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