• 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 CreateInspectTemplateRequestOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.CreateInspectTemplateRequest)
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 the scope of the request
32    * (project or organization) and whether you have [specified a 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    * + Organizations scope, location specified:&lt;br/&gt;
39    *   `organizations/`&lt;var&gt;ORG_ID&lt;/var&gt;`/locations/`&lt;var&gt;LOCATION_ID&lt;/var&gt;
40    * + Organizations scope, no location specified (defaults to global):&lt;br/&gt;
41    *   `organizations/`&lt;var&gt;ORG_ID&lt;/var&gt;
42    * The following example `parent` string specifies a parent project with the
43    * identifier `example-project`, and specifies the `europe-west3` location
44    * for processing data:
45    *     parent=projects/example-project/locations/europe-west3
46    * </pre>
47    *
48    * <code>
49    * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
50    * </code>
51    *
52    * @return The parent.
53    */
getParent()54   java.lang.String getParent();
55   /**
56    *
57    *
58    * <pre>
59    * Required. Parent resource name.
60    * The format of this value varies depending on the scope of the request
61    * (project or organization) and whether you have [specified a processing
62    * location](https://cloud.google.com/dlp/docs/specifying-location):
63    * + Projects scope, location specified:&lt;br/&gt;
64    *   `projects/`&lt;var&gt;PROJECT_ID&lt;/var&gt;`/locations/`&lt;var&gt;LOCATION_ID&lt;/var&gt;
65    * + Projects scope, no location specified (defaults to global):&lt;br/&gt;
66    *   `projects/`&lt;var&gt;PROJECT_ID&lt;/var&gt;
67    * + Organizations scope, location specified:&lt;br/&gt;
68    *   `organizations/`&lt;var&gt;ORG_ID&lt;/var&gt;`/locations/`&lt;var&gt;LOCATION_ID&lt;/var&gt;
69    * + Organizations scope, no location specified (defaults to global):&lt;br/&gt;
70    *   `organizations/`&lt;var&gt;ORG_ID&lt;/var&gt;
71    * The following example `parent` string specifies a parent project with the
72    * identifier `example-project`, and specifies the `europe-west3` location
73    * for processing data:
74    *     parent=projects/example-project/locations/europe-west3
75    * </pre>
76    *
77    * <code>
78    * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
79    * </code>
80    *
81    * @return The bytes for parent.
82    */
getParentBytes()83   com.google.protobuf.ByteString getParentBytes();
84 
85   /**
86    *
87    *
88    * <pre>
89    * Required. The InspectTemplate to create.
90    * </pre>
91    *
92    * <code>
93    * .google.privacy.dlp.v2.InspectTemplate inspect_template = 2 [(.google.api.field_behavior) = REQUIRED];
94    * </code>
95    *
96    * @return Whether the inspectTemplate field is set.
97    */
hasInspectTemplate()98   boolean hasInspectTemplate();
99   /**
100    *
101    *
102    * <pre>
103    * Required. The InspectTemplate to create.
104    * </pre>
105    *
106    * <code>
107    * .google.privacy.dlp.v2.InspectTemplate inspect_template = 2 [(.google.api.field_behavior) = REQUIRED];
108    * </code>
109    *
110    * @return The inspectTemplate.
111    */
getInspectTemplate()112   com.google.privacy.dlp.v2.InspectTemplate getInspectTemplate();
113   /**
114    *
115    *
116    * <pre>
117    * Required. The InspectTemplate to create.
118    * </pre>
119    *
120    * <code>
121    * .google.privacy.dlp.v2.InspectTemplate inspect_template = 2 [(.google.api.field_behavior) = REQUIRED];
122    * </code>
123    */
getInspectTemplateOrBuilder()124   com.google.privacy.dlp.v2.InspectTemplateOrBuilder getInspectTemplateOrBuilder();
125 
126   /**
127    *
128    *
129    * <pre>
130    * The template id can contain uppercase and lowercase letters,
131    * numbers, and hyphens; that is, it must match the regular
132    * expression: `[a-zA-Z&#92;d-_]+`. The maximum length is 100
133    * characters. Can be empty to allow the system to generate one.
134    * </pre>
135    *
136    * <code>string template_id = 3;</code>
137    *
138    * @return The templateId.
139    */
getTemplateId()140   java.lang.String getTemplateId();
141   /**
142    *
143    *
144    * <pre>
145    * The template id can contain uppercase and lowercase letters,
146    * numbers, and hyphens; that is, it must match the regular
147    * expression: `[a-zA-Z&#92;d-_]+`. The maximum length is 100
148    * characters. Can be empty to allow the system to generate one.
149    * </pre>
150    *
151    * <code>string template_id = 3;</code>
152    *
153    * @return The bytes for templateId.
154    */
getTemplateIdBytes()155   com.google.protobuf.ByteString getTemplateIdBytes();
156 
157   /**
158    *
159    *
160    * <pre>
161    * Deprecated. This field has no effect.
162    * </pre>
163    *
164    * <code>string location_id = 4;</code>
165    *
166    * @return The locationId.
167    */
getLocationId()168   java.lang.String getLocationId();
169   /**
170    *
171    *
172    * <pre>
173    * Deprecated. This field has no effect.
174    * </pre>
175    *
176    * <code>string location_id = 4;</code>
177    *
178    * @return The bytes for locationId.
179    */
getLocationIdBytes()180   com.google.protobuf.ByteString getLocationIdBytes();
181 }
182