public static final class CharsToIgnore.Builder extends GeneratedMessage.Builder<CharsToIgnore.Builder> implements CharsToIgnoreOrBuilderCharacters to skip when doing deidentification of a value. These will be left alone and skipped.
Protobuf type google.privacy.dlp.v2.CharsToIgnore
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CharsToIgnore.BuilderImplements
CharsToIgnoreOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CharsToIgnore build()| Returns | |
|---|---|
| Type | Description |
CharsToIgnore |
|
buildPartial()
public CharsToIgnore buildPartial()| Returns | |
|---|---|
| Type | Description |
CharsToIgnore |
|
clear()
public CharsToIgnore.Builder clear()| Returns | |
|---|---|
| Type | Description |
CharsToIgnore.Builder |
|
clearCharacters()
public CharsToIgnore.Builder clearCharacters()| Returns | |
|---|---|
| Type | Description |
CharsToIgnore.Builder |
|
clearCharactersToSkip()
public CharsToIgnore.Builder clearCharactersToSkip()Characters to not transform when masking.
string characters_to_skip = 1;
| Returns | |
|---|---|
| Type | Description |
CharsToIgnore.Builder |
This builder for chaining. |
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 | |
|---|---|
| Type | Description |
CharsToIgnore.Builder |
This builder for chaining. |
getCharactersCase()
public CharsToIgnore.CharactersCase getCharactersCase()| Returns | |
|---|---|
| Type | Description |
CharsToIgnore.CharactersCase |
|
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 | |
|---|---|
| Type | Description |
CharsToIgnore.CommonCharsToIgnore |
The commonCharactersToIgnore. |
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 | |
|---|---|
| Type | Description |
CharsToIgnore |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CharsToIgnore other)
public CharsToIgnore.Builder mergeFrom(CharsToIgnore other)| Parameter | |
|---|---|
| Name | Description |
other |
CharsToIgnore |
| Returns | |
|---|---|
| Type | Description |
CharsToIgnore.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CharsToIgnore.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CharsToIgnore.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CharsToIgnore.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CharsToIgnore.Builder |
|
setCharactersToSkip(String value)
public CharsToIgnore.Builder setCharactersToSkip(String value)Characters to not transform when masking.
string characters_to_skip = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe charactersToSkip to set. |
| Returns | |
|---|---|
| Type | Description |
CharsToIgnore.Builder |
This builder for chaining. |
setCharactersToSkipBytes(ByteString value)
public CharsToIgnore.Builder setCharactersToSkipBytes(ByteString value)Characters to not transform when masking.
string characters_to_skip = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for charactersToSkip to set. |
| Returns | |
|---|---|
| Type | Description |
CharsToIgnore.Builder |
This builder for chaining. |
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 | |
|---|---|
| Name | Description |
value |
CharsToIgnore.CommonCharsToIgnoreThe commonCharactersToIgnore to set. |
| Returns | |
|---|---|
| Type | Description |
CharsToIgnore.Builder |
This builder for chaining. |
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 |
intThe enum numeric value on the wire for commonCharactersToIgnore to set. |
| Returns | |
|---|---|
| Type | Description |
CharsToIgnore.Builder |
This builder for chaining. |