- 4.58.0 (latest)
- 4.57.0
- 4.55.0
- 4.54.0
- 4.53.0
- 4.52.0
- 4.51.0
- 4.50.0
- 4.49.0
- 4.48.0
- 4.47.0
- 4.46.0
- 4.45.0
- 4.43.0
- 4.42.0
- 4.41.0
- 4.40.0
- 4.39.0
- 4.38.0
- 4.37.0
- 4.36.0
- 4.35.0
- 4.34.0
- 4.33.0
- 4.30.0
- 4.29.0
- 4.28.0
- 4.27.0
- 4.26.0
- 4.25.0
- 4.24.0
- 4.23.0
- 4.22.0
- 4.21.0
- 4.20.0
- 4.19.0
- 4.18.0
- 4.17.0
- 4.15.0
- 4.14.0
- 4.13.0
- 4.12.0
- 4.11.0
- 4.10.0
- 4.9.1
- 4.8.6
- 4.7.5
- 4.6.0
- 4.5.11
- 4.4.0
- 4.3.1
public static final class Intent.Message.RbmSuggestedAction extends GeneratedMessageV3 implements Intent.Message.RbmSuggestedActionOrBuilder
Rich Business Messaging (RBM) suggested client-side action that the user can choose from the card.
Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > Intent.Message.RbmSuggestedActionImplements
Intent.Message.RbmSuggestedActionOrBuilderStatic Fields
DIAL_FIELD_NUMBER
public static final int DIAL_FIELD_NUMBER
Type | Description |
int |
OPEN_URL_FIELD_NUMBER
public static final int OPEN_URL_FIELD_NUMBER
Type | Description |
int |
POSTBACK_DATA_FIELD_NUMBER
public static final int POSTBACK_DATA_FIELD_NUMBER
Type | Description |
int |
SHARE_LOCATION_FIELD_NUMBER
public static final int SHARE_LOCATION_FIELD_NUMBER
Type | Description |
int |
TEXT_FIELD_NUMBER
public static final int TEXT_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static Intent.Message.RbmSuggestedAction getDefaultInstance()
Type | Description |
Intent.Message.RbmSuggestedAction |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static Intent.Message.RbmSuggestedAction.Builder newBuilder()
Type | Description |
Intent.Message.RbmSuggestedAction.Builder |
newBuilder(Intent.Message.RbmSuggestedAction prototype)
public static Intent.Message.RbmSuggestedAction.Builder newBuilder(Intent.Message.RbmSuggestedAction prototype)
Name | Description |
prototype | Intent.Message.RbmSuggestedAction |
Type | Description |
Intent.Message.RbmSuggestedAction.Builder |
parseDelimitedFrom(InputStream input)
public static Intent.Message.RbmSuggestedAction parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
Intent.Message.RbmSuggestedAction |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.RbmSuggestedAction parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Intent.Message.RbmSuggestedAction |
Type | Description |
IOException |
parseFrom(byte[] data)
public static Intent.Message.RbmSuggestedAction parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
Intent.Message.RbmSuggestedAction |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.RbmSuggestedAction parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Intent.Message.RbmSuggestedAction |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static Intent.Message.RbmSuggestedAction parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
Intent.Message.RbmSuggestedAction |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.RbmSuggestedAction parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Intent.Message.RbmSuggestedAction |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static Intent.Message.RbmSuggestedAction parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
Intent.Message.RbmSuggestedAction |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.RbmSuggestedAction parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Intent.Message.RbmSuggestedAction |
Type | Description |
IOException |
parseFrom(InputStream input)
public static Intent.Message.RbmSuggestedAction parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
Intent.Message.RbmSuggestedAction |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.RbmSuggestedAction parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Intent.Message.RbmSuggestedAction |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static Intent.Message.RbmSuggestedAction parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
Intent.Message.RbmSuggestedAction |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.RbmSuggestedAction parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Intent.Message.RbmSuggestedAction |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<Intent.Message.RbmSuggestedAction> parser()
Type | Description |
Parser<RbmSuggestedAction> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getActionCase()
public Intent.Message.RbmSuggestedAction.ActionCase getActionCase()
Type | Description |
Intent.Message.RbmSuggestedAction.ActionCase |
getDefaultInstanceForType()
public Intent.Message.RbmSuggestedAction getDefaultInstanceForType()
Type | Description |
Intent.Message.RbmSuggestedAction |
getDial()
public Intent.Message.RbmSuggestedAction.RbmSuggestedActionDial getDial()
Suggested client side action: Dial a phone number
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction.RbmSuggestedActionDial dial = 3;
Type | Description |
Intent.Message.RbmSuggestedAction.RbmSuggestedActionDial | The dial. |
getDialOrBuilder()
public Intent.Message.RbmSuggestedAction.RbmSuggestedActionDialOrBuilder getDialOrBuilder()
Suggested client side action: Dial a phone number
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction.RbmSuggestedActionDial dial = 3;
Type | Description |
Intent.Message.RbmSuggestedAction.RbmSuggestedActionDialOrBuilder |
getOpenUrl()
public 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;
Type | Description |
Intent.Message.RbmSuggestedAction.RbmSuggestedActionOpenUri | The openUrl. |
getOpenUrlOrBuilder()
public 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;
Type | Description |
Intent.Message.RbmSuggestedAction.RbmSuggestedActionOpenUriOrBuilder |
getParserForType()
public Parser<Intent.Message.RbmSuggestedAction> getParserForType()
Type | Description |
Parser<RbmSuggestedAction> |
getPostbackData()
public 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;
Type | Description |
String | The postbackData. |
getPostbackDataBytes()
public 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;
Type | Description |
ByteString | The bytes for postbackData. |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getShareLocation()
public Intent.Message.RbmSuggestedAction.RbmSuggestedActionShareLocation getShareLocation()
Suggested client side action: Share user location
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction.RbmSuggestedActionShareLocation share_location = 5;
Type | Description |
Intent.Message.RbmSuggestedAction.RbmSuggestedActionShareLocation | The shareLocation. |
getShareLocationOrBuilder()
public Intent.Message.RbmSuggestedAction.RbmSuggestedActionShareLocationOrBuilder getShareLocationOrBuilder()
Suggested client side action: Share user location
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction.RbmSuggestedActionShareLocation share_location = 5;
Type | Description |
Intent.Message.RbmSuggestedAction.RbmSuggestedActionShareLocationOrBuilder |
getText()
public String getText()
Text to display alongside the action.
string text = 1;
Type | Description |
String | The text. |
getTextBytes()
public ByteString getTextBytes()
Text to display alongside the action.
string text = 1;
Type | Description |
ByteString | The bytes for text. |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hasDial()
public boolean hasDial()
Suggested client side action: Dial a phone number
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction.RbmSuggestedActionDial dial = 3;
Type | Description |
boolean | Whether the dial field is set. |
hasOpenUrl()
public boolean hasOpenUrl()
Suggested client side action: Open a URI on device
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction.RbmSuggestedActionOpenUri open_url = 4;
Type | Description |
boolean | Whether the openUrl field is set. |
hasShareLocation()
public boolean hasShareLocation()
Suggested client side action: Share user location
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction.RbmSuggestedActionShareLocation share_location = 5;
Type | Description |
boolean | Whether the shareLocation field is set. |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public Intent.Message.RbmSuggestedAction.Builder newBuilderForType()
Type | Description |
Intent.Message.RbmSuggestedAction.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Intent.Message.RbmSuggestedAction.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
Intent.Message.RbmSuggestedAction.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public Intent.Message.RbmSuggestedAction.Builder toBuilder()
Type | Description |
Intent.Message.RbmSuggestedAction.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |