This repository has been archived by the owner on Oct 23, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 61
/
types.pb.go
776 lines (674 loc) · 28.3 KB
/
types.pb.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: flyteidl/core/types.proto
package core
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
_struct "github.com/golang/protobuf/ptypes/struct"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
// Define a set of simple types.
type SimpleType int32
const (
SimpleType_NONE SimpleType = 0
SimpleType_INTEGER SimpleType = 1
SimpleType_FLOAT SimpleType = 2
SimpleType_STRING SimpleType = 3
SimpleType_BOOLEAN SimpleType = 4
SimpleType_DATETIME SimpleType = 5
SimpleType_DURATION SimpleType = 6
SimpleType_BINARY SimpleType = 7
SimpleType_ERROR SimpleType = 8
SimpleType_STRUCT SimpleType = 9
)
var SimpleType_name = map[int32]string{
0: "NONE",
1: "INTEGER",
2: "FLOAT",
3: "STRING",
4: "BOOLEAN",
5: "DATETIME",
6: "DURATION",
7: "BINARY",
8: "ERROR",
9: "STRUCT",
}
var SimpleType_value = map[string]int32{
"NONE": 0,
"INTEGER": 1,
"FLOAT": 2,
"STRING": 3,
"BOOLEAN": 4,
"DATETIME": 5,
"DURATION": 6,
"BINARY": 7,
"ERROR": 8,
"STRUCT": 9,
}
func (x SimpleType) String() string {
return proto.EnumName(SimpleType_name, int32(x))
}
func (SimpleType) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_51e8add38f4caaed, []int{0}
}
type SchemaType_SchemaColumn_SchemaColumnType int32
const (
SchemaType_SchemaColumn_INTEGER SchemaType_SchemaColumn_SchemaColumnType = 0
SchemaType_SchemaColumn_FLOAT SchemaType_SchemaColumn_SchemaColumnType = 1
SchemaType_SchemaColumn_STRING SchemaType_SchemaColumn_SchemaColumnType = 2
SchemaType_SchemaColumn_BOOLEAN SchemaType_SchemaColumn_SchemaColumnType = 3
SchemaType_SchemaColumn_DATETIME SchemaType_SchemaColumn_SchemaColumnType = 4
SchemaType_SchemaColumn_DURATION SchemaType_SchemaColumn_SchemaColumnType = 5
)
var SchemaType_SchemaColumn_SchemaColumnType_name = map[int32]string{
0: "INTEGER",
1: "FLOAT",
2: "STRING",
3: "BOOLEAN",
4: "DATETIME",
5: "DURATION",
}
var SchemaType_SchemaColumn_SchemaColumnType_value = map[string]int32{
"INTEGER": 0,
"FLOAT": 1,
"STRING": 2,
"BOOLEAN": 3,
"DATETIME": 4,
"DURATION": 5,
}
func (x SchemaType_SchemaColumn_SchemaColumnType) String() string {
return proto.EnumName(SchemaType_SchemaColumn_SchemaColumnType_name, int32(x))
}
func (SchemaType_SchemaColumn_SchemaColumnType) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_51e8add38f4caaed, []int{0, 0, 0}
}
type BlobType_BlobDimensionality int32
const (
BlobType_SINGLE BlobType_BlobDimensionality = 0
BlobType_MULTIPART BlobType_BlobDimensionality = 1
)
var BlobType_BlobDimensionality_name = map[int32]string{
0: "SINGLE",
1: "MULTIPART",
}
var BlobType_BlobDimensionality_value = map[string]int32{
"SINGLE": 0,
"MULTIPART": 1,
}
func (x BlobType_BlobDimensionality) String() string {
return proto.EnumName(BlobType_BlobDimensionality_name, int32(x))
}
func (BlobType_BlobDimensionality) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_51e8add38f4caaed, []int{2, 0}
}
// Defines schema columns and types to strongly type-validate schemas interoperability.
type SchemaType struct {
// A list of ordered columns this schema comprises of.
Columns []*SchemaType_SchemaColumn `protobuf:"bytes,3,rep,name=columns,proto3" json:"columns,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SchemaType) Reset() { *m = SchemaType{} }
func (m *SchemaType) String() string { return proto.CompactTextString(m) }
func (*SchemaType) ProtoMessage() {}
func (*SchemaType) Descriptor() ([]byte, []int) {
return fileDescriptor_51e8add38f4caaed, []int{0}
}
func (m *SchemaType) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SchemaType.Unmarshal(m, b)
}
func (m *SchemaType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SchemaType.Marshal(b, m, deterministic)
}
func (m *SchemaType) XXX_Merge(src proto.Message) {
xxx_messageInfo_SchemaType.Merge(m, src)
}
func (m *SchemaType) XXX_Size() int {
return xxx_messageInfo_SchemaType.Size(m)
}
func (m *SchemaType) XXX_DiscardUnknown() {
xxx_messageInfo_SchemaType.DiscardUnknown(m)
}
var xxx_messageInfo_SchemaType proto.InternalMessageInfo
func (m *SchemaType) GetColumns() []*SchemaType_SchemaColumn {
if m != nil {
return m.Columns
}
return nil
}
type SchemaType_SchemaColumn struct {
// A unique name -within the schema type- for the column
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The column type. This allows a limited set of types currently.
Type SchemaType_SchemaColumn_SchemaColumnType `protobuf:"varint,2,opt,name=type,proto3,enum=flyteidl.core.SchemaType_SchemaColumn_SchemaColumnType" json:"type,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SchemaType_SchemaColumn) Reset() { *m = SchemaType_SchemaColumn{} }
func (m *SchemaType_SchemaColumn) String() string { return proto.CompactTextString(m) }
func (*SchemaType_SchemaColumn) ProtoMessage() {}
func (*SchemaType_SchemaColumn) Descriptor() ([]byte, []int) {
return fileDescriptor_51e8add38f4caaed, []int{0, 0}
}
func (m *SchemaType_SchemaColumn) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SchemaType_SchemaColumn.Unmarshal(m, b)
}
func (m *SchemaType_SchemaColumn) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SchemaType_SchemaColumn.Marshal(b, m, deterministic)
}
func (m *SchemaType_SchemaColumn) XXX_Merge(src proto.Message) {
xxx_messageInfo_SchemaType_SchemaColumn.Merge(m, src)
}
func (m *SchemaType_SchemaColumn) XXX_Size() int {
return xxx_messageInfo_SchemaType_SchemaColumn.Size(m)
}
func (m *SchemaType_SchemaColumn) XXX_DiscardUnknown() {
xxx_messageInfo_SchemaType_SchemaColumn.DiscardUnknown(m)
}
var xxx_messageInfo_SchemaType_SchemaColumn proto.InternalMessageInfo
func (m *SchemaType_SchemaColumn) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *SchemaType_SchemaColumn) GetType() SchemaType_SchemaColumn_SchemaColumnType {
if m != nil {
return m.Type
}
return SchemaType_SchemaColumn_INTEGER
}
type StructuredDatasetType struct {
// A list of ordered columns this schema comprises of.
Columns []*StructuredDatasetType_DatasetColumn `protobuf:"bytes,1,rep,name=columns,proto3" json:"columns,omitempty"`
// This is the storage format, the format of the bits at rest
// parquet, feather, csv, etc.
// For two types to be compatible, the format will need to be an exact match.
Format string `protobuf:"bytes,2,opt,name=format,proto3" json:"format,omitempty"`
// This is a string representing the type that the bytes in external_schema_bytes are formatted in.
// This is an optional field that will not be used for type checking.
ExternalSchemaType string `protobuf:"bytes,3,opt,name=external_schema_type,json=externalSchemaType,proto3" json:"external_schema_type,omitempty"`
// The serialized bytes of a third-party schema library like Arrow.
// This is an optional field that will not be used for type checking.
ExternalSchemaBytes []byte `protobuf:"bytes,4,opt,name=external_schema_bytes,json=externalSchemaBytes,proto3" json:"external_schema_bytes,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *StructuredDatasetType) Reset() { *m = StructuredDatasetType{} }
func (m *StructuredDatasetType) String() string { return proto.CompactTextString(m) }
func (*StructuredDatasetType) ProtoMessage() {}
func (*StructuredDatasetType) Descriptor() ([]byte, []int) {
return fileDescriptor_51e8add38f4caaed, []int{1}
}
func (m *StructuredDatasetType) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_StructuredDatasetType.Unmarshal(m, b)
}
func (m *StructuredDatasetType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_StructuredDatasetType.Marshal(b, m, deterministic)
}
func (m *StructuredDatasetType) XXX_Merge(src proto.Message) {
xxx_messageInfo_StructuredDatasetType.Merge(m, src)
}
func (m *StructuredDatasetType) XXX_Size() int {
return xxx_messageInfo_StructuredDatasetType.Size(m)
}
func (m *StructuredDatasetType) XXX_DiscardUnknown() {
xxx_messageInfo_StructuredDatasetType.DiscardUnknown(m)
}
var xxx_messageInfo_StructuredDatasetType proto.InternalMessageInfo
func (m *StructuredDatasetType) GetColumns() []*StructuredDatasetType_DatasetColumn {
if m != nil {
return m.Columns
}
return nil
}
func (m *StructuredDatasetType) GetFormat() string {
if m != nil {
return m.Format
}
return ""
}
func (m *StructuredDatasetType) GetExternalSchemaType() string {
if m != nil {
return m.ExternalSchemaType
}
return ""
}
func (m *StructuredDatasetType) GetExternalSchemaBytes() []byte {
if m != nil {
return m.ExternalSchemaBytes
}
return nil
}
type StructuredDatasetType_DatasetColumn struct {
// A unique name within the schema type for the column.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The column type.
LiteralType *LiteralType `protobuf:"bytes,2,opt,name=literal_type,json=literalType,proto3" json:"literal_type,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *StructuredDatasetType_DatasetColumn) Reset() { *m = StructuredDatasetType_DatasetColumn{} }
func (m *StructuredDatasetType_DatasetColumn) String() string { return proto.CompactTextString(m) }
func (*StructuredDatasetType_DatasetColumn) ProtoMessage() {}
func (*StructuredDatasetType_DatasetColumn) Descriptor() ([]byte, []int) {
return fileDescriptor_51e8add38f4caaed, []int{1, 0}
}
func (m *StructuredDatasetType_DatasetColumn) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_StructuredDatasetType_DatasetColumn.Unmarshal(m, b)
}
func (m *StructuredDatasetType_DatasetColumn) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_StructuredDatasetType_DatasetColumn.Marshal(b, m, deterministic)
}
func (m *StructuredDatasetType_DatasetColumn) XXX_Merge(src proto.Message) {
xxx_messageInfo_StructuredDatasetType_DatasetColumn.Merge(m, src)
}
func (m *StructuredDatasetType_DatasetColumn) XXX_Size() int {
return xxx_messageInfo_StructuredDatasetType_DatasetColumn.Size(m)
}
func (m *StructuredDatasetType_DatasetColumn) XXX_DiscardUnknown() {
xxx_messageInfo_StructuredDatasetType_DatasetColumn.DiscardUnknown(m)
}
var xxx_messageInfo_StructuredDatasetType_DatasetColumn proto.InternalMessageInfo
func (m *StructuredDatasetType_DatasetColumn) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *StructuredDatasetType_DatasetColumn) GetLiteralType() *LiteralType {
if m != nil {
return m.LiteralType
}
return nil
}
// Defines type behavior for blob objects
type BlobType struct {
// Format can be a free form string understood by SDK/UI etc like
// csv, parquet etc
Format string `protobuf:"bytes,1,opt,name=format,proto3" json:"format,omitempty"`
Dimensionality BlobType_BlobDimensionality `protobuf:"varint,2,opt,name=dimensionality,proto3,enum=flyteidl.core.BlobType_BlobDimensionality" json:"dimensionality,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *BlobType) Reset() { *m = BlobType{} }
func (m *BlobType) String() string { return proto.CompactTextString(m) }
func (*BlobType) ProtoMessage() {}
func (*BlobType) Descriptor() ([]byte, []int) {
return fileDescriptor_51e8add38f4caaed, []int{2}
}
func (m *BlobType) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_BlobType.Unmarshal(m, b)
}
func (m *BlobType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_BlobType.Marshal(b, m, deterministic)
}
func (m *BlobType) XXX_Merge(src proto.Message) {
xxx_messageInfo_BlobType.Merge(m, src)
}
func (m *BlobType) XXX_Size() int {
return xxx_messageInfo_BlobType.Size(m)
}
func (m *BlobType) XXX_DiscardUnknown() {
xxx_messageInfo_BlobType.DiscardUnknown(m)
}
var xxx_messageInfo_BlobType proto.InternalMessageInfo
func (m *BlobType) GetFormat() string {
if m != nil {
return m.Format
}
return ""
}
func (m *BlobType) GetDimensionality() BlobType_BlobDimensionality {
if m != nil {
return m.Dimensionality
}
return BlobType_SINGLE
}
// Enables declaring enum types, with predefined string values
// For len(values) > 0, the first value in the ordered list is regarded as the default value. If you wish
// To provide no defaults, make the first value as undefined.
type EnumType struct {
// Predefined set of enum values.
Values []string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *EnumType) Reset() { *m = EnumType{} }
func (m *EnumType) String() string { return proto.CompactTextString(m) }
func (*EnumType) ProtoMessage() {}
func (*EnumType) Descriptor() ([]byte, []int) {
return fileDescriptor_51e8add38f4caaed, []int{3}
}
func (m *EnumType) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_EnumType.Unmarshal(m, b)
}
func (m *EnumType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_EnumType.Marshal(b, m, deterministic)
}
func (m *EnumType) XXX_Merge(src proto.Message) {
xxx_messageInfo_EnumType.Merge(m, src)
}
func (m *EnumType) XXX_Size() int {
return xxx_messageInfo_EnumType.Size(m)
}
func (m *EnumType) XXX_DiscardUnknown() {
xxx_messageInfo_EnumType.DiscardUnknown(m)
}
var xxx_messageInfo_EnumType proto.InternalMessageInfo
func (m *EnumType) GetValues() []string {
if m != nil {
return m.Values
}
return nil
}
// Defines a strong type to allow type checking between interfaces.
type LiteralType struct {
// Types that are valid to be assigned to Type:
// *LiteralType_Simple
// *LiteralType_Schema
// *LiteralType_CollectionType
// *LiteralType_MapValueType
// *LiteralType_Blob
// *LiteralType_EnumType
// *LiteralType_StructuredDatasetType
Type isLiteralType_Type `protobuf_oneof:"type"`
// This field contains type metadata that is descriptive of the type, but is NOT considered in type-checking. This might be used by
// consumers to identify special behavior or display extended information for the type.
Metadata *_struct.Struct `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *LiteralType) Reset() { *m = LiteralType{} }
func (m *LiteralType) String() string { return proto.CompactTextString(m) }
func (*LiteralType) ProtoMessage() {}
func (*LiteralType) Descriptor() ([]byte, []int) {
return fileDescriptor_51e8add38f4caaed, []int{4}
}
func (m *LiteralType) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_LiteralType.Unmarshal(m, b)
}
func (m *LiteralType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_LiteralType.Marshal(b, m, deterministic)
}
func (m *LiteralType) XXX_Merge(src proto.Message) {
xxx_messageInfo_LiteralType.Merge(m, src)
}
func (m *LiteralType) XXX_Size() int {
return xxx_messageInfo_LiteralType.Size(m)
}
func (m *LiteralType) XXX_DiscardUnknown() {
xxx_messageInfo_LiteralType.DiscardUnknown(m)
}
var xxx_messageInfo_LiteralType proto.InternalMessageInfo
type isLiteralType_Type interface {
isLiteralType_Type()
}
type LiteralType_Simple struct {
Simple SimpleType `protobuf:"varint,1,opt,name=simple,proto3,enum=flyteidl.core.SimpleType,oneof"`
}
type LiteralType_Schema struct {
Schema *SchemaType `protobuf:"bytes,2,opt,name=schema,proto3,oneof"`
}
type LiteralType_CollectionType struct {
CollectionType *LiteralType `protobuf:"bytes,3,opt,name=collection_type,json=collectionType,proto3,oneof"`
}
type LiteralType_MapValueType struct {
MapValueType *LiteralType `protobuf:"bytes,4,opt,name=map_value_type,json=mapValueType,proto3,oneof"`
}
type LiteralType_Blob struct {
Blob *BlobType `protobuf:"bytes,5,opt,name=blob,proto3,oneof"`
}
type LiteralType_EnumType struct {
EnumType *EnumType `protobuf:"bytes,7,opt,name=enum_type,json=enumType,proto3,oneof"`
}
type LiteralType_StructuredDatasetType struct {
StructuredDatasetType *StructuredDatasetType `protobuf:"bytes,8,opt,name=structured_dataset_type,json=structuredDatasetType,proto3,oneof"`
}
func (*LiteralType_Simple) isLiteralType_Type() {}
func (*LiteralType_Schema) isLiteralType_Type() {}
func (*LiteralType_CollectionType) isLiteralType_Type() {}
func (*LiteralType_MapValueType) isLiteralType_Type() {}
func (*LiteralType_Blob) isLiteralType_Type() {}
func (*LiteralType_EnumType) isLiteralType_Type() {}
func (*LiteralType_StructuredDatasetType) isLiteralType_Type() {}
func (m *LiteralType) GetType() isLiteralType_Type {
if m != nil {
return m.Type
}
return nil
}
func (m *LiteralType) GetSimple() SimpleType {
if x, ok := m.GetType().(*LiteralType_Simple); ok {
return x.Simple
}
return SimpleType_NONE
}
func (m *LiteralType) GetSchema() *SchemaType {
if x, ok := m.GetType().(*LiteralType_Schema); ok {
return x.Schema
}
return nil
}
func (m *LiteralType) GetCollectionType() *LiteralType {
if x, ok := m.GetType().(*LiteralType_CollectionType); ok {
return x.CollectionType
}
return nil
}
func (m *LiteralType) GetMapValueType() *LiteralType {
if x, ok := m.GetType().(*LiteralType_MapValueType); ok {
return x.MapValueType
}
return nil
}
func (m *LiteralType) GetBlob() *BlobType {
if x, ok := m.GetType().(*LiteralType_Blob); ok {
return x.Blob
}
return nil
}
func (m *LiteralType) GetEnumType() *EnumType {
if x, ok := m.GetType().(*LiteralType_EnumType); ok {
return x.EnumType
}
return nil
}
func (m *LiteralType) GetStructuredDatasetType() *StructuredDatasetType {
if x, ok := m.GetType().(*LiteralType_StructuredDatasetType); ok {
return x.StructuredDatasetType
}
return nil
}
func (m *LiteralType) GetMetadata() *_struct.Struct {
if m != nil {
return m.Metadata
}
return nil
}
// XXX_OneofWrappers is for the internal use of the proto package.
func (*LiteralType) XXX_OneofWrappers() []interface{} {
return []interface{}{
(*LiteralType_Simple)(nil),
(*LiteralType_Schema)(nil),
(*LiteralType_CollectionType)(nil),
(*LiteralType_MapValueType)(nil),
(*LiteralType_Blob)(nil),
(*LiteralType_EnumType)(nil),
(*LiteralType_StructuredDatasetType)(nil),
}
}
// A reference to an output produced by a node. The type can be retrieved -and validated- from
// the underlying interface of the node.
type OutputReference struct {
// Node id must exist at the graph layer.
NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
// Variable name must refer to an output variable for the node.
Var string `protobuf:"bytes,2,opt,name=var,proto3" json:"var,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *OutputReference) Reset() { *m = OutputReference{} }
func (m *OutputReference) String() string { return proto.CompactTextString(m) }
func (*OutputReference) ProtoMessage() {}
func (*OutputReference) Descriptor() ([]byte, []int) {
return fileDescriptor_51e8add38f4caaed, []int{5}
}
func (m *OutputReference) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_OutputReference.Unmarshal(m, b)
}
func (m *OutputReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_OutputReference.Marshal(b, m, deterministic)
}
func (m *OutputReference) XXX_Merge(src proto.Message) {
xxx_messageInfo_OutputReference.Merge(m, src)
}
func (m *OutputReference) XXX_Size() int {
return xxx_messageInfo_OutputReference.Size(m)
}
func (m *OutputReference) XXX_DiscardUnknown() {
xxx_messageInfo_OutputReference.DiscardUnknown(m)
}
var xxx_messageInfo_OutputReference proto.InternalMessageInfo
func (m *OutputReference) GetNodeId() string {
if m != nil {
return m.NodeId
}
return ""
}
func (m *OutputReference) GetVar() string {
if m != nil {
return m.Var
}
return ""
}
// Represents an error thrown from a node.
type Error struct {
// The node id that threw the error.
FailedNodeId string `protobuf:"bytes,1,opt,name=failed_node_id,json=failedNodeId,proto3" json:"failed_node_id,omitempty"`
// Error message thrown.
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Error) Reset() { *m = Error{} }
func (m *Error) String() string { return proto.CompactTextString(m) }
func (*Error) ProtoMessage() {}
func (*Error) Descriptor() ([]byte, []int) {
return fileDescriptor_51e8add38f4caaed, []int{6}
}
func (m *Error) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Error.Unmarshal(m, b)
}
func (m *Error) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Error.Marshal(b, m, deterministic)
}
func (m *Error) XXX_Merge(src proto.Message) {
xxx_messageInfo_Error.Merge(m, src)
}
func (m *Error) XXX_Size() int {
return xxx_messageInfo_Error.Size(m)
}
func (m *Error) XXX_DiscardUnknown() {
xxx_messageInfo_Error.DiscardUnknown(m)
}
var xxx_messageInfo_Error proto.InternalMessageInfo
func (m *Error) GetFailedNodeId() string {
if m != nil {
return m.FailedNodeId
}
return ""
}
func (m *Error) GetMessage() string {
if m != nil {
return m.Message
}
return ""
}
func init() {
proto.RegisterEnum("flyteidl.core.SimpleType", SimpleType_name, SimpleType_value)
proto.RegisterEnum("flyteidl.core.SchemaType_SchemaColumn_SchemaColumnType", SchemaType_SchemaColumn_SchemaColumnType_name, SchemaType_SchemaColumn_SchemaColumnType_value)
proto.RegisterEnum("flyteidl.core.BlobType_BlobDimensionality", BlobType_BlobDimensionality_name, BlobType_BlobDimensionality_value)
proto.RegisterType((*SchemaType)(nil), "flyteidl.core.SchemaType")
proto.RegisterType((*SchemaType_SchemaColumn)(nil), "flyteidl.core.SchemaType.SchemaColumn")
proto.RegisterType((*StructuredDatasetType)(nil), "flyteidl.core.StructuredDatasetType")
proto.RegisterType((*StructuredDatasetType_DatasetColumn)(nil), "flyteidl.core.StructuredDatasetType.DatasetColumn")
proto.RegisterType((*BlobType)(nil), "flyteidl.core.BlobType")
proto.RegisterType((*EnumType)(nil), "flyteidl.core.EnumType")
proto.RegisterType((*LiteralType)(nil), "flyteidl.core.LiteralType")
proto.RegisterType((*OutputReference)(nil), "flyteidl.core.OutputReference")
proto.RegisterType((*Error)(nil), "flyteidl.core.Error")
}
func init() { proto.RegisterFile("flyteidl/core/types.proto", fileDescriptor_51e8add38f4caaed) }
var fileDescriptor_51e8add38f4caaed = []byte{
// 812 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x55, 0xdd, 0x6e, 0xe3, 0x44,
0x14, 0x8e, 0x13, 0xe7, 0xef, 0x24, 0xcd, 0x5a, 0x03, 0xa5, 0x69, 0xc5, 0x45, 0x65, 0xad, 0x50,
0xb5, 0xd2,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