public static enum AccessControlProtos.Permission.Action extends Enum<AccessControlProtos.Permission.Action> implements com.google.protobuf.ProtocolMessageEnum
Permission.Action
Enum Constant and Description |
---|
ADMIN
ADMIN = 4; |
CREATE
CREATE = 3; |
EXEC
EXEC = 2; |
READ
READ = 0; |
WRITE
WRITE = 1; |
Modifier and Type | Field and Description |
---|---|
static int |
ADMIN_VALUE
ADMIN = 4; |
static int |
CREATE_VALUE
CREATE = 3; |
static int |
EXEC_VALUE
EXEC = 2; |
static int |
READ_VALUE
READ = 0; |
static int |
WRITE_VALUE
WRITE = 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<AccessControlProtos.Permission.Action> |
internalGetValueMap() |
static AccessControlProtos.Permission.Action |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static AccessControlProtos.Permission.Action |
valueOf(int value) |
static AccessControlProtos.Permission.Action |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AccessControlProtos.Permission.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AccessControlProtos.Permission.Action READ
READ = 0;
public static final AccessControlProtos.Permission.Action WRITE
WRITE = 1;
public static final AccessControlProtos.Permission.Action EXEC
EXEC = 2;
public static final AccessControlProtos.Permission.Action CREATE
CREATE = 3;
public static final AccessControlProtos.Permission.Action ADMIN
ADMIN = 4;
public static final int READ_VALUE
READ = 0;
public static final int WRITE_VALUE
WRITE = 1;
public static final int EXEC_VALUE
EXEC = 2;
public static final int CREATE_VALUE
CREATE = 3;
public static final int ADMIN_VALUE
ADMIN = 4;
public static AccessControlProtos.Permission.Action[] values()
for (AccessControlProtos.Permission.Action c : AccessControlProtos.Permission.Action.values()) System.out.println(c);
public static AccessControlProtos.Permission.Action 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 AccessControlProtos.Permission.Action valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<AccessControlProtos.Permission.Action> 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 AccessControlProtos.Permission.Action valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.