Interface Intent.Message.RbmSuggestedActionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Intent.Message.RbmSuggestedAction,Intent.Message.RbmSuggestedAction.Builder
- Enclosing class:
- Intent.Message
public static interface Intent.Message.RbmSuggestedActionOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetDial()Suggested client side action: Dial a phone numberSuggested client side action: Dial a phone numberSuggested client side action: Open a URI on deviceSuggested client side action: Open a URI on deviceOpaque payload that the Dialogflow receives in a user event when the user taps the suggested action.com.google.protobuf.ByteStringOpaque payload that the Dialogflow receives in a user event when the user taps the suggested action.Suggested client side action: Share user locationSuggested client side action: Share user locationgetText()Text to display alongside the action.com.google.protobuf.ByteStringText to display alongside the action.booleanhasDial()Suggested client side action: Dial a phone numberbooleanSuggested client side action: Open a URI on devicebooleanSuggested client side action: Share user locationMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getText
String getText()Text to display alongside the action.
string text = 1;- Returns:
- The text.
-
getTextBytes
com.google.protobuf.ByteString getTextBytes()Text to display alongside the action.
string text = 1;- Returns:
- The bytes for text.
-
getPostbackData
String getPostbackData()Opaque payload that the Dialogflow receives in a user event when the user taps the suggested action. This data will be also forwarded to webhook to allow performing custom business logic.
string postback_data = 2;- Returns:
- The postbackData.
-
getPostbackDataBytes
com.google.protobuf.ByteString getPostbackDataBytes()Opaque payload that the Dialogflow receives in a user event when the user taps the suggested action. This data will be also forwarded to webhook to allow performing custom business logic.
string postback_data = 2;- Returns:
- The bytes for postbackData.
-
hasDial
boolean hasDial()Suggested client side action: Dial a phone number
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction.RbmSuggestedActionDial dial = 3;- Returns:
- Whether the dial field is set.
-
getDial
Suggested client side action: Dial a phone number
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction.RbmSuggestedActionDial dial = 3;- Returns:
- The dial.
-
getDialOrBuilder
Intent.Message.RbmSuggestedAction.RbmSuggestedActionDialOrBuilder getDialOrBuilder()Suggested client side action: Dial a phone number
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction.RbmSuggestedActionDial dial = 3; -
hasOpenUrl
boolean hasOpenUrl()Suggested client side action: Open a URI on device
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction.RbmSuggestedActionOpenUri open_url = 4;- Returns:
- Whether the openUrl field is set.
-
getOpenUrl
Suggested client side action: Open a URI on device
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction.RbmSuggestedActionOpenUri open_url = 4;- Returns:
- The openUrl.
-
getOpenUrlOrBuilder
Intent.Message.RbmSuggestedAction.RbmSuggestedActionOpenUriOrBuilder getOpenUrlOrBuilder()Suggested client side action: Open a URI on device
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction.RbmSuggestedActionOpenUri open_url = 4; -
getActionCase
Intent.Message.RbmSuggestedAction.ActionCase getActionCase()
-