Interface WidgetMarkup.TextButtonOrBuilder (0.15.0)

public static interface WidgetMarkup.TextButtonOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getOnClick()

public abstract WidgetMarkup.OnClick getOnClick()

The onclick action of the button.

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

Returns
Type Description
WidgetMarkup.OnClick

The onClick.

getOnClickOrBuilder()

public abstract WidgetMarkup.OnClickOrBuilder getOnClickOrBuilder()

The onclick action of the button.

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

Returns
Type Description
WidgetMarkup.OnClickOrBuilder

getText()

public abstract String getText()

The text of the button.

string text = 1;

Returns
Type Description
String

The text.

getTextBytes()

public abstract ByteString getTextBytes()

The text of the button.

string text = 1;

Returns
Type Description
ByteString

The bytes for text.

hasOnClick()

public abstract boolean hasOnClick()

The onclick action of the button.

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

Returns
Type Description
boolean

Whether the onClick field is set.