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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Intent.Message.RbmSuggestion.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public Intent.Message.RbmSuggestion build()
Returns
buildPartial()
public Intent.Message.RbmSuggestion buildPartial()
Returns
clear()
public Intent.Message.RbmSuggestion.Builder clear()
Returns
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
clearField(Descriptors.FieldDescriptor field)
public Intent.Message.RbmSuggestion.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Intent.Message.RbmSuggestion.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
clearSuggestion()
public Intent.Message.RbmSuggestion.Builder clearSuggestion()
Returns
clone()
public Intent.Message.RbmSuggestion.Builder clone()
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
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
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
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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
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
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
getSuggestionCase()
public Intent.Message.RbmSuggestion.SuggestionCase getSuggestionCase()
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
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
Returns
mergeFrom(Intent.Message.RbmSuggestion other)
public Intent.Message.RbmSuggestion.Builder mergeFrom(Intent.Message.RbmSuggestion other)
Parameter
Returns
public Intent.Message.RbmSuggestion.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Intent.Message.RbmSuggestion.Builder mergeFrom(Message other)
Parameter
Returns
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
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Intent.Message.RbmSuggestion.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public Intent.Message.RbmSuggestion.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Intent.Message.RbmSuggestion.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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
Returns
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
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final Intent.Message.RbmSuggestion.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides