• 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 CreateJobTriggerRequestOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.CreateJobTriggerRequest)
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    * Required. The JobTrigger to create.
82    * </pre>
83    *
84    * <code>
85    * .google.privacy.dlp.v2.JobTrigger job_trigger = 2 [(.google.api.field_behavior) = REQUIRED];
86    * </code>
87    *
88    * @return Whether the jobTrigger field is set.
89    */
hasJobTrigger()90   boolean hasJobTrigger();
91   /**
92    *
93    *
94    * <pre>
95    * Required. The JobTrigger to create.
96    * </pre>
97    *
98    * <code>
99    * .google.privacy.dlp.v2.JobTrigger job_trigger = 2 [(.google.api.field_behavior) = REQUIRED];
100    * </code>
101    *
102    * @return The jobTrigger.
103    */
getJobTrigger()104   com.google.privacy.dlp.v2.JobTrigger getJobTrigger();
105   /**
106    *
107    *
108    * <pre>
109    * Required. The JobTrigger to create.
110    * </pre>
111    *
112    * <code>
113    * .google.privacy.dlp.v2.JobTrigger job_trigger = 2 [(.google.api.field_behavior) = REQUIRED];
114    * </code>
115    */
getJobTriggerOrBuilder()116   com.google.privacy.dlp.v2.JobTriggerOrBuilder getJobTriggerOrBuilder();
117 
118   /**
119    *
120    *
121    * <pre>
122    * The trigger id can contain uppercase and lowercase letters,
123    * numbers, and hyphens; that is, it must match the regular
124    * expression: `[a-zA-Z&#92;d-_]+`. The maximum length is 100
125    * characters. Can be empty to allow the system to generate one.
126    * </pre>
127    *
128    * <code>string trigger_id = 3;</code>
129    *
130    * @return The triggerId.
131    */
getTriggerId()132   java.lang.String getTriggerId();
133   /**
134    *
135    *
136    * <pre>
137    * The trigger id can contain uppercase and lowercase letters,
138    * numbers, and hyphens; that is, it must match the regular
139    * expression: `[a-zA-Z&#92;d-_]+`. The maximum length is 100
140    * characters. Can be empty to allow the system to generate one.
141    * </pre>
142    *
143    * <code>string trigger_id = 3;</code>
144    *
145    * @return The bytes for triggerId.
146    */
getTriggerIdBytes()147   com.google.protobuf.ByteString getTriggerIdBytes();
148 
149   /**
150    *
151    *
152    * <pre>
153    * Deprecated. This field has no effect.
154    * </pre>
155    *
156    * <code>string location_id = 4;</code>
157    *
158    * @return The locationId.
159    */
getLocationId()160   java.lang.String getLocationId();
161   /**
162    *
163    *
164    * <pre>
165    * Deprecated. This field has no effect.
166    * </pre>
167    *
168    * <code>string location_id = 4;</code>
169    *
170    * @return The bytes for locationId.
171    */
getLocationIdBytes()172   com.google.protobuf.ByteString getLocationIdBytes();
173 }
174