Class Intent.Message.RbmSuggestion.Builder (4.10.0)

public static final class Intent.Message.RbmSuggestion.Builder extends GeneratedMessageV3.Builder<Intent.Message.RbmSuggestion.Builder> 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 Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Intent.Message.RbmSuggestion.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Intent.Message.RbmSuggestion.Builder
Overrides

build()

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

buildPartial()

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

clear()

public Intent.Message.RbmSuggestion.Builder clear()
Returns
Type Description
Intent.Message.RbmSuggestion.Builder
Overrides

clearAction()

public Intent.Message.RbmSuggestion.Builder clearAction()

Predefined client side actions that user can choose

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

Returns
Type Description
Intent.Message.RbmSuggestion.Builder

clearField(Descriptors.FieldDescriptor field)

public Intent.Message.RbmSuggestion.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Intent.Message.RbmSuggestion.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Intent.Message.RbmSuggestion.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Intent.Message.RbmSuggestion.Builder
Overrides

clearReply()

public Intent.Message.RbmSuggestion.Builder clearReply()

Predefined replies for user to select instead of typing

.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedReply reply = 1;

Returns
Type Description
Intent.Message.RbmSuggestion.Builder

clearSuggestion()

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

clone()

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

getActionBuilder()

public Intent.Message.RbmSuggestedAction.Builder getActionBuilder()

Predefined client side actions that user can choose

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

Returns
Type Description
Intent.Message.RbmSuggestedAction.Builder

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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.

getReplyBuilder()

public Intent.Message.RbmSuggestedReply.Builder getReplyBuilder()

Predefined replies for user to select instead of typing

.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedReply reply = 1;

Returns
Type Description
Intent.Message.RbmSuggestedReply.Builder

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

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAction(Intent.Message.RbmSuggestedAction value)

public Intent.Message.RbmSuggestion.Builder mergeAction(Intent.Message.RbmSuggestedAction value)

Predefined client side actions that user can choose

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

Parameter
Name Description
value Intent.Message.RbmSuggestedAction
Returns
Type Description
Intent.Message.RbmSuggestion.Builder

mergeFrom(Intent.Message.RbmSuggestion other)

public Intent.Message.RbmSuggestion.Builder mergeFrom(Intent.Message.RbmSuggestion other)
Parameter
Name Description
other Intent.Message.RbmSuggestion
Returns
Type Description
Intent.Message.RbmSuggestion.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Intent.Message.RbmSuggestion.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Intent.Message.RbmSuggestion.Builder
Overrides Exceptions
Type Description
IOException

mergeFrom(Message other)

public Intent.Message.RbmSuggestion.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Intent.Message.RbmSuggestion.Builder
Overrides

mergeReply(Intent.Message.RbmSuggestedReply value)

public Intent.Message.RbmSuggestion.Builder mergeReply(Intent.Message.RbmSuggestedReply value)

Predefined replies for user to select instead of typing

.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedReply reply = 1;

Parameter
Name Description
value Intent.Message.RbmSuggestedReply
Returns
Type Description
Intent.Message.RbmSuggestion.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Intent.Message.RbmSuggestion.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Intent.Message.RbmSuggestion.Builder
Overrides

setAction(Intent.Message.RbmSuggestedAction value)

public Intent.Message.RbmSuggestion.Builder setAction(Intent.Message.RbmSuggestedAction value)

Predefined client side actions that user can choose

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

Parameter
Name Description
value Intent.Message.RbmSuggestedAction
Returns
Type Description
Intent.Message.RbmSuggestion.Builder

setAction(Intent.Message.RbmSuggestedAction.Builder builderForValue)

public Intent.Message.RbmSuggestion.Builder setAction(Intent.Message.RbmSuggestedAction.Builder builderForValue)

Predefined client side actions that user can choose

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

Parameter
Name Description
builderForValue Intent.Message.RbmSuggestedAction.Builder
Returns
Type Description
Intent.Message.RbmSuggestion.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Intent.Message.RbmSuggestion.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Intent.Message.RbmSuggestion.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Intent.Message.RbmSuggestion.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Intent.Message.RbmSuggestion.Builder
Overrides

setReply(Intent.Message.RbmSuggestedReply value)

public Intent.Message.RbmSuggestion.Builder setReply(Intent.Message.RbmSuggestedReply value)

Predefined replies for user to select instead of typing

.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedReply reply = 1;

Parameter
Name Description
value Intent.Message.RbmSuggestedReply
Returns
Type Description
Intent.Message.RbmSuggestion.Builder

setReply(Intent.Message.RbmSuggestedReply.Builder builderForValue)

public Intent.Message.RbmSuggestion.Builder setReply(Intent.Message.RbmSuggestedReply.Builder builderForValue)

Predefined replies for user to select instead of typing

.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedReply reply = 1;

Parameter
Name Description
builderForValue Intent.Message.RbmSuggestedReply.Builder
Returns
Type Description
Intent.Message.RbmSuggestion.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final Intent.Message.RbmSuggestion.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Intent.Message.RbmSuggestion.Builder
Overrides