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 and Description |
|---|
CONTEXTUAL_INFORMATION
Information that is not sensitive on its own, but provides details about
the circumstances surrounding an entity or an event.
|
CREDENTIAL
Confidential or secret information, for example, a password.
|
DEMOGRAPHIC
Attributes that can partially identify someone, especially in
combination with other attributes, like age, height, and gender.
|
DOCUMENT
A document, for example, a resume or source code.
|
GOVERNMENT_ID
An identification document issued by a government.
|
PII
Personally identifiable information, for example, a
name or phone number
|
SPII
Personally identifiable information that is especially sensitive, for
example, a passport number.
|
TYPE_UNSPECIFIED
Unused type
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
CONTEXTUAL_INFORMATION_VALUE
Information that is not sensitive on its own, but provides details about
the circumstances surrounding an entity or an event.
|
static int |
CREDENTIAL_VALUE
Confidential or secret information, for example, a password.
|
static int |
DEMOGRAPHIC_VALUE
Attributes that can partially identify someone, especially in
combination with other attributes, like age, height, and gender.
|
static int |
DOCUMENT_VALUE
A document, for example, a resume or source code.
|
static int |
GOVERNMENT_ID_VALUE
An identification document issued by a government.
|
static int |
PII_VALUE
Personally identifiable information, for example, a
name or phone number
|
static int |
SPII_VALUE
Personally identifiable information that is especially sensitive, for
example, a passport number.
|
static int |
TYPE_UNSPECIFIED_VALUE
Unused type
|
| Modifier and Type | Method and Description |
|---|---|
static InfoTypeCategory.TypeCategory |
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<InfoTypeCategory.TypeCategory> |
internalGetValueMap() |
static InfoTypeCategory.TypeCategory |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static InfoTypeCategory.TypeCategory |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static InfoTypeCategory.TypeCategory |
valueOf(String 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.
|
public static final InfoTypeCategory.TypeCategory TYPE_UNSPECIFIED
Unused type
TYPE_UNSPECIFIED = 0;public static final InfoTypeCategory.TypeCategory PII
Personally identifiable information, for example, a name or phone number
PII = 1;public static final InfoTypeCategory.TypeCategory SPII
Personally identifiable information that is especially sensitive, for example, a passport number.
SPII = 2;public static final InfoTypeCategory.TypeCategory DEMOGRAPHIC
Attributes that can partially identify someone, especially in combination with other attributes, like age, height, and gender.
DEMOGRAPHIC = 3;public static final InfoTypeCategory.TypeCategory CREDENTIAL
Confidential or secret information, for example, a password.
CREDENTIAL = 4;public static final InfoTypeCategory.TypeCategory GOVERNMENT_ID
An identification document issued by a government.
GOVERNMENT_ID = 5;public static final InfoTypeCategory.TypeCategory DOCUMENT
A document, for example, a resume or source code.
DOCUMENT = 6;public static final InfoTypeCategory.TypeCategory 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;public static final InfoTypeCategory.TypeCategory UNRECOGNIZED
public static final int TYPE_UNSPECIFIED_VALUE
Unused type
TYPE_UNSPECIFIED = 0;public static final int PII_VALUE
Personally identifiable information, for example, a name or phone number
PII = 1;public static final int SPII_VALUE
Personally identifiable information that is especially sensitive, for example, a passport number.
SPII = 2;public static final int DEMOGRAPHIC_VALUE
Attributes that can partially identify someone, especially in combination with other attributes, like age, height, and gender.
DEMOGRAPHIC = 3;public static final int CREDENTIAL_VALUE
Confidential or secret information, for example, a password.
CREDENTIAL = 4;public static final int GOVERNMENT_ID_VALUE
An identification document issued by a government.
GOVERNMENT_ID = 5;public static final int DOCUMENT_VALUE
A document, for example, a resume or source code.
DOCUMENT = 6;public static final int CONTEXTUAL_INFORMATION_VALUE
Information that is not sensitive on its own, but provides details about the circumstances surrounding an entity or an event.
CONTEXTUAL_INFORMATION = 7;public static InfoTypeCategory.TypeCategory[] values()
for (InfoTypeCategory.TypeCategory c : InfoTypeCategory.TypeCategory.values()) System.out.println(c);
public static InfoTypeCategory.TypeCategory valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static InfoTypeCategory.TypeCategory valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static InfoTypeCategory.TypeCategory forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<InfoTypeCategory.TypeCategory> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static InfoTypeCategory.TypeCategory valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.