public static final class Intent.Message.RbmSuggestedReply.Builder extends GeneratedMessageV3.Builder<Intent.Message.RbmSuggestedReply.Builder> implements Intent.Message.RbmSuggestedReplyOrBuilder
Rich 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
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Intent.Message.RbmSuggestedReply.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public Intent.Message.RbmSuggestedReply build()
Returns
buildPartial()
public Intent.Message.RbmSuggestedReply buildPartial()
Returns
clear()
public Intent.Message.RbmSuggestedReply.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public Intent.Message.RbmSuggestedReply.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Intent.Message.RbmSuggestedReply.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
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
clearText()
public Intent.Message.RbmSuggestedReply.Builder clearText()
Suggested reply text.
string text = 1;
Returns
clone()
public Intent.Message.RbmSuggestedReply.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public Intent.Message.RbmSuggestedReply getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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()
Suggested reply text.
string text = 1;
Returns
Type | Description |
String | The text.
|
getTextBytes()
public ByteString getTextBytes()
Suggested reply text.
string text = 1;
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(Intent.Message.RbmSuggestedReply other)
public Intent.Message.RbmSuggestedReply.Builder mergeFrom(Intent.Message.RbmSuggestedReply other)
Parameter
Returns
public Intent.Message.RbmSuggestedReply.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Intent.Message.RbmSuggestedReply.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Intent.Message.RbmSuggestedReply.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public Intent.Message.RbmSuggestedReply.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
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 | String
The postbackData to set.
|
Returns
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 | ByteString
The bytes for postbackData to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Intent.Message.RbmSuggestedReply.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setText(String value)
public Intent.Message.RbmSuggestedReply.Builder setText(String value)
Suggested reply text.
string text = 1;
Parameter
Name | Description |
value | String
The text to set.
|
Returns
setTextBytes(ByteString value)
public Intent.Message.RbmSuggestedReply.Builder setTextBytes(ByteString value)
Suggested reply text.
string text = 1;
Parameter
Name | Description |
value | ByteString
The bytes for text to set.
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final Intent.Message.RbmSuggestedReply.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides