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 StoredInfoTypeConfigOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.StoredInfoTypeConfig) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * Display name of the StoredInfoType (max 256 characters). 31 * </pre> 32 * 33 * <code>string display_name = 1;</code> 34 * 35 * @return The displayName. 36 */ getDisplayName()37 java.lang.String getDisplayName(); 38 /** 39 * 40 * 41 * <pre> 42 * Display name of the StoredInfoType (max 256 characters). 43 * </pre> 44 * 45 * <code>string display_name = 1;</code> 46 * 47 * @return The bytes for displayName. 48 */ getDisplayNameBytes()49 com.google.protobuf.ByteString getDisplayNameBytes(); 50 51 /** 52 * 53 * 54 * <pre> 55 * Description of the StoredInfoType (max 256 characters). 56 * </pre> 57 * 58 * <code>string description = 2;</code> 59 * 60 * @return The description. 61 */ getDescription()62 java.lang.String getDescription(); 63 /** 64 * 65 * 66 * <pre> 67 * Description of the StoredInfoType (max 256 characters). 68 * </pre> 69 * 70 * <code>string description = 2;</code> 71 * 72 * @return The bytes for description. 73 */ getDescriptionBytes()74 com.google.protobuf.ByteString getDescriptionBytes(); 75 76 /** 77 * 78 * 79 * <pre> 80 * StoredInfoType where findings are defined by a dictionary of phrases. 81 * </pre> 82 * 83 * <code>.google.privacy.dlp.v2.LargeCustomDictionaryConfig large_custom_dictionary = 3;</code> 84 * 85 * @return Whether the largeCustomDictionary field is set. 86 */ hasLargeCustomDictionary()87 boolean hasLargeCustomDictionary(); 88 /** 89 * 90 * 91 * <pre> 92 * StoredInfoType where findings are defined by a dictionary of phrases. 93 * </pre> 94 * 95 * <code>.google.privacy.dlp.v2.LargeCustomDictionaryConfig large_custom_dictionary = 3;</code> 96 * 97 * @return The largeCustomDictionary. 98 */ getLargeCustomDictionary()99 com.google.privacy.dlp.v2.LargeCustomDictionaryConfig getLargeCustomDictionary(); 100 /** 101 * 102 * 103 * <pre> 104 * StoredInfoType where findings are defined by a dictionary of phrases. 105 * </pre> 106 * 107 * <code>.google.privacy.dlp.v2.LargeCustomDictionaryConfig large_custom_dictionary = 3;</code> 108 */ 109 com.google.privacy.dlp.v2.LargeCustomDictionaryConfigOrBuilder getLargeCustomDictionaryOrBuilder()110 getLargeCustomDictionaryOrBuilder(); 111 112 /** 113 * 114 * 115 * <pre> 116 * Store dictionary-based CustomInfoType. 117 * </pre> 118 * 119 * <code>.google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 4;</code> 120 * 121 * @return Whether the dictionary field is set. 122 */ hasDictionary()123 boolean hasDictionary(); 124 /** 125 * 126 * 127 * <pre> 128 * Store dictionary-based CustomInfoType. 129 * </pre> 130 * 131 * <code>.google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 4;</code> 132 * 133 * @return The dictionary. 134 */ getDictionary()135 com.google.privacy.dlp.v2.CustomInfoType.Dictionary getDictionary(); 136 /** 137 * 138 * 139 * <pre> 140 * Store dictionary-based CustomInfoType. 141 * </pre> 142 * 143 * <code>.google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 4;</code> 144 */ getDictionaryOrBuilder()145 com.google.privacy.dlp.v2.CustomInfoType.DictionaryOrBuilder getDictionaryOrBuilder(); 146 147 /** 148 * 149 * 150 * <pre> 151 * Store regular expression-based StoredInfoType. 152 * </pre> 153 * 154 * <code>.google.privacy.dlp.v2.CustomInfoType.Regex regex = 5;</code> 155 * 156 * @return Whether the regex field is set. 157 */ hasRegex()158 boolean hasRegex(); 159 /** 160 * 161 * 162 * <pre> 163 * Store regular expression-based StoredInfoType. 164 * </pre> 165 * 166 * <code>.google.privacy.dlp.v2.CustomInfoType.Regex regex = 5;</code> 167 * 168 * @return The regex. 169 */ getRegex()170 com.google.privacy.dlp.v2.CustomInfoType.Regex getRegex(); 171 /** 172 * 173 * 174 * <pre> 175 * Store regular expression-based StoredInfoType. 176 * </pre> 177 * 178 * <code>.google.privacy.dlp.v2.CustomInfoType.Regex regex = 5;</code> 179 */ getRegexOrBuilder()180 com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder getRegexOrBuilder(); 181 getTypeCase()182 public com.google.privacy.dlp.v2.StoredInfoTypeConfig.TypeCase getTypeCase(); 183 } 184