Interface FeatureView.VectorSearchConfigOrBuilder (3.32.0)

public static interface FeatureView.VectorSearchConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAlgorithmConfigCase()

public abstract FeatureView.VectorSearchConfig.AlgorithmConfigCase getAlgorithmConfigCase()
Returns
TypeDescription
FeatureView.VectorSearchConfig.AlgorithmConfigCase

getBruteForceConfig()

public abstract 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
TypeDescription
FeatureView.VectorSearchConfig.BruteForceConfig

The bruteForceConfig.

getBruteForceConfigOrBuilder()

public abstract 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
TypeDescription
FeatureView.VectorSearchConfig.BruteForceConfigOrBuilder

getCrowdingColumn()

public abstract String getCrowdingColumn()

Optional. Column of crowding. This column contains crowding attribute which is a constraint on a neighbor list produced by nearest neighbor search requiring that no more than some value k' of the k neighbors returned have the same value of crowding_attribute.

string crowding_column = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The crowdingColumn.

getCrowdingColumnBytes()

public abstract ByteString getCrowdingColumnBytes()

Optional. Column of crowding. This column contains crowding attribute which is a constraint on a neighbor list produced by nearest neighbor search requiring that no more than some value k' of the k neighbors returned have the same value of crowding_attribute.

string crowding_column = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for crowdingColumn.

getDistanceMeasureType()

public abstract 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
TypeDescription
FeatureView.VectorSearchConfig.DistanceMeasureType

The distanceMeasureType.

getDistanceMeasureTypeValue()

public abstract 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
TypeDescription
int

The enum numeric value on the wire for distanceMeasureType.

getEmbeddingColumn()

public abstract 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
TypeDescription
String

The embeddingColumn.

getEmbeddingColumnBytes()

public abstract 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
TypeDescription
ByteString

The bytes for embeddingColumn.

getEmbeddingDimension()

public abstract int getEmbeddingDimension()

Optional. The number of dimensions of the input embedding.

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

Returns
TypeDescription
int

The embeddingDimension.

getFilterColumns(int index)

public abstract 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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The filterColumns at the given index.

getFilterColumnsBytes(int index)

public abstract 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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the filterColumns at the given index.

getFilterColumnsCount()

public abstract 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
TypeDescription
int

The count of filterColumns.

getFilterColumnsList()

public abstract List<String> getFilterColumnsList()

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

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

Returns
TypeDescription
List<String>

A list containing the filterColumns.

getTreeAhConfig()

public abstract 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
TypeDescription
FeatureView.VectorSearchConfig.TreeAHConfig

The treeAhConfig.

getTreeAhConfigOrBuilder()

public abstract 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
TypeDescription
FeatureView.VectorSearchConfig.TreeAHConfigOrBuilder

hasBruteForceConfig()

public abstract 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
TypeDescription
boolean

Whether the bruteForceConfig field is set.

hasEmbeddingDimension()

public abstract boolean hasEmbeddingDimension()

Optional. The number of dimensions of the input embedding.

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

Returns
TypeDescription
boolean

Whether the embeddingDimension field is set.

hasTreeAhConfig()

public abstract 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
TypeDescription
boolean

Whether the treeAhConfig field is set.