public enum CacheEnableState extends java.lang.Enum<CacheEnableState> implements com.google.protobuf.ProtocolMessageEnum
staros.CacheEnableState| Enum Constant and Description |
|---|
DISABLED
DISABLED = 2; |
ENABLED
ENABLED = 1; |
NOT_SET
NOT_SET = 0; |
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
DISABLED_VALUE
DISABLED = 2; |
static int |
ENABLED_VALUE
ENABLED = 1; |
static int |
NOT_SET_VALUE
NOT_SET = 0; |
| Modifier and Type | Method and Description |
|---|---|
static CacheEnableState |
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<CacheEnableState> |
internalGetValueMap() |
static CacheEnableState |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static CacheEnableState |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static CacheEnableState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CacheEnableState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CacheEnableState NOT_SET
NOT_SET = 0;public static final CacheEnableState ENABLED
ENABLED = 1;public static final CacheEnableState DISABLED
DISABLED = 2;public static final CacheEnableState UNRECOGNIZED
public static final int NOT_SET_VALUE
NOT_SET = 0;public static final int ENABLED_VALUE
ENABLED = 1;public static final int DISABLED_VALUE
DISABLED = 2;public static CacheEnableState[] values()
for (CacheEnableState c : CacheEnableState.values()) System.out.println(c);
public static CacheEnableState 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 CacheEnableState valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static CacheEnableState forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<CacheEnableState> 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 CacheEnableState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024. All rights reserved.