Class BotSubmitDialogRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BotSubmitDialogRequest.Builder>
com.google.protobuf.GeneratedMessage.Builder<BotSubmitDialogRequest.Builder>
com.soulfiremc.grpc.generated.BotSubmitDialogRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, BotSubmitDialogRequestOrBuilder, Cloneable
- Enclosing class:
BotSubmitDialogRequest
public static final class BotSubmitDialogRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<BotSubmitDialogRequest.Builder>
implements BotSubmitDialogRequestOrBuilder
Request to submit a dialog with input values. Used for dialogs that have input fields requiring user data.Protobuf type
soulfire.v1.BotSubmitDialogRequest-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The profile UUID of the bot submitting the dialog.The UUID of the SoulFire instance containing the bot.booleanMap of input key to value for each input field.getBotId()The profile UUID of the bot submitting the dialog.com.google.protobuf.ByteStringThe profile UUID of the bot submitting the dialog.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorDeprecated.intMap of input key to value for each input field.Map of input key to value for each input field.getInputValuesOrDefault(String key, String defaultValue) Map of input key to value for each input field.Map of input key to value for each input field.The UUID of the SoulFire instance containing the bot.com.google.protobuf.ByteStringThe UUID of the SoulFire instance containing the bot.Deprecated.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(BotSubmitDialogRequest other) putAllInputValues(Map<String, String> values) Map of input key to value for each input field.putInputValues(String key, String value) Map of input key to value for each input field.removeInputValues(String key) Map of input key to value for each input field.The profile UUID of the bot submitting the dialog.setBotIdBytes(com.google.protobuf.ByteString value) The profile UUID of the bot submitting the dialog.setInstanceId(String value) The UUID of the SoulFire instance containing the bot.setInstanceIdBytes(com.google.protobuf.ByteString value) The UUID of the SoulFire instance containing the bot.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<BotSubmitDialogRequest.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<BotSubmitDialogRequest.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<BotSubmitDialogRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<BotSubmitDialogRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<BotSubmitDialogRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BotSubmitDialogRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<BotSubmitDialogRequest.Builder>
-
mergeFrom
public BotSubmitDialogRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BotSubmitDialogRequest.Builder>- Throws:
IOException
-
getInstanceId
The UUID of the SoulFire instance containing the bot.
string instance_id = 1;- Specified by:
getInstanceIdin interfaceBotSubmitDialogRequestOrBuilder- Returns:
- The instanceId.
-
getInstanceIdBytes
public com.google.protobuf.ByteString getInstanceIdBytes()The UUID of the SoulFire instance containing the bot.
string instance_id = 1;- Specified by:
getInstanceIdBytesin interfaceBotSubmitDialogRequestOrBuilder- Returns:
- The bytes for instanceId.
-
setInstanceId
The UUID of the SoulFire instance containing the bot.
string instance_id = 1;- Parameters:
value- The instanceId to set.- Returns:
- This builder for chaining.
-
clearInstanceId
The UUID of the SoulFire instance containing the bot.
string instance_id = 1;- Returns:
- This builder for chaining.
-
setInstanceIdBytes
The UUID of the SoulFire instance containing the bot.
string instance_id = 1;- Parameters:
value- The bytes for instanceId to set.- Returns:
- This builder for chaining.
-
getBotId
The profile UUID of the bot submitting the dialog.
string bot_id = 2;- Specified by:
getBotIdin interfaceBotSubmitDialogRequestOrBuilder- Returns:
- The botId.
-
getBotIdBytes
public com.google.protobuf.ByteString getBotIdBytes()The profile UUID of the bot submitting the dialog.
string bot_id = 2;- Specified by:
getBotIdBytesin interfaceBotSubmitDialogRequestOrBuilder- Returns:
- The bytes for botId.
-
setBotId
The profile UUID of the bot submitting the dialog.
string bot_id = 2;- Parameters:
value- The botId to set.- Returns:
- This builder for chaining.
-
clearBotId
The profile UUID of the bot submitting the dialog.
string bot_id = 2;- Returns:
- This builder for chaining.
-
setBotIdBytes
The profile UUID of the bot submitting the dialog.
string bot_id = 2;- Parameters:
value- The bytes for botId to set.- Returns:
- This builder for chaining.
-
getInputValuesCount
public int getInputValuesCount()Description copied from interface:BotSubmitDialogRequestOrBuilderMap of input key to value for each input field. Keys must match the `key` field of DialogInput elements.
map<string, string> input_values = 3;- Specified by:
getInputValuesCountin interfaceBotSubmitDialogRequestOrBuilder
-
containsInputValues
Map of input key to value for each input field. Keys must match the `key` field of DialogInput elements.
map<string, string> input_values = 3;- Specified by:
containsInputValuesin interfaceBotSubmitDialogRequestOrBuilder
-
getInputValues
Deprecated.UsegetInputValuesMap()instead.- Specified by:
getInputValuesin interfaceBotSubmitDialogRequestOrBuilder
-
getInputValuesMap
Map of input key to value for each input field. Keys must match the `key` field of DialogInput elements.
map<string, string> input_values = 3;- Specified by:
getInputValuesMapin interfaceBotSubmitDialogRequestOrBuilder
-
getInputValuesOrDefault
Map of input key to value for each input field. Keys must match the `key` field of DialogInput elements.
map<string, string> input_values = 3;- Specified by:
getInputValuesOrDefaultin interfaceBotSubmitDialogRequestOrBuilder
-
getInputValuesOrThrow
Map of input key to value for each input field. Keys must match the `key` field of DialogInput elements.
map<string, string> input_values = 3;- Specified by:
getInputValuesOrThrowin interfaceBotSubmitDialogRequestOrBuilder
-
clearInputValues
-
removeInputValues
Map of input key to value for each input field. Keys must match the `key` field of DialogInput elements.
map<string, string> input_values = 3; -
getMutableInputValues
Deprecated.Use alternate mutation accessors instead. -
putInputValues
Map of input key to value for each input field. Keys must match the `key` field of DialogInput elements.
map<string, string> input_values = 3; -
putAllInputValues
Map of input key to value for each input field. Keys must match the `key` field of DialogInput elements.
map<string, string> input_values = 3;
-