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