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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Intent.Message.RbmSuggestion.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Intent.Message.RbmSuggestion build()
buildPartial()
public Intent.Message.RbmSuggestion buildPartial()
clear()
public Intent.Message.RbmSuggestion.Builder clear()
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;
clearField(Descriptors.FieldDescriptor field)
public Intent.Message.RbmSuggestion.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Intent.Message.RbmSuggestion.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
clearSuggestion()
public Intent.Message.RbmSuggestion.Builder clearSuggestion()
clone()
public Intent.Message.RbmSuggestion.Builder clone()
Overrides
getAction()
public Intent.Message.RbmSuggestedAction getAction()
Predefined client side actions that user can choose
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction action = 2;
getActionBuilder()
public Intent.Message.RbmSuggestedAction.Builder getActionBuilder()
Predefined client side actions that user can choose
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction action = 2;
getActionOrBuilder()
public Intent.Message.RbmSuggestedActionOrBuilder getActionOrBuilder()
Predefined client side actions that user can choose
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction action = 2;
getDefaultInstanceForType()
public Intent.Message.RbmSuggestion getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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;
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;
getReplyOrBuilder()
public Intent.Message.RbmSuggestedReplyOrBuilder getReplyOrBuilder()
Predefined replies for user to select instead of typing
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedReply reply = 1;
getSuggestionCase()
public Intent.Message.RbmSuggestion.SuggestionCase getSuggestionCase()
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()
Overrides
isInitialized()
public final boolean isInitialized()
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;
mergeFrom(Intent.Message.RbmSuggestion other)
public Intent.Message.RbmSuggestion.Builder mergeFrom(Intent.Message.RbmSuggestion other)
public Intent.Message.RbmSuggestion.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Intent.Message.RbmSuggestion.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
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;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Intent.Message.RbmSuggestion.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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;
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;
setField(Descriptors.FieldDescriptor field, Object value)
public Intent.Message.RbmSuggestion.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Intent.Message.RbmSuggestion.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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;
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;
setUnknownFields(UnknownFieldSet unknownFields)
public final Intent.Message.RbmSuggestion.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides