Package com.google.privacy.dlp.v2
Enum 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 Summary
Enum ConstantsEnum ConstantDescriptionBucketingCharacter maskDeterministic cryptoCrypto hashFFX-FPEDate shiftFixed size bucketingRecord suppressionRedactRedact imageReplace value using a dictionary.Replace valueReplace with info typeTime partUnused -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intBucketingstatic final intCharacter maskstatic final intDeterministic cryptostatic final intCrypto hashstatic final intFFX-FPEstatic final intDate shiftstatic final intFixed size bucketingstatic final intRecord suppressionstatic final intRedact imagestatic final intRedactstatic final intReplace value using a dictionary.static final intReplace valuestatic final intReplace with info typestatic final intTime partstatic final intUnused -
Method Summary
Modifier and TypeMethodDescriptionstatic TransformationTypeforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<TransformationType>static TransformationTypevalueOf(int value) Deprecated.static TransformationTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static TransformationTypeReturns the enum constant of this type with the specified name.static TransformationType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
TRANSFORMATION_TYPE_UNSPECIFIED
Unused
TRANSFORMATION_TYPE_UNSPECIFIED = 0; -
RECORD_SUPPRESSION
Record suppression
RECORD_SUPPRESSION = 1; -
REPLACE_VALUE
Replace value
REPLACE_VALUE = 2; -
REPLACE_DICTIONARY
Replace value using a dictionary.
REPLACE_DICTIONARY = 15; -
REDACT
Redact
REDACT = 3; -
CHARACTER_MASK
Character mask
CHARACTER_MASK = 4; -
CRYPTO_REPLACE_FFX_FPE
FFX-FPE
CRYPTO_REPLACE_FFX_FPE = 5; -
FIXED_SIZE_BUCKETING
Fixed size bucketing
FIXED_SIZE_BUCKETING = 6; -
BUCKETING
Bucketing
BUCKETING = 7; -
REPLACE_WITH_INFO_TYPE
Replace with info type
REPLACE_WITH_INFO_TYPE = 8; -
TIME_PART
Time part
TIME_PART = 9; -
CRYPTO_HASH
Crypto hash
CRYPTO_HASH = 10; -
DATE_SHIFT
Date shift
DATE_SHIFT = 12; -
CRYPTO_DETERMINISTIC_CONFIG
Deterministic crypto
CRYPTO_DETERMINISTIC_CONFIG = 13; -
REDACT_IMAGE
Redact image
REDACT_IMAGE = 14; -
UNRECOGNIZED
-
-
Field Details
-
TRANSFORMATION_TYPE_UNSPECIFIED_VALUE
public static final int TRANSFORMATION_TYPE_UNSPECIFIED_VALUEUnused
TRANSFORMATION_TYPE_UNSPECIFIED = 0;- See Also:
-
RECORD_SUPPRESSION_VALUE
public static final int RECORD_SUPPRESSION_VALUERecord suppression
RECORD_SUPPRESSION = 1;- See Also:
-
REPLACE_VALUE_VALUE
public static final int REPLACE_VALUE_VALUEReplace value
REPLACE_VALUE = 2;- See Also:
-
REPLACE_DICTIONARY_VALUE
public static final int REPLACE_DICTIONARY_VALUEReplace value using a dictionary.
REPLACE_DICTIONARY = 15;- See Also:
-
REDACT_VALUE
public static final int REDACT_VALUERedact
REDACT = 3;- See Also:
-
CHARACTER_MASK_VALUE
public static final int CHARACTER_MASK_VALUECharacter mask
CHARACTER_MASK = 4;- See Also:
-
CRYPTO_REPLACE_FFX_FPE_VALUE
public static final int CRYPTO_REPLACE_FFX_FPE_VALUEFFX-FPE
CRYPTO_REPLACE_FFX_FPE = 5;- See Also:
-
FIXED_SIZE_BUCKETING_VALUE
public static final int FIXED_SIZE_BUCKETING_VALUEFixed size bucketing
FIXED_SIZE_BUCKETING = 6;- See Also:
-
BUCKETING_VALUE
public static final int BUCKETING_VALUEBucketing
BUCKETING = 7;- See Also:
-
REPLACE_WITH_INFO_TYPE_VALUE
public static final int REPLACE_WITH_INFO_TYPE_VALUEReplace with info type
REPLACE_WITH_INFO_TYPE = 8;- See Also:
-
TIME_PART_VALUE
public static final int TIME_PART_VALUETime part
TIME_PART = 9;- See Also:
-
CRYPTO_HASH_VALUE
public static final int CRYPTO_HASH_VALUECrypto hash
CRYPTO_HASH = 10;- See Also:
-
DATE_SHIFT_VALUE
public static final int DATE_SHIFT_VALUEDate shift
DATE_SHIFT = 12;- See Also:
-
CRYPTO_DETERMINISTIC_CONFIG_VALUE
public static final int CRYPTO_DETERMINISTIC_CONFIG_VALUEDeterministic crypto
CRYPTO_DETERMINISTIC_CONFIG = 13;- See Also:
-
REDACT_IMAGE_VALUE
public static final int REDACT_IMAGE_VALUERedact image
REDACT_IMAGE = 14;- 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
-
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
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
-