Class SparseVectorField.Builder (0.6.0)

public static final class SparseVectorField.Builder extends GeneratedMessage.Builder<SparseVectorField.Builder> implements SparseVectorFieldOrBuilder

Message describing a sparse vector field.

Protobuf type google.cloud.vectorsearch.v1beta.SparseVectorField

Static Methods

getDescriptor()

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

Methods

build()

public SparseVectorField build()
Returns
Type Description
SparseVectorField

buildPartial()

public SparseVectorField buildPartial()
Returns
Type Description
SparseVectorField

clear()

public SparseVectorField.Builder clear()
Returns
Type Description
SparseVectorField.Builder
Overrides

getDefaultInstanceForType()

public SparseVectorField getDefaultInstanceForType()
Returns
Type Description
SparseVectorField

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SparseVectorField other)

public SparseVectorField.Builder mergeFrom(SparseVectorField other)
Parameter
Name Description
other SparseVectorField
Returns
Type Description
SparseVectorField.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SparseVectorField.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SparseVectorField.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SparseVectorField.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SparseVectorField.Builder
Overrides