- 3.55.0 (latest)
- 3.54.0
- 3.53.0
- 3.52.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.2
- 3.3.0
- 3.2.0
- 3.0.0
- 2.9.8
- 2.8.9
- 2.7.4
- 2.5.3
- 2.4.0
public static final class FeatureView.IndexConfig.Builder extends GeneratedMessageV3.Builder<FeatureView.IndexConfig.Builder> implements FeatureView.IndexConfigOrBuilder
Configuration for vector indexing.
Protobuf type google.cloud.aiplatform.v1beta1.FeatureView.IndexConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > FeatureView.IndexConfig.BuilderImplements
FeatureView.IndexConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllFilterColumns(Iterable<String> values)
public FeatureView.IndexConfig.Builder addAllFilterColumns(Iterable<String> values)
Optional. Columns of features that're used to filter vector search results.
repeated string filter_columns = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The filterColumns to add. |
Returns | |
---|---|
Type | Description |
FeatureView.IndexConfig.Builder |
This builder for chaining. |
addFilterColumns(String value)
public FeatureView.IndexConfig.Builder addFilterColumns(String value)
Optional. Columns of features that're used to filter vector search results.
repeated string filter_columns = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The filterColumns to add. |
Returns | |
---|---|
Type | Description |
FeatureView.IndexConfig.Builder |
This builder for chaining. |
addFilterColumnsBytes(ByteString value)
public FeatureView.IndexConfig.Builder addFilterColumnsBytes(ByteString value)
Optional. Columns of features that're used to filter vector search results.
repeated string filter_columns = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the filterColumns to add. |
Returns | |
---|---|
Type | Description |
FeatureView.IndexConfig.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public FeatureView.IndexConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
FeatureView.IndexConfig.Builder |
build()
public FeatureView.IndexConfig build()
Returns | |
---|---|
Type | Description |
FeatureView.IndexConfig |
buildPartial()
public FeatureView.IndexConfig buildPartial()
Returns | |
---|---|
Type | Description |
FeatureView.IndexConfig |
clear()
public FeatureView.IndexConfig.Builder clear()
Returns | |
---|---|
Type | Description |
FeatureView.IndexConfig.Builder |
clearAlgorithmConfig()
public FeatureView.IndexConfig.Builder clearAlgorithmConfig()
Returns | |
---|---|
Type | Description |
FeatureView.IndexConfig.Builder |
clearBruteForceConfig()
public FeatureView.IndexConfig.Builder clearBruteForceConfig()
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];
Returns | |
---|---|
Type | Description |
FeatureView.IndexConfig.Builder |
clearCrowdingColumn()
public FeatureView.IndexConfig.Builder clearCrowdingColumn()
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 = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
FeatureView.IndexConfig.Builder |
This builder for chaining. |
clearDistanceMeasureType()
public FeatureView.IndexConfig.Builder clearDistanceMeasureType()
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];
Returns | |
---|---|
Type | Description |
FeatureView.IndexConfig.Builder |
This builder for chaining. |
clearEmbeddingColumn()
public FeatureView.IndexConfig.Builder clearEmbeddingColumn()
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];
Returns | |
---|---|
Type | Description |
FeatureView.IndexConfig.Builder |
This builder for chaining. |
clearEmbeddingDimension()
public FeatureView.IndexConfig.Builder clearEmbeddingDimension()
Optional. The number of dimensions of the input embedding.
optional int32 embedding_dimension = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
FeatureView.IndexConfig.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public FeatureView.IndexConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
FeatureView.IndexConfig.Builder |
clearFilterColumns()
public FeatureView.IndexConfig.Builder clearFilterColumns()
Optional. Columns of features that're used to filter vector search results.
repeated string filter_columns = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
FeatureView.IndexConfig.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public FeatureView.IndexConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
FeatureView.IndexConfig.Builder |
clearTreeAhConfig()
public FeatureView.IndexConfig.Builder clearTreeAhConfig()
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];
Returns | |
---|---|
Type | Description |
FeatureView.IndexConfig.Builder |
clone()
public FeatureView.IndexConfig.Builder clone()
Returns | |
---|---|
Type | Description |
FeatureView.IndexConfig.Builder |
getAlgorithmConfigCase()
public FeatureView.IndexConfig.AlgorithmConfigCase getAlgorithmConfigCase()
Returns | |
---|---|
Type | Description |
FeatureView.IndexConfig.AlgorithmConfigCase |
getBruteForceConfig()
public 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];
Returns | |
---|---|
Type | Description |
FeatureView.IndexConfig.BruteForceConfig |
The bruteForceConfig. |
getBruteForceConfigBuilder()
public FeatureView.IndexConfig.BruteForceConfig.Builder getBruteForceConfigBuilder()
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];
Returns | |
---|---|
Type | Description |
FeatureView.IndexConfig.BruteForceConfig.Builder |
getBruteForceConfigOrBuilder()
public 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];
Returns | |
---|---|
Type | Description |
FeatureView.IndexConfig.BruteForceConfigOrBuilder |
getCrowdingColumn()
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 = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The crowdingColumn. |
getCrowdingColumnBytes()
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 = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for crowdingColumn. |
getDefaultInstanceForType()
public FeatureView.IndexConfig getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
FeatureView.IndexConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDistanceMeasureType()
public 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];
Returns | |
---|---|
Type | Description |
FeatureView.IndexConfig.DistanceMeasureType |
The distanceMeasureType. |
getDistanceMeasureTypeValue()
public 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];
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for distanceMeasureType. |
getEmbeddingColumn()
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 = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The embeddingColumn. |
getEmbeddingColumnBytes()
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 = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for embeddingColumn. |
getEmbeddingDimension()
public int getEmbeddingDimension()
Optional. The number of dimensions of the input embedding.
optional int32 embedding_dimension = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
The embeddingDimension. |
getFilterColumns(int index)
public 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];
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)
public 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];
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()
public int getFilterColumnsCount()
Optional. Columns of features that're used to filter vector search results.
repeated string filter_columns = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
The count of filterColumns. |
getFilterColumnsList()
public ProtocolStringList getFilterColumnsList()
Optional. Columns of features that're used to filter vector search results.
repeated string filter_columns = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the filterColumns. |
getTreeAhConfig()
public 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];
Returns | |
---|---|
Type | Description |
FeatureView.IndexConfig.TreeAHConfig |
The treeAhConfig. |
getTreeAhConfigBuilder()
public FeatureView.IndexConfig.TreeAHConfig.Builder getTreeAhConfigBuilder()
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];
Returns | |
---|---|
Type | Description |
FeatureView.IndexConfig.TreeAHConfig.Builder |
getTreeAhConfigOrBuilder()
public 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];
Returns | |
---|---|
Type | Description |
FeatureView.IndexConfig.TreeAHConfigOrBuilder |
hasBruteForceConfig()
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.IndexConfig.BruteForceConfig brute_force_config = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the bruteForceConfig field is set. |
hasEmbeddingDimension()
public boolean hasEmbeddingDimension()
Optional. The number of dimensions of the input embedding.
optional int32 embedding_dimension = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the embeddingDimension field is set. |
hasTreeAhConfig()
public 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];
Returns | |
---|---|
Type | Description |
boolean |
Whether the treeAhConfig field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeBruteForceConfig(FeatureView.IndexConfig.BruteForceConfig value)
public FeatureView.IndexConfig.Builder mergeBruteForceConfig(FeatureView.IndexConfig.BruteForceConfig value)
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];
Parameter | |
---|---|
Name | Description |
value |
FeatureView.IndexConfig.BruteForceConfig |
Returns | |
---|---|
Type | Description |
FeatureView.IndexConfig.Builder |
mergeFrom(FeatureView.IndexConfig other)
public FeatureView.IndexConfig.Builder mergeFrom(FeatureView.IndexConfig other)
Parameter | |
---|---|
Name | Description |
other |
FeatureView.IndexConfig |
Returns | |
---|---|
Type | Description |
FeatureView.IndexConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public FeatureView.IndexConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
FeatureView.IndexConfig.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public FeatureView.IndexConfig.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
FeatureView.IndexConfig.Builder |
mergeTreeAhConfig(FeatureView.IndexConfig.TreeAHConfig value)
public FeatureView.IndexConfig.Builder mergeTreeAhConfig(FeatureView.IndexConfig.TreeAHConfig value)
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];
Parameter | |
---|---|
Name | Description |
value |
FeatureView.IndexConfig.TreeAHConfig |
Returns | |
---|---|
Type | Description |
FeatureView.IndexConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final FeatureView.IndexConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
FeatureView.IndexConfig.Builder |
setBruteForceConfig(FeatureView.IndexConfig.BruteForceConfig value)
public FeatureView.IndexConfig.Builder setBruteForceConfig(FeatureView.IndexConfig.BruteForceConfig value)
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];
Parameter | |
---|---|
Name | Description |
value |
FeatureView.IndexConfig.BruteForceConfig |
Returns | |
---|---|
Type | Description |
FeatureView.IndexConfig.Builder |
setBruteForceConfig(FeatureView.IndexConfig.BruteForceConfig.Builder builderForValue)
public FeatureView.IndexConfig.Builder setBruteForceConfig(FeatureView.IndexConfig.BruteForceConfig.Builder builderForValue)
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];
Parameter | |
---|---|
Name | Description |
builderForValue |
FeatureView.IndexConfig.BruteForceConfig.Builder |
Returns | |
---|---|
Type | Description |
FeatureView.IndexConfig.Builder |
setCrowdingColumn(String value)
public FeatureView.IndexConfig.Builder setCrowdingColumn(String value)
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 = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The crowdingColumn to set. |
Returns | |
---|---|
Type | Description |
FeatureView.IndexConfig.Builder |
This builder for chaining. |
setCrowdingColumnBytes(ByteString value)
public FeatureView.IndexConfig.Builder setCrowdingColumnBytes(ByteString value)
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 = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for crowdingColumn to set. |
Returns | |
---|---|
Type | Description |
FeatureView.IndexConfig.Builder |
This builder for chaining. |
setDistanceMeasureType(FeatureView.IndexConfig.DistanceMeasureType value)
public FeatureView.IndexConfig.Builder setDistanceMeasureType(FeatureView.IndexConfig.DistanceMeasureType value)
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];
Parameter | |
---|---|
Name | Description |
value |
FeatureView.IndexConfig.DistanceMeasureType The distanceMeasureType to set. |
Returns | |
---|---|
Type | Description |
FeatureView.IndexConfig.Builder |
This builder for chaining. |
setDistanceMeasureTypeValue(int value)
public FeatureView.IndexConfig.Builder setDistanceMeasureTypeValue(int value)
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];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for distanceMeasureType to set. |
Returns | |
---|---|
Type | Description |
FeatureView.IndexConfig.Builder |
This builder for chaining. |
setEmbeddingColumn(String value)
public FeatureView.IndexConfig.Builder setEmbeddingColumn(String value)
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];
Parameter | |
---|---|
Name | Description |
value |
String The embeddingColumn to set. |
Returns | |
---|---|
Type | Description |
FeatureView.IndexConfig.Builder |
This builder for chaining. |
setEmbeddingColumnBytes(ByteString value)
public FeatureView.IndexConfig.Builder setEmbeddingColumnBytes(ByteString value)
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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for embeddingColumn to set. |
Returns | |
---|---|
Type | Description |
FeatureView.IndexConfig.Builder |
This builder for chaining. |
setEmbeddingDimension(int value)
public FeatureView.IndexConfig.Builder setEmbeddingDimension(int value)
Optional. The number of dimensions of the input embedding.
optional int32 embedding_dimension = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
int The embeddingDimension to set. |
Returns | |
---|---|
Type | Description |
FeatureView.IndexConfig.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public FeatureView.IndexConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
FeatureView.IndexConfig.Builder |
setFilterColumns(int index, String value)
public FeatureView.IndexConfig.Builder setFilterColumns(int index, String value)
Optional. Columns of features that're used to filter vector search results.
repeated string filter_columns = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The filterColumns to set. |
Returns | |
---|---|
Type | Description |
FeatureView.IndexConfig.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public FeatureView.IndexConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
FeatureView.IndexConfig.Builder |
setTreeAhConfig(FeatureView.IndexConfig.TreeAHConfig value)
public FeatureView.IndexConfig.Builder setTreeAhConfig(FeatureView.IndexConfig.TreeAHConfig value)
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];
Parameter | |
---|---|
Name | Description |
value |
FeatureView.IndexConfig.TreeAHConfig |
Returns | |
---|---|
Type | Description |
FeatureView.IndexConfig.Builder |
setTreeAhConfig(FeatureView.IndexConfig.TreeAHConfig.Builder builderForValue)
public FeatureView.IndexConfig.Builder setTreeAhConfig(FeatureView.IndexConfig.TreeAHConfig.Builder builderForValue)
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];
Parameter | |
---|---|
Name | Description |
builderForValue |
FeatureView.IndexConfig.TreeAHConfig.Builder |
Returns | |
---|---|
Type | Description |
FeatureView.IndexConfig.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final FeatureView.IndexConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
FeatureView.IndexConfig.Builder |