public static enum MRProtos.JobStateProto extends Enum<MRProtos.JobStateProto> implements com.google.protobuf.ProtocolMessageEnum
hadoop.mapreduce.JobStateProto
Enum Constant and Description |
---|
J_ERROR
J_ERROR = 7; |
J_FAILED
J_FAILED = 5; |
J_INITED
J_INITED = 2; |
J_KILLED
J_KILLED = 6; |
J_NEW
J_NEW = 1; |
J_RUNNING
J_RUNNING = 3; |
J_SUCCEEDED
J_SUCCEEDED = 4; |
Modifier and Type | Field and Description |
---|---|
static int |
J_ERROR_VALUE
J_ERROR = 7; |
static int |
J_FAILED_VALUE
J_FAILED = 5; |
static int |
J_INITED_VALUE
J_INITED = 2; |
static int |
J_KILLED_VALUE
J_KILLED = 6; |
static int |
J_NEW_VALUE
J_NEW = 1; |
static int |
J_RUNNING_VALUE
J_RUNNING = 3; |
static int |
J_SUCCEEDED_VALUE
J_SUCCEEDED = 4; |
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
J_NEW = 1;
public static final MRProtos.JobStateProto J_INITED
J_INITED = 2;
public static final MRProtos.JobStateProto J_RUNNING
J_RUNNING = 3;
public static final MRProtos.JobStateProto J_SUCCEEDED
J_SUCCEEDED = 4;
public static final MRProtos.JobStateProto J_FAILED
J_FAILED = 5;
public static final MRProtos.JobStateProto J_KILLED
J_KILLED = 6;
public static final MRProtos.JobStateProto J_ERROR
J_ERROR = 7;
public static final int J_NEW_VALUE
J_NEW = 1;
public static final int J_INITED_VALUE
J_INITED = 2;
public static final int J_RUNNING_VALUE
J_RUNNING = 3;
public static final int J_SUCCEEDED_VALUE
J_SUCCEEDED = 4;
public static final int J_FAILED_VALUE
J_FAILED = 5;
public static final int J_KILLED_VALUE
J_KILLED = 6;
public static final int J_ERROR_VALUE
J_ERROR = 7;
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.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
public 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.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static MRProtos.JobStateProto valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2008–2019 Apache Software Foundation. All rights reserved.