Enum TransformationType

java.lang.Object
java.lang.Enum<TransformationType>
com.google.privacy.dlp.v2.TransformationType
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<TransformationType>

@Generated public enum TransformationType extends Enum<TransformationType> implements com.google.protobuf.ProtocolMessageEnum
 An enum of rules that can be used to transform a value. Can be a
 record suppression, or one of the transformation rules specified under
 `PrimitiveTransformation`.
 
Protobuf enum google.privacy.dlp.v2.TransformationType
  • Enum Constant Details

    • TRANSFORMATION_TYPE_UNSPECIFIED

      public static final TransformationType TRANSFORMATION_TYPE_UNSPECIFIED
       Unused
       
      TRANSFORMATION_TYPE_UNSPECIFIED = 0;
    • RECORD_SUPPRESSION

      public static final TransformationType RECORD_SUPPRESSION
       Record suppression
       
      RECORD_SUPPRESSION = 1;
    • REPLACE_VALUE

      public static final TransformationType REPLACE_VALUE
       Replace value
       
      REPLACE_VALUE = 2;
    • REPLACE_DICTIONARY

      public static final TransformationType REPLACE_DICTIONARY
       Replace value using a dictionary.
       
      REPLACE_DICTIONARY = 15;
    • REDACT

      public static final TransformationType REDACT
       Redact
       
      REDACT = 3;
    • CHARACTER_MASK

      public static final TransformationType CHARACTER_MASK
       Character mask
       
      CHARACTER_MASK = 4;
    • CRYPTO_REPLACE_FFX_FPE

      public static final TransformationType CRYPTO_REPLACE_FFX_FPE
       FFX-FPE
       
      CRYPTO_REPLACE_FFX_FPE = 5;
    • FIXED_SIZE_BUCKETING

      public static final TransformationType FIXED_SIZE_BUCKETING
       Fixed size bucketing
       
      FIXED_SIZE_BUCKETING = 6;
    • BUCKETING

      public static final TransformationType BUCKETING
       Bucketing
       
      BUCKETING = 7;
    • REPLACE_WITH_INFO_TYPE

      public static final TransformationType REPLACE_WITH_INFO_TYPE
       Replace with info type
       
      REPLACE_WITH_INFO_TYPE = 8;
    • TIME_PART

      public static final TransformationType TIME_PART
       Time part
       
      TIME_PART = 9;
    • CRYPTO_HASH

      public static final TransformationType CRYPTO_HASH
       Crypto hash
       
      CRYPTO_HASH = 10;
    • DATE_SHIFT

      public static final TransformationType DATE_SHIFT
       Date shift
       
      DATE_SHIFT = 12;
    • CRYPTO_DETERMINISTIC_CONFIG

      public static final TransformationType CRYPTO_DETERMINISTIC_CONFIG
       Deterministic crypto
       
      CRYPTO_DETERMINISTIC_CONFIG = 13;
    • REDACT_IMAGE

      public static final TransformationType REDACT_IMAGE
       Redact image
       
      REDACT_IMAGE = 14;
    • UNRECOGNIZED

      public static final TransformationType UNRECOGNIZED
  • Field Details

    • TRANSFORMATION_TYPE_UNSPECIFIED_VALUE

      public static final int TRANSFORMATION_TYPE_UNSPECIFIED_VALUE
       Unused
       
      TRANSFORMATION_TYPE_UNSPECIFIED = 0;
      See Also:
    • RECORD_SUPPRESSION_VALUE

      public static final int RECORD_SUPPRESSION_VALUE
       Record suppression
       
      RECORD_SUPPRESSION = 1;
      See Also:
    • REPLACE_VALUE_VALUE

      public static final int REPLACE_VALUE_VALUE
       Replace value
       
      REPLACE_VALUE = 2;
      See Also:
    • REPLACE_DICTIONARY_VALUE

      public static final int REPLACE_DICTIONARY_VALUE
       Replace value using a dictionary.
       
      REPLACE_DICTIONARY = 15;
      See Also:
    • REDACT_VALUE

      public static final int REDACT_VALUE
       Redact
       
      REDACT = 3;
      See Also:
    • CHARACTER_MASK_VALUE

      public static final int CHARACTER_MASK_VALUE
       Character mask
       
      CHARACTER_MASK = 4;
      See Also:
    • CRYPTO_REPLACE_FFX_FPE_VALUE

      public static final int CRYPTO_REPLACE_FFX_FPE_VALUE
       FFX-FPE
       
      CRYPTO_REPLACE_FFX_FPE = 5;
      See Also:
    • FIXED_SIZE_BUCKETING_VALUE

      public static final int FIXED_SIZE_BUCKETING_VALUE
       Fixed size bucketing
       
      FIXED_SIZE_BUCKETING = 6;
      See Also:
    • BUCKETING_VALUE

      public static final int BUCKETING_VALUE
       Bucketing
       
      BUCKETING = 7;
      See Also:
    • REPLACE_WITH_INFO_TYPE_VALUE

      public static final int REPLACE_WITH_INFO_TYPE_VALUE
       Replace with info type
       
      REPLACE_WITH_INFO_TYPE = 8;
      See Also:
    • TIME_PART_VALUE

      public static final int TIME_PART_VALUE
       Time part
       
      TIME_PART = 9;
      See Also:
    • CRYPTO_HASH_VALUE

      public static final int CRYPTO_HASH_VALUE
       Crypto hash
       
      CRYPTO_HASH = 10;
      See Also:
    • DATE_SHIFT_VALUE

      public static final int DATE_SHIFT_VALUE
       Date shift
       
      DATE_SHIFT = 12;
      See Also:
    • CRYPTO_DETERMINISTIC_CONFIG_VALUE

      public static final int CRYPTO_DETERMINISTIC_CONFIG_VALUE
       Deterministic crypto
       
      CRYPTO_DETERMINISTIC_CONFIG = 13;
      See Also:
    • REDACT_IMAGE_VALUE

      public static final int REDACT_IMAGE_VALUE
       Redact image
       
      REDACT_IMAGE = 14;
      See Also:
  • Method Details

    • values

      public static TransformationType[] 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 TransformationType 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 TransformationType 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 TransformationType 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<TransformationType> 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 TransformationType 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