Interface ContextualAddOnMarkup.Card.CardActionOrBuilder (0.3.0)

public static interface ContextualAddOnMarkup.Card.CardActionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getActionLabel()

public abstract String getActionLabel()

The label used to be displayed in the action menu item.

string action_label = 1;

Returns
TypeDescription
String

The actionLabel.

getActionLabelBytes()

public abstract ByteString getActionLabelBytes()

The label used to be displayed in the action menu item.

string action_label = 1;

Returns
TypeDescription
ByteString

The bytes for actionLabel.

getOnClick()

public abstract WidgetMarkup.OnClick getOnClick()

The onclick action for this action item.

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

Returns
TypeDescription
WidgetMarkup.OnClick

The onClick.

getOnClickOrBuilder()

public abstract WidgetMarkup.OnClickOrBuilder getOnClickOrBuilder()

The onclick action for this action item.

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

Returns
TypeDescription
WidgetMarkup.OnClickOrBuilder

hasOnClick()

public abstract boolean hasOnClick()

The onclick action for this action item.

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

Returns
TypeDescription
boolean

Whether the onClick field is set.