public static final class Intent.Message.RbmSuggestedReply extends GeneratedMessageV3 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 Fields
POSTBACK_DATA_FIELD_NUMBER
public static final int POSTBACK_DATA_FIELD_NUMBER
Field Value
TEXT_FIELD_NUMBER
public static final int TEXT_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Intent.Message.RbmSuggestedReply getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Intent.Message.RbmSuggestedReply.Builder newBuilder()
Returns
newBuilder(Intent.Message.RbmSuggestedReply prototype)
public static Intent.Message.RbmSuggestedReply.Builder newBuilder(Intent.Message.RbmSuggestedReply prototype)
Parameter
Returns
public static Intent.Message.RbmSuggestedReply parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Intent.Message.RbmSuggestedReply parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Intent.Message.RbmSuggestedReply parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.RbmSuggestedReply parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Intent.Message.RbmSuggestedReply parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.RbmSuggestedReply parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Intent.Message.RbmSuggestedReply parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Intent.Message.RbmSuggestedReply parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Intent.Message.RbmSuggestedReply parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Intent.Message.RbmSuggestedReply parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Intent.Message.RbmSuggestedReply parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.RbmSuggestedReply parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Intent.Message.RbmSuggestedReply> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public Intent.Message.RbmSuggestedReply getDefaultInstanceForType()
Returns
getParserForType()
public Parser<Intent.Message.RbmSuggestedReply> getParserForType()
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.
|
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getText()
Suggested reply text.
string text = 1;
Returns
Type |
Description |
String |
The text.
|
getTextBytes()
public ByteString getTextBytes()
Suggested reply text.
string text = 1;
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Intent.Message.RbmSuggestedReply.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Intent.Message.RbmSuggestedReply.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Intent.Message.RbmSuggestedReply.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions