Class Intent.Message.RbmSuggestion (4.61.0)

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
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()
Returns
Type Description
Intent.Message.RbmSuggestion

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static Intent.Message.RbmSuggestion.Builder newBuilder()
Returns
Type Description
Intent.Message.RbmSuggestion.Builder

newBuilder(Intent.Message.RbmSuggestion prototype)

public static Intent.Message.RbmSuggestion.Builder newBuilder(Intent.Message.RbmSuggestion prototype)
Parameter
Name Description
prototype Intent.Message.RbmSuggestion
Returns
Type Description
Intent.Message.RbmSuggestion.Builder

parseDelimitedFrom(InputStream input)

public static Intent.Message.RbmSuggestion parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Intent.Message.RbmSuggestion
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Intent.Message.RbmSuggestion parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Intent.Message.RbmSuggestion
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Intent.Message.RbmSuggestion parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Intent.Message.RbmSuggestion
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Intent.Message.RbmSuggestion parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Intent.Message.RbmSuggestion
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Intent.Message.RbmSuggestion parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Intent.Message.RbmSuggestion
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Intent.Message.RbmSuggestion parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Intent.Message.RbmSuggestion
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Intent.Message.RbmSuggestion parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Intent.Message.RbmSuggestion
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Intent.Message.RbmSuggestion parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Intent.Message.RbmSuggestion
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Intent.Message.RbmSuggestion parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Intent.Message.RbmSuggestion
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Intent.Message.RbmSuggestion parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Intent.Message.RbmSuggestion
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Intent.Message.RbmSuggestion parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Intent.Message.RbmSuggestion
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Intent.Message.RbmSuggestion parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Intent.Message.RbmSuggestion
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Intent.Message.RbmSuggestion> parser()
Returns
Type Description
Parser<RbmSuggestion>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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
Type Description
Intent.Message.RbmSuggestedAction

The action.

getActionOrBuilder()

public Intent.Message.RbmSuggestedActionOrBuilder getActionOrBuilder()

Predefined client side actions that user can choose

.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction action = 2;

Returns
Type Description
Intent.Message.RbmSuggestedActionOrBuilder

getDefaultInstanceForType()

public Intent.Message.RbmSuggestion getDefaultInstanceForType()
Returns
Type Description
Intent.Message.RbmSuggestion

getParserForType()

public Parser<Intent.Message.RbmSuggestion> getParserForType()
Returns
Type Description
Parser<RbmSuggestion>
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
Type Description
Intent.Message.RbmSuggestedReply

The reply.

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
Type Description
Intent.Message.RbmSuggestedReplyOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSuggestionCase()

public Intent.Message.RbmSuggestion.SuggestionCase getSuggestionCase()
Returns
Type Description
Intent.Message.RbmSuggestion.SuggestionCase

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()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Intent.Message.RbmSuggestion.Builder newBuilderForType()
Returns
Type Description
Intent.Message.RbmSuggestion.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Intent.Message.RbmSuggestion.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Intent.Message.RbmSuggestion.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Intent.Message.RbmSuggestion.Builder toBuilder()
Returns
Type Description
Intent.Message.RbmSuggestion.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException