• 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 RedactImageResponseOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.RedactImageResponse)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * The redacted image. The type will be the same as the original image.
31    * </pre>
32    *
33    * <code>bytes redacted_image = 1;</code>
34    *
35    * @return The redactedImage.
36    */
getRedactedImage()37   com.google.protobuf.ByteString getRedactedImage();
38 
39   /**
40    *
41    *
42    * <pre>
43    * If an image was being inspected and the InspectConfig's include_quote was
44    * set to true, then this field will include all text, if any, that was found
45    * in the image.
46    * </pre>
47    *
48    * <code>string extracted_text = 2;</code>
49    *
50    * @return The extractedText.
51    */
getExtractedText()52   java.lang.String getExtractedText();
53   /**
54    *
55    *
56    * <pre>
57    * If an image was being inspected and the InspectConfig's include_quote was
58    * set to true, then this field will include all text, if any, that was found
59    * in the image.
60    * </pre>
61    *
62    * <code>string extracted_text = 2;</code>
63    *
64    * @return The bytes for extractedText.
65    */
getExtractedTextBytes()66   com.google.protobuf.ByteString getExtractedTextBytes();
67 
68   /**
69    *
70    *
71    * <pre>
72    * The findings. Populated when include_findings in the request is true.
73    * </pre>
74    *
75    * <code>.google.privacy.dlp.v2.InspectResult inspect_result = 3;</code>
76    *
77    * @return Whether the inspectResult field is set.
78    */
hasInspectResult()79   boolean hasInspectResult();
80   /**
81    *
82    *
83    * <pre>
84    * The findings. Populated when include_findings in the request is true.
85    * </pre>
86    *
87    * <code>.google.privacy.dlp.v2.InspectResult inspect_result = 3;</code>
88    *
89    * @return The inspectResult.
90    */
getInspectResult()91   com.google.privacy.dlp.v2.InspectResult getInspectResult();
92   /**
93    *
94    *
95    * <pre>
96    * The findings. Populated when include_findings in the request is true.
97    * </pre>
98    *
99    * <code>.google.privacy.dlp.v2.InspectResult inspect_result = 3;</code>
100    */
getInspectResultOrBuilder()101   com.google.privacy.dlp.v2.InspectResultOrBuilder getInspectResultOrBuilder();
102 }
103