• 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 DeidentifyTemplateOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.DeidentifyTemplate)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * Output only. The template name.
31    * The template will have one of the following formats:
32    * `projects/PROJECT_ID/deidentifyTemplates/TEMPLATE_ID` OR
33    * `organizations/ORGANIZATION_ID/deidentifyTemplates/TEMPLATE_ID`
34    * </pre>
35    *
36    * <code>string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
37    *
38    * @return The name.
39    */
getName()40   java.lang.String getName();
41   /**
42    *
43    *
44    * <pre>
45    * Output only. The template name.
46    * The template will have one of the following formats:
47    * `projects/PROJECT_ID/deidentifyTemplates/TEMPLATE_ID` OR
48    * `organizations/ORGANIZATION_ID/deidentifyTemplates/TEMPLATE_ID`
49    * </pre>
50    *
51    * <code>string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
52    *
53    * @return The bytes for name.
54    */
getNameBytes()55   com.google.protobuf.ByteString getNameBytes();
56 
57   /**
58    *
59    *
60    * <pre>
61    * Display name (max 256 chars).
62    * </pre>
63    *
64    * <code>string display_name = 2;</code>
65    *
66    * @return The displayName.
67    */
getDisplayName()68   java.lang.String getDisplayName();
69   /**
70    *
71    *
72    * <pre>
73    * Display name (max 256 chars).
74    * </pre>
75    *
76    * <code>string display_name = 2;</code>
77    *
78    * @return The bytes for displayName.
79    */
getDisplayNameBytes()80   com.google.protobuf.ByteString getDisplayNameBytes();
81 
82   /**
83    *
84    *
85    * <pre>
86    * Short description (max 256 chars).
87    * </pre>
88    *
89    * <code>string description = 3;</code>
90    *
91    * @return The description.
92    */
getDescription()93   java.lang.String getDescription();
94   /**
95    *
96    *
97    * <pre>
98    * Short description (max 256 chars).
99    * </pre>
100    *
101    * <code>string description = 3;</code>
102    *
103    * @return The bytes for description.
104    */
getDescriptionBytes()105   com.google.protobuf.ByteString getDescriptionBytes();
106 
107   /**
108    *
109    *
110    * <pre>
111    * Output only. The creation timestamp of an inspectTemplate.
112    * </pre>
113    *
114    * <code>.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
115    * </code>
116    *
117    * @return Whether the createTime field is set.
118    */
hasCreateTime()119   boolean hasCreateTime();
120   /**
121    *
122    *
123    * <pre>
124    * Output only. The creation timestamp of an inspectTemplate.
125    * </pre>
126    *
127    * <code>.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
128    * </code>
129    *
130    * @return The createTime.
131    */
getCreateTime()132   com.google.protobuf.Timestamp getCreateTime();
133   /**
134    *
135    *
136    * <pre>
137    * Output only. The creation timestamp of an inspectTemplate.
138    * </pre>
139    *
140    * <code>.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
141    * </code>
142    */
getCreateTimeOrBuilder()143   com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();
144 
145   /**
146    *
147    *
148    * <pre>
149    * Output only. The last update timestamp of an inspectTemplate.
150    * </pre>
151    *
152    * <code>.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
153    * </code>
154    *
155    * @return Whether the updateTime field is set.
156    */
hasUpdateTime()157   boolean hasUpdateTime();
158   /**
159    *
160    *
161    * <pre>
162    * Output only. The last update timestamp of an inspectTemplate.
163    * </pre>
164    *
165    * <code>.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
166    * </code>
167    *
168    * @return The updateTime.
169    */
getUpdateTime()170   com.google.protobuf.Timestamp getUpdateTime();
171   /**
172    *
173    *
174    * <pre>
175    * Output only. The last update timestamp of an inspectTemplate.
176    * </pre>
177    *
178    * <code>.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
179    * </code>
180    */
getUpdateTimeOrBuilder()181   com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder();
182 
183   /**
184    *
185    *
186    * <pre>
187    * The core content of the template.
188    * </pre>
189    *
190    * <code>.google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 6;</code>
191    *
192    * @return Whether the deidentifyConfig field is set.
193    */
hasDeidentifyConfig()194   boolean hasDeidentifyConfig();
195   /**
196    *
197    *
198    * <pre>
199    * The core content of the template.
200    * </pre>
201    *
202    * <code>.google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 6;</code>
203    *
204    * @return The deidentifyConfig.
205    */
getDeidentifyConfig()206   com.google.privacy.dlp.v2.DeidentifyConfig getDeidentifyConfig();
207   /**
208    *
209    *
210    * <pre>
211    * The core content of the template.
212    * </pre>
213    *
214    * <code>.google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 6;</code>
215    */
getDeidentifyConfigOrBuilder()216   com.google.privacy.dlp.v2.DeidentifyConfigOrBuilder getDeidentifyConfigOrBuilder();
217 }
218