Interface Intent.Message.Card.ButtonOrBuilder (4.47.0)
Stay organized with collections
Save and categorize content based on your preferences.
public static interface Intent.Message.Card.ButtonOrBuilder extends 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 |
---|
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;
Returns |
---|
Type | Description |
ByteString | The bytes for postback.
|
getText()
public abstract String getText()
Optional. The text to show on the button.
string text = 1;
Returns |
---|
Type | Description |
String | The text.
|
getTextBytes()
public abstract ByteString getTextBytes()
Optional. The text to show on the button.
string text = 1;
Returns |
---|
Type | Description |
ByteString | The bytes for text.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-04-08 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]