Interface SelectionInput.SelectionItemOrBuilder (0.1.0)

public static interface SelectionInput.SelectionItemOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBottomText()

public abstract String getBottomText()

For multiselect menus, a text description or label that's displayed below the item's text field.

string bottom_text = 5;

Returns
TypeDescription
String

The bottomText.

getBottomTextBytes()

public abstract ByteString getBottomTextBytes()

For multiselect menus, a text description or label that's displayed below the item's text field.

string bottom_text = 5;

Returns
TypeDescription
ByteString

The bytes for bottomText.

getSelected()

public abstract 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
TypeDescription
boolean

The selected.

getStartIconUri()

public abstract 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/chat/images/quickstart-app-avatar.png.

string start_icon_uri = 4;

Returns
TypeDescription
String

The startIconUri.

getStartIconUriBytes()

public abstract 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/chat/images/quickstart-app-avatar.png.

string start_icon_uri = 4;

Returns
TypeDescription
ByteString

The bytes for startIconUri.

getText()

public abstract String getText()

The text that identifies or describes the item to users.

string text = 1;

Returns
TypeDescription
String

The text.

getTextBytes()

public abstract ByteString getTextBytes()

The text that identifies or describes the item to users.

string text = 1;

Returns
TypeDescription
ByteString

The bytes for text.

getValue()

public abstract 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.

string value = 2;

Returns
TypeDescription
String

The value.

getValueBytes()

public abstract 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.

string value = 2;

Returns
TypeDescription
ByteString

The bytes for value.