public static final class IndexStats.Builder extends com.google.protobuf.GeneratedMessage.Builder<IndexStats.Builder> implements IndexStatsOrBuilder
Stats of the Index.Protobuf type
google.cloud.aiplatform.v1.IndexStats| Modifier and Type | Method and Description |
|---|---|
IndexStats |
build() |
IndexStats |
buildPartial() |
IndexStats.Builder |
clear() |
IndexStats.Builder |
clearShardsCount()
Output only.
|
IndexStats.Builder |
clearSparseVectorsCount()
Output only.
|
IndexStats.Builder |
clearVectorsCount()
Output only.
|
IndexStats |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getShardsCount()
Output only.
|
long |
getSparseVectorsCount()
Output only.
|
long |
getVectorsCount()
Output only.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
IndexStats.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
IndexStats.Builder |
mergeFrom(IndexStats other) |
IndexStats.Builder |
mergeFrom(com.google.protobuf.Message other) |
IndexStats.Builder |
setShardsCount(int value)
Output only.
|
IndexStats.Builder |
setSparseVectorsCount(long value)
Output only.
|
IndexStats.Builder |
setVectorsCount(long value)
Output only.
|
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<IndexStats.Builder>public IndexStats.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<IndexStats.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<IndexStats.Builder>public IndexStats getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic IndexStats build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic IndexStats buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic IndexStats.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<IndexStats.Builder>public IndexStats.Builder mergeFrom(IndexStats other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<IndexStats.Builder>public IndexStats.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<IndexStats.Builder>IOExceptionpublic long getVectorsCount()
Output only. The number of dense vectors in the Index.
int64 vectors_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getVectorsCount in interface IndexStatsOrBuilderpublic 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];value - The vectorsCount to set.public IndexStats.Builder clearVectorsCount()
Output only. The number of dense vectors in the Index.
int64 vectors_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];public long getSparseVectorsCount()
Output only. The number of sparse vectors in the Index.
int64 sparse_vectors_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];getSparseVectorsCount in interface IndexStatsOrBuilderpublic 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];value - The sparseVectorsCount to set.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];public int getShardsCount()
Output only. The number of shards in the Index.
int32 shards_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];getShardsCount in interface IndexStatsOrBuilderpublic IndexStats.Builder setShardsCount(int value)
Output only. The number of shards in the Index.
int32 shards_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The shardsCount to set.public IndexStats.Builder clearShardsCount()
Output only. The number of shards in the Index.
int32 shards_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];Copyright © 2026 Google LLC. All rights reserved.