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 score levels for resources.
Protobuf enumgoogle.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel
-
-
Enum Constant Summary
Enum Constants Enum Constant Description SENSITIVITY_HIGH
High risk – SPII may be present.SENSITIVITY_LOW
No sensitive information detected.SENSITIVITY_MODERATE
Medium risk - PII, potentially sensitive data, or fields with free-text data that are at higher risk of having intermittent sensitive data.SENSITIVITY_SCORE_UNSPECIFIED
Unused.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static int
SENSITIVITY_HIGH_VALUE
High risk – SPII may be present.static int
SENSITIVITY_LOW_VALUE
No sensitive information detected.static int
SENSITIVITY_MODERATE_VALUE
Medium risk - PII, potentially sensitive data, or fields with free-text data that are at higher risk of having intermittent sensitive data.static int
SENSITIVITY_SCORE_UNSPECIFIED_VALUE
Unused.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static SensitivityScore.SensitivityScoreLevel
forNumber(int value)
static com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor()
com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType()
int
getNumber()
com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor()
static com.google.protobuf.Internal.EnumLiteMap<SensitivityScore.SensitivityScoreLevel>
internalGetValueMap()
static SensitivityScore.SensitivityScoreLevel
valueOf(int value)
Deprecated.static SensitivityScore.SensitivityScoreLevel
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static SensitivityScore.SensitivityScoreLevel
valueOf(String name)
Returns the enum constant of this type with the specified name.static SensitivityScore.SensitivityScoreLevel[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SENSITIVITY_SCORE_UNSPECIFIED
public static final SensitivityScore.SensitivityScoreLevel SENSITIVITY_SCORE_UNSPECIFIED
Unused.
SENSITIVITY_SCORE_UNSPECIFIED = 0;
-
SENSITIVITY_LOW
public static final SensitivityScore.SensitivityScoreLevel SENSITIVITY_LOW
No sensitive information detected. Limited access.
SENSITIVITY_LOW = 10;
-
SENSITIVITY_MODERATE
public static final SensitivityScore.SensitivityScoreLevel SENSITIVITY_MODERATE
Medium risk - PII, potentially sensitive data, or fields with free-text data that are at higher risk of having intermittent sensitive data. Consider limiting access.
SENSITIVITY_MODERATE = 20;
-
SENSITIVITY_HIGH
public static final SensitivityScore.SensitivityScoreLevel SENSITIVITY_HIGH
High risk – SPII may be present. Exfiltration of data may lead to user data loss. Re-identification of users may be possible. Consider limiting usage and or removing SPII.
SENSITIVITY_HIGH = 30;
-
UNRECOGNIZED
public static final SensitivityScore.SensitivityScoreLevel UNRECOGNIZED
-
-
Field Detail
-
SENSITIVITY_SCORE_UNSPECIFIED_VALUE
public static final int SENSITIVITY_SCORE_UNSPECIFIED_VALUE
Unused.
SENSITIVITY_SCORE_UNSPECIFIED = 0;
- See Also:
- Constant Field Values
-
SENSITIVITY_LOW_VALUE
public static final int SENSITIVITY_LOW_VALUE
No sensitive information detected. Limited access.
SENSITIVITY_LOW = 10;
- See Also:
- Constant Field Values
-
SENSITIVITY_MODERATE_VALUE
public static final int SENSITIVITY_MODERATE_VALUE
Medium risk - PII, potentially sensitive data, or fields with free-text data that are at higher risk of having intermittent sensitive data. Consider limiting access.
SENSITIVITY_MODERATE = 20;
- See Also:
- Constant Field Values
-
SENSITIVITY_HIGH_VALUE
public static final int SENSITIVITY_HIGH_VALUE
High risk – SPII may be present. Exfiltration of data may lead to user data loss. Re-identification of users may be possible. Consider limiting usage and or removing SPII.
SENSITIVITY_HIGH = 30;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static SensitivityScore.SensitivityScoreLevel[] 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 (SensitivityScore.SensitivityScoreLevel c : SensitivityScore.SensitivityScoreLevel.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SensitivityScore.SensitivityScoreLevel 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:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static SensitivityScore.SensitivityScoreLevel 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 SensitivityScore.SensitivityScoreLevel 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<SensitivityScore.SensitivityScoreLevel> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final 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
-
-