public static final class CustomInfoType.Dictionary extends com.google.protobuf.GeneratedMessageV3 implements CustomInfoType.DictionaryOrBuilder
Custom information type based on a dictionary of words or phrases. This can be used to match sensitive information specific to the data, such as a list of employee IDs or job titles. Dictionary words are case-insensitive and all characters other than letters and digits in the unicode [Basic Multilingual Plane](https://en.wikipedia.org/wiki/Plane_%28Unicode%29#Basic_Multilingual_Plane) will be replaced with whitespace when scanning for matches, so the dictionary phrase "Sam Johnson" will match all three phrases "sam johnson", "Sam, Johnson", and "Sam (Johnson)". Additionally, the characters surrounding any match must be of a different type than the adjacent characters within the word, so letters must be next to non-letters and digits next to non-digits. For example, the dictionary word "jen" will match the first three letters of the text "jen123" but will return no matches for "jennifer". Dictionary words containing a large number of characters that are not letters or digits may result in unexpected findings because such characters are treated as whitespace. The [limits](https://cloud.google.com/dlp/limits) page contains details about the size limits of dictionaries. For dictionaries that do not fit within these constraints, consider using `LargeCustomDictionaryConfig` in the `StoredInfoType` API.Protobuf type
google.privacy.dlp.v2.CustomInfoType.Dictionary| Modifier and Type | Class and Description |
|---|---|
static class |
CustomInfoType.Dictionary.Builder
Custom information type based on a dictionary of words or phrases.
|
static class |
CustomInfoType.Dictionary.SourceCase |
static class |
CustomInfoType.Dictionary.WordList
Message defining a list of words or phrases to search for in the data.
|
static interface |
CustomInfoType.Dictionary.WordListOrBuilder |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CLOUD_STORAGE_PATH_FIELD_NUMBER |
static int |
WORD_LIST_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
CloudStoragePath |
getCloudStoragePath()
Newline-delimited file of words in Cloud Storage.
|
CloudStoragePathOrBuilder |
getCloudStoragePathOrBuilder()
Newline-delimited file of words in Cloud Storage.
|
static CustomInfoType.Dictionary |
getDefaultInstance() |
CustomInfoType.Dictionary |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<CustomInfoType.Dictionary> |
getParserForType() |
int |
getSerializedSize() |
CustomInfoType.Dictionary.SourceCase |
getSourceCase() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
CustomInfoType.Dictionary.WordList |
getWordList()
List of words or phrases to search for.
|
CustomInfoType.Dictionary.WordListOrBuilder |
getWordListOrBuilder()
List of words or phrases to search for.
|
boolean |
hasCloudStoragePath()
Newline-delimited file of words in Cloud Storage.
|
int |
hashCode() |
boolean |
hasWordList()
List of words or phrases to search for.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static CustomInfoType.Dictionary.Builder |
newBuilder() |
static CustomInfoType.Dictionary.Builder |
newBuilder(CustomInfoType.Dictionary prototype) |
CustomInfoType.Dictionary.Builder |
newBuilderForType() |
protected CustomInfoType.Dictionary.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static CustomInfoType.Dictionary |
parseDelimitedFrom(InputStream input) |
static CustomInfoType.Dictionary |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CustomInfoType.Dictionary |
parseFrom(byte[] data) |
static CustomInfoType.Dictionary |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CustomInfoType.Dictionary |
parseFrom(ByteBuffer data) |
static CustomInfoType.Dictionary |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CustomInfoType.Dictionary |
parseFrom(com.google.protobuf.ByteString data) |
static CustomInfoType.Dictionary |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CustomInfoType.Dictionary |
parseFrom(com.google.protobuf.CodedInputStream input) |
static CustomInfoType.Dictionary |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CustomInfoType.Dictionary |
parseFrom(InputStream input) |
static CustomInfoType.Dictionary |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<CustomInfoType.Dictionary> |
parser() |
CustomInfoType.Dictionary.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int WORD_LIST_FIELD_NUMBER
public static final int CLOUD_STORAGE_PATH_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public CustomInfoType.Dictionary.SourceCase getSourceCase()
getSourceCase in interface CustomInfoType.DictionaryOrBuilderpublic boolean hasWordList()
List of words or phrases to search for.
.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList word_list = 1;hasWordList in interface CustomInfoType.DictionaryOrBuilderpublic CustomInfoType.Dictionary.WordList getWordList()
List of words or phrases to search for.
.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList word_list = 1;getWordList in interface CustomInfoType.DictionaryOrBuilderpublic CustomInfoType.Dictionary.WordListOrBuilder getWordListOrBuilder()
List of words or phrases to search for.
.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList word_list = 1;getWordListOrBuilder in interface CustomInfoType.DictionaryOrBuilderpublic boolean hasCloudStoragePath()
Newline-delimited file of words in Cloud Storage. Only a single file is accepted.
.google.privacy.dlp.v2.CloudStoragePath cloud_storage_path = 3;hasCloudStoragePath in interface CustomInfoType.DictionaryOrBuilderpublic CloudStoragePath getCloudStoragePath()
Newline-delimited file of words in Cloud Storage. Only a single file is accepted.
.google.privacy.dlp.v2.CloudStoragePath cloud_storage_path = 3;getCloudStoragePath in interface CustomInfoType.DictionaryOrBuilderpublic CloudStoragePathOrBuilder getCloudStoragePathOrBuilder()
Newline-delimited file of words in Cloud Storage. Only a single file is accepted.
.google.privacy.dlp.v2.CloudStoragePath cloud_storage_path = 3;getCloudStoragePathOrBuilder in interface CustomInfoType.DictionaryOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static CustomInfoType.Dictionary parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CustomInfoType.Dictionary parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CustomInfoType.Dictionary parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CustomInfoType.Dictionary parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CustomInfoType.Dictionary parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CustomInfoType.Dictionary parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CustomInfoType.Dictionary parseFrom(InputStream input) throws IOException
IOExceptionpublic static CustomInfoType.Dictionary parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static CustomInfoType.Dictionary parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static CustomInfoType.Dictionary parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static CustomInfoType.Dictionary parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static CustomInfoType.Dictionary parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic CustomInfoType.Dictionary.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static CustomInfoType.Dictionary.Builder newBuilder()
public static CustomInfoType.Dictionary.Builder newBuilder(CustomInfoType.Dictionary prototype)
public CustomInfoType.Dictionary.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected CustomInfoType.Dictionary.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static CustomInfoType.Dictionary getDefaultInstance()
public static com.google.protobuf.Parser<CustomInfoType.Dictionary> parser()
public com.google.protobuf.Parser<CustomInfoType.Dictionary> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public CustomInfoType.Dictionary getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2022 Google LLC. All rights reserved.