public static enum Protos.Resource.DiskInfo.Source.Type extends java.lang.Enum<Protos.Resource.DiskInfo.Source.Type>
mesos.Resource.DiskInfo.Source.Type
Enum Constant and Description |
---|
BLOCK
BLOCK = 3; |
MOUNT
MOUNT = 2; |
PATH
PATH = 1; |
RAW
RAW = 4; |
UNKNOWN
UNKNOWN = 0; |
Modifier and Type | Field and Description |
---|---|
static int |
BLOCK_VALUE
BLOCK = 3; |
static int |
MOUNT_VALUE
MOUNT = 2; |
static int |
PATH_VALUE
PATH = 1; |
static int |
RAW_VALUE
RAW = 4; |
static int |
UNKNOWN_VALUE
UNKNOWN = 0; |
Modifier and Type | Method and Description |
---|---|
static Protos.Resource.DiskInfo.Source.Type |
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.Resource.DiskInfo.Source.Type |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Protos.Resource.DiskInfo.Source.Type |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Protos.Resource.DiskInfo.Source.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Protos.Resource.DiskInfo.Source.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Protos.Resource.DiskInfo.Source.Type UNKNOWN
UNKNOWN = 0;
public static final Protos.Resource.DiskInfo.Source.Type PATH
PATH = 1;
public static final Protos.Resource.DiskInfo.Source.Type MOUNT
MOUNT = 2;
public static final Protos.Resource.DiskInfo.Source.Type BLOCK
BLOCK = 3;
public static final Protos.Resource.DiskInfo.Source.Type RAW
RAW = 4;
public static final int UNKNOWN_VALUE
UNKNOWN = 0;
public static final int PATH_VALUE
PATH = 1;
public static final int MOUNT_VALUE
MOUNT = 2;
public static final int BLOCK_VALUE
BLOCK = 3;
public static final int RAW_VALUE
RAW = 4;
public static Protos.Resource.DiskInfo.Source.Type[] values()
for (Protos.Resource.DiskInfo.Source.Type c : Protos.Resource.DiskInfo.Source.Type.values()) System.out.println(c);
public static Protos.Resource.DiskInfo.Source.Type 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.Resource.DiskInfo.Source.Type valueOf(int value)
forNumber(int)
instead.public static Protos.Resource.DiskInfo.Source.Type 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.Resource.DiskInfo.Source.Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)