public static enum Lgraph.NodeState extends Enum<Lgraph.NodeState> implements com.google.protobuf.ProtocolMessageEnum
-------------------------------- heartbeat --------------------------------Protobuf enum
lgraph.NodeState| Enum Constant and Description |
|---|
JOINED_FOLLOW
JOINED_FOLLOW = 4; |
JOINED_MASTER
JOINED_MASTER = 5; |
LOADING_SNAPSHOT
LOADING_SNAPSHOT = 2; |
OFFLINE
OFFLINE = 6; |
REPLAYING_LOG
REPLAYING_LOG = 3; |
UNINITIALIZED
UNINITIALIZED = 1; |
| Modifier and Type | Field and Description |
|---|---|
static int |
JOINED_FOLLOW_VALUE
JOINED_FOLLOW = 4; |
static int |
JOINED_MASTER_VALUE
JOINED_MASTER = 5; |
static int |
LOADING_SNAPSHOT_VALUE
LOADING_SNAPSHOT = 2; |
static int |
OFFLINE_VALUE
OFFLINE = 6; |
static int |
REPLAYING_LOG_VALUE
REPLAYING_LOG = 3; |
static int |
UNINITIALIZED_VALUE
UNINITIALIZED = 1; |
| Modifier and Type | Method and Description |
|---|---|
static Lgraph.NodeState |
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<Lgraph.NodeState> |
internalGetValueMap() |
static Lgraph.NodeState |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Lgraph.NodeState |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Lgraph.NodeState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Lgraph.NodeState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Lgraph.NodeState UNINITIALIZED
UNINITIALIZED = 1;public static final Lgraph.NodeState LOADING_SNAPSHOT
LOADING_SNAPSHOT = 2;public static final Lgraph.NodeState REPLAYING_LOG
REPLAYING_LOG = 3;public static final Lgraph.NodeState JOINED_FOLLOW
JOINED_FOLLOW = 4;public static final Lgraph.NodeState JOINED_MASTER
JOINED_MASTER = 5;public static final Lgraph.NodeState OFFLINE
OFFLINE = 6;public static final int UNINITIALIZED_VALUE
UNINITIALIZED = 1;public static final int LOADING_SNAPSHOT_VALUE
LOADING_SNAPSHOT = 2;public static final int REPLAYING_LOG_VALUE
REPLAYING_LOG = 3;public static final int JOINED_FOLLOW_VALUE
JOINED_FOLLOW = 4;public static final int JOINED_MASTER_VALUE
JOINED_MASTER = 5;public static final int OFFLINE_VALUE
OFFLINE = 6;public static Lgraph.NodeState[] values()
for (Lgraph.NodeState c : Lgraph.NodeState.values()) System.out.println(c);
public static Lgraph.NodeState 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 Lgraph.NodeState valueOf(int value)
forNumber(int) instead.public static Lgraph.NodeState forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Lgraph.NodeState> 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 Lgraph.NodeState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Ant Group. All rights reserved.