Interface Card.CardActionOrBuilder (2.38.0)

public static interface Card.CardActionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getActionLabel()

public abstract String getActionLabel()

The label that displays as the action menu item.

string action_label = 1;

Returns
Type Description
String

The actionLabel.

getActionLabelBytes()

public abstract ByteString getActionLabelBytes()

The label that displays as the action menu item.

string action_label = 1;

Returns
Type Description
ByteString

The bytes for actionLabel.

getOnClick()

public abstract OnClick getOnClick()

The onClick action for this action item.

.google.apps.card.v1.OnClick on_click = 2;

Returns
Type Description
OnClick

The onClick.

getOnClickOrBuilder()

public abstract OnClickOrBuilder getOnClickOrBuilder()

The onClick action for this action item.

.google.apps.card.v1.OnClick on_click = 2;

Returns
Type Description
OnClickOrBuilder

hasOnClick()

public abstract boolean hasOnClick()

The onClick action for this action item.

.google.apps.card.v1.OnClick on_click = 2;

Returns
Type Description
boolean

Whether the onClick field is set.