public static enum Cvssv3.AttackComplexity extends Enum<Cvssv3.AttackComplexity> implements ProtocolMessageEnum
This metric describes the conditions beyond the attacker's control that must exist in order to exploit the vulnerability.Protobuf enum
google.cloud.securitycenter.v1.Cvssv3.AttackComplexity
Enum Constant and Description |
---|
ATTACK_COMPLEXITY_HIGH
A successful attack depends on conditions beyond the attacker's control.
|
ATTACK_COMPLEXITY_LOW
Specialized access conditions or extenuating circumstances do not exist.
|
ATTACK_COMPLEXITY_UNSPECIFIED
Invalid value.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
ATTACK_COMPLEXITY_HIGH_VALUE
A successful attack depends on conditions beyond the attacker's control.
|
static int |
ATTACK_COMPLEXITY_LOW_VALUE
Specialized access conditions or extenuating circumstances do not exist.
|
static int |
ATTACK_COMPLEXITY_UNSPECIFIED_VALUE
Invalid value.
|
Modifier and Type | Method and Description |
---|---|
static Cvssv3.AttackComplexity |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<Cvssv3.AttackComplexity> |
internalGetValueMap() |
static Cvssv3.AttackComplexity |
valueOf(Descriptors.EnumValueDescriptor desc) |
static Cvssv3.AttackComplexity |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Cvssv3.AttackComplexity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Cvssv3.AttackComplexity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Cvssv3.AttackComplexity ATTACK_COMPLEXITY_UNSPECIFIED
Invalid value.
ATTACK_COMPLEXITY_UNSPECIFIED = 0;
public static final Cvssv3.AttackComplexity ATTACK_COMPLEXITY_LOW
Specialized access conditions or extenuating circumstances do not exist. An attacker can expect repeatable success when attacking the vulnerable component.
ATTACK_COMPLEXITY_LOW = 1;
public static final Cvssv3.AttackComplexity ATTACK_COMPLEXITY_HIGH
A successful attack depends on conditions beyond the attacker's control. That is, a successful attack cannot be accomplished at will, but requires the attacker to invest in some measurable amount of effort in preparation or execution against the vulnerable component before a successful attack can be expected.
ATTACK_COMPLEXITY_HIGH = 2;
public static final Cvssv3.AttackComplexity UNRECOGNIZED
public static final int ATTACK_COMPLEXITY_UNSPECIFIED_VALUE
Invalid value.
ATTACK_COMPLEXITY_UNSPECIFIED = 0;
public static final int ATTACK_COMPLEXITY_LOW_VALUE
Specialized access conditions or extenuating circumstances do not exist. An attacker can expect repeatable success when attacking the vulnerable component.
ATTACK_COMPLEXITY_LOW = 1;
public static final int ATTACK_COMPLEXITY_HIGH_VALUE
A successful attack depends on conditions beyond the attacker's control. That is, a successful attack cannot be accomplished at will, but requires the attacker to invest in some measurable amount of effort in preparation or execution against the vulnerable component before a successful attack can be expected.
ATTACK_COMPLEXITY_HIGH = 2;
public static Cvssv3.AttackComplexity[] values()
for (Cvssv3.AttackComplexity c : Cvssv3.AttackComplexity.values()) System.out.println(c);
public static Cvssv3.AttackComplexity 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.AttackComplexity valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static Cvssv3.AttackComplexity forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static Internal.EnumLiteMap<Cvssv3.AttackComplexity> 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.AttackComplexity valueOf(Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.