Class ReplaceDictionaryConfig.Builder (3.48.0)

public static final class ReplaceDictionaryConfig.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public ReplaceDictionaryConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ReplaceDictionaryConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

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