Class ServerUpdateConfigEntryRequest.Builder

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

public static final class ServerUpdateConfigEntryRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<ServerUpdateConfigEntryRequest.Builder> implements ServerUpdateConfigEntryRequestOrBuilder
Request message for UpdateServerConfigEntry RPC.
Used for granular updates of individual configuration entries.
This is the preferred method for real-time UI updates as it only modifies
a single setting without affecting other configuration values.
Protobuf type soulfire.v1.ServerUpdateConfigEntryRequest
  • 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<ServerUpdateConfigEntryRequest.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<ServerUpdateConfigEntryRequest.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<ServerUpdateConfigEntryRequest.Builder>
    • getDefaultInstanceForType

      public ServerUpdateConfigEntryRequest 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 ServerUpdateConfigEntryRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

      public ServerUpdateConfigEntryRequest.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<ServerUpdateConfigEntryRequest.Builder>
      Throws:
      IOException
    • getNamespace

      public String getNamespace()
      The namespace of the setting to update.
      Namespaces group related settings together (e.g., "dev" for developer settings).
      Must match an existing namespace or a new namespace will be created.
      
      string namespace = 1;
      Specified by:
      getNamespace in interface ServerUpdateConfigEntryRequestOrBuilder
      Returns:
      The namespace.
    • getNamespaceBytes

      public com.google.protobuf.ByteString getNamespaceBytes()
      The namespace of the setting to update.
      Namespaces group related settings together (e.g., "dev" for developer settings).
      Must match an existing namespace or a new namespace will be created.
      
      string namespace = 1;
      Specified by:
      getNamespaceBytes in interface ServerUpdateConfigEntryRequestOrBuilder
      Returns:
      The bytes for namespace.
    • setNamespace

      public ServerUpdateConfigEntryRequest.Builder setNamespace(String value)
      The namespace of the setting to update.
      Namespaces group related settings together (e.g., "dev" for developer settings).
      Must match an existing namespace or a new namespace will be created.
      
      string namespace = 1;
      Parameters:
      value - The namespace to set.
      Returns:
      This builder for chaining.
    • clearNamespace

      public ServerUpdateConfigEntryRequest.Builder clearNamespace()
      The namespace of the setting to update.
      Namespaces group related settings together (e.g., "dev" for developer settings).
      Must match an existing namespace or a new namespace will be created.
      
      string namespace = 1;
      Returns:
      This builder for chaining.
    • setNamespaceBytes

      public ServerUpdateConfigEntryRequest.Builder setNamespaceBytes(com.google.protobuf.ByteString value)
      The namespace of the setting to update.
      Namespaces group related settings together (e.g., "dev" for developer settings).
      Must match an existing namespace or a new namespace will be created.
      
      string namespace = 1;
      Parameters:
      value - The bytes for namespace to set.
      Returns:
      This builder for chaining.
    • getKey

      public String getKey()
      The key identifying the specific setting within the namespace.
      Combined with namespace, this uniquely identifies the setting.
      Example: namespace="dev", key="soulfire-debug" for the SoulFire debug setting.
      
      string key = 2;
      Specified by:
      getKey in interface ServerUpdateConfigEntryRequestOrBuilder
      Returns:
      The key.
    • getKeyBytes

      public com.google.protobuf.ByteString getKeyBytes()
      The key identifying the specific setting within the namespace.
      Combined with namespace, this uniquely identifies the setting.
      Example: namespace="dev", key="soulfire-debug" for the SoulFire debug setting.
      
      string key = 2;
      Specified by:
      getKeyBytes in interface ServerUpdateConfigEntryRequestOrBuilder
      Returns:
      The bytes for key.
    • setKey

      The key identifying the specific setting within the namespace.
      Combined with namespace, this uniquely identifies the setting.
      Example: namespace="dev", key="soulfire-debug" for the SoulFire debug setting.
      
      string key = 2;
      Parameters:
      value - The key to set.
      Returns:
      This builder for chaining.
    • clearKey

      The key identifying the specific setting within the namespace.
      Combined with namespace, this uniquely identifies the setting.
      Example: namespace="dev", key="soulfire-debug" for the SoulFire debug setting.
      
      string key = 2;
      Returns:
      This builder for chaining.
    • setKeyBytes

      public ServerUpdateConfigEntryRequest.Builder setKeyBytes(com.google.protobuf.ByteString value)
      The key identifying the specific setting within the namespace.
      Combined with namespace, this uniquely identifies the setting.
      Example: namespace="dev", key="soulfire-debug" for the SoulFire debug setting.
      
      string key = 2;
      Parameters:
      value - The bytes for key to set.
      Returns:
      This builder for chaining.
    • hasValue

      public boolean hasValue()
      The new value for the setting.
      Uses google.protobuf.Value to support various JSON types:
      - string_value for text settings
      - number_value for int/double settings
      - bool_value for boolean settings
      - list_value for string list settings
      - struct_value for complex settings like min/max ranges
      
      .google.protobuf.Value value = 3;
      Specified by:
      hasValue in interface ServerUpdateConfigEntryRequestOrBuilder
      Returns:
      Whether the value field is set.
    • getValue

      public com.google.protobuf.Value getValue()
      The new value for the setting.
      Uses google.protobuf.Value to support various JSON types:
      - string_value for text settings
      - number_value for int/double settings
      - bool_value for boolean settings
      - list_value for string list settings
      - struct_value for complex settings like min/max ranges
      
      .google.protobuf.Value value = 3;
      Specified by:
      getValue in interface ServerUpdateConfigEntryRequestOrBuilder
      Returns:
      The value.
    • setValue

      public ServerUpdateConfigEntryRequest.Builder setValue(com.google.protobuf.Value value)
      The new value for the setting.
      Uses google.protobuf.Value to support various JSON types:
      - string_value for text settings
      - number_value for int/double settings
      - bool_value for boolean settings
      - list_value for string list settings
      - struct_value for complex settings like min/max ranges
      
      .google.protobuf.Value value = 3;
    • setValue

      public ServerUpdateConfigEntryRequest.Builder setValue(com.google.protobuf.Value.Builder builderForValue)
      The new value for the setting.
      Uses google.protobuf.Value to support various JSON types:
      - string_value for text settings
      - number_value for int/double settings
      - bool_value for boolean settings
      - list_value for string list settings
      - struct_value for complex settings like min/max ranges
      
      .google.protobuf.Value value = 3;
    • mergeValue

      public ServerUpdateConfigEntryRequest.Builder mergeValue(com.google.protobuf.Value value)
      The new value for the setting.
      Uses google.protobuf.Value to support various JSON types:
      - string_value for text settings
      - number_value for int/double settings
      - bool_value for boolean settings
      - list_value for string list settings
      - struct_value for complex settings like min/max ranges
      
      .google.protobuf.Value value = 3;
    • clearValue

      The new value for the setting.
      Uses google.protobuf.Value to support various JSON types:
      - string_value for text settings
      - number_value for int/double settings
      - bool_value for boolean settings
      - list_value for string list settings
      - struct_value for complex settings like min/max ranges
      
      .google.protobuf.Value value = 3;
    • getValueBuilder

      public com.google.protobuf.Value.Builder getValueBuilder()
      The new value for the setting.
      Uses google.protobuf.Value to support various JSON types:
      - string_value for text settings
      - number_value for int/double settings
      - bool_value for boolean settings
      - list_value for string list settings
      - struct_value for complex settings like min/max ranges
      
      .google.protobuf.Value value = 3;
    • getValueOrBuilder

      public com.google.protobuf.ValueOrBuilder getValueOrBuilder()
      The new value for the setting.
      Uses google.protobuf.Value to support various JSON types:
      - string_value for text settings
      - number_value for int/double settings
      - bool_value for boolean settings
      - list_value for string list settings
      - struct_value for complex settings like min/max ranges
      
      .google.protobuf.Value value = 3;
      Specified by:
      getValueOrBuilder in interface ServerUpdateConfigEntryRequestOrBuilder