Debian Codegraph @

gkebackup/apiv1/gkebackuppb/restore.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/restore.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 // Possible values for state of the Restore.
40 type Restore_State int32
41
42 const (
43 // The Restore resource is in the process of being created.
44 Restore_STATE_UNSPECIFIED Restore_State = 0
45 // The Restore resource has been created and the associated RestoreJob
46 // Kubernetes resource has been injected into target cluster.
47 Restore_CREATING Restore_State = 1
48 // The gkebackup agent in the cluster has begun executing the restore
49 // operation.
50 Restore_IN_PROGRESS Restore_State = 2
51 // The restore operation has completed successfully. Restored workloads may
52 // not yet be operational.
53 Restore_SUCCEEDED Restore_State = 3
54 // The restore operation has failed.
55 Restore_FAILED Restore_State = 4
56 // This Restore resource is in the process of being deleted.
57 Restore_DELETING Restore_State = 5
58 // The Kubernetes resources created by this Restore are being
59 // validated.
60 Restore_VALIDATING Restore_State = 6
61 )
62
63 // Enum value maps for Restore_State.
64 var (
65 Restore_State_name = map[int32]string{
66 0: "STATE_UNSPECIFIED",
67 1: "CREATING",
68 2: "IN_PROGRESS",
69 3: "SUCCEEDED",
70 4: "FAILED",
71 5: "DELETING",
72 6: "VALIDATING",
73 }
74 Restore_State_value = map[string]int32{
75 "STATE_UNSPECIFIED": 0,
76 "CREATING": 1,
77 "IN_PROGRESS": 2,
78 "SUCCEEDED": 3,
79 "FAILED": 4,
80 "DELETING": 5,
81 "VALIDATING": 6,
82 }
83 )
84
85 func (x Restore_State) Enum() *Restore_State {
86 p := new(Restore_State)
87 *p = x
88 return p
89 }
90
91 func (x Restore_State) String() string {
92 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
93 }
94
95 func (Restore_State) Descriptor() protoreflect.EnumDescriptor {
96 return file_google_cloud_gkebackup_v1_restore_proto_enumTypes[0].Descriptor()
97 }
98
99 func (Restore_State) Type() protoreflect.EnumType {
100 return &file_google_cloud_gkebackup_v1_restore_proto_enumTypes[0]
101 }
102
103 func (x Restore_State) Number() protoreflect.EnumNumber {
104 return protoreflect.EnumNumber(x)
105 }
106
107 // Deprecated: Use Restore_State.Descriptor instead.
108 func (Restore_State) EnumDescriptor() ([]byte, []int) {
109 return file_google_cloud_gkebackup_v1_restore_proto_rawDescGZIP(), []int{0, 0}
110 }
111
112 // Defines how volume data should be restored.
113 type RestoreConfig_VolumeDataRestorePolicy int32
114
115 const (
116 // Unspecified (illegal).
117 RestoreConfig_VOLUME_DATA_RESTORE_POLICY_UNSPECIFIED RestoreConfig_VolumeDataRestorePolicy = 0
118 // For each PVC to be restored, create a new underlying volume and PV
119 // from the corresponding VolumeBackup contained within the Backup.
120 RestoreConfig_RESTORE_VOLUME_DATA_FROM_BACKUP RestoreConfig_VolumeDataRestorePolicy = 1
121 // For each PVC to be restored, attempt to reuse the original PV contained
122 // in the Backup (with its original underlying volume). This option
123 // is likely only usable when restoring a workload to its original cluster.
124 RestoreConfig_REUSE_VOLUME_HANDLE_FROM_BACKUP RestoreConfig_VolumeDataRestorePolicy = 2
125 // For each PVC to be restored, create PVC without any particular
126 // action to restore data. In this case, the normal Kubernetes provisioning
127 // logic would kick in, and this would likely result in either dynamically
128 // provisioning blank PVs or binding to statically provisioned PVs.
129 RestoreConfig_NO_VOLUME_DATA_RESTORATION RestoreConfig_VolumeDataRestorePolicy = 3
130 )
131
132 // Enum value maps for RestoreConfig_VolumeDataRestorePolicy.
133 var (
134 RestoreConfig_VolumeDataRestorePolicy_name = map[int32]string{
135 0: "VOLUME_DATA_RESTORE_POLICY_UNSPECIFIED",
136 1: "RESTORE_VOLUME_DATA_FROM_BACKUP",
137 2: "REUSE_VOLUME_HANDLE_FROM_BACKUP",
138 3: "NO_VOLUME_DATA_RESTORATION",
139 }
140 RestoreConfig_VolumeDataRestorePolicy_value = map[string]int32{
141 "VOLUME_DATA_RESTORE_POLICY_UNSPECIFIED": 0,
142 "RESTORE_VOLUME_DATA_FROM_BACKUP": 1,
143 "REUSE_VOLUME_HANDLE_FROM_BACKUP": 2,
144 "NO_VOLUME_DATA_RESTORATION": 3,
145 }
146 )
147
148 func (x RestoreConfig_VolumeDataRestorePolicy) Enum() *RestoreConfig_VolumeDataRestorePolicy {
149 p := new(RestoreConfig_VolumeDataRestorePolicy)
150 *p = x
151 return p
152 }
153
154 func (x RestoreConfig_VolumeDataRestorePolicy) String() string {
155 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
156 }
157
158 func (RestoreConfig_VolumeDataRestorePolicy) Descriptor() protoreflect.EnumDescriptor {
159 return file_google_cloud_gkebackup_v1_restore_proto_enumTypes[1].Descriptor()
160 }
161
162 func (RestoreConfig_VolumeDataRestorePolicy) Type() protoreflect.EnumType {
163 return &file_google_cloud_gkebackup_v1_restore_proto_enumTypes[1]
164 }
165
166 func (x RestoreConfig_VolumeDataRestorePolicy) Number() protoreflect.EnumNumber {
167 return protoreflect.EnumNumber(x)
168 }
169
170 // Deprecated: Use RestoreConfig_VolumeDataRestorePolicy.Descriptor instead.
171 func (RestoreConfig_VolumeDataRestorePolicy) EnumDescriptor() ([]byte, []int) {
172 return file_google_cloud_gkebackup_v1_restore_proto_rawDescGZIP(), []int{1, 0}
173 }
174
175 // Defines the behavior for handling the situation where cluster-scoped
176 // resources being restored already exist in the target cluster.
177 type RestoreConfig_ClusterResourceConflictPolicy int32
178
179 const (
180 // Unspecified. Only allowed if no cluster-scoped resources will be
181 // restored.
182 RestoreConfig_CLUSTER_RESOURCE_CONFLICT_POLICY_UNSPECIFIED RestoreConfig_ClusterResourceConflictPolicy = 0
183 // Do not attempt to restore the conflicting resource.
184 RestoreConfig_USE_EXISTING_VERSION RestoreConfig_ClusterResourceConflictPolicy = 1
185 // Delete the existing version before re-creating it from the Backup.
186 // This is a dangerous option which could cause unintentional
187 // data loss if used inappropriately. For example, deleting a CRD will
188 // cause Kubernetes to delete all CRs of that type.
189 RestoreConfig_USE_BACKUP_VERSION RestoreConfig_ClusterResourceConflictPolicy = 2
190 )
191
192 // Enum value maps for RestoreConfig_ClusterResourceConflictPolicy.
193 var (
194 RestoreConfig_ClusterResourceConflictPolicy_name = map[int32]string{
195 0: "CLUSTER_RESOURCE_CONFLICT_POLICY_UNSPECIFIED",
196 1: "USE_EXISTING_VERSION",
197 2: "USE_BACKUP_VERSION",
198 }
199 RestoreConfig_ClusterResourceConflictPolicy_value = map[string]int32{
200 "CLUSTER_RESOURCE_CONFLICT_POLICY_UNSPECIFIED": 0,
201 "USE_EXISTING_VERSION": 1,
202 "USE_BACKUP_VERSION": 2,
203 }
204 )
205
206 func (x RestoreConfig_ClusterResourceConflictPolicy) Enum() *RestoreConfig_ClusterResourceConflictPolicy {
207 p := new(RestoreConfig_ClusterResourceConflictPolicy)
208 *p = x
209 return p
210 }
211
212 func (x RestoreConfig_ClusterResourceConflictPolicy) String() string {
213 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
214 }
215
216 func (RestoreConfig_ClusterResourceConflictPolicy) Descriptor() protoreflect.EnumDescriptor {
217 return file_google_cloud_gkebackup_v1_restore_proto_enumTypes[2].Descriptor()
218 }
219
220 func (RestoreConfig_ClusterResourceConflictPolicy) Type() protoreflect.EnumType {
221 return &file_google_cloud_gkebackup_v1_restore_proto_enumTypes[2]
222 }
223
224 func (x RestoreConfig_ClusterResourceConflictPolicy) Number() protoreflect.EnumNumber {
225 return protoreflect.EnumNumber(x)
226 }
227
228 // Deprecated: Use RestoreConfig_ClusterResourceConflictPolicy.Descriptor instead.
229 func (RestoreConfig_ClusterResourceConflictPolicy) EnumDescriptor() ([]byte, []int) {
230 return file_google_cloud_gkebackup_v1_restore_proto_rawDescGZIP(), []int{1, 1}
231 }
232
233 // Defines the behavior for handling the situation where sets of namespaced
234 // resources being restored already exist in the target cluster.
235 type RestoreConfig_NamespacedResourceRestoreMode int32
236
237 const (
238 // Unspecified (invalid).
239 RestoreConfig_NAMESPACED_RESOURCE_RESTORE_MODE_UNSPECIFIED RestoreConfig_NamespacedResourceRestoreMode = 0
240 // When conflicting top-level resources (either Namespaces or
241 // ProtectedApplications, depending upon the scope) are encountered, this
242 // will first trigger a delete of the conflicting resource AND ALL OF ITS
243 // REFERENCED RESOURCES (e.g., all resources in the Namespace or all
244 // resources referenced by the ProtectedApplication) before restoring the
245 // resources from the Backup. This mode should only be used when you are
246 // intending to revert some portion of a cluster to an earlier state.
247 RestoreConfig_DELETE_AND_RESTORE RestoreConfig_NamespacedResourceRestoreMode = 1
248 // If conflicting top-level resources (either Namespaces or
249 // ProtectedApplications, depending upon the scope) are encountered at the
250 // beginning of a restore process, the Restore will fail. If a conflict
251 // occurs during the restore process itself (e.g., because an out of band
252 // process creates conflicting resources), a conflict will be reported.
253 RestoreConfig_FAIL_ON_CONFLICT RestoreConfig_NamespacedResourceRestoreMode = 2
254 // This mode merges the backup and the target cluster and skips the
255 // conflicting resources. If a single resource to restore exists in the
256 // cluster before restoration, the resource will be skipped, otherwise it
257 // will be restored.
258 RestoreConfig_MERGE_SKIP_ON_CONFLICT RestoreConfig_NamespacedResourceRestoreMode = 3
259 // This mode merges the backup and the target cluster and skips the
260 // conflicting resources except volume data. If a PVC to restore already
261 // exists, this mode will restore/reconnect the volume without overwriting
262 // the PVC. It is similar to MERGE_SKIP_ON_CONFLICT except that it will
263 // apply the volume data policy for the conflicting PVCs:
264 // - RESTORE_VOLUME_DATA_FROM_BACKUP: restore data only and respect the
265 // reclaim policy of the original PV;
266 // - REUSE_VOLUME_HANDLE_FROM_BACKUP: reconnect and respect the reclaim
267 // policy of the original PV;
268 // - NO_VOLUME_DATA_RESTORATION: new provision and respect the reclaim
269 // policy of the original PV.
270 //
271 // Note that this mode could cause data loss as the original PV can be
272 // retained or deleted depending on its reclaim policy.
273 RestoreConfig_MERGE_REPLACE_VOLUME_ON_CONFLICT RestoreConfig_NamespacedResourceRestoreMode = 4
274 // This mode merges the backup and the target cluster and replaces the
275 // conflicting resources with the ones in the backup. If a single resource
276 // to restore exists in the cluster before restoration, the resource will be
277 // replaced with the one from the backup. To replace an existing resource,
278 // the first attempt is to update the resource to match the one from the
279 // backup; if the update fails, the second attempt is to delete the resource
280 // and restore it from the backup.
281 // Note that this mode could cause data loss as it replaces the existing
282 // resources in the target cluster, and the original PV can be retained or
283 // deleted depending on its reclaim policy.
284 RestoreConfig_MERGE_REPLACE_ON_CONFLICT RestoreConfig_NamespacedResourceRestoreMode = 5
285 )
286
287 // Enum value maps for RestoreConfig_NamespacedResourceRestoreMode.
288 var (
289 RestoreConfig_NamespacedResourceRestoreMode_name = map[int32]string{
290 0: "NAMESPACED_RESOURCE_RESTORE_MODE_UNSPECIFIED",
291 1: "DELETE_AND_RESTORE",
292 2: "FAIL_ON_CONFLICT",
293 3: "MERGE_SKIP_ON_CONFLICT",
294 4: "MERGE_REPLACE_VOLUME_ON_CONFLICT",
295 5: "MERGE_REPLACE_ON_CONFLICT",
296 }
297 RestoreConfig_NamespacedResourceRestoreMode_value = map[string]int32{
298 "NAMESPACED_RESOURCE_RESTORE_MODE_UNSPECIFIED": 0,
299 "DELETE_AND_RESTORE": 1,
300 "FAIL_ON_CONFLICT": 2,
301 "MERGE_SKIP_ON_CONFLICT": 3,
302 "MERGE_REPLACE_VOLUME_ON_CONFLICT": 4,
303 "MERGE_REPLACE_ON_CONFLICT": 5,
304 }
305 )
306
307 func (x RestoreConfig_NamespacedResourceRestoreMode) Enum() *RestoreConfig_NamespacedResourceRestoreMode {
308 p := new(RestoreConfig_NamespacedResourceRestoreMode)
309 *p = x
310 return p
311 }
312
313 func (x RestoreConfig_NamespacedResourceRestoreMode) String() string {
314 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
315 }
316
317 func (RestoreConfig_NamespacedResourceRestoreMode) Descriptor() protoreflect.EnumDescriptor {
318 return file_google_cloud_gkebackup_v1_restore_proto_enumTypes[3].Descriptor()
319 }
320
321 func (RestoreConfig_NamespacedResourceRestoreMode) Type() protoreflect.EnumType {
322 return &file_google_cloud_gkebackup_v1_restore_proto_enumTypes[3]
323 }
324
325 func (x RestoreConfig_NamespacedResourceRestoreMode) Number() protoreflect.EnumNumber {
326 return protoreflect.EnumNumber(x)
327 }
328
329 // Deprecated: Use RestoreConfig_NamespacedResourceRestoreMode.Descriptor instead.
330 func (RestoreConfig_NamespacedResourceRestoreMode) EnumDescriptor() ([]byte, []int) {
331 return file_google_cloud_gkebackup_v1_restore_proto_rawDescGZIP(), []int{1, 2}
332 }
333
334 // Possible values for operations of a transformation rule action.
335 type RestoreConfig_TransformationRuleAction_Op int32
336
337 const (
338 // Unspecified operation
339 RestoreConfig_TransformationRuleAction_OP_UNSPECIFIED RestoreConfig_TransformationRuleAction_Op = 0
340 // The "remove" operation removes the value at the target location.
341 RestoreConfig_TransformationRuleAction_REMOVE RestoreConfig_TransformationRuleAction_Op = 1
342 // The "move" operation removes the value at a specified location and
343 // adds it to the target location.
344 RestoreConfig_TransformationRuleAction_MOVE RestoreConfig_TransformationRuleAction_Op = 2
345 // The "copy" operation copies the value at a specified location to the
346 // target location.
347 RestoreConfig_TransformationRuleAction_COPY RestoreConfig_TransformationRuleAction_Op = 3
348 // The "add" operation performs one of the following functions,
349 // depending upon what the target location references:
350 // 1. If the target location specifies an array index, a new value is
351 // inserted into the array at the specified index.
352 // 2. If the target location specifies an object member that does not
353 // already exist, a new member is added to the object.
354 // 3. If the target location specifies an object member that does exist,
355 // that member's value is replaced.
356 RestoreConfig_TransformationRuleAction_ADD RestoreConfig_TransformationRuleAction_Op = 4
357 // The "test" operation tests that a value at the target location is
358 // equal to a specified value.
359 RestoreConfig_TransformationRuleAction_TEST RestoreConfig_TransformationRuleAction_Op = 5
360 // The "replace" operation replaces the value at the target location
361 // with a new value. The operation object MUST contain a "value" member
362 // whose content specifies the replacement value.
363 RestoreConfig_TransformationRuleAction_REPLACE RestoreConfig_TransformationRuleAction_Op = 6
364 )
365
366 // Enum value maps for RestoreConfig_TransformationRuleAction_Op.
367 var (
368 RestoreConfig_TransformationRuleAction_Op_name = map[int32]string{
369 0: "OP_UNSPECIFIED",
370 1: "REMOVE",
371 2: "MOVE",
372 3: "COPY",
373 4: "ADD",
374 5: "TEST",
375 6: "REPLACE",
376 }
377 RestoreConfig_TransformationRuleAction_Op_value = map[string]int32{
378 "OP_UNSPECIFIED": 0,
379 "REMOVE": 1,
380 "MOVE": 2,
381 "COPY": 3,
382 "ADD": 4,
383 "TEST": 5,
384 "REPLACE": 6,
385 }
386 )
387
388 func (x RestoreConfig_TransformationRuleAction_Op) Enum() *RestoreConfig_TransformationRuleAction_Op {
389 p := new(RestoreConfig_TransformationRuleAction_Op)
390 *p = x
391 return p
392 }
393
394 func (x RestoreConfig_TransformationRuleAction_Op) String() string {
395 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
396 }
397
398 func (RestoreConfig_TransformationRuleAction_Op) Descriptor() protoreflect.EnumDescriptor {
399 return file_google_cloud_gkebackup_v1_restore_proto_enumTypes[4].Descriptor()
400 }
401
402 func (RestoreConfig_TransformationRuleAction_Op) Type() protoreflect.EnumType {
403 return &file_google_cloud_gkebackup_v1_restore_proto_enumTypes[4]
404 }
405
406 func (x RestoreConfig_TransformationRuleAction_Op) Number() protoreflect.EnumNumber {
407 return protoreflect.EnumNumber(x)
408 }
409
410 // Deprecated: Use RestoreConfig_TransformationRuleAction_Op.Descriptor instead.
411 func (RestoreConfig_TransformationRuleAction_Op) EnumDescriptor() ([]byte, []int) {
412 return file_google_cloud_gkebackup_v1_restore_proto_rawDescGZIP(), []int{1, 3, 0}
413 }
414
415 // Represents both a request to Restore some portion of a Backup into
416 // a target GKE cluster and a record of the restore operation itself.
417 type Restore struct {
418 state protoimpl.MessageState
419 sizeCache protoimpl.SizeCache
420 unknownFields protoimpl.UnknownFields
421
422 // Output only. The full name of the Restore resource.
423 // Format: `projects/*/locations/*/restorePlans/*/restores/*`
424 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
425 // Output only. Server generated global unique identifier of
426 // [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier) format.
427 Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"`
428 // Output only. The timestamp when this Restore resource was created.
429 CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
430 // Output only. The timestamp when this Restore resource was last
431 // updated.
432 UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
433 // Optional. User specified descriptive string for this Restore.
434 Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
435 // Required. Immutable. A reference to the
436 // [Backup][google.cloud.gkebackup.v1.Backup] used as the source from which
437 // this Restore will restore. Note that this Backup must be a sub-resource of
438 // the RestorePlan's
439 // [backup_plan][google.cloud.gkebackup.v1.RestorePlan.backup_plan]. Format:
440 // `projects/*/locations/*/backupPlans/*/backups/*`.
441 Backup string `protobuf:"bytes,6,opt,name=backup,proto3" json:"backup,omitempty"`
442 // Output only. The target cluster into which this Restore will restore data.
443 // Valid formats:
444 //
445 // - `projects/*/locations/*/clusters/*`
446 // - `projects/*/zones/*/clusters/*`
447 //
448 // Inherited from parent RestorePlan's
449 // [cluster][google.cloud.gkebackup.v1.RestorePlan.cluster] value.
450 Cluster string `protobuf:"bytes,7,opt,name=cluster,proto3" json:"cluster,omitempty"`
451 // Output only. Configuration of the Restore. Inherited from parent
452 // RestorePlan's
453 // [restore_config][google.cloud.gkebackup.v1.RestorePlan.restore_config].
454 RestoreConfig *RestoreConfig `protobuf:"bytes,8,opt,name=restore_config,json=restoreConfig,proto3" json:"restore_config,omitempty"`
455 // A set of custom labels supplied by user.
456 Labels map[string]string `protobuf:"bytes,9,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
457 // Output only. The current state of the Restore.
458 State Restore_State `protobuf:"varint,10,opt,name=state,proto3,enum=google.cloud.gkebackup.v1.Restore_State" json:"state,omitempty"`
459 // Output only. Human-readable description of why the Restore is in its
460 // current state. This field is only meant for human readability and should
461 // not be used programmatically as this field is not guaranteed to be
462 // consistent.
463 StateReason string `protobuf:"bytes,11,opt,name=state_reason,json=stateReason,proto3" json:"state_reason,omitempty"`
464 // Output only. Timestamp of when the restore operation completed.
465 CompleteTime *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=complete_time,json=completeTime,proto3" json:"complete_time,omitempty"`
466 // Output only. Number of resources restored during the restore execution.
467 ResourcesRestoredCount int32 `protobuf:"varint,13,opt,name=resources_restored_count,json=resourcesRestoredCount,proto3" json:"resources_restored_count,omitempty"`
468 // Output only. Number of resources excluded during the restore execution.
469 ResourcesExcludedCount int32 `protobuf:"varint,14,opt,name=resources_excluded_count,json=resourcesExcludedCount,proto3" json:"resources_excluded_count,omitempty"`
470 // Output only. Number of resources that failed to be restored during the
471 // restore execution.
472 ResourcesFailedCount int32 `protobuf:"varint,15,opt,name=resources_failed_count,json=resourcesFailedCount,proto3" json:"resources_failed_count,omitempty"`
473 // Output only. Number of volumes restored during the restore execution.
474 VolumesRestoredCount int32 `protobuf:"varint,16,opt,name=volumes_restored_count,json=volumesRestoredCount,proto3" json:"volumes_restored_count,omitempty"`
475 // Output only. `etag` is used for optimistic concurrency control as a way to
476 // help prevent simultaneous updates of a restore from overwriting each other.
477 // It is strongly suggested that systems make use of the `etag` in the
478 // read-modify-write cycle to perform restore updates in order to avoid
479 // race conditions: An `etag` is returned in the response to `GetRestore`,
480 // and systems are expected to put that etag in the request to
481 // `UpdateRestore` or `DeleteRestore` to ensure that their change will be
482 // applied to the same version of the resource.
483 Etag string `protobuf:"bytes,17,opt,name=etag,proto3" json:"etag,omitempty"`
484 // Optional. Immutable. Filters resources for `Restore`. If not specified, the
485 // scope of the restore will remain the same as defined in the `RestorePlan`.
486 // If this is specified and no resources are matched by the
487 // `inclusion_filters` or everything is excluded by the `exclusion_filters`,
488 // nothing will be restored. This filter can only be specified if the value of
489 // [namespaced_resource_restore_mode][google.cloud.gkebackup.v1.RestoreConfig.namespaced_resource_restore_mode]
490 // is set to `MERGE_SKIP_ON_CONFLICT`, `MERGE_REPLACE_VOLUME_ON_CONFLICT` or
491 // `MERGE_REPLACE_ON_CONFLICT`.
492 Filter *Restore_Filter `protobuf:"bytes,18,opt,name=filter,proto3" json:"filter,omitempty"`
493 // Optional. Immutable. Overrides the volume data restore policies selected in
494 // the Restore Config for override-scoped resources.
495 VolumeDataRestorePolicyOverrides []*VolumeDataRestorePolicyOverride `protobuf:"bytes,19,rep,name=volume_data_restore_policy_overrides,json=volumeDataRestorePolicyOverrides,proto3" json:"volume_data_restore_policy_overrides,omitempty"`
496 }
497
498 func (x *Restore) Reset() {
499 *x = Restore{}
500 mi := &file_google_cloud_gkebackup_v1_restore_proto_msgTypes[0]
501 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
502 ms.StoreMessageInfo(mi)
503 }
504
505 func (x *Restore) String() string {
506 return protoimpl.X.MessageStringOf(x)
507 }
508
509 func (*Restore) ProtoMessage() {}
510
511 func (x *Restore) ProtoReflect() protoreflect.Message {
512 mi := &file_google_cloud_gkebackup_v1_restore_proto_msgTypes[0]
513 if x != nil {
514 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
515 if ms.LoadMessageInfo() == nil {
516 ms.StoreMessageInfo(mi)
517 }
518 return ms
519 }
520 return mi.MessageOf(x)
521 }
522
523 // Deprecated: Use Restore.ProtoReflect.Descriptor instead.
524 func (*Restore) Descriptor() ([]byte, []int) {
525 return file_google_cloud_gkebackup_v1_restore_proto_rawDescGZIP(), []int{0}
526 }
527
528 func (x *Restore) GetName() string {
529 if x != nil {
530 return x.Name
531 }
532 return ""
533 }
534
535 func (x *Restore) GetUid() string {
536 if x != nil {
537 return x.Uid
538 }
539 return ""
540 }
541
542 func (x *Restore) GetCreateTime() *timestamppb.Timestamp {
543 if x != nil {
544 return x.CreateTime
545 }
546 return nil
547 }
548
549 func (x *Restore) GetUpdateTime() *timestamppb.Timestamp {
550 if x != nil {
551 return x.UpdateTime
552 }
553 return nil
554 }
555
556 func (x *Restore) GetDescription() string {
557 if x != nil {
558 return x.Description
559 }
560 return ""
561 }
562
563 func (x *Restore) GetBackup() string {
564 if x != nil {
565 return x.Backup
566 }
567 return ""
568 }
569
570 func (x *Restore) GetCluster() string {
571 if x != nil {
572 return x.Cluster
573 }
574 return ""
575 }
576
577 func (x *Restore) GetRestoreConfig() *RestoreConfig {
578 if x != nil {
579 return x.RestoreConfig
580 }
581 return nil
582 }
583
584 func (x *Restore) GetLabels() map[string]string {
585 if x != nil {
586 return x.Labels
587 }
588 return nil
589 }
590
591 func (x *Restore) GetState() Restore_State {
592 if x != nil {
593 return x.State
594 }
595 return Restore_STATE_UNSPECIFIED
596 }
597
598 func (x *Restore) GetStateReason() string {
599 if x != nil {
600 return x.StateReason
601 }
602 return ""
603 }
604
605 func (x *Restore) GetCompleteTime() *timestamppb.Timestamp {
606 if x != nil {
607 return x.CompleteTime
608 }
609 return nil
610 }
611
612 func (x *Restore) GetResourcesRestoredCount() int32 {
613 if x != nil {
614 return x.ResourcesRestoredCount
615 }
616 return 0
617 }
618
619 func (x *Restore) GetResourcesExcludedCount() int32 {
620 if x != nil {
621 return x.ResourcesExcludedCount
622 }
623 return 0
624 }
625
626 func (x *Restore) GetResourcesFailedCount() int32 {
627 if x != nil {
628 return x.ResourcesFailedCount
629 }
630 return 0
631 }
632
633 func (x *Restore) GetVolumesRestoredCount() int32 {
634 if x != nil {
635 return x.VolumesRestoredCount
636 }
637 return 0
638 }
639
640 func (x *Restore) GetEtag() string {
641 if x != nil {
642 return x.Etag
643 }
644 return ""
645 }
646
647 func (x *Restore) GetFilter() *Restore_Filter {
648 if x != nil {
649 return x.Filter
650 }
651 return nil
652 }
653
654 func (x *Restore) GetVolumeDataRestorePolicyOverrides() []*VolumeDataRestorePolicyOverride {
655 if x != nil {
656 return x.VolumeDataRestorePolicyOverrides
657 }
658 return nil
659 }
660
661 // Configuration of a restore.
662 type RestoreConfig struct {
663 state protoimpl.MessageState
664 sizeCache protoimpl.SizeCache
665 unknownFields protoimpl.UnknownFields
666
667 // Optional. Specifies the mechanism to be used to restore volume data.
668 // Default: VOLUME_DATA_RESTORE_POLICY_UNSPECIFIED (will be treated as
669 // NO_VOLUME_DATA_RESTORATION).
670 VolumeDataRestorePolicy RestoreConfig_VolumeDataRestorePolicy `protobuf:"varint,1,opt,name=volume_data_restore_policy,json=volumeDataRestorePolicy,proto3,enum=google.cloud.gkebackup.v1.RestoreConfig_VolumeDataRestorePolicy" json:"volume_data_restore_policy,omitempty"`
671 // Optional. Defines the behavior for handling the situation where
672 // cluster-scoped resources being restored already exist in the target
673 // cluster. This MUST be set to a value other than
674 // CLUSTER_RESOURCE_CONFLICT_POLICY_UNSPECIFIED if
675 // [cluster_resource_restore_scope][google.cloud.gkebackup.v1.RestoreConfig.cluster_resource_restore_scope]
676 // is not empty.
677 ClusterResourceConflictPolicy RestoreConfig_ClusterResourceConflictPolicy `protobuf:"varint,2,opt,name=cluster_resource_conflict_policy,json=clusterResourceConflictPolicy,proto3,enum=google.cloud.gkebackup.v1.RestoreConfig_ClusterResourceConflictPolicy" json:"cluster_resource_conflict_policy,omitempty"`
678 // Optional. Defines the behavior for handling the situation where sets of
679 // namespaced resources being restored already exist in the target cluster.
680 // This MUST be set to a value other than
681 // NAMESPACED_RESOURCE_RESTORE_MODE_UNSPECIFIED.
682 NamespacedResourceRestoreMode RestoreConfig_NamespacedResourceRestoreMode `protobuf:"varint,3,opt,name=namespaced_resource_restore_mode,json=namespacedResourceRestoreMode,proto3,enum=google.cloud.gkebackup.v1.RestoreConfig_NamespacedResourceRestoreMode" json:"namespaced_resource_restore_mode,omitempty"`
683 // Optional. Identifies the cluster-scoped resources to restore from the
684 // Backup. Not specifying it means NO cluster resource will be restored.
685 ClusterResourceRestoreScope *RestoreConfig_ClusterResourceRestoreScope `protobuf:"bytes,4,opt,name=cluster_resource_restore_scope,json=clusterResourceRestoreScope,proto3" json:"cluster_resource_restore_scope,omitempty"`
686 // Specifies the namespaced resources to restore from the Backup.
687 // Only one of the entries may be specified. If not specified, NO namespaced
688 // resources will be restored.
689 //
690 // Note: Resources will never be restored into *managed* namespaces such as
691 // `kube-system`, `kube-public`, or `kube-node-lease`. These namespaces
692 // are silently skipped when
693 // [all_namespaces][google.cloud.gkebackup.v1.RestoreConfig.all_namespaces] is
694 // selected. Listing them explicitly will result in an error.
695 //
696 // Types that are assignable to NamespacedResourceRestoreScope:
697 //
698 // *RestoreConfig_AllNamespaces
699 // *RestoreConfig_SelectedNamespaces
700 // *RestoreConfig_SelectedApplications
701 // *RestoreConfig_NoNamespaces
702 // *RestoreConfig_ExcludedNamespaces
703 NamespacedResourceRestoreScope isRestoreConfig_NamespacedResourceRestoreScope `protobuf_oneof:"namespaced_resource_restore_scope"`
704 // Optional. A list of transformation rules to be applied against Kubernetes
705 // resources as they are selected for restoration from a Backup. Rules are
706 // executed in order defined - this order matters, as changes made by a rule
707 // may impact the filtering logic of subsequent rules. An empty list means no
708 // substitution will occur.
709 SubstitutionRules []*RestoreConfig_SubstitutionRule `protobuf:"bytes,8,rep,name=substitution_rules,json=substitutionRules,proto3" json:"substitution_rules,omitempty"`
710 // Optional. A list of transformation rules to be applied against Kubernetes
711 // resources as they are selected for restoration from a Backup. Rules are
712 // executed in order defined - this order matters, as changes made by a rule
713 // may impact the filtering logic of subsequent rules. An empty list means no
714 // transformation will occur.
715 TransformationRules []*RestoreConfig_TransformationRule `protobuf:"bytes,11,rep,name=transformation_rules,json=transformationRules,proto3" json:"transformation_rules,omitempty"`
716 // Optional. A table that binds volumes by their scope to a restore policy.
717 // Bindings must have a unique scope. Any volumes not scoped in the bindings
718 // are subject to the policy defined in volume_data_restore_policy.
719 VolumeDataRestorePolicyBindings []*RestoreConfig_VolumeDataRestorePolicyBinding `protobuf:"bytes,12,rep,name=volume_data_restore_policy_bindings,json=volumeDataRestorePolicyBindings,proto3" json:"volume_data_restore_policy_bindings,omitempty"`
720 // Optional. RestoreOrder contains custom ordering to use on a Restore.
721 RestoreOrder *RestoreConfig_RestoreOrder `protobuf:"bytes,13,opt,name=restore_order,json=restoreOrder,proto3" json:"restore_order,omitempty"`
722 }
723
724 func (x *RestoreConfig) Reset() {
725 *x = RestoreConfig{}
726 mi := &file_google_cloud_gkebackup_v1_restore_proto_msgTypes[1]
727 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
728 ms.StoreMessageInfo(mi)
729 }
730
731 func (x *RestoreConfig) String() string {
732 return protoimpl.X.MessageStringOf(x)
733 }
734
735 func (*RestoreConfig) ProtoMessage() {}
736
737 func (x *RestoreConfig) ProtoReflect() protoreflect.Message {
738 mi := &file_google_cloud_gkebackup_v1_restore_proto_msgTypes[1]
739 if x != nil {
740 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
741 if ms.LoadMessageInfo() == nil {
742 ms.StoreMessageInfo(mi)
743 }
744 return ms
745 }
746 return mi.MessageOf(x)
747 }
748
749 // Deprecated: Use RestoreConfig.ProtoReflect.Descriptor instead.
750 func (*RestoreConfig) Descriptor() ([]byte, []int) {
751 return file_google_cloud_gkebackup_v1_restore_proto_rawDescGZIP(), []int{1}
752 }
753
754 func (x *RestoreConfig) GetVolumeDataRestorePolicy() RestoreConfig_VolumeDataRestorePolicy {
755 if x != nil {
756 return x.VolumeDataRestorePolicy
757 }
758 return RestoreConfig_VOLUME_DATA_RESTORE_POLICY_UNSPECIFIED
759 }
760
761 func (x *RestoreConfig) GetClusterResourceConflictPolicy() RestoreConfig_ClusterResourceConflictPolicy {
762 if x != nil {
763 return x.ClusterResourceConflictPolicy
764 }
765 return RestoreConfig_CLUSTER_RESOURCE_CONFLICT_POLICY_UNSPECIFIED
766 }
767
768 func (x *RestoreConfig) GetNamespacedResourceRestoreMode() RestoreConfig_NamespacedResourceRestoreMode {
769 if x != nil {
770 return x.NamespacedResourceRestoreMode
771 }
772 return RestoreConfig_NAMESPACED_RESOURCE_RESTORE_MODE_UNSPECIFIED
773 }
774
775 func (x *RestoreConfig) GetClusterResourceRestoreScope() *RestoreConfig_ClusterResourceRestoreScope {
776 if x != nil {
777 return x.ClusterResourceRestoreScope
778 }
779 return nil
780 }
781
782 func (m *RestoreConfig) GetNamespacedResourceRestoreScope() isRestoreConfig_NamespacedResourceRestoreScope {
783 if m != nil {
784 return m.NamespacedResourceRestoreScope
785 }
786 return nil
787 }
788
789 func (x *RestoreConfig) GetAllNamespaces() bool {
790 if x, ok := x.GetNamespacedResourceRestoreScope().(*RestoreConfig_AllNamespaces); ok {
791 return x.AllNamespaces
792 }
793 return false
794 }
795
796 func (x *RestoreConfig) GetSelectedNamespaces() *Namespaces {
797 if x, ok := x.GetNamespacedResourceRestoreScope().(*RestoreConfig_SelectedNamespaces); ok {
798 return x.SelectedNamespaces
799 }
800 return nil
801 }
802
803 func (x *RestoreConfig) GetSelectedApplications() *NamespacedNames {
804 if x, ok := x.GetNamespacedResourceRestoreScope().(*RestoreConfig_SelectedApplications); ok {
805 return x.SelectedApplications
806 }
807 return nil
808 }
809
810 func (x *RestoreConfig) GetNoNamespaces() bool {
811 if x, ok := x.GetNamespacedResourceRestoreScope().(*RestoreConfig_NoNamespaces); ok {
812 return x.NoNamespaces
813 }
814 return false
815 }
816
817 func (x *RestoreConfig) GetExcludedNamespaces() *Namespaces {
818 if x, ok := x.GetNamespacedResourceRestoreScope().(*RestoreConfig_ExcludedNamespaces); ok {
819 return x.ExcludedNamespaces
820 }
821 return nil
822 }
823
824 func (x *RestoreConfig) GetSubstitutionRules() []*RestoreConfig_SubstitutionRule {
825 if x != nil {
826 return x.SubstitutionRules
827 }
828 return nil
829 }
830
831 func (x *RestoreConfig) GetTransformationRules() []*RestoreConfig_TransformationRule {
832 if x != nil {
833 return x.TransformationRules
834 }
835 return nil
836 }
837
838 func (x *RestoreConfig) GetVolumeDataRestorePolicyBindings() []*RestoreConfig_VolumeDataRestorePolicyBinding {
839 if x != nil {
840 return x.VolumeDataRestorePolicyBindings
841 }
842 return nil
843 }
844
845 func (x *RestoreConfig) GetRestoreOrder() *RestoreConfig_RestoreOrder {
846 if x != nil {
847 return x.RestoreOrder
848 }
849 return nil
850 }
851
852 type isRestoreConfig_NamespacedResourceRestoreScope interface {
853 isRestoreConfig_NamespacedResourceRestoreScope()
854 }
855
856 type RestoreConfig_AllNamespaces struct {
857 // Restore all namespaced resources in the Backup if set to "True".
858 // Specifying this field to "False" is an error.
859 AllNamespaces bool `protobuf:"varint,5,opt,name=all_namespaces,json=allNamespaces,proto3,oneof"`
860 }
861
862 type RestoreConfig_SelectedNamespaces struct {
863 // A list of selected Namespaces to restore from the Backup. The listed
864 // Namespaces and all resources contained in them will be restored.
865 SelectedNamespaces *Namespaces `protobuf:"bytes,6,opt,name=selected_namespaces,json=selectedNamespaces,proto3,oneof"`
866 }
867
868 type RestoreConfig_SelectedApplications struct {
869 // A list of selected ProtectedApplications to restore. The listed
870 // ProtectedApplications and all the resources to which they refer will be
871 // restored.
872 SelectedApplications *NamespacedNames `protobuf:"bytes,7,opt,name=selected_applications,json=selectedApplications,proto3,oneof"`
873 }
874
875 type RestoreConfig_NoNamespaces struct {
876 // Do not restore any namespaced resources if set to "True".
877 // Specifying this field to "False" is not allowed.
878 NoNamespaces bool `protobuf:"varint,9,opt,name=no_namespaces,json=noNamespaces,proto3,oneof"`
879 }
880
881 type RestoreConfig_ExcludedNamespaces struct {
882 // A list of selected namespaces excluded from restoration. All
883 // namespaces except those in this list will be restored.
884 ExcludedNamespaces *Namespaces `protobuf:"bytes,10,opt,name=excluded_namespaces,json=excludedNamespaces,proto3,oneof"`
885 }
886
887 func (*RestoreConfig_AllNamespaces) isRestoreConfig_NamespacedResourceRestoreScope() {}
888
889 func (*RestoreConfig_SelectedNamespaces) isRestoreConfig_NamespacedResourceRestoreScope() {}
890
891 func (*RestoreConfig_SelectedApplications) isRestoreConfig_NamespacedResourceRestoreScope() {}
892
893 func (*RestoreConfig_NoNamespaces) isRestoreConfig_NamespacedResourceRestoreScope() {}
894
895 func (*RestoreConfig_ExcludedNamespaces) isRestoreConfig_NamespacedResourceRestoreScope() {}
896
897 // Defines a selector to identify a single or a group of resources.
898 // Conditions in the selector are optional, but at least one field
899 // should be set to a non-empty value. If a condition is not specified,
900 // no restrictions will be applied on that dimension.
901 // If more than one condition is specified, a resource will be selected
902 // if and only if all conditions are met.
903 type ResourceSelector struct {
904 state protoimpl.MessageState
905 sizeCache protoimpl.SizeCache
906 unknownFields protoimpl.UnknownFields
907
908 // Optional. Selects resources using their Kubernetes GroupKinds. If
909 // specified, only resources of provided GroupKind will be selected.
910 GroupKind *RestoreConfig_GroupKind `protobuf:"bytes,1,opt,name=group_kind,json=groupKind,proto3" json:"group_kind,omitempty"`
911 // Optional. Selects resources using their resource names. If specified,
912 // only resources with the provided name will be selected.
913 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
914 // Optional. Selects resources using their namespaces. This only applies to
915 // namespace scoped resources and cannot be used for selecting
916 // cluster scoped resources. If specified, only resources in the provided
917 // namespace will be selected. If not specified, the filter will apply to
918 // both cluster scoped and namespace scoped resources (e.g. name or label).
919 // The [Namespace](https://pkg.go.dev/k8s.io/api/core/v1#Namespace) resource
920 // itself will be restored if and only if any resources within the namespace
921 // are restored.
922 Namespace string `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"`
923 // Optional. Selects resources using Kubernetes
924 // [labels](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/).
925 // If specified, a resource will be selected if and only if the resource
926 // has all of the provided labels and all the label values match.
927 Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
928 }
929
930 func (x *ResourceSelector) Reset() {
931 *x = ResourceSelector{}
932 mi := &file_google_cloud_gkebackup_v1_restore_proto_msgTypes[2]
933 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
934 ms.StoreMessageInfo(mi)
935 }
936
937 func (x *ResourceSelector) String() string {
938 return protoimpl.X.MessageStringOf(x)
939 }
940
941 func (*ResourceSelector) ProtoMessage() {}
942
943 func (x *ResourceSelector) ProtoReflect() protoreflect.Message {
944 mi := &file_google_cloud_gkebackup_v1_restore_proto_msgTypes[2]
945 if x != nil {
946 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
947 if ms.LoadMessageInfo() == nil {
948 ms.StoreMessageInfo(mi)
949 }
950 return ms
951 }
952 return mi.MessageOf(x)
953 }
954
955 // Deprecated: Use ResourceSelector.ProtoReflect.Descriptor instead.
956 func (*ResourceSelector) Descriptor() ([]byte, []int) {
957 return file_google_cloud_gkebackup_v1_restore_proto_rawDescGZIP(), []int{2}
958 }
959
960 func (x *ResourceSelector) GetGroupKind() *RestoreConfig_GroupKind {
961 if x != nil {
962 return x.GroupKind
963 }
964 return nil
965 }
966
967 func (x *ResourceSelector) GetName() string {
968 if x != nil {
969 return x.Name
970 }
971 return ""
972 }
973
974 func (x *ResourceSelector) GetNamespace() string {
975 if x != nil {
976 return x.Namespace
977 }
978 return ""
979 }
980
981 func (x *ResourceSelector) GetLabels() map[string]string {
982 if x != nil {
983 return x.Labels
984 }
985 return nil
986 }
987
988 // Defines an override to apply a VolumeDataRestorePolicy for scoped resources.
989 type VolumeDataRestorePolicyOverride struct {
990 state protoimpl.MessageState
991 sizeCache protoimpl.SizeCache
992 unknownFields protoimpl.UnknownFields
993
994 // Required. The VolumeDataRestorePolicy to apply when restoring volumes in
995 // scope.
996 Policy RestoreConfig_VolumeDataRestorePolicy `protobuf:"varint,1,opt,name=policy,proto3,enum=google.cloud.gkebackup.v1.RestoreConfig_VolumeDataRestorePolicy" json:"policy,omitempty"`
997 // Types that are assignable to Scope:
998 //
999 // *VolumeDataRestorePolicyOverride_SelectedPvcs
1000 Scope isVolumeDataRestorePolicyOverride_Scope `protobuf_oneof:"scope"`
1001 }
1002
1003 func (x *VolumeDataRestorePolicyOverride) Reset() {
1004 *x = VolumeDataRestorePolicyOverride{}
1005 mi := &file_google_cloud_gkebackup_v1_restore_proto_msgTypes[3]
1006 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1007 ms.StoreMessageInfo(mi)
1008 }
1009
1010 func (x *VolumeDataRestorePolicyOverride) String() string {
1011 return protoimpl.X.MessageStringOf(x)
1012 }
1013
1014 func (*VolumeDataRestorePolicyOverride) ProtoMessage() {}
1015
1016 func (x *VolumeDataRestorePolicyOverride) ProtoReflect() protoreflect.Message {
1017 mi := &file_google_cloud_gkebackup_v1_restore_proto_msgTypes[3]
1018 if x != nil {
1019 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1020 if ms.LoadMessageInfo() == nil {
1021 ms.StoreMessageInfo(mi)
1022 }
1023 return ms
1024 }
1025 return mi.MessageOf(x)
1026 }
1027
1028 // Deprecated: Use VolumeDataRestorePolicyOverride.ProtoReflect.Descriptor instead.
1029 func (*VolumeDataRestorePolicyOverride) Descriptor() ([]byte, []int) {
1030 return file_google_cloud_gkebackup_v1_restore_proto_rawDescGZIP(), []int{3}
1031 }
1032
1033 func (x *VolumeDataRestorePolicyOverride) GetPolicy() RestoreConfig_VolumeDataRestorePolicy {
1034 if x != nil {
1035 return x.Policy
1036 }
1037 return RestoreConfig_VOLUME_DATA_RESTORE_POLICY_UNSPECIFIED
1038 }
1039
1040 func (m *VolumeDataRestorePolicyOverride) GetScope() isVolumeDataRestorePolicyOverride_Scope {
1041 if m != nil {
1042 return m.Scope
1043 }
1044 return nil
1045 }
1046
1047 func (x *VolumeDataRestorePolicyOverride) GetSelectedPvcs() *NamespacedNames {
1048 if x, ok := x.GetScope().(*VolumeDataRestorePolicyOverride_SelectedPvcs); ok {
1049 return x.SelectedPvcs
1050 }
1051 return nil
1052 }
1053
1054 type isVolumeDataRestorePolicyOverride_Scope interface {
1055 isVolumeDataRestorePolicyOverride_Scope()
1056 }
1057
1058 type VolumeDataRestorePolicyOverride_SelectedPvcs struct {
1059 // A list of PVCs to apply the policy override to.
1060 SelectedPvcs *NamespacedNames `protobuf:"bytes,2,opt,name=selected_pvcs,json=selectedPvcs,proto3,oneof"`
1061 }
1062
1063 func (*VolumeDataRestorePolicyOverride_SelectedPvcs) isVolumeDataRestorePolicyOverride_Scope() {}
1064
1065 // Defines the filter for `Restore`. This filter can be used to further
1066 // refine the resource selection of the `Restore` beyond the coarse-grained
1067 // scope defined in the `RestorePlan`. `exclusion_filters` take precedence
1068 // over `inclusion_filters`. If a resource matches both `inclusion_filters`
1069 // and `exclusion_filters`, it will not be restored.
1070 type Restore_Filter struct {
1071 state protoimpl.MessageState
1072 sizeCache protoimpl.SizeCache
1073 unknownFields protoimpl.UnknownFields
1074
1075 // Optional. Selects resources for restoration. If specified, only resources
1076 // which match `inclusion_filters` will be selected for restoration. A
1077 // resource will be selected if it matches any `ResourceSelector` of the
1078 // `inclusion_filters`.
1079 InclusionFilters []*ResourceSelector `protobuf:"bytes,1,rep,name=inclusion_filters,json=inclusionFilters,proto3" json:"inclusion_filters,omitempty"`
1080 // Optional. Excludes resources from restoration. If specified,
1081 // a resource will not be restored if it matches
1082 // any `ResourceSelector` of the `exclusion_filters`.
1083 ExclusionFilters []*ResourceSelector `protobuf:"bytes,2,rep,name=exclusion_filters,json=exclusionFilters,proto3" json:"exclusion_filters,omitempty"`
1084 }
1085
1086 func (x *Restore_Filter) Reset() {
1087 *x = Restore_Filter{}
1088 mi := &file_google_cloud_gkebackup_v1_restore_proto_msgTypes[4]
1089 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1090 ms.StoreMessageInfo(mi)
1091 }
1092
1093 func (x *Restore_Filter) String() string {
1094 return protoimpl.X.MessageStringOf(x)
1095 }
1096
1097 func (*Restore_Filter) ProtoMessage() {}
1098
1099 func (x *Restore_Filter) ProtoReflect() protoreflect.Message {
1100 mi := &file_google_cloud_gkebackup_v1_restore_proto_msgTypes[4]
1101 if x != nil {
1102 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1103 if ms.LoadMessageInfo() == nil {
1104 ms.StoreMessageInfo(mi)
1105 }
1106 return ms
1107 }
1108 return mi.MessageOf(x)
1109 }
1110
1111 // Deprecated: Use Restore_Filter.ProtoReflect.Descriptor instead.
1112 func (*Restore_Filter) Descriptor() ([]byte, []int) {
1113 return file_google_cloud_gkebackup_v1_restore_proto_rawDescGZIP(), []int{0, 0}
1114 }
1115
1116 func (x *Restore_Filter) GetInclusionFilters() []*ResourceSelector {
1117 if x != nil {
1118 return x.InclusionFilters
1119 }
1120 return nil
1121 }
1122
1123 func (x *Restore_Filter) GetExclusionFilters() []*ResourceSelector {
1124 if x != nil {
1125 return x.ExclusionFilters
1126 }
1127 return nil
1128 }
1129
1130 // This is a direct map to the Kubernetes GroupKind type
1131 // [GroupKind](https://godoc.org/k8s.io/apimachinery/pkg/runtime/schema#GroupKind)
1132 // and is used for identifying specific "types" of resources to restore.
1133 type RestoreConfig_GroupKind struct {
1134 state protoimpl.MessageState
1135 sizeCache protoimpl.SizeCache
1136 unknownFields protoimpl.UnknownFields
1137
1138 // Optional. API group string of a Kubernetes resource, e.g.
1139 // "apiextensions.k8s.io", "storage.k8s.io", etc.
1140 // Note: use empty string for core API group.
1141 ResourceGroup string `protobuf:"bytes,1,opt,name=resource_group,json=resourceGroup,proto3" json:"resource_group,omitempty"`
1142 // Optional. Kind of a Kubernetes resource, must be in UpperCamelCase
1143 // (PascalCase) and singular form. E.g. "CustomResourceDefinition",
1144 // "StorageClass", etc.
1145 ResourceKind string `protobuf:"bytes,2,opt,name=resource_kind,json=resourceKind,proto3" json:"resource_kind,omitempty"`
1146 }
1147
1148 func (x *RestoreConfig_GroupKind) Reset() {
1149 *x = RestoreConfig_GroupKind{}
1150 mi := &file_google_cloud_gkebackup_v1_restore_proto_msgTypes[6]
1151 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1152 ms.StoreMessageInfo(mi)
1153 }
1154
1155 func (x *RestoreConfig_GroupKind) String() string {
1156 return protoimpl.X.MessageStringOf(x)
1157 }
1158
1159 func (*RestoreConfig_GroupKind) ProtoMessage() {}
1160
1161 func (x *RestoreConfig_GroupKind) ProtoReflect() protoreflect.Message {
1162 mi := &file_google_cloud_gkebackup_v1_restore_proto_msgTypes[6]
1163 if x != nil {
1164 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1165 if ms.LoadMessageInfo() == nil {
1166 ms.StoreMessageInfo(mi)
1167 }
1168 return ms
1169 }
1170 return mi.MessageOf(x)
1171 }
1172
1173 // Deprecated: Use RestoreConfig_GroupKind.ProtoReflect.Descriptor instead.
1174 func (*RestoreConfig_GroupKind) Descriptor() ([]byte, []int) {
1175 return file_google_cloud_gkebackup_v1_restore_proto_rawDescGZIP(), []int{1, 0}
1176 }
1177
1178 func (x *RestoreConfig_GroupKind) GetResourceGroup() string {
1179 if x != nil {
1180 return x.ResourceGroup
1181 }
1182 return ""
1183 }
1184
1185 func (x *RestoreConfig_GroupKind) GetResourceKind() string {
1186 if x != nil {
1187 return x.ResourceKind
1188 }
1189 return ""
1190 }
1191
1192 // Defines the scope of cluster-scoped resources to restore.
1193 //
1194 // Some group kinds are not reasonable choices for a restore, and will cause
1195 // an error if selected here. Any scope selection that would restore
1196 // "all valid" resources automatically excludes these group kinds.
1197 // - Node
1198 // - ComponentStatus
1199 // - gkebackup.gke.io/BackupJob
1200 // - gkebackup.gke.io/RestoreJob
1201 // - metrics.k8s.io/NodeMetrics
1202 // - migration.k8s.io/StorageState
1203 // - migration.k8s.io/StorageVersionMigration
1204 // - snapshot.storage.k8s.io/VolumeSnapshotContent
1205 // - storage.k8s.io/CSINode
1206 // - storage.k8s.io/VolumeAttachment
1207 //
1208 // Some group kinds are driven by restore configuration elsewhere,
1209 // and will cause an error if selected here.
1210 // - Namespace
1211 // - PersistentVolume
1212 type RestoreConfig_ClusterResourceRestoreScope struct {
1213 state protoimpl.MessageState
1214 sizeCache protoimpl.SizeCache
1215 unknownFields protoimpl.UnknownFields
1216
1217 // Optional. A list of cluster-scoped resource group kinds to restore from
1218 // the backup. If specified, only the selected resources will be restored.
1219 // Mutually exclusive to any other field in the message.
1220 SelectedGroupKinds []*RestoreConfig_GroupKind `protobuf:"bytes,1,rep,name=selected_group_kinds,json=selectedGroupKinds,proto3" json:"selected_group_kinds,omitempty"`
1221 // Optional. A list of cluster-scoped resource group kinds to NOT restore
1222 // from the backup. If specified, all valid cluster-scoped resources will be
1223 // restored except for those specified in the list.
1224 // Mutually exclusive to any other field in the message.
1225 ExcludedGroupKinds []*RestoreConfig_GroupKind `protobuf:"bytes,2,rep,name=excluded_group_kinds,json=excludedGroupKinds,proto3" json:"excluded_group_kinds,omitempty"`
1226 // Optional. If True, all valid cluster-scoped resources will be restored.
1227 // Mutually exclusive to any other field in the message.
1228 AllGroupKinds bool `protobuf:"varint,3,opt,name=all_group_kinds,json=allGroupKinds,proto3" json:"all_group_kinds,omitempty"`
1229 // Optional. If True, no cluster-scoped resources will be restored.
1230 // This has the same restore scope as if the message is not defined.
1231 // Mutually exclusive to any other field in the message.
1232 NoGroupKinds bool `protobuf:"varint,4,opt,name=no_group_kinds,json=noGroupKinds,proto3" json:"no_group_kinds,omitempty"`
1233 }
1234
1235 func (x *RestoreConfig_ClusterResourceRestoreScope) Reset() {
1236 *x = RestoreConfig_ClusterResourceRestoreScope{}
1237 mi := &file_google_cloud_gkebackup_v1_restore_proto_msgTypes[7]
1238 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1239 ms.StoreMessageInfo(mi)
1240 }
1241
1242 func (x *RestoreConfig_ClusterResourceRestoreScope) String() string {
1243 return protoimpl.X.MessageStringOf(x)
1244 }
1245
1246 func (*RestoreConfig_ClusterResourceRestoreScope) ProtoMessage() {}
1247
1248 func (x *RestoreConfig_ClusterResourceRestoreScope) ProtoReflect() protoreflect.Message {
1249 mi := &file_google_cloud_gkebackup_v1_restore_proto_msgTypes[7]
1250 if x != nil {
1251 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1252 if ms.LoadMessageInfo() == nil {
1253 ms.StoreMessageInfo(mi)
1254 }
1255 return ms
1256 }
1257 return mi.MessageOf(x)
1258 }
1259
1260 // Deprecated: Use RestoreConfig_ClusterResourceRestoreScope.ProtoReflect.Descriptor instead.
1261 func (*RestoreConfig_ClusterResourceRestoreScope) Descriptor() ([]byte, []int) {
1262 return file_google_cloud_gkebackup_v1_restore_proto_rawDescGZIP(), []int{1, 1}
1263 }
1264
1265 func (x *RestoreConfig_ClusterResourceRestoreScope) GetSelectedGroupKinds() []*RestoreConfig_GroupKind {
1266 if x != nil {
1267 return x.SelectedGroupKinds
1268 }
1269 return nil
1270 }
1271
1272 func (x *RestoreConfig_ClusterResourceRestoreScope) GetExcludedGroupKinds() []*RestoreConfig_GroupKind {
1273 if x != nil {
1274 return x.ExcludedGroupKinds
1275 }
1276 return nil
1277 }
1278
1279 func (x *RestoreConfig_ClusterResourceRestoreScope) GetAllGroupKinds() bool {
1280 if x != nil {
1281 return x.AllGroupKinds
1282 }
1283 return false
1284 }
1285
1286 func (x *RestoreConfig_ClusterResourceRestoreScope) GetNoGroupKinds() bool {
1287 if x != nil {
1288 return x.NoGroupKinds
1289 }
1290 return false
1291 }
1292
1293 // A transformation rule to be applied against Kubernetes resources as they
1294 // are selected for restoration from a Backup. A rule contains both filtering
1295 // logic (which resources are subject to substitution) and substitution logic.
1296 type RestoreConfig_SubstitutionRule struct {
1297 state protoimpl.MessageState
1298 sizeCache protoimpl.SizeCache
1299 unknownFields protoimpl.UnknownFields
1300
1301 // Optional. (Filtering parameter) Any resource subject to substitution must
1302 // be contained within one of the listed Kubernetes Namespace in the Backup.
1303 // If this field is not provided, no namespace filtering will be performed
1304 // (all resources in all Namespaces, including all cluster-scoped resources,
1305 // will be candidates for substitution).
1306 // To mix cluster-scoped and namespaced resources in the same rule, use an
1307 // empty string ("") as one of the target namespaces.
1308 TargetNamespaces []string `protobuf:"bytes,1,rep,name=target_namespaces,json=targetNamespaces,proto3" json:"target_namespaces,omitempty"`
1309 // Optional. (Filtering parameter) Any resource subject to substitution must
1310 // belong to one of the listed "types". If this field is not provided, no
1311 // type filtering will be performed (all resources of all types matching
1312 // previous filtering parameters will be candidates for substitution).
1313 TargetGroupKinds []*RestoreConfig_GroupKind `protobuf:"bytes,2,rep,name=target_group_kinds,json=targetGroupKinds,proto3" json:"target_group_kinds,omitempty"`
1314 // Required. This is a [JSONPath]
1315 // (https://kubernetes.io/docs/reference/kubectl/jsonpath/)
1316 // expression that matches specific fields of candidate
1317 // resources and it operates as both a filtering parameter (resources that
1318 // are not matched with this expression will not be candidates for
1319 // substitution) as well as a field identifier (identifies exactly which
1320 // fields out of the candidate resources will be modified).
1321 TargetJsonPath string `protobuf:"bytes,3,opt,name=target_json_path,json=targetJsonPath,proto3" json:"target_json_path,omitempty"`
1322 // Optional. (Filtering parameter) This is a [regular expression]
1323 // (https://en.wikipedia.org/wiki/Regular_expression)
1324 // that is compared against the fields matched by the target_json_path
1325 // expression (and must also have passed the previous filters).
1326 // Substitution will not be performed against fields whose
1327 // value does not match this expression. If this field is NOT specified,
1328 // then ALL fields matched by the target_json_path expression will undergo
1329 // substitution. Note that an empty (e.g., "", rather than unspecified)
1330 // value for this field will only match empty fields.
1331 OriginalValuePattern string `protobuf:"bytes,4,opt,name=original_value_pattern,json=originalValuePattern,proto3" json:"original_value_pattern,omitempty"`
1332 // Optional. This is the new value to set for any fields that pass the
1333 // filtering and selection criteria. To remove a value from a Kubernetes
1334 // resource, either leave this field unspecified, or set it to the empty
1335 // string ("").
1336 NewValue string `protobuf:"bytes,5,opt,name=new_value,json=newValue,proto3" json:"new_value,omitempty"`
1337 }
1338
1339 func (x *RestoreConfig_SubstitutionRule) Reset() {
1340 *x = RestoreConfig_SubstitutionRule{}
1341 mi := &file_google_cloud_gkebackup_v1_restore_proto_msgTypes[8]
1342 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1343 ms.StoreMessageInfo(mi)
1344 }
1345
1346 func (x *RestoreConfig_SubstitutionRule) String() string {
1347 return protoimpl.X.MessageStringOf(x)
1348 }
1349
1350 func (*RestoreConfig_SubstitutionRule) ProtoMessage() {}
1351
1352 func (x *RestoreConfig_SubstitutionRule) ProtoReflect() protoreflect.Message {
1353 mi := &file_google_cloud_gkebackup_v1_restore_proto_msgTypes[8]
1354 if x != nil {
1355 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1356 if ms.LoadMessageInfo() == nil {
1357 ms.StoreMessageInfo(mi)
1358 }
1359 return ms
1360 }
1361 return mi.MessageOf(x)
1362 }
1363
1364 // Deprecated: Use RestoreConfig_SubstitutionRule.ProtoReflect.Descriptor instead.
1365 func (*RestoreConfig_SubstitutionRule) Descriptor() ([]byte, []int) {
1366 return file_google_cloud_gkebackup_v1_restore_proto_rawDescGZIP(), []int{1, 2}
1367 }
1368
1369 func (x *RestoreConfig_SubstitutionRule) GetTargetNamespaces() []string {
1370 if x != nil {
1371 return x.TargetNamespaces
1372 }
1373 return nil
1374 }
1375
1376 func (x *RestoreConfig_SubstitutionRule) GetTargetGroupKinds() []*RestoreConfig_GroupKind {
1377 if x != nil {
1378 return x.TargetGroupKinds
1379 }
1380 return nil
1381 }
1382
1383 func (x *RestoreConfig_SubstitutionRule) GetTargetJsonPath() string {
1384 if x != nil {
1385 return x.TargetJsonPath
1386 }
1387 return ""
1388 }
1389
1390 func (x *RestoreConfig_SubstitutionRule) GetOriginalValuePattern() string {
1391 if x != nil {
1392 return x.OriginalValuePattern
1393 }
1394 return ""
1395 }
1396
1397 func (x *RestoreConfig_SubstitutionRule) GetNewValue() string {
1398 if x != nil {
1399 return x.NewValue
1400 }
1401 return ""
1402 }
1403
1404 // TransformationRuleAction defines a TransformationRule action based on the
1405 // JSON Patch RFC (https://www.rfc-editor.org/rfc/rfc6902)
1406 type RestoreConfig_TransformationRuleAction struct {
1407 state protoimpl.MessageState
1408 sizeCache protoimpl.SizeCache
1409 unknownFields protoimpl.UnknownFields
1410
1411 // Required. op specifies the operation to perform.
1412 Op RestoreConfig_TransformationRuleAction_Op `protobuf:"varint,1,opt,name=op,proto3,enum=google.cloud.gkebackup.v1.RestoreConfig_TransformationRuleAction_Op" json:"op,omitempty"`
1413 // Optional. A string containing a JSON Pointer value that references the
1414 // location in the target document to move the value from.
1415 FromPath string `protobuf:"bytes,2,opt,name=from_path,json=fromPath,proto3" json:"from_path,omitempty"`
1416 // Optional. A string containing a JSON-Pointer value that references a
1417 // location within the target document where the operation is performed.
1418 Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
1419 // Optional. A string that specifies the desired value in string format to
1420 // use for transformation.
1421 Value string `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"`
1422 }
1423
1424 func (x *RestoreConfig_TransformationRuleAction) Reset() {
1425 *x = RestoreConfig_TransformationRuleAction{}
1426 mi := &file_google_cloud_gkebackup_v1_restore_proto_msgTypes[9]
1427 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1428 ms.StoreMessageInfo(mi)
1429 }
1430
1431 func (x *RestoreConfig_TransformationRuleAction) String() string {
1432 return protoimpl.X.MessageStringOf(x)
1433 }
1434
1435 func (*RestoreConfig_TransformationRuleAction) ProtoMessage() {}
1436
1437 func (x *RestoreConfig_TransformationRuleAction) ProtoReflect() protoreflect.Message {
1438 mi := &file_google_cloud_gkebackup_v1_restore_proto_msgTypes[9]
1439 if x != nil {
1440 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1441 if ms.LoadMessageInfo() == nil {
1442 ms.StoreMessageInfo(mi)
1443 }
1444 return ms
1445 }
1446 return mi.MessageOf(x)
1447 }
1448
1449 // Deprecated: Use RestoreConfig_TransformationRuleAction.ProtoReflect.Descriptor instead.
1450 func (*RestoreConfig_TransformationRuleAction) Descriptor() ([]byte, []int) {
1451 return file_google_cloud_gkebackup_v1_restore_proto_rawDescGZIP(), []int{1, 3}
1452 }
1453
1454 func (x *RestoreConfig_TransformationRuleAction) GetOp() RestoreConfig_TransformationRuleAction_Op {
1455 if x != nil {
1456 return x.Op
1457 }
1458 return RestoreConfig_TransformationRuleAction_OP_UNSPECIFIED
1459 }
1460
1461 func (x *RestoreConfig_TransformationRuleAction) GetFromPath() string {
1462 if x != nil {
1463 return x.FromPath
1464 }
1465 return ""
1466 }
1467
1468 func (x *RestoreConfig_TransformationRuleAction) GetPath() string {
1469 if x != nil {
1470 return x.Path
1471 }
1472 return ""
1473 }
1474
1475 func (x *RestoreConfig_TransformationRuleAction) GetValue() string {
1476 if x != nil {
1477 return x.Value
1478 }
1479 return ""
1480 }
1481
1482 // ResourceFilter specifies matching criteria to limit the scope of a
1483 // change to a specific set of kubernetes resources that are selected for
1484 // restoration from a backup.
1485 type RestoreConfig_ResourceFilter struct {
1486 state protoimpl.MessageState
1487 sizeCache protoimpl.SizeCache
1488 unknownFields protoimpl.UnknownFields
1489
1490 // Optional. (Filtering parameter) Any resource subject to transformation
1491 // must be contained within one of the listed Kubernetes Namespace in the
1492 // Backup. If this field is not provided, no namespace filtering will be
1493 // performed (all resources in all Namespaces, including all cluster-scoped
1494 // resources, will be candidates for transformation).
1495 Namespaces []string `protobuf:"bytes,1,rep,name=namespaces,proto3" json:"namespaces,omitempty"`
1496 // Optional. (Filtering parameter) Any resource subject to transformation
1497 // must belong to one of the listed "types". If this field is not provided,
1498 // no type filtering will be performed (all resources of all types matching
1499 // previous filtering parameters will be candidates for transformation).
1500 GroupKinds []*RestoreConfig_GroupKind `protobuf:"bytes,2,rep,name=group_kinds,json=groupKinds,proto3" json:"group_kinds,omitempty"`
1501 // Optional. This is a [JSONPath]
1502 // (https://github.com/json-path/JsonPath/blob/master/README.md)
1503 // expression that matches specific fields of candidate
1504 // resources and it operates as a filtering parameter (resources that
1505 // are not matched with this expression will not be candidates for
1506 // transformation).
1507 JsonPath string `protobuf:"bytes,3,opt,name=json_path,json=jsonPath,proto3" json:"json_path,omitempty"`
1508 }
1509
1510 func (x *RestoreConfig_ResourceFilter) Reset() {
1511 *x = RestoreConfig_ResourceFilter{}
1512 mi := &file_google_cloud_gkebackup_v1_restore_proto_msgTypes[10]
1513 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1514 ms.StoreMessageInfo(mi)
1515 }
1516
1517 func (x *RestoreConfig_ResourceFilter) String() string {
1518 return protoimpl.X.MessageStringOf(x)
1519 }
1520
1521 func (*RestoreConfig_ResourceFilter) ProtoMessage() {}
1522
1523 func (x *RestoreConfig_ResourceFilter) ProtoReflect() protoreflect.Message {
1524 mi := &file_google_cloud_gkebackup_v1_restore_proto_msgTypes[10]
1525 if x != nil {
1526 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1527 if ms.LoadMessageInfo() == nil {
1528 ms.StoreMessageInfo(mi)
1529 }
1530 return ms
1531 }
1532 return mi.MessageOf(x)
1533 }
1534
1535 // Deprecated: Use RestoreConfig_ResourceFilter.ProtoReflect.Descriptor instead.
1536 func (*RestoreConfig_ResourceFilter) Descriptor() ([]byte, []int) {
1537 return file_google_cloud_gkebackup_v1_restore_proto_rawDescGZIP(), []int{1, 4}
1538 }
1539
1540 func (x *RestoreConfig_ResourceFilter) GetNamespaces() []string {
1541 if x != nil {
1542 return x.Namespaces
1543 }
1544 return nil
1545 }
1546
1547 func (x *RestoreConfig_ResourceFilter) GetGroupKinds() []*RestoreConfig_GroupKind {
1548 if x != nil {
1549 return x.GroupKinds
1550 }
1551 return nil
1552 }
1553
1554 func (x *RestoreConfig_ResourceFilter) GetJsonPath() string {
1555 if x != nil {
1556 return x.JsonPath
1557 }
1558 return ""
1559 }
1560
1561 // A transformation rule to be applied against Kubernetes resources as they
1562 // are selected for restoration from a Backup. A rule contains both filtering
1563 // logic (which resources are subject to transform) and transformation logic.
1564 type RestoreConfig_TransformationRule struct {
1565 state protoimpl.MessageState
1566 sizeCache protoimpl.SizeCache
1567 unknownFields protoimpl.UnknownFields
1568
1569 // Required. A list of transformation rule actions to take against candidate
1570 // resources. Actions are executed in order defined - this order matters, as
1571 // they could potentially interfere with each other and the first operation
1572 // could affect the outcome of the second operation.
1573 FieldActions []*RestoreConfig_TransformationRuleAction `protobuf:"bytes,1,rep,name=field_actions,json=fieldActions,proto3" json:"field_actions,omitempty"`
1574 // Optional. This field is used to specify a set of fields that should be
1575 // used to determine which resources in backup should be acted upon by the
1576 // supplied transformation rule actions, and this will ensure that only
1577 // specific resources are affected by transformation rule actions.
1578 ResourceFilter *RestoreConfig_ResourceFilter `protobuf:"bytes,2,opt,name=resource_filter,json=resourceFilter,proto3" json:"resource_filter,omitempty"`
1579 // Optional. The description is a user specified string description of the
1580 // transformation rule.
1581 Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
1582 }
1583
1584 func (x *RestoreConfig_TransformationRule) Reset() {
1585 *x = RestoreConfig_TransformationRule{}
1586 mi := &file_google_cloud_gkebackup_v1_restore_proto_msgTypes[11]
1587 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1588 ms.StoreMessageInfo(mi)
1589 }
1590
1591 func (x *RestoreConfig_TransformationRule) String() string {
1592 return protoimpl.X.MessageStringOf(x)
1593 }
1594
1595 func (*RestoreConfig_TransformationRule) ProtoMessage() {}
1596
1597 func (x *RestoreConfig_TransformationRule) ProtoReflect() protoreflect.Message {
1598 mi := &file_google_cloud_gkebackup_v1_restore_proto_msgTypes[11]
1599 if x != nil {
1600 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1601 if ms.LoadMessageInfo() == nil {
1602 ms.StoreMessageInfo(mi)
1603 }
1604 return ms
1605 }
1606 return mi.MessageOf(x)
1607 }
1608
1609 // Deprecated: Use RestoreConfig_TransformationRule.ProtoReflect.Descriptor instead.
1610 func (*RestoreConfig_TransformationRule) Descriptor() ([]byte, []int) {
1611 return file_google_cloud_gkebackup_v1_restore_proto_rawDescGZIP(), []int{1, 5}
1612 }
1613
1614 func (x *RestoreConfig_TransformationRule) GetFieldActions() []*RestoreConfig_TransformationRuleAction {
1615 if x != nil {
1616 return x.FieldActions
1617 }
1618 return nil
1619 }
1620
1621 func (x *RestoreConfig_TransformationRule) GetResourceFilter() *RestoreConfig_ResourceFilter {
1622 if x != nil {
1623 return x.ResourceFilter
1624 }
1625 return nil
1626 }
1627
1628 func (x *RestoreConfig_TransformationRule) GetDescription() string {
1629 if x != nil {
1630 return x.Description
1631 }
1632 return ""
1633 }
1634
1635 // Binds resources in the scope to the given VolumeDataRestorePolicy.
1636 type RestoreConfig_VolumeDataRestorePolicyBinding struct {
1637 state protoimpl.MessageState
1638 sizeCache protoimpl.SizeCache
1639 unknownFields protoimpl.UnknownFields
1640
1641 // Required. The VolumeDataRestorePolicy to apply when restoring volumes in
1642 // scope.
1643 Policy RestoreConfig_VolumeDataRestorePolicy `protobuf:"varint,1,opt,name=policy,proto3,enum=google.cloud.gkebackup.v1.RestoreConfig_VolumeDataRestorePolicy" json:"policy,omitempty"`
1644 // Types that are assignable to Scope:
1645 //
1646 // *RestoreConfig_VolumeDataRestorePolicyBinding_VolumeType
1647 Scope isRestoreConfig_VolumeDataRestorePolicyBinding_Scope `protobuf_oneof:"scope"`
1648 }
1649
1650 func (x *RestoreConfig_VolumeDataRestorePolicyBinding) Reset() {
1651 *x = RestoreConfig_VolumeDataRestorePolicyBinding{}
1652 mi := &file_google_cloud_gkebackup_v1_restore_proto_msgTypes[12]
1653 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1654 ms.StoreMessageInfo(mi)
1655 }
1656
1657 func (x *RestoreConfig_VolumeDataRestorePolicyBinding) String() string {
1658 return protoimpl.X.MessageStringOf(x)
1659 }
1660
1661 func (*RestoreConfig_VolumeDataRestorePolicyBinding) ProtoMessage() {}
1662
1663 func (x *RestoreConfig_VolumeDataRestorePolicyBinding) ProtoReflect() protoreflect.Message {
1664 mi := &file_google_cloud_gkebackup_v1_restore_proto_msgTypes[12]
1665 if x != nil {
1666 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1667 if ms.LoadMessageInfo() == nil {
1668 ms.StoreMessageInfo(mi)
1669 }
1670 return ms
1671 }
1672 return mi.MessageOf(x)
1673 }
1674
1675 // Deprecated: Use RestoreConfig_VolumeDataRestorePolicyBinding.ProtoReflect.Descriptor instead.
1676 func (*RestoreConfig_VolumeDataRestorePolicyBinding) Descriptor() ([]byte, []int) {
1677 return file_google_cloud_gkebackup_v1_restore_proto_rawDescGZIP(), []int{1, 6}
1678 }
1679
1680 func (x *RestoreConfig_VolumeDataRestorePolicyBinding) GetPolicy() RestoreConfig_VolumeDataRestorePolicy {
1681 if x != nil {
1682 return x.Policy
1683 }
1684 return RestoreConfig_VOLUME_DATA_RESTORE_POLICY_UNSPECIFIED
1685 }
1686
1687 func (m *RestoreConfig_VolumeDataRestorePolicyBinding) GetScope() isRestoreConfig_VolumeDataRestorePolicyBinding_Scope {
1688 if m != nil {
1689 return m.Scope
1690 }
1691 return nil
1692 }
1693
1694 func (x *RestoreConfig_VolumeDataRestorePolicyBinding) GetVolumeType() VolumeTypeEnum_VolumeType {
1695 if x, ok := x.GetScope().(*RestoreConfig_VolumeDataRestorePolicyBinding_VolumeType); ok {
1696 return x.VolumeType
1697 }
1698 return VolumeTypeEnum_VOLUME_TYPE_UNSPECIFIED
1699 }
1700
1701 type isRestoreConfig_VolumeDataRestorePolicyBinding_Scope interface {
1702 isRestoreConfig_VolumeDataRestorePolicyBinding_Scope()
1703 }
1704
1705 type RestoreConfig_VolumeDataRestorePolicyBinding_VolumeType struct {
1706 // The volume type, as determined by the PVC's bound PV,
1707 // to apply the policy to.
1708 VolumeType VolumeTypeEnum_VolumeType `protobuf:"varint,2,opt,name=volume_type,json=volumeType,proto3,enum=google.cloud.gkebackup.v1.VolumeTypeEnum_VolumeType,oneof"`
1709 }
1710
1711 func (*RestoreConfig_VolumeDataRestorePolicyBinding_VolumeType) isRestoreConfig_VolumeDataRestorePolicyBinding_Scope() {
1712 }
1713
1714 // Allows customers to specify dependencies between resources
1715 // that Backup for GKE can use to compute a resasonable restore order.
1716 type RestoreConfig_RestoreOrder struct {
1717 state protoimpl.MessageState
1718 sizeCache protoimpl.SizeCache
1719 unknownFields protoimpl.UnknownFields
1720
1721 // Optional. Contains a list of group kind dependency pairs provided
1722 // by the customer, that is used by Backup for GKE to
1723 // generate a group kind restore order.
1724 GroupKindDependencies []*RestoreConfig_RestoreOrder_GroupKindDependency `protobuf:"bytes,1,rep,name=group_kind_dependencies,json=groupKindDependencies,proto3" json:"group_kind_dependencies,omitempty"`
1725 }
1726
1727 func (x *RestoreConfig_RestoreOrder) Reset() {
1728 *x = RestoreConfig_RestoreOrder{}
1729 mi := &file_google_cloud_gkebackup_v1_restore_proto_msgTypes[13]
1730 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1731 ms.StoreMessageInfo(mi)
1732 }
1733
1734 func (x *RestoreConfig_RestoreOrder) String() string {
1735 return protoimpl.X.MessageStringOf(x)
1736 }
1737
1738 func (*RestoreConfig_RestoreOrder) ProtoMessage() {}
1739
1740 func (x *RestoreConfig_RestoreOrder) ProtoReflect() protoreflect.Message {
1741 mi := &file_google_cloud_gkebackup_v1_restore_proto_msgTypes[13]
1742 if x != nil {
1743 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1744 if ms.LoadMessageInfo() == nil {
1745 ms.StoreMessageInfo(mi)
1746 }
1747 return ms
1748 }
1749 return mi.MessageOf(x)
1750 }
1751
1752 // Deprecated: Use RestoreConfig_RestoreOrder.ProtoReflect.Descriptor instead.
1753 func (*RestoreConfig_RestoreOrder) Descriptor() ([]byte, []int) {
1754 return file_google_cloud_gkebackup_v1_restore_proto_rawDescGZIP(), []int{1, 7}
1755 }
1756
1757 func (x *RestoreConfig_RestoreOrder) GetGroupKindDependencies() []*RestoreConfig_RestoreOrder_GroupKindDependency {
1758 if x != nil {
1759 return x.GroupKindDependencies
1760 }
1761 return nil
1762 }
1763
1764 // Defines a dependency between two group kinds.
1765 type RestoreConfig_RestoreOrder_GroupKindDependency struct {
1766 state protoimpl.MessageState
1767 sizeCache protoimpl.SizeCache
1768 unknownFields protoimpl.UnknownFields
1769
1770 // Required. The satisfying group kind must be restored first
1771 // in order to satisfy the dependency.
1772 Satisfying *RestoreConfig_GroupKind `protobuf:"bytes,1,opt,name=satisfying,proto3" json:"satisfying,omitempty"`
1773 // Required. The requiring group kind requires that the other
1774 // group kind be restored first.
1775 Requiring *RestoreConfig_GroupKind `protobuf:"bytes,2,opt,name=requiring,proto3" json:"requiring,omitempty"`
1776 }
1777
1778 func (x *RestoreConfig_RestoreOrder_GroupKindDependency) Reset() {
1779 *x = RestoreConfig_RestoreOrder_GroupKindDependency{}
1780 mi := &file_google_cloud_gkebackup_v1_restore_proto_msgTypes[14]
1781 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1782 ms.StoreMessageInfo(mi)
1783 }
1784
1785 func (x *RestoreConfig_RestoreOrder_GroupKindDependency) String() string {
1786 return protoimpl.X.MessageStringOf(x)
1787 }
1788
1789 func (*RestoreConfig_RestoreOrder_GroupKindDependency) ProtoMessage() {}
1790
1791 func (x *RestoreConfig_RestoreOrder_GroupKindDependency) ProtoReflect() protoreflect.Message {
1792 mi := &file_google_cloud_gkebackup_v1_restore_proto_msgTypes[14]
1793 if x != nil {
1794 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1795 if ms.LoadMessageInfo() == nil {
1796 ms.StoreMessageInfo(mi)
1797 }
1798 return ms
1799 }
1800 return mi.MessageOf(x)
1801 }
1802
1803 // Deprecated: Use RestoreConfig_RestoreOrder_GroupKindDependency.ProtoReflect.Descriptor instead.
1804 func (*RestoreConfig_RestoreOrder_GroupKindDependency) Descriptor() ([]byte, []int) {
1805 return file_google_cloud_gkebackup_v1_restore_proto_rawDescGZIP(), []int{1, 7, 0}
1806 }
1807
1808 func (x *RestoreConfig_RestoreOrder_GroupKindDependency) GetSatisfying() *RestoreConfig_GroupKind {
1809 if x != nil {
1810 return x.Satisfying
1811 }
1812 return nil
1813 }
1814
1815 func (x *RestoreConfig_RestoreOrder_GroupKindDependency) GetRequiring() *RestoreConfig_GroupKind {
1816 if x != nil {
1817 return x.Requiring
1818 }
1819 return nil
1820 }
1821
1822 var File_google_cloud_gkebackup_v1_restore_proto protoreflect.FileDescriptor
1823
1824 var file_google_cloud_gkebackup_v1_restore_proto_rawDesc = []byte{
1825 0x0a, 0x27, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x67,
1826 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x74,
1827 0x6f, 0x72, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
1828 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75,
1829 0x70, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69,
1830 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e,
1831 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70,
1832 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
1833 0x1a, 0x26, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x67,
1834 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d,
1835 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
1836 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74,
1837 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa5, 0x0d, 0x0a, 0x07, 0x52, 0x65,
1838 0x73, 0x74, 0x6f, 0x72, 0x65, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
1839 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x15,
1840 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03,
1841 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x40, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f,
1842 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f,
1843 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d,
1844 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65,
1845 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74,
1846 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67,
1847 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54,
1848 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x75,
1849 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x25, 0x0a, 0x0b, 0x64, 0x65, 0x73,
1850 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03,
1851 0xe0, 0x41, 0x01, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e,
1852 0x12, 0x42, 0x0a, 0x06, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09,
1853 0x42, 0x2a, 0xe0, 0x41, 0x05, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x21, 0x0a, 0x1f, 0x67, 0x6b, 0x65,
1854 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69,
1855 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x06, 0x62, 0x61,
1856 0x63, 0x6b, 0x75, 0x70, 0x12, 0x42, 0x0a, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18,
1857 0x07, 0x20, 0x01, 0x28, 0x09, 0x42, 0x28, 0xe0, 0x41, 0x03, 0xfa, 0x41, 0x22, 0x0a, 0x20, 0x63,
1858 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61,
1859 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52,
1860 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x54, 0x0a, 0x0e, 0x72, 0x65, 0x73, 0x74,
1861 0x6f, 0x72, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b,
1862 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
1863 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73,
1864 0x74, 0x6f, 0x72, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52,
1865 0x0d, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x46,
1866 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e,
1867 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b,
1868 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x74, 0x6f,
1869 0x72, 0x65, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06,
1870 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x43, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18,
1871 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
1872 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2e, 0x76,
1873 0x31, 0x2e, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x42,
1874 0x03, 0xe0, 0x41, 0x03, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x26, 0x0a, 0x0c, 0x73,
1875 0x74, 0x61, 0x74, 0x65, 0x5f, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x0b, 0x20, 0x01, 0x28,
1876 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0b, 0x73, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x61,
1877 0x73, 0x6f, 0x6e, 0x12, 0x44, 0x0a, 0x0d, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x5f,
1878 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f,
1879 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d,
1880 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0c, 0x63, 0x6f, 0x6d,
1881 0x70, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3d, 0x0a, 0x18, 0x72, 0x65, 0x73,
1882 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x5f, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x64, 0x5f,
1883 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x05, 0x42, 0x03, 0xe0, 0x41, 0x03,
1884 0x52, 0x16, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x74, 0x6f,
1885 0x72, 0x65, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x3d, 0x0a, 0x18, 0x72, 0x65, 0x73, 0x6f,
1886 0x75, 0x72, 0x63, 0x65, 0x73, 0x5f, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x64, 0x5f, 0x63,
1887 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x05, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52,
1888 0x16, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x45, 0x78, 0x63, 0x6c, 0x75, 0x64,
1889 0x65, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x39, 0x0a, 0x16, 0x72, 0x65, 0x73, 0x6f, 0x75,
1890 0x72, 0x63, 0x65, 0x73, 0x5f, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x5f, 0x63, 0x6f, 0x75, 0x6e,
1891 0x74, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x05, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x14, 0x72, 0x65,
1892 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x46, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x43, 0x6f, 0x75,
1893 0x6e, 0x74, 0x12, 0x39, 0x0a, 0x16, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x5f, 0x72, 0x65,
1894 0x73, 0x74, 0x6f, 0x72, 0x65, 0x64, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x10, 0x20, 0x01,
1895 0x28, 0x05, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x14, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73,
1896 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x17, 0x0a,
1897 0x04, 0x65, 0x74, 0x61, 0x67, 0x18, 0x11, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03,
1898 0x52, 0x04, 0x65, 0x74, 0x61, 0x67, 0x12, 0x49, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72,
1899 0x18, 0x12, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
1900 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2e,
1901 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65,
1902 0x72, 0x42, 0x06, 0xe0, 0x41, 0x05, 0xe0, 0x41, 0x01, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65,
1903 0x72, 0x12, 0x92, 0x01, 0x0a, 0x24, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x64, 0x61, 0x74,
1904 0x61, 0x5f, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79,
1905 0x5f, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x73, 0x18, 0x13, 0x20, 0x03, 0x28, 0x0b,
1906 0x32, 0x3a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
1907 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x6f, 0x6c,
1908 0x75, 0x6d, 0x65, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x50, 0x6f,
1909 0x6c, 0x69, 0x63, 0x79, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x42, 0x06, 0xe0, 0x41,
1910 0x05, 0xe0, 0x41, 0x01, 0x52, 0x20, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x44, 0x61, 0x74, 0x61,
1911 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x4f, 0x76, 0x65,
1912 0x72, 0x72, 0x69, 0x64, 0x65, 0x73, 0x1a, 0xc6, 0x01, 0x0a, 0x06, 0x46, 0x69, 0x6c, 0x74, 0x65,
1913 0x72, 0x12, 0x5d, 0x0a, 0x11, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x66,
1914 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67,
1915 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x62,
1916 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
1917 0x65, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x10,
1918 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73,
1919 0x12, 0x5d, 0x0a, 0x11, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x66, 0x69,
1920 0x6c, 0x74, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67, 0x6f,
1921 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x62, 0x61,
1922 0x63, 0x6b, 0x75, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
1923 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x10, 0x65,
1924 0x78, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x1a,
1925 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10,
1926 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79,
1927 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
1928 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x76, 0x0a, 0x05, 0x53, 0x74,
1929 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53,
1930 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x43, 0x52,
1931 0x45, 0x41, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x0f, 0x0a, 0x0b, 0x49, 0x4e, 0x5f, 0x50,
1932 0x52, 0x4f, 0x47, 0x52, 0x45, 0x53, 0x53, 0x10, 0x02, 0x12, 0x0d, 0x0a, 0x09, 0x53, 0x55, 0x43,
1933 0x43, 0x45, 0x45, 0x44, 0x45, 0x44, 0x10, 0x03, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x41, 0x49, 0x4c,
1934 0x45, 0x44, 0x10, 0x04, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x49, 0x4e, 0x47,
1935 0x10, 0x05, 0x12, 0x0e, 0x0a, 0x0a, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x41, 0x54, 0x49, 0x4e, 0x47,
1936 0x10, 0x06, 0x3a, 0x7d, 0xea, 0x41, 0x7a, 0x0a, 0x20, 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b,
1937 0x75, 0x70, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f,
1938 0x6d, 0x2f, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x12, 0x56, 0x70, 0x72, 0x6f, 0x6a, 0x65,
1939 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f,
1940 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f,
1941 0x6e, 0x7d, 0x2f, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x50, 0x6c, 0x61, 0x6e, 0x73, 0x2f,
1942 0x7b, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x5f, 0x70, 0x6c, 0x61, 0x6e, 0x7d, 0x2f, 0x72,
1943 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x73, 0x2f, 0x7b, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65,
1944 0x7d, 0x22, 0xfb, 0x1f, 0x0a, 0x0d, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x43, 0x6f, 0x6e,
1945 0x66, 0x69, 0x67, 0x12, 0x82, 0x01, 0x0a, 0x1a, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x64,
1946 0x61, 0x74, 0x61, 0x5f, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x5f, 0x70, 0x6f, 0x6c, 0x69,
1947 0x63, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x40, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
1948 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75,
1949 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x43, 0x6f, 0x6e, 0x66,
1950 0x69, 0x67, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x73,
1951 0x74, 0x6f, 0x72, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52,
1952 0x17, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x73, 0x74, 0x6f,
1953 0x72, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x94, 0x01, 0x0a, 0x20, 0x63, 0x6c, 0x75,
1954 0x73, 0x74, 0x65, 0x72, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x63, 0x6f,
1955 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x02, 0x20,
1956 0x01, 0x28, 0x0e, 0x32, 0x46, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
1957 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2e, 0x76, 0x31, 0x2e,
1958 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x43, 0x6c,
1959 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x6e,
1960 0x66, 0x6c, 0x69, 0x63, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x42, 0x03, 0xe0, 0x41, 0x01,
1961 0x52, 0x1d, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
1962 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12,
1963 0x94, 0x01, 0x0a, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x64, 0x5f, 0x72,
1964 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x5f,
1965 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x46, 0x2e, 0x67, 0x6f, 0x6f,
1966 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63,
1967 0x6b, 0x75, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x43, 0x6f,
1968 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x64, 0x52,
1969 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x4d, 0x6f,
1970 0x64, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x1d, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61,
1971 0x63, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x73, 0x74, 0x6f,
1972 0x72, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x8e, 0x01, 0x0a, 0x1e, 0x63, 0x6c, 0x75, 0x73, 0x74,
1973 0x65, 0x72, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x72, 0x65, 0x73, 0x74,
1974 0x6f, 0x72, 0x65, 0x5f, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32,
1975 0x44, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67,
1976 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x74,
1977 0x6f, 0x72, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65,
1978 0x72, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65,
1979 0x53, 0x63, 0x6f, 0x70, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x1b, 0x63, 0x6c, 0x75, 0x73,
1980 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x73, 0x74, 0x6f,
1981 0x72, 0x65, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x12, 0x27, 0x0a, 0x0e, 0x61, 0x6c, 0x6c, 0x5f, 0x6e,
1982 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x48,
1983 0x00, 0x52, 0x0d, 0x61, 0x6c, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73,
1984 0x12, 0x58, 0x0a, 0x13, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x6e, 0x61, 0x6d,
1985 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e,
1986 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65,
1987 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70,
1988 0x61, 0x63, 0x65, 0x73, 0x48, 0x00, 0x52, 0x12, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x65, 0x64,
1989 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x12, 0x61, 0x0a, 0x15, 0x73, 0x65,
1990 0x6c, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69,
1991 0x6f, 0x6e, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
1992 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b,
1993 0x75, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x64,
1994 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x48, 0x00, 0x52, 0x14, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x65,
1995 0x64, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x25, 0x0a,
1996 0x0d, 0x6e, 0x6f, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x18, 0x09,
1997 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x0c, 0x6e, 0x6f, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70,
1998 0x61, 0x63, 0x65, 0x73, 0x12, 0x58, 0x0a, 0x13, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x64,
1999 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28,
2000 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
2001 0x2e, 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x61,
2002 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x48, 0x00, 0x52, 0x12, 0x65, 0x78, 0x63, 0x6c,
2003 0x75, 0x64, 0x65, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x12, 0x6d,
2004 0x0a, 0x12, 0x73, 0x75, 0x62, 0x73, 0x74, 0x69, 0x74, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72,
2005 0x75, 0x6c, 0x65, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x67, 0x6f, 0x6f,
2006 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63,
2007 0x6b, 0x75, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x43, 0x6f,
2008 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x53, 0x75, 0x62, 0x73, 0x74, 0x69, 0x74, 0x75, 0x74, 0x69, 0x6f,
2009 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x11, 0x73, 0x75, 0x62, 0x73,
2010 0x74, 0x69, 0x74, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x73, 0x0a,
2011 0x14, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f,
2012 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x67, 0x6f,
2013 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x62, 0x61,
2014 0x63, 0x6b, 0x75, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x43,
2015 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x61,
2016 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x13, 0x74,
2017 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x75, 0x6c,
2018 0x65, 0x73, 0x12, 0x9a, 0x01, 0x0a, 0x23, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x64, 0x61,
2019 0x74, 0x61, 0x5f, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63,
2020 0x79, 0x5f, 0x62, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b,
2021 0x32, 0x47, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
2022 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73,
2023 0x74, 0x6f, 0x72, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d,
2024 0x65, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x50, 0x6f, 0x6c, 0x69,
2025 0x63, 0x79, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x1f,
2026 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72,
2027 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x12,
2028 0x5f, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x5f, 0x6f, 0x72, 0x64, 0x65, 0x72,
2029 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
2030 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2e,
2031 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
2032 0x2e, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x42, 0x03, 0xe0,
2033 0x41, 0x01, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x4f, 0x72, 0x64, 0x65, 0x72,
2034 0x1a, 0x61, 0x0a, 0x09, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4b, 0x69, 0x6e, 0x64, 0x12, 0x2a, 0x0a,
2035 0x0e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18,
2036 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0d, 0x72, 0x65, 0x73, 0x6f,
2037 0x75, 0x72, 0x63, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x28, 0x0a, 0x0d, 0x72, 0x65, 0x73,
2038 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
2039 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4b,
2040 0x69, 0x6e, 0x64, 0x1a, 0xcb, 0x02, 0x0a, 0x1b, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52,
2041 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x53, 0x63,
2042 0x6f, 0x70, 0x65, 0x12, 0x69, 0x0a, 0x14, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f,
2043 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x6b, 0x69, 0x6e, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,
2044 0x0b, 0x32, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
2045 0x2e, 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65,
2046 0x73, 0x74, 0x6f, 0x72, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x47, 0x72, 0x6f, 0x75,
2047 0x70, 0x4b, 0x69, 0x6e, 0x64, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x12, 0x73, 0x65, 0x6c, 0x65,
2048 0x63, 0x74, 0x65, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4b, 0x69, 0x6e, 0x64, 0x73, 0x12, 0x69,
2049 0x0a, 0x14, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x64, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70,
2050 0x5f, 0x6b, 0x69, 0x6e, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x67,
2051 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x62,
2052 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65,
2053 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4b, 0x69, 0x6e, 0x64,
2054 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x12, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x64, 0x47,
2055 0x72, 0x6f, 0x75, 0x70, 0x4b, 0x69, 0x6e, 0x64, 0x73, 0x12, 0x2b, 0x0a, 0x0f, 0x61, 0x6c, 0x6c,
2056 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x6b, 0x69, 0x6e, 0x64, 0x73, 0x18, 0x03, 0x20, 0x01,
2057 0x28, 0x08, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0d, 0x61, 0x6c, 0x6c, 0x47, 0x72, 0x6f, 0x75,
2058 0x70, 0x4b, 0x69, 0x6e, 0x64, 0x73, 0x12, 0x29, 0x0a, 0x0e, 0x6e, 0x6f, 0x5f, 0x67, 0x72, 0x6f,
2059 0x75, 0x70, 0x5f, 0x6b, 0x69, 0x6e, 0x64, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x42, 0x03,
2060 0xe0, 0x41, 0x01, 0x52, 0x0c, 0x6e, 0x6f, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4b, 0x69, 0x6e, 0x64,
2061 0x73, 0x1a, 0xb7, 0x02, 0x0a, 0x10, 0x53, 0x75, 0x62, 0x73, 0x74, 0x69, 0x74, 0x75, 0x74, 0x69,
2062 0x6f, 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x30, 0x0a, 0x11, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74,
2063 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,
2064 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x10, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x4e, 0x61,
2065 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x12, 0x65, 0x0a, 0x12, 0x74, 0x61, 0x72, 0x67,
2066 0x65, 0x74, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x6b, 0x69, 0x6e, 0x64, 0x73, 0x18, 0x02,
2067 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
2068 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2e, 0x76, 0x31,
2069 0x2e, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x47,
2070 0x72, 0x6f, 0x75, 0x70, 0x4b, 0x69, 0x6e, 0x64, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x10, 0x74,
2071 0x61, 0x72, 0x67, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4b, 0x69, 0x6e, 0x64, 0x73, 0x12,
2072 0x2d, 0x0a, 0x10, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x6a, 0x73, 0x6f, 0x6e, 0x5f, 0x70,
2073 0x61, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0e,
2074 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x4a, 0x73, 0x6f, 0x6e, 0x50, 0x61, 0x74, 0x68, 0x12, 0x39,
2075 0x0a, 0x16, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65,
2076 0x5f, 0x70, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03,
2077 0xe0, 0x41, 0x01, 0x52, 0x14, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x56, 0x61, 0x6c,
2078 0x75, 0x65, 0x50, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x12, 0x20, 0x0a, 0x09, 0x6e, 0x65, 0x77,
2079 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41,
2080 0x01, 0x52, 0x08, 0x6e, 0x65, 0x77, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0xa5, 0x02, 0x0a, 0x18,
2081 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x75,
2082 0x6c, 0x65, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x59, 0x0a, 0x02, 0x6f, 0x70, 0x18, 0x01,
2083 0x20, 0x01, 0x28, 0x0e, 0x32, 0x44, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
2084 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2e, 0x76, 0x31,
2085 0x2e, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x54,
2086 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x75, 0x6c,
2087 0x65, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4f, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52,
2088 0x02, 0x6f, 0x70, 0x12, 0x20, 0x0a, 0x09, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x70, 0x61, 0x74, 0x68,
2089 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x08, 0x66, 0x72, 0x6f,
2090 0x6d, 0x50, 0x61, 0x74, 0x68, 0x12, 0x17, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x03, 0x20,
2091 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x19,
2092 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0,
2093 0x41, 0x01, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x58, 0x0a, 0x02, 0x4f, 0x70, 0x12,
2094 0x12, 0x0a, 0x0e, 0x4f, 0x50, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45,
2095 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x52, 0x45, 0x4d, 0x4f, 0x56, 0x45, 0x10, 0x01, 0x12,
2096 0x08, 0x0a, 0x04, 0x4d, 0x4f, 0x56, 0x45, 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04, 0x43, 0x4f, 0x50,
2097 0x59, 0x10, 0x03, 0x12, 0x07, 0x0a, 0x03, 0x41, 0x44, 0x44, 0x10, 0x04, 0x12, 0x08, 0x0a, 0x04,
2098 0x54, 0x45, 0x53, 0x54, 0x10, 0x05, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x45, 0x50, 0x4c, 0x41, 0x43,
2099 0x45, 0x10, 0x06, 0x1a, 0xb1, 0x01, 0x0a, 0x0e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
2100 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x23, 0x0a, 0x0a, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70,
2101 0x61, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52,
2102 0x0a, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x12, 0x58, 0x0a, 0x0b, 0x67,
2103 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x6b, 0x69, 0x6e, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b,
2104 0x32, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
2105 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73,
2106 0x74, 0x6f, 0x72, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70,
2107 0x4b, 0x69, 0x6e, 0x64, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0a, 0x67, 0x72, 0x6f, 0x75, 0x70,
2108 0x4b, 0x69, 0x6e, 0x64, 0x73, 0x12, 0x20, 0x0a, 0x09, 0x6a, 0x73, 0x6f, 0x6e, 0x5f, 0x70, 0x61,
2109 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x08, 0x6a,
2110 0x73, 0x6f, 0x6e, 0x50, 0x61, 0x74, 0x68, 0x1a, 0x8f, 0x02, 0x0a, 0x12, 0x54, 0x72, 0x61, 0x6e,
2111 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x6b,
2112 0x0a, 0x0d, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18,
2113 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x41, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
2114 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2e, 0x76,
2115 0x31, 0x2e, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e,
2116 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x75,
2117 0x6c, 0x65, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0c, 0x66,
2118 0x69, 0x65, 0x6c, 0x64, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x65, 0x0a, 0x0f, 0x72,
2119 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x02,
2120 0x20, 0x01, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
2121 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2e, 0x76, 0x31,
2122 0x2e, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x52,
2123 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x42, 0x03, 0xe0,
2124 0x41, 0x01, 0x52, 0x0e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x46, 0x69, 0x6c, 0x74,
2125 0x65, 0x72, 0x12, 0x25, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f,
2126 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0b, 0x64, 0x65,
2127 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0xe1, 0x01, 0x0a, 0x1e, 0x56, 0x6f,
2128 0x6c, 0x75, 0x6d, 0x65, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x50,
2129 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x5d, 0x0a, 0x06,
2130 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x40, 0x2e, 0x67,
2131 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x62,
2132 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65,
2133 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x44, 0x61, 0x74,
2134 0x61, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x42, 0x03,
2135 0xe0, 0x41, 0x02, 0x52, 0x06, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x57, 0x0a, 0x0b, 0x76,
2136 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e,
2137 0x32, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
2138 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x6f, 0x6c,
2139 0x75, 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 0x45, 0x6e, 0x75, 0x6d, 0x2e, 0x56, 0x6f, 0x6c, 0x75,
2140 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 0x48, 0x00, 0x52, 0x0a, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65,
2141 0x54, 0x79, 0x70, 0x65, 0x42, 0x07, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x1a, 0xdf, 0x02,
2142 0x0a, 0x0c, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x86,
2143 0x01, 0x0a, 0x17, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x6b, 0x69, 0x6e, 0x64, 0x5f, 0x64, 0x65,
2144 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
2145 0x32, 0x49, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
2146 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73,
2147 0x74, 0x6f, 0x72, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x52, 0x65, 0x73, 0x74, 0x6f,
2148 0x72, 0x65, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4b, 0x69, 0x6e,
2149 0x64, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x79, 0x42, 0x03, 0xe0, 0x41, 0x01,
2150 0x52, 0x15, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x4b, 0x69, 0x6e, 0x64, 0x44, 0x65, 0x70, 0x65, 0x6e,
2151 0x64, 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, 0x1a, 0xc5, 0x01, 0x0a, 0x13, 0x47, 0x72, 0x6f, 0x75,
2152 0x70, 0x4b, 0x69, 0x6e, 0x64, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x79, 0x12,
2153 0x57, 0x0a, 0x0a, 0x73, 0x61, 0x74, 0x69, 0x73, 0x66, 0x79, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20,
2154 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
2155 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2e, 0x76, 0x31, 0x2e,
2156 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x47, 0x72,
2157 0x6f, 0x75, 0x70, 0x4b, 0x69, 0x6e, 0x64, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, 0x73, 0x61,
2158 0x74, 0x69, 0x73, 0x66, 0x79, 0x69, 0x6e, 0x67, 0x12, 0x55, 0x0a, 0x09, 0x72, 0x65, 0x71, 0x75,
2159 0x69, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x67, 0x6f,
2160 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x62, 0x61,
2161 0x63, 0x6b, 0x75, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x43,
2162 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4b, 0x69, 0x6e, 0x64, 0x42,
2163 0x03, 0xe0, 0x41, 0x02, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x69, 0x6e, 0x67, 0x22,
2164 0xaf, 0x01, 0x0a, 0x17, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65,
2165 0x73, 0x74, 0x6f, 0x72, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x2a, 0x0a, 0x26, 0x56,
2166 0x4f, 0x4c, 0x55, 0x4d, 0x45, 0x5f, 0x44, 0x41, 0x54, 0x41, 0x5f, 0x52, 0x45, 0x53, 0x54, 0x4f,
2167 0x52, 0x45, 0x5f, 0x50, 0x4f, 0x4c, 0x49, 0x43, 0x59, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43,
2168 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x23, 0x0a, 0x1f, 0x52, 0x45, 0x53, 0x54, 0x4f,
2169 0x52, 0x45, 0x5f, 0x56, 0x4f, 0x4c, 0x55, 0x4d, 0x45, 0x5f, 0x44, 0x41, 0x54, 0x41, 0x5f, 0x46,
2170 0x52, 0x4f, 0x4d, 0x5f, 0x42, 0x41, 0x43, 0x4b, 0x55, 0x50, 0x10, 0x01, 0x12, 0x23, 0x0a, 0x1f,
2171 0x52, 0x45, 0x55, 0x53, 0x45, 0x5f, 0x56, 0x4f, 0x4c, 0x55, 0x4d, 0x45, 0x5f, 0x48, 0x41, 0x4e,
2172 0x44, 0x4c, 0x45, 0x5f, 0x46, 0x52, 0x4f, 0x4d, 0x5f, 0x42, 0x41, 0x43, 0x4b, 0x55, 0x50, 0x10,
2173 0x02, 0x12, 0x1e, 0x0a, 0x1a, 0x4e, 0x4f, 0x5f, 0x56, 0x4f, 0x4c, 0x55, 0x4d, 0x45, 0x5f, 0x44,
2174 0x41, 0x54, 0x41, 0x5f, 0x52, 0x45, 0x53, 0x54, 0x4f, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10,
2175 0x03, 0x22, 0x83, 0x01, 0x0a, 0x1d, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73,
2176 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x50, 0x6f, 0x6c,
2177 0x69, 0x63, 0x79, 0x12, 0x30, 0x0a, 0x2c, 0x43, 0x4c, 0x55, 0x53, 0x54, 0x45, 0x52, 0x5f, 0x52,
2178 0x45, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x43, 0x4f, 0x4e, 0x46, 0x4c, 0x49, 0x43, 0x54,
2179 0x5f, 0x50, 0x4f, 0x4c, 0x49, 0x43, 0x59, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46,
2180 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x18, 0x0a, 0x14, 0x55, 0x53, 0x45, 0x5f, 0x45, 0x58, 0x49,
2181 0x53, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x56, 0x45, 0x52, 0x53, 0x49, 0x4f, 0x4e, 0x10, 0x01, 0x12,
2182 0x16, 0x0a, 0x12, 0x55, 0x53, 0x45, 0x5f, 0x42, 0x41, 0x43, 0x4b, 0x55, 0x50, 0x5f, 0x56, 0x45,
2183 0x52, 0x53, 0x49, 0x4f, 0x4e, 0x10, 0x02, 0x22, 0xe0, 0x01, 0x0a, 0x1d, 0x4e, 0x61, 0x6d, 0x65,
2184 0x73, 0x70, 0x61, 0x63, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65,
2185 0x73, 0x74, 0x6f, 0x72, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x30, 0x0a, 0x2c, 0x4e, 0x41, 0x4d,
2186 0x45, 0x53, 0x50, 0x41, 0x43, 0x45, 0x44, 0x5f, 0x52, 0x45, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45,
2187 0x5f, 0x52, 0x45, 0x53, 0x54, 0x4f, 0x52, 0x45, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x55, 0x4e,
2188 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x16, 0x0a, 0x12, 0x44,
2189 0x45, 0x4c, 0x45, 0x54, 0x45, 0x5f, 0x41, 0x4e, 0x44, 0x5f, 0x52, 0x45, 0x53, 0x54, 0x4f, 0x52,
2190 0x45, 0x10, 0x01, 0x12, 0x14, 0x0a, 0x10, 0x46, 0x41, 0x49, 0x4c, 0x5f, 0x4f, 0x4e, 0x5f, 0x43,
2191 0x4f, 0x4e, 0x46, 0x4c, 0x49, 0x43, 0x54, 0x10, 0x02, 0x12, 0x1a, 0x0a, 0x16, 0x4d, 0x45, 0x52,
2192 0x47, 0x45, 0x5f, 0x53, 0x4b, 0x49, 0x50, 0x5f, 0x4f, 0x4e, 0x5f, 0x43, 0x4f, 0x4e, 0x46, 0x4c,
2193 0x49, 0x43, 0x54, 0x10, 0x03, 0x12, 0x24, 0x0a, 0x20, 0x4d, 0x45, 0x52, 0x47, 0x45, 0x5f, 0x52,
2194 0x45, 0x50, 0x4c, 0x41, 0x43, 0x45, 0x5f, 0x56, 0x4f, 0x4c, 0x55, 0x4d, 0x45, 0x5f, 0x4f, 0x4e,
2195 0x5f, 0x43, 0x4f, 0x4e, 0x46, 0x4c, 0x49, 0x43, 0x54, 0x10, 0x04, 0x12, 0x1d, 0x0a, 0x19, 0x4d,
2196 0x45, 0x52, 0x47, 0x45, 0x5f, 0x52, 0x45, 0x50, 0x4c, 0x41, 0x43, 0x45, 0x5f, 0x4f, 0x4e, 0x5f,
2197 0x43, 0x4f, 0x4e, 0x46, 0x4c, 0x49, 0x43, 0x54, 0x10, 0x05, 0x42, 0x23, 0x0a, 0x21, 0x6e, 0x61,
2198 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
2199 0x65, 0x5f, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x5f, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x22,
2200 0xb7, 0x02, 0x0a, 0x10, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x65, 0x6c, 0x65,
2201 0x63, 0x74, 0x6f, 0x72, 0x12, 0x56, 0x0a, 0x0a, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x6b, 0x69,
2202 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
2203 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75,
2204 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x43, 0x6f, 0x6e, 0x66,
2205 0x69, 0x67, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4b, 0x69, 0x6e, 0x64, 0x42, 0x03, 0xe0, 0x41,
2206 0x01, 0x52, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x4b, 0x69, 0x6e, 0x64, 0x12, 0x17, 0x0a, 0x04,
2207 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52,
2208 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61,
2209 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x09, 0x6e,
2210 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x54, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65,
2211 0x6c, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
2212 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75,
2213 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x65, 0x6c,
2214 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72,
2215 0x79, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x1a, 0x39,
2216 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a,
2217 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12,
2218 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
2219 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xdc, 0x01, 0x0a, 0x1f, 0x56, 0x6f,
2220 0x6c, 0x75, 0x6d, 0x65, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x50,
2221 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x12, 0x5d, 0x0a,
2222 0x06, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x40, 0x2e,
2223 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65,
2224 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72,
2225 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x44, 0x61,
2226 0x74, 0x61, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x42,
2227 0x03, 0xe0, 0x41, 0x02, 0x52, 0x06, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x51, 0x0a, 0x0d,
2228 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x70, 0x76, 0x63, 0x73, 0x18, 0x02, 0x20,
2229 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
2230 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2e, 0x76, 0x31, 0x2e,
2231 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x48,
2232 0x00, 0x52, 0x0c, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x65, 0x64, 0x50, 0x76, 0x63, 0x73, 0x42,
2233 0x07, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x42, 0xc3, 0x01, 0x0a, 0x1d, 0x63, 0x6f, 0x6d,
2234 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b,
2235 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2e, 0x76, 0x31, 0x42, 0x0c, 0x52, 0x65, 0x73, 0x74,
2236 0x6f, 0x72, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3b, 0x63, 0x6c, 0x6f, 0x75,
2237 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f,
2238 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f,
2239 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x70, 0x62, 0x3b, 0x67, 0x6b, 0x65, 0x62,
2240 0x61, 0x63, 0x6b, 0x75, 0x70, 0x70, 0x62, 0xaa, 0x02, 0x19, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
2241 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x47, 0x6b, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70,
2242 0x2e, 0x56, 0x31, 0xca, 0x02, 0x19, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f,
2243 0x75, 0x64, 0x5c, 0x47, 0x6b, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x5c, 0x56, 0x31, 0xea,
2244 0x02, 0x1c, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a,
2245 0x3a, 0x47, 0x6b, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06,
2246 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
2247 }
2248
2249 var (
2250 file_google_cloud_gkebackup_v1_restore_proto_rawDescOnce sync.Once
2251 file_google_cloud_gkebackup_v1_restore_proto_rawDescData = file_google_cloud_gkebackup_v1_restore_proto_rawDesc
2252 )
2253
2254 func file_google_cloud_gkebackup_v1_restore_proto_rawDescGZIP() []byte {
2255 file_google_cloud_gkebackup_v1_restore_proto_rawDescOnce.Do(func() {
2256 file_google_cloud_gkebackup_v1_restore_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_gkebackup_v1_restore_proto_rawDescData)
2257 })
2258 return file_google_cloud_gkebackup_v1_restore_proto_rawDescData
2259 }
2260
2261 var file_google_cloud_gkebackup_v1_restore_proto_enumTypes = make([]protoimpl.EnumInfo, 5)
2262 var file_google_cloud_gkebackup_v1_restore_proto_msgTypes = make([]protoimpl.MessageInfo, 16)
2263 var file_google_cloud_gkebackup_v1_restore_proto_goTypes = []any{
2264 (Restore_State)(0), // 0: google.cloud.gkebackup.v1.Restore.State
2265 (RestoreConfig_VolumeDataRestorePolicy)(0), // 1: google.cloud.gkebackup.v1.RestoreConfig.VolumeDataRestorePolicy
2266 (RestoreConfig_ClusterResourceConflictPolicy)(0), // 2: google.cloud.gkebackup.v1.RestoreConfig.ClusterResourceConflictPolicy
2267 (RestoreConfig_NamespacedResourceRestoreMode)(0), // 3: google.cloud.gkebackup.v1.RestoreConfig.NamespacedResourceRestoreMode
2268 (RestoreConfig_TransformationRuleAction_Op)(0), // 4: google.cloud.gkebackup.v1.RestoreConfig.TransformationRuleAction.Op
2269 (*Restore)(nil), // 5: google.cloud.gkebackup.v1.Restore
2270 (*RestoreConfig)(nil), // 6: google.cloud.gkebackup.v1.RestoreConfig
2271 (*ResourceSelector)(nil), // 7: google.cloud.gkebackup.v1.ResourceSelector
2272 (*VolumeDataRestorePolicyOverride)(nil), // 8: google.cloud.gkebackup.v1.VolumeDataRestorePolicyOverride
2273 (*Restore_Filter)(nil), // 9: google.cloud.gkebackup.v1.Restore.Filter
2274 nil, // 10: google.cloud.gkebackup.v1.Restore.LabelsEntry
2275 (*RestoreConfig_GroupKind)(nil), // 11: google.cloud.gkebackup.v1.RestoreConfig.GroupKind
2276 (*RestoreConfig_ClusterResourceRestoreScope)(nil), // 12: google.cloud.gkebackup.v1.RestoreConfig.ClusterResourceRestoreScope
2277 (*RestoreConfig_SubstitutionRule)(nil), // 13: google.cloud.gkebackup.v1.RestoreConfig.SubstitutionRule
2278 (*RestoreConfig_TransformationRuleAction)(nil), // 14: google.cloud.gkebackup.v1.RestoreConfig.TransformationRuleAction
2279 (*RestoreConfig_ResourceFilter)(nil), // 15: google.cloud.gkebackup.v1.RestoreConfig.ResourceFilter
2280 (*RestoreConfig_TransformationRule)(nil), // 16: google.cloud.gkebackup.v1.RestoreConfig.TransformationRule
2281 (*RestoreConfig_VolumeDataRestorePolicyBinding)(nil), // 17: google.cloud.gkebackup.v1.RestoreConfig.VolumeDataRestorePolicyBinding
2282 (*RestoreConfig_RestoreOrder)(nil), // 18: google.cloud.gkebackup.v1.RestoreConfig.RestoreOrder
2283 (*RestoreConfig_RestoreOrder_GroupKindDependency)(nil), // 19: google.cloud.gkebackup.v1.RestoreConfig.RestoreOrder.GroupKindDependency
2284 nil, // 20: google.cloud.gkebackup.v1.ResourceSelector.LabelsEntry
2285 (*timestamppb.Timestamp)(nil), // 21: google.protobuf.Timestamp
2286 (*Namespaces)(nil), // 22: google.cloud.gkebackup.v1.Namespaces
2287 (*NamespacedNames)(nil), // 23: google.cloud.gkebackup.v1.NamespacedNames
2288 (VolumeTypeEnum_VolumeType)(0), // 24: google.cloud.gkebackup.v1.VolumeTypeEnum.VolumeType
2289 }
2290 var file_google_cloud_gkebackup_v1_restore_proto_depIdxs = []int32{
2291 21, // 0: google.cloud.gkebackup.v1.Restore.create_time:type_name -> google.protobuf.Timestamp
2292 21, // 1: google.cloud.gkebackup.v1.Restore.update_time:type_name -> google.protobuf.Timestamp
2293 6, // 2: google.cloud.gkebackup.v1.Restore.restore_config:type_name -> google.cloud.gkebackup.v1.RestoreConfig
2294 10, // 3: google.cloud.gkebackup.v1.Restore.labels:type_name -> google.cloud.gkebackup.v1.Restore.LabelsEntry
2295 0, // 4: google.cloud.gkebackup.v1.Restore.state:type_name -> google.cloud.gkebackup.v1.Restore.State
2296 21, // 5: google.cloud.gkebackup.v1.Restore.complete_time:type_name -> google.protobuf.Timestamp
2297 9, // 6: google.cloud.gkebackup.v1.Restore.filter:type_name -> google.cloud.gkebackup.v1.Restore.Filter
2298 8, // 7: google.cloud.gkebackup.v1.Restore.volume_data_restore_policy_overrides:type_name -> google.cloud.gkebackup.v1.VolumeDataRestorePolicyOverride
2299 1, // 8: google.cloud.gkebackup.v1.RestoreConfig.volume_data_restore_policy:type_name -> google.cloud.gkebackup.v1.RestoreConfig.VolumeDataRestorePolicy
2300 2, // 9: google.cloud.gkebackup.v1.RestoreConfig.cluster_resource_conflict_policy:type_name -> google.cloud.gkebackup.v1.RestoreConfig.ClusterResourceConflictPolicy
2301 3, // 10: google.cloud.gkebackup.v1.RestoreConfig.namespaced_resource_restore_mode:type_name -> google.cloud.gkebackup.v1.RestoreConfig.NamespacedResourceRestoreMode
2302 12, // 11: google.cloud.gkebackup.v1.RestoreConfig.cluster_resource_restore_scope:type_name -> google.cloud.gkebackup.v1.RestoreConfig.ClusterResourceRestoreScope
2303 22, // 12: google.cloud.gkebackup.v1.RestoreConfig.selected_namespaces:type_name -> google.cloud.gkebackup.v1.Namespaces
2304 23, // 13: google.cloud.gkebackup.v1.RestoreConfig.selected_applications:type_name -> google.cloud.gkebackup.v1.NamespacedNames
2305 22, // 14: google.cloud.gkebackup.v1.RestoreConfig.excluded_namespaces:type_name -> google.cloud.gkebackup.v1.Namespaces
2306 13, // 15: google.cloud.gkebackup.v1.RestoreConfig.substitution_rules:type_name -> google.cloud.gkebackup.v1.RestoreConfig.SubstitutionRule
2307 16, // 16: google.cloud.gkebackup.v1.RestoreConfig.transformation_rules:type_name -> google.cloud.gkebackup.v1.RestoreConfig.TransformationRule
2308 17, // 17: google.cloud.gkebackup.v1.RestoreConfig.volume_data_restore_policy_bindings:type_name -> google.cloud.gkebackup.v1.RestoreConfig.VolumeDataRestorePolicyBinding
2309 18, // 18: google.cloud.gkebackup.v1.RestoreConfig.restore_order:type_name -> google.cloud.gkebackup.v1.RestoreConfig.RestoreOrder
2310 11, // 19: google.cloud.gkebackup.v1.ResourceSelector.group_kind:type_name -> google.cloud.gkebackup.v1.RestoreConfig.GroupKind
2311 20, // 20: google.cloud.gkebackup.v1.ResourceSelector.labels:type_name -> google.cloud.gkebackup.v1.ResourceSelector.LabelsEntry
2312 1, // 21: google.cloud.gkebackup.v1.VolumeDataRestorePolicyOverride.policy:type_name -> google.cloud.gkebackup.v1.RestoreConfig.VolumeDataRestorePolicy
2313 23, // 22: google.cloud.gkebackup.v1.VolumeDataRestorePolicyOverride.selected_pvcs:type_name -> google.cloud.gkebackup.v1.NamespacedNames
2314 7, // 23: google.cloud.gkebackup.v1.Restore.Filter.inclusion_filters:type_name -> google.cloud.gkebackup.v1.ResourceSelector
2315 7, // 24: google.cloud.gkebackup.v1.Restore.Filter.exclusion_filters:type_name -> google.cloud.gkebackup.v1.ResourceSelector
2316 11, // 25: google.cloud.gkebackup.v1.RestoreConfig.ClusterResourceRestoreScope.selected_group_kinds:type_name -> google.cloud.gkebackup.v1.RestoreConfig.GroupKind
2317 11, // 26: google.cloud.gkebackup.v1.RestoreConfig.ClusterResourceRestoreScope.excluded_group_kinds:type_name -> google.cloud.gkebackup.v1.RestoreConfig.GroupKind
2318 11, // 27: google.cloud.gkebackup.v1.RestoreConfig.SubstitutionRule.target_group_kinds:type_name -> google.cloud.gkebackup.v1.RestoreConfig.GroupKind
2319 4, // 28: google.cloud.gkebackup.v1.RestoreConfig.TransformationRuleAction.op:type_name -> google.cloud.gkebackup.v1.RestoreConfig.TransformationRuleAction.Op
2320 11, // 29: google.cloud.gkebackup.v1.RestoreConfig.ResourceFilter.group_kinds:type_name -> google.cloud.gkebackup.v1.RestoreConfig.GroupKind
2321 14, // 30: google.cloud.gkebackup.v1.RestoreConfig.TransformationRule.field_actions:type_name -> google.cloud.gkebackup.v1.RestoreConfig.TransformationRuleAction
2322 15, // 31: google.cloud.gkebackup.v1.RestoreConfig.TransformationRule.resource_filter:type_name -> google.cloud.gkebackup.v1.RestoreConfig.ResourceFilter
2323 1, // 32: google.cloud.gkebackup.v1.RestoreConfig.VolumeDataRestorePolicyBinding.policy:type_name -> google.cloud.gkebackup.v1.RestoreConfig.VolumeDataRestorePolicy
2324 24, // 33: google.cloud.gkebackup.v1.RestoreConfig.VolumeDataRestorePolicyBinding.volume_type:type_name -> google.cloud.gkebackup.v1.VolumeTypeEnum.VolumeType
2325 19, // 34: google.cloud.gkebackup.v1.RestoreConfig.RestoreOrder.group_kind_dependencies:type_name -> google.cloud.gkebackup.v1.RestoreConfig.RestoreOrder.GroupKindDependency
2326 11, // 35: google.cloud.gkebackup.v1.RestoreConfig.RestoreOrder.GroupKindDependency.satisfying:type_name -> google.cloud.gkebackup.v1.RestoreConfig.GroupKind
2327 11, // 36: google.cloud.gkebackup.v1.RestoreConfig.RestoreOrder.GroupKindDependency.requiring:type_name -> google.cloud.gkebackup.v1.RestoreConfig.GroupKind
2328 37, // [37:37] is the sub-list for method output_type
2329 37, // [37:37] is the sub-list for method input_type
2330 37, // [37:37] is the sub-list for extension type_name
2331 37, // [37:37] is the sub-list for extension extendee
2332 0, // [0:37] is the sub-list for field type_name
2333 }
2334
2335 func init() { file_google_cloud_gkebackup_v1_restore_proto_init() }
2336 func file_google_cloud_gkebackup_v1_restore_proto_init() {
2337 if File_google_cloud_gkebackup_v1_restore_proto != nil {
2338 return
2339 }
2340 file_google_cloud_gkebackup_v1_common_proto_init()
2341 file_google_cloud_gkebackup_v1_restore_proto_msgTypes[1].OneofWrappers = []any{
2342 (*RestoreConfig_AllNamespaces)(nil),
2343 (*RestoreConfig_SelectedNamespaces)(nil),
2344 (*RestoreConfig_SelectedApplications)(nil),
2345 (*RestoreConfig_NoNamespaces)(nil),
2346 (*RestoreConfig_ExcludedNamespaces)(nil),
2347 }
2348 file_google_cloud_gkebackup_v1_restore_proto_msgTypes[3].OneofWrappers = []any{
2349 (*VolumeDataRestorePolicyOverride_SelectedPvcs)(nil),
2350 }
2351 file_google_cloud_gkebackup_v1_restore_proto_msgTypes[12].OneofWrappers = []any{
2352 (*RestoreConfig_VolumeDataRestorePolicyBinding_VolumeType)(nil),
2353 }
2354 type x struct{}
2355 out := protoimpl.TypeBuilder{
2356 File: protoimpl.DescBuilder{
2357 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
2358 RawDescriptor: file_google_cloud_gkebackup_v1_restore_proto_rawDesc,
2359 NumEnums: 5,
2360 NumMessages: 16,
2361 NumExtensions: 0,
2362 NumServices: 0,
2363 },
2364 GoTypes: file_google_cloud_gkebackup_v1_restore_proto_goTypes,
2365 DependencyIndexes: file_google_cloud_gkebackup_v1_restore_proto_depIdxs,
2366 EnumInfos: file_google_cloud_gkebackup_v1_restore_proto_enumTypes,
2367 MessageInfos: file_google_cloud_gkebackup_v1_restore_proto_msgTypes,
2368 }.Build()
2369 File_google_cloud_gkebackup_v1_restore_proto = out.File
2370 file_google_cloud_gkebackup_v1_restore_proto_rawDesc = nil
2371 file_google_cloud_gkebackup_v1_restore_proto_goTypes = nil
2372 file_google_cloud_gkebackup_v1_restore_proto_depIdxs = nil
2373 }