Class PrimitiveTransformation.Builder (3.48.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 OneofDescriptor
Returns
Type Description
PrimitiveTransformation.Builder
Overrides

clearRedactConfig()

public PrimitiveTransformation.Builder clearRedactConfig()

Redact

.google.privacy.dlp.v2.RedactConfig redact_config = 2;

Returns
Type Description
PrimitiveTransformation.Builder

clearReplaceConfig()

public PrimitiveTransformation.Builder clearReplaceConfig()

Replace with a specified value.

.google.privacy.dlp.v2.ReplaceValueConfig replace_config = 1;

Returns
Type Description
PrimitiveTransformation.Builder

clearReplaceDictionaryConfig()

public PrimitiveTransformation.Builder clearReplaceDictionaryConfig()

Replace with a value randomly drawn (with replacement) from a dictionary.

.google.privacy.dlp.v2.ReplaceDictionaryConfig replace_dictionary_config = 13;

Returns
Type Description
PrimitiveTransformation.Builder

clearReplaceWithInfoTypeConfig()

public PrimitiveTransformation.Builder clearReplaceWithInfoTypeConfig()

Replace with infotype

.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig replace_with_info_type_config = 7;

Returns
Type Description
PrimitiveTransformation.Builder

clearTimePartConfig()

public PrimitiveTransformation.Builder clearTimePartConfig()

Time extraction

.google.privacy.dlp.v2.TimePartConfig time_part_config = 8;

Returns
Type Description
PrimitiveTransformation.Builder

clearTransformation()

public PrimitiveTransformation.Builder clearTransformation()
Returns
Type Description
PrimitiveTransformation.Builder

clone()

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

getBucketingConfig()

public BucketingConfig getBucketingConfig()

Bucketing

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

Returns
Type Description
BucketingConfig

The bucketingConfig.

getBucketingConfigBuilder()

public BucketingConfig.Builder getBucketingConfigBuilder()

Bucketing

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

Returns
Type Description
BucketingConfig.Builder

getBucketingConfigOrBuilder()

public BucketingConfigOrBuilder getBucketingConfigOrBuilder()

Bucketing

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

Returns
Type Description
BucketingConfigOrBuilder

getCharacterMaskConfig()

public CharacterMaskConfig getCharacterMaskConfig()

Mask

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

Returns
Type Description
CharacterMaskConfig

The characterMaskConfig.

getCharacterMaskConfigBuilder()

public CharacterMaskConfig.Builder getCharacterMaskConfigBuilder()

Mask

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

Returns
Type Description
CharacterMaskConfig.Builder

getCharacterMaskConfigOrBuilder()

public CharacterMaskConfigOrBuilder getCharacterMaskConfigOrBuilder()

Mask

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

Returns
Type Description
CharacterMaskConfigOrBuilder

getCryptoDeterministicConfig()

public CryptoDeterministicConfig getCryptoDeterministicConfig()

Deterministic Crypto

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

Returns
Type Description
CryptoDeterministicConfig

The cryptoDeterministicConfig.

getCryptoDeterministicConfigBuilder()

public CryptoDeterministicConfig.Builder getCryptoDeterministicConfigBuilder()

Deterministic Crypto

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

Returns
Type Description
CryptoDeterministicConfig.Builder

getCryptoDeterministicConfigOrBuilder()

public CryptoDeterministicConfigOrBuilder getCryptoDeterministicConfigOrBuilder()

Deterministic Crypto

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

Returns
Type Description
CryptoDeterministicConfigOrBuilder

getCryptoHashConfig()

public CryptoHashConfig getCryptoHashConfig()

Crypto

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

Returns
Type Description
CryptoHashConfig

The cryptoHashConfig.

getCryptoHashConfigBuilder()

public CryptoHashConfig.Builder getCryptoHashConfigBuilder()

Crypto

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

Returns
Type Description
CryptoHashConfig.Builder

getCryptoHashConfigOrBuilder()

public CryptoHashConfigOrBuilder getCryptoHashConfigOrBuilder()

Crypto

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

Returns
Type Description
CryptoHashConfigOrBuilder

getCryptoReplaceFfxFpeConfig()

public CryptoReplaceFfxFpeConfig getCryptoReplaceFfxFpeConfig()

Ffx-Fpe

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

Returns
Type Description
CryptoReplaceFfxFpeConfig

The cryptoReplaceFfxFpeConfig.

getCryptoReplaceFfxFpeConfigBuilder()

public CryptoReplaceFfxFpeConfig.Builder getCryptoReplaceFfxFpeConfigBuilder()

Ffx-Fpe

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

Returns
Type Description
CryptoReplaceFfxFpeConfig.Builder

getCryptoReplaceFfxFpeConfigOrBuilder()

public CryptoReplaceFfxFpeConfigOrBuilder getCryptoReplaceFfxFpeConfigOrBuilder()

Ffx-Fpe

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

Returns
Type Description
CryptoReplaceFfxFpeConfigOrBuilder

getDateShiftConfig()

public DateShiftConfig getDateShiftConfig()

Date Shift

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

Returns
Type Description
DateShiftConfig

The dateShiftConfig.

getDateShiftConfigBuilder()

public DateShiftConfig.Builder getDateShiftConfigBuilder()

Date Shift

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

Returns
Type Description
DateShiftConfig.Builder

getDateShiftConfigOrBuilder()

public DateShiftConfigOrBuilder getDateShiftConfigOrBuilder()

Date Shift

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

Returns
Type Description
DateShiftConfigOrBuilder

getDefaultInstanceForType()

public PrimitiveTransformation getDefaultInstanceForType()
Returns
Type Description
PrimitiveTransformation

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFixedSizeBucketingConfig()

public FixedSizeBucketingConfig getFixedSizeBucketingConfig()

Fixed size bucketing

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

Returns
Type Description
FixedSizeBucketingConfig

The fixedSizeBucketingConfig.

getFixedSizeBucketingConfigBuilder()

public FixedSizeBucketingConfig.Builder getFixedSizeBucketingConfigBuilder()

Fixed size bucketing

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

Returns
Type Description
FixedSizeBucketingConfig.Builder

getFixedSizeBucketingConfigOrBuilder()

public FixedSizeBucketingConfigOrBuilder getFixedSizeBucketingConfigOrBuilder()

Fixed size bucketing

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

Returns
Type Description
FixedSizeBucketingConfigOrBuilder

getRedactConfig()

public RedactConfig getRedactConfig()

Redact

.google.privacy.dlp.v2.RedactConfig redact_config = 2;

Returns
Type Description
RedactConfig

The redactConfig.

getRedactConfigBuilder()

public RedactConfig.Builder getRedactConfigBuilder()

Redact

.google.privacy.dlp.v2.RedactConfig redact_config = 2;

Returns
Type Description
RedactConfig.Builder

getRedactConfigOrBuilder()

public RedactConfigOrBuilder getRedactConfigOrBuilder()

Redact

.google.privacy.dlp.v2.RedactConfig redact_config = 2;

Returns
Type Description
RedactConfigOrBuilder

getReplaceConfig()

public ReplaceValueConfig getReplaceConfig()

Replace with a specified value.

.google.privacy.dlp.v2.ReplaceValueConfig replace_config = 1;

Returns
Type Description
ReplaceValueConfig

The replaceConfig.

getReplaceConfigBuilder()

public ReplaceValueConfig.Builder getReplaceConfigBuilder()

Replace with a specified value.

.google.privacy.dlp.v2.ReplaceValueConfig replace_config = 1;

Returns
Type Description
ReplaceValueConfig.Builder

getReplaceConfigOrBuilder()

public ReplaceValueConfigOrBuilder getReplaceConfigOrBuilder()

Replace with a specified value.

.google.privacy.dlp.v2.ReplaceValueConfig replace_config = 1;

Returns
Type Description
ReplaceValueConfigOrBuilder

getReplaceDictionaryConfig()

public ReplaceDictionaryConfig getReplaceDictionaryConfig()

Replace with a value randomly drawn (with replacement) from a dictionary.

.google.privacy.dlp.v2.ReplaceDictionaryConfig replace_dictionary_config = 13;

Returns
Type Description
ReplaceDictionaryConfig

The replaceDictionaryConfig.

getReplaceDictionaryConfigBuilder()

public ReplaceDictionaryConfig.Builder getReplaceDictionaryConfigBuilder()

Replace with a value randomly drawn (with replacement) from a dictionary.

.google.privacy.dlp.v2.ReplaceDictionaryConfig replace_dictionary_config = 13;

Returns
Type Description
ReplaceDictionaryConfig.Builder

getReplaceDictionaryConfigOrBuilder()

public ReplaceDictionaryConfigOrBuilder getReplaceDictionaryConfigOrBuilder()

Replace with a value randomly drawn (with replacement) from a dictionary.

.google.privacy.dlp.v2.ReplaceDictionaryConfig replace_dictionary_config = 13;

Returns
Type Description
ReplaceDictionaryConfigOrBuilder

getReplaceWithInfoTypeConfig()

public ReplaceWithInfoTypeConfig getReplaceWithInfoTypeConfig()

Replace with infotype

.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig replace_with_info_type_config = 7;

Returns
Type Description
ReplaceWithInfoTypeConfig

The replaceWithInfoTypeConfig.

getReplaceWithInfoTypeConfigBuilder()

public ReplaceWithInfoTypeConfig.Builder getReplaceWithInfoTypeConfigBuilder()

Replace with infotype

.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig replace_with_info_type_config = 7;

Returns
Type Description
ReplaceWithInfoTypeConfig.Builder

getReplaceWithInfoTypeConfigOrBuilder()

public ReplaceWithInfoTypeConfigOrBuilder getReplaceWithInfoTypeConfigOrBuilder()

Replace with infotype

.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig replace_with_info_type_config = 7;

Returns
Type Description
ReplaceWithInfoTypeConfigOrBuilder

getTimePartConfig()

public TimePartConfig getTimePartConfig()

Time extraction

.google.privacy.dlp.v2.TimePartConfig time_part_config = 8;

Returns
Type Description
TimePartConfig

The timePartConfig.

getTimePartConfigBuilder()

public TimePartConfig.Builder getTimePartConfigBuilder()

Time extraction

.google.privacy.dlp.v2.TimePartConfig time_part_config = 8;

Returns
Type Description
TimePartConfig.Builder

getTimePartConfigOrBuilder()

public TimePartConfigOrBuilder getTimePartConfigOrBuilder()

Time extraction

.google.privacy.dlp.v2.TimePartConfig time_part_config = 8;

Returns
Type Description
TimePartConfigOrBuilder

getTransformationCase()

public PrimitiveTransformation.TransformationCase getTransformationCase()
Returns
Type Description
PrimitiveTransformation.TransformationCase

hasBucketingConfig()

public boolean hasBucketingConfig()

Bucketing

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

Returns
Type Description
boolean

Whether the bucketingConfig field is set.

hasCharacterMaskConfig()

public boolean hasCharacterMaskConfig()

Mask

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

Returns
Type Description
boolean

Whether the characterMaskConfig field is set.

hasCryptoDeterministicConfig()

public boolean hasCryptoDeterministicConfig()

Deterministic Crypto

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

Returns
Type Description
boolean

Whether the cryptoDeterministicConfig field is set.

hasCryptoHashConfig()

public boolean hasCryptoHashConfig()

Crypto

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

Returns
Type Description
boolean

Whether the cryptoHashConfig field is set.

hasCryptoReplaceFfxFpeConfig()

public boolean hasCryptoReplaceFfxFpeConfig()

Ffx-Fpe

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

Returns
Type Description
boolean

Whether the cryptoReplaceFfxFpeConfig field is set.

hasDateShiftConfig()

public boolean hasDateShiftConfig()

Date Shift

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

Returns
Type Description
boolean

Whether the dateShiftConfig field is set.

hasFixedSizeBucketingConfig()

public boolean hasFixedSizeBucketingConfig()

Fixed size bucketing

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

Returns
Type Description
boolean

Whether the fixedSizeBucketingConfig field is set.

hasRedactConfig()

public boolean hasRedactConfig()

Redact

.google.privacy.dlp.v2.RedactConfig redact_config = 2;

Returns
Type Description
boolean

Whether the redactConfig field is set.

hasReplaceConfig()

public boolean hasReplaceConfig()

Replace with a specified value.

.google.privacy.dlp.v2.ReplaceValueConfig replace_config = 1;

Returns
Type Description
boolean

Whether the replaceConfig field is set.

hasReplaceDictionaryConfig()

public boolean hasReplaceDictionaryConfig()

Replace with a value randomly drawn (with replacement) from a dictionary.

.google.privacy.dlp.v2.ReplaceDictionaryConfig replace_dictionary_config = 13;

Returns
Type Description
boolean

Whether the replaceDictionaryConfig field is set.

hasReplaceWithInfoTypeConfig()

public boolean hasReplaceWithInfoTypeConfig()

Replace with infotype

.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig replace_with_info_type_config = 7;

Returns
Type Description
boolean

Whether the replaceWithInfoTypeConfig field is set.

hasTimePartConfig()

public boolean hasTimePartConfig()

Time extraction

.google.privacy.dlp.v2.TimePartConfig time_part_config = 8;

Returns
Type Description
boolean

Whether the timePartConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeBucketingConfig(BucketingConfig value)

public PrimitiveTransformation.Builder mergeBucketingConfig(BucketingConfig value)

Bucketing

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

Parameter
Name Description
value BucketingConfig
Returns
Type Description
PrimitiveTransformation.Builder

mergeCharacterMaskConfig(CharacterMaskConfig value)

public PrimitiveTransformation.Builder mergeCharacterMaskConfig(CharacterMaskConfig value)

Mask

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

Parameter
Name Description
value CharacterMaskConfig
Returns
Type Description
PrimitiveTransformation.Builder

mergeCryptoDeterministicConfig(CryptoDeterministicConfig value)

public PrimitiveTransformation.Builder mergeCryptoDeterministicConfig(CryptoDeterministicConfig value)

Deterministic Crypto

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

Parameter
Name Description
value CryptoDeterministicConfig
Returns
Type Description
PrimitiveTransformation.Builder

mergeCryptoHashConfig(CryptoHashConfig value)

public PrimitiveTransformation.Builder mergeCryptoHashConfig(CryptoHashConfig value)

Crypto

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

Parameter
Name Description
value CryptoHashConfig
Returns
Type Description
PrimitiveTransformation.Builder

mergeCryptoReplaceFfxFpeConfig(CryptoReplaceFfxFpeConfig value)

public PrimitiveTransformation.Builder mergeCryptoReplaceFfxFpeConfig(CryptoReplaceFfxFpeConfig value)

Ffx-Fpe

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

Parameter
Name Description
value CryptoReplaceFfxFpeConfig
Returns
Type Description
PrimitiveTransformation.Builder

mergeDateShiftConfig(DateShiftConfig value)

public PrimitiveTransformation.Builder mergeDateShiftConfig(DateShiftConfig value)

Date Shift

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

Parameter
Name Description
value DateShiftConfig
Returns
Type Description
PrimitiveTransformation.Builder

mergeFixedSizeBucketingConfig(FixedSizeBucketingConfig value)

public PrimitiveTransformation.Builder mergeFixedSizeBucketingConfig(FixedSizeBucketingConfig value)

Fixed size bucketing

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

Parameter
Name Description
value FixedSizeBucketingConfig
Returns
Type Description
PrimitiveTransformation.Builder

mergeFrom(PrimitiveTransformation other)

public PrimitiveTransformation.Builder mergeFrom(PrimitiveTransformation other)
Parameter
Name Description
other PrimitiveTransformation
Returns
Type Description
PrimitiveTransformation.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PrimitiveTransformation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PrimitiveTransformation.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public PrimitiveTransformation.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
PrimitiveTransformation.Builder
Overrides

mergeRedactConfig(RedactConfig value)

public PrimitiveTransformation.Builder mergeRedactConfig(RedactConfig value)

Redact

.google.privacy.dlp.v2.RedactConfig redact_config = 2;

Parameter
Name Description
value RedactConfig
Returns
Type Description
PrimitiveTransformation.Builder

mergeReplaceConfig(ReplaceValueConfig value)

public PrimitiveTransformation.Builder mergeReplaceConfig(ReplaceValueConfig value)

Replace with a specified value.

.google.privacy.dlp.v2.ReplaceValueConfig replace_config = 1;

Parameter
Name Description
value ReplaceValueConfig
Returns
Type Description
PrimitiveTransformation.Builder

mergeReplaceDictionaryConfig(ReplaceDictionaryConfig value)

public PrimitiveTransformation.Builder mergeReplaceDictionaryConfig(ReplaceDictionaryConfig value)

Replace with a value randomly drawn (with replacement) from a dictionary.

.google.privacy.dlp.v2.ReplaceDictionaryConfig replace_dictionary_config = 13;

Parameter
Name Description
value ReplaceDictionaryConfig
Returns
Type Description
PrimitiveTransformation.Builder

mergeReplaceWithInfoTypeConfig(ReplaceWithInfoTypeConfig value)

public PrimitiveTransformation.Builder mergeReplaceWithInfoTypeConfig(ReplaceWithInfoTypeConfig value)

Replace with infotype

.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig replace_with_info_type_config = 7;

Parameter
Name Description
value ReplaceWithInfoTypeConfig
Returns
Type Description
PrimitiveTransformation.Builder

mergeTimePartConfig(TimePartConfig value)

public PrimitiveTransformation.Builder mergeTimePartConfig(TimePartConfig value)

Time extraction

.google.privacy.dlp.v2.TimePartConfig time_part_config = 8;

Parameter
Name Description
value TimePartConfig
Returns
Type Description
PrimitiveTransformation.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PrimitiveTransformation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PrimitiveTransformation.Builder
Overrides

setBucketingConfig(BucketingConfig value)

public PrimitiveTransformation.Builder setBucketingConfig(BucketingConfig value)

Bucketing

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

Parameter
Name Description
value BucketingConfig
Returns
Type Description
PrimitiveTransformation.Builder

setBucketingConfig(BucketingConfig.Builder builderForValue)

public PrimitiveTransformation.Builder setBucketingConfig(BucketingConfig.Builder builderForValue)

Bucketing

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

Parameter
Name Description
builderForValue BucketingConfig.Builder
Returns
Type Description
PrimitiveTransformation.Builder

setCharacterMaskConfig(CharacterMaskConfig value)

public PrimitiveTransformation.Builder setCharacterMaskConfig(CharacterMaskConfig value)

Mask

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

Parameter
Name Description
value CharacterMaskConfig
Returns
Type Description
PrimitiveTransformation.Builder

setCharacterMaskConfig(CharacterMaskConfig.Builder builderForValue)

public PrimitiveTransformation.Builder setCharacterMaskConfig(CharacterMaskConfig.Builder builderForValue)

Mask

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

Parameter
Name Description
builderForValue CharacterMaskConfig.Builder
Returns
Type Description
PrimitiveTransformation.Builder

setCryptoDeterministicConfig(CryptoDeterministicConfig value)

public PrimitiveTransformation.Builder setCryptoDeterministicConfig(CryptoDeterministicConfig value)

Deterministic Crypto

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

Parameter
Name Description
value CryptoDeterministicConfig
Returns
Type Description
PrimitiveTransformation.Builder

setCryptoDeterministicConfig(CryptoDeterministicConfig.Builder builderForValue)

public PrimitiveTransformation.Builder setCryptoDeterministicConfig(CryptoDeterministicConfig.Builder builderForValue)

Deterministic Crypto

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

Parameter
Name Description
builderForValue CryptoDeterministicConfig.Builder
Returns
Type Description
PrimitiveTransformation.Builder

setCryptoHashConfig(CryptoHashConfig value)

public PrimitiveTransformation.Builder setCryptoHashConfig(CryptoHashConfig value)

Crypto

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

Parameter
Name Description
value CryptoHashConfig
Returns
Type Description
PrimitiveTransformation.Builder

setCryptoHashConfig(CryptoHashConfig.Builder builderForValue)

public PrimitiveTransformation.Builder setCryptoHashConfig(CryptoHashConfig.Builder builderForValue)

Crypto

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

Parameter
Name Description
builderForValue CryptoHashConfig.Builder
Returns
Type Description
PrimitiveTransformation.Builder

setCryptoReplaceFfxFpeConfig(CryptoReplaceFfxFpeConfig value)

public PrimitiveTransformation.Builder setCryptoReplaceFfxFpeConfig(CryptoReplaceFfxFpeConfig value)

Ffx-Fpe

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

Parameter
Name Description
value CryptoReplaceFfxFpeConfig
Returns
Type Description
PrimitiveTransformation.Builder

setCryptoReplaceFfxFpeConfig(CryptoReplaceFfxFpeConfig.Builder builderForValue)

public PrimitiveTransformation.Builder setCryptoReplaceFfxFpeConfig(CryptoReplaceFfxFpeConfig.Builder builderForValue)

Ffx-Fpe

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

Parameter
Name Description
builderForValue CryptoReplaceFfxFpeConfig.Builder
Returns
Type Description
PrimitiveTransformation.Builder

setDateShiftConfig(DateShiftConfig value)

public PrimitiveTransformation.Builder setDateShiftConfig(DateShiftConfig value)

Date Shift

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

Parameter
Name Description
value DateShiftConfig
Returns
Type Description
PrimitiveTransformation.Builder

setDateShiftConfig(DateShiftConfig.Builder builderForValue)

public PrimitiveTransformation.Builder setDateShiftConfig(DateShiftConfig.Builder builderForValue)

Date Shift

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

Parameter
Name Description
builderForValue DateShiftConfig.Builder
Returns
Type Description
PrimitiveTransformation.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setFixedSizeBucketingConfig(FixedSizeBucketingConfig value)

public PrimitiveTransformation.Builder setFixedSizeBucketingConfig(FixedSizeBucketingConfig value)

Fixed size bucketing

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

Parameter
Name Description
value FixedSizeBucketingConfig
Returns
Type Description
PrimitiveTransformation.Builder

setFixedSizeBucketingConfig(FixedSizeBucketingConfig.Builder builderForValue)

public PrimitiveTransformation.Builder setFixedSizeBucketingConfig(FixedSizeBucketingConfig.Builder builderForValue)

Fixed size bucketing

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

Parameter
Name Description
builderForValue FixedSizeBucketingConfig.Builder
Returns
Type Description
PrimitiveTransformation.Builder

setRedactConfig(RedactConfig value)

public PrimitiveTransformation.Builder setRedactConfig(RedactConfig value)

Redact

.google.privacy.dlp.v2.RedactConfig redact_config = 2;

Parameter
Name Description
value RedactConfig
Returns
Type Description
PrimitiveTransformation.Builder

setRedactConfig(RedactConfig.Builder builderForValue)

public PrimitiveTransformation.Builder setRedactConfig(RedactConfig.Builder builderForValue)

Redact

.google.privacy.dlp.v2.RedactConfig redact_config = 2;

Parameter
Name Description
builderForValue RedactConfig.Builder
Returns
Type Description
PrimitiveTransformation.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

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

setReplaceConfig(ReplaceValueConfig value)

public PrimitiveTransformation.Builder setReplaceConfig(ReplaceValueConfig value)

Replace with a specified value.

.google.privacy.dlp.v2.ReplaceValueConfig replace_config = 1;

Parameter
Name Description
value ReplaceValueConfig
Returns
Type Description
PrimitiveTransformation.Builder

setReplaceConfig(ReplaceValueConfig.Builder builderForValue)

public PrimitiveTransformation.Builder setReplaceConfig(ReplaceValueConfig.Builder builderForValue)

Replace with a specified value.

.google.privacy.dlp.v2.ReplaceValueConfig replace_config = 1;

Parameter
Name Description
builderForValue ReplaceValueConfig.Builder
Returns
Type Description
PrimitiveTransformation.Builder

setReplaceDictionaryConfig(ReplaceDictionaryConfig value)

public PrimitiveTransformation.Builder setReplaceDictionaryConfig(ReplaceDictionaryConfig value)

Replace with a value randomly drawn (with replacement) from a dictionary.

.google.privacy.dlp.v2.ReplaceDictionaryConfig replace_dictionary_config = 13;

Parameter
Name Description
value ReplaceDictionaryConfig
Returns
Type Description
PrimitiveTransformation.Builder

setReplaceDictionaryConfig(ReplaceDictionaryConfig.Builder builderForValue)

public PrimitiveTransformation.Builder setReplaceDictionaryConfig(ReplaceDictionaryConfig.Builder builderForValue)

Replace with a value randomly drawn (with replacement) from a dictionary.

.google.privacy.dlp.v2.ReplaceDictionaryConfig replace_dictionary_config = 13;

Parameter
Name Description
builderForValue ReplaceDictionaryConfig.Builder
Returns
Type Description
PrimitiveTransformation.Builder

setReplaceWithInfoTypeConfig(ReplaceWithInfoTypeConfig value)

public PrimitiveTransformation.Builder setReplaceWithInfoTypeConfig(ReplaceWithInfoTypeConfig value)

Replace with infotype

.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig replace_with_info_type_config = 7;

Parameter
Name Description
value ReplaceWithInfoTypeConfig
Returns
Type Description
PrimitiveTransformation.Builder

setReplaceWithInfoTypeConfig(ReplaceWithInfoTypeConfig.Builder builderForValue)

public PrimitiveTransformation.Builder setReplaceWithInfoTypeConfig(ReplaceWithInfoTypeConfig.Builder builderForValue)

Replace with infotype

.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig replace_with_info_type_config = 7;

Parameter
Name Description
builderForValue ReplaceWithInfoTypeConfig.Builder
Returns
Type Description
PrimitiveTransformation.Builder

setTimePartConfig(TimePartConfig value)

public PrimitiveTransformation.Builder setTimePartConfig(TimePartConfig value)

Time extraction

.google.privacy.dlp.v2.TimePartConfig time_part_config = 8;

Parameter
Name Description
value TimePartConfig
Returns
Type Description
PrimitiveTransformation.Builder

setTimePartConfig(TimePartConfig.Builder builderForValue)

public PrimitiveTransformation.Builder setTimePartConfig(TimePartConfig.Builder builderForValue)

Time extraction

.google.privacy.dlp.v2.TimePartConfig time_part_config = 8;

Parameter
Name Description
builderForValue TimePartConfig.Builder
Returns
Type Description
PrimitiveTransformation.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final PrimitiveTransformation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PrimitiveTransformation.Builder
Overrides