public static final class IndexStats.Builder extends GeneratedMessage.Builder<IndexStats.Builder> implements IndexStatsOrBuilderStats of the Index.
Protobuf type google.cloud.aiplatform.v1beta1.IndexStats
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > IndexStats.BuilderImplements
IndexStatsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public IndexStats build()| Returns | |
|---|---|
| Type | Description |
IndexStats |
|
buildPartial()
public IndexStats buildPartial()| Returns | |
|---|---|
| Type | Description |
IndexStats |
|
clear()
public IndexStats.Builder clear()| Returns | |
|---|---|
| Type | Description |
IndexStats.Builder |
|
clearShardsCount()
public IndexStats.Builder clearShardsCount()Output only. The number of shards in the Index.
int32 shards_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
IndexStats.Builder |
This builder for chaining. |
clearSparseVectorsCount()
public IndexStats.Builder clearSparseVectorsCount()Output only. The number of sparse vectors in the Index.
int64 sparse_vectors_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
IndexStats.Builder |
This builder for chaining. |
clearVectorsCount()
public IndexStats.Builder clearVectorsCount()Output only. The number of dense vectors in the Index.
int64 vectors_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
IndexStats.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public IndexStats getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
IndexStats |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getShardsCount()
public int getShardsCount()Output only. The number of shards in the Index.
int32 shards_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The shardsCount. |
getSparseVectorsCount()
public long getSparseVectorsCount()Output only. The number of sparse vectors in the Index.
int64 sparse_vectors_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
long |
The sparseVectorsCount. |
getVectorsCount()
public long getVectorsCount()Output only. The number of dense vectors in the Index.
int64 vectors_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
long |
The vectorsCount. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(IndexStats other)
public IndexStats.Builder mergeFrom(IndexStats other)| Parameter | |
|---|---|
| Name | Description |
other |
IndexStats |
| Returns | |
|---|---|
| Type | Description |
IndexStats.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public IndexStats.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
IndexStats.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public IndexStats.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
IndexStats.Builder |
|
setShardsCount(int value)
public IndexStats.Builder setShardsCount(int value)Output only. The number of shards in the Index.
int32 shards_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe shardsCount to set. |
| Returns | |
|---|---|
| Type | Description |
IndexStats.Builder |
This builder for chaining. |
setSparseVectorsCount(long value)
public IndexStats.Builder setSparseVectorsCount(long value)Output only. The number of sparse vectors in the Index.
int64 sparse_vectors_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
longThe sparseVectorsCount to set. |
| Returns | |
|---|---|
| Type | Description |
IndexStats.Builder |
This builder for chaining. |
setVectorsCount(long value)
public IndexStats.Builder setVectorsCount(long value)Output only. The number of dense vectors in the Index.
int64 vectors_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
longThe vectorsCount to set. |
| Returns | |
|---|---|
| Type | Description |
IndexStats.Builder |
This builder for chaining. |