Enum Class SettingsPageEntryScopeType

java.lang.Object
java.lang.Enum<SettingsPageEntryScopeType>
com.soulfiremc.grpc.generated.SettingsPageEntryScopeType
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<SettingsPageEntryScopeType>, Constable

@Generated public enum SettingsPageEntryScopeType extends Enum<SettingsPageEntryScopeType> implements com.google.protobuf.ProtocolMessageEnum
The scope/level at which a setting applies.
Determines where the setting value is stored and when it takes effect.
Used in SettingsDefinition to indicate the setting's configuration scope.
Protobuf enum soulfire.v1.SettingsPageEntryScopeType
  • Enum Constant Details

    • SERVER

      public static final SettingsPageEntryScopeType SERVER
      Server-level setting that applies globally to the entire SoulFire server.
      Stored in the server configuration (ServerConfig).
      Affects all instances and users on the server.
      
      SERVER = 0;
    • INSTANCE

      public static final SettingsPageEntryScopeType INSTANCE
      Instance-level setting that applies to a specific instance.
      Stored in the instance configuration (InstanceConfig.settings).
      Affects all bots within that instance.
      
      INSTANCE = 1;
    • BOT

      public static final SettingsPageEntryScopeType BOT
      Bot-level setting that applies to individual bot accounts.
      Stored per-account in MinecraftAccountProto.config.
      Overrides instance settings for that specific bot.
      
      BOT = 2;
    • UNRECOGNIZED

      public static final SettingsPageEntryScopeType UNRECOGNIZED
  • Field Details

    • SERVER_VALUE

      public static final int SERVER_VALUE
      Server-level setting that applies globally to the entire SoulFire server.
      Stored in the server configuration (ServerConfig).
      Affects all instances and users on the server.
      
      SERVER = 0;
      See Also:
    • INSTANCE_VALUE

      public static final int INSTANCE_VALUE
      Instance-level setting that applies to a specific instance.
      Stored in the instance configuration (InstanceConfig.settings).
      Affects all bots within that instance.
      
      INSTANCE = 1;
      See Also:
    • BOT_VALUE

      public static final int BOT_VALUE
      Bot-level setting that applies to individual bot accounts.
      Stored per-account in MinecraftAccountProto.config.
      Overrides instance settings for that specific bot.
      
      BOT = 2;
      See Also:
  • Method Details

    • values

      public static SettingsPageEntryScopeType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static SettingsPageEntryScopeType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static SettingsPageEntryScopeType valueOf(int value)
      Deprecated.
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      value - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • forNumber

      public static SettingsPageEntryScopeType forNumber(int value)
      Parameters:
      value - The numeric wire value of the corresponding enum entry.
      Returns:
      The enum associated with the given numeric wire value.
    • internalGetValueMap

      public static com.google.protobuf.Internal.EnumLiteMap<SettingsPageEntryScopeType> internalGetValueMap()
    • getValueDescriptor

      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
      Specified by:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptor

      public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static SettingsPageEntryScopeType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      desc - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null