Class ReplaceDictionaryConfig.Builder (3.15.0)

See more code actions.
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

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

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 Overrides

build()

public ReplaceDictionaryConfig build()
Returns

buildPartial()

public ReplaceDictionaryConfig buildPartial()
Returns

clear()

public ReplaceDictionaryConfig.Builder clear()
Returns Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearType()

public ReplaceDictionaryConfig.Builder clearType()
Returns

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

clone()

public ReplaceDictionaryConfig.Builder clone()
Returns Overrides

getDefaultInstanceForType()

public ReplaceDictionaryConfig getDefaultInstanceForType()
Returns

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getTypeCase()

public ReplaceDictionaryConfig.TypeCase getTypeCase()
Returns

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

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setUnknownFields(UnknownFieldSet unknownFields)

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

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