Class FeatureView.VectorSearchConfig
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.aiplatform.v1beta1.FeatureView.VectorSearchConfig
- All Implemented Interfaces:
FeatureView.VectorSearchConfigOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- FeatureView
@Deprecated
public static final class FeatureView.VectorSearchConfig
extends com.google.protobuf.GeneratedMessage
implements FeatureView.VectorSearchConfigOrBuilder
Deprecated.
Deprecated. Use [IndexConfig][google.cloud.aiplatform.v1beta1.FeatureView.IndexConfig] instead.Protobuf type
google.cloud.aiplatform.v1beta1.FeatureView.VectorSearchConfig- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumDeprecated.static final classDeprecated.Protobuf typegoogle.cloud.aiplatform.v1beta1.FeatureView.VectorSearchConfig.BruteForceConfigstatic interfaceDeprecated.static final classDeprecated.Deprecated.static enumDeprecated.Protobuf enumgoogle.cloud.aiplatform.v1beta1.FeatureView.VectorSearchConfig.DistanceMeasureTypestatic final classDeprecated.Protobuf typegoogle.cloud.aiplatform.v1beta1.FeatureView.VectorSearchConfig.TreeAHConfigstatic interfaceDeprecated.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.Fields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanDeprecated.Deprecated.Deprecated.Optional.Deprecated.Optional.Deprecated.Optional.com.google.protobuf.ByteStringDeprecated.Optional.Deprecated.Deprecated.static final com.google.protobuf.Descriptors.DescriptorDeprecated.Deprecated.Optional.intDeprecated.Optional.Deprecated.Optional.com.google.protobuf.ByteStringDeprecated.Optional.intDeprecated.Optional.getFilterColumns(int index) Deprecated.Optional.com.google.protobuf.ByteStringgetFilterColumnsBytes(int index) Deprecated.Optional.intDeprecated.Optional.com.google.protobuf.ProtocolStringListDeprecated.Optional.com.google.protobuf.Parser<FeatureView.VectorSearchConfig>Deprecated.intDeprecated.Deprecated.Optional.Deprecated.Optional.booleanDeprecated.Optional.booleanDeprecated.Optional.inthashCode()Deprecated.booleanDeprecated.Optional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableDeprecated.final booleanDeprecated.Deprecated.newBuilder(FeatureView.VectorSearchConfig prototype) Deprecated.Deprecated.protected FeatureView.VectorSearchConfig.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) Deprecated.parseDelimitedFrom(InputStream input) Deprecated.parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) Deprecated.parseFrom(byte[] data) Deprecated.parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) Deprecated.parseFrom(com.google.protobuf.ByteString data) Deprecated.parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) Deprecated.parseFrom(com.google.protobuf.CodedInputStream input) Deprecated.parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) Deprecated.parseFrom(InputStream input) Deprecated.parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) Deprecated.parseFrom(ByteBuffer data) Deprecated.parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) Deprecated.static com.google.protobuf.Parser<FeatureView.VectorSearchConfig>parser()Deprecated.Deprecated.voidwriteTo(com.google.protobuf.CodedOutputStream output) Deprecated.Methods inherited from class com.google.protobuf.GeneratedMessage
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, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
TREE_AH_CONFIG_FIELD_NUMBER
public static final int TREE_AH_CONFIG_FIELD_NUMBERDeprecated.- See Also:
-
BRUTE_FORCE_CONFIG_FIELD_NUMBER
public static final int BRUTE_FORCE_CONFIG_FIELD_NUMBERDeprecated.- See Also:
-
EMBEDDING_COLUMN_FIELD_NUMBER
public static final int EMBEDDING_COLUMN_FIELD_NUMBERDeprecated.- See Also:
-
FILTER_COLUMNS_FIELD_NUMBER
public static final int FILTER_COLUMNS_FIELD_NUMBERDeprecated.- See Also:
-
CROWDING_COLUMN_FIELD_NUMBER
public static final int CROWDING_COLUMN_FIELD_NUMBERDeprecated.- See Also:
-
EMBEDDING_DIMENSION_FIELD_NUMBER
public static final int EMBEDDING_DIMENSION_FIELD_NUMBERDeprecated.- See Also:
-
DISTANCE_MEASURE_TYPE_FIELD_NUMBER
public static final int DISTANCE_MEASURE_TYPE_FIELD_NUMBERDeprecated.- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()Deprecated. -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()Deprecated.- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getAlgorithmConfigCase
Deprecated.- Specified by:
getAlgorithmConfigCasein interfaceFeatureView.VectorSearchConfigOrBuilder
-
hasTreeAhConfig
public boolean hasTreeAhConfig()Deprecated.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.VectorSearchConfig.TreeAHConfig tree_ah_config = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasTreeAhConfigin interfaceFeatureView.VectorSearchConfigOrBuilder- Returns:
- Whether the treeAhConfig field is set.
-
getTreeAhConfig
Deprecated.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.VectorSearchConfig.TreeAHConfig tree_ah_config = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getTreeAhConfigin interfaceFeatureView.VectorSearchConfigOrBuilder- Returns:
- The treeAhConfig.
-
getTreeAhConfigOrBuilder
Deprecated.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.VectorSearchConfig.TreeAHConfig tree_ah_config = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getTreeAhConfigOrBuilderin interfaceFeatureView.VectorSearchConfigOrBuilder
-
hasBruteForceConfig
public boolean hasBruteForceConfig()Deprecated.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.VectorSearchConfig.BruteForceConfig brute_force_config = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasBruteForceConfigin interfaceFeatureView.VectorSearchConfigOrBuilder- Returns:
- Whether the bruteForceConfig field is set.
-
getBruteForceConfig
Deprecated.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.VectorSearchConfig.BruteForceConfig brute_force_config = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getBruteForceConfigin interfaceFeatureView.VectorSearchConfigOrBuilder- Returns:
- The bruteForceConfig.
-
getBruteForceConfigOrBuilder
Deprecated.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.VectorSearchConfig.BruteForceConfig brute_force_config = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getBruteForceConfigOrBuilderin interfaceFeatureView.VectorSearchConfigOrBuilder
-
getEmbeddingColumn
Deprecated.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 = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEmbeddingColumnin interfaceFeatureView.VectorSearchConfigOrBuilder- Returns:
- The embeddingColumn.
-
getEmbeddingColumnBytes
public com.google.protobuf.ByteString getEmbeddingColumnBytes()Deprecated.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 = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEmbeddingColumnBytesin interfaceFeatureView.VectorSearchConfigOrBuilder- Returns:
- The bytes for embeddingColumn.
-
getFilterColumnsList
public com.google.protobuf.ProtocolStringList getFilterColumnsList()Deprecated.Optional. Columns of features that're used to filter vector search results.
repeated string filter_columns = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getFilterColumnsListin interfaceFeatureView.VectorSearchConfigOrBuilder- Returns:
- A list containing the filterColumns.
-
getFilterColumnsCount
public int getFilterColumnsCount()Deprecated.Optional. Columns of features that're used to filter vector search results.
repeated string filter_columns = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getFilterColumnsCountin interfaceFeatureView.VectorSearchConfigOrBuilder- Returns:
- The count of filterColumns.
-
getFilterColumns
Deprecated.Optional. Columns of features that're used to filter vector search results.
repeated string filter_columns = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getFilterColumnsin interfaceFeatureView.VectorSearchConfigOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The filterColumns at the given index.
-
getFilterColumnsBytes
public com.google.protobuf.ByteString getFilterColumnsBytes(int index) Deprecated.Optional. Columns of features that're used to filter vector search results.
repeated string filter_columns = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getFilterColumnsBytesin interfaceFeatureView.VectorSearchConfigOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the filterColumns at the given index.
-
getCrowdingColumn
Deprecated.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 = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getCrowdingColumnin interfaceFeatureView.VectorSearchConfigOrBuilder- Returns:
- The crowdingColumn.
-
getCrowdingColumnBytes
public com.google.protobuf.ByteString getCrowdingColumnBytes()Deprecated.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 = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getCrowdingColumnBytesin interfaceFeatureView.VectorSearchConfigOrBuilder- Returns:
- The bytes for crowdingColumn.
-
hasEmbeddingDimension
public boolean hasEmbeddingDimension()Deprecated.Optional. The number of dimensions of the input embedding.
optional int32 embedding_dimension = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasEmbeddingDimensionin interfaceFeatureView.VectorSearchConfigOrBuilder- Returns:
- Whether the embeddingDimension field is set.
-
getEmbeddingDimension
public int getEmbeddingDimension()Deprecated.Optional. The number of dimensions of the input embedding.
optional int32 embedding_dimension = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEmbeddingDimensionin interfaceFeatureView.VectorSearchConfigOrBuilder- Returns:
- The embeddingDimension.
-
getDistanceMeasureTypeValue
public int getDistanceMeasureTypeValue()Deprecated.Optional. The distance measure used in nearest neighbor search.
.google.cloud.aiplatform.v1beta1.FeatureView.VectorSearchConfig.DistanceMeasureType distance_measure_type = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDistanceMeasureTypeValuein interfaceFeatureView.VectorSearchConfigOrBuilder- Returns:
- The enum numeric value on the wire for distanceMeasureType.
-
getDistanceMeasureType
Deprecated.Optional. The distance measure used in nearest neighbor search.
.google.cloud.aiplatform.v1beta1.FeatureView.VectorSearchConfig.DistanceMeasureType distance_measure_type = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDistanceMeasureTypein interfaceFeatureView.VectorSearchConfigOrBuilder- Returns:
- The distanceMeasureType.
-
isInitialized
public final boolean isInitialized()Deprecated.- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
Deprecated.- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()Deprecated.- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
Deprecated.- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()Deprecated.- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static FeatureView.VectorSearchConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException Deprecated.- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FeatureView.VectorSearchConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException Deprecated.- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FeatureView.VectorSearchConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException Deprecated.- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FeatureView.VectorSearchConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException Deprecated.- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FeatureView.VectorSearchConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException Deprecated.- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FeatureView.VectorSearchConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException Deprecated.- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
Deprecated.- Throws:
IOException
-
parseFrom
public static FeatureView.VectorSearchConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException Deprecated.- Throws:
IOException
-
parseDelimitedFrom
public static FeatureView.VectorSearchConfig parseDelimitedFrom(InputStream input) throws IOException Deprecated.- Throws:
IOException
-
parseDelimitedFrom
public static FeatureView.VectorSearchConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException Deprecated.- Throws:
IOException
-
parseFrom
public static FeatureView.VectorSearchConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException Deprecated.- Throws:
IOException
-
parseFrom
public static FeatureView.VectorSearchConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException Deprecated.- Throws:
IOException
-
newBuilderForType
Deprecated.- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
Deprecated. -
newBuilder
public static FeatureView.VectorSearchConfig.Builder newBuilder(FeatureView.VectorSearchConfig prototype) Deprecated. -
toBuilder
Deprecated.- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected FeatureView.VectorSearchConfig.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) Deprecated.- Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
Deprecated. -
parser
Deprecated. -
getParserForType
Deprecated.- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
Deprecated.- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-