Debian Codegraph @

gkebackup/apiv1/gkebackuppb/backup.pb.go

raw
1 // Copyright 2025 Google LLC
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 // Code generated by protoc-gen-go. DO NOT EDIT.
16 // versions:
17 // protoc-gen-go v1.35.2
18 // protoc v4.25.7
19 // source: google/cloud/gkebackup/v1/backup.proto
20
21 package gkebackuppb
22
23 import (
24 _ "google.golang.org/genproto/googleapis/api/annotations"
25 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
26 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
27 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
28 reflect "reflect"
29 sync "sync"
30 )
31
32 const (
33 // Verify that this generated code is sufficiently up-to-date.
34 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
35 // Verify that runtime/protoimpl is sufficiently up-to-date.
36 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
37 )
38
39 // State
40 type Backup_State int32
41
42 const (
43 // The Backup resource is in the process of being created.
44 Backup_STATE_UNSPECIFIED Backup_State = 0
45 // The Backup resource has been created and the associated BackupJob
46 // Kubernetes resource has been injected into the source cluster.
47 Backup_CREATING Backup_State = 1
48 // The gkebackup agent in the cluster has begun executing the backup
49 // operation.
50 Backup_IN_PROGRESS Backup_State = 2
51 // The backup operation has completed successfully.
52 Backup_SUCCEEDED Backup_State = 3
53 // The backup operation has failed.
54 Backup_FAILED Backup_State = 4
55 // This Backup resource (and its associated artifacts) is in the process
56 // of being deleted.
57 Backup_DELETING Backup_State = 5
58 )
59
60 // Enum value maps for Backup_State.
61 var (
62 Backup_State_name = map[int32]string{
63 0: "STATE_UNSPECIFIED",
64 1: "CREATING",
65 2: "IN_PROGRESS",
66 3: "SUCCEEDED",
67 4: "FAILED",
68 5: "DELETING",
69 }
70 Backup_State_value = map[string]int32{
71 "STATE_UNSPECIFIED": 0,
72 "CREATING": 1,
73 "IN_PROGRESS": 2,
74 "SUCCEEDED": 3,
75 "FAILED": 4,
76 "DELETING": 5,
77 }
78 )
79
80 func (x Backup_State) Enum() *Backup_State {
81 p := new(Backup_State)
82 *p = x
83 return p
84 }
85
86 func (x Backup_State) String() string {
87 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
88 }
89
90 func (Backup_State) Descriptor() protoreflect.EnumDescriptor {
91 return file_google_cloud_gkebackup_v1_backup_proto_enumTypes[0].Descriptor()
92 }
93
94 func (Backup_State) Type() protoreflect.EnumType {
95 return &file_google_cloud_gkebackup_v1_backup_proto_enumTypes[0]
96 }
97
98 func (x Backup_State) Number() protoreflect.EnumNumber {
99 return protoreflect.EnumNumber(x)
100 }
101
102 // Deprecated: Use Backup_State.Descriptor instead.
103 func (Backup_State) EnumDescriptor() ([]byte, []int) {
104 return file_google_cloud_gkebackup_v1_backup_proto_rawDescGZIP(), []int{0, 0}
105 }
106
107 // Represents a request to perform a single point-in-time capture of
108 // some portion of the state of a GKE cluster, the record of the backup
109 // operation itself, and an anchor for the underlying artifacts that
110 // comprise the Backup (the config backup and VolumeBackups).
111 type Backup struct {
112 state protoimpl.MessageState
113 sizeCache protoimpl.SizeCache
114 unknownFields protoimpl.UnknownFields
115
116 // Output only. The fully qualified name of the Backup.
117 // `projects/*/locations/*/backupPlans/*/backups/*`
118 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
119 // Output only. Server generated global unique identifier of
120 // [UUID4](https://en.wikipedia.org/wiki/Universally_unique_identifier)
121 Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"`
122 // Output only. The timestamp when this Backup resource was created.
123 CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
124 // Output only. The timestamp when this Backup resource was last updated.
125 UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
126 // Output only. This flag indicates whether this Backup resource was created
127 // manually by a user or via a schedule in the BackupPlan. A value of True
128 // means that the Backup was created manually.
129 Manual bool `protobuf:"varint,5,opt,name=manual,proto3" json:"manual,omitempty"`
130 // Optional. A set of custom labels supplied by user.
131 Labels map[string]string `protobuf:"bytes,6,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
132 // Optional. Minimum age for this Backup (in days). If this field is set to a
133 // non-zero value, the Backup will be "locked" against deletion (either manual
134 // or automatic deletion) for the number of days provided (measured from the
135 // creation time of the Backup). MUST be an integer value between 0-90
136 // (inclusive).
137 //
138 // Defaults to parent BackupPlan's
139 // [backup_delete_lock_days][google.cloud.gkebackup.v1.BackupPlan.RetentionPolicy.backup_delete_lock_days]
140 // setting and may only be increased
141 // (either at creation time or in a subsequent update).
142 DeleteLockDays int32 `protobuf:"varint,7,opt,name=delete_lock_days,json=deleteLockDays,proto3" json:"delete_lock_days,omitempty"`
143 // Output only. The time at which an existing delete lock will expire for this
144 // backup (calculated from create_time +
145 // [delete_lock_days][google.cloud.gkebackup.v1.Backup.delete_lock_days]).
146 DeleteLockExpireTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=delete_lock_expire_time,json=deleteLockExpireTime,proto3" json:"delete_lock_expire_time,omitempty"`
147 // Optional. The age (in days) after which this Backup will be automatically
148 // deleted. Must be an integer value >= 0:
149 //
150 // - If 0, no automatic deletion will occur for this Backup.
151 // - If not 0, this must be >=
152 // [delete_lock_days][google.cloud.gkebackup.v1.Backup.delete_lock_days] and
153 // <= 365.
154 //
155 // Once a Backup is created, this value may only be increased.
156 //
157 // Defaults to the parent BackupPlan's
158 // [backup_retain_days][google.cloud.gkebackup.v1.BackupPlan.RetentionPolicy.backup_retain_days]
159 // value.
160 RetainDays int32 `protobuf:"varint,9,opt,name=retain_days,json=retainDays,proto3" json:"retain_days,omitempty"`
161 // Output only. The time at which this Backup will be automatically deleted
162 // (calculated from create_time +
163 // [retain_days][google.cloud.gkebackup.v1.Backup.retain_days]).
164 RetainExpireTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=retain_expire_time,json=retainExpireTime,proto3" json:"retain_expire_time,omitempty"`
165 // Output only. The customer managed encryption key that was used to encrypt
166 // the Backup's artifacts. Inherited from the parent BackupPlan's
167 // [encryption_key][google.cloud.gkebackup.v1.BackupPlan.BackupConfig.encryption_key]
168 // value.
169 EncryptionKey *EncryptionKey `protobuf:"bytes,11,opt,name=encryption_key,json=encryptionKey,proto3" json:"encryption_key,omitempty"`
170 // Defines the "scope" of the Backup - which namespaced resources in the
171 // cluster were included in the Backup. Inherited from the parent
172 // BackupPlan's
173 // [backup_scope][google.cloud.gkebackup.v1.BackupPlan.BackupConfig.backup_scope]
174 // value.
175 //
176 // Types that are assignable to BackupScope:
177 //
178 // *Backup_AllNamespaces
179 // *Backup_SelectedNamespaces
180 // *Backup_SelectedApplications
181 BackupScope isBackup_BackupScope `protobuf_oneof:"backup_scope"`
182 // Output only. Whether or not the Backup contains volume data. Controlled by
183 // the parent BackupPlan's
184 // [include_volume_data][google.cloud.gkebackup.v1.BackupPlan.BackupConfig.include_volume_data]
185 // value.
186 ContainsVolumeData bool `protobuf:"varint,15,opt,name=contains_volume_data,json=containsVolumeData,proto3" json:"contains_volume_data,omitempty"`
187 // Output only. Whether or not the Backup contains Kubernetes Secrets.
188 // Controlled by the parent BackupPlan's
189 // [include_secrets][google.cloud.gkebackup.v1.BackupPlan.BackupConfig.include_secrets]
190 // value.
191 ContainsSecrets bool `protobuf:"varint,16,opt,name=contains_secrets,json=containsSecrets,proto3" json:"contains_secrets,omitempty"`
192 // Output only. Information about the GKE cluster from which this Backup was
193 // created.
194 ClusterMetadata *Backup_ClusterMetadata `protobuf:"bytes,17,opt,name=cluster_metadata,json=clusterMetadata,proto3" json:"cluster_metadata,omitempty"`
195 // Output only. Current state of the Backup
196 State Backup_State `protobuf:"varint,18,opt,name=state,proto3,enum=google.cloud.gkebackup.v1.Backup_State" json:"state,omitempty"`
197 // Output only. Human-readable description of why the backup is in the current
198 // `state`. This field is only meant for human readability and should not be
199 // used programmatically as this field is not guaranteed to be consistent.
200 StateReason string `protobuf:"bytes,19,opt,name=state_reason,json=stateReason,proto3" json:"state_reason,omitempty"`
201 // Output only. Completion time of the Backup
202 CompleteTime *timestamppb.Timestamp `protobuf:"bytes,20,opt,name=complete_time,json=completeTime,proto3" json:"complete_time,omitempty"`
203 // Output only. The total number of Kubernetes resources included in the
204 // Backup.
205 ResourceCount int32 `protobuf:"varint,21,opt,name=resource_count,json=resourceCount,proto3" json:"resource_count,omitempty"`
206 // Output only. The total number of volume backups contained in the Backup.
207 VolumeCount int32 `protobuf:"varint,22,opt,name=volume_count,json=volumeCount,proto3" json:"volume_count,omitempty"`
208 // Output only. The total size of the Backup in bytes = config backup size +
209 // sum(volume backup sizes)
210 SizeBytes int64 `protobuf:"varint,23,opt,name=size_bytes,json=sizeBytes,proto3" json:"size_bytes,omitempty"`
211 // Output only. `etag` is used for optimistic concurrency control as a way to
212 // help prevent simultaneous updates of a backup from overwriting each other.
213 // It is strongly suggested that systems make use of the `etag` in the
214 // read-modify-write cycle to perform backup updates in order to avoid
215 // race conditions: An `etag` is returned in the response to `GetBackup`,
216 // and systems are expected to put that etag in the request to
217 // `UpdateBackup` or `DeleteBackup` to ensure that their change will be
218 // applied to the same version of the resource.
219 Etag string `protobuf:"bytes,24,opt,name=etag,proto3" json:"etag,omitempty"`
220 // Optional. User specified descriptive string for this Backup.
221 Description string `protobuf:"bytes,25,opt,name=description,proto3" json:"description,omitempty"`
222 // Output only. The total number of Kubernetes Pods contained in the Backup.
223 PodCount int32 `protobuf:"varint,26,opt,name=pod_count,json=podCount,proto3" json:"pod_count,omitempty"`
224 // Output only. The size of the config backup in bytes.
225 ConfigBackupSizeBytes int64 `protobuf:"varint,27,opt,name=config_backup_size_bytes,json=configBackupSizeBytes,proto3" json:"config_backup_size_bytes,omitempty"`
226 // Output only. If false, Backup will fail when Backup for GKE detects
227 // Kubernetes configuration that is non-standard or
228 // requires additional setup to restore.
229 //
230 // Inherited from the parent BackupPlan's
231 // [permissive_mode][google.cloud.gkebackup.v1.BackupPlan.BackupConfig.permissive_mode]
232 // value.
233 PermissiveMode bool `protobuf:"varint,28,opt,name=permissive_mode,json=permissiveMode,proto3" json:"permissive_mode,omitempty"`
234 // Output only. [Output Only] Reserved for future use.
235 SatisfiesPzs bool `protobuf:"varint,29,opt,name=satisfies_pzs,json=satisfiesPzs,proto3" json:"satisfies_pzs,omitempty"`
236 // Output only. [Output Only] Reserved for future use.
237 SatisfiesPzi bool `protobuf:"varint,30,opt,name=satisfies_pzi,json=satisfiesPzi,proto3" json:"satisfies_pzi,omitempty"`
238 }
239
240 func (x *Backup) Reset() {
241 *x = Backup{}
242 mi := &file_google_cloud_gkebackup_v1_backup_proto_msgTypes[0]
243 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
244 ms.StoreMessageInfo(mi)
245 }
246
247 func (x *Backup) String() string {
248 return protoimpl.X.MessageStringOf(x)
249 }
250
251 func (*Backup) ProtoMessage() {}
252
253 func (x *Backup) ProtoReflect() protoreflect.Message {
254 mi := &file_google_cloud_gkebackup_v1_backup_proto_msgTypes[0]
255 if x != nil {
256 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
257 if ms.LoadMessageInfo() == nil {
258 ms.StoreMessageInfo(mi)
259 }
260 return ms
261 }
262 return mi.MessageOf(x)
263 }
264
265 // Deprecated: Use Backup.ProtoReflect.Descriptor instead.
266 func (*Backup) Descriptor() ([]byte, []int) {
267 return file_google_cloud_gkebackup_v1_backup_proto_rawDescGZIP(), []int{0}
268 }
269
270 func (x *Backup) GetName() string {
271 if x != nil {
272 return x.Name
273 }
274 return ""
275 }
276
277 func (x *Backup) GetUid() string {
278 if x != nil {
279 return x.Uid
280 }
281 return ""
282 }
283
284 func (x *Backup) GetCreateTime() *timestamppb.Timestamp {
285 if x != nil {
286 return x.CreateTime
287 }
288 return nil
289 }
290
291 func (x *Backup) GetUpdateTime() *timestamppb.Timestamp {
292 if x != nil {
293 return x.UpdateTime
294 }
295 return nil
296 }
297
298 func (x *Backup) GetManual() bool {
299 if x != nil {
300 return x.Manual
301 }
302 return false
303 }
304
305 func (x *Backup) GetLabels() map[string]string {
306 if x != nil {
307 return x.Labels
308 }
309 return nil
310 }
311
312 func (x *Backup) GetDeleteLockDays() int32 {
313 if x != nil {
314 return x.DeleteLockDays
315 }
316 return 0
317 }
318
319 func (x *Backup) GetDeleteLockExpireTime() *timestamppb.Timestamp {
320 if x != nil {
321 return x.DeleteLockExpireTime
322 }
323 return nil
324 }
325
326 func (x *Backup) GetRetainDays() int32 {
327 if x != nil {
328 return x.RetainDays
329 }
330 return 0
331 }
332
333 func (x *Backup) GetRetainExpireTime() *timestamppb.Timestamp {
334 if x != nil {
335 return x.RetainExpireTime
336 }
337 return nil
338 }
339
340 func (x *Backup) GetEncryptionKey() *EncryptionKey {
341 if x != nil {
342 return x.EncryptionKey
343 }
344 return nil
345 }
346
347 func (m *Backup) GetBackupScope() isBackup_BackupScope {
348 if m != nil {
349 return m.BackupScope
350 }
351 return nil
352 }
353
354 func (x *Backup) GetAllNamespaces() bool {
355 if x, ok := x.GetBackupScope().(*Backup_AllNamespaces); ok {
356 return x.AllNamespaces
357 }
358 return false
359 }
360
361 func (x *Backup) GetSelectedNamespaces() *Namespaces {
362 if x, ok := x.GetBackupScope().(*Backup_SelectedNamespaces); ok {
363 return x.SelectedNamespaces
364 }
365 return nil
366 }
367
368 func (x *Backup) GetSelectedApplications() *NamespacedNames {
369 if x, ok := x.GetBackupScope().(*Backup_SelectedApplications); ok {
370 return x.SelectedApplications
371 }
372 return nil
373 }
374
375 func (x *Backup) GetContainsVolumeData() bool {
376 if x != nil {
377 return x.ContainsVolumeData
378 }
379 return false
380 }
381
382 func (x *Backup) GetContainsSecrets() bool {
383 if x != nil {
384 return x.ContainsSecrets
385 }
386 return false
387 }
388
389 func (x *Backup) GetClusterMetadata() *Backup_ClusterMetadata {
390 if x != nil {
391 return x.ClusterMetadata
392 }
393 return nil
394 }
395
396 func (x *Backup) GetState() Backup_State {
397 if x != nil {
398 return x.State
399 }
400 return Backup_STATE_UNSPECIFIED
401 }
402
403 func (x *Backup) GetStateReason() string {
404 if x != nil {
405 return x.StateReason
406 }
407 return ""
408 }
409
410 func (x *Backup) GetCompleteTime() *timestamppb.Timestamp {
411 if x != nil {
412 return x.CompleteTime
413 }
414 return nil
415 }
416
417 func (x *Backup) GetResourceCount() int32 {
418 if x != nil {
419 return x.ResourceCount
420 }
421 return 0
422 }
423
424 func (x *Backup) GetVolumeCount() int32 {
425 if x != nil {
426 return x.VolumeCount
427 }
428 return 0
429 }
430
431 func (x *Backup) GetSizeBytes() int64 {
432 if x != nil {
433 return x.SizeBytes
434 }
435 return 0
436 }
437
438 func (x *Backup) GetEtag() string {
439 if x != nil {
440 return x.Etag
441 }
442 return ""
443 }
444
445 func (x *Backup) GetDescription() string {
446 if x != nil {
447 return x.Description
448 }
449 return ""
450 }
451
452 func (x *Backup) GetPodCount() int32 {
453 if x != nil {
454 return x.PodCount
455 }
456 return 0
457 }
458
459 func (x *Backup) GetConfigBackupSizeBytes() int64 {
460 if x != nil {
461 return x.ConfigBackupSizeBytes
462 }
463 return 0
464 }
465
466 func (x *Backup) GetPermissiveMode() bool {
467 if x != nil {
468 return x.PermissiveMode
469 }
470 return false
471 }
472
473 func (x *Backup) GetSatisfiesPzs() bool {
474 if x != nil {
475 return x.SatisfiesPzs
476 }
477 return false
478 }
479
480 func (x *Backup) GetSatisfiesPzi() bool {
481 if x != nil {
482 return x.SatisfiesPzi
483 }
484 return false
485 }
486
487 type isBackup_BackupScope interface {
488 isBackup_BackupScope()
489 }
490
491 type Backup_AllNamespaces struct {
492 // Output only. If True, all namespaces were included in the Backup.
493 AllNamespaces bool `protobuf:"varint,12,opt,name=all_namespaces,json=allNamespaces,proto3,oneof"`
494 }
495
496 type Backup_SelectedNamespaces struct {
497 // Output only. If set, the list of namespaces that were included in the
498 // Backup.
499 SelectedNamespaces *Namespaces `protobuf:"bytes,13,opt,name=selected_namespaces,json=selectedNamespaces,proto3,oneof"`
500 }
501
502 type Backup_SelectedApplications struct {
503 // Output only. If set, the list of ProtectedApplications whose resources
504 // were included in the Backup.
505 SelectedApplications *NamespacedNames `protobuf:"bytes,14,opt,name=selected_applications,json=selectedApplications,proto3,oneof"`
506 }
507
508 func (*Backup_AllNamespaces) isBackup_BackupScope() {}
509
510 func (*Backup_SelectedNamespaces) isBackup_BackupScope() {}
511
512 func (*Backup_SelectedApplications) isBackup_BackupScope() {}
513
514 // Information about the GKE cluster from which this Backup was created.
515 type Backup_ClusterMetadata struct {
516 state protoimpl.MessageState
517 sizeCache protoimpl.SizeCache
518 unknownFields protoimpl.UnknownFields
519
520 // Output only. The source cluster from which this Backup was created.
521 // Valid formats:
522 //
523 // - `projects/*/locations/*/clusters/*`
524 // - `projects/*/zones/*/clusters/*`
525 //
526 // This is inherited from the parent BackupPlan's
527 // [cluster][google.cloud.gkebackup.v1.BackupPlan.cluster] field.
528 Cluster string `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"`
529 // Output only. The Kubernetes server version of the source cluster.
530 K8SVersion string `protobuf:"bytes,2,opt,name=k8s_version,json=k8sVersion,proto3" json:"k8s_version,omitempty"`
531 // Output only. A list of the Backup for GKE CRD versions found in the
532 // cluster.
533 BackupCrdVersions map[string]string `protobuf:"bytes,3,rep,name=backup_crd_versions,json=backupCrdVersions,proto3" json:"backup_crd_versions,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
534 // Platform-specific version
535 //
536 // Types that are assignable to PlatformVersion:
537 //
538 // *Backup_ClusterMetadata_GkeVersion
539 // *Backup_ClusterMetadata_AnthosVersion
540 PlatformVersion isBackup_ClusterMetadata_PlatformVersion `protobuf_oneof:"platform_version"`
541 }
542
543 func (x *Backup_ClusterMetadata) Reset() {
544 *x = Backup_ClusterMetadata{}
545 mi := &file_google_cloud_gkebackup_v1_backup_proto_msgTypes[1]
546 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
547 ms.StoreMessageInfo(mi)
548 }
549
550 func (x *Backup_ClusterMetadata) String() string {
551 return protoimpl.X.MessageStringOf(x)
552 }
553
554 func (*Backup_ClusterMetadata) ProtoMessage() {}
555
556 func (x *Backup_ClusterMetadata) ProtoReflect() protoreflect.Message {
557 mi := &file_google_cloud_gkebackup_v1_backup_proto_msgTypes[1]
558 if x != nil {
559 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
560 if ms.LoadMessageInfo() == nil {
561 ms.StoreMessageInfo(mi)
562 }
563 return ms
564 }
565 return mi.MessageOf(x)
566 }
567
568 // Deprecated: Use Backup_ClusterMetadata.ProtoReflect.Descriptor instead.
569 func (*Backup_ClusterMetadata) Descriptor() ([]byte, []int) {
570 return file_google_cloud_gkebackup_v1_backup_proto_rawDescGZIP(), []int{0, 0}
571 }
572
573 func (x *Backup_ClusterMetadata) GetCluster() string {
574 if x != nil {
575 return x.Cluster
576 }
577 return ""
578 }
579
580 func (x *Backup_ClusterMetadata) GetK8SVersion() string {
581 if x != nil {
582 return x.K8SVersion
583 }
584 return ""
585 }
586
587 func (x *Backup_ClusterMetadata) GetBackupCrdVersions() map[string]string {
588 if x != nil {
589 return x.BackupCrdVersions
590 }
591 return nil
592 }
593
594 func (m *Backup_ClusterMetadata) GetPlatformVersion() isBackup_ClusterMetadata_PlatformVersion {
595 if m != nil {
596 return m.PlatformVersion
597 }
598 return nil
599 }
600
601 func (x *Backup_ClusterMetadata) GetGkeVersion() string {
602 if x, ok := x.GetPlatformVersion().(*Backup_ClusterMetadata_GkeVersion); ok {
603 return x.GkeVersion
604 }
605 return ""
606 }
607
608 func (x *Backup_ClusterMetadata) GetAnthosVersion() string {
609 if x, ok := x.GetPlatformVersion().(*Backup_ClusterMetadata_AnthosVersion); ok {
610 return x.AnthosVersion
611 }
612 return ""
613 }
614
615 type isBackup_ClusterMetadata_PlatformVersion interface {
616 isBackup_ClusterMetadata_PlatformVersion()
617 }
618
619 type Backup_ClusterMetadata_GkeVersion struct {
620 // Output only. GKE version
621 GkeVersion string `protobuf:"bytes,4,opt,name=gke_version,json=gkeVersion,proto3,oneof"`
622 }
623
624 type Backup_ClusterMetadata_AnthosVersion struct {
625 // Output only. Anthos version
626 AnthosVersion string `protobuf:"bytes,5,opt,name=anthos_version,json=anthosVersion,proto3,oneof"`
627 }
628
629 func (*Backup_ClusterMetadata_GkeVersion) isBackup_ClusterMetadata_PlatformVersion() {}
630
631 func (*Backup_ClusterMetadata_AnthosVersion) isBackup_ClusterMetadata_PlatformVersion() {}
632
633 var File_google_cloud_gkebackup_v1_backup_proto protoreflect.FileDescriptor
634
635 var file_google_cloud_gkebackup_v1_backup_proto_rawDesc = []byte{
636 0x0a, 0x26, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x67,
637 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x61, 0x63, 0x6b,
638 0x75, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
639 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70,
640 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f,
641 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70,
642 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69,
643 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
644 0x26, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x67, 0x6b,
645 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f,
646 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
647 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61,
648 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb7, 0x12, 0x0a, 0x06, 0x42, 0x61, 0x63,
649 0x6b, 0x75, 0x70, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
650 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x15, 0x0a, 0x03,
651 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x03,
652 0x75, 0x69, 0x64, 0x12, 0x40, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69,
653 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
654 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73,
655 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74,
656 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f,
657 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f,
658 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d,
659 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x75, 0x70, 0x64,
660 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x06, 0x6d, 0x61, 0x6e, 0x75, 0x61,
661 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x06, 0x6d, 0x61,
662 0x6e, 0x75, 0x61, 0x6c, 0x12, 0x4a, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x06,
663 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
664 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2e, 0x76, 0x31,
665 0x2e, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e,
666 0x74, 0x72, 0x79, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73,
667 0x12, 0x2d, 0x0a, 0x10, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x5f, 0x6c, 0x6f, 0x63, 0x6b, 0x5f,
668 0x64, 0x61, 0x79, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52,
669 0x0e, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x6b, 0x44, 0x61, 0x79, 0x73, 0x12,
670 0x56, 0x0a, 0x17, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x5f, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x65,
671 0x78, 0x70, 0x69, 0x72, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b,
672 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
673 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41,
674 0x03, 0x52, 0x14, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x6b, 0x45, 0x78, 0x70,
675 0x69, 0x72, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x24, 0x0a, 0x0b, 0x72, 0x65, 0x74, 0x61, 0x69,
676 0x6e, 0x5f, 0x64, 0x61, 0x79, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x42, 0x03, 0xe0, 0x41,
677 0x01, 0x52, 0x0a, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6e, 0x44, 0x61, 0x79, 0x73, 0x12, 0x4d, 0x0a,
678 0x12, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6e, 0x5f, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x5f, 0x74,
679 0x69, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
680 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65,
681 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x10, 0x72, 0x65, 0x74, 0x61,
682 0x69, 0x6e, 0x45, 0x78, 0x70, 0x69, 0x72, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x54, 0x0a, 0x0e,
683 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x0b,
684 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
685 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2e, 0x76, 0x31,
686 0x2e, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x4b, 0x65, 0x79, 0x42, 0x03,
687 0xe0, 0x41, 0x03, 0x52, 0x0d, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x4b,
688 0x65, 0x79, 0x12, 0x2c, 0x0a, 0x0e, 0x61, 0x6c, 0x6c, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70,
689 0x61, 0x63, 0x65, 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x48,
690 0x00, 0x52, 0x0d, 0x61, 0x6c, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73,
691 0x12, 0x5d, 0x0a, 0x13, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x6e, 0x61, 0x6d,
692 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e,
693 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65,
694 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70,
695 0x61, 0x63, 0x65, 0x73, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x48, 0x00, 0x52, 0x12, 0x73, 0x65, 0x6c,
696 0x65, 0x63, 0x74, 0x65, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x12,
697 0x66, 0x0a, 0x15, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x70, 0x70, 0x6c,
698 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a,
699 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b,
700 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x73,
701 0x70, 0x61, 0x63, 0x65, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x48,
702 0x00, 0x52, 0x14, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x65, 0x64, 0x41, 0x70, 0x70, 0x6c, 0x69,
703 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x35, 0x0a, 0x14, 0x63, 0x6f, 0x6e, 0x74, 0x61,
704 0x69, 0x6e, 0x73, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18,
705 0x0f, 0x20, 0x01, 0x28, 0x08, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x12, 0x63, 0x6f, 0x6e, 0x74,
706 0x61, 0x69, 0x6e, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x44, 0x61, 0x74, 0x61, 0x12, 0x2e,
707 0x0a, 0x10, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x73, 0x5f, 0x73, 0x65, 0x63, 0x72, 0x65,
708 0x74, 0x73, 0x18, 0x10, 0x20, 0x01, 0x28, 0x08, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0f, 0x63,
709 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x73, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x12, 0x61,
710 0x0a, 0x10, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61,
711 0x74, 0x61, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
712 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75,
713 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2e, 0x43, 0x6c, 0x75, 0x73,
714 0x74, 0x65, 0x72, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x42, 0x03, 0xe0, 0x41, 0x03,
715 0x52, 0x0f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,
716 0x61, 0x12, 0x42, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x12, 0x20, 0x01, 0x28, 0x0e,
717 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
718 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x63,
719 0x6b, 0x75, 0x70, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x05,
720 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x26, 0x0a, 0x0c, 0x73, 0x74, 0x61, 0x74, 0x65, 0x5f, 0x72,
721 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x13, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03,
722 0x52, 0x0b, 0x73, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x44, 0x0a,
723 0x0d, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x14,
724 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
725 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70,
726 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0c, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x54,
727 0x69, 0x6d, 0x65, 0x12, 0x2a, 0x0a, 0x0e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f,
728 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x15, 0x20, 0x01, 0x28, 0x05, 0x42, 0x03, 0xe0, 0x41, 0x03,
729 0x52, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12,
730 0x26, 0x0a, 0x0c, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18,
731 0x16, 0x20, 0x01, 0x28, 0x05, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0b, 0x76, 0x6f, 0x6c, 0x75,
732 0x6d, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x22, 0x0a, 0x0a, 0x73, 0x69, 0x7a, 0x65, 0x5f,
733 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x17, 0x20, 0x01, 0x28, 0x03, 0x42, 0x03, 0xe0, 0x41, 0x03,
734 0x52, 0x09, 0x73, 0x69, 0x7a, 0x65, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x17, 0x0a, 0x04, 0x65,
735 0x74, 0x61, 0x67, 0x18, 0x18, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x04,
736 0x65, 0x74, 0x61, 0x67, 0x12, 0x25, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74,
737 0x69, 0x6f, 0x6e, 0x18, 0x19, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0b,
738 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x20, 0x0a, 0x09, 0x70,
739 0x6f, 0x64, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x1a, 0x20, 0x01, 0x28, 0x05, 0x42, 0x03,
740 0xe0, 0x41, 0x03, 0x52, 0x08, 0x70, 0x6f, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x3c, 0x0a,
741 0x18, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x5f, 0x73,
742 0x69, 0x7a, 0x65, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x03, 0x42,
743 0x03, 0xe0, 0x41, 0x03, 0x52, 0x15, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x61, 0x63, 0x6b,
744 0x75, 0x70, 0x53, 0x69, 0x7a, 0x65, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x2c, 0x0a, 0x0f, 0x70,
745 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x76, 0x65, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x1c,
746 0x20, 0x01, 0x28, 0x08, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0e, 0x70, 0x65, 0x72, 0x6d, 0x69,
747 0x73, 0x73, 0x69, 0x76, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x28, 0x0a, 0x0d, 0x73, 0x61, 0x74,
748 0x69, 0x73, 0x66, 0x69, 0x65, 0x73, 0x5f, 0x70, 0x7a, 0x73, 0x18, 0x1d, 0x20, 0x01, 0x28, 0x08,
749 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0c, 0x73, 0x61, 0x74, 0x69, 0x73, 0x66, 0x69, 0x65, 0x73,
750 0x50, 0x7a, 0x73, 0x12, 0x28, 0x0a, 0x0d, 0x73, 0x61, 0x74, 0x69, 0x73, 0x66, 0x69, 0x65, 0x73,
751 0x5f, 0x70, 0x7a, 0x69, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x08, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52,
752 0x0c, 0x73, 0x61, 0x74, 0x69, 0x73, 0x66, 0x69, 0x65, 0x73, 0x50, 0x7a, 0x69, 0x1a, 0x85, 0x03,
753 0x0a, 0x0f, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,
754 0x61, 0x12, 0x1d, 0x0a, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01,
755 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72,
756 0x12, 0x24, 0x0a, 0x0b, 0x6b, 0x38, 0x73, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18,
757 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x6b, 0x38, 0x73, 0x56,
758 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x7d, 0x0a, 0x13, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70,
759 0x5f, 0x63, 0x72, 0x64, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20,
760 0x03, 0x28, 0x0b, 0x32, 0x48, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
761 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2e, 0x76, 0x31, 0x2e,
762 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4d, 0x65,
763 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x43, 0x72, 0x64,
764 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x42, 0x03, 0xe0,
765 0x41, 0x03, 0x52, 0x11, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x43, 0x72, 0x64, 0x56, 0x65, 0x72,
766 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x26, 0x0a, 0x0b, 0x67, 0x6b, 0x65, 0x5f, 0x76, 0x65, 0x72,
767 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x48,
768 0x00, 0x52, 0x0a, 0x67, 0x6b, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2c, 0x0a,
769 0x0e, 0x61, 0x6e, 0x74, 0x68, 0x6f, 0x73, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18,
770 0x05, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x48, 0x00, 0x52, 0x0d, 0x61, 0x6e,
771 0x74, 0x68, 0x6f, 0x73, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x1a, 0x44, 0x0a, 0x16, 0x42,
772 0x61, 0x63, 0x6b, 0x75, 0x70, 0x43, 0x72, 0x64, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73,
773 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01,
774 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
775 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38,
776 0x01, 0x42, 0x12, 0x0a, 0x10, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x5f, 0x76, 0x65,
777 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45,
778 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28,
779 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,
780 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01,
781 0x22, 0x66, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41,
782 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00,
783 0x12, 0x0c, 0x0a, 0x08, 0x43, 0x52, 0x45, 0x41, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x0f,
784 0x0a, 0x0b, 0x49, 0x4e, 0x5f, 0x50, 0x52, 0x4f, 0x47, 0x52, 0x45, 0x53, 0x53, 0x10, 0x02, 0x12,
785 0x0d, 0x0a, 0x09, 0x53, 0x55, 0x43, 0x43, 0x45, 0x45, 0x44, 0x45, 0x44, 0x10, 0x03, 0x12, 0x0a,
786 0x0a, 0x06, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x04, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x45,
787 0x4c, 0x45, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x05, 0x3a, 0x78, 0xea, 0x41, 0x75, 0x0a, 0x1f, 0x67,
788 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61,
789 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x12, 0x52,
790 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63,
791 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f,
792 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x50, 0x6c,
793 0x61, 0x6e, 0x73, 0x2f, 0x7b, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x5f, 0x70, 0x6c, 0x61, 0x6e,
794 0x7d, 0x2f, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x2f, 0x7b, 0x62, 0x61, 0x63, 0x6b, 0x75,
795 0x70, 0x7d, 0x42, 0x0e, 0x0a, 0x0c, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x5f, 0x73, 0x63, 0x6f,
796 0x70, 0x65, 0x42, 0xc2, 0x01, 0x0a, 0x1d, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
797 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75,
798 0x70, 0x2e, 0x76, 0x31, 0x42, 0x0b, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x50, 0x72, 0x6f, 0x74,
799 0x6f, 0x50, 0x01, 0x5a, 0x3b, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
800 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b,
801 0x75, 0x70, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b,
802 0x75, 0x70, 0x70, 0x62, 0x3b, 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x70, 0x62,
803 0xaa, 0x02, 0x19, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
804 0x47, 0x6b, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x19, 0x47,
805 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x47, 0x6b, 0x65, 0x42,
806 0x61, 0x63, 0x6b, 0x75, 0x70, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x1c, 0x47, 0x6f, 0x6f, 0x67, 0x6c,
807 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x47, 0x6b, 0x65, 0x42, 0x61, 0x63,
808 0x6b, 0x75, 0x70, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
809 }
810
811 var (
812 file_google_cloud_gkebackup_v1_backup_proto_rawDescOnce sync.Once
813 file_google_cloud_gkebackup_v1_backup_proto_rawDescData = file_google_cloud_gkebackup_v1_backup_proto_rawDesc
814 )
815
816 func file_google_cloud_gkebackup_v1_backup_proto_rawDescGZIP() []byte {
817 file_google_cloud_gkebackup_v1_backup_proto_rawDescOnce.Do(func() {
818 file_google_cloud_gkebackup_v1_backup_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_gkebackup_v1_backup_proto_rawDescData)
819 })
820 return file_google_cloud_gkebackup_v1_backup_proto_rawDescData
821 }
822
823 var file_google_cloud_gkebackup_v1_backup_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
824 var file_google_cloud_gkebackup_v1_backup_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
825 var file_google_cloud_gkebackup_v1_backup_proto_goTypes = []any{
826 (Backup_State)(0), // 0: google.cloud.gkebackup.v1.Backup.State
827 (*Backup)(nil), // 1: google.cloud.gkebackup.v1.Backup
828 (*Backup_ClusterMetadata)(nil), // 2: google.cloud.gkebackup.v1.Backup.ClusterMetadata
829 nil, // 3: google.cloud.gkebackup.v1.Backup.LabelsEntry
830 nil, // 4: google.cloud.gkebackup.v1.Backup.ClusterMetadata.BackupCrdVersionsEntry
831 (*timestamppb.Timestamp)(nil), // 5: google.protobuf.Timestamp
832 (*EncryptionKey)(nil), // 6: google.cloud.gkebackup.v1.EncryptionKey
833 (*Namespaces)(nil), // 7: google.cloud.gkebackup.v1.Namespaces
834 (*NamespacedNames)(nil), // 8: google.cloud.gkebackup.v1.NamespacedNames
835 }
836 var file_google_cloud_gkebackup_v1_backup_proto_depIdxs = []int32{
837 5, // 0: google.cloud.gkebackup.v1.Backup.create_time:type_name -> google.protobuf.Timestamp
838 5, // 1: google.cloud.gkebackup.v1.Backup.update_time:type_name -> google.protobuf.Timestamp
839 3, // 2: google.cloud.gkebackup.v1.Backup.labels:type_name -> google.cloud.gkebackup.v1.Backup.LabelsEntry
840 5, // 3: google.cloud.gkebackup.v1.Backup.delete_lock_expire_time:type_name -> google.protobuf.Timestamp
841 5, // 4: google.cloud.gkebackup.v1.Backup.retain_expire_time:type_name -> google.protobuf.Timestamp
842 6, // 5: google.cloud.gkebackup.v1.Backup.encryption_key:type_name -> google.cloud.gkebackup.v1.EncryptionKey
843 7, // 6: google.cloud.gkebackup.v1.Backup.selected_namespaces:type_name -> google.cloud.gkebackup.v1.Namespaces
844 8, // 7: google.cloud.gkebackup.v1.Backup.selected_applications:type_name -> google.cloud.gkebackup.v1.NamespacedNames
845 2, // 8: google.cloud.gkebackup.v1.Backup.cluster_metadata:type_name -> google.cloud.gkebackup.v1.Backup.ClusterMetadata
846 0, // 9: google.cloud.gkebackup.v1.Backup.state:type_name -> google.cloud.gkebackup.v1.Backup.State
847 5, // 10: google.cloud.gkebackup.v1.Backup.complete_time:type_name -> google.protobuf.Timestamp
848 4, // 11: google.cloud.gkebackup.v1.Backup.ClusterMetadata.backup_crd_versions:type_name -> google.cloud.gkebackup.v1.Backup.ClusterMetadata.BackupCrdVersionsEntry
849 12, // [12:12] is the sub-list for method output_type
850 12, // [12:12] is the sub-list for method input_type
851 12, // [12:12] is the sub-list for extension type_name
852 12, // [12:12] is the sub-list for extension extendee
853 0, // [0:12] is the sub-list for field type_name
854 }
855
856 func init() { file_google_cloud_gkebackup_v1_backup_proto_init() }
857 func file_google_cloud_gkebackup_v1_backup_proto_init() {
858 if File_google_cloud_gkebackup_v1_backup_proto != nil {
859 return
860 }
861 file_google_cloud_gkebackup_v1_common_proto_init()
862 file_google_cloud_gkebackup_v1_backup_proto_msgTypes[0].OneofWrappers = []any{
863 (*Backup_AllNamespaces)(nil),
864 (*Backup_SelectedNamespaces)(nil),
865 (*Backup_SelectedApplications)(nil),
866 }
867 file_google_cloud_gkebackup_v1_backup_proto_msgTypes[1].OneofWrappers = []any{
868 (*Backup_ClusterMetadata_GkeVersion)(nil),
869 (*Backup_ClusterMetadata_AnthosVersion)(nil),
870 }
871 type x struct{}
872 out := protoimpl.TypeBuilder{
873 File: protoimpl.DescBuilder{
874 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
875 RawDescriptor: file_google_cloud_gkebackup_v1_backup_proto_rawDesc,
876 NumEnums: 1,
877 NumMessages: 4,
878 NumExtensions: 0,
879 NumServices: 0,
880 },
881 GoTypes: file_google_cloud_gkebackup_v1_backup_proto_goTypes,
882 DependencyIndexes: file_google_cloud_gkebackup_v1_backup_proto_depIdxs,
883 EnumInfos: file_google_cloud_gkebackup_v1_backup_proto_enumTypes,
884 MessageInfos: file_google_cloud_gkebackup_v1_backup_proto_msgTypes,
885 }.Build()
886 File_google_cloud_gkebackup_v1_backup_proto = out.File
887 file_google_cloud_gkebackup_v1_backup_proto_rawDesc = nil
888 file_google_cloud_gkebackup_v1_backup_proto_goTypes = nil
889 file_google_cloud_gkebackup_v1_backup_proto_depIdxs = nil
890 }