public static enum CVSSv3.Impact extends Enum<CVSSv3.Impact> implements ProtocolMessageEnum
grafeas.v1.CVSSv3.Impact| Enum Constant and Description |
|---|
IMPACT_HIGH
IMPACT_HIGH = 1; |
IMPACT_LOW
IMPACT_LOW = 2; |
IMPACT_NONE
IMPACT_NONE = 3; |
IMPACT_UNSPECIFIED
IMPACT_UNSPECIFIED = 0; |
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
IMPACT_HIGH_VALUE
IMPACT_HIGH = 1; |
static int |
IMPACT_LOW_VALUE
IMPACT_LOW = 2; |
static int |
IMPACT_NONE_VALUE
IMPACT_NONE = 3; |
static int |
IMPACT_UNSPECIFIED_VALUE
IMPACT_UNSPECIFIED = 0; |
| 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
IMPACT_UNSPECIFIED = 0;public static final CVSSv3.Impact IMPACT_HIGH
IMPACT_HIGH = 1;public static final CVSSv3.Impact IMPACT_LOW
IMPACT_LOW = 2;public static final CVSSv3.Impact IMPACT_NONE
IMPACT_NONE = 3;public static final CVSSv3.Impact UNRECOGNIZED
public static final int IMPACT_UNSPECIFIED_VALUE
IMPACT_UNSPECIFIED = 0;public static final int IMPACT_HIGH_VALUE
IMPACT_HIGH = 1;public static final int IMPACT_LOW_VALUE
IMPACT_LOW = 2;public static final int IMPACT_NONE_VALUE
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.EnumLitegetNumber in interface ProtocolMessageEnum@Deprecated public static CVSSv3.Impact valueOf(int value)
forNumber(int) instead.public static CVSSv3.Impact forNumber(int value)
public static Internal.EnumLiteMap<CVSSv3.Impact> internalGetValueMap()
public final Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface ProtocolMessageEnumpublic final Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface ProtocolMessageEnumpublic static final Descriptors.EnumDescriptor getDescriptor()
public static CVSSv3.Impact valueOf(Descriptors.EnumValueDescriptor desc)
Copyright © 2019 Google LLC. All rights reserved.