Package com.google.cloud.aiplatform.v1
Class IndexDatapoint.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<IndexDatapoint.Builder>
com.google.cloud.aiplatform.v1.IndexDatapoint.Builder
- All Implemented Interfaces:
IndexDatapointOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- IndexDatapoint
public static final class IndexDatapoint.Builder
extends com.google.protobuf.GeneratedMessage.Builder<IndexDatapoint.Builder>
implements IndexDatapointOrBuilder
A datapoint of Index.Protobuf type
google.cloud.aiplatform.v1.IndexDatapoint-
Method Summary
Modifier and TypeMethodDescriptionaddAllFeatureVector(Iterable<? extends Float> values) Required.addAllNumericRestricts(Iterable<? extends IndexDatapoint.NumericRestriction> values) Optional.addAllRestricts(Iterable<? extends IndexDatapoint.Restriction> values) Optional.addFeatureVector(float value) Required.addNumericRestricts(int index, IndexDatapoint.NumericRestriction value) Optional.addNumericRestricts(int index, IndexDatapoint.NumericRestriction.Builder builderForValue) Optional.Optional.addNumericRestricts(IndexDatapoint.NumericRestriction.Builder builderForValue) Optional.Optional.addNumericRestrictsBuilder(int index) Optional.addRestricts(int index, IndexDatapoint.Restriction value) Optional.addRestricts(int index, IndexDatapoint.Restriction.Builder builderForValue) Optional.Optional.addRestricts(IndexDatapoint.Restriction.Builder builderForValue) Optional.Optional.addRestrictsBuilder(int index) Optional.build()clear()Optional.Required.Optional.Required.Optional.Optional.Optional.Optional.Optional.Optional.Required.com.google.protobuf.ByteStringRequired.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.StructOptional.com.google.protobuf.Struct.BuilderOptional.com.google.protobuf.StructOrBuilderOptional.floatgetFeatureVector(int index) Required.intRequired.Required.getNumericRestricts(int index) Optional.getNumericRestrictsBuilder(int index) Optional.Optional.intOptional.Optional.getNumericRestrictsOrBuilder(int index) Optional.List<? extends IndexDatapoint.NumericRestrictionOrBuilder>Optional.getRestricts(int index) Optional.getRestrictsBuilder(int index) Optional.Optional.intOptional.Optional.getRestrictsOrBuilder(int index) Optional.List<? extends IndexDatapoint.RestrictionOrBuilder>Optional.Optional.Optional.Optional.booleanOptional.booleanOptional.booleanOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanOptional.mergeEmbeddingMetadata(com.google.protobuf.Struct value) Optional.mergeFrom(IndexDatapoint other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Optional.removeNumericRestricts(int index) Optional.removeRestricts(int index) Optional.Optional.setCrowdingTag(IndexDatapoint.CrowdingTag.Builder builderForValue) Optional.setDatapointId(String value) Required.setDatapointIdBytes(com.google.protobuf.ByteString value) Required.setEmbeddingMetadata(com.google.protobuf.Struct value) Optional.setEmbeddingMetadata(com.google.protobuf.Struct.Builder builderForValue) Optional.setFeatureVector(int index, float value) Required.setNumericRestricts(int index, IndexDatapoint.NumericRestriction value) Optional.setNumericRestricts(int index, IndexDatapoint.NumericRestriction.Builder builderForValue) Optional.setRestricts(int index, IndexDatapoint.Restriction value) Optional.setRestricts(int index, IndexDatapoint.Restriction.Builder builderForValue) Optional.Optional.setSparseEmbedding(IndexDatapoint.SparseEmbedding.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<IndexDatapoint.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<IndexDatapoint.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<IndexDatapoint.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<IndexDatapoint.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<IndexDatapoint.Builder>
-
mergeFrom
public IndexDatapoint.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<IndexDatapoint.Builder>- Throws:
IOException
-
getDatapointId
Required. Unique identifier of the datapoint.
string datapoint_id = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDatapointIdin interfaceIndexDatapointOrBuilder- Returns:
- The datapointId.
-
getDatapointIdBytes
public com.google.protobuf.ByteString getDatapointIdBytes()Required. Unique identifier of the datapoint.
string datapoint_id = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDatapointIdBytesin interfaceIndexDatapointOrBuilder- Returns:
- The bytes for datapointId.
-
setDatapointId
Required. Unique identifier of the datapoint.
string datapoint_id = 1 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The datapointId to set.- Returns:
- This builder for chaining.
-
clearDatapointId
Required. Unique identifier of the datapoint.
string datapoint_id = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setDatapointIdBytes
Required. Unique identifier of the datapoint.
string datapoint_id = 1 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for datapointId to set.- Returns:
- This builder for chaining.
-
getFeatureVectorList
Required. Feature embedding vector for dense index. An array of numbers with the length of [NearestNeighborSearchConfig.dimensions].
repeated float feature_vector = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getFeatureVectorListin interfaceIndexDatapointOrBuilder- Returns:
- A list containing the featureVector.
-
getFeatureVectorCount
public int getFeatureVectorCount()Required. Feature embedding vector for dense index. An array of numbers with the length of [NearestNeighborSearchConfig.dimensions].
repeated float feature_vector = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getFeatureVectorCountin interfaceIndexDatapointOrBuilder- Returns:
- The count of featureVector.
-
getFeatureVector
public float getFeatureVector(int index) Required. Feature embedding vector for dense index. An array of numbers with the length of [NearestNeighborSearchConfig.dimensions].
repeated float feature_vector = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getFeatureVectorin interfaceIndexDatapointOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The featureVector at the given index.
-
setFeatureVector
Required. Feature embedding vector for dense index. An array of numbers with the length of [NearestNeighborSearchConfig.dimensions].
repeated float feature_vector = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
index- The index to set the value at.value- The featureVector to set.- Returns:
- This builder for chaining.
-
addFeatureVector
Required. Feature embedding vector for dense index. An array of numbers with the length of [NearestNeighborSearchConfig.dimensions].
repeated float feature_vector = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The featureVector to add.- Returns:
- This builder for chaining.
-
addAllFeatureVector
Required. Feature embedding vector for dense index. An array of numbers with the length of [NearestNeighborSearchConfig.dimensions].
repeated float feature_vector = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
values- The featureVector to add.- Returns:
- This builder for chaining.
-
clearFeatureVector
Required. Feature embedding vector for dense index. An array of numbers with the length of [NearestNeighborSearchConfig.dimensions].
repeated float feature_vector = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
hasSparseEmbedding
public boolean hasSparseEmbedding()Optional. Feature embedding vector for sparse index.
.google.cloud.aiplatform.v1.IndexDatapoint.SparseEmbedding sparse_embedding = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasSparseEmbeddingin interfaceIndexDatapointOrBuilder- Returns:
- Whether the sparseEmbedding field is set.
-
getSparseEmbedding
Optional. Feature embedding vector for sparse index.
.google.cloud.aiplatform.v1.IndexDatapoint.SparseEmbedding sparse_embedding = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSparseEmbeddingin interfaceIndexDatapointOrBuilder- Returns:
- The sparseEmbedding.
-
setSparseEmbedding
Optional. Feature embedding vector for sparse index.
.google.cloud.aiplatform.v1.IndexDatapoint.SparseEmbedding sparse_embedding = 7 [(.google.api.field_behavior) = OPTIONAL]; -
setSparseEmbedding
public IndexDatapoint.Builder setSparseEmbedding(IndexDatapoint.SparseEmbedding.Builder builderForValue) Optional. Feature embedding vector for sparse index.
.google.cloud.aiplatform.v1.IndexDatapoint.SparseEmbedding sparse_embedding = 7 [(.google.api.field_behavior) = OPTIONAL]; -
mergeSparseEmbedding
Optional. Feature embedding vector for sparse index.
.google.cloud.aiplatform.v1.IndexDatapoint.SparseEmbedding sparse_embedding = 7 [(.google.api.field_behavior) = OPTIONAL]; -
clearSparseEmbedding
Optional. Feature embedding vector for sparse index.
.google.cloud.aiplatform.v1.IndexDatapoint.SparseEmbedding sparse_embedding = 7 [(.google.api.field_behavior) = OPTIONAL]; -
getSparseEmbeddingBuilder
Optional. Feature embedding vector for sparse index.
.google.cloud.aiplatform.v1.IndexDatapoint.SparseEmbedding sparse_embedding = 7 [(.google.api.field_behavior) = OPTIONAL]; -
getSparseEmbeddingOrBuilder
Optional. Feature embedding vector for sparse index.
.google.cloud.aiplatform.v1.IndexDatapoint.SparseEmbedding sparse_embedding = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSparseEmbeddingOrBuilderin interfaceIndexDatapointOrBuilder
-
getRestrictsList
Optional. List of Restrict of the datapoint, used to perform "restricted searches" where boolean rule are used to filter the subset of the database eligible for matching. This uses categorical tokens. See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
repeated .google.cloud.aiplatform.v1.IndexDatapoint.Restriction restricts = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getRestrictsListin interfaceIndexDatapointOrBuilder
-
getRestrictsCount
public int getRestrictsCount()Optional. List of Restrict of the datapoint, used to perform "restricted searches" where boolean rule are used to filter the subset of the database eligible for matching. This uses categorical tokens. See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
repeated .google.cloud.aiplatform.v1.IndexDatapoint.Restriction restricts = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getRestrictsCountin interfaceIndexDatapointOrBuilder
-
getRestricts
Optional. List of Restrict of the datapoint, used to perform "restricted searches" where boolean rule are used to filter the subset of the database eligible for matching. This uses categorical tokens. See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
repeated .google.cloud.aiplatform.v1.IndexDatapoint.Restriction restricts = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getRestrictsin interfaceIndexDatapointOrBuilder
-
setRestricts
Optional. List of Restrict of the datapoint, used to perform "restricted searches" where boolean rule are used to filter the subset of the database eligible for matching. This uses categorical tokens. See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
repeated .google.cloud.aiplatform.v1.IndexDatapoint.Restriction restricts = 4 [(.google.api.field_behavior) = OPTIONAL]; -
setRestricts
public IndexDatapoint.Builder setRestricts(int index, IndexDatapoint.Restriction.Builder builderForValue) Optional. List of Restrict of the datapoint, used to perform "restricted searches" where boolean rule are used to filter the subset of the database eligible for matching. This uses categorical tokens. See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
repeated .google.cloud.aiplatform.v1.IndexDatapoint.Restriction restricts = 4 [(.google.api.field_behavior) = OPTIONAL]; -
addRestricts
Optional. List of Restrict of the datapoint, used to perform "restricted searches" where boolean rule are used to filter the subset of the database eligible for matching. This uses categorical tokens. See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
repeated .google.cloud.aiplatform.v1.IndexDatapoint.Restriction restricts = 4 [(.google.api.field_behavior) = OPTIONAL]; -
addRestricts
Optional. List of Restrict of the datapoint, used to perform "restricted searches" where boolean rule are used to filter the subset of the database eligible for matching. This uses categorical tokens. See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
repeated .google.cloud.aiplatform.v1.IndexDatapoint.Restriction restricts = 4 [(.google.api.field_behavior) = OPTIONAL]; -
addRestricts
Optional. List of Restrict of the datapoint, used to perform "restricted searches" where boolean rule are used to filter the subset of the database eligible for matching. This uses categorical tokens. See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
repeated .google.cloud.aiplatform.v1.IndexDatapoint.Restriction restricts = 4 [(.google.api.field_behavior) = OPTIONAL]; -
addRestricts
public IndexDatapoint.Builder addRestricts(int index, IndexDatapoint.Restriction.Builder builderForValue) Optional. List of Restrict of the datapoint, used to perform "restricted searches" where boolean rule are used to filter the subset of the database eligible for matching. This uses categorical tokens. See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
repeated .google.cloud.aiplatform.v1.IndexDatapoint.Restriction restricts = 4 [(.google.api.field_behavior) = OPTIONAL]; -
addAllRestricts
public IndexDatapoint.Builder addAllRestricts(Iterable<? extends IndexDatapoint.Restriction> values) Optional. List of Restrict of the datapoint, used to perform "restricted searches" where boolean rule are used to filter the subset of the database eligible for matching. This uses categorical tokens. See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
repeated .google.cloud.aiplatform.v1.IndexDatapoint.Restriction restricts = 4 [(.google.api.field_behavior) = OPTIONAL]; -
clearRestricts
Optional. List of Restrict of the datapoint, used to perform "restricted searches" where boolean rule are used to filter the subset of the database eligible for matching. This uses categorical tokens. See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
repeated .google.cloud.aiplatform.v1.IndexDatapoint.Restriction restricts = 4 [(.google.api.field_behavior) = OPTIONAL]; -
removeRestricts
Optional. List of Restrict of the datapoint, used to perform "restricted searches" where boolean rule are used to filter the subset of the database eligible for matching. This uses categorical tokens. See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
repeated .google.cloud.aiplatform.v1.IndexDatapoint.Restriction restricts = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getRestrictsBuilder
Optional. List of Restrict of the datapoint, used to perform "restricted searches" where boolean rule are used to filter the subset of the database eligible for matching. This uses categorical tokens. See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
repeated .google.cloud.aiplatform.v1.IndexDatapoint.Restriction restricts = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getRestrictsOrBuilder
Optional. List of Restrict of the datapoint, used to perform "restricted searches" where boolean rule are used to filter the subset of the database eligible for matching. This uses categorical tokens. See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
repeated .google.cloud.aiplatform.v1.IndexDatapoint.Restriction restricts = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getRestrictsOrBuilderin interfaceIndexDatapointOrBuilder
-
getRestrictsOrBuilderList
Optional. List of Restrict of the datapoint, used to perform "restricted searches" where boolean rule are used to filter the subset of the database eligible for matching. This uses categorical tokens. See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
repeated .google.cloud.aiplatform.v1.IndexDatapoint.Restriction restricts = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getRestrictsOrBuilderListin interfaceIndexDatapointOrBuilder
-
addRestrictsBuilder
Optional. List of Restrict of the datapoint, used to perform "restricted searches" where boolean rule are used to filter the subset of the database eligible for matching. This uses categorical tokens. See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
repeated .google.cloud.aiplatform.v1.IndexDatapoint.Restriction restricts = 4 [(.google.api.field_behavior) = OPTIONAL]; -
addRestrictsBuilder
Optional. List of Restrict of the datapoint, used to perform "restricted searches" where boolean rule are used to filter the subset of the database eligible for matching. This uses categorical tokens. See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
repeated .google.cloud.aiplatform.v1.IndexDatapoint.Restriction restricts = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getRestrictsBuilderList
Optional. List of Restrict of the datapoint, used to perform "restricted searches" where boolean rule are used to filter the subset of the database eligible for matching. This uses categorical tokens. See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
repeated .google.cloud.aiplatform.v1.IndexDatapoint.Restriction restricts = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getNumericRestrictsList
Optional. List of Restrict of the datapoint, used to perform "restricted searches" where boolean rule are used to filter the subset of the database eligible for matching. This uses numeric comparisons.
repeated .google.cloud.aiplatform.v1.IndexDatapoint.NumericRestriction numeric_restricts = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getNumericRestrictsListin interfaceIndexDatapointOrBuilder
-
getNumericRestrictsCount
public int getNumericRestrictsCount()Optional. List of Restrict of the datapoint, used to perform "restricted searches" where boolean rule are used to filter the subset of the database eligible for matching. This uses numeric comparisons.
repeated .google.cloud.aiplatform.v1.IndexDatapoint.NumericRestriction numeric_restricts = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getNumericRestrictsCountin interfaceIndexDatapointOrBuilder
-
getNumericRestricts
Optional. List of Restrict of the datapoint, used to perform "restricted searches" where boolean rule are used to filter the subset of the database eligible for matching. This uses numeric comparisons.
repeated .google.cloud.aiplatform.v1.IndexDatapoint.NumericRestriction numeric_restricts = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getNumericRestrictsin interfaceIndexDatapointOrBuilder
-
setNumericRestricts
public IndexDatapoint.Builder setNumericRestricts(int index, IndexDatapoint.NumericRestriction value) Optional. List of Restrict of the datapoint, used to perform "restricted searches" where boolean rule are used to filter the subset of the database eligible for matching. This uses numeric comparisons.
repeated .google.cloud.aiplatform.v1.IndexDatapoint.NumericRestriction numeric_restricts = 6 [(.google.api.field_behavior) = OPTIONAL]; -
setNumericRestricts
public IndexDatapoint.Builder setNumericRestricts(int index, IndexDatapoint.NumericRestriction.Builder builderForValue) Optional. List of Restrict of the datapoint, used to perform "restricted searches" where boolean rule are used to filter the subset of the database eligible for matching. This uses numeric comparisons.
repeated .google.cloud.aiplatform.v1.IndexDatapoint.NumericRestriction numeric_restricts = 6 [(.google.api.field_behavior) = OPTIONAL]; -
addNumericRestricts
Optional. List of Restrict of the datapoint, used to perform "restricted searches" where boolean rule are used to filter the subset of the database eligible for matching. This uses numeric comparisons.
repeated .google.cloud.aiplatform.v1.IndexDatapoint.NumericRestriction numeric_restricts = 6 [(.google.api.field_behavior) = OPTIONAL]; -
addNumericRestricts
public IndexDatapoint.Builder addNumericRestricts(int index, IndexDatapoint.NumericRestriction value) Optional. List of Restrict of the datapoint, used to perform "restricted searches" where boolean rule are used to filter the subset of the database eligible for matching. This uses numeric comparisons.
repeated .google.cloud.aiplatform.v1.IndexDatapoint.NumericRestriction numeric_restricts = 6 [(.google.api.field_behavior) = OPTIONAL]; -
addNumericRestricts
public IndexDatapoint.Builder addNumericRestricts(IndexDatapoint.NumericRestriction.Builder builderForValue) Optional. List of Restrict of the datapoint, used to perform "restricted searches" where boolean rule are used to filter the subset of the database eligible for matching. This uses numeric comparisons.
repeated .google.cloud.aiplatform.v1.IndexDatapoint.NumericRestriction numeric_restricts = 6 [(.google.api.field_behavior) = OPTIONAL]; -
addNumericRestricts
public IndexDatapoint.Builder addNumericRestricts(int index, IndexDatapoint.NumericRestriction.Builder builderForValue) Optional. List of Restrict of the datapoint, used to perform "restricted searches" where boolean rule are used to filter the subset of the database eligible for matching. This uses numeric comparisons.
repeated .google.cloud.aiplatform.v1.IndexDatapoint.NumericRestriction numeric_restricts = 6 [(.google.api.field_behavior) = OPTIONAL]; -
addAllNumericRestricts
public IndexDatapoint.Builder addAllNumericRestricts(Iterable<? extends IndexDatapoint.NumericRestriction> values) Optional. List of Restrict of the datapoint, used to perform "restricted searches" where boolean rule are used to filter the subset of the database eligible for matching. This uses numeric comparisons.
repeated .google.cloud.aiplatform.v1.IndexDatapoint.NumericRestriction numeric_restricts = 6 [(.google.api.field_behavior) = OPTIONAL]; -
clearNumericRestricts
Optional. List of Restrict of the datapoint, used to perform "restricted searches" where boolean rule are used to filter the subset of the database eligible for matching. This uses numeric comparisons.
repeated .google.cloud.aiplatform.v1.IndexDatapoint.NumericRestriction numeric_restricts = 6 [(.google.api.field_behavior) = OPTIONAL]; -
removeNumericRestricts
Optional. List of Restrict of the datapoint, used to perform "restricted searches" where boolean rule are used to filter the subset of the database eligible for matching. This uses numeric comparisons.
repeated .google.cloud.aiplatform.v1.IndexDatapoint.NumericRestriction numeric_restricts = 6 [(.google.api.field_behavior) = OPTIONAL]; -
getNumericRestrictsBuilder
Optional. List of Restrict of the datapoint, used to perform "restricted searches" where boolean rule are used to filter the subset of the database eligible for matching. This uses numeric comparisons.
repeated .google.cloud.aiplatform.v1.IndexDatapoint.NumericRestriction numeric_restricts = 6 [(.google.api.field_behavior) = OPTIONAL]; -
getNumericRestrictsOrBuilder
Optional. List of Restrict of the datapoint, used to perform "restricted searches" where boolean rule are used to filter the subset of the database eligible for matching. This uses numeric comparisons.
repeated .google.cloud.aiplatform.v1.IndexDatapoint.NumericRestriction numeric_restricts = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getNumericRestrictsOrBuilderin interfaceIndexDatapointOrBuilder
-
getNumericRestrictsOrBuilderList
public List<? extends IndexDatapoint.NumericRestrictionOrBuilder> getNumericRestrictsOrBuilderList()Optional. List of Restrict of the datapoint, used to perform "restricted searches" where boolean rule are used to filter the subset of the database eligible for matching. This uses numeric comparisons.
repeated .google.cloud.aiplatform.v1.IndexDatapoint.NumericRestriction numeric_restricts = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getNumericRestrictsOrBuilderListin interfaceIndexDatapointOrBuilder
-
addNumericRestrictsBuilder
Optional. List of Restrict of the datapoint, used to perform "restricted searches" where boolean rule are used to filter the subset of the database eligible for matching. This uses numeric comparisons.
repeated .google.cloud.aiplatform.v1.IndexDatapoint.NumericRestriction numeric_restricts = 6 [(.google.api.field_behavior) = OPTIONAL]; -
addNumericRestrictsBuilder
Optional. List of Restrict of the datapoint, used to perform "restricted searches" where boolean rule are used to filter the subset of the database eligible for matching. This uses numeric comparisons.
repeated .google.cloud.aiplatform.v1.IndexDatapoint.NumericRestriction numeric_restricts = 6 [(.google.api.field_behavior) = OPTIONAL]; -
getNumericRestrictsBuilderList
Optional. List of Restrict of the datapoint, used to perform "restricted searches" where boolean rule are used to filter the subset of the database eligible for matching. This uses numeric comparisons.
repeated .google.cloud.aiplatform.v1.IndexDatapoint.NumericRestriction numeric_restricts = 6 [(.google.api.field_behavior) = OPTIONAL]; -
hasCrowdingTag
public boolean hasCrowdingTag()Optional. CrowdingTag of the datapoint, the number of neighbors to return in each crowding can be configured during query.
.google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag crowding_tag = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasCrowdingTagin interfaceIndexDatapointOrBuilder- Returns:
- Whether the crowdingTag field is set.
-
getCrowdingTag
Optional. CrowdingTag of the datapoint, the number of neighbors to return in each crowding can be configured during query.
.google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag crowding_tag = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getCrowdingTagin interfaceIndexDatapointOrBuilder- Returns:
- The crowdingTag.
-
setCrowdingTag
Optional. CrowdingTag of the datapoint, the number of neighbors to return in each crowding can be configured during query.
.google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag crowding_tag = 5 [(.google.api.field_behavior) = OPTIONAL]; -
setCrowdingTag
Optional. CrowdingTag of the datapoint, the number of neighbors to return in each crowding can be configured during query.
.google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag crowding_tag = 5 [(.google.api.field_behavior) = OPTIONAL]; -
mergeCrowdingTag
Optional. CrowdingTag of the datapoint, the number of neighbors to return in each crowding can be configured during query.
.google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag crowding_tag = 5 [(.google.api.field_behavior) = OPTIONAL]; -
clearCrowdingTag
Optional. CrowdingTag of the datapoint, the number of neighbors to return in each crowding can be configured during query.
.google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag crowding_tag = 5 [(.google.api.field_behavior) = OPTIONAL]; -
getCrowdingTagBuilder
Optional. CrowdingTag of the datapoint, the number of neighbors to return in each crowding can be configured during query.
.google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag crowding_tag = 5 [(.google.api.field_behavior) = OPTIONAL]; -
getCrowdingTagOrBuilder
Optional. CrowdingTag of the datapoint, the number of neighbors to return in each crowding can be configured during query.
.google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag crowding_tag = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getCrowdingTagOrBuilderin interfaceIndexDatapointOrBuilder
-
hasEmbeddingMetadata
public boolean hasEmbeddingMetadata()Optional. The key-value map of additional metadata for the datapoint.
.google.protobuf.Struct embedding_metadata = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasEmbeddingMetadatain interfaceIndexDatapointOrBuilder- Returns:
- Whether the embeddingMetadata field is set.
-
getEmbeddingMetadata
public com.google.protobuf.Struct getEmbeddingMetadata()Optional. The key-value map of additional metadata for the datapoint.
.google.protobuf.Struct embedding_metadata = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEmbeddingMetadatain interfaceIndexDatapointOrBuilder- Returns:
- The embeddingMetadata.
-
setEmbeddingMetadata
Optional. The key-value map of additional metadata for the datapoint.
.google.protobuf.Struct embedding_metadata = 8 [(.google.api.field_behavior) = OPTIONAL]; -
setEmbeddingMetadata
public IndexDatapoint.Builder setEmbeddingMetadata(com.google.protobuf.Struct.Builder builderForValue) Optional. The key-value map of additional metadata for the datapoint.
.google.protobuf.Struct embedding_metadata = 8 [(.google.api.field_behavior) = OPTIONAL]; -
mergeEmbeddingMetadata
Optional. The key-value map of additional metadata for the datapoint.
.google.protobuf.Struct embedding_metadata = 8 [(.google.api.field_behavior) = OPTIONAL]; -
clearEmbeddingMetadata
Optional. The key-value map of additional metadata for the datapoint.
.google.protobuf.Struct embedding_metadata = 8 [(.google.api.field_behavior) = OPTIONAL]; -
getEmbeddingMetadataBuilder
public com.google.protobuf.Struct.Builder getEmbeddingMetadataBuilder()Optional. The key-value map of additional metadata for the datapoint.
.google.protobuf.Struct embedding_metadata = 8 [(.google.api.field_behavior) = OPTIONAL]; -
getEmbeddingMetadataOrBuilder
public com.google.protobuf.StructOrBuilder getEmbeddingMetadataOrBuilder()Optional. The key-value map of additional metadata for the datapoint.
.google.protobuf.Struct embedding_metadata = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEmbeddingMetadataOrBuilderin interfaceIndexDatapointOrBuilder
-