Package com.google.apps.card.v1
Interface SelectionInput.SelectionItemOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SelectionInput.SelectionItem,SelectionInput.SelectionItem.Builder
- Enclosing class:
- SelectionInput
public static interface SelectionInput.SelectionItemOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionFor multiselect menus, a text description or label that's displayed below the item's `text` field.com.google.protobuf.ByteStringFor multiselect menus, a text description or label that's displayed below the item's `text` field.booleanWhether the item is selected by default.string start_icon_uri = 4;com.google.protobuf.ByteStringstring start_icon_uri = 4;getText()The text that identifies or describes the item to users.com.google.protobuf.ByteStringThe text that identifies or describes the item to users.getValue()The value associated with this item.com.google.protobuf.ByteStringThe value associated with this item.booleanstring start_icon_uri = 4;Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getText
String getText()The text that identifies or describes the item to users.
string text = 1;- Returns:
- The text.
-
getTextBytes
com.google.protobuf.ByteString getTextBytes()The text that identifies or describes the item to users.
string text = 1;- Returns:
- The bytes for text.
-
getValue
String getValue()The value associated with this item. The client should use this as a form input value. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data).
string value = 2;- Returns:
- The value.
-
getValueBytes
com.google.protobuf.ByteString getValueBytes()The value associated with this item. The client should use this as a form input value. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data).
string value = 2;- Returns:
- The bytes for value.
-
getSelected
boolean getSelected()Whether the item is selected by default. If the selection input only accepts one value (such as for radio buttons or a dropdown menu), only set this field for one item.
bool selected = 3;- Returns:
- The selected.
-
hasStartIconUri
boolean hasStartIconUri()string start_icon_uri = 4;- Returns:
- Whether the startIconUri field is set.
-
getStartIconUri
String getStartIconUri()string start_icon_uri = 4;- Returns:
- The startIconUri.
-
getStartIconUriBytes
com.google.protobuf.ByteString getStartIconUriBytes()string start_icon_uri = 4;- Returns:
- The bytes for startIconUri.
-
getBottomText
String getBottomText()For multiselect menus, a text description or label that's displayed below the item's `text` field.
string bottom_text = 5;- Returns:
- The bottomText.
-
getBottomTextBytes
com.google.protobuf.ByteString getBottomTextBytes()For multiselect menus, a text description or label that's displayed below the item's `text` field.
string bottom_text = 5;- Returns:
- The bytes for bottomText.
-
getStartIconCase
SelectionInput.SelectionItem.StartIconCase getStartIconCase()
-