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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetBottomText()For multiselect menus, a text description or label that's displayed below the item's `text` field.com.google.protobuf.ByteStringgetBottomTextBytes()For multiselect menus, a text description or label that's displayed below the item's `text` field.booleangetSelected()Whether the item is selected by default.java.lang.StringgetStartIconUri()For multiselect menus, the URL for the icon displayed next to the item's `text` field.com.google.protobuf.ByteStringgetStartIconUriBytes()For multiselect menus, the URL for the icon displayed next to the item's `text` field.java.lang.StringgetText()The text that identifies or describes the item to users.com.google.protobuf.ByteStringgetTextBytes()The text that identifies or describes the item to users.java.lang.StringgetValue()The value associated with this item.com.google.protobuf.ByteStringgetValueBytes()The value associated with this item.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getText
java.lang.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
java.lang.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.
-
getStartIconUri
java.lang.String getStartIconUri()
For multiselect menus, the URL for the icon displayed next to the item's `text` field. Supports PNG and JPEG files. Must be an `HTTPS` URL. For example, `https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png`.
string start_icon_uri = 4;- Returns:
- The startIconUri.
-
getStartIconUriBytes
com.google.protobuf.ByteString getStartIconUriBytes()
For multiselect menus, the URL for the icon displayed next to the item's `text` field. Supports PNG and JPEG files. Must be an `HTTPS` URL. For example, `https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png`.
string start_icon_uri = 4;- Returns:
- The bytes for startIconUri.
-
getBottomText
java.lang.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.
-
-