Debian Codegraph @

gkebackup/apiv1/gkebackuppb/backup_plan_binding.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_plan_binding.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 BackupPlanBinding_BackupPlanDetails_State int32
41
42 const (
43 // Default first value for Enums.
44 BackupPlanBinding_BackupPlanDetails_STATE_UNSPECIFIED BackupPlanBinding_BackupPlanDetails_State = 0
45 // Waiting for cluster state to be RUNNING.
46 BackupPlanBinding_BackupPlanDetails_CLUSTER_PENDING BackupPlanBinding_BackupPlanDetails_State = 1
47 // The BackupPlan is in the process of being created.
48 BackupPlanBinding_BackupPlanDetails_PROVISIONING BackupPlanBinding_BackupPlanDetails_State = 2
49 // The BackupPlan has successfully been created and is ready for Backups.
50 BackupPlanBinding_BackupPlanDetails_READY BackupPlanBinding_BackupPlanDetails_State = 3
51 // BackupPlan creation has failed.
52 BackupPlanBinding_BackupPlanDetails_FAILED BackupPlanBinding_BackupPlanDetails_State = 4
53 // The BackupPlan has been deactivated.
54 BackupPlanBinding_BackupPlanDetails_DEACTIVATED BackupPlanBinding_BackupPlanDetails_State = 5
55 // The BackupPlan is in the process of being deleted.
56 BackupPlanBinding_BackupPlanDetails_DELETING BackupPlanBinding_BackupPlanDetails_State = 6
57 )
58
59 // Enum value maps for BackupPlanBinding_BackupPlanDetails_State.
60 var (
61 BackupPlanBinding_BackupPlanDetails_State_name = map[int32]string{
62 0: "STATE_UNSPECIFIED",
63 1: "CLUSTER_PENDING",
64 2: "PROVISIONING",
65 3: "READY",
66 4: "FAILED",
67 5: "DEACTIVATED",
68 6: "DELETING",
69 }
70 BackupPlanBinding_BackupPlanDetails_State_value = map[string]int32{
71 "STATE_UNSPECIFIED": 0,
72 "CLUSTER_PENDING": 1,
73 "PROVISIONING": 2,
74 "READY": 3,
75 "FAILED": 4,
76 "DEACTIVATED": 5,
77 "DELETING": 6,
78 }
79 )
80
81 func (x BackupPlanBinding_BackupPlanDetails_State) Enum() *BackupPlanBinding_BackupPlanDetails_State {
82 p := new(BackupPlanBinding_BackupPlanDetails_State)
83 *p = x
84 return p
85 }
86
87 func (x BackupPlanBinding_BackupPlanDetails_State) String() string {
88 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
89 }
90
91 func (BackupPlanBinding_BackupPlanDetails_State) Descriptor() protoreflect.EnumDescriptor {
92 return file_google_cloud_gkebackup_v1_backup_plan_binding_proto_enumTypes[0].Descriptor()
93 }
94
95 func (BackupPlanBinding_BackupPlanDetails_State) Type() protoreflect.EnumType {
96 return &file_google_cloud_gkebackup_v1_backup_plan_binding_proto_enumTypes[0]
97 }
98
99 func (x BackupPlanBinding_BackupPlanDetails_State) Number() protoreflect.EnumNumber {
100 return protoreflect.EnumNumber(x)
101 }
102
103 // Deprecated: Use BackupPlanBinding_BackupPlanDetails_State.Descriptor instead.
104 func (BackupPlanBinding_BackupPlanDetails_State) EnumDescriptor() ([]byte, []int) {
105 return file_google_cloud_gkebackup_v1_backup_plan_binding_proto_rawDescGZIP(), []int{0, 0, 0}
106 }
107
108 // A BackupPlanBinding binds a BackupPlan with a BackupChannel.
109 // This resource is created automatically when a BackupPlan is created using a
110 // BackupChannel. This also serves as a holder for cross-project fields
111 // that need to be displayed in the current project.
112 type BackupPlanBinding struct {
113 state protoimpl.MessageState
114 sizeCache protoimpl.SizeCache
115 unknownFields protoimpl.UnknownFields
116
117 // Identifier. The fully qualified name of the BackupPlanBinding.
118 // `projects/*/locations/*/backupChannels/*/backupPlanBindings/*`
119 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
120 // Output only. Server generated global unique identifier of
121 // [UUID4](https://en.wikipedia.org/wiki/Universally_unique_identifier)
122 Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"`
123 // Output only. The timestamp when this binding was created.
124 CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
125 // Output only. The timestamp when this binding was created.
126 UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
127 // Output only. Immutable. The fully qualified name of the BackupPlan bound
128 // with the parent BackupChannel.
129 // `projects/*/locations/*/backupPlans/{backup_plan}`
130 BackupPlan string `protobuf:"bytes,5,opt,name=backup_plan,json=backupPlan,proto3" json:"backup_plan,omitempty"`
131 // Output only. Immutable. The fully qualified name of the cluster that is
132 // being backed up Valid formats:
133 //
134 // - `projects/*/locations/*/clusters/*`
135 // - `projects/*/zones/*/clusters/*`
136 Cluster string `protobuf:"bytes,6,opt,name=cluster,proto3" json:"cluster,omitempty"`
137 // Output only. Contains details about the backup plan/backup.
138 BackupPlanDetails *BackupPlanBinding_BackupPlanDetails `protobuf:"bytes,7,opt,name=backup_plan_details,json=backupPlanDetails,proto3" json:"backup_plan_details,omitempty"`
139 // Output only. `etag` is used for optimistic concurrency control as a way to
140 // help prevent simultaneous updates of a BackupPlanBinding from overwriting
141 // each other. It is strongly suggested that systems make use of the 'etag' in
142 // the read-modify-write cycle to perform BackupPlanBinding updates in
143 // order to avoid race conditions: An `etag` is returned in the response to
144 // `GetBackupPlanBinding`, and systems are expected to put that etag in
145 // the request to `UpdateBackupPlanBinding` or
146 // `DeleteBackupPlanBinding` to ensure that their change will be applied
147 // to the same version of the resource.
148 Etag string `protobuf:"bytes,8,opt,name=etag,proto3" json:"etag,omitempty"`
149 }
150
151 func (x *BackupPlanBinding) Reset() {
152 *x = BackupPlanBinding{}
153 mi := &file_google_cloud_gkebackup_v1_backup_plan_binding_proto_msgTypes[0]
154 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
155 ms.StoreMessageInfo(mi)
156 }
157
158 func (x *BackupPlanBinding) String() string {
159 return protoimpl.X.MessageStringOf(x)
160 }
161
162 func (*BackupPlanBinding) ProtoMessage() {}
163
164 func (x *BackupPlanBinding) ProtoReflect() protoreflect.Message {
165 mi := &file_google_cloud_gkebackup_v1_backup_plan_binding_proto_msgTypes[0]
166 if x != nil {
167 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
168 if ms.LoadMessageInfo() == nil {
169 ms.StoreMessageInfo(mi)
170 }
171 return ms
172 }
173 return mi.MessageOf(x)
174 }
175
176 // Deprecated: Use BackupPlanBinding.ProtoReflect.Descriptor instead.
177 func (*BackupPlanBinding) Descriptor() ([]byte, []int) {
178 return file_google_cloud_gkebackup_v1_backup_plan_binding_proto_rawDescGZIP(), []int{0}
179 }
180
181 func (x *BackupPlanBinding) GetName() string {
182 if x != nil {
183 return x.Name
184 }
185 return ""
186 }
187
188 func (x *BackupPlanBinding) GetUid() string {
189 if x != nil {
190 return x.Uid
191 }
192 return ""
193 }
194
195 func (x *BackupPlanBinding) GetCreateTime() *timestamppb.Timestamp {
196 if x != nil {
197 return x.CreateTime
198 }
199 return nil
200 }
201
202 func (x *BackupPlanBinding) GetUpdateTime() *timestamppb.Timestamp {
203 if x != nil {
204 return x.UpdateTime
205 }
206 return nil
207 }
208
209 func (x *BackupPlanBinding) GetBackupPlan() string {
210 if x != nil {
211 return x.BackupPlan
212 }
213 return ""
214 }
215
216 func (x *BackupPlanBinding) GetCluster() string {
217 if x != nil {
218 return x.Cluster
219 }
220 return ""
221 }
222
223 func (x *BackupPlanBinding) GetBackupPlanDetails() *BackupPlanBinding_BackupPlanDetails {
224 if x != nil {
225 return x.BackupPlanDetails
226 }
227 return nil
228 }
229
230 func (x *BackupPlanBinding) GetEtag() string {
231 if x != nil {
232 return x.Etag
233 }
234 return ""
235 }
236
237 // Contains metadata about the backup plan/backup.
238 type BackupPlanBinding_BackupPlanDetails struct {
239 state protoimpl.MessageState
240 sizeCache protoimpl.SizeCache
241 unknownFields protoimpl.UnknownFields
242
243 // Output only. The number of Kubernetes Pods backed up in the
244 // last successful Backup created via this BackupPlan.
245 ProtectedPodCount int32 `protobuf:"varint,1,opt,name=protected_pod_count,json=protectedPodCount,proto3" json:"protected_pod_count,omitempty"`
246 // Output only. State of the BackupPlan.
247 State BackupPlanBinding_BackupPlanDetails_State `protobuf:"varint,2,opt,name=state,proto3,enum=google.cloud.gkebackup.v1.BackupPlanBinding_BackupPlanDetails_State" json:"state,omitempty"`
248 // Output only. Completion time of the last successful Backup. This is
249 // sourced from a successful Backup's complete_time field.
250 LastSuccessfulBackupTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=last_successful_backup_time,json=lastSuccessfulBackupTime,proto3" json:"last_successful_backup_time,omitempty"`
251 // Output only. Start time of next scheduled backup under this BackupPlan by
252 // either cron_schedule or rpo config. This is sourced from BackupPlan.
253 NextScheduledBackupTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=next_scheduled_backup_time,json=nextScheduledBackupTime,proto3" json:"next_scheduled_backup_time,omitempty"`
254 // Output only. A number that represents the current risk level of this
255 // BackupPlan from RPO perspective with 1 being no risk and 5 being highest
256 // risk.
257 RpoRiskLevel int32 `protobuf:"varint,5,opt,name=rpo_risk_level,json=rpoRiskLevel,proto3" json:"rpo_risk_level,omitempty"`
258 // Output only. The fully qualified name of the last successful Backup
259 // created under this BackupPlan.
260 // `projects/*/locations/*/backupPlans/*/backups/*`
261 LastSuccessfulBackup string `protobuf:"bytes,6,opt,name=last_successful_backup,json=lastSuccessfulBackup,proto3" json:"last_successful_backup,omitempty"`
262 // Output only. Contains details about the BackupConfig of Backups created
263 // via this BackupPlan.
264 BackupConfigDetails *BackupPlanBinding_BackupPlanDetails_BackupConfigDetails `protobuf:"bytes,7,opt,name=backup_config_details,json=backupConfigDetails,proto3" json:"backup_config_details,omitempty"`
265 // Output only. Contains details about the RetentionPolicy of Backups
266 // created via this BackupPlan.
267 RetentionPolicyDetails *BackupPlanBinding_BackupPlanDetails_RetentionPolicyDetails `protobuf:"bytes,8,opt,name=retention_policy_details,json=retentionPolicyDetails,proto3" json:"retention_policy_details,omitempty"`
268 }
269
270 func (x *BackupPlanBinding_BackupPlanDetails) Reset() {
271 *x = BackupPlanBinding_BackupPlanDetails{}
272 mi := &file_google_cloud_gkebackup_v1_backup_plan_binding_proto_msgTypes[1]
273 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
274 ms.StoreMessageInfo(mi)
275 }
276
277 func (x *BackupPlanBinding_BackupPlanDetails) String() string {
278 return protoimpl.X.MessageStringOf(x)
279 }
280
281 func (*BackupPlanBinding_BackupPlanDetails) ProtoMessage() {}
282
283 func (x *BackupPlanBinding_BackupPlanDetails) ProtoReflect() protoreflect.Message {
284 mi := &file_google_cloud_gkebackup_v1_backup_plan_binding_proto_msgTypes[1]
285 if x != nil {
286 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
287 if ms.LoadMessageInfo() == nil {
288 ms.StoreMessageInfo(mi)
289 }
290 return ms
291 }
292 return mi.MessageOf(x)
293 }
294
295 // Deprecated: Use BackupPlanBinding_BackupPlanDetails.ProtoReflect.Descriptor instead.
296 func (*BackupPlanBinding_BackupPlanDetails) Descriptor() ([]byte, []int) {
297 return file_google_cloud_gkebackup_v1_backup_plan_binding_proto_rawDescGZIP(), []int{0, 0}
298 }
299
300 func (x *BackupPlanBinding_BackupPlanDetails) GetProtectedPodCount() int32 {
301 if x != nil {
302 return x.ProtectedPodCount
303 }
304 return 0
305 }
306
307 func (x *BackupPlanBinding_BackupPlanDetails) GetState() BackupPlanBinding_BackupPlanDetails_State {
308 if x != nil {
309 return x.State
310 }
311 return BackupPlanBinding_BackupPlanDetails_STATE_UNSPECIFIED
312 }
313
314 func (x *BackupPlanBinding_BackupPlanDetails) GetLastSuccessfulBackupTime() *timestamppb.Timestamp {
315 if x != nil {
316 return x.LastSuccessfulBackupTime
317 }
318 return nil
319 }
320
321 func (x *BackupPlanBinding_BackupPlanDetails) GetNextScheduledBackupTime() *timestamppb.Timestamp {
322 if x != nil {
323 return x.NextScheduledBackupTime
324 }
325 return nil
326 }
327
328 func (x *BackupPlanBinding_BackupPlanDetails) GetRpoRiskLevel() int32 {
329 if x != nil {
330 return x.RpoRiskLevel
331 }
332 return 0
333 }
334
335 func (x *BackupPlanBinding_BackupPlanDetails) GetLastSuccessfulBackup() string {
336 if x != nil {
337 return x.LastSuccessfulBackup
338 }
339 return ""
340 }
341
342 func (x *BackupPlanBinding_BackupPlanDetails) GetBackupConfigDetails() *BackupPlanBinding_BackupPlanDetails_BackupConfigDetails {
343 if x != nil {
344 return x.BackupConfigDetails
345 }
346 return nil
347 }
348
349 func (x *BackupPlanBinding_BackupPlanDetails) GetRetentionPolicyDetails() *BackupPlanBinding_BackupPlanDetails_RetentionPolicyDetails {
350 if x != nil {
351 return x.RetentionPolicyDetails
352 }
353 return nil
354 }
355
356 // BackupConfigDetails defines the configuration of Backups created via this
357 // BackupPlan.
358 type BackupPlanBinding_BackupPlanDetails_BackupConfigDetails struct {
359 state protoimpl.MessageState
360 sizeCache protoimpl.SizeCache
361 unknownFields protoimpl.UnknownFields
362
363 // This defines the "scope" of the Backup - which namespaced
364 // resources in the cluster will be included in a Backup.
365 // Exactly one of the fields of backup_scope MUST be specified.
366 //
367 // Types that are assignable to BackupScope:
368 //
369 // *BackupPlanBinding_BackupPlanDetails_BackupConfigDetails_AllNamespaces
370 // *BackupPlanBinding_BackupPlanDetails_BackupConfigDetails_SelectedNamespaces
371 // *BackupPlanBinding_BackupPlanDetails_BackupConfigDetails_SelectedApplications
372 BackupScope isBackupPlanBinding_BackupPlanDetails_BackupConfigDetails_BackupScope `protobuf_oneof:"backup_scope"`
373 // Output only. This flag specifies whether volume data should be backed
374 // up when PVCs are included in the scope of a Backup.
375 //
376 // Default: False
377 IncludeVolumeData bool `protobuf:"varint,5,opt,name=include_volume_data,json=includeVolumeData,proto3" json:"include_volume_data,omitempty"`
378 // Output only. This flag specifies whether Kubernetes Secret resources
379 // should be included when they fall into the scope of Backups.
380 //
381 // Default: False
382 IncludeSecrets bool `protobuf:"varint,6,opt,name=include_secrets,json=includeSecrets,proto3" json:"include_secrets,omitempty"`
383 // Output only. This defines a customer managed encryption key that will
384 // be used to encrypt the "config" portion (the Kubernetes resources) of
385 // Backups created via this plan.
386 //
387 // Default (empty): Config backup artifacts will not be encrypted.
388 EncryptionKey *EncryptionKey `protobuf:"bytes,7,opt,name=encryption_key,json=encryptionKey,proto3" json:"encryption_key,omitempty"`
389 }
390
391 func (x *BackupPlanBinding_BackupPlanDetails_BackupConfigDetails) Reset() {
392 *x = BackupPlanBinding_BackupPlanDetails_BackupConfigDetails{}
393 mi := &file_google_cloud_gkebackup_v1_backup_plan_binding_proto_msgTypes[2]
394 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
395 ms.StoreMessageInfo(mi)
396 }
397
398 func (x *BackupPlanBinding_BackupPlanDetails_BackupConfigDetails) String() string {
399 return protoimpl.X.MessageStringOf(x)
400 }
401
402 func (*BackupPlanBinding_BackupPlanDetails_BackupConfigDetails) ProtoMessage() {}
403
404 func (x *BackupPlanBinding_BackupPlanDetails_BackupConfigDetails) ProtoReflect() protoreflect.Message {
405 mi := &file_google_cloud_gkebackup_v1_backup_plan_binding_proto_msgTypes[2]
406 if x != nil {
407 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
408 if ms.LoadMessageInfo() == nil {
409 ms.StoreMessageInfo(mi)
410 }
411 return ms
412 }
413 return mi.MessageOf(x)
414 }
415
416 // Deprecated: Use BackupPlanBinding_BackupPlanDetails_BackupConfigDetails.ProtoReflect.Descriptor instead.
417 func (*BackupPlanBinding_BackupPlanDetails_BackupConfigDetails) Descriptor() ([]byte, []int) {
418 return file_google_cloud_gkebackup_v1_backup_plan_binding_proto_rawDescGZIP(), []int{0, 0, 0}
419 }
420
421 func (m *BackupPlanBinding_BackupPlanDetails_BackupConfigDetails) GetBackupScope() isBackupPlanBinding_BackupPlanDetails_BackupConfigDetails_BackupScope {
422 if m != nil {
423 return m.BackupScope
424 }
425 return nil
426 }
427
428 func (x *BackupPlanBinding_BackupPlanDetails_BackupConfigDetails) GetAllNamespaces() bool {
429 if x, ok := x.GetBackupScope().(*BackupPlanBinding_BackupPlanDetails_BackupConfigDetails_AllNamespaces); ok {
430 return x.AllNamespaces
431 }
432 return false
433 }
434
435 func (x *BackupPlanBinding_BackupPlanDetails_BackupConfigDetails) GetSelectedNamespaces() *Namespaces {
436 if x, ok := x.GetBackupScope().(*BackupPlanBinding_BackupPlanDetails_BackupConfigDetails_SelectedNamespaces); ok {
437 return x.SelectedNamespaces
438 }
439 return nil
440 }
441
442 func (x *BackupPlanBinding_BackupPlanDetails_BackupConfigDetails) GetSelectedApplications() *NamespacedNames {
443 if x, ok := x.GetBackupScope().(*BackupPlanBinding_BackupPlanDetails_BackupConfigDetails_SelectedApplications); ok {
444 return x.SelectedApplications
445 }
446 return nil
447 }
448
449 func (x *BackupPlanBinding_BackupPlanDetails_BackupConfigDetails) GetIncludeVolumeData() bool {
450 if x != nil {
451 return x.IncludeVolumeData
452 }
453 return false
454 }
455
456 func (x *BackupPlanBinding_BackupPlanDetails_BackupConfigDetails) GetIncludeSecrets() bool {
457 if x != nil {
458 return x.IncludeSecrets
459 }
460 return false
461 }
462
463 func (x *BackupPlanBinding_BackupPlanDetails_BackupConfigDetails) GetEncryptionKey() *EncryptionKey {
464 if x != nil {
465 return x.EncryptionKey
466 }
467 return nil
468 }
469
470 type isBackupPlanBinding_BackupPlanDetails_BackupConfigDetails_BackupScope interface {
471 isBackupPlanBinding_BackupPlanDetails_BackupConfigDetails_BackupScope()
472 }
473
474 type BackupPlanBinding_BackupPlanDetails_BackupConfigDetails_AllNamespaces struct {
475 // Output only. If True, include all namespaced resources
476 AllNamespaces bool `protobuf:"varint,1,opt,name=all_namespaces,json=allNamespaces,proto3,oneof"`
477 }
478
479 type BackupPlanBinding_BackupPlanDetails_BackupConfigDetails_SelectedNamespaces struct {
480 // Output only. If set, include just the resources in the listed
481 // namespaces.
482 SelectedNamespaces *Namespaces `protobuf:"bytes,2,opt,name=selected_namespaces,json=selectedNamespaces,proto3,oneof"`
483 }
484
485 type BackupPlanBinding_BackupPlanDetails_BackupConfigDetails_SelectedApplications struct {
486 // Output only. If set, include just the resources referenced by the
487 // listed ProtectedApplications.
488 SelectedApplications *NamespacedNames `protobuf:"bytes,3,opt,name=selected_applications,json=selectedApplications,proto3,oneof"`
489 }
490
491 func (*BackupPlanBinding_BackupPlanDetails_BackupConfigDetails_AllNamespaces) isBackupPlanBinding_BackupPlanDetails_BackupConfigDetails_BackupScope() {
492 }
493
494 func (*BackupPlanBinding_BackupPlanDetails_BackupConfigDetails_SelectedNamespaces) isBackupPlanBinding_BackupPlanDetails_BackupConfigDetails_BackupScope() {
495 }
496
497 func (*BackupPlanBinding_BackupPlanDetails_BackupConfigDetails_SelectedApplications) isBackupPlanBinding_BackupPlanDetails_BackupConfigDetails_BackupScope() {
498 }
499
500 // RetentionPolicyDetails defines a Backup retention policy for a
501 // BackupPlan.
502 type BackupPlanBinding_BackupPlanDetails_RetentionPolicyDetails struct {
503 state protoimpl.MessageState
504 sizeCache protoimpl.SizeCache
505 unknownFields protoimpl.UnknownFields
506
507 // Optional. Minimum age for Backups created via this BackupPlan (in
508 // days). This field MUST be an integer value between 0-90 (inclusive). A
509 // Backup created under this BackupPlan will NOT be deletable until it
510 // reaches Backup's (create_time + backup_delete_lock_days).
511 // Updating this field of a BackupPlan does NOT affect existing Backups
512 // under it. Backups created AFTER a successful update will inherit
513 // the new value.
514 //
515 // Default: 0 (no delete blocking)
516 BackupDeleteLockDays int32 `protobuf:"varint,1,opt,name=backup_delete_lock_days,json=backupDeleteLockDays,proto3" json:"backup_delete_lock_days,omitempty"`
517 // Optional. The default maximum age of a Backup created via this
518 // BackupPlan. This field MUST be an integer value >= 0 and <= 365. If
519 // specified, a Backup created under this BackupPlan will be automatically
520 // deleted after its age reaches (create_time + backup_retain_days). If
521 // not specified, Backups created under this BackupPlan will NOT be
522 // subject to automatic deletion.
523 // Default: 0 (no automatic deletion)
524 BackupRetainDays int32 `protobuf:"varint,2,opt,name=backup_retain_days,json=backupRetainDays,proto3" json:"backup_retain_days,omitempty"`
525 }
526
527 func (x *BackupPlanBinding_BackupPlanDetails_RetentionPolicyDetails) Reset() {
528 *x = BackupPlanBinding_BackupPlanDetails_RetentionPolicyDetails{}
529 mi := &file_google_cloud_gkebackup_v1_backup_plan_binding_proto_msgTypes[3]
530 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
531 ms.StoreMessageInfo(mi)
532 }
533
534 func (x *BackupPlanBinding_BackupPlanDetails_RetentionPolicyDetails) String() string {
535 return protoimpl.X.MessageStringOf(x)
536 }
537
538 func (*BackupPlanBinding_BackupPlanDetails_RetentionPolicyDetails) ProtoMessage() {}
539
540 func (x *BackupPlanBinding_BackupPlanDetails_RetentionPolicyDetails) ProtoReflect() protoreflect.Message {
541 mi := &file_google_cloud_gkebackup_v1_backup_plan_binding_proto_msgTypes[3]
542 if x != nil {
543 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
544 if ms.LoadMessageInfo() == nil {
545 ms.StoreMessageInfo(mi)
546 }
547 return ms
548 }
549 return mi.MessageOf(x)
550 }
551
552 // Deprecated: Use BackupPlanBinding_BackupPlanDetails_RetentionPolicyDetails.ProtoReflect.Descriptor instead.
553 func (*BackupPlanBinding_BackupPlanDetails_RetentionPolicyDetails) Descriptor() ([]byte, []int) {
554 return file_google_cloud_gkebackup_v1_backup_plan_binding_proto_rawDescGZIP(), []int{0, 0, 1}
555 }
556
557 func (x *BackupPlanBinding_BackupPlanDetails_RetentionPolicyDetails) GetBackupDeleteLockDays() int32 {
558 if x != nil {
559 return x.BackupDeleteLockDays
560 }
561 return 0
562 }
563
564 func (x *BackupPlanBinding_BackupPlanDetails_RetentionPolicyDetails) GetBackupRetainDays() int32 {
565 if x != nil {
566 return x.BackupRetainDays
567 }
568 return 0
569 }
570
571 var File_google_cloud_gkebackup_v1_backup_plan_binding_proto protoreflect.FileDescriptor
572
573 var file_google_cloud_gkebackup_v1_backup_plan_binding_proto_rawDesc = []byte{
574 0x0a, 0x33, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x67,
575 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x61, 0x63, 0x6b,
576 0x75, 0x70, 0x5f, 0x70, 0x6c, 0x61, 0x6e, 0x5f, 0x62, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x2e,
577 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
578 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2e, 0x76, 0x31,
579 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65,
580 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74,
581 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69,
582 0x65, 0x6c, 0x64, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19,
583 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75,
584 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x26, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
585 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75,
586 0x70, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74,
587 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
588 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f,
589 0x74, 0x6f, 0x22, 0x93, 0x11, 0x0a, 0x11, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x50, 0x6c, 0x61,
590 0x6e, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
591 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x08, 0x52, 0x04, 0x6e, 0x61, 0x6d,
592 0x65, 0x12, 0x1d, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0b,
593 0xe0, 0x41, 0x03, 0xe2, 0x8c, 0xcf, 0xd7, 0x08, 0x02, 0x08, 0x01, 0x52, 0x03, 0x75, 0x69, 0x64,
594 0x12, 0x40, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18,
595 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
596 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
597 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69,
598 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d,
599 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
600 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74,
601 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65,
602 0x54, 0x69, 0x6d, 0x65, 0x12, 0x4f, 0x0a, 0x0b, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x5f, 0x70,
603 0x6c, 0x61, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2e, 0xe0, 0x41, 0x05, 0xe0, 0x41,
604 0x03, 0xfa, 0x41, 0x25, 0x0a, 0x23, 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2e,
605 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x42,
606 0x61, 0x63, 0x6b, 0x75, 0x70, 0x50, 0x6c, 0x61, 0x6e, 0x52, 0x0a, 0x62, 0x61, 0x63, 0x6b, 0x75,
607 0x70, 0x50, 0x6c, 0x61, 0x6e, 0x12, 0x45, 0x0a, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72,
608 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2b, 0xe0, 0x41, 0x05, 0xe0, 0x41, 0x03, 0xfa, 0x41,
609 0x22, 0x0a, 0x20, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x2e, 0x67, 0x6f, 0x6f,
610 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x6c, 0x75, 0x73,
611 0x74, 0x65, 0x72, 0x52, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x73, 0x0a, 0x13,
612 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x5f, 0x70, 0x6c, 0x61, 0x6e, 0x5f, 0x64, 0x65, 0x74, 0x61,
613 0x69, 0x6c, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3e, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
614 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b,
615 0x75, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x50, 0x6c, 0x61, 0x6e,
616 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x2e, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x50, 0x6c,
617 0x61, 0x6e, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x11,
618 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x50, 0x6c, 0x61, 0x6e, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c,
619 0x73, 0x12, 0x17, 0x0a, 0x04, 0x65, 0x74, 0x61, 0x67, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x42,
620 0x03, 0xe0, 0x41, 0x03, 0x52, 0x04, 0x65, 0x74, 0x61, 0x67, 0x1a, 0xcf, 0x0b, 0x0a, 0x11, 0x42,
621 0x61, 0x63, 0x6b, 0x75, 0x70, 0x50, 0x6c, 0x61, 0x6e, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73,
622 0x12, 0x33, 0x0a, 0x13, 0x70, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x70, 0x6f,
623 0x64, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x42, 0x03, 0xe0,
624 0x41, 0x03, 0x52, 0x11, 0x70, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 0x50, 0x6f, 0x64,
625 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x5f, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02,
626 0x20, 0x01, 0x28, 0x0e, 0x32, 0x44, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
627 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2e, 0x76, 0x31,
628 0x2e, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x50, 0x6c, 0x61, 0x6e, 0x42, 0x69, 0x6e, 0x64, 0x69,
629 0x6e, 0x67, 0x2e, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x50, 0x6c, 0x61, 0x6e, 0x44, 0x65, 0x74,
630 0x61, 0x69, 0x6c, 0x73, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52,
631 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x5e, 0x0a, 0x1b, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x73,
632 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x66, 0x75, 0x6c, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70,
633 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f,
634 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69,
635 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x18, 0x6c, 0x61,
636 0x73, 0x74, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x66, 0x75, 0x6c, 0x42, 0x61, 0x63, 0x6b,
637 0x75, 0x70, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x5c, 0x0a, 0x1a, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x73,
638 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x64, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x5f,
639 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f,
640 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d,
641 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x17, 0x6e, 0x65, 0x78,
642 0x74, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x64, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70,
643 0x54, 0x69, 0x6d, 0x65, 0x12, 0x29, 0x0a, 0x0e, 0x72, 0x70, 0x6f, 0x5f, 0x72, 0x69, 0x73, 0x6b,
644 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x42, 0x03, 0xe0, 0x41,
645 0x03, 0x52, 0x0c, 0x72, 0x70, 0x6f, 0x52, 0x69, 0x73, 0x6b, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12,
646 0x39, 0x0a, 0x16, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x66,
647 0x75, 0x6c, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x42,
648 0x03, 0xe0, 0x41, 0x03, 0x52, 0x14, 0x6c, 0x61, 0x73, 0x74, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73,
649 0x73, 0x66, 0x75, 0x6c, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x12, 0x8b, 0x01, 0x0a, 0x15, 0x62,
650 0x61, 0x63, 0x6b, 0x75, 0x70, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x64, 0x65, 0x74,
651 0x61, 0x69, 0x6c, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x52, 0x2e, 0x67, 0x6f, 0x6f,
652 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63,
653 0x6b, 0x75, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x50, 0x6c, 0x61,
654 0x6e, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x2e, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x50,
655 0x6c, 0x61, 0x6e, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x2e, 0x42, 0x61, 0x63, 0x6b, 0x75,
656 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x42, 0x03,
657 0xe0, 0x41, 0x03, 0x52, 0x13, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69,
658 0x67, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x94, 0x01, 0x0a, 0x18, 0x72, 0x65, 0x74,
659 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x64, 0x65,
660 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x55, 0x2e, 0x67, 0x6f,
661 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x62, 0x61,
662 0x63, 0x6b, 0x75, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x50, 0x6c,
663 0x61, 0x6e, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x2e, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70,
664 0x50, 0x6c, 0x61, 0x6e, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x2e, 0x52, 0x65, 0x74, 0x65,
665 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69,
666 0x6c, 0x73, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x16, 0x72, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69,
667 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x1a,
668 0xd3, 0x03, 0x0a, 0x13, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
669 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x2c, 0x0a, 0x0e, 0x61, 0x6c, 0x6c, 0x5f, 0x6e,
670 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x42,
671 0x03, 0xe0, 0x41, 0x03, 0x48, 0x00, 0x52, 0x0d, 0x61, 0x6c, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x73,
672 0x70, 0x61, 0x63, 0x65, 0x73, 0x12, 0x5d, 0x0a, 0x13, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x65,
673 0x64, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01,
674 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
675 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4e,
676 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x48, 0x00,
677 0x52, 0x12, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x65, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70,
678 0x61, 0x63, 0x65, 0x73, 0x12, 0x66, 0x0a, 0x15, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x65, 0x64,
679 0x5f, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20,
680 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
681 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2e, 0x76, 0x31, 0x2e,
682 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x42,
683 0x03, 0xe0, 0x41, 0x03, 0x48, 0x00, 0x52, 0x14, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x65, 0x64,
684 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x33, 0x0a, 0x13,
685 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x64,
686 0x61, 0x74, 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x11,
687 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x44, 0x61, 0x74,
688 0x61, 0x12, 0x2c, 0x0a, 0x0f, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x73, 0x65, 0x63,
689 0x72, 0x65, 0x74, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52,
690 0x0e, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x12,
691 0x54, 0x0a, 0x0e, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6b, 0x65,
692 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
693 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70,
694 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x4b, 0x65,
695 0x79, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0d, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69,
696 0x6f, 0x6e, 0x4b, 0x65, 0x79, 0x42, 0x0e, 0x0a, 0x0c, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x5f,
697 0x73, 0x63, 0x6f, 0x70, 0x65, 0x1a, 0x87, 0x01, 0x0a, 0x16, 0x52, 0x65, 0x74, 0x65, 0x6e, 0x74,
698 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73,
699 0x12, 0x3a, 0x0a, 0x17, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x5f, 0x64, 0x65, 0x6c, 0x65, 0x74,
700 0x65, 0x5f, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x64, 0x61, 0x79, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28,
701 0x05, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x14, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x44, 0x65,
702 0x6c, 0x65, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x6b, 0x44, 0x61, 0x79, 0x73, 0x12, 0x31, 0x0a, 0x12,
703 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x5f, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6e, 0x5f, 0x64, 0x61,
704 0x79, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x10, 0x62,
705 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x65, 0x74, 0x61, 0x69, 0x6e, 0x44, 0x61, 0x79, 0x73, 0x22,
706 0x7b, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54,
707 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12,
708 0x13, 0x0a, 0x0f, 0x43, 0x4c, 0x55, 0x53, 0x54, 0x45, 0x52, 0x5f, 0x50, 0x45, 0x4e, 0x44, 0x49,
709 0x4e, 0x47, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x50, 0x52, 0x4f, 0x56, 0x49, 0x53, 0x49, 0x4f,
710 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10,
711 0x03, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x04, 0x12, 0x0f, 0x0a,
712 0x0b, 0x44, 0x45, 0x41, 0x43, 0x54, 0x49, 0x56, 0x41, 0x54, 0x45, 0x44, 0x10, 0x05, 0x12, 0x0c,
713 0x0a, 0x08, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x06, 0x3a, 0xc9, 0x01, 0xea,
714 0x41, 0xc5, 0x01, 0x0a, 0x2a, 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2e, 0x67,
715 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x42, 0x61,
716 0x63, 0x6b, 0x75, 0x70, 0x50, 0x6c, 0x61, 0x6e, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x12,
717 0x70, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65,
718 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c,
719 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x43,
720 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x2f, 0x7b, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x5f,
721 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x7d, 0x2f, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x50,
722 0x6c, 0x61, 0x6e, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x7b, 0x62, 0x61, 0x63,
723 0x6b, 0x75, 0x70, 0x5f, 0x70, 0x6c, 0x61, 0x6e, 0x5f, 0x62, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67,
724 0x7d, 0x2a, 0x12, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x50, 0x6c, 0x61, 0x6e, 0x42, 0x69, 0x6e,
725 0x64, 0x69, 0x6e, 0x67, 0x73, 0x32, 0x11, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x50, 0x6c, 0x61,
726 0x6e, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x42, 0xcd, 0x01, 0x0a, 0x1d, 0x63, 0x6f, 0x6d,
727 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b,
728 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2e, 0x76, 0x31, 0x42, 0x16, 0x42, 0x61, 0x63, 0x6b,
729 0x75, 0x70, 0x50, 0x6c, 0x61, 0x6e, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x72, 0x6f,
730 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3b, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
731 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63,
732 0x6b, 0x75, 0x70, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63,
733 0x6b, 0x75, 0x70, 0x70, 0x62, 0x3b, 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x70,
734 0x62, 0xaa, 0x02, 0x19, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64,
735 0x2e, 0x47, 0x6b, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x19,
736 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x47, 0x6b, 0x65,
737 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x1c, 0x47, 0x6f, 0x6f, 0x67,
738 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x47, 0x6b, 0x65, 0x42, 0x61,
739 0x63, 0x6b, 0x75, 0x70, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
740 }
741
742 var (
743 file_google_cloud_gkebackup_v1_backup_plan_binding_proto_rawDescOnce sync.Once
744 file_google_cloud_gkebackup_v1_backup_plan_binding_proto_rawDescData = file_google_cloud_gkebackup_v1_backup_plan_binding_proto_rawDesc
745 )
746
747 func file_google_cloud_gkebackup_v1_backup_plan_binding_proto_rawDescGZIP() []byte {
748 file_google_cloud_gkebackup_v1_backup_plan_binding_proto_rawDescOnce.Do(func() {
749 file_google_cloud_gkebackup_v1_backup_plan_binding_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_gkebackup_v1_backup_plan_binding_proto_rawDescData)
750 })
751 return file_google_cloud_gkebackup_v1_backup_plan_binding_proto_rawDescData
752 }
753
754 var file_google_cloud_gkebackup_v1_backup_plan_binding_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
755 var file_google_cloud_gkebackup_v1_backup_plan_binding_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
756 var file_google_cloud_gkebackup_v1_backup_plan_binding_proto_goTypes = []any{
757 (BackupPlanBinding_BackupPlanDetails_State)(0), // 0: google.cloud.gkebackup.v1.BackupPlanBinding.BackupPlanDetails.State
758 (*BackupPlanBinding)(nil), // 1: google.cloud.gkebackup.v1.BackupPlanBinding
759 (*BackupPlanBinding_BackupPlanDetails)(nil), // 2: google.cloud.gkebackup.v1.BackupPlanBinding.BackupPlanDetails
760 (*BackupPlanBinding_BackupPlanDetails_BackupConfigDetails)(nil), // 3: google.cloud.gkebackup.v1.BackupPlanBinding.BackupPlanDetails.BackupConfigDetails
761 (*BackupPlanBinding_BackupPlanDetails_RetentionPolicyDetails)(nil), // 4: google.cloud.gkebackup.v1.BackupPlanBinding.BackupPlanDetails.RetentionPolicyDetails
762 (*timestamppb.Timestamp)(nil), // 5: google.protobuf.Timestamp
763 (*Namespaces)(nil), // 6: google.cloud.gkebackup.v1.Namespaces
764 (*NamespacedNames)(nil), // 7: google.cloud.gkebackup.v1.NamespacedNames
765 (*EncryptionKey)(nil), // 8: google.cloud.gkebackup.v1.EncryptionKey
766 }
767 var file_google_cloud_gkebackup_v1_backup_plan_binding_proto_depIdxs = []int32{
768 5, // 0: google.cloud.gkebackup.v1.BackupPlanBinding.create_time:type_name -> google.protobuf.Timestamp
769 5, // 1: google.cloud.gkebackup.v1.BackupPlanBinding.update_time:type_name -> google.protobuf.Timestamp
770 2, // 2: google.cloud.gkebackup.v1.BackupPlanBinding.backup_plan_details:type_name -> google.cloud.gkebackup.v1.BackupPlanBinding.BackupPlanDetails
771 0, // 3: google.cloud.gkebackup.v1.BackupPlanBinding.BackupPlanDetails.state:type_name -> google.cloud.gkebackup.v1.BackupPlanBinding.BackupPlanDetails.State
772 5, // 4: google.cloud.gkebackup.v1.BackupPlanBinding.BackupPlanDetails.last_successful_backup_time:type_name -> google.protobuf.Timestamp
773 5, // 5: google.cloud.gkebackup.v1.BackupPlanBinding.BackupPlanDetails.next_scheduled_backup_time:type_name -> google.protobuf.Timestamp
774 3, // 6: google.cloud.gkebackup.v1.BackupPlanBinding.BackupPlanDetails.backup_config_details:type_name -> google.cloud.gkebackup.v1.BackupPlanBinding.BackupPlanDetails.BackupConfigDetails
775 4, // 7: google.cloud.gkebackup.v1.BackupPlanBinding.BackupPlanDetails.retention_policy_details:type_name -> google.cloud.gkebackup.v1.BackupPlanBinding.BackupPlanDetails.RetentionPolicyDetails
776 6, // 8: google.cloud.gkebackup.v1.BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.selected_namespaces:type_name -> google.cloud.gkebackup.v1.Namespaces
777 7, // 9: google.cloud.gkebackup.v1.BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.selected_applications:type_name -> google.cloud.gkebackup.v1.NamespacedNames
778 8, // 10: google.cloud.gkebackup.v1.BackupPlanBinding.BackupPlanDetails.BackupConfigDetails.encryption_key:type_name -> google.cloud.gkebackup.v1.EncryptionKey
779 11, // [11:11] is the sub-list for method output_type
780 11, // [11:11] is the sub-list for method input_type
781 11, // [11:11] is the sub-list for extension type_name
782 11, // [11:11] is the sub-list for extension extendee
783 0, // [0:11] is the sub-list for field type_name
784 }
785
786 func init() { file_google_cloud_gkebackup_v1_backup_plan_binding_proto_init() }
787 func file_google_cloud_gkebackup_v1_backup_plan_binding_proto_init() {
788 if File_google_cloud_gkebackup_v1_backup_plan_binding_proto != nil {
789 return
790 }
791 file_google_cloud_gkebackup_v1_common_proto_init()
792 file_google_cloud_gkebackup_v1_backup_plan_binding_proto_msgTypes[2].OneofWrappers = []any{
793 (*BackupPlanBinding_BackupPlanDetails_BackupConfigDetails_AllNamespaces)(nil),
794 (*BackupPlanBinding_BackupPlanDetails_BackupConfigDetails_SelectedNamespaces)(nil),
795 (*BackupPlanBinding_BackupPlanDetails_BackupConfigDetails_SelectedApplications)(nil),
796 }
797 type x struct{}
798 out := protoimpl.TypeBuilder{
799 File: protoimpl.DescBuilder{
800 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
801 RawDescriptor: file_google_cloud_gkebackup_v1_backup_plan_binding_proto_rawDesc,
802 NumEnums: 1,
803 NumMessages: 4,
804 NumExtensions: 0,
805 NumServices: 0,
806 },
807 GoTypes: file_google_cloud_gkebackup_v1_backup_plan_binding_proto_goTypes,
808 DependencyIndexes: file_google_cloud_gkebackup_v1_backup_plan_binding_proto_depIdxs,
809 EnumInfos: file_google_cloud_gkebackup_v1_backup_plan_binding_proto_enumTypes,
810 MessageInfos: file_google_cloud_gkebackup_v1_backup_plan_binding_proto_msgTypes,
811 }.Build()
812 File_google_cloud_gkebackup_v1_backup_plan_binding_proto = out.File
813 file_google_cloud_gkebackup_v1_backup_plan_binding_proto_rawDesc = nil
814 file_google_cloud_gkebackup_v1_backup_plan_binding_proto_goTypes = nil
815 file_google_cloud_gkebackup_v1_backup_plan_binding_proto_depIdxs = nil
816 }