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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Intent.Message.RbmSuggestedReply.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Intent.Message.RbmSuggestedReply build()
buildPartial()
public Intent.Message.RbmSuggestedReply buildPartial()
clear()
public Intent.Message.RbmSuggestedReply.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public Intent.Message.RbmSuggestedReply.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Intent.Message.RbmSuggestedReply.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
clearText()
public Intent.Message.RbmSuggestedReply.Builder clearText()
Suggested reply text.
string text = 1;
clone()
public Intent.Message.RbmSuggestedReply.Builder clone()
Overrides
getDefaultInstanceForType()
public Intent.Message.RbmSuggestedReply getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
Type |
Description |
ByteString |
The bytes for text.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Intent.Message.RbmSuggestedReply other)
public Intent.Message.RbmSuggestedReply.Builder mergeFrom(Intent.Message.RbmSuggestedReply other)
public Intent.Message.RbmSuggestedReply.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Intent.Message.RbmSuggestedReply.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Intent.Message.RbmSuggestedReply.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public Intent.Message.RbmSuggestedReply.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Intent.Message.RbmSuggestedReply.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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.
|
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.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final Intent.Message.RbmSuggestedReply.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides