Class CharsToIgnore (3.28.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
TypeDescription
int

COMMON_CHARACTERS_TO_IGNORE_FIELD_NUMBER

public static final int COMMON_CHARACTERS_TO_IGNORE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CharsToIgnore getDefaultInstance()
Returns
TypeDescription
CharsToIgnore

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static CharsToIgnore.Builder newBuilder()
Returns
TypeDescription
CharsToIgnore.Builder

newBuilder(CharsToIgnore prototype)

public static CharsToIgnore.Builder newBuilder(CharsToIgnore prototype)
Parameter
NameDescription
prototypeCharsToIgnore
Returns
TypeDescription
CharsToIgnore.Builder

parseDelimitedFrom(InputStream input)

public static CharsToIgnore parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CharsToIgnore
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CharsToIgnore parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CharsToIgnore
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static CharsToIgnore parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
CharsToIgnore
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CharsToIgnore parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CharsToIgnore
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CharsToIgnore parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
CharsToIgnore
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CharsToIgnore parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CharsToIgnore
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CharsToIgnore parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
CharsToIgnore
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CharsToIgnore parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CharsToIgnore
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static CharsToIgnore parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CharsToIgnore
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CharsToIgnore parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CharsToIgnore
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static CharsToIgnore parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
CharsToIgnore
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CharsToIgnore parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CharsToIgnore
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<CharsToIgnore> parser()
Returns
TypeDescription
Parser<CharsToIgnore>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getCharactersCase()

public CharsToIgnore.CharactersCase getCharactersCase()
Returns
TypeDescription
CharsToIgnore.CharactersCase

getCharactersToSkip()

public String getCharactersToSkip()

Characters to not transform when masking.

string characters_to_skip = 1;

Returns
TypeDescription
String

The charactersToSkip.

getCharactersToSkipBytes()

public ByteString getCharactersToSkipBytes()

Characters to not transform when masking.

string characters_to_skip = 1;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for commonCharactersToIgnore.

getDefaultInstanceForType()

public CharsToIgnore getDefaultInstanceForType()
Returns
TypeDescription
CharsToIgnore

getParserForType()

public Parser<CharsToIgnore> getParserForType()
Returns
TypeDescription
Parser<CharsToIgnore>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasCharactersToSkip()

public boolean hasCharactersToSkip()

Characters to not transform when masking.

string characters_to_skip = 1;

Returns
TypeDescription
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
TypeDescription
boolean

Whether the commonCharactersToIgnore field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public CharsToIgnore.Builder newBuilderForType()
Returns
TypeDescription
CharsToIgnore.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CharsToIgnore.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
CharsToIgnore.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public CharsToIgnore.Builder toBuilder()
Returns
TypeDescription
CharsToIgnore.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException