public interface ServingConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getBoostControlIds(int index)
Condition boost specifications.
|
com.google.protobuf.ByteString |
getBoostControlIdsBytes(int index)
Condition boost specifications.
|
int |
getBoostControlIdsCount()
Condition boost specifications.
|
List<String> |
getBoostControlIdsList()
Condition boost specifications.
|
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.
|
List<String> |
getDoNotAssociateControlIdsList()
Condition do not associate specifications.
|
SearchRequest.DynamicFacetSpec |
getDynamicFacetSpec()
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.
|
List<String> |
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.
|
List<String> |
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.
|
List<String> |
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.
|
List<String> |
getOnewaySynonymsControlIdsList()
Condition oneway synonyms specifications.
|
SearchRequest.PersonalizationSpec |
getPersonalizationSpec()
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.
|
List<String> |
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.
|
List<String> |
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.
|
List<String> |
getTwowaySynonymsControlIdsList()
Condition synonyms specifications.
|
boolean |
hasDynamicFacetSpec()
The specification for dynamically generated facets.
|
boolean |
hasPersonalizationSpec()
The specification for personalization spec.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getName()
Immutable. Fully qualified name `projects/*/locations/global/catalogs/*/servingConfig/*`
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];com.google.protobuf.ByteString getNameBytes()
Immutable. Fully qualified name `projects/*/locations/global/catalogs/*/servingConfig/*`
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];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];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];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;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;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;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;List<String> 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;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;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;index - The index of the element to return.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;index - The index of the value to return.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;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;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;List<String> 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;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;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;index - The index of the element to return.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;index - The index of the value to return.List<String> 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;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;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;index - The index of the element to return.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;index - The index of the value to return.List<String> 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;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;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;index - The index of the element to return.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;index - The index of the value to return.List<String> 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;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;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;index - The index of the element to return.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;index - The index of the value to return.List<String> 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;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;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;index - The index of the element to return.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;index - The index of the value to return.List<String> 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;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;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;index - The index of the element to return.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;index - The index of the value to return.List<String> 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;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;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;index - The index of the element to return.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;index - The index of the value to return.List<String> 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;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;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;index - The index of the element to return.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;index - The index of the value to return.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;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;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;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;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;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;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;
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;
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;
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];
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];
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];
index - The index of the element to return.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];
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];
index - The index of the value to return.Copyright © 2024 Google LLC. All rights reserved.