Package com.google.cloud.aiplatform.v1
Class FeatureView.IndexConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<FeatureView.IndexConfig.Builder>
com.google.cloud.aiplatform.v1.FeatureView.IndexConfig.Builder
- All Implemented Interfaces:
FeatureView.IndexConfigOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- FeatureView.IndexConfig
public static final class FeatureView.IndexConfig.Builder
extends com.google.protobuf.GeneratedMessage.Builder<FeatureView.IndexConfig.Builder>
implements FeatureView.IndexConfigOrBuilder
Configuration for vector indexing.Protobuf type
google.cloud.aiplatform.v1.FeatureView.IndexConfig-
Method Summary
Modifier and TypeMethodDescriptionaddAllFilterColumns(Iterable<String> values) Optional.addFilterColumns(String value) Optional.addFilterColumnsBytes(com.google.protobuf.ByteString value) Optional.build()clear()Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.com.google.protobuf.ByteStringOptional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOptional.intOptional.Optional.com.google.protobuf.ByteStringOptional.intOptional.getFilterColumns(int index) Optional.com.google.protobuf.ByteStringgetFilterColumnsBytes(int index) Optional.intOptional.com.google.protobuf.ProtocolStringListOptional.Optional.Optional.Optional.booleanOptional.booleanOptional.booleanOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanOptional.mergeFrom(FeatureView.IndexConfig other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Optional.Optional.setBruteForceConfig(FeatureView.IndexConfig.BruteForceConfig.Builder builderForValue) Optional.setCrowdingColumn(String value) Optional.setCrowdingColumnBytes(com.google.protobuf.ByteString value) Optional.Optional.setDistanceMeasureTypeValue(int value) Optional.setEmbeddingColumn(String value) Optional.setEmbeddingColumnBytes(com.google.protobuf.ByteString value) Optional.setEmbeddingDimension(int value) Optional.setFilterColumns(int index, String value) Optional.Optional.setTreeAhConfig(FeatureView.IndexConfig.TreeAHConfig.Builder builderForValue) Optional.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<FeatureView.IndexConfig.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<FeatureView.IndexConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<FeatureView.IndexConfig.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<FeatureView.IndexConfig.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<FeatureView.IndexConfig.Builder>
-
mergeFrom
public FeatureView.IndexConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<FeatureView.IndexConfig.Builder>- Throws:
IOException
-
getAlgorithmConfigCase
- Specified by:
getAlgorithmConfigCasein interfaceFeatureView.IndexConfigOrBuilder
-
clearAlgorithmConfig
-
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.v1.FeatureView.IndexConfig.TreeAHConfig tree_ah_config = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasTreeAhConfigin interfaceFeatureView.IndexConfigOrBuilder- Returns:
- Whether the treeAhConfig field is set.
-
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.v1.FeatureView.IndexConfig.TreeAHConfig tree_ah_config = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getTreeAhConfigin interfaceFeatureView.IndexConfigOrBuilder- Returns:
- The treeAhConfig.
-
setTreeAhConfig
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.v1.FeatureView.IndexConfig.TreeAHConfig tree_ah_config = 6 [(.google.api.field_behavior) = OPTIONAL]; -
setTreeAhConfig
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.v1.FeatureView.IndexConfig.TreeAHConfig tree_ah_config = 6 [(.google.api.field_behavior) = OPTIONAL]; -
mergeTreeAhConfig
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.v1.FeatureView.IndexConfig.TreeAHConfig tree_ah_config = 6 [(.google.api.field_behavior) = OPTIONAL]; -
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.v1.FeatureView.IndexConfig.TreeAHConfig tree_ah_config = 6 [(.google.api.field_behavior) = OPTIONAL]; -
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.v1.FeatureView.IndexConfig.TreeAHConfig tree_ah_config = 6 [(.google.api.field_behavior) = OPTIONAL]; -
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.v1.FeatureView.IndexConfig.TreeAHConfig tree_ah_config = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getTreeAhConfigOrBuilderin interfaceFeatureView.IndexConfigOrBuilder
-
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.v1.FeatureView.IndexConfig.BruteForceConfig brute_force_config = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasBruteForceConfigin interfaceFeatureView.IndexConfigOrBuilder- Returns:
- Whether the bruteForceConfig field is set.
-
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.v1.FeatureView.IndexConfig.BruteForceConfig brute_force_config = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getBruteForceConfigin interfaceFeatureView.IndexConfigOrBuilder- Returns:
- The bruteForceConfig.
-
setBruteForceConfig
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.v1.FeatureView.IndexConfig.BruteForceConfig brute_force_config = 7 [(.google.api.field_behavior) = OPTIONAL]; -
setBruteForceConfig
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.v1.FeatureView.IndexConfig.BruteForceConfig brute_force_config = 7 [(.google.api.field_behavior) = OPTIONAL]; -
mergeBruteForceConfig
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.v1.FeatureView.IndexConfig.BruteForceConfig brute_force_config = 7 [(.google.api.field_behavior) = OPTIONAL]; -
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.v1.FeatureView.IndexConfig.BruteForceConfig brute_force_config = 7 [(.google.api.field_behavior) = OPTIONAL]; -
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.v1.FeatureView.IndexConfig.BruteForceConfig brute_force_config = 7 [(.google.api.field_behavior) = OPTIONAL]; -
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.v1.FeatureView.IndexConfig.BruteForceConfig brute_force_config = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getBruteForceConfigOrBuilderin interfaceFeatureView.IndexConfigOrBuilder
-
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];- Specified by:
getEmbeddingColumnin interfaceFeatureView.IndexConfigOrBuilder- Returns:
- The embeddingColumn.
-
getEmbeddingColumnBytes
public 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];- Specified by:
getEmbeddingColumnBytesin interfaceFeatureView.IndexConfigOrBuilder- Returns:
- The bytes for embeddingColumn.
-
setEmbeddingColumn
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];- Parameters:
value- The embeddingColumn to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setEmbeddingColumnBytes
public FeatureView.IndexConfig.Builder setEmbeddingColumnBytes(com.google.protobuf.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];- Parameters:
value- The bytes for embeddingColumn to set.- Returns:
- This builder for chaining.
-
getFilterColumnsList
public 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];- Specified by:
getFilterColumnsListin interfaceFeatureView.IndexConfigOrBuilder- Returns:
- A list containing the filterColumns.
-
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];- Specified by:
getFilterColumnsCountin interfaceFeatureView.IndexConfigOrBuilder- Returns:
- The count of filterColumns.
-
getFilterColumns
Optional. Columns of features that're used to filter vector search results.
repeated string filter_columns = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getFilterColumnsin interfaceFeatureView.IndexConfigOrBuilder- 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) Optional. Columns of features that're used to filter vector search results.
repeated string filter_columns = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getFilterColumnsBytesin interfaceFeatureView.IndexConfigOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the filterColumns at the given index.
-
setFilterColumns
Optional. Columns of features that're used to filter vector search results.
repeated string filter_columns = 2 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index to set the value at.value- The filterColumns to set.- Returns:
- This builder for chaining.
-
addFilterColumns
Optional. Columns of features that're used to filter vector search results.
repeated string filter_columns = 2 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The filterColumns to add.- Returns:
- This builder for chaining.
-
addAllFilterColumns
Optional. Columns of features that're used to filter vector search results.
repeated string filter_columns = 2 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
values- The filterColumns to add.- Returns:
- This builder for chaining.
-
clearFilterColumns
Optional. Columns of features that're used to filter vector search results.
repeated string filter_columns = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
addFilterColumnsBytes
Optional. Columns of features that're used to filter vector search results.
repeated string filter_columns = 2 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes of the filterColumns to add.- Returns:
- This builder for chaining.
-
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.v1.FeatureOnlineStoreService.SearchNearestEntities] to diversify search results. If [NearestNeighborQuery.per_crowding_attribute_neighbor_count][google.cloud.aiplatform.v1.NearestNeighborQuery.per_crowding_attribute_neighbor_count] is set to K in [SearchNearestEntitiesRequest][google.cloud.aiplatform.v1.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];- Specified by:
getCrowdingColumnin interfaceFeatureView.IndexConfigOrBuilder- Returns:
- The crowdingColumn.
-
getCrowdingColumnBytes
public 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.v1.FeatureOnlineStoreService.SearchNearestEntities] to diversify search results. If [NearestNeighborQuery.per_crowding_attribute_neighbor_count][google.cloud.aiplatform.v1.NearestNeighborQuery.per_crowding_attribute_neighbor_count] is set to K in [SearchNearestEntitiesRequest][google.cloud.aiplatform.v1.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];- Specified by:
getCrowdingColumnBytesin interfaceFeatureView.IndexConfigOrBuilder- Returns:
- The bytes for crowdingColumn.
-
setCrowdingColumn
Optional. Column of crowding. This column contains crowding attribute which is a constraint on a neighbor list produced by [FeatureOnlineStoreService.SearchNearestEntities][google.cloud.aiplatform.v1.FeatureOnlineStoreService.SearchNearestEntities] to diversify search results. If [NearestNeighborQuery.per_crowding_attribute_neighbor_count][google.cloud.aiplatform.v1.NearestNeighborQuery.per_crowding_attribute_neighbor_count] is set to K in [SearchNearestEntitiesRequest][google.cloud.aiplatform.v1.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];- Parameters:
value- The crowdingColumn to set.- Returns:
- This builder for chaining.
-
clearCrowdingColumn
Optional. Column of crowding. This column contains crowding attribute which is a constraint on a neighbor list produced by [FeatureOnlineStoreService.SearchNearestEntities][google.cloud.aiplatform.v1.FeatureOnlineStoreService.SearchNearestEntities] to diversify search results. If [NearestNeighborQuery.per_crowding_attribute_neighbor_count][google.cloud.aiplatform.v1.NearestNeighborQuery.per_crowding_attribute_neighbor_count] is set to K in [SearchNearestEntitiesRequest][google.cloud.aiplatform.v1.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:
- This builder for chaining.
-
setCrowdingColumnBytes
Optional. Column of crowding. This column contains crowding attribute which is a constraint on a neighbor list produced by [FeatureOnlineStoreService.SearchNearestEntities][google.cloud.aiplatform.v1.FeatureOnlineStoreService.SearchNearestEntities] to diversify search results. If [NearestNeighborQuery.per_crowding_attribute_neighbor_count][google.cloud.aiplatform.v1.NearestNeighborQuery.per_crowding_attribute_neighbor_count] is set to K in [SearchNearestEntitiesRequest][google.cloud.aiplatform.v1.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];- Parameters:
value- The bytes for crowdingColumn to set.- Returns:
- This builder for chaining.
-
hasEmbeddingDimension
public boolean hasEmbeddingDimension()Optional. The number of dimensions of the input embedding.
optional int32 embedding_dimension = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasEmbeddingDimensionin interfaceFeatureView.IndexConfigOrBuilder- Returns:
- Whether the embeddingDimension field is set.
-
getEmbeddingDimension
public int getEmbeddingDimension()Optional. The number of dimensions of the input embedding.
optional int32 embedding_dimension = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEmbeddingDimensionin interfaceFeatureView.IndexConfigOrBuilder- Returns:
- The embeddingDimension.
-
setEmbeddingDimension
Optional. The number of dimensions of the input embedding.
optional int32 embedding_dimension = 4 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The embeddingDimension to set.- Returns:
- This builder for chaining.
-
clearEmbeddingDimension
Optional. The number of dimensions of the input embedding.
optional int32 embedding_dimension = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
getDistanceMeasureTypeValue
public int getDistanceMeasureTypeValue()Optional. The distance measure used in nearest neighbor search.
.google.cloud.aiplatform.v1.FeatureView.IndexConfig.DistanceMeasureType distance_measure_type = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDistanceMeasureTypeValuein interfaceFeatureView.IndexConfigOrBuilder- Returns:
- The enum numeric value on the wire for distanceMeasureType.
-
setDistanceMeasureTypeValue
Optional. The distance measure used in nearest neighbor search.
.google.cloud.aiplatform.v1.FeatureView.IndexConfig.DistanceMeasureType distance_measure_type = 5 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The enum numeric value on the wire for distanceMeasureType to set.- Returns:
- This builder for chaining.
-
getDistanceMeasureType
Optional. The distance measure used in nearest neighbor search.
.google.cloud.aiplatform.v1.FeatureView.IndexConfig.DistanceMeasureType distance_measure_type = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDistanceMeasureTypein interfaceFeatureView.IndexConfigOrBuilder- Returns:
- The distanceMeasureType.
-
setDistanceMeasureType
public FeatureView.IndexConfig.Builder setDistanceMeasureType(FeatureView.IndexConfig.DistanceMeasureType value) Optional. The distance measure used in nearest neighbor search.
.google.cloud.aiplatform.v1.FeatureView.IndexConfig.DistanceMeasureType distance_measure_type = 5 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The distanceMeasureType to set.- Returns:
- This builder for chaining.
-
clearDistanceMeasureType
Optional. The distance measure used in nearest neighbor search.
.google.cloud.aiplatform.v1.FeatureView.IndexConfig.DistanceMeasureType distance_measure_type = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-