Enum IssueSeverity
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<IssueSeverity>
@Generated
public enum IssueSeverity
extends Enum<IssueSeverity>
implements com.google.protobuf.ProtocolMessageEnum
IssueSeverity represents the severity of an issue.Protobuf enum
google.cloud.databasecenter.v1beta.IssueSeverity-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCritical severity.High severity.Irrelevant severity.Low severity.Medium severity.Unspecified. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intCritical severity.static final intHigh severity.static final intIrrelevant severity.static final intLow severity.static final intMedium severity.static final intUnspecified. -
Method Summary
Modifier and TypeMethodDescriptionstatic IssueSeverityforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<IssueSeverity>static IssueSeverityvalueOf(int value) Deprecated.static IssueSeverityvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static IssueSeverityReturns the enum constant of this type with the specified name.static IssueSeverity[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ISSUE_SEVERITY_UNSPECIFIED
Unspecified.
ISSUE_SEVERITY_UNSPECIFIED = 0; -
ISSUE_SEVERITY_LOW
Low severity.
ISSUE_SEVERITY_LOW = 1; -
ISSUE_SEVERITY_MEDIUM
Medium severity.
ISSUE_SEVERITY_MEDIUM = 2; -
ISSUE_SEVERITY_HIGH
High severity.
ISSUE_SEVERITY_HIGH = 3; -
ISSUE_SEVERITY_CRITICAL
Critical severity.
ISSUE_SEVERITY_CRITICAL = 4; -
ISSUE_SEVERITY_IRRELEVANT
Irrelevant severity. This means the issue should not be surfaced at all.
ISSUE_SEVERITY_IRRELEVANT = 5; -
UNRECOGNIZED
-
-
Field Details
-
ISSUE_SEVERITY_UNSPECIFIED_VALUE
public static final int ISSUE_SEVERITY_UNSPECIFIED_VALUEUnspecified.
ISSUE_SEVERITY_UNSPECIFIED = 0;- See Also:
-
ISSUE_SEVERITY_LOW_VALUE
public static final int ISSUE_SEVERITY_LOW_VALUELow severity.
ISSUE_SEVERITY_LOW = 1;- See Also:
-
ISSUE_SEVERITY_MEDIUM_VALUE
public static final int ISSUE_SEVERITY_MEDIUM_VALUEMedium severity.
ISSUE_SEVERITY_MEDIUM = 2;- See Also:
-
ISSUE_SEVERITY_HIGH_VALUE
public static final int ISSUE_SEVERITY_HIGH_VALUEHigh severity.
ISSUE_SEVERITY_HIGH = 3;- See Also:
-
ISSUE_SEVERITY_CRITICAL_VALUE
public static final int ISSUE_SEVERITY_CRITICAL_VALUECritical severity.
ISSUE_SEVERITY_CRITICAL = 4;- See Also:
-
ISSUE_SEVERITY_IRRELEVANT_VALUE
public static final int ISSUE_SEVERITY_IRRELEVANT_VALUEIrrelevant severity. This means the issue should not be surfaced at all.
ISSUE_SEVERITY_IRRELEVANT = 5;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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.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
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
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 com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
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
-