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 Summary
Modifier and TypeMethodDescriptionaddAllBoostControlIds(Iterable<String> values) Boost controls to use in serving path.addAllDissociateControlIds(Iterable<String> values) Condition do not associate specifications.addAllFilterControlIds(Iterable<String> values) Filter controls to use in serving path.addAllIgnoreControlIds(Iterable<String> values) Condition ignore specifications.addAllOnewaySynonymsControlIds(Iterable<String> values) Condition oneway synonyms specifications.addAllRedirectControlIds(Iterable<String> values) IDs of the redirect controls.addAllReplacementControlIds(Iterable<String> values) Condition replacement specifications.addAllSynonymsControlIds(Iterable<String> values) Condition synonyms specifications.addBoostControlIds(String value) Boost controls to use in serving path.addBoostControlIdsBytes(com.google.protobuf.ByteString value) Boost controls to use in serving path.addDissociateControlIds(String value) Condition do not associate specifications.addDissociateControlIdsBytes(com.google.protobuf.ByteString value) Condition do not associate specifications.addFilterControlIds(String value) Filter controls to use in serving path.addFilterControlIdsBytes(com.google.protobuf.ByteString value) Filter controls to use in serving path.addIgnoreControlIds(String value) Condition ignore specifications.addIgnoreControlIdsBytes(com.google.protobuf.ByteString value) Condition ignore specifications.Condition oneway synonyms specifications.addOnewaySynonymsControlIdsBytes(com.google.protobuf.ByteString value) Condition oneway synonyms specifications.addRedirectControlIds(String value) IDs of the redirect controls.addRedirectControlIdsBytes(com.google.protobuf.ByteString value) IDs of the redirect controls.addReplacementControlIds(String value) Condition replacement specifications.addReplacementControlIdsBytes(com.google.protobuf.ByteString value) Condition replacement specifications.addSynonymsControlIds(String value) Condition synonyms specifications.addSynonymsControlIdsBytes(com.google.protobuf.ByteString value) Condition synonyms specifications.build()clear()Boost controls to use in serving path.Output only.Required.Condition do not associate specifications.How much diversity to use in recommendation model results e.g.Bring your own embedding config.Filter controls to use in serving path.The GenericConfig of the serving configuration.Condition ignore specifications.The MediaConfig of the serving configuration.The id of the model to use at serving time.Immutable.Condition oneway synonyms specifications.The specification for personalization spec.The ranking expression controls the customized ranking on retrieval documents.IDs of the redirect controls.Condition replacement specifications.Required.Condition synonyms specifications.Output only.getBoostControlIds(int index) Boost controls to use in serving path.com.google.protobuf.ByteStringgetBoostControlIdsBytes(int index) Boost controls to use in serving path.intBoost controls to use in serving path.com.google.protobuf.ProtocolStringListBoost controls to use in serving path.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorRequired.com.google.protobuf.ByteStringRequired.getDissociateControlIds(int index) Condition do not associate specifications.com.google.protobuf.ByteStringgetDissociateControlIdsBytes(int index) Condition do not associate specifications.intCondition do not associate specifications.com.google.protobuf.ProtocolStringListCondition do not associate specifications.How much diversity to use in recommendation model results e.g.com.google.protobuf.ByteStringHow much diversity to use in recommendation model results e.g.Bring your own embedding config.Bring your own embedding config.Bring your own embedding config.getFilterControlIds(int index) Filter controls to use in serving path.com.google.protobuf.ByteStringgetFilterControlIdsBytes(int index) Filter controls to use in serving path.intFilter controls to use in serving path.com.google.protobuf.ProtocolStringListFilter controls to use in serving path.The GenericConfig of the serving configuration.The GenericConfig of the serving configuration.The GenericConfig of the serving configuration.getIgnoreControlIds(int index) Condition ignore specifications.com.google.protobuf.ByteStringgetIgnoreControlIdsBytes(int index) Condition ignore specifications.intCondition ignore specifications.com.google.protobuf.ProtocolStringListCondition ignore specifications.The MediaConfig of the serving configuration.The MediaConfig of the serving configuration.The MediaConfig of the serving configuration.The id of the model to use at serving time.com.google.protobuf.ByteStringThe id of the model to use at serving time.getName()Immutable.com.google.protobuf.ByteStringImmutable.getOnewaySynonymsControlIds(int index) Condition oneway synonyms specifications.com.google.protobuf.ByteStringgetOnewaySynonymsControlIdsBytes(int index) Condition oneway synonyms specifications.intCondition oneway synonyms specifications.com.google.protobuf.ProtocolStringListCondition oneway synonyms specifications.The specification for personalization spec.The specification for personalization spec.The specification for personalization spec.The ranking expression controls the customized ranking on retrieval documents.com.google.protobuf.ByteStringThe ranking expression controls the customized ranking on retrieval documents.getRedirectControlIds(int index) IDs of the redirect controls.com.google.protobuf.ByteStringgetRedirectControlIdsBytes(int index) IDs of the redirect controls.intIDs of the redirect controls.com.google.protobuf.ProtocolStringListIDs of the redirect controls.getReplacementControlIds(int index) Condition replacement specifications.com.google.protobuf.ByteStringgetReplacementControlIdsBytes(int index) Condition replacement specifications.intCondition replacement specifications.com.google.protobuf.ProtocolStringListCondition replacement specifications.Required.intRequired.getSynonymsControlIds(int index) Condition synonyms specifications.com.google.protobuf.ByteStringgetSynonymsControlIdsBytes(int index) Condition synonyms specifications.intCondition synonyms specifications.com.google.protobuf.ProtocolStringListCondition synonyms specifications.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.booleanBring your own embedding config.booleanThe GenericConfig of the serving configuration.booleanThe MediaConfig of the serving configuration.booleanThe specification for personalization spec.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeCreateTime(com.google.protobuf.Timestamp value) Output only.Bring your own embedding config.mergeFrom(ServingConfig other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) The GenericConfig of the serving configuration.The MediaConfig of the serving configuration.The specification for personalization spec.mergeUpdateTime(com.google.protobuf.Timestamp value) Output only.setBoostControlIds(int index, String value) Boost controls to use in serving path.setCreateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setDisplayName(String value) Required.setDisplayNameBytes(com.google.protobuf.ByteString value) Required.setDissociateControlIds(int index, String value) Condition do not associate specifications.setDiversityLevel(String value) How much diversity to use in recommendation model results e.g.setDiversityLevelBytes(com.google.protobuf.ByteString value) How much diversity to use in recommendation model results e.g.Bring your own embedding config.setEmbeddingConfig(EmbeddingConfig.Builder builderForValue) Bring your own embedding config.setFilterControlIds(int index, String value) Filter controls to use in serving path.The GenericConfig of the serving configuration.setGenericConfig(ServingConfig.GenericConfig.Builder builderForValue) The GenericConfig of the serving configuration.setIgnoreControlIds(int index, String value) Condition ignore specifications.The MediaConfig of the serving configuration.setMediaConfig(ServingConfig.MediaConfig.Builder builderForValue) The MediaConfig of the serving configuration.setModelId(String value) The id of the model to use at serving time.setModelIdBytes(com.google.protobuf.ByteString value) The id of the model to use at serving time.Immutable.setNameBytes(com.google.protobuf.ByteString value) Immutable.setOnewaySynonymsControlIds(int index, String value) Condition oneway synonyms specifications.The specification for personalization spec.setPersonalizationSpec(SearchRequest.PersonalizationSpec.Builder builderForValue) The specification for personalization spec.setRankingExpression(String value) The ranking expression controls the customized ranking on retrieval documents.setRankingExpressionBytes(com.google.protobuf.ByteString value) The ranking expression controls the customized ranking on retrieval documents.setRedirectControlIds(int index, String value) IDs of the redirect controls.setReplacementControlIds(int index, String value) Condition replacement specifications.setSolutionType(SolutionType value) Required.setSolutionTypeValue(int value) Required.setSynonymsControlIds(int index, String value) Condition synonyms specifications.setUpdateTime(com.google.protobuf.Timestamp value) Output only.setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ServingConfig.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ServingConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ServingConfig.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ServingConfig.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ServingConfig.Builder>- Throws:
IOException
-
getVerticalConfigCase
- Specified by:
getVerticalConfigCasein interfaceServingConfigOrBuilder
-
clearVerticalConfig
-
hasMediaConfig
public boolean hasMediaConfig()The MediaConfig of the serving configuration.
.google.cloud.discoveryengine.v1beta.ServingConfig.MediaConfig media_config = 7;- Specified by:
hasMediaConfigin interfaceServingConfigOrBuilder- Returns:
- Whether the mediaConfig field is set.
-
getMediaConfig
The MediaConfig of the serving configuration.
.google.cloud.discoveryengine.v1beta.ServingConfig.MediaConfig media_config = 7;- Specified by:
getMediaConfigin interfaceServingConfigOrBuilder- Returns:
- The mediaConfig.
-
setMediaConfig
The MediaConfig of the serving configuration.
.google.cloud.discoveryengine.v1beta.ServingConfig.MediaConfig media_config = 7; -
setMediaConfig
The MediaConfig of the serving configuration.
.google.cloud.discoveryengine.v1beta.ServingConfig.MediaConfig media_config = 7; -
mergeMediaConfig
The MediaConfig of the serving configuration.
.google.cloud.discoveryengine.v1beta.ServingConfig.MediaConfig media_config = 7; -
clearMediaConfig
The MediaConfig of the serving configuration.
.google.cloud.discoveryengine.v1beta.ServingConfig.MediaConfig media_config = 7; -
getMediaConfigBuilder
The MediaConfig of the serving configuration.
.google.cloud.discoveryengine.v1beta.ServingConfig.MediaConfig media_config = 7; -
getMediaConfigOrBuilder
The MediaConfig of the serving configuration.
.google.cloud.discoveryengine.v1beta.ServingConfig.MediaConfig media_config = 7;- Specified by:
getMediaConfigOrBuilderin interfaceServingConfigOrBuilder
-
hasGenericConfig
public boolean hasGenericConfig()The GenericConfig of the serving configuration.
.google.cloud.discoveryengine.v1beta.ServingConfig.GenericConfig generic_config = 10;- Specified by:
hasGenericConfigin interfaceServingConfigOrBuilder- Returns:
- Whether the genericConfig field is set.
-
getGenericConfig
The GenericConfig of the serving configuration.
.google.cloud.discoveryengine.v1beta.ServingConfig.GenericConfig generic_config = 10;- Specified by:
getGenericConfigin interfaceServingConfigOrBuilder- Returns:
- The genericConfig.
-
setGenericConfig
The GenericConfig of the serving configuration.
.google.cloud.discoveryengine.v1beta.ServingConfig.GenericConfig generic_config = 10; -
setGenericConfig
The GenericConfig of the serving configuration.
.google.cloud.discoveryengine.v1beta.ServingConfig.GenericConfig generic_config = 10; -
mergeGenericConfig
The GenericConfig of the serving configuration.
.google.cloud.discoveryengine.v1beta.ServingConfig.GenericConfig generic_config = 10; -
clearGenericConfig
The GenericConfig of the serving configuration.
.google.cloud.discoveryengine.v1beta.ServingConfig.GenericConfig generic_config = 10; -
getGenericConfigBuilder
The GenericConfig of the serving configuration.
.google.cloud.discoveryengine.v1beta.ServingConfig.GenericConfig generic_config = 10; -
getGenericConfigOrBuilder
The GenericConfig of the serving configuration.
.google.cloud.discoveryengine.v1beta.ServingConfig.GenericConfig generic_config = 10;- Specified by:
getGenericConfigOrBuilderin interfaceServingConfigOrBuilder
-
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:
getNamein interfaceServingConfigOrBuilder- 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:
getNameBytesin interfaceServingConfigOrBuilder- Returns:
- The bytes for name.
-
setName
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
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
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
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:
getDisplayNamein interfaceServingConfigOrBuilder- 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:
getDisplayNameBytesin interfaceServingConfigOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
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
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
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:
getSolutionTypeValuein interfaceServingConfigOrBuilder- Returns:
- The enum numeric value on the wire for solutionType.
-
setSolutionTypeValue
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
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:
getSolutionTypein interfaceServingConfigOrBuilder- Returns:
- The solutionType.
-
setSolutionType
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
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
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:
getModelIdin interfaceServingConfigOrBuilder- 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:
getModelIdBytesin interfaceServingConfigOrBuilder- Returns:
- The bytes for modelId.
-
setModelId
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
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
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
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:
getDiversityLevelin interfaceServingConfigOrBuilder- 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:
getDiversityLevelBytesin interfaceServingConfigOrBuilder- Returns:
- The bytes for diversityLevel.
-
setDiversityLevel
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
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
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:
hasEmbeddingConfigin interfaceServingConfigOrBuilder- Returns:
- Whether the embeddingConfig field is set.
-
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:
getEmbeddingConfigin interfaceServingConfigOrBuilder- Returns:
- The embeddingConfig.
-
setEmbeddingConfig
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
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
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
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
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
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:
getEmbeddingConfigOrBuilderin interfaceServingConfigOrBuilder
-
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:
getRankingExpressionin interfaceServingConfigOrBuilder- 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:
getRankingExpressionBytesin interfaceServingConfigOrBuilder- Returns:
- The bytes for rankingExpression.
-
setRankingExpression
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
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
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:
hasCreateTimein interfaceServingConfigOrBuilder- 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:
getCreateTimein interfaceServingConfigOrBuilder- Returns:
- The createTime.
-
setCreateTime
Output only. ServingConfig created timestamp.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCreateTime
Output only. ServingConfig created timestamp.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCreateTime
Output only. ServingConfig created timestamp.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
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:
getCreateTimeOrBuilderin interfaceServingConfigOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()Output only. ServingConfig updated timestamp.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceServingConfigOrBuilder- 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:
getUpdateTimein interfaceServingConfigOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
Output only. ServingConfig updated timestamp.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setUpdateTime
Output only. ServingConfig updated timestamp.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeUpdateTime
Output only. ServingConfig updated timestamp.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
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:
getUpdateTimeOrBuilderin interfaceServingConfigOrBuilder
-
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:
getFilterControlIdsListin interfaceServingConfigOrBuilder- 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:
getFilterControlIdsCountin interfaceServingConfigOrBuilder- Returns:
- The count of filterControlIds.
-
getFilterControlIds
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:
getFilterControlIdsin interfaceServingConfigOrBuilder- 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:
getFilterControlIdsBytesin interfaceServingConfigOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the filterControlIds at the given index.
-
setFilterControlIds
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
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
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
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
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:
getBoostControlIdsListin interfaceServingConfigOrBuilder- 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:
getBoostControlIdsCountin interfaceServingConfigOrBuilder- Returns:
- The count of boostControlIds.
-
getBoostControlIds
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:
getBoostControlIdsin interfaceServingConfigOrBuilder- 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:
getBoostControlIdsBytesin interfaceServingConfigOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the boostControlIds at the given index.
-
setBoostControlIds
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
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
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
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
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:
getRedirectControlIdsListin interfaceServingConfigOrBuilder- 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:
getRedirectControlIdsCountin interfaceServingConfigOrBuilder- Returns:
- The count of redirectControlIds.
-
getRedirectControlIds
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:
getRedirectControlIdsin interfaceServingConfigOrBuilder- 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:
getRedirectControlIdsBytesin interfaceServingConfigOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the redirectControlIds at the given index.
-
setRedirectControlIds
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
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
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
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
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:
getSynonymsControlIdsListin interfaceServingConfigOrBuilder- 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:
getSynonymsControlIdsCountin interfaceServingConfigOrBuilder- Returns:
- The count of synonymsControlIds.
-
getSynonymsControlIds
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:
getSynonymsControlIdsin interfaceServingConfigOrBuilder- 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:
getSynonymsControlIdsBytesin interfaceServingConfigOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the synonymsControlIds at the given index.
-
setSynonymsControlIds
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
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
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
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
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:
getOnewaySynonymsControlIdsListin interfaceServingConfigOrBuilder- 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:
getOnewaySynonymsControlIdsCountin interfaceServingConfigOrBuilder- Returns:
- The count of onewaySynonymsControlIds.
-
getOnewaySynonymsControlIds
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:
getOnewaySynonymsControlIdsin interfaceServingConfigOrBuilder- 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:
getOnewaySynonymsControlIdsBytesin interfaceServingConfigOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the onewaySynonymsControlIds at the given index.
-
setOnewaySynonymsControlIds
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
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
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
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
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:
getDissociateControlIdsListin interfaceServingConfigOrBuilder- 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:
getDissociateControlIdsCountin interfaceServingConfigOrBuilder- Returns:
- The count of dissociateControlIds.
-
getDissociateControlIds
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:
getDissociateControlIdsin interfaceServingConfigOrBuilder- 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:
getDissociateControlIdsBytesin interfaceServingConfigOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the dissociateControlIds at the given index.
-
setDissociateControlIds
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
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
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
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
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:
getReplacementControlIdsListin interfaceServingConfigOrBuilder- 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:
getReplacementControlIdsCountin interfaceServingConfigOrBuilder- Returns:
- The count of replacementControlIds.
-
getReplacementControlIds
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:
getReplacementControlIdsin interfaceServingConfigOrBuilder- 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:
getReplacementControlIdsBytesin interfaceServingConfigOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the replacementControlIds at the given index.
-
setReplacementControlIds
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
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
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
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
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:
getIgnoreControlIdsListin interfaceServingConfigOrBuilder- 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:
getIgnoreControlIdsCountin interfaceServingConfigOrBuilder- Returns:
- The count of ignoreControlIds.
-
getIgnoreControlIds
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:
getIgnoreControlIdsin interfaceServingConfigOrBuilder- 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:
getIgnoreControlIdsBytesin interfaceServingConfigOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the ignoreControlIds at the given index.
-
setIgnoreControlIds
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
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
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
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
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:
hasPersonalizationSpecin interfaceServingConfigOrBuilder- Returns:
- Whether the personalizationSpec field is set.
-
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:
getPersonalizationSpecin interfaceServingConfigOrBuilder- Returns:
- The personalizationSpec.
-
setPersonalizationSpec
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
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
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
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
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:
getPersonalizationSpecOrBuilderin interfaceServingConfigOrBuilder
-