Interface WidgetMarkup.ImageButtonOrBuilder (0.1.0)

public static interface WidgetMarkup.ImageButtonOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getIcon()

public abstract WidgetMarkup.Icon getIcon()

The icon specified by an enum that indices to an icon provided by Chat API.

.google.chat.v1.WidgetMarkup.Icon icon = 1;

Returns
TypeDescription
WidgetMarkup.Icon

The icon.

getIconUrl()

public abstract String getIconUrl()

The icon specified by a URL.

string icon_url = 3;

Returns
TypeDescription
String

The iconUrl.

getIconUrlBytes()

public abstract ByteString getIconUrlBytes()

The icon specified by a URL.

string icon_url = 3;

Returns
TypeDescription
ByteString

The bytes for iconUrl.

getIconValue()

public abstract int getIconValue()

The icon specified by an enum that indices to an icon provided by Chat API.

.google.chat.v1.WidgetMarkup.Icon icon = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for icon.

getIconsCase()

public abstract WidgetMarkup.ImageButton.IconsCase getIconsCase()
Returns
TypeDescription
WidgetMarkup.ImageButton.IconsCase

getName()

public abstract String getName()

The name of this image_button that's used for accessibility. Default value is provided if this name isn't specified.

string name = 4;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

The name of this image_button that's used for accessibility. Default value is provided if this name isn't specified.

string name = 4;

Returns
TypeDescription
ByteString

The bytes for name.

getOnClick()

public abstract WidgetMarkup.OnClick getOnClick()

The onclick action.

.google.chat.v1.WidgetMarkup.OnClick on_click = 2;

Returns
TypeDescription
WidgetMarkup.OnClick

The onClick.

getOnClickOrBuilder()

public abstract WidgetMarkup.OnClickOrBuilder getOnClickOrBuilder()

The onclick action.

.google.chat.v1.WidgetMarkup.OnClick on_click = 2;

Returns
TypeDescription
WidgetMarkup.OnClickOrBuilder

hasIcon()

public abstract boolean hasIcon()

The icon specified by an enum that indices to an icon provided by Chat API.

.google.chat.v1.WidgetMarkup.Icon icon = 1;

Returns
TypeDescription
boolean

Whether the icon field is set.

hasIconUrl()

public abstract boolean hasIconUrl()

The icon specified by a URL.

string icon_url = 3;

Returns
TypeDescription
boolean

Whether the iconUrl field is set.

hasOnClick()

public abstract boolean hasOnClick()

The onclick action.

.google.chat.v1.WidgetMarkup.OnClick on_click = 2;

Returns
TypeDescription
boolean

Whether the onClick field is set.