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
Static Fields
ACTION_FIELD_NUMBER
public static final int ACTION_FIELD_NUMBER
Field Value
REPLY_FIELD_NUMBER
public static final int REPLY_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Intent.Message.RbmSuggestion getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Intent.Message.RbmSuggestion.Builder newBuilder()
Returns
newBuilder(Intent.Message.RbmSuggestion prototype)
public static Intent.Message.RbmSuggestion.Builder newBuilder(Intent.Message.RbmSuggestion prototype)
Parameter
Returns
public static Intent.Message.RbmSuggestion parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Intent.Message.RbmSuggestion parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Intent.Message.RbmSuggestion parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.RbmSuggestion parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Intent.Message.RbmSuggestion parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.RbmSuggestion parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Intent.Message.RbmSuggestion parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Intent.Message.RbmSuggestion parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Intent.Message.RbmSuggestion parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Intent.Message.RbmSuggestion parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Intent.Message.RbmSuggestion parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.RbmSuggestion parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Intent.Message.RbmSuggestion> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getAction()
public Intent.Message.RbmSuggestedAction getAction()
Predefined client side actions that user can choose
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction action = 2;
Returns
getActionOrBuilder()
public Intent.Message.RbmSuggestedActionOrBuilder getActionOrBuilder()
Predefined client side actions that user can choose
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction action = 2;
Returns
getDefaultInstanceForType()
public Intent.Message.RbmSuggestion getDefaultInstanceForType()
Returns
getParserForType()
public Parser<Intent.Message.RbmSuggestion> getParserForType()
Returns
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;
Returns
getReplyOrBuilder()
public Intent.Message.RbmSuggestedReplyOrBuilder getReplyOrBuilder()
Predefined replies for user to select instead of typing
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedReply reply = 1;
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getSuggestionCase()
public Intent.Message.RbmSuggestion.SuggestionCase getSuggestionCase()
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Intent.Message.RbmSuggestion.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Intent.Message.RbmSuggestion.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.RbmSuggestion.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions