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 Type
    Method
    Description
    For multiselect menus, a text description or label that's displayed below the item's `text` field.
    com.google.protobuf.ByteString
    For multiselect menus, a text description or label that's displayed below the item's `text` field.
    boolean
    Whether the item is selected by default.
     
    string start_icon_uri = 4;
    com.google.protobuf.ByteString
    string start_icon_uri = 4;
    The text that identifies or describes the item to users.
    com.google.protobuf.ByteString
    The text that identifies or describes the item to users.
    The value associated with this item.
    com.google.protobuf.ByteString
    The value associated with this item.
    boolean
    string start_icon_uri = 4;

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods 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