public static enum Cvssv3.Impact extends Enum<Cvssv3.Impact> implements ProtocolMessageEnum
The Impact metrics capture the effects of a successfully exploited vulnerability on the component that suffers the worst outcome that is most directly and predictably associated with the attack.Protobuf enum
google.cloud.securitycenter.v1.Cvssv3.Impact
Enum Constant and Description |
---|
IMPACT_HIGH
High impact.
|
IMPACT_LOW
Low impact.
|
IMPACT_NONE
No impact.
|
IMPACT_UNSPECIFIED
Invalid value.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
IMPACT_HIGH_VALUE
High impact.
|
static int |
IMPACT_LOW_VALUE
Low impact.
|
static int |
IMPACT_NONE_VALUE
No impact.
|
static int |
IMPACT_UNSPECIFIED_VALUE
Invalid value.
|
Modifier and Type | Method and Description |
---|---|
static Cvssv3.Impact |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<Cvssv3.Impact> |
internalGetValueMap() |
static Cvssv3.Impact |
valueOf(Descriptors.EnumValueDescriptor desc) |
static Cvssv3.Impact |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Cvssv3.Impact |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Cvssv3.Impact[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Cvssv3.Impact IMPACT_UNSPECIFIED
Invalid value.
IMPACT_UNSPECIFIED = 0;
public static final Cvssv3.Impact IMPACT_HIGH
High impact.
IMPACT_HIGH = 1;
public static final Cvssv3.Impact IMPACT_LOW
Low impact.
IMPACT_LOW = 2;
public static final Cvssv3.Impact IMPACT_NONE
No impact.
IMPACT_NONE = 3;
public static final Cvssv3.Impact UNRECOGNIZED
public static final int IMPACT_UNSPECIFIED_VALUE
Invalid value.
IMPACT_UNSPECIFIED = 0;
public static final int IMPACT_HIGH_VALUE
High impact.
IMPACT_HIGH = 1;
public static final int IMPACT_LOW_VALUE
Low impact.
IMPACT_LOW = 2;
public static final int IMPACT_NONE_VALUE
No impact.
IMPACT_NONE = 3;
public static Cvssv3.Impact[] values()
for (Cvssv3.Impact c : Cvssv3.Impact.values()) System.out.println(c);
public static Cvssv3.Impact 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 Cvssv3.Impact valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static Cvssv3.Impact forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static Internal.EnumLiteMap<Cvssv3.Impact> 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 Cvssv3.Impact valueOf(Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.