public interface CharacterMaskConfigOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
CharsToIgnore |
getCharactersToIgnore(int index)
When masking a string, items in this list will be skipped when replacing.
|
int |
getCharactersToIgnoreCount()
When masking a string, items in this list will be skipped when replacing.
|
java.util.List<CharsToIgnore> |
getCharactersToIgnoreList()
When masking a string, items in this list will be skipped when replacing.
|
CharsToIgnoreOrBuilder |
getCharactersToIgnoreOrBuilder(int index)
When masking a string, items in this list will be skipped when replacing.
|
java.util.List<? extends CharsToIgnoreOrBuilder> |
getCharactersToIgnoreOrBuilderList()
When masking a string, items in this list will be skipped when replacing.
|
java.lang.String |
getMaskingCharacter()
Character to mask the sensitive values—for example, "*" for an
alphabetic string such as name, or "0" for a numeric string such as ZIP
code or credit card number.
|
ByteString |
getMaskingCharacterBytes()
Character to mask the sensitive values—for example, "*" for an
alphabetic string such as name, or "0" for a numeric string such as ZIP
code or credit card number.
|
int |
getNumberToMask()
Number of characters to mask.
|
boolean |
getReverseOrder()
Mask characters in reverse order.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
java.lang.String getMaskingCharacter()
Character to mask the sensitive values—for example, "*" for an alphabetic string such as name, or "0" for a numeric string such as ZIP code or credit card number. String must have length 1. If not supplied, we will default to "*" for strings, 0 for digits.
string masking_character = 1;
ByteString getMaskingCharacterBytes()
Character to mask the sensitive values—for example, "*" for an alphabetic string such as name, or "0" for a numeric string such as ZIP code or credit card number. String must have length 1. If not supplied, we will default to "*" for strings, 0 for digits.
string masking_character = 1;
int getNumberToMask()
Number of characters to mask. If not set, all matching chars will be masked. Skipped characters do not count towards this tally.
int32 number_to_mask = 2;
boolean getReverseOrder()
Mask characters in reverse order. For example, if `masking_character` is '0', number_to_mask is 14, and `reverse_order` is false, then 1234-5678-9012-3456 -> 00000000000000-3456 If `masking_character` is '*', `number_to_mask` is 3, and `reverse_order` is true, then 12345 -> 12***
bool reverse_order = 3;
java.util.List<CharsToIgnore> getCharactersToIgnoreList()
When masking a string, items in this list will be skipped when replacing. For example, if your string is 555-555-5555 and you ask us to skip `-` and mask 5 chars with * we would produce ***-*55-5555.
repeated .google.privacy.dlp.v2.CharsToIgnore characters_to_ignore = 4;
CharsToIgnore getCharactersToIgnore(int index)
When masking a string, items in this list will be skipped when replacing. For example, if your string is 555-555-5555 and you ask us to skip `-` and mask 5 chars with * we would produce ***-*55-5555.
repeated .google.privacy.dlp.v2.CharsToIgnore characters_to_ignore = 4;
int getCharactersToIgnoreCount()
When masking a string, items in this list will be skipped when replacing. For example, if your string is 555-555-5555 and you ask us to skip `-` and mask 5 chars with * we would produce ***-*55-5555.
repeated .google.privacy.dlp.v2.CharsToIgnore characters_to_ignore = 4;
java.util.List<? extends CharsToIgnoreOrBuilder> getCharactersToIgnoreOrBuilderList()
When masking a string, items in this list will be skipped when replacing. For example, if your string is 555-555-5555 and you ask us to skip `-` and mask 5 chars with * we would produce ***-*55-5555.
repeated .google.privacy.dlp.v2.CharsToIgnore characters_to_ignore = 4;
CharsToIgnoreOrBuilder getCharactersToIgnoreOrBuilder(int index)
When masking a string, items in this list will be skipped when replacing. For example, if your string is 555-555-5555 and you ask us to skip `-` and mask 5 chars with * we would produce ***-*55-5555.
repeated .google.privacy.dlp.v2.CharsToIgnore characters_to_ignore = 4;