public static final class Control.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Control.Builder> implements ControlOrBuilder
Defines a conditioned behavior to employ during serving. Must be attached to a [ServingConfig][google.cloud.discoveryengine.v1beta.ServingConfig] to be considered at serving time. Permitted actions dependent on `SolutionType`.Protobuf type
google.cloud.discoveryengine.v1beta.Control| Modifier and Type | Method and Description |
|---|---|
Control.Builder |
addAllAssociatedServingConfigIds(Iterable<String> values)
Output only.
|
Control.Builder |
addAllConditions(Iterable<? extends Condition> values)
Determines when the associated action will trigger.
|
Control.Builder |
addAllUseCases(Iterable<? extends SearchUseCase> values)
Specifies the use case for the control.
|
Control.Builder |
addAllUseCasesValue(Iterable<Integer> values)
Specifies the use case for the control.
|
Control.Builder |
addAssociatedServingConfigIds(String value)
Output only.
|
Control.Builder |
addAssociatedServingConfigIdsBytes(com.google.protobuf.ByteString value)
Output only.
|
Control.Builder |
addConditions(Condition.Builder builderForValue)
Determines when the associated action will trigger.
|
Control.Builder |
addConditions(Condition value)
Determines when the associated action will trigger.
|
Control.Builder |
addConditions(int index,
Condition.Builder builderForValue)
Determines when the associated action will trigger.
|
Control.Builder |
addConditions(int index,
Condition value)
Determines when the associated action will trigger.
|
Condition.Builder |
addConditionsBuilder()
Determines when the associated action will trigger.
|
Condition.Builder |
addConditionsBuilder(int index)
Determines when the associated action will trigger.
|
Control.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Control.Builder |
addUseCases(SearchUseCase value)
Specifies the use case for the control.
|
Control.Builder |
addUseCasesValue(int value)
Specifies the use case for the control.
|
Control |
build() |
Control |
buildPartial() |
Control.Builder |
clear() |
Control.Builder |
clearAction() |
Control.Builder |
clearAssociatedServingConfigIds()
Output only.
|
Control.Builder |
clearBoostAction()
Defines a boost-type control
.google.cloud.discoveryengine.v1beta.Control.BoostAction boost_action = 6; |
Control.Builder |
clearConditions()
Determines when the associated action will trigger.
|
Control.Builder |
clearDisplayName()
Required.
|
Control.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Control.Builder |
clearFilterAction()
Defines a filter-type control
Currently not supported by Recommendation
.google.cloud.discoveryengine.v1beta.Control.FilterAction filter_action = 7; |
Control.Builder |
clearName()
Immutable.
|
Control.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Control.Builder |
clearRedirectAction()
Defines a redirect-type control.
|
Control.Builder |
clearSolutionType()
Required.
|
Control.Builder |
clearSynonymsAction()
Treats a group of terms as synonyms of one another.
|
Control.Builder |
clearUseCases()
Specifies the use case for the control.
|
Control.Builder |
clone() |
Control.ActionCase |
getActionCase() |
String |
getAssociatedServingConfigIds(int index)
Output only.
|
com.google.protobuf.ByteString |
getAssociatedServingConfigIdsBytes(int index)
Output only.
|
int |
getAssociatedServingConfigIdsCount()
Output only.
|
com.google.protobuf.ProtocolStringList |
getAssociatedServingConfigIdsList()
Output only.
|
Control.BoostAction |
getBoostAction()
Defines a boost-type control
.google.cloud.discoveryengine.v1beta.Control.BoostAction boost_action = 6; |
Control.BoostAction.Builder |
getBoostActionBuilder()
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.
|
Condition.Builder |
getConditionsBuilder(int index)
Determines when the associated action will trigger.
|
List<Condition.Builder> |
getConditionsBuilderList()
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.
|
Control |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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.FilterAction.Builder |
getFilterActionBuilder()
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.RedirectAction.Builder |
getRedirectActionBuilder()
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.SynonymsAction.Builder |
getSynonymsActionBuilder()
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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Control.Builder |
mergeBoostAction(Control.BoostAction value)
Defines a boost-type control
.google.cloud.discoveryengine.v1beta.Control.BoostAction boost_action = 6; |
Control.Builder |
mergeFilterAction(Control.FilterAction value)
Defines a filter-type control
Currently not supported by Recommendation
.google.cloud.discoveryengine.v1beta.Control.FilterAction filter_action = 7; |
Control.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Control.Builder |
mergeFrom(Control other) |
Control.Builder |
mergeFrom(com.google.protobuf.Message other) |
Control.Builder |
mergeRedirectAction(Control.RedirectAction value)
Defines a redirect-type control.
|
Control.Builder |
mergeSynonymsAction(Control.SynonymsAction value)
Treats a group of terms as synonyms of one another.
|
Control.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Control.Builder |
removeConditions(int index)
Determines when the associated action will trigger.
|
Control.Builder |
setAssociatedServingConfigIds(int index,
String value)
Output only.
|
Control.Builder |
setBoostAction(Control.BoostAction.Builder builderForValue)
Defines a boost-type control
.google.cloud.discoveryengine.v1beta.Control.BoostAction boost_action = 6; |
Control.Builder |
setBoostAction(Control.BoostAction value)
Defines a boost-type control
.google.cloud.discoveryengine.v1beta.Control.BoostAction boost_action = 6; |
Control.Builder |
setConditions(int index,
Condition.Builder builderForValue)
Determines when the associated action will trigger.
|
Control.Builder |
setConditions(int index,
Condition value)
Determines when the associated action will trigger.
|
Control.Builder |
setDisplayName(String value)
Required.
|
Control.Builder |
setDisplayNameBytes(com.google.protobuf.ByteString value)
Required.
|
Control.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Control.Builder |
setFilterAction(Control.FilterAction.Builder builderForValue)
Defines a filter-type control
Currently not supported by Recommendation
.google.cloud.discoveryengine.v1beta.Control.FilterAction filter_action = 7; |
Control.Builder |
setFilterAction(Control.FilterAction value)
Defines a filter-type control
Currently not supported by Recommendation
.google.cloud.discoveryengine.v1beta.Control.FilterAction filter_action = 7; |
Control.Builder |
setName(String value)
Immutable.
|
Control.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Immutable.
|
Control.Builder |
setRedirectAction(Control.RedirectAction.Builder builderForValue)
Defines a redirect-type control.
|
Control.Builder |
setRedirectAction(Control.RedirectAction value)
Defines a redirect-type control.
|
Control.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Control.Builder |
setSolutionType(SolutionType value)
Required.
|
Control.Builder |
setSolutionTypeValue(int value)
Required.
|
Control.Builder |
setSynonymsAction(Control.SynonymsAction.Builder builderForValue)
Treats a group of terms as synonyms of one another.
|
Control.Builder |
setSynonymsAction(Control.SynonymsAction value)
Treats a group of terms as synonyms of one another.
|
Control.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Control.Builder |
setUseCases(int index,
SearchUseCase value)
Specifies the use case for the control.
|
Control.Builder |
setUseCasesValue(int index,
int value)
Specifies the use case for the control.
|
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<Control.Builder>public Control.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Control.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<Control.Builder>public Control getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Control build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Control buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Control.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Control.Builder>public Control.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<Control.Builder>public Control.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Control.Builder>public Control.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Control.Builder>public Control.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<Control.Builder>public Control.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<Control.Builder>public Control.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Control.Builder>public Control.Builder mergeFrom(Control other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Control.Builder>public Control.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<Control.Builder>IOExceptionpublic Control.ActionCase getActionCase()
getActionCase in interface ControlOrBuilderpublic Control.Builder clearAction()
public boolean hasBoostAction()
Defines a boost-type control
.google.cloud.discoveryengine.v1beta.Control.BoostAction boost_action = 6;hasBoostAction in interface ControlOrBuilderpublic Control.BoostAction getBoostAction()
Defines a boost-type control
.google.cloud.discoveryengine.v1beta.Control.BoostAction boost_action = 6;getBoostAction in interface ControlOrBuilderpublic Control.Builder setBoostAction(Control.BoostAction value)
Defines a boost-type control
.google.cloud.discoveryengine.v1beta.Control.BoostAction boost_action = 6;public Control.Builder setBoostAction(Control.BoostAction.Builder builderForValue)
Defines a boost-type control
.google.cloud.discoveryengine.v1beta.Control.BoostAction boost_action = 6;public Control.Builder mergeBoostAction(Control.BoostAction value)
Defines a boost-type control
.google.cloud.discoveryengine.v1beta.Control.BoostAction boost_action = 6;public Control.Builder clearBoostAction()
Defines a boost-type control
.google.cloud.discoveryengine.v1beta.Control.BoostAction boost_action = 6;public Control.BoostAction.Builder getBoostActionBuilder()
Defines a boost-type control
.google.cloud.discoveryengine.v1beta.Control.BoostAction boost_action = 6;public Control.BoostActionOrBuilder getBoostActionOrBuilder()
Defines a boost-type control
.google.cloud.discoveryengine.v1beta.Control.BoostAction boost_action = 6;getBoostActionOrBuilder in interface ControlOrBuilderpublic boolean hasFilterAction()
Defines a filter-type control Currently not supported by Recommendation
.google.cloud.discoveryengine.v1beta.Control.FilterAction filter_action = 7;hasFilterAction in interface ControlOrBuilderpublic Control.FilterAction getFilterAction()
Defines a filter-type control Currently not supported by Recommendation
.google.cloud.discoveryengine.v1beta.Control.FilterAction filter_action = 7;getFilterAction in interface ControlOrBuilderpublic Control.Builder setFilterAction(Control.FilterAction value)
Defines a filter-type control Currently not supported by Recommendation
.google.cloud.discoveryengine.v1beta.Control.FilterAction filter_action = 7;public Control.Builder setFilterAction(Control.FilterAction.Builder builderForValue)
Defines a filter-type control Currently not supported by Recommendation
.google.cloud.discoveryengine.v1beta.Control.FilterAction filter_action = 7;public Control.Builder mergeFilterAction(Control.FilterAction value)
Defines a filter-type control Currently not supported by Recommendation
.google.cloud.discoveryengine.v1beta.Control.FilterAction filter_action = 7;public Control.Builder clearFilterAction()
Defines a filter-type control Currently not supported by Recommendation
.google.cloud.discoveryengine.v1beta.Control.FilterAction filter_action = 7;public Control.FilterAction.Builder getFilterActionBuilder()
Defines a filter-type control Currently not supported by Recommendation
.google.cloud.discoveryengine.v1beta.Control.FilterAction filter_action = 7;public Control.FilterActionOrBuilder getFilterActionOrBuilder()
Defines a filter-type control Currently not supported by Recommendation
.google.cloud.discoveryengine.v1beta.Control.FilterAction filter_action = 7;getFilterActionOrBuilder in interface ControlOrBuilderpublic boolean hasRedirectAction()
Defines a redirect-type control.
.google.cloud.discoveryengine.v1beta.Control.RedirectAction redirect_action = 9;hasRedirectAction in interface ControlOrBuilderpublic Control.RedirectAction getRedirectAction()
Defines a redirect-type control.
.google.cloud.discoveryengine.v1beta.Control.RedirectAction redirect_action = 9;getRedirectAction in interface ControlOrBuilderpublic Control.Builder setRedirectAction(Control.RedirectAction value)
Defines a redirect-type control.
.google.cloud.discoveryengine.v1beta.Control.RedirectAction redirect_action = 9;public Control.Builder setRedirectAction(Control.RedirectAction.Builder builderForValue)
Defines a redirect-type control.
.google.cloud.discoveryengine.v1beta.Control.RedirectAction redirect_action = 9;public Control.Builder mergeRedirectAction(Control.RedirectAction value)
Defines a redirect-type control.
.google.cloud.discoveryengine.v1beta.Control.RedirectAction redirect_action = 9;public Control.Builder clearRedirectAction()
Defines a redirect-type control.
.google.cloud.discoveryengine.v1beta.Control.RedirectAction redirect_action = 9;public Control.RedirectAction.Builder getRedirectActionBuilder()
Defines a redirect-type control.
.google.cloud.discoveryengine.v1beta.Control.RedirectAction redirect_action = 9;public Control.RedirectActionOrBuilder getRedirectActionOrBuilder()
Defines a redirect-type control.
.google.cloud.discoveryengine.v1beta.Control.RedirectAction redirect_action = 9;getRedirectActionOrBuilder in interface ControlOrBuilderpublic boolean hasSynonymsAction()
Treats a group of terms as synonyms of one another.
.google.cloud.discoveryengine.v1beta.Control.SynonymsAction synonyms_action = 10;
hasSynonymsAction in interface ControlOrBuilderpublic Control.SynonymsAction getSynonymsAction()
Treats a group of terms as synonyms of one another.
.google.cloud.discoveryengine.v1beta.Control.SynonymsAction synonyms_action = 10;
getSynonymsAction in interface ControlOrBuilderpublic Control.Builder setSynonymsAction(Control.SynonymsAction value)
Treats a group of terms as synonyms of one another.
.google.cloud.discoveryengine.v1beta.Control.SynonymsAction synonyms_action = 10;
public Control.Builder setSynonymsAction(Control.SynonymsAction.Builder builderForValue)
Treats a group of terms as synonyms of one another.
.google.cloud.discoveryengine.v1beta.Control.SynonymsAction synonyms_action = 10;
public Control.Builder mergeSynonymsAction(Control.SynonymsAction value)
Treats a group of terms as synonyms of one another.
.google.cloud.discoveryengine.v1beta.Control.SynonymsAction synonyms_action = 10;
public Control.Builder clearSynonymsAction()
Treats a group of terms as synonyms of one another.
.google.cloud.discoveryengine.v1beta.Control.SynonymsAction synonyms_action = 10;
public Control.SynonymsAction.Builder getSynonymsActionBuilder()
Treats a group of terms as synonyms of one another.
.google.cloud.discoveryengine.v1beta.Control.SynonymsAction synonyms_action = 10;
public Control.SynonymsActionOrBuilder getSynonymsActionOrBuilder()
Treats a group of terms as synonyms of one another.
.google.cloud.discoveryengine.v1beta.Control.SynonymsAction synonyms_action = 10;
getSynonymsActionOrBuilder in interface ControlOrBuilderpublic String getName()
Immutable. Fully qualified name `projects/*/locations/global/dataStore/*/controls/*`
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];getName in interface ControlOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Immutable. Fully qualified name `projects/*/locations/global/dataStore/*/controls/*`
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];getNameBytes in interface ControlOrBuilderpublic Control.Builder setName(String value)
Immutable. Fully qualified name `projects/*/locations/global/dataStore/*/controls/*`
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];value - The name to set.public Control.Builder clearName()
Immutable. Fully qualified name `projects/*/locations/global/dataStore/*/controls/*`
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];public Control.Builder setNameBytes(com.google.protobuf.ByteString value)
Immutable. Fully qualified name `projects/*/locations/global/dataStore/*/controls/*`
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];value - The bytes for name to set.public 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];getDisplayName in interface ControlOrBuilderpublic 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];getDisplayNameBytes in interface ControlOrBuilderpublic Control.Builder setDisplayName(String value)
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];value - The displayName to set.public Control.Builder clearDisplayName()
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];public Control.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
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];value - The bytes for displayName to set.public com.google.protobuf.ProtocolStringList 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];
getAssociatedServingConfigIdsList in interface ControlOrBuilderpublic 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];
getAssociatedServingConfigIdsCount in interface ControlOrBuilderpublic 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];
getAssociatedServingConfigIds in interface ControlOrBuilderindex - The index of the element to return.public 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];
getAssociatedServingConfigIdsBytes in interface ControlOrBuilderindex - The index of the value to return.public Control.Builder setAssociatedServingConfigIds(int index, String value)
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 to set the value at.value - The associatedServingConfigIds to set.public Control.Builder addAssociatedServingConfigIds(String value)
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];
value - The associatedServingConfigIds to add.public Control.Builder addAllAssociatedServingConfigIds(Iterable<String> values)
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];
values - The associatedServingConfigIds to add.public Control.Builder clearAssociatedServingConfigIds()
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];
public Control.Builder addAssociatedServingConfigIdsBytes(com.google.protobuf.ByteString value)
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];
value - The bytes of the associatedServingConfigIds to add.public 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];
getSolutionTypeValue in interface ControlOrBuilderpublic Control.Builder setSolutionTypeValue(int value)
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];
value - The enum numeric value on the wire for solutionType to set.public 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];
getSolutionType in interface ControlOrBuilderpublic Control.Builder setSolutionType(SolutionType value)
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];
value - The solutionType to set.public Control.Builder clearSolutionType()
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];
public 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;getUseCasesList in interface ControlOrBuilderpublic 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;getUseCasesCount in interface ControlOrBuilderpublic 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;getUseCases in interface ControlOrBuilderindex - The index of the element to return.public Control.Builder setUseCases(int index, SearchUseCase value)
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 to set the value at.value - The useCases to set.public Control.Builder addUseCases(SearchUseCase value)
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;value - The useCases to add.public Control.Builder addAllUseCases(Iterable<? extends SearchUseCase> values)
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;values - The useCases to add.public Control.Builder clearUseCases()
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;public 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;getUseCasesValueList in interface ControlOrBuilderpublic 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;getUseCasesValue in interface ControlOrBuilderindex - The index of the value to return.public Control.Builder setUseCasesValue(int index, int value)
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 to set the value at.value - The enum numeric value on the wire for useCases to set.public Control.Builder addUseCasesValue(int value)
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;value - The enum numeric value on the wire for useCases to add.public Control.Builder addAllUseCasesValue(Iterable<Integer> values)
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;values - The enum numeric values on the wire for useCases to add.public 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;getConditionsList in interface ControlOrBuilderpublic 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;getConditionsCount in interface ControlOrBuilderpublic 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;getConditions in interface ControlOrBuilderpublic Control.Builder setConditions(int index, Condition value)
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;public Control.Builder setConditions(int index, Condition.Builder builderForValue)
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;public Control.Builder addConditions(Condition value)
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;public Control.Builder addConditions(int index, Condition value)
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;public Control.Builder addConditions(Condition.Builder builderForValue)
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;public Control.Builder addConditions(int index, Condition.Builder builderForValue)
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;public Control.Builder addAllConditions(Iterable<? extends Condition> values)
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;public Control.Builder clearConditions()
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;public Control.Builder removeConditions(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;public Condition.Builder getConditionsBuilder(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;public 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;getConditionsOrBuilder in interface ControlOrBuilderpublic 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;getConditionsOrBuilderList in interface ControlOrBuilderpublic Condition.Builder addConditionsBuilder()
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;public Condition.Builder addConditionsBuilder(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;public List<Condition.Builder> getConditionsBuilderList()
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;public final Control.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Control.Builder>public final Control.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Control.Builder>Copyright © 2025 Google LLC. All rights reserved.