Interface WidgetMarkup.ImageButtonOrBuilder (0.13.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
Type Description
WidgetMarkup.Icon

The icon.

getIconUrl()

public abstract String getIconUrl()

The icon specified by a URL.

string icon_url = 3;

Returns
Type Description
String

The iconUrl.

getIconUrlBytes()

public abstract ByteString getIconUrlBytes()

The icon specified by a URL.

string icon_url = 3;

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

The enum numeric value on the wire for icon.

getIconsCase()

public abstract WidgetMarkup.ImageButton.IconsCase getIconsCase()
Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for name.

getOnClick()

public abstract WidgetMarkup.OnClick getOnClick()

The onclick action.

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

Returns
Type Description
WidgetMarkup.OnClick

The onClick.

getOnClickOrBuilder()

public abstract WidgetMarkup.OnClickOrBuilder getOnClickOrBuilder()

The onclick action.

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

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

Whether the icon field is set.

hasIconUrl()

public abstract boolean hasIconUrl()

The icon specified by a URL.

string icon_url = 3;

Returns
Type Description
boolean

Whether the iconUrl field is set.

hasOnClick()

public abstract boolean hasOnClick()

The onclick action.

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

Returns
Type Description
boolean

Whether the onClick field is set.