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 status "google.golang.org/genproto/googleapis/rpc/status"
28 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
29 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
30 fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
31 )
32
33 const (
34
35 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
36
37 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
38 )
39
40
41 type ChangeType int32
42
43 const (
44
45 ChangeType_CHANGE_TYPE_UNSPECIFIED ChangeType = 0
46
47 ChangeType_CREATION ChangeType = 1
48
49 ChangeType_UPDATE ChangeType = 2
50
51 ChangeType_DELETION ChangeType = 3
52 )
53
54
55 var (
56 ChangeType_name = map[int32]string{
57 0: "CHANGE_TYPE_UNSPECIFIED",
58 1: "CREATION",
59 2: "UPDATE",
60 3: "DELETION",
61 }
62 ChangeType_value = map[string]int32{
63 "CHANGE_TYPE_UNSPECIFIED": 0,
64 "CREATION": 1,
65 "UPDATE": 2,
66 "DELETION": 3,
67 }
68 )
69
70 func (x ChangeType) Enum() *ChangeType {
71 p := new(ChangeType)
72 *p = x
73 return p
74 }
75
76 func (x ChangeType) String() string {
77 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
78 }
79
80 func (ChangeType) Descriptor() protoreflect.EnumDescriptor {
81 return file_google_cloud_gkebackup_logging_v1_logging_proto_enumTypes[0].Descriptor()
82 }
83
84 func (ChangeType) Type() protoreflect.EnumType {
85 return &file_google_cloud_gkebackup_logging_v1_logging_proto_enumTypes[0]
86 }
87
88 func (x ChangeType) Number() protoreflect.EnumNumber {
89 return protoreflect.EnumNumber(x)
90 }
91
92
93 func (ChangeType) EnumDescriptor() ([]byte, []int) {
94 return file_google_cloud_gkebackup_logging_v1_logging_proto_rawDescGZIP(), []int{0}
95 }
96
97
98
99
100 type BackupPlanChange struct {
101 state protoimpl.MessageState
102 sizeCache protoimpl.SizeCache
103 unknownFields protoimpl.UnknownFields
104
105
106
107
108 BackupPlan string `protobuf:"bytes,1,opt,name=backup_plan,json=backupPlan,proto3" json:"backup_plan,omitempty"`
109
110 ChangeType ChangeType `protobuf:"varint,2,opt,name=change_type,json=changeType,proto3,enum=google.cloud.gkebackup.logging.v1.ChangeType" json:"change_type,omitempty"`
111
112 UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
113
114
115 InputBackupPlan *LoggedBackupPlan `protobuf:"bytes,4,opt,name=input_backup_plan,json=inputBackupPlan,proto3" json:"input_backup_plan,omitempty"`
116
117 Error *status.Status `protobuf:"bytes,5,opt,name=error,proto3" json:"error,omitempty"`
118 }
119
120 func (x *BackupPlanChange) Reset() {
121 *x = BackupPlanChange{}
122 if protoimpl.UnsafeEnabled {
123 mi := &file_google_cloud_gkebackup_logging_v1_logging_proto_msgTypes[0]
124 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
125 ms.StoreMessageInfo(mi)
126 }
127 }
128
129 func (x *BackupPlanChange) String() string {
130 return protoimpl.X.MessageStringOf(x)
131 }
132
133 func (*BackupPlanChange) ProtoMessage() {}
134
135 func (x *BackupPlanChange) ProtoReflect() protoreflect.Message {
136 mi := &file_google_cloud_gkebackup_logging_v1_logging_proto_msgTypes[0]
137 if protoimpl.UnsafeEnabled && x != nil {
138 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
139 if ms.LoadMessageInfo() == nil {
140 ms.StoreMessageInfo(mi)
141 }
142 return ms
143 }
144 return mi.MessageOf(x)
145 }
146
147
148 func (*BackupPlanChange) Descriptor() ([]byte, []int) {
149 return file_google_cloud_gkebackup_logging_v1_logging_proto_rawDescGZIP(), []int{0}
150 }
151
152 func (x *BackupPlanChange) GetBackupPlan() string {
153 if x != nil {
154 return x.BackupPlan
155 }
156 return ""
157 }
158
159 func (x *BackupPlanChange) GetChangeType() ChangeType {
160 if x != nil {
161 return x.ChangeType
162 }
163 return ChangeType_CHANGE_TYPE_UNSPECIFIED
164 }
165
166 func (x *BackupPlanChange) GetUpdateMask() *fieldmaskpb.FieldMask {
167 if x != nil {
168 return x.UpdateMask
169 }
170 return nil
171 }
172
173 func (x *BackupPlanChange) GetInputBackupPlan() *LoggedBackupPlan {
174 if x != nil {
175 return x.InputBackupPlan
176 }
177 return nil
178 }
179
180 func (x *BackupPlanChange) GetError() *status.Status {
181 if x != nil {
182 return x.Error
183 }
184 return nil
185 }
186
187
188
189
190 type BackupChange struct {
191 state protoimpl.MessageState
192 sizeCache protoimpl.SizeCache
193 unknownFields protoimpl.UnknownFields
194
195
196
197
198 Backup string `protobuf:"bytes,1,opt,name=backup,proto3" json:"backup,omitempty"`
199
200 ChangeType ChangeType `protobuf:"varint,2,opt,name=change_type,json=changeType,proto3,enum=google.cloud.gkebackup.logging.v1.ChangeType" json:"change_type,omitempty"`
201
202 Scheduled bool `protobuf:"varint,3,opt,name=scheduled,proto3" json:"scheduled,omitempty"`
203
204 UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
205
206
207
208 InputBackup *LoggedBackup `protobuf:"bytes,5,opt,name=input_backup,json=inputBackup,proto3" json:"input_backup,omitempty"`
209
210 Error *status.Status `protobuf:"bytes,6,opt,name=error,proto3" json:"error,omitempty"`
211 }
212
213 func (x *BackupChange) Reset() {
214 *x = BackupChange{}
215 if protoimpl.UnsafeEnabled {
216 mi := &file_google_cloud_gkebackup_logging_v1_logging_proto_msgTypes[1]
217 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
218 ms.StoreMessageInfo(mi)
219 }
220 }
221
222 func (x *BackupChange) String() string {
223 return protoimpl.X.MessageStringOf(x)
224 }
225
226 func (*BackupChange) ProtoMessage() {}
227
228 func (x *BackupChange) ProtoReflect() protoreflect.Message {
229 mi := &file_google_cloud_gkebackup_logging_v1_logging_proto_msgTypes[1]
230 if protoimpl.UnsafeEnabled && x != nil {
231 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
232 if ms.LoadMessageInfo() == nil {
233 ms.StoreMessageInfo(mi)
234 }
235 return ms
236 }
237 return mi.MessageOf(x)
238 }
239
240
241 func (*BackupChange) Descriptor() ([]byte, []int) {
242 return file_google_cloud_gkebackup_logging_v1_logging_proto_rawDescGZIP(), []int{1}
243 }
244
245 func (x *BackupChange) GetBackup() string {
246 if x != nil {
247 return x.Backup
248 }
249 return ""
250 }
251
252 func (x *BackupChange) GetChangeType() ChangeType {
253 if x != nil {
254 return x.ChangeType
255 }
256 return ChangeType_CHANGE_TYPE_UNSPECIFIED
257 }
258
259 func (x *BackupChange) GetScheduled() bool {
260 if x != nil {
261 return x.Scheduled
262 }
263 return false
264 }
265
266 func (x *BackupChange) GetUpdateMask() *fieldmaskpb.FieldMask {
267 if x != nil {
268 return x.UpdateMask
269 }
270 return nil
271 }
272
273 func (x *BackupChange) GetInputBackup() *LoggedBackup {
274 if x != nil {
275 return x.InputBackup
276 }
277 return nil
278 }
279
280 func (x *BackupChange) GetError() *status.Status {
281 if x != nil {
282 return x.Error
283 }
284 return nil
285 }
286
287
288
289
290 type RestorePlanChange struct {
291 state protoimpl.MessageState
292 sizeCache protoimpl.SizeCache
293 unknownFields protoimpl.UnknownFields
294
295
296
297
298 RestorePlan string `protobuf:"bytes,1,opt,name=restore_plan,json=restorePlan,proto3" json:"restore_plan,omitempty"`
299
300 ChangeType ChangeType `protobuf:"varint,2,opt,name=change_type,json=changeType,proto3,enum=google.cloud.gkebackup.logging.v1.ChangeType" json:"change_type,omitempty"`
301
302 UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
303
304
305 InputRestorePlan *LoggedRestorePlan `protobuf:"bytes,4,opt,name=input_restore_plan,json=inputRestorePlan,proto3" json:"input_restore_plan,omitempty"`
306
307 Error *status.Status `protobuf:"bytes,5,opt,name=error,proto3" json:"error,omitempty"`
308 }
309
310 func (x *RestorePlanChange) Reset() {
311 *x = RestorePlanChange{}
312 if protoimpl.UnsafeEnabled {
313 mi := &file_google_cloud_gkebackup_logging_v1_logging_proto_msgTypes[2]
314 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
315 ms.StoreMessageInfo(mi)
316 }
317 }
318
319 func (x *RestorePlanChange) String() string {
320 return protoimpl.X.MessageStringOf(x)
321 }
322
323 func (*RestorePlanChange) ProtoMessage() {}
324
325 func (x *RestorePlanChange) ProtoReflect() protoreflect.Message {
326 mi := &file_google_cloud_gkebackup_logging_v1_logging_proto_msgTypes[2]
327 if protoimpl.UnsafeEnabled && x != nil {
328 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
329 if ms.LoadMessageInfo() == nil {
330 ms.StoreMessageInfo(mi)
331 }
332 return ms
333 }
334 return mi.MessageOf(x)
335 }
336
337
338 func (*RestorePlanChange) Descriptor() ([]byte, []int) {
339 return file_google_cloud_gkebackup_logging_v1_logging_proto_rawDescGZIP(), []int{2}
340 }
341
342 func (x *RestorePlanChange) GetRestorePlan() string {
343 if x != nil {
344 return x.RestorePlan
345 }
346 return ""
347 }
348
349 func (x *RestorePlanChange) GetChangeType() ChangeType {
350 if x != nil {
351 return x.ChangeType
352 }
353 return ChangeType_CHANGE_TYPE_UNSPECIFIED
354 }
355
356 func (x *RestorePlanChange) GetUpdateMask() *fieldmaskpb.FieldMask {
357 if x != nil {
358 return x.UpdateMask
359 }
360 return nil
361 }
362
363 func (x *RestorePlanChange) GetInputRestorePlan() *LoggedRestorePlan {
364 if x != nil {
365 return x.InputRestorePlan
366 }
367 return nil
368 }
369
370 func (x *RestorePlanChange) GetError() *status.Status {
371 if x != nil {
372 return x.Error
373 }
374 return nil
375 }
376
377
378
379
380 type RestoreChange struct {
381 state protoimpl.MessageState
382 sizeCache protoimpl.SizeCache
383 unknownFields protoimpl.UnknownFields
384
385
386
387
388 Restore string `protobuf:"bytes,1,opt,name=restore,proto3" json:"restore,omitempty"`
389
390 ChangeType ChangeType `protobuf:"varint,2,opt,name=change_type,json=changeType,proto3,enum=google.cloud.gkebackup.logging.v1.ChangeType" json:"change_type,omitempty"`
391
392 UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
393
394
395 InputRestore *LoggedRestore `protobuf:"bytes,4,opt,name=input_restore,json=inputRestore,proto3" json:"input_restore,omitempty"`
396
397 Error *status.Status `protobuf:"bytes,5,opt,name=error,proto3" json:"error,omitempty"`
398 }
399
400 func (x *RestoreChange) Reset() {
401 *x = RestoreChange{}
402 if protoimpl.UnsafeEnabled {
403 mi := &file_google_cloud_gkebackup_logging_v1_logging_proto_msgTypes[3]
404 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
405 ms.StoreMessageInfo(mi)
406 }
407 }
408
409 func (x *RestoreChange) String() string {
410 return protoimpl.X.MessageStringOf(x)
411 }
412
413 func (*RestoreChange) ProtoMessage() {}
414
415 func (x *RestoreChange) ProtoReflect() protoreflect.Message {
416 mi := &file_google_cloud_gkebackup_logging_v1_logging_proto_msgTypes[3]
417 if protoimpl.UnsafeEnabled && x != nil {
418 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
419 if ms.LoadMessageInfo() == nil {
420 ms.StoreMessageInfo(mi)
421 }
422 return ms
423 }
424 return mi.MessageOf(x)
425 }
426
427
428 func (*RestoreChange) Descriptor() ([]byte, []int) {
429 return file_google_cloud_gkebackup_logging_v1_logging_proto_rawDescGZIP(), []int{3}
430 }
431
432 func (x *RestoreChange) GetRestore() string {
433 if x != nil {
434 return x.Restore
435 }
436 return ""
437 }
438
439 func (x *RestoreChange) GetChangeType() ChangeType {
440 if x != nil {
441 return x.ChangeType
442 }
443 return ChangeType_CHANGE_TYPE_UNSPECIFIED
444 }
445
446 func (x *RestoreChange) GetUpdateMask() *fieldmaskpb.FieldMask {
447 if x != nil {
448 return x.UpdateMask
449 }
450 return nil
451 }
452
453 func (x *RestoreChange) GetInputRestore() *LoggedRestore {
454 if x != nil {
455 return x.InputRestore
456 }
457 return nil
458 }
459
460 func (x *RestoreChange) GetError() *status.Status {
461 if x != nil {
462 return x.Error
463 }
464 return nil
465 }
466
467 var File_google_cloud_gkebackup_logging_v1_logging_proto protoreflect.FileDescriptor
468
469 var file_google_cloud_gkebackup_logging_v1_logging_proto_rawDesc = []byte{
470 0x0a, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x67,
471 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2f, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67,
472 0x2f, 0x76, 0x31, 0x2f, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74,
473 0x6f, 0x12, 0x21, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
474 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2e, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e,
475 0x67, 0x2e, 0x76, 0x31, 0x1a, 0x35, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f,
476 0x75, 0x64, 0x2f, 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2f, 0x6c, 0x6f, 0x67,
477 0x67, 0x69, 0x6e, 0x67, 0x2f, 0x76, 0x31, 0x2f, 0x6c, 0x6f, 0x67, 0x67, 0x65, 0x64, 0x5f, 0x62,
478 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x3a, 0x67, 0x6f, 0x6f,
479 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63,
480 0x6b, 0x75, 0x70, 0x2f, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2f, 0x76, 0x31, 0x2f, 0x6c,
481 0x6f, 0x67, 0x67, 0x65, 0x64, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x5f, 0x70, 0x6c, 0x61,
482 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x36, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
483 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2f,
484 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2f, 0x76, 0x31, 0x2f, 0x6c, 0x6f, 0x67, 0x67, 0x65,
485 0x64, 0x5f, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
486 0x3b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x67, 0x6b,
487 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2f, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2f,
488 0x76, 0x31, 0x2f, 0x6c, 0x6f, 0x67, 0x67, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72,
489 0x65, 0x5f, 0x70, 0x6c, 0x61, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f,
490 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69,
491 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17,
492 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75,
493 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xcb, 0x02, 0x0a, 0x10, 0x42, 0x61, 0x63, 0x6b,
494 0x75, 0x70, 0x50, 0x6c, 0x61, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x1f, 0x0a, 0x0b,
495 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x5f, 0x70, 0x6c, 0x61, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28,
496 0x09, 0x52, 0x0a, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x50, 0x6c, 0x61, 0x6e, 0x12, 0x4e, 0x0a,
497 0x0b, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01,
498 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
499 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2e, 0x6c, 0x6f, 0x67, 0x67,
500 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x79, 0x70,
501 0x65, 0x52, 0x0a, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x3b, 0x0a,
502 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x03, 0x20, 0x01,
503 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
504 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0a,
505 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x12, 0x5f, 0x0a, 0x11, 0x69, 0x6e,
506 0x70, 0x75, 0x74, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x5f, 0x70, 0x6c, 0x61, 0x6e, 0x18,
507 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
508 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2e, 0x6c,
509 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x67, 0x67, 0x65, 0x64,
510 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x50, 0x6c, 0x61, 0x6e, 0x52, 0x0f, 0x69, 0x6e, 0x70, 0x75,
511 0x74, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x50, 0x6c, 0x61, 0x6e, 0x12, 0x28, 0x0a, 0x05, 0x65,
512 0x72, 0x72, 0x6f, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x6f, 0x6f,
513 0x67, 0x6c, 0x65, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x05,
514 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0xcf, 0x02, 0x0a, 0x0c, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70,
515 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70,
516 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x12, 0x4e,
517 0x0a, 0x0b, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20,
518 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
519 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2e, 0x6c, 0x6f, 0x67,
520 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x79,
521 0x70, 0x65, 0x52, 0x0a, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c,
522 0x0a, 0x09, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28,
523 0x08, 0x52, 0x09, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x64, 0x12, 0x3b, 0x0a, 0x0b,
524 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x04, 0x20, 0x01, 0x28,
525 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
526 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0a, 0x75,
527 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x12, 0x52, 0x0a, 0x0c, 0x69, 0x6e, 0x70,
528 0x75, 0x74, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32,
529 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67,
530 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2e, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67,
531 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x67, 0x67, 0x65, 0x64, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70,
532 0x52, 0x0b, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x12, 0x28, 0x0a,
533 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67,
534 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
535 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0xd1, 0x02, 0x0a, 0x11, 0x52, 0x65, 0x73, 0x74,
536 0x6f, 0x72, 0x65, 0x50, 0x6c, 0x61, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x21, 0x0a,
537 0x0c, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x5f, 0x70, 0x6c, 0x61, 0x6e, 0x18, 0x01, 0x20,
538 0x01, 0x28, 0x09, 0x52, 0x0b, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x50, 0x6c, 0x61, 0x6e,
539 0x12, 0x4e, 0x0a, 0x0b, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18,
540 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
541 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2e, 0x6c,
542 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65,
543 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65,
544 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18,
545 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
546 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73,
547 0x6b, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x12, 0x62, 0x0a,
548 0x12, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x5f, 0x70,
549 0x6c, 0x61, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
550 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b,
551 0x75, 0x70, 0x2e, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f,
552 0x67, 0x67, 0x65, 0x64, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x50, 0x6c, 0x61, 0x6e, 0x52,
553 0x10, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x50, 0x6c, 0x61,
554 0x6e, 0x12, 0x28, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b,
555 0x32, 0x12, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74,
556 0x61, 0x74, 0x75, 0x73, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0xb7, 0x02, 0x0a, 0x0d,
557 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x18, 0x0a,
558 0x07, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
559 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x12, 0x4e, 0x0a, 0x0b, 0x63, 0x68, 0x61, 0x6e, 0x67,
560 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x67,
561 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x62,
562 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2e, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31,
563 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x63, 0x68, 0x61,
564 0x6e, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74,
565 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67,
566 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46,
567 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65,
568 0x4d, 0x61, 0x73, 0x6b, 0x12, 0x55, 0x0a, 0x0d, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x72, 0x65,
569 0x73, 0x74, 0x6f, 0x72, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x67, 0x6f,
570 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x62, 0x61,
571 0x63, 0x6b, 0x75, 0x70, 0x2e, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e,
572 0x4c, 0x6f, 0x67, 0x67, 0x65, 0x64, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x52, 0x0c, 0x69,
573 0x6e, 0x70, 0x75, 0x74, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x12, 0x28, 0x0a, 0x05, 0x65,
574 0x72, 0x72, 0x6f, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x6f, 0x6f,
575 0x67, 0x6c, 0x65, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x05,
576 0x65, 0x72, 0x72, 0x6f, 0x72, 0x2a, 0x51, 0x0a, 0x0a, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54,
577 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x17, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x5f, 0x54, 0x59,
578 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00,
579 0x12, 0x0c, 0x0a, 0x08, 0x43, 0x52, 0x45, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x01, 0x12, 0x0a,
580 0x0a, 0x06, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x10, 0x02, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x45,
581 0x4c, 0x45, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x03, 0x42, 0xed, 0x01, 0x0a, 0x21, 0x67, 0x6f, 0x6f,
582 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63,
583 0x6b, 0x75, 0x70, 0x2e, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x42, 0x0c,
584 0x4c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x48,
585 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72,
586 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
587 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x67, 0x6b, 0x65, 0x62,
588 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2f, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2f, 0x76, 0x31,
589 0x3b, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0xaa, 0x02, 0x21, 0x47, 0x6f, 0x6f, 0x67, 0x6c,
590 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x47, 0x6b, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x75,
591 0x70, 0x2e, 0x4c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x21, 0x47,
592 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x47, 0x6b, 0x65, 0x42,
593 0x61, 0x63, 0x6b, 0x75, 0x70, 0x5c, 0x4c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x5c, 0x56, 0x31,
594 0xea, 0x02, 0x25, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64,
595 0x3a, 0x3a, 0x47, 0x6b, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x3a, 0x3a, 0x4c, 0x6f, 0x67,
596 0x67, 0x69, 0x6e, 0x67, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
597 }
598
599 var (
600 file_google_cloud_gkebackup_logging_v1_logging_proto_rawDescOnce sync.Once
601 file_google_cloud_gkebackup_logging_v1_logging_proto_rawDescData = file_google_cloud_gkebackup_logging_v1_logging_proto_rawDesc
602 )
603
604 func file_google_cloud_gkebackup_logging_v1_logging_proto_rawDescGZIP() []byte {
605 file_google_cloud_gkebackup_logging_v1_logging_proto_rawDescOnce.Do(func() {
606 file_google_cloud_gkebackup_logging_v1_logging_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_gkebackup_logging_v1_logging_proto_rawDescData)
607 })
608 return file_google_cloud_gkebackup_logging_v1_logging_proto_rawDescData
609 }
610
611 var file_google_cloud_gkebackup_logging_v1_logging_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
612 var file_google_cloud_gkebackup_logging_v1_logging_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
613 var file_google_cloud_gkebackup_logging_v1_logging_proto_goTypes = []interface{}{
614 (ChangeType)(0),
615 (*BackupPlanChange)(nil),
616 (*BackupChange)(nil),
617 (*RestorePlanChange)(nil),
618 (*RestoreChange)(nil),
619 (*fieldmaskpb.FieldMask)(nil),
620 (*LoggedBackupPlan)(nil),
621 (*status.Status)(nil),
622 (*LoggedBackup)(nil),
623 (*LoggedRestorePlan)(nil),
624 (*LoggedRestore)(nil),
625 }
626 var file_google_cloud_gkebackup_logging_v1_logging_proto_depIdxs = []int32{
627 0,
628 5,
629 6,
630 7,
631 0,
632 5,
633 8,
634 7,
635 0,
636 5,
637 9,
638 7,
639 0,
640 5,
641 10,
642 7,
643 16,
644 16,
645 16,
646 16,
647 0,
648 }
649
650 func init() { file_google_cloud_gkebackup_logging_v1_logging_proto_init() }
651 func file_google_cloud_gkebackup_logging_v1_logging_proto_init() {
652 if File_google_cloud_gkebackup_logging_v1_logging_proto != nil {
653 return
654 }
655 file_google_cloud_gkebackup_logging_v1_logged_backup_proto_init()
656 file_google_cloud_gkebackup_logging_v1_logged_backup_plan_proto_init()
657 file_google_cloud_gkebackup_logging_v1_logged_restore_proto_init()
658 file_google_cloud_gkebackup_logging_v1_logged_restore_plan_proto_init()
659 if !protoimpl.UnsafeEnabled {
660 file_google_cloud_gkebackup_logging_v1_logging_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
661 switch v := v.(*BackupPlanChange); i {
662 case 0:
663 return &v.state
664 case 1:
665 return &v.sizeCache
666 case 2:
667 return &v.unknownFields
668 default:
669 return nil
670 }
671 }
672 file_google_cloud_gkebackup_logging_v1_logging_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
673 switch v := v.(*BackupChange); i {
674 case 0:
675 return &v.state
676 case 1:
677 return &v.sizeCache
678 case 2:
679 return &v.unknownFields
680 default:
681 return nil
682 }
683 }
684 file_google_cloud_gkebackup_logging_v1_logging_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
685 switch v := v.(*RestorePlanChange); i {
686 case 0:
687 return &v.state
688 case 1:
689 return &v.sizeCache
690 case 2:
691 return &v.unknownFields
692 default:
693 return nil
694 }
695 }
696 file_google_cloud_gkebackup_logging_v1_logging_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
697 switch v := v.(*RestoreChange); i {
698 case 0:
699 return &v.state
700 case 1:
701 return &v.sizeCache
702 case 2:
703 return &v.unknownFields
704 default:
705 return nil
706 }
707 }
708 }
709 type x struct{}
710 out := protoimpl.TypeBuilder{
711 File: protoimpl.DescBuilder{
712 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
713 RawDescriptor: file_google_cloud_gkebackup_logging_v1_logging_proto_rawDesc,
714 NumEnums: 1,
715 NumMessages: 4,
716 NumExtensions: 0,
717 NumServices: 0,
718 },
719 GoTypes: file_google_cloud_gkebackup_logging_v1_logging_proto_goTypes,
720 DependencyIndexes: file_google_cloud_gkebackup_logging_v1_logging_proto_depIdxs,
721 EnumInfos: file_google_cloud_gkebackup_logging_v1_logging_proto_enumTypes,
722 MessageInfos: file_google_cloud_gkebackup_logging_v1_logging_proto_msgTypes,
723 }.Build()
724 File_google_cloud_gkebackup_logging_v1_logging_proto = out.File
725 file_google_cloud_gkebackup_logging_v1_logging_proto_rawDesc = nil
726 file_google_cloud_gkebackup_logging_v1_logging_proto_goTypes = nil
727 file_google_cloud_gkebackup_logging_v1_logging_proto_depIdxs = nil
728 }
729
View as plain text