• 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 ContentLocationOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.ContentLocation)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * Name of the container where the finding is located.
31    * The top level name is the source file name or table name. Names of some
32    * common storage containers are formatted as follows:
33    * * BigQuery tables:  `{project_id}:{dataset_id}.{table_id}`
34    * * Cloud Storage files: `gs://{bucket}/{path}`
35    * * Datastore namespace: {namespace}
36    * Nested names could be absent if the embedded object has no string
37    * identifier (for example, an image contained within a document).
38    * </pre>
39    *
40    * <code>string container_name = 1;</code>
41    *
42    * @return The containerName.
43    */
getContainerName()44   java.lang.String getContainerName();
45   /**
46    *
47    *
48    * <pre>
49    * Name of the container where the finding is located.
50    * The top level name is the source file name or table name. Names of some
51    * common storage containers are formatted as follows:
52    * * BigQuery tables:  `{project_id}:{dataset_id}.{table_id}`
53    * * Cloud Storage files: `gs://{bucket}/{path}`
54    * * Datastore namespace: {namespace}
55    * Nested names could be absent if the embedded object has no string
56    * identifier (for example, an image contained within a document).
57    * </pre>
58    *
59    * <code>string container_name = 1;</code>
60    *
61    * @return The bytes for containerName.
62    */
getContainerNameBytes()63   com.google.protobuf.ByteString getContainerNameBytes();
64 
65   /**
66    *
67    *
68    * <pre>
69    * Location within a row or record of a database table.
70    * </pre>
71    *
72    * <code>.google.privacy.dlp.v2.RecordLocation record_location = 2;</code>
73    *
74    * @return Whether the recordLocation field is set.
75    */
hasRecordLocation()76   boolean hasRecordLocation();
77   /**
78    *
79    *
80    * <pre>
81    * Location within a row or record of a database table.
82    * </pre>
83    *
84    * <code>.google.privacy.dlp.v2.RecordLocation record_location = 2;</code>
85    *
86    * @return The recordLocation.
87    */
getRecordLocation()88   com.google.privacy.dlp.v2.RecordLocation getRecordLocation();
89   /**
90    *
91    *
92    * <pre>
93    * Location within a row or record of a database table.
94    * </pre>
95    *
96    * <code>.google.privacy.dlp.v2.RecordLocation record_location = 2;</code>
97    */
getRecordLocationOrBuilder()98   com.google.privacy.dlp.v2.RecordLocationOrBuilder getRecordLocationOrBuilder();
99 
100   /**
101    *
102    *
103    * <pre>
104    * Location within an image's pixels.
105    * </pre>
106    *
107    * <code>.google.privacy.dlp.v2.ImageLocation image_location = 3;</code>
108    *
109    * @return Whether the imageLocation field is set.
110    */
hasImageLocation()111   boolean hasImageLocation();
112   /**
113    *
114    *
115    * <pre>
116    * Location within an image's pixels.
117    * </pre>
118    *
119    * <code>.google.privacy.dlp.v2.ImageLocation image_location = 3;</code>
120    *
121    * @return The imageLocation.
122    */
getImageLocation()123   com.google.privacy.dlp.v2.ImageLocation getImageLocation();
124   /**
125    *
126    *
127    * <pre>
128    * Location within an image's pixels.
129    * </pre>
130    *
131    * <code>.google.privacy.dlp.v2.ImageLocation image_location = 3;</code>
132    */
getImageLocationOrBuilder()133   com.google.privacy.dlp.v2.ImageLocationOrBuilder getImageLocationOrBuilder();
134 
135   /**
136    *
137    *
138    * <pre>
139    * Location data for document files.
140    * </pre>
141    *
142    * <code>.google.privacy.dlp.v2.DocumentLocation document_location = 5;</code>
143    *
144    * @return Whether the documentLocation field is set.
145    */
hasDocumentLocation()146   boolean hasDocumentLocation();
147   /**
148    *
149    *
150    * <pre>
151    * Location data for document files.
152    * </pre>
153    *
154    * <code>.google.privacy.dlp.v2.DocumentLocation document_location = 5;</code>
155    *
156    * @return The documentLocation.
157    */
getDocumentLocation()158   com.google.privacy.dlp.v2.DocumentLocation getDocumentLocation();
159   /**
160    *
161    *
162    * <pre>
163    * Location data for document files.
164    * </pre>
165    *
166    * <code>.google.privacy.dlp.v2.DocumentLocation document_location = 5;</code>
167    */
getDocumentLocationOrBuilder()168   com.google.privacy.dlp.v2.DocumentLocationOrBuilder getDocumentLocationOrBuilder();
169 
170   /**
171    *
172    *
173    * <pre>
174    * Location within the metadata for inspected content.
175    * </pre>
176    *
177    * <code>.google.privacy.dlp.v2.MetadataLocation metadata_location = 8;</code>
178    *
179    * @return Whether the metadataLocation field is set.
180    */
hasMetadataLocation()181   boolean hasMetadataLocation();
182   /**
183    *
184    *
185    * <pre>
186    * Location within the metadata for inspected content.
187    * </pre>
188    *
189    * <code>.google.privacy.dlp.v2.MetadataLocation metadata_location = 8;</code>
190    *
191    * @return The metadataLocation.
192    */
getMetadataLocation()193   com.google.privacy.dlp.v2.MetadataLocation getMetadataLocation();
194   /**
195    *
196    *
197    * <pre>
198    * Location within the metadata for inspected content.
199    * </pre>
200    *
201    * <code>.google.privacy.dlp.v2.MetadataLocation metadata_location = 8;</code>
202    */
getMetadataLocationOrBuilder()203   com.google.privacy.dlp.v2.MetadataLocationOrBuilder getMetadataLocationOrBuilder();
204 
205   /**
206    *
207    *
208    * <pre>
209    * Finding container modification timestamp, if applicable. For Cloud Storage,
210    * this field contains the last file modification timestamp. For a BigQuery
211    * table, this field contains the last_modified_time property. For Datastore,
212    * this field isn't populated.
213    * </pre>
214    *
215    * <code>.google.protobuf.Timestamp container_timestamp = 6;</code>
216    *
217    * @return Whether the containerTimestamp field is set.
218    */
hasContainerTimestamp()219   boolean hasContainerTimestamp();
220   /**
221    *
222    *
223    * <pre>
224    * Finding container modification timestamp, if applicable. For Cloud Storage,
225    * this field contains the last file modification timestamp. For a BigQuery
226    * table, this field contains the last_modified_time property. For Datastore,
227    * this field isn't populated.
228    * </pre>
229    *
230    * <code>.google.protobuf.Timestamp container_timestamp = 6;</code>
231    *
232    * @return The containerTimestamp.
233    */
getContainerTimestamp()234   com.google.protobuf.Timestamp getContainerTimestamp();
235   /**
236    *
237    *
238    * <pre>
239    * Finding container modification timestamp, if applicable. For Cloud Storage,
240    * this field contains the last file modification timestamp. For a BigQuery
241    * table, this field contains the last_modified_time property. For Datastore,
242    * this field isn't populated.
243    * </pre>
244    *
245    * <code>.google.protobuf.Timestamp container_timestamp = 6;</code>
246    */
getContainerTimestampOrBuilder()247   com.google.protobuf.TimestampOrBuilder getContainerTimestampOrBuilder();
248 
249   /**
250    *
251    *
252    * <pre>
253    * Finding container version, if available
254    * ("generation" for Cloud Storage).
255    * </pre>
256    *
257    * <code>string container_version = 7;</code>
258    *
259    * @return The containerVersion.
260    */
getContainerVersion()261   java.lang.String getContainerVersion();
262   /**
263    *
264    *
265    * <pre>
266    * Finding container version, if available
267    * ("generation" for Cloud Storage).
268    * </pre>
269    *
270    * <code>string container_version = 7;</code>
271    *
272    * @return The bytes for containerVersion.
273    */
getContainerVersionBytes()274   com.google.protobuf.ByteString getContainerVersionBytes();
275 
getLocationCase()276   public com.google.privacy.dlp.v2.ContentLocation.LocationCase getLocationCase();
277 }
278