public static enum EnumOutter.EntryType extends Enum<EnumOutter.EntryType> implements com.google.protobuf.ProtocolMessageEnum
jraft.EntryType| 枚举常量和说明 |
|---|
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; |
| 限定符和类型 | 字段和说明 |
|---|---|
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; |
| 限定符和类型 | 方法和说明 |
|---|---|
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)
已过时。
Use
forNumber(int) instead. |
static EnumOutter.EntryType |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static EnumOutter.EntryType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
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 - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public final int getNumber()
getNumber 在接口中 com.google.protobuf.Internal.EnumLitegetNumber 在接口中 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 在接口中 com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType 在接口中 com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static EnumOutter.EntryType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2021. All rights reserved.