Interface Intent.Message.Card.ButtonOrBuilder (4.7.5)

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 [(.google.api.field_behavior) = OPTIONAL];

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 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for postback.

getText()

public abstract String getText()

Optional. The text to show on the button.

string text = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The text.

getTextBytes()

public abstract ByteString getTextBytes()

Optional. The text to show on the button.

string text = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for text.