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 and Description |
|---|
BUCKETING
Bucketing
|
CHARACTER_MASK
Character mask
|
CRYPTO_DETERMINISTIC_CONFIG
Deterministic crypto
|
CRYPTO_HASH
Crypto hash
|
CRYPTO_REPLACE_FFX_FPE
FFX-FPE
|
DATE_SHIFT
Date shift
|
FIXED_SIZE_BUCKETING
Fixed size bucketing
|
RECORD_SUPPRESSION
Record suppression
|
REDACT
Redact
|
REDACT_IMAGE
Redact image
|
REPLACE_DICTIONARY
Replace value using a dictionary.
|
REPLACE_VALUE
Replace value
|
REPLACE_WITH_INFO_TYPE
Replace with info type
|
TIME_PART
Time part
|
TRANSFORMATION_TYPE_UNSPECIFIED
Unused
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
BUCKETING_VALUE
Bucketing
|
static int |
CHARACTER_MASK_VALUE
Character mask
|
static int |
CRYPTO_DETERMINISTIC_CONFIG_VALUE
Deterministic crypto
|
static int |
CRYPTO_HASH_VALUE
Crypto hash
|
static int |
CRYPTO_REPLACE_FFX_FPE_VALUE
FFX-FPE
|
static int |
DATE_SHIFT_VALUE
Date shift
|
static int |
FIXED_SIZE_BUCKETING_VALUE
Fixed size bucketing
|
static int |
RECORD_SUPPRESSION_VALUE
Record suppression
|
static int |
REDACT_IMAGE_VALUE
Redact image
|
static int |
REDACT_VALUE
Redact
|
static int |
REPLACE_DICTIONARY_VALUE
Replace value using a dictionary.
|
static int |
REPLACE_VALUE_VALUE
Replace value
|
static int |
REPLACE_WITH_INFO_TYPE_VALUE
Replace with info type
|
static int |
TIME_PART_VALUE
Time part
|
static int |
TRANSFORMATION_TYPE_UNSPECIFIED_VALUE
Unused
|
| Modifier and Type | Method and Description |
|---|---|
static TransformationType |
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<TransformationType> |
internalGetValueMap() |
static TransformationType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static TransformationType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static TransformationType |
valueOf(String name)
Returns 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.
|
public static final TransformationType TRANSFORMATION_TYPE_UNSPECIFIED
Unused
TRANSFORMATION_TYPE_UNSPECIFIED = 0;public static final TransformationType RECORD_SUPPRESSION
Record suppression
RECORD_SUPPRESSION = 1;public static final TransformationType REPLACE_VALUE
Replace value
REPLACE_VALUE = 2;public static final TransformationType REPLACE_DICTIONARY
Replace value using a dictionary.
REPLACE_DICTIONARY = 15;public static final TransformationType REDACT
Redact
REDACT = 3;public static final TransformationType CHARACTER_MASK
Character mask
CHARACTER_MASK = 4;public static final TransformationType CRYPTO_REPLACE_FFX_FPE
FFX-FPE
CRYPTO_REPLACE_FFX_FPE = 5;public static final TransformationType FIXED_SIZE_BUCKETING
Fixed size bucketing
FIXED_SIZE_BUCKETING = 6;public static final TransformationType BUCKETING
Bucketing
BUCKETING = 7;public static final TransformationType REPLACE_WITH_INFO_TYPE
Replace with info type
REPLACE_WITH_INFO_TYPE = 8;public static final TransformationType TIME_PART
Time part
TIME_PART = 9;public static final TransformationType CRYPTO_HASH
Crypto hash
CRYPTO_HASH = 10;public static final TransformationType DATE_SHIFT
Date shift
DATE_SHIFT = 12;public static final TransformationType CRYPTO_DETERMINISTIC_CONFIG
Deterministic crypto
CRYPTO_DETERMINISTIC_CONFIG = 13;public static final TransformationType REDACT_IMAGE
Redact image
REDACT_IMAGE = 14;public static final TransformationType UNRECOGNIZED
public static final int TRANSFORMATION_TYPE_UNSPECIFIED_VALUE
Unused
TRANSFORMATION_TYPE_UNSPECIFIED = 0;public static final int RECORD_SUPPRESSION_VALUE
Record suppression
RECORD_SUPPRESSION = 1;public static final int REPLACE_VALUE_VALUE
Replace value
REPLACE_VALUE = 2;public static final int REPLACE_DICTIONARY_VALUE
Replace value using a dictionary.
REPLACE_DICTIONARY = 15;public static final int REDACT_VALUE
Redact
REDACT = 3;public static final int CHARACTER_MASK_VALUE
Character mask
CHARACTER_MASK = 4;public static final int CRYPTO_REPLACE_FFX_FPE_VALUE
FFX-FPE
CRYPTO_REPLACE_FFX_FPE = 5;public static final int FIXED_SIZE_BUCKETING_VALUE
Fixed size bucketing
FIXED_SIZE_BUCKETING = 6;public static final int BUCKETING_VALUE
Bucketing
BUCKETING = 7;public static final int REPLACE_WITH_INFO_TYPE_VALUE
Replace with info type
REPLACE_WITH_INFO_TYPE = 8;public static final int TIME_PART_VALUE
Time part
TIME_PART = 9;public static final int CRYPTO_HASH_VALUE
Crypto hash
CRYPTO_HASH = 10;public static final int DATE_SHIFT_VALUE
Date shift
DATE_SHIFT = 12;public static final int CRYPTO_DETERMINISTIC_CONFIG_VALUE
Deterministic crypto
CRYPTO_DETERMINISTIC_CONFIG = 13;public static final int REDACT_IMAGE_VALUE
Redact image
REDACT_IMAGE = 14;public static TransformationType[] values()
for (TransformationType c : TransformationType.values()) System.out.println(c);
public static TransformationType 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 TransformationType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static TransformationType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<TransformationType> 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 TransformationType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.