Package com.soulfiremc.grpc.generated
Enum Class InstancePermission
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<InstancePermission>
,Constable
@Generated
public enum InstancePermission
extends Enum<InstancePermission>
implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum
soulfire.v1.InstancePermission
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionACCESS_OBJECT_STORAGE = 9;
ACCESS_SCRIPT_CODE_OBJECT_STORAGE = 20;
AUTHENTICATE_MC_ACCOUNT = 6;
CHANGE_INSTANCE_STATE = 5;
CHECK_PROXY = 7;
CREATE_SCRIPT = 16;
DELETE_INSTANCE = 4;
DELETE_SCRIPT = 19;
DOWNLOAD_URL = 8;
INSTANCE_COMMAND_EXECUTION = 0;
INSTANCE_SUBSCRIBE_LOGS = 13;
READ_INSTANCE = 2;
READ_INSTANCE_AUDIT_LOGS = 15;
READ_SCRIPT = 17;
UPDATE_INSTANCE_CONFIG = 14;
UPDATE_INSTANCE_META = 3;
UPDATE_SCRIPT = 18;
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
ACCESS_OBJECT_STORAGE = 9;
static final int
ACCESS_SCRIPT_CODE_OBJECT_STORAGE = 20;
static final int
AUTHENTICATE_MC_ACCOUNT = 6;
static final int
CHANGE_INSTANCE_STATE = 5;
static final int
CHECK_PROXY = 7;
static final int
CREATE_SCRIPT = 16;
static final int
DELETE_INSTANCE = 4;
static final int
DELETE_SCRIPT = 19;
static final int
DOWNLOAD_URL = 8;
static final int
INSTANCE_COMMAND_EXECUTION = 0;
static final int
INSTANCE_SUBSCRIBE_LOGS = 13;
static final int
READ_INSTANCE_AUDIT_LOGS = 15;
static final int
READ_INSTANCE = 2;
static final int
READ_SCRIPT = 17;
static final int
UPDATE_INSTANCE_CONFIG = 14;
static final int
UPDATE_INSTANCE_META = 3;
static final int
UPDATE_SCRIPT = 18;
-
Method Summary
Modifier and TypeMethodDescriptionstatic InstancePermission
forNumber
(int value) static com.google.protobuf.Descriptors.EnumDescriptor
final com.google.protobuf.Descriptors.EnumDescriptor
final int
final com.google.protobuf.Descriptors.EnumValueDescriptor
static com.google.protobuf.Internal.EnumLiteMap
<InstancePermission> static InstancePermission
valueOf
(int value) Deprecated.static InstancePermission
valueOf
(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static InstancePermission
Returns the enum constant of this class with the specified name.static InstancePermission[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INSTANCE_COMMAND_EXECUTION
INSTANCE_COMMAND_EXECUTION = 0;
-
READ_INSTANCE
READ_INSTANCE = 2;
-
UPDATE_INSTANCE_META
UPDATE_INSTANCE_META = 3;
-
UPDATE_INSTANCE_CONFIG
UPDATE_INSTANCE_CONFIG = 14;
-
DELETE_INSTANCE
DELETE_INSTANCE = 4;
-
CHANGE_INSTANCE_STATE
CHANGE_INSTANCE_STATE = 5;
-
AUTHENTICATE_MC_ACCOUNT
AUTHENTICATE_MC_ACCOUNT = 6;
-
CHECK_PROXY
CHECK_PROXY = 7;
-
DOWNLOAD_URL
DOWNLOAD_URL = 8;
-
ACCESS_OBJECT_STORAGE
ACCESS_OBJECT_STORAGE = 9;
-
ACCESS_SCRIPT_CODE_OBJECT_STORAGE
ACCESS_SCRIPT_CODE_OBJECT_STORAGE = 20;
-
INSTANCE_SUBSCRIBE_LOGS
INSTANCE_SUBSCRIBE_LOGS = 13;
-
READ_INSTANCE_AUDIT_LOGS
READ_INSTANCE_AUDIT_LOGS = 15;
-
CREATE_SCRIPT
CREATE_SCRIPT = 16;
-
READ_SCRIPT
READ_SCRIPT = 17;
-
UPDATE_SCRIPT
UPDATE_SCRIPT = 18;
-
DELETE_SCRIPT
DELETE_SCRIPT = 19;
-
UNRECOGNIZED
-
-
Field Details
-
INSTANCE_COMMAND_EXECUTION_VALUE
public static final int INSTANCE_COMMAND_EXECUTION_VALUEINSTANCE_COMMAND_EXECUTION = 0;
- See Also:
-
READ_INSTANCE_VALUE
public static final int READ_INSTANCE_VALUEREAD_INSTANCE = 2;
- See Also:
-
UPDATE_INSTANCE_META_VALUE
public static final int UPDATE_INSTANCE_META_VALUEUPDATE_INSTANCE_META = 3;
- See Also:
-
UPDATE_INSTANCE_CONFIG_VALUE
public static final int UPDATE_INSTANCE_CONFIG_VALUEUPDATE_INSTANCE_CONFIG = 14;
- See Also:
-
DELETE_INSTANCE_VALUE
public static final int DELETE_INSTANCE_VALUEDELETE_INSTANCE = 4;
- See Also:
-
CHANGE_INSTANCE_STATE_VALUE
public static final int CHANGE_INSTANCE_STATE_VALUECHANGE_INSTANCE_STATE = 5;
- See Also:
-
AUTHENTICATE_MC_ACCOUNT_VALUE
public static final int AUTHENTICATE_MC_ACCOUNT_VALUEAUTHENTICATE_MC_ACCOUNT = 6;
- See Also:
-
CHECK_PROXY_VALUE
public static final int CHECK_PROXY_VALUECHECK_PROXY = 7;
- See Also:
-
DOWNLOAD_URL_VALUE
public static final int DOWNLOAD_URL_VALUEDOWNLOAD_URL = 8;
- See Also:
-
ACCESS_OBJECT_STORAGE_VALUE
public static final int ACCESS_OBJECT_STORAGE_VALUEACCESS_OBJECT_STORAGE = 9;
- See Also:
-
ACCESS_SCRIPT_CODE_OBJECT_STORAGE_VALUE
public static final int ACCESS_SCRIPT_CODE_OBJECT_STORAGE_VALUEACCESS_SCRIPT_CODE_OBJECT_STORAGE = 20;
- See Also:
-
INSTANCE_SUBSCRIBE_LOGS_VALUE
public static final int INSTANCE_SUBSCRIBE_LOGS_VALUEINSTANCE_SUBSCRIBE_LOGS = 13;
- See Also:
-
READ_INSTANCE_AUDIT_LOGS_VALUE
public static final int READ_INSTANCE_AUDIT_LOGS_VALUEREAD_INSTANCE_AUDIT_LOGS = 15;
- See Also:
-
CREATE_SCRIPT_VALUE
public static final int CREATE_SCRIPT_VALUECREATE_SCRIPT = 16;
- See Also:
-
READ_SCRIPT_VALUE
public static final int READ_SCRIPT_VALUEREAD_SCRIPT = 17;
- See Also:
-
UPDATE_SCRIPT_VALUE
public static final int UPDATE_SCRIPT_VALUEUPDATE_SCRIPT = 18;
- See Also:
-
DELETE_SCRIPT_VALUE
public static final int DELETE_SCRIPT_VALUEDELETE_SCRIPT = 19;
- 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:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in 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:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForType
in 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
-