• 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 ContentItemOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.ContentItem)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * String data to inspect or redact.
31    * </pre>
32    *
33    * <code>string value = 3;</code>
34    *
35    * @return Whether the value field is set.
36    */
hasValue()37   boolean hasValue();
38   /**
39    *
40    *
41    * <pre>
42    * String data to inspect or redact.
43    * </pre>
44    *
45    * <code>string value = 3;</code>
46    *
47    * @return The value.
48    */
getValue()49   java.lang.String getValue();
50   /**
51    *
52    *
53    * <pre>
54    * String data to inspect or redact.
55    * </pre>
56    *
57    * <code>string value = 3;</code>
58    *
59    * @return The bytes for value.
60    */
getValueBytes()61   com.google.protobuf.ByteString getValueBytes();
62 
63   /**
64    *
65    *
66    * <pre>
67    * Structured content for inspection. See
68    * https://cloud.google.com/dlp/docs/inspecting-text#inspecting_a_table to
69    * learn more.
70    * </pre>
71    *
72    * <code>.google.privacy.dlp.v2.Table table = 4;</code>
73    *
74    * @return Whether the table field is set.
75    */
hasTable()76   boolean hasTable();
77   /**
78    *
79    *
80    * <pre>
81    * Structured content for inspection. See
82    * https://cloud.google.com/dlp/docs/inspecting-text#inspecting_a_table to
83    * learn more.
84    * </pre>
85    *
86    * <code>.google.privacy.dlp.v2.Table table = 4;</code>
87    *
88    * @return The table.
89    */
getTable()90   com.google.privacy.dlp.v2.Table getTable();
91   /**
92    *
93    *
94    * <pre>
95    * Structured content for inspection. See
96    * https://cloud.google.com/dlp/docs/inspecting-text#inspecting_a_table to
97    * learn more.
98    * </pre>
99    *
100    * <code>.google.privacy.dlp.v2.Table table = 4;</code>
101    */
getTableOrBuilder()102   com.google.privacy.dlp.v2.TableOrBuilder getTableOrBuilder();
103 
104   /**
105    *
106    *
107    * <pre>
108    * Content data to inspect or redact. Replaces `type` and `data`.
109    * </pre>
110    *
111    * <code>.google.privacy.dlp.v2.ByteContentItem byte_item = 5;</code>
112    *
113    * @return Whether the byteItem field is set.
114    */
hasByteItem()115   boolean hasByteItem();
116   /**
117    *
118    *
119    * <pre>
120    * Content data to inspect or redact. Replaces `type` and `data`.
121    * </pre>
122    *
123    * <code>.google.privacy.dlp.v2.ByteContentItem byte_item = 5;</code>
124    *
125    * @return The byteItem.
126    */
getByteItem()127   com.google.privacy.dlp.v2.ByteContentItem getByteItem();
128   /**
129    *
130    *
131    * <pre>
132    * Content data to inspect or redact. Replaces `type` and `data`.
133    * </pre>
134    *
135    * <code>.google.privacy.dlp.v2.ByteContentItem byte_item = 5;</code>
136    */
getByteItemOrBuilder()137   com.google.privacy.dlp.v2.ByteContentItemOrBuilder getByteItemOrBuilder();
138 
getDataItemCase()139   public com.google.privacy.dlp.v2.ContentItem.DataItemCase getDataItemCase();
140 }
141