Enum Class ClusterMessages.MemberStatus
java.lang.Object
java.lang.Enum<ClusterMessages.MemberStatus>
org.apache.pekko.cluster.protobuf.msg.ClusterMessages.MemberStatus
- All Implemented Interfaces:
Serializable,Comparable<ClusterMessages.MemberStatus>,Constable,org.apache.pekko.protobufv3.internal.Internal.EnumLite,org.apache.pekko.protobufv3.internal.ProtocolMessageEnum
- Enclosing class:
- ClusterMessages
public static enum ClusterMessages.MemberStatus
extends Enum<ClusterMessages.MemberStatus>
implements org.apache.pekko.protobufv3.internal.ProtocolMessageEnum
* Member StatusProtobuf enum
MemberStatus-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDown = 4;Exiting = 3;Joining = 0;Leaving = 2;PreparingForShutdown = 7;ReadyForShutdown = 8;Removed = 5;Up = 1;WeaklyUp = 6; -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intDown = 4;static final intExiting = 3;static final intJoining = 0;static final intLeaving = 2;static final intPreparingForShutdown = 7;static final intReadyForShutdown = 8;static final intRemoved = 5;static final intUp = 1;static final intWeaklyUp = 6; -
Method Summary
Modifier and TypeMethodDescriptionstatic ClusterMessages.MemberStatusforNumber(int value) static org.apache.pekko.protobufv3.internal.Descriptors.EnumDescriptorfinal org.apache.pekko.protobufv3.internal.Descriptors.EnumDescriptorfinal intfinal org.apache.pekko.protobufv3.internal.Descriptors.EnumValueDescriptorstatic org.apache.pekko.protobufv3.internal.Internal.EnumLiteMap<ClusterMessages.MemberStatus>static ClusterMessages.MemberStatusvalueOf(int value) Deprecated.static ClusterMessages.MemberStatusReturns the enum constant of this class with the specified name.static ClusterMessages.MemberStatusvalueOf(org.apache.pekko.protobufv3.internal.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static ClusterMessages.MemberStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Joining
Joining = 0; -
Up
Up = 1; -
Leaving
Leaving = 2; -
Exiting
Exiting = 3; -
Down
Down = 4; -
Removed
Removed = 5; -
WeaklyUp
WeaklyUp = 6; -
PreparingForShutdown
PreparingForShutdown = 7; -
ReadyForShutdown
ReadyForShutdown = 8;
-
-
Field Details
-
Joining_VALUE
public static final int Joining_VALUEJoining = 0;- See Also:
-
Up_VALUE
public static final int Up_VALUEUp = 1;- See Also:
-
Leaving_VALUE
public static final int Leaving_VALUELeaving = 2;- See Also:
-
Exiting_VALUE
public static final int Exiting_VALUEExiting = 3;- See Also:
-
Down_VALUE
public static final int Down_VALUEDown = 4;- See Also:
-
Removed_VALUE
public static final int Removed_VALUERemoved = 5;- See Also:
-
WeaklyUp_VALUE
public static final int WeaklyUp_VALUEWeaklyUp = 6;- See Also:
-
PreparingForShutdown_VALUE
public static final int PreparingForShutdown_VALUEPreparingForShutdown = 7;- See Also:
-
ReadyForShutdown_VALUE
public static final int ReadyForShutdown_VALUEReadyForShutdown = 8;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfaceorg.apache.pekko.protobufv3.internal.Internal.EnumLite- Specified by:
getNumberin interfaceorg.apache.pekko.protobufv3.internal.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static org.apache.pekko.protobufv3.internal.Internal.EnumLiteMap<ClusterMessages.MemberStatus> internalGetValueMap() -
getValueDescriptor
public final org.apache.pekko.protobufv3.internal.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfaceorg.apache.pekko.protobufv3.internal.ProtocolMessageEnum
-
getDescriptorForType
public final org.apache.pekko.protobufv3.internal.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfaceorg.apache.pekko.protobufv3.internal.ProtocolMessageEnum
-
getDescriptor
public static org.apache.pekko.protobufv3.internal.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static ClusterMessages.MemberStatus valueOf(org.apache.pekko.protobufv3.internal.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-