Class InstanceUpdateConfigEntryRequest.Builder

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

public static final class InstanceUpdateConfigEntryRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<InstanceUpdateConfigEntryRequest.Builder> implements InstanceUpdateConfigEntryRequestOrBuilder
Request to update a single configuration entry.
This is the preferred method for individual setting changes as it
is more efficient than replacing the entire configuration.
Protobuf type soulfire.v1.InstanceUpdateConfigEntryRequest
  • 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<InstanceUpdateConfigEntryRequest.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<InstanceUpdateConfigEntryRequest.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<InstanceUpdateConfigEntryRequest.Builder>
    • getDefaultInstanceForType

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

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

      public InstanceUpdateConfigEntryRequest.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<InstanceUpdateConfigEntryRequest.Builder>
      Throws:
      IOException
    • getId

      public String getId()
      The unique identifier (UUID) of the instance to update.
      
      string id = 1;
      Specified by:
      getId in interface InstanceUpdateConfigEntryRequestOrBuilder
      Returns:
      The id.
    • getIdBytes

      public com.google.protobuf.ByteString getIdBytes()
      The unique identifier (UUID) of the instance to update.
      
      string id = 1;
      Specified by:
      getIdBytes in interface InstanceUpdateConfigEntryRequestOrBuilder
      Returns:
      The bytes for id.
    • setId

      The unique identifier (UUID) of the instance to update.
      
      string id = 1;
      Parameters:
      value - The id to set.
      Returns:
      This builder for chaining.
    • clearId

      The unique identifier (UUID) of the instance to update.
      
      string id = 1;
      Returns:
      This builder for chaining.
    • setIdBytes

      public InstanceUpdateConfigEntryRequest.Builder setIdBytes(com.google.protobuf.ByteString value)
      The unique identifier (UUID) of the instance to update.
      
      string id = 1;
      Parameters:
      value - The bytes for id to set.
      Returns:
      This builder for chaining.
    • getNamespace

      public String getNamespace()
      The namespace of the setting (e.g., "bot", "account", plugin ID).
      
      string namespace = 2;
      Specified by:
      getNamespace in interface InstanceUpdateConfigEntryRequestOrBuilder
      Returns:
      The namespace.
    • getNamespaceBytes

      public com.google.protobuf.ByteString getNamespaceBytes()
      The namespace of the setting (e.g., "bot", "account", plugin ID).
      
      string namespace = 2;
      Specified by:
      getNamespaceBytes in interface InstanceUpdateConfigEntryRequestOrBuilder
      Returns:
      The bytes for namespace.
    • setNamespace

      public InstanceUpdateConfigEntryRequest.Builder setNamespace(String value)
      The namespace of the setting (e.g., "bot", "account", plugin ID).
      
      string namespace = 2;
      Parameters:
      value - The namespace to set.
      Returns:
      This builder for chaining.
    • clearNamespace

      The namespace of the setting (e.g., "bot", "account", plugin ID).
      
      string namespace = 2;
      Returns:
      This builder for chaining.
    • setNamespaceBytes

      public InstanceUpdateConfigEntryRequest.Builder setNamespaceBytes(com.google.protobuf.ByteString value)
      The namespace of the setting (e.g., "bot", "account", plugin ID).
      
      string namespace = 2;
      Parameters:
      value - The bytes for namespace to set.
      Returns:
      This builder for chaining.
    • getKey

      public String getKey()
      The key of the setting within the namespace.
      
      string key = 3;
      Specified by:
      getKey in interface InstanceUpdateConfigEntryRequestOrBuilder
      Returns:
      The key.
    • getKeyBytes

      public com.google.protobuf.ByteString getKeyBytes()
      The key of the setting within the namespace.
      
      string key = 3;
      Specified by:
      getKeyBytes in interface InstanceUpdateConfigEntryRequestOrBuilder
      Returns:
      The bytes for key.
    • setKey

      The key of the setting within the namespace.
      
      string key = 3;
      Parameters:
      value - The key to set.
      Returns:
      This builder for chaining.
    • clearKey

      The key of the setting within the namespace.
      
      string key = 3;
      Returns:
      This builder for chaining.
    • setKeyBytes

      public InstanceUpdateConfigEntryRequest.Builder setKeyBytes(com.google.protobuf.ByteString value)
      The key of the setting within the namespace.
      
      string key = 3;
      Parameters:
      value - The bytes for key to set.
      Returns:
      This builder for chaining.
    • hasValue

      public boolean hasValue()
      The new value for the setting. Supports JSON value types
      (string, number, boolean, null, array, object).
      
      .google.protobuf.Value value = 4;
      Specified by:
      hasValue in interface InstanceUpdateConfigEntryRequestOrBuilder
      Returns:
      Whether the value field is set.
    • getValue

      public com.google.protobuf.Value getValue()
      The new value for the setting. Supports JSON value types
      (string, number, boolean, null, array, object).
      
      .google.protobuf.Value value = 4;
      Specified by:
      getValue in interface InstanceUpdateConfigEntryRequestOrBuilder
      Returns:
      The value.
    • setValue

      public InstanceUpdateConfigEntryRequest.Builder setValue(com.google.protobuf.Value value)
      The new value for the setting. Supports JSON value types
      (string, number, boolean, null, array, object).
      
      .google.protobuf.Value value = 4;
    • setValue

      public InstanceUpdateConfigEntryRequest.Builder setValue(com.google.protobuf.Value.Builder builderForValue)
      The new value for the setting. Supports JSON value types
      (string, number, boolean, null, array, object).
      
      .google.protobuf.Value value = 4;
    • mergeValue

      public InstanceUpdateConfigEntryRequest.Builder mergeValue(com.google.protobuf.Value value)
      The new value for the setting. Supports JSON value types
      (string, number, boolean, null, array, object).
      
      .google.protobuf.Value value = 4;
    • clearValue

      The new value for the setting. Supports JSON value types
      (string, number, boolean, null, array, object).
      
      .google.protobuf.Value value = 4;
    • getValueBuilder

      public com.google.protobuf.Value.Builder getValueBuilder()
      The new value for the setting. Supports JSON value types
      (string, number, boolean, null, array, object).
      
      .google.protobuf.Value value = 4;
    • getValueOrBuilder

      public com.google.protobuf.ValueOrBuilder getValueOrBuilder()
      The new value for the setting. Supports JSON value types
      (string, number, boolean, null, array, object).
      
      .google.protobuf.Value value = 4;
      Specified by:
      getValueOrBuilder in interface InstanceUpdateConfigEntryRequestOrBuilder