public static enum ClusterMessages.MemberStatus extends java.lang.Enum<ClusterMessages.MemberStatus> implements akka.protobuf.ProtocolMessageEnum
MemberStatus
Member Status
| Enum Constant and Description |
|---|
Down
Down = 4; |
Exiting
Exiting = 3; |
Joining
Joining = 0; |
Leaving
Leaving = 2; |
Removed
Removed = 5; |
Up
Up = 1; |
WeaklyUp
WeaklyUp = 6; |
| Modifier and Type | Field and Description |
|---|---|
static int |
Down_VALUE
Down = 4; |
static int |
Exiting_VALUE
Exiting = 3; |
static int |
Joining_VALUE
Joining = 0; |
static int |
Leaving_VALUE
Leaving = 2; |
static int |
Removed_VALUE
Removed = 5; |
static int |
Up_VALUE
Up = 1; |
static int |
WeaklyUp_VALUE
WeaklyUp = 6; |
| Modifier and Type | Method and Description |
|---|---|
static akka.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
akka.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
akka.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static akka.protobuf.Internal.EnumLiteMap<ClusterMessages.MemberStatus> |
internalGetValueMap() |
static ClusterMessages.MemberStatus |
valueOf(akka.protobuf.Descriptors.EnumValueDescriptor desc) |
static ClusterMessages.MemberStatus |
valueOf(int value) |
static ClusterMessages.MemberStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ClusterMessages.MemberStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClusterMessages.MemberStatus Joining
Joining = 0;public static final ClusterMessages.MemberStatus Up
Up = 1;public static final ClusterMessages.MemberStatus Leaving
Leaving = 2;public static final ClusterMessages.MemberStatus Exiting
Exiting = 3;public static final ClusterMessages.MemberStatus Down
Down = 4;public static final ClusterMessages.MemberStatus Removed
Removed = 5;public static final ClusterMessages.MemberStatus WeaklyUp
WeaklyUp = 6;public static final int Joining_VALUE
Joining = 0;public static final int Up_VALUE
Up = 1;public static final int Leaving_VALUE
Leaving = 2;public static final int Exiting_VALUE
Exiting = 3;public static final int Down_VALUE
Down = 4;public static final int Removed_VALUE
Removed = 5;public static final int WeaklyUp_VALUE
WeaklyUp = 6;public static ClusterMessages.MemberStatus[] values()
for (ClusterMessages.MemberStatus c : ClusterMessages.MemberStatus.values()) System.out.println(c);
public static ClusterMessages.MemberStatus 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 akka.protobuf.Internal.EnumLitegetNumber in interface akka.protobuf.ProtocolMessageEnumpublic static ClusterMessages.MemberStatus valueOf(int value)
public static akka.protobuf.Internal.EnumLiteMap<ClusterMessages.MemberStatus> internalGetValueMap()
public final akka.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface akka.protobuf.ProtocolMessageEnumpublic final akka.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface akka.protobuf.ProtocolMessageEnumpublic static final akka.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static ClusterMessages.MemberStatus valueOf(akka.protobuf.Descriptors.EnumValueDescriptor desc)