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 ReidentifyContentRequestOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.ReidentifyContentRequest) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * Required. Parent resource name. 31 * The format of this value varies depending on whether you have [specified a 32 * processing 33 * location](https://cloud.google.com/dlp/docs/specifying-location): 34 * + Projects scope, location specified:<br/> 35 * `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var> 36 * + Projects scope, no location specified (defaults to global):<br/> 37 * `projects/`<var>PROJECT_ID</var> 38 * The following example `parent` string specifies a parent project with the 39 * identifier `example-project`, and specifies the `europe-west3` location 40 * for processing data: 41 * parent=projects/example-project/locations/europe-west3 42 * </pre> 43 * 44 * <code> 45 * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } 46 * </code> 47 * 48 * @return The parent. 49 */ getParent()50 java.lang.String getParent(); 51 /** 52 * 53 * 54 * <pre> 55 * Required. Parent resource name. 56 * The format of this value varies depending on whether you have [specified a 57 * processing 58 * location](https://cloud.google.com/dlp/docs/specifying-location): 59 * + Projects scope, location specified:<br/> 60 * `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var> 61 * + Projects scope, no location specified (defaults to global):<br/> 62 * `projects/`<var>PROJECT_ID</var> 63 * The following example `parent` string specifies a parent project with the 64 * identifier `example-project`, and specifies the `europe-west3` location 65 * for processing data: 66 * parent=projects/example-project/locations/europe-west3 67 * </pre> 68 * 69 * <code> 70 * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } 71 * </code> 72 * 73 * @return The bytes for parent. 74 */ getParentBytes()75 com.google.protobuf.ByteString getParentBytes(); 76 77 /** 78 * 79 * 80 * <pre> 81 * Configuration for the re-identification of the content item. 82 * This field shares the same proto message type that is used for 83 * de-identification, however its usage here is for the reversal of the 84 * previous de-identification. Re-identification is performed by examining 85 * the transformations used to de-identify the items and executing the 86 * reverse. This requires that only reversible transformations 87 * be provided here. The reversible transformations are: 88 * - `CryptoDeterministicConfig` 89 * - `CryptoReplaceFfxFpeConfig` 90 * </pre> 91 * 92 * <code>.google.privacy.dlp.v2.DeidentifyConfig reidentify_config = 2;</code> 93 * 94 * @return Whether the reidentifyConfig field is set. 95 */ hasReidentifyConfig()96 boolean hasReidentifyConfig(); 97 /** 98 * 99 * 100 * <pre> 101 * Configuration for the re-identification of the content item. 102 * This field shares the same proto message type that is used for 103 * de-identification, however its usage here is for the reversal of the 104 * previous de-identification. Re-identification is performed by examining 105 * the transformations used to de-identify the items and executing the 106 * reverse. This requires that only reversible transformations 107 * be provided here. The reversible transformations are: 108 * - `CryptoDeterministicConfig` 109 * - `CryptoReplaceFfxFpeConfig` 110 * </pre> 111 * 112 * <code>.google.privacy.dlp.v2.DeidentifyConfig reidentify_config = 2;</code> 113 * 114 * @return The reidentifyConfig. 115 */ getReidentifyConfig()116 com.google.privacy.dlp.v2.DeidentifyConfig getReidentifyConfig(); 117 /** 118 * 119 * 120 * <pre> 121 * Configuration for the re-identification of the content item. 122 * This field shares the same proto message type that is used for 123 * de-identification, however its usage here is for the reversal of the 124 * previous de-identification. Re-identification is performed by examining 125 * the transformations used to de-identify the items and executing the 126 * reverse. This requires that only reversible transformations 127 * be provided here. The reversible transformations are: 128 * - `CryptoDeterministicConfig` 129 * - `CryptoReplaceFfxFpeConfig` 130 * </pre> 131 * 132 * <code>.google.privacy.dlp.v2.DeidentifyConfig reidentify_config = 2;</code> 133 */ getReidentifyConfigOrBuilder()134 com.google.privacy.dlp.v2.DeidentifyConfigOrBuilder getReidentifyConfigOrBuilder(); 135 136 /** 137 * 138 * 139 * <pre> 140 * Configuration for the inspector. 141 * </pre> 142 * 143 * <code>.google.privacy.dlp.v2.InspectConfig inspect_config = 3;</code> 144 * 145 * @return Whether the inspectConfig field is set. 146 */ hasInspectConfig()147 boolean hasInspectConfig(); 148 /** 149 * 150 * 151 * <pre> 152 * Configuration for the inspector. 153 * </pre> 154 * 155 * <code>.google.privacy.dlp.v2.InspectConfig inspect_config = 3;</code> 156 * 157 * @return The inspectConfig. 158 */ getInspectConfig()159 com.google.privacy.dlp.v2.InspectConfig getInspectConfig(); 160 /** 161 * 162 * 163 * <pre> 164 * Configuration for the inspector. 165 * </pre> 166 * 167 * <code>.google.privacy.dlp.v2.InspectConfig inspect_config = 3;</code> 168 */ getInspectConfigOrBuilder()169 com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilder(); 170 171 /** 172 * 173 * 174 * <pre> 175 * The item to re-identify. Will be treated as text. 176 * </pre> 177 * 178 * <code>.google.privacy.dlp.v2.ContentItem item = 4;</code> 179 * 180 * @return Whether the item field is set. 181 */ hasItem()182 boolean hasItem(); 183 /** 184 * 185 * 186 * <pre> 187 * The item to re-identify. Will be treated as text. 188 * </pre> 189 * 190 * <code>.google.privacy.dlp.v2.ContentItem item = 4;</code> 191 * 192 * @return The item. 193 */ getItem()194 com.google.privacy.dlp.v2.ContentItem getItem(); 195 /** 196 * 197 * 198 * <pre> 199 * The item to re-identify. Will be treated as text. 200 * </pre> 201 * 202 * <code>.google.privacy.dlp.v2.ContentItem item = 4;</code> 203 */ getItemOrBuilder()204 com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder(); 205 206 /** 207 * 208 * 209 * <pre> 210 * Template to use. Any configuration directly specified in 211 * `inspect_config` will override those set in the template. Singular fields 212 * that are set in this request will replace their corresponding fields in the 213 * template. Repeated fields are appended. Singular sub-messages and groups 214 * are recursively merged. 215 * </pre> 216 * 217 * <code>string inspect_template_name = 5;</code> 218 * 219 * @return The inspectTemplateName. 220 */ getInspectTemplateName()221 java.lang.String getInspectTemplateName(); 222 /** 223 * 224 * 225 * <pre> 226 * Template to use. Any configuration directly specified in 227 * `inspect_config` will override those set in the template. Singular fields 228 * that are set in this request will replace their corresponding fields in the 229 * template. Repeated fields are appended. Singular sub-messages and groups 230 * are recursively merged. 231 * </pre> 232 * 233 * <code>string inspect_template_name = 5;</code> 234 * 235 * @return The bytes for inspectTemplateName. 236 */ getInspectTemplateNameBytes()237 com.google.protobuf.ByteString getInspectTemplateNameBytes(); 238 239 /** 240 * 241 * 242 * <pre> 243 * Template to use. References an instance of `DeidentifyTemplate`. 244 * Any configuration directly specified in `reidentify_config` or 245 * `inspect_config` will override those set in the template. The 246 * `DeidentifyTemplate` used must include only reversible transformations. 247 * Singular fields that are set in this request will replace their 248 * corresponding fields in the template. Repeated fields are appended. 249 * Singular sub-messages and groups are recursively merged. 250 * </pre> 251 * 252 * <code>string reidentify_template_name = 6;</code> 253 * 254 * @return The reidentifyTemplateName. 255 */ getReidentifyTemplateName()256 java.lang.String getReidentifyTemplateName(); 257 /** 258 * 259 * 260 * <pre> 261 * Template to use. References an instance of `DeidentifyTemplate`. 262 * Any configuration directly specified in `reidentify_config` or 263 * `inspect_config` will override those set in the template. The 264 * `DeidentifyTemplate` used must include only reversible transformations. 265 * Singular fields that are set in this request will replace their 266 * corresponding fields in the template. Repeated fields are appended. 267 * Singular sub-messages and groups are recursively merged. 268 * </pre> 269 * 270 * <code>string reidentify_template_name = 6;</code> 271 * 272 * @return The bytes for reidentifyTemplateName. 273 */ getReidentifyTemplateNameBytes()274 com.google.protobuf.ByteString getReidentifyTemplateNameBytes(); 275 276 /** 277 * 278 * 279 * <pre> 280 * Deprecated. This field has no effect. 281 * </pre> 282 * 283 * <code>string location_id = 7;</code> 284 * 285 * @return The locationId. 286 */ getLocationId()287 java.lang.String getLocationId(); 288 /** 289 * 290 * 291 * <pre> 292 * Deprecated. This field has no effect. 293 * </pre> 294 * 295 * <code>string location_id = 7;</code> 296 * 297 * @return The bytes for locationId. 298 */ getLocationIdBytes()299 com.google.protobuf.ByteString getLocationIdBytes(); 300 } 301