1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package logging
22
23 import (
24 reflect "reflect"
25 sync "sync"
26
27 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
28 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
29 )
30
31 const (
32
33 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
34
35 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
36 )
37
38
39
40
41 type LoggedBackupPlan struct {
42 state protoimpl.MessageState
43 sizeCache protoimpl.SizeCache
44 unknownFields protoimpl.UnknownFields
45
46
47 Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
48
49 Cluster string `protobuf:"bytes,2,opt,name=cluster,proto3" json:"cluster,omitempty"`
50
51 RetentionPolicy *LoggedBackupPlan_RetentionPolicy `protobuf:"bytes,3,opt,name=retention_policy,json=retentionPolicy,proto3" json:"retention_policy,omitempty"`
52
53 Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
54
55 BackupSchedule *LoggedBackupPlan_Schedule `protobuf:"bytes,5,opt,name=backup_schedule,json=backupSchedule,proto3" json:"backup_schedule,omitempty"`
56
57 Deactivated bool `protobuf:"varint,6,opt,name=deactivated,proto3" json:"deactivated,omitempty"`
58
59 BackupConfig *LoggedBackupPlan_BackupConfig `protobuf:"bytes,7,opt,name=backup_config,json=backupConfig,proto3" json:"backup_config,omitempty"`
60 }
61
62 func (x *LoggedBackupPlan) Reset() {
63 *x = LoggedBackupPlan{}
64 if protoimpl.UnsafeEnabled {
65 mi := &file_google_cloud_gkebackup_logging_v1_logged_backup_plan_proto_msgTypes[0]
66 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
67 ms.StoreMessageInfo(mi)
68 }
69 }
70
71 func (x *LoggedBackupPlan) String() string {
72 return protoimpl.X.MessageStringOf(x)
73 }
74
75 func (*LoggedBackupPlan) ProtoMessage() {}
76
77 func (x *LoggedBackupPlan) ProtoReflect() protoreflect.Message {
78 mi := &file_google_cloud_gkebackup_logging_v1_logged_backup_plan_proto_msgTypes[0]
79 if protoimpl.UnsafeEnabled && x != nil {
80 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
81 if ms.LoadMessageInfo() == nil {
82 ms.StoreMessageInfo(mi)
83 }
84 return ms
85 }
86 return mi.MessageOf(x)
87 }
88
89
90 func (*LoggedBackupPlan) Descriptor() ([]byte, []int) {
91 return file_google_cloud_gkebackup_logging_v1_logged_backup_plan_proto_rawDescGZIP(), []int{0}
92 }
93
94 func (x *LoggedBackupPlan) GetDescription() string {
95 if x != nil {
96 return x.Description
97 }
98 return ""
99 }
100
101 func (x *LoggedBackupPlan) GetCluster() string {
102 if x != nil {
103 return x.Cluster
104 }
105 return ""
106 }
107
108 func (x *LoggedBackupPlan) GetRetentionPolicy() *LoggedBackupPlan_RetentionPolicy {
109 if x != nil {
110 return x.RetentionPolicy
111 }
112 return nil
113 }
114
115 func (x *LoggedBackupPlan) GetLabels() map[string]string {
116 if x != nil {
117 return x.Labels
118 }
119 return nil
120 }
121
122 func (x *LoggedBackupPlan) GetBackupSchedule() *LoggedBackupPlan_Schedule {
123 if x != nil {
124 return x.BackupSchedule
125 }
126 return nil
127 }
128
129 func (x *LoggedBackupPlan) GetDeactivated() bool {
130 if x != nil {
131 return x.Deactivated
132 }
133 return false
134 }
135
136 func (x *LoggedBackupPlan) GetBackupConfig() *LoggedBackupPlan_BackupConfig {
137 if x != nil {
138 return x.BackupConfig
139 }
140 return nil
141 }
142
143
144
145
146
147 type LoggedBackupPlan_RetentionPolicy struct {
148 state protoimpl.MessageState
149 sizeCache protoimpl.SizeCache
150 unknownFields protoimpl.UnknownFields
151
152
153
154 BackupDeleteLockDays int32 `protobuf:"varint,1,opt,name=backup_delete_lock_days,json=backupDeleteLockDays,proto3" json:"backup_delete_lock_days,omitempty"`
155
156
157
158
159 BackupRetainDays int32 `protobuf:"varint,2,opt,name=backup_retain_days,json=backupRetainDays,proto3" json:"backup_retain_days,omitempty"`
160
161
162
163
164 Locked bool `protobuf:"varint,3,opt,name=locked,proto3" json:"locked,omitempty"`
165 }
166
167 func (x *LoggedBackupPlan_RetentionPolicy) Reset() {
168 *x = LoggedBackupPlan_RetentionPolicy{}
169 if protoimpl.UnsafeEnabled {
170 mi := &file_google_cloud_gkebackup_logging_v1_logged_backup_plan_proto_msgTypes[1]
171 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
172 ms.StoreMessageInfo(mi)
173 }
174 }
175
176 func (x *LoggedBackupPlan_RetentionPolicy) String() string {
177 return protoimpl.X.MessageStringOf(x)
178 }
179
180 func (*LoggedBackupPlan_RetentionPolicy) ProtoMessage() {}
181
182 func (x *LoggedBackupPlan_RetentionPolicy) ProtoReflect() protoreflect.Message {
183 mi := &file_google_cloud_gkebackup_logging_v1_logged_backup_plan_proto_msgTypes[1]
184 if protoimpl.UnsafeEnabled && x != nil {
185 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
186 if ms.LoadMessageInfo() == nil {
187 ms.StoreMessageInfo(mi)
188 }
189 return ms
190 }
191 return mi.MessageOf(x)
192 }
193
194
195 func (*LoggedBackupPlan_RetentionPolicy) Descriptor() ([]byte, []int) {
196 return file_google_cloud_gkebackup_logging_v1_logged_backup_plan_proto_rawDescGZIP(), []int{0, 0}
197 }
198
199 func (x *LoggedBackupPlan_RetentionPolicy) GetBackupDeleteLockDays() int32 {
200 if x != nil {
201 return x.BackupDeleteLockDays
202 }
203 return 0
204 }
205
206 func (x *LoggedBackupPlan_RetentionPolicy) GetBackupRetainDays() int32 {
207 if x != nil {
208 return x.BackupRetainDays
209 }
210 return 0
211 }
212
213 func (x *LoggedBackupPlan_RetentionPolicy) GetLocked() bool {
214 if x != nil {
215 return x.Locked
216 }
217 return false
218 }
219
220
221 type LoggedBackupPlan_Schedule struct {
222 state protoimpl.MessageState
223 sizeCache protoimpl.SizeCache
224 unknownFields protoimpl.UnknownFields
225
226
227 CronSchedule string `protobuf:"bytes,1,opt,name=cron_schedule,json=cronSchedule,proto3" json:"cron_schedule,omitempty"`
228
229 Paused bool `protobuf:"varint,2,opt,name=paused,proto3" json:"paused,omitempty"`
230 }
231
232 func (x *LoggedBackupPlan_Schedule) Reset() {
233 *x = LoggedBackupPlan_Schedule{}
234 if protoimpl.UnsafeEnabled {
235 mi := &file_google_cloud_gkebackup_logging_v1_logged_backup_plan_proto_msgTypes[2]
236 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
237 ms.StoreMessageInfo(mi)
238 }
239 }
240
241 func (x *LoggedBackupPlan_Schedule) String() string {
242 return protoimpl.X.MessageStringOf(x)
243 }
244
245 func (*LoggedBackupPlan_Schedule) ProtoMessage() {}
246
247 func (x *LoggedBackupPlan_Schedule) ProtoReflect() protoreflect.Message {
248 mi := &file_google_cloud_gkebackup_logging_v1_logged_backup_plan_proto_msgTypes[2]
249 if protoimpl.UnsafeEnabled && x != nil {
250 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
251 if ms.LoadMessageInfo() == nil {
252 ms.StoreMessageInfo(mi)
253 }
254 return ms
255 }
256 return mi.MessageOf(x)
257 }
258
259
260 func (*LoggedBackupPlan_Schedule) Descriptor() ([]byte, []int) {
261 return file_google_cloud_gkebackup_logging_v1_logged_backup_plan_proto_rawDescGZIP(), []int{0, 1}
262 }
263
264 func (x *LoggedBackupPlan_Schedule) GetCronSchedule() string {
265 if x != nil {
266 return x.CronSchedule
267 }
268 return ""
269 }
270
271 func (x *LoggedBackupPlan_Schedule) GetPaused() bool {
272 if x != nil {
273 return x.Paused
274 }
275 return false
276 }
277
278
279
280 type LoggedBackupPlan_BackupConfig struct {
281 state protoimpl.MessageState
282 sizeCache protoimpl.SizeCache
283 unknownFields protoimpl.UnknownFields
284
285
286
287
288
289 BackupScope isLoggedBackupPlan_BackupConfig_BackupScope `protobuf_oneof:"backup_scope"`
290
291 IncludeVolumeData bool `protobuf:"varint,4,opt,name=include_volume_data,json=includeVolumeData,proto3" json:"include_volume_data,omitempty"`
292
293 IncludeSecrets bool `protobuf:"varint,5,opt,name=include_secrets,json=includeSecrets,proto3" json:"include_secrets,omitempty"`
294
295
296 EncryptionKey *EncryptionKey `protobuf:"bytes,6,opt,name=encryption_key,json=encryptionKey,proto3" json:"encryption_key,omitempty"`
297 }
298
299 func (x *LoggedBackupPlan_BackupConfig) Reset() {
300 *x = LoggedBackupPlan_BackupConfig{}
301 if protoimpl.UnsafeEnabled {
302 mi := &file_google_cloud_gkebackup_logging_v1_logged_backup_plan_proto_msgTypes[3]
303 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
304 ms.StoreMessageInfo(mi)
305 }
306 }
307
308 func (x *LoggedBackupPlan_BackupConfig) String() string {
309 return protoimpl.X.MessageStringOf(x)
310 }
311
312 func (*LoggedBackupPlan_BackupConfig) ProtoMessage() {}
313
314 func (x *LoggedBackupPlan_BackupConfig) ProtoReflect() protoreflect.Message {
315 mi := &file_google_cloud_gkebackup_logging_v1_logged_backup_plan_proto_msgTypes[3]
316 if protoimpl.UnsafeEnabled && x != nil {
317 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
318 if ms.LoadMessageInfo() == nil {
319 ms.StoreMessageInfo(mi)
320 }
321 return ms
322 }
323 return mi.MessageOf(x)
324 }
325
326
327 func (*LoggedBackupPlan_BackupConfig) Descriptor() ([]byte, []int) {
328 return file_google_cloud_gkebackup_logging_v1_logged_backup_plan_proto_rawDescGZIP(), []int{0, 2}
329 }
330
331 func (m *LoggedBackupPlan_BackupConfig) GetBackupScope() isLoggedBackupPlan_BackupConfig_BackupScope {
332 if m != nil {
333 return m.BackupScope
334 }
335 return nil
336 }
337
338 func (x *LoggedBackupPlan_BackupConfig) GetAllNamespaces() bool {
339 if x, ok := x.GetBackupScope().(*LoggedBackupPlan_BackupConfig_AllNamespaces); ok {
340 return x.AllNamespaces
341 }
342 return false
343 }
344
345 func (x *LoggedBackupPlan_BackupConfig) GetSelectedNamespaces() *Namespaces {
346 if x, ok := x.GetBackupScope().(*LoggedBackupPlan_BackupConfig_SelectedNamespaces); ok {
347 return x.SelectedNamespaces
348 }
349 return nil
350 }
351
352 func (x *LoggedBackupPlan_BackupConfig) GetSelectedApplications() *NamespacedNames {
353 if x, ok := x.GetBackupScope().(*LoggedBackupPlan_BackupConfig_SelectedApplications); ok {
354 return x.SelectedApplications
355 }
356 return nil
357 }
358
359 func (x *LoggedBackupPlan_BackupConfig) GetIncludeVolumeData() bool {
360 if x != nil {
361 return x.IncludeVolumeData
362 }
363 return false
364 }
365
366 func (x *LoggedBackupPlan_BackupConfig) GetIncludeSecrets() bool {
367 if x != nil {
368 return x.IncludeSecrets
369 }
370 return false
371 }
372
373 func (x *LoggedBackupPlan_BackupConfig) GetEncryptionKey() *EncryptionKey {
374 if x != nil {
375 return x.EncryptionKey
376 }
377 return nil
378 }
379
380 type isLoggedBackupPlan_BackupConfig_BackupScope interface {
381 isLoggedBackupPlan_BackupConfig_BackupScope()
382 }
383
384 type LoggedBackupPlan_BackupConfig_AllNamespaces struct {
385
386 AllNamespaces bool `protobuf:"varint,1,opt,name=all_namespaces,json=allNamespaces,proto3,oneof"`
387 }
388
389 type LoggedBackupPlan_BackupConfig_SelectedNamespaces struct {
390
391 SelectedNamespaces *Namespaces `protobuf:"bytes,2,opt,name=selected_namespaces,json=selectedNamespaces,proto3,oneof"`
392 }
393
394 type LoggedBackupPlan_BackupConfig_SelectedApplications struct {
395
396 SelectedApplications *NamespacedNames `protobuf:"bytes,3,opt,name=selected_applications,json=selectedApplications,proto3,oneof"`
397 }
398
399 func (*LoggedBackupPlan_BackupConfig_AllNamespaces) isLoggedBackupPlan_BackupConfig_BackupScope() {}
400
401 func (*LoggedBackupPlan_BackupConfig_SelectedNamespaces) isLoggedBackupPlan_BackupConfig_BackupScope() {
402 }
403
404 func (*LoggedBackupPlan_BackupConfig_SelectedApplications) isLoggedBackupPlan_BackupConfig_BackupScope() {
405 }
406
407 var File_google_cloud_gkebackup_logging_v1_logged_backup_plan_proto protoreflect.FileDescriptor
408
409 var file_google_cloud_gkebackup_logging_v1_logged_backup_plan_proto_rawDesc = []byte{
410 0x0a, 0x3a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x67,
411 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2f, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67,
412 0x2f, 0x76, 0x31, 0x2f, 0x6c, 0x6f, 0x67, 0x67, 0x65, 0x64, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x75,
413 0x70, 0x5f, 0x70, 0x6c, 0x61, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x21, 0x67, 0x6f,
414 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x62, 0x61,
415 0x63, 0x6b, 0x75, 0x70, 0x2e, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x1a,
416 0x35, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x67, 0x6b,
417 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2f, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2f,
418 0x76, 0x31, 0x2f, 0x6c, 0x6f, 0x67, 0x67, 0x65, 0x64, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
419 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe5, 0x09, 0x0a, 0x10, 0x4c, 0x6f, 0x67, 0x67, 0x65,
420 0x64, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x50, 0x6c, 0x61, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x64,
421 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
422 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a,
423 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
424 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x6e, 0x0a, 0x10, 0x72, 0x65, 0x74, 0x65, 0x6e,
425 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28,
426 0x0b, 0x32, 0x43, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
427 0x2e, 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2e, 0x6c, 0x6f, 0x67, 0x67, 0x69,
428 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x67, 0x67, 0x65, 0x64, 0x42, 0x61, 0x63, 0x6b,
429 0x75, 0x70, 0x50, 0x6c, 0x61, 0x6e, 0x2e, 0x52, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e,
430 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x0f, 0x72, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f,
431 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x57, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c,
432 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
433 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70,
434 0x2e, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x67, 0x67,
435 0x65, 0x64, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x50, 0x6c, 0x61, 0x6e, 0x2e, 0x4c, 0x61, 0x62,
436 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73,
437 0x12, 0x65, 0x0a, 0x0f, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64,
438 0x75, 0x6c, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
439 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b,
440 0x75, 0x70, 0x2e, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f,
441 0x67, 0x67, 0x65, 0x64, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x50, 0x6c, 0x61, 0x6e, 0x2e, 0x53,
442 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x0e, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x53,
443 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x61, 0x63, 0x74,
444 0x69, 0x76, 0x61, 0x74, 0x65, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x64, 0x65,
445 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x64, 0x12, 0x65, 0x0a, 0x0d, 0x62, 0x61, 0x63,
446 0x6b, 0x75, 0x70, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b,
447 0x32, 0x40, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
448 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2e, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e,
449 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x67, 0x67, 0x65, 0x64, 0x42, 0x61, 0x63, 0x6b, 0x75,
450 0x70, 0x50, 0x6c, 0x61, 0x6e, 0x2e, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x43, 0x6f, 0x6e, 0x66,
451 0x69, 0x67, 0x52, 0x0c, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
452 0x1a, 0x8e, 0x01, 0x0a, 0x0f, 0x52, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f,
453 0x6c, 0x69, 0x63, 0x79, 0x12, 0x35, 0x0a, 0x17, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x5f, 0x64,
454 0x65, 0x6c, 0x65, 0x74, 0x65, 0x5f, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x64, 0x61, 0x79, 0x73, 0x18,
455 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x14, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x44, 0x65, 0x6c,
456 0x65, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x6b, 0x44, 0x61, 0x79, 0x73, 0x12, 0x2c, 0x0a, 0x12, 0x62,
457 0x61, 0x63, 0x6b, 0x75, 0x70, 0x5f, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6e, 0x5f, 0x64, 0x61, 0x79,
458 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x10, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52,
459 0x65, 0x74, 0x61, 0x69, 0x6e, 0x44, 0x61, 0x79, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x6c, 0x6f, 0x63,
460 0x6b, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x6c, 0x6f, 0x63, 0x6b, 0x65,
461 0x64, 0x1a, 0x47, 0x0a, 0x08, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x12, 0x23, 0x0a,
462 0x0d, 0x63, 0x72, 0x6f, 0x6e, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x18, 0x01,
463 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x72, 0x6f, 0x6e, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75,
464 0x6c, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x75, 0x73, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01,
465 0x28, 0x08, 0x52, 0x06, 0x70, 0x61, 0x75, 0x73, 0x65, 0x64, 0x1a, 0xc6, 0x03, 0x0a, 0x0c, 0x42,
466 0x61, 0x63, 0x6b, 0x75, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x27, 0x0a, 0x0e, 0x61,
467 0x6c, 0x6c, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20,
468 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x0d, 0x61, 0x6c, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70,
469 0x61, 0x63, 0x65, 0x73, 0x12, 0x60, 0x0a, 0x13, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x65, 0x64,
470 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28,
471 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
472 0x2e, 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2e, 0x6c, 0x6f, 0x67, 0x67, 0x69,
473 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73,
474 0x48, 0x00, 0x52, 0x12, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x65, 0x64, 0x4e, 0x61, 0x6d, 0x65,
475 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x12, 0x69, 0x0a, 0x15, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74,
476 0x65, 0x64, 0x5f, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18,
477 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
478 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2e, 0x6c,
479 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70,
480 0x61, 0x63, 0x65, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x48, 0x00, 0x52, 0x14, 0x73, 0x65, 0x6c,
481 0x65, 0x63, 0x74, 0x65, 0x64, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
482 0x73, 0x12, 0x2e, 0x0a, 0x13, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x76, 0x6f, 0x6c,
483 0x75, 0x6d, 0x65, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11,
484 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x44, 0x61, 0x74,
485 0x61, 0x12, 0x27, 0x0a, 0x0f, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x73, 0x65, 0x63,
486 0x72, 0x65, 0x74, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x69, 0x6e, 0x63, 0x6c,
487 0x75, 0x64, 0x65, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x12, 0x57, 0x0a, 0x0e, 0x65, 0x6e,
488 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x06, 0x20, 0x01,
489 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
490 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2e, 0x6c, 0x6f, 0x67, 0x67,
491 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f,
492 0x6e, 0x4b, 0x65, 0x79, 0x52, 0x0d, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e,
493 0x4b, 0x65, 0x79, 0x42, 0x0e, 0x0a, 0x0c, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x5f, 0x73, 0x63,
494 0x6f, 0x70, 0x65, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74,
495 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
496 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20,
497 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0xf6,
498 0x01, 0x0a, 0x21, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
499 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2e, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e,
500 0x67, 0x2e, 0x76, 0x31, 0x42, 0x15, 0x4c, 0x6f, 0x67, 0x67, 0x65, 0x64, 0x42, 0x61, 0x63, 0x6b,
501 0x75, 0x70, 0x50, 0x6c, 0x61, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x48, 0x67,
502 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67,
503 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
504 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x67, 0x6b, 0x65, 0x62, 0x61,
505 0x63, 0x6b, 0x75, 0x70, 0x2f, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2f, 0x76, 0x31, 0x3b,
506 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0xaa, 0x02, 0x21, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
507 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x47, 0x6b, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70,
508 0x2e, 0x4c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x21, 0x47, 0x6f,
509 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x47, 0x6b, 0x65, 0x42, 0x61,
510 0x63, 0x6b, 0x75, 0x70, 0x5c, 0x4c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x5c, 0x56, 0x31, 0xea,
511 0x02, 0x25, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a,
512 0x3a, 0x47, 0x6b, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x3a, 0x3a, 0x4c, 0x6f, 0x67, 0x67,
513 0x69, 0x6e, 0x67, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
514 }
515
516 var (
517 file_google_cloud_gkebackup_logging_v1_logged_backup_plan_proto_rawDescOnce sync.Once
518 file_google_cloud_gkebackup_logging_v1_logged_backup_plan_proto_rawDescData = file_google_cloud_gkebackup_logging_v1_logged_backup_plan_proto_rawDesc
519 )
520
521 func file_google_cloud_gkebackup_logging_v1_logged_backup_plan_proto_rawDescGZIP() []byte {
522 file_google_cloud_gkebackup_logging_v1_logged_backup_plan_proto_rawDescOnce.Do(func() {
523 file_google_cloud_gkebackup_logging_v1_logged_backup_plan_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_gkebackup_logging_v1_logged_backup_plan_proto_rawDescData)
524 })
525 return file_google_cloud_gkebackup_logging_v1_logged_backup_plan_proto_rawDescData
526 }
527
528 var file_google_cloud_gkebackup_logging_v1_logged_backup_plan_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
529 var file_google_cloud_gkebackup_logging_v1_logged_backup_plan_proto_goTypes = []interface{}{
530 (*LoggedBackupPlan)(nil),
531 (*LoggedBackupPlan_RetentionPolicy)(nil),
532 (*LoggedBackupPlan_Schedule)(nil),
533 (*LoggedBackupPlan_BackupConfig)(nil),
534 nil,
535 (*Namespaces)(nil),
536 (*NamespacedNames)(nil),
537 (*EncryptionKey)(nil),
538 }
539 var file_google_cloud_gkebackup_logging_v1_logged_backup_plan_proto_depIdxs = []int32{
540 1,
541 4,
542 2,
543 3,
544 5,
545 6,
546 7,
547 7,
548 7,
549 7,
550 7,
551 0,
552 }
553
554 func init() { file_google_cloud_gkebackup_logging_v1_logged_backup_plan_proto_init() }
555 func file_google_cloud_gkebackup_logging_v1_logged_backup_plan_proto_init() {
556 if File_google_cloud_gkebackup_logging_v1_logged_backup_plan_proto != nil {
557 return
558 }
559 file_google_cloud_gkebackup_logging_v1_logged_common_proto_init()
560 if !protoimpl.UnsafeEnabled {
561 file_google_cloud_gkebackup_logging_v1_logged_backup_plan_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
562 switch v := v.(*LoggedBackupPlan); i {
563 case 0:
564 return &v.state
565 case 1:
566 return &v.sizeCache
567 case 2:
568 return &v.unknownFields
569 default:
570 return nil
571 }
572 }
573 file_google_cloud_gkebackup_logging_v1_logged_backup_plan_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
574 switch v := v.(*LoggedBackupPlan_RetentionPolicy); i {
575 case 0:
576 return &v.state
577 case 1:
578 return &v.sizeCache
579 case 2:
580 return &v.unknownFields
581 default:
582 return nil
583 }
584 }
585 file_google_cloud_gkebackup_logging_v1_logged_backup_plan_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
586 switch v := v.(*LoggedBackupPlan_Schedule); i {
587 case 0:
588 return &v.state
589 case 1:
590 return &v.sizeCache
591 case 2:
592 return &v.unknownFields
593 default:
594 return nil
595 }
596 }
597 file_google_cloud_gkebackup_logging_v1_logged_backup_plan_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
598 switch v := v.(*LoggedBackupPlan_BackupConfig); i {
599 case 0:
600 return &v.state
601 case 1:
602 return &v.sizeCache
603 case 2:
604 return &v.unknownFields
605 default:
606 return nil
607 }
608 }
609 }
610 file_google_cloud_gkebackup_logging_v1_logged_backup_plan_proto_msgTypes[3].OneofWrappers = []interface{}{
611 (*LoggedBackupPlan_BackupConfig_AllNamespaces)(nil),
612 (*LoggedBackupPlan_BackupConfig_SelectedNamespaces)(nil),
613 (*LoggedBackupPlan_BackupConfig_SelectedApplications)(nil),
614 }
615 type x struct{}
616 out := protoimpl.TypeBuilder{
617 File: protoimpl.DescBuilder{
618 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
619 RawDescriptor: file_google_cloud_gkebackup_logging_v1_logged_backup_plan_proto_rawDesc,
620 NumEnums: 0,
621 NumMessages: 5,
622 NumExtensions: 0,
623 NumServices: 0,
624 },
625 GoTypes: file_google_cloud_gkebackup_logging_v1_logged_backup_plan_proto_goTypes,
626 DependencyIndexes: file_google_cloud_gkebackup_logging_v1_logged_backup_plan_proto_depIdxs,
627 MessageInfos: file_google_cloud_gkebackup_logging_v1_logged_backup_plan_proto_msgTypes,
628 }.Build()
629 File_google_cloud_gkebackup_logging_v1_logged_backup_plan_proto = out.File
630 file_google_cloud_gkebackup_logging_v1_logged_backup_plan_proto_rawDesc = nil
631 file_google_cloud_gkebackup_logging_v1_logged_backup_plan_proto_goTypes = nil
632 file_google_cloud_gkebackup_logging_v1_logged_backup_plan_proto_depIdxs = nil
633 }
634
View as plain text