public static interface Intent.Message.Card.ButtonOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
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];
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];
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];
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];
Type | Description |
ByteString | The bytes for text. |