public static enum CVSSv3.AttackComplexity extends Enum<CVSSv3.AttackComplexity> implements ProtocolMessageEnum
grafeas.v1.CVSSv3.AttackComplexity
Enum Constant and Description |
---|
ATTACK_COMPLEXITY_HIGH
ATTACK_COMPLEXITY_HIGH = 2; |
ATTACK_COMPLEXITY_LOW
ATTACK_COMPLEXITY_LOW = 1; |
ATTACK_COMPLEXITY_UNSPECIFIED
ATTACK_COMPLEXITY_UNSPECIFIED = 0; |
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
ATTACK_COMPLEXITY_HIGH_VALUE
ATTACK_COMPLEXITY_HIGH = 2; |
static int |
ATTACK_COMPLEXITY_LOW_VALUE
ATTACK_COMPLEXITY_LOW = 1; |
static int |
ATTACK_COMPLEXITY_UNSPECIFIED_VALUE
ATTACK_COMPLEXITY_UNSPECIFIED = 0; |
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
ATTACK_COMPLEXITY_UNSPECIFIED = 0;
public static final CVSSv3.AttackComplexity ATTACK_COMPLEXITY_LOW
ATTACK_COMPLEXITY_LOW = 1;
public static final CVSSv3.AttackComplexity ATTACK_COMPLEXITY_HIGH
ATTACK_COMPLEXITY_HIGH = 2;
public static final CVSSv3.AttackComplexity UNRECOGNIZED
public static final int ATTACK_COMPLEXITY_UNSPECIFIED_VALUE
ATTACK_COMPLEXITY_UNSPECIFIED = 0;
public static final int ATTACK_COMPLEXITY_LOW_VALUE
ATTACK_COMPLEXITY_LOW = 1;
public static final int ATTACK_COMPLEXITY_HIGH_VALUE
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.public static CVSSv3.AttackComplexity forNumber(int value)
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 © 2019 Google LLC. All rights reserved.