Package com.google.privacy.dlp.v2
Enum InfoTypeCategory.TypeCategory
java.lang.Object
java.lang.Enum<InfoTypeCategory.TypeCategory>
com.google.privacy.dlp.v2.InfoTypeCategory.TypeCategory
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<InfoTypeCategory.TypeCategory>
- Enclosing class:
- InfoTypeCategory
public static enum InfoTypeCategory.TypeCategory
extends Enum<InfoTypeCategory.TypeCategory>
implements com.google.protobuf.ProtocolMessageEnum
Enum of the current types in the category. We might add more types in the future.Protobuf enum
google.privacy.dlp.v2.InfoTypeCategory.TypeCategory-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionInformation that is not sensitive on its own, but provides details about the circumstances surrounding an entity or an event.Confidential or secret information, for example, a password.Category for `CustomInfoType` types.Attributes that can partially identify someone, especially in combination with other attributes, like age, height, and gender.A document, for example, a resume or source code.An identification document issued by a government.Personally identifiable information, for example, a name or phone numberPersonally identifiable information that is especially sensitive, for example, a passport number.Unused type -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intInformation that is not sensitive on its own, but provides details about the circumstances surrounding an entity or an event.static final intConfidential or secret information, for example, a password.static final intCategory for `CustomInfoType` types.static final intAttributes that can partially identify someone, especially in combination with other attributes, like age, height, and gender.static final intA document, for example, a resume or source code.static final intAn identification document issued by a government.static final intPersonally identifiable information, for example, a name or phone numberstatic final intPersonally identifiable information that is especially sensitive, for example, a passport number.static final intUnused type -
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<InfoTypeCategory.TypeCategory>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.static InfoTypeCategory.TypeCategory[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
TYPE_UNSPECIFIED
Unused type
TYPE_UNSPECIFIED = 0; -
PII
Personally identifiable information, for example, a name or phone number
PII = 1; -
SPII
Personally identifiable information that is especially sensitive, for example, a passport number.
SPII = 2; -
DEMOGRAPHIC
Attributes that can partially identify someone, especially in combination with other attributes, like age, height, and gender.
DEMOGRAPHIC = 3; -
CREDENTIAL
Confidential or secret information, for example, a password.
CREDENTIAL = 4; -
GOVERNMENT_ID
An identification document issued by a government.
GOVERNMENT_ID = 5; -
DOCUMENT
A document, for example, a resume or source code.
DOCUMENT = 6; -
CONTEXTUAL_INFORMATION
Information that is not sensitive on its own, but provides details about the circumstances surrounding an entity or an event.
CONTEXTUAL_INFORMATION = 7; -
CUSTOM
Category for `CustomInfoType` types.
CUSTOM = 8; -
UNRECOGNIZED
-
-
Field Details
-
TYPE_UNSPECIFIED_VALUE
public static final int TYPE_UNSPECIFIED_VALUEUnused type
TYPE_UNSPECIFIED = 0;- See Also:
-
PII_VALUE
public static final int PII_VALUEPersonally identifiable information, for example, a name or phone number
PII = 1;- See Also:
-
SPII_VALUE
public static final int SPII_VALUEPersonally identifiable information that is especially sensitive, for example, a passport number.
SPII = 2;- See Also:
-
DEMOGRAPHIC_VALUE
public static final int DEMOGRAPHIC_VALUEAttributes that can partially identify someone, especially in combination with other attributes, like age, height, and gender.
DEMOGRAPHIC = 3;- See Also:
-
CREDENTIAL_VALUE
public static final int CREDENTIAL_VALUEConfidential or secret information, for example, a password.
CREDENTIAL = 4;- See Also:
-
GOVERNMENT_ID_VALUE
public static final int GOVERNMENT_ID_VALUEAn identification document issued by a government.
GOVERNMENT_ID = 5;- See Also:
-
DOCUMENT_VALUE
public static final int DOCUMENT_VALUEA document, for example, a resume or source code.
DOCUMENT = 6;- See Also:
-
CONTEXTUAL_INFORMATION_VALUE
public static final int CONTEXTUAL_INFORMATION_VALUEInformation that is not sensitive on its own, but provides details about the circumstances surrounding an entity or an event.
CONTEXTUAL_INFORMATION = 7;- See Also:
-
CUSTOM_VALUE
public static final int CUSTOM_VALUECategory for `CustomInfoType` types.
CUSTOM = 8;- 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<InfoTypeCategory.TypeCategory> 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 InfoTypeCategory.TypeCategory 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
-