Class Intent.Message.RbmSuggestion (4.6.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
TypeDescription
int

REPLY_FIELD_NUMBER

public static final int REPLY_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Intent.Message.RbmSuggestion getDefaultInstance()
Returns
TypeDescription
Intent.Message.RbmSuggestion

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Intent.Message.RbmSuggestion.Builder newBuilder()
Returns
TypeDescription
Intent.Message.RbmSuggestion.Builder

newBuilder(Intent.Message.RbmSuggestion prototype)

public static Intent.Message.RbmSuggestion.Builder newBuilder(Intent.Message.RbmSuggestion prototype)
Parameter
NameDescription
prototypeIntent.Message.RbmSuggestion
Returns
TypeDescription
Intent.Message.RbmSuggestion.Builder

parseDelimitedFrom(InputStream input)

public static Intent.Message.RbmSuggestion parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Intent.Message.RbmSuggestion
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Intent.Message.RbmSuggestion parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Intent.Message.RbmSuggestion
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Intent.Message.RbmSuggestion parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Intent.Message.RbmSuggestion
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Intent.Message.RbmSuggestion parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Intent.Message.RbmSuggestion
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Intent.Message.RbmSuggestion parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Intent.Message.RbmSuggestion
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Intent.Message.RbmSuggestion parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Intent.Message.RbmSuggestion
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Intent.Message.RbmSuggestion parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Intent.Message.RbmSuggestion
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Intent.Message.RbmSuggestion parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Intent.Message.RbmSuggestion
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Intent.Message.RbmSuggestion parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Intent.Message.RbmSuggestion
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Intent.Message.RbmSuggestion parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Intent.Message.RbmSuggestion
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Intent.Message.RbmSuggestion parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Intent.Message.RbmSuggestion
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Intent.Message.RbmSuggestion parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Intent.Message.RbmSuggestion
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Intent.Message.RbmSuggestedActionOrBuilder

getDefaultInstanceForType()

public Intent.Message.RbmSuggestion getDefaultInstanceForType()
Returns
TypeDescription
Intent.Message.RbmSuggestion

getParserForType()

public Parser<Intent.Message.RbmSuggestion> getParserForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Intent.Message.RbmSuggestedReplyOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSuggestionCase()

public Intent.Message.RbmSuggestion.SuggestionCase getSuggestionCase()
Returns
TypeDescription
Intent.Message.RbmSuggestion.SuggestionCase

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasAction()

public boolean hasAction()

Predefined client side actions that user can choose

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the reply field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Intent.Message.RbmSuggestion.Builder newBuilderForType()
Returns
TypeDescription
Intent.Message.RbmSuggestion.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Intent.Message.RbmSuggestion.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Intent.Message.RbmSuggestion.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Intent.Message.RbmSuggestion.Builder toBuilder()
Returns
TypeDescription
Intent.Message.RbmSuggestion.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException