Interface WidgetMarkup.TextButtonOrBuilder (0.5.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
TypeDescription
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
TypeDescription
WidgetMarkup.OnClickOrBuilder

getText()

public abstract String getText()

The text of the button.

string text = 1;

Returns
TypeDescription
String

The text.

getTextBytes()

public abstract ByteString getTextBytes()

The text of the button.

string text = 1;

Returns
TypeDescription
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
TypeDescription
boolean

Whether the onClick field is set.