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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<BotSubmitDialogRequest.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<BotSubmitDialogRequest.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<BotSubmitDialogRequest.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<BotSubmitDialogRequest.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<BotSubmitDialogRequest.Builder>
    • getDefaultInstanceForType

      public BotSubmitDialogRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public BotSubmitDialogRequest build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public BotSubmitDialogRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public BotSubmitDialogRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<BotSubmitDialogRequest.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<BotSubmitDialogRequest.Builder>
      Throws:
      IOException
    • getInstanceId

      public String getInstanceId()
      The UUID of the SoulFire instance containing the bot.
      
      string instance_id = 1;
      Specified by:
      getInstanceId in interface BotSubmitDialogRequestOrBuilder
      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:
      getInstanceIdBytes in interface BotSubmitDialogRequestOrBuilder
      Returns:
      The bytes for instanceId.
    • setInstanceId

      public BotSubmitDialogRequest.Builder setInstanceId(String value)
      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

      public BotSubmitDialogRequest.Builder clearInstanceId()
      The UUID of the SoulFire instance containing the bot.
      
      string instance_id = 1;
      Returns:
      This builder for chaining.
    • setInstanceIdBytes

      public BotSubmitDialogRequest.Builder setInstanceIdBytes(com.google.protobuf.ByteString value)
      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

      public String getBotId()
      The profile UUID of the bot submitting the dialog.
      
      string bot_id = 2;
      Specified by:
      getBotId in interface BotSubmitDialogRequestOrBuilder
      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:
      getBotIdBytes in interface BotSubmitDialogRequestOrBuilder
      Returns:
      The bytes for botId.
    • setBotId

      public BotSubmitDialogRequest.Builder setBotId(String value)
      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

      public BotSubmitDialogRequest.Builder clearBotId()
      The profile UUID of the bot submitting the dialog.
      
      string bot_id = 2;
      Returns:
      This builder for chaining.
    • setBotIdBytes

      public BotSubmitDialogRequest.Builder setBotIdBytes(com.google.protobuf.ByteString value)
      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: BotSubmitDialogRequestOrBuilder
      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:
      getInputValuesCount in interface BotSubmitDialogRequestOrBuilder
    • containsInputValues

      public boolean containsInputValues(String key)
      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:
      containsInputValues in interface BotSubmitDialogRequestOrBuilder
    • getInputValues

      @Deprecated public Map<String,String> getInputValues()
      Deprecated.
      Use getInputValuesMap() instead.
      Specified by:
      getInputValues in interface BotSubmitDialogRequestOrBuilder
    • getInputValuesMap

      public Map<String,String> 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:
      getInputValuesMap in interface BotSubmitDialogRequestOrBuilder
    • getInputValuesOrDefault

      public String getInputValuesOrDefault(String key, String defaultValue)
      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:
      getInputValuesOrDefault in interface BotSubmitDialogRequestOrBuilder
    • getInputValuesOrThrow

      public String getInputValuesOrThrow(String key)
      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:
      getInputValuesOrThrow in interface BotSubmitDialogRequestOrBuilder
    • clearInputValues

      public BotSubmitDialogRequest.Builder clearInputValues()
    • removeInputValues

      public BotSubmitDialogRequest.Builder removeInputValues(String key)
      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 public Map<String,String> getMutableInputValues()
      Deprecated.
      Use alternate mutation accessors instead.
    • putInputValues

      public BotSubmitDialogRequest.Builder putInputValues(String key, String value)
      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

      public BotSubmitDialogRequest.Builder putAllInputValues(Map<String,String> values)
      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;