public static enum Finding.Severity extends Enum<Finding.Severity> implements ProtocolMessageEnum
The severity of the finding. This field is managed by the source that writes the finding.Protobuf enum
google.cloud.securitycenter.v1p1beta1.Finding.Severity
Enum Constant and Description |
---|
CRITICAL
Critical severity.
|
HIGH
High severity.
|
LOW
Low severity.
|
MEDIUM
Medium severity.
|
SEVERITY_UNSPECIFIED
No severity specified.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
CRITICAL_VALUE
Critical severity.
|
static int |
HIGH_VALUE
High severity.
|
static int |
LOW_VALUE
Low severity.
|
static int |
MEDIUM_VALUE
Medium severity.
|
static int |
SEVERITY_UNSPECIFIED_VALUE
No severity specified.
|
Modifier and Type | Method and Description |
---|---|
static Finding.Severity |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<Finding.Severity> |
internalGetValueMap() |
static Finding.Severity |
valueOf(Descriptors.EnumValueDescriptor desc) |
static Finding.Severity |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Finding.Severity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Finding.Severity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Finding.Severity SEVERITY_UNSPECIFIED
No severity specified. The default value.
SEVERITY_UNSPECIFIED = 0;
public static final Finding.Severity CRITICAL
Critical severity.
CRITICAL = 1;
public static final Finding.Severity HIGH
High severity.
HIGH = 2;
public static final Finding.Severity MEDIUM
Medium severity.
MEDIUM = 3;
public static final Finding.Severity LOW
Low severity.
LOW = 4;
public static final Finding.Severity UNRECOGNIZED
public static final int SEVERITY_UNSPECIFIED_VALUE
No severity specified. The default value.
SEVERITY_UNSPECIFIED = 0;
public static final int CRITICAL_VALUE
Critical severity.
CRITICAL = 1;
public static final int HIGH_VALUE
High severity.
HIGH = 2;
public static final int MEDIUM_VALUE
Medium severity.
MEDIUM = 3;
public static final int LOW_VALUE
Low severity.
LOW = 4;
public static Finding.Severity[] values()
for (Finding.Severity c : Finding.Severity.values()) System.out.println(c);
public static Finding.Severity valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface Internal.EnumLite
getNumber
in interface ProtocolMessageEnum
@Deprecated public static Finding.Severity valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static Finding.Severity forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static Internal.EnumLiteMap<Finding.Severity> internalGetValueMap()
public final Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface ProtocolMessageEnum
public final Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface ProtocolMessageEnum
public static final Descriptors.EnumDescriptor getDescriptor()
public static Finding.Severity valueOf(Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.