public interface ControlOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
Control.ActionCase |
getActionCase() |
String |
getAssociatedServingConfigIds(int index)
Output only.
|
com.google.protobuf.ByteString |
getAssociatedServingConfigIdsBytes(int index)
Output only.
|
int |
getAssociatedServingConfigIdsCount()
Output only.
|
List<String> |
getAssociatedServingConfigIdsList()
Output only.
|
Control.BoostAction |
getBoostAction()
Defines a boost-type control
.google.cloud.discoveryengine.v1beta.Control.BoostAction boost_action = 6; |
Control.BoostActionOrBuilder |
getBoostActionOrBuilder()
Defines a boost-type control
.google.cloud.discoveryengine.v1beta.Control.BoostAction boost_action = 6; |
Condition |
getConditions(int index)
Determines when the associated action will trigger.
|
int |
getConditionsCount()
Determines when the associated action will trigger.
|
List<Condition> |
getConditionsList()
Determines when the associated action will trigger.
|
ConditionOrBuilder |
getConditionsOrBuilder(int index)
Determines when the associated action will trigger.
|
List<? extends ConditionOrBuilder> |
getConditionsOrBuilderList()
Determines when the associated action will trigger.
|
String |
getDisplayName()
Required.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
Required.
|
Control.FilterAction |
getFilterAction()
Defines a filter-type control
Currently not supported by Recommendation
.google.cloud.discoveryengine.v1beta.Control.FilterAction filter_action = 7; |
Control.FilterActionOrBuilder |
getFilterActionOrBuilder()
Defines a filter-type control
Currently not supported by Recommendation
.google.cloud.discoveryengine.v1beta.Control.FilterAction filter_action = 7; |
String |
getName()
Immutable.
|
com.google.protobuf.ByteString |
getNameBytes()
Immutable.
|
Control.RedirectAction |
getRedirectAction()
Defines a redirect-type control.
|
Control.RedirectActionOrBuilder |
getRedirectActionOrBuilder()
Defines a redirect-type control.
|
SolutionType |
getSolutionType()
Required.
|
int |
getSolutionTypeValue()
Required.
|
Control.SynonymsAction |
getSynonymsAction()
Treats a group of terms as synonyms of one another.
|
Control.SynonymsActionOrBuilder |
getSynonymsActionOrBuilder()
Treats a group of terms as synonyms of one another.
|
SearchUseCase |
getUseCases(int index)
Specifies the use case for the control.
|
int |
getUseCasesCount()
Specifies the use case for the control.
|
List<SearchUseCase> |
getUseCasesList()
Specifies the use case for the control.
|
int |
getUseCasesValue(int index)
Specifies the use case for the control.
|
List<Integer> |
getUseCasesValueList()
Specifies the use case for the control.
|
boolean |
hasBoostAction()
Defines a boost-type control
.google.cloud.discoveryengine.v1beta.Control.BoostAction boost_action = 6; |
boolean |
hasFilterAction()
Defines a filter-type control
Currently not supported by Recommendation
.google.cloud.discoveryengine.v1beta.Control.FilterAction filter_action = 7; |
boolean |
hasRedirectAction()
Defines a redirect-type control.
|
boolean |
hasSynonymsAction()
Treats a group of terms as synonyms of one another.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasBoostAction()
Defines a boost-type control
.google.cloud.discoveryengine.v1beta.Control.BoostAction boost_action = 6;Control.BoostAction getBoostAction()
Defines a boost-type control
.google.cloud.discoveryengine.v1beta.Control.BoostAction boost_action = 6;Control.BoostActionOrBuilder getBoostActionOrBuilder()
Defines a boost-type control
.google.cloud.discoveryengine.v1beta.Control.BoostAction boost_action = 6;boolean hasFilterAction()
Defines a filter-type control Currently not supported by Recommendation
.google.cloud.discoveryengine.v1beta.Control.FilterAction filter_action = 7;Control.FilterAction getFilterAction()
Defines a filter-type control Currently not supported by Recommendation
.google.cloud.discoveryengine.v1beta.Control.FilterAction filter_action = 7;Control.FilterActionOrBuilder getFilterActionOrBuilder()
Defines a filter-type control Currently not supported by Recommendation
.google.cloud.discoveryengine.v1beta.Control.FilterAction filter_action = 7;boolean hasRedirectAction()
Defines a redirect-type control.
.google.cloud.discoveryengine.v1beta.Control.RedirectAction redirect_action = 9;Control.RedirectAction getRedirectAction()
Defines a redirect-type control.
.google.cloud.discoveryengine.v1beta.Control.RedirectAction redirect_action = 9;Control.RedirectActionOrBuilder getRedirectActionOrBuilder()
Defines a redirect-type control.
.google.cloud.discoveryengine.v1beta.Control.RedirectAction redirect_action = 9;boolean hasSynonymsAction()
Treats a group of terms as synonyms of one another.
.google.cloud.discoveryengine.v1beta.Control.SynonymsAction synonyms_action = 10;Control.SynonymsAction getSynonymsAction()
Treats a group of terms as synonyms of one another.
.google.cloud.discoveryengine.v1beta.Control.SynonymsAction synonyms_action = 10;Control.SynonymsActionOrBuilder getSynonymsActionOrBuilder()
Treats a group of terms as synonyms of one another.
.google.cloud.discoveryengine.v1beta.Control.SynonymsAction synonyms_action = 10;String getName()
Immutable. Fully qualified name `projects/*/locations/global/dataStore/*/controls/*`
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];com.google.protobuf.ByteString getNameBytes()
Immutable. Fully qualified name `projects/*/locations/global/dataStore/*/controls/*`
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];String getDisplayName()
Required. Human readable name. The identifier used in UI views. Must be UTF-8 encoded string. Length limit is 128 characters. Otherwise an INVALID ARGUMENT error is thrown.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];com.google.protobuf.ByteString getDisplayNameBytes()
Required. Human readable name. The identifier used in UI views. Must be UTF-8 encoded string. Length limit is 128 characters. Otherwise an INVALID ARGUMENT error is thrown.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];List<String> getAssociatedServingConfigIdsList()
Output only. List of all [ServingConfig][google.cloud.discoveryengine.v1beta.ServingConfig] IDs this control is attached to. May take up to 10 minutes to update after changes.
repeated string associated_serving_config_ids = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
int getAssociatedServingConfigIdsCount()
Output only. List of all [ServingConfig][google.cloud.discoveryengine.v1beta.ServingConfig] IDs this control is attached to. May take up to 10 minutes to update after changes.
repeated string associated_serving_config_ids = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
String getAssociatedServingConfigIds(int index)
Output only. List of all [ServingConfig][google.cloud.discoveryengine.v1beta.ServingConfig] IDs this control is attached to. May take up to 10 minutes to update after changes.
repeated string associated_serving_config_ids = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
index - The index of the element to return.com.google.protobuf.ByteString getAssociatedServingConfigIdsBytes(int index)
Output only. List of all [ServingConfig][google.cloud.discoveryengine.v1beta.ServingConfig] IDs this control is attached to. May take up to 10 minutes to update after changes.
repeated string associated_serving_config_ids = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
index - The index of the value to return.int getSolutionTypeValue()
Required. Immutable. What solution the control belongs to. Must be compatible with vertical of resource. Otherwise an INVALID ARGUMENT error is thrown.
.google.cloud.discoveryengine.v1beta.SolutionType solution_type = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
SolutionType getSolutionType()
Required. Immutable. What solution the control belongs to. Must be compatible with vertical of resource. Otherwise an INVALID ARGUMENT error is thrown.
.google.cloud.discoveryengine.v1beta.SolutionType solution_type = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
List<SearchUseCase> getUseCasesList()
Specifies the use case for the control. Affects what condition fields can be set. Only applies to [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH]. Currently only allow one use case per control. Must be set when solution_type is [SolutionType.SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH].
repeated .google.cloud.discoveryengine.v1beta.SearchUseCase use_cases = 8;int getUseCasesCount()
Specifies the use case for the control. Affects what condition fields can be set. Only applies to [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH]. Currently only allow one use case per control. Must be set when solution_type is [SolutionType.SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH].
repeated .google.cloud.discoveryengine.v1beta.SearchUseCase use_cases = 8;SearchUseCase getUseCases(int index)
Specifies the use case for the control. Affects what condition fields can be set. Only applies to [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH]. Currently only allow one use case per control. Must be set when solution_type is [SolutionType.SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH].
repeated .google.cloud.discoveryengine.v1beta.SearchUseCase use_cases = 8;index - The index of the element to return.List<Integer> getUseCasesValueList()
Specifies the use case for the control. Affects what condition fields can be set. Only applies to [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH]. Currently only allow one use case per control. Must be set when solution_type is [SolutionType.SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH].
repeated .google.cloud.discoveryengine.v1beta.SearchUseCase use_cases = 8;int getUseCasesValue(int index)
Specifies the use case for the control. Affects what condition fields can be set. Only applies to [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH]. Currently only allow one use case per control. Must be set when solution_type is [SolutionType.SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH].
repeated .google.cloud.discoveryengine.v1beta.SearchUseCase use_cases = 8;index - The index of the value to return.List<Condition> getConditionsList()
Determines when the associated action will trigger. Omit to always apply the action. Currently only a single condition may be specified. Otherwise an INVALID ARGUMENT error is thrown.
repeated .google.cloud.discoveryengine.v1beta.Condition conditions = 5;Condition getConditions(int index)
Determines when the associated action will trigger. Omit to always apply the action. Currently only a single condition may be specified. Otherwise an INVALID ARGUMENT error is thrown.
repeated .google.cloud.discoveryengine.v1beta.Condition conditions = 5;int getConditionsCount()
Determines when the associated action will trigger. Omit to always apply the action. Currently only a single condition may be specified. Otherwise an INVALID ARGUMENT error is thrown.
repeated .google.cloud.discoveryengine.v1beta.Condition conditions = 5;List<? extends ConditionOrBuilder> getConditionsOrBuilderList()
Determines when the associated action will trigger. Omit to always apply the action. Currently only a single condition may be specified. Otherwise an INVALID ARGUMENT error is thrown.
repeated .google.cloud.discoveryengine.v1beta.Condition conditions = 5;ConditionOrBuilder getConditionsOrBuilder(int index)
Determines when the associated action will trigger. Omit to always apply the action. Currently only a single condition may be specified. Otherwise an INVALID ARGUMENT error is thrown.
repeated .google.cloud.discoveryengine.v1beta.Condition conditions = 5;Control.ActionCase getActionCase()
Copyright © 2025 Google LLC. All rights reserved.