Interface WidgetMarkup.OnClickOrBuilder (0.5.0)

public static interface WidgetMarkup.OnClickOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAction()

public abstract WidgetMarkup.FormAction getAction()

A form action is triggered by this onclick action if specified.

.google.chat.v1.WidgetMarkup.FormAction action = 1;

Returns
TypeDescription
WidgetMarkup.FormAction

The action.

getActionOrBuilder()

public abstract WidgetMarkup.FormActionOrBuilder getActionOrBuilder()

A form action is triggered by this onclick action if specified.

.google.chat.v1.WidgetMarkup.FormAction action = 1;

Returns
TypeDescription
WidgetMarkup.FormActionOrBuilder

getDataCase()

public abstract WidgetMarkup.OnClick.DataCase getDataCase()
Returns
TypeDescription
WidgetMarkup.OnClick.DataCase
public abstract WidgetMarkup.OpenLink getOpenLink()

This onclick action triggers an open link action if specified.

.google.chat.v1.WidgetMarkup.OpenLink open_link = 2;

Returns
TypeDescription
WidgetMarkup.OpenLink

The openLink.

getOpenLinkOrBuilder()

public abstract WidgetMarkup.OpenLinkOrBuilder getOpenLinkOrBuilder()

This onclick action triggers an open link action if specified.

.google.chat.v1.WidgetMarkup.OpenLink open_link = 2;

Returns
TypeDescription
WidgetMarkup.OpenLinkOrBuilder

hasAction()

public abstract boolean hasAction()

A form action is triggered by this onclick action if specified.

.google.chat.v1.WidgetMarkup.FormAction action = 1;

Returns
TypeDescription
boolean

Whether the action field is set.

public abstract boolean hasOpenLink()

This onclick action triggers an open link action if specified.

.google.chat.v1.WidgetMarkup.OpenLink open_link = 2;

Returns
TypeDescription
boolean

Whether the openLink field is set.