Class PrimitiveTransformation.Builder (3.19.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PrimitiveTransformation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
PrimitiveTransformation.Builder
Overrides

build()

public PrimitiveTransformation build()
Returns
TypeDescription
PrimitiveTransformation

buildPartial()

public PrimitiveTransformation buildPartial()
Returns
TypeDescription
PrimitiveTransformation

clear()

public PrimitiveTransformation.Builder clear()
Returns
TypeDescription
PrimitiveTransformation.Builder
Overrides

clearBucketingConfig()

public PrimitiveTransformation.Builder clearBucketingConfig()

Bucketing

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

Returns
TypeDescription
PrimitiveTransformation.Builder

clearCharacterMaskConfig()

public PrimitiveTransformation.Builder clearCharacterMaskConfig()

Mask

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

Returns
TypeDescription
PrimitiveTransformation.Builder

clearCryptoDeterministicConfig()

public PrimitiveTransformation.Builder clearCryptoDeterministicConfig()

Deterministic Crypto

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

Returns
TypeDescription
PrimitiveTransformation.Builder

clearCryptoHashConfig()

public PrimitiveTransformation.Builder clearCryptoHashConfig()

Crypto

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

Returns
TypeDescription
PrimitiveTransformation.Builder

clearCryptoReplaceFfxFpeConfig()

public PrimitiveTransformation.Builder clearCryptoReplaceFfxFpeConfig()

Ffx-Fpe

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

Returns
TypeDescription
PrimitiveTransformation.Builder

clearDateShiftConfig()

public PrimitiveTransformation.Builder clearDateShiftConfig()

Date Shift

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

Returns
TypeDescription
PrimitiveTransformation.Builder

clearField(Descriptors.FieldDescriptor field)

public PrimitiveTransformation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
PrimitiveTransformation.Builder
Overrides

clearFixedSizeBucketingConfig()

public PrimitiveTransformation.Builder clearFixedSizeBucketingConfig()

Fixed size bucketing

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

Returns
TypeDescription
PrimitiveTransformation.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public PrimitiveTransformation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
PrimitiveTransformation.Builder
Overrides

clearRedactConfig()

public PrimitiveTransformation.Builder clearRedactConfig()

Redact

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

Returns
TypeDescription
PrimitiveTransformation.Builder

clearReplaceConfig()

public PrimitiveTransformation.Builder clearReplaceConfig()

Replace with a specified value.

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

Returns
TypeDescription
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
TypeDescription
PrimitiveTransformation.Builder

clearReplaceWithInfoTypeConfig()

public PrimitiveTransformation.Builder clearReplaceWithInfoTypeConfig()

Replace with infotype

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

Returns
TypeDescription
PrimitiveTransformation.Builder

clearTimePartConfig()

public PrimitiveTransformation.Builder clearTimePartConfig()

Time extraction

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

Returns
TypeDescription
PrimitiveTransformation.Builder

clearTransformation()

public PrimitiveTransformation.Builder clearTransformation()
Returns
TypeDescription
PrimitiveTransformation.Builder

clone()

public PrimitiveTransformation.Builder clone()
Returns
TypeDescription
PrimitiveTransformation.Builder
Overrides

getBucketingConfig()

public BucketingConfig getBucketingConfig()

Bucketing

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

Returns
TypeDescription
BucketingConfig

The bucketingConfig.

getBucketingConfigBuilder()

public BucketingConfig.Builder getBucketingConfigBuilder()

Bucketing

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

Returns
TypeDescription
BucketingConfig.Builder

getBucketingConfigOrBuilder()

public BucketingConfigOrBuilder getBucketingConfigOrBuilder()

Bucketing

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

Returns
TypeDescription
BucketingConfigOrBuilder

getCharacterMaskConfig()

public CharacterMaskConfig getCharacterMaskConfig()

Mask

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

Returns
TypeDescription
CharacterMaskConfig

The characterMaskConfig.

getCharacterMaskConfigBuilder()

public CharacterMaskConfig.Builder getCharacterMaskConfigBuilder()

Mask

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

Returns
TypeDescription
CharacterMaskConfig.Builder

getCharacterMaskConfigOrBuilder()

public CharacterMaskConfigOrBuilder getCharacterMaskConfigOrBuilder()

Mask

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

Returns
TypeDescription
CharacterMaskConfigOrBuilder

getCryptoDeterministicConfig()

public CryptoDeterministicConfig getCryptoDeterministicConfig()

Deterministic Crypto

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

Returns
TypeDescription
CryptoDeterministicConfig

The cryptoDeterministicConfig.

getCryptoDeterministicConfigBuilder()

public CryptoDeterministicConfig.Builder getCryptoDeterministicConfigBuilder()

Deterministic Crypto

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

Returns
TypeDescription
CryptoDeterministicConfig.Builder

getCryptoDeterministicConfigOrBuilder()

public CryptoDeterministicConfigOrBuilder getCryptoDeterministicConfigOrBuilder()

Deterministic Crypto

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

Returns
TypeDescription
CryptoDeterministicConfigOrBuilder

getCryptoHashConfig()

public CryptoHashConfig getCryptoHashConfig()

Crypto

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

Returns
TypeDescription
CryptoHashConfig

The cryptoHashConfig.

getCryptoHashConfigBuilder()

public CryptoHashConfig.Builder getCryptoHashConfigBuilder()

Crypto

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

Returns
TypeDescription
CryptoHashConfig.Builder

getCryptoHashConfigOrBuilder()

public CryptoHashConfigOrBuilder getCryptoHashConfigOrBuilder()

Crypto

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

Returns
TypeDescription
CryptoHashConfigOrBuilder

getCryptoReplaceFfxFpeConfig()

public CryptoReplaceFfxFpeConfig getCryptoReplaceFfxFpeConfig()

Ffx-Fpe

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

Returns
TypeDescription
CryptoReplaceFfxFpeConfig

The cryptoReplaceFfxFpeConfig.

getCryptoReplaceFfxFpeConfigBuilder()

public CryptoReplaceFfxFpeConfig.Builder getCryptoReplaceFfxFpeConfigBuilder()

Ffx-Fpe

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

Returns
TypeDescription
CryptoReplaceFfxFpeConfig.Builder

getCryptoReplaceFfxFpeConfigOrBuilder()

public CryptoReplaceFfxFpeConfigOrBuilder getCryptoReplaceFfxFpeConfigOrBuilder()

Ffx-Fpe

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

Returns
TypeDescription
CryptoReplaceFfxFpeConfigOrBuilder

getDateShiftConfig()

public DateShiftConfig getDateShiftConfig()

Date Shift

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

Returns
TypeDescription
DateShiftConfig

The dateShiftConfig.

getDateShiftConfigBuilder()

public DateShiftConfig.Builder getDateShiftConfigBuilder()

Date Shift

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

Returns
TypeDescription
DateShiftConfig.Builder

getDateShiftConfigOrBuilder()

public DateShiftConfigOrBuilder getDateShiftConfigOrBuilder()

Date Shift

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

Returns
TypeDescription
DateShiftConfigOrBuilder

getDefaultInstanceForType()

public PrimitiveTransformation getDefaultInstanceForType()
Returns
TypeDescription
PrimitiveTransformation

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFixedSizeBucketingConfig()

public FixedSizeBucketingConfig getFixedSizeBucketingConfig()

Fixed size bucketing

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

Returns
TypeDescription
FixedSizeBucketingConfig

The fixedSizeBucketingConfig.

getFixedSizeBucketingConfigBuilder()

public FixedSizeBucketingConfig.Builder getFixedSizeBucketingConfigBuilder()

Fixed size bucketing

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

Returns
TypeDescription
FixedSizeBucketingConfig.Builder

getFixedSizeBucketingConfigOrBuilder()

public FixedSizeBucketingConfigOrBuilder getFixedSizeBucketingConfigOrBuilder()

Fixed size bucketing

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

Returns
TypeDescription
FixedSizeBucketingConfigOrBuilder

getRedactConfig()

public RedactConfig getRedactConfig()

Redact

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

Returns
TypeDescription
RedactConfig

The redactConfig.

getRedactConfigBuilder()

public RedactConfig.Builder getRedactConfigBuilder()

Redact

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

Returns
TypeDescription
RedactConfig.Builder

getRedactConfigOrBuilder()

public RedactConfigOrBuilder getRedactConfigOrBuilder()

Redact

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

Returns
TypeDescription
RedactConfigOrBuilder

getReplaceConfig()

public ReplaceValueConfig getReplaceConfig()

Replace with a specified value.

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

Returns
TypeDescription
ReplaceValueConfig

The replaceConfig.

getReplaceConfigBuilder()

public ReplaceValueConfig.Builder getReplaceConfigBuilder()

Replace with a specified value.

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

Returns
TypeDescription
ReplaceValueConfig.Builder

getReplaceConfigOrBuilder()

public ReplaceValueConfigOrBuilder getReplaceConfigOrBuilder()

Replace with a specified value.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ReplaceDictionaryConfigOrBuilder

getReplaceWithInfoTypeConfig()

public ReplaceWithInfoTypeConfig getReplaceWithInfoTypeConfig()

Replace with infotype

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

Returns
TypeDescription
ReplaceWithInfoTypeConfig

The replaceWithInfoTypeConfig.

getReplaceWithInfoTypeConfigBuilder()

public ReplaceWithInfoTypeConfig.Builder getReplaceWithInfoTypeConfigBuilder()

Replace with infotype

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

Returns
TypeDescription
ReplaceWithInfoTypeConfig.Builder

getReplaceWithInfoTypeConfigOrBuilder()

public ReplaceWithInfoTypeConfigOrBuilder getReplaceWithInfoTypeConfigOrBuilder()

Replace with infotype

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

Returns
TypeDescription
ReplaceWithInfoTypeConfigOrBuilder

getTimePartConfig()

public TimePartConfig getTimePartConfig()

Time extraction

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

Returns
TypeDescription
TimePartConfig

The timePartConfig.

getTimePartConfigBuilder()

public TimePartConfig.Builder getTimePartConfigBuilder()

Time extraction

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

Returns
TypeDescription
TimePartConfig.Builder

getTimePartConfigOrBuilder()

public TimePartConfigOrBuilder getTimePartConfigOrBuilder()

Time extraction

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

Returns
TypeDescription
TimePartConfigOrBuilder

getTransformationCase()

public PrimitiveTransformation.TransformationCase getTransformationCase()
Returns
TypeDescription
PrimitiveTransformation.TransformationCase

hasBucketingConfig()

public boolean hasBucketingConfig()

Bucketing

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

Returns
TypeDescription
boolean

Whether the bucketingConfig field is set.

hasCharacterMaskConfig()

public boolean hasCharacterMaskConfig()

Mask

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

Returns
TypeDescription
boolean

Whether the characterMaskConfig field is set.

hasCryptoDeterministicConfig()

public boolean hasCryptoDeterministicConfig()

Deterministic Crypto

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

Returns
TypeDescription
boolean

Whether the cryptoDeterministicConfig field is set.

hasCryptoHashConfig()

public boolean hasCryptoHashConfig()

Crypto

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the cryptoReplaceFfxFpeConfig field is set.

hasDateShiftConfig()

public boolean hasDateShiftConfig()

Date Shift

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the fixedSizeBucketingConfig field is set.

hasRedactConfig()

public boolean hasRedactConfig()

Redact

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the replaceWithInfoTypeConfig field is set.

hasTimePartConfig()

public boolean hasTimePartConfig()

Time extraction

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

Returns
TypeDescription
boolean

Whether the timePartConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeBucketingConfig(BucketingConfig value)

public PrimitiveTransformation.Builder mergeBucketingConfig(BucketingConfig value)

Bucketing

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

Parameter
NameDescription
valueBucketingConfig
Returns
TypeDescription
PrimitiveTransformation.Builder

mergeCharacterMaskConfig(CharacterMaskConfig value)

public PrimitiveTransformation.Builder mergeCharacterMaskConfig(CharacterMaskConfig value)

Mask

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

Parameter
NameDescription
valueCharacterMaskConfig
Returns
TypeDescription
PrimitiveTransformation.Builder

mergeCryptoDeterministicConfig(CryptoDeterministicConfig value)

public PrimitiveTransformation.Builder mergeCryptoDeterministicConfig(CryptoDeterministicConfig value)

Deterministic Crypto

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

Parameter
NameDescription
valueCryptoDeterministicConfig
Returns
TypeDescription
PrimitiveTransformation.Builder

mergeCryptoHashConfig(CryptoHashConfig value)

public PrimitiveTransformation.Builder mergeCryptoHashConfig(CryptoHashConfig value)

Crypto

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

Parameter
NameDescription
valueCryptoHashConfig
Returns
TypeDescription
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
NameDescription
valueCryptoReplaceFfxFpeConfig
Returns
TypeDescription
PrimitiveTransformation.Builder

mergeDateShiftConfig(DateShiftConfig value)

public PrimitiveTransformation.Builder mergeDateShiftConfig(DateShiftConfig value)

Date Shift

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

Parameter
NameDescription
valueDateShiftConfig
Returns
TypeDescription
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
NameDescription
valueFixedSizeBucketingConfig
Returns
TypeDescription
PrimitiveTransformation.Builder

mergeFrom(PrimitiveTransformation other)

public PrimitiveTransformation.Builder mergeFrom(PrimitiveTransformation other)
Parameter
NameDescription
otherPrimitiveTransformation
Returns
TypeDescription
PrimitiveTransformation.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PrimitiveTransformation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PrimitiveTransformation.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public PrimitiveTransformation.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
PrimitiveTransformation.Builder
Overrides

mergeRedactConfig(RedactConfig value)

public PrimitiveTransformation.Builder mergeRedactConfig(RedactConfig value)

Redact

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

Parameter
NameDescription
valueRedactConfig
Returns
TypeDescription
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
NameDescription
valueReplaceValueConfig
Returns
TypeDescription
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
NameDescription
valueReplaceDictionaryConfig
Returns
TypeDescription
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
NameDescription
valueReplaceWithInfoTypeConfig
Returns
TypeDescription
PrimitiveTransformation.Builder

mergeTimePartConfig(TimePartConfig value)

public PrimitiveTransformation.Builder mergeTimePartConfig(TimePartConfig value)

Time extraction

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

Parameter
NameDescription
valueTimePartConfig
Returns
TypeDescription
PrimitiveTransformation.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PrimitiveTransformation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PrimitiveTransformation.Builder
Overrides

setBucketingConfig(BucketingConfig value)

public PrimitiveTransformation.Builder setBucketingConfig(BucketingConfig value)

Bucketing

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

Parameter
NameDescription
valueBucketingConfig
Returns
TypeDescription
PrimitiveTransformation.Builder

setBucketingConfig(BucketingConfig.Builder builderForValue)

public PrimitiveTransformation.Builder setBucketingConfig(BucketingConfig.Builder builderForValue)

Bucketing

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

Parameter
NameDescription
builderForValueBucketingConfig.Builder
Returns
TypeDescription
PrimitiveTransformation.Builder

setCharacterMaskConfig(CharacterMaskConfig value)

public PrimitiveTransformation.Builder setCharacterMaskConfig(CharacterMaskConfig value)

Mask

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

Parameter
NameDescription
valueCharacterMaskConfig
Returns
TypeDescription
PrimitiveTransformation.Builder

setCharacterMaskConfig(CharacterMaskConfig.Builder builderForValue)

public PrimitiveTransformation.Builder setCharacterMaskConfig(CharacterMaskConfig.Builder builderForValue)

Mask

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

Parameter
NameDescription
builderForValueCharacterMaskConfig.Builder
Returns
TypeDescription
PrimitiveTransformation.Builder

setCryptoDeterministicConfig(CryptoDeterministicConfig value)

public PrimitiveTransformation.Builder setCryptoDeterministicConfig(CryptoDeterministicConfig value)

Deterministic Crypto

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

Parameter
NameDescription
valueCryptoDeterministicConfig
Returns
TypeDescription
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
NameDescription
builderForValueCryptoDeterministicConfig.Builder
Returns
TypeDescription
PrimitiveTransformation.Builder

setCryptoHashConfig(CryptoHashConfig value)

public PrimitiveTransformation.Builder setCryptoHashConfig(CryptoHashConfig value)

Crypto

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

Parameter
NameDescription
valueCryptoHashConfig
Returns
TypeDescription
PrimitiveTransformation.Builder

setCryptoHashConfig(CryptoHashConfig.Builder builderForValue)

public PrimitiveTransformation.Builder setCryptoHashConfig(CryptoHashConfig.Builder builderForValue)

Crypto

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

Parameter
NameDescription
builderForValueCryptoHashConfig.Builder
Returns
TypeDescription
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
NameDescription
valueCryptoReplaceFfxFpeConfig
Returns
TypeDescription
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
NameDescription
builderForValueCryptoReplaceFfxFpeConfig.Builder
Returns
TypeDescription
PrimitiveTransformation.Builder

setDateShiftConfig(DateShiftConfig value)

public PrimitiveTransformation.Builder setDateShiftConfig(DateShiftConfig value)

Date Shift

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

Parameter
NameDescription
valueDateShiftConfig
Returns
TypeDescription
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
NameDescription
builderForValueDateShiftConfig.Builder
Returns
TypeDescription
PrimitiveTransformation.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public PrimitiveTransformation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueFixedSizeBucketingConfig
Returns
TypeDescription
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
NameDescription
builderForValueFixedSizeBucketingConfig.Builder
Returns
TypeDescription
PrimitiveTransformation.Builder

setRedactConfig(RedactConfig value)

public PrimitiveTransformation.Builder setRedactConfig(RedactConfig value)

Redact

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

Parameter
NameDescription
valueRedactConfig
Returns
TypeDescription
PrimitiveTransformation.Builder

setRedactConfig(RedactConfig.Builder builderForValue)

public PrimitiveTransformation.Builder setRedactConfig(RedactConfig.Builder builderForValue)

Redact

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

Parameter
NameDescription
builderForValueRedactConfig.Builder
Returns
TypeDescription
PrimitiveTransformation.Builder

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

public PrimitiveTransformation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueReplaceValueConfig
Returns
TypeDescription
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
NameDescription
builderForValueReplaceValueConfig.Builder
Returns
TypeDescription
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
NameDescription
valueReplaceDictionaryConfig
Returns
TypeDescription
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
NameDescription
builderForValueReplaceDictionaryConfig.Builder
Returns
TypeDescription
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
NameDescription
valueReplaceWithInfoTypeConfig
Returns
TypeDescription
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
NameDescription
builderForValueReplaceWithInfoTypeConfig.Builder
Returns
TypeDescription
PrimitiveTransformation.Builder

setTimePartConfig(TimePartConfig value)

public PrimitiveTransformation.Builder setTimePartConfig(TimePartConfig value)

Time extraction

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

Parameter
NameDescription
valueTimePartConfig
Returns
TypeDescription
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
NameDescription
builderForValueTimePartConfig.Builder
Returns
TypeDescription
PrimitiveTransformation.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final PrimitiveTransformation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PrimitiveTransformation.Builder
Overrides