Interface Intent.Message.RbmSuggestedActionOrBuilder (4.28.0)

public static interface Intent.Message.RbmSuggestedActionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getActionCase()

public abstract Intent.Message.RbmSuggestedAction.ActionCase getActionCase()
Returns
Type Description
Intent.Message.RbmSuggestedAction.ActionCase

getDial()

public abstract Intent.Message.RbmSuggestedAction.RbmSuggestedActionDial getDial()

Suggested client side action: Dial a phone number

.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction.RbmSuggestedActionDial dial = 3;

Returns
Type Description
Intent.Message.RbmSuggestedAction.RbmSuggestedActionDial

The dial.

getDialOrBuilder()

public abstract Intent.Message.RbmSuggestedAction.RbmSuggestedActionDialOrBuilder getDialOrBuilder()

Suggested client side action: Dial a phone number

.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction.RbmSuggestedActionDial dial = 3;

Returns
Type Description
Intent.Message.RbmSuggestedAction.RbmSuggestedActionDialOrBuilder

getOpenUrl()

public abstract 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
Type Description
Intent.Message.RbmSuggestedAction.RbmSuggestedActionOpenUri

The openUrl.

getOpenUrlOrBuilder()

public abstract 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;

Returns
Type Description
Intent.Message.RbmSuggestedAction.RbmSuggestedActionOpenUriOrBuilder

getPostbackData()

public abstract 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
Type Description
String

The postbackData.

getPostbackDataBytes()

public abstract 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
Type Description
ByteString

The bytes for postbackData.

getShareLocation()

public abstract Intent.Message.RbmSuggestedAction.RbmSuggestedActionShareLocation getShareLocation()

Suggested client side action: Share user location

.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction.RbmSuggestedActionShareLocation share_location = 5;

Returns
Type Description
Intent.Message.RbmSuggestedAction.RbmSuggestedActionShareLocation

The shareLocation.

getShareLocationOrBuilder()

public abstract Intent.Message.RbmSuggestedAction.RbmSuggestedActionShareLocationOrBuilder getShareLocationOrBuilder()

Suggested client side action: Share user location

.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction.RbmSuggestedActionShareLocation share_location = 5;

Returns
Type Description
Intent.Message.RbmSuggestedAction.RbmSuggestedActionShareLocationOrBuilder

getText()

public abstract String getText()

Text to display alongside the action.

string text = 1;

Returns
Type Description
String

The text.

getTextBytes()

public abstract ByteString getTextBytes()

Text to display alongside the action.

string text = 1;

Returns
Type Description
ByteString

The bytes for text.

hasDial()

public abstract boolean hasDial()

Suggested client side action: Dial a phone number

.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction.RbmSuggestedActionDial dial = 3;

Returns
Type Description
boolean

Whether the dial field is set.

hasOpenUrl()

public abstract boolean hasOpenUrl()

Suggested client side action: Open a URI on device

.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction.RbmSuggestedActionOpenUri open_url = 4;

Returns
Type Description
boolean

Whether the openUrl field is set.

hasShareLocation()

public abstract boolean hasShareLocation()

Suggested client side action: Share user location

.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction.RbmSuggestedActionShareLocation share_location = 5;

Returns
Type Description
boolean

Whether the shareLocation field is set.