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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Intent.Message.RbmSuggestedAction.ActionCase
getActionCase()
Intent.Message.RbmSuggestedAction.RbmSuggestedActionDial
getDial()
Suggested client side action: Dial a phone numberIntent.Message.RbmSuggestedAction.RbmSuggestedActionDialOrBuilder
getDialOrBuilder()
Suggested client side action: Dial a phone numberIntent.Message.RbmSuggestedAction.RbmSuggestedActionOpenUri
getOpenUrl()
Suggested client side action: Open a URI on deviceIntent.Message.RbmSuggestedAction.RbmSuggestedActionOpenUriOrBuilder
getOpenUrlOrBuilder()
Suggested client side action: Open a URI on deviceString
getPostbackData()
Opaque payload that the Dialogflow receives in a user event when the user taps the suggested action.com.google.protobuf.ByteString
getPostbackDataBytes()
Opaque payload that the Dialogflow receives in a user event when the user taps the suggested action.Intent.Message.RbmSuggestedAction.RbmSuggestedActionShareLocation
getShareLocation()
Suggested client side action: Share user locationIntent.Message.RbmSuggestedAction.RbmSuggestedActionShareLocationOrBuilder
getShareLocationOrBuilder()
Suggested client side action: Share user locationString
getText()
Text to display alongside the action.com.google.protobuf.ByteString
getTextBytes()
Text to display alongside the action.boolean
hasDial()
Suggested client side action: Dial a phone numberboolean
hasOpenUrl()
Suggested client side action: Open a URI on deviceboolean
hasShareLocation()
Suggested client side action: Share user location-
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()
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
Intent.Message.RbmSuggestedAction.RbmSuggestedActionDial 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
Intent.Message.RbmSuggestedAction.RbmSuggestedActionOpenUri 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;
-
hasShareLocation
boolean hasShareLocation()
Suggested client side action: Share user location
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction.RbmSuggestedActionShareLocation share_location = 5;
- Returns:
- Whether the shareLocation field is set.
-
getShareLocation
Intent.Message.RbmSuggestedAction.RbmSuggestedActionShareLocation getShareLocation()
Suggested client side action: Share user location
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction.RbmSuggestedActionShareLocation share_location = 5;
- Returns:
- The shareLocation.
-
getShareLocationOrBuilder
Intent.Message.RbmSuggestedAction.RbmSuggestedActionShareLocationOrBuilder getShareLocationOrBuilder()
Suggested client side action: Share user location
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction.RbmSuggestedActionShareLocation share_location = 5;
-
getActionCase
Intent.Message.RbmSuggestedAction.ActionCase getActionCase()
-
-