Class ReplaceDictionaryConfig (3.46.0)

public final class ReplaceDictionaryConfig extends GeneratedMessageV3 implements ReplaceDictionaryConfigOrBuilder

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

Protobuf type google.privacy.dlp.v2.ReplaceDictionaryConfig

Static Fields

WORD_LIST_FIELD_NUMBER

public static final int WORD_LIST_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ReplaceDictionaryConfig getDefaultInstance()
Returns
Type Description
ReplaceDictionaryConfig

getDescriptor()

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

newBuilder()

public static ReplaceDictionaryConfig.Builder newBuilder()
Returns
Type Description
ReplaceDictionaryConfig.Builder

newBuilder(ReplaceDictionaryConfig prototype)

public static ReplaceDictionaryConfig.Builder newBuilder(ReplaceDictionaryConfig prototype)
Parameter
Name Description
prototype ReplaceDictionaryConfig
Returns
Type Description
ReplaceDictionaryConfig.Builder

parseDelimitedFrom(InputStream input)

public static ReplaceDictionaryConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ReplaceDictionaryConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReplaceDictionaryConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReplaceDictionaryConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ReplaceDictionaryConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ReplaceDictionaryConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ReplaceDictionaryConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReplaceDictionaryConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ReplaceDictionaryConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ReplaceDictionaryConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ReplaceDictionaryConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReplaceDictionaryConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ReplaceDictionaryConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ReplaceDictionaryConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ReplaceDictionaryConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReplaceDictionaryConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ReplaceDictionaryConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ReplaceDictionaryConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReplaceDictionaryConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReplaceDictionaryConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ReplaceDictionaryConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ReplaceDictionaryConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ReplaceDictionaryConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReplaceDictionaryConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ReplaceDictionaryConfig> parser()
Returns
Type Description
Parser<ReplaceDictionaryConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ReplaceDictionaryConfig getDefaultInstanceForType()
Returns
Type Description
ReplaceDictionaryConfig

getParserForType()

public Parser<ReplaceDictionaryConfig> getParserForType()
Returns
Type Description
Parser<ReplaceDictionaryConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
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.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ReplaceDictionaryConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ReplaceDictionaryConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException