public static enum EnumOutter.ErrorType extends Enum<EnumOutter.ErrorType> implements com.google.protobuf.ProtocolMessageEnum
jraft.ErrorType| Enum Constant and Description |
|---|
ERROR_TYPE_LOG
ERROR_TYPE_LOG = 1; |
ERROR_TYPE_META
ERROR_TYPE_META = 5; |
ERROR_TYPE_NONE
ERROR_TYPE_NONE = 0; |
ERROR_TYPE_SNAPSHOT
ERROR_TYPE_SNAPSHOT = 3; |
ERROR_TYPE_STABLE
ERROR_TYPE_STABLE = 2; |
ERROR_TYPE_STATE_MACHINE
ERROR_TYPE_STATE_MACHINE = 4; |
| Modifier and Type | Field and Description |
|---|---|
static int |
ERROR_TYPE_LOG_VALUE
ERROR_TYPE_LOG = 1; |
static int |
ERROR_TYPE_META_VALUE
ERROR_TYPE_META = 5; |
static int |
ERROR_TYPE_NONE_VALUE
ERROR_TYPE_NONE = 0; |
static int |
ERROR_TYPE_SNAPSHOT_VALUE
ERROR_TYPE_SNAPSHOT = 3; |
static int |
ERROR_TYPE_STABLE_VALUE
ERROR_TYPE_STABLE = 2; |
static int |
ERROR_TYPE_STATE_MACHINE_VALUE
ERROR_TYPE_STATE_MACHINE = 4; |
| Modifier and Type | Method and Description |
|---|---|
static EnumOutter.ErrorType |
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.ErrorType> |
internalGetValueMap() |
static EnumOutter.ErrorType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static EnumOutter.ErrorType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static EnumOutter.ErrorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EnumOutter.ErrorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnumOutter.ErrorType ERROR_TYPE_NONE
ERROR_TYPE_NONE = 0;public static final EnumOutter.ErrorType ERROR_TYPE_LOG
ERROR_TYPE_LOG = 1;public static final EnumOutter.ErrorType ERROR_TYPE_STABLE
ERROR_TYPE_STABLE = 2;public static final EnumOutter.ErrorType ERROR_TYPE_SNAPSHOT
ERROR_TYPE_SNAPSHOT = 3;public static final EnumOutter.ErrorType ERROR_TYPE_STATE_MACHINE
ERROR_TYPE_STATE_MACHINE = 4;public static final EnumOutter.ErrorType ERROR_TYPE_META
ERROR_TYPE_META = 5;public static final int ERROR_TYPE_NONE_VALUE
ERROR_TYPE_NONE = 0;public static final int ERROR_TYPE_LOG_VALUE
ERROR_TYPE_LOG = 1;public static final int ERROR_TYPE_STABLE_VALUE
ERROR_TYPE_STABLE = 2;public static final int ERROR_TYPE_SNAPSHOT_VALUE
ERROR_TYPE_SNAPSHOT = 3;public static final int ERROR_TYPE_STATE_MACHINE_VALUE
ERROR_TYPE_STATE_MACHINE = 4;public static final int ERROR_TYPE_META_VALUE
ERROR_TYPE_META = 5;public static EnumOutter.ErrorType[] values()
for (EnumOutter.ErrorType c : EnumOutter.ErrorType.values()) System.out.println(c);
public static EnumOutter.ErrorType 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.ErrorType valueOf(int value)
forNumber(int) instead.public static EnumOutter.ErrorType forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<EnumOutter.ErrorType> 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.ErrorType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024. All rights reserved.