public enum Bits extends Enum<Bits> implements com.google.protobuf.ProtocolMessageEnum
alluxio.grpc.Bits
Enum Constant and Description |
---|
ALL
ALL = 8; |
EXECUTE
EXECUTE = 2; |
NONE
NONE = 1; |
READ
READ = 5; |
READ_EXECUTE
READ_EXECUTE = 6; |
READ_WRITE
READ_WRITE = 7; |
WRITE
WRITE = 3; |
WRITE_EXECUTE
WRITE_EXECUTE = 4; |
Modifier and Type | Field and Description |
---|---|
static int |
ALL_VALUE
ALL = 8; |
static int |
EXECUTE_VALUE
EXECUTE = 2; |
static int |
NONE_VALUE
NONE = 1; |
static int |
READ_EXECUTE_VALUE
READ_EXECUTE = 6; |
static int |
READ_VALUE
READ = 5; |
static int |
READ_WRITE_VALUE
READ_WRITE = 7; |
static int |
WRITE_EXECUTE_VALUE
WRITE_EXECUTE = 4; |
static int |
WRITE_VALUE
WRITE = 3; |
Modifier and Type | Method and Description |
---|---|
static Bits |
forNumber(int value) |
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<Bits> |
internalGetValueMap() |
static Bits |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Bits |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Bits |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Bits[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Bits NONE
NONE = 1;
public static final Bits EXECUTE
EXECUTE = 2;
public static final Bits WRITE
WRITE = 3;
public static final Bits WRITE_EXECUTE
WRITE_EXECUTE = 4;
public static final Bits READ
READ = 5;
public static final Bits READ_EXECUTE
READ_EXECUTE = 6;
public static final Bits READ_WRITE
READ_WRITE = 7;
public static final Bits ALL
ALL = 8;
public static final int NONE_VALUE
NONE = 1;
public static final int EXECUTE_VALUE
EXECUTE = 2;
public static final int WRITE_VALUE
WRITE = 3;
public static final int WRITE_EXECUTE_VALUE
WRITE_EXECUTE = 4;
public static final int READ_VALUE
READ = 5;
public static final int READ_EXECUTE_VALUE
READ_EXECUTE = 6;
public static final int READ_WRITE_VALUE
READ_WRITE = 7;
public static final int ALL_VALUE
ALL = 8;
public static Bits[] values()
for (Bits c : Bits.values()) System.out.println(c);
public static Bits 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
@Deprecated public static Bits valueOf(int value)
forNumber(int)
instead.public static Bits forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Bits> 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 Bits valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023. All Rights Reserved.