• 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 ActionOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.Action)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * Save resulting findings in a provided location.
31    * </pre>
32    *
33    * <code>.google.privacy.dlp.v2.Action.SaveFindings save_findings = 1;</code>
34    *
35    * @return Whether the saveFindings field is set.
36    */
hasSaveFindings()37   boolean hasSaveFindings();
38   /**
39    *
40    *
41    * <pre>
42    * Save resulting findings in a provided location.
43    * </pre>
44    *
45    * <code>.google.privacy.dlp.v2.Action.SaveFindings save_findings = 1;</code>
46    *
47    * @return The saveFindings.
48    */
getSaveFindings()49   com.google.privacy.dlp.v2.Action.SaveFindings getSaveFindings();
50   /**
51    *
52    *
53    * <pre>
54    * Save resulting findings in a provided location.
55    * </pre>
56    *
57    * <code>.google.privacy.dlp.v2.Action.SaveFindings save_findings = 1;</code>
58    */
getSaveFindingsOrBuilder()59   com.google.privacy.dlp.v2.Action.SaveFindingsOrBuilder getSaveFindingsOrBuilder();
60 
61   /**
62    *
63    *
64    * <pre>
65    * Publish a notification to a Pub/Sub topic.
66    * </pre>
67    *
68    * <code>.google.privacy.dlp.v2.Action.PublishToPubSub pub_sub = 2;</code>
69    *
70    * @return Whether the pubSub field is set.
71    */
hasPubSub()72   boolean hasPubSub();
73   /**
74    *
75    *
76    * <pre>
77    * Publish a notification to a Pub/Sub topic.
78    * </pre>
79    *
80    * <code>.google.privacy.dlp.v2.Action.PublishToPubSub pub_sub = 2;</code>
81    *
82    * @return The pubSub.
83    */
getPubSub()84   com.google.privacy.dlp.v2.Action.PublishToPubSub getPubSub();
85   /**
86    *
87    *
88    * <pre>
89    * Publish a notification to a Pub/Sub topic.
90    * </pre>
91    *
92    * <code>.google.privacy.dlp.v2.Action.PublishToPubSub pub_sub = 2;</code>
93    */
getPubSubOrBuilder()94   com.google.privacy.dlp.v2.Action.PublishToPubSubOrBuilder getPubSubOrBuilder();
95 
96   /**
97    *
98    *
99    * <pre>
100    * Publish summary to Cloud Security Command Center (Alpha).
101    * </pre>
102    *
103    * <code>.google.privacy.dlp.v2.Action.PublishSummaryToCscc publish_summary_to_cscc = 3;</code>
104    *
105    * @return Whether the publishSummaryToCscc field is set.
106    */
hasPublishSummaryToCscc()107   boolean hasPublishSummaryToCscc();
108   /**
109    *
110    *
111    * <pre>
112    * Publish summary to Cloud Security Command Center (Alpha).
113    * </pre>
114    *
115    * <code>.google.privacy.dlp.v2.Action.PublishSummaryToCscc publish_summary_to_cscc = 3;</code>
116    *
117    * @return The publishSummaryToCscc.
118    */
getPublishSummaryToCscc()119   com.google.privacy.dlp.v2.Action.PublishSummaryToCscc getPublishSummaryToCscc();
120   /**
121    *
122    *
123    * <pre>
124    * Publish summary to Cloud Security Command Center (Alpha).
125    * </pre>
126    *
127    * <code>.google.privacy.dlp.v2.Action.PublishSummaryToCscc publish_summary_to_cscc = 3;</code>
128    */
getPublishSummaryToCsccOrBuilder()129   com.google.privacy.dlp.v2.Action.PublishSummaryToCsccOrBuilder getPublishSummaryToCsccOrBuilder();
130 
131   /**
132    *
133    *
134    * <pre>
135    * Publish findings to Cloud Datahub.
136    * </pre>
137    *
138    * <code>
139    * .google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5;
140    * </code>
141    *
142    * @return Whether the publishFindingsToCloudDataCatalog field is set.
143    */
hasPublishFindingsToCloudDataCatalog()144   boolean hasPublishFindingsToCloudDataCatalog();
145   /**
146    *
147    *
148    * <pre>
149    * Publish findings to Cloud Datahub.
150    * </pre>
151    *
152    * <code>
153    * .google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5;
154    * </code>
155    *
156    * @return The publishFindingsToCloudDataCatalog.
157    */
158   com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog
getPublishFindingsToCloudDataCatalog()159       getPublishFindingsToCloudDataCatalog();
160   /**
161    *
162    *
163    * <pre>
164    * Publish findings to Cloud Datahub.
165    * </pre>
166    *
167    * <code>
168    * .google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5;
169    * </code>
170    */
171   com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalogOrBuilder
getPublishFindingsToCloudDataCatalogOrBuilder()172       getPublishFindingsToCloudDataCatalogOrBuilder();
173 
174   /**
175    *
176    *
177    * <pre>
178    * Create a de-identified copy of the input data.
179    * </pre>
180    *
181    * <code>.google.privacy.dlp.v2.Action.Deidentify deidentify = 7;</code>
182    *
183    * @return Whether the deidentify field is set.
184    */
hasDeidentify()185   boolean hasDeidentify();
186   /**
187    *
188    *
189    * <pre>
190    * Create a de-identified copy of the input data.
191    * </pre>
192    *
193    * <code>.google.privacy.dlp.v2.Action.Deidentify deidentify = 7;</code>
194    *
195    * @return The deidentify.
196    */
getDeidentify()197   com.google.privacy.dlp.v2.Action.Deidentify getDeidentify();
198   /**
199    *
200    *
201    * <pre>
202    * Create a de-identified copy of the input data.
203    * </pre>
204    *
205    * <code>.google.privacy.dlp.v2.Action.Deidentify deidentify = 7;</code>
206    */
getDeidentifyOrBuilder()207   com.google.privacy.dlp.v2.Action.DeidentifyOrBuilder getDeidentifyOrBuilder();
208 
209   /**
210    *
211    *
212    * <pre>
213    * Sends an email when the job completes. The email goes to IAM project
214    * owners and technical [Essential
215    * Contacts](https://cloud.google.com/resource-manager/docs/managing-notification-contacts).
216    * </pre>
217    *
218    * <code>.google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8;</code>
219    *
220    * @return Whether the jobNotificationEmails field is set.
221    */
hasJobNotificationEmails()222   boolean hasJobNotificationEmails();
223   /**
224    *
225    *
226    * <pre>
227    * Sends an email when the job completes. The email goes to IAM project
228    * owners and technical [Essential
229    * Contacts](https://cloud.google.com/resource-manager/docs/managing-notification-contacts).
230    * </pre>
231    *
232    * <code>.google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8;</code>
233    *
234    * @return The jobNotificationEmails.
235    */
getJobNotificationEmails()236   com.google.privacy.dlp.v2.Action.JobNotificationEmails getJobNotificationEmails();
237   /**
238    *
239    *
240    * <pre>
241    * Sends an email when the job completes. The email goes to IAM project
242    * owners and technical [Essential
243    * Contacts](https://cloud.google.com/resource-manager/docs/managing-notification-contacts).
244    * </pre>
245    *
246    * <code>.google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8;</code>
247    */
248   com.google.privacy.dlp.v2.Action.JobNotificationEmailsOrBuilder
getJobNotificationEmailsOrBuilder()249       getJobNotificationEmailsOrBuilder();
250 
251   /**
252    *
253    *
254    * <pre>
255    * Enable Stackdriver metric dlp.googleapis.com/finding_count.
256    * </pre>
257    *
258    * <code>.google.privacy.dlp.v2.Action.PublishToStackdriver publish_to_stackdriver = 9;</code>
259    *
260    * @return Whether the publishToStackdriver field is set.
261    */
hasPublishToStackdriver()262   boolean hasPublishToStackdriver();
263   /**
264    *
265    *
266    * <pre>
267    * Enable Stackdriver metric dlp.googleapis.com/finding_count.
268    * </pre>
269    *
270    * <code>.google.privacy.dlp.v2.Action.PublishToStackdriver publish_to_stackdriver = 9;</code>
271    *
272    * @return The publishToStackdriver.
273    */
getPublishToStackdriver()274   com.google.privacy.dlp.v2.Action.PublishToStackdriver getPublishToStackdriver();
275   /**
276    *
277    *
278    * <pre>
279    * Enable Stackdriver metric dlp.googleapis.com/finding_count.
280    * </pre>
281    *
282    * <code>.google.privacy.dlp.v2.Action.PublishToStackdriver publish_to_stackdriver = 9;</code>
283    */
getPublishToStackdriverOrBuilder()284   com.google.privacy.dlp.v2.Action.PublishToStackdriverOrBuilder getPublishToStackdriverOrBuilder();
285 
getActionCase()286   public com.google.privacy.dlp.v2.Action.ActionCase getActionCase();
287 }
288