Class DenseScannIndex.Builder (0.8.0)

public static final class DenseScannIndex.Builder extends GeneratedMessage.Builder<DenseScannIndex.Builder> implements DenseScannIndexOrBuilder

Dense ScaNN index configuration.

Protobuf type google.cloud.vectorsearch.v1.DenseScannIndex

Static Methods

getDescriptor()

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

Methods

build()

public DenseScannIndex build()
Returns
Type Description
DenseScannIndex

buildPartial()

public DenseScannIndex buildPartial()
Returns
Type Description
DenseScannIndex

clear()

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

clearFeatureNormType()

public DenseScannIndex.Builder clearFeatureNormType()

Optional. Feature norm type.

.google.cloud.vectorsearch.v1.DenseScannIndex.FeatureNormType feature_norm_type = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DenseScannIndex.Builder

This builder for chaining.

getDefaultInstanceForType()

public DenseScannIndex getDefaultInstanceForType()
Returns
Type Description
DenseScannIndex

getDescriptorForType()

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

getFeatureNormType()

public DenseScannIndex.FeatureNormType getFeatureNormType()

Optional. Feature norm type.

.google.cloud.vectorsearch.v1.DenseScannIndex.FeatureNormType feature_norm_type = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DenseScannIndex.FeatureNormType

The featureNormType.

getFeatureNormTypeValue()

public int getFeatureNormTypeValue()

Optional. Feature norm type.

.google.cloud.vectorsearch.v1.DenseScannIndex.FeatureNormType feature_norm_type = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for featureNormType.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DenseScannIndex other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setFeatureNormType(DenseScannIndex.FeatureNormType value)

public DenseScannIndex.Builder setFeatureNormType(DenseScannIndex.FeatureNormType value)

Optional. Feature norm type.

.google.cloud.vectorsearch.v1.DenseScannIndex.FeatureNormType feature_norm_type = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value DenseScannIndex.FeatureNormType

The featureNormType to set.

Returns
Type Description
DenseScannIndex.Builder

This builder for chaining.

setFeatureNormTypeValue(int value)

public DenseScannIndex.Builder setFeatureNormTypeValue(int value)

Optional. Feature norm type.

.google.cloud.vectorsearch.v1.DenseScannIndex.FeatureNormType feature_norm_type = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The enum numeric value on the wire for featureNormType to set.

Returns
Type Description
DenseScannIndex.Builder

This builder for chaining.