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