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 Details

    • TYPE_UNSPECIFIED

      public static final InfoTypeCategory.TypeCategory TYPE_UNSPECIFIED
       Unused type
       
      TYPE_UNSPECIFIED = 0;
    • PII

      public static final InfoTypeCategory.TypeCategory PII
       Personally identifiable information, for example, a
       name or phone number
       
      PII = 1;
    • SPII

      public static final InfoTypeCategory.TypeCategory SPII
       Personally identifiable information that is especially sensitive, for
       example, a passport number.
       
      SPII = 2;
    • DEMOGRAPHIC

      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;
    • CREDENTIAL

      public static final InfoTypeCategory.TypeCategory CREDENTIAL
       Confidential or secret information, for example, a password.
       
      CREDENTIAL = 4;
    • GOVERNMENT_ID

      public static final InfoTypeCategory.TypeCategory GOVERNMENT_ID
       An identification document issued by a government.
       
      GOVERNMENT_ID = 5;
    • DOCUMENT

      public static final InfoTypeCategory.TypeCategory DOCUMENT
       A document, for example, a resume or source code.
       
      DOCUMENT = 6;
    • CONTEXTUAL_INFORMATION

      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;
    • CUSTOM

      public static final InfoTypeCategory.TypeCategory CUSTOM
       Category for `CustomInfoType` types.
       
      CUSTOM = 8;
    • UNRECOGNIZED

      public static final InfoTypeCategory.TypeCategory UNRECOGNIZED
  • Field Details

    • TYPE_UNSPECIFIED_VALUE

      public static final int TYPE_UNSPECIFIED_VALUE
       Unused type
       
      TYPE_UNSPECIFIED = 0;
      See Also:
    • PII_VALUE

      public static final int PII_VALUE
       Personally identifiable information, for example, a
       name or phone number
       
      PII = 1;
      See Also:
    • SPII_VALUE

      public static final int SPII_VALUE
       Personally identifiable information that is especially sensitive, for
       example, a passport number.
       
      SPII = 2;
      See Also:
    • DEMOGRAPHIC_VALUE

      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;
      See Also:
    • CREDENTIAL_VALUE

      public static final int CREDENTIAL_VALUE
       Confidential or secret information, for example, a password.
       
      CREDENTIAL = 4;
      See Also:
    • GOVERNMENT_ID_VALUE

      public static final int GOVERNMENT_ID_VALUE
       An identification document issued by a government.
       
      GOVERNMENT_ID = 5;
      See Also:
    • DOCUMENT_VALUE

      public static final int DOCUMENT_VALUE
       A document, for example, a resume or source code.
       
      DOCUMENT = 6;
      See Also:
    • CONTEXTUAL_INFORMATION_VALUE

      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;
      See Also:
    • CUSTOM_VALUE

      public static final int CUSTOM_VALUE
       Category for `CustomInfoType` types.
       
      CUSTOM = 8;
      See Also:
  • Method Details

    • values

      public static InfoTypeCategory.TypeCategory[] 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

      public static InfoTypeCategory.TypeCategory 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 name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static InfoTypeCategory.TypeCategory 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 name
      NullPointerException - if the argument is null
    • forNumber

      public static InfoTypeCategory.TypeCategory 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<InfoTypeCategory.TypeCategory> internalGetValueMap()
    • getValueDescriptor

      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
      Specified by:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.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 name
      NullPointerException - if the argument is null