Class ServingConfig.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ServingConfig.Builder>
com.google.cloud.discoveryengine.v1beta.ServingConfig.Builder
All Implemented Interfaces:
ServingConfigOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ServingConfig

public static final class ServingConfig.Builder extends com.google.protobuf.GeneratedMessage.Builder<ServingConfig.Builder> implements ServingConfigOrBuilder
 Configures metadata that is used to generate serving time results (e.g.
 search results or recommendation predictions).
 The ServingConfig is passed in the search and predict request and generates
 results.
 
Protobuf type google.cloud.discoveryengine.v1beta.ServingConfig
  • 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<ServingConfig.Builder>
    • clear

      public ServingConfig.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<ServingConfig.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<ServingConfig.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public ServingConfig.Builder mergeFrom(ServingConfig other)
    • isInitialized

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

      public ServingConfig.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<ServingConfig.Builder>
      Throws:
      IOException
    • getVerticalConfigCase

      public ServingConfig.VerticalConfigCase getVerticalConfigCase()
      Specified by:
      getVerticalConfigCase in interface ServingConfigOrBuilder
    • clearVerticalConfig

      public ServingConfig.Builder clearVerticalConfig()
    • hasMediaConfig

      public boolean hasMediaConfig()
       The MediaConfig of the serving configuration.
       
      .google.cloud.discoveryengine.v1beta.ServingConfig.MediaConfig media_config = 7;
      Specified by:
      hasMediaConfig in interface ServingConfigOrBuilder
      Returns:
      Whether the mediaConfig field is set.
    • getMediaConfig

      public ServingConfig.MediaConfig getMediaConfig()
       The MediaConfig of the serving configuration.
       
      .google.cloud.discoveryengine.v1beta.ServingConfig.MediaConfig media_config = 7;
      Specified by:
      getMediaConfig in interface ServingConfigOrBuilder
      Returns:
      The mediaConfig.
    • setMediaConfig

      public ServingConfig.Builder setMediaConfig(ServingConfig.MediaConfig value)
       The MediaConfig of the serving configuration.
       
      .google.cloud.discoveryengine.v1beta.ServingConfig.MediaConfig media_config = 7;
    • setMediaConfig

      public ServingConfig.Builder setMediaConfig(ServingConfig.MediaConfig.Builder builderForValue)
       The MediaConfig of the serving configuration.
       
      .google.cloud.discoveryengine.v1beta.ServingConfig.MediaConfig media_config = 7;
    • mergeMediaConfig

      public ServingConfig.Builder mergeMediaConfig(ServingConfig.MediaConfig value)
       The MediaConfig of the serving configuration.
       
      .google.cloud.discoveryengine.v1beta.ServingConfig.MediaConfig media_config = 7;
    • clearMediaConfig

      public ServingConfig.Builder clearMediaConfig()
       The MediaConfig of the serving configuration.
       
      .google.cloud.discoveryengine.v1beta.ServingConfig.MediaConfig media_config = 7;
    • getMediaConfigBuilder

      public ServingConfig.MediaConfig.Builder getMediaConfigBuilder()
       The MediaConfig of the serving configuration.
       
      .google.cloud.discoveryengine.v1beta.ServingConfig.MediaConfig media_config = 7;
    • getMediaConfigOrBuilder

      public ServingConfig.MediaConfigOrBuilder getMediaConfigOrBuilder()
       The MediaConfig of the serving configuration.
       
      .google.cloud.discoveryengine.v1beta.ServingConfig.MediaConfig media_config = 7;
      Specified by:
      getMediaConfigOrBuilder in interface ServingConfigOrBuilder
    • hasGenericConfig

      public boolean hasGenericConfig()
       The GenericConfig of the serving configuration.
       
      .google.cloud.discoveryengine.v1beta.ServingConfig.GenericConfig generic_config = 10;
      Specified by:
      hasGenericConfig in interface ServingConfigOrBuilder
      Returns:
      Whether the genericConfig field is set.
    • getGenericConfig

      public ServingConfig.GenericConfig getGenericConfig()
       The GenericConfig of the serving configuration.
       
      .google.cloud.discoveryengine.v1beta.ServingConfig.GenericConfig generic_config = 10;
      Specified by:
      getGenericConfig in interface ServingConfigOrBuilder
      Returns:
      The genericConfig.
    • setGenericConfig

      public ServingConfig.Builder setGenericConfig(ServingConfig.GenericConfig value)
       The GenericConfig of the serving configuration.
       
      .google.cloud.discoveryengine.v1beta.ServingConfig.GenericConfig generic_config = 10;
    • setGenericConfig

      public ServingConfig.Builder setGenericConfig(ServingConfig.GenericConfig.Builder builderForValue)
       The GenericConfig of the serving configuration.
       
      .google.cloud.discoveryengine.v1beta.ServingConfig.GenericConfig generic_config = 10;
    • mergeGenericConfig

      public ServingConfig.Builder mergeGenericConfig(ServingConfig.GenericConfig value)
       The GenericConfig of the serving configuration.
       
      .google.cloud.discoveryengine.v1beta.ServingConfig.GenericConfig generic_config = 10;
    • clearGenericConfig

      public ServingConfig.Builder clearGenericConfig()
       The GenericConfig of the serving configuration.
       
      .google.cloud.discoveryengine.v1beta.ServingConfig.GenericConfig generic_config = 10;
    • getGenericConfigBuilder

      public ServingConfig.GenericConfig.Builder getGenericConfigBuilder()
       The GenericConfig of the serving configuration.
       
      .google.cloud.discoveryengine.v1beta.ServingConfig.GenericConfig generic_config = 10;
    • getGenericConfigOrBuilder

      public ServingConfig.GenericConfigOrBuilder getGenericConfigOrBuilder()
       The GenericConfig of the serving configuration.
       
      .google.cloud.discoveryengine.v1beta.ServingConfig.GenericConfig generic_config = 10;
      Specified by:
      getGenericConfigOrBuilder in interface ServingConfigOrBuilder
    • getName

      public String getName()
       Immutable. Fully qualified name
       `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}/servingConfigs/{serving_config_id}`
       
      string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getName in interface ServingConfigOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Immutable. Fully qualified name
       `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}/servingConfigs/{serving_config_id}`
       
      string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getNameBytes in interface ServingConfigOrBuilder
      Returns:
      The bytes for name.
    • setName

      public ServingConfig.Builder setName(String value)
       Immutable. Fully qualified name
       `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}/servingConfigs/{serving_config_id}`
       
      string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public ServingConfig.Builder clearName()
       Immutable. Fully qualified name
       `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}/servingConfigs/{serving_config_id}`
       
      string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
      Returns:
      This builder for chaining.
    • setNameBytes

      public ServingConfig.Builder setNameBytes(com.google.protobuf.ByteString value)
       Immutable. Fully qualified name
       `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}/servingConfigs/{serving_config_id}`
       
      string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getDisplayName

      public String getDisplayName()
       Required. The human readable serving config display name. Used in Discovery
       UI.
      
       This field must be a UTF-8 encoded string with a length limit of 128
       characters. Otherwise, an INVALID_ARGUMENT error is returned.
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDisplayName in interface ServingConfigOrBuilder
      Returns:
      The displayName.
    • getDisplayNameBytes

      public com.google.protobuf.ByteString getDisplayNameBytes()
       Required. The human readable serving config display name. Used in Discovery
       UI.
      
       This field must be a UTF-8 encoded string with a length limit of 128
       characters. Otherwise, an INVALID_ARGUMENT error is returned.
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDisplayNameBytes in interface ServingConfigOrBuilder
      Returns:
      The bytes for displayName.
    • setDisplayName

      public ServingConfig.Builder setDisplayName(String value)
       Required. The human readable serving config display name. Used in Discovery
       UI.
      
       This field must be a UTF-8 encoded string with a length limit of 128
       characters. Otherwise, an INVALID_ARGUMENT error is returned.
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The displayName to set.
      Returns:
      This builder for chaining.
    • clearDisplayName

      public ServingConfig.Builder clearDisplayName()
       Required. The human readable serving config display name. Used in Discovery
       UI.
      
       This field must be a UTF-8 encoded string with a length limit of 128
       characters. Otherwise, an INVALID_ARGUMENT error is returned.
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setDisplayNameBytes

      public ServingConfig.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
       Required. The human readable serving config display name. Used in Discovery
       UI.
      
       This field must be a UTF-8 encoded string with a length limit of 128
       characters. Otherwise, an INVALID_ARGUMENT error is returned.
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for displayName to set.
      Returns:
      This builder for chaining.
    • getSolutionTypeValue

      public int getSolutionTypeValue()
       Required. Immutable. Specifies the solution type that a serving config can
       be associated with.
       
      .google.cloud.discoveryengine.v1beta.SolutionType solution_type = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getSolutionTypeValue in interface ServingConfigOrBuilder
      Returns:
      The enum numeric value on the wire for solutionType.
    • setSolutionTypeValue

      public ServingConfig.Builder setSolutionTypeValue(int value)
       Required. Immutable. Specifies the solution type that a serving config can
       be associated with.
       
      .google.cloud.discoveryengine.v1beta.SolutionType solution_type = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
      Parameters:
      value - The enum numeric value on the wire for solutionType to set.
      Returns:
      This builder for chaining.
    • getSolutionType

      public SolutionType getSolutionType()
       Required. Immutable. Specifies the solution type that a serving config can
       be associated with.
       
      .google.cloud.discoveryengine.v1beta.SolutionType solution_type = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getSolutionType in interface ServingConfigOrBuilder
      Returns:
      The solutionType.
    • setSolutionType

      public ServingConfig.Builder setSolutionType(SolutionType value)
       Required. Immutable. Specifies the solution type that a serving config can
       be associated with.
       
      .google.cloud.discoveryengine.v1beta.SolutionType solution_type = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
      Parameters:
      value - The solutionType to set.
      Returns:
      This builder for chaining.
    • clearSolutionType

      public ServingConfig.Builder clearSolutionType()
       Required. Immutable. Specifies the solution type that a serving config can
       be associated with.
       
      .google.cloud.discoveryengine.v1beta.SolutionType solution_type = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
      Returns:
      This builder for chaining.
    • getModelId

      public String getModelId()
       The id of the model to use at serving time.
       Currently only RecommendationModels are supported.
       Can be changed but only to a compatible model (e.g.
       others-you-may-like CTR to others-you-may-like CVR).
      
       Required when
       [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is
       [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION].
       
      string model_id = 4;
      Specified by:
      getModelId in interface ServingConfigOrBuilder
      Returns:
      The modelId.
    • getModelIdBytes

      public com.google.protobuf.ByteString getModelIdBytes()
       The id of the model to use at serving time.
       Currently only RecommendationModels are supported.
       Can be changed but only to a compatible model (e.g.
       others-you-may-like CTR to others-you-may-like CVR).
      
       Required when
       [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is
       [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION].
       
      string model_id = 4;
      Specified by:
      getModelIdBytes in interface ServingConfigOrBuilder
      Returns:
      The bytes for modelId.
    • setModelId

      public ServingConfig.Builder setModelId(String value)
       The id of the model to use at serving time.
       Currently only RecommendationModels are supported.
       Can be changed but only to a compatible model (e.g.
       others-you-may-like CTR to others-you-may-like CVR).
      
       Required when
       [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is
       [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION].
       
      string model_id = 4;
      Parameters:
      value - The modelId to set.
      Returns:
      This builder for chaining.
    • clearModelId

      public ServingConfig.Builder clearModelId()
       The id of the model to use at serving time.
       Currently only RecommendationModels are supported.
       Can be changed but only to a compatible model (e.g.
       others-you-may-like CTR to others-you-may-like CVR).
      
       Required when
       [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is
       [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION].
       
      string model_id = 4;
      Returns:
      This builder for chaining.
    • setModelIdBytes

      public ServingConfig.Builder setModelIdBytes(com.google.protobuf.ByteString value)
       The id of the model to use at serving time.
       Currently only RecommendationModels are supported.
       Can be changed but only to a compatible model (e.g.
       others-you-may-like CTR to others-you-may-like CVR).
      
       Required when
       [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is
       [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION].
       
      string model_id = 4;
      Parameters:
      value - The bytes for modelId to set.
      Returns:
      This builder for chaining.
    • getDiversityLevel

      public String getDiversityLevel()
       How much diversity to use in recommendation model results e.g.
       `medium-diversity` or `high-diversity`. Currently supported values:
      
       * `no-diversity`
       * `low-diversity`
       * `medium-diversity`
       * `high-diversity`
       * `auto-diversity`
      
       If not specified, we choose default based on recommendation model
       type. Default value: `no-diversity`.
      
       Can only be set if
       [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is
       [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION].
       
      string diversity_level = 5;
      Specified by:
      getDiversityLevel in interface ServingConfigOrBuilder
      Returns:
      The diversityLevel.
    • getDiversityLevelBytes

      public com.google.protobuf.ByteString getDiversityLevelBytes()
       How much diversity to use in recommendation model results e.g.
       `medium-diversity` or `high-diversity`. Currently supported values:
      
       * `no-diversity`
       * `low-diversity`
       * `medium-diversity`
       * `high-diversity`
       * `auto-diversity`
      
       If not specified, we choose default based on recommendation model
       type. Default value: `no-diversity`.
      
       Can only be set if
       [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is
       [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION].
       
      string diversity_level = 5;
      Specified by:
      getDiversityLevelBytes in interface ServingConfigOrBuilder
      Returns:
      The bytes for diversityLevel.
    • setDiversityLevel

      public ServingConfig.Builder setDiversityLevel(String value)
       How much diversity to use in recommendation model results e.g.
       `medium-diversity` or `high-diversity`. Currently supported values:
      
       * `no-diversity`
       * `low-diversity`
       * `medium-diversity`
       * `high-diversity`
       * `auto-diversity`
      
       If not specified, we choose default based on recommendation model
       type. Default value: `no-diversity`.
      
       Can only be set if
       [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is
       [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION].
       
      string diversity_level = 5;
      Parameters:
      value - The diversityLevel to set.
      Returns:
      This builder for chaining.
    • clearDiversityLevel

      public ServingConfig.Builder clearDiversityLevel()
       How much diversity to use in recommendation model results e.g.
       `medium-diversity` or `high-diversity`. Currently supported values:
      
       * `no-diversity`
       * `low-diversity`
       * `medium-diversity`
       * `high-diversity`
       * `auto-diversity`
      
       If not specified, we choose default based on recommendation model
       type. Default value: `no-diversity`.
      
       Can only be set if
       [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is
       [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION].
       
      string diversity_level = 5;
      Returns:
      This builder for chaining.
    • setDiversityLevelBytes

      public ServingConfig.Builder setDiversityLevelBytes(com.google.protobuf.ByteString value)
       How much diversity to use in recommendation model results e.g.
       `medium-diversity` or `high-diversity`. Currently supported values:
      
       * `no-diversity`
       * `low-diversity`
       * `medium-diversity`
       * `high-diversity`
       * `auto-diversity`
      
       If not specified, we choose default based on recommendation model
       type. Default value: `no-diversity`.
      
       Can only be set if
       [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is
       [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION].
       
      string diversity_level = 5;
      Parameters:
      value - The bytes for diversityLevel to set.
      Returns:
      This builder for chaining.
    • hasEmbeddingConfig

      public boolean hasEmbeddingConfig()
       Bring your own embedding config. The config is used for search semantic
       retrieval. The retrieval is based on the dot product of
       [SearchRequest.EmbeddingSpec.EmbeddingVector.vector][google.cloud.discoveryengine.v1beta.SearchRequest.EmbeddingSpec.EmbeddingVector.vector]
       and the document embeddings that are provided by this EmbeddingConfig. If
       [SearchRequest.EmbeddingSpec.EmbeddingVector.vector][google.cloud.discoveryengine.v1beta.SearchRequest.EmbeddingSpec.EmbeddingVector.vector]
       is provided, it overrides this
       [ServingConfig.embedding_config][google.cloud.discoveryengine.v1beta.ServingConfig.embedding_config].
       
      .google.cloud.discoveryengine.v1beta.EmbeddingConfig embedding_config = 20;
      Specified by:
      hasEmbeddingConfig in interface ServingConfigOrBuilder
      Returns:
      Whether the embeddingConfig field is set.
    • getEmbeddingConfig

      public EmbeddingConfig getEmbeddingConfig()
       Bring your own embedding config. The config is used for search semantic
       retrieval. The retrieval is based on the dot product of
       [SearchRequest.EmbeddingSpec.EmbeddingVector.vector][google.cloud.discoveryengine.v1beta.SearchRequest.EmbeddingSpec.EmbeddingVector.vector]
       and the document embeddings that are provided by this EmbeddingConfig. If
       [SearchRequest.EmbeddingSpec.EmbeddingVector.vector][google.cloud.discoveryengine.v1beta.SearchRequest.EmbeddingSpec.EmbeddingVector.vector]
       is provided, it overrides this
       [ServingConfig.embedding_config][google.cloud.discoveryengine.v1beta.ServingConfig.embedding_config].
       
      .google.cloud.discoveryengine.v1beta.EmbeddingConfig embedding_config = 20;
      Specified by:
      getEmbeddingConfig in interface ServingConfigOrBuilder
      Returns:
      The embeddingConfig.
    • setEmbeddingConfig

      public ServingConfig.Builder setEmbeddingConfig(EmbeddingConfig value)
       Bring your own embedding config. The config is used for search semantic
       retrieval. The retrieval is based on the dot product of
       [SearchRequest.EmbeddingSpec.EmbeddingVector.vector][google.cloud.discoveryengine.v1beta.SearchRequest.EmbeddingSpec.EmbeddingVector.vector]
       and the document embeddings that are provided by this EmbeddingConfig. If
       [SearchRequest.EmbeddingSpec.EmbeddingVector.vector][google.cloud.discoveryengine.v1beta.SearchRequest.EmbeddingSpec.EmbeddingVector.vector]
       is provided, it overrides this
       [ServingConfig.embedding_config][google.cloud.discoveryengine.v1beta.ServingConfig.embedding_config].
       
      .google.cloud.discoveryengine.v1beta.EmbeddingConfig embedding_config = 20;
    • setEmbeddingConfig

      public ServingConfig.Builder setEmbeddingConfig(EmbeddingConfig.Builder builderForValue)
       Bring your own embedding config. The config is used for search semantic
       retrieval. The retrieval is based on the dot product of
       [SearchRequest.EmbeddingSpec.EmbeddingVector.vector][google.cloud.discoveryengine.v1beta.SearchRequest.EmbeddingSpec.EmbeddingVector.vector]
       and the document embeddings that are provided by this EmbeddingConfig. If
       [SearchRequest.EmbeddingSpec.EmbeddingVector.vector][google.cloud.discoveryengine.v1beta.SearchRequest.EmbeddingSpec.EmbeddingVector.vector]
       is provided, it overrides this
       [ServingConfig.embedding_config][google.cloud.discoveryengine.v1beta.ServingConfig.embedding_config].
       
      .google.cloud.discoveryengine.v1beta.EmbeddingConfig embedding_config = 20;
    • mergeEmbeddingConfig

      public ServingConfig.Builder mergeEmbeddingConfig(EmbeddingConfig value)
       Bring your own embedding config. The config is used for search semantic
       retrieval. The retrieval is based on the dot product of
       [SearchRequest.EmbeddingSpec.EmbeddingVector.vector][google.cloud.discoveryengine.v1beta.SearchRequest.EmbeddingSpec.EmbeddingVector.vector]
       and the document embeddings that are provided by this EmbeddingConfig. If
       [SearchRequest.EmbeddingSpec.EmbeddingVector.vector][google.cloud.discoveryengine.v1beta.SearchRequest.EmbeddingSpec.EmbeddingVector.vector]
       is provided, it overrides this
       [ServingConfig.embedding_config][google.cloud.discoveryengine.v1beta.ServingConfig.embedding_config].
       
      .google.cloud.discoveryengine.v1beta.EmbeddingConfig embedding_config = 20;
    • clearEmbeddingConfig

      public ServingConfig.Builder clearEmbeddingConfig()
       Bring your own embedding config. The config is used for search semantic
       retrieval. The retrieval is based on the dot product of
       [SearchRequest.EmbeddingSpec.EmbeddingVector.vector][google.cloud.discoveryengine.v1beta.SearchRequest.EmbeddingSpec.EmbeddingVector.vector]
       and the document embeddings that are provided by this EmbeddingConfig. If
       [SearchRequest.EmbeddingSpec.EmbeddingVector.vector][google.cloud.discoveryengine.v1beta.SearchRequest.EmbeddingSpec.EmbeddingVector.vector]
       is provided, it overrides this
       [ServingConfig.embedding_config][google.cloud.discoveryengine.v1beta.ServingConfig.embedding_config].
       
      .google.cloud.discoveryengine.v1beta.EmbeddingConfig embedding_config = 20;
    • getEmbeddingConfigBuilder

      public EmbeddingConfig.Builder getEmbeddingConfigBuilder()
       Bring your own embedding config. The config is used for search semantic
       retrieval. The retrieval is based on the dot product of
       [SearchRequest.EmbeddingSpec.EmbeddingVector.vector][google.cloud.discoveryengine.v1beta.SearchRequest.EmbeddingSpec.EmbeddingVector.vector]
       and the document embeddings that are provided by this EmbeddingConfig. If
       [SearchRequest.EmbeddingSpec.EmbeddingVector.vector][google.cloud.discoveryengine.v1beta.SearchRequest.EmbeddingSpec.EmbeddingVector.vector]
       is provided, it overrides this
       [ServingConfig.embedding_config][google.cloud.discoveryengine.v1beta.ServingConfig.embedding_config].
       
      .google.cloud.discoveryengine.v1beta.EmbeddingConfig embedding_config = 20;
    • getEmbeddingConfigOrBuilder

      public EmbeddingConfigOrBuilder getEmbeddingConfigOrBuilder()
       Bring your own embedding config. The config is used for search semantic
       retrieval. The retrieval is based on the dot product of
       [SearchRequest.EmbeddingSpec.EmbeddingVector.vector][google.cloud.discoveryengine.v1beta.SearchRequest.EmbeddingSpec.EmbeddingVector.vector]
       and the document embeddings that are provided by this EmbeddingConfig. If
       [SearchRequest.EmbeddingSpec.EmbeddingVector.vector][google.cloud.discoveryengine.v1beta.SearchRequest.EmbeddingSpec.EmbeddingVector.vector]
       is provided, it overrides this
       [ServingConfig.embedding_config][google.cloud.discoveryengine.v1beta.ServingConfig.embedding_config].
       
      .google.cloud.discoveryengine.v1beta.EmbeddingConfig embedding_config = 20;
      Specified by:
      getEmbeddingConfigOrBuilder in interface ServingConfigOrBuilder
    • getRankingExpression

      public String getRankingExpression()
       The ranking expression controls the customized ranking on retrieval
       documents. To leverage this, document embedding is required. The ranking
       expression setting in ServingConfig applies to all search requests served
       by the serving config. However, if
       [SearchRequest.ranking_expression][google.cloud.discoveryengine.v1beta.SearchRequest.ranking_expression]
       is specified, it overrides the ServingConfig ranking expression.
      
       The ranking expression is a single function or multiple functions that are
       joined by "+".
      
       * ranking_expression = function, { " + ", function };
      
       Supported functions:
      
       * double * relevance_score
       * double * dotProduct(embedding_field_path)
      
       Function variables:
      
       * `relevance_score`: pre-defined keywords, used for measure relevance
       between query and document.
       * `embedding_field_path`: the document embedding field
       used with query embedding vector.
       * `dotProduct`: embedding function between embedding_field_path and query
       embedding vector.
      
       Example ranking expression:
      
       If document has an embedding field doc_embedding, the ranking expression
       could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`.
       
      string ranking_expression = 21;
      Specified by:
      getRankingExpression in interface ServingConfigOrBuilder
      Returns:
      The rankingExpression.
    • getRankingExpressionBytes

      public com.google.protobuf.ByteString getRankingExpressionBytes()
       The ranking expression controls the customized ranking on retrieval
       documents. To leverage this, document embedding is required. The ranking
       expression setting in ServingConfig applies to all search requests served
       by the serving config. However, if
       [SearchRequest.ranking_expression][google.cloud.discoveryengine.v1beta.SearchRequest.ranking_expression]
       is specified, it overrides the ServingConfig ranking expression.
      
       The ranking expression is a single function or multiple functions that are
       joined by "+".
      
       * ranking_expression = function, { " + ", function };
      
       Supported functions:
      
       * double * relevance_score
       * double * dotProduct(embedding_field_path)
      
       Function variables:
      
       * `relevance_score`: pre-defined keywords, used for measure relevance
       between query and document.
       * `embedding_field_path`: the document embedding field
       used with query embedding vector.
       * `dotProduct`: embedding function between embedding_field_path and query
       embedding vector.
      
       Example ranking expression:
      
       If document has an embedding field doc_embedding, the ranking expression
       could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`.
       
      string ranking_expression = 21;
      Specified by:
      getRankingExpressionBytes in interface ServingConfigOrBuilder
      Returns:
      The bytes for rankingExpression.
    • setRankingExpression

      public ServingConfig.Builder setRankingExpression(String value)
       The ranking expression controls the customized ranking on retrieval
       documents. To leverage this, document embedding is required. The ranking
       expression setting in ServingConfig applies to all search requests served
       by the serving config. However, if
       [SearchRequest.ranking_expression][google.cloud.discoveryengine.v1beta.SearchRequest.ranking_expression]
       is specified, it overrides the ServingConfig ranking expression.
      
       The ranking expression is a single function or multiple functions that are
       joined by "+".
      
       * ranking_expression = function, { " + ", function };
      
       Supported functions:
      
       * double * relevance_score
       * double * dotProduct(embedding_field_path)
      
       Function variables:
      
       * `relevance_score`: pre-defined keywords, used for measure relevance
       between query and document.
       * `embedding_field_path`: the document embedding field
       used with query embedding vector.
       * `dotProduct`: embedding function between embedding_field_path and query
       embedding vector.
      
       Example ranking expression:
      
       If document has an embedding field doc_embedding, the ranking expression
       could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`.
       
      string ranking_expression = 21;
      Parameters:
      value - The rankingExpression to set.
      Returns:
      This builder for chaining.
    • clearRankingExpression

      public ServingConfig.Builder clearRankingExpression()
       The ranking expression controls the customized ranking on retrieval
       documents. To leverage this, document embedding is required. The ranking
       expression setting in ServingConfig applies to all search requests served
       by the serving config. However, if
       [SearchRequest.ranking_expression][google.cloud.discoveryengine.v1beta.SearchRequest.ranking_expression]
       is specified, it overrides the ServingConfig ranking expression.
      
       The ranking expression is a single function or multiple functions that are
       joined by "+".
      
       * ranking_expression = function, { " + ", function };
      
       Supported functions:
      
       * double * relevance_score
       * double * dotProduct(embedding_field_path)
      
       Function variables:
      
       * `relevance_score`: pre-defined keywords, used for measure relevance
       between query and document.
       * `embedding_field_path`: the document embedding field
       used with query embedding vector.
       * `dotProduct`: embedding function between embedding_field_path and query
       embedding vector.
      
       Example ranking expression:
      
       If document has an embedding field doc_embedding, the ranking expression
       could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`.
       
      string ranking_expression = 21;
      Returns:
      This builder for chaining.
    • setRankingExpressionBytes

      public ServingConfig.Builder setRankingExpressionBytes(com.google.protobuf.ByteString value)
       The ranking expression controls the customized ranking on retrieval
       documents. To leverage this, document embedding is required. The ranking
       expression setting in ServingConfig applies to all search requests served
       by the serving config. However, if
       [SearchRequest.ranking_expression][google.cloud.discoveryengine.v1beta.SearchRequest.ranking_expression]
       is specified, it overrides the ServingConfig ranking expression.
      
       The ranking expression is a single function or multiple functions that are
       joined by "+".
      
       * ranking_expression = function, { " + ", function };
      
       Supported functions:
      
       * double * relevance_score
       * double * dotProduct(embedding_field_path)
      
       Function variables:
      
       * `relevance_score`: pre-defined keywords, used for measure relevance
       between query and document.
       * `embedding_field_path`: the document embedding field
       used with query embedding vector.
       * `dotProduct`: embedding function between embedding_field_path and query
       embedding vector.
      
       Example ranking expression:
      
       If document has an embedding field doc_embedding, the ranking expression
       could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`.
       
      string ranking_expression = 21;
      Parameters:
      value - The bytes for rankingExpression to set.
      Returns:
      This builder for chaining.
    • hasCreateTime

      public boolean hasCreateTime()
       Output only. ServingConfig created timestamp.
       
      .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreateTime in interface ServingConfigOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. ServingConfig created timestamp.
       
      .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTime in interface ServingConfigOrBuilder
      Returns:
      The createTime.
    • setCreateTime

      public ServingConfig.Builder setCreateTime(com.google.protobuf.Timestamp value)
       Output only. ServingConfig created timestamp.
       
      .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setCreateTime

      public ServingConfig.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. ServingConfig created timestamp.
       
      .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeCreateTime

      public ServingConfig.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       Output only. ServingConfig created timestamp.
       
      .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearCreateTime

      public ServingConfig.Builder clearCreateTime()
       Output only. ServingConfig created timestamp.
       
      .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
       Output only. ServingConfig created timestamp.
       
      .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. ServingConfig created timestamp.
       
      .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface ServingConfigOrBuilder
    • hasUpdateTime

      public boolean hasUpdateTime()
       Output only. ServingConfig updated timestamp.
       
      .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasUpdateTime in interface ServingConfigOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.Timestamp getUpdateTime()
       Output only. ServingConfig updated timestamp.
       
      .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTime in interface ServingConfigOrBuilder
      Returns:
      The updateTime.
    • setUpdateTime

      public ServingConfig.Builder setUpdateTime(com.google.protobuf.Timestamp value)
       Output only. ServingConfig updated timestamp.
       
      .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setUpdateTime

      public ServingConfig.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. ServingConfig updated timestamp.
       
      .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeUpdateTime

      public ServingConfig.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
       Output only. ServingConfig updated timestamp.
       
      .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearUpdateTime

      public ServingConfig.Builder clearUpdateTime()
       Output only. ServingConfig updated timestamp.
       
      .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
       Output only. ServingConfig updated timestamp.
       
      .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. ServingConfig updated timestamp.
       
      .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTimeOrBuilder in interface ServingConfigOrBuilder
    • getFilterControlIdsList

      public com.google.protobuf.ProtocolStringList getFilterControlIdsList()
       Filter controls to use in serving path.
       All triggered filter controls will be applied.
       Filter controls must be in the same data store as the serving config.
       Maximum of 20 filter controls.
       
      repeated string filter_control_ids = 11;
      Specified by:
      getFilterControlIdsList in interface ServingConfigOrBuilder
      Returns:
      A list containing the filterControlIds.
    • getFilterControlIdsCount

      public int getFilterControlIdsCount()
       Filter controls to use in serving path.
       All triggered filter controls will be applied.
       Filter controls must be in the same data store as the serving config.
       Maximum of 20 filter controls.
       
      repeated string filter_control_ids = 11;
      Specified by:
      getFilterControlIdsCount in interface ServingConfigOrBuilder
      Returns:
      The count of filterControlIds.
    • getFilterControlIds

      public String getFilterControlIds(int index)
       Filter controls to use in serving path.
       All triggered filter controls will be applied.
       Filter controls must be in the same data store as the serving config.
       Maximum of 20 filter controls.
       
      repeated string filter_control_ids = 11;
      Specified by:
      getFilterControlIds in interface ServingConfigOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The filterControlIds at the given index.
    • getFilterControlIdsBytes

      public com.google.protobuf.ByteString getFilterControlIdsBytes(int index)
       Filter controls to use in serving path.
       All triggered filter controls will be applied.
       Filter controls must be in the same data store as the serving config.
       Maximum of 20 filter controls.
       
      repeated string filter_control_ids = 11;
      Specified by:
      getFilterControlIdsBytes in interface ServingConfigOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the filterControlIds at the given index.
    • setFilterControlIds

      public ServingConfig.Builder setFilterControlIds(int index, String value)
       Filter controls to use in serving path.
       All triggered filter controls will be applied.
       Filter controls must be in the same data store as the serving config.
       Maximum of 20 filter controls.
       
      repeated string filter_control_ids = 11;
      Parameters:
      index - The index to set the value at.
      value - The filterControlIds to set.
      Returns:
      This builder for chaining.
    • addFilterControlIds

      public ServingConfig.Builder addFilterControlIds(String value)
       Filter controls to use in serving path.
       All triggered filter controls will be applied.
       Filter controls must be in the same data store as the serving config.
       Maximum of 20 filter controls.
       
      repeated string filter_control_ids = 11;
      Parameters:
      value - The filterControlIds to add.
      Returns:
      This builder for chaining.
    • addAllFilterControlIds

      public ServingConfig.Builder addAllFilterControlIds(Iterable<String> values)
       Filter controls to use in serving path.
       All triggered filter controls will be applied.
       Filter controls must be in the same data store as the serving config.
       Maximum of 20 filter controls.
       
      repeated string filter_control_ids = 11;
      Parameters:
      values - The filterControlIds to add.
      Returns:
      This builder for chaining.
    • clearFilterControlIds

      public ServingConfig.Builder clearFilterControlIds()
       Filter controls to use in serving path.
       All triggered filter controls will be applied.
       Filter controls must be in the same data store as the serving config.
       Maximum of 20 filter controls.
       
      repeated string filter_control_ids = 11;
      Returns:
      This builder for chaining.
    • addFilterControlIdsBytes

      public ServingConfig.Builder addFilterControlIdsBytes(com.google.protobuf.ByteString value)
       Filter controls to use in serving path.
       All triggered filter controls will be applied.
       Filter controls must be in the same data store as the serving config.
       Maximum of 20 filter controls.
       
      repeated string filter_control_ids = 11;
      Parameters:
      value - The bytes of the filterControlIds to add.
      Returns:
      This builder for chaining.
    • getBoostControlIdsList

      public com.google.protobuf.ProtocolStringList getBoostControlIdsList()
       Boost controls to use in serving path.
       All triggered boost controls will be applied.
       Boost controls must be in the same data store as the serving config.
       Maximum of 20 boost controls.
       
      repeated string boost_control_ids = 12;
      Specified by:
      getBoostControlIdsList in interface ServingConfigOrBuilder
      Returns:
      A list containing the boostControlIds.
    • getBoostControlIdsCount

      public int getBoostControlIdsCount()
       Boost controls to use in serving path.
       All triggered boost controls will be applied.
       Boost controls must be in the same data store as the serving config.
       Maximum of 20 boost controls.
       
      repeated string boost_control_ids = 12;
      Specified by:
      getBoostControlIdsCount in interface ServingConfigOrBuilder
      Returns:
      The count of boostControlIds.
    • getBoostControlIds

      public String getBoostControlIds(int index)
       Boost controls to use in serving path.
       All triggered boost controls will be applied.
       Boost controls must be in the same data store as the serving config.
       Maximum of 20 boost controls.
       
      repeated string boost_control_ids = 12;
      Specified by:
      getBoostControlIds in interface ServingConfigOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The boostControlIds at the given index.
    • getBoostControlIdsBytes

      public com.google.protobuf.ByteString getBoostControlIdsBytes(int index)
       Boost controls to use in serving path.
       All triggered boost controls will be applied.
       Boost controls must be in the same data store as the serving config.
       Maximum of 20 boost controls.
       
      repeated string boost_control_ids = 12;
      Specified by:
      getBoostControlIdsBytes in interface ServingConfigOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the boostControlIds at the given index.
    • setBoostControlIds

      public ServingConfig.Builder setBoostControlIds(int index, String value)
       Boost controls to use in serving path.
       All triggered boost controls will be applied.
       Boost controls must be in the same data store as the serving config.
       Maximum of 20 boost controls.
       
      repeated string boost_control_ids = 12;
      Parameters:
      index - The index to set the value at.
      value - The boostControlIds to set.
      Returns:
      This builder for chaining.
    • addBoostControlIds

      public ServingConfig.Builder addBoostControlIds(String value)
       Boost controls to use in serving path.
       All triggered boost controls will be applied.
       Boost controls must be in the same data store as the serving config.
       Maximum of 20 boost controls.
       
      repeated string boost_control_ids = 12;
      Parameters:
      value - The boostControlIds to add.
      Returns:
      This builder for chaining.
    • addAllBoostControlIds

      public ServingConfig.Builder addAllBoostControlIds(Iterable<String> values)
       Boost controls to use in serving path.
       All triggered boost controls will be applied.
       Boost controls must be in the same data store as the serving config.
       Maximum of 20 boost controls.
       
      repeated string boost_control_ids = 12;
      Parameters:
      values - The boostControlIds to add.
      Returns:
      This builder for chaining.
    • clearBoostControlIds

      public ServingConfig.Builder clearBoostControlIds()
       Boost controls to use in serving path.
       All triggered boost controls will be applied.
       Boost controls must be in the same data store as the serving config.
       Maximum of 20 boost controls.
       
      repeated string boost_control_ids = 12;
      Returns:
      This builder for chaining.
    • addBoostControlIdsBytes

      public ServingConfig.Builder addBoostControlIdsBytes(com.google.protobuf.ByteString value)
       Boost controls to use in serving path.
       All triggered boost controls will be applied.
       Boost controls must be in the same data store as the serving config.
       Maximum of 20 boost controls.
       
      repeated string boost_control_ids = 12;
      Parameters:
      value - The bytes of the boostControlIds to add.
      Returns:
      This builder for chaining.
    • getRedirectControlIdsList

      public com.google.protobuf.ProtocolStringList getRedirectControlIdsList()
       IDs of the redirect controls. Only the first triggered redirect
       action is applied, even if multiple apply. Maximum number of
       specifications is 100.
      
       Can only be set if
       [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is
       [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH].
       
      repeated string redirect_control_ids = 14;
      Specified by:
      getRedirectControlIdsList in interface ServingConfigOrBuilder
      Returns:
      A list containing the redirectControlIds.
    • getRedirectControlIdsCount

      public int getRedirectControlIdsCount()
       IDs of the redirect controls. Only the first triggered redirect
       action is applied, even if multiple apply. Maximum number of
       specifications is 100.
      
       Can only be set if
       [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is
       [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH].
       
      repeated string redirect_control_ids = 14;
      Specified by:
      getRedirectControlIdsCount in interface ServingConfigOrBuilder
      Returns:
      The count of redirectControlIds.
    • getRedirectControlIds

      public String getRedirectControlIds(int index)
       IDs of the redirect controls. Only the first triggered redirect
       action is applied, even if multiple apply. Maximum number of
       specifications is 100.
      
       Can only be set if
       [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is
       [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH].
       
      repeated string redirect_control_ids = 14;
      Specified by:
      getRedirectControlIds in interface ServingConfigOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The redirectControlIds at the given index.
    • getRedirectControlIdsBytes

      public com.google.protobuf.ByteString getRedirectControlIdsBytes(int index)
       IDs of the redirect controls. Only the first triggered redirect
       action is applied, even if multiple apply. Maximum number of
       specifications is 100.
      
       Can only be set if
       [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is
       [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH].
       
      repeated string redirect_control_ids = 14;
      Specified by:
      getRedirectControlIdsBytes in interface ServingConfigOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the redirectControlIds at the given index.
    • setRedirectControlIds

      public ServingConfig.Builder setRedirectControlIds(int index, String value)
       IDs of the redirect controls. Only the first triggered redirect
       action is applied, even if multiple apply. Maximum number of
       specifications is 100.
      
       Can only be set if
       [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is
       [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH].
       
      repeated string redirect_control_ids = 14;
      Parameters:
      index - The index to set the value at.
      value - The redirectControlIds to set.
      Returns:
      This builder for chaining.
    • addRedirectControlIds

      public ServingConfig.Builder addRedirectControlIds(String value)
       IDs of the redirect controls. Only the first triggered redirect
       action is applied, even if multiple apply. Maximum number of
       specifications is 100.
      
       Can only be set if
       [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is
       [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH].
       
      repeated string redirect_control_ids = 14;
      Parameters:
      value - The redirectControlIds to add.
      Returns:
      This builder for chaining.
    • addAllRedirectControlIds

      public ServingConfig.Builder addAllRedirectControlIds(Iterable<String> values)
       IDs of the redirect controls. Only the first triggered redirect
       action is applied, even if multiple apply. Maximum number of
       specifications is 100.
      
       Can only be set if
       [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is
       [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH].
       
      repeated string redirect_control_ids = 14;
      Parameters:
      values - The redirectControlIds to add.
      Returns:
      This builder for chaining.
    • clearRedirectControlIds

      public ServingConfig.Builder clearRedirectControlIds()
       IDs of the redirect controls. Only the first triggered redirect
       action is applied, even if multiple apply. Maximum number of
       specifications is 100.
      
       Can only be set if
       [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is
       [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH].
       
      repeated string redirect_control_ids = 14;
      Returns:
      This builder for chaining.
    • addRedirectControlIdsBytes

      public ServingConfig.Builder addRedirectControlIdsBytes(com.google.protobuf.ByteString value)
       IDs of the redirect controls. Only the first triggered redirect
       action is applied, even if multiple apply. Maximum number of
       specifications is 100.
      
       Can only be set if
       [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is
       [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH].
       
      repeated string redirect_control_ids = 14;
      Parameters:
      value - The bytes of the redirectControlIds to add.
      Returns:
      This builder for chaining.
    • getSynonymsControlIdsList

      public com.google.protobuf.ProtocolStringList getSynonymsControlIdsList()
       Condition synonyms specifications. If multiple synonyms conditions
       match, all matching synonyms controls in the list will execute.
       Maximum number of specifications is 100.
      
       Can only be set if
       [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is
       [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH].
       
      repeated string synonyms_control_ids = 15;
      Specified by:
      getSynonymsControlIdsList in interface ServingConfigOrBuilder
      Returns:
      A list containing the synonymsControlIds.
    • getSynonymsControlIdsCount

      public int getSynonymsControlIdsCount()
       Condition synonyms specifications. If multiple synonyms conditions
       match, all matching synonyms controls in the list will execute.
       Maximum number of specifications is 100.
      
       Can only be set if
       [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is
       [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH].
       
      repeated string synonyms_control_ids = 15;
      Specified by:
      getSynonymsControlIdsCount in interface ServingConfigOrBuilder
      Returns:
      The count of synonymsControlIds.
    • getSynonymsControlIds

      public String getSynonymsControlIds(int index)
       Condition synonyms specifications. If multiple synonyms conditions
       match, all matching synonyms controls in the list will execute.
       Maximum number of specifications is 100.
      
       Can only be set if
       [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is
       [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH].
       
      repeated string synonyms_control_ids = 15;
      Specified by:
      getSynonymsControlIds in interface ServingConfigOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The synonymsControlIds at the given index.
    • getSynonymsControlIdsBytes

      public com.google.protobuf.ByteString getSynonymsControlIdsBytes(int index)
       Condition synonyms specifications. If multiple synonyms conditions
       match, all matching synonyms controls in the list will execute.
       Maximum number of specifications is 100.
      
       Can only be set if
       [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is
       [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH].
       
      repeated string synonyms_control_ids = 15;
      Specified by:
      getSynonymsControlIdsBytes in interface ServingConfigOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the synonymsControlIds at the given index.
    • setSynonymsControlIds

      public ServingConfig.Builder setSynonymsControlIds(int index, String value)
       Condition synonyms specifications. If multiple synonyms conditions
       match, all matching synonyms controls in the list will execute.
       Maximum number of specifications is 100.
      
       Can only be set if
       [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is
       [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH].
       
      repeated string synonyms_control_ids = 15;
      Parameters:
      index - The index to set the value at.
      value - The synonymsControlIds to set.
      Returns:
      This builder for chaining.
    • addSynonymsControlIds

      public ServingConfig.Builder addSynonymsControlIds(String value)
       Condition synonyms specifications. If multiple synonyms conditions
       match, all matching synonyms controls in the list will execute.
       Maximum number of specifications is 100.
      
       Can only be set if
       [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is
       [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH].
       
      repeated string synonyms_control_ids = 15;
      Parameters:
      value - The synonymsControlIds to add.
      Returns:
      This builder for chaining.
    • addAllSynonymsControlIds

      public ServingConfig.Builder addAllSynonymsControlIds(Iterable<String> values)
       Condition synonyms specifications. If multiple synonyms conditions
       match, all matching synonyms controls in the list will execute.
       Maximum number of specifications is 100.
      
       Can only be set if
       [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is
       [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH].
       
      repeated string synonyms_control_ids = 15;
      Parameters:
      values - The synonymsControlIds to add.
      Returns:
      This builder for chaining.
    • clearSynonymsControlIds

      public ServingConfig.Builder clearSynonymsControlIds()
       Condition synonyms specifications. If multiple synonyms conditions
       match, all matching synonyms controls in the list will execute.
       Maximum number of specifications is 100.
      
       Can only be set if
       [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is
       [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH].
       
      repeated string synonyms_control_ids = 15;
      Returns:
      This builder for chaining.
    • addSynonymsControlIdsBytes

      public ServingConfig.Builder addSynonymsControlIdsBytes(com.google.protobuf.ByteString value)
       Condition synonyms specifications. If multiple synonyms conditions
       match, all matching synonyms controls in the list will execute.
       Maximum number of specifications is 100.
      
       Can only be set if
       [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is
       [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH].
       
      repeated string synonyms_control_ids = 15;
      Parameters:
      value - The bytes of the synonymsControlIds to add.
      Returns:
      This builder for chaining.
    • getOnewaySynonymsControlIdsList

      public com.google.protobuf.ProtocolStringList getOnewaySynonymsControlIdsList()
       Condition oneway synonyms specifications. If multiple oneway synonyms
       conditions match, all matching oneway synonyms controls in the list
       will execute. Maximum number of specifications is 100.
      
       Can only be set if
       [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is
       [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH].
       
      repeated string oneway_synonyms_control_ids = 16;
      Specified by:
      getOnewaySynonymsControlIdsList in interface ServingConfigOrBuilder
      Returns:
      A list containing the onewaySynonymsControlIds.
    • getOnewaySynonymsControlIdsCount

      public int getOnewaySynonymsControlIdsCount()
       Condition oneway synonyms specifications. If multiple oneway synonyms
       conditions match, all matching oneway synonyms controls in the list
       will execute. Maximum number of specifications is 100.
      
       Can only be set if
       [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is
       [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH].
       
      repeated string oneway_synonyms_control_ids = 16;
      Specified by:
      getOnewaySynonymsControlIdsCount in interface ServingConfigOrBuilder
      Returns:
      The count of onewaySynonymsControlIds.
    • getOnewaySynonymsControlIds

      public String getOnewaySynonymsControlIds(int index)
       Condition oneway synonyms specifications. If multiple oneway synonyms
       conditions match, all matching oneway synonyms controls in the list
       will execute. Maximum number of specifications is 100.
      
       Can only be set if
       [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is
       [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH].
       
      repeated string oneway_synonyms_control_ids = 16;
      Specified by:
      getOnewaySynonymsControlIds in interface ServingConfigOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The onewaySynonymsControlIds at the given index.
    • getOnewaySynonymsControlIdsBytes

      public com.google.protobuf.ByteString getOnewaySynonymsControlIdsBytes(int index)
       Condition oneway synonyms specifications. If multiple oneway synonyms
       conditions match, all matching oneway synonyms controls in the list
       will execute. Maximum number of specifications is 100.
      
       Can only be set if
       [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is
       [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH].
       
      repeated string oneway_synonyms_control_ids = 16;
      Specified by:
      getOnewaySynonymsControlIdsBytes in interface ServingConfigOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the onewaySynonymsControlIds at the given index.
    • setOnewaySynonymsControlIds

      public ServingConfig.Builder setOnewaySynonymsControlIds(int index, String value)
       Condition oneway synonyms specifications. If multiple oneway synonyms
       conditions match, all matching oneway synonyms controls in the list
       will execute. Maximum number of specifications is 100.
      
       Can only be set if
       [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is
       [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH].
       
      repeated string oneway_synonyms_control_ids = 16;
      Parameters:
      index - The index to set the value at.
      value - The onewaySynonymsControlIds to set.
      Returns:
      This builder for chaining.
    • addOnewaySynonymsControlIds

      public ServingConfig.Builder addOnewaySynonymsControlIds(String value)
       Condition oneway synonyms specifications. If multiple oneway synonyms
       conditions match, all matching oneway synonyms controls in the list
       will execute. Maximum number of specifications is 100.
      
       Can only be set if
       [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is
       [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH].
       
      repeated string oneway_synonyms_control_ids = 16;
      Parameters:
      value - The onewaySynonymsControlIds to add.
      Returns:
      This builder for chaining.
    • addAllOnewaySynonymsControlIds

      public ServingConfig.Builder addAllOnewaySynonymsControlIds(Iterable<String> values)
       Condition oneway synonyms specifications. If multiple oneway synonyms
       conditions match, all matching oneway synonyms controls in the list
       will execute. Maximum number of specifications is 100.
      
       Can only be set if
       [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is
       [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH].
       
      repeated string oneway_synonyms_control_ids = 16;
      Parameters:
      values - The onewaySynonymsControlIds to add.
      Returns:
      This builder for chaining.
    • clearOnewaySynonymsControlIds

      public ServingConfig.Builder clearOnewaySynonymsControlIds()
       Condition oneway synonyms specifications. If multiple oneway synonyms
       conditions match, all matching oneway synonyms controls in the list
       will execute. Maximum number of specifications is 100.
      
       Can only be set if
       [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is
       [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH].
       
      repeated string oneway_synonyms_control_ids = 16;
      Returns:
      This builder for chaining.
    • addOnewaySynonymsControlIdsBytes

      public ServingConfig.Builder addOnewaySynonymsControlIdsBytes(com.google.protobuf.ByteString value)
       Condition oneway synonyms specifications. If multiple oneway synonyms
       conditions match, all matching oneway synonyms controls in the list
       will execute. Maximum number of specifications is 100.
      
       Can only be set if
       [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is
       [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH].
       
      repeated string oneway_synonyms_control_ids = 16;
      Parameters:
      value - The bytes of the onewaySynonymsControlIds to add.
      Returns:
      This builder for chaining.
    • getDissociateControlIdsList

      public com.google.protobuf.ProtocolStringList getDissociateControlIdsList()
       Condition do not associate specifications. If multiple do not
       associate conditions match, all matching do not associate controls in
       the list will execute.
       Order does not matter.
       Maximum number of specifications is 100.
      
       Can only be set if
       [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is
       [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH].
       
      repeated string dissociate_control_ids = 17;
      Specified by:
      getDissociateControlIdsList in interface ServingConfigOrBuilder
      Returns:
      A list containing the dissociateControlIds.
    • getDissociateControlIdsCount

      public int getDissociateControlIdsCount()
       Condition do not associate specifications. If multiple do not
       associate conditions match, all matching do not associate controls in
       the list will execute.
       Order does not matter.
       Maximum number of specifications is 100.
      
       Can only be set if
       [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is
       [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH].
       
      repeated string dissociate_control_ids = 17;
      Specified by:
      getDissociateControlIdsCount in interface ServingConfigOrBuilder
      Returns:
      The count of dissociateControlIds.
    • getDissociateControlIds

      public String getDissociateControlIds(int index)
       Condition do not associate specifications. If multiple do not
       associate conditions match, all matching do not associate controls in
       the list will execute.
       Order does not matter.
       Maximum number of specifications is 100.
      
       Can only be set if
       [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is
       [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH].
       
      repeated string dissociate_control_ids = 17;
      Specified by:
      getDissociateControlIds in interface ServingConfigOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The dissociateControlIds at the given index.
    • getDissociateControlIdsBytes

      public com.google.protobuf.ByteString getDissociateControlIdsBytes(int index)
       Condition do not associate specifications. If multiple do not
       associate conditions match, all matching do not associate controls in
       the list will execute.
       Order does not matter.
       Maximum number of specifications is 100.
      
       Can only be set if
       [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is
       [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH].
       
      repeated string dissociate_control_ids = 17;
      Specified by:
      getDissociateControlIdsBytes in interface ServingConfigOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the dissociateControlIds at the given index.
    • setDissociateControlIds

      public ServingConfig.Builder setDissociateControlIds(int index, String value)
       Condition do not associate specifications. If multiple do not
       associate conditions match, all matching do not associate controls in
       the list will execute.
       Order does not matter.
       Maximum number of specifications is 100.
      
       Can only be set if
       [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is
       [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH].
       
      repeated string dissociate_control_ids = 17;
      Parameters:
      index - The index to set the value at.
      value - The dissociateControlIds to set.
      Returns:
      This builder for chaining.
    • addDissociateControlIds

      public ServingConfig.Builder addDissociateControlIds(String value)
       Condition do not associate specifications. If multiple do not
       associate conditions match, all matching do not associate controls in
       the list will execute.
       Order does not matter.
       Maximum number of specifications is 100.
      
       Can only be set if
       [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is
       [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH].
       
      repeated string dissociate_control_ids = 17;
      Parameters:
      value - The dissociateControlIds to add.
      Returns:
      This builder for chaining.
    • addAllDissociateControlIds

      public ServingConfig.Builder addAllDissociateControlIds(Iterable<String> values)
       Condition do not associate specifications. If multiple do not
       associate conditions match, all matching do not associate controls in
       the list will execute.
       Order does not matter.
       Maximum number of specifications is 100.
      
       Can only be set if
       [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is
       [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH].
       
      repeated string dissociate_control_ids = 17;
      Parameters:
      values - The dissociateControlIds to add.
      Returns:
      This builder for chaining.
    • clearDissociateControlIds

      public ServingConfig.Builder clearDissociateControlIds()
       Condition do not associate specifications. If multiple do not
       associate conditions match, all matching do not associate controls in
       the list will execute.
       Order does not matter.
       Maximum number of specifications is 100.
      
       Can only be set if
       [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is
       [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH].
       
      repeated string dissociate_control_ids = 17;
      Returns:
      This builder for chaining.
    • addDissociateControlIdsBytes

      public ServingConfig.Builder addDissociateControlIdsBytes(com.google.protobuf.ByteString value)
       Condition do not associate specifications. If multiple do not
       associate conditions match, all matching do not associate controls in
       the list will execute.
       Order does not matter.
       Maximum number of specifications is 100.
      
       Can only be set if
       [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is
       [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH].
       
      repeated string dissociate_control_ids = 17;
      Parameters:
      value - The bytes of the dissociateControlIds to add.
      Returns:
      This builder for chaining.
    • getReplacementControlIdsList

      public com.google.protobuf.ProtocolStringList getReplacementControlIdsList()
       Condition replacement specifications.
       Applied according to the order in the list.
       A previously replaced term can not be re-replaced.
       Maximum number of specifications is 100.
      
       Can only be set if
       [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is
       [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH].
       
      repeated string replacement_control_ids = 18;
      Specified by:
      getReplacementControlIdsList in interface ServingConfigOrBuilder
      Returns:
      A list containing the replacementControlIds.
    • getReplacementControlIdsCount

      public int getReplacementControlIdsCount()
       Condition replacement specifications.
       Applied according to the order in the list.
       A previously replaced term can not be re-replaced.
       Maximum number of specifications is 100.
      
       Can only be set if
       [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is
       [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH].
       
      repeated string replacement_control_ids = 18;
      Specified by:
      getReplacementControlIdsCount in interface ServingConfigOrBuilder
      Returns:
      The count of replacementControlIds.
    • getReplacementControlIds

      public String getReplacementControlIds(int index)
       Condition replacement specifications.
       Applied according to the order in the list.
       A previously replaced term can not be re-replaced.
       Maximum number of specifications is 100.
      
       Can only be set if
       [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is
       [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH].
       
      repeated string replacement_control_ids = 18;
      Specified by:
      getReplacementControlIds in interface ServingConfigOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The replacementControlIds at the given index.
    • getReplacementControlIdsBytes

      public com.google.protobuf.ByteString getReplacementControlIdsBytes(int index)
       Condition replacement specifications.
       Applied according to the order in the list.
       A previously replaced term can not be re-replaced.
       Maximum number of specifications is 100.
      
       Can only be set if
       [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is
       [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH].
       
      repeated string replacement_control_ids = 18;
      Specified by:
      getReplacementControlIdsBytes in interface ServingConfigOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the replacementControlIds at the given index.
    • setReplacementControlIds

      public ServingConfig.Builder setReplacementControlIds(int index, String value)
       Condition replacement specifications.
       Applied according to the order in the list.
       A previously replaced term can not be re-replaced.
       Maximum number of specifications is 100.
      
       Can only be set if
       [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is
       [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH].
       
      repeated string replacement_control_ids = 18;
      Parameters:
      index - The index to set the value at.
      value - The replacementControlIds to set.
      Returns:
      This builder for chaining.
    • addReplacementControlIds

      public ServingConfig.Builder addReplacementControlIds(String value)
       Condition replacement specifications.
       Applied according to the order in the list.
       A previously replaced term can not be re-replaced.
       Maximum number of specifications is 100.
      
       Can only be set if
       [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is
       [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH].
       
      repeated string replacement_control_ids = 18;
      Parameters:
      value - The replacementControlIds to add.
      Returns:
      This builder for chaining.
    • addAllReplacementControlIds

      public ServingConfig.Builder addAllReplacementControlIds(Iterable<String> values)
       Condition replacement specifications.
       Applied according to the order in the list.
       A previously replaced term can not be re-replaced.
       Maximum number of specifications is 100.
      
       Can only be set if
       [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is
       [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH].
       
      repeated string replacement_control_ids = 18;
      Parameters:
      values - The replacementControlIds to add.
      Returns:
      This builder for chaining.
    • clearReplacementControlIds

      public ServingConfig.Builder clearReplacementControlIds()
       Condition replacement specifications.
       Applied according to the order in the list.
       A previously replaced term can not be re-replaced.
       Maximum number of specifications is 100.
      
       Can only be set if
       [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is
       [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH].
       
      repeated string replacement_control_ids = 18;
      Returns:
      This builder for chaining.
    • addReplacementControlIdsBytes

      public ServingConfig.Builder addReplacementControlIdsBytes(com.google.protobuf.ByteString value)
       Condition replacement specifications.
       Applied according to the order in the list.
       A previously replaced term can not be re-replaced.
       Maximum number of specifications is 100.
      
       Can only be set if
       [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is
       [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH].
       
      repeated string replacement_control_ids = 18;
      Parameters:
      value - The bytes of the replacementControlIds to add.
      Returns:
      This builder for chaining.
    • getIgnoreControlIdsList

      public com.google.protobuf.ProtocolStringList getIgnoreControlIdsList()
       Condition ignore specifications. If multiple ignore
       conditions match, all matching ignore controls in the list will
       execute.
       Order does not matter.
       Maximum number of specifications is 100.
       
      repeated string ignore_control_ids = 19;
      Specified by:
      getIgnoreControlIdsList in interface ServingConfigOrBuilder
      Returns:
      A list containing the ignoreControlIds.
    • getIgnoreControlIdsCount

      public int getIgnoreControlIdsCount()
       Condition ignore specifications. If multiple ignore
       conditions match, all matching ignore controls in the list will
       execute.
       Order does not matter.
       Maximum number of specifications is 100.
       
      repeated string ignore_control_ids = 19;
      Specified by:
      getIgnoreControlIdsCount in interface ServingConfigOrBuilder
      Returns:
      The count of ignoreControlIds.
    • getIgnoreControlIds

      public String getIgnoreControlIds(int index)
       Condition ignore specifications. If multiple ignore
       conditions match, all matching ignore controls in the list will
       execute.
       Order does not matter.
       Maximum number of specifications is 100.
       
      repeated string ignore_control_ids = 19;
      Specified by:
      getIgnoreControlIds in interface ServingConfigOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The ignoreControlIds at the given index.
    • getIgnoreControlIdsBytes

      public com.google.protobuf.ByteString getIgnoreControlIdsBytes(int index)
       Condition ignore specifications. If multiple ignore
       conditions match, all matching ignore controls in the list will
       execute.
       Order does not matter.
       Maximum number of specifications is 100.
       
      repeated string ignore_control_ids = 19;
      Specified by:
      getIgnoreControlIdsBytes in interface ServingConfigOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the ignoreControlIds at the given index.
    • setIgnoreControlIds

      public ServingConfig.Builder setIgnoreControlIds(int index, String value)
       Condition ignore specifications. If multiple ignore
       conditions match, all matching ignore controls in the list will
       execute.
       Order does not matter.
       Maximum number of specifications is 100.
       
      repeated string ignore_control_ids = 19;
      Parameters:
      index - The index to set the value at.
      value - The ignoreControlIds to set.
      Returns:
      This builder for chaining.
    • addIgnoreControlIds

      public ServingConfig.Builder addIgnoreControlIds(String value)
       Condition ignore specifications. If multiple ignore
       conditions match, all matching ignore controls in the list will
       execute.
       Order does not matter.
       Maximum number of specifications is 100.
       
      repeated string ignore_control_ids = 19;
      Parameters:
      value - The ignoreControlIds to add.
      Returns:
      This builder for chaining.
    • addAllIgnoreControlIds

      public ServingConfig.Builder addAllIgnoreControlIds(Iterable<String> values)
       Condition ignore specifications. If multiple ignore
       conditions match, all matching ignore controls in the list will
       execute.
       Order does not matter.
       Maximum number of specifications is 100.
       
      repeated string ignore_control_ids = 19;
      Parameters:
      values - The ignoreControlIds to add.
      Returns:
      This builder for chaining.
    • clearIgnoreControlIds

      public ServingConfig.Builder clearIgnoreControlIds()
       Condition ignore specifications. If multiple ignore
       conditions match, all matching ignore controls in the list will
       execute.
       Order does not matter.
       Maximum number of specifications is 100.
       
      repeated string ignore_control_ids = 19;
      Returns:
      This builder for chaining.
    • addIgnoreControlIdsBytes

      public ServingConfig.Builder addIgnoreControlIdsBytes(com.google.protobuf.ByteString value)
       Condition ignore specifications. If multiple ignore
       conditions match, all matching ignore controls in the list will
       execute.
       Order does not matter.
       Maximum number of specifications is 100.
       
      repeated string ignore_control_ids = 19;
      Parameters:
      value - The bytes of the ignoreControlIds to add.
      Returns:
      This builder for chaining.
    • hasPersonalizationSpec

      public boolean hasPersonalizationSpec()
       The specification for personalization spec.
      
       Notice that if both
       [ServingConfig.personalization_spec][google.cloud.discoveryengine.v1beta.ServingConfig.personalization_spec]
       and
       [SearchRequest.personalization_spec][google.cloud.discoveryengine.v1beta.SearchRequest.personalization_spec]
       are set,
       [SearchRequest.personalization_spec][google.cloud.discoveryengine.v1beta.SearchRequest.personalization_spec]
       overrides
       [ServingConfig.personalization_spec][google.cloud.discoveryengine.v1beta.ServingConfig.personalization_spec].
       
      .google.cloud.discoveryengine.v1beta.SearchRequest.PersonalizationSpec personalization_spec = 25;
      Specified by:
      hasPersonalizationSpec in interface ServingConfigOrBuilder
      Returns:
      Whether the personalizationSpec field is set.
    • getPersonalizationSpec

      public SearchRequest.PersonalizationSpec getPersonalizationSpec()
       The specification for personalization spec.
      
       Notice that if both
       [ServingConfig.personalization_spec][google.cloud.discoveryengine.v1beta.ServingConfig.personalization_spec]
       and
       [SearchRequest.personalization_spec][google.cloud.discoveryengine.v1beta.SearchRequest.personalization_spec]
       are set,
       [SearchRequest.personalization_spec][google.cloud.discoveryengine.v1beta.SearchRequest.personalization_spec]
       overrides
       [ServingConfig.personalization_spec][google.cloud.discoveryengine.v1beta.ServingConfig.personalization_spec].
       
      .google.cloud.discoveryengine.v1beta.SearchRequest.PersonalizationSpec personalization_spec = 25;
      Specified by:
      getPersonalizationSpec in interface ServingConfigOrBuilder
      Returns:
      The personalizationSpec.
    • setPersonalizationSpec

      public ServingConfig.Builder setPersonalizationSpec(SearchRequest.PersonalizationSpec value)
       The specification for personalization spec.
      
       Notice that if both
       [ServingConfig.personalization_spec][google.cloud.discoveryengine.v1beta.ServingConfig.personalization_spec]
       and
       [SearchRequest.personalization_spec][google.cloud.discoveryengine.v1beta.SearchRequest.personalization_spec]
       are set,
       [SearchRequest.personalization_spec][google.cloud.discoveryengine.v1beta.SearchRequest.personalization_spec]
       overrides
       [ServingConfig.personalization_spec][google.cloud.discoveryengine.v1beta.ServingConfig.personalization_spec].
       
      .google.cloud.discoveryengine.v1beta.SearchRequest.PersonalizationSpec personalization_spec = 25;
    • setPersonalizationSpec

      public ServingConfig.Builder setPersonalizationSpec(SearchRequest.PersonalizationSpec.Builder builderForValue)
       The specification for personalization spec.
      
       Notice that if both
       [ServingConfig.personalization_spec][google.cloud.discoveryengine.v1beta.ServingConfig.personalization_spec]
       and
       [SearchRequest.personalization_spec][google.cloud.discoveryengine.v1beta.SearchRequest.personalization_spec]
       are set,
       [SearchRequest.personalization_spec][google.cloud.discoveryengine.v1beta.SearchRequest.personalization_spec]
       overrides
       [ServingConfig.personalization_spec][google.cloud.discoveryengine.v1beta.ServingConfig.personalization_spec].
       
      .google.cloud.discoveryengine.v1beta.SearchRequest.PersonalizationSpec personalization_spec = 25;
    • mergePersonalizationSpec

      public ServingConfig.Builder mergePersonalizationSpec(SearchRequest.PersonalizationSpec value)
       The specification for personalization spec.
      
       Notice that if both
       [ServingConfig.personalization_spec][google.cloud.discoveryengine.v1beta.ServingConfig.personalization_spec]
       and
       [SearchRequest.personalization_spec][google.cloud.discoveryengine.v1beta.SearchRequest.personalization_spec]
       are set,
       [SearchRequest.personalization_spec][google.cloud.discoveryengine.v1beta.SearchRequest.personalization_spec]
       overrides
       [ServingConfig.personalization_spec][google.cloud.discoveryengine.v1beta.ServingConfig.personalization_spec].
       
      .google.cloud.discoveryengine.v1beta.SearchRequest.PersonalizationSpec personalization_spec = 25;
    • clearPersonalizationSpec

      public ServingConfig.Builder clearPersonalizationSpec()
       The specification for personalization spec.
      
       Notice that if both
       [ServingConfig.personalization_spec][google.cloud.discoveryengine.v1beta.ServingConfig.personalization_spec]
       and
       [SearchRequest.personalization_spec][google.cloud.discoveryengine.v1beta.SearchRequest.personalization_spec]
       are set,
       [SearchRequest.personalization_spec][google.cloud.discoveryengine.v1beta.SearchRequest.personalization_spec]
       overrides
       [ServingConfig.personalization_spec][google.cloud.discoveryengine.v1beta.ServingConfig.personalization_spec].
       
      .google.cloud.discoveryengine.v1beta.SearchRequest.PersonalizationSpec personalization_spec = 25;
    • getPersonalizationSpecBuilder

      public SearchRequest.PersonalizationSpec.Builder getPersonalizationSpecBuilder()
       The specification for personalization spec.
      
       Notice that if both
       [ServingConfig.personalization_spec][google.cloud.discoveryengine.v1beta.ServingConfig.personalization_spec]
       and
       [SearchRequest.personalization_spec][google.cloud.discoveryengine.v1beta.SearchRequest.personalization_spec]
       are set,
       [SearchRequest.personalization_spec][google.cloud.discoveryengine.v1beta.SearchRequest.personalization_spec]
       overrides
       [ServingConfig.personalization_spec][google.cloud.discoveryengine.v1beta.ServingConfig.personalization_spec].
       
      .google.cloud.discoveryengine.v1beta.SearchRequest.PersonalizationSpec personalization_spec = 25;
    • getPersonalizationSpecOrBuilder

      public SearchRequest.PersonalizationSpecOrBuilder getPersonalizationSpecOrBuilder()
       The specification for personalization spec.
      
       Notice that if both
       [ServingConfig.personalization_spec][google.cloud.discoveryengine.v1beta.ServingConfig.personalization_spec]
       and
       [SearchRequest.personalization_spec][google.cloud.discoveryengine.v1beta.SearchRequest.personalization_spec]
       are set,
       [SearchRequest.personalization_spec][google.cloud.discoveryengine.v1beta.SearchRequest.personalization_spec]
       overrides
       [ServingConfig.personalization_spec][google.cloud.discoveryengine.v1beta.ServingConfig.personalization_spec].
       
      .google.cloud.discoveryengine.v1beta.SearchRequest.PersonalizationSpec personalization_spec = 25;
      Specified by:
      getPersonalizationSpecOrBuilder in interface ServingConfigOrBuilder