public static enum YarnProtos.ContainerStateProto extends Enum<YarnProtos.ContainerStateProto> implements com.google.protobuf.ProtocolMessageEnum
hadoop.yarn.ContainerStateProto
Enum Constant and Description |
---|
C_COMPLETE
C_COMPLETE = 3; |
C_NEW
C_NEW = 1; |
C_RUNNING
C_RUNNING = 2; |
Modifier and Type | Field and Description |
---|---|
static int |
C_COMPLETE_VALUE
C_COMPLETE = 3; |
static int |
C_NEW_VALUE
C_NEW = 1; |
static int |
C_RUNNING_VALUE
C_RUNNING = 2; |
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<YarnProtos.ContainerStateProto> |
internalGetValueMap() |
static YarnProtos.ContainerStateProto |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static YarnProtos.ContainerStateProto |
valueOf(int value) |
static YarnProtos.ContainerStateProto |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static YarnProtos.ContainerStateProto[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final YarnProtos.ContainerStateProto C_NEW
C_NEW = 1;
public static final YarnProtos.ContainerStateProto C_RUNNING
C_RUNNING = 2;
public static final YarnProtos.ContainerStateProto C_COMPLETE
C_COMPLETE = 3;
public static final int C_NEW_VALUE
C_NEW = 1;
public static final int C_RUNNING_VALUE
C_RUNNING = 2;
public static final int C_COMPLETE_VALUE
C_COMPLETE = 3;
public static YarnProtos.ContainerStateProto[] values()
for (YarnProtos.ContainerStateProto c : YarnProtos.ContainerStateProto.values()) System.out.println(c);
public static YarnProtos.ContainerStateProto 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 YarnProtos.ContainerStateProto valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<YarnProtos.ContainerStateProto> 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 YarnProtos.ContainerStateProto valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2013 Apache Software Foundation. All rights reserved.