public static enum DAGProtos.PlanLocalResourceType extends Enum<DAGProtos.PlanLocalResourceType> implements com.google.protobuf.ProtocolMessageEnum
PlanLocalResourceType
Enum Constant and Description |
---|
ARCHIVE
ARCHIVE = 1; |
FILE
FILE = 0; |
PATTERN
PATTERN = 2; |
Modifier and Type | Field and Description |
---|---|
static int |
ARCHIVE_VALUE
ARCHIVE = 1; |
static int |
FILE_VALUE
FILE = 0; |
static int |
PATTERN_VALUE
PATTERN = 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<DAGProtos.PlanLocalResourceType> |
internalGetValueMap() |
static DAGProtos.PlanLocalResourceType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static DAGProtos.PlanLocalResourceType |
valueOf(int value) |
static DAGProtos.PlanLocalResourceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DAGProtos.PlanLocalResourceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DAGProtos.PlanLocalResourceType FILE
FILE = 0;
public static final DAGProtos.PlanLocalResourceType ARCHIVE
ARCHIVE = 1;
public static final DAGProtos.PlanLocalResourceType PATTERN
PATTERN = 2;
public static final int FILE_VALUE
FILE = 0;
public static final int ARCHIVE_VALUE
ARCHIVE = 1;
public static final int PATTERN_VALUE
PATTERN = 2;
public static DAGProtos.PlanLocalResourceType[] values()
for (DAGProtos.PlanLocalResourceType c : DAGProtos.PlanLocalResourceType.values()) System.out.println(c);
public static DAGProtos.PlanLocalResourceType 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 DAGProtos.PlanLocalResourceType valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<DAGProtos.PlanLocalResourceType> 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 DAGProtos.PlanLocalResourceType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2016 Apache Software Foundation. All rights reserved.