Class CustomInfoType.Dictionary.WordList (3.3.2)

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
TypeDescription
int

Static Methods

getDefaultInstance()

public static CustomInfoType.Dictionary.WordList getDefaultInstance()
Returns
TypeDescription
CustomInfoType.Dictionary.WordList

getDescriptor()

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

newBuilder()

public static CustomInfoType.Dictionary.WordList.Builder newBuilder()
Returns
TypeDescription
CustomInfoType.Dictionary.WordList.Builder

newBuilder(CustomInfoType.Dictionary.WordList prototype)

public static CustomInfoType.Dictionary.WordList.Builder newBuilder(CustomInfoType.Dictionary.WordList prototype)
Parameter
NameDescription
prototypeCustomInfoType.Dictionary.WordList
Returns
TypeDescription
CustomInfoType.Dictionary.WordList.Builder

parseDelimitedFrom(InputStream input)

public static CustomInfoType.Dictionary.WordList parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CustomInfoType.Dictionary.WordList
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CustomInfoType.Dictionary.WordList parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CustomInfoType.Dictionary.WordList
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static CustomInfoType.Dictionary.WordList parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
CustomInfoType.Dictionary.WordList
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static CustomInfoType.Dictionary.WordList parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
CustomInfoType.Dictionary.WordList
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CustomInfoType.Dictionary.WordList parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CustomInfoType.Dictionary.WordList
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CustomInfoType.Dictionary.WordList parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
CustomInfoType.Dictionary.WordList
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CustomInfoType.Dictionary.WordList parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CustomInfoType.Dictionary.WordList
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static CustomInfoType.Dictionary.WordList parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CustomInfoType.Dictionary.WordList
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CustomInfoType.Dictionary.WordList parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CustomInfoType.Dictionary.WordList
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static CustomInfoType.Dictionary.WordList parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
CustomInfoType.Dictionary.WordList
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CustomInfoType.Dictionary.WordList parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CustomInfoType.Dictionary.WordList
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public CustomInfoType.Dictionary.WordList getDefaultInstanceForType()
Returns
TypeDescription
CustomInfoType.Dictionary.WordList

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ProtocolStringList

A list containing the words.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CustomInfoType.Dictionary.WordList.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
CustomInfoType.Dictionary.WordList.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public CustomInfoType.Dictionary.WordList.Builder toBuilder()
Returns
TypeDescription
CustomInfoType.Dictionary.WordList.Builder

writeTo(CodedOutputStream output)

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