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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
POSTBACK_DATA_FIELD_NUMBER
public static final int POSTBACK_DATA_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
TEXT_FIELD_NUMBER
public static final int TEXT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static Intent.Message.RbmSuggestedReply getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Intent.Message.RbmSuggestedReply.Builder newBuilder()
newBuilder(Intent.Message.RbmSuggestedReply prototype)
public static Intent.Message.RbmSuggestedReply.Builder newBuilder(Intent.Message.RbmSuggestedReply prototype)
public static Intent.Message.RbmSuggestedReply parseDelimitedFrom(InputStream input)
public static Intent.Message.RbmSuggestedReply parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Intent.Message.RbmSuggestedReply parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.RbmSuggestedReply parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Intent.Message.RbmSuggestedReply parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.RbmSuggestedReply parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.RbmSuggestedReply parseFrom(CodedInputStream input)
public static Intent.Message.RbmSuggestedReply parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.RbmSuggestedReply parseFrom(InputStream input)
public static Intent.Message.RbmSuggestedReply parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Intent.Message.RbmSuggestedReply parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.RbmSuggestedReply parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Intent.Message.RbmSuggestedReply> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public Intent.Message.RbmSuggestedReply getDefaultInstanceForType()
getParserForType()
public Parser<Intent.Message.RbmSuggestedReply> getParserForType()
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 |
Type |
Description |
int |
|
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 |
Type |
Description |
ByteString |
The bytes for text.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Intent.Message.RbmSuggestedReply.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Intent.Message.RbmSuggestedReply.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public Intent.Message.RbmSuggestedReply.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides