public static enum Finding.FindingClass extends Enum<Finding.FindingClass> implements ProtocolMessageEnum
Represents what kind of Finding it is.Protobuf enum
google.cloud.securitycenter.v1.Finding.FindingClass
Enum Constant and Description |
---|
FINDING_CLASS_UNSPECIFIED
Unspecified finding class.
|
MISCONFIGURATION
Describes a potential weakness in cloud resource/asset configuration that
increases risk.
|
OBSERVATION
Describes a security observation that is for informational purposes.
|
SCC_ERROR
Describes an error that prevents some SCC functionality.
|
THREAT
Describes unwanted or malicious activity.
|
UNRECOGNIZED |
VULNERABILITY
Describes a potential weakness in software that increases risk to
Confidentiality & Integrity & Availability.
|
Modifier and Type | Field and Description |
---|---|
static int |
FINDING_CLASS_UNSPECIFIED_VALUE
Unspecified finding class.
|
static int |
MISCONFIGURATION_VALUE
Describes a potential weakness in cloud resource/asset configuration that
increases risk.
|
static int |
OBSERVATION_VALUE
Describes a security observation that is for informational purposes.
|
static int |
SCC_ERROR_VALUE
Describes an error that prevents some SCC functionality.
|
static int |
THREAT_VALUE
Describes unwanted or malicious activity.
|
static int |
VULNERABILITY_VALUE
Describes a potential weakness in software that increases risk to
Confidentiality & Integrity & Availability.
|
Modifier and Type | Method and Description |
---|---|
static Finding.FindingClass |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<Finding.FindingClass> |
internalGetValueMap() |
static Finding.FindingClass |
valueOf(Descriptors.EnumValueDescriptor desc) |
static Finding.FindingClass |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Finding.FindingClass |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Finding.FindingClass[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Finding.FindingClass FINDING_CLASS_UNSPECIFIED
Unspecified finding class.
FINDING_CLASS_UNSPECIFIED = 0;
public static final Finding.FindingClass THREAT
Describes unwanted or malicious activity.
THREAT = 1;
public static final Finding.FindingClass VULNERABILITY
Describes a potential weakness in software that increases risk to Confidentiality & Integrity & Availability.
VULNERABILITY = 2;
public static final Finding.FindingClass MISCONFIGURATION
Describes a potential weakness in cloud resource/asset configuration that increases risk.
MISCONFIGURATION = 3;
public static final Finding.FindingClass OBSERVATION
Describes a security observation that is for informational purposes.
OBSERVATION = 4;
public static final Finding.FindingClass SCC_ERROR
Describes an error that prevents some SCC functionality.
SCC_ERROR = 5;
public static final Finding.FindingClass UNRECOGNIZED
public static final int FINDING_CLASS_UNSPECIFIED_VALUE
Unspecified finding class.
FINDING_CLASS_UNSPECIFIED = 0;
public static final int THREAT_VALUE
Describes unwanted or malicious activity.
THREAT = 1;
public static final int VULNERABILITY_VALUE
Describes a potential weakness in software that increases risk to Confidentiality & Integrity & Availability.
VULNERABILITY = 2;
public static final int MISCONFIGURATION_VALUE
Describes a potential weakness in cloud resource/asset configuration that increases risk.
MISCONFIGURATION = 3;
public static final int OBSERVATION_VALUE
Describes a security observation that is for informational purposes.
OBSERVATION = 4;
public static final int SCC_ERROR_VALUE
Describes an error that prevents some SCC functionality.
SCC_ERROR = 5;
public static Finding.FindingClass[] values()
for (Finding.FindingClass c : Finding.FindingClass.values()) System.out.println(c);
public static Finding.FindingClass 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 Finding.FindingClass valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static Finding.FindingClass forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static Internal.EnumLiteMap<Finding.FindingClass> 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 Finding.FindingClass valueOf(Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.