Class IndexStats.Builder (3.4.2)

public static final class IndexStats.Builder extends GeneratedMessageV3.Builder<IndexStats.Builder> implements IndexStatsOrBuilder

Stats of the Index.

Protobuf type google.cloud.aiplatform.v1.IndexStats

Implements

IndexStatsOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public IndexStats.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
IndexStats.Builder
Overrides

build()

public IndexStats build()
Returns
TypeDescription
IndexStats

buildPartial()

public IndexStats buildPartial()
Returns
TypeDescription
IndexStats

clear()

public IndexStats.Builder clear()
Returns
TypeDescription
IndexStats.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public IndexStats.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
IndexStats.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public IndexStats.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
IndexStats.Builder
Overrides

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
TypeDescription
IndexStats.Builder

This builder for chaining.

clearVectorsCount()

public IndexStats.Builder clearVectorsCount()

Output only. The number of vectors in the Index.

int64 vectors_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
IndexStats.Builder

This builder for chaining.

clone()

public IndexStats.Builder clone()
Returns
TypeDescription
IndexStats.Builder
Overrides

getDefaultInstanceForType()

public IndexStats getDefaultInstanceForType()
Returns
TypeDescription
IndexStats

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getShardsCount()

public int getShardsCount()

Output only. The number of shards in the Index.

int32 shards_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The shardsCount.

getVectorsCount()

public long getVectorsCount()

Output only. The number of vectors in the Index.

int64 vectors_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
long

The vectorsCount.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(IndexStats other)

public IndexStats.Builder mergeFrom(IndexStats other)
Parameter
NameDescription
otherIndexStats
Returns
TypeDescription
IndexStats.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public IndexStats.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IndexStats.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public IndexStats.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
IndexStats.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final IndexStats.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
IndexStats.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public IndexStats.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
IndexStats.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public IndexStats.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
IndexStats.Builder
Overrides

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
NameDescription
valueint

The shardsCount to set.

Returns
TypeDescription
IndexStats.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final IndexStats.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
IndexStats.Builder
Overrides

setVectorsCount(long value)

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
NameDescription
valuelong

The vectorsCount to set.

Returns
TypeDescription
IndexStats.Builder

This builder for chaining.