public static enum Protos.Offer.Operation.Type extends java.lang.Enum<Protos.Offer.Operation.Type>
mesos.Offer.Operation.Type
Enum Constant and Description |
---|
CREATE
CREATE = 4; |
CREATE_DISK
EXPERIMENTAL.
|
DESTROY
DESTROY = 5; |
DESTROY_DISK
EXPERIMENTAL.
|
GROW_VOLUME
EXPERIMENTAL.
|
LAUNCH
LAUNCH = 1; |
LAUNCH_GROUP
LAUNCH_GROUP = 6; |
RESERVE
RESERVE = 2; |
SHRINK_VOLUME
EXPERIMENTAL.
|
UNKNOWN
UNKNOWN = 0; |
UNRESERVE
UNRESERVE = 3; |
Modifier and Type | Field and Description |
---|---|
static int |
CREATE_DISK_VALUE
EXPERIMENTAL.
|
static int |
CREATE_VALUE
CREATE = 4; |
static int |
DESTROY_DISK_VALUE
EXPERIMENTAL.
|
static int |
DESTROY_VALUE
DESTROY = 5; |
static int |
GROW_VOLUME_VALUE
EXPERIMENTAL.
|
static int |
LAUNCH_GROUP_VALUE
LAUNCH_GROUP = 6; |
static int |
LAUNCH_VALUE
LAUNCH = 1; |
static int |
RESERVE_VALUE
RESERVE = 2; |
static int |
SHRINK_VOLUME_VALUE
EXPERIMENTAL.
|
static int |
UNKNOWN_VALUE
UNKNOWN = 0; |
static int |
UNRESERVE_VALUE
UNRESERVE = 3; |
Modifier and Type | Method and Description |
---|---|
static Protos.Offer.Operation.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.Offer.Operation.Type |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Protos.Offer.Operation.Type |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Protos.Offer.Operation.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Protos.Offer.Operation.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Protos.Offer.Operation.Type UNKNOWN
UNKNOWN = 0;
public static final Protos.Offer.Operation.Type LAUNCH
LAUNCH = 1;
public static final Protos.Offer.Operation.Type LAUNCH_GROUP
LAUNCH_GROUP = 6;
public static final Protos.Offer.Operation.Type RESERVE
RESERVE = 2;
public static final Protos.Offer.Operation.Type UNRESERVE
UNRESERVE = 3;
public static final Protos.Offer.Operation.Type CREATE
CREATE = 4;
public static final Protos.Offer.Operation.Type DESTROY
DESTROY = 5;
public static final Protos.Offer.Operation.Type GROW_VOLUME
EXPERIMENTAL.
GROW_VOLUME = 11;
public static final Protos.Offer.Operation.Type SHRINK_VOLUME
EXPERIMENTAL.
SHRINK_VOLUME = 12;
public static final Protos.Offer.Operation.Type CREATE_DISK
EXPERIMENTAL.
CREATE_DISK = 13;
public static final Protos.Offer.Operation.Type DESTROY_DISK
EXPERIMENTAL.
DESTROY_DISK = 14;
public static final int UNKNOWN_VALUE
UNKNOWN = 0;
public static final int LAUNCH_VALUE
LAUNCH = 1;
public static final int LAUNCH_GROUP_VALUE
LAUNCH_GROUP = 6;
public static final int RESERVE_VALUE
RESERVE = 2;
public static final int UNRESERVE_VALUE
UNRESERVE = 3;
public static final int CREATE_VALUE
CREATE = 4;
public static final int DESTROY_VALUE
DESTROY = 5;
public static final int GROW_VOLUME_VALUE
EXPERIMENTAL.
GROW_VOLUME = 11;
public static final int SHRINK_VOLUME_VALUE
EXPERIMENTAL.
SHRINK_VOLUME = 12;
public static final int CREATE_DISK_VALUE
EXPERIMENTAL.
CREATE_DISK = 13;
public static final int DESTROY_DISK_VALUE
EXPERIMENTAL.
DESTROY_DISK = 14;
public static Protos.Offer.Operation.Type[] values()
for (Protos.Offer.Operation.Type c : Protos.Offer.Operation.Type.values()) System.out.println(c);
public static Protos.Offer.Operation.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.Offer.Operation.Type valueOf(int value)
forNumber(int)
instead.public static Protos.Offer.Operation.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.Offer.Operation.Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)