public static enum CVSSv3.UserInteraction extends Enum<CVSSv3.UserInteraction> implements ProtocolMessageEnum
grafeas.v1.CVSSv3.UserInteraction
Enum Constant and Description |
---|
UNRECOGNIZED |
USER_INTERACTION_NONE
USER_INTERACTION_NONE = 1; |
USER_INTERACTION_REQUIRED
USER_INTERACTION_REQUIRED = 2; |
USER_INTERACTION_UNSPECIFIED
USER_INTERACTION_UNSPECIFIED = 0; |
Modifier and Type | Field and Description |
---|---|
static int |
USER_INTERACTION_NONE_VALUE
USER_INTERACTION_NONE = 1; |
static int |
USER_INTERACTION_REQUIRED_VALUE
USER_INTERACTION_REQUIRED = 2; |
static int |
USER_INTERACTION_UNSPECIFIED_VALUE
USER_INTERACTION_UNSPECIFIED = 0; |
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
USER_INTERACTION_UNSPECIFIED = 0;
public static final CVSSv3.UserInteraction USER_INTERACTION_NONE
USER_INTERACTION_NONE = 1;
public static final CVSSv3.UserInteraction USER_INTERACTION_REQUIRED
USER_INTERACTION_REQUIRED = 2;
public static final CVSSv3.UserInteraction UNRECOGNIZED
public static final int USER_INTERACTION_UNSPECIFIED_VALUE
USER_INTERACTION_UNSPECIFIED = 0;
public static final int USER_INTERACTION_NONE_VALUE
USER_INTERACTION_NONE = 1;
public static final int USER_INTERACTION_REQUIRED_VALUE
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.public static CVSSv3.UserInteraction forNumber(int value)
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 © 2019 Google LLC. All rights reserved.