Class NearestNeighborQuery.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<NearestNeighborQuery.Builder>
com.google.cloud.aiplatform.v1.NearestNeighborQuery.Builder
All Implemented Interfaces:
NearestNeighborQueryOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
NearestNeighborQuery

public static final class NearestNeighborQuery.Builder extends com.google.protobuf.GeneratedMessage.Builder<NearestNeighborQuery.Builder> implements NearestNeighborQueryOrBuilder
 A query to find a number of similar entities.
 
Protobuf type google.cloud.aiplatform.v1.NearestNeighborQuery
  • 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<NearestNeighborQuery.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<NearestNeighborQuery.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<NearestNeighborQuery.Builder>
    • getDefaultInstanceForType

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

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

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

      public NearestNeighborQuery.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<NearestNeighborQuery.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<NearestNeighborQuery.Builder>
    • mergeFrom

      public NearestNeighborQuery.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<NearestNeighborQuery.Builder>
      Throws:
      IOException
    • getInstanceCase

      public NearestNeighborQuery.InstanceCase getInstanceCase()
      Specified by:
      getInstanceCase in interface NearestNeighborQueryOrBuilder
    • clearInstance

      public NearestNeighborQuery.Builder clearInstance()
    • hasEntityId

      public boolean hasEntityId()
       Optional. The entity id whose similar entities should be searched for.
       If embedding is set, search will use embedding instead of
       entity_id.
       
      string entity_id = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasEntityId in interface NearestNeighborQueryOrBuilder
      Returns:
      Whether the entityId field is set.
    • getEntityId

      public String getEntityId()
       Optional. The entity id whose similar entities should be searched for.
       If embedding is set, search will use embedding instead of
       entity_id.
       
      string entity_id = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEntityId in interface NearestNeighborQueryOrBuilder
      Returns:
      The entityId.
    • getEntityIdBytes

      public com.google.protobuf.ByteString getEntityIdBytes()
       Optional. The entity id whose similar entities should be searched for.
       If embedding is set, search will use embedding instead of
       entity_id.
       
      string entity_id = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEntityIdBytes in interface NearestNeighborQueryOrBuilder
      Returns:
      The bytes for entityId.
    • setEntityId

      public NearestNeighborQuery.Builder setEntityId(String value)
       Optional. The entity id whose similar entities should be searched for.
       If embedding is set, search will use embedding instead of
       entity_id.
       
      string entity_id = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The entityId to set.
      Returns:
      This builder for chaining.
    • clearEntityId

      public NearestNeighborQuery.Builder clearEntityId()
       Optional. The entity id whose similar entities should be searched for.
       If embedding is set, search will use embedding instead of
       entity_id.
       
      string entity_id = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setEntityIdBytes

      public NearestNeighborQuery.Builder setEntityIdBytes(com.google.protobuf.ByteString value)
       Optional. The entity id whose similar entities should be searched for.
       If embedding is set, search will use embedding instead of
       entity_id.
       
      string entity_id = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for entityId to set.
      Returns:
      This builder for chaining.
    • hasEmbedding

      public boolean hasEmbedding()
       Optional. The embedding vector that be used for similar search.
       
      .google.cloud.aiplatform.v1.NearestNeighborQuery.Embedding embedding = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasEmbedding in interface NearestNeighborQueryOrBuilder
      Returns:
      Whether the embedding field is set.
    • getEmbedding

      public NearestNeighborQuery.Embedding getEmbedding()
       Optional. The embedding vector that be used for similar search.
       
      .google.cloud.aiplatform.v1.NearestNeighborQuery.Embedding embedding = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEmbedding in interface NearestNeighborQueryOrBuilder
      Returns:
      The embedding.
    • setEmbedding

       Optional. The embedding vector that be used for similar search.
       
      .google.cloud.aiplatform.v1.NearestNeighborQuery.Embedding embedding = 2 [(.google.api.field_behavior) = OPTIONAL];
    • setEmbedding

       Optional. The embedding vector that be used for similar search.
       
      .google.cloud.aiplatform.v1.NearestNeighborQuery.Embedding embedding = 2 [(.google.api.field_behavior) = OPTIONAL];
    • mergeEmbedding

       Optional. The embedding vector that be used for similar search.
       
      .google.cloud.aiplatform.v1.NearestNeighborQuery.Embedding embedding = 2 [(.google.api.field_behavior) = OPTIONAL];
    • clearEmbedding

      public NearestNeighborQuery.Builder clearEmbedding()
       Optional. The embedding vector that be used for similar search.
       
      .google.cloud.aiplatform.v1.NearestNeighborQuery.Embedding embedding = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getEmbeddingBuilder

      public NearestNeighborQuery.Embedding.Builder getEmbeddingBuilder()
       Optional. The embedding vector that be used for similar search.
       
      .google.cloud.aiplatform.v1.NearestNeighborQuery.Embedding embedding = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getEmbeddingOrBuilder

      public NearestNeighborQuery.EmbeddingOrBuilder getEmbeddingOrBuilder()
       Optional. The embedding vector that be used for similar search.
       
      .google.cloud.aiplatform.v1.NearestNeighborQuery.Embedding embedding = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEmbeddingOrBuilder in interface NearestNeighborQueryOrBuilder
    • getNeighborCount

      public int getNeighborCount()
       Optional. The number of similar entities to be retrieved from feature view
       for each query.
       
      int32 neighbor_count = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getNeighborCount in interface NearestNeighborQueryOrBuilder
      Returns:
      The neighborCount.
    • setNeighborCount

      public NearestNeighborQuery.Builder setNeighborCount(int value)
       Optional. The number of similar entities to be retrieved from feature view
       for each query.
       
      int32 neighbor_count = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The neighborCount to set.
      Returns:
      This builder for chaining.
    • clearNeighborCount

      public NearestNeighborQuery.Builder clearNeighborCount()
       Optional. The number of similar entities to be retrieved from feature view
       for each query.
       
      int32 neighbor_count = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getStringFiltersList

      public List<NearestNeighborQuery.StringFilter> getStringFiltersList()
       Optional. The list of string filters.
       
      repeated .google.cloud.aiplatform.v1.NearestNeighborQuery.StringFilter string_filters = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getStringFiltersList in interface NearestNeighborQueryOrBuilder
    • getStringFiltersCount

      public int getStringFiltersCount()
       Optional. The list of string filters.
       
      repeated .google.cloud.aiplatform.v1.NearestNeighborQuery.StringFilter string_filters = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getStringFiltersCount in interface NearestNeighborQueryOrBuilder
    • getStringFilters

      public NearestNeighborQuery.StringFilter getStringFilters(int index)
       Optional. The list of string filters.
       
      repeated .google.cloud.aiplatform.v1.NearestNeighborQuery.StringFilter string_filters = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getStringFilters in interface NearestNeighborQueryOrBuilder
    • setStringFilters

      public NearestNeighborQuery.Builder setStringFilters(int index, NearestNeighborQuery.StringFilter value)
       Optional. The list of string filters.
       
      repeated .google.cloud.aiplatform.v1.NearestNeighborQuery.StringFilter string_filters = 4 [(.google.api.field_behavior) = OPTIONAL];
    • setStringFilters

      public NearestNeighborQuery.Builder setStringFilters(int index, NearestNeighborQuery.StringFilter.Builder builderForValue)
       Optional. The list of string filters.
       
      repeated .google.cloud.aiplatform.v1.NearestNeighborQuery.StringFilter string_filters = 4 [(.google.api.field_behavior) = OPTIONAL];
    • addStringFilters

       Optional. The list of string filters.
       
      repeated .google.cloud.aiplatform.v1.NearestNeighborQuery.StringFilter string_filters = 4 [(.google.api.field_behavior) = OPTIONAL];
    • addStringFilters

      public NearestNeighborQuery.Builder addStringFilters(int index, NearestNeighborQuery.StringFilter value)
       Optional. The list of string filters.
       
      repeated .google.cloud.aiplatform.v1.NearestNeighborQuery.StringFilter string_filters = 4 [(.google.api.field_behavior) = OPTIONAL];
    • addStringFilters

       Optional. The list of string filters.
       
      repeated .google.cloud.aiplatform.v1.NearestNeighborQuery.StringFilter string_filters = 4 [(.google.api.field_behavior) = OPTIONAL];
    • addStringFilters

      public NearestNeighborQuery.Builder addStringFilters(int index, NearestNeighborQuery.StringFilter.Builder builderForValue)
       Optional. The list of string filters.
       
      repeated .google.cloud.aiplatform.v1.NearestNeighborQuery.StringFilter string_filters = 4 [(.google.api.field_behavior) = OPTIONAL];
    • addAllStringFilters

      public NearestNeighborQuery.Builder addAllStringFilters(Iterable<? extends NearestNeighborQuery.StringFilter> values)
       Optional. The list of string filters.
       
      repeated .google.cloud.aiplatform.v1.NearestNeighborQuery.StringFilter string_filters = 4 [(.google.api.field_behavior) = OPTIONAL];
    • clearStringFilters

      public NearestNeighborQuery.Builder clearStringFilters()
       Optional. The list of string filters.
       
      repeated .google.cloud.aiplatform.v1.NearestNeighborQuery.StringFilter string_filters = 4 [(.google.api.field_behavior) = OPTIONAL];
    • removeStringFilters

      public NearestNeighborQuery.Builder removeStringFilters(int index)
       Optional. The list of string filters.
       
      repeated .google.cloud.aiplatform.v1.NearestNeighborQuery.StringFilter string_filters = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getStringFiltersBuilder

      public NearestNeighborQuery.StringFilter.Builder getStringFiltersBuilder(int index)
       Optional. The list of string filters.
       
      repeated .google.cloud.aiplatform.v1.NearestNeighborQuery.StringFilter string_filters = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getStringFiltersOrBuilder

      public NearestNeighborQuery.StringFilterOrBuilder getStringFiltersOrBuilder(int index)
       Optional. The list of string filters.
       
      repeated .google.cloud.aiplatform.v1.NearestNeighborQuery.StringFilter string_filters = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getStringFiltersOrBuilder in interface NearestNeighborQueryOrBuilder
    • getStringFiltersOrBuilderList

      public List<? extends NearestNeighborQuery.StringFilterOrBuilder> getStringFiltersOrBuilderList()
       Optional. The list of string filters.
       
      repeated .google.cloud.aiplatform.v1.NearestNeighborQuery.StringFilter string_filters = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getStringFiltersOrBuilderList in interface NearestNeighborQueryOrBuilder
    • addStringFiltersBuilder

      public NearestNeighborQuery.StringFilter.Builder addStringFiltersBuilder()
       Optional. The list of string filters.
       
      repeated .google.cloud.aiplatform.v1.NearestNeighborQuery.StringFilter string_filters = 4 [(.google.api.field_behavior) = OPTIONAL];
    • addStringFiltersBuilder

      public NearestNeighborQuery.StringFilter.Builder addStringFiltersBuilder(int index)
       Optional. The list of string filters.
       
      repeated .google.cloud.aiplatform.v1.NearestNeighborQuery.StringFilter string_filters = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getStringFiltersBuilderList

      public List<NearestNeighborQuery.StringFilter.Builder> getStringFiltersBuilderList()
       Optional. The list of string filters.
       
      repeated .google.cloud.aiplatform.v1.NearestNeighborQuery.StringFilter string_filters = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getNumericFiltersList

      public List<NearestNeighborQuery.NumericFilter> getNumericFiltersList()
       Optional. The list of numeric filters.
       
      repeated .google.cloud.aiplatform.v1.NearestNeighborQuery.NumericFilter numeric_filters = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getNumericFiltersList in interface NearestNeighborQueryOrBuilder
    • getNumericFiltersCount

      public int getNumericFiltersCount()
       Optional. The list of numeric filters.
       
      repeated .google.cloud.aiplatform.v1.NearestNeighborQuery.NumericFilter numeric_filters = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getNumericFiltersCount in interface NearestNeighborQueryOrBuilder
    • getNumericFilters

      public NearestNeighborQuery.NumericFilter getNumericFilters(int index)
       Optional. The list of numeric filters.
       
      repeated .google.cloud.aiplatform.v1.NearestNeighborQuery.NumericFilter numeric_filters = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getNumericFilters in interface NearestNeighborQueryOrBuilder
    • setNumericFilters

      public NearestNeighborQuery.Builder setNumericFilters(int index, NearestNeighborQuery.NumericFilter value)
       Optional. The list of numeric filters.
       
      repeated .google.cloud.aiplatform.v1.NearestNeighborQuery.NumericFilter numeric_filters = 8 [(.google.api.field_behavior) = OPTIONAL];
    • setNumericFilters

      public NearestNeighborQuery.Builder setNumericFilters(int index, NearestNeighborQuery.NumericFilter.Builder builderForValue)
       Optional. The list of numeric filters.
       
      repeated .google.cloud.aiplatform.v1.NearestNeighborQuery.NumericFilter numeric_filters = 8 [(.google.api.field_behavior) = OPTIONAL];
    • addNumericFilters

       Optional. The list of numeric filters.
       
      repeated .google.cloud.aiplatform.v1.NearestNeighborQuery.NumericFilter numeric_filters = 8 [(.google.api.field_behavior) = OPTIONAL];
    • addNumericFilters

      public NearestNeighborQuery.Builder addNumericFilters(int index, NearestNeighborQuery.NumericFilter value)
       Optional. The list of numeric filters.
       
      repeated .google.cloud.aiplatform.v1.NearestNeighborQuery.NumericFilter numeric_filters = 8 [(.google.api.field_behavior) = OPTIONAL];
    • addNumericFilters

       Optional. The list of numeric filters.
       
      repeated .google.cloud.aiplatform.v1.NearestNeighborQuery.NumericFilter numeric_filters = 8 [(.google.api.field_behavior) = OPTIONAL];
    • addNumericFilters

      public NearestNeighborQuery.Builder addNumericFilters(int index, NearestNeighborQuery.NumericFilter.Builder builderForValue)
       Optional. The list of numeric filters.
       
      repeated .google.cloud.aiplatform.v1.NearestNeighborQuery.NumericFilter numeric_filters = 8 [(.google.api.field_behavior) = OPTIONAL];
    • addAllNumericFilters

      public NearestNeighborQuery.Builder addAllNumericFilters(Iterable<? extends NearestNeighborQuery.NumericFilter> values)
       Optional. The list of numeric filters.
       
      repeated .google.cloud.aiplatform.v1.NearestNeighborQuery.NumericFilter numeric_filters = 8 [(.google.api.field_behavior) = OPTIONAL];
    • clearNumericFilters

      public NearestNeighborQuery.Builder clearNumericFilters()
       Optional. The list of numeric filters.
       
      repeated .google.cloud.aiplatform.v1.NearestNeighborQuery.NumericFilter numeric_filters = 8 [(.google.api.field_behavior) = OPTIONAL];
    • removeNumericFilters

      public NearestNeighborQuery.Builder removeNumericFilters(int index)
       Optional. The list of numeric filters.
       
      repeated .google.cloud.aiplatform.v1.NearestNeighborQuery.NumericFilter numeric_filters = 8 [(.google.api.field_behavior) = OPTIONAL];
    • getNumericFiltersBuilder

      public NearestNeighborQuery.NumericFilter.Builder getNumericFiltersBuilder(int index)
       Optional. The list of numeric filters.
       
      repeated .google.cloud.aiplatform.v1.NearestNeighborQuery.NumericFilter numeric_filters = 8 [(.google.api.field_behavior) = OPTIONAL];
    • getNumericFiltersOrBuilder

      public NearestNeighborQuery.NumericFilterOrBuilder getNumericFiltersOrBuilder(int index)
       Optional. The list of numeric filters.
       
      repeated .google.cloud.aiplatform.v1.NearestNeighborQuery.NumericFilter numeric_filters = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getNumericFiltersOrBuilder in interface NearestNeighborQueryOrBuilder
    • getNumericFiltersOrBuilderList

      public List<? extends NearestNeighborQuery.NumericFilterOrBuilder> getNumericFiltersOrBuilderList()
       Optional. The list of numeric filters.
       
      repeated .google.cloud.aiplatform.v1.NearestNeighborQuery.NumericFilter numeric_filters = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getNumericFiltersOrBuilderList in interface NearestNeighborQueryOrBuilder
    • addNumericFiltersBuilder

      public NearestNeighborQuery.NumericFilter.Builder addNumericFiltersBuilder()
       Optional. The list of numeric filters.
       
      repeated .google.cloud.aiplatform.v1.NearestNeighborQuery.NumericFilter numeric_filters = 8 [(.google.api.field_behavior) = OPTIONAL];
    • addNumericFiltersBuilder

      public NearestNeighborQuery.NumericFilter.Builder addNumericFiltersBuilder(int index)
       Optional. The list of numeric filters.
       
      repeated .google.cloud.aiplatform.v1.NearestNeighborQuery.NumericFilter numeric_filters = 8 [(.google.api.field_behavior) = OPTIONAL];
    • getNumericFiltersBuilderList

      public List<NearestNeighborQuery.NumericFilter.Builder> getNumericFiltersBuilderList()
       Optional. The list of numeric filters.
       
      repeated .google.cloud.aiplatform.v1.NearestNeighborQuery.NumericFilter numeric_filters = 8 [(.google.api.field_behavior) = OPTIONAL];
    • getPerCrowdingAttributeNeighborCount

      public int getPerCrowdingAttributeNeighborCount()
       Optional. Crowding is a constraint on a neighbor list produced by nearest
       neighbor search requiring that no more than
       sper_crowding_attribute_neighbor_count of the k neighbors returned have the
       same value of crowding_attribute. It's used for improving result diversity.
       
      int32 per_crowding_attribute_neighbor_count = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPerCrowdingAttributeNeighborCount in interface NearestNeighborQueryOrBuilder
      Returns:
      The perCrowdingAttributeNeighborCount.
    • setPerCrowdingAttributeNeighborCount

      public NearestNeighborQuery.Builder setPerCrowdingAttributeNeighborCount(int value)
       Optional. Crowding is a constraint on a neighbor list produced by nearest
       neighbor search requiring that no more than
       sper_crowding_attribute_neighbor_count of the k neighbors returned have the
       same value of crowding_attribute. It's used for improving result diversity.
       
      int32 per_crowding_attribute_neighbor_count = 5 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The perCrowdingAttributeNeighborCount to set.
      Returns:
      This builder for chaining.
    • clearPerCrowdingAttributeNeighborCount

      public NearestNeighborQuery.Builder clearPerCrowdingAttributeNeighborCount()
       Optional. Crowding is a constraint on a neighbor list produced by nearest
       neighbor search requiring that no more than
       sper_crowding_attribute_neighbor_count of the k neighbors returned have the
       same value of crowding_attribute. It's used for improving result diversity.
       
      int32 per_crowding_attribute_neighbor_count = 5 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • hasParameters

      public boolean hasParameters()
       Optional. Parameters that can be set to tune query on the fly.
       
      .google.cloud.aiplatform.v1.NearestNeighborQuery.Parameters parameters = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasParameters in interface NearestNeighborQueryOrBuilder
      Returns:
      Whether the parameters field is set.
    • getParameters

      public NearestNeighborQuery.Parameters getParameters()
       Optional. Parameters that can be set to tune query on the fly.
       
      .google.cloud.aiplatform.v1.NearestNeighborQuery.Parameters parameters = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getParameters in interface NearestNeighborQueryOrBuilder
      Returns:
      The parameters.
    • setParameters

       Optional. Parameters that can be set to tune query on the fly.
       
      .google.cloud.aiplatform.v1.NearestNeighborQuery.Parameters parameters = 7 [(.google.api.field_behavior) = OPTIONAL];
    • setParameters

       Optional. Parameters that can be set to tune query on the fly.
       
      .google.cloud.aiplatform.v1.NearestNeighborQuery.Parameters parameters = 7 [(.google.api.field_behavior) = OPTIONAL];
    • mergeParameters

       Optional. Parameters that can be set to tune query on the fly.
       
      .google.cloud.aiplatform.v1.NearestNeighborQuery.Parameters parameters = 7 [(.google.api.field_behavior) = OPTIONAL];
    • clearParameters

      public NearestNeighborQuery.Builder clearParameters()
       Optional. Parameters that can be set to tune query on the fly.
       
      .google.cloud.aiplatform.v1.NearestNeighborQuery.Parameters parameters = 7 [(.google.api.field_behavior) = OPTIONAL];
    • getParametersBuilder

      public NearestNeighborQuery.Parameters.Builder getParametersBuilder()
       Optional. Parameters that can be set to tune query on the fly.
       
      .google.cloud.aiplatform.v1.NearestNeighborQuery.Parameters parameters = 7 [(.google.api.field_behavior) = OPTIONAL];
    • getParametersOrBuilder

      public NearestNeighborQuery.ParametersOrBuilder getParametersOrBuilder()
       Optional. Parameters that can be set to tune query on the fly.
       
      .google.cloud.aiplatform.v1.NearestNeighborQuery.Parameters parameters = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getParametersOrBuilder in interface NearestNeighborQueryOrBuilder