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 InspectContentRequestOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.InspectContentRequest) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * 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>string parent = 1 [(.google.api.resource_reference) = { ... }</code> 45 * 46 * @return The parent. 47 */ getParent()48 java.lang.String getParent(); 49 /** 50 * 51 * 52 * <pre> 53 * Parent resource name. 54 * The format of this value varies depending on whether you have [specified a 55 * processing 56 * location](https://cloud.google.com/dlp/docs/specifying-location): 57 * + Projects scope, location specified:<br/> 58 * `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var> 59 * + Projects scope, no location specified (defaults to global):<br/> 60 * `projects/`<var>PROJECT_ID</var> 61 * The following example `parent` string specifies a parent project with the 62 * identifier `example-project`, and specifies the `europe-west3` location 63 * for processing data: 64 * parent=projects/example-project/locations/europe-west3 65 * </pre> 66 * 67 * <code>string parent = 1 [(.google.api.resource_reference) = { ... }</code> 68 * 69 * @return The bytes for parent. 70 */ getParentBytes()71 com.google.protobuf.ByteString getParentBytes(); 72 73 /** 74 * 75 * 76 * <pre> 77 * Configuration for the inspector. What specified here will override 78 * the template referenced by the inspect_template_name argument. 79 * </pre> 80 * 81 * <code>.google.privacy.dlp.v2.InspectConfig inspect_config = 2;</code> 82 * 83 * @return Whether the inspectConfig field is set. 84 */ hasInspectConfig()85 boolean hasInspectConfig(); 86 /** 87 * 88 * 89 * <pre> 90 * Configuration for the inspector. What specified here will override 91 * the template referenced by the inspect_template_name argument. 92 * </pre> 93 * 94 * <code>.google.privacy.dlp.v2.InspectConfig inspect_config = 2;</code> 95 * 96 * @return The inspectConfig. 97 */ getInspectConfig()98 com.google.privacy.dlp.v2.InspectConfig getInspectConfig(); 99 /** 100 * 101 * 102 * <pre> 103 * Configuration for the inspector. What specified here will override 104 * the template referenced by the inspect_template_name argument. 105 * </pre> 106 * 107 * <code>.google.privacy.dlp.v2.InspectConfig inspect_config = 2;</code> 108 */ getInspectConfigOrBuilder()109 com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilder(); 110 111 /** 112 * 113 * 114 * <pre> 115 * The item to inspect. 116 * </pre> 117 * 118 * <code>.google.privacy.dlp.v2.ContentItem item = 3;</code> 119 * 120 * @return Whether the item field is set. 121 */ hasItem()122 boolean hasItem(); 123 /** 124 * 125 * 126 * <pre> 127 * The item to inspect. 128 * </pre> 129 * 130 * <code>.google.privacy.dlp.v2.ContentItem item = 3;</code> 131 * 132 * @return The item. 133 */ getItem()134 com.google.privacy.dlp.v2.ContentItem getItem(); 135 /** 136 * 137 * 138 * <pre> 139 * The item to inspect. 140 * </pre> 141 * 142 * <code>.google.privacy.dlp.v2.ContentItem item = 3;</code> 143 */ getItemOrBuilder()144 com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder(); 145 146 /** 147 * 148 * 149 * <pre> 150 * Template to use. Any configuration directly specified in 151 * inspect_config will override those set in the template. Singular fields 152 * that are set in this request will replace their corresponding fields in the 153 * template. Repeated fields are appended. Singular sub-messages and groups 154 * are recursively merged. 155 * </pre> 156 * 157 * <code>string inspect_template_name = 4;</code> 158 * 159 * @return The inspectTemplateName. 160 */ getInspectTemplateName()161 java.lang.String getInspectTemplateName(); 162 /** 163 * 164 * 165 * <pre> 166 * Template to use. Any configuration directly specified in 167 * inspect_config will override those set in the template. Singular fields 168 * that are set in this request will replace their corresponding fields in the 169 * template. Repeated fields are appended. Singular sub-messages and groups 170 * are recursively merged. 171 * </pre> 172 * 173 * <code>string inspect_template_name = 4;</code> 174 * 175 * @return The bytes for inspectTemplateName. 176 */ getInspectTemplateNameBytes()177 com.google.protobuf.ByteString getInspectTemplateNameBytes(); 178 179 /** 180 * 181 * 182 * <pre> 183 * Deprecated. This field has no effect. 184 * </pre> 185 * 186 * <code>string location_id = 5;</code> 187 * 188 * @return The locationId. 189 */ getLocationId()190 java.lang.String getLocationId(); 191 /** 192 * 193 * 194 * <pre> 195 * Deprecated. This field has no effect. 196 * </pre> 197 * 198 * <code>string location_id = 5;</code> 199 * 200 * @return The bytes for locationId. 201 */ getLocationIdBytes()202 com.google.protobuf.ByteString getLocationIdBytes(); 203 } 204