Class BotUpdateConfigEntryRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BotUpdateConfigEntryRequest.Builder>
com.google.protobuf.GeneratedMessage.Builder<BotUpdateConfigEntryRequest.Builder>
com.soulfiremc.grpc.generated.BotUpdateConfigEntryRequest.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, BotUpdateConfigEntryRequestOrBuilder, Cloneable
Enclosing class:
BotUpdateConfigEntryRequest

public static final class BotUpdateConfigEntryRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<BotUpdateConfigEntryRequest.Builder> implements BotUpdateConfigEntryRequestOrBuilder
Request to update a single configuration entry for a specific bot.
This allows granular updates without replacing the entire configuration.
Protobuf type soulfire.v1.BotUpdateConfigEntryRequest
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<BotUpdateConfigEntryRequest.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<BotUpdateConfigEntryRequest.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<BotUpdateConfigEntryRequest.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

      public BotUpdateConfigEntryRequest.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<BotUpdateConfigEntryRequest.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<BotUpdateConfigEntryRequest.Builder>
    • mergeFrom

      public BotUpdateConfigEntryRequest.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<BotUpdateConfigEntryRequest.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 BotUpdateConfigEntryRequestOrBuilder
      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 BotUpdateConfigEntryRequestOrBuilder
      Returns:
      The bytes for instanceId.
    • setInstanceId

      public BotUpdateConfigEntryRequest.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 BotUpdateConfigEntryRequest.Builder clearInstanceId()
      The UUID of the SoulFire instance containing the bot.
      
      string instance_id = 1;
      Returns:
      This builder for chaining.
    • setInstanceIdBytes

      public BotUpdateConfigEntryRequest.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 to update configuration for.
      
      string bot_id = 2;
      Specified by:
      getBotId in interface BotUpdateConfigEntryRequestOrBuilder
      Returns:
      The botId.
    • getBotIdBytes

      public com.google.protobuf.ByteString getBotIdBytes()
      The profile UUID of the bot to update configuration for.
      
      string bot_id = 2;
      Specified by:
      getBotIdBytes in interface BotUpdateConfigEntryRequestOrBuilder
      Returns:
      The bytes for botId.
    • setBotId

      The profile UUID of the bot to update configuration for.
      
      string bot_id = 2;
      Parameters:
      value - The botId to set.
      Returns:
      This builder for chaining.
    • clearBotId

      The profile UUID of the bot to update configuration for.
      
      string bot_id = 2;
      Returns:
      This builder for chaining.
    • setBotIdBytes

      public BotUpdateConfigEntryRequest.Builder setBotIdBytes(com.google.protobuf.ByteString value)
      The profile UUID of the bot to update configuration for.
      
      string bot_id = 2;
      Parameters:
      value - The bytes for botId to set.
      Returns:
      This builder for chaining.
    • getNamespace

      public String getNamespace()
      The settings namespace (e.g., plugin ID or "bot" for core bot settings).
      Examples: "bot", "auto-reconnect", "chat-message-controller"
      
      string namespace = 3;
      Specified by:
      getNamespace in interface BotUpdateConfigEntryRequestOrBuilder
      Returns:
      The namespace.
    • getNamespaceBytes

      public com.google.protobuf.ByteString getNamespaceBytes()
      The settings namespace (e.g., plugin ID or "bot" for core bot settings).
      Examples: "bot", "auto-reconnect", "chat-message-controller"
      
      string namespace = 3;
      Specified by:
      getNamespaceBytes in interface BotUpdateConfigEntryRequestOrBuilder
      Returns:
      The bytes for namespace.
    • setNamespace

      public BotUpdateConfigEntryRequest.Builder setNamespace(String value)
      The settings namespace (e.g., plugin ID or "bot" for core bot settings).
      Examples: "bot", "auto-reconnect", "chat-message-controller"
      
      string namespace = 3;
      Parameters:
      value - The namespace to set.
      Returns:
      This builder for chaining.
    • clearNamespace

      public BotUpdateConfigEntryRequest.Builder clearNamespace()
      The settings namespace (e.g., plugin ID or "bot" for core bot settings).
      Examples: "bot", "auto-reconnect", "chat-message-controller"
      
      string namespace = 3;
      Returns:
      This builder for chaining.
    • setNamespaceBytes

      public BotUpdateConfigEntryRequest.Builder setNamespaceBytes(com.google.protobuf.ByteString value)
      The settings namespace (e.g., plugin ID or "bot" for core bot settings).
      Examples: "bot", "auto-reconnect", "chat-message-controller"
      
      string namespace = 3;
      Parameters:
      value - The bytes for namespace to set.
      Returns:
      This builder for chaining.
    • getKey

      public String getKey()
      The key within the namespace to update.
      Must be a valid setting key defined for that namespace.
      
      string key = 4;
      Specified by:
      getKey in interface BotUpdateConfigEntryRequestOrBuilder
      Returns:
      The key.
    • getKeyBytes

      public com.google.protobuf.ByteString getKeyBytes()
      The key within the namespace to update.
      Must be a valid setting key defined for that namespace.
      
      string key = 4;
      Specified by:
      getKeyBytes in interface BotUpdateConfigEntryRequestOrBuilder
      Returns:
      The bytes for key.
    • setKey

      The key within the namespace to update.
      Must be a valid setting key defined for that namespace.
      
      string key = 4;
      Parameters:
      value - The key to set.
      Returns:
      This builder for chaining.
    • clearKey

      The key within the namespace to update.
      Must be a valid setting key defined for that namespace.
      
      string key = 4;
      Returns:
      This builder for chaining.
    • setKeyBytes

      public BotUpdateConfigEntryRequest.Builder setKeyBytes(com.google.protobuf.ByteString value)
      The key within the namespace to update.
      Must be a valid setting key defined for that namespace.
      
      string key = 4;
      Parameters:
      value - The bytes for key to set.
      Returns:
      This builder for chaining.
    • hasValue

      public boolean hasValue()
      The new value to set for this configuration entry.
      Must be a valid protobuf Value (null, number, string, bool, list, or struct).
      
      .google.protobuf.Value value = 5;
      Specified by:
      hasValue in interface BotUpdateConfigEntryRequestOrBuilder
      Returns:
      Whether the value field is set.
    • getValue

      public com.google.protobuf.Value getValue()
      The new value to set for this configuration entry.
      Must be a valid protobuf Value (null, number, string, bool, list, or struct).
      
      .google.protobuf.Value value = 5;
      Specified by:
      getValue in interface BotUpdateConfigEntryRequestOrBuilder
      Returns:
      The value.
    • setValue

      public BotUpdateConfigEntryRequest.Builder setValue(com.google.protobuf.Value value)
      The new value to set for this configuration entry.
      Must be a valid protobuf Value (null, number, string, bool, list, or struct).
      
      .google.protobuf.Value value = 5;
    • setValue

      public BotUpdateConfigEntryRequest.Builder setValue(com.google.protobuf.Value.Builder builderForValue)
      The new value to set for this configuration entry.
      Must be a valid protobuf Value (null, number, string, bool, list, or struct).
      
      .google.protobuf.Value value = 5;
    • mergeValue

      public BotUpdateConfigEntryRequest.Builder mergeValue(com.google.protobuf.Value value)
      The new value to set for this configuration entry.
      Must be a valid protobuf Value (null, number, string, bool, list, or struct).
      
      .google.protobuf.Value value = 5;
    • clearValue

      The new value to set for this configuration entry.
      Must be a valid protobuf Value (null, number, string, bool, list, or struct).
      
      .google.protobuf.Value value = 5;
    • getValueBuilder

      public com.google.protobuf.Value.Builder getValueBuilder()
      The new value to set for this configuration entry.
      Must be a valid protobuf Value (null, number, string, bool, list, or struct).
      
      .google.protobuf.Value value = 5;
    • getValueOrBuilder

      public com.google.protobuf.ValueOrBuilder getValueOrBuilder()
      The new value to set for this configuration entry.
      Must be a valid protobuf Value (null, number, string, bool, list, or struct).
      
      .google.protobuf.Value value = 5;
      Specified by:
      getValueOrBuilder in interface BotUpdateConfigEntryRequestOrBuilder