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/storage.proto 18 19 package com.google.privacy.dlp.v2; 20 21 public interface HybridOptionsOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.HybridOptions) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * A short description of where the data is coming from. Will be stored once 31 * in the job. 256 max length. 32 * </pre> 33 * 34 * <code>string description = 1;</code> 35 * 36 * @return The description. 37 */ getDescription()38 java.lang.String getDescription(); 39 /** 40 * 41 * 42 * <pre> 43 * A short description of where the data is coming from. Will be stored once 44 * in the job. 256 max length. 45 * </pre> 46 * 47 * <code>string description = 1;</code> 48 * 49 * @return The bytes for description. 50 */ getDescriptionBytes()51 com.google.protobuf.ByteString getDescriptionBytes(); 52 53 /** 54 * 55 * 56 * <pre> 57 * These are labels that each inspection request must include within their 58 * 'finding_labels' map. Request may contain others, but any missing one of 59 * these will be rejected. 60 * Label keys must be between 1 and 63 characters long and must conform 61 * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`. 62 * No more than 10 keys can be required. 63 * </pre> 64 * 65 * <code>repeated string required_finding_label_keys = 2;</code> 66 * 67 * @return A list containing the requiredFindingLabelKeys. 68 */ getRequiredFindingLabelKeysList()69 java.util.List<java.lang.String> getRequiredFindingLabelKeysList(); 70 /** 71 * 72 * 73 * <pre> 74 * These are labels that each inspection request must include within their 75 * 'finding_labels' map. Request may contain others, but any missing one of 76 * these will be rejected. 77 * Label keys must be between 1 and 63 characters long and must conform 78 * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`. 79 * No more than 10 keys can be required. 80 * </pre> 81 * 82 * <code>repeated string required_finding_label_keys = 2;</code> 83 * 84 * @return The count of requiredFindingLabelKeys. 85 */ getRequiredFindingLabelKeysCount()86 int getRequiredFindingLabelKeysCount(); 87 /** 88 * 89 * 90 * <pre> 91 * These are labels that each inspection request must include within their 92 * 'finding_labels' map. Request may contain others, but any missing one of 93 * these will be rejected. 94 * Label keys must be between 1 and 63 characters long and must conform 95 * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`. 96 * No more than 10 keys can be required. 97 * </pre> 98 * 99 * <code>repeated string required_finding_label_keys = 2;</code> 100 * 101 * @param index The index of the element to return. 102 * @return The requiredFindingLabelKeys at the given index. 103 */ getRequiredFindingLabelKeys(int index)104 java.lang.String getRequiredFindingLabelKeys(int index); 105 /** 106 * 107 * 108 * <pre> 109 * These are labels that each inspection request must include within their 110 * 'finding_labels' map. Request may contain others, but any missing one of 111 * these will be rejected. 112 * Label keys must be between 1 and 63 characters long and must conform 113 * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`. 114 * No more than 10 keys can be required. 115 * </pre> 116 * 117 * <code>repeated string required_finding_label_keys = 2;</code> 118 * 119 * @param index The index of the value to return. 120 * @return The bytes of the requiredFindingLabelKeys at the given index. 121 */ getRequiredFindingLabelKeysBytes(int index)122 com.google.protobuf.ByteString getRequiredFindingLabelKeysBytes(int index); 123 124 /** 125 * 126 * 127 * <pre> 128 * To organize findings, these labels will be added to each finding. 129 * Label keys must be between 1 and 63 characters long and must conform 130 * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`. 131 * Label values must be between 0 and 63 characters long and must conform 132 * to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`. 133 * No more than 10 labels can be associated with a given finding. 134 * Examples: 135 * * `"environment" : "production"` 136 * * `"pipeline" : "etl"` 137 * </pre> 138 * 139 * <code>map<string, string> labels = 3;</code> 140 */ getLabelsCount()141 int getLabelsCount(); 142 /** 143 * 144 * 145 * <pre> 146 * To organize findings, these labels will be added to each finding. 147 * Label keys must be between 1 and 63 characters long and must conform 148 * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`. 149 * Label values must be between 0 and 63 characters long and must conform 150 * to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`. 151 * No more than 10 labels can be associated with a given finding. 152 * Examples: 153 * * `"environment" : "production"` 154 * * `"pipeline" : "etl"` 155 * </pre> 156 * 157 * <code>map<string, string> labels = 3;</code> 158 */ containsLabels(java.lang.String key)159 boolean containsLabels(java.lang.String key); 160 /** Use {@link #getLabelsMap()} instead. */ 161 @java.lang.Deprecated getLabels()162 java.util.Map<java.lang.String, java.lang.String> getLabels(); 163 /** 164 * 165 * 166 * <pre> 167 * To organize findings, these labels will be added to each finding. 168 * Label keys must be between 1 and 63 characters long and must conform 169 * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`. 170 * Label values must be between 0 and 63 characters long and must conform 171 * to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`. 172 * No more than 10 labels can be associated with a given finding. 173 * Examples: 174 * * `"environment" : "production"` 175 * * `"pipeline" : "etl"` 176 * </pre> 177 * 178 * <code>map<string, string> labels = 3;</code> 179 */ getLabelsMap()180 java.util.Map<java.lang.String, java.lang.String> getLabelsMap(); 181 /** 182 * 183 * 184 * <pre> 185 * To organize findings, these labels will be added to each finding. 186 * Label keys must be between 1 and 63 characters long and must conform 187 * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`. 188 * Label values must be between 0 and 63 characters long and must conform 189 * to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`. 190 * No more than 10 labels can be associated with a given finding. 191 * Examples: 192 * * `"environment" : "production"` 193 * * `"pipeline" : "etl"` 194 * </pre> 195 * 196 * <code>map<string, string> labels = 3;</code> 197 */ 198 /* nullable */ getLabelsOrDefault( java.lang.String key, java.lang.String defaultValue)199 java.lang.String getLabelsOrDefault( 200 java.lang.String key, 201 /* nullable */ 202 java.lang.String defaultValue); 203 /** 204 * 205 * 206 * <pre> 207 * To organize findings, these labels will be added to each finding. 208 * Label keys must be between 1 and 63 characters long and must conform 209 * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`. 210 * Label values must be between 0 and 63 characters long and must conform 211 * to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`. 212 * No more than 10 labels can be associated with a given finding. 213 * Examples: 214 * * `"environment" : "production"` 215 * * `"pipeline" : "etl"` 216 * </pre> 217 * 218 * <code>map<string, string> labels = 3;</code> 219 */ getLabelsOrThrow(java.lang.String key)220 java.lang.String getLabelsOrThrow(java.lang.String key); 221 222 /** 223 * 224 * 225 * <pre> 226 * If the container is a table, additional information to make findings 227 * meaningful such as the columns that are primary keys. 228 * </pre> 229 * 230 * <code>.google.privacy.dlp.v2.TableOptions table_options = 4;</code> 231 * 232 * @return Whether the tableOptions field is set. 233 */ hasTableOptions()234 boolean hasTableOptions(); 235 /** 236 * 237 * 238 * <pre> 239 * If the container is a table, additional information to make findings 240 * meaningful such as the columns that are primary keys. 241 * </pre> 242 * 243 * <code>.google.privacy.dlp.v2.TableOptions table_options = 4;</code> 244 * 245 * @return The tableOptions. 246 */ getTableOptions()247 com.google.privacy.dlp.v2.TableOptions getTableOptions(); 248 /** 249 * 250 * 251 * <pre> 252 * If the container is a table, additional information to make findings 253 * meaningful such as the columns that are primary keys. 254 * </pre> 255 * 256 * <code>.google.privacy.dlp.v2.TableOptions table_options = 4;</code> 257 */ getTableOptionsOrBuilder()258 com.google.privacy.dlp.v2.TableOptionsOrBuilder getTableOptionsOrBuilder(); 259 } 260