public final class ReplaceDictionaryConfig extends GeneratedMessage implements ReplaceDictionaryConfigOrBuilderReplace each input value with a value randomly selected from the dictionary.
Protobuf type google.privacy.dlp.v2.ReplaceDictionaryConfig
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > ReplaceDictionaryConfigImplements
ReplaceDictionaryConfigOrBuilderStatic 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 |
|
getDefaultInstanceForType()
public ReplaceDictionaryConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ReplaceDictionaryConfig |
|
getParserForType()
public Parser<ReplaceDictionaryConfig> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<ReplaceDictionaryConfig> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
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 |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public ReplaceDictionaryConfig.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
ReplaceDictionaryConfig.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected ReplaceDictionaryConfig.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
ReplaceDictionaryConfig.Builder |
|
toBuilder()
public ReplaceDictionaryConfig.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
ReplaceDictionaryConfig.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|