• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 RedactImageRequestOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.RedactImageRequest)
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:&lt;br/&gt;
35    *   `projects/`&lt;var&gt;PROJECT_ID&lt;/var&gt;`/locations/`&lt;var&gt;LOCATION_ID&lt;/var&gt;
36    * + Projects scope, no location specified (defaults to global):&lt;br/&gt;
37    *   `projects/`&lt;var&gt;PROJECT_ID&lt;/var&gt;
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:&lt;br/&gt;
58    *   `projects/`&lt;var&gt;PROJECT_ID&lt;/var&gt;`/locations/`&lt;var&gt;LOCATION_ID&lt;/var&gt;
59    * + Projects scope, no location specified (defaults to global):&lt;br/&gt;
60    *   `projects/`&lt;var&gt;PROJECT_ID&lt;/var&gt;
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    * Deprecated. This field has no effect.
78    * </pre>
79    *
80    * <code>string location_id = 8;</code>
81    *
82    * @return The locationId.
83    */
getLocationId()84   java.lang.String getLocationId();
85   /**
86    *
87    *
88    * <pre>
89    * Deprecated. This field has no effect.
90    * </pre>
91    *
92    * <code>string location_id = 8;</code>
93    *
94    * @return The bytes for locationId.
95    */
getLocationIdBytes()96   com.google.protobuf.ByteString getLocationIdBytes();
97 
98   /**
99    *
100    *
101    * <pre>
102    * Configuration for the inspector.
103    * </pre>
104    *
105    * <code>.google.privacy.dlp.v2.InspectConfig inspect_config = 2;</code>
106    *
107    * @return Whether the inspectConfig field is set.
108    */
hasInspectConfig()109   boolean hasInspectConfig();
110   /**
111    *
112    *
113    * <pre>
114    * Configuration for the inspector.
115    * </pre>
116    *
117    * <code>.google.privacy.dlp.v2.InspectConfig inspect_config = 2;</code>
118    *
119    * @return The inspectConfig.
120    */
getInspectConfig()121   com.google.privacy.dlp.v2.InspectConfig getInspectConfig();
122   /**
123    *
124    *
125    * <pre>
126    * Configuration for the inspector.
127    * </pre>
128    *
129    * <code>.google.privacy.dlp.v2.InspectConfig inspect_config = 2;</code>
130    */
getInspectConfigOrBuilder()131   com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilder();
132 
133   /**
134    *
135    *
136    * <pre>
137    * The configuration for specifying what content to redact from images.
138    * </pre>
139    *
140    * <code>
141    * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5;
142    * </code>
143    */
144   java.util.List<com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig>
getImageRedactionConfigsList()145       getImageRedactionConfigsList();
146   /**
147    *
148    *
149    * <pre>
150    * The configuration for specifying what content to redact from images.
151    * </pre>
152    *
153    * <code>
154    * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5;
155    * </code>
156    */
getImageRedactionConfigs( int index)157   com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig getImageRedactionConfigs(
158       int index);
159   /**
160    *
161    *
162    * <pre>
163    * The configuration for specifying what content to redact from images.
164    * </pre>
165    *
166    * <code>
167    * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5;
168    * </code>
169    */
getImageRedactionConfigsCount()170   int getImageRedactionConfigsCount();
171   /**
172    *
173    *
174    * <pre>
175    * The configuration for specifying what content to redact from images.
176    * </pre>
177    *
178    * <code>
179    * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5;
180    * </code>
181    */
182   java.util.List<
183           ? extends com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfigOrBuilder>
getImageRedactionConfigsOrBuilderList()184       getImageRedactionConfigsOrBuilderList();
185   /**
186    *
187    *
188    * <pre>
189    * The configuration for specifying what content to redact from images.
190    * </pre>
191    *
192    * <code>
193    * repeated .google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig image_redaction_configs = 5;
194    * </code>
195    */
196   com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfigOrBuilder
getImageRedactionConfigsOrBuilder(int index)197       getImageRedactionConfigsOrBuilder(int index);
198 
199   /**
200    *
201    *
202    * <pre>
203    * Whether the response should include findings along with the redacted
204    * image.
205    * </pre>
206    *
207    * <code>bool include_findings = 6;</code>
208    *
209    * @return The includeFindings.
210    */
getIncludeFindings()211   boolean getIncludeFindings();
212 
213   /**
214    *
215    *
216    * <pre>
217    * The content must be PNG, JPEG, SVG or BMP.
218    * </pre>
219    *
220    * <code>.google.privacy.dlp.v2.ByteContentItem byte_item = 7;</code>
221    *
222    * @return Whether the byteItem field is set.
223    */
hasByteItem()224   boolean hasByteItem();
225   /**
226    *
227    *
228    * <pre>
229    * The content must be PNG, JPEG, SVG or BMP.
230    * </pre>
231    *
232    * <code>.google.privacy.dlp.v2.ByteContentItem byte_item = 7;</code>
233    *
234    * @return The byteItem.
235    */
getByteItem()236   com.google.privacy.dlp.v2.ByteContentItem getByteItem();
237   /**
238    *
239    *
240    * <pre>
241    * The content must be PNG, JPEG, SVG or BMP.
242    * </pre>
243    *
244    * <code>.google.privacy.dlp.v2.ByteContentItem byte_item = 7;</code>
245    */
getByteItemOrBuilder()246   com.google.privacy.dlp.v2.ByteContentItemOrBuilder getByteItemOrBuilder();
247 }
248