Class Intent.Message.RbmSuggestedReply.Builder (4.7.3)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Intent.Message.RbmSuggestedReply.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Intent.Message.RbmSuggestedReply.Builder
Overrides

build()

public Intent.Message.RbmSuggestedReply build()
Returns
TypeDescription
Intent.Message.RbmSuggestedReply

buildPartial()

public Intent.Message.RbmSuggestedReply buildPartial()
Returns
TypeDescription
Intent.Message.RbmSuggestedReply

clear()

public Intent.Message.RbmSuggestedReply.Builder clear()
Returns
TypeDescription
Intent.Message.RbmSuggestedReply.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Intent.Message.RbmSuggestedReply.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Intent.Message.RbmSuggestedReply.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Intent.Message.RbmSuggestedReply.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Intent.Message.RbmSuggestedReply.Builder
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
TypeDescription
Intent.Message.RbmSuggestedReply.Builder

This builder for chaining.

clearText()

public Intent.Message.RbmSuggestedReply.Builder clearText()

Suggested reply text.

string text = 1;

Returns
TypeDescription
Intent.Message.RbmSuggestedReply.Builder

This builder for chaining.

clone()

public Intent.Message.RbmSuggestedReply.Builder clone()
Returns
TypeDescription
Intent.Message.RbmSuggestedReply.Builder
Overrides

getDefaultInstanceForType()

public Intent.Message.RbmSuggestedReply getDefaultInstanceForType()
Returns
TypeDescription
Intent.Message.RbmSuggestedReply

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
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
TypeDescription
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
TypeDescription
ByteString

The bytes for postbackData.

getText()

public String getText()

Suggested reply text.

string text = 1;

Returns
TypeDescription
String

The text.

getTextBytes()

public ByteString getTextBytes()

Suggested reply text.

string text = 1;

Returns
TypeDescription
ByteString

The bytes for text.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Intent.Message.RbmSuggestedReply other)

public Intent.Message.RbmSuggestedReply.Builder mergeFrom(Intent.Message.RbmSuggestedReply other)
Parameter
NameDescription
otherIntent.Message.RbmSuggestedReply
Returns
TypeDescription
Intent.Message.RbmSuggestedReply.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Intent.Message.RbmSuggestedReply.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Intent.Message.RbmSuggestedReply.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Intent.Message.RbmSuggestedReply.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Intent.Message.RbmSuggestedReply.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Intent.Message.RbmSuggestedReply.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Intent.Message.RbmSuggestedReply.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Intent.Message.RbmSuggestedReply.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Intent.Message.RbmSuggestedReply.Builder
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
NameDescription
valueString

The postbackData to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for postbackData to set.

Returns
TypeDescription
Intent.Message.RbmSuggestedReply.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Intent.Message.RbmSuggestedReply.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Intent.Message.RbmSuggestedReply.Builder
Overrides

setText(String value)

public Intent.Message.RbmSuggestedReply.Builder setText(String value)

Suggested reply text.

string text = 1;

Parameter
NameDescription
valueString

The text to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for text to set.

Returns
TypeDescription
Intent.Message.RbmSuggestedReply.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Intent.Message.RbmSuggestedReply.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Intent.Message.RbmSuggestedReply.Builder
Overrides