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.
|