Class FeatureView.VectorSearchConfig (3.46.0)

public static final class FeatureView.VectorSearchConfig extends GeneratedMessageV3 implements FeatureView.VectorSearchConfigOrBuilder

Deprecated. Use IndexConfig instead.

Protobuf type google.cloud.aiplatform.v1beta1.FeatureView.VectorSearchConfig

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > FeatureView.VectorSearchConfig

Static Fields

BRUTE_FORCE_CONFIG_FIELD_NUMBER (deprecated)

public static final int BRUTE_FORCE_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

CROWDING_COLUMN_FIELD_NUMBER (deprecated)

public static final int CROWDING_COLUMN_FIELD_NUMBER
Field Value
Type Description
int

DISTANCE_MEASURE_TYPE_FIELD_NUMBER (deprecated)

public static final int DISTANCE_MEASURE_TYPE_FIELD_NUMBER
Field Value
Type Description
int

EMBEDDING_COLUMN_FIELD_NUMBER (deprecated)

public static final int EMBEDDING_COLUMN_FIELD_NUMBER
Field Value
Type Description
int

EMBEDDING_DIMENSION_FIELD_NUMBER (deprecated)

public static final int EMBEDDING_DIMENSION_FIELD_NUMBER
Field Value
Type Description
int

FILTER_COLUMNS_FIELD_NUMBER (deprecated)

public static final int FILTER_COLUMNS_FIELD_NUMBER
Field Value
Type Description
int

TREE_AH_CONFIG_FIELD_NUMBER (deprecated)

public static final int TREE_AH_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance() (deprecated)

public static FeatureView.VectorSearchConfig getDefaultInstance()
Returns
Type Description
FeatureView.VectorSearchConfig

getDescriptor() (deprecated)

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

newBuilder() (deprecated)

public static FeatureView.VectorSearchConfig.Builder newBuilder()
Returns
Type Description
FeatureView.VectorSearchConfig.Builder

newBuilder(FeatureView.VectorSearchConfig prototype) (deprecated)

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

parseDelimitedFrom(InputStream input) (deprecated)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) (deprecated)

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

parseFrom(byte[] data) (deprecated)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) (deprecated)

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

parseFrom(ByteString data) (deprecated)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) (deprecated)

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

parseFrom(CodedInputStream input) (deprecated)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) (deprecated)

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

parseFrom(InputStream input) (deprecated)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) (deprecated)

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

parseFrom(ByteBuffer data) (deprecated)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) (deprecated)

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

parser() (deprecated)

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

Methods

equals(Object obj) (deprecated)

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

getAlgorithmConfigCase() (deprecated)

public FeatureView.VectorSearchConfig.AlgorithmConfigCase getAlgorithmConfigCase()
Returns
Type Description
FeatureView.VectorSearchConfig.AlgorithmConfigCase

getBruteForceConfig() (deprecated)

public FeatureView.VectorSearchConfig.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.VectorSearchConfig.BruteForceConfig brute_force_config = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FeatureView.VectorSearchConfig.BruteForceConfig

The bruteForceConfig.

getBruteForceConfigOrBuilder() (deprecated)

public FeatureView.VectorSearchConfig.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.VectorSearchConfig.BruteForceConfig brute_force_config = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FeatureView.VectorSearchConfig.BruteForceConfigOrBuilder

getCrowdingColumn() (deprecated)

public String getCrowdingColumn()

Optional. Column of crowding. This column contains crowding attribute which is a constraint on a neighbor list produced by FeatureOnlineStoreService.SearchNearestEntities to diversify search results. If NearestNeighborQuery.per_crowding_attribute_neighbor_count is set to K in 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];

Returns
Type Description
String

The crowdingColumn.

getCrowdingColumnBytes() (deprecated)

public ByteString getCrowdingColumnBytes()

Optional. Column of crowding. This column contains crowding attribute which is a constraint on a neighbor list produced by FeatureOnlineStoreService.SearchNearestEntities to diversify search results. If NearestNeighborQuery.per_crowding_attribute_neighbor_count is set to K in 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];

Returns
Type Description
ByteString

The bytes for crowdingColumn.

getDefaultInstanceForType() (deprecated)

public FeatureView.VectorSearchConfig getDefaultInstanceForType()
Returns
Type Description
FeatureView.VectorSearchConfig

getDistanceMeasureType() (deprecated)

public FeatureView.VectorSearchConfig.DistanceMeasureType getDistanceMeasureType()

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];

Returns
Type Description
FeatureView.VectorSearchConfig.DistanceMeasureType

The distanceMeasureType.

getDistanceMeasureTypeValue() (deprecated)

public int getDistanceMeasureTypeValue()

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];

Returns
Type Description
int

The enum numeric value on the wire for distanceMeasureType.

getEmbeddingColumn() (deprecated)

public 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 = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The embeddingColumn.

getEmbeddingColumnBytes() (deprecated)

public 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 = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for embeddingColumn.

getEmbeddingDimension() (deprecated)

public int getEmbeddingDimension()

Optional. The number of dimensions of the input embedding.

optional int32 embedding_dimension = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The embeddingDimension.

getFilterColumns(int index) (deprecated)

public String getFilterColumns(int index)

Optional. Columns of features that're used to filter vector search results.

repeated string filter_columns = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The filterColumns at the given index.

getFilterColumnsBytes(int index) (deprecated)

public ByteString getFilterColumnsBytes(int index)

Optional. Columns of features that're used to filter vector search results.

repeated string filter_columns = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the filterColumns at the given index.

getFilterColumnsCount() (deprecated)

public int getFilterColumnsCount()

Optional. Columns of features that're used to filter vector search results.

repeated string filter_columns = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of filterColumns.

getFilterColumnsList() (deprecated)

public ProtocolStringList getFilterColumnsList()

Optional. Columns of features that're used to filter vector search results.

repeated string filter_columns = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the filterColumns.

getParserForType() (deprecated)

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

getSerializedSize() (deprecated)

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTreeAhConfig() (deprecated)

public FeatureView.VectorSearchConfig.TreeAHConfig getTreeAhConfig()

Optional. Configuration options for the tree-AH algorithm (Shallow tree

.google.cloud.aiplatform.v1beta1.FeatureView.VectorSearchConfig.TreeAHConfig tree_ah_config = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FeatureView.VectorSearchConfig.TreeAHConfig

The treeAhConfig.

getTreeAhConfigOrBuilder() (deprecated)

public FeatureView.VectorSearchConfig.TreeAHConfigOrBuilder getTreeAhConfigOrBuilder()

Optional. Configuration options for the tree-AH algorithm (Shallow tree

.google.cloud.aiplatform.v1beta1.FeatureView.VectorSearchConfig.TreeAHConfig tree_ah_config = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FeatureView.VectorSearchConfig.TreeAHConfigOrBuilder

hasBruteForceConfig() (deprecated)

public 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.VectorSearchConfig.BruteForceConfig brute_force_config = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the bruteForceConfig field is set.

hasEmbeddingDimension() (deprecated)

public boolean hasEmbeddingDimension()

Optional. The number of dimensions of the input embedding.

optional int32 embedding_dimension = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the embeddingDimension field is set.

hasTreeAhConfig() (deprecated)

public boolean hasTreeAhConfig()

Optional. Configuration options for the tree-AH algorithm (Shallow tree

.google.cloud.aiplatform.v1beta1.FeatureView.VectorSearchConfig.TreeAHConfig tree_ah_config = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the treeAhConfig field is set.

hashCode() (deprecated)

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable() (deprecated)

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

isInitialized() (deprecated)

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType() (deprecated)

public FeatureView.VectorSearchConfig.Builder newBuilderForType()
Returns
Type Description
FeatureView.VectorSearchConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent) (deprecated)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) (deprecated)

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

toBuilder() (deprecated)

public FeatureView.VectorSearchConfig.Builder toBuilder()
Returns
Type Description
FeatureView.VectorSearchConfig.Builder

writeTo(CodedOutputStream output) (deprecated)

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