public static enum EnumOutter.EntryType extends Enum<EnumOutter.EntryType> implements com.google.protobuf.ProtocolMessageEnum
jraft.EntryType| Enum Constant and Description |
|---|
ENTRY_TYPE_CONFIGURATION
ENTRY_TYPE_CONFIGURATION = 3; |
ENTRY_TYPE_DATA
ENTRY_TYPE_DATA = 2; |
ENTRY_TYPE_NO_OP
ENTRY_TYPE_NO_OP = 1; |
ENTRY_TYPE_UNKNOWN
ENTRY_TYPE_UNKNOWN = 0; |
| Modifier and Type | Field and Description |
|---|---|
static int |
ENTRY_TYPE_CONFIGURATION_VALUE
ENTRY_TYPE_CONFIGURATION = 3; |
static int |
ENTRY_TYPE_DATA_VALUE
ENTRY_TYPE_DATA = 2; |
static int |
ENTRY_TYPE_NO_OP_VALUE
ENTRY_TYPE_NO_OP = 1; |
static int |
ENTRY_TYPE_UNKNOWN_VALUE
ENTRY_TYPE_UNKNOWN = 0; |
| Modifier and Type | Method and Description |
|---|---|
static EnumOutter.EntryType |
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<EnumOutter.EntryType> |
internalGetValueMap() |
static EnumOutter.EntryType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static EnumOutter.EntryType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static EnumOutter.EntryType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EnumOutter.EntryType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnumOutter.EntryType ENTRY_TYPE_UNKNOWN
ENTRY_TYPE_UNKNOWN = 0;public static final EnumOutter.EntryType ENTRY_TYPE_NO_OP
ENTRY_TYPE_NO_OP = 1;public static final EnumOutter.EntryType ENTRY_TYPE_DATA
ENTRY_TYPE_DATA = 2;public static final EnumOutter.EntryType ENTRY_TYPE_CONFIGURATION
ENTRY_TYPE_CONFIGURATION = 3;public static final int ENTRY_TYPE_UNKNOWN_VALUE
ENTRY_TYPE_UNKNOWN = 0;public static final int ENTRY_TYPE_NO_OP_VALUE
ENTRY_TYPE_NO_OP = 1;public static final int ENTRY_TYPE_DATA_VALUE
ENTRY_TYPE_DATA = 2;public static final int ENTRY_TYPE_CONFIGURATION_VALUE
ENTRY_TYPE_CONFIGURATION = 3;public static EnumOutter.EntryType[] values()
for (EnumOutter.EntryType c : EnumOutter.EntryType.values()) System.out.println(c);
public static EnumOutter.EntryType 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.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static EnumOutter.EntryType valueOf(int value)
forNumber(int) instead.public static EnumOutter.EntryType forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<EnumOutter.EntryType> 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 EnumOutter.EntryType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024. All rights reserved.