- 4.60.0 (latest)
- 4.59.0
- 4.58.0
- 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.Builder extends GeneratedMessageV3.Builder<Intent.Message.RbmSuggestedAction.Builder> 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.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Intent.Message.RbmSuggestedAction.BuilderImplements
Intent.Message.RbmSuggestedActionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Intent.Message.RbmSuggestedAction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Intent.Message.RbmSuggestedAction.Builder |
build()
public Intent.Message.RbmSuggestedAction build()
Returns | |
---|---|
Type | Description |
Intent.Message.RbmSuggestedAction |
buildPartial()
public Intent.Message.RbmSuggestedAction buildPartial()
Returns | |
---|---|
Type | Description |
Intent.Message.RbmSuggestedAction |
clear()
public Intent.Message.RbmSuggestedAction.Builder clear()
Returns | |
---|---|
Type | Description |
Intent.Message.RbmSuggestedAction.Builder |
clearAction()
public Intent.Message.RbmSuggestedAction.Builder clearAction()
Returns | |
---|---|
Type | Description |
Intent.Message.RbmSuggestedAction.Builder |
clearDial()
public Intent.Message.RbmSuggestedAction.Builder clearDial()
Suggested client side action: Dial a phone number
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction.RbmSuggestedActionDial dial = 3;
Returns | |
---|---|
Type | Description |
Intent.Message.RbmSuggestedAction.Builder |
clearField(Descriptors.FieldDescriptor field)
public Intent.Message.RbmSuggestedAction.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Intent.Message.RbmSuggestedAction.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Intent.Message.RbmSuggestedAction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
Intent.Message.RbmSuggestedAction.Builder |
clearOpenUrl()
public Intent.Message.RbmSuggestedAction.Builder clearOpenUrl()
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.Builder |
clearPostbackData()
public Intent.Message.RbmSuggestedAction.Builder clearPostbackData()
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 |
Intent.Message.RbmSuggestedAction.Builder |
This builder for chaining. |
clearShareLocation()
public Intent.Message.RbmSuggestedAction.Builder clearShareLocation()
Suggested client side action: Share user location
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction.RbmSuggestedActionShareLocation share_location = 5;
Returns | |
---|---|
Type | Description |
Intent.Message.RbmSuggestedAction.Builder |
clearText()
public Intent.Message.RbmSuggestedAction.Builder clearText()
Text to display alongside the action.
string text = 1;
Returns | |
---|---|
Type | Description |
Intent.Message.RbmSuggestedAction.Builder |
This builder for chaining. |
clone()
public Intent.Message.RbmSuggestedAction.Builder clone()
Returns | |
---|---|
Type | Description |
Intent.Message.RbmSuggestedAction.Builder |
getActionCase()
public Intent.Message.RbmSuggestedAction.ActionCase getActionCase()
Returns | |
---|---|
Type | Description |
Intent.Message.RbmSuggestedAction.ActionCase |
getDefaultInstanceForType()
public Intent.Message.RbmSuggestedAction getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Intent.Message.RbmSuggestedAction |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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;
Returns | |
---|---|
Type | Description |
Intent.Message.RbmSuggestedAction.RbmSuggestedActionDial |
The dial. |
getDialBuilder()
public Intent.Message.RbmSuggestedAction.RbmSuggestedActionDial.Builder getDialBuilder()
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.Builder |
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
Intent.Message.RbmSuggestedAction.RbmSuggestedActionOpenUri |
The openUrl. |
getOpenUrlBuilder()
public Intent.Message.RbmSuggestedAction.RbmSuggestedActionOpenUri.Builder getOpenUrlBuilder()
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.Builder |
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;
Returns | |
---|---|
Type | Description |
Intent.Message.RbmSuggestedAction.RbmSuggestedActionOpenUriOrBuilder |
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for postbackData. |
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;
Returns | |
---|---|
Type | Description |
Intent.Message.RbmSuggestedAction.RbmSuggestedActionShareLocation |
The shareLocation. |
getShareLocationBuilder()
public Intent.Message.RbmSuggestedAction.RbmSuggestedActionShareLocation.Builder getShareLocationBuilder()
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.Builder |
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;
Returns | |
---|---|
Type | Description |
Intent.Message.RbmSuggestedAction.RbmSuggestedActionShareLocationOrBuilder |
getText()
public String getText()
Text to display alongside the action.
string text = 1;
Returns | |
---|---|
Type | Description |
String |
The text. |
getTextBytes()
public ByteString getTextBytes()
Text to display alongside the action.
string text = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for text. |
hasDial()
public 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 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 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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeDial(Intent.Message.RbmSuggestedAction.RbmSuggestedActionDial value)
public Intent.Message.RbmSuggestedAction.Builder mergeDial(Intent.Message.RbmSuggestedAction.RbmSuggestedActionDial value)
Suggested client side action: Dial a phone number
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction.RbmSuggestedActionDial dial = 3;
Parameter | |
---|---|
Name | Description |
value |
Intent.Message.RbmSuggestedAction.RbmSuggestedActionDial |
Returns | |
---|---|
Type | Description |
Intent.Message.RbmSuggestedAction.Builder |
mergeFrom(Intent.Message.RbmSuggestedAction other)
public Intent.Message.RbmSuggestedAction.Builder mergeFrom(Intent.Message.RbmSuggestedAction other)
Parameter | |
---|---|
Name | Description |
other |
Intent.Message.RbmSuggestedAction |
Returns | |
---|---|
Type | Description |
Intent.Message.RbmSuggestedAction.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Intent.Message.RbmSuggestedAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Intent.Message.RbmSuggestedAction.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Intent.Message.RbmSuggestedAction.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
Intent.Message.RbmSuggestedAction.Builder |
mergeOpenUrl(Intent.Message.RbmSuggestedAction.RbmSuggestedActionOpenUri value)
public Intent.Message.RbmSuggestedAction.Builder mergeOpenUrl(Intent.Message.RbmSuggestedAction.RbmSuggestedActionOpenUri value)
Suggested client side action: Open a URI on device
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction.RbmSuggestedActionOpenUri open_url = 4;
Parameter | |
---|---|
Name | Description |
value |
Intent.Message.RbmSuggestedAction.RbmSuggestedActionOpenUri |
Returns | |
---|---|
Type | Description |
Intent.Message.RbmSuggestedAction.Builder |
mergeShareLocation(Intent.Message.RbmSuggestedAction.RbmSuggestedActionShareLocation value)
public Intent.Message.RbmSuggestedAction.Builder mergeShareLocation(Intent.Message.RbmSuggestedAction.RbmSuggestedActionShareLocation value)
Suggested client side action: Share user location
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction.RbmSuggestedActionShareLocation share_location = 5;
Parameter | |
---|---|
Name | Description |
value |
Intent.Message.RbmSuggestedAction.RbmSuggestedActionShareLocation |
Returns | |
---|---|
Type | Description |
Intent.Message.RbmSuggestedAction.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Intent.Message.RbmSuggestedAction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Intent.Message.RbmSuggestedAction.Builder |
setDial(Intent.Message.RbmSuggestedAction.RbmSuggestedActionDial value)
public Intent.Message.RbmSuggestedAction.Builder setDial(Intent.Message.RbmSuggestedAction.RbmSuggestedActionDial value)
Suggested client side action: Dial a phone number
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction.RbmSuggestedActionDial dial = 3;
Parameter | |
---|---|
Name | Description |
value |
Intent.Message.RbmSuggestedAction.RbmSuggestedActionDial |
Returns | |
---|---|
Type | Description |
Intent.Message.RbmSuggestedAction.Builder |
setDial(Intent.Message.RbmSuggestedAction.RbmSuggestedActionDial.Builder builderForValue)
public Intent.Message.RbmSuggestedAction.Builder setDial(Intent.Message.RbmSuggestedAction.RbmSuggestedActionDial.Builder builderForValue)
Suggested client side action: Dial a phone number
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction.RbmSuggestedActionDial dial = 3;
Parameter | |
---|---|
Name | Description |
builderForValue |
Intent.Message.RbmSuggestedAction.RbmSuggestedActionDial.Builder |
Returns | |
---|---|
Type | Description |
Intent.Message.RbmSuggestedAction.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Intent.Message.RbmSuggestedAction.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Intent.Message.RbmSuggestedAction.Builder |
setOpenUrl(Intent.Message.RbmSuggestedAction.RbmSuggestedActionOpenUri value)
public Intent.Message.RbmSuggestedAction.Builder setOpenUrl(Intent.Message.RbmSuggestedAction.RbmSuggestedActionOpenUri value)
Suggested client side action: Open a URI on device
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction.RbmSuggestedActionOpenUri open_url = 4;
Parameter | |
---|---|
Name | Description |
value |
Intent.Message.RbmSuggestedAction.RbmSuggestedActionOpenUri |
Returns | |
---|---|
Type | Description |
Intent.Message.RbmSuggestedAction.Builder |
setOpenUrl(Intent.Message.RbmSuggestedAction.RbmSuggestedActionOpenUri.Builder builderForValue)
public Intent.Message.RbmSuggestedAction.Builder setOpenUrl(Intent.Message.RbmSuggestedAction.RbmSuggestedActionOpenUri.Builder builderForValue)
Suggested client side action: Open a URI on device
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction.RbmSuggestedActionOpenUri open_url = 4;
Parameter | |
---|---|
Name | Description |
builderForValue |
Intent.Message.RbmSuggestedAction.RbmSuggestedActionOpenUri.Builder |
Returns | |
---|---|
Type | Description |
Intent.Message.RbmSuggestedAction.Builder |
setPostbackData(String value)
public Intent.Message.RbmSuggestedAction.Builder setPostbackData(String value)
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;
Parameter | |
---|---|
Name | Description |
value |
String The postbackData to set. |
Returns | |
---|---|
Type | Description |
Intent.Message.RbmSuggestedAction.Builder |
This builder for chaining. |
setPostbackDataBytes(ByteString value)
public Intent.Message.RbmSuggestedAction.Builder setPostbackDataBytes(ByteString value)
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for postbackData to set. |
Returns | |
---|---|
Type | Description |
Intent.Message.RbmSuggestedAction.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Intent.Message.RbmSuggestedAction.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
Intent.Message.RbmSuggestedAction.Builder |
setShareLocation(Intent.Message.RbmSuggestedAction.RbmSuggestedActionShareLocation value)
public Intent.Message.RbmSuggestedAction.Builder setShareLocation(Intent.Message.RbmSuggestedAction.RbmSuggestedActionShareLocation value)
Suggested client side action: Share user location
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction.RbmSuggestedActionShareLocation share_location = 5;
Parameter | |
---|---|
Name | Description |
value |
Intent.Message.RbmSuggestedAction.RbmSuggestedActionShareLocation |
Returns | |
---|---|
Type | Description |
Intent.Message.RbmSuggestedAction.Builder |
setShareLocation(Intent.Message.RbmSuggestedAction.RbmSuggestedActionShareLocation.Builder builderForValue)
public Intent.Message.RbmSuggestedAction.Builder setShareLocation(Intent.Message.RbmSuggestedAction.RbmSuggestedActionShareLocation.Builder builderForValue)
Suggested client side action: Share user location
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction.RbmSuggestedActionShareLocation share_location = 5;
Parameter | |
---|---|
Name | Description |
builderForValue |
Intent.Message.RbmSuggestedAction.RbmSuggestedActionShareLocation.Builder |
Returns | |
---|---|
Type | Description |
Intent.Message.RbmSuggestedAction.Builder |
setText(String value)
public Intent.Message.RbmSuggestedAction.Builder setText(String value)
Text to display alongside the action.
string text = 1;
Parameter | |
---|---|
Name | Description |
value |
String The text to set. |
Returns | |
---|---|
Type | Description |
Intent.Message.RbmSuggestedAction.Builder |
This builder for chaining. |
setTextBytes(ByteString value)
public Intent.Message.RbmSuggestedAction.Builder setTextBytes(ByteString value)
Text to display alongside the action.
string text = 1;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for text to set. |
Returns | |
---|---|
Type | Description |
Intent.Message.RbmSuggestedAction.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Intent.Message.RbmSuggestedAction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Intent.Message.RbmSuggestedAction.Builder |