public static final class ServingConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ServingConfig.Builder> implements ServingConfigOrBuilder
Configures metadata that is used to generate serving time results (e.g. search results or recommendation predictions).Protobuf type
google.cloud.retail.v2.ServingConfig| Modifier and Type | Method and Description |
|---|---|
ServingConfig.Builder |
addAllBoostControlIds(Iterable<String> values)
Condition boost specifications.
|
ServingConfig.Builder |
addAllDoNotAssociateControlIds(Iterable<String> values)
Condition do not associate specifications.
|
ServingConfig.Builder |
addAllFacetControlIds(Iterable<String> values)
Facet specifications for faceted search.
|
ServingConfig.Builder |
addAllFilterControlIds(Iterable<String> values)
Condition filter specifications.
|
ServingConfig.Builder |
addAllIgnoreControlIds(Iterable<String> values)
Condition ignore specifications.
|
ServingConfig.Builder |
addAllOnewaySynonymsControlIds(Iterable<String> values)
Condition oneway synonyms specifications.
|
ServingConfig.Builder |
addAllRedirectControlIds(Iterable<String> values)
Condition redirect specifications.
|
ServingConfig.Builder |
addAllReplacementControlIds(Iterable<String> values)
Condition replacement specifications.
|
ServingConfig.Builder |
addAllSolutionTypes(Iterable<? extends SolutionType> values)
Required.
|
ServingConfig.Builder |
addAllSolutionTypesValue(Iterable<Integer> values)
Required.
|
ServingConfig.Builder |
addAllTwowaySynonymsControlIds(Iterable<String> values)
Condition synonyms specifications.
|
ServingConfig.Builder |
addBoostControlIds(String value)
Condition boost specifications.
|
ServingConfig.Builder |
addBoostControlIdsBytes(com.google.protobuf.ByteString value)
Condition boost specifications.
|
ServingConfig.Builder |
addDoNotAssociateControlIds(String value)
Condition do not associate specifications.
|
ServingConfig.Builder |
addDoNotAssociateControlIdsBytes(com.google.protobuf.ByteString value)
Condition do not associate specifications.
|
ServingConfig.Builder |
addFacetControlIds(String value)
Facet specifications for faceted search.
|
ServingConfig.Builder |
addFacetControlIdsBytes(com.google.protobuf.ByteString value)
Facet specifications for faceted search.
|
ServingConfig.Builder |
addFilterControlIds(String value)
Condition filter specifications.
|
ServingConfig.Builder |
addFilterControlIdsBytes(com.google.protobuf.ByteString value)
Condition filter specifications.
|
ServingConfig.Builder |
addIgnoreControlIds(String value)
Condition ignore specifications.
|
ServingConfig.Builder |
addIgnoreControlIdsBytes(com.google.protobuf.ByteString value)
Condition ignore specifications.
|
ServingConfig.Builder |
addOnewaySynonymsControlIds(String value)
Condition oneway synonyms specifications.
|
ServingConfig.Builder |
addOnewaySynonymsControlIdsBytes(com.google.protobuf.ByteString value)
Condition oneway synonyms specifications.
|
ServingConfig.Builder |
addRedirectControlIds(String value)
Condition redirect specifications.
|
ServingConfig.Builder |
addRedirectControlIdsBytes(com.google.protobuf.ByteString value)
Condition redirect specifications.
|
ServingConfig.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ServingConfig.Builder |
addReplacementControlIds(String value)
Condition replacement specifications.
|
ServingConfig.Builder |
addReplacementControlIdsBytes(com.google.protobuf.ByteString value)
Condition replacement specifications.
|
ServingConfig.Builder |
addSolutionTypes(SolutionType value)
Required.
|
ServingConfig.Builder |
addSolutionTypesValue(int value)
Required.
|
ServingConfig.Builder |
addTwowaySynonymsControlIds(String value)
Condition synonyms specifications.
|
ServingConfig.Builder |
addTwowaySynonymsControlIdsBytes(com.google.protobuf.ByteString value)
Condition synonyms specifications.
|
ServingConfig |
build() |
ServingConfig |
buildPartial() |
ServingConfig.Builder |
clear() |
ServingConfig.Builder |
clearBoostControlIds()
Condition boost specifications.
|
ServingConfig.Builder |
clearDisplayName()
Required.
|
ServingConfig.Builder |
clearDiversityLevel()
How much diversity to use in recommendation model results e.g.
|
ServingConfig.Builder |
clearDiversityType()
What kind of diversity to use - data driven or rule based.
|
ServingConfig.Builder |
clearDoNotAssociateControlIds()
Condition do not associate specifications.
|
ServingConfig.Builder |
clearDynamicFacetSpec()
The specification for dynamically generated facets.
|
ServingConfig.Builder |
clearEnableCategoryFilterLevel()
Whether to add additional category filters on the `similar-items` model.
|
ServingConfig.Builder |
clearFacetControlIds()
Facet specifications for faceted search.
|
ServingConfig.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ServingConfig.Builder |
clearFilterControlIds()
Condition filter specifications.
|
ServingConfig.Builder |
clearIgnoreControlIds()
Condition ignore specifications.
|
ServingConfig.Builder |
clearModelId()
The id of the model in the same [Catalog][google.cloud.retail.v2.Catalog]
to use at serving time.
|
ServingConfig.Builder |
clearName()
Immutable.
|
ServingConfig.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ServingConfig.Builder |
clearOnewaySynonymsControlIds()
Condition oneway synonyms specifications.
|
ServingConfig.Builder |
clearPersonalizationSpec()
The specification for personalization spec.
|
ServingConfig.Builder |
clearPriceRerankingLevel()
How much price ranking we want in serving results.
|
ServingConfig.Builder |
clearRedirectControlIds()
Condition redirect specifications.
|
ServingConfig.Builder |
clearReplacementControlIds()
Condition replacement specifications.
|
ServingConfig.Builder |
clearSolutionTypes()
Required.
|
ServingConfig.Builder |
clearTwowaySynonymsControlIds()
Condition synonyms specifications.
|
ServingConfig.Builder |
clone() |
String |
getBoostControlIds(int index)
Condition boost specifications.
|
com.google.protobuf.ByteString |
getBoostControlIdsBytes(int index)
Condition boost specifications.
|
int |
getBoostControlIdsCount()
Condition boost specifications.
|
com.google.protobuf.ProtocolStringList |
getBoostControlIdsList()
Condition boost specifications.
|
ServingConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getDisplayName()
Required.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
Required.
|
String |
getDiversityLevel()
How much diversity to use in recommendation model results e.g.
|
com.google.protobuf.ByteString |
getDiversityLevelBytes()
How much diversity to use in recommendation model results e.g.
|
ServingConfig.DiversityType |
getDiversityType()
What kind of diversity to use - data driven or rule based.
|
int |
getDiversityTypeValue()
What kind of diversity to use - data driven or rule based.
|
String |
getDoNotAssociateControlIds(int index)
Condition do not associate specifications.
|
com.google.protobuf.ByteString |
getDoNotAssociateControlIdsBytes(int index)
Condition do not associate specifications.
|
int |
getDoNotAssociateControlIdsCount()
Condition do not associate specifications.
|
com.google.protobuf.ProtocolStringList |
getDoNotAssociateControlIdsList()
Condition do not associate specifications.
|
SearchRequest.DynamicFacetSpec |
getDynamicFacetSpec()
The specification for dynamically generated facets.
|
SearchRequest.DynamicFacetSpec.Builder |
getDynamicFacetSpecBuilder()
The specification for dynamically generated facets.
|
SearchRequest.DynamicFacetSpecOrBuilder |
getDynamicFacetSpecOrBuilder()
The specification for dynamically generated facets.
|
String |
getEnableCategoryFilterLevel()
Whether to add additional category filters on the `similar-items` model.
|
com.google.protobuf.ByteString |
getEnableCategoryFilterLevelBytes()
Whether to add additional category filters on the `similar-items` model.
|
String |
getFacetControlIds(int index)
Facet specifications for faceted search.
|
com.google.protobuf.ByteString |
getFacetControlIdsBytes(int index)
Facet specifications for faceted search.
|
int |
getFacetControlIdsCount()
Facet specifications for faceted search.
|
com.google.protobuf.ProtocolStringList |
getFacetControlIdsList()
Facet specifications for faceted search.
|
String |
getFilterControlIds(int index)
Condition filter specifications.
|
com.google.protobuf.ByteString |
getFilterControlIdsBytes(int index)
Condition filter specifications.
|
int |
getFilterControlIdsCount()
Condition filter specifications.
|
com.google.protobuf.ProtocolStringList |
getFilterControlIdsList()
Condition filter specifications.
|
String |
getIgnoreControlIds(int index)
Condition ignore specifications.
|
com.google.protobuf.ByteString |
getIgnoreControlIdsBytes(int index)
Condition ignore specifications.
|
int |
getIgnoreControlIdsCount()
Condition ignore specifications.
|
com.google.protobuf.ProtocolStringList |
getIgnoreControlIdsList()
Condition ignore specifications.
|
String |
getModelId()
The id of the model in the same [Catalog][google.cloud.retail.v2.Catalog]
to use at serving time.
|
com.google.protobuf.ByteString |
getModelIdBytes()
The id of the model in the same [Catalog][google.cloud.retail.v2.Catalog]
to use at serving time.
|
String |
getName()
Immutable.
|
com.google.protobuf.ByteString |
getNameBytes()
Immutable.
|
String |
getOnewaySynonymsControlIds(int index)
Condition oneway synonyms specifications.
|
com.google.protobuf.ByteString |
getOnewaySynonymsControlIdsBytes(int index)
Condition oneway synonyms specifications.
|
int |
getOnewaySynonymsControlIdsCount()
Condition oneway synonyms specifications.
|
com.google.protobuf.ProtocolStringList |
getOnewaySynonymsControlIdsList()
Condition oneway synonyms specifications.
|
SearchRequest.PersonalizationSpec |
getPersonalizationSpec()
The specification for personalization spec.
|
SearchRequest.PersonalizationSpec.Builder |
getPersonalizationSpecBuilder()
The specification for personalization spec.
|
SearchRequest.PersonalizationSpecOrBuilder |
getPersonalizationSpecOrBuilder()
The specification for personalization spec.
|
String |
getPriceRerankingLevel()
How much price ranking we want in serving results.
|
com.google.protobuf.ByteString |
getPriceRerankingLevelBytes()
How much price ranking we want in serving results.
|
String |
getRedirectControlIds(int index)
Condition redirect specifications.
|
com.google.protobuf.ByteString |
getRedirectControlIdsBytes(int index)
Condition redirect specifications.
|
int |
getRedirectControlIdsCount()
Condition redirect specifications.
|
com.google.protobuf.ProtocolStringList |
getRedirectControlIdsList()
Condition redirect specifications.
|
String |
getReplacementControlIds(int index)
Condition replacement specifications.
|
com.google.protobuf.ByteString |
getReplacementControlIdsBytes(int index)
Condition replacement specifications.
|
int |
getReplacementControlIdsCount()
Condition replacement specifications.
|
com.google.protobuf.ProtocolStringList |
getReplacementControlIdsList()
Condition replacement specifications.
|
SolutionType |
getSolutionTypes(int index)
Required.
|
int |
getSolutionTypesCount()
Required.
|
List<SolutionType> |
getSolutionTypesList()
Required.
|
int |
getSolutionTypesValue(int index)
Required.
|
List<Integer> |
getSolutionTypesValueList()
Required.
|
String |
getTwowaySynonymsControlIds(int index)
Condition synonyms specifications.
|
com.google.protobuf.ByteString |
getTwowaySynonymsControlIdsBytes(int index)
Condition synonyms specifications.
|
int |
getTwowaySynonymsControlIdsCount()
Condition synonyms specifications.
|
com.google.protobuf.ProtocolStringList |
getTwowaySynonymsControlIdsList()
Condition synonyms specifications.
|
boolean |
hasDynamicFacetSpec()
The specification for dynamically generated facets.
|
boolean |
hasPersonalizationSpec()
The specification for personalization spec.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ServingConfig.Builder |
mergeDynamicFacetSpec(SearchRequest.DynamicFacetSpec value)
The specification for dynamically generated facets.
|
ServingConfig.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ServingConfig.Builder |
mergeFrom(com.google.protobuf.Message other) |
ServingConfig.Builder |
mergeFrom(ServingConfig other) |
ServingConfig.Builder |
mergePersonalizationSpec(SearchRequest.PersonalizationSpec value)
The specification for personalization spec.
|
ServingConfig.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ServingConfig.Builder |
setBoostControlIds(int index,
String value)
Condition boost specifications.
|
ServingConfig.Builder |
setDisplayName(String value)
Required.
|
ServingConfig.Builder |
setDisplayNameBytes(com.google.protobuf.ByteString value)
Required.
|
ServingConfig.Builder |
setDiversityLevel(String value)
How much diversity to use in recommendation model results e.g.
|
ServingConfig.Builder |
setDiversityLevelBytes(com.google.protobuf.ByteString value)
How much diversity to use in recommendation model results e.g.
|
ServingConfig.Builder |
setDiversityType(ServingConfig.DiversityType value)
What kind of diversity to use - data driven or rule based.
|
ServingConfig.Builder |
setDiversityTypeValue(int value)
What kind of diversity to use - data driven or rule based.
|
ServingConfig.Builder |
setDoNotAssociateControlIds(int index,
String value)
Condition do not associate specifications.
|
ServingConfig.Builder |
setDynamicFacetSpec(SearchRequest.DynamicFacetSpec.Builder builderForValue)
The specification for dynamically generated facets.
|
ServingConfig.Builder |
setDynamicFacetSpec(SearchRequest.DynamicFacetSpec value)
The specification for dynamically generated facets.
|
ServingConfig.Builder |
setEnableCategoryFilterLevel(String value)
Whether to add additional category filters on the `similar-items` model.
|
ServingConfig.Builder |
setEnableCategoryFilterLevelBytes(com.google.protobuf.ByteString value)
Whether to add additional category filters on the `similar-items` model.
|
ServingConfig.Builder |
setFacetControlIds(int index,
String value)
Facet specifications for faceted search.
|
ServingConfig.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ServingConfig.Builder |
setFilterControlIds(int index,
String value)
Condition filter specifications.
|
ServingConfig.Builder |
setIgnoreControlIds(int index,
String value)
Condition ignore specifications.
|
ServingConfig.Builder |
setModelId(String value)
The id of the model in the same [Catalog][google.cloud.retail.v2.Catalog]
to use at serving time.
|
ServingConfig.Builder |
setModelIdBytes(com.google.protobuf.ByteString value)
The id of the model in the same [Catalog][google.cloud.retail.v2.Catalog]
to use at serving time.
|
ServingConfig.Builder |
setName(String value)
Immutable.
|
ServingConfig.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Immutable.
|
ServingConfig.Builder |
setOnewaySynonymsControlIds(int index,
String value)
Condition oneway synonyms specifications.
|
ServingConfig.Builder |
setPersonalizationSpec(SearchRequest.PersonalizationSpec.Builder builderForValue)
The specification for personalization spec.
|
ServingConfig.Builder |
setPersonalizationSpec(SearchRequest.PersonalizationSpec value)
The specification for personalization spec.
|
ServingConfig.Builder |
setPriceRerankingLevel(String value)
How much price ranking we want in serving results.
|
ServingConfig.Builder |
setPriceRerankingLevelBytes(com.google.protobuf.ByteString value)
How much price ranking we want in serving results.
|
ServingConfig.Builder |
setRedirectControlIds(int index,
String value)
Condition redirect specifications.
|
ServingConfig.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ServingConfig.Builder |
setReplacementControlIds(int index,
String value)
Condition replacement specifications.
|
ServingConfig.Builder |
setSolutionTypes(int index,
SolutionType value)
Required.
|
ServingConfig.Builder |
setSolutionTypesValue(int index,
int value)
Required.
|
ServingConfig.Builder |
setTwowaySynonymsControlIds(int index,
String value)
Condition synonyms specifications.
|
ServingConfig.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ServingConfig.Builder>public ServingConfig.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ServingConfig.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ServingConfig.Builder>public ServingConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ServingConfig build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ServingConfig buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ServingConfig.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ServingConfig.Builder>public ServingConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ServingConfig.Builder>public ServingConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ServingConfig.Builder>public ServingConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ServingConfig.Builder>public ServingConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ServingConfig.Builder>public ServingConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ServingConfig.Builder>public ServingConfig.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ServingConfig.Builder>public ServingConfig.Builder mergeFrom(ServingConfig other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ServingConfig.Builder>public ServingConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ServingConfig.Builder>IOExceptionpublic String getName()
Immutable. Fully qualified name `projects/*/locations/global/catalogs/*/servingConfig/*`
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];getName in interface ServingConfigOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Immutable. Fully qualified name `projects/*/locations/global/catalogs/*/servingConfig/*`
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];getNameBytes in interface ServingConfigOrBuilderpublic ServingConfig.Builder setName(String value)
Immutable. Fully qualified name `projects/*/locations/global/catalogs/*/servingConfig/*`
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];value - The name to set.public ServingConfig.Builder clearName()
Immutable. Fully qualified name `projects/*/locations/global/catalogs/*/servingConfig/*`
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];public ServingConfig.Builder setNameBytes(com.google.protobuf.ByteString value)
Immutable. Fully qualified name `projects/*/locations/global/catalogs/*/servingConfig/*`
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];value - The bytes for name to set.public String getDisplayName()
Required. The human readable serving config display name. Used in Retail 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];getDisplayName in interface ServingConfigOrBuilderpublic com.google.protobuf.ByteString getDisplayNameBytes()
Required. The human readable serving config display name. Used in Retail 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];getDisplayNameBytes in interface ServingConfigOrBuilderpublic ServingConfig.Builder setDisplayName(String value)
Required. The human readable serving config display name. Used in Retail 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];value - The displayName to set.public ServingConfig.Builder clearDisplayName()
Required. The human readable serving config display name. Used in Retail 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];public ServingConfig.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
Required. The human readable serving config display name. Used in Retail 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];value - The bytes for displayName to set.public String getModelId()
The id of the model in the same [Catalog][google.cloud.retail.v2.Catalog] to use at serving time. Currently only RecommendationModels are supported: https://cloud.google.com/retail/recommendations-ai/docs/create-models Can be changed but only to a compatible model (e.g. others-you-may-like CTR to others-you-may-like CVR). Required when [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_RECOMMENDATION][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_RECOMMENDATION].
string model_id = 3;getModelId in interface ServingConfigOrBuilderpublic com.google.protobuf.ByteString getModelIdBytes()
The id of the model in the same [Catalog][google.cloud.retail.v2.Catalog] to use at serving time. Currently only RecommendationModels are supported: https://cloud.google.com/retail/recommendations-ai/docs/create-models Can be changed but only to a compatible model (e.g. others-you-may-like CTR to others-you-may-like CVR). Required when [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_RECOMMENDATION][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_RECOMMENDATION].
string model_id = 3;getModelIdBytes in interface ServingConfigOrBuilderpublic ServingConfig.Builder setModelId(String value)
The id of the model in the same [Catalog][google.cloud.retail.v2.Catalog] to use at serving time. Currently only RecommendationModels are supported: https://cloud.google.com/retail/recommendations-ai/docs/create-models Can be changed but only to a compatible model (e.g. others-you-may-like CTR to others-you-may-like CVR). Required when [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_RECOMMENDATION][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_RECOMMENDATION].
string model_id = 3;value - The modelId to set.public ServingConfig.Builder clearModelId()
The id of the model in the same [Catalog][google.cloud.retail.v2.Catalog] to use at serving time. Currently only RecommendationModels are supported: https://cloud.google.com/retail/recommendations-ai/docs/create-models Can be changed but only to a compatible model (e.g. others-you-may-like CTR to others-you-may-like CVR). Required when [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_RECOMMENDATION][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_RECOMMENDATION].
string model_id = 3;public ServingConfig.Builder setModelIdBytes(com.google.protobuf.ByteString value)
The id of the model in the same [Catalog][google.cloud.retail.v2.Catalog] to use at serving time. Currently only RecommendationModels are supported: https://cloud.google.com/retail/recommendations-ai/docs/create-models Can be changed but only to a compatible model (e.g. others-you-may-like CTR to others-you-may-like CVR). Required when [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_RECOMMENDATION][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_RECOMMENDATION].
string model_id = 3;value - The bytes for modelId to set.public String getPriceRerankingLevel()
How much price ranking we want in serving results. Price reranking causes product items with a similar recommendation probability to be ordered by price, with the highest-priced items first. This setting could result in a decrease in click-through and conversion rates. Allowed values are: * `no-price-reranking` * `low-price-reranking` * `medium-price-reranking` * `high-price-reranking` If not specified, we choose default based on model type. Default value: `no-price-reranking`. Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_RECOMMENDATION][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_RECOMMENDATION].
string price_reranking_level = 4;getPriceRerankingLevel in interface ServingConfigOrBuilderpublic com.google.protobuf.ByteString getPriceRerankingLevelBytes()
How much price ranking we want in serving results. Price reranking causes product items with a similar recommendation probability to be ordered by price, with the highest-priced items first. This setting could result in a decrease in click-through and conversion rates. Allowed values are: * `no-price-reranking` * `low-price-reranking` * `medium-price-reranking` * `high-price-reranking` If not specified, we choose default based on model type. Default value: `no-price-reranking`. Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_RECOMMENDATION][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_RECOMMENDATION].
string price_reranking_level = 4;getPriceRerankingLevelBytes in interface ServingConfigOrBuilderpublic ServingConfig.Builder setPriceRerankingLevel(String value)
How much price ranking we want in serving results. Price reranking causes product items with a similar recommendation probability to be ordered by price, with the highest-priced items first. This setting could result in a decrease in click-through and conversion rates. Allowed values are: * `no-price-reranking` * `low-price-reranking` * `medium-price-reranking` * `high-price-reranking` If not specified, we choose default based on model type. Default value: `no-price-reranking`. Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_RECOMMENDATION][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_RECOMMENDATION].
string price_reranking_level = 4;value - The priceRerankingLevel to set.public ServingConfig.Builder clearPriceRerankingLevel()
How much price ranking we want in serving results. Price reranking causes product items with a similar recommendation probability to be ordered by price, with the highest-priced items first. This setting could result in a decrease in click-through and conversion rates. Allowed values are: * `no-price-reranking` * `low-price-reranking` * `medium-price-reranking` * `high-price-reranking` If not specified, we choose default based on model type. Default value: `no-price-reranking`. Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_RECOMMENDATION][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_RECOMMENDATION].
string price_reranking_level = 4;public ServingConfig.Builder setPriceRerankingLevelBytes(com.google.protobuf.ByteString value)
How much price ranking we want in serving results. Price reranking causes product items with a similar recommendation probability to be ordered by price, with the highest-priced items first. This setting could result in a decrease in click-through and conversion rates. Allowed values are: * `no-price-reranking` * `low-price-reranking` * `medium-price-reranking` * `high-price-reranking` If not specified, we choose default based on model type. Default value: `no-price-reranking`. Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_RECOMMENDATION][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_RECOMMENDATION].
string price_reranking_level = 4;value - The bytes for priceRerankingLevel to set.public com.google.protobuf.ProtocolStringList getFacetControlIdsList()
Facet specifications for faceted search. If empty, no facets are returned. The ids refer to the ids of [Control][google.cloud.retail.v2.Control] resources with only the Facet control set. These controls are assumed to be in the same [Catalog][google.cloud.retail.v2.Catalog] as the [ServingConfig][google.cloud.retail.v2.ServingConfig]. A maximum of 100 values are allowed. Otherwise, an INVALID_ARGUMENT error is returned. Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string facet_control_ids = 5;getFacetControlIdsList in interface ServingConfigOrBuilderpublic int getFacetControlIdsCount()
Facet specifications for faceted search. If empty, no facets are returned. The ids refer to the ids of [Control][google.cloud.retail.v2.Control] resources with only the Facet control set. These controls are assumed to be in the same [Catalog][google.cloud.retail.v2.Catalog] as the [ServingConfig][google.cloud.retail.v2.ServingConfig]. A maximum of 100 values are allowed. Otherwise, an INVALID_ARGUMENT error is returned. Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string facet_control_ids = 5;getFacetControlIdsCount in interface ServingConfigOrBuilderpublic String getFacetControlIds(int index)
Facet specifications for faceted search. If empty, no facets are returned. The ids refer to the ids of [Control][google.cloud.retail.v2.Control] resources with only the Facet control set. These controls are assumed to be in the same [Catalog][google.cloud.retail.v2.Catalog] as the [ServingConfig][google.cloud.retail.v2.ServingConfig]. A maximum of 100 values are allowed. Otherwise, an INVALID_ARGUMENT error is returned. Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string facet_control_ids = 5;getFacetControlIds in interface ServingConfigOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getFacetControlIdsBytes(int index)
Facet specifications for faceted search. If empty, no facets are returned. The ids refer to the ids of [Control][google.cloud.retail.v2.Control] resources with only the Facet control set. These controls are assumed to be in the same [Catalog][google.cloud.retail.v2.Catalog] as the [ServingConfig][google.cloud.retail.v2.ServingConfig]. A maximum of 100 values are allowed. Otherwise, an INVALID_ARGUMENT error is returned. Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string facet_control_ids = 5;getFacetControlIdsBytes in interface ServingConfigOrBuilderindex - The index of the value to return.public ServingConfig.Builder setFacetControlIds(int index, String value)
Facet specifications for faceted search. If empty, no facets are returned. The ids refer to the ids of [Control][google.cloud.retail.v2.Control] resources with only the Facet control set. These controls are assumed to be in the same [Catalog][google.cloud.retail.v2.Catalog] as the [ServingConfig][google.cloud.retail.v2.ServingConfig]. A maximum of 100 values are allowed. Otherwise, an INVALID_ARGUMENT error is returned. Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string facet_control_ids = 5;index - The index to set the value at.value - The facetControlIds to set.public ServingConfig.Builder addFacetControlIds(String value)
Facet specifications for faceted search. If empty, no facets are returned. The ids refer to the ids of [Control][google.cloud.retail.v2.Control] resources with only the Facet control set. These controls are assumed to be in the same [Catalog][google.cloud.retail.v2.Catalog] as the [ServingConfig][google.cloud.retail.v2.ServingConfig]. A maximum of 100 values are allowed. Otherwise, an INVALID_ARGUMENT error is returned. Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string facet_control_ids = 5;value - The facetControlIds to add.public ServingConfig.Builder addAllFacetControlIds(Iterable<String> values)
Facet specifications for faceted search. If empty, no facets are returned. The ids refer to the ids of [Control][google.cloud.retail.v2.Control] resources with only the Facet control set. These controls are assumed to be in the same [Catalog][google.cloud.retail.v2.Catalog] as the [ServingConfig][google.cloud.retail.v2.ServingConfig]. A maximum of 100 values are allowed. Otherwise, an INVALID_ARGUMENT error is returned. Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string facet_control_ids = 5;values - The facetControlIds to add.public ServingConfig.Builder clearFacetControlIds()
Facet specifications for faceted search. If empty, no facets are returned. The ids refer to the ids of [Control][google.cloud.retail.v2.Control] resources with only the Facet control set. These controls are assumed to be in the same [Catalog][google.cloud.retail.v2.Catalog] as the [ServingConfig][google.cloud.retail.v2.ServingConfig]. A maximum of 100 values are allowed. Otherwise, an INVALID_ARGUMENT error is returned. Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string facet_control_ids = 5;public ServingConfig.Builder addFacetControlIdsBytes(com.google.protobuf.ByteString value)
Facet specifications for faceted search. If empty, no facets are returned. The ids refer to the ids of [Control][google.cloud.retail.v2.Control] resources with only the Facet control set. These controls are assumed to be in the same [Catalog][google.cloud.retail.v2.Catalog] as the [ServingConfig][google.cloud.retail.v2.ServingConfig]. A maximum of 100 values are allowed. Otherwise, an INVALID_ARGUMENT error is returned. Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string facet_control_ids = 5;value - The bytes of the facetControlIds to add.public boolean hasDynamicFacetSpec()
The specification for dynamically generated facets. Notice that only textual facets can be dynamically generated. Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
.google.cloud.retail.v2.SearchRequest.DynamicFacetSpec dynamic_facet_spec = 6;hasDynamicFacetSpec in interface ServingConfigOrBuilderpublic SearchRequest.DynamicFacetSpec getDynamicFacetSpec()
The specification for dynamically generated facets. Notice that only textual facets can be dynamically generated. Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
.google.cloud.retail.v2.SearchRequest.DynamicFacetSpec dynamic_facet_spec = 6;getDynamicFacetSpec in interface ServingConfigOrBuilderpublic ServingConfig.Builder setDynamicFacetSpec(SearchRequest.DynamicFacetSpec value)
The specification for dynamically generated facets. Notice that only textual facets can be dynamically generated. Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
.google.cloud.retail.v2.SearchRequest.DynamicFacetSpec dynamic_facet_spec = 6;public ServingConfig.Builder setDynamicFacetSpec(SearchRequest.DynamicFacetSpec.Builder builderForValue)
The specification for dynamically generated facets. Notice that only textual facets can be dynamically generated. Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
.google.cloud.retail.v2.SearchRequest.DynamicFacetSpec dynamic_facet_spec = 6;public ServingConfig.Builder mergeDynamicFacetSpec(SearchRequest.DynamicFacetSpec value)
The specification for dynamically generated facets. Notice that only textual facets can be dynamically generated. Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
.google.cloud.retail.v2.SearchRequest.DynamicFacetSpec dynamic_facet_spec = 6;public ServingConfig.Builder clearDynamicFacetSpec()
The specification for dynamically generated facets. Notice that only textual facets can be dynamically generated. Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
.google.cloud.retail.v2.SearchRequest.DynamicFacetSpec dynamic_facet_spec = 6;public SearchRequest.DynamicFacetSpec.Builder getDynamicFacetSpecBuilder()
The specification for dynamically generated facets. Notice that only textual facets can be dynamically generated. Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
.google.cloud.retail.v2.SearchRequest.DynamicFacetSpec dynamic_facet_spec = 6;public SearchRequest.DynamicFacetSpecOrBuilder getDynamicFacetSpecOrBuilder()
The specification for dynamically generated facets. Notice that only textual facets can be dynamically generated. Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
.google.cloud.retail.v2.SearchRequest.DynamicFacetSpec dynamic_facet_spec = 6;getDynamicFacetSpecOrBuilder in interface ServingConfigOrBuilderpublic com.google.protobuf.ProtocolStringList getBoostControlIdsList()
Condition boost specifications. If a product matches multiple conditions in the specifications, boost scores from these specifications are all applied and combined in a non-linear way. Maximum number of specifications is 100. Notice that if both [ServingConfig.boost_control_ids][google.cloud.retail.v2.ServingConfig.boost_control_ids] and [SearchRequest.boost_spec][google.cloud.retail.v2.SearchRequest.boost_spec] are set, the boost conditions from both places are evaluated. If a search request matches multiple boost conditions, the final boost score is equal to the sum of the boost scores from all matched boost conditions. Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string boost_control_ids = 7;getBoostControlIdsList in interface ServingConfigOrBuilderpublic int getBoostControlIdsCount()
Condition boost specifications. If a product matches multiple conditions in the specifications, boost scores from these specifications are all applied and combined in a non-linear way. Maximum number of specifications is 100. Notice that if both [ServingConfig.boost_control_ids][google.cloud.retail.v2.ServingConfig.boost_control_ids] and [SearchRequest.boost_spec][google.cloud.retail.v2.SearchRequest.boost_spec] are set, the boost conditions from both places are evaluated. If a search request matches multiple boost conditions, the final boost score is equal to the sum of the boost scores from all matched boost conditions. Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string boost_control_ids = 7;getBoostControlIdsCount in interface ServingConfigOrBuilderpublic String getBoostControlIds(int index)
Condition boost specifications. If a product matches multiple conditions in the specifications, boost scores from these specifications are all applied and combined in a non-linear way. Maximum number of specifications is 100. Notice that if both [ServingConfig.boost_control_ids][google.cloud.retail.v2.ServingConfig.boost_control_ids] and [SearchRequest.boost_spec][google.cloud.retail.v2.SearchRequest.boost_spec] are set, the boost conditions from both places are evaluated. If a search request matches multiple boost conditions, the final boost score is equal to the sum of the boost scores from all matched boost conditions. Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string boost_control_ids = 7;getBoostControlIds in interface ServingConfigOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getBoostControlIdsBytes(int index)
Condition boost specifications. If a product matches multiple conditions in the specifications, boost scores from these specifications are all applied and combined in a non-linear way. Maximum number of specifications is 100. Notice that if both [ServingConfig.boost_control_ids][google.cloud.retail.v2.ServingConfig.boost_control_ids] and [SearchRequest.boost_spec][google.cloud.retail.v2.SearchRequest.boost_spec] are set, the boost conditions from both places are evaluated. If a search request matches multiple boost conditions, the final boost score is equal to the sum of the boost scores from all matched boost conditions. Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string boost_control_ids = 7;getBoostControlIdsBytes in interface ServingConfigOrBuilderindex - The index of the value to return.public ServingConfig.Builder setBoostControlIds(int index, String value)
Condition boost specifications. If a product matches multiple conditions in the specifications, boost scores from these specifications are all applied and combined in a non-linear way. Maximum number of specifications is 100. Notice that if both [ServingConfig.boost_control_ids][google.cloud.retail.v2.ServingConfig.boost_control_ids] and [SearchRequest.boost_spec][google.cloud.retail.v2.SearchRequest.boost_spec] are set, the boost conditions from both places are evaluated. If a search request matches multiple boost conditions, the final boost score is equal to the sum of the boost scores from all matched boost conditions. Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string boost_control_ids = 7;index - The index to set the value at.value - The boostControlIds to set.public ServingConfig.Builder addBoostControlIds(String value)
Condition boost specifications. If a product matches multiple conditions in the specifications, boost scores from these specifications are all applied and combined in a non-linear way. Maximum number of specifications is 100. Notice that if both [ServingConfig.boost_control_ids][google.cloud.retail.v2.ServingConfig.boost_control_ids] and [SearchRequest.boost_spec][google.cloud.retail.v2.SearchRequest.boost_spec] are set, the boost conditions from both places are evaluated. If a search request matches multiple boost conditions, the final boost score is equal to the sum of the boost scores from all matched boost conditions. Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string boost_control_ids = 7;value - The boostControlIds to add.public ServingConfig.Builder addAllBoostControlIds(Iterable<String> values)
Condition boost specifications. If a product matches multiple conditions in the specifications, boost scores from these specifications are all applied and combined in a non-linear way. Maximum number of specifications is 100. Notice that if both [ServingConfig.boost_control_ids][google.cloud.retail.v2.ServingConfig.boost_control_ids] and [SearchRequest.boost_spec][google.cloud.retail.v2.SearchRequest.boost_spec] are set, the boost conditions from both places are evaluated. If a search request matches multiple boost conditions, the final boost score is equal to the sum of the boost scores from all matched boost conditions. Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string boost_control_ids = 7;values - The boostControlIds to add.public ServingConfig.Builder clearBoostControlIds()
Condition boost specifications. If a product matches multiple conditions in the specifications, boost scores from these specifications are all applied and combined in a non-linear way. Maximum number of specifications is 100. Notice that if both [ServingConfig.boost_control_ids][google.cloud.retail.v2.ServingConfig.boost_control_ids] and [SearchRequest.boost_spec][google.cloud.retail.v2.SearchRequest.boost_spec] are set, the boost conditions from both places are evaluated. If a search request matches multiple boost conditions, the final boost score is equal to the sum of the boost scores from all matched boost conditions. Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string boost_control_ids = 7;public ServingConfig.Builder addBoostControlIdsBytes(com.google.protobuf.ByteString value)
Condition boost specifications. If a product matches multiple conditions in the specifications, boost scores from these specifications are all applied and combined in a non-linear way. Maximum number of specifications is 100. Notice that if both [ServingConfig.boost_control_ids][google.cloud.retail.v2.ServingConfig.boost_control_ids] and [SearchRequest.boost_spec][google.cloud.retail.v2.SearchRequest.boost_spec] are set, the boost conditions from both places are evaluated. If a search request matches multiple boost conditions, the final boost score is equal to the sum of the boost scores from all matched boost conditions. Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string boost_control_ids = 7;value - The bytes of the boostControlIds to add.public com.google.protobuf.ProtocolStringList getFilterControlIdsList()
Condition filter specifications. If a product matches multiple conditions in the specifications, filters from these specifications are all applied and combined via the AND operator. Maximum number of specifications is 100. Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string filter_control_ids = 9;getFilterControlIdsList in interface ServingConfigOrBuilderpublic int getFilterControlIdsCount()
Condition filter specifications. If a product matches multiple conditions in the specifications, filters from these specifications are all applied and combined via the AND operator. Maximum number of specifications is 100. Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string filter_control_ids = 9;getFilterControlIdsCount in interface ServingConfigOrBuilderpublic String getFilterControlIds(int index)
Condition filter specifications. If a product matches multiple conditions in the specifications, filters from these specifications are all applied and combined via the AND operator. Maximum number of specifications is 100. Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string filter_control_ids = 9;getFilterControlIds in interface ServingConfigOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getFilterControlIdsBytes(int index)
Condition filter specifications. If a product matches multiple conditions in the specifications, filters from these specifications are all applied and combined via the AND operator. Maximum number of specifications is 100. Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string filter_control_ids = 9;getFilterControlIdsBytes in interface ServingConfigOrBuilderindex - The index of the value to return.public ServingConfig.Builder setFilterControlIds(int index, String value)
Condition filter specifications. If a product matches multiple conditions in the specifications, filters from these specifications are all applied and combined via the AND operator. Maximum number of specifications is 100. Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string filter_control_ids = 9;index - The index to set the value at.value - The filterControlIds to set.public ServingConfig.Builder addFilterControlIds(String value)
Condition filter specifications. If a product matches multiple conditions in the specifications, filters from these specifications are all applied and combined via the AND operator. Maximum number of specifications is 100. Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string filter_control_ids = 9;value - The filterControlIds to add.public ServingConfig.Builder addAllFilterControlIds(Iterable<String> values)
Condition filter specifications. If a product matches multiple conditions in the specifications, filters from these specifications are all applied and combined via the AND operator. Maximum number of specifications is 100. Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string filter_control_ids = 9;values - The filterControlIds to add.public ServingConfig.Builder clearFilterControlIds()
Condition filter specifications. If a product matches multiple conditions in the specifications, filters from these specifications are all applied and combined via the AND operator. Maximum number of specifications is 100. Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string filter_control_ids = 9;public ServingConfig.Builder addFilterControlIdsBytes(com.google.protobuf.ByteString value)
Condition filter specifications. If a product matches multiple conditions in the specifications, filters from these specifications are all applied and combined via the AND operator. Maximum number of specifications is 100. Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string filter_control_ids = 9;value - The bytes of the filterControlIds to add.public com.google.protobuf.ProtocolStringList getRedirectControlIdsList()
Condition redirect specifications. Only the first triggered redirect action is applied, even if multiple apply. Maximum number of specifications is 1000. Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string redirect_control_ids = 10;getRedirectControlIdsList in interface ServingConfigOrBuilderpublic int getRedirectControlIdsCount()
Condition redirect specifications. Only the first triggered redirect action is applied, even if multiple apply. Maximum number of specifications is 1000. Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string redirect_control_ids = 10;getRedirectControlIdsCount in interface ServingConfigOrBuilderpublic String getRedirectControlIds(int index)
Condition redirect specifications. Only the first triggered redirect action is applied, even if multiple apply. Maximum number of specifications is 1000. Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string redirect_control_ids = 10;getRedirectControlIds in interface ServingConfigOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getRedirectControlIdsBytes(int index)
Condition redirect specifications. Only the first triggered redirect action is applied, even if multiple apply. Maximum number of specifications is 1000. Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string redirect_control_ids = 10;getRedirectControlIdsBytes in interface ServingConfigOrBuilderindex - The index of the value to return.public ServingConfig.Builder setRedirectControlIds(int index, String value)
Condition redirect specifications. Only the first triggered redirect action is applied, even if multiple apply. Maximum number of specifications is 1000. Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string redirect_control_ids = 10;index - The index to set the value at.value - The redirectControlIds to set.public ServingConfig.Builder addRedirectControlIds(String value)
Condition redirect specifications. Only the first triggered redirect action is applied, even if multiple apply. Maximum number of specifications is 1000. Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string redirect_control_ids = 10;value - The redirectControlIds to add.public ServingConfig.Builder addAllRedirectControlIds(Iterable<String> values)
Condition redirect specifications. Only the first triggered redirect action is applied, even if multiple apply. Maximum number of specifications is 1000. Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string redirect_control_ids = 10;values - The redirectControlIds to add.public ServingConfig.Builder clearRedirectControlIds()
Condition redirect specifications. Only the first triggered redirect action is applied, even if multiple apply. Maximum number of specifications is 1000. Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string redirect_control_ids = 10;public ServingConfig.Builder addRedirectControlIdsBytes(com.google.protobuf.ByteString value)
Condition redirect specifications. Only the first triggered redirect action is applied, even if multiple apply. Maximum number of specifications is 1000. Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string redirect_control_ids = 10;value - The bytes of the redirectControlIds to add.public com.google.protobuf.ProtocolStringList getTwowaySynonymsControlIdsList()
Condition synonyms specifications. If multiple syonyms conditions match, all matching synonyms control in the list will execute. Order of controls in the list will not matter. Maximum number of specifications is 100. Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string twoway_synonyms_control_ids = 18;getTwowaySynonymsControlIdsList in interface ServingConfigOrBuilderpublic int getTwowaySynonymsControlIdsCount()
Condition synonyms specifications. If multiple syonyms conditions match, all matching synonyms control in the list will execute. Order of controls in the list will not matter. Maximum number of specifications is 100. Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string twoway_synonyms_control_ids = 18;getTwowaySynonymsControlIdsCount in interface ServingConfigOrBuilderpublic String getTwowaySynonymsControlIds(int index)
Condition synonyms specifications. If multiple syonyms conditions match, all matching synonyms control in the list will execute. Order of controls in the list will not matter. Maximum number of specifications is 100. Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string twoway_synonyms_control_ids = 18;getTwowaySynonymsControlIds in interface ServingConfigOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getTwowaySynonymsControlIdsBytes(int index)
Condition synonyms specifications. If multiple syonyms conditions match, all matching synonyms control in the list will execute. Order of controls in the list will not matter. Maximum number of specifications is 100. Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string twoway_synonyms_control_ids = 18;getTwowaySynonymsControlIdsBytes in interface ServingConfigOrBuilderindex - The index of the value to return.public ServingConfig.Builder setTwowaySynonymsControlIds(int index, String value)
Condition synonyms specifications. If multiple syonyms conditions match, all matching synonyms control in the list will execute. Order of controls in the list will not matter. Maximum number of specifications is 100. Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string twoway_synonyms_control_ids = 18;index - The index to set the value at.value - The twowaySynonymsControlIds to set.public ServingConfig.Builder addTwowaySynonymsControlIds(String value)
Condition synonyms specifications. If multiple syonyms conditions match, all matching synonyms control in the list will execute. Order of controls in the list will not matter. Maximum number of specifications is 100. Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string twoway_synonyms_control_ids = 18;value - The twowaySynonymsControlIds to add.public ServingConfig.Builder addAllTwowaySynonymsControlIds(Iterable<String> values)
Condition synonyms specifications. If multiple syonyms conditions match, all matching synonyms control in the list will execute. Order of controls in the list will not matter. Maximum number of specifications is 100. Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string twoway_synonyms_control_ids = 18;values - The twowaySynonymsControlIds to add.public ServingConfig.Builder clearTwowaySynonymsControlIds()
Condition synonyms specifications. If multiple syonyms conditions match, all matching synonyms control in the list will execute. Order of controls in the list will not matter. Maximum number of specifications is 100. Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string twoway_synonyms_control_ids = 18;public ServingConfig.Builder addTwowaySynonymsControlIdsBytes(com.google.protobuf.ByteString value)
Condition synonyms specifications. If multiple syonyms conditions match, all matching synonyms control in the list will execute. Order of controls in the list will not matter. Maximum number of specifications is 100. Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string twoway_synonyms_control_ids = 18;value - The bytes of the twowaySynonymsControlIds to add.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. Order of controls in the list will not matter. Maximum number of specifications is 100. Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string oneway_synonyms_control_ids = 12;getOnewaySynonymsControlIdsList in interface ServingConfigOrBuilderpublic int getOnewaySynonymsControlIdsCount()
Condition oneway synonyms specifications. If multiple oneway synonyms conditions match, all matching oneway synonyms controls in the list will execute. Order of controls in the list will not matter. Maximum number of specifications is 100. Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string oneway_synonyms_control_ids = 12;getOnewaySynonymsControlIdsCount in interface ServingConfigOrBuilderpublic String getOnewaySynonymsControlIds(int index)
Condition oneway synonyms specifications. If multiple oneway synonyms conditions match, all matching oneway synonyms controls in the list will execute. Order of controls in the list will not matter. Maximum number of specifications is 100. Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string oneway_synonyms_control_ids = 12;getOnewaySynonymsControlIds in interface ServingConfigOrBuilderindex - The index of the element to return.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. Order of controls in the list will not matter. Maximum number of specifications is 100. Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string oneway_synonyms_control_ids = 12;getOnewaySynonymsControlIdsBytes in interface ServingConfigOrBuilderindex - The index of the value to return.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. Order of controls in the list will not matter. Maximum number of specifications is 100. Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string oneway_synonyms_control_ids = 12;index - The index to set the value at.value - The onewaySynonymsControlIds to set.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. Order of controls in the list will not matter. Maximum number of specifications is 100. Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string oneway_synonyms_control_ids = 12;value - The onewaySynonymsControlIds to add.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. Order of controls in the list will not matter. Maximum number of specifications is 100. Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string oneway_synonyms_control_ids = 12;values - The onewaySynonymsControlIds to add.public ServingConfig.Builder clearOnewaySynonymsControlIds()
Condition oneway synonyms specifications. If multiple oneway synonyms conditions match, all matching oneway synonyms controls in the list will execute. Order of controls in the list will not matter. Maximum number of specifications is 100. Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string oneway_synonyms_control_ids = 12;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. Order of controls in the list will not matter. Maximum number of specifications is 100. Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string oneway_synonyms_control_ids = 12;value - The bytes of the onewaySynonymsControlIds to add.public com.google.protobuf.ProtocolStringList getDoNotAssociateControlIdsList()
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 [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string do_not_associate_control_ids = 13;getDoNotAssociateControlIdsList in interface ServingConfigOrBuilderpublic int getDoNotAssociateControlIdsCount()
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 [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string do_not_associate_control_ids = 13;getDoNotAssociateControlIdsCount in interface ServingConfigOrBuilderpublic String getDoNotAssociateControlIds(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 [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string do_not_associate_control_ids = 13;getDoNotAssociateControlIds in interface ServingConfigOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getDoNotAssociateControlIdsBytes(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 [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string do_not_associate_control_ids = 13;getDoNotAssociateControlIdsBytes in interface ServingConfigOrBuilderindex - The index of the value to return.public ServingConfig.Builder setDoNotAssociateControlIds(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 [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string do_not_associate_control_ids = 13;index - The index to set the value at.value - The doNotAssociateControlIds to set.public ServingConfig.Builder addDoNotAssociateControlIds(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 [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string do_not_associate_control_ids = 13;value - The doNotAssociateControlIds to add.public ServingConfig.Builder addAllDoNotAssociateControlIds(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 [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string do_not_associate_control_ids = 13;values - The doNotAssociateControlIds to add.public ServingConfig.Builder clearDoNotAssociateControlIds()
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 [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string do_not_associate_control_ids = 13;public ServingConfig.Builder addDoNotAssociateControlIdsBytes(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 [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string do_not_associate_control_ids = 13;value - The bytes of the doNotAssociateControlIds to add.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 [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string replacement_control_ids = 14;getReplacementControlIdsList in interface ServingConfigOrBuilderpublic 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 [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string replacement_control_ids = 14;getReplacementControlIdsCount in interface ServingConfigOrBuilderpublic 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 [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string replacement_control_ids = 14;getReplacementControlIds in interface ServingConfigOrBuilderindex - The index of the element to return.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 [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string replacement_control_ids = 14;getReplacementControlIdsBytes in interface ServingConfigOrBuilderindex - The index of the value to return.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 [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string replacement_control_ids = 14;index - The index to set the value at.value - The replacementControlIds to set.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 [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string replacement_control_ids = 14;value - The replacementControlIds to add.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 [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string replacement_control_ids = 14;values - The replacementControlIds to add.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 [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string replacement_control_ids = 14;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 [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string replacement_control_ids = 14;value - The bytes of the replacementControlIds to add.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. Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string ignore_control_ids = 15;getIgnoreControlIdsList in interface ServingConfigOrBuilderpublic 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. Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string ignore_control_ids = 15;getIgnoreControlIdsCount in interface ServingConfigOrBuilderpublic 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. Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string ignore_control_ids = 15;getIgnoreControlIds in interface ServingConfigOrBuilderindex - The index of the element to return.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. Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string ignore_control_ids = 15;getIgnoreControlIdsBytes in interface ServingConfigOrBuilderindex - The index of the value to return.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. Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string ignore_control_ids = 15;index - The index to set the value at.value - The ignoreControlIds to set.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. Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string ignore_control_ids = 15;value - The ignoreControlIds to add.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. Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string ignore_control_ids = 15;values - The ignoreControlIds to add.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. Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string ignore_control_ids = 15;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. Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH].
repeated string ignore_control_ids = 15;value - The bytes of the ignoreControlIds to add.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 [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_RECOMMENDATION][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_RECOMMENDATION].
string diversity_level = 8;getDiversityLevel in interface ServingConfigOrBuilderpublic 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 [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_RECOMMENDATION][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_RECOMMENDATION].
string diversity_level = 8;getDiversityLevelBytes in interface ServingConfigOrBuilderpublic 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 [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_RECOMMENDATION][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_RECOMMENDATION].
string diversity_level = 8;value - The diversityLevel to set.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 [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_RECOMMENDATION][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_RECOMMENDATION].
string diversity_level = 8;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 [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_RECOMMENDATION][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_RECOMMENDATION].
string diversity_level = 8;value - The bytes for diversityLevel to set.public int getDiversityTypeValue()
What kind of diversity to use - data driven or rule based. If unset, the server behavior defaults to [RULE_BASED_DIVERSITY][google.cloud.retail.v2.ServingConfig.DiversityType.RULE_BASED_DIVERSITY].
.google.cloud.retail.v2.ServingConfig.DiversityType diversity_type = 20;getDiversityTypeValue in interface ServingConfigOrBuilderpublic ServingConfig.Builder setDiversityTypeValue(int value)
What kind of diversity to use - data driven or rule based. If unset, the server behavior defaults to [RULE_BASED_DIVERSITY][google.cloud.retail.v2.ServingConfig.DiversityType.RULE_BASED_DIVERSITY].
.google.cloud.retail.v2.ServingConfig.DiversityType diversity_type = 20;value - The enum numeric value on the wire for diversityType to set.public ServingConfig.DiversityType getDiversityType()
What kind of diversity to use - data driven or rule based. If unset, the server behavior defaults to [RULE_BASED_DIVERSITY][google.cloud.retail.v2.ServingConfig.DiversityType.RULE_BASED_DIVERSITY].
.google.cloud.retail.v2.ServingConfig.DiversityType diversity_type = 20;getDiversityType in interface ServingConfigOrBuilderpublic ServingConfig.Builder setDiversityType(ServingConfig.DiversityType value)
What kind of diversity to use - data driven or rule based. If unset, the server behavior defaults to [RULE_BASED_DIVERSITY][google.cloud.retail.v2.ServingConfig.DiversityType.RULE_BASED_DIVERSITY].
.google.cloud.retail.v2.ServingConfig.DiversityType diversity_type = 20;value - The diversityType to set.public ServingConfig.Builder clearDiversityType()
What kind of diversity to use - data driven or rule based. If unset, the server behavior defaults to [RULE_BASED_DIVERSITY][google.cloud.retail.v2.ServingConfig.DiversityType.RULE_BASED_DIVERSITY].
.google.cloud.retail.v2.ServingConfig.DiversityType diversity_type = 20;public String getEnableCategoryFilterLevel()
Whether to add additional category filters on the `similar-items` model. If not specified, we enable it by default. Allowed values are: * `no-category-match`: No additional filtering of original results from the model and the customer's filters. * `relaxed-category-match`: Only keep results with categories that match at least one item categories in the PredictRequests's context item. * If customer also sends filters in the PredictRequest, then the results will satisfy both conditions (user given and category match). Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_RECOMMENDATION][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_RECOMMENDATION].
string enable_category_filter_level = 16;getEnableCategoryFilterLevel in interface ServingConfigOrBuilderpublic com.google.protobuf.ByteString getEnableCategoryFilterLevelBytes()
Whether to add additional category filters on the `similar-items` model. If not specified, we enable it by default. Allowed values are: * `no-category-match`: No additional filtering of original results from the model and the customer's filters. * `relaxed-category-match`: Only keep results with categories that match at least one item categories in the PredictRequests's context item. * If customer also sends filters in the PredictRequest, then the results will satisfy both conditions (user given and category match). Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_RECOMMENDATION][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_RECOMMENDATION].
string enable_category_filter_level = 16;getEnableCategoryFilterLevelBytes in interface ServingConfigOrBuilderpublic ServingConfig.Builder setEnableCategoryFilterLevel(String value)
Whether to add additional category filters on the `similar-items` model. If not specified, we enable it by default. Allowed values are: * `no-category-match`: No additional filtering of original results from the model and the customer's filters. * `relaxed-category-match`: Only keep results with categories that match at least one item categories in the PredictRequests's context item. * If customer also sends filters in the PredictRequest, then the results will satisfy both conditions (user given and category match). Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_RECOMMENDATION][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_RECOMMENDATION].
string enable_category_filter_level = 16;value - The enableCategoryFilterLevel to set.public ServingConfig.Builder clearEnableCategoryFilterLevel()
Whether to add additional category filters on the `similar-items` model. If not specified, we enable it by default. Allowed values are: * `no-category-match`: No additional filtering of original results from the model and the customer's filters. * `relaxed-category-match`: Only keep results with categories that match at least one item categories in the PredictRequests's context item. * If customer also sends filters in the PredictRequest, then the results will satisfy both conditions (user given and category match). Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_RECOMMENDATION][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_RECOMMENDATION].
string enable_category_filter_level = 16;public ServingConfig.Builder setEnableCategoryFilterLevelBytes(com.google.protobuf.ByteString value)
Whether to add additional category filters on the `similar-items` model. If not specified, we enable it by default. Allowed values are: * `no-category-match`: No additional filtering of original results from the model and the customer's filters. * `relaxed-category-match`: Only keep results with categories that match at least one item categories in the PredictRequests's context item. * If customer also sends filters in the PredictRequest, then the results will satisfy both conditions (user given and category match). Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_RECOMMENDATION][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_RECOMMENDATION].
string enable_category_filter_level = 16;value - The bytes for enableCategoryFilterLevel to set.public boolean hasPersonalizationSpec()
The specification for personalization spec. Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH]. Notice that if both [ServingConfig.personalization_spec][google.cloud.retail.v2.ServingConfig.personalization_spec] and [SearchRequest.personalization_spec][google.cloud.retail.v2.SearchRequest.personalization_spec] are set. [SearchRequest.personalization_spec][google.cloud.retail.v2.SearchRequest.personalization_spec] will override [ServingConfig.personalization_spec][google.cloud.retail.v2.ServingConfig.personalization_spec].
.google.cloud.retail.v2.SearchRequest.PersonalizationSpec personalization_spec = 21;
hasPersonalizationSpec in interface ServingConfigOrBuilderpublic SearchRequest.PersonalizationSpec getPersonalizationSpec()
The specification for personalization spec. Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH]. Notice that if both [ServingConfig.personalization_spec][google.cloud.retail.v2.ServingConfig.personalization_spec] and [SearchRequest.personalization_spec][google.cloud.retail.v2.SearchRequest.personalization_spec] are set. [SearchRequest.personalization_spec][google.cloud.retail.v2.SearchRequest.personalization_spec] will override [ServingConfig.personalization_spec][google.cloud.retail.v2.ServingConfig.personalization_spec].
.google.cloud.retail.v2.SearchRequest.PersonalizationSpec personalization_spec = 21;
getPersonalizationSpec in interface ServingConfigOrBuilderpublic ServingConfig.Builder setPersonalizationSpec(SearchRequest.PersonalizationSpec value)
The specification for personalization spec. Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH]. Notice that if both [ServingConfig.personalization_spec][google.cloud.retail.v2.ServingConfig.personalization_spec] and [SearchRequest.personalization_spec][google.cloud.retail.v2.SearchRequest.personalization_spec] are set. [SearchRequest.personalization_spec][google.cloud.retail.v2.SearchRequest.personalization_spec] will override [ServingConfig.personalization_spec][google.cloud.retail.v2.ServingConfig.personalization_spec].
.google.cloud.retail.v2.SearchRequest.PersonalizationSpec personalization_spec = 21;
public ServingConfig.Builder setPersonalizationSpec(SearchRequest.PersonalizationSpec.Builder builderForValue)
The specification for personalization spec. Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH]. Notice that if both [ServingConfig.personalization_spec][google.cloud.retail.v2.ServingConfig.personalization_spec] and [SearchRequest.personalization_spec][google.cloud.retail.v2.SearchRequest.personalization_spec] are set. [SearchRequest.personalization_spec][google.cloud.retail.v2.SearchRequest.personalization_spec] will override [ServingConfig.personalization_spec][google.cloud.retail.v2.ServingConfig.personalization_spec].
.google.cloud.retail.v2.SearchRequest.PersonalizationSpec personalization_spec = 21;
public ServingConfig.Builder mergePersonalizationSpec(SearchRequest.PersonalizationSpec value)
The specification for personalization spec. Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH]. Notice that if both [ServingConfig.personalization_spec][google.cloud.retail.v2.ServingConfig.personalization_spec] and [SearchRequest.personalization_spec][google.cloud.retail.v2.SearchRequest.personalization_spec] are set. [SearchRequest.personalization_spec][google.cloud.retail.v2.SearchRequest.personalization_spec] will override [ServingConfig.personalization_spec][google.cloud.retail.v2.ServingConfig.personalization_spec].
.google.cloud.retail.v2.SearchRequest.PersonalizationSpec personalization_spec = 21;
public ServingConfig.Builder clearPersonalizationSpec()
The specification for personalization spec. Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH]. Notice that if both [ServingConfig.personalization_spec][google.cloud.retail.v2.ServingConfig.personalization_spec] and [SearchRequest.personalization_spec][google.cloud.retail.v2.SearchRequest.personalization_spec] are set. [SearchRequest.personalization_spec][google.cloud.retail.v2.SearchRequest.personalization_spec] will override [ServingConfig.personalization_spec][google.cloud.retail.v2.ServingConfig.personalization_spec].
.google.cloud.retail.v2.SearchRequest.PersonalizationSpec personalization_spec = 21;
public SearchRequest.PersonalizationSpec.Builder getPersonalizationSpecBuilder()
The specification for personalization spec. Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH]. Notice that if both [ServingConfig.personalization_spec][google.cloud.retail.v2.ServingConfig.personalization_spec] and [SearchRequest.personalization_spec][google.cloud.retail.v2.SearchRequest.personalization_spec] are set. [SearchRequest.personalization_spec][google.cloud.retail.v2.SearchRequest.personalization_spec] will override [ServingConfig.personalization_spec][google.cloud.retail.v2.ServingConfig.personalization_spec].
.google.cloud.retail.v2.SearchRequest.PersonalizationSpec personalization_spec = 21;
public SearchRequest.PersonalizationSpecOrBuilder getPersonalizationSpecOrBuilder()
The specification for personalization spec. Can only be set if [solution_types][google.cloud.retail.v2.ServingConfig.solution_types] is [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_SEARCH]. Notice that if both [ServingConfig.personalization_spec][google.cloud.retail.v2.ServingConfig.personalization_spec] and [SearchRequest.personalization_spec][google.cloud.retail.v2.SearchRequest.personalization_spec] are set. [SearchRequest.personalization_spec][google.cloud.retail.v2.SearchRequest.personalization_spec] will override [ServingConfig.personalization_spec][google.cloud.retail.v2.ServingConfig.personalization_spec].
.google.cloud.retail.v2.SearchRequest.PersonalizationSpec personalization_spec = 21;
getPersonalizationSpecOrBuilder in interface ServingConfigOrBuilderpublic List<SolutionType> getSolutionTypesList()
Required. Immutable. Specifies the solution types that a serving config can be associated with. Currently we support setting only one type of solution.
repeated .google.cloud.retail.v2.SolutionType solution_types = 19 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
getSolutionTypesList in interface ServingConfigOrBuilderpublic int getSolutionTypesCount()
Required. Immutable. Specifies the solution types that a serving config can be associated with. Currently we support setting only one type of solution.
repeated .google.cloud.retail.v2.SolutionType solution_types = 19 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
getSolutionTypesCount in interface ServingConfigOrBuilderpublic SolutionType getSolutionTypes(int index)
Required. Immutable. Specifies the solution types that a serving config can be associated with. Currently we support setting only one type of solution.
repeated .google.cloud.retail.v2.SolutionType solution_types = 19 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
getSolutionTypes in interface ServingConfigOrBuilderindex - The index of the element to return.public ServingConfig.Builder setSolutionTypes(int index, SolutionType value)
Required. Immutable. Specifies the solution types that a serving config can be associated with. Currently we support setting only one type of solution.
repeated .google.cloud.retail.v2.SolutionType solution_types = 19 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
index - The index to set the value at.value - The solutionTypes to set.public ServingConfig.Builder addSolutionTypes(SolutionType value)
Required. Immutable. Specifies the solution types that a serving config can be associated with. Currently we support setting only one type of solution.
repeated .google.cloud.retail.v2.SolutionType solution_types = 19 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
value - The solutionTypes to add.public ServingConfig.Builder addAllSolutionTypes(Iterable<? extends SolutionType> values)
Required. Immutable. Specifies the solution types that a serving config can be associated with. Currently we support setting only one type of solution.
repeated .google.cloud.retail.v2.SolutionType solution_types = 19 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
values - The solutionTypes to add.public ServingConfig.Builder clearSolutionTypes()
Required. Immutable. Specifies the solution types that a serving config can be associated with. Currently we support setting only one type of solution.
repeated .google.cloud.retail.v2.SolutionType solution_types = 19 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
public List<Integer> getSolutionTypesValueList()
Required. Immutable. Specifies the solution types that a serving config can be associated with. Currently we support setting only one type of solution.
repeated .google.cloud.retail.v2.SolutionType solution_types = 19 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
getSolutionTypesValueList in interface ServingConfigOrBuilderpublic int getSolutionTypesValue(int index)
Required. Immutable. Specifies the solution types that a serving config can be associated with. Currently we support setting only one type of solution.
repeated .google.cloud.retail.v2.SolutionType solution_types = 19 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
getSolutionTypesValue in interface ServingConfigOrBuilderindex - The index of the value to return.public ServingConfig.Builder setSolutionTypesValue(int index, int value)
Required. Immutable. Specifies the solution types that a serving config can be associated with. Currently we support setting only one type of solution.
repeated .google.cloud.retail.v2.SolutionType solution_types = 19 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
index - The index to set the value at.value - The enum numeric value on the wire for solutionTypes to set.public ServingConfig.Builder addSolutionTypesValue(int value)
Required. Immutable. Specifies the solution types that a serving config can be associated with. Currently we support setting only one type of solution.
repeated .google.cloud.retail.v2.SolutionType solution_types = 19 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
value - The enum numeric value on the wire for solutionTypes to add.public ServingConfig.Builder addAllSolutionTypesValue(Iterable<Integer> values)
Required. Immutable. Specifies the solution types that a serving config can be associated with. Currently we support setting only one type of solution.
repeated .google.cloud.retail.v2.SolutionType solution_types = 19 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
values - The enum numeric values on the wire for solutionTypes to add.public final ServingConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ServingConfig.Builder>public final ServingConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ServingConfig.Builder>Copyright © 2023 Google LLC. All rights reserved.