Class ReplaceDictionaryConfig (3.12.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
TypeDescription
int

Static Methods

getDefaultInstance()

public static ReplaceDictionaryConfig getDefaultInstance()
Returns
TypeDescription
ReplaceDictionaryConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ReplaceDictionaryConfig.Builder newBuilder()
Returns
TypeDescription
ReplaceDictionaryConfig.Builder

newBuilder(ReplaceDictionaryConfig prototype)

public static ReplaceDictionaryConfig.Builder newBuilder(ReplaceDictionaryConfig prototype)
Parameter
NameDescription
prototypeReplaceDictionaryConfig
Returns
TypeDescription
ReplaceDictionaryConfig.Builder

parseDelimitedFrom(InputStream input)

public static ReplaceDictionaryConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ReplaceDictionaryConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReplaceDictionaryConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReplaceDictionaryConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ReplaceDictionaryConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ReplaceDictionaryConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ReplaceDictionaryConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReplaceDictionaryConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ReplaceDictionaryConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ReplaceDictionaryConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ReplaceDictionaryConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReplaceDictionaryConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ReplaceDictionaryConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ReplaceDictionaryConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ReplaceDictionaryConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReplaceDictionaryConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ReplaceDictionaryConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ReplaceDictionaryConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReplaceDictionaryConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReplaceDictionaryConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ReplaceDictionaryConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ReplaceDictionaryConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ReplaceDictionaryConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReplaceDictionaryConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ReplaceDictionaryConfig> parser()
Returns
TypeDescription
Parser<ReplaceDictionaryConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ReplaceDictionaryConfig getDefaultInstanceForType()
Returns
TypeDescription
ReplaceDictionaryConfig

getParserForType()

public Parser<ReplaceDictionaryConfig> getParserForType()
Returns
TypeDescription
Parser<ReplaceDictionaryConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTypeCase()

public ReplaceDictionaryConfig.TypeCase getTypeCase()
Returns
TypeDescription
ReplaceDictionaryConfig.TypeCase

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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.

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ReplaceDictionaryConfig.Builder newBuilderForType()
Returns
TypeDescription
ReplaceDictionaryConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ReplaceDictionaryConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ReplaceDictionaryConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ReplaceDictionaryConfig.Builder toBuilder()
Returns
TypeDescription
ReplaceDictionaryConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException