Package com.google.privacy.dlp.v2
Enum DataRiskLevel.DataRiskLevelScore
- java.lang.Object
-
- java.lang.Enum<DataRiskLevel.DataRiskLevelScore>
-
- com.google.privacy.dlp.v2.DataRiskLevel.DataRiskLevelScore
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<DataRiskLevel.DataRiskLevelScore>
- Enclosing class:
- DataRiskLevel
public static enum DataRiskLevel.DataRiskLevelScore extends Enum<DataRiskLevel.DataRiskLevelScore> implements com.google.protobuf.ProtocolMessageEnum
Various score levels for resources.
Protobuf enumgoogle.privacy.dlp.v2.DataRiskLevel.DataRiskLevelScore
-
-
Enum Constant Summary
Enum Constants Enum Constant Description RISK_HIGHHigh risk – SPII may be present.RISK_LOWLow risk - Lower indication of sensitive data that appears to have additional access restrictions in place or no indication of sensitive data found.RISK_MODERATEMedium risk - Sensitive data may be present but additional access or fine grain access restrictions appear to be present.RISK_SCORE_UNSPECIFIEDUnused.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intRISK_HIGH_VALUEHigh risk – SPII may be present.static intRISK_LOW_VALUELow risk - Lower indication of sensitive data that appears to have additional access restrictions in place or no indication of sensitive data found.static intRISK_MODERATE_VALUEMedium risk - Sensitive data may be present but additional access or fine grain access restrictions appear to be present.static intRISK_SCORE_UNSPECIFIED_VALUEUnused.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static DataRiskLevel.DataRiskLevelScoreforNumber(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<DataRiskLevel.DataRiskLevelScore>internalGetValueMap()static DataRiskLevel.DataRiskLevelScorevalueOf(int value)Deprecated.static DataRiskLevel.DataRiskLevelScorevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static DataRiskLevel.DataRiskLevelScorevalueOf(String name)Returns the enum constant of this type with the specified name.static DataRiskLevel.DataRiskLevelScore[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RISK_SCORE_UNSPECIFIED
public static final DataRiskLevel.DataRiskLevelScore RISK_SCORE_UNSPECIFIED
Unused.
RISK_SCORE_UNSPECIFIED = 0;
-
RISK_LOW
public static final DataRiskLevel.DataRiskLevelScore RISK_LOW
Low risk - Lower indication of sensitive data that appears to have additional access restrictions in place or no indication of sensitive data found.
RISK_LOW = 10;
-
RISK_MODERATE
public static final DataRiskLevel.DataRiskLevelScore RISK_MODERATE
Medium risk - Sensitive data may be present but additional access or fine grain access restrictions appear to be present. Consider limiting access even further or transform data to mask.
RISK_MODERATE = 20;
-
RISK_HIGH
public static final DataRiskLevel.DataRiskLevelScore RISK_HIGH
High risk – SPII may be present. Access controls may include public ACLs. Exfiltration of data may lead to user data loss. Re-identification of users may be possible. Consider limiting usage and or removing SPII.
RISK_HIGH = 30;
-
UNRECOGNIZED
public static final DataRiskLevel.DataRiskLevelScore UNRECOGNIZED
-
-
Field Detail
-
RISK_SCORE_UNSPECIFIED_VALUE
public static final int RISK_SCORE_UNSPECIFIED_VALUE
Unused.
RISK_SCORE_UNSPECIFIED = 0;- See Also:
- Constant Field Values
-
RISK_LOW_VALUE
public static final int RISK_LOW_VALUE
Low risk - Lower indication of sensitive data that appears to have additional access restrictions in place or no indication of sensitive data found.
RISK_LOW = 10;- See Also:
- Constant Field Values
-
RISK_MODERATE_VALUE
public static final int RISK_MODERATE_VALUE
Medium risk - Sensitive data may be present but additional access or fine grain access restrictions appear to be present. Consider limiting access even further or transform data to mask.
RISK_MODERATE = 20;- See Also:
- Constant Field Values
-
RISK_HIGH_VALUE
public static final int RISK_HIGH_VALUE
High risk – SPII may be present. Access controls may include public ACLs. Exfiltration of data may lead to user data loss. Re-identification of users may be possible. Consider limiting usage and or removing SPII.
RISK_HIGH = 30;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static DataRiskLevel.DataRiskLevelScore[] 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 (DataRiskLevel.DataRiskLevelScore c : DataRiskLevel.DataRiskLevelScore.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DataRiskLevel.DataRiskLevelScore 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 DataRiskLevel.DataRiskLevelScore 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 DataRiskLevel.DataRiskLevelScore 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<DataRiskLevel.DataRiskLevelScore> 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 DataRiskLevel.DataRiskLevelScore 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
-
-