Class FeatureView.IndexConfig.TreeAHConfig.Builder (3.56.0)

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

Configuration options for the tree-AH algorithm.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearLeafNodeEmbeddingCount()

public FeatureView.IndexConfig.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.IndexConfig.TreeAHConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public FeatureView.IndexConfig.TreeAHConfig getDefaultInstanceForType()
Returns
Type Description
FeatureView.IndexConfig.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.IndexConfig.TreeAHConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setLeafNodeEmbeddingCount(long value)

public FeatureView.IndexConfig.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.IndexConfig.TreeAHConfig.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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