public static enum MRProtos.JobStateProto extends Enum<MRProtos.JobStateProto> implements com.google.protobuf.ProtocolMessageEnum
| Enum Constant and Description |
|---|
J_ERROR |
J_FAILED |
J_INITED |
J_KILLED |
J_NEW |
J_RUNNING |
J_SUCCEEDED |
| Modifier and Type | Field and Description |
|---|---|
static int |
J_ERROR_VALUE |
static int |
J_FAILED_VALUE |
static int |
J_INITED_VALUE |
static int |
J_KILLED_VALUE |
static int |
J_NEW_VALUE |
static int |
J_RUNNING_VALUE |
static int |
J_SUCCEEDED_VALUE |
| Modifier and Type | Method and Description |
|---|---|
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<MRProtos.JobStateProto> |
internalGetValueMap() |
static MRProtos.JobStateProto |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static MRProtos.JobStateProto |
valueOf(int value) |
static MRProtos.JobStateProto |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MRProtos.JobStateProto[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MRProtos.JobStateProto J_NEW
public static final MRProtos.JobStateProto J_INITED
public static final MRProtos.JobStateProto J_RUNNING
public static final MRProtos.JobStateProto J_SUCCEEDED
public static final MRProtos.JobStateProto J_FAILED
public static final MRProtos.JobStateProto J_KILLED
public static final MRProtos.JobStateProto J_ERROR
public static final int J_NEW_VALUE
public static final int J_INITED_VALUE
public static final int J_RUNNING_VALUE
public static final int J_SUCCEEDED_VALUE
public static final int J_FAILED_VALUE
public static final int J_KILLED_VALUE
public static final int J_ERROR_VALUE
public static MRProtos.JobStateProto[] values()
for (MRProtos.JobStateProto c : MRProtos.JobStateProto.values()) System.out.println(c);
public static MRProtos.JobStateProto valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnumpublic static MRProtos.JobStateProto valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<MRProtos.JobStateProto> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static MRProtos.JobStateProto valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2013 Apache Software Foundation. All Rights Reserved.