Class FeatureView.IndexConfig.TreeAHConfig (3.52.0)

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

Configuration options for the tree-AH algorithm.

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > FeatureView.IndexConfig.TreeAHConfig

Static Fields

LEAF_NODE_EMBEDDING_COUNT_FIELD_NUMBER

public static final int LEAF_NODE_EMBEDDING_COUNT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static FeatureView.IndexConfig.TreeAHConfig getDefaultInstance()
Returns
Type Description
FeatureView.IndexConfig.TreeAHConfig

getDescriptor()

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

newBuilder()

public static FeatureView.IndexConfig.TreeAHConfig.Builder newBuilder()
Returns
Type Description
FeatureView.IndexConfig.TreeAHConfig.Builder

newBuilder(FeatureView.IndexConfig.TreeAHConfig prototype)

public static FeatureView.IndexConfig.TreeAHConfig.Builder newBuilder(FeatureView.IndexConfig.TreeAHConfig prototype)
Parameter
Name Description
prototype FeatureView.IndexConfig.TreeAHConfig
Returns
Type Description
FeatureView.IndexConfig.TreeAHConfig.Builder

parseDelimitedFrom(InputStream input)

public static FeatureView.IndexConfig.TreeAHConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FeatureView.IndexConfig.TreeAHConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FeatureView.IndexConfig.TreeAHConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FeatureView.IndexConfig.TreeAHConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static FeatureView.IndexConfig.TreeAHConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
FeatureView.IndexConfig.TreeAHConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static FeatureView.IndexConfig.TreeAHConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FeatureView.IndexConfig.TreeAHConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static FeatureView.IndexConfig.TreeAHConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
FeatureView.IndexConfig.TreeAHConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static FeatureView.IndexConfig.TreeAHConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FeatureView.IndexConfig.TreeAHConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static FeatureView.IndexConfig.TreeAHConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
FeatureView.IndexConfig.TreeAHConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static FeatureView.IndexConfig.TreeAHConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FeatureView.IndexConfig.TreeAHConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static FeatureView.IndexConfig.TreeAHConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FeatureView.IndexConfig.TreeAHConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FeatureView.IndexConfig.TreeAHConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FeatureView.IndexConfig.TreeAHConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static FeatureView.IndexConfig.TreeAHConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
FeatureView.IndexConfig.TreeAHConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static FeatureView.IndexConfig.TreeAHConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FeatureView.IndexConfig.TreeAHConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<FeatureView.IndexConfig.TreeAHConfig> parser()
Returns
Type Description
Parser<TreeAHConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

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

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.

getParserForType()

public Parser<FeatureView.IndexConfig.TreeAHConfig> getParserForType()
Returns
Type Description
Parser<TreeAHConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public FeatureView.IndexConfig.TreeAHConfig.Builder newBuilderForType()
Returns
Type Description
FeatureView.IndexConfig.TreeAHConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected FeatureView.IndexConfig.TreeAHConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
FeatureView.IndexConfig.TreeAHConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public FeatureView.IndexConfig.TreeAHConfig.Builder toBuilder()
Returns
Type Description
FeatureView.IndexConfig.TreeAHConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException