Class FeatureView.IndexConfig.TreeAHConfig.Builder (3.40.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.v1.FeatureView.IndexConfig.TreeAHConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public FeatureView.IndexConfig.TreeAHConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
FeatureView.IndexConfig.TreeAHConfig.Builder
Overrides

build()

public FeatureView.IndexConfig.TreeAHConfig build()
Returns
TypeDescription
FeatureView.IndexConfig.TreeAHConfig

buildPartial()

public FeatureView.IndexConfig.TreeAHConfig buildPartial()
Returns
TypeDescription
FeatureView.IndexConfig.TreeAHConfig

clear()

public FeatureView.IndexConfig.TreeAHConfig.Builder clear()
Returns
TypeDescription
FeatureView.IndexConfig.TreeAHConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public FeatureView.IndexConfig.TreeAHConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
FeatureView.IndexConfig.TreeAHConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public FeatureView.IndexConfig.TreeAHConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
FeatureView.IndexConfig.TreeAHConfig.Builder
Overrides

clone()

public FeatureView.IndexConfig.TreeAHConfig.Builder clone()
Returns
TypeDescription
FeatureView.IndexConfig.TreeAHConfig.Builder
Overrides

getDefaultInstanceForType()

public FeatureView.IndexConfig.TreeAHConfig getDefaultInstanceForType()
Returns
TypeDescription
FeatureView.IndexConfig.TreeAHConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the leafNodeEmbeddingCount field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(FeatureView.IndexConfig.TreeAHConfig other)

public FeatureView.IndexConfig.TreeAHConfig.Builder mergeFrom(FeatureView.IndexConfig.TreeAHConfig other)
Parameter
NameDescription
otherFeatureView.IndexConfig.TreeAHConfig
Returns
TypeDescription
FeatureView.IndexConfig.TreeAHConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public FeatureView.IndexConfig.TreeAHConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FeatureView.IndexConfig.TreeAHConfig.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public FeatureView.IndexConfig.TreeAHConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
FeatureView.IndexConfig.TreeAHConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FeatureView.IndexConfig.TreeAHConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
FeatureView.IndexConfig.TreeAHConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public FeatureView.IndexConfig.TreeAHConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valuelong

The leafNodeEmbeddingCount to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
FeatureView.IndexConfig.TreeAHConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final FeatureView.IndexConfig.TreeAHConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
FeatureView.IndexConfig.TreeAHConfig.Builder
Overrides