Class SearchResponseMetadata.IndexInfo (0.1.0)

public static final class SearchResponseMetadata.IndexInfo extends GeneratedMessageV3 implements SearchResponseMetadata.IndexInfoOrBuilder

Message that indicates the index used for the search.

Protobuf type google.cloud.vectorsearch.v1beta.SearchResponseMetadata.IndexInfo

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > SearchResponseMetadata.IndexInfo

Static Fields

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SearchResponseMetadata.IndexInfo getDefaultInstance()
Returns
Type Description
SearchResponseMetadata.IndexInfo

getDescriptor()

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

newBuilder()

public static SearchResponseMetadata.IndexInfo.Builder newBuilder()
Returns
Type Description
SearchResponseMetadata.IndexInfo.Builder

newBuilder(SearchResponseMetadata.IndexInfo prototype)

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

parseDelimitedFrom(InputStream input)

public static SearchResponseMetadata.IndexInfo parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SearchResponseMetadata.IndexInfo
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static SearchResponseMetadata.IndexInfo parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
SearchResponseMetadata.IndexInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static SearchResponseMetadata.IndexInfo parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
SearchResponseMetadata.IndexInfo
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static SearchResponseMetadata.IndexInfo parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SearchResponseMetadata.IndexInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static SearchResponseMetadata.IndexInfo parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
SearchResponseMetadata.IndexInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<SearchResponseMetadata.IndexInfo> parser()
Returns
Type Description
Parser<IndexInfo>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public SearchResponseMetadata.IndexInfo getDefaultInstanceForType()
Returns
Type Description
SearchResponseMetadata.IndexInfo

getName()

public String getName()

Output only. The resource name of the index used for the search. Format: projects/{project}/locations/{location}/collections/{collection}/indexes/{index}

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. The resource name of the index used for the search. Format: projects/{project}/locations/{location}/collections/{collection}/indexes/{index}

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

public Parser<SearchResponseMetadata.IndexInfo> getParserForType()
Returns
Type Description
Parser<IndexInfo>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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 SearchResponseMetadata.IndexInfo.Builder newBuilderForType()
Returns
Type Description
SearchResponseMetadata.IndexInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public SearchResponseMetadata.IndexInfo.Builder toBuilder()
Returns
Type Description
SearchResponseMetadata.IndexInfo.Builder

writeTo(CodedOutputStream output)

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