Class ReplaceDictionaryConfig.Builder (3.87.0)

public static final class ReplaceDictionaryConfig.Builder extends GeneratedMessage.Builder<ReplaceDictionaryConfig.Builder> implements ReplaceDictionaryConfigOrBuilder

Replace each input value with a value randomly selected from the dictionary.

Protobuf type google.privacy.dlp.v2.ReplaceDictionaryConfig

Static Methods

getDescriptor()

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

Methods

build()

public ReplaceDictionaryConfig build()
Returns
Type Description
ReplaceDictionaryConfig

buildPartial()

public ReplaceDictionaryConfig buildPartial()
Returns
Type Description
ReplaceDictionaryConfig

clear()

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

clearType()

public ReplaceDictionaryConfig.Builder clearType()
Returns
Type Description
ReplaceDictionaryConfig.Builder

clearWordList()

public ReplaceDictionaryConfig.Builder clearWordList()

A list of words to select from for random replacement. The limits page contains details about the size limits of dictionaries.

.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList word_list = 1;

Returns
Type Description
ReplaceDictionaryConfig.Builder

getDefaultInstanceForType()

public ReplaceDictionaryConfig getDefaultInstanceForType()
Returns
Type Description
ReplaceDictionaryConfig

getDescriptorForType()

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

getTypeCase()

public ReplaceDictionaryConfig.TypeCase getTypeCase()
Returns
Type Description
ReplaceDictionaryConfig.TypeCase

getWordList()

public CustomInfoType.Dictionary.WordList getWordList()

A list of words to select from for random replacement. The limits page contains details about the size limits of dictionaries.

.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList word_list = 1;

Returns
Type Description
CustomInfoType.Dictionary.WordList

The wordList.

getWordListBuilder()

public CustomInfoType.Dictionary.WordList.Builder getWordListBuilder()

A list of words to select from for random replacement. The limits page contains details about the size limits of dictionaries.

.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList word_list = 1;

Returns
Type Description
CustomInfoType.Dictionary.WordList.Builder

getWordListOrBuilder()

public CustomInfoType.Dictionary.WordListOrBuilder getWordListOrBuilder()

A list of words to select from for random replacement. The limits page contains details about the size limits of dictionaries.

.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList word_list = 1;

Returns
Type Description
CustomInfoType.Dictionary.WordListOrBuilder

hasWordList()

public boolean hasWordList()

A list of words to select from for random replacement. The limits page contains details about the size limits of dictionaries.

.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList word_list = 1;

Returns
Type Description
boolean

Whether the wordList field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ReplaceDictionaryConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeWordList(CustomInfoType.Dictionary.WordList value)

public ReplaceDictionaryConfig.Builder mergeWordList(CustomInfoType.Dictionary.WordList value)

A list of words to select from for random replacement. The limits page contains details about the size limits of dictionaries.

.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList word_list = 1;

Parameter
Name Description
value CustomInfoType.Dictionary.WordList
Returns
Type Description
ReplaceDictionaryConfig.Builder

setWordList(CustomInfoType.Dictionary.WordList value)

public ReplaceDictionaryConfig.Builder setWordList(CustomInfoType.Dictionary.WordList value)

A list of words to select from for random replacement. The limits page contains details about the size limits of dictionaries.

.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList word_list = 1;

Parameter
Name Description
value CustomInfoType.Dictionary.WordList
Returns
Type Description
ReplaceDictionaryConfig.Builder

setWordList(CustomInfoType.Dictionary.WordList.Builder builderForValue)

public ReplaceDictionaryConfig.Builder setWordList(CustomInfoType.Dictionary.WordList.Builder builderForValue)

A list of words to select from for random replacement. The limits page contains details about the size limits of dictionaries.

.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList word_list = 1;

Parameter
Name Description
builderForValue CustomInfoType.Dictionary.WordList.Builder
Returns
Type Description
ReplaceDictionaryConfig.Builder