Class PrimitiveTransformation.Builder (3.50.0)

public static final class PrimitiveTransformation.Builder extends GeneratedMessageV3.Builder<PrimitiveTransformation.Builder> implements PrimitiveTransformationOrBuilder

A rule for transforming a value.

Protobuf type google.privacy.dlp.v2.PrimitiveTransformation

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PrimitiveTransformation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PrimitiveTransformation.Builder
Overrides

build()

public PrimitiveTransformation build()
Returns
Type Description
PrimitiveTransformation

buildPartial()

public PrimitiveTransformation buildPartial()
Returns
Type Description
PrimitiveTransformation

clear()

public PrimitiveTransformation.Builder clear()
Returns
Type Description
PrimitiveTransformation.Builder
Overrides

clearBucketingConfig()

public PrimitiveTransformation.Builder clearBucketingConfig()

Bucketing

.google.privacy.dlp.v2.BucketingConfig bucketing_config = 6;

Returns
Type Description
PrimitiveTransformation.Builder

clearCharacterMaskConfig()

public PrimitiveTransformation.Builder clearCharacterMaskConfig()

Mask

.google.privacy.dlp.v2.CharacterMaskConfig character_mask_config = 3;

Returns
Type Description
PrimitiveTransformation.Builder

clearCryptoDeterministicConfig()

public PrimitiveTransformation.Builder clearCryptoDeterministicConfig()

Deterministic Crypto

.google.privacy.dlp.v2.CryptoDeterministicConfig crypto_deterministic_config = 12;

Returns
Type Description
PrimitiveTransformation.Builder

clearCryptoHashConfig()

public PrimitiveTransformation.Builder clearCryptoHashConfig()

Crypto

.google.privacy.dlp.v2.CryptoHashConfig crypto_hash_config = 9;

Returns
Type Description
PrimitiveTransformation.Builder

clearCryptoReplaceFfxFpeConfig()

public PrimitiveTransformation.Builder clearCryptoReplaceFfxFpeConfig()

Ffx-Fpe

.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig crypto_replace_ffx_fpe_config = 4;

Returns
Type Description
PrimitiveTransformation.Builder

clearDateShiftConfig()

public PrimitiveTransformation.Builder clearDateShiftConfig()

Date Shift

.google.privacy.dlp.v2.DateShiftConfig date_shift_config = 11;

Returns
Type Description
PrimitiveTransformation.Builder

clearField(Descriptors.FieldDescriptor field)

public PrimitiveTransformation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
PrimitiveTransformation.Builder
Overrides

clearFixedSizeBucketingConfig()

public PrimitiveTransformation.Builder clearFixedSizeBucketingConfig()

Fixed size bucketing

.google.privacy.dlp.v2.FixedSizeBucketingConfig fixed_size_bucketing_config = 5;

Returns
Type Description
PrimitiveTransformation.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public PrimitiveTransformation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof