Package com.google.apps.card.v1
Class SelectionInput.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<SelectionInput.Builder>
com.google.protobuf.GeneratedMessage.Builder<SelectionInput.Builder>
com.google.protobuf.GeneratedMessage.ExtendableBuilder<com.google.protobuf.GeneratedMessageV3,SelectionInput.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<SelectionInput.Builder>
com.google.apps.card.v1.SelectionInput.Builder
- All Implemented Interfaces:
SelectionInputOrBuilder
,com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<com.google.protobuf.GeneratedMessageV3>
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
SelectionInput
public static final class SelectionInput.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<SelectionInput.Builder>
implements SelectionInputOrBuilder
A widget that creates one or more UI items that users can select. For example, a dropdown menu or checkboxes. You can use this widget to collect data that can be predicted or enumerated. For an example in Google Chat apps, see [Add selectable UI elements](/workspace/chat/design-interactive-card-dialog#add_selectable_ui_elements). Chat apps can process the value of items that users select or input. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). To collect undefined or abstract data from users, use the [TextInput][google.apps.card.v1.TextInput] widget. [Google Workspace Add-ons and Chat apps](https://developers.google.com/workspace/extend):Protobuf type
google.apps.card.v1.SelectionInput
-
Method Summary
Modifier and TypeMethodDescriptionaddAllItems
(Iterable<? extends SelectionInput.SelectionItem> values) An array of selectable items.addItems
(int index, SelectionInput.SelectionItem value) An array of selectable items.addItems
(int index, SelectionInput.SelectionItem.Builder builderForValue) An array of selectable items.An array of selectable items.addItems
(SelectionInput.SelectionItem.Builder builderForValue) An array of selectable items.An array of selectable items.addItemsBuilder
(int index) An array of selectable items.addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
An external data source, such as a relational data base.clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) An array of selectable items.The text that appears above the selection input field in the user interface.For multiselect menus, the maximum number of items that a user can select.For multiselect menus, the number of text characters that a user inputs before the app queries autocomplete and displays suggested items in the menu.The name that identifies the selection input in a form input event.If specified, the form is submitted when the selection changes.clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) A data source from Google Workspace.The type of items that are displayed to users in a `SelectionInput` widget.clone()
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
An external data source, such as a relational data base.An external data source, such as a relational data base.An external data source, such as a relational data base.getItems
(int index) An array of selectable items.getItemsBuilder
(int index) An array of selectable items.An array of selectable items.int
An array of selectable items.An array of selectable items.getItemsOrBuilder
(int index) An array of selectable items.List
<? extends SelectionInput.SelectionItemOrBuilder> An array of selectable items.getLabel()
The text that appears above the selection input field in the user interface.com.google.protobuf.ByteString
The text that appears above the selection input field in the user interface.int
For multiselect menus, the maximum number of items that a user can select.int
For multiselect menus, the number of text characters that a user inputs before the app queries autocomplete and displays suggested items in the menu.getName()
The name that identifies the selection input in a form input event.com.google.protobuf.ByteString
The name that identifies the selection input in a form input event.If specified, the form is submitted when the selection changes.If specified, the form is submitted when the selection changes.If specified, the form is submitted when the selection changes.A data source from Google Workspace.A data source from Google Workspace.A data source from Google Workspace.getType()
The type of items that are displayed to users in a `SelectionInput` widget.int
The type of items that are displayed to users in a `SelectionInput` widget.boolean
An external data source, such as a relational data base.boolean
If specified, the form is submitted when the selection changes.boolean
A data source from Google Workspace.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeExternalDataSource
(Action value) An external data source, such as a relational data base.mergeFrom
(SelectionInput other) mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeOnChangeAction
(Action value) If specified, the form is submitted when the selection changes.A data source from Google Workspace.final SelectionInput.Builder
mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) removeItems
(int index) An array of selectable items.setExternalDataSource
(Action value) An external data source, such as a relational data base.setExternalDataSource
(Action.Builder builderForValue) An external data source, such as a relational data base.setItems
(int index, SelectionInput.SelectionItem value) An array of selectable items.setItems
(int index, SelectionInput.SelectionItem.Builder builderForValue) An array of selectable items.The text that appears above the selection input field in the user interface.setLabelBytes
(com.google.protobuf.ByteString value) The text that appears above the selection input field in the user interface.setMultiSelectMaxSelectedItems
(int value) For multiselect menus, the maximum number of items that a user can select.setMultiSelectMinQueryLength
(int value) For multiselect menus, the number of text characters that a user inputs before the app queries autocomplete and displays suggested items in the menu.The name that identifies the selection input in a form input event.setNameBytes
(com.google.protobuf.ByteString value) The name that identifies the selection input in a form input event.setOnChangeAction
(Action value) If specified, the form is submitted when the selection changes.setOnChangeAction
(Action.Builder builderForValue) If specified, the form is submitted when the selection changes.A data source from Google Workspace.setPlatformDataSource
(SelectionInput.PlatformDataSource.Builder builderForValue) A data source from Google Workspace.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) The type of items that are displayed to users in a `SelectionInput` widget.setTypeValue
(int value) The type of items that are displayed to users in a `SelectionInput` widget.final SelectionInput.Builder
setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getParentForChildren
Methods inherited from class com.google.protobuf.GeneratedMessage.ExtendableBuilder
addExtension, clearExtension, extensionsAreInitialized, getAllFields, getExtension, getExtension, getExtensionCount, getField, getFieldBuilder, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, hasExtension, hasField, mergeExtensionFields, newBuilderForField, parseUnknownField, setExtension, setExtension
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
getOneofFieldDescriptor, getUnknownFields, getUnknownFieldSetBuilder, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, onBuilt, onChanged, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Overrides:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<SelectionInput.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<SelectionInput.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<SelectionInput.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<com.google.protobuf.GeneratedMessageV3>
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<SelectionInput.Builder>
-
setField
public SelectionInput.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<SelectionInput.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<SelectionInput.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<SelectionInput.Builder>
-
setRepeatedField
public SelectionInput.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<SelectionInput.Builder>
-
addRepeatedField
public SelectionInput.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<SelectionInput.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<SelectionInput.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.ExtendableBuilder<com.google.protobuf.GeneratedMessageV3,
SelectionInput.Builder>
-
mergeFrom
public SelectionInput.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<SelectionInput.Builder>
- Throws:
IOException
-
getMultiSelectDataSourceCase
- Specified by:
getMultiSelectDataSourceCase
in interfaceSelectionInputOrBuilder
-
clearMultiSelectDataSource
-
getName
The name that identifies the selection input in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data).
string name = 1;
- Specified by:
getName
in interfaceSelectionInputOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()The name that identifies the selection input in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data).
string name = 1;
- Specified by:
getNameBytes
in interfaceSelectionInputOrBuilder
- Returns:
- The bytes for name.
-
setName
The name that identifies the selection input in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data).
string name = 1;
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
The name that identifies the selection input in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data).
string name = 1;
- Returns:
- This builder for chaining.
-
setNameBytes
The name that identifies the selection input in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data).
string name = 1;
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
getLabel
The text that appears above the selection input field in the user interface. Specify text that helps the user enter the information your app needs. For example, if users are selecting the urgency of a work ticket from a drop-down menu, the label might be "Urgency" or "Select urgency".
string label = 2;
- Specified by:
getLabel
in interfaceSelectionInputOrBuilder
- Returns:
- The label.
-
getLabelBytes
public com.google.protobuf.ByteString getLabelBytes()The text that appears above the selection input field in the user interface. Specify text that helps the user enter the information your app needs. For example, if users are selecting the urgency of a work ticket from a drop-down menu, the label might be "Urgency" or "Select urgency".
string label = 2;
- Specified by:
getLabelBytes
in interfaceSelectionInputOrBuilder
- Returns:
- The bytes for label.
-
setLabel
The text that appears above the selection input field in the user interface. Specify text that helps the user enter the information your app needs. For example, if users are selecting the urgency of a work ticket from a drop-down menu, the label might be "Urgency" or "Select urgency".
string label = 2;
- Parameters:
value
- The label to set.- Returns:
- This builder for chaining.
-
clearLabel
The text that appears above the selection input field in the user interface. Specify text that helps the user enter the information your app needs. For example, if users are selecting the urgency of a work ticket from a drop-down menu, the label might be "Urgency" or "Select urgency".
string label = 2;
- Returns:
- This builder for chaining.
-
setLabelBytes
The text that appears above the selection input field in the user interface. Specify text that helps the user enter the information your app needs. For example, if users are selecting the urgency of a work ticket from a drop-down menu, the label might be "Urgency" or "Select urgency".
string label = 2;
- Parameters:
value
- The bytes for label to set.- Returns:
- This builder for chaining.
-
getTypeValue
public int getTypeValue()The type of items that are displayed to users in a `SelectionInput` widget. Selection types support different types of interactions. For example, users can select one or more checkboxes, but they can only select one value from a dropdown menu.
.google.apps.card.v1.SelectionInput.SelectionType type = 3;
- Specified by:
getTypeValue
in interfaceSelectionInputOrBuilder
- Returns:
- The enum numeric value on the wire for type.
-
setTypeValue
The type of items that are displayed to users in a `SelectionInput` widget. Selection types support different types of interactions. For example, users can select one or more checkboxes, but they can only select one value from a dropdown menu.
.google.apps.card.v1.SelectionInput.SelectionType type = 3;
- Parameters:
value
- The enum numeric value on the wire for type to set.- Returns:
- This builder for chaining.
-
getType
The type of items that are displayed to users in a `SelectionInput` widget. Selection types support different types of interactions. For example, users can select one or more checkboxes, but they can only select one value from a dropdown menu.
.google.apps.card.v1.SelectionInput.SelectionType type = 3;
- Specified by:
getType
in interfaceSelectionInputOrBuilder
- Returns:
- The type.
-
setType
The type of items that are displayed to users in a `SelectionInput` widget. Selection types support different types of interactions. For example, users can select one or more checkboxes, but they can only select one value from a dropdown menu.
.google.apps.card.v1.SelectionInput.SelectionType type = 3;
- Parameters:
value
- The type to set.- Returns:
- This builder for chaining.
-
clearType
The type of items that are displayed to users in a `SelectionInput` widget. Selection types support different types of interactions. For example, users can select one or more checkboxes, but they can only select one value from a dropdown menu.
.google.apps.card.v1.SelectionInput.SelectionType type = 3;
- Returns:
- This builder for chaining.
-
getItemsList
An array of selectable items. For example, an array of radio buttons or checkboxes. Supports up to 100 items.
repeated .google.apps.card.v1.SelectionInput.SelectionItem items = 4;
- Specified by:
getItemsList
in interfaceSelectionInputOrBuilder
-
getItemsCount
public int getItemsCount()An array of selectable items. For example, an array of radio buttons or checkboxes. Supports up to 100 items.
repeated .google.apps.card.v1.SelectionInput.SelectionItem items = 4;
- Specified by:
getItemsCount
in interfaceSelectionInputOrBuilder
-
getItems
An array of selectable items. For example, an array of radio buttons or checkboxes. Supports up to 100 items.
repeated .google.apps.card.v1.SelectionInput.SelectionItem items = 4;
- Specified by:
getItems
in interfaceSelectionInputOrBuilder
-
setItems
An array of selectable items. For example, an array of radio buttons or checkboxes. Supports up to 100 items.
repeated .google.apps.card.v1.SelectionInput.SelectionItem items = 4;
-
setItems
public SelectionInput.Builder setItems(int index, SelectionInput.SelectionItem.Builder builderForValue) An array of selectable items. For example, an array of radio buttons or checkboxes. Supports up to 100 items.
repeated .google.apps.card.v1.SelectionInput.SelectionItem items = 4;
-
addItems
An array of selectable items. For example, an array of radio buttons or checkboxes. Supports up to 100 items.
repeated .google.apps.card.v1.SelectionInput.SelectionItem items = 4;
-
addItems
An array of selectable items. For example, an array of radio buttons or checkboxes. Supports up to 100 items.
repeated .google.apps.card.v1.SelectionInput.SelectionItem items = 4;
-
addItems
An array of selectable items. For example, an array of radio buttons or checkboxes. Supports up to 100 items.
repeated .google.apps.card.v1.SelectionInput.SelectionItem items = 4;
-
addItems
public SelectionInput.Builder addItems(int index, SelectionInput.SelectionItem.Builder builderForValue) An array of selectable items. For example, an array of radio buttons or checkboxes. Supports up to 100 items.
repeated .google.apps.card.v1.SelectionInput.SelectionItem items = 4;
-
addAllItems
An array of selectable items. For example, an array of radio buttons or checkboxes. Supports up to 100 items.
repeated .google.apps.card.v1.SelectionInput.SelectionItem items = 4;
-
clearItems
An array of selectable items. For example, an array of radio buttons or checkboxes. Supports up to 100 items.
repeated .google.apps.card.v1.SelectionInput.SelectionItem items = 4;
-
removeItems
An array of selectable items. For example, an array of radio buttons or checkboxes. Supports up to 100 items.
repeated .google.apps.card.v1.SelectionInput.SelectionItem items = 4;
-
getItemsBuilder
An array of selectable items. For example, an array of radio buttons or checkboxes. Supports up to 100 items.
repeated .google.apps.card.v1.SelectionInput.SelectionItem items = 4;
-
getItemsOrBuilder
An array of selectable items. For example, an array of radio buttons or checkboxes. Supports up to 100 items.
repeated .google.apps.card.v1.SelectionInput.SelectionItem items = 4;
- Specified by:
getItemsOrBuilder
in interfaceSelectionInputOrBuilder
-
getItemsOrBuilderList
An array of selectable items. For example, an array of radio buttons or checkboxes. Supports up to 100 items.
repeated .google.apps.card.v1.SelectionInput.SelectionItem items = 4;
- Specified by:
getItemsOrBuilderList
in interfaceSelectionInputOrBuilder
-
addItemsBuilder
An array of selectable items. For example, an array of radio buttons or checkboxes. Supports up to 100 items.
repeated .google.apps.card.v1.SelectionInput.SelectionItem items = 4;
-
addItemsBuilder
An array of selectable items. For example, an array of radio buttons or checkboxes. Supports up to 100 items.
repeated .google.apps.card.v1.SelectionInput.SelectionItem items = 4;
-
getItemsBuilderList
An array of selectable items. For example, an array of radio buttons or checkboxes. Supports up to 100 items.
repeated .google.apps.card.v1.SelectionInput.SelectionItem items = 4;
-
hasOnChangeAction
public boolean hasOnChangeAction()If specified, the form is submitted when the selection changes. If not specified, you must specify a separate button that submits the form. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data).
.google.apps.card.v1.Action on_change_action = 5;
- Specified by:
hasOnChangeAction
in interfaceSelectionInputOrBuilder
- Returns:
- Whether the onChangeAction field is set.
-
getOnChangeAction
If specified, the form is submitted when the selection changes. If not specified, you must specify a separate button that submits the form. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data).
.google.apps.card.v1.Action on_change_action = 5;
- Specified by:
getOnChangeAction
in interfaceSelectionInputOrBuilder
- Returns:
- The onChangeAction.
-
setOnChangeAction
If specified, the form is submitted when the selection changes. If not specified, you must specify a separate button that submits the form. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data).
.google.apps.card.v1.Action on_change_action = 5;
-
setOnChangeAction
If specified, the form is submitted when the selection changes. If not specified, you must specify a separate button that submits the form. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data).
.google.apps.card.v1.Action on_change_action = 5;
-
mergeOnChangeAction
If specified, the form is submitted when the selection changes. If not specified, you must specify a separate button that submits the form. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data).
.google.apps.card.v1.Action on_change_action = 5;
-
clearOnChangeAction
If specified, the form is submitted when the selection changes. If not specified, you must specify a separate button that submits the form. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data).
.google.apps.card.v1.Action on_change_action = 5;
-
getOnChangeActionBuilder
If specified, the form is submitted when the selection changes. If not specified, you must specify a separate button that submits the form. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data).
.google.apps.card.v1.Action on_change_action = 5;
-
getOnChangeActionOrBuilder
If specified, the form is submitted when the selection changes. If not specified, you must specify a separate button that submits the form. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data).
.google.apps.card.v1.Action on_change_action = 5;
- Specified by:
getOnChangeActionOrBuilder
in interfaceSelectionInputOrBuilder
-
getMultiSelectMaxSelectedItems
public int getMultiSelectMaxSelectedItems()For multiselect menus, the maximum number of items that a user can select. Minimum value is 1 item. If unspecified, defaults to 3 items.
int32 multi_select_max_selected_items = 6;
- Specified by:
getMultiSelectMaxSelectedItems
in interfaceSelectionInputOrBuilder
- Returns:
- The multiSelectMaxSelectedItems.
-
setMultiSelectMaxSelectedItems
For multiselect menus, the maximum number of items that a user can select. Minimum value is 1 item. If unspecified, defaults to 3 items.
int32 multi_select_max_selected_items = 6;
- Parameters:
value
- The multiSelectMaxSelectedItems to set.- Returns:
- This builder for chaining.
-
clearMultiSelectMaxSelectedItems
For multiselect menus, the maximum number of items that a user can select. Minimum value is 1 item. If unspecified, defaults to 3 items.
int32 multi_select_max_selected_items = 6;
- Returns:
- This builder for chaining.
-
getMultiSelectMinQueryLength
public int getMultiSelectMinQueryLength()For multiselect menus, the number of text characters that a user inputs before the app queries autocomplete and displays suggested items in the menu. If unspecified, defaults to 0 characters for static data sources and 3 characters for external data sources.
int32 multi_select_min_query_length = 7;
- Specified by:
getMultiSelectMinQueryLength
in interfaceSelectionInputOrBuilder
- Returns:
- The multiSelectMinQueryLength.
-
setMultiSelectMinQueryLength
For multiselect menus, the number of text characters that a user inputs before the app queries autocomplete and displays suggested items in the menu. If unspecified, defaults to 0 characters for static data sources and 3 characters for external data sources.
int32 multi_select_min_query_length = 7;
- Parameters:
value
- The multiSelectMinQueryLength to set.- Returns:
- This builder for chaining.
-
clearMultiSelectMinQueryLength
For multiselect menus, the number of text characters that a user inputs before the app queries autocomplete and displays suggested items in the menu. If unspecified, defaults to 0 characters for static data sources and 3 characters for external data sources.
int32 multi_select_min_query_length = 7;
- Returns:
- This builder for chaining.
-
hasExternalDataSource
public boolean hasExternalDataSource()An external data source, such as a relational data base.
.google.apps.card.v1.Action external_data_source = 8;
- Specified by:
hasExternalDataSource
in interfaceSelectionInputOrBuilder
- Returns:
- Whether the externalDataSource field is set.
-
getExternalDataSource
An external data source, such as a relational data base.
.google.apps.card.v1.Action external_data_source = 8;
- Specified by:
getExternalDataSource
in interfaceSelectionInputOrBuilder
- Returns:
- The externalDataSource.
-
setExternalDataSource
An external data source, such as a relational data base.
.google.apps.card.v1.Action external_data_source = 8;
-
setExternalDataSource
An external data source, such as a relational data base.
.google.apps.card.v1.Action external_data_source = 8;
-
mergeExternalDataSource
An external data source, such as a relational data base.
.google.apps.card.v1.Action external_data_source = 8;
-
clearExternalDataSource
An external data source, such as a relational data base.
.google.apps.card.v1.Action external_data_source = 8;
-
getExternalDataSourceBuilder
An external data source, such as a relational data base.
.google.apps.card.v1.Action external_data_source = 8;
-
getExternalDataSourceOrBuilder
An external data source, such as a relational data base.
.google.apps.card.v1.Action external_data_source = 8;
- Specified by:
getExternalDataSourceOrBuilder
in interfaceSelectionInputOrBuilder
-
hasPlatformDataSource
public boolean hasPlatformDataSource()A data source from Google Workspace.
.google.apps.card.v1.SelectionInput.PlatformDataSource platform_data_source = 9;
- Specified by:
hasPlatformDataSource
in interfaceSelectionInputOrBuilder
- Returns:
- Whether the platformDataSource field is set.
-
getPlatformDataSource
A data source from Google Workspace.
.google.apps.card.v1.SelectionInput.PlatformDataSource platform_data_source = 9;
- Specified by:
getPlatformDataSource
in interfaceSelectionInputOrBuilder
- Returns:
- The platformDataSource.
-
setPlatformDataSource
A data source from Google Workspace.
.google.apps.card.v1.SelectionInput.PlatformDataSource platform_data_source = 9;
-
setPlatformDataSource
public SelectionInput.Builder setPlatformDataSource(SelectionInput.PlatformDataSource.Builder builderForValue) A data source from Google Workspace.
.google.apps.card.v1.SelectionInput.PlatformDataSource platform_data_source = 9;
-
mergePlatformDataSource
A data source from Google Workspace.
.google.apps.card.v1.SelectionInput.PlatformDataSource platform_data_source = 9;
-
clearPlatformDataSource
A data source from Google Workspace.
.google.apps.card.v1.SelectionInput.PlatformDataSource platform_data_source = 9;
-
getPlatformDataSourceBuilder
A data source from Google Workspace.
.google.apps.card.v1.SelectionInput.PlatformDataSource platform_data_source = 9;
-
getPlatformDataSourceOrBuilder
A data source from Google Workspace.
.google.apps.card.v1.SelectionInput.PlatformDataSource platform_data_source = 9;
- Specified by:
getPlatformDataSourceOrBuilder
in interfaceSelectionInputOrBuilder
-
setUnknownFields
public final SelectionInput.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<SelectionInput.Builder>
-
mergeUnknownFields
public final SelectionInput.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<SelectionInput.Builder>
-