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_v2_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_v2_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_v2_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_v2_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_v2_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_v2_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_v2_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_v2_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_v2_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_v2_migration_error_details_proto protoreflect.FileDescriptor
229
230 var file_google_cloud_bigquery_migration_v2_migration_error_details_proto_rawDesc = []byte{
231 0x0a, 0x40, 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, 0x2f, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x65,
234 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x2e, 0x70, 0x72, 0x6f,
235 0x74, 0x6f, 0x12, 0x22, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
236 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74,
237 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x32, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61,
238 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f,
239 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
240 0x72, 0x70, 0x63, 0x2f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c,
241 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xda, 0x01, 0x0a, 0x13, 0x52, 0x65, 0x73, 0x6f,
242 0x75, 0x72, 0x63, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12,
243 0x42, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f,
244 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
245 0x72, 0x70, 0x63, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f,
246 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49,
247 0x6e, 0x66, 0x6f, 0x12, 0x59, 0x0a, 0x0d, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x64, 0x65, 0x74,
248 0x61, 0x69, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f,
249 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65,
250 0x72, 0x79, 0x2e, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x32, 0x2e,
251 0x45, 0x72, 0x72, 0x6f, 0x72, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x42, 0x03, 0xe0, 0x41, 0x02,
252 0x52, 0x0c, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x24,
253 0x0a, 0x0b, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20,
254 0x01, 0x28, 0x05, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x43,
255 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x9c, 0x01, 0x0a, 0x0b, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x44, 0x65,
256 0x74, 0x61, 0x69, 0x6c, 0x12, 0x52, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
257 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
258 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x6d,
259 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x32, 0x2e, 0x45, 0x72, 0x72, 0x6f,
260 0x72, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x08,
261 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x39, 0x0a, 0x0a, 0x65, 0x72, 0x72, 0x6f,
262 0x72, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x67,
263 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x49,
264 0x6e, 0x66, 0x6f, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x09, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x49,
265 0x6e, 0x66, 0x6f, 0x22, 0x45, 0x0a, 0x0d, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x4c, 0x6f, 0x63, 0x61,
266 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x17, 0x0a, 0x04, 0x6c, 0x69, 0x6e, 0x65, 0x18, 0x01, 0x20, 0x01,
267 0x28, 0x05, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x04, 0x6c, 0x69, 0x6e, 0x65, 0x12, 0x1b, 0x0a,
268 0x06, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x42, 0x03, 0xe0,
269 0x41, 0x01, 0x52, 0x06, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x42, 0xd6, 0x01, 0x0a, 0x26, 0x63,
270 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
271 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69,
272 0x6f, 0x6e, 0x2e, 0x76, 0x32, 0x42, 0x1a, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
273 0x45, 0x72, 0x72, 0x6f, 0x72, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x50, 0x72, 0x6f, 0x74,
274 0x6f, 0x50, 0x01, 0x5a, 0x44, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
275 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72,
276 0x79, 0x2f, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x61, 0x70, 0x69, 0x76,
277 0x32, 0x2f, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x70, 0x62, 0x3b, 0x6d, 0x69,
278 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x70, 0x62, 0xaa, 0x02, 0x22, 0x47, 0x6f, 0x6f, 0x67,
279 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x42, 0x69, 0x67, 0x51, 0x75, 0x65, 0x72,
280 0x79, 0x2e, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x56, 0x32, 0xca, 0x02,
281 0x22, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x42, 0x69,
282 0x67, 0x51, 0x75, 0x65, 0x72, 0x79, 0x5c, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
283 0x5c, 0x56, 0x32, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
284 }
285
286 var (
287 file_google_cloud_bigquery_migration_v2_migration_error_details_proto_rawDescOnce sync.Once
288 file_google_cloud_bigquery_migration_v2_migration_error_details_proto_rawDescData = file_google_cloud_bigquery_migration_v2_migration_error_details_proto_rawDesc
289 )
290
291 func file_google_cloud_bigquery_migration_v2_migration_error_details_proto_rawDescGZIP() []byte {
292 file_google_cloud_bigquery_migration_v2_migration_error_details_proto_rawDescOnce.Do(func() {
293 file_google_cloud_bigquery_migration_v2_migration_error_details_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_bigquery_migration_v2_migration_error_details_proto_rawDescData)
294 })
295 return file_google_cloud_bigquery_migration_v2_migration_error_details_proto_rawDescData
296 }
297
298 var file_google_cloud_bigquery_migration_v2_migration_error_details_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
299 var file_google_cloud_bigquery_migration_v2_migration_error_details_proto_goTypes = []interface{}{
300 (*ResourceErrorDetail)(nil),
301 (*ErrorDetail)(nil),
302 (*ErrorLocation)(nil),
303 (*errdetails.ResourceInfo)(nil),
304 (*errdetails.ErrorInfo)(nil),
305 }
306 var file_google_cloud_bigquery_migration_v2_migration_error_details_proto_depIdxs = []int32{
307 3,
308 1,
309 2,
310 4,
311 4,
312 4,
313 4,
314 4,
315 0,
316 }
317
318 func init() { file_google_cloud_bigquery_migration_v2_migration_error_details_proto_init() }
319 func file_google_cloud_bigquery_migration_v2_migration_error_details_proto_init() {
320 if File_google_cloud_bigquery_migration_v2_migration_error_details_proto != nil {
321 return
322 }
323 if !protoimpl.UnsafeEnabled {
324 file_google_cloud_bigquery_migration_v2_migration_error_details_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
325 switch v := v.(*ResourceErrorDetail); i {
326 case 0:
327 return &v.state
328 case 1:
329 return &v.sizeCache
330 case 2:
331 return &v.unknownFields
332 default:
333 return nil
334 }
335 }
336 file_google_cloud_bigquery_migration_v2_migration_error_details_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
337 switch v := v.(*ErrorDetail); i {
338 case 0:
339 return &v.state
340 case 1:
341 return &v.sizeCache
342 case 2:
343 return &v.unknownFields
344 default:
345 return nil
346 }
347 }
348 file_google_cloud_bigquery_migration_v2_migration_error_details_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
349 switch v := v.(*ErrorLocation); i {
350 case 0:
351 return &v.state
352 case 1:
353 return &v.sizeCache
354 case 2:
355 return &v.unknownFields
356 default:
357 return nil
358 }
359 }
360 }
361 type x struct{}
362 out := protoimpl.TypeBuilder{
363 File: protoimpl.DescBuilder{
364 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
365 RawDescriptor: file_google_cloud_bigquery_migration_v2_migration_error_details_proto_rawDesc,
366 NumEnums: 0,
367 NumMessages: 3,
368 NumExtensions: 0,
369 NumServices: 0,
370 },
371 GoTypes: file_google_cloud_bigquery_migration_v2_migration_error_details_proto_goTypes,
372 DependencyIndexes: file_google_cloud_bigquery_migration_v2_migration_error_details_proto_depIdxs,
373 MessageInfos: file_google_cloud_bigquery_migration_v2_migration_error_details_proto_msgTypes,
374 }.Build()
375 File_google_cloud_bigquery_migration_v2_migration_error_details_proto = out.File
376 file_google_cloud_bigquery_migration_v2_migration_error_details_proto_rawDesc = nil
377 file_google_cloud_bigquery_migration_v2_migration_error_details_proto_goTypes = nil
378 file_google_cloud_bigquery_migration_v2_migration_error_details_proto_depIdxs = nil
379 }
380
View as plain text