Enum Class GlobalPermission
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<GlobalPermission>, Constable
@Generated
public enum GlobalPermission
extends Enum<GlobalPermission>
implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum
soulfire.v1.GlobalPermission-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCREATE_GLOBAL_SCRIPT = 18;CREATE_INSTANCE = 0;CREATE_USER = 5;DELETE_GLOBAL_SCRIPT = 21;DELETE_USER = 8;ELEVATE_SCRIPT_PERMISSIONS = 22;GENERATE_API_TOKEN = 16;GENERATE_SELF_API_TOKEN = 15;GENERATE_SELF_WEBDAV_TOKEN = 12;GLOBAL_COMMAND_EXECUTION = 9;GLOBAL_SUBSCRIBE_LOGS = 1;INVALIDATE_SELF_SESSIONS = 17;INVALIDATE_SESSIONS = 11;READ_CLIENT_DATA = 2;READ_GLOBAL_SCRIPT = 19;READ_SERVER_CONFIG = 3;READ_USER = 6;UPDATE_GLOBAL_SCRIPT = 20;UPDATE_SELF_EMAIL = 14;UPDATE_SELF_USERNAME = 13;UPDATE_SERVER_CONFIG = 4;UPDATE_USER = 7; -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intCREATE_GLOBAL_SCRIPT = 18;static final intCREATE_INSTANCE = 0;static final intCREATE_USER = 5;static final intDELETE_GLOBAL_SCRIPT = 21;static final intDELETE_USER = 8;static final intELEVATE_SCRIPT_PERMISSIONS = 22;static final intGENERATE_API_TOKEN = 16;static final intGENERATE_SELF_API_TOKEN = 15;static final intGENERATE_SELF_WEBDAV_TOKEN = 12;static final intGLOBAL_COMMAND_EXECUTION = 9;static final intGLOBAL_SUBSCRIBE_LOGS = 1;static final intINVALIDATE_SELF_SESSIONS = 17;static final intINVALIDATE_SESSIONS = 11;static final intREAD_CLIENT_DATA = 2;static final intREAD_GLOBAL_SCRIPT = 19;static final intREAD_SERVER_CONFIG = 3;static final intREAD_USER = 6;static final intUPDATE_GLOBAL_SCRIPT = 20;static final intUPDATE_SELF_EMAIL = 14;static final intUPDATE_SELF_USERNAME = 13;static final intUPDATE_SERVER_CONFIG = 4;static final intUPDATE_USER = 7; -
Method Summary
Modifier and TypeMethodDescriptionstatic GlobalPermissionforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<GlobalPermission> static GlobalPermissionvalueOf(int value) Deprecated.static GlobalPermissionvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static GlobalPermissionReturns the enum constant of this class with the specified name.static GlobalPermission[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CREATE_INSTANCE
CREATE_INSTANCE = 0; -
GLOBAL_SUBSCRIBE_LOGS
GLOBAL_SUBSCRIBE_LOGS = 1; -
READ_CLIENT_DATA
READ_CLIENT_DATA = 2; -
READ_SERVER_CONFIG
READ_SERVER_CONFIG = 3; -
UPDATE_SERVER_CONFIG
UPDATE_SERVER_CONFIG = 4; -
CREATE_USER
CREATE_USER = 5; -
READ_USER
READ_USER = 6; -
UPDATE_USER
UPDATE_USER = 7; -
DELETE_USER
DELETE_USER = 8; -
GLOBAL_COMMAND_EXECUTION
GLOBAL_COMMAND_EXECUTION = 9; -
INVALIDATE_SESSIONS
INVALIDATE_SESSIONS = 11; -
GENERATE_SELF_WEBDAV_TOKEN
GENERATE_SELF_WEBDAV_TOKEN = 12; -
GENERATE_SELF_API_TOKEN
GENERATE_SELF_API_TOKEN = 15; -
UPDATE_SELF_USERNAME
UPDATE_SELF_USERNAME = 13; -
UPDATE_SELF_EMAIL
UPDATE_SELF_EMAIL = 14; -
GENERATE_API_TOKEN
GENERATE_API_TOKEN = 16; -
INVALIDATE_SELF_SESSIONS
INVALIDATE_SELF_SESSIONS = 17; -
CREATE_GLOBAL_SCRIPT
CREATE_GLOBAL_SCRIPT = 18; -
READ_GLOBAL_SCRIPT
READ_GLOBAL_SCRIPT = 19; -
UPDATE_GLOBAL_SCRIPT
UPDATE_GLOBAL_SCRIPT = 20; -
DELETE_GLOBAL_SCRIPT
DELETE_GLOBAL_SCRIPT = 21; -
ELEVATE_SCRIPT_PERMISSIONS
ELEVATE_SCRIPT_PERMISSIONS = 22; -
UNRECOGNIZED
-
-
Field Details
-
CREATE_INSTANCE_VALUE
public static final int CREATE_INSTANCE_VALUECREATE_INSTANCE = 0;- See Also:
-
GLOBAL_SUBSCRIBE_LOGS_VALUE
public static final int GLOBAL_SUBSCRIBE_LOGS_VALUEGLOBAL_SUBSCRIBE_LOGS = 1;- See Also:
-
READ_CLIENT_DATA_VALUE
public static final int READ_CLIENT_DATA_VALUEREAD_CLIENT_DATA = 2;- See Also:
-
READ_SERVER_CONFIG_VALUE
public static final int READ_SERVER_CONFIG_VALUEREAD_SERVER_CONFIG = 3;- See Also:
-
UPDATE_SERVER_CONFIG_VALUE
public static final int UPDATE_SERVER_CONFIG_VALUEUPDATE_SERVER_CONFIG = 4;- See Also:
-
CREATE_USER_VALUE
public static final int CREATE_USER_VALUECREATE_USER = 5;- See Also:
-
READ_USER_VALUE
public static final int READ_USER_VALUEREAD_USER = 6;- See Also:
-
UPDATE_USER_VALUE
public static final int UPDATE_USER_VALUEUPDATE_USER = 7;- See Also:
-
DELETE_USER_VALUE
public static final int DELETE_USER_VALUEDELETE_USER = 8;- See Also:
-
GLOBAL_COMMAND_EXECUTION_VALUE
public static final int GLOBAL_COMMAND_EXECUTION_VALUEGLOBAL_COMMAND_EXECUTION = 9;- See Also:
-
INVALIDATE_SESSIONS_VALUE
public static final int INVALIDATE_SESSIONS_VALUEINVALIDATE_SESSIONS = 11;- See Also:
-
GENERATE_SELF_WEBDAV_TOKEN_VALUE
public static final int GENERATE_SELF_WEBDAV_TOKEN_VALUEGENERATE_SELF_WEBDAV_TOKEN = 12;- See Also:
-
GENERATE_SELF_API_TOKEN_VALUE
public static final int GENERATE_SELF_API_TOKEN_VALUEGENERATE_SELF_API_TOKEN = 15;- See Also:
-
UPDATE_SELF_USERNAME_VALUE
public static final int UPDATE_SELF_USERNAME_VALUEUPDATE_SELF_USERNAME = 13;- See Also:
-
UPDATE_SELF_EMAIL_VALUE
public static final int UPDATE_SELF_EMAIL_VALUEUPDATE_SELF_EMAIL = 14;- See Also:
-
GENERATE_API_TOKEN_VALUE
public static final int GENERATE_API_TOKEN_VALUEGENERATE_API_TOKEN = 16;- See Also:
-
INVALIDATE_SELF_SESSIONS_VALUE
public static final int INVALIDATE_SELF_SESSIONS_VALUEINVALIDATE_SELF_SESSIONS = 17;- See Also:
-
CREATE_GLOBAL_SCRIPT_VALUE
public static final int CREATE_GLOBAL_SCRIPT_VALUECREATE_GLOBAL_SCRIPT = 18;- See Also:
-
READ_GLOBAL_SCRIPT_VALUE
public static final int READ_GLOBAL_SCRIPT_VALUEREAD_GLOBAL_SCRIPT = 19;- See Also:
-
UPDATE_GLOBAL_SCRIPT_VALUE
public static final int UPDATE_GLOBAL_SCRIPT_VALUEUPDATE_GLOBAL_SCRIPT = 20;- See Also:
-
DELETE_GLOBAL_SCRIPT_VALUE
public static final int DELETE_GLOBAL_SCRIPT_VALUEDELETE_GLOBAL_SCRIPT = 21;- See Also:
-
ELEVATE_SCRIPT_PERMISSIONS_VALUE
public static final int ELEVATE_SCRIPT_PERMISSIONS_VALUEELEVATE_SCRIPT_PERMISSIONS = 22;- See Also:
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
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 nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
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 nameNullPointerException- if the argument is null
-