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