Interface SelectionInput.SelectionItemOrBuilder (2.46.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
Type Description
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
Type Description
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
Type Description
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/workspace/chat/images/quickstart-app-avatar.png.

string start_icon_uri = 4;

Returns
Type Description
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/workspace/chat/images/quickstart-app-avatar.png.

string start_icon_uri = 4;

Returns
Type Description
ByteString

The bytes for startIconUri.

getText()

public abstract String getText()

The text that identifies or describes the item to users.

string text = 1;

Returns
Type Description
String

The text.

getTextBytes()

public abstract ByteString getTextBytes()

The text that identifies or describes the item to users.

string text = 1;

Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for value.