public static final class IndexStats.Builder extends GeneratedMessageV3.Builder<IndexStats.Builder> implements IndexStatsOrBuilder
Stats of the Index.
Protobuf type google.cloud.aiplatform.v1.IndexStats
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
public IndexStats.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public IndexStats build()
public IndexStats buildPartial()
public IndexStats.Builder clear()
Overrides
public IndexStats.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public IndexStats.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public IndexStats.Builder clearShardsCount()
Output only. The number of shards in the Index.
int32 shards_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public IndexStats.Builder clearVectorsCount()
Output only. The number of vectors in the Index.
int64 vectors_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public IndexStats.Builder clone()
Overrides
public IndexStats getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
public final boolean isInitialized()
Overrides
public IndexStats.Builder mergeFrom(IndexStats other)
public IndexStats.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public IndexStats.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final IndexStats.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public IndexStats.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public IndexStats.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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.
|
public final IndexStats.Builder setUnknownFields(UnknownFieldSet unknownFields)
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.
|