Class FeatureView.VectorSearchConfig.TreeAHConfig.Builder (3.52.0)

public static final class FeatureView.VectorSearchConfig.TreeAHConfig.Builder extends GeneratedMessageV3.Builder<FeatureView.VectorSearchConfig.TreeAHConfig.Builder> implements FeatureView.VectorSearchConfig.TreeAHConfigOrBuilder

Protobuf type google.cloud.aiplatform.v1beta1.FeatureView.VectorSearchConfig.TreeAHConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public FeatureView.VectorSearchConfig.TreeAHConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
FeatureView.VectorSearchConfig.TreeAHConfig.Builder
Overrides

build()

public FeatureView.VectorSearchConfig.TreeAHConfig build()
Returns
Type Description
FeatureView.VectorSearchConfig.TreeAHConfig

buildPartial()

public FeatureView.VectorSearchConfig.TreeAHConfig buildPartial()
Returns
Type Description
FeatureView.VectorSearchConfig.TreeAHConfig

clear()

public FeatureView.VectorSearchConfig.TreeAHConfig.Builder clear()
Returns
Type Description
FeatureView.VectorSearchConfig.TreeAHConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public FeatureView.VectorSearchConfig.TreeAHConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
FeatureView.VectorSearchConfig.TreeAHConfig.Builder
Overrides

clearLeafNodeEmbeddingCount()

public FeatureView.VectorSearchConfig.TreeAHConfig.Builder clearLeafNodeEmbeddingCount()

Optional. Number of embeddings on each leaf node. The default value is 1000 if not set.

optional int64 leaf_node_embedding_count = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FeatureView.VectorSearchConfig.TreeAHConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public FeatureView.VectorSearchConfig.TreeAHConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
FeatureView.VectorSearchConfig.TreeAHConfig.Builder
Overrides

clone()

public FeatureView.VectorSearchConfig.TreeAHConfig.Builder clone()
Returns
Type Description
FeatureView.VectorSearchConfig.TreeAHConfig.Builder
Overrides

getDefaultInstanceForType()

public FeatureView.VectorSearchConfig.TreeAHConfig getDefaultInstanceForType()
Returns
Type Description
FeatureView.VectorSearchConfig.TreeAHConfig

getDescriptorForType()

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

getLeafNodeEmbeddingCount()

public long getLeafNodeEmbeddingCount()

Optional. Number of embeddings on each leaf node. The default value is 1000 if not set.

optional int64 leaf_node_embedding_count = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
long

The leafNodeEmbeddingCount.

hasLeafNodeEmbeddingCount()

public boolean hasLeafNodeEmbeddingCount()

Optional. Number of embeddings on each leaf node. The default value is 1000 if not set.

optional int64 leaf_node_embedding_count = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the leafNodeEmbeddingCount field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FeatureView.VectorSearchConfig.TreeAHConfig other)

public FeatureView.VectorSearchConfig.TreeAHConfig.Builder mergeFrom(FeatureView.VectorSearchConfig.TreeAHConfig other)
Parameter
Name Description
other FeatureView.VectorSearchConfig.TreeAHConfig
Returns
Type Description
FeatureView.VectorSearchConfig.TreeAHConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public FeatureView.VectorSearchConfig.TreeAHConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
FeatureView.VectorSearchConfig.TreeAHConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FeatureView.VectorSearchConfig.TreeAHConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FeatureView.VectorSearchConfig.TreeAHConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public FeatureView.VectorSearchConfig.TreeAHConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
FeatureView.VectorSearchConfig.TreeAHConfig.Builder
Overrides

setLeafNodeEmbeddingCount(long value)

public FeatureView.VectorSearchConfig.TreeAHConfig.Builder setLeafNodeEmbeddingCount(long value)

Optional. Number of embeddings on each leaf node. The default value is 1000 if not set.

optional int64 leaf_node_embedding_count = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value long

The leafNodeEmbeddingCount to set.

Returns
Type Description
FeatureView.VectorSearchConfig.TreeAHConfig.Builder

This builder for chaining.

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

public FeatureView.VectorSearchConfig.TreeAHConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
FeatureView.VectorSearchConfig.TreeAHConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final FeatureView.VectorSearchConfig.TreeAHConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FeatureView.VectorSearchConfig.TreeAHConfig.Builder
Overrides