public static enum EloquentRaftProto.LogEntryType extends java.lang.Enum<EloquentRaftProto.LogEntryType> implements com.google.protobuf.ProtocolMessageEnum
ai.eloquent.raft.LogEntryType| Enum Constant and Description |
|---|
CONFIGURATION
CONFIGURATION = 1; |
TRANSITION
TRANSITION = 0; |
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
CONFIGURATION_VALUE
CONFIGURATION = 1; |
static int |
TRANSITION_VALUE
TRANSITION = 0; |
| Modifier and Type | Method and Description |
|---|---|
static EloquentRaftProto.LogEntryType |
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<EloquentRaftProto.LogEntryType> |
internalGetValueMap() |
static EloquentRaftProto.LogEntryType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static EloquentRaftProto.LogEntryType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static EloquentRaftProto.LogEntryType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EloquentRaftProto.LogEntryType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EloquentRaftProto.LogEntryType TRANSITION
TRANSITION = 0;public static final EloquentRaftProto.LogEntryType CONFIGURATION
CONFIGURATION = 1;public static final EloquentRaftProto.LogEntryType UNRECOGNIZED
public static final int TRANSITION_VALUE
TRANSITION = 0;public static final int CONFIGURATION_VALUE
CONFIGURATION = 1;public static EloquentRaftProto.LogEntryType[] values()
for (EloquentRaftProto.LogEntryType c : EloquentRaftProto.LogEntryType.values()) System.out.println(c);
public static EloquentRaftProto.LogEntryType 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 EloquentRaftProto.LogEntryType valueOf(int value)
forNumber(int) instead.public static EloquentRaftProto.LogEntryType forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<EloquentRaftProto.LogEntryType> 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 EloquentRaftProto.LogEntryType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)