Class FeatureView.IndexConfig.TreeAHConfig (3.41.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.v1.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
TypeDescription
int

Static Methods

getDefaultInstance()

public static FeatureView.IndexConfig.TreeAHConfig getDefaultInstance()
Returns
TypeDescription
FeatureView.IndexConfig.TreeAHConfig

getDescriptor()

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

newBuilder()

public static FeatureView.IndexConfig.TreeAHConfig.Builder newBuilder()
Returns
TypeDescription
FeatureView.IndexConfig.TreeAHConfig.Builder

newBuilder(FeatureView.IndexConfig.TreeAHConfig prototype)

public static FeatureView.IndexConfig.TreeAHConfig.Builder newBuilder(FeatureView.IndexConfig.TreeAHConfig prototype)
Parameter
NameDescription
prototypeFeatureView.IndexConfig.TreeAHConfig
Returns
TypeDescription
FeatureView.IndexConfig.TreeAHConfig.Builder

parseDelimitedFrom(InputStream input)

public static FeatureView.IndexConfig.TreeAHConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
FeatureView.IndexConfig.TreeAHConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FeatureView.IndexConfig.TreeAHConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FeatureView.IndexConfig.TreeAHConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static FeatureView.IndexConfig.TreeAHConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
FeatureView.IndexConfig.TreeAHConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static FeatureView.IndexConfig.TreeAHConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FeatureView.IndexConfig.TreeAHConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static FeatureView.IndexConfig.TreeAHConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
FeatureView.IndexConfig.TreeAHConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static FeatureView.IndexConfig.TreeAHConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FeatureView.IndexConfig.TreeAHConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static FeatureView.IndexConfig.TreeAHConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
FeatureView.IndexConfig.TreeAHConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static FeatureView.IndexConfig.TreeAHConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
FeatureView.IndexConfig.TreeAHConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FeatureView.IndexConfig.TreeAHConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FeatureView.IndexConfig.TreeAHConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static FeatureView.IndexConfig.TreeAHConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
FeatureView.IndexConfig.TreeAHConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static FeatureView.IndexConfig.TreeAHConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FeatureView.IndexConfig.TreeAHConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

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

The leafNodeEmbeddingCount.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
boolean

Whether the leafNodeEmbeddingCount field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public FeatureView.IndexConfig.TreeAHConfig.Builder newBuilderForType()
Returns
TypeDescription
FeatureView.IndexConfig.TreeAHConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected FeatureView.IndexConfig.TreeAHConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
FeatureView.IndexConfig.TreeAHConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public FeatureView.IndexConfig.TreeAHConfig.Builder toBuilder()
Returns
TypeDescription
FeatureView.IndexConfig.TreeAHConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException