Class ReplaceDictionaryConfig.Builder (3.31.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ReplaceDictionaryConfig build()
Returns
TypeDescription
ReplaceDictionaryConfig

buildPartial()

public ReplaceDictionaryConfig buildPartial()
Returns
TypeDescription
ReplaceDictionaryConfig

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearType()

public ReplaceDictionaryConfig.Builder clearType()
Returns
TypeDescription
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
TypeDescription
ReplaceDictionaryConfig.Builder

clone()

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

getDefaultInstanceForType()

public ReplaceDictionaryConfig getDefaultInstanceForType()
Returns
TypeDescription
ReplaceDictionaryConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getTypeCase()

public ReplaceDictionaryConfig.TypeCase getTypeCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the wordList field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ReplaceDictionaryConfig other)

public ReplaceDictionaryConfig.Builder mergeFrom(ReplaceDictionaryConfig other)
Parameter
NameDescription
otherReplaceDictionaryConfig
Returns
TypeDescription
ReplaceDictionaryConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ReplaceDictionaryConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueCustomInfoType.Dictionary.WordList
Returns
TypeDescription
ReplaceDictionaryConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public ReplaceDictionaryConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ReplaceDictionaryConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ReplaceDictionaryConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueCustomInfoType.Dictionary.WordList
Returns
TypeDescription
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
NameDescription
builderForValueCustomInfoType.Dictionary.WordList.Builder
Returns
TypeDescription
ReplaceDictionaryConfig.Builder