Package com.google.privacy.dlp.v2
Enum SensitivityScore.SensitivityScoreLevel
java.lang.Object
java.lang.Enum<SensitivityScore.SensitivityScoreLevel>
com.google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<SensitivityScore.SensitivityScoreLevel>
- Enclosing class:
- SensitivityScore
public static enum SensitivityScore.SensitivityScoreLevel
extends Enum<SensitivityScore.SensitivityScoreLevel>
implements com.google.protobuf.ProtocolMessageEnum
Various sensitivity score levels for resources.Protobuf enum
google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionHigh risk.No sensitive information detected.Medium risk.Unused.Unable to determine sensitivity. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intHigh risk.static final intNo sensitive information detected.static final intMedium risk.static final intUnused.static final intUnable to determine sensitivity. -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<SensitivityScore.SensitivityScoreLevel>valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.Returns the enum constant of this type with the specified name.values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
SENSITIVITY_SCORE_UNSPECIFIED
Unused.
SENSITIVITY_SCORE_UNSPECIFIED = 0; -
SENSITIVITY_LOW
No sensitive information detected. The resource isn't publicly accessible.
SENSITIVITY_LOW = 10; -
SENSITIVITY_UNKNOWN
Unable to determine sensitivity.
SENSITIVITY_UNKNOWN = 12; -
SENSITIVITY_MODERATE
Medium risk. Contains personally identifiable information (PII), potentially sensitive data, or fields with free-text data that are at a higher risk of having intermittent sensitive data. Consider limiting access.
SENSITIVITY_MODERATE = 20; -
SENSITIVITY_HIGH
High risk. Sensitive personally identifiable information (SPII) can be present. Exfiltration of data can lead to user data loss. Re-identification of users might be possible. Consider limiting usage and or removing SPII.
SENSITIVITY_HIGH = 30; -
UNRECOGNIZED
-
-
Field Details
-
SENSITIVITY_SCORE_UNSPECIFIED_VALUE
public static final int SENSITIVITY_SCORE_UNSPECIFIED_VALUEUnused.
SENSITIVITY_SCORE_UNSPECIFIED = 0;- See Also:
-
SENSITIVITY_LOW_VALUE
public static final int SENSITIVITY_LOW_VALUENo sensitive information detected. The resource isn't publicly accessible.
SENSITIVITY_LOW = 10;- See Also:
-
SENSITIVITY_UNKNOWN_VALUE
public static final int SENSITIVITY_UNKNOWN_VALUEUnable to determine sensitivity.
SENSITIVITY_UNKNOWN = 12;- See Also:
-
SENSITIVITY_MODERATE_VALUE
public static final int SENSITIVITY_MODERATE_VALUEMedium risk. Contains personally identifiable information (PII), potentially sensitive data, or fields with free-text data that are at a higher risk of having intermittent sensitive data. Consider limiting access.
SENSITIVITY_MODERATE = 20;- See Also:
-
SENSITIVITY_HIGH_VALUE
public static final int SENSITIVITY_HIGH_VALUEHigh risk. Sensitive personally identifiable information (SPII) can be present. Exfiltration of data can lead to user data loss. Re-identification of users might be possible. Consider limiting usage and or removing SPII.
SENSITIVITY_HIGH = 30;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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.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
- 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<SensitivityScore.SensitivityScoreLevel> 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 com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static SensitivityScore.SensitivityScoreLevel 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
-