Class Index.IndexField.VectorConfig.FlatIndex.Builder (3.22.0)

public static final class Index.IndexField.VectorConfig.FlatIndex.Builder extends GeneratedMessageV3.Builder<Index.IndexField.VectorConfig.FlatIndex.Builder> 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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Index.IndexField.VectorConfig.FlatIndex.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Index.IndexField.VectorConfig.FlatIndex.Builder
Overrides

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

public Index.IndexField.VectorConfig.FlatIndex.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Index.IndexField.VectorConfig.FlatIndex.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Index.IndexField.VectorConfig.FlatIndex.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Index.IndexField.VectorConfig.FlatIndex.Builder
Overrides

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Index.IndexField.VectorConfig.FlatIndex other)

public Index.IndexField.VectorConfig.FlatIndex.Builder mergeFrom(Index.IndexField.VectorConfig.FlatIndex other)
Parameter
Name Description
other Index.IndexField.VectorConfig.FlatIndex
Returns
Type Description
Index.IndexField.VectorConfig.FlatIndex.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public Index.IndexField.VectorConfig.FlatIndex.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Index.IndexField.VectorConfig.FlatIndex.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Index.IndexField.VectorConfig.FlatIndex.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Index.IndexField.VectorConfig.FlatIndex.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Index.IndexField.VectorConfig.FlatIndex.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Index.IndexField.VectorConfig.FlatIndex.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Index.IndexField.VectorConfig.FlatIndex.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Index.IndexField.VectorConfig.FlatIndex.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Index.IndexField.VectorConfig.FlatIndex.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Index.IndexField.VectorConfig.FlatIndex.Builder
Overrides