public static final class IndexStats.Builder extends GeneratedMessageV3.Builder<IndexStats.Builder> implements IndexStatsOrBuilder
Stats of the Index.
Protobuf type google.cloud.aiplatform.v1beta1.IndexStats
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public IndexStats.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public IndexStats build()
Returns
public IndexStats buildPartial()
Returns
public IndexStats.Builder clear()
Returns
Overrides
public IndexStats.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public IndexStats.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public IndexStats.Builder clearShardsCount()
Output only. The number of shards in the Index.
int32 shards_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
public IndexStats.Builder clearVectorsCount()
Output only. The number of vectors in the Index.
int64 vectors_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
public IndexStats.Builder clone()
Returns
Overrides
public IndexStats getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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.
|
public long getVectorsCount()
Output only. The number of vectors in the Index.
int64 vectors_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
long | The vectorsCount.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public IndexStats.Builder mergeFrom(IndexStats other)
Parameter
Returns
public IndexStats.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public IndexStats.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final IndexStats.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public IndexStats.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public IndexStats.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
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 | int
The shardsCount to set.
|
Returns
public final IndexStats.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public IndexStats.Builder setVectorsCount(long value)
Output only. The number of vectors in the Index.
int64 vectors_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Name | Description |
value | long
The vectorsCount to set.
|
Returns