1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package migrationpb
22
23 import (
24 reflect "reflect"
25 sync "sync"
26
27 _ "google.golang.org/genproto/googleapis/api/annotations"
28 errdetails "google.golang.org/genproto/googleapis/rpc/errdetails"
29 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
30 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
31 )
32
33 const (
34
35 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
36
37 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
38 )
39
40
41 type ResourceErrorDetail struct {
42 state protoimpl.MessageState
43 sizeCache protoimpl.SizeCache
44 unknownFields protoimpl.UnknownFields
45
46
47 ResourceInfo *errdetails.ResourceInfo `protobuf:"bytes,1,opt,name=resource_info,json=resourceInfo,proto3" json:"resource_info,omitempty"`
48
49 ErrorDetails []*ErrorDetail `protobuf:"bytes,2,rep,name=error_details,json=errorDetails,proto3" json:"error_details,omitempty"`
50
51
52
53 ErrorCount int32 `protobuf:"varint,3,opt,name=error_count,json=errorCount,proto3" json:"error_count,omitempty"`
54 }
55
56 func (x *ResourceErrorDetail) Reset() {
57 *x = ResourceErrorDetail{}
58 if protoimpl.UnsafeEnabled {
59 mi := &file_google_cloud_bigquery_migration_v2alpha_migration_error_details_proto_msgTypes[0]
60 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
61 ms.StoreMessageInfo(mi)
62 }
63 }
64
65 func (x *ResourceErrorDetail) String() string {
66 return protoimpl.X.MessageStringOf(x)
67 }
68
69 func (*ResourceErrorDetail) ProtoMessage() {}
70
71 func (x *ResourceErrorDetail) ProtoReflect() protoreflect.Message {
72 mi := &file_google_cloud_bigquery_migration_v2alpha_migration_error_details_proto_msgTypes[0]
73 if protoimpl.UnsafeEnabled && x != nil {
74 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
75 if ms.LoadMessageInfo() == nil {
76 ms.StoreMessageInfo(mi)
77 }
78 return ms
79 }
80 return mi.MessageOf(x)
81 }
82
83
84 func (*ResourceErrorDetail) Descriptor() ([]byte, []int) {
85 return file_google_cloud_bigquery_migration_v2alpha_migration_error_details_proto_rawDescGZIP(), []int{0}
86 }
87
88 func (x *ResourceErrorDetail) GetResourceInfo() *errdetails.ResourceInfo {
89 if x != nil {
90 return x.ResourceInfo
91 }
92 return nil
93 }
94
95 func (x *ResourceErrorDetail) GetErrorDetails() []*ErrorDetail {
96 if x != nil {
97 return x.ErrorDetails
98 }
99 return nil
100 }
101
102 func (x *ResourceErrorDetail) GetErrorCount() int32 {
103 if x != nil {
104 return x.ErrorCount
105 }
106 return 0
107 }
108
109
110
111 type ErrorDetail struct {
112 state protoimpl.MessageState
113 sizeCache protoimpl.SizeCache
114 unknownFields protoimpl.UnknownFields
115
116
117 Location *ErrorLocation `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"`
118
119 ErrorInfo *errdetails.ErrorInfo `protobuf:"bytes,2,opt,name=error_info,json=errorInfo,proto3" json:"error_info,omitempty"`
120 }
121
122 func (x *ErrorDetail) Reset() {
123 *x = ErrorDetail{}
124 if protoimpl.UnsafeEnabled {
125 mi := &file_google_cloud_bigquery_migration_v2alpha_migration_error_details_proto_msgTypes[1]
126 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
127 ms.StoreMessageInfo(mi)
128 }
129 }
130
131 func (x *ErrorDetail) String() string {
132 return protoimpl.X.MessageStringOf(x)
133 }
134
135 func (*ErrorDetail) ProtoMessage() {}
136
137 func (x *ErrorDetail) ProtoReflect() protoreflect.Message {
138 mi := &file_google_cloud_bigquery_migration_v2alpha_migration_error_details_proto_msgTypes[1]
139 if protoimpl.UnsafeEnabled && x != nil {
140 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
141 if ms.LoadMessageInfo() == nil {
142 ms.StoreMessageInfo(mi)
143 }
144 return ms
145 }
146 return mi.MessageOf(x)
147 }
148
149
150 func (*ErrorDetail) Descriptor() ([]byte, []int) {
151 return file_google_cloud_bigquery_migration_v2alpha_migration_error_details_proto_rawDescGZIP(), []int{1}
152 }
153
154 func (x *ErrorDetail) GetLocation() *ErrorLocation {
155 if x != nil {
156 return x.Location
157 }
158 return nil
159 }
160
161 func (x *ErrorDetail) GetErrorInfo() *errdetails.ErrorInfo {
162 if x != nil {
163 return x.ErrorInfo
164 }
165 return nil
166 }
167
168
169 type ErrorLocation struct {
170 state protoimpl.MessageState
171 sizeCache protoimpl.SizeCache
172 unknownFields protoimpl.UnknownFields
173
174
175
176 Line int32 `protobuf:"varint,1,opt,name=line,proto3" json:"line,omitempty"`
177
178
179 Column int32 `protobuf:"varint,2,opt,name=column,proto3" json:"column,omitempty"`
180 }
181
182 func (x *ErrorLocation) Reset() {
183 *x = ErrorLocation{}
184 if protoimpl.UnsafeEnabled {
185 mi := &file_google_cloud_bigquery_migration_v2alpha_migration_error_details_proto_msgTypes[2]
186 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
187 ms.StoreMessageInfo(mi)
188 }
189 }
190
191 func (x *ErrorLocation) String() string {
192 return protoimpl.X.MessageStringOf(x)
193 }
194
195 func (*ErrorLocation) ProtoMessage() {}
196
197 func (x *ErrorLocation) ProtoReflect() protoreflect.Message {
198 mi := &file_google_cloud_bigquery_migration_v2alpha_migration_error_details_proto_msgTypes[2]
199 if protoimpl.UnsafeEnabled && x != nil {
200 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
201 if ms.LoadMessageInfo() == nil {
202 ms.StoreMessageInfo(mi)
203 }
204 return ms
205 }
206 return mi.MessageOf(x)
207 }
208
209
210 func (*ErrorLocation) Descriptor() ([]byte, []int) {
211 return file_google_cloud_bigquery_migration_v2alpha_migration_error_details_proto_rawDescGZIP(), []int{2}
212 }
213
214 func (x *ErrorLocation) GetLine() int32 {
215 if x != nil {
216 return x.Line
217 }
218 return 0
219 }
220
221 func (x *ErrorLocation) GetColumn() int32 {
222 if x != nil {
223 return x.Column
224 }
225 return 0
226 }
227
228 var File_google_cloud_bigquery_migration_v2alpha_migration_error_details_proto protoreflect.FileDescriptor
229
230 var file_google_cloud_bigquery_migration_v2alpha_migration_error_details_proto_rawDesc = []byte{
231 0x0a, 0x45, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x62,
232 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f,
233 0x6e, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74,
234 0x69, 0x6f, 0x6e, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c,
235 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x27, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
236 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x6d,
237 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61,
238 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65,
239 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74,
240 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x65, 0x72,
241 0x72, 0x6f, 0x72, 0x5f, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74,
242 0x6f, 0x22, 0xdf, 0x01, 0x0a, 0x13, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x45, 0x72,
243 0x72, 0x6f, 0x72, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12, 0x42, 0x0a, 0x0d, 0x72, 0x65, 0x73,
244 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
245 0x32, 0x18, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x65,
246 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52,
247 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x5e, 0x0a,
248 0x0d, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x02,
249 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
250 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x6d, 0x69, 0x67,
251 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x45,
252 0x72, 0x72, 0x6f, 0x72, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52,
253 0x0c, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x24, 0x0a,
254 0x0b, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01,
255 0x28, 0x05, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f,
256 0x75, 0x6e, 0x74, 0x22, 0xa1, 0x01, 0x0a, 0x0b, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x44, 0x65, 0x74,
257 0x61, 0x69, 0x6c, 0x12, 0x57, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18,
258 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
259 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x6d, 0x69,
260 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e,
261 0x45, 0x72, 0x72, 0x6f, 0x72, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x03, 0xe0,
262 0x41, 0x01, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x39, 0x0a, 0x0a,
263 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
264 0x32, 0x15, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x45, 0x72,
265 0x72, 0x6f, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x09, 0x65, 0x72,
266 0x72, 0x6f, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x45, 0x0a, 0x0d, 0x45, 0x72, 0x72, 0x6f, 0x72,
267 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x17, 0x0a, 0x04, 0x6c, 0x69, 0x6e, 0x65,
268 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x04, 0x6c, 0x69, 0x6e,
269 0x65, 0x12, 0x1b, 0x0a, 0x06, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28,
270 0x05, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x06, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x42, 0xea,
271 0x01, 0x0a, 0x2b, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
272 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x6d, 0x69, 0x67,
273 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x42, 0x1a,
274 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x44, 0x65,
275 0x74, 0x61, 0x69, 0x6c, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x49, 0x63, 0x6c,
276 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67,
277 0x6f, 0x2f, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x6d, 0x69, 0x67, 0x72, 0x61,
278 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f,
279 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x70, 0x62, 0x3b, 0x6d, 0x69, 0x67, 0x72,
280 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x70, 0x62, 0xaa, 0x02, 0x27, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
281 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x42, 0x69, 0x67, 0x51, 0x75, 0x65, 0x72, 0x79, 0x2e,
282 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x56, 0x32, 0x41, 0x6c, 0x70, 0x68,
283 0x61, 0xca, 0x02, 0x27, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64,
284 0x5c, 0x42, 0x69, 0x67, 0x51, 0x75, 0x65, 0x72, 0x79, 0x5c, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74,
285 0x69, 0x6f, 0x6e, 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f,
286 0x74, 0x6f, 0x33,
287 }
288
289 var (
290 file_google_cloud_bigquery_migration_v2alpha_migration_error_details_proto_rawDescOnce sync.Once
291 file_google_cloud_bigquery_migration_v2alpha_migration_error_details_proto_rawDescData = file_google_cloud_bigquery_migration_v2alpha_migration_error_details_proto_rawDesc
292 )
293
294 func file_google_cloud_bigquery_migration_v2alpha_migration_error_details_proto_rawDescGZIP() []byte {
295 file_google_cloud_bigquery_migration_v2alpha_migration_error_details_proto_rawDescOnce.Do(func() {
296 file_google_cloud_bigquery_migration_v2alpha_migration_error_details_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_bigquery_migration_v2alpha_migration_error_details_proto_rawDescData)
297 })
298 return file_google_cloud_bigquery_migration_v2alpha_migration_error_details_proto_rawDescData
299 }
300
301 var file_google_cloud_bigquery_migration_v2alpha_migration_error_details_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
302 var file_google_cloud_bigquery_migration_v2alpha_migration_error_details_proto_goTypes = []interface{}{
303 (*ResourceErrorDetail)(nil),
304 (*ErrorDetail)(nil),
305 (*ErrorLocation)(nil),
306 (*errdetails.ResourceInfo)(nil),
307 (*errdetails.ErrorInfo)(nil),
308 }
309 var file_google_cloud_bigquery_migration_v2alpha_migration_error_details_proto_depIdxs = []int32{
310 3,
311 1,
312 2,
313 4,
314 4,
315 4,
316 4,
317 4,
318 0,
319 }
320
321 func init() { file_google_cloud_bigquery_migration_v2alpha_migration_error_details_proto_init() }
322 func file_google_cloud_bigquery_migration_v2alpha_migration_error_details_proto_init() {
323 if File_google_cloud_bigquery_migration_v2alpha_migration_error_details_proto != nil {
324 return
325 }
326 if !protoimpl.UnsafeEnabled {
327 file_google_cloud_bigquery_migration_v2alpha_migration_error_details_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
328 switch v := v.(*ResourceErrorDetail); i {
329 case 0:
330 return &v.state
331 case 1:
332 return &v.sizeCache
333 case 2:
334 return &v.unknownFields
335 default:
336 return nil
337 }
338 }
339 file_google_cloud_bigquery_migration_v2alpha_migration_error_details_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
340 switch v := v.(*ErrorDetail); i {
341 case 0:
342 return &v.state
343 case 1:
344 return &v.sizeCache
345 case 2:
346 return &v.unknownFields
347 default:
348 return nil
349 }
350 }
351 file_google_cloud_bigquery_migration_v2alpha_migration_error_details_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
352 switch v := v.(*ErrorLocation); i {
353 case 0:
354 return &v.state
355 case 1:
356 return &v.sizeCache
357 case 2:
358 return &v.unknownFields
359 default:
360 return nil
361 }
362 }
363 }
364 type x struct{}
365 out := protoimpl.TypeBuilder{
366 File: protoimpl.DescBuilder{
367 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
368 RawDescriptor: file_google_cloud_bigquery_migration_v2alpha_migration_error_details_proto_rawDesc,
369 NumEnums: 0,
370 NumMessages: 3,
371 NumExtensions: 0,
372 NumServices: 0,
373 },
374 GoTypes: file_google_cloud_bigquery_migration_v2alpha_migration_error_details_proto_goTypes,
375 DependencyIndexes: file_google_cloud_bigquery_migration_v2alpha_migration_error_details_proto_depIdxs,
376 MessageInfos: file_google_cloud_bigquery_migration_v2alpha_migration_error_details_proto_msgTypes,
377 }.Build()
378 File_google_cloud_bigquery_migration_v2alpha_migration_error_details_proto = out.File
379 file_google_cloud_bigquery_migration_v2alpha_migration_error_details_proto_rawDesc = nil
380 file_google_cloud_bigquery_migration_v2alpha_migration_error_details_proto_goTypes = nil
381 file_google_cloud_bigquery_migration_v2alpha_migration_error_details_proto_depIdxs = nil
382 }
383
View as plain text