• 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 CreateDlpJobRequestOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.CreateDlpJobRequest)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * Required. 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>
45    * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
46    * </code>
47    *
48    * @return The parent.
49    */
getParent()50   java.lang.String getParent();
51   /**
52    *
53    *
54    * <pre>
55    * Required. Parent resource name.
56    * The format of this value varies depending on whether you have [specified a
57    * processing
58    * location](https://cloud.google.com/dlp/docs/specifying-location):
59    * + Projects scope, location specified:&lt;br/&gt;
60    *   `projects/`&lt;var&gt;PROJECT_ID&lt;/var&gt;`/locations/`&lt;var&gt;LOCATION_ID&lt;/var&gt;
61    * + Projects scope, no location specified (defaults to global):&lt;br/&gt;
62    *   `projects/`&lt;var&gt;PROJECT_ID&lt;/var&gt;
63    * The following example `parent` string specifies a parent project with the
64    * identifier `example-project`, and specifies the `europe-west3` location
65    * for processing data:
66    *     parent=projects/example-project/locations/europe-west3
67    * </pre>
68    *
69    * <code>
70    * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
71    * </code>
72    *
73    * @return The bytes for parent.
74    */
getParentBytes()75   com.google.protobuf.ByteString getParentBytes();
76 
77   /**
78    *
79    *
80    * <pre>
81    * An inspection job scans a storage repository for InfoTypes.
82    * </pre>
83    *
84    * <code>.google.privacy.dlp.v2.InspectJobConfig inspect_job = 2;</code>
85    *
86    * @return Whether the inspectJob field is set.
87    */
hasInspectJob()88   boolean hasInspectJob();
89   /**
90    *
91    *
92    * <pre>
93    * An inspection job scans a storage repository for InfoTypes.
94    * </pre>
95    *
96    * <code>.google.privacy.dlp.v2.InspectJobConfig inspect_job = 2;</code>
97    *
98    * @return The inspectJob.
99    */
getInspectJob()100   com.google.privacy.dlp.v2.InspectJobConfig getInspectJob();
101   /**
102    *
103    *
104    * <pre>
105    * An inspection job scans a storage repository for InfoTypes.
106    * </pre>
107    *
108    * <code>.google.privacy.dlp.v2.InspectJobConfig inspect_job = 2;</code>
109    */
getInspectJobOrBuilder()110   com.google.privacy.dlp.v2.InspectJobConfigOrBuilder getInspectJobOrBuilder();
111 
112   /**
113    *
114    *
115    * <pre>
116    * A risk analysis job calculates re-identification risk metrics for a
117    * BigQuery table.
118    * </pre>
119    *
120    * <code>.google.privacy.dlp.v2.RiskAnalysisJobConfig risk_job = 3;</code>
121    *
122    * @return Whether the riskJob field is set.
123    */
hasRiskJob()124   boolean hasRiskJob();
125   /**
126    *
127    *
128    * <pre>
129    * A risk analysis job calculates re-identification risk metrics for a
130    * BigQuery table.
131    * </pre>
132    *
133    * <code>.google.privacy.dlp.v2.RiskAnalysisJobConfig risk_job = 3;</code>
134    *
135    * @return The riskJob.
136    */
getRiskJob()137   com.google.privacy.dlp.v2.RiskAnalysisJobConfig getRiskJob();
138   /**
139    *
140    *
141    * <pre>
142    * A risk analysis job calculates re-identification risk metrics for a
143    * BigQuery table.
144    * </pre>
145    *
146    * <code>.google.privacy.dlp.v2.RiskAnalysisJobConfig risk_job = 3;</code>
147    */
getRiskJobOrBuilder()148   com.google.privacy.dlp.v2.RiskAnalysisJobConfigOrBuilder getRiskJobOrBuilder();
149 
150   /**
151    *
152    *
153    * <pre>
154    * The job id can contain uppercase and lowercase letters,
155    * numbers, and hyphens; that is, it must match the regular
156    * expression: `[a-zA-Z&#92;d-_]+`. The maximum length is 100
157    * characters. Can be empty to allow the system to generate one.
158    * </pre>
159    *
160    * <code>string job_id = 4;</code>
161    *
162    * @return The jobId.
163    */
getJobId()164   java.lang.String getJobId();
165   /**
166    *
167    *
168    * <pre>
169    * The job id can contain uppercase and lowercase letters,
170    * numbers, and hyphens; that is, it must match the regular
171    * expression: `[a-zA-Z&#92;d-_]+`. The maximum length is 100
172    * characters. Can be empty to allow the system to generate one.
173    * </pre>
174    *
175    * <code>string job_id = 4;</code>
176    *
177    * @return The bytes for jobId.
178    */
getJobIdBytes()179   com.google.protobuf.ByteString getJobIdBytes();
180 
181   /**
182    *
183    *
184    * <pre>
185    * Deprecated. This field has no effect.
186    * </pre>
187    *
188    * <code>string location_id = 5;</code>
189    *
190    * @return The locationId.
191    */
getLocationId()192   java.lang.String getLocationId();
193   /**
194    *
195    *
196    * <pre>
197    * Deprecated. This field has no effect.
198    * </pre>
199    *
200    * <code>string location_id = 5;</code>
201    *
202    * @return The bytes for locationId.
203    */
getLocationIdBytes()204   com.google.protobuf.ByteString getLocationIdBytes();
205 
getJobCase()206   public com.google.privacy.dlp.v2.CreateDlpJobRequest.JobCase getJobCase();
207 }
208