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 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
28 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
29 )
30
31 const (
32
33 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
34
35 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
36 )
37
38
39 type TranslationTaskDetails_FileEncoding int32
40
41 const (
42
43 TranslationTaskDetails_FILE_ENCODING_UNSPECIFIED TranslationTaskDetails_FileEncoding = 0
44
45 TranslationTaskDetails_UTF_8 TranslationTaskDetails_FileEncoding = 1
46
47 TranslationTaskDetails_ISO_8859_1 TranslationTaskDetails_FileEncoding = 2
48
49 TranslationTaskDetails_US_ASCII TranslationTaskDetails_FileEncoding = 3
50
51 TranslationTaskDetails_UTF_16 TranslationTaskDetails_FileEncoding = 4
52
53 TranslationTaskDetails_UTF_16LE TranslationTaskDetails_FileEncoding = 5
54
55 TranslationTaskDetails_UTF_16BE TranslationTaskDetails_FileEncoding = 6
56 )
57
58
59 var (
60 TranslationTaskDetails_FileEncoding_name = map[int32]string{
61 0: "FILE_ENCODING_UNSPECIFIED",
62 1: "UTF_8",
63 2: "ISO_8859_1",
64 3: "US_ASCII",
65 4: "UTF_16",
66 5: "UTF_16LE",
67 6: "UTF_16BE",
68 }
69 TranslationTaskDetails_FileEncoding_value = map[string]int32{
70 "FILE_ENCODING_UNSPECIFIED": 0,
71 "UTF_8": 1,
72 "ISO_8859_1": 2,
73 "US_ASCII": 3,
74 "UTF_16": 4,
75 "UTF_16LE": 5,
76 "UTF_16BE": 6,
77 }
78 )
79
80 func (x TranslationTaskDetails_FileEncoding) Enum() *TranslationTaskDetails_FileEncoding {
81 p := new(TranslationTaskDetails_FileEncoding)
82 *p = x
83 return p
84 }
85
86 func (x TranslationTaskDetails_FileEncoding) String() string {
87 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
88 }
89
90 func (TranslationTaskDetails_FileEncoding) Descriptor() protoreflect.EnumDescriptor {
91 return file_google_cloud_bigquery_migration_v2alpha_translation_task_proto_enumTypes[0].Descriptor()
92 }
93
94 func (TranslationTaskDetails_FileEncoding) Type() protoreflect.EnumType {
95 return &file_google_cloud_bigquery_migration_v2alpha_translation_task_proto_enumTypes[0]
96 }
97
98 func (x TranslationTaskDetails_FileEncoding) Number() protoreflect.EnumNumber {
99 return protoreflect.EnumNumber(x)
100 }
101
102
103 func (TranslationTaskDetails_FileEncoding) EnumDescriptor() ([]byte, []int) {
104 return file_google_cloud_bigquery_migration_v2alpha_translation_task_proto_rawDescGZIP(), []int{1, 0}
105 }
106
107
108 type TranslationTaskDetails_TokenType int32
109
110 const (
111
112 TranslationTaskDetails_TOKEN_TYPE_UNSPECIFIED TranslationTaskDetails_TokenType = 0
113
114 TranslationTaskDetails_STRING TranslationTaskDetails_TokenType = 1
115
116 TranslationTaskDetails_INT64 TranslationTaskDetails_TokenType = 2
117
118 TranslationTaskDetails_NUMERIC TranslationTaskDetails_TokenType = 3
119
120 TranslationTaskDetails_BOOL TranslationTaskDetails_TokenType = 4
121
122 TranslationTaskDetails_FLOAT64 TranslationTaskDetails_TokenType = 5
123
124 TranslationTaskDetails_DATE TranslationTaskDetails_TokenType = 6
125
126 TranslationTaskDetails_TIMESTAMP TranslationTaskDetails_TokenType = 7
127 )
128
129
130 var (
131 TranslationTaskDetails_TokenType_name = map[int32]string{
132 0: "TOKEN_TYPE_UNSPECIFIED",
133 1: "STRING",
134 2: "INT64",
135 3: "NUMERIC",
136 4: "BOOL",
137 5: "FLOAT64",
138 6: "DATE",
139 7: "TIMESTAMP",
140 }
141 TranslationTaskDetails_TokenType_value = map[string]int32{
142 "TOKEN_TYPE_UNSPECIFIED": 0,
143 "STRING": 1,
144 "INT64": 2,
145 "NUMERIC": 3,
146 "BOOL": 4,
147 "FLOAT64": 5,
148 "DATE": 6,
149 "TIMESTAMP": 7,
150 }
151 )
152
153 func (x TranslationTaskDetails_TokenType) Enum() *TranslationTaskDetails_TokenType {
154 p := new(TranslationTaskDetails_TokenType)
155 *p = x
156 return p
157 }
158
159 func (x TranslationTaskDetails_TokenType) String() string {
160 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
161 }
162
163 func (TranslationTaskDetails_TokenType) Descriptor() protoreflect.EnumDescriptor {
164 return file_google_cloud_bigquery_migration_v2alpha_translation_task_proto_enumTypes[1].Descriptor()
165 }
166
167 func (TranslationTaskDetails_TokenType) Type() protoreflect.EnumType {
168 return &file_google_cloud_bigquery_migration_v2alpha_translation_task_proto_enumTypes[1]
169 }
170
171 func (x TranslationTaskDetails_TokenType) Number() protoreflect.EnumNumber {
172 return protoreflect.EnumNumber(x)
173 }
174
175
176 func (TranslationTaskDetails_TokenType) EnumDescriptor() ([]byte, []int) {
177 return file_google_cloud_bigquery_migration_v2alpha_translation_task_proto_rawDescGZIP(), []int{1, 1}
178 }
179
180
181 type IdentifierSettings_IdentifierCase int32
182
183 const (
184
185 IdentifierSettings_IDENTIFIER_CASE_UNSPECIFIED IdentifierSettings_IdentifierCase = 0
186
187 IdentifierSettings_ORIGINAL IdentifierSettings_IdentifierCase = 1
188
189 IdentifierSettings_UPPER IdentifierSettings_IdentifierCase = 2
190
191 IdentifierSettings_LOWER IdentifierSettings_IdentifierCase = 3
192 )
193
194
195 var (
196 IdentifierSettings_IdentifierCase_name = map[int32]string{
197 0: "IDENTIFIER_CASE_UNSPECIFIED",
198 1: "ORIGINAL",
199 2: "UPPER",
200 3: "LOWER",
201 }
202 IdentifierSettings_IdentifierCase_value = map[string]int32{
203 "IDENTIFIER_CASE_UNSPECIFIED": 0,
204 "ORIGINAL": 1,
205 "UPPER": 2,
206 "LOWER": 3,
207 }
208 )
209
210 func (x IdentifierSettings_IdentifierCase) Enum() *IdentifierSettings_IdentifierCase {
211 p := new(IdentifierSettings_IdentifierCase)
212 *p = x
213 return p
214 }
215
216 func (x IdentifierSettings_IdentifierCase) String() string {
217 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
218 }
219
220 func (IdentifierSettings_IdentifierCase) Descriptor() protoreflect.EnumDescriptor {
221 return file_google_cloud_bigquery_migration_v2alpha_translation_task_proto_enumTypes[2].Descriptor()
222 }
223
224 func (IdentifierSettings_IdentifierCase) Type() protoreflect.EnumType {
225 return &file_google_cloud_bigquery_migration_v2alpha_translation_task_proto_enumTypes[2]
226 }
227
228 func (x IdentifierSettings_IdentifierCase) Number() protoreflect.EnumNumber {
229 return protoreflect.EnumNumber(x)
230 }
231
232
233 func (IdentifierSettings_IdentifierCase) EnumDescriptor() ([]byte, []int) {
234 return file_google_cloud_bigquery_migration_v2alpha_translation_task_proto_rawDescGZIP(), []int{3, 0}
235 }
236
237
238 type IdentifierSettings_IdentifierRewriteMode int32
239
240 const (
241
242 IdentifierSettings_IDENTIFIER_REWRITE_MODE_UNSPECIFIED IdentifierSettings_IdentifierRewriteMode = 0
243
244 IdentifierSettings_NONE IdentifierSettings_IdentifierRewriteMode = 1
245
246 IdentifierSettings_REWRITE_ALL IdentifierSettings_IdentifierRewriteMode = 2
247 )
248
249
250 var (
251 IdentifierSettings_IdentifierRewriteMode_name = map[int32]string{
252 0: "IDENTIFIER_REWRITE_MODE_UNSPECIFIED",
253 1: "NONE",
254 2: "REWRITE_ALL",
255 }
256 IdentifierSettings_IdentifierRewriteMode_value = map[string]int32{
257 "IDENTIFIER_REWRITE_MODE_UNSPECIFIED": 0,
258 "NONE": 1,
259 "REWRITE_ALL": 2,
260 }
261 )
262
263 func (x IdentifierSettings_IdentifierRewriteMode) Enum() *IdentifierSettings_IdentifierRewriteMode {
264 p := new(IdentifierSettings_IdentifierRewriteMode)
265 *p = x
266 return p
267 }
268
269 func (x IdentifierSettings_IdentifierRewriteMode) String() string {
270 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
271 }
272
273 func (IdentifierSettings_IdentifierRewriteMode) Descriptor() protoreflect.EnumDescriptor {
274 return file_google_cloud_bigquery_migration_v2alpha_translation_task_proto_enumTypes[3].Descriptor()
275 }
276
277 func (IdentifierSettings_IdentifierRewriteMode) Type() protoreflect.EnumType {
278 return &file_google_cloud_bigquery_migration_v2alpha_translation_task_proto_enumTypes[3]
279 }
280
281 func (x IdentifierSettings_IdentifierRewriteMode) Number() protoreflect.EnumNumber {
282 return protoreflect.EnumNumber(x)
283 }
284
285
286 func (IdentifierSettings_IdentifierRewriteMode) EnumDescriptor() ([]byte, []int) {
287 return file_google_cloud_bigquery_migration_v2alpha_translation_task_proto_rawDescGZIP(), []int{3, 1}
288 }
289
290
291 type TranslationFileMapping struct {
292 state protoimpl.MessageState
293 sizeCache protoimpl.SizeCache
294 unknownFields protoimpl.UnknownFields
295
296
297 InputPath string `protobuf:"bytes,1,opt,name=input_path,json=inputPath,proto3" json:"input_path,omitempty"`
298
299 OutputPath string `protobuf:"bytes,2,opt,name=output_path,json=outputPath,proto3" json:"output_path,omitempty"`
300 }
301
302 func (x *TranslationFileMapping) Reset() {
303 *x = TranslationFileMapping{}
304 if protoimpl.UnsafeEnabled {
305 mi := &file_google_cloud_bigquery_migration_v2alpha_translation_task_proto_msgTypes[0]
306 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
307 ms.StoreMessageInfo(mi)
308 }
309 }
310
311 func (x *TranslationFileMapping) String() string {
312 return protoimpl.X.MessageStringOf(x)
313 }
314
315 func (*TranslationFileMapping) ProtoMessage() {}
316
317 func (x *TranslationFileMapping) ProtoReflect() protoreflect.Message {
318 mi := &file_google_cloud_bigquery_migration_v2alpha_translation_task_proto_msgTypes[0]
319 if protoimpl.UnsafeEnabled && x != nil {
320 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
321 if ms.LoadMessageInfo() == nil {
322 ms.StoreMessageInfo(mi)
323 }
324 return ms
325 }
326 return mi.MessageOf(x)
327 }
328
329
330 func (*TranslationFileMapping) Descriptor() ([]byte, []int) {
331 return file_google_cloud_bigquery_migration_v2alpha_translation_task_proto_rawDescGZIP(), []int{0}
332 }
333
334 func (x *TranslationFileMapping) GetInputPath() string {
335 if x != nil {
336 return x.InputPath
337 }
338 return ""
339 }
340
341 func (x *TranslationFileMapping) GetOutputPath() string {
342 if x != nil {
343 return x.OutputPath
344 }
345 return ""
346 }
347
348
349
350 type TranslationTaskDetails struct {
351 state protoimpl.MessageState
352 sizeCache protoimpl.SizeCache
353 unknownFields protoimpl.UnknownFields
354
355
356
357
358
359
360
361 LanguageOptions isTranslationTaskDetails_LanguageOptions `protobuf_oneof:"language_options"`
362
363 InputPath string `protobuf:"bytes,1,opt,name=input_path,json=inputPath,proto3" json:"input_path,omitempty"`
364
365 OutputPath string `protobuf:"bytes,2,opt,name=output_path,json=outputPath,proto3" json:"output_path,omitempty"`
366
367 FilePaths []*TranslationFileMapping `protobuf:"bytes,12,rep,name=file_paths,json=filePaths,proto3" json:"file_paths,omitempty"`
368
369
370 SchemaPath string `protobuf:"bytes,3,opt,name=schema_path,json=schemaPath,proto3" json:"schema_path,omitempty"`
371
372 FileEncoding TranslationTaskDetails_FileEncoding `protobuf:"varint,4,opt,name=file_encoding,json=fileEncoding,proto3,enum=google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails_FileEncoding" json:"file_encoding,omitempty"`
373
374 IdentifierSettings *IdentifierSettings `protobuf:"bytes,5,opt,name=identifier_settings,json=identifierSettings,proto3" json:"identifier_settings,omitempty"`
375
376
377
378
379
380
381 SpecialTokenMap map[string]TranslationTaskDetails_TokenType `protobuf:"bytes,6,rep,name=special_token_map,json=specialTokenMap,proto3" json:"special_token_map,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3,enum=google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails_TokenType"`
382
383 Filter *Filter `protobuf:"bytes,7,opt,name=filter,proto3" json:"filter,omitempty"`
384
385
386
387
388 TranslationExceptionTable string `protobuf:"bytes,13,opt,name=translation_exception_table,json=translationExceptionTable,proto3" json:"translation_exception_table,omitempty"`
389 }
390
391 func (x *TranslationTaskDetails) Reset() {
392 *x = TranslationTaskDetails{}
393 if protoimpl.UnsafeEnabled {
394 mi := &file_google_cloud_bigquery_migration_v2alpha_translation_task_proto_msgTypes[1]
395 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
396 ms.StoreMessageInfo(mi)
397 }
398 }
399
400 func (x *TranslationTaskDetails) String() string {
401 return protoimpl.X.MessageStringOf(x)
402 }
403
404 func (*TranslationTaskDetails) ProtoMessage() {}
405
406 func (x *TranslationTaskDetails) ProtoReflect() protoreflect.Message {
407 mi := &file_google_cloud_bigquery_migration_v2alpha_translation_task_proto_msgTypes[1]
408 if protoimpl.UnsafeEnabled && x != nil {
409 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
410 if ms.LoadMessageInfo() == nil {
411 ms.StoreMessageInfo(mi)
412 }
413 return ms
414 }
415 return mi.MessageOf(x)
416 }
417
418
419 func (*TranslationTaskDetails) Descriptor() ([]byte, []int) {
420 return file_google_cloud_bigquery_migration_v2alpha_translation_task_proto_rawDescGZIP(), []int{1}
421 }
422
423 func (m *TranslationTaskDetails) GetLanguageOptions() isTranslationTaskDetails_LanguageOptions {
424 if m != nil {
425 return m.LanguageOptions
426 }
427 return nil
428 }
429
430 func (x *TranslationTaskDetails) GetTeradataOptions() *TeradataOptions {
431 if x, ok := x.GetLanguageOptions().(*TranslationTaskDetails_TeradataOptions); ok {
432 return x.TeradataOptions
433 }
434 return nil
435 }
436
437 func (x *TranslationTaskDetails) GetBteqOptions() *BteqOptions {
438 if x, ok := x.GetLanguageOptions().(*TranslationTaskDetails_BteqOptions); ok {
439 return x.BteqOptions
440 }
441 return nil
442 }
443
444 func (x *TranslationTaskDetails) GetInputPath() string {
445 if x != nil {
446 return x.InputPath
447 }
448 return ""
449 }
450
451 func (x *TranslationTaskDetails) GetOutputPath() string {
452 if x != nil {
453 return x.OutputPath
454 }
455 return ""
456 }
457
458 func (x *TranslationTaskDetails) GetFilePaths() []*TranslationFileMapping {
459 if x != nil {
460 return x.FilePaths
461 }
462 return nil
463 }
464
465 func (x *TranslationTaskDetails) GetSchemaPath() string {
466 if x != nil {
467 return x.SchemaPath
468 }
469 return ""
470 }
471
472 func (x *TranslationTaskDetails) GetFileEncoding() TranslationTaskDetails_FileEncoding {
473 if x != nil {
474 return x.FileEncoding
475 }
476 return TranslationTaskDetails_FILE_ENCODING_UNSPECIFIED
477 }
478
479 func (x *TranslationTaskDetails) GetIdentifierSettings() *IdentifierSettings {
480 if x != nil {
481 return x.IdentifierSettings
482 }
483 return nil
484 }
485
486 func (x *TranslationTaskDetails) GetSpecialTokenMap() map[string]TranslationTaskDetails_TokenType {
487 if x != nil {
488 return x.SpecialTokenMap
489 }
490 return nil
491 }
492
493 func (x *TranslationTaskDetails) GetFilter() *Filter {
494 if x != nil {
495 return x.Filter
496 }
497 return nil
498 }
499
500 func (x *TranslationTaskDetails) GetTranslationExceptionTable() string {
501 if x != nil {
502 return x.TranslationExceptionTable
503 }
504 return ""
505 }
506
507 type isTranslationTaskDetails_LanguageOptions interface {
508 isTranslationTaskDetails_LanguageOptions()
509 }
510
511 type TranslationTaskDetails_TeradataOptions struct {
512
513 TeradataOptions *TeradataOptions `protobuf:"bytes,10,opt,name=teradata_options,json=teradataOptions,proto3,oneof"`
514 }
515
516 type TranslationTaskDetails_BteqOptions struct {
517
518 BteqOptions *BteqOptions `protobuf:"bytes,11,opt,name=bteq_options,json=bteqOptions,proto3,oneof"`
519 }
520
521 func (*TranslationTaskDetails_TeradataOptions) isTranslationTaskDetails_LanguageOptions() {}
522
523 func (*TranslationTaskDetails_BteqOptions) isTranslationTaskDetails_LanguageOptions() {}
524
525
526 type Filter struct {
527 state protoimpl.MessageState
528 sizeCache protoimpl.SizeCache
529 unknownFields protoimpl.UnknownFields
530
531
532 InputFileExclusionPrefixes []string `protobuf:"bytes,1,rep,name=input_file_exclusion_prefixes,json=inputFileExclusionPrefixes,proto3" json:"input_file_exclusion_prefixes,omitempty"`
533 }
534
535 func (x *Filter) Reset() {
536 *x = Filter{}
537 if protoimpl.UnsafeEnabled {
538 mi := &file_google_cloud_bigquery_migration_v2alpha_translation_task_proto_msgTypes[2]
539 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
540 ms.StoreMessageInfo(mi)
541 }
542 }
543
544 func (x *Filter) String() string {
545 return protoimpl.X.MessageStringOf(x)
546 }
547
548 func (*Filter) ProtoMessage() {}
549
550 func (x *Filter) ProtoReflect() protoreflect.Message {
551 mi := &file_google_cloud_bigquery_migration_v2alpha_translation_task_proto_msgTypes[2]
552 if protoimpl.UnsafeEnabled && x != nil {
553 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
554 if ms.LoadMessageInfo() == nil {
555 ms.StoreMessageInfo(mi)
556 }
557 return ms
558 }
559 return mi.MessageOf(x)
560 }
561
562
563 func (*Filter) Descriptor() ([]byte, []int) {
564 return file_google_cloud_bigquery_migration_v2alpha_translation_task_proto_rawDescGZIP(), []int{2}
565 }
566
567 func (x *Filter) GetInputFileExclusionPrefixes() []string {
568 if x != nil {
569 return x.InputFileExclusionPrefixes
570 }
571 return nil
572 }
573
574
575 type IdentifierSettings struct {
576 state protoimpl.MessageState
577 sizeCache protoimpl.SizeCache
578 unknownFields protoimpl.UnknownFields
579
580
581 OutputIdentifierCase IdentifierSettings_IdentifierCase `protobuf:"varint,1,opt,name=output_identifier_case,json=outputIdentifierCase,proto3,enum=google.cloud.bigquery.migration.v2alpha.IdentifierSettings_IdentifierCase" json:"output_identifier_case,omitempty"`
582
583 IdentifierRewriteMode IdentifierSettings_IdentifierRewriteMode `protobuf:"varint,2,opt,name=identifier_rewrite_mode,json=identifierRewriteMode,proto3,enum=google.cloud.bigquery.migration.v2alpha.IdentifierSettings_IdentifierRewriteMode" json:"identifier_rewrite_mode,omitempty"`
584 }
585
586 func (x *IdentifierSettings) Reset() {
587 *x = IdentifierSettings{}
588 if protoimpl.UnsafeEnabled {
589 mi := &file_google_cloud_bigquery_migration_v2alpha_translation_task_proto_msgTypes[3]
590 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
591 ms.StoreMessageInfo(mi)
592 }
593 }
594
595 func (x *IdentifierSettings) String() string {
596 return protoimpl.X.MessageStringOf(x)
597 }
598
599 func (*IdentifierSettings) ProtoMessage() {}
600
601 func (x *IdentifierSettings) ProtoReflect() protoreflect.Message {
602 mi := &file_google_cloud_bigquery_migration_v2alpha_translation_task_proto_msgTypes[3]
603 if protoimpl.UnsafeEnabled && x != nil {
604 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
605 if ms.LoadMessageInfo() == nil {
606 ms.StoreMessageInfo(mi)
607 }
608 return ms
609 }
610 return mi.MessageOf(x)
611 }
612
613
614 func (*IdentifierSettings) Descriptor() ([]byte, []int) {
615 return file_google_cloud_bigquery_migration_v2alpha_translation_task_proto_rawDescGZIP(), []int{3}
616 }
617
618 func (x *IdentifierSettings) GetOutputIdentifierCase() IdentifierSettings_IdentifierCase {
619 if x != nil {
620 return x.OutputIdentifierCase
621 }
622 return IdentifierSettings_IDENTIFIER_CASE_UNSPECIFIED
623 }
624
625 func (x *IdentifierSettings) GetIdentifierRewriteMode() IdentifierSettings_IdentifierRewriteMode {
626 if x != nil {
627 return x.IdentifierRewriteMode
628 }
629 return IdentifierSettings_IDENTIFIER_REWRITE_MODE_UNSPECIFIED
630 }
631
632
633 type TeradataOptions struct {
634 state protoimpl.MessageState
635 sizeCache protoimpl.SizeCache
636 unknownFields protoimpl.UnknownFields
637 }
638
639 func (x *TeradataOptions) Reset() {
640 *x = TeradataOptions{}
641 if protoimpl.UnsafeEnabled {
642 mi := &file_google_cloud_bigquery_migration_v2alpha_translation_task_proto_msgTypes[4]
643 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
644 ms.StoreMessageInfo(mi)
645 }
646 }
647
648 func (x *TeradataOptions) String() string {
649 return protoimpl.X.MessageStringOf(x)
650 }
651
652 func (*TeradataOptions) ProtoMessage() {}
653
654 func (x *TeradataOptions) ProtoReflect() protoreflect.Message {
655 mi := &file_google_cloud_bigquery_migration_v2alpha_translation_task_proto_msgTypes[4]
656 if protoimpl.UnsafeEnabled && x != nil {
657 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
658 if ms.LoadMessageInfo() == nil {
659 ms.StoreMessageInfo(mi)
660 }
661 return ms
662 }
663 return mi.MessageOf(x)
664 }
665
666
667 func (*TeradataOptions) Descriptor() ([]byte, []int) {
668 return file_google_cloud_bigquery_migration_v2alpha_translation_task_proto_rawDescGZIP(), []int{4}
669 }
670
671
672 type BteqOptions struct {
673 state protoimpl.MessageState
674 sizeCache protoimpl.SizeCache
675 unknownFields protoimpl.UnknownFields
676
677
678
679 ProjectDataset *DatasetReference `protobuf:"bytes,1,opt,name=project_dataset,json=projectDataset,proto3" json:"project_dataset,omitempty"`
680
681
682 DefaultPathUri string `protobuf:"bytes,2,opt,name=default_path_uri,json=defaultPathUri,proto3" json:"default_path_uri,omitempty"`
683
684
685
686 FileReplacementMap map[string]string `protobuf:"bytes,3,rep,name=file_replacement_map,json=fileReplacementMap,proto3" json:"file_replacement_map,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
687 }
688
689 func (x *BteqOptions) Reset() {
690 *x = BteqOptions{}
691 if protoimpl.UnsafeEnabled {
692 mi := &file_google_cloud_bigquery_migration_v2alpha_translation_task_proto_msgTypes[5]
693 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
694 ms.StoreMessageInfo(mi)
695 }
696 }
697
698 func (x *BteqOptions) String() string {
699 return protoimpl.X.MessageStringOf(x)
700 }
701
702 func (*BteqOptions) ProtoMessage() {}
703
704 func (x *BteqOptions) ProtoReflect() protoreflect.Message {
705 mi := &file_google_cloud_bigquery_migration_v2alpha_translation_task_proto_msgTypes[5]
706 if protoimpl.UnsafeEnabled && x != nil {
707 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
708 if ms.LoadMessageInfo() == nil {
709 ms.StoreMessageInfo(mi)
710 }
711 return ms
712 }
713 return mi.MessageOf(x)
714 }
715
716
717 func (*BteqOptions) Descriptor() ([]byte, []int) {
718 return file_google_cloud_bigquery_migration_v2alpha_translation_task_proto_rawDescGZIP(), []int{5}
719 }
720
721 func (x *BteqOptions) GetProjectDataset() *DatasetReference {
722 if x != nil {
723 return x.ProjectDataset
724 }
725 return nil
726 }
727
728 func (x *BteqOptions) GetDefaultPathUri() string {
729 if x != nil {
730 return x.DefaultPathUri
731 }
732 return ""
733 }
734
735 func (x *BteqOptions) GetFileReplacementMap() map[string]string {
736 if x != nil {
737 return x.FileReplacementMap
738 }
739 return nil
740 }
741
742
743 type DatasetReference struct {
744 state protoimpl.MessageState
745 sizeCache protoimpl.SizeCache
746 unknownFields protoimpl.UnknownFields
747
748
749
750
751 DatasetId string `protobuf:"bytes,1,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"`
752
753 ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
754 }
755
756 func (x *DatasetReference) Reset() {
757 *x = DatasetReference{}
758 if protoimpl.UnsafeEnabled {
759 mi := &file_google_cloud_bigquery_migration_v2alpha_translation_task_proto_msgTypes[6]
760 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
761 ms.StoreMessageInfo(mi)
762 }
763 }
764
765 func (x *DatasetReference) String() string {
766 return protoimpl.X.MessageStringOf(x)
767 }
768
769 func (*DatasetReference) ProtoMessage() {}
770
771 func (x *DatasetReference) ProtoReflect() protoreflect.Message {
772 mi := &file_google_cloud_bigquery_migration_v2alpha_translation_task_proto_msgTypes[6]
773 if protoimpl.UnsafeEnabled && x != nil {
774 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
775 if ms.LoadMessageInfo() == nil {
776 ms.StoreMessageInfo(mi)
777 }
778 return ms
779 }
780 return mi.MessageOf(x)
781 }
782
783
784 func (*DatasetReference) Descriptor() ([]byte, []int) {
785 return file_google_cloud_bigquery_migration_v2alpha_translation_task_proto_rawDescGZIP(), []int{6}
786 }
787
788 func (x *DatasetReference) GetDatasetId() string {
789 if x != nil {
790 return x.DatasetId
791 }
792 return ""
793 }
794
795 func (x *DatasetReference) GetProjectId() string {
796 if x != nil {
797 return x.ProjectId
798 }
799 return ""
800 }
801
802 var File_google_cloud_bigquery_migration_v2alpha_translation_task_proto protoreflect.FileDescriptor
803
804 var file_google_cloud_bigquery_migration_v2alpha_translation_task_proto_rawDesc = []byte{
805 0x0a, 0x3e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x62,
806 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f,
807 0x6e, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x6c,
808 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
809 0x12, 0x27, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62,
810 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f,
811 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x22, 0x58, 0x0a, 0x16, 0x54, 0x72, 0x61,
812 0x6e, 0x73, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x6c, 0x65, 0x4d, 0x61, 0x70, 0x70,
813 0x69, 0x6e, 0x67, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x70, 0x61, 0x74,
814 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x50, 0x61,
815 0x74, 0x68, 0x12, 0x1f, 0x0a, 0x0b, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x70, 0x61, 0x74,
816 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x50,
817 0x61, 0x74, 0x68, 0x22, 0xa9, 0x0a, 0x0a, 0x16, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x6c, 0x61, 0x74,
818 0x69, 0x6f, 0x6e, 0x54, 0x61, 0x73, 0x6b, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x65,
819 0x0a, 0x10, 0x74, 0x65, 0x72, 0x61, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f,
820 0x6e, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
821 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79,
822 0x2e, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70,
823 0x68, 0x61, 0x2e, 0x54, 0x65, 0x72, 0x61, 0x64, 0x61, 0x74, 0x61, 0x4f, 0x70, 0x74, 0x69, 0x6f,
824 0x6e, 0x73, 0x48, 0x00, 0x52, 0x0f, 0x74, 0x65, 0x72, 0x61, 0x64, 0x61, 0x74, 0x61, 0x4f, 0x70,
825 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x59, 0x0a, 0x0c, 0x62, 0x74, 0x65, 0x71, 0x5f, 0x6f, 0x70,
826 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x67, 0x6f,
827 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75,
828 0x65, 0x72, 0x79, 0x2e, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x32,
829 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x42, 0x74, 0x65, 0x71, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
830 0x73, 0x48, 0x00, 0x52, 0x0b, 0x62, 0x74, 0x65, 0x71, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73,
831 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01,
832 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x50, 0x61, 0x74, 0x68, 0x12,
833 0x1f, 0x0a, 0x0b, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02,
834 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x50, 0x61, 0x74, 0x68,
835 0x12, 0x5e, 0x0a, 0x0a, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x73, 0x18, 0x0c,
836 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
837 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x6d, 0x69, 0x67,
838 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x54,
839 0x72, 0x61, 0x6e, 0x73, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x6c, 0x65, 0x4d, 0x61,
840 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x50, 0x61, 0x74, 0x68, 0x73,
841 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18,
842 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x50, 0x61, 0x74,
843 0x68, 0x12, 0x71, 0x0a, 0x0d, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69,
844 0x6e, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x4c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
845 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79,
846 0x2e, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70,
847 0x68, 0x61, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x61,
848 0x73, 0x6b, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x45, 0x6e,
849 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x52, 0x0c, 0x66, 0x69, 0x6c, 0x65, 0x45, 0x6e, 0x63, 0x6f,
850 0x64, 0x69, 0x6e, 0x67, 0x12, 0x6c, 0x0a, 0x13, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69,
851 0x65, 0x72, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28,
852 0x0b, 0x32, 0x3b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
853 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74,
854 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x49, 0x64, 0x65, 0x6e,
855 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x12,
856 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e,
857 0x67, 0x73, 0x12, 0x80, 0x01, 0x0a, 0x11, 0x73, 0x70, 0x65, 0x63, 0x69, 0x61, 0x6c, 0x5f, 0x74,
858 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x54,
859 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69,
860 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
861 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x6c, 0x61,
862 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x61, 0x73, 0x6b, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x2e,
863 0x53, 0x70, 0x65, 0x63, 0x69, 0x61, 0x6c, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x4d, 0x61, 0x70, 0x45,
864 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0f, 0x73, 0x70, 0x65, 0x63, 0x69, 0x61, 0x6c, 0x54, 0x6f, 0x6b,
865 0x65, 0x6e, 0x4d, 0x61, 0x70, 0x12, 0x47, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18,
866 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
867 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x6d, 0x69,
868 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e,
869 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x3e,
870 0x0a, 0x1b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x65, 0x78,
871 0x63, 0x65, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x0d, 0x20,
872 0x01, 0x28, 0x09, 0x52, 0x19, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e,
873 0x45, 0x78, 0x63, 0x65, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x1a, 0x8d,
874 0x01, 0x0a, 0x14, 0x53, 0x70, 0x65, 0x63, 0x69, 0x61, 0x6c, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x4d,
875 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01,
876 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x5f, 0x0a, 0x05, 0x76, 0x61, 0x6c,
877 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x49, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
878 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79,
879 0x2e, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70,
880 0x68, 0x61, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x61,
881 0x73, 0x6b, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x54,
882 0x79, 0x70, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x7e,
883 0x0a, 0x0c, 0x46, 0x69, 0x6c, 0x65, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x1d,
884 0x0a, 0x19, 0x46, 0x49, 0x4c, 0x45, 0x5f, 0x45, 0x4e, 0x43, 0x4f, 0x44, 0x49, 0x4e, 0x47, 0x5f,
885 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x09, 0x0a,
886 0x05, 0x55, 0x54, 0x46, 0x5f, 0x38, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x49, 0x53, 0x4f, 0x5f,
887 0x38, 0x38, 0x35, 0x39, 0x5f, 0x31, 0x10, 0x02, 0x12, 0x0c, 0x0a, 0x08, 0x55, 0x53, 0x5f, 0x41,
888 0x53, 0x43, 0x49, 0x49, 0x10, 0x03, 0x12, 0x0a, 0x0a, 0x06, 0x55, 0x54, 0x46, 0x5f, 0x31, 0x36,
889 0x10, 0x04, 0x12, 0x0c, 0x0a, 0x08, 0x55, 0x54, 0x46, 0x5f, 0x31, 0x36, 0x4c, 0x45, 0x10, 0x05,
890 0x12, 0x0c, 0x0a, 0x08, 0x55, 0x54, 0x46, 0x5f, 0x31, 0x36, 0x42, 0x45, 0x10, 0x06, 0x22, 0x7b,
891 0x0a, 0x09, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x16, 0x54,
892 0x4f, 0x4b, 0x45, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43,
893 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x54, 0x52, 0x49, 0x4e,
894 0x47, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x49, 0x4e, 0x54, 0x36, 0x34, 0x10, 0x02, 0x12, 0x0b,
895 0x0a, 0x07, 0x4e, 0x55, 0x4d, 0x45, 0x52, 0x49, 0x43, 0x10, 0x03, 0x12, 0x08, 0x0a, 0x04, 0x42,
896 0x4f, 0x4f, 0x4c, 0x10, 0x04, 0x12, 0x0b, 0x0a, 0x07, 0x46, 0x4c, 0x4f, 0x41, 0x54, 0x36, 0x34,
897 0x10, 0x05, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x41, 0x54, 0x45, 0x10, 0x06, 0x12, 0x0d, 0x0a, 0x09,
898 0x54, 0x49, 0x4d, 0x45, 0x53, 0x54, 0x41, 0x4d, 0x50, 0x10, 0x07, 0x42, 0x12, 0x0a, 0x10, 0x6c,
899 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22,
900 0x4b, 0x0a, 0x06, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x41, 0x0a, 0x1d, 0x69, 0x6e, 0x70,
901 0x75, 0x74, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x6f,
902 0x6e, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09,
903 0x52, 0x1a, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x45, 0x78, 0x63, 0x6c, 0x75,
904 0x73, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 0x65, 0x73, 0x22, 0xd7, 0x03, 0x0a,
905 0x12, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x53, 0x65, 0x74, 0x74, 0x69,
906 0x6e, 0x67, 0x73, 0x12, 0x80, 0x01, 0x0a, 0x16, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x69,
907 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x5f, 0x63, 0x61, 0x73, 0x65, 0x18, 0x01,
908 0x20, 0x01, 0x28, 0x0e, 0x32, 0x4a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
909 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x6d, 0x69, 0x67,
910 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x49,
911 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67,
912 0x73, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x43, 0x61, 0x73, 0x65,
913 0x52, 0x14, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69,
914 0x65, 0x72, 0x43, 0x61, 0x73, 0x65, 0x12, 0x89, 0x01, 0x0a, 0x17, 0x69, 0x64, 0x65, 0x6e, 0x74,
915 0x69, 0x66, 0x69, 0x65, 0x72, 0x5f, 0x72, 0x65, 0x77, 0x72, 0x69, 0x74, 0x65, 0x5f, 0x6d, 0x6f,
916 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x51, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
917 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79,
918 0x2e, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70,
919 0x68, 0x61, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x53, 0x65, 0x74,
920 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72,
921 0x52, 0x65, 0x77, 0x72, 0x69, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x15, 0x69, 0x64, 0x65,
922 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x65, 0x77, 0x72, 0x69, 0x74, 0x65, 0x4d, 0x6f,
923 0x64, 0x65, 0x22, 0x55, 0x0a, 0x0e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72,
924 0x43, 0x61, 0x73, 0x65, 0x12, 0x1f, 0x0a, 0x1b, 0x49, 0x44, 0x45, 0x4e, 0x54, 0x49, 0x46, 0x49,
925 0x45, 0x52, 0x5f, 0x43, 0x41, 0x53, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46,
926 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x4f, 0x52, 0x49, 0x47, 0x49, 0x4e, 0x41,
927 0x4c, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x55, 0x50, 0x50, 0x45, 0x52, 0x10, 0x02, 0x12, 0x09,
928 0x0a, 0x05, 0x4c, 0x4f, 0x57, 0x45, 0x52, 0x10, 0x03, 0x22, 0x5b, 0x0a, 0x15, 0x49, 0x64, 0x65,
929 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x65, 0x77, 0x72, 0x69, 0x74, 0x65, 0x4d, 0x6f,
930 0x64, 0x65, 0x12, 0x27, 0x0a, 0x23, 0x49, 0x44, 0x45, 0x4e, 0x54, 0x49, 0x46, 0x49, 0x45, 0x52,
931 0x5f, 0x52, 0x45, 0x57, 0x52, 0x49, 0x54, 0x45, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x55, 0x4e,
932 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x4e,
933 0x4f, 0x4e, 0x45, 0x10, 0x01, 0x12, 0x0f, 0x0a, 0x0b, 0x52, 0x45, 0x57, 0x52, 0x49, 0x54, 0x45,
934 0x5f, 0x41, 0x4c, 0x4c, 0x10, 0x02, 0x22, 0x11, 0x0a, 0x0f, 0x54, 0x65, 0x72, 0x61, 0x64, 0x61,
935 0x74, 0x61, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xe2, 0x02, 0x0a, 0x0b, 0x42, 0x74,
936 0x65, 0x71, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x62, 0x0a, 0x0f, 0x70, 0x72, 0x6f,
937 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01,
938 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
939 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x6d, 0x69, 0x67, 0x72, 0x61,
940 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x44, 0x61, 0x74,
941 0x61, 0x73, 0x65, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x0e, 0x70,
942 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x12, 0x28, 0x0a,
943 0x10, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x5f, 0x75, 0x72,
944 0x69, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74,
945 0x50, 0x61, 0x74, 0x68, 0x55, 0x72, 0x69, 0x12, 0x7e, 0x0a, 0x14, 0x66, 0x69, 0x6c, 0x65, 0x5f,
946 0x72, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x6d, 0x61, 0x70, 0x18,
947 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x4c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
948 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x6d, 0x69,
949 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e,
950 0x42, 0x74, 0x65, 0x71, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x46, 0x69, 0x6c, 0x65,
951 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x4d, 0x61, 0x70, 0x45, 0x6e,
952 0x74, 0x72, 0x79, 0x52, 0x12, 0x66, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65,
953 0x6d, 0x65, 0x6e, 0x74, 0x4d, 0x61, 0x70, 0x1a, 0x45, 0x0a, 0x17, 0x46, 0x69, 0x6c, 0x65, 0x52,
954 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74,
955 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
956 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20,
957 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x50,
958 0x0a, 0x10, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e,
959 0x63, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x64,
960 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x49,
961 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18,
962 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64,
963 0x42, 0xe4, 0x01, 0x0a, 0x2b, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
964 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x6d,
965 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61,
966 0x42, 0x14, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x61, 0x73,
967 0x6b, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x49, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
968 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x62, 0x69,
969 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
970 0x2f, 0x61, 0x70, 0x69, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x6d, 0x69, 0x67, 0x72,
971 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x70, 0x62, 0x3b, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f,
972 0x6e, 0x70, 0x62, 0xaa, 0x02, 0x27, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f,
973 0x75, 0x64, 0x2e, 0x42, 0x69, 0x67, 0x51, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x4d, 0x69, 0x67, 0x72,
974 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x56, 0x32, 0x41, 0x6c, 0x70, 0x68, 0x61, 0xca, 0x02, 0x27,
975 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x42, 0x69, 0x67,
976 0x51, 0x75, 0x65, 0x72, 0x79, 0x5c, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5c,
977 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
978 }
979
980 var (
981 file_google_cloud_bigquery_migration_v2alpha_translation_task_proto_rawDescOnce sync.Once
982 file_google_cloud_bigquery_migration_v2alpha_translation_task_proto_rawDescData = file_google_cloud_bigquery_migration_v2alpha_translation_task_proto_rawDesc
983 )
984
985 func file_google_cloud_bigquery_migration_v2alpha_translation_task_proto_rawDescGZIP() []byte {
986 file_google_cloud_bigquery_migration_v2alpha_translation_task_proto_rawDescOnce.Do(func() {
987 file_google_cloud_bigquery_migration_v2alpha_translation_task_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_bigquery_migration_v2alpha_translation_task_proto_rawDescData)
988 })
989 return file_google_cloud_bigquery_migration_v2alpha_translation_task_proto_rawDescData
990 }
991
992 var file_google_cloud_bigquery_migration_v2alpha_translation_task_proto_enumTypes = make([]protoimpl.EnumInfo, 4)
993 var file_google_cloud_bigquery_migration_v2alpha_translation_task_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
994 var file_google_cloud_bigquery_migration_v2alpha_translation_task_proto_goTypes = []interface{}{
995 (TranslationTaskDetails_FileEncoding)(0),
996 (TranslationTaskDetails_TokenType)(0),
997 (IdentifierSettings_IdentifierCase)(0),
998 (IdentifierSettings_IdentifierRewriteMode)(0),
999 (*TranslationFileMapping)(nil),
1000 (*TranslationTaskDetails)(nil),
1001 (*Filter)(nil),
1002 (*IdentifierSettings)(nil),
1003 (*TeradataOptions)(nil),
1004 (*BteqOptions)(nil),
1005 (*DatasetReference)(nil),
1006 nil,
1007 nil,
1008 }
1009 var file_google_cloud_bigquery_migration_v2alpha_translation_task_proto_depIdxs = []int32{
1010 8,
1011 9,
1012 4,
1013 0,
1014 7,
1015 11,
1016 6,
1017 2,
1018 3,
1019 10,
1020 12,
1021 1,
1022 12,
1023 12,
1024 12,
1025 12,
1026 0,
1027 }
1028
1029 func init() { file_google_cloud_bigquery_migration_v2alpha_translation_task_proto_init() }
1030 func file_google_cloud_bigquery_migration_v2alpha_translation_task_proto_init() {
1031 if File_google_cloud_bigquery_migration_v2alpha_translation_task_proto != nil {
1032 return
1033 }
1034 if !protoimpl.UnsafeEnabled {
1035 file_google_cloud_bigquery_migration_v2alpha_translation_task_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
1036 switch v := v.(*TranslationFileMapping); i {
1037 case 0:
1038 return &v.state
1039 case 1:
1040 return &v.sizeCache
1041 case 2:
1042 return &v.unknownFields
1043 default:
1044 return nil
1045 }
1046 }
1047 file_google_cloud_bigquery_migration_v2alpha_translation_task_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
1048 switch v := v.(*TranslationTaskDetails); i {
1049 case 0:
1050 return &v.state
1051 case 1:
1052 return &v.sizeCache
1053 case 2:
1054 return &v.unknownFields
1055 default:
1056 return nil
1057 }
1058 }
1059 file_google_cloud_bigquery_migration_v2alpha_translation_task_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
1060 switch v := v.(*Filter); i {
1061 case 0:
1062 return &v.state
1063 case 1:
1064 return &v.sizeCache
1065 case 2:
1066 return &v.unknownFields
1067 default:
1068 return nil
1069 }
1070 }
1071 file_google_cloud_bigquery_migration_v2alpha_translation_task_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
1072 switch v := v.(*IdentifierSettings); i {
1073 case 0:
1074 return &v.state
1075 case 1:
1076 return &v.sizeCache
1077 case 2:
1078 return &v.unknownFields
1079 default:
1080 return nil
1081 }
1082 }
1083 file_google_cloud_bigquery_migration_v2alpha_translation_task_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
1084 switch v := v.(*TeradataOptions); i {
1085 case 0:
1086 return &v.state
1087 case 1:
1088 return &v.sizeCache
1089 case 2:
1090 return &v.unknownFields
1091 default:
1092 return nil
1093 }
1094 }
1095 file_google_cloud_bigquery_migration_v2alpha_translation_task_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
1096 switch v := v.(*BteqOptions); i {
1097 case 0:
1098 return &v.state
1099 case 1:
1100 return &v.sizeCache
1101 case 2:
1102 return &v.unknownFields
1103 default:
1104 return nil
1105 }
1106 }
1107 file_google_cloud_bigquery_migration_v2alpha_translation_task_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
1108 switch v := v.(*DatasetReference); i {
1109 case 0:
1110 return &v.state
1111 case 1:
1112 return &v.sizeCache
1113 case 2:
1114 return &v.unknownFields
1115 default:
1116 return nil
1117 }
1118 }
1119 }
1120 file_google_cloud_bigquery_migration_v2alpha_translation_task_proto_msgTypes[1].OneofWrappers = []interface{}{
1121 (*TranslationTaskDetails_TeradataOptions)(nil),
1122 (*TranslationTaskDetails_BteqOptions)(nil),
1123 }
1124 type x struct{}
1125 out := protoimpl.TypeBuilder{
1126 File: protoimpl.DescBuilder{
1127 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
1128 RawDescriptor: file_google_cloud_bigquery_migration_v2alpha_translation_task_proto_rawDesc,
1129 NumEnums: 4,
1130 NumMessages: 9,
1131 NumExtensions: 0,
1132 NumServices: 0,
1133 },
1134 GoTypes: file_google_cloud_bigquery_migration_v2alpha_translation_task_proto_goTypes,
1135 DependencyIndexes: file_google_cloud_bigquery_migration_v2alpha_translation_task_proto_depIdxs,
1136 EnumInfos: file_google_cloud_bigquery_migration_v2alpha_translation_task_proto_enumTypes,
1137 MessageInfos: file_google_cloud_bigquery_migration_v2alpha_translation_task_proto_msgTypes,
1138 }.Build()
1139 File_google_cloud_bigquery_migration_v2alpha_translation_task_proto = out.File
1140 file_google_cloud_bigquery_migration_v2alpha_translation_task_proto_rawDesc = nil
1141 file_google_cloud_bigquery_migration_v2alpha_translation_task_proto_goTypes = nil
1142 file_google_cloud_bigquery_migration_v2alpha_translation_task_proto_depIdxs = nil
1143 }
1144
View as plain text