Send feedback
Class CustomInfoType.Dictionary.WordList.Builder (3.35.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.35.0 keyboard_arrow_down
public static final class CustomInfoType . Dictionary . WordList . Builder extends GeneratedMessageV3 . Builder<CustomInfoType . Dictionary . WordList . Builder> 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.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addAllWords(Iterable<String> values)
public CustomInfoType . Dictionary . WordList . Builder addAllWords ( Iterable<String> values )
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;
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CustomInfoType . Dictionary . WordList . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
addWords(String value)
public CustomInfoType . Dictionary . WordList . Builder addWords ( String value )
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 value
String
The words to add.
addWordsBytes(ByteString value)
public CustomInfoType . Dictionary . WordList . Builder addWordsBytes ( ByteString value )
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 value
ByteString
The bytes of the words to add.
build()
public CustomInfoType . Dictionary . WordList build ()
buildPartial()
public CustomInfoType . Dictionary . WordList buildPartial ()
clear()
public CustomInfoType . Dictionary . WordList . Builder clear ()
Overrides
clearField(Descriptors.FieldDescriptor field)
public CustomInfoType . Dictionary . WordList . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CustomInfoType . Dictionary . WordList . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearWords()
public CustomInfoType . Dictionary . WordList . Builder clearWords ()
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;
clone()
public CustomInfoType . Dictionary . WordList . Builder clone ()
Overrides
getDefaultInstanceForType()
public CustomInfoType . Dictionary . WordList getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
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;
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(CustomInfoType.Dictionary.WordList other)
public CustomInfoType . Dictionary . WordList . Builder mergeFrom ( CustomInfoType . Dictionary . WordList other )
public CustomInfoType . Dictionary . WordList . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public CustomInfoType . Dictionary . WordList . Builder mergeFrom ( Message other )
Parameter Name Description other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CustomInfoType . Dictionary . WordList . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CustomInfoType . Dictionary . WordList . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CustomInfoType . Dictionary . WordList . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CustomInfoType . Dictionary . WordList . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setWords(int index, String value)
public CustomInfoType . Dictionary . WordList . Builder setWords ( int index , String value )
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;
Parameters Name Description index
int
The index to set the value at.
value
String
The words to set.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-19 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?
{"lastModified": "Last updated 2024-09-19 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-19 UTC."]]