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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<IndexDatapoint.Builder>
    • clear

      public IndexDatapoint.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<IndexDatapoint.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<IndexDatapoint.Builder>
    • getDefaultInstanceForType

      public IndexDatapoint getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public IndexDatapoint build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public IndexDatapoint buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public IndexDatapoint.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<IndexDatapoint.Builder>
    • mergeFrom

      public IndexDatapoint.Builder mergeFrom(IndexDatapoint other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<IndexDatapoint.Builder>
      Throws:
      IOException
    • getDatapointId

      public String getDatapointId()
       Required. Unique identifier of the datapoint.
       
      string datapoint_id = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDatapointId in interface IndexDatapointOrBuilder
      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:
      getDatapointIdBytes in interface IndexDatapointOrBuilder
      Returns:
      The bytes for datapointId.
    • setDatapointId

      public IndexDatapoint.Builder setDatapointId(String value)
       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

      public IndexDatapoint.Builder clearDatapointId()
       Required. Unique identifier of the datapoint.
       
      string datapoint_id = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setDatapointIdBytes

      public IndexDatapoint.Builder setDatapointIdBytes(com.google.protobuf.ByteString value)
       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

      public List<Float> 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:
      getFeatureVectorList in interface IndexDatapointOrBuilder
      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:
      getFeatureVectorCount in interface IndexDatapointOrBuilder
      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:
      getFeatureVector in interface IndexDatapointOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The featureVector at the given index.
    • setFeatureVector

      public IndexDatapoint.Builder setFeatureVector(int index, float value)
       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

      public IndexDatapoint.Builder addFeatureVector(float value)
       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

      public IndexDatapoint.Builder addAllFeatureVector(Iterable<? extends Float> values)
       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

      public IndexDatapoint.Builder 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:
      hasSparseEmbedding in interface IndexDatapointOrBuilder
      Returns:
      Whether the sparseEmbedding field is set.
    • getSparseEmbedding

      public IndexDatapoint.SparseEmbedding getSparseEmbedding()
       Optional. Feature embedding vector for sparse index.
       
      .google.cloud.aiplatform.v1.IndexDatapoint.SparseEmbedding sparse_embedding = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSparseEmbedding in interface IndexDatapointOrBuilder
      Returns:
      The sparseEmbedding.
    • setSparseEmbedding

      public IndexDatapoint.Builder setSparseEmbedding(IndexDatapoint.SparseEmbedding value)
       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

      public IndexDatapoint.Builder mergeSparseEmbedding(IndexDatapoint.SparseEmbedding value)
       Optional. Feature embedding vector for sparse index.
       
      .google.cloud.aiplatform.v1.IndexDatapoint.SparseEmbedding sparse_embedding = 7 [(.google.api.field_behavior) = OPTIONAL];
    • clearSparseEmbedding

      public IndexDatapoint.Builder clearSparseEmbedding()
       Optional. Feature embedding vector for sparse index.
       
      .google.cloud.aiplatform.v1.IndexDatapoint.SparseEmbedding sparse_embedding = 7 [(.google.api.field_behavior) = OPTIONAL];
    • getSparseEmbeddingBuilder

      public IndexDatapoint.SparseEmbedding.Builder getSparseEmbeddingBuilder()
       Optional. Feature embedding vector for sparse index.
       
      .google.cloud.aiplatform.v1.IndexDatapoint.SparseEmbedding sparse_embedding = 7 [(.google.api.field_behavior) = OPTIONAL];
    • getSparseEmbeddingOrBuilder

      public IndexDatapoint.SparseEmbeddingOrBuilder getSparseEmbeddingOrBuilder()
       Optional. Feature embedding vector for sparse index.
       
      .google.cloud.aiplatform.v1.IndexDatapoint.SparseEmbedding sparse_embedding = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSparseEmbeddingOrBuilder in interface IndexDatapointOrBuilder
    • getRestrictsList

      public List<IndexDatapoint.Restriction> 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:
      getRestrictsList in interface IndexDatapointOrBuilder
    • 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:
      getRestrictsCount in interface IndexDatapointOrBuilder
    • getRestricts

      public IndexDatapoint.Restriction getRestricts(int index)
       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:
      getRestricts in interface IndexDatapointOrBuilder
    • setRestricts

      public IndexDatapoint.Builder setRestricts(int index, IndexDatapoint.Restriction 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 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

      public IndexDatapoint.Builder addRestricts(int index, IndexDatapoint.Restriction 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 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(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

      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

      public IndexDatapoint.Builder 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

      public IndexDatapoint.Builder removeRestricts(int index)
       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

      public IndexDatapoint.Restriction.Builder getRestrictsBuilder(int index)
       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

      public IndexDatapoint.RestrictionOrBuilder getRestrictsOrBuilder(int index)
       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:
      getRestrictsOrBuilder in interface IndexDatapointOrBuilder
    • getRestrictsOrBuilderList

      public List<? extends IndexDatapoint.RestrictionOrBuilder> 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:
      getRestrictsOrBuilderList in interface IndexDatapointOrBuilder
    • addRestrictsBuilder

      public IndexDatapoint.Restriction.Builder 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

      public IndexDatapoint.Restriction.Builder addRestrictsBuilder(int index)
       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

      public List<IndexDatapoint.Restriction.Builder> 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

      public List<IndexDatapoint.NumericRestriction> 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:
      getNumericRestrictsList in interface IndexDatapointOrBuilder
    • 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:
      getNumericRestrictsCount in interface IndexDatapointOrBuilder
    • getNumericRestricts

      public IndexDatapoint.NumericRestriction getNumericRestricts(int index)
       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:
      getNumericRestricts in interface IndexDatapointOrBuilder
    • 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

      public IndexDatapoint.Builder addNumericRestricts(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(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

      public IndexDatapoint.Builder 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

      public IndexDatapoint.Builder removeNumericRestricts(int index)
       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

      public IndexDatapoint.NumericRestriction.Builder getNumericRestrictsBuilder(int index)
       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

      public IndexDatapoint.NumericRestrictionOrBuilder getNumericRestrictsOrBuilder(int index)
       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:
      getNumericRestrictsOrBuilder in interface IndexDatapointOrBuilder
    • 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:
      getNumericRestrictsOrBuilderList in interface IndexDatapointOrBuilder
    • addNumericRestrictsBuilder

      public IndexDatapoint.NumericRestriction.Builder 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

      public IndexDatapoint.NumericRestriction.Builder addNumericRestrictsBuilder(int index)
       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

      public List<IndexDatapoint.NumericRestriction.Builder> 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:
      hasCrowdingTag in interface IndexDatapointOrBuilder
      Returns:
      Whether the crowdingTag field is set.
    • getCrowdingTag

      public IndexDatapoint.CrowdingTag 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:
      getCrowdingTag in interface IndexDatapointOrBuilder
      Returns:
      The crowdingTag.
    • setCrowdingTag

      public IndexDatapoint.Builder setCrowdingTag(IndexDatapoint.CrowdingTag value)
       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

      public IndexDatapoint.Builder setCrowdingTag(IndexDatapoint.CrowdingTag.Builder builderForValue)
       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

      public IndexDatapoint.Builder mergeCrowdingTag(IndexDatapoint.CrowdingTag value)
       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

      public IndexDatapoint.Builder 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

      public IndexDatapoint.CrowdingTag.Builder 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

      public IndexDatapoint.CrowdingTagOrBuilder 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:
      getCrowdingTagOrBuilder in interface IndexDatapointOrBuilder
    • 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:
      hasEmbeddingMetadata in interface IndexDatapointOrBuilder
      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:
      getEmbeddingMetadata in interface IndexDatapointOrBuilder
      Returns:
      The embeddingMetadata.
    • setEmbeddingMetadata

      public IndexDatapoint.Builder setEmbeddingMetadata(com.google.protobuf.Struct value)
       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

      public IndexDatapoint.Builder mergeEmbeddingMetadata(com.google.protobuf.Struct value)
       Optional. The key-value map of additional metadata for the datapoint.
       
      .google.protobuf.Struct embedding_metadata = 8 [(.google.api.field_behavior) = OPTIONAL];
    • clearEmbeddingMetadata

      public IndexDatapoint.Builder 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:
      getEmbeddingMetadataOrBuilder in interface IndexDatapointOrBuilder