Send feedback
Class CharsToIgnore.Builder (3.59.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.59.0 keyboard_arrow_down
public static final class CharsToIgnore . Builder extends GeneratedMessageV3 . Builder<CharsToIgnore . Builder > 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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CharsToIgnore . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public CharsToIgnore build ()
buildPartial()
public CharsToIgnore buildPartial ()
clear()
public CharsToIgnore . Builder clear ()
Overrides
clearCharacters()
public CharsToIgnore . Builder clearCharacters ()
clearCharactersToSkip()
public CharsToIgnore . Builder clearCharactersToSkip ()
Characters to not transform when masking.
string characters_to_skip = 1;
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;
clearField(Descriptors.FieldDescriptor field)
public CharsToIgnore . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CharsToIgnore . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clone()
public CharsToIgnore . Builder clone ()
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 ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
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.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(CharsToIgnore other)
public CharsToIgnore . Builder mergeFrom ( CharsToIgnore other )
public CharsToIgnore . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public CharsToIgnore . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CharsToIgnore . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setCharactersToSkip(String value)
public CharsToIgnore . Builder setCharactersToSkip ( String value )
Characters to not transform when masking.
string characters_to_skip = 1;
Parameter
Name
Description
value
String
The charactersToSkip to set.
setCharactersToSkipBytes(ByteString value)
public CharsToIgnore . Builder setCharactersToSkipBytes ( ByteString value )
Characters to not transform when masking.
string characters_to_skip = 1;
Parameter
Name
Description
value
ByteString
The bytes for charactersToSkip to set.
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;
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
int
The enum numeric value on the wire for commonCharactersToIgnore to set.
setField(Descriptors.FieldDescriptor field, Object value)
public CharsToIgnore . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CharsToIgnore . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CharsToIgnore . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]