Package akka.cluster.protobuf.msg
Enum ClusterMessages.ConfigCheck.Type
- java.lang.Object
-
- java.lang.Enum<ClusterMessages.ConfigCheck.Type>
-
- akka.cluster.protobuf.msg.ClusterMessages.ConfigCheck.Type
-
- All Implemented Interfaces:
akka.protobufv3.internal.Internal.EnumLite,akka.protobufv3.internal.ProtocolMessageEnum,java.io.Serializable,java.lang.Comparable<ClusterMessages.ConfigCheck.Type>
- Enclosing class:
- ClusterMessages.ConfigCheck
public static enum ClusterMessages.ConfigCheck.Type extends java.lang.Enum<ClusterMessages.ConfigCheck.Type> implements akka.protobufv3.internal.ProtocolMessageEnum
Protobuf enumConfigCheck.Type
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CompatibleConfigCompatibleConfig = 3;IncompatibleConfigIncompatibleConfig = 2;UncheckedConfigUncheckedConfig = 1;
-
Field Summary
Fields Modifier and Type Field Description static intCompatibleConfig_VALUECompatibleConfig = 3;static intIncompatibleConfig_VALUEIncompatibleConfig = 2;static intUncheckedConfig_VALUEUncheckedConfig = 1;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ClusterMessages.ConfigCheck.TypeforNumber(int value)static akka.protobufv3.internal.Descriptors.EnumDescriptorgetDescriptor()akka.protobufv3.internal.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()akka.protobufv3.internal.Descriptors.EnumValueDescriptorgetValueDescriptor()static akka.protobufv3.internal.Internal.EnumLiteMap<ClusterMessages.ConfigCheck.Type>internalGetValueMap()static ClusterMessages.ConfigCheck.TypevalueOf(int value)Deprecated.static ClusterMessages.ConfigCheck.TypevalueOf(akka.protobufv3.internal.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static ClusterMessages.ConfigCheck.TypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ClusterMessages.ConfigCheck.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UncheckedConfig
public static final ClusterMessages.ConfigCheck.Type UncheckedConfig
UncheckedConfig = 1;
-
IncompatibleConfig
public static final ClusterMessages.ConfigCheck.Type IncompatibleConfig
IncompatibleConfig = 2;
-
CompatibleConfig
public static final ClusterMessages.ConfigCheck.Type CompatibleConfig
CompatibleConfig = 3;
-
-
Field Detail
-
UncheckedConfig_VALUE
public static final int UncheckedConfig_VALUE
UncheckedConfig = 1;- See Also:
- Constant Field Values
-
IncompatibleConfig_VALUE
public static final int IncompatibleConfig_VALUE
IncompatibleConfig = 2;- See Also:
- Constant Field Values
-
CompatibleConfig_VALUE
public static final int CompatibleConfig_VALUE
CompatibleConfig = 3;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static ClusterMessages.ConfigCheck.Type[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ClusterMessages.ConfigCheck.Type c : ClusterMessages.ConfigCheck.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ClusterMessages.ConfigCheck.Type valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumberin interfaceakka.protobufv3.internal.Internal.EnumLite- Specified by:
getNumberin interfaceakka.protobufv3.internal.ProtocolMessageEnum
-
valueOf
@Deprecated public static ClusterMessages.ConfigCheck.Type valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
forNumber
public static ClusterMessages.ConfigCheck.Type forNumber(int value)
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static akka.protobufv3.internal.Internal.EnumLiteMap<ClusterMessages.ConfigCheck.Type> internalGetValueMap()
-
getValueDescriptor
public final akka.protobufv3.internal.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptorin interfaceakka.protobufv3.internal.ProtocolMessageEnum
-
getDescriptorForType
public final akka.protobufv3.internal.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfaceakka.protobufv3.internal.ProtocolMessageEnum
-
getDescriptor
public static final akka.protobufv3.internal.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static ClusterMessages.ConfigCheck.Type valueOf(akka.protobufv3.internal.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-