Send feedback
Class Intent.Message.RbmSuggestion.Builder (4.7.1)
Stay organized with collections
Save and categorize content based on your preferences.
Version 4.7.1 keyboard_arrow_down
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
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
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
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]