Class Intent.Message.RbmSuggestion.Builder (4.7.5)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Intent.Message.RbmSuggestion.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Intent.Message.RbmSuggestion.Builder
Overrides

build()

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

buildPartial()

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

clear()

public Intent.Message.RbmSuggestion.Builder clear()
Returns
TypeDescription
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
TypeDescription
Intent.Message.RbmSuggestion.Builder

clearField(Descriptors.FieldDescriptor field)

public Intent.Message.RbmSuggestion.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Intent.Message.RbmSuggestion.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Intent.Message.RbmSuggestion.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
Intent.Message.RbmSuggestion.Builder

clearSuggestion()

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

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
Intent.Message.RbmSuggestedReplyOrBuilder

getSuggestionCase()

public Intent.Message.RbmSuggestion.SuggestionCase getSuggestionCase()
Returns
TypeDescription
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
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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueIntent.Message.RbmSuggestedAction
Returns
TypeDescription
Intent.Message.RbmSuggestion.Builder

mergeFrom(Intent.Message.RbmSuggestion other)

public Intent.Message.RbmSuggestion.Builder mergeFrom(Intent.Message.RbmSuggestion other)
Parameter
NameDescription
otherIntent.Message.RbmSuggestion
Returns
TypeDescription
Intent.Message.RbmSuggestion.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public Intent.Message.RbmSuggestion.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueIntent.Message.RbmSuggestedReply
Returns
TypeDescription
Intent.Message.RbmSuggestion.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Intent.Message.RbmSuggestion.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueIntent.Message.RbmSuggestedAction
Returns
TypeDescription
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
NameDescription
builderForValueIntent.Message.RbmSuggestedAction.Builder
Returns
TypeDescription
Intent.Message.RbmSuggestion.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Intent.Message.RbmSuggestion.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueIntent.Message.RbmSuggestedReply
Returns
TypeDescription
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
NameDescription
builderForValueIntent.Message.RbmSuggestedReply.Builder
Returns
TypeDescription
Intent.Message.RbmSuggestion.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final Intent.Message.RbmSuggestion.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Intent.Message.RbmSuggestion.Builder
Overrides