Interface IndexDatapointOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    IndexDatapoint, IndexDatapoint.Builder

    public interface IndexDatapointOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getDatapointId

        String getDatapointId()
         Required. Unique identifier of the datapoint.
         
        string datapoint_id = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The datapointId.
      • getDatapointIdBytes

        com.google.protobuf.ByteString getDatapointIdBytes()
         Required. Unique identifier of the datapoint.
         
        string datapoint_id = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The bytes for datapointId.
      • getFeatureVectorList

        List<Float> getFeatureVectorList()
         Required. Feature embedding vector. An array of numbers with the length of
         [NearestNeighborSearchConfig.dimensions].
         
        repeated float feature_vector = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        A list containing the featureVector.
      • getFeatureVectorCount

        int getFeatureVectorCount()
         Required. Feature embedding vector. An array of numbers with the length of
         [NearestNeighborSearchConfig.dimensions].
         
        repeated float feature_vector = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The count of featureVector.
      • getFeatureVector

        float getFeatureVector​(int index)
         Required. Feature embedding vector. An array of numbers with the length of
         [NearestNeighborSearchConfig.dimensions].
         
        repeated float feature_vector = 2 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        index - The index of the element to return.
        Returns:
        The featureVector at the given index.
      • getRestrictsList

        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. See:
         https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
         
        repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction restricts = 4 [(.google.api.field_behavior) = OPTIONAL];
      • getRestricts

        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. See:
         https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
         
        repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction restricts = 4 [(.google.api.field_behavior) = OPTIONAL];
      • getRestrictsCount

        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. See:
         https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
         
        repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction restricts = 4 [(.google.api.field_behavior) = OPTIONAL];
      • getRestrictsOrBuilderList

        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. See:
         https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
         
        repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction restricts = 4 [(.google.api.field_behavior) = OPTIONAL];
      • getRestrictsOrBuilder

        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. See:
         https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
         
        repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction restricts = 4 [(.google.api.field_behavior) = OPTIONAL];
      • hasCrowdingTag

        boolean hasCrowdingTag()
         Optional. CrowdingTag of the datapoint, the number of neighbors to return
         in each crowding can be configured during query.
         
        .google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTag crowding_tag = 5 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        Whether the crowdingTag field is set.
      • getCrowdingTag

        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.v1beta1.IndexDatapoint.CrowdingTag crowding_tag = 5 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The crowdingTag.
      • getCrowdingTagOrBuilder

        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.v1beta1.IndexDatapoint.CrowdingTag crowding_tag = 5 [(.google.api.field_behavior) = OPTIONAL];