This repository has been archived by the owner on Oct 23, 2023. It is now read-only.
/
literals.pb.go
1134 lines (975 loc) · 37.1 KB
/
literals.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
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: flyteidl/core/literals.proto
package core
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
duration "github.com/golang/protobuf/ptypes/duration"
_struct "github.com/golang/protobuf/ptypes/struct"
timestamp "github.com/golang/protobuf/ptypes/timestamp"
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
// Primitive Types
type Primitive struct {
// Defines one of simple primitive types. These types will get translated into different programming languages as
// described in https://developers.google.com/protocol-buffers/docs/proto#scalar.
//
// Types that are valid to be assigned to Value:
// *Primitive_Integer
// *Primitive_FloatValue
// *Primitive_StringValue
// *Primitive_Boolean
// *Primitive_Datetime
// *Primitive_Duration
Value isPrimitive_Value `protobuf_oneof:"value"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Primitive) Reset() { *m = Primitive{} }
func (m *Primitive) String() string { return proto.CompactTextString(m) }
func (*Primitive) ProtoMessage() {}
func (*Primitive) Descriptor() ([]byte, []int) {
return fileDescriptor_a1a523b10667cdfb, []int{0}
}
func (m *Primitive) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Primitive.Unmarshal(m, b)
}
func (m *Primitive) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Primitive.Marshal(b, m, deterministic)
}
func (m *Primitive) XXX_Merge(src proto.Message) {
xxx_messageInfo_Primitive.Merge(m, src)
}
func (m *Primitive) XXX_Size() int {
return xxx_messageInfo_Primitive.Size(m)
}
func (m *Primitive) XXX_DiscardUnknown() {
xxx_messageInfo_Primitive.DiscardUnknown(m)
}
var xxx_messageInfo_Primitive proto.InternalMessageInfo
type isPrimitive_Value interface {
isPrimitive_Value()
}
type Primitive_Integer struct {
Integer int64 `protobuf:"varint,1,opt,name=integer,proto3,oneof"`
}
type Primitive_FloatValue struct {
FloatValue float64 `protobuf:"fixed64,2,opt,name=float_value,json=floatValue,proto3,oneof"`
}
type Primitive_StringValue struct {
StringValue string `protobuf:"bytes,3,opt,name=string_value,json=stringValue,proto3,oneof"`
}
type Primitive_Boolean struct {
Boolean bool `protobuf:"varint,4,opt,name=boolean,proto3,oneof"`
}
type Primitive_Datetime struct {
Datetime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=datetime,proto3,oneof"`
}
type Primitive_Duration struct {
Duration *duration.Duration `protobuf:"bytes,6,opt,name=duration,proto3,oneof"`
}
func (*Primitive_Integer) isPrimitive_Value() {}
func (*Primitive_FloatValue) isPrimitive_Value() {}
func (*Primitive_StringValue) isPrimitive_Value() {}
func (*Primitive_Boolean) isPrimitive_Value() {}
func (*Primitive_Datetime) isPrimitive_Value() {}
func (*Primitive_Duration) isPrimitive_Value() {}
func (m *Primitive) GetValue() isPrimitive_Value {
if m != nil {
return m.Value
}
return nil
}
func (m *Primitive) GetInteger() int64 {
if x, ok := m.GetValue().(*Primitive_Integer); ok {
return x.Integer
}
return 0
}
func (m *Primitive) GetFloatValue() float64 {
if x, ok := m.GetValue().(*Primitive_FloatValue); ok {
return x.FloatValue
}
return 0
}
func (m *Primitive) GetStringValue() string {
if x, ok := m.GetValue().(*Primitive_StringValue); ok {
return x.StringValue
}
return ""
}
func (m *Primitive) GetBoolean() bool {
if x, ok := m.GetValue().(*Primitive_Boolean); ok {
return x.Boolean
}
return false
}
func (m *Primitive) GetDatetime() *timestamp.Timestamp {
if x, ok := m.GetValue().(*Primitive_Datetime); ok {
return x.Datetime
}
return nil
}
func (m *Primitive) GetDuration() *duration.Duration {
if x, ok := m.GetValue().(*Primitive_Duration); ok {
return x.Duration
}
return nil
}
// XXX_OneofWrappers is for the internal use of the proto package.
func (*Primitive) XXX_OneofWrappers() []interface{} {
return []interface{}{
(*Primitive_Integer)(nil),
(*Primitive_FloatValue)(nil),
(*Primitive_StringValue)(nil),
(*Primitive_Boolean)(nil),
(*Primitive_Datetime)(nil),
(*Primitive_Duration)(nil),
}
}
// Used to denote a nil/null/None assignment to a scalar value. The underlying LiteralType for Void is intentionally
// undefined since it can be assigned to a scalar of any LiteralType.
type Void struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Void) Reset() { *m = Void{} }
func (m *Void) String() string { return proto.CompactTextString(m) }
func (*Void) ProtoMessage() {}
func (*Void) Descriptor() ([]byte, []int) {
return fileDescriptor_a1a523b10667cdfb, []int{1}
}
func (m *Void) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Void.Unmarshal(m, b)
}
func (m *Void) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Void.Marshal(b, m, deterministic)
}
func (m *Void) XXX_Merge(src proto.Message) {
xxx_messageInfo_Void.Merge(m, src)
}
func (m *Void) XXX_Size() int {
return xxx_messageInfo_Void.Size(m)
}
func (m *Void) XXX_DiscardUnknown() {
xxx_messageInfo_Void.DiscardUnknown(m)
}
var xxx_messageInfo_Void proto.InternalMessageInfo
// Refers to an offloaded set of files. It encapsulates the type of the store and a unique uri for where the data is.
// There are no restrictions on how the uri is formatted since it will depend on how to interact with the store.
type Blob struct {
Metadata *BlobMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
Uri string `protobuf:"bytes,3,opt,name=uri,proto3" json:"uri,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Blob) Reset() { *m = Blob{} }
func (m *Blob) String() string { return proto.CompactTextString(m) }
func (*Blob) ProtoMessage() {}
func (*Blob) Descriptor() ([]byte, []int) {
return fileDescriptor_a1a523b10667cdfb, []int{2}
}
func (m *Blob) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Blob.Unmarshal(m, b)
}
func (m *Blob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Blob.Marshal(b, m, deterministic)
}
func (m *Blob) XXX_Merge(src proto.Message) {
xxx_messageInfo_Blob.Merge(m, src)
}
func (m *Blob) XXX_Size() int {
return xxx_messageInfo_Blob.Size(m)
}
func (m *Blob) XXX_DiscardUnknown() {
xxx_messageInfo_Blob.DiscardUnknown(m)
}
var xxx_messageInfo_Blob proto.InternalMessageInfo
func (m *Blob) GetMetadata() *BlobMetadata {
if m != nil {
return m.Metadata
}
return nil
}
func (m *Blob) GetUri() string {
if m != nil {
return m.Uri
}
return ""
}
type BlobMetadata struct {
Type *BlobType `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *BlobMetadata) Reset() { *m = BlobMetadata{} }
func (m *BlobMetadata) String() string { return proto.CompactTextString(m) }
func (*BlobMetadata) ProtoMessage() {}
func (*BlobMetadata) Descriptor() ([]byte, []int) {
return fileDescriptor_a1a523b10667cdfb, []int{3}
}
func (m *BlobMetadata) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_BlobMetadata.Unmarshal(m, b)
}
func (m *BlobMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_BlobMetadata.Marshal(b, m, deterministic)
}
func (m *BlobMetadata) XXX_Merge(src proto.Message) {
xxx_messageInfo_BlobMetadata.Merge(m, src)
}
func (m *BlobMetadata) XXX_Size() int {
return xxx_messageInfo_BlobMetadata.Size(m)
}
func (m *BlobMetadata) XXX_DiscardUnknown() {
xxx_messageInfo_BlobMetadata.DiscardUnknown(m)
}
var xxx_messageInfo_BlobMetadata proto.InternalMessageInfo
func (m *BlobMetadata) GetType() *BlobType {
if m != nil {
return m.Type
}
return nil
}
// A simple byte array with a tag to help different parts of the system communicate about what is in the byte array.
// It's strongly advisable that consumers of this type define a unique tag and validate the tag before parsing the data.
type Binary struct {
Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
Tag string `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Binary) Reset() { *m = Binary{} }
func (m *Binary) String() string { return proto.CompactTextString(m) }
func (*Binary) ProtoMessage() {}
func (*Binary) Descriptor() ([]byte, []int) {
return fileDescriptor_a1a523b10667cdfb, []int{4}
}
func (m *Binary) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Binary.Unmarshal(m, b)
}
func (m *Binary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Binary.Marshal(b, m, deterministic)
}
func (m *Binary) XXX_Merge(src proto.Message) {
xxx_messageInfo_Binary.Merge(m, src)
}
func (m *Binary) XXX_Size() int {
return xxx_messageInfo_Binary.Size(m)
}
func (m *Binary) XXX_DiscardUnknown() {
xxx_messageInfo_Binary.DiscardUnknown(m)
}
var xxx_messageInfo_Binary proto.InternalMessageInfo
func (m *Binary) GetValue() []byte {
if m != nil {
return m.Value
}
return nil
}
func (m *Binary) GetTag() string {
if m != nil {
return m.Tag
}
return ""
}
// A strongly typed schema that defines the interface of data retrieved from the underlying storage medium.
type Schema struct {
Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
Type *SchemaType `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Schema) Reset() { *m = Schema{} }
func (m *Schema) String() string { return proto.CompactTextString(m) }
func (*Schema) ProtoMessage() {}
func (*Schema) Descriptor() ([]byte, []int) {
return fileDescriptor_a1a523b10667cdfb, []int{5}
}
func (m *Schema) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Schema.Unmarshal(m, b)
}
func (m *Schema) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Schema.Marshal(b, m, deterministic)
}
func (m *Schema) XXX_Merge(src proto.Message) {
xxx_messageInfo_Schema.Merge(m, src)
}
func (m *Schema) XXX_Size() int {
return xxx_messageInfo_Schema.Size(m)
}
func (m *Schema) XXX_DiscardUnknown() {
xxx_messageInfo_Schema.DiscardUnknown(m)
}
var xxx_messageInfo_Schema proto.InternalMessageInfo
func (m *Schema) GetUri() string {
if m != nil {
return m.Uri
}
return ""
}
func (m *Schema) GetType() *SchemaType {
if m != nil {
return m.Type
}
return nil
}
type Scalar struct {
// Types that are valid to be assigned to Value:
// *Scalar_Primitive
// *Scalar_Blob
// *Scalar_Binary
// *Scalar_Schema
// *Scalar_NoneType
// *Scalar_Error
// *Scalar_Generic
Value isScalar_Value `protobuf_oneof:"value"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Scalar) Reset() { *m = Scalar{} }
func (m *Scalar) String() string { return proto.CompactTextString(m) }
func (*Scalar) ProtoMessage() {}
func (*Scalar) Descriptor() ([]byte, []int) {
return fileDescriptor_a1a523b10667cdfb, []int{6}
}
func (m *Scalar) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Scalar.Unmarshal(m, b)
}
func (m *Scalar) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Scalar.Marshal(b, m, deterministic)
}
func (m *Scalar) XXX_Merge(src proto.Message) {
xxx_messageInfo_Scalar.Merge(m, src)
}
func (m *Scalar) XXX_Size() int {
return xxx_messageInfo_Scalar.Size(m)
}
func (m *Scalar) XXX_DiscardUnknown() {
xxx_messageInfo_Scalar.DiscardUnknown(m)
}
var xxx_messageInfo_Scalar proto.InternalMessageInfo
type isScalar_Value interface {
isScalar_Value()
}
type Scalar_Primitive struct {
Primitive *Primitive `protobuf:"bytes,1,opt,name=primitive,proto3,oneof"`
}
type Scalar_Blob struct {
Blob *Blob `protobuf:"bytes,2,opt,name=blob,proto3,oneof"`
}
type Scalar_Binary struct {
Binary *Binary `protobuf:"bytes,3,opt,name=binary,proto3,oneof"`
}
type Scalar_Schema struct {
Schema *Schema `protobuf:"bytes,4,opt,name=schema,proto3,oneof"`
}
type Scalar_NoneType struct {
NoneType *Void `protobuf:"bytes,5,opt,name=none_type,json=noneType,proto3,oneof"`
}
type Scalar_Error struct {
Error *Error `protobuf:"bytes,6,opt,name=error,proto3,oneof"`
}
type Scalar_Generic struct {
Generic *_struct.Struct `protobuf:"bytes,7,opt,name=generic,proto3,oneof"`
}
func (*Scalar_Primitive) isScalar_Value() {}
func (*Scalar_Blob) isScalar_Value() {}
func (*Scalar_Binary) isScalar_Value() {}
func (*Scalar_Schema) isScalar_Value() {}
func (*Scalar_NoneType) isScalar_Value() {}
func (*Scalar_Error) isScalar_Value() {}
func (*Scalar_Generic) isScalar_Value() {}
func (m *Scalar) GetValue() isScalar_Value {
if m != nil {
return m.Value
}
return nil
}
func (m *Scalar) GetPrimitive() *Primitive {
if x, ok := m.GetValue().(*Scalar_Primitive); ok {
return x.Primitive
}
return nil
}
func (m *Scalar) GetBlob() *Blob {
if x, ok := m.GetValue().(*Scalar_Blob); ok {
return x.Blob
}
return nil
}
func (m *Scalar) GetBinary() *Binary {
if x, ok := m.GetValue().(*Scalar_Binary); ok {
return x.Binary
}
return nil
}
func (m *Scalar) GetSchema() *Schema {
if x, ok := m.GetValue().(*Scalar_Schema); ok {
return x.Schema
}
return nil
}
func (m *Scalar) GetNoneType() *Void {
if x, ok := m.GetValue().(*Scalar_NoneType); ok {
return x.NoneType
}
return nil
}
func (m *Scalar) GetError() *Error {
if x, ok := m.GetValue().(*Scalar_Error); ok {
return x.Error
}
return nil
}
func (m *Scalar) GetGeneric() *_struct.Struct {
if x, ok := m.GetValue().(*Scalar_Generic); ok {
return x.Generic
}
return nil
}
// XXX_OneofWrappers is for the internal use of the proto package.
func (*Scalar) XXX_OneofWrappers() []interface{} {
return []interface{}{
(*Scalar_Primitive)(nil),
(*Scalar_Blob)(nil),
(*Scalar_Binary)(nil),
(*Scalar_Schema)(nil),
(*Scalar_NoneType)(nil),
(*Scalar_Error)(nil),
(*Scalar_Generic)(nil),
}
}
// A simple value. This supports any level of nesting (e.g. array of array of array of Blobs) as well as simple primitives.
type Literal struct {
// Types that are valid to be assigned to Value:
// *Literal_Scalar
// *Literal_Collection
// *Literal_Map
Value isLiteral_Value `protobuf_oneof:"value"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Literal) Reset() { *m = Literal{} }
func (m *Literal) String() string { return proto.CompactTextString(m) }
func (*Literal) ProtoMessage() {}
func (*Literal) Descriptor() ([]byte, []int) {
return fileDescriptor_a1a523b10667cdfb, []int{7}
}
func (m *Literal) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Literal.Unmarshal(m, b)
}
func (m *Literal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Literal.Marshal(b, m, deterministic)
}
func (m *Literal) XXX_Merge(src proto.Message) {
xxx_messageInfo_Literal.Merge(m, src)
}
func (m *Literal) XXX_Size() int {
return xxx_messageInfo_Literal.Size(m)
}
func (m *Literal) XXX_DiscardUnknown() {
xxx_messageInfo_Literal.DiscardUnknown(m)
}
var xxx_messageInfo_Literal proto.InternalMessageInfo
type isLiteral_Value interface {
isLiteral_Value()
}
type Literal_Scalar struct {
Scalar *Scalar `protobuf:"bytes,1,opt,name=scalar,proto3,oneof"`
}
type Literal_Collection struct {
Collection *LiteralCollection `protobuf:"bytes,2,opt,name=collection,proto3,oneof"`
}
type Literal_Map struct {
Map *LiteralMap `protobuf:"bytes,3,opt,name=map,proto3,oneof"`
}
func (*Literal_Scalar) isLiteral_Value() {}
func (*Literal_Collection) isLiteral_Value() {}
func (*Literal_Map) isLiteral_Value() {}
func (m *Literal) GetValue() isLiteral_Value {
if m != nil {
return m.Value
}
return nil
}
func (m *Literal) GetScalar() *Scalar {
if x, ok := m.GetValue().(*Literal_Scalar); ok {
return x.Scalar
}
return nil
}
func (m *Literal) GetCollection() *LiteralCollection {
if x, ok := m.GetValue().(*Literal_Collection); ok {
return x.Collection
}
return nil
}
func (m *Literal) GetMap() *LiteralMap {
if x, ok := m.GetValue().(*Literal_Map); ok {
return x.Map
}
return nil
}
// XXX_OneofWrappers is for the internal use of the proto package.
func (*Literal) XXX_OneofWrappers() []interface{} {
return []interface{}{
(*Literal_Scalar)(nil),
(*Literal_Collection)(nil),
(*Literal_Map)(nil),
}
}
// A collection of literals. This is a workaround since oneofs in proto messages cannot contain a repeated field.
type LiteralCollection struct {
Literals []*Literal `protobuf:"bytes,1,rep,name=literals,proto3" json:"literals,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *LiteralCollection) Reset() { *m = LiteralCollection{} }
func (m *LiteralCollection) String() string { return proto.CompactTextString(m) }
func (*LiteralCollection) ProtoMessage() {}
func (*LiteralCollection) Descriptor() ([]byte, []int) {
return fileDescriptor_a1a523b10667cdfb, []int{8}
}
func (m *LiteralCollection) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_LiteralCollection.Unmarshal(m, b)
}
func (m *LiteralCollection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_LiteralCollection.Marshal(b, m, deterministic)
}
func (m *LiteralCollection) XXX_Merge(src proto.Message) {
xxx_messageInfo_LiteralCollection.Merge(m, src)
}
func (m *LiteralCollection) XXX_Size() int {
return xxx_messageInfo_LiteralCollection.Size(m)
}
func (m *LiteralCollection) XXX_DiscardUnknown() {
xxx_messageInfo_LiteralCollection.DiscardUnknown(m)
}
var xxx_messageInfo_LiteralCollection proto.InternalMessageInfo
func (m *LiteralCollection) GetLiterals() []*Literal {
if m != nil {
return m.Literals
}
return nil
}
// A map of literals. This is a workaround since oneofs in proto messages cannot contain a repeated field.
type LiteralMap struct {
Literals map[string]*Literal `protobuf:"bytes,1,rep,name=literals,proto3" json:"literals,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *LiteralMap) Reset() { *m = LiteralMap{} }
func (m *LiteralMap) String() string { return proto.CompactTextString(m) }
func (*LiteralMap) ProtoMessage() {}
func (*LiteralMap) Descriptor() ([]byte, []int) {
return fileDescriptor_a1a523b10667cdfb, []int{9}
}
func (m *LiteralMap) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_LiteralMap.Unmarshal(m, b)
}
func (m *LiteralMap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_LiteralMap.Marshal(b, m, deterministic)
}
func (m *LiteralMap) XXX_Merge(src proto.Message) {
xxx_messageInfo_LiteralMap.Merge(m, src)
}
func (m *LiteralMap) XXX_Size() int {
return xxx_messageInfo_LiteralMap.Size(m)
}
func (m *LiteralMap) XXX_DiscardUnknown() {
xxx_messageInfo_LiteralMap.DiscardUnknown(m)
}
var xxx_messageInfo_LiteralMap proto.InternalMessageInfo
func (m *LiteralMap) GetLiterals() map[string]*Literal {
if m != nil {
return m.Literals
}
return nil
}
// A collection of BindingData items.
type BindingDataCollection struct {
Bindings []*BindingData `protobuf:"bytes,1,rep,name=bindings,proto3" json:"bindings,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *BindingDataCollection) Reset() { *m = BindingDataCollection{} }
func (m *BindingDataCollection) String() string { return proto.CompactTextString(m) }
func (*BindingDataCollection) ProtoMessage() {}
func (*BindingDataCollection) Descriptor() ([]byte, []int) {
return fileDescriptor_a1a523b10667cdfb, []int{10}
}
func (m *BindingDataCollection) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_BindingDataCollection.Unmarshal(m, b)
}
func (m *BindingDataCollection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_BindingDataCollection.Marshal(b, m, deterministic)
}
func (m *BindingDataCollection) XXX_Merge(src proto.Message) {
xxx_messageInfo_BindingDataCollection.Merge(m, src)
}
func (m *BindingDataCollection) XXX_Size() int {
return xxx_messageInfo_BindingDataCollection.Size(m)
}
func (m *BindingDataCollection) XXX_DiscardUnknown() {
xxx_messageInfo_BindingDataCollection.DiscardUnknown(m)
}
var xxx_messageInfo_BindingDataCollection proto.InternalMessageInfo
func (m *BindingDataCollection) GetBindings() []*BindingData {
if m != nil {
return m.Bindings
}
return nil
}
// A map of BindingData items.
type BindingDataMap struct {
Bindings map[string]*BindingData `protobuf:"bytes,1,rep,name=bindings,proto3" json:"bindings,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *BindingDataMap) Reset() { *m = BindingDataMap{} }
func (m *BindingDataMap) String() string { return proto.CompactTextString(m) }
func (*BindingDataMap) ProtoMessage() {}
func (*BindingDataMap) Descriptor() ([]byte, []int) {
return fileDescriptor_a1a523b10667cdfb, []int{11}
}
func (m *BindingDataMap) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_BindingDataMap.Unmarshal(m, b)
}
func (m *BindingDataMap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_BindingDataMap.Marshal(b, m, deterministic)
}
func (m *BindingDataMap) XXX_Merge(src proto.Message) {
xxx_messageInfo_BindingDataMap.Merge(m, src)
}
func (m *BindingDataMap) XXX_Size() int {
return xxx_messageInfo_BindingDataMap.Size(m)
}
func (m *BindingDataMap) XXX_DiscardUnknown() {
xxx_messageInfo_BindingDataMap.DiscardUnknown(m)
}
var xxx_messageInfo_BindingDataMap proto.InternalMessageInfo
func (m *BindingDataMap) GetBindings() map[string]*BindingData {
if m != nil {
return m.Bindings
}
return nil
}
// Specifies either a simple value or a reference to another output.
type BindingData struct {
// Types that are valid to be assigned to Value:
// *BindingData_Scalar
// *BindingData_Collection
// *BindingData_Promise
// *BindingData_Map
Value isBindingData_Value `protobuf_oneof:"value"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *BindingData) Reset() { *m = BindingData{} }
func (m *BindingData) String() string { return proto.CompactTextString(m) }
func (*BindingData) ProtoMessage() {}
func (*BindingData) Descriptor() ([]byte, []int) {
return fileDescriptor_a1a523b10667cdfb, []int{12}
}
func (m *BindingData) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_BindingData.Unmarshal(m, b)
}
func (m *BindingData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_BindingData.Marshal(b, m, deterministic)
}
func (m *BindingData) XXX_Merge(src proto.Message) {
xxx_messageInfo_BindingData.Merge(m, src)
}
func (m *BindingData) XXX_Size() int {
return xxx_messageInfo_BindingData.Size(m)
}
func (m *BindingData) XXX_DiscardUnknown() {
xxx_messageInfo_BindingData.DiscardUnknown(m)
}
var xxx_messageInfo_BindingData proto.InternalMessageInfo
type isBindingData_Value interface {
isBindingData_Value()
}
type BindingData_Scalar struct {
Scalar *Scalar `protobuf:"bytes,1,opt,name=scalar,proto3,oneof"`
}
type BindingData_Collection struct {
Collection *BindingDataCollection `protobuf:"bytes,2,opt,name=collection,proto3,oneof"`
}
type BindingData_Promise struct {
Promise *OutputReference `protobuf:"bytes,3,opt,name=promise,proto3,oneof"`
}
type BindingData_Map struct {
Map *BindingDataMap `protobuf:"bytes,4,opt,name=map,proto3,oneof"`
}
func (*BindingData_Scalar) isBindingData_Value() {}
func (*BindingData_Collection) isBindingData_Value() {}
func (*BindingData_Promise) isBindingData_Value() {}
func (*BindingData_Map) isBindingData_Value() {}
func (m *BindingData) GetValue() isBindingData_Value {
if m != nil {
return m.Value
}
return nil
}
func (m *BindingData) GetScalar() *Scalar {
if x, ok := m.GetValue().(*BindingData_Scalar); ok {
return x.Scalar
}
return nil
}
func (m *BindingData) GetCollection() *BindingDataCollection {
if x, ok := m.GetValue().(*BindingData_Collection); ok {
return x.Collection
}
return nil
}
func (m *BindingData) GetPromise() *OutputReference {
if x, ok := m.GetValue().(*BindingData_Promise); ok {
return x.Promise
}
return nil
}
func (m *BindingData) GetMap() *BindingDataMap {
if x, ok := m.GetValue().(*BindingData_Map); ok {
return x.Map
}
return nil
}
// XXX_OneofWrappers is for the internal use of the proto package.
func (*BindingData) XXX_OneofWrappers() []interface{} {
return []interface{}{
(*BindingData_Scalar)(nil),
(*BindingData_Collection)(nil),
(*BindingData_Promise)(nil),
(*BindingData_Map)(nil),
}
}
// An input/output binding of a variable to either static value or a node output.
type Binding struct {
// Variable name must match an input/output variable of the node.
Var string `protobuf:"bytes,1,opt,name=var,proto3" json:"var,omitempty"`
// Data to use to bind this variable.
Binding *BindingData `protobuf:"bytes,2,opt,name=binding,proto3" json:"binding,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Binding) Reset() { *m = Binding{} }
func (m *Binding) String() string { return proto.CompactTextString(m) }
func (*Binding) ProtoMessage() {}
func (*Binding) Descriptor() ([]byte, []int) {
return fileDescriptor_a1a523b10667cdfb, []int{13}
}
func (m *Binding) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Binding.Unmarshal(m, b)
}
func (m *Binding) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Binding.Marshal(b, m, deterministic)
}
func (m *Binding) XXX_Merge(src proto.Message) {
xxx_messageInfo_Binding.Merge(m, src)
}
func (m *Binding) XXX_Size() int {
return xxx_messageInfo_Binding.Size(m)
}
func (m *Binding) XXX_DiscardUnknown() {
xxx_messageInfo_Binding.DiscardUnknown(m)
}
var xxx_messageInfo_Binding proto.InternalMessageInfo
func (m *Binding) GetVar() string {
if m != nil {
return m.Var
}
return ""
}
func (m *Binding) GetBinding() *BindingData {
if m != nil {
return m.Binding
}
return nil
}
// A generic key value pair.
type KeyValuePair struct {
//required.
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
//+optional.
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *KeyValuePair) Reset() { *m = KeyValuePair{} }
func (m *KeyValuePair) String() string { return proto.CompactTextString(m) }
func (*KeyValuePair) ProtoMessage() {}
func (*KeyValuePair) Descriptor() ([]byte, []int) {
return fileDescriptor_a1a523b10667cdfb, []int{14}
}
func (m *KeyValuePair) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_KeyValuePair.Unmarshal(m, b)
}
func (m *KeyValuePair) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_KeyValuePair.Marshal(b, m, deterministic)
}
func (m *KeyValuePair) XXX_Merge(src proto.Message) {
xxx_messageInfo_KeyValuePair.Merge(m, src)
}
func (m *KeyValuePair) XXX_Size() int {
return xxx_messageInfo_KeyValuePair.Size(m)
}
func (m *KeyValuePair) XXX_DiscardUnknown() {
xxx_messageInfo_KeyValuePair.DiscardUnknown(m)
}
var xxx_messageInfo_KeyValuePair proto.InternalMessageInfo
func (m *KeyValuePair) GetKey() string {
if m != nil {
return m.Key
}
return ""