Interface Intent.Message.Card.ButtonOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Intent.Message.Card.Button
,Intent.Message.Card.Button.Builder
- Enclosing class:
- Intent.Message.Card
public static interface Intent.Message.Card.ButtonOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getPostback()
Optional.com.google.protobuf.ByteString
getPostbackBytes()
Optional.String
getText()
Optional.com.google.protobuf.ByteString
getTextBytes()
Optional.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getText
String getText()
Optional. The text to show on the button.
string text = 1;
- Returns:
- The text.
-
getTextBytes
com.google.protobuf.ByteString getTextBytes()
Optional. The text to show on the button.
string text = 1;
- Returns:
- The bytes for text.
-
getPostback
String getPostback()
Optional. The text to send back to the Dialogflow API or a URI to open.
string postback = 2;
- Returns:
- The postback.
-
getPostbackBytes
com.google.protobuf.ByteString getPostbackBytes()
Optional. The text to send back to the Dialogflow API or a URI to open.
string postback = 2;
- Returns:
- The bytes for postback.
-
-