public static enum Cvssv3.Scope extends Enum<Cvssv3.Scope> implements ProtocolMessageEnum
The Scope metric captures whether a vulnerability in one vulnerable component impacts resources in components beyond its security scope.Protobuf enum
google.cloud.securitycenter.v1.Cvssv3.Scope
Enum Constant and Description |
---|
SCOPE_CHANGED
An exploited vulnerability can affect resources beyond the security scope
managed by the security authority of the vulnerable component.
|
SCOPE_UNCHANGED
An exploited vulnerability can only affect resources managed by the same
security authority.
|
SCOPE_UNSPECIFIED
Invalid value.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
SCOPE_CHANGED_VALUE
An exploited vulnerability can affect resources beyond the security scope
managed by the security authority of the vulnerable component.
|
static int |
SCOPE_UNCHANGED_VALUE
An exploited vulnerability can only affect resources managed by the same
security authority.
|
static int |
SCOPE_UNSPECIFIED_VALUE
Invalid value.
|
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
Invalid value.
SCOPE_UNSPECIFIED = 0;
public static final Cvssv3.Scope SCOPE_UNCHANGED
An exploited vulnerability can only affect resources managed by the same security authority.
SCOPE_UNCHANGED = 1;
public static final Cvssv3.Scope SCOPE_CHANGED
An exploited vulnerability can affect resources beyond the security scope managed by the security authority of the vulnerable component.
SCOPE_CHANGED = 2;
public static final Cvssv3.Scope UNRECOGNIZED
public static final int SCOPE_UNSPECIFIED_VALUE
Invalid value.
SCOPE_UNSPECIFIED = 0;
public static final int SCOPE_UNCHANGED_VALUE
An exploited vulnerability can only affect resources managed by the same security authority.
SCOPE_UNCHANGED = 1;
public static final int SCOPE_CHANGED_VALUE
An exploited vulnerability can affect resources beyond the security scope managed by the security authority of the vulnerable component.
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.EnumLite
getNumber
in interface ProtocolMessageEnum
@Deprecated public static Cvssv3.Scope valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static Cvssv3.Scope forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static Internal.EnumLiteMap<Cvssv3.Scope> 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.Scope valueOf(Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.