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
Static Fields
WORDS_FIELD_NUMBER
public static final int WORDS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static CustomInfoType.Dictionary.WordList getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static CustomInfoType.Dictionary.WordList.Builder newBuilder()
Returns
newBuilder(CustomInfoType.Dictionary.WordList prototype)
public static CustomInfoType.Dictionary.WordList.Builder newBuilder(CustomInfoType.Dictionary.WordList prototype)
Parameter
Returns
public static CustomInfoType.Dictionary.WordList parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static CustomInfoType.Dictionary.WordList parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static CustomInfoType.Dictionary.WordList parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CustomInfoType.Dictionary.WordList parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static CustomInfoType.Dictionary.WordList parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CustomInfoType.Dictionary.WordList parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CustomInfoType.Dictionary.WordList parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static CustomInfoType.Dictionary.WordList parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CustomInfoType.Dictionary.WordList parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static CustomInfoType.Dictionary.WordList parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static CustomInfoType.Dictionary.WordList parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CustomInfoType.Dictionary.WordList parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<CustomInfoType.Dictionary.WordList> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public CustomInfoType.Dictionary.WordList getDefaultInstanceForType()
Returns
getParserForType()
public Parser<CustomInfoType.Dictionary.WordList> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
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
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public CustomInfoType.Dictionary.WordList.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CustomInfoType.Dictionary.WordList.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public CustomInfoType.Dictionary.WordList.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions