Interface WidgetMarkup.OnClickOrBuilder (0.9.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
Type Description
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
Type Description
WidgetMarkup.FormActionOrBuilder

getDataCase()

public abstract WidgetMarkup.OnClick.DataCase getDataCase()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the openLink field is set.