Interface Intent.Message.Card.ButtonOrBuilder (4.38.0)

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
Type Description
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
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for text.