1 /* 2 * Copyright 2020 Google LLC 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * https://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 // Generated by the protocol buffer compiler. DO NOT EDIT! 17 // source: google/privacy/dlp/v2/dlp.proto 18 19 package com.google.privacy.dlp.v2; 20 21 public interface CharsToIgnoreOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.CharsToIgnore) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * Characters to not transform when masking. 31 * </pre> 32 * 33 * <code>string characters_to_skip = 1;</code> 34 * 35 * @return Whether the charactersToSkip field is set. 36 */ hasCharactersToSkip()37 boolean hasCharactersToSkip(); 38 /** 39 * 40 * 41 * <pre> 42 * Characters to not transform when masking. 43 * </pre> 44 * 45 * <code>string characters_to_skip = 1;</code> 46 * 47 * @return The charactersToSkip. 48 */ getCharactersToSkip()49 java.lang.String getCharactersToSkip(); 50 /** 51 * 52 * 53 * <pre> 54 * Characters to not transform when masking. 55 * </pre> 56 * 57 * <code>string characters_to_skip = 1;</code> 58 * 59 * @return The bytes for charactersToSkip. 60 */ getCharactersToSkipBytes()61 com.google.protobuf.ByteString getCharactersToSkipBytes(); 62 63 /** 64 * 65 * 66 * <pre> 67 * Common characters to not transform when masking. Useful to avoid removing 68 * punctuation. 69 * </pre> 70 * 71 * <code>.google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore common_characters_to_ignore = 2; 72 * </code> 73 * 74 * @return Whether the commonCharactersToIgnore field is set. 75 */ hasCommonCharactersToIgnore()76 boolean hasCommonCharactersToIgnore(); 77 /** 78 * 79 * 80 * <pre> 81 * Common characters to not transform when masking. Useful to avoid removing 82 * punctuation. 83 * </pre> 84 * 85 * <code>.google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore common_characters_to_ignore = 2; 86 * </code> 87 * 88 * @return The enum numeric value on the wire for commonCharactersToIgnore. 89 */ getCommonCharactersToIgnoreValue()90 int getCommonCharactersToIgnoreValue(); 91 /** 92 * 93 * 94 * <pre> 95 * Common characters to not transform when masking. Useful to avoid removing 96 * punctuation. 97 * </pre> 98 * 99 * <code>.google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore common_characters_to_ignore = 2; 100 * </code> 101 * 102 * @return The commonCharactersToIgnore. 103 */ getCommonCharactersToIgnore()104 com.google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore getCommonCharactersToIgnore(); 105 getCharactersCase()106 public com.google.privacy.dlp.v2.CharsToIgnore.CharactersCase getCharactersCase(); 107 } 108