Class SettingsEntryIdentifier.Builder

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

public static final class SettingsEntryIdentifier.Builder extends com.google.protobuf.GeneratedMessage.Builder<SettingsEntryIdentifier.Builder> implements SettingsEntryIdentifierOrBuilder
Uniquely identifies a single setting entry by its namespace and key.
Used to reference settings in page definitions and for granular updates.
The combination of namespace + key must be unique within a configuration scope.
Protobuf type soulfire.v1.SettingsEntryIdentifier
  • 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<SettingsEntryIdentifier.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<SettingsEntryIdentifier.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<SettingsEntryIdentifier.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

      public String getNamespace()
      The namespace containing this setting.
      Must match a namespace from a registered SettingsNamespace.
      
      string namespace = 1;
      Specified by:
      getNamespace in interface SettingsEntryIdentifierOrBuilder
      Returns:
      The namespace.
    • getNamespaceBytes

      public com.google.protobuf.ByteString getNamespaceBytes()
      The namespace containing this setting.
      Must match a namespace from a registered SettingsNamespace.
      
      string namespace = 1;
      Specified by:
      getNamespaceBytes in interface SettingsEntryIdentifierOrBuilder
      Returns:
      The bytes for namespace.
    • setNamespace

      public SettingsEntryIdentifier.Builder setNamespace(String value)
      The namespace containing this setting.
      Must match a namespace from a registered SettingsNamespace.
      
      string namespace = 1;
      Parameters:
      value - The namespace to set.
      Returns:
      This builder for chaining.
    • clearNamespace

      public SettingsEntryIdentifier.Builder clearNamespace()
      The namespace containing this setting.
      Must match a namespace from a registered SettingsNamespace.
      
      string namespace = 1;
      Returns:
      This builder for chaining.
    • setNamespaceBytes

      public SettingsEntryIdentifier.Builder setNamespaceBytes(com.google.protobuf.ByteString value)
      The namespace containing this setting.
      Must match a namespace from a registered SettingsNamespace.
      
      string namespace = 1;
      Parameters:
      value - The bytes for namespace to set.
      Returns:
      This builder for chaining.
    • getKey

      public String getKey()
      The key of the setting within its namespace.
      Must match a key from a SettingsEntry in the corresponding namespace.
      
      string key = 2;
      Specified by:
      getKey in interface SettingsEntryIdentifierOrBuilder
      Returns:
      The key.
    • getKeyBytes

      public com.google.protobuf.ByteString getKeyBytes()
      The key of the setting within its namespace.
      Must match a key from a SettingsEntry in the corresponding namespace.
      
      string key = 2;
      Specified by:
      getKeyBytes in interface SettingsEntryIdentifierOrBuilder
      Returns:
      The bytes for key.
    • setKey

      public SettingsEntryIdentifier.Builder setKey(String value)
      The key of the setting within its namespace.
      Must match a key from a SettingsEntry in the corresponding namespace.
      
      string key = 2;
      Parameters:
      value - The key to set.
      Returns:
      This builder for chaining.
    • clearKey

      The key of the setting within its namespace.
      Must match a key from a SettingsEntry in the corresponding namespace.
      
      string key = 2;
      Returns:
      This builder for chaining.
    • setKeyBytes

      public SettingsEntryIdentifier.Builder setKeyBytes(com.google.protobuf.ByteString value)
      The key of the setting within its namespace.
      Must match a key from a SettingsEntry in the corresponding namespace.
      
      string key = 2;
      Parameters:
      value - The bytes for key to set.
      Returns:
      This builder for chaining.