• 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 ContainerOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.Container)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * Container type, for example BigQuery or Cloud Storage.
31    * </pre>
32    *
33    * <code>string type = 1;</code>
34    *
35    * @return The type.
36    */
getType()37   java.lang.String getType();
38   /**
39    *
40    *
41    * <pre>
42    * Container type, for example BigQuery or Cloud Storage.
43    * </pre>
44    *
45    * <code>string type = 1;</code>
46    *
47    * @return The bytes for type.
48    */
getTypeBytes()49   com.google.protobuf.ByteString getTypeBytes();
50 
51   /**
52    *
53    *
54    * <pre>
55    * Project where the finding was found.
56    * Can be different from the project that owns the finding.
57    * </pre>
58    *
59    * <code>string project_id = 2;</code>
60    *
61    * @return The projectId.
62    */
getProjectId()63   java.lang.String getProjectId();
64   /**
65    *
66    *
67    * <pre>
68    * Project where the finding was found.
69    * Can be different from the project that owns the finding.
70    * </pre>
71    *
72    * <code>string project_id = 2;</code>
73    *
74    * @return The bytes for projectId.
75    */
getProjectIdBytes()76   com.google.protobuf.ByteString getProjectIdBytes();
77 
78   /**
79    *
80    *
81    * <pre>
82    * A string representation of the full container name.
83    * Examples:
84    * - BigQuery: 'Project:DataSetId.TableId'
85    * - Cloud Storage: 'gs://Bucket/folders/filename.txt'
86    * </pre>
87    *
88    * <code>string full_path = 3;</code>
89    *
90    * @return The fullPath.
91    */
getFullPath()92   java.lang.String getFullPath();
93   /**
94    *
95    *
96    * <pre>
97    * A string representation of the full container name.
98    * Examples:
99    * - BigQuery: 'Project:DataSetId.TableId'
100    * - Cloud Storage: 'gs://Bucket/folders/filename.txt'
101    * </pre>
102    *
103    * <code>string full_path = 3;</code>
104    *
105    * @return The bytes for fullPath.
106    */
getFullPathBytes()107   com.google.protobuf.ByteString getFullPathBytes();
108 
109   /**
110    *
111    *
112    * <pre>
113    * The root of the container.
114    * Examples:
115    * - For BigQuery table `project_id:dataset_id.table_id`, the root is
116    *  `dataset_id`
117    * - For Cloud Storage file `gs://bucket/folder/filename.txt`, the root
118    *  is `gs://bucket`
119    * </pre>
120    *
121    * <code>string root_path = 4;</code>
122    *
123    * @return The rootPath.
124    */
getRootPath()125   java.lang.String getRootPath();
126   /**
127    *
128    *
129    * <pre>
130    * The root of the container.
131    * Examples:
132    * - For BigQuery table `project_id:dataset_id.table_id`, the root is
133    *  `dataset_id`
134    * - For Cloud Storage file `gs://bucket/folder/filename.txt`, the root
135    *  is `gs://bucket`
136    * </pre>
137    *
138    * <code>string root_path = 4;</code>
139    *
140    * @return The bytes for rootPath.
141    */
getRootPathBytes()142   com.google.protobuf.ByteString getRootPathBytes();
143 
144   /**
145    *
146    *
147    * <pre>
148    * The rest of the path after the root.
149    * Examples:
150    * - For BigQuery table `project_id:dataset_id.table_id`, the relative path is
151    *  `table_id`
152    * - For Cloud Storage file `gs://bucket/folder/filename.txt`, the relative
153    *  path is `folder/filename.txt`
154    * </pre>
155    *
156    * <code>string relative_path = 5;</code>
157    *
158    * @return The relativePath.
159    */
getRelativePath()160   java.lang.String getRelativePath();
161   /**
162    *
163    *
164    * <pre>
165    * The rest of the path after the root.
166    * Examples:
167    * - For BigQuery table `project_id:dataset_id.table_id`, the relative path is
168    *  `table_id`
169    * - For Cloud Storage file `gs://bucket/folder/filename.txt`, the relative
170    *  path is `folder/filename.txt`
171    * </pre>
172    *
173    * <code>string relative_path = 5;</code>
174    *
175    * @return The bytes for relativePath.
176    */
getRelativePathBytes()177   com.google.protobuf.ByteString getRelativePathBytes();
178 
179   /**
180    *
181    *
182    * <pre>
183    * Findings container modification timestamp, if applicable. For Cloud
184    * Storage, this field contains the last file modification timestamp. For a
185    * BigQuery table, this field contains the last_modified_time property. For
186    * Datastore, this field isn't populated.
187    * </pre>
188    *
189    * <code>.google.protobuf.Timestamp update_time = 6;</code>
190    *
191    * @return Whether the updateTime field is set.
192    */
hasUpdateTime()193   boolean hasUpdateTime();
194   /**
195    *
196    *
197    * <pre>
198    * Findings container modification timestamp, if applicable. For Cloud
199    * Storage, this field contains the last file modification timestamp. For a
200    * BigQuery table, this field contains the last_modified_time property. For
201    * Datastore, this field isn't populated.
202    * </pre>
203    *
204    * <code>.google.protobuf.Timestamp update_time = 6;</code>
205    *
206    * @return The updateTime.
207    */
getUpdateTime()208   com.google.protobuf.Timestamp getUpdateTime();
209   /**
210    *
211    *
212    * <pre>
213    * Findings container modification timestamp, if applicable. For Cloud
214    * Storage, this field contains the last file modification timestamp. For a
215    * BigQuery table, this field contains the last_modified_time property. For
216    * Datastore, this field isn't populated.
217    * </pre>
218    *
219    * <code>.google.protobuf.Timestamp update_time = 6;</code>
220    */
getUpdateTimeOrBuilder()221   com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder();
222 
223   /**
224    *
225    *
226    * <pre>
227    * Findings container version, if available
228    * ("generation" for Cloud Storage).
229    * </pre>
230    *
231    * <code>string version = 7;</code>
232    *
233    * @return The version.
234    */
getVersion()235   java.lang.String getVersion();
236   /**
237    *
238    *
239    * <pre>
240    * Findings container version, if available
241    * ("generation" for Cloud Storage).
242    * </pre>
243    *
244    * <code>string version = 7;</code>
245    *
246    * @return The bytes for version.
247    */
getVersionBytes()248   com.google.protobuf.ByteString getVersionBytes();
249 }
250