Debian Codegraph @

gkebackup/apiv1/gkebackuppb/restore_plan.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_plan.proto
20
21 package gkebackuppb
22
23 import (
24 _ "google.golang.org/genproto/googleapis/api/annotations"
25 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
26 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
27 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
28 reflect "reflect"
29 sync "sync"
30 )
31
32 const (
33 // Verify that this generated code is sufficiently up-to-date.
34 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
35 // Verify that runtime/protoimpl is sufficiently up-to-date.
36 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
37 )
38
39 // State
40 type RestorePlan_State int32
41
42 const (
43 // Default first value for Enums.
44 RestorePlan_STATE_UNSPECIFIED RestorePlan_State = 0
45 // Waiting for cluster state to be RUNNING.
46 RestorePlan_CLUSTER_PENDING RestorePlan_State = 1
47 // The RestorePlan has successfully been created and is ready for Restores.
48 RestorePlan_READY RestorePlan_State = 2
49 // RestorePlan creation has failed.
50 RestorePlan_FAILED RestorePlan_State = 3
51 // The RestorePlan is in the process of being deleted.
52 RestorePlan_DELETING RestorePlan_State = 4
53 )
54
55 // Enum value maps for RestorePlan_State.
56 var (
57 RestorePlan_State_name = map[int32]string{
58 0: "STATE_UNSPECIFIED",
59 1: "CLUSTER_PENDING",
60 2: "READY",
61 3: "FAILED",
62 4: "DELETING",
63 }
64 RestorePlan_State_value = map[string]int32{
65 "STATE_UNSPECIFIED": 0,
66 "CLUSTER_PENDING": 1,
67 "READY": 2,
68 "FAILED": 3,
69 "DELETING": 4,
70 }
71 )
72
73 func (x RestorePlan_State) Enum() *RestorePlan_State {
74 p := new(RestorePlan_State)
75 *p = x
76 return p
77 }
78
79 func (x RestorePlan_State) String() string {
80 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
81 }
82
83 func (RestorePlan_State) Descriptor() protoreflect.EnumDescriptor {
84 return file_google_cloud_gkebackup_v1_restore_plan_proto_enumTypes[0].Descriptor()
85 }
86
87 func (RestorePlan_State) Type() protoreflect.EnumType {
88 return &file_google_cloud_gkebackup_v1_restore_plan_proto_enumTypes[0]
89 }
90
91 func (x RestorePlan_State) Number() protoreflect.EnumNumber {
92 return protoreflect.EnumNumber(x)
93 }
94
95 // Deprecated: Use RestorePlan_State.Descriptor instead.
96 func (RestorePlan_State) EnumDescriptor() ([]byte, []int) {
97 return file_google_cloud_gkebackup_v1_restore_plan_proto_rawDescGZIP(), []int{0, 0}
98 }
99
100 // The configuration of a potential series of Restore operations to be performed
101 // against Backups belong to a particular BackupPlan.
102 type RestorePlan struct {
103 state protoimpl.MessageState
104 sizeCache protoimpl.SizeCache
105 unknownFields protoimpl.UnknownFields
106
107 // Output only. The full name of the RestorePlan resource.
108 // Format: `projects/*/locations/*/restorePlans/*`.
109 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
110 // Output only. Server generated global unique identifier of
111 // [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier) format.
112 Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"`
113 // Output only. The timestamp when this RestorePlan resource was
114 // created.
115 CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
116 // Output only. The timestamp when this RestorePlan resource was last
117 // updated.
118 UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
119 // Optional. User specified descriptive string for this RestorePlan.
120 Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
121 // Required. Immutable. A reference to the
122 // [BackupPlan][google.cloud.gkebackup.v1.BackupPlan] from which Backups may
123 // be used as the source for Restores created via this RestorePlan. Format:
124 // `projects/*/locations/*/backupPlans/*`.
125 BackupPlan string `protobuf:"bytes,6,opt,name=backup_plan,json=backupPlan,proto3" json:"backup_plan,omitempty"`
126 // Required. Immutable. The target cluster into which Restores created via
127 // this RestorePlan will restore data. NOTE: the cluster's region must be the
128 // same as the RestorePlan. Valid formats:
129 //
130 // - `projects/*/locations/*/clusters/*`
131 // - `projects/*/zones/*/clusters/*`
132 Cluster string `protobuf:"bytes,7,opt,name=cluster,proto3" json:"cluster,omitempty"`
133 // Required. Configuration of Restores created via this RestorePlan.
134 RestoreConfig *RestoreConfig `protobuf:"bytes,8,opt,name=restore_config,json=restoreConfig,proto3" json:"restore_config,omitempty"`
135 // Optional. A set of custom labels supplied by user.
136 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"`
137 // Output only. `etag` is used for optimistic concurrency control as a way to
138 // help prevent simultaneous updates of a restore from overwriting each other.
139 // It is strongly suggested that systems make use of the `etag` in the
140 // read-modify-write cycle to perform restore updates in order to avoid
141 // race conditions: An `etag` is returned in the response to `GetRestorePlan`,
142 // and systems are expected to put that etag in the request to
143 // `UpdateRestorePlan` or `DeleteRestorePlan` to ensure that their change
144 // will be applied to the same version of the resource.
145 Etag string `protobuf:"bytes,10,opt,name=etag,proto3" json:"etag,omitempty"`
146 // Output only. State of the RestorePlan. This State field reflects the
147 // various stages a RestorePlan can be in
148 // during the Create operation.
149 State RestorePlan_State `protobuf:"varint,11,opt,name=state,proto3,enum=google.cloud.gkebackup.v1.RestorePlan_State" json:"state,omitempty"`
150 // Output only. Human-readable description of why RestorePlan is in the
151 // current `state`. This field is only meant for human readability and should
152 // not be used programmatically as this field is not guaranteed to be
153 // consistent.
154 StateReason string `protobuf:"bytes,12,opt,name=state_reason,json=stateReason,proto3" json:"state_reason,omitempty"`
155 // Output only. The fully qualified name of the RestoreChannel to be used to
156 // create a RestorePlan. This field is set only if the `backup_plan` is in a
157 // different project than the RestorePlan. Format:
158 // `projects/*/locations/*/restoreChannels/*`
159 RestoreChannel string `protobuf:"bytes,13,opt,name=restore_channel,json=restoreChannel,proto3" json:"restore_channel,omitempty"`
160 }
161
162 func (x *RestorePlan) Reset() {
163 *x = RestorePlan{}
164 mi := &file_google_cloud_gkebackup_v1_restore_plan_proto_msgTypes[0]
165 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
166 ms.StoreMessageInfo(mi)
167 }
168
169 func (x *RestorePlan) String() string {
170 return protoimpl.X.MessageStringOf(x)
171 }
172
173 func (*RestorePlan) ProtoMessage() {}
174
175 func (x *RestorePlan) ProtoReflect() protoreflect.Message {
176 mi := &file_google_cloud_gkebackup_v1_restore_plan_proto_msgTypes[0]
177 if x != nil {
178 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
179 if ms.LoadMessageInfo() == nil {
180 ms.StoreMessageInfo(mi)
181 }
182 return ms
183 }
184 return mi.MessageOf(x)
185 }
186
187 // Deprecated: Use RestorePlan.ProtoReflect.Descriptor instead.
188 func (*RestorePlan) Descriptor() ([]byte, []int) {
189 return file_google_cloud_gkebackup_v1_restore_plan_proto_rawDescGZIP(), []int{0}
190 }
191
192 func (x *RestorePlan) GetName() string {
193 if x != nil {
194 return x.Name
195 }
196 return ""
197 }
198
199 func (x *RestorePlan) GetUid() string {
200 if x != nil {
201 return x.Uid
202 }
203 return ""
204 }
205
206 func (x *RestorePlan) GetCreateTime() *timestamppb.Timestamp {
207 if x != nil {
208 return x.CreateTime
209 }
210 return nil
211 }
212
213 func (x *RestorePlan) GetUpdateTime() *timestamppb.Timestamp {
214 if x != nil {
215 return x.UpdateTime
216 }
217 return nil
218 }
219
220 func (x *RestorePlan) GetDescription() string {
221 if x != nil {
222 return x.Description
223 }
224 return ""
225 }
226
227 func (x *RestorePlan) GetBackupPlan() string {
228 if x != nil {
229 return x.BackupPlan
230 }
231 return ""
232 }
233
234 func (x *RestorePlan) GetCluster() string {
235 if x != nil {
236 return x.Cluster
237 }
238 return ""
239 }
240
241 func (x *RestorePlan) GetRestoreConfig() *RestoreConfig {
242 if x != nil {
243 return x.RestoreConfig
244 }
245 return nil
246 }
247
248 func (x *RestorePlan) GetLabels() map[string]string {
249 if x != nil {
250 return x.Labels
251 }
252 return nil
253 }
254
255 func (x *RestorePlan) GetEtag() string {
256 if x != nil {
257 return x.Etag
258 }
259 return ""
260 }
261
262 func (x *RestorePlan) GetState() RestorePlan_State {
263 if x != nil {
264 return x.State
265 }
266 return RestorePlan_STATE_UNSPECIFIED
267 }
268
269 func (x *RestorePlan) GetStateReason() string {
270 if x != nil {
271 return x.StateReason
272 }
273 return ""
274 }
275
276 func (x *RestorePlan) GetRestoreChannel() string {
277 if x != nil {
278 return x.RestoreChannel
279 }
280 return ""
281 }
282
283 var File_google_cloud_gkebackup_v1_restore_plan_proto protoreflect.FileDescriptor
284
285 var file_google_cloud_gkebackup_v1_restore_plan_proto_rawDesc = []byte{
286 0x0a, 0x2c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x67,
287 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x74,
288 0x6f, 0x72, 0x65, 0x5f, 0x70, 0x6c, 0x61, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x19,
289 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65,
290 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
291 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61,
292 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67,
293 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e,
294 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x27, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c,
295 0x6f, 0x75, 0x64, 0x2f, 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2f, 0x76, 0x31,
296 0x2f, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f,
297 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f,
298 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22,
299 0x90, 0x08, 0x0a, 0x0b, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x50, 0x6c, 0x61, 0x6e, 0x12,
300 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0,
301 0x41, 0x03, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x15, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18,
302 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12,
303 0x40, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03,
304 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
305 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70,
306 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d,
307 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65,
308 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
309 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61,
310 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54,
311 0x69, 0x6d, 0x65, 0x12, 0x25, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69,
312 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0b, 0x64,
313 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4f, 0x0a, 0x0b, 0x62, 0x61,
314 0x63, 0x6b, 0x75, 0x70, 0x5f, 0x70, 0x6c, 0x61, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x42,
315 0x2e, 0xe0, 0x41, 0x05, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x25, 0x0a, 0x23, 0x67, 0x6b, 0x65, 0x62,
316 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73,
317 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x50, 0x6c, 0x61, 0x6e, 0x52,
318 0x0a, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x50, 0x6c, 0x61, 0x6e, 0x12, 0x45, 0x0a, 0x07, 0x63,
319 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2b, 0xe0, 0x41,
320 0x05, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x22, 0x0a, 0x20, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e,
321 0x65, 0x72, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f,
322 0x6d, 0x2f, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x07, 0x63, 0x6c, 0x75, 0x73, 0x74,
323 0x65, 0x72, 0x12, 0x54, 0x0a, 0x0e, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x5f, 0x63, 0x6f,
324 0x6e, 0x66, 0x69, 0x67, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f,
325 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63,
326 0x6b, 0x75, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x43, 0x6f,
327 0x6e, 0x66, 0x69, 0x67, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0d, 0x72, 0x65, 0x73, 0x74, 0x6f,
328 0x72, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x4f, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65,
329 0x6c, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
330 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75,
331 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x50, 0x6c, 0x61, 0x6e,
332 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x42, 0x03, 0xe0, 0x41,
333 0x01, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x17, 0x0a, 0x04, 0x65, 0x74, 0x61,
334 0x67, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x04, 0x65, 0x74,
335 0x61, 0x67, 0x12, 0x47, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28,
336 0x0e, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
337 0x2e, 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65,
338 0x73, 0x74, 0x6f, 0x72, 0x65, 0x50, 0x6c, 0x61, 0x6e, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x42,
339 0x03, 0xe0, 0x41, 0x03, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x26, 0x0a, 0x0c, 0x73,
340 0x74, 0x61, 0x74, 0x65, 0x5f, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x0c, 0x20, 0x01, 0x28,
341 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0b, 0x73, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x61,
342 0x73, 0x6f, 0x6e, 0x12, 0x58, 0x0a, 0x0f, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x5f, 0x63,
343 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2f, 0xe0, 0x41,
344 0x03, 0xfa, 0x41, 0x29, 0x0a, 0x27, 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2e,
345 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x52,
346 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x0e, 0x72,
347 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x1a, 0x39, 0x0a,
348 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03,
349 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14,
350 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76,
351 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x58, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74,
352 0x65, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45,
353 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0f, 0x43, 0x4c, 0x55, 0x53,
354 0x54, 0x45, 0x52, 0x5f, 0x50, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x09, 0x0a,
355 0x05, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x41, 0x49, 0x4c,
356 0x45, 0x44, 0x10, 0x03, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x49, 0x4e, 0x47,
357 0x10, 0x04, 0x3a, 0x6e, 0xea, 0x41, 0x6b, 0x0a, 0x24, 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b,
358 0x75, 0x70, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f,
359 0x6d, 0x2f, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x50, 0x6c, 0x61, 0x6e, 0x12, 0x43, 0x70,
360 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,
361 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63,
362 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x50, 0x6c,
363 0x61, 0x6e, 0x73, 0x2f, 0x7b, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x5f, 0x70, 0x6c, 0x61,
364 0x6e, 0x7d, 0x42, 0xc7, 0x01, 0x0a, 0x1d, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
365 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75,
366 0x70, 0x2e, 0x76, 0x31, 0x42, 0x10, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x50, 0x6c, 0x61,
367 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3b, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
368 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x6b,
369 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x67, 0x6b,
370 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x70, 0x62, 0x3b, 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63,
371 0x6b, 0x75, 0x70, 0x70, 0x62, 0xaa, 0x02, 0x19, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43,
372 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x47, 0x6b, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2e, 0x56,
373 0x31, 0xca, 0x02, 0x19, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64,
374 0x5c, 0x47, 0x6b, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x1c,
375 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x47,
376 0x6b, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72,
377 0x6f, 0x74, 0x6f, 0x33,
378 }
379
380 var (
381 file_google_cloud_gkebackup_v1_restore_plan_proto_rawDescOnce sync.Once
382 file_google_cloud_gkebackup_v1_restore_plan_proto_rawDescData = file_google_cloud_gkebackup_v1_restore_plan_proto_rawDesc
383 )
384
385 func file_google_cloud_gkebackup_v1_restore_plan_proto_rawDescGZIP() []byte {
386 file_google_cloud_gkebackup_v1_restore_plan_proto_rawDescOnce.Do(func() {
387 file_google_cloud_gkebackup_v1_restore_plan_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_gkebackup_v1_restore_plan_proto_rawDescData)
388 })
389 return file_google_cloud_gkebackup_v1_restore_plan_proto_rawDescData
390 }
391
392 var file_google_cloud_gkebackup_v1_restore_plan_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
393 var file_google_cloud_gkebackup_v1_restore_plan_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
394 var file_google_cloud_gkebackup_v1_restore_plan_proto_goTypes = []any{
395 (RestorePlan_State)(0), // 0: google.cloud.gkebackup.v1.RestorePlan.State
396 (*RestorePlan)(nil), // 1: google.cloud.gkebackup.v1.RestorePlan
397 nil, // 2: google.cloud.gkebackup.v1.RestorePlan.LabelsEntry
398 (*timestamppb.Timestamp)(nil), // 3: google.protobuf.Timestamp
399 (*RestoreConfig)(nil), // 4: google.cloud.gkebackup.v1.RestoreConfig
400 }
401 var file_google_cloud_gkebackup_v1_restore_plan_proto_depIdxs = []int32{
402 3, // 0: google.cloud.gkebackup.v1.RestorePlan.create_time:type_name -> google.protobuf.Timestamp
403 3, // 1: google.cloud.gkebackup.v1.RestorePlan.update_time:type_name -> google.protobuf.Timestamp
404 4, // 2: google.cloud.gkebackup.v1.RestorePlan.restore_config:type_name -> google.cloud.gkebackup.v1.RestoreConfig
405 2, // 3: google.cloud.gkebackup.v1.RestorePlan.labels:type_name -> google.cloud.gkebackup.v1.RestorePlan.LabelsEntry
406 0, // 4: google.cloud.gkebackup.v1.RestorePlan.state:type_name -> google.cloud.gkebackup.v1.RestorePlan.State
407 5, // [5:5] is the sub-list for method output_type
408 5, // [5:5] is the sub-list for method input_type
409 5, // [5:5] is the sub-list for extension type_name
410 5, // [5:5] is the sub-list for extension extendee
411 0, // [0:5] is the sub-list for field type_name
412 }
413
414 func init() { file_google_cloud_gkebackup_v1_restore_plan_proto_init() }
415 func file_google_cloud_gkebackup_v1_restore_plan_proto_init() {
416 if File_google_cloud_gkebackup_v1_restore_plan_proto != nil {
417 return
418 }
419 file_google_cloud_gkebackup_v1_restore_proto_init()
420 type x struct{}
421 out := protoimpl.TypeBuilder{
422 File: protoimpl.DescBuilder{
423 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
424 RawDescriptor: file_google_cloud_gkebackup_v1_restore_plan_proto_rawDesc,
425 NumEnums: 1,
426 NumMessages: 2,
427 NumExtensions: 0,
428 NumServices: 0,
429 },
430 GoTypes: file_google_cloud_gkebackup_v1_restore_plan_proto_goTypes,
431 DependencyIndexes: file_google_cloud_gkebackup_v1_restore_plan_proto_depIdxs,
432 EnumInfos: file_google_cloud_gkebackup_v1_restore_plan_proto_enumTypes,
433 MessageInfos: file_google_cloud_gkebackup_v1_restore_plan_proto_msgTypes,
434 }.Build()
435 File_google_cloud_gkebackup_v1_restore_plan_proto = out.File
436 file_google_cloud_gkebackup_v1_restore_plan_proto_rawDesc = nil
437 file_google_cloud_gkebackup_v1_restore_plan_proto_goTypes = nil
438 file_google_cloud_gkebackup_v1_restore_plan_proto_depIdxs = nil
439 }