public static enum Protos.ContainerInfo.Type extends java.lang.Enum<Protos.ContainerInfo.Type>
All container implementation types. For each type there should be a field in the ContainerInfo itself with exactly matching name in lowercase.Protobuf enum
mesos.ContainerInfo.Type
Enum Constant and Description |
---|
DOCKER
DOCKER = 1; |
MESOS
MESOS = 2; |
Modifier and Type | Field and Description |
---|---|
static int |
DOCKER_VALUE
DOCKER = 1; |
static int |
MESOS_VALUE
MESOS = 2; |
Modifier and Type | Method and Description |
---|---|
static Protos.ContainerInfo.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.ContainerInfo.Type |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Protos.ContainerInfo.Type |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Protos.ContainerInfo.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Protos.ContainerInfo.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Protos.ContainerInfo.Type DOCKER
DOCKER = 1;
public static final Protos.ContainerInfo.Type MESOS
MESOS = 2;
public static final int DOCKER_VALUE
DOCKER = 1;
public static final int MESOS_VALUE
MESOS = 2;
public static Protos.ContainerInfo.Type[] values()
for (Protos.ContainerInfo.Type c : Protos.ContainerInfo.Type.values()) System.out.println(c);
public static Protos.ContainerInfo.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.ContainerInfo.Type valueOf(int value)
forNumber(int)
instead.public static Protos.ContainerInfo.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.ContainerInfo.Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)