Interface Intent.Message.Card.ButtonOrBuilder (4.5.11)

public static interface Intent.Message.Card.ButtonOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPostback()

public abstract String getPostback()

Optional. The text to send back to the Dialogflow API or a URI to open.

string postback = 2;

Returns
TypeDescription
String

The postback.

getPostbackBytes()

public abstract ByteString getPostbackBytes()

Optional. The text to send back to the Dialogflow API or a URI to open.

string postback = 2;

Returns
TypeDescription
ByteString

The bytes for postback.

getText()

public abstract String getText()

Optional. The text to show on the button.

string text = 1;

Returns
TypeDescription
String

The text.

getTextBytes()

public abstract ByteString getTextBytes()

Optional. The text to show on the button.

string text = 1;

Returns
TypeDescription
ByteString

The bytes for text.