public static final class Intent.Message.RbmSuggestion extends GeneratedMessageV3 implements Intent.Message.RbmSuggestionOrBuilder
Rich Business Messaging (RBM) suggestion. Suggestions allow user to
easily select/click a predefined response or perform an action (like
opening a web uri).
Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestion
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>)
Static Fields
ACTION_FIELD_NUMBER
public static final int ACTION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
REPLY_FIELD_NUMBER
public static final int REPLY_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static Intent.Message.RbmSuggestion getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Intent.Message.RbmSuggestion.Builder newBuilder()
newBuilder(Intent.Message.RbmSuggestion prototype)
public static Intent.Message.RbmSuggestion.Builder newBuilder(Intent.Message.RbmSuggestion prototype)
public static Intent.Message.RbmSuggestion parseDelimitedFrom(InputStream input)
public static Intent.Message.RbmSuggestion parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Intent.Message.RbmSuggestion parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.RbmSuggestion parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Intent.Message.RbmSuggestion parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.RbmSuggestion parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.RbmSuggestion parseFrom(CodedInputStream input)
public static Intent.Message.RbmSuggestion parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.RbmSuggestion parseFrom(InputStream input)
public static Intent.Message.RbmSuggestion parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Intent.Message.RbmSuggestion parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.RbmSuggestion parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Intent.Message.RbmSuggestion> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getAction()
public Intent.Message.RbmSuggestedAction getAction()
Predefined client side actions that user can choose
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction action = 2;
getActionOrBuilder()
public Intent.Message.RbmSuggestedActionOrBuilder getActionOrBuilder()
Predefined client side actions that user can choose
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction action = 2;
getDefaultInstanceForType()
public Intent.Message.RbmSuggestion getDefaultInstanceForType()
getParserForType()
public Parser<Intent.Message.RbmSuggestion> getParserForType()
Overrides
getReply()
public Intent.Message.RbmSuggestedReply getReply()
Predefined replies for user to select instead of typing
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedReply reply = 1;
getReplyOrBuilder()
public Intent.Message.RbmSuggestedReplyOrBuilder getReplyOrBuilder()
Predefined replies for user to select instead of typing
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedReply reply = 1;
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getSuggestionCase()
public Intent.Message.RbmSuggestion.SuggestionCase getSuggestionCase()
hasAction()
public boolean hasAction()
Predefined client side actions that user can choose
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction action = 2;
Returns |
Type |
Description |
boolean |
Whether the action field is set.
|
hasReply()
public boolean hasReply()
Predefined replies for user to select instead of typing
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedReply reply = 1;
Returns |
Type |
Description |
boolean |
Whether the reply field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Intent.Message.RbmSuggestion.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Intent.Message.RbmSuggestion.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.RbmSuggestion.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides