Enum Finding.FindingClass
- java.lang.Object
-
- java.lang.Enum<Finding.FindingClass>
-
- com.google.cloud.securitycenter.v1.Finding.FindingClass
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Finding.FindingClass>
- Enclosing class:
- Finding
public static enum Finding.FindingClass extends Enum<Finding.FindingClass> implements com.google.protobuf.ProtocolMessageEnum
Represents what kind of Finding it is.
Protobuf enumgoogle.cloud.securitycenter.v1.Finding.FindingClass
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FINDING_CLASS_UNSPECIFIEDUnspecified finding class.MISCONFIGURATIONDescribes a potential weakness in cloud resource/asset configuration that increases risk.OBSERVATIONDescribes a security observation that is for informational purposes.SCC_ERRORDescribes an error that prevents some SCC functionality.THREATDescribes unwanted or malicious activity.UNRECOGNIZEDVULNERABILITYDescribes a potential weakness in software that increases risk to Confidentiality & Integrity & Availability.
-
Field Summary
Fields Modifier and Type Field Description static intFINDING_CLASS_UNSPECIFIED_VALUEUnspecified finding class.static intMISCONFIGURATION_VALUEDescribes a potential weakness in cloud resource/asset configuration that increases risk.static intOBSERVATION_VALUEDescribes a security observation that is for informational purposes.static intSCC_ERROR_VALUEDescribes an error that prevents some SCC functionality.static intTHREAT_VALUEDescribes unwanted or malicious activity.static intVULNERABILITY_VALUEDescribes a potential weakness in software that increases risk to Confidentiality & Integrity & Availability.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Finding.FindingClassforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<Finding.FindingClass>internalGetValueMap()static Finding.FindingClassvalueOf(int value)Deprecated.static Finding.FindingClassvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static Finding.FindingClassvalueOf(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.
-
-
-
Enum Constant Detail
-
FINDING_CLASS_UNSPECIFIED
public static final Finding.FindingClass FINDING_CLASS_UNSPECIFIED
Unspecified finding class.
FINDING_CLASS_UNSPECIFIED = 0;
-
THREAT
public static final Finding.FindingClass THREAT
Describes unwanted or malicious activity.
THREAT = 1;
-
VULNERABILITY
public static final Finding.FindingClass VULNERABILITY
Describes a potential weakness in software that increases risk to Confidentiality & Integrity & Availability.
VULNERABILITY = 2;
-
MISCONFIGURATION
public static final Finding.FindingClass MISCONFIGURATION
Describes a potential weakness in cloud resource/asset configuration that increases risk.
MISCONFIGURATION = 3;
-
OBSERVATION
public static final Finding.FindingClass OBSERVATION
Describes a security observation that is for informational purposes.
OBSERVATION = 4;
-
SCC_ERROR
public static final Finding.FindingClass SCC_ERROR
Describes an error that prevents some SCC functionality.
SCC_ERROR = 5;
-
UNRECOGNIZED
public static final Finding.FindingClass UNRECOGNIZED
-
-
Field Detail
-
FINDING_CLASS_UNSPECIFIED_VALUE
public static final int FINDING_CLASS_UNSPECIFIED_VALUE
Unspecified finding class.
FINDING_CLASS_UNSPECIFIED = 0;- See Also:
- Constant Field Values
-
THREAT_VALUE
public static final int THREAT_VALUE
Describes unwanted or malicious activity.
THREAT = 1;- See Also:
- Constant Field Values
-
VULNERABILITY_VALUE
public static final int VULNERABILITY_VALUE
Describes a potential weakness in software that increases risk to Confidentiality & Integrity & Availability.
VULNERABILITY = 2;- See Also:
- Constant Field Values
-
MISCONFIGURATION_VALUE
public static final int MISCONFIGURATION_VALUE
Describes a potential weakness in cloud resource/asset configuration that increases risk.
MISCONFIGURATION = 3;- See Also:
- Constant Field Values
-
OBSERVATION_VALUE
public static final int OBSERVATION_VALUE
Describes a security observation that is for informational purposes.
OBSERVATION = 4;- See Also:
- Constant Field Values
-
SCC_ERROR_VALUE
public static final int SCC_ERROR_VALUE
Describes an error that prevents some SCC functionality.
SCC_ERROR = 5;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static Finding.FindingClass[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Finding.FindingClass c : Finding.FindingClass.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Finding.FindingClass valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static Finding.FindingClass valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
public static Finding.FindingClass forNumber(int value)
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<Finding.FindingClass> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static Finding.FindingClass valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-