public static enum Protos.Volume.Mode extends java.lang.Enum<Protos.Volume.Mode>
mesos.Volume.Mode
Modifier and Type | Field and Description |
---|---|
static int |
RO_VALUE
read-only.
|
static int |
RW_VALUE
read-write.
|
Modifier and Type | Method and Description |
---|---|
static Protos.Volume.Mode |
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.Volume.Mode |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Protos.Volume.Mode |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Protos.Volume.Mode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Protos.Volume.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Protos.Volume.Mode RW
read-write.
RW = 1;
public static final Protos.Volume.Mode RO
read-only.
RO = 2;
public static final int RW_VALUE
read-write.
RW = 1;
public static final int RO_VALUE
read-only.
RO = 2;
public static Protos.Volume.Mode[] values()
for (Protos.Volume.Mode c : Protos.Volume.Mode.values()) System.out.println(c);
public static Protos.Volume.Mode 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.Volume.Mode valueOf(int value)
forNumber(int)
instead.public static Protos.Volume.Mode 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.Volume.Mode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)