public static final class FeatureView.IndexConfig extends com.google.protobuf.GeneratedMessageV3 implements FeatureView.IndexConfigOrBuilder
Configuration for vector indexing.Protobuf type
google.cloud.aiplatform.v1beta1.FeatureView.IndexConfig| Modifier and Type | Class and Description |
|---|---|
static class |
FeatureView.IndexConfig.AlgorithmConfigCase |
static class |
FeatureView.IndexConfig.BruteForceConfig
Configuration options for using brute force search.
|
static interface |
FeatureView.IndexConfig.BruteForceConfigOrBuilder |
static class |
FeatureView.IndexConfig.Builder
Configuration for vector indexing.
|
static class |
FeatureView.IndexConfig.DistanceMeasureType
The distance measure used in nearest neighbor search.
|
static class |
FeatureView.IndexConfig.TreeAHConfig
Configuration options for the tree-AH algorithm.
|
static interface |
FeatureView.IndexConfig.TreeAHConfigOrBuilder |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
BRUTE_FORCE_CONFIG_FIELD_NUMBER |
static int |
CROWDING_COLUMN_FIELD_NUMBER |
static int |
DISTANCE_MEASURE_TYPE_FIELD_NUMBER |
static int |
EMBEDDING_COLUMN_FIELD_NUMBER |
static int |
EMBEDDING_DIMENSION_FIELD_NUMBER |
static int |
FILTER_COLUMNS_FIELD_NUMBER |
static int |
TREE_AH_CONFIG_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
FeatureView.IndexConfig.AlgorithmConfigCase |
getAlgorithmConfigCase() |
FeatureView.IndexConfig.BruteForceConfig |
getBruteForceConfig()
Optional.
|
FeatureView.IndexConfig.BruteForceConfigOrBuilder |
getBruteForceConfigOrBuilder()
Optional.
|
String |
getCrowdingColumn()
Optional.
|
com.google.protobuf.ByteString |
getCrowdingColumnBytes()
Optional.
|
static FeatureView.IndexConfig |
getDefaultInstance() |
FeatureView.IndexConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
FeatureView.IndexConfig.DistanceMeasureType |
getDistanceMeasureType()
Optional.
|
int |
getDistanceMeasureTypeValue()
Optional.
|
String |
getEmbeddingColumn()
Optional.
|
com.google.protobuf.ByteString |
getEmbeddingColumnBytes()
Optional.
|
int |
getEmbeddingDimension()
Optional.
|
String |
getFilterColumns(int index)
Optional.
|
com.google.protobuf.ByteString |
getFilterColumnsBytes(int index)
Optional.
|
int |
getFilterColumnsCount()
Optional.
|
com.google.protobuf.ProtocolStringList |
getFilterColumnsList()
Optional.
|
com.google.protobuf.Parser<FeatureView.IndexConfig> |
getParserForType() |
int |
getSerializedSize() |
FeatureView.IndexConfig.TreeAHConfig |
getTreeAhConfig()
Optional.
|
FeatureView.IndexConfig.TreeAHConfigOrBuilder |
getTreeAhConfigOrBuilder()
Optional.
|
boolean |
hasBruteForceConfig()
Optional.
|
boolean |
hasEmbeddingDimension()
Optional.
|
int |
hashCode() |
boolean |
hasTreeAhConfig()
Optional.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static FeatureView.IndexConfig.Builder |
newBuilder() |
static FeatureView.IndexConfig.Builder |
newBuilder(FeatureView.IndexConfig prototype) |
FeatureView.IndexConfig.Builder |
newBuilderForType() |
protected FeatureView.IndexConfig.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static FeatureView.IndexConfig |
parseDelimitedFrom(InputStream input) |
static FeatureView.IndexConfig |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FeatureView.IndexConfig |
parseFrom(byte[] data) |
static FeatureView.IndexConfig |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FeatureView.IndexConfig |
parseFrom(ByteBuffer data) |
static FeatureView.IndexConfig |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FeatureView.IndexConfig |
parseFrom(com.google.protobuf.ByteString data) |
static FeatureView.IndexConfig |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FeatureView.IndexConfig |
parseFrom(com.google.protobuf.CodedInputStream input) |
static FeatureView.IndexConfig |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FeatureView.IndexConfig |
parseFrom(InputStream input) |
static FeatureView.IndexConfig |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<FeatureView.IndexConfig> |
parser() |
FeatureView.IndexConfig.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int TREE_AH_CONFIG_FIELD_NUMBER
public static final int BRUTE_FORCE_CONFIG_FIELD_NUMBER
public static final int EMBEDDING_COLUMN_FIELD_NUMBER
public static final int FILTER_COLUMNS_FIELD_NUMBER
public static final int CROWDING_COLUMN_FIELD_NUMBER
public static final int EMBEDDING_DIMENSION_FIELD_NUMBER
public static final int DISTANCE_MEASURE_TYPE_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public FeatureView.IndexConfig.AlgorithmConfigCase getAlgorithmConfigCase()
getAlgorithmConfigCase in interface FeatureView.IndexConfigOrBuilderpublic boolean hasTreeAhConfig()
Optional. Configuration options for the tree-AH algorithm (Shallow tree + Asymmetric Hashing). Please refer to this paper for more details: https://arxiv.org/abs/1908.10396
.google.cloud.aiplatform.v1beta1.FeatureView.IndexConfig.TreeAHConfig tree_ah_config = 6 [(.google.api.field_behavior) = OPTIONAL];
hasTreeAhConfig in interface FeatureView.IndexConfigOrBuilderpublic FeatureView.IndexConfig.TreeAHConfig getTreeAhConfig()
Optional. Configuration options for the tree-AH algorithm (Shallow tree + Asymmetric Hashing). Please refer to this paper for more details: https://arxiv.org/abs/1908.10396
.google.cloud.aiplatform.v1beta1.FeatureView.IndexConfig.TreeAHConfig tree_ah_config = 6 [(.google.api.field_behavior) = OPTIONAL];
getTreeAhConfig in interface FeatureView.IndexConfigOrBuilderpublic FeatureView.IndexConfig.TreeAHConfigOrBuilder getTreeAhConfigOrBuilder()
Optional. Configuration options for the tree-AH algorithm (Shallow tree + Asymmetric Hashing). Please refer to this paper for more details: https://arxiv.org/abs/1908.10396
.google.cloud.aiplatform.v1beta1.FeatureView.IndexConfig.TreeAHConfig tree_ah_config = 6 [(.google.api.field_behavior) = OPTIONAL];
getTreeAhConfigOrBuilder in interface FeatureView.IndexConfigOrBuilderpublic boolean hasBruteForceConfig()
Optional. Configuration options for using brute force search, which simply implements the standard linear search in the database for each query. It is primarily meant for benchmarking and to generate the ground truth for approximate search.
.google.cloud.aiplatform.v1beta1.FeatureView.IndexConfig.BruteForceConfig brute_force_config = 7 [(.google.api.field_behavior) = OPTIONAL];
hasBruteForceConfig in interface FeatureView.IndexConfigOrBuilderpublic FeatureView.IndexConfig.BruteForceConfig getBruteForceConfig()
Optional. Configuration options for using brute force search, which simply implements the standard linear search in the database for each query. It is primarily meant for benchmarking and to generate the ground truth for approximate search.
.google.cloud.aiplatform.v1beta1.FeatureView.IndexConfig.BruteForceConfig brute_force_config = 7 [(.google.api.field_behavior) = OPTIONAL];
getBruteForceConfig in interface FeatureView.IndexConfigOrBuilderpublic FeatureView.IndexConfig.BruteForceConfigOrBuilder getBruteForceConfigOrBuilder()
Optional. Configuration options for using brute force search, which simply implements the standard linear search in the database for each query. It is primarily meant for benchmarking and to generate the ground truth for approximate search.
.google.cloud.aiplatform.v1beta1.FeatureView.IndexConfig.BruteForceConfig brute_force_config = 7 [(.google.api.field_behavior) = OPTIONAL];
getBruteForceConfigOrBuilder in interface FeatureView.IndexConfigOrBuilderpublic String getEmbeddingColumn()
Optional. Column of embedding. This column contains the source data to create index for vector search. embedding_column must be set when using vector search.
string embedding_column = 1 [(.google.api.field_behavior) = OPTIONAL];getEmbeddingColumn in interface FeatureView.IndexConfigOrBuilderpublic com.google.protobuf.ByteString getEmbeddingColumnBytes()
Optional. Column of embedding. This column contains the source data to create index for vector search. embedding_column must be set when using vector search.
string embedding_column = 1 [(.google.api.field_behavior) = OPTIONAL];getEmbeddingColumnBytes in interface FeatureView.IndexConfigOrBuilderpublic com.google.protobuf.ProtocolStringList getFilterColumnsList()
Optional. Columns of features that're used to filter vector search results.
repeated string filter_columns = 2 [(.google.api.field_behavior) = OPTIONAL];getFilterColumnsList in interface FeatureView.IndexConfigOrBuilderpublic int getFilterColumnsCount()
Optional. Columns of features that're used to filter vector search results.
repeated string filter_columns = 2 [(.google.api.field_behavior) = OPTIONAL];getFilterColumnsCount in interface FeatureView.IndexConfigOrBuilderpublic String getFilterColumns(int index)
Optional. Columns of features that're used to filter vector search results.
repeated string filter_columns = 2 [(.google.api.field_behavior) = OPTIONAL];getFilterColumns in interface FeatureView.IndexConfigOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getFilterColumnsBytes(int index)
Optional. Columns of features that're used to filter vector search results.
repeated string filter_columns = 2 [(.google.api.field_behavior) = OPTIONAL];getFilterColumnsBytes in interface FeatureView.IndexConfigOrBuilderindex - The index of the value to return.public String getCrowdingColumn()
Optional. Column of crowding. This column contains crowding attribute which is a constraint on a neighbor list produced by [FeatureOnlineStoreService.SearchNearestEntities][google.cloud.aiplatform.v1beta1.FeatureOnlineStoreService.SearchNearestEntities] to diversify search results. If [NearestNeighborQuery.per_crowding_attribute_neighbor_count][google.cloud.aiplatform.v1beta1.NearestNeighborQuery.per_crowding_attribute_neighbor_count] is set to K in [SearchNearestEntitiesRequest][google.cloud.aiplatform.v1beta1.SearchNearestEntitiesRequest], it's guaranteed that no more than K entities of the same crowding attribute are returned in the response.
string crowding_column = 3 [(.google.api.field_behavior) = OPTIONAL];getCrowdingColumn in interface FeatureView.IndexConfigOrBuilderpublic com.google.protobuf.ByteString getCrowdingColumnBytes()
Optional. Column of crowding. This column contains crowding attribute which is a constraint on a neighbor list produced by [FeatureOnlineStoreService.SearchNearestEntities][google.cloud.aiplatform.v1beta1.FeatureOnlineStoreService.SearchNearestEntities] to diversify search results. If [NearestNeighborQuery.per_crowding_attribute_neighbor_count][google.cloud.aiplatform.v1beta1.NearestNeighborQuery.per_crowding_attribute_neighbor_count] is set to K in [SearchNearestEntitiesRequest][google.cloud.aiplatform.v1beta1.SearchNearestEntitiesRequest], it's guaranteed that no more than K entities of the same crowding attribute are returned in the response.
string crowding_column = 3 [(.google.api.field_behavior) = OPTIONAL];getCrowdingColumnBytes in interface FeatureView.IndexConfigOrBuilderpublic boolean hasEmbeddingDimension()
Optional. The number of dimensions of the input embedding.
optional int32 embedding_dimension = 4 [(.google.api.field_behavior) = OPTIONAL];
hasEmbeddingDimension in interface FeatureView.IndexConfigOrBuilderpublic int getEmbeddingDimension()
Optional. The number of dimensions of the input embedding.
optional int32 embedding_dimension = 4 [(.google.api.field_behavior) = OPTIONAL];
getEmbeddingDimension in interface FeatureView.IndexConfigOrBuilderpublic int getDistanceMeasureTypeValue()
Optional. The distance measure used in nearest neighbor search.
.google.cloud.aiplatform.v1beta1.FeatureView.IndexConfig.DistanceMeasureType distance_measure_type = 5 [(.google.api.field_behavior) = OPTIONAL];
getDistanceMeasureTypeValue in interface FeatureView.IndexConfigOrBuilderpublic FeatureView.IndexConfig.DistanceMeasureType getDistanceMeasureType()
Optional. The distance measure used in nearest neighbor search.
.google.cloud.aiplatform.v1beta1.FeatureView.IndexConfig.DistanceMeasureType distance_measure_type = 5 [(.google.api.field_behavior) = OPTIONAL];
getDistanceMeasureType in interface FeatureView.IndexConfigOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static FeatureView.IndexConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FeatureView.IndexConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FeatureView.IndexConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FeatureView.IndexConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FeatureView.IndexConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FeatureView.IndexConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FeatureView.IndexConfig parseFrom(InputStream input) throws IOException
IOExceptionpublic static FeatureView.IndexConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static FeatureView.IndexConfig parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static FeatureView.IndexConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static FeatureView.IndexConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static FeatureView.IndexConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic FeatureView.IndexConfig.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static FeatureView.IndexConfig.Builder newBuilder()
public static FeatureView.IndexConfig.Builder newBuilder(FeatureView.IndexConfig prototype)
public FeatureView.IndexConfig.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected FeatureView.IndexConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static FeatureView.IndexConfig getDefaultInstance()
public static com.google.protobuf.Parser<FeatureView.IndexConfig> parser()
public com.google.protobuf.Parser<FeatureView.IndexConfig> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public FeatureView.IndexConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.