Class IndexStats (3.3.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
TypeDescription
int

VECTORS_COUNT_FIELD_NUMBER

public static final int VECTORS_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static IndexStats getDefaultInstance()
Returns
TypeDescription
IndexStats

getDescriptor()

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

newBuilder()

public static IndexStats.Builder newBuilder()
Returns
TypeDescription
IndexStats.Builder

newBuilder(IndexStats prototype)

public static IndexStats.Builder newBuilder(IndexStats prototype)
Parameter
NameDescription
prototypeIndexStats
Returns
TypeDescription
IndexStats.Builder

parseDelimitedFrom(InputStream input)

public static IndexStats parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
IndexStats
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static IndexStats parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IndexStats
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static IndexStats parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
IndexStats
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static IndexStats parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IndexStats
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static IndexStats parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
IndexStats
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static IndexStats parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IndexStats
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static IndexStats parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
IndexStats
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static IndexStats parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IndexStats
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static IndexStats parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
IndexStats
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static IndexStats parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IndexStats
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static IndexStats parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
IndexStats
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static IndexStats parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IndexStats
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<IndexStats> parser()
Returns
TypeDescription
Parser<IndexStats>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public IndexStats getDefaultInstanceForType()
Returns
TypeDescription
IndexStats

getParserForType()

public Parser<IndexStats> getParserForType()
Returns
TypeDescription
Parser<IndexStats>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
int

The shardsCount.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public IndexStats.Builder newBuilderForType()
Returns
TypeDescription
IndexStats.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected IndexStats.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
IndexStats.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public IndexStats.Builder toBuilder()
Returns
TypeDescription
IndexStats.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException