Class CustomInfoType.Dictionary.WordList (3.46.0)

public static final class CustomInfoType.Dictionary.WordList extends GeneratedMessageV3 implements CustomInfoType.Dictionary.WordListOrBuilder

Message defining a list of words or phrases to search for in the data.

Protobuf type google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > CustomInfoType.Dictionary.WordList

Static Fields

WORDS_FIELD_NUMBER

public static final int WORDS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CustomInfoType.Dictionary.WordList getDefaultInstance()
Returns
Type Description
CustomInfoType.Dictionary.WordList

getDescriptor()

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

newBuilder()

public static CustomInfoType.Dictionary.WordList.Builder newBuilder()
Returns
Type Description
CustomInfoType.Dictionary.WordList.Builder

newBuilder(CustomInfoType.Dictionary.WordList prototype)

public static CustomInfoType.Dictionary.WordList.Builder newBuilder(CustomInfoType.Dictionary.WordList prototype)
Parameter
Name Description
prototype CustomInfoType.Dictionary.WordList
Returns
Type Description
CustomInfoType.Dictionary.WordList.Builder

parseDelimitedFrom(InputStream input)

public static CustomInfoType.Dictionary.WordList parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CustomInfoType.Dictionary.WordList
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CustomInfoType.Dictionary.WordList parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CustomInfoType.Dictionary.WordList
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static CustomInfoType.Dictionary.WordList parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
CustomInfoType.Dictionary.WordList
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CustomInfoType.Dictionary.WordList parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CustomInfoType.Dictionary.WordList
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CustomInfoType.Dictionary.WordList parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
CustomInfoType.Dictionary.WordList
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CustomInfoType.Dictionary.WordList parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CustomInfoType.Dictionary.WordList
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CustomInfoType.Dictionary.WordList parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
CustomInfoType.Dictionary.WordList
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CustomInfoType.Dictionary.WordList parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CustomInfoType.Dictionary.WordList
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static CustomInfoType.Dictionary.WordList parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CustomInfoType.Dictionary.WordList
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CustomInfoType.Dictionary.WordList parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CustomInfoType.Dictionary.WordList
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static CustomInfoType.Dictionary.WordList parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
CustomInfoType.Dictionary.WordList
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CustomInfoType.Dictionary.WordList parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CustomInfoType.Dictionary.WordList
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<CustomInfoType.Dictionary.WordList> parser()
Returns
Type Description
Parser<WordList>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public CustomInfoType.Dictionary.WordList getDefaultInstanceForType()
Returns
Type Description
CustomInfoType.Dictionary.WordList

getParserForType()

public Parser<CustomInfoType.Dictionary.WordList> getParserForType()
Returns
Type Description
Parser<WordList>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getWords(int index)

public String getWords(int index)

Words or phrases defining the dictionary. The dictionary must contain at least one phrase and every phrase must contain at least 2 characters that are letters or digits. [required]

repeated string words = 1;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The words at the given index.

getWordsBytes(int index)

public ByteString getWordsBytes(int index)

Words or phrases defining the dictionary. The dictionary must contain at least one phrase and every phrase must contain at least 2 characters that are letters or digits. [required]

repeated string words = 1;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the words at the given index.

getWordsCount()

public int getWordsCount()

Words or phrases defining the dictionary. The dictionary must contain at least one phrase and every phrase must contain at least 2 characters that are letters or digits. [required]

repeated string words = 1;

Returns
Type Description
int

The count of words.

getWordsList()

public ProtocolStringList getWordsList()

Words or phrases defining the dictionary. The dictionary must contain at least one phrase and every phrase must contain at least 2 characters that are letters or digits. [required]

repeated string words = 1;

Returns
Type Description
ProtocolStringList

A list containing the words.

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 CustomInfoType.Dictionary.WordList.Builder newBuilderForType()
Returns
Type Description
CustomInfoType.Dictionary.WordList.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CustomInfoType.Dictionary.WordList.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CustomInfoType.Dictionary.WordList.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public CustomInfoType.Dictionary.WordList.Builder toBuilder()
Returns
Type Description
CustomInfoType.Dictionary.WordList.Builder

writeTo(CodedOutputStream output)

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