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