Package org.apache.pekko.remote
Enum Class SystemMessageFormats.SystemMessage.Type
java.lang.Object
java.lang.Enum<SystemMessageFormats.SystemMessage.Type>
org.apache.pekko.remote.SystemMessageFormats.SystemMessage.Type
- All Implemented Interfaces:
Serializable,Comparable<SystemMessageFormats.SystemMessage.Type>,Constable,org.apache.pekko.protobufv3.internal.Internal.EnumLite,org.apache.pekko.protobufv3.internal.ProtocolMessageEnum
- Enclosing class:
- SystemMessageFormats.SystemMessage
public static enum SystemMessageFormats.SystemMessage.Type
extends Enum<SystemMessageFormats.SystemMessage.Type>
implements org.apache.pekko.protobufv3.internal.ProtocolMessageEnum
Protobuf enum
SystemMessage.Type-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intCREATE = 0;static final intDEATHWATCH_NOTIFICATION = 9;static final intFAILED = 8;static final intRECREATE = 1;static final intRESUME = 3;static final intSUPERVISE = 5;static final intSUSPEND = 2;static final intTERMINATE = 4;static final intUNWATCH = 7;static final intWATCH = 6; -
Method Summary
Modifier and TypeMethodDescriptionforNumber(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<SystemMessageFormats.SystemMessage.Type>valueOf(int value) Deprecated.Returns the enum constant of this class with the specified name.valueOf(org.apache.pekko.protobufv3.internal.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CREATE
CREATE = 0; -
RECREATE
RECREATE = 1; -
SUSPEND
SUSPEND = 2; -
RESUME
RESUME = 3; -
TERMINATE
TERMINATE = 4; -
SUPERVISE
SUPERVISE = 5; -
WATCH
WATCH = 6; -
UNWATCH
UNWATCH = 7; -
FAILED
FAILED = 8; -
DEATHWATCH_NOTIFICATION
DEATHWATCH_NOTIFICATION = 9;
-
-
Field Details
-
CREATE_VALUE
public static final int CREATE_VALUECREATE = 0;- See Also:
-
RECREATE_VALUE
public static final int RECREATE_VALUERECREATE = 1;- See Also:
-
SUSPEND_VALUE
public static final int SUSPEND_VALUESUSPEND = 2;- See Also:
-
RESUME_VALUE
public static final int RESUME_VALUERESUME = 3;- See Also:
-
TERMINATE_VALUE
public static final int TERMINATE_VALUETERMINATE = 4;- See Also:
-
SUPERVISE_VALUE
public static final int SUPERVISE_VALUESUPERVISE = 5;- See Also:
-
WATCH_VALUE
public static final int WATCH_VALUEWATCH = 6;- See Also:
-
UNWATCH_VALUE
public static final int UNWATCH_VALUEUNWATCH = 7;- See Also:
-
FAILED_VALUE
public static final int FAILED_VALUEFAILED = 8;- See Also:
-
DEATHWATCH_NOTIFICATION_VALUE
public static final int DEATHWATCH_NOTIFICATION_VALUEDEATHWATCH_NOTIFICATION = 9;- 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<SystemMessageFormats.SystemMessage.Type> 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 SystemMessageFormats.SystemMessage.Type 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
-