public enum RequestType extends Enum<RequestType> implements com.google.protobuf.ProtocolMessageEnum
The read/write request type. It can either be an Alluxio block operation or a UFS file operation. next available id: 3Protobuf enum
alluxio.grpc.block.RequestType
Enum Constant and Description |
---|
ALLUXIO_BLOCK
ALLUXIO_BLOCK = 0; |
UFS_FALLBACK_BLOCK
UFS_FALLBACK_BLOCK = 2; |
UFS_FILE
UFS_FILE = 1; |
Modifier and Type | Field and Description |
---|---|
static int |
ALLUXIO_BLOCK_VALUE
ALLUXIO_BLOCK = 0; |
static int |
UFS_FALLBACK_BLOCK_VALUE
UFS_FALLBACK_BLOCK = 2; |
static int |
UFS_FILE_VALUE
UFS_FILE = 1; |
Modifier and Type | Method and Description |
---|---|
static RequestType |
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<RequestType> |
internalGetValueMap() |
static RequestType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static RequestType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static RequestType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RequestType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RequestType ALLUXIO_BLOCK
ALLUXIO_BLOCK = 0;
public static final RequestType UFS_FILE
UFS_FILE = 1;
public static final RequestType UFS_FALLBACK_BLOCK
UFS_FALLBACK_BLOCK = 2;
public static final int ALLUXIO_BLOCK_VALUE
ALLUXIO_BLOCK = 0;
public static final int UFS_FILE_VALUE
UFS_FILE = 1;
public static final int UFS_FALLBACK_BLOCK_VALUE
UFS_FALLBACK_BLOCK = 2;
public static RequestType[] values()
for (RequestType c : RequestType.values()) System.out.println(c);
public static RequestType 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 RequestType valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static RequestType forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<RequestType> 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 RequestType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023. All Rights Reserved.