public static enum CVSSv3.AttackVector extends Enum<CVSSv3.AttackVector> implements ProtocolMessageEnum
grafeas.v1.CVSSv3.AttackVector
Enum Constant and Description |
---|
ATTACK_VECTOR_ADJACENT
ATTACK_VECTOR_ADJACENT = 2; |
ATTACK_VECTOR_LOCAL
ATTACK_VECTOR_LOCAL = 3; |
ATTACK_VECTOR_NETWORK
ATTACK_VECTOR_NETWORK = 1; |
ATTACK_VECTOR_PHYSICAL
ATTACK_VECTOR_PHYSICAL = 4; |
ATTACK_VECTOR_UNSPECIFIED
ATTACK_VECTOR_UNSPECIFIED = 0; |
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
ATTACK_VECTOR_ADJACENT_VALUE
ATTACK_VECTOR_ADJACENT = 2; |
static int |
ATTACK_VECTOR_LOCAL_VALUE
ATTACK_VECTOR_LOCAL = 3; |
static int |
ATTACK_VECTOR_NETWORK_VALUE
ATTACK_VECTOR_NETWORK = 1; |
static int |
ATTACK_VECTOR_PHYSICAL_VALUE
ATTACK_VECTOR_PHYSICAL = 4; |
static int |
ATTACK_VECTOR_UNSPECIFIED_VALUE
ATTACK_VECTOR_UNSPECIFIED = 0; |
Modifier and Type | Method and Description |
---|---|
static CVSSv3.AttackVector |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<CVSSv3.AttackVector> |
internalGetValueMap() |
static CVSSv3.AttackVector |
valueOf(Descriptors.EnumValueDescriptor desc) |
static CVSSv3.AttackVector |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static CVSSv3.AttackVector |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CVSSv3.AttackVector[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CVSSv3.AttackVector ATTACK_VECTOR_UNSPECIFIED
ATTACK_VECTOR_UNSPECIFIED = 0;
public static final CVSSv3.AttackVector ATTACK_VECTOR_NETWORK
ATTACK_VECTOR_NETWORK = 1;
public static final CVSSv3.AttackVector ATTACK_VECTOR_ADJACENT
ATTACK_VECTOR_ADJACENT = 2;
public static final CVSSv3.AttackVector ATTACK_VECTOR_LOCAL
ATTACK_VECTOR_LOCAL = 3;
public static final CVSSv3.AttackVector ATTACK_VECTOR_PHYSICAL
ATTACK_VECTOR_PHYSICAL = 4;
public static final CVSSv3.AttackVector UNRECOGNIZED
public static final int ATTACK_VECTOR_UNSPECIFIED_VALUE
ATTACK_VECTOR_UNSPECIFIED = 0;
public static final int ATTACK_VECTOR_NETWORK_VALUE
ATTACK_VECTOR_NETWORK = 1;
public static final int ATTACK_VECTOR_ADJACENT_VALUE
ATTACK_VECTOR_ADJACENT = 2;
public static final int ATTACK_VECTOR_LOCAL_VALUE
ATTACK_VECTOR_LOCAL = 3;
public static final int ATTACK_VECTOR_PHYSICAL_VALUE
ATTACK_VECTOR_PHYSICAL = 4;
public static CVSSv3.AttackVector[] values()
for (CVSSv3.AttackVector c : CVSSv3.AttackVector.values()) System.out.println(c);
public static CVSSv3.AttackVector 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.AttackVector valueOf(int value)
forNumber(int)
instead.public static CVSSv3.AttackVector forNumber(int value)
public static Internal.EnumLiteMap<CVSSv3.AttackVector> 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.AttackVector valueOf(Descriptors.EnumValueDescriptor desc)
Copyright © 2019 Google LLC. All rights reserved.