public enum ECacheResult extends java.lang.Enum<ECacheResult> implements com.google.protobuf.ProtocolMessageEnum
cache_client.ECacheResult| Enum Constant and Description |
|---|
Hit
Hit = 2; |
Invalid
Invalid = 0; |
Miss
Miss = 3; |
Ok
Ok = 1; |
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
Hit_VALUE
Hit = 2; |
static int |
Invalid_VALUE
Invalid = 0; |
static int |
Miss_VALUE
Miss = 3; |
static int |
Ok_VALUE
Ok = 1; |
| Modifier and Type | Method and Description |
|---|---|
static ECacheResult |
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<ECacheResult> |
internalGetValueMap() |
static ECacheResult |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ECacheResult |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ECacheResult |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ECacheResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ECacheResult Invalid
Invalid = 0;public static final ECacheResult Ok
Ok = 1;public static final ECacheResult Hit
Hit = 2;public static final ECacheResult Miss
Miss = 3;public static final ECacheResult UNRECOGNIZED
public static final int Invalid_VALUE
Invalid = 0;public static final int Ok_VALUE
Ok = 1;public static final int Hit_VALUE
Hit = 2;public static final int Miss_VALUE
Miss = 3;public static ECacheResult[] values()
for (ECacheResult c : ECacheResult.values()) System.out.println(c);
public static ECacheResult valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static ECacheResult valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static ECacheResult forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<ECacheResult> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static ECacheResult valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)