Class Index.IndexField.VectorConfig.FlatIndex (3.28.0)

public static final class Index.IndexField.VectorConfig.FlatIndex extends GeneratedMessageV3 implements Index.IndexField.VectorConfig.FlatIndexOrBuilder

An index that stores vectors in a flat data structure, and supports exhaustive search.

Protobuf type google.firestore.admin.v1.Index.IndexField.VectorConfig.FlatIndex

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > Index.IndexField.VectorConfig.FlatIndex

Static Methods

getDefaultInstance()

public static Index.IndexField.VectorConfig.FlatIndex getDefaultInstance()
Returns
Type Description
Index.IndexField.VectorConfig.FlatIndex

getDescriptor()

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

newBuilder()

public static Index.IndexField.VectorConfig.FlatIndex.Builder newBuilder()
Returns
Type Description
Index.IndexField.VectorConfig.FlatIndex.Builder

newBuilder(Index.IndexField.VectorConfig.FlatIndex prototype)

public static Index.IndexField.VectorConfig.FlatIndex.Builder newBuilder(Index.IndexField.VectorConfig.FlatIndex prototype)
Parameter
Name Description
prototype Index.IndexField.VectorConfig.FlatIndex
Returns
Type Description
Index.IndexField.VectorConfig.FlatIndex.Builder

parseDelimitedFrom(InputStream input)

public static Index.IndexField.VectorConfig.FlatIndex parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Index.IndexField.VectorConfig.FlatIndex
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Index.IndexField.VectorConfig.FlatIndex parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Index.IndexField.VectorConfig.FlatIndex
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Index.IndexField.VectorConfig.FlatIndex parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Index.IndexField.VectorConfig.FlatIndex
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Index.IndexField.VectorConfig.FlatIndex parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Index.IndexField.VectorConfig.FlatIndex
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Index.IndexField.VectorConfig.FlatIndex parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Index.IndexField.VectorConfig.FlatIndex
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Index.IndexField.VectorConfig.FlatIndex parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Index.IndexField.VectorConfig.FlatIndex
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Index.IndexField.VectorConfig.FlatIndex parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Index.IndexField.VectorConfig.FlatIndex
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Index.IndexField.VectorConfig.FlatIndex parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Index.IndexField.VectorConfig.FlatIndex
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Index.IndexField.VectorConfig.FlatIndex parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Index.IndexField.VectorConfig.FlatIndex
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Index.IndexField.VectorConfig.FlatIndex parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Index.IndexField.VectorConfig.FlatIndex
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Index.IndexField.VectorConfig.FlatIndex parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Index.IndexField.VectorConfig.FlatIndex
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Index.IndexField.VectorConfig.FlatIndex parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Index.IndexField.VectorConfig.FlatIndex
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Index.IndexField.VectorConfig.FlatIndex> parser()
Returns
Type Description
Parser<FlatIndex>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public Index.IndexField.VectorConfig.FlatIndex getDefaultInstanceForType()
Returns
Type Description
Index.IndexField.VectorConfig.FlatIndex

getParserForType()

public Parser<Index.IndexField.VectorConfig.FlatIndex> getParserForType()
Returns
Type Description
Parser<FlatIndex>
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 Index.IndexField.VectorConfig.FlatIndex.Builder newBuilderForType()
Returns
Type Description
Index.IndexField.VectorConfig.FlatIndex.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Index.IndexField.VectorConfig.FlatIndex.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Index.IndexField.VectorConfig.FlatIndex.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public Index.IndexField.VectorConfig.FlatIndex.Builder toBuilder()
Returns
Type Description
Index.IndexField.VectorConfig.FlatIndex.Builder

writeTo(CodedOutputStream output)

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