• 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 StoredInfoTypeVersionOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.StoredInfoTypeVersion)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * StoredInfoType configuration.
31    * </pre>
32    *
33    * <code>.google.privacy.dlp.v2.StoredInfoTypeConfig config = 1;</code>
34    *
35    * @return Whether the config field is set.
36    */
hasConfig()37   boolean hasConfig();
38   /**
39    *
40    *
41    * <pre>
42    * StoredInfoType configuration.
43    * </pre>
44    *
45    * <code>.google.privacy.dlp.v2.StoredInfoTypeConfig config = 1;</code>
46    *
47    * @return The config.
48    */
getConfig()49   com.google.privacy.dlp.v2.StoredInfoTypeConfig getConfig();
50   /**
51    *
52    *
53    * <pre>
54    * StoredInfoType configuration.
55    * </pre>
56    *
57    * <code>.google.privacy.dlp.v2.StoredInfoTypeConfig config = 1;</code>
58    */
getConfigOrBuilder()59   com.google.privacy.dlp.v2.StoredInfoTypeConfigOrBuilder getConfigOrBuilder();
60 
61   /**
62    *
63    *
64    * <pre>
65    * Create timestamp of the version. Read-only, determined by the system
66    * when the version is created.
67    * </pre>
68    *
69    * <code>.google.protobuf.Timestamp create_time = 2;</code>
70    *
71    * @return Whether the createTime field is set.
72    */
hasCreateTime()73   boolean hasCreateTime();
74   /**
75    *
76    *
77    * <pre>
78    * Create timestamp of the version. Read-only, determined by the system
79    * when the version is created.
80    * </pre>
81    *
82    * <code>.google.protobuf.Timestamp create_time = 2;</code>
83    *
84    * @return The createTime.
85    */
getCreateTime()86   com.google.protobuf.Timestamp getCreateTime();
87   /**
88    *
89    *
90    * <pre>
91    * Create timestamp of the version. Read-only, determined by the system
92    * when the version is created.
93    * </pre>
94    *
95    * <code>.google.protobuf.Timestamp create_time = 2;</code>
96    */
getCreateTimeOrBuilder()97   com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();
98 
99   /**
100    *
101    *
102    * <pre>
103    * Stored info type version state. Read-only, updated by the system
104    * during dictionary creation.
105    * </pre>
106    *
107    * <code>.google.privacy.dlp.v2.StoredInfoTypeState state = 3;</code>
108    *
109    * @return The enum numeric value on the wire for state.
110    */
getStateValue()111   int getStateValue();
112   /**
113    *
114    *
115    * <pre>
116    * Stored info type version state. Read-only, updated by the system
117    * during dictionary creation.
118    * </pre>
119    *
120    * <code>.google.privacy.dlp.v2.StoredInfoTypeState state = 3;</code>
121    *
122    * @return The state.
123    */
getState()124   com.google.privacy.dlp.v2.StoredInfoTypeState getState();
125 
126   /**
127    *
128    *
129    * <pre>
130    * Errors that occurred when creating this storedInfoType version, or
131    * anomalies detected in the storedInfoType data that render it unusable. Only
132    * the five most recent errors will be displayed, with the most recent error
133    * appearing first.
134    * For example, some of the data for stored custom dictionaries is put in
135    * the user's Cloud Storage bucket, and if this data is modified or
136    * deleted by the user or another system, the dictionary becomes invalid.
137    * If any errors occur, fix the problem indicated by the error message and
138    * use the UpdateStoredInfoType API method to create another version of the
139    * storedInfoType to continue using it, reusing the same `config` if it was
140    * not the source of the error.
141    * </pre>
142    *
143    * <code>repeated .google.privacy.dlp.v2.Error errors = 4;</code>
144    */
getErrorsList()145   java.util.List<com.google.privacy.dlp.v2.Error> getErrorsList();
146   /**
147    *
148    *
149    * <pre>
150    * Errors that occurred when creating this storedInfoType version, or
151    * anomalies detected in the storedInfoType data that render it unusable. Only
152    * the five most recent errors will be displayed, with the most recent error
153    * appearing first.
154    * For example, some of the data for stored custom dictionaries is put in
155    * the user's Cloud Storage bucket, and if this data is modified or
156    * deleted by the user or another system, the dictionary becomes invalid.
157    * If any errors occur, fix the problem indicated by the error message and
158    * use the UpdateStoredInfoType API method to create another version of the
159    * storedInfoType to continue using it, reusing the same `config` if it was
160    * not the source of the error.
161    * </pre>
162    *
163    * <code>repeated .google.privacy.dlp.v2.Error errors = 4;</code>
164    */
getErrors(int index)165   com.google.privacy.dlp.v2.Error getErrors(int index);
166   /**
167    *
168    *
169    * <pre>
170    * Errors that occurred when creating this storedInfoType version, or
171    * anomalies detected in the storedInfoType data that render it unusable. Only
172    * the five most recent errors will be displayed, with the most recent error
173    * appearing first.
174    * For example, some of the data for stored custom dictionaries is put in
175    * the user's Cloud Storage bucket, and if this data is modified or
176    * deleted by the user or another system, the dictionary becomes invalid.
177    * If any errors occur, fix the problem indicated by the error message and
178    * use the UpdateStoredInfoType API method to create another version of the
179    * storedInfoType to continue using it, reusing the same `config` if it was
180    * not the source of the error.
181    * </pre>
182    *
183    * <code>repeated .google.privacy.dlp.v2.Error errors = 4;</code>
184    */
getErrorsCount()185   int getErrorsCount();
186   /**
187    *
188    *
189    * <pre>
190    * Errors that occurred when creating this storedInfoType version, or
191    * anomalies detected in the storedInfoType data that render it unusable. Only
192    * the five most recent errors will be displayed, with the most recent error
193    * appearing first.
194    * For example, some of the data for stored custom dictionaries is put in
195    * the user's Cloud Storage bucket, and if this data is modified or
196    * deleted by the user or another system, the dictionary becomes invalid.
197    * If any errors occur, fix the problem indicated by the error message and
198    * use the UpdateStoredInfoType API method to create another version of the
199    * storedInfoType to continue using it, reusing the same `config` if it was
200    * not the source of the error.
201    * </pre>
202    *
203    * <code>repeated .google.privacy.dlp.v2.Error errors = 4;</code>
204    */
getErrorsOrBuilderList()205   java.util.List<? extends com.google.privacy.dlp.v2.ErrorOrBuilder> getErrorsOrBuilderList();
206   /**
207    *
208    *
209    * <pre>
210    * Errors that occurred when creating this storedInfoType version, or
211    * anomalies detected in the storedInfoType data that render it unusable. Only
212    * the five most recent errors will be displayed, with the most recent error
213    * appearing first.
214    * For example, some of the data for stored custom dictionaries is put in
215    * the user's Cloud Storage bucket, and if this data is modified or
216    * deleted by the user or another system, the dictionary becomes invalid.
217    * If any errors occur, fix the problem indicated by the error message and
218    * use the UpdateStoredInfoType API method to create another version of the
219    * storedInfoType to continue using it, reusing the same `config` if it was
220    * not the source of the error.
221    * </pre>
222    *
223    * <code>repeated .google.privacy.dlp.v2.Error errors = 4;</code>
224    */
getErrorsOrBuilder(int index)225   com.google.privacy.dlp.v2.ErrorOrBuilder getErrorsOrBuilder(int index);
226 
227   /**
228    *
229    *
230    * <pre>
231    * Statistics about this storedInfoType version.
232    * </pre>
233    *
234    * <code>.google.privacy.dlp.v2.StoredInfoTypeStats stats = 5;</code>
235    *
236    * @return Whether the stats field is set.
237    */
hasStats()238   boolean hasStats();
239   /**
240    *
241    *
242    * <pre>
243    * Statistics about this storedInfoType version.
244    * </pre>
245    *
246    * <code>.google.privacy.dlp.v2.StoredInfoTypeStats stats = 5;</code>
247    *
248    * @return The stats.
249    */
getStats()250   com.google.privacy.dlp.v2.StoredInfoTypeStats getStats();
251   /**
252    *
253    *
254    * <pre>
255    * Statistics about this storedInfoType version.
256    * </pre>
257    *
258    * <code>.google.privacy.dlp.v2.StoredInfoTypeStats stats = 5;</code>
259    */
getStatsOrBuilder()260   com.google.privacy.dlp.v2.StoredInfoTypeStatsOrBuilder getStatsOrBuilder();
261 }
262