public static enum Protos.CapabilityInfo.Capability extends java.lang.Enum<Protos.CapabilityInfo.Capability>
We start the actual values at an offset(1000) because Protobuf 2 uses the first value as the default one. Separating the default value from the real first value helps to disambiguate them. This is especially valuable for backward compatibility. See: MESOS-4997.Protobuf enum
mesos.CapabilityInfo.Capability
Enum Constant and Description |
---|
AUDIT_CONTROL
AUDIT_CONTROL = 1030; |
AUDIT_READ
AUDIT_READ = 1037; |
AUDIT_WRITE
AUDIT_WRITE = 1029; |
BLOCK_SUSPEND
BLOCK_SUSPEND = 1036; |
BPF
BPF = 1039; |
CHECKPOINT_RESTORE
CHECKPOINT_RESTORE = 1040; |
CHOWN
CHOWN = 1000; |
DAC_OVERRIDE
DAC_OVERRIDE = 1001; |
DAC_READ_SEARCH
DAC_READ_SEARCH = 1002; |
FOWNER
FOWNER = 1003; |
FSETID
FSETID = 1004; |
IPC_LOCK
IPC_LOCK = 1014; |
IPC_OWNER
IPC_OWNER = 1015; |
KILL
KILL = 1005; |
LEASE
LEASE = 1028; |
LINUX_IMMUTABLE
LINUX_IMMUTABLE = 1009; |
MAC_ADMIN
MAC_ADMIN = 1033; |
MAC_OVERRIDE
MAC_OVERRIDE = 1032; |
MKNOD
MKNOD = 1027; |
NET_ADMIN
NET_ADMIN = 1012; |
NET_BIND_SERVICE
NET_BIND_SERVICE = 1010; |
NET_BROADCAST
NET_BROADCAST = 1011; |
NET_RAW
NET_RAW = 1013; |
PERFMON
PERFMON = 1038; |
SETFCAP
SETFCAP = 1031; |
SETGID
SETGID = 1006; |
SETPCAP
SETPCAP = 1008; |
SETUID
SETUID = 1007; |
SYS_ADMIN
SYS_ADMIN = 1021; |
SYS_BOOT
SYS_BOOT = 1022; |
SYS_CHROOT
SYS_CHROOT = 1018; |
SYS_MODULE
SYS_MODULE = 1016; |
SYS_NICE
SYS_NICE = 1023; |
SYS_PACCT
SYS_PACCT = 1020; |
SYS_PTRACE
SYS_PTRACE = 1019; |
SYS_RAWIO
SYS_RAWIO = 1017; |
SYS_RESOURCE
SYS_RESOURCE = 1024; |
SYS_TIME
SYS_TIME = 1025; |
SYS_TTY_CONFIG
SYS_TTY_CONFIG = 1026; |
SYSLOG
SYSLOG = 1034; |
UNKNOWN
UNKNOWN = 0; |
WAKE_ALARM
WAKE_ALARM = 1035; |
Modifier and Type | Field and Description |
---|---|
static int |
AUDIT_CONTROL_VALUE
AUDIT_CONTROL = 1030; |
static int |
AUDIT_READ_VALUE
AUDIT_READ = 1037; |
static int |
AUDIT_WRITE_VALUE
AUDIT_WRITE = 1029; |
static int |
BLOCK_SUSPEND_VALUE
BLOCK_SUSPEND = 1036; |
static int |
BPF_VALUE
BPF = 1039; |
static int |
CHECKPOINT_RESTORE_VALUE
CHECKPOINT_RESTORE = 1040; |
static int |
CHOWN_VALUE
CHOWN = 1000; |
static int |
DAC_OVERRIDE_VALUE
DAC_OVERRIDE = 1001; |
static int |
DAC_READ_SEARCH_VALUE
DAC_READ_SEARCH = 1002; |
static int |
FOWNER_VALUE
FOWNER = 1003; |
static int |
FSETID_VALUE
FSETID = 1004; |
static int |
IPC_LOCK_VALUE
IPC_LOCK = 1014; |
static int |
IPC_OWNER_VALUE
IPC_OWNER = 1015; |
static int |
KILL_VALUE
KILL = 1005; |
static int |
LEASE_VALUE
LEASE = 1028; |
static int |
LINUX_IMMUTABLE_VALUE
LINUX_IMMUTABLE = 1009; |
static int |
MAC_ADMIN_VALUE
MAC_ADMIN = 1033; |
static int |
MAC_OVERRIDE_VALUE
MAC_OVERRIDE = 1032; |
static int |
MKNOD_VALUE
MKNOD = 1027; |
static int |
NET_ADMIN_VALUE
NET_ADMIN = 1012; |
static int |
NET_BIND_SERVICE_VALUE
NET_BIND_SERVICE = 1010; |
static int |
NET_BROADCAST_VALUE
NET_BROADCAST = 1011; |
static int |
NET_RAW_VALUE
NET_RAW = 1013; |
static int |
PERFMON_VALUE
PERFMON = 1038; |
static int |
SETFCAP_VALUE
SETFCAP = 1031; |
static int |
SETGID_VALUE
SETGID = 1006; |
static int |
SETPCAP_VALUE
SETPCAP = 1008; |
static int |
SETUID_VALUE
SETUID = 1007; |
static int |
SYS_ADMIN_VALUE
SYS_ADMIN = 1021; |
static int |
SYS_BOOT_VALUE
SYS_BOOT = 1022; |
static int |
SYS_CHROOT_VALUE
SYS_CHROOT = 1018; |
static int |
SYS_MODULE_VALUE
SYS_MODULE = 1016; |
static int |
SYS_NICE_VALUE
SYS_NICE = 1023; |
static int |
SYS_PACCT_VALUE
SYS_PACCT = 1020; |
static int |
SYS_PTRACE_VALUE
SYS_PTRACE = 1019; |
static int |
SYS_RAWIO_VALUE
SYS_RAWIO = 1017; |
static int |
SYS_RESOURCE_VALUE
SYS_RESOURCE = 1024; |
static int |
SYS_TIME_VALUE
SYS_TIME = 1025; |
static int |
SYS_TTY_CONFIG_VALUE
SYS_TTY_CONFIG = 1026; |
static int |
SYSLOG_VALUE
SYSLOG = 1034; |
static int |
UNKNOWN_VALUE
UNKNOWN = 0; |
static int |
WAKE_ALARM_VALUE
WAKE_ALARM = 1035; |
Modifier and Type | Method and Description |
---|---|
static Protos.CapabilityInfo.Capability |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static <any> |
internalGetValueMap() |
static Protos.CapabilityInfo.Capability |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Protos.CapabilityInfo.Capability |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Protos.CapabilityInfo.Capability |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Protos.CapabilityInfo.Capability[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Protos.CapabilityInfo.Capability UNKNOWN
UNKNOWN = 0;
public static final Protos.CapabilityInfo.Capability CHOWN
CHOWN = 1000;
public static final Protos.CapabilityInfo.Capability DAC_OVERRIDE
DAC_OVERRIDE = 1001;
public static final Protos.CapabilityInfo.Capability DAC_READ_SEARCH
DAC_READ_SEARCH = 1002;
public static final Protos.CapabilityInfo.Capability FOWNER
FOWNER = 1003;
public static final Protos.CapabilityInfo.Capability FSETID
FSETID = 1004;
public static final Protos.CapabilityInfo.Capability KILL
KILL = 1005;
public static final Protos.CapabilityInfo.Capability SETGID
SETGID = 1006;
public static final Protos.CapabilityInfo.Capability SETUID
SETUID = 1007;
public static final Protos.CapabilityInfo.Capability SETPCAP
SETPCAP = 1008;
public static final Protos.CapabilityInfo.Capability LINUX_IMMUTABLE
LINUX_IMMUTABLE = 1009;
public static final Protos.CapabilityInfo.Capability NET_BIND_SERVICE
NET_BIND_SERVICE = 1010;
public static final Protos.CapabilityInfo.Capability NET_BROADCAST
NET_BROADCAST = 1011;
public static final Protos.CapabilityInfo.Capability NET_ADMIN
NET_ADMIN = 1012;
public static final Protos.CapabilityInfo.Capability NET_RAW
NET_RAW = 1013;
public static final Protos.CapabilityInfo.Capability IPC_LOCK
IPC_LOCK = 1014;
public static final Protos.CapabilityInfo.Capability IPC_OWNER
IPC_OWNER = 1015;
public static final Protos.CapabilityInfo.Capability SYS_MODULE
SYS_MODULE = 1016;
public static final Protos.CapabilityInfo.Capability SYS_RAWIO
SYS_RAWIO = 1017;
public static final Protos.CapabilityInfo.Capability SYS_CHROOT
SYS_CHROOT = 1018;
public static final Protos.CapabilityInfo.Capability SYS_PTRACE
SYS_PTRACE = 1019;
public static final Protos.CapabilityInfo.Capability SYS_PACCT
SYS_PACCT = 1020;
public static final Protos.CapabilityInfo.Capability SYS_ADMIN
SYS_ADMIN = 1021;
public static final Protos.CapabilityInfo.Capability SYS_BOOT
SYS_BOOT = 1022;
public static final Protos.CapabilityInfo.Capability SYS_NICE
SYS_NICE = 1023;
public static final Protos.CapabilityInfo.Capability SYS_RESOURCE
SYS_RESOURCE = 1024;
public static final Protos.CapabilityInfo.Capability SYS_TIME
SYS_TIME = 1025;
public static final Protos.CapabilityInfo.Capability SYS_TTY_CONFIG
SYS_TTY_CONFIG = 1026;
public static final Protos.CapabilityInfo.Capability MKNOD
MKNOD = 1027;
public static final Protos.CapabilityInfo.Capability LEASE
LEASE = 1028;
public static final Protos.CapabilityInfo.Capability AUDIT_WRITE
AUDIT_WRITE = 1029;
public static final Protos.CapabilityInfo.Capability AUDIT_CONTROL
AUDIT_CONTROL = 1030;
public static final Protos.CapabilityInfo.Capability SETFCAP
SETFCAP = 1031;
public static final Protos.CapabilityInfo.Capability MAC_OVERRIDE
MAC_OVERRIDE = 1032;
public static final Protos.CapabilityInfo.Capability MAC_ADMIN
MAC_ADMIN = 1033;
public static final Protos.CapabilityInfo.Capability SYSLOG
SYSLOG = 1034;
public static final Protos.CapabilityInfo.Capability WAKE_ALARM
WAKE_ALARM = 1035;
public static final Protos.CapabilityInfo.Capability BLOCK_SUSPEND
BLOCK_SUSPEND = 1036;
public static final Protos.CapabilityInfo.Capability AUDIT_READ
AUDIT_READ = 1037;
public static final Protos.CapabilityInfo.Capability PERFMON
PERFMON = 1038;
public static final Protos.CapabilityInfo.Capability BPF
BPF = 1039;
public static final Protos.CapabilityInfo.Capability CHECKPOINT_RESTORE
CHECKPOINT_RESTORE = 1040;
public static final int UNKNOWN_VALUE
UNKNOWN = 0;
public static final int CHOWN_VALUE
CHOWN = 1000;
public static final int DAC_OVERRIDE_VALUE
DAC_OVERRIDE = 1001;
public static final int DAC_READ_SEARCH_VALUE
DAC_READ_SEARCH = 1002;
public static final int FOWNER_VALUE
FOWNER = 1003;
public static final int FSETID_VALUE
FSETID = 1004;
public static final int KILL_VALUE
KILL = 1005;
public static final int SETGID_VALUE
SETGID = 1006;
public static final int SETUID_VALUE
SETUID = 1007;
public static final int SETPCAP_VALUE
SETPCAP = 1008;
public static final int LINUX_IMMUTABLE_VALUE
LINUX_IMMUTABLE = 1009;
public static final int NET_BIND_SERVICE_VALUE
NET_BIND_SERVICE = 1010;
public static final int NET_BROADCAST_VALUE
NET_BROADCAST = 1011;
public static final int NET_ADMIN_VALUE
NET_ADMIN = 1012;
public static final int NET_RAW_VALUE
NET_RAW = 1013;
public static final int IPC_LOCK_VALUE
IPC_LOCK = 1014;
public static final int IPC_OWNER_VALUE
IPC_OWNER = 1015;
public static final int SYS_MODULE_VALUE
SYS_MODULE = 1016;
public static final int SYS_RAWIO_VALUE
SYS_RAWIO = 1017;
public static final int SYS_CHROOT_VALUE
SYS_CHROOT = 1018;
public static final int SYS_PTRACE_VALUE
SYS_PTRACE = 1019;
public static final int SYS_PACCT_VALUE
SYS_PACCT = 1020;
public static final int SYS_ADMIN_VALUE
SYS_ADMIN = 1021;
public static final int SYS_BOOT_VALUE
SYS_BOOT = 1022;
public static final int SYS_NICE_VALUE
SYS_NICE = 1023;
public static final int SYS_RESOURCE_VALUE
SYS_RESOURCE = 1024;
public static final int SYS_TIME_VALUE
SYS_TIME = 1025;
public static final int SYS_TTY_CONFIG_VALUE
SYS_TTY_CONFIG = 1026;
public static final int MKNOD_VALUE
MKNOD = 1027;
public static final int LEASE_VALUE
LEASE = 1028;
public static final int AUDIT_WRITE_VALUE
AUDIT_WRITE = 1029;
public static final int AUDIT_CONTROL_VALUE
AUDIT_CONTROL = 1030;
public static final int SETFCAP_VALUE
SETFCAP = 1031;
public static final int MAC_OVERRIDE_VALUE
MAC_OVERRIDE = 1032;
public static final int MAC_ADMIN_VALUE
MAC_ADMIN = 1033;
public static final int SYSLOG_VALUE
SYSLOG = 1034;
public static final int WAKE_ALARM_VALUE
WAKE_ALARM = 1035;
public static final int BLOCK_SUSPEND_VALUE
BLOCK_SUSPEND = 1036;
public static final int AUDIT_READ_VALUE
AUDIT_READ = 1037;
public static final int PERFMON_VALUE
PERFMON = 1038;
public static final int BPF_VALUE
BPF = 1039;
public static final int CHECKPOINT_RESTORE_VALUE
CHECKPOINT_RESTORE = 1040;
public static Protos.CapabilityInfo.Capability[] values()
for (Protos.CapabilityInfo.Capability c : Protos.CapabilityInfo.Capability.values()) System.out.println(c);
public static Protos.CapabilityInfo.Capability valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic final int getNumber()
@Deprecated public static Protos.CapabilityInfo.Capability valueOf(int value)
forNumber(int)
instead.public static Protos.CapabilityInfo.Capability forNumber(int value)
public static <any> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Protos.CapabilityInfo.Capability valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)