Class IndexStats (3.47.0)

public final class IndexStats extends GeneratedMessageV3 implements IndexStatsOrBuilder

Stats of the Index.

Protobuf type google.cloud.aiplatform.v1beta1.IndexStats

Implements

IndexStatsOrBuilder

Static Fields

SHARDS_COUNT_FIELD_NUMBER

public static final int SHARDS_COUNT_FIELD_NUMBER
Field Value
Type Description
int

SPARSE_VECTORS_COUNT_FIELD_NUMBER

public static final int SPARSE_VECTORS_COUNT_FIELD_NUMBER
Field Value
Type Description
int

VECTORS_COUNT_FIELD_NUMBER

public static final int VECTORS_COUNT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static IndexStats getDefaultInstance()
Returns
Type Description
IndexStats

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static IndexStats.Builder newBuilder()
Returns
Type Description
IndexStats.Builder

newBuilder(IndexStats prototype)

public static IndexStats.Builder newBuilder(IndexStats prototype)
Parameter
Name Description
prototype IndexStats
Returns
Type Description
IndexStats.Builder

parseDelimitedFrom(InputStream input)

public static IndexStats parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
IndexStats
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static IndexStats parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IndexStats
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static IndexStats parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
IndexStats
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static IndexStats parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IndexStats
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static IndexStats parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
IndexStats
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static IndexStats parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IndexStats
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static IndexStats parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
IndexStats
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static IndexStats parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IndexStats
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static IndexStats parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
IndexStats
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static IndexStats parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IndexStats
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static IndexStats parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
IndexStats
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static IndexStats parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IndexStats
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<IndexStats> parser()
Returns
Type Description
Parser<IndexStats>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public IndexStats getDefaultInstanceForType()
Returns
Type Description
IndexStats

getParserForType()

public Parser<IndexStats> getParserForType()
Returns
Type Description
Parser<IndexStats>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
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
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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public IndexStats.Builder newBuilderForType()
Returns
Type Description
IndexStats.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected IndexStats.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
IndexStats.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public IndexStats.Builder toBuilder()
Returns
Type Description
IndexStats.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException