public static final class CharsToIgnore.Builder extends GeneratedMessageV3.Builder<CharsToIgnore.Builder> implements CharsToIgnoreOrBuilder
Characters to skip when doing deidentification of a value. These will be left
alone and skipped.
Protobuf type google.privacy.dlp.v2.CharsToIgnore
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CharsToIgnore.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public CharsToIgnore build()
Returns
buildPartial()
public CharsToIgnore buildPartial()
Returns
clear()
public CharsToIgnore.Builder clear()
Returns
Overrides
clearCharacters()
public CharsToIgnore.Builder clearCharacters()
Returns
clearCharactersToSkip()
public CharsToIgnore.Builder clearCharactersToSkip()
Characters to not transform when masking.
string characters_to_skip = 1;
Returns
clearCommonCharactersToIgnore()
public CharsToIgnore.Builder clearCommonCharactersToIgnore()
Common characters to not transform when masking. Useful to avoid removing
punctuation.
.google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore common_characters_to_ignore = 2;
Returns
clearField(Descriptors.FieldDescriptor field)
public CharsToIgnore.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CharsToIgnore.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public CharsToIgnore.Builder clone()
Returns
Overrides
getCharactersCase()
public CharsToIgnore.CharactersCase getCharactersCase()
Returns
getCharactersToSkip()
public String getCharactersToSkip()
Characters to not transform when masking.
string characters_to_skip = 1;
Returns
Type | Description |
String | The charactersToSkip.
|
getCharactersToSkipBytes()
public ByteString getCharactersToSkipBytes()
Characters to not transform when masking.
string characters_to_skip = 1;
Returns
Type | Description |
ByteString | The bytes for charactersToSkip.
|
getCommonCharactersToIgnore()
public CharsToIgnore.CommonCharsToIgnore getCommonCharactersToIgnore()
Common characters to not transform when masking. Useful to avoid removing
punctuation.
.google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore common_characters_to_ignore = 2;
Returns
getCommonCharactersToIgnoreValue()
public int getCommonCharactersToIgnoreValue()
Common characters to not transform when masking. Useful to avoid removing
punctuation.
.google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore common_characters_to_ignore = 2;
Returns
Type | Description |
int | The enum numeric value on the wire for commonCharactersToIgnore.
|
getDefaultInstanceForType()
public CharsToIgnore getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
hasCharactersToSkip()
public boolean hasCharactersToSkip()
Characters to not transform when masking.
string characters_to_skip = 1;
Returns
Type | Description |
boolean | Whether the charactersToSkip field is set.
|
hasCommonCharactersToIgnore()
public boolean hasCommonCharactersToIgnore()
Common characters to not transform when masking. Useful to avoid removing
punctuation.
.google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore common_characters_to_ignore = 2;
Returns
Type | Description |
boolean | Whether the commonCharactersToIgnore field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(CharsToIgnore other)
public CharsToIgnore.Builder mergeFrom(CharsToIgnore other)
Parameter
Returns
public CharsToIgnore.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CharsToIgnore.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CharsToIgnore.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setCharactersToSkip(String value)
public CharsToIgnore.Builder setCharactersToSkip(String value)
Characters to not transform when masking.
string characters_to_skip = 1;
Parameter
Name | Description |
value | String
The charactersToSkip to set.
|
Returns
setCharactersToSkipBytes(ByteString value)
public CharsToIgnore.Builder setCharactersToSkipBytes(ByteString value)
Characters to not transform when masking.
string characters_to_skip = 1;
Parameter
Name | Description |
value | ByteString
The bytes for charactersToSkip to set.
|
Returns
setCommonCharactersToIgnore(CharsToIgnore.CommonCharsToIgnore value)
public CharsToIgnore.Builder setCommonCharactersToIgnore(CharsToIgnore.CommonCharsToIgnore value)
Common characters to not transform when masking. Useful to avoid removing
punctuation.
.google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore common_characters_to_ignore = 2;
Parameter
Returns
setCommonCharactersToIgnoreValue(int value)
public CharsToIgnore.Builder setCommonCharactersToIgnoreValue(int value)
Common characters to not transform when masking. Useful to avoid removing
punctuation.
.google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore common_characters_to_ignore = 2;
Parameter
Name | Description |
value | int
The enum numeric value on the wire for commonCharactersToIgnore to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public CharsToIgnore.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CharsToIgnore.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CharsToIgnore.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides