Enum RiskLevel
- java.lang.Object
-
- java.lang.Enum<RiskLevel>
-
- app.coronawarn.server.common.protocols.internal.RiskLevel
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<RiskLevel>
public enum RiskLevel extends Enum<RiskLevel> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumapp.coronawarn.server.common.protocols.internal.RiskLevel
-
-
Enum Constant Summary
Enum Constants Enum Constant Description RISK_LEVEL_HIGHRISK_LEVEL_HIGH = 6;RISK_LEVEL_HIGHESTRISK_LEVEL_HIGHEST = 8;RISK_LEVEL_LOWRISK_LEVEL_LOW = 2;RISK_LEVEL_LOW_MEDIUMRISK_LEVEL_LOW_MEDIUM = 3;RISK_LEVEL_LOWESTRISK_LEVEL_LOWEST = 1;RISK_LEVEL_MEDIUMRISK_LEVEL_MEDIUM = 4;RISK_LEVEL_MEDIUM_HIGHRISK_LEVEL_MEDIUM_HIGH = 5;RISK_LEVEL_UNSPECIFIEDRISK_LEVEL_UNSPECIFIED = 0;RISK_LEVEL_VERY_HIGHRISK_LEVEL_VERY_HIGH = 7;UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intRISK_LEVEL_HIGH_VALUERISK_LEVEL_HIGH = 6;static intRISK_LEVEL_HIGHEST_VALUERISK_LEVEL_HIGHEST = 8;static intRISK_LEVEL_LOW_MEDIUM_VALUERISK_LEVEL_LOW_MEDIUM = 3;static intRISK_LEVEL_LOW_VALUERISK_LEVEL_LOW = 2;static intRISK_LEVEL_LOWEST_VALUERISK_LEVEL_LOWEST = 1;static intRISK_LEVEL_MEDIUM_HIGH_VALUERISK_LEVEL_MEDIUM_HIGH = 5;static intRISK_LEVEL_MEDIUM_VALUERISK_LEVEL_MEDIUM = 4;static intRISK_LEVEL_UNSPECIFIED_VALUERISK_LEVEL_UNSPECIFIED = 0;static intRISK_LEVEL_VERY_HIGH_VALUERISK_LEVEL_VERY_HIGH = 7;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static RiskLevelforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<RiskLevel>internalGetValueMap()static RiskLevelvalueOf(int value)Deprecated.static RiskLevelvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static RiskLevelvalueOf(String name)Returns the enum constant of this type with the specified name.static RiskLevel[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RISK_LEVEL_UNSPECIFIED
public static final RiskLevel RISK_LEVEL_UNSPECIFIED
RISK_LEVEL_UNSPECIFIED = 0;
-
RISK_LEVEL_LOWEST
public static final RiskLevel RISK_LEVEL_LOWEST
RISK_LEVEL_LOWEST = 1;
-
RISK_LEVEL_LOW
public static final RiskLevel RISK_LEVEL_LOW
RISK_LEVEL_LOW = 2;
-
RISK_LEVEL_LOW_MEDIUM
public static final RiskLevel RISK_LEVEL_LOW_MEDIUM
RISK_LEVEL_LOW_MEDIUM = 3;
-
RISK_LEVEL_MEDIUM
public static final RiskLevel RISK_LEVEL_MEDIUM
RISK_LEVEL_MEDIUM = 4;
-
RISK_LEVEL_MEDIUM_HIGH
public static final RiskLevel RISK_LEVEL_MEDIUM_HIGH
RISK_LEVEL_MEDIUM_HIGH = 5;
-
RISK_LEVEL_HIGH
public static final RiskLevel RISK_LEVEL_HIGH
RISK_LEVEL_HIGH = 6;
-
RISK_LEVEL_VERY_HIGH
public static final RiskLevel RISK_LEVEL_VERY_HIGH
RISK_LEVEL_VERY_HIGH = 7;
-
RISK_LEVEL_HIGHEST
public static final RiskLevel RISK_LEVEL_HIGHEST
RISK_LEVEL_HIGHEST = 8;
-
UNRECOGNIZED
public static final RiskLevel UNRECOGNIZED
-
-
Field Detail
-
RISK_LEVEL_UNSPECIFIED_VALUE
public static final int RISK_LEVEL_UNSPECIFIED_VALUE
RISK_LEVEL_UNSPECIFIED = 0;- See Also:
- Constant Field Values
-
RISK_LEVEL_LOWEST_VALUE
public static final int RISK_LEVEL_LOWEST_VALUE
RISK_LEVEL_LOWEST = 1;- See Also:
- Constant Field Values
-
RISK_LEVEL_LOW_VALUE
public static final int RISK_LEVEL_LOW_VALUE
RISK_LEVEL_LOW = 2;- See Also:
- Constant Field Values
-
RISK_LEVEL_LOW_MEDIUM_VALUE
public static final int RISK_LEVEL_LOW_MEDIUM_VALUE
RISK_LEVEL_LOW_MEDIUM = 3;- See Also:
- Constant Field Values
-
RISK_LEVEL_MEDIUM_VALUE
public static final int RISK_LEVEL_MEDIUM_VALUE
RISK_LEVEL_MEDIUM = 4;- See Also:
- Constant Field Values
-
RISK_LEVEL_MEDIUM_HIGH_VALUE
public static final int RISK_LEVEL_MEDIUM_HIGH_VALUE
RISK_LEVEL_MEDIUM_HIGH = 5;- See Also:
- Constant Field Values
-
RISK_LEVEL_HIGH_VALUE
public static final int RISK_LEVEL_HIGH_VALUE
RISK_LEVEL_HIGH = 6;- See Also:
- Constant Field Values
-
RISK_LEVEL_VERY_HIGH_VALUE
public static final int RISK_LEVEL_VERY_HIGH_VALUE
RISK_LEVEL_VERY_HIGH = 7;- See Also:
- Constant Field Values
-
RISK_LEVEL_HIGHEST_VALUE
public static final int RISK_LEVEL_HIGHEST_VALUE
RISK_LEVEL_HIGHEST = 8;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static RiskLevel[] 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 (RiskLevel c : RiskLevel.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RiskLevel valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static RiskLevel 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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
public static RiskLevel 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 com.google.protobuf.Internal.EnumLiteMap<RiskLevel> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static RiskLevel valueOf(com.google.protobuf.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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-