public static enum MRProtos.TaskStateProto extends Enum<MRProtos.TaskStateProto> implements com.google.protobuf.ProtocolMessageEnum
| Enum Constant and Description |
|---|
TS_FAILED |
TS_KILLED |
TS_NEW |
TS_RUNNING |
TS_SCHEDULED |
TS_SUCCEEDED |
| Modifier and Type | Field and Description |
|---|---|
static int |
TS_FAILED_VALUE |
static int |
TS_KILLED_VALUE |
static int |
TS_NEW_VALUE |
static int |
TS_RUNNING_VALUE |
static int |
TS_SCHEDULED_VALUE |
static int |
TS_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.TaskStateProto> |
internalGetValueMap() |
static MRProtos.TaskStateProto |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static MRProtos.TaskStateProto |
valueOf(int value) |
static MRProtos.TaskStateProto |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MRProtos.TaskStateProto[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MRProtos.TaskStateProto TS_NEW
public static final MRProtos.TaskStateProto TS_SCHEDULED
public static final MRProtos.TaskStateProto TS_RUNNING
public static final MRProtos.TaskStateProto TS_SUCCEEDED
public static final MRProtos.TaskStateProto TS_FAILED
public static final MRProtos.TaskStateProto TS_KILLED
public static final int TS_NEW_VALUE
public static final int TS_SCHEDULED_VALUE
public static final int TS_RUNNING_VALUE
public static final int TS_SUCCEEDED_VALUE
public static final int TS_FAILED_VALUE
public static final int TS_KILLED_VALUE
public static MRProtos.TaskStateProto[] values()
for (MRProtos.TaskStateProto c : MRProtos.TaskStateProto.values()) System.out.println(c);
public static MRProtos.TaskStateProto 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.TaskStateProto valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<MRProtos.TaskStateProto> 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.TaskStateProto valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2013 Apache Software Foundation. All Rights Reserved.