public static final class Intent.Message.RbmSuggestedReply.Builder extends GeneratedMessage.Builder<Intent.Message.RbmSuggestedReply.Builder> implements Intent.Message.RbmSuggestedReplyOrBuilderRich Business Messaging (RBM) suggested reply that the user can click instead of typing in their own response.
Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedReply
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Intent.Message.RbmSuggestedReply.BuilderImplements
Intent.Message.RbmSuggestedReplyOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Intent.Message.RbmSuggestedReply build()| Returns | |
|---|---|
| Type | Description |
Intent.Message.RbmSuggestedReply |
|
buildPartial()
public Intent.Message.RbmSuggestedReply buildPartial()| Returns | |
|---|---|
| Type | Description |
Intent.Message.RbmSuggestedReply |
|
clear()
public Intent.Message.RbmSuggestedReply.Builder clear()| Returns | |
|---|---|
| Type | Description |
Intent.Message.RbmSuggestedReply.Builder |
|
clearPostbackData()
public Intent.Message.RbmSuggestedReply.Builder clearPostbackData()Opaque payload that the Dialogflow receives in a user event when the user taps the suggested reply. This data will be also forwarded to webhook to allow performing custom business logic.
string postback_data = 2;
| Returns | |
|---|---|
| Type | Description |
Intent.Message.RbmSuggestedReply.Builder |
This builder for chaining. |
clearText()
public Intent.Message.RbmSuggestedReply.Builder clearText()Suggested reply text.
string text = 1;
| Returns | |
|---|---|
| Type | Description |
Intent.Message.RbmSuggestedReply.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public Intent.Message.RbmSuggestedReply getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Intent.Message.RbmSuggestedReply |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getPostbackData()
public String getPostbackData()Opaque payload that the Dialogflow receives in a user event when the user taps the suggested reply. 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 reply. 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. |
getText()
public String getText()Suggested reply text.
string text = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The text. |
getTextBytes()
public ByteString getTextBytes()Suggested reply text.
string text = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for text. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Intent.Message.RbmSuggestedReply other)
public Intent.Message.RbmSuggestedReply.Builder mergeFrom(Intent.Message.RbmSuggestedReply other)| Parameter | |
|---|---|
| Name | Description |
other |
Intent.Message.RbmSuggestedReply |
| Returns | |
|---|---|
| Type | Description |
Intent.Message.RbmSuggestedReply.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Intent.Message.RbmSuggestedReply.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Intent.Message.RbmSuggestedReply.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Intent.Message.RbmSuggestedReply.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Intent.Message.RbmSuggestedReply.Builder |
|
setPostbackData(String value)
public Intent.Message.RbmSuggestedReply.Builder setPostbackData(String value)Opaque payload that the Dialogflow receives in a user event when the user taps the suggested reply. This data will be also forwarded to webhook to allow performing custom business logic.
string postback_data = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe postbackData to set. |
| Returns | |
|---|---|
| Type | Description |
Intent.Message.RbmSuggestedReply.Builder |
This builder for chaining. |
setPostbackDataBytes(ByteString value)
public Intent.Message.RbmSuggestedReply.Builder setPostbackDataBytes(ByteString value)Opaque payload that the Dialogflow receives in a user event when the user taps the suggested reply. This data will be also forwarded to webhook to allow performing custom business logic.
string postback_data = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for postbackData to set. |
| Returns | |
|---|---|
| Type | Description |
Intent.Message.RbmSuggestedReply.Builder |
This builder for chaining. |
setText(String value)
public Intent.Message.RbmSuggestedReply.Builder setText(String value)Suggested reply text.
string text = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe text to set. |
| Returns | |
|---|---|
| Type | Description |
Intent.Message.RbmSuggestedReply.Builder |
This builder for chaining. |
setTextBytes(ByteString value)
public Intent.Message.RbmSuggestedReply.Builder setTextBytes(ByteString value)Suggested reply text.
string text = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for text to set. |
| Returns | |
|---|---|
| Type | Description |
Intent.Message.RbmSuggestedReply.Builder |
This builder for chaining. |