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