public static enum Cvssv3.UserInteraction extends Enum<Cvssv3.UserInteraction> implements ProtocolMessageEnum
This metric captures the requirement for a human user, other than the attacker, to participate in the successful compromise of the vulnerable component.Protobuf enum
google.cloud.securitycenter.v1.Cvssv3.UserInteraction
Enum Constant and Description |
---|
UNRECOGNIZED |
USER_INTERACTION_NONE
The vulnerable system can be exploited without interaction from any user.
|
USER_INTERACTION_REQUIRED
Successful exploitation of this vulnerability requires a user to take
some action before the vulnerability can be exploited.
|
USER_INTERACTION_UNSPECIFIED
Invalid value.
|
Modifier and Type | Field and Description |
---|---|
static int |
USER_INTERACTION_NONE_VALUE
The vulnerable system can be exploited without interaction from any user.
|
static int |
USER_INTERACTION_REQUIRED_VALUE
Successful exploitation of this vulnerability requires a user to take
some action before the vulnerability can be exploited.
|
static int |
USER_INTERACTION_UNSPECIFIED_VALUE
Invalid value.
|
Modifier and Type | Method and Description |
---|---|
static Cvssv3.UserInteraction |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<Cvssv3.UserInteraction> |
internalGetValueMap() |
static Cvssv3.UserInteraction |
valueOf(Descriptors.EnumValueDescriptor desc) |
static Cvssv3.UserInteraction |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Cvssv3.UserInteraction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Cvssv3.UserInteraction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Cvssv3.UserInteraction USER_INTERACTION_UNSPECIFIED
Invalid value.
USER_INTERACTION_UNSPECIFIED = 0;
public static final Cvssv3.UserInteraction USER_INTERACTION_NONE
The vulnerable system can be exploited without interaction from any user.
USER_INTERACTION_NONE = 1;
public static final Cvssv3.UserInteraction USER_INTERACTION_REQUIRED
Successful exploitation of this vulnerability requires a user to take some action before the vulnerability can be exploited.
USER_INTERACTION_REQUIRED = 2;
public static final Cvssv3.UserInteraction UNRECOGNIZED
public static final int USER_INTERACTION_UNSPECIFIED_VALUE
Invalid value.
USER_INTERACTION_UNSPECIFIED = 0;
public static final int USER_INTERACTION_NONE_VALUE
The vulnerable system can be exploited without interaction from any user.
USER_INTERACTION_NONE = 1;
public static final int USER_INTERACTION_REQUIRED_VALUE
Successful exploitation of this vulnerability requires a user to take some action before the vulnerability can be exploited.
USER_INTERACTION_REQUIRED = 2;
public static Cvssv3.UserInteraction[] values()
for (Cvssv3.UserInteraction c : Cvssv3.UserInteraction.values()) System.out.println(c);
public static Cvssv3.UserInteraction 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.UserInteraction valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static Cvssv3.UserInteraction forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static Internal.EnumLiteMap<Cvssv3.UserInteraction> 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.UserInteraction valueOf(Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.