Debian Codegraph @

gkebackup/apiv1/gkebackuppb/restore_plan_binding.pb.go

raw
1 // Copyright 2025 Google LLC
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 // Code generated by protoc-gen-go. DO NOT EDIT.
16 // versions:
17 // protoc-gen-go v1.35.2
18 // protoc v4.25.7
19 // source: google/cloud/gkebackup/v1/restore_plan_binding.proto
20
21 package gkebackuppb
22
23 import (
24 _ "google.golang.org/genproto/googleapis/api/annotations"
25 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
26 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
27 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
28 reflect "reflect"
29 sync "sync"
30 )
31
32 const (
33 // Verify that this generated code is sufficiently up-to-date.
34 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
35 // Verify that runtime/protoimpl is sufficiently up-to-date.
36 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
37 )
38
39 // A RestorePlanBinding binds a RestorePlan with a RestoreChannel.
40 // This resource is created automatically when a RestorePlan is created using a
41 // RestoreChannel. This also serves as a holder for cross-project fields
42 // that need to be displayed in the current project.
43 type RestorePlanBinding struct {
44 state protoimpl.MessageState
45 sizeCache protoimpl.SizeCache
46 unknownFields protoimpl.UnknownFields
47
48 // Identifier. The fully qualified name of the RestorePlanBinding.
49 // `projects/*/locations/*/restoreChannels/*/restorePlanBindings/*`
50 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
51 // Output only. Server generated global unique identifier of
52 // [UUID4](https://en.wikipedia.org/wiki/Universally_unique_identifier)
53 Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"`
54 // Output only. The timestamp when this binding was created.
55 CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
56 // Output only. The timestamp when this binding was created.
57 UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
58 // Output only. The fully qualified name of the RestorePlan bound to this
59 // RestoreChannel. `projects/*/locations/*/restorePlans/{restore_plan}`
60 RestorePlan string `protobuf:"bytes,5,opt,name=restore_plan,json=restorePlan,proto3" json:"restore_plan,omitempty"`
61 // Output only. `etag` is used for optimistic concurrency control as a way to
62 // help prevent simultaneous updates of a RestorePlanBinding from overwriting
63 // each other. It is strongly suggested that systems make use of the 'etag' in
64 // the read-modify-write cycle to perform RestorePlanBinding updates in
65 // order to avoid race conditions: An `etag` is returned in the response to
66 // `GetRestorePlanBinding`, and systems are expected to put that etag in
67 // the request to `UpdateRestorePlanBinding` or
68 // `DeleteRestorePlanBinding` to ensure that their change will be applied
69 // to the same version of the resource.
70 Etag string `protobuf:"bytes,6,opt,name=etag,proto3" json:"etag,omitempty"`
71 // Output only. The fully qualified name of the BackupPlan bound to the
72 // specified RestorePlan. `projects/*/locations/*/backukpPlans/{backup_plan}`
73 BackupPlan string `protobuf:"bytes,7,opt,name=backup_plan,json=backupPlan,proto3" json:"backup_plan,omitempty"`
74 }
75
76 func (x *RestorePlanBinding) Reset() {
77 *x = RestorePlanBinding{}
78 mi := &file_google_cloud_gkebackup_v1_restore_plan_binding_proto_msgTypes[0]
79 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
80 ms.StoreMessageInfo(mi)
81 }
82
83 func (x *RestorePlanBinding) String() string {
84 return protoimpl.X.MessageStringOf(x)
85 }
86
87 func (*RestorePlanBinding) ProtoMessage() {}
88
89 func (x *RestorePlanBinding) ProtoReflect() protoreflect.Message {
90 mi := &file_google_cloud_gkebackup_v1_restore_plan_binding_proto_msgTypes[0]
91 if x != nil {
92 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
93 if ms.LoadMessageInfo() == nil {
94 ms.StoreMessageInfo(mi)
95 }
96 return ms
97 }
98 return mi.MessageOf(x)
99 }
100
101 // Deprecated: Use RestorePlanBinding.ProtoReflect.Descriptor instead.
102 func (*RestorePlanBinding) Descriptor() ([]byte, []int) {
103 return file_google_cloud_gkebackup_v1_restore_plan_binding_proto_rawDescGZIP(), []int{0}
104 }
105
106 func (x *RestorePlanBinding) GetName() string {
107 if x != nil {
108 return x.Name
109 }
110 return ""
111 }
112
113 func (x *RestorePlanBinding) GetUid() string {
114 if x != nil {
115 return x.Uid
116 }
117 return ""
118 }
119
120 func (x *RestorePlanBinding) GetCreateTime() *timestamppb.Timestamp {
121 if x != nil {
122 return x.CreateTime
123 }
124 return nil
125 }
126
127 func (x *RestorePlanBinding) GetUpdateTime() *timestamppb.Timestamp {
128 if x != nil {
129 return x.UpdateTime
130 }
131 return nil
132 }
133
134 func (x *RestorePlanBinding) GetRestorePlan() string {
135 if x != nil {
136 return x.RestorePlan
137 }
138 return ""
139 }
140
141 func (x *RestorePlanBinding) GetEtag() string {
142 if x != nil {
143 return x.Etag
144 }
145 return ""
146 }
147
148 func (x *RestorePlanBinding) GetBackupPlan() string {
149 if x != nil {
150 return x.BackupPlan
151 }
152 return ""
153 }
154
155 var File_google_cloud_gkebackup_v1_restore_plan_binding_proto protoreflect.FileDescriptor
156
157 var file_google_cloud_gkebackup_v1_restore_plan_binding_proto_rawDesc = []byte{
158 0x0a, 0x34, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x67,
159 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x74,
160 0x6f, 0x72, 0x65, 0x5f, 0x70, 0x6c, 0x61, 0x6e, 0x5f, 0x62, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67,
161 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
162 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2e, 0x76,
163 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69,
164 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f,
165 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66,
166 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
167 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f,
168 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67,
169 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65,
170 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xdb, 0x04, 0x0a, 0x12,
171 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x50, 0x6c, 0x61, 0x6e, 0x42, 0x69, 0x6e, 0x64, 0x69,
172 0x6e, 0x67, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
173 0x42, 0x03, 0xe0, 0x41, 0x08, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x03, 0x75,
174 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0b, 0xe0, 0x41, 0x03, 0xe2, 0x8c, 0xcf,
175 0xd7, 0x08, 0x02, 0x08, 0x01, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x40, 0x0a, 0x0b, 0x63, 0x72,
176 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32,
177 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
178 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03,
179 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0b,
180 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28,
181 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
182 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0,
183 0x41, 0x03, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x4f,
184 0x0a, 0x0c, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x5f, 0x70, 0x6c, 0x61, 0x6e, 0x18, 0x05,
185 0x20, 0x01, 0x28, 0x09, 0x42, 0x2c, 0xe0, 0x41, 0x03, 0xfa, 0x41, 0x26, 0x0a, 0x24, 0x67, 0x6b,
186 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70,
187 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x50, 0x6c,
188 0x61, 0x6e, 0x52, 0x0b, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x50, 0x6c, 0x61, 0x6e, 0x12,
189 0x17, 0x0a, 0x04, 0x65, 0x74, 0x61, 0x67, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0,
190 0x41, 0x03, 0x52, 0x04, 0x65, 0x74, 0x61, 0x67, 0x12, 0x4c, 0x0a, 0x0b, 0x62, 0x61, 0x63, 0x6b,
191 0x75, 0x70, 0x5f, 0x70, 0x6c, 0x61, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2b, 0xe0,
192 0x41, 0x03, 0xfa, 0x41, 0x25, 0x0a, 0x23, 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70,
193 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
194 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x50, 0x6c, 0x61, 0x6e, 0x52, 0x0a, 0x62, 0x61, 0x63, 0x6b,
195 0x75, 0x70, 0x50, 0x6c, 0x61, 0x6e, 0x3a, 0xd0, 0x01, 0xea, 0x41, 0xcc, 0x01, 0x0a, 0x2b, 0x67,
196 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61,
197 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x50,
198 0x6c, 0x61, 0x6e, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x74, 0x70, 0x72, 0x6f, 0x6a,
199 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c,
200 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69,
201 0x6f, 0x6e, 0x7d, 0x2f, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x6e,
202 0x65, 0x6c, 0x73, 0x2f, 0x7b, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x5f, 0x63, 0x68, 0x61,
203 0x6e, 0x6e, 0x65, 0x6c, 0x7d, 0x2f, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x50, 0x6c, 0x61,
204 0x6e, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x7b, 0x72, 0x65, 0x73, 0x74, 0x6f,
205 0x72, 0x65, 0x5f, 0x70, 0x6c, 0x61, 0x6e, 0x5f, 0x62, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x7d,
206 0x2a, 0x13, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x50, 0x6c, 0x61, 0x6e, 0x42, 0x69, 0x6e,
207 0x64, 0x69, 0x6e, 0x67, 0x73, 0x32, 0x12, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x50, 0x6c,
208 0x61, 0x6e, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x42, 0xce, 0x01, 0x0a, 0x1d, 0x63, 0x6f,
209 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67,
210 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2e, 0x76, 0x31, 0x42, 0x17, 0x52, 0x65, 0x73,
211 0x74, 0x6f, 0x72, 0x65, 0x50, 0x6c, 0x61, 0x6e, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x50,
212 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3b, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f,
213 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x6b, 0x65, 0x62,
214 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x67, 0x6b, 0x65, 0x62,
215 0x61, 0x63, 0x6b, 0x75, 0x70, 0x70, 0x62, 0x3b, 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75,
216 0x70, 0x70, 0x62, 0xaa, 0x02, 0x19, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f,
217 0x75, 0x64, 0x2e, 0x47, 0x6b, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2e, 0x56, 0x31, 0xca,
218 0x02, 0x19, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x47,
219 0x6b, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x1c, 0x47, 0x6f,
220 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x47, 0x6b, 0x65,
221 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
222 0x6f, 0x33,
223 }
224
225 var (
226 file_google_cloud_gkebackup_v1_restore_plan_binding_proto_rawDescOnce sync.Once
227 file_google_cloud_gkebackup_v1_restore_plan_binding_proto_rawDescData = file_google_cloud_gkebackup_v1_restore_plan_binding_proto_rawDesc
228 )
229
230 func file_google_cloud_gkebackup_v1_restore_plan_binding_proto_rawDescGZIP() []byte {
231 file_google_cloud_gkebackup_v1_restore_plan_binding_proto_rawDescOnce.Do(func() {
232 file_google_cloud_gkebackup_v1_restore_plan_binding_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_gkebackup_v1_restore_plan_binding_proto_rawDescData)
233 })
234 return file_google_cloud_gkebackup_v1_restore_plan_binding_proto_rawDescData
235 }
236
237 var file_google_cloud_gkebackup_v1_restore_plan_binding_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
238 var file_google_cloud_gkebackup_v1_restore_plan_binding_proto_goTypes = []any{
239 (*RestorePlanBinding)(nil), // 0: google.cloud.gkebackup.v1.RestorePlanBinding
240 (*timestamppb.Timestamp)(nil), // 1: google.protobuf.Timestamp
241 }
242 var file_google_cloud_gkebackup_v1_restore_plan_binding_proto_depIdxs = []int32{
243 1, // 0: google.cloud.gkebackup.v1.RestorePlanBinding.create_time:type_name -> google.protobuf.Timestamp
244 1, // 1: google.cloud.gkebackup.v1.RestorePlanBinding.update_time:type_name -> google.protobuf.Timestamp
245 2, // [2:2] is the sub-list for method output_type
246 2, // [2:2] is the sub-list for method input_type
247 2, // [2:2] is the sub-list for extension type_name
248 2, // [2:2] is the sub-list for extension extendee
249 0, // [0:2] is the sub-list for field type_name
250 }
251
252 func init() { file_google_cloud_gkebackup_v1_restore_plan_binding_proto_init() }
253 func file_google_cloud_gkebackup_v1_restore_plan_binding_proto_init() {
254 if File_google_cloud_gkebackup_v1_restore_plan_binding_proto != nil {
255 return
256 }
257 type x struct{}
258 out := protoimpl.TypeBuilder{
259 File: protoimpl.DescBuilder{
260 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
261 RawDescriptor: file_google_cloud_gkebackup_v1_restore_plan_binding_proto_rawDesc,
262 NumEnums: 0,
263 NumMessages: 1,
264 NumExtensions: 0,
265 NumServices: 0,
266 },
267 GoTypes: file_google_cloud_gkebackup_v1_restore_plan_binding_proto_goTypes,
268 DependencyIndexes: file_google_cloud_gkebackup_v1_restore_plan_binding_proto_depIdxs,
269 MessageInfos: file_google_cloud_gkebackup_v1_restore_plan_binding_proto_msgTypes,
270 }.Build()
271 File_google_cloud_gkebackup_v1_restore_plan_binding_proto = out.File
272 file_google_cloud_gkebackup_v1_restore_plan_binding_proto_rawDesc = nil
273 file_google_cloud_gkebackup_v1_restore_plan_binding_proto_goTypes = nil
274 file_google_cloud_gkebackup_v1_restore_plan_binding_proto_depIdxs = nil
275 }