Class CharsToIgnore (3.46.0)

public final class CharsToIgnore extends GeneratedMessageV3 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 Fields

CHARACTERS_TO_SKIP_FIELD_NUMBER

public static final int CHARACTERS_TO_SKIP_FIELD_NUMBER
Field Value
Type Description
int

COMMON_CHARACTERS_TO_IGNORE_FIELD_NUMBER

public static final int COMMON_CHARACTERS_TO_IGNORE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CharsToIgnore getDefaultInstance()
Returns
Type Description
CharsToIgnore

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static CharsToIgnore.Builder newBuilder()
Returns
Type Description
CharsToIgnore.Builder

newBuilder(CharsToIgnore prototype)

public static CharsToIgnore.Builder newBuilder(CharsToIgnore prototype)
Parameter
Name Description
prototype CharsToIgnore
Returns
Type Description
CharsToIgnore.Builder

parseDelimitedFrom(InputStream input)

public static CharsToIgnore parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CharsToIgnore
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CharsToIgnore parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CharsToIgnore
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static CharsToIgnore parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
CharsToIgnore
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CharsToIgnore parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CharsToIgnore
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CharsToIgnore parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
CharsToIgnore
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CharsToIgnore parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CharsToIgnore
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CharsToIgnore parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
CharsToIgnore
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CharsToIgnore parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CharsToIgnore
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static CharsToIgnore parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CharsToIgnore
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CharsToIgnore parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CharsToIgnore
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static CharsToIgnore parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
CharsToIgnore
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CharsToIgnore parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CharsToIgnore
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<CharsToIgnore> parser()
Returns
Type Description
Parser<CharsToIgnore>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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

getParserForType()

public Parser<CharsToIgnore> getParserForType()
Returns
Type Description
Parser<CharsToIgnore>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public CharsToIgnore.Builder newBuilderForType()
Returns
Type Description
CharsToIgnore.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CharsToIgnore.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CharsToIgnore.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public CharsToIgnore.Builder toBuilder()
Returns
Type Description
CharsToIgnore.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException