Class FeatureView.VectorSearchConfig.TreeAHConfig.Builder (3.28.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public FeatureView.VectorSearchConfig.TreeAHConfig getDefaultInstanceForType()
Returns
TypeDescription
FeatureView.VectorSearchConfig.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.VectorSearchConfig.TreeAHConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The leafNodeEmbeddingCount to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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