public enum WritePType extends Enum<WritePType> implements com.google.protobuf.ProtocolMessageEnum
alluxio.grpc.file.WritePType
Enum Constant and Description |
---|
ASYNC_THROUGH
Deprecated.
|
CACHE_THROUGH
CACHE_THROUGH = 3; |
MUST_CACHE
Deprecated.
|
NONE
NONE = 6; |
THROUGH
THROUGH = 4; |
TRY_CACHE
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
static int |
ASYNC_THROUGH_VALUE
Deprecated.
|
static int |
CACHE_THROUGH_VALUE
CACHE_THROUGH = 3; |
static int |
MUST_CACHE_VALUE
Deprecated.
|
static int |
NONE_VALUE
NONE = 6; |
static int |
THROUGH_VALUE
THROUGH = 4; |
static int |
TRY_CACHE_VALUE
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static WritePType |
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<WritePType> |
internalGetValueMap() |
static WritePType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static WritePType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static WritePType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WritePType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Deprecated public static final WritePType MUST_CACHE
MUST_CACHE = 1 [deprecated = true];
@Deprecated public static final WritePType TRY_CACHE
TRY_CACHE = 2 [deprecated = true];
public static final WritePType CACHE_THROUGH
CACHE_THROUGH = 3;
public static final WritePType THROUGH
THROUGH = 4;
@Deprecated public static final WritePType ASYNC_THROUGH
ASYNC_THROUGH = 5 [deprecated = true];
public static final WritePType NONE
NONE = 6;
@Deprecated public static final int MUST_CACHE_VALUE
MUST_CACHE = 1 [deprecated = true];
@Deprecated public static final int TRY_CACHE_VALUE
TRY_CACHE = 2 [deprecated = true];
public static final int CACHE_THROUGH_VALUE
CACHE_THROUGH = 3;
public static final int THROUGH_VALUE
THROUGH = 4;
@Deprecated public static final int ASYNC_THROUGH_VALUE
ASYNC_THROUGH = 5 [deprecated = true];
public static final int NONE_VALUE
NONE = 6;
public static WritePType[] values()
for (WritePType c : WritePType.values()) System.out.println(c);
public static WritePType 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 WritePType valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static WritePType forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<WritePType> 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 WritePType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023. All Rights Reserved.