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
COMMON_CHARACTERS_TO_IGNORE_FIELD_NUMBER
public static final int COMMON_CHARACTERS_TO_IGNORE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static CharsToIgnore getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static CharsToIgnore.Builder newBuilder()
Returns
newBuilder(CharsToIgnore prototype)
public static CharsToIgnore.Builder newBuilder(CharsToIgnore prototype)
Parameter
Returns
public static CharsToIgnore parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static CharsToIgnore parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static CharsToIgnore parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CharsToIgnore parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static CharsToIgnore parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CharsToIgnore parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CharsToIgnore parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static CharsToIgnore parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CharsToIgnore parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static CharsToIgnore parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static CharsToIgnore parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CharsToIgnore parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<CharsToIgnore> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
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
getParserForType()
public Parser<CharsToIgnore> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
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.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public CharsToIgnore.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CharsToIgnore.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public CharsToIgnore.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions