public static enum KeyValueStateMachineProto.TransitionType extends java.lang.Enum<KeyValueStateMachineProto.TransitionType> implements com.google.protobuf.ProtocolMessageEnum
ai.eloquent.raft.TransitionType| Enum Constant and Description |
|---|
CLEAR_TRANSIENTS
CLEAR_TRANSIENTS = 5; |
INVALID
INVALID = 0; |
RELEASE_LOCK
RELEASE_LOCK = 1; |
REMOVE_VALUE
REMOVE_VALUE = 4; |
REQUEST_LOCK
was 0, before INVALID was added
|
SET_VALUE
SET_VALUE = 3; |
TRANSITION_GROUP
TRANSITION_GROUP = 7; |
TRY_LOCK
TRY_LOCK = 2; |
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
CLEAR_TRANSIENTS_VALUE
CLEAR_TRANSIENTS = 5; |
static int |
INVALID_VALUE
INVALID = 0; |
static int |
RELEASE_LOCK_VALUE
RELEASE_LOCK = 1; |
static int |
REMOVE_VALUE_VALUE
REMOVE_VALUE = 4; |
static int |
REQUEST_LOCK_VALUE
was 0, before INVALID was added
|
static int |
SET_VALUE_VALUE
SET_VALUE = 3; |
static int |
TRANSITION_GROUP_VALUE
TRANSITION_GROUP = 7; |
static int |
TRY_LOCK_VALUE
TRY_LOCK = 2; |
| Modifier and Type | Method and Description |
|---|---|
static KeyValueStateMachineProto.TransitionType |
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<KeyValueStateMachineProto.TransitionType> |
internalGetValueMap() |
static KeyValueStateMachineProto.TransitionType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static KeyValueStateMachineProto.TransitionType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static KeyValueStateMachineProto.TransitionType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static KeyValueStateMachineProto.TransitionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KeyValueStateMachineProto.TransitionType INVALID
INVALID = 0;public static final KeyValueStateMachineProto.TransitionType REQUEST_LOCK
was 0, before INVALID was added
REQUEST_LOCK = 6;public static final KeyValueStateMachineProto.TransitionType RELEASE_LOCK
RELEASE_LOCK = 1;public static final KeyValueStateMachineProto.TransitionType TRY_LOCK
TRY_LOCK = 2;public static final KeyValueStateMachineProto.TransitionType SET_VALUE
SET_VALUE = 3;public static final KeyValueStateMachineProto.TransitionType REMOVE_VALUE
REMOVE_VALUE = 4;public static final KeyValueStateMachineProto.TransitionType CLEAR_TRANSIENTS
CLEAR_TRANSIENTS = 5;public static final KeyValueStateMachineProto.TransitionType TRANSITION_GROUP
TRANSITION_GROUP = 7;public static final KeyValueStateMachineProto.TransitionType UNRECOGNIZED
public static final int INVALID_VALUE
INVALID = 0;public static final int REQUEST_LOCK_VALUE
was 0, before INVALID was added
REQUEST_LOCK = 6;public static final int RELEASE_LOCK_VALUE
RELEASE_LOCK = 1;public static final int TRY_LOCK_VALUE
TRY_LOCK = 2;public static final int SET_VALUE_VALUE
SET_VALUE = 3;public static final int REMOVE_VALUE_VALUE
REMOVE_VALUE = 4;public static final int CLEAR_TRANSIENTS_VALUE
CLEAR_TRANSIENTS = 5;public static final int TRANSITION_GROUP_VALUE
TRANSITION_GROUP = 7;public static KeyValueStateMachineProto.TransitionType[] values()
for (KeyValueStateMachineProto.TransitionType c : KeyValueStateMachineProto.TransitionType.values()) System.out.println(c);
public static KeyValueStateMachineProto.TransitionType 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 KeyValueStateMachineProto.TransitionType valueOf(int value)
forNumber(int) instead.public static KeyValueStateMachineProto.TransitionType forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<KeyValueStateMachineProto.TransitionType> 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 KeyValueStateMachineProto.TransitionType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)