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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static CustomInfoType.Dictionary.WordList.Builder newBuilder()
newBuilder(CustomInfoType.Dictionary.WordList prototype)
public static CustomInfoType.Dictionary.WordList.Builder newBuilder(CustomInfoType.Dictionary.WordList prototype)
public static CustomInfoType.Dictionary.WordList parseDelimitedFrom(InputStream input)
public static CustomInfoType.Dictionary.WordList parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static CustomInfoType.Dictionary.WordList parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CustomInfoType.Dictionary.WordList parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static CustomInfoType.Dictionary.WordList parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CustomInfoType.Dictionary.WordList parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CustomInfoType.Dictionary.WordList parseFrom(CodedInputStream input)
public static CustomInfoType.Dictionary.WordList parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CustomInfoType.Dictionary.WordList parseFrom(InputStream input)
public static CustomInfoType.Dictionary.WordList parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static CustomInfoType.Dictionary.WordList parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CustomInfoType.Dictionary.WordList parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<CustomInfoType.Dictionary.WordList> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public CustomInfoType.Dictionary.WordList getDefaultInstanceForType()
getParserForType()
public Parser<CustomInfoType.Dictionary.WordList> getParserForType()
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;
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public CustomInfoType.Dictionary.WordList.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CustomInfoType.Dictionary.WordList.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public CustomInfoType.Dictionary.WordList.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides