forked from apache/beam
-
Notifications
You must be signed in to change notification settings - Fork 0
/
v1.pb.go
887 lines (788 loc) · 28.5 KB
/
v1.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
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: v1.proto
/*
Package v1 is a generated protocol buffer package.
It is generated from these files:
v1.proto
It has these top-level messages:
Type
FullType
UserFn
DynFn
Fn
WindowFn
CustomCoder
MultiEdge
InjectPayload
TransformPayload
*/
package v1
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import 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.ProtoPackageIsVersion2 // please upgrade the proto package
// Kind is mostly identical to reflect.TypeKind, expect we handle certain
// types specially, such as "error".
type Type_Kind int32
const (
Type_INVALID Type_Kind = 0
// Primitive.
Type_BOOL Type_Kind = 1
Type_INT Type_Kind = 2
Type_INT8 Type_Kind = 3
Type_INT16 Type_Kind = 4
Type_INT32 Type_Kind = 5
Type_INT64 Type_Kind = 6
Type_UINT Type_Kind = 7
Type_UINT8 Type_Kind = 8
Type_UINT16 Type_Kind = 9
Type_UINT32 Type_Kind = 10
Type_UINT64 Type_Kind = 11
Type_STRING Type_Kind = 12
Type_FLOAT32 Type_Kind = 13
Type_FLOAT64 Type_Kind = 14
// Non-primitive types.
Type_SLICE Type_Kind = 20
Type_STRUCT Type_Kind = 21
Type_FUNC Type_Kind = 22
Type_CHAN Type_Kind = 23
Type_PTR Type_Kind = 24
Type_SPECIAL Type_Kind = 25
Type_EXTERNAL Type_Kind = 26
)
var Type_Kind_name = map[int32]string{
0: "INVALID",
1: "BOOL",
2: "INT",
3: "INT8",
4: "INT16",
5: "INT32",
6: "INT64",
7: "UINT",
8: "UINT8",
9: "UINT16",
10: "UINT32",
11: "UINT64",
12: "STRING",
13: "FLOAT32",
14: "FLOAT64",
20: "SLICE",
21: "STRUCT",
22: "FUNC",
23: "CHAN",
24: "PTR",
25: "SPECIAL",
26: "EXTERNAL",
}
var Type_Kind_value = map[string]int32{
"INVALID": 0,
"BOOL": 1,
"INT": 2,
"INT8": 3,
"INT16": 4,
"INT32": 5,
"INT64": 6,
"UINT": 7,
"UINT8": 8,
"UINT16": 9,
"UINT32": 10,
"UINT64": 11,
"STRING": 12,
"FLOAT32": 13,
"FLOAT64": 14,
"SLICE": 20,
"STRUCT": 21,
"FUNC": 22,
"CHAN": 23,
"PTR": 24,
"SPECIAL": 25,
"EXTERNAL": 26,
}
func (x Type_Kind) String() string {
return proto.EnumName(Type_Kind_name, int32(x))
}
func (Type_Kind) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{0, 0} }
// ChanDir matches reflect.ChanDir.
type Type_ChanDir int32
const (
Type_RECV Type_ChanDir = 0
Type_SEND Type_ChanDir = 1
Type_BOTH Type_ChanDir = 2
)
var Type_ChanDir_name = map[int32]string{
0: "RECV",
1: "SEND",
2: "BOTH",
}
var Type_ChanDir_value = map[string]int32{
"RECV": 0,
"SEND": 1,
"BOTH": 2,
}
func (x Type_ChanDir) String() string {
return proto.EnumName(Type_ChanDir_name, int32(x))
}
func (Type_ChanDir) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{0, 1} }
type Type_Special int32
const (
Type_ILLEGAL Type_Special = 0
// Go
Type_ERROR Type_Special = 1
Type_CONTEXT Type_Special = 2
Type_TYPE Type_Special = 3
// Beam
Type_EVENTTIME Type_Special = 10
Type_WINDOW Type_Special = 22
Type_KV Type_Special = 11
Type_COGBK Type_Special = 13
Type_WINDOWEDVALUE Type_Special = 14
Type_T Type_Special = 15
Type_U Type_Special = 16
Type_V Type_Special = 17
Type_W Type_Special = 18
Type_X Type_Special = 19
Type_Y Type_Special = 20
Type_Z Type_Special = 21
)
var Type_Special_name = map[int32]string{
0: "ILLEGAL",
1: "ERROR",
2: "CONTEXT",
3: "TYPE",
10: "EVENTTIME",
22: "WINDOW",
11: "KV",
13: "COGBK",
14: "WINDOWEDVALUE",
15: "T",
16: "U",
17: "V",
18: "W",
19: "X",
20: "Y",
21: "Z",
}
var Type_Special_value = map[string]int32{
"ILLEGAL": 0,
"ERROR": 1,
"CONTEXT": 2,
"TYPE": 3,
"EVENTTIME": 10,
"WINDOW": 22,
"KV": 11,
"COGBK": 13,
"WINDOWEDVALUE": 14,
"T": 15,
"U": 16,
"V": 17,
"W": 18,
"X": 19,
"Y": 20,
"Z": 21,
}
func (x Type_Special) String() string {
return proto.EnumName(Type_Special_name, int32(x))
}
func (Type_Special) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{0, 2} }
type MultiEdge_Inbound_InputKind int32
const (
MultiEdge_Inbound_INVALID MultiEdge_Inbound_InputKind = 0
MultiEdge_Inbound_MAIN MultiEdge_Inbound_InputKind = 1
MultiEdge_Inbound_SINGLETON MultiEdge_Inbound_InputKind = 2
MultiEdge_Inbound_SLICE MultiEdge_Inbound_InputKind = 3
MultiEdge_Inbound_MAP MultiEdge_Inbound_InputKind = 4
MultiEdge_Inbound_MULTIMAP MultiEdge_Inbound_InputKind = 5
MultiEdge_Inbound_ITER MultiEdge_Inbound_InputKind = 6
MultiEdge_Inbound_REITER MultiEdge_Inbound_InputKind = 7
)
var MultiEdge_Inbound_InputKind_name = map[int32]string{
0: "INVALID",
1: "MAIN",
2: "SINGLETON",
3: "SLICE",
4: "MAP",
5: "MULTIMAP",
6: "ITER",
7: "REITER",
}
var MultiEdge_Inbound_InputKind_value = map[string]int32{
"INVALID": 0,
"MAIN": 1,
"SINGLETON": 2,
"SLICE": 3,
"MAP": 4,
"MULTIMAP": 5,
"ITER": 6,
"REITER": 7,
}
func (x MultiEdge_Inbound_InputKind) String() string {
return proto.EnumName(MultiEdge_Inbound_InputKind_name, int32(x))
}
func (MultiEdge_Inbound_InputKind) EnumDescriptor() ([]byte, []int) {
return fileDescriptor0, []int{7, 0, 0}
}
// Type represents a serializable reflect.Type.
type Type struct {
// (Required) Type kind.
Kind Type_Kind `protobuf:"varint,1,opt,name=kind,enum=v1.Type_Kind" json:"kind,omitempty"`
// (Optional) Element type (if SLICE, PTR or CHAN)
Element *Type `protobuf:"bytes,2,opt,name=element" json:"element,omitempty"`
// (Optional) Fields (if STRUCT).
Fields []*Type_StructField `protobuf:"bytes,3,rep,name=fields" json:"fields,omitempty"`
// (Optional) Parameter types (if FUNC).
ParameterTypes []*Type `protobuf:"bytes,4,rep,name=parameter_types,json=parameterTypes" json:"parameter_types,omitempty"`
// (Optional) Return types (if FUNC).
ReturnTypes []*Type `protobuf:"bytes,5,rep,name=return_types,json=returnTypes" json:"return_types,omitempty"`
// (Optional) Is variadic (if FUNC).
IsVariadic bool `protobuf:"varint,6,opt,name=is_variadic,json=isVariadic" json:"is_variadic,omitempty"`
// (Optional) Channel direction (if CHAN).
ChanDir Type_ChanDir `protobuf:"varint,7,opt,name=chan_dir,json=chanDir,enum=v1.Type_ChanDir" json:"chan_dir,omitempty"`
// (Optional) Special type (if SPECIAL)
Special Type_Special `protobuf:"varint,8,opt,name=special,enum=v1.Type_Special" json:"special,omitempty"`
// (Optional) Key for external types.
// External types are types that are not directly serialized using
// the types above, but rather indirectly serialized. The wire format
// holds a lookup key into a registry to reify the types in a worker from a
// registry. The main usage of external serialization is to preserve
// methods attached to types.
ExternalKey string `protobuf:"bytes,9,opt,name=external_key,json=externalKey" json:"external_key,omitempty"`
}
func (m *Type) Reset() { *m = Type{} }
func (m *Type) String() string { return proto.CompactTextString(m) }
func (*Type) ProtoMessage() {}
func (*Type) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
func (m *Type) GetKind() Type_Kind {
if m != nil {
return m.Kind
}
return Type_INVALID
}
func (m *Type) GetElement() *Type {
if m != nil {
return m.Element
}
return nil
}
func (m *Type) GetFields() []*Type_StructField {
if m != nil {
return m.Fields
}
return nil
}
func (m *Type) GetParameterTypes() []*Type {
if m != nil {
return m.ParameterTypes
}
return nil
}
func (m *Type) GetReturnTypes() []*Type {
if m != nil {
return m.ReturnTypes
}
return nil
}
func (m *Type) GetIsVariadic() bool {
if m != nil {
return m.IsVariadic
}
return false
}
func (m *Type) GetChanDir() Type_ChanDir {
if m != nil {
return m.ChanDir
}
return Type_RECV
}
func (m *Type) GetSpecial() Type_Special {
if m != nil {
return m.Special
}
return Type_ILLEGAL
}
func (m *Type) GetExternalKey() string {
if m != nil {
return m.ExternalKey
}
return ""
}
// StructField matches reflect.StructField.
type Type_StructField struct {
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
PkgPath string `protobuf:"bytes,2,opt,name=pkg_path,json=pkgPath" json:"pkg_path,omitempty"`
Type *Type `protobuf:"bytes,3,opt,name=type" json:"type,omitempty"`
Tag string `protobuf:"bytes,4,opt,name=tag" json:"tag,omitempty"`
Offset int64 `protobuf:"varint,5,opt,name=offset" json:"offset,omitempty"`
Index []int32 `protobuf:"varint,6,rep,packed,name=index" json:"index,omitempty"`
Anonymous bool `protobuf:"varint,7,opt,name=anonymous" json:"anonymous,omitempty"`
}
func (m *Type_StructField) Reset() { *m = Type_StructField{} }
func (m *Type_StructField) String() string { return proto.CompactTextString(m) }
func (*Type_StructField) ProtoMessage() {}
func (*Type_StructField) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0, 0} }
func (m *Type_StructField) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *Type_StructField) GetPkgPath() string {
if m != nil {
return m.PkgPath
}
return ""
}
func (m *Type_StructField) GetType() *Type {
if m != nil {
return m.Type
}
return nil
}
func (m *Type_StructField) GetTag() string {
if m != nil {
return m.Tag
}
return ""
}
func (m *Type_StructField) GetOffset() int64 {
if m != nil {
return m.Offset
}
return 0
}
func (m *Type_StructField) GetIndex() []int32 {
if m != nil {
return m.Index
}
return nil
}
func (m *Type_StructField) GetAnonymous() bool {
if m != nil {
return m.Anonymous
}
return false
}
// FullType represents a serialized typex.FullType
type FullType struct {
Type *Type `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"`
Components []*FullType `protobuf:"bytes,2,rep,name=components" json:"components,omitempty"`
}
func (m *FullType) Reset() { *m = FullType{} }
func (m *FullType) String() string { return proto.CompactTextString(m) }
func (*FullType) ProtoMessage() {}
func (*FullType) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
func (m *FullType) GetType() *Type {
if m != nil {
return m.Type
}
return nil
}
func (m *FullType) GetComponents() []*FullType {
if m != nil {
return m.Components
}
return nil
}
// UserFn represents a serialized function reference. The
// implementation is notably not serialized and must be present (and
// somehow discoverable from the symbol name) on the decoding side.
type UserFn struct {
// (Required) Symbol name of function.
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
// (Required) Function type.
Type *Type `protobuf:"bytes,2,opt,name=type" json:"type,omitempty"`
}
func (m *UserFn) Reset() { *m = UserFn{} }
func (m *UserFn) String() string { return proto.CompactTextString(m) }
func (*UserFn) ProtoMessage() {}
func (*UserFn) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
func (m *UserFn) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *UserFn) GetType() *Type {
if m != nil {
return m.Type
}
return nil
}
// DynFn represents a serialized function generator.
type DynFn struct {
// (Required) Name of the generated function.
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
// (Required) Type of the generated function.
Type *Type `protobuf:"bytes,2,opt,name=type" json:"type,omitempty"`
// (Required) Input to generator.
Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
// (Required) Symbol name of generator (of type []byte ->
// []reflect.Value -> []reflect.Value).
Gen string `protobuf:"bytes,4,opt,name=gen" json:"gen,omitempty"`
}
func (m *DynFn) Reset() { *m = DynFn{} }
func (m *DynFn) String() string { return proto.CompactTextString(m) }
func (*DynFn) ProtoMessage() {}
func (*DynFn) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }
func (m *DynFn) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *DynFn) GetType() *Type {
if m != nil {
return m.Type
}
return nil
}
func (m *DynFn) GetData() []byte {
if m != nil {
return m.Data
}
return nil
}
func (m *DynFn) GetGen() string {
if m != nil {
return m.Gen
}
return ""
}
// Fn represents a serialized function reference or struct.
type Fn struct {
// (Optional) Function reference.
Fn *UserFn `protobuf:"bytes,1,opt,name=fn" json:"fn,omitempty"`
// (Optional) Struct type.
Type *Type `protobuf:"bytes,2,opt,name=type" json:"type,omitempty"`
// (Optional) JSON-serialized value, if struct.
Opt string `protobuf:"bytes,3,opt,name=opt" json:"opt,omitempty"`
// (Optional) Function generator, if dynamic function.
Dynfn *DynFn `protobuf:"bytes,4,opt,name=dynfn" json:"dynfn,omitempty"`
}
func (m *Fn) Reset() { *m = Fn{} }
func (m *Fn) String() string { return proto.CompactTextString(m) }
func (*Fn) ProtoMessage() {}
func (*Fn) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{4} }
func (m *Fn) GetFn() *UserFn {
if m != nil {
return m.Fn
}
return nil
}
func (m *Fn) GetType() *Type {
if m != nil {
return m.Type
}
return nil
}
func (m *Fn) GetOpt() string {
if m != nil {
return m.Opt
}
return ""
}
func (m *Fn) GetDynfn() *DynFn {
if m != nil {
return m.Dynfn
}
return nil
}
// WindowFn represents a window fn.
type WindowFn struct {
Kind string `protobuf:"bytes,1,opt,name=kind" json:"kind,omitempty"`
SizeMs int64 `protobuf:"varint,2,opt,name=size_ms,json=sizeMs" json:"size_ms,omitempty"`
PeriodMs int64 `protobuf:"varint,3,opt,name=period_ms,json=periodMs" json:"period_ms,omitempty"`
GapMs int64 `protobuf:"varint,4,opt,name=gap_ms,json=gapMs" json:"gap_ms,omitempty"`
}
func (m *WindowFn) Reset() { *m = WindowFn{} }
func (m *WindowFn) String() string { return proto.CompactTextString(m) }
func (*WindowFn) ProtoMessage() {}
func (*WindowFn) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{5} }
func (m *WindowFn) GetKind() string {
if m != nil {
return m.Kind
}
return ""
}
func (m *WindowFn) GetSizeMs() int64 {
if m != nil {
return m.SizeMs
}
return 0
}
func (m *WindowFn) GetPeriodMs() int64 {
if m != nil {
return m.PeriodMs
}
return 0
}
func (m *WindowFn) GetGapMs() int64 {
if m != nil {
return m.GapMs
}
return 0
}
// CustomCoder
type CustomCoder struct {
// (Required) Name of the coder. For informational purposes only.
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
// (Required) Concrete type being coded.
Type *Type `protobuf:"bytes,2,opt,name=type" json:"type,omitempty"`
// (Required) Encoding function.
Enc *UserFn `protobuf:"bytes,3,opt,name=enc" json:"enc,omitempty"`
// (Required) Decoding function.
Dec *UserFn `protobuf:"bytes,4,opt,name=dec" json:"dec,omitempty"`
}
func (m *CustomCoder) Reset() { *m = CustomCoder{} }
func (m *CustomCoder) String() string { return proto.CompactTextString(m) }
func (*CustomCoder) ProtoMessage() {}
func (*CustomCoder) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{6} }
func (m *CustomCoder) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *CustomCoder) GetType() *Type {
if m != nil {
return m.Type
}
return nil
}
func (m *CustomCoder) GetEnc() *UserFn {
if m != nil {
return m.Enc
}
return nil
}
func (m *CustomCoder) GetDec() *UserFn {
if m != nil {
return m.Dec
}
return nil
}
// MultiEdge represents a partly-serialized MultiEdge. It does not include
// node information, because runners manipulate the graph structure.
type MultiEdge struct {
Fn *Fn `protobuf:"bytes,1,opt,name=fn" json:"fn,omitempty"`
Opcode string `protobuf:"bytes,4,opt,name=opcode" json:"opcode,omitempty"`
WindowFn *WindowFn `protobuf:"bytes,5,opt,name=window_fn,json=windowFn" json:"window_fn,omitempty"`
Inbound []*MultiEdge_Inbound `protobuf:"bytes,2,rep,name=inbound" json:"inbound,omitempty"`
Outbound []*MultiEdge_Outbound `protobuf:"bytes,3,rep,name=outbound" json:"outbound,omitempty"`
}
func (m *MultiEdge) Reset() { *m = MultiEdge{} }
func (m *MultiEdge) String() string { return proto.CompactTextString(m) }
func (*MultiEdge) ProtoMessage() {}
func (*MultiEdge) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{7} }
func (m *MultiEdge) GetFn() *Fn {
if m != nil {
return m.Fn
}
return nil
}
func (m *MultiEdge) GetOpcode() string {
if m != nil {
return m.Opcode
}
return ""
}
func (m *MultiEdge) GetWindowFn() *WindowFn {
if m != nil {
return m.WindowFn
}
return nil
}
func (m *MultiEdge) GetInbound() []*MultiEdge_Inbound {
if m != nil {
return m.Inbound
}
return nil
}
func (m *MultiEdge) GetOutbound() []*MultiEdge_Outbound {
if m != nil {
return m.Outbound
}
return nil
}
type MultiEdge_Inbound struct {
Kind MultiEdge_Inbound_InputKind `protobuf:"varint,1,opt,name=kind,enum=v1.MultiEdge_Inbound_InputKind" json:"kind,omitempty"`
Type *FullType `protobuf:"bytes,2,opt,name=type" json:"type,omitempty"`
}
func (m *MultiEdge_Inbound) Reset() { *m = MultiEdge_Inbound{} }
func (m *MultiEdge_Inbound) String() string { return proto.CompactTextString(m) }
func (*MultiEdge_Inbound) ProtoMessage() {}
func (*MultiEdge_Inbound) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{7, 0} }
func (m *MultiEdge_Inbound) GetKind() MultiEdge_Inbound_InputKind {
if m != nil {
return m.Kind
}
return MultiEdge_Inbound_INVALID
}
func (m *MultiEdge_Inbound) GetType() *FullType {
if m != nil {
return m.Type
}
return nil
}
type MultiEdge_Outbound struct {
Type *FullType `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"`
}
func (m *MultiEdge_Outbound) Reset() { *m = MultiEdge_Outbound{} }
func (m *MultiEdge_Outbound) String() string { return proto.CompactTextString(m) }
func (*MultiEdge_Outbound) ProtoMessage() {}
func (*MultiEdge_Outbound) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{7, 1} }
func (m *MultiEdge_Outbound) GetType() *FullType {
if m != nil {
return m.Type
}
return nil
}
// InjectPayload is the payload for the built-in Inject function.
type InjectPayload struct {
N int32 `protobuf:"varint,1,opt,name=n" json:"n,omitempty"`
}
func (m *InjectPayload) Reset() { *m = InjectPayload{} }
func (m *InjectPayload) String() string { return proto.CompactTextString(m) }
func (*InjectPayload) ProtoMessage() {}
func (*InjectPayload) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{8} }
func (m *InjectPayload) GetN() int32 {
if m != nil {
return m.N
}
return 0
}
// TransformPayload represents the full payload for transforms, both
// user defined and built-in.
type TransformPayload struct {
// urn is included here. It is also present in the model pipeline, but
// not when submitting through Dataflow yet.
Urn string `protobuf:"bytes,1,opt,name=urn" json:"urn,omitempty"`
Edge *MultiEdge `protobuf:"bytes,2,opt,name=edge" json:"edge,omitempty"`
Inject *InjectPayload `protobuf:"bytes,3,opt,name=inject" json:"inject,omitempty"`
}
func (m *TransformPayload) Reset() { *m = TransformPayload{} }
func (m *TransformPayload) String() string { return proto.CompactTextString(m) }
func (*TransformPayload) ProtoMessage() {}
func (*TransformPayload) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{9} }
func (m *TransformPayload) GetUrn() string {
if m != nil {
return m.Urn
}
return ""
}
func (m *TransformPayload) GetEdge() *MultiEdge {
if m != nil {
return m.Edge
}
return nil
}
func (m *TransformPayload) GetInject() *InjectPayload {
if m != nil {
return m.Inject
}
return nil
}
func init() {
proto.RegisterType((*Type)(nil), "v1.Type")
proto.RegisterType((*Type_StructField)(nil), "v1.Type.StructField")
proto.RegisterType((*FullType)(nil), "v1.FullType")
proto.RegisterType((*UserFn)(nil), "v1.UserFn")
proto.RegisterType((*DynFn)(nil), "v1.DynFn")
proto.RegisterType((*Fn)(nil), "v1.Fn")
proto.RegisterType((*WindowFn)(nil), "v1.WindowFn")
proto.RegisterType((*CustomCoder)(nil), "v1.CustomCoder")
proto.RegisterType((*MultiEdge)(nil), "v1.MultiEdge")
proto.RegisterType((*MultiEdge_Inbound)(nil), "v1.MultiEdge.Inbound")
proto.RegisterType((*MultiEdge_Outbound)(nil), "v1.MultiEdge.Outbound")
proto.RegisterType((*InjectPayload)(nil), "v1.InjectPayload")
proto.RegisterType((*TransformPayload)(nil), "v1.TransformPayload")
proto.RegisterEnum("v1.Type_Kind", Type_Kind_name, Type_Kind_value)
proto.RegisterEnum("v1.Type_ChanDir", Type_ChanDir_name, Type_ChanDir_value)
proto.RegisterEnum("v1.Type_Special", Type_Special_name, Type_Special_value)
proto.RegisterEnum("v1.MultiEdge_Inbound_InputKind", MultiEdge_Inbound_InputKind_name, MultiEdge_Inbound_InputKind_value)
}
func init() { proto.RegisterFile("v1.proto", fileDescriptor0) }
var fileDescriptor0 = []byte{
// 1180 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x56, 0xdf, 0x72, 0xda, 0xc6,
0x17, 0x8e, 0x10, 0xe8, 0xcf, 0x01, 0x9c, 0xcd, 0xfe, 0x6c, 0x47, 0xf1, 0x2f, 0x9d, 0x10, 0xdd,
0x94, 0x34, 0x19, 0x77, 0x8c, 0x33, 0x9e, 0x4e, 0xef, 0x08, 0x96, 0x1d, 0x8d, 0x41, 0x30, 0x8b,
0xc0, 0x49, 0x6f, 0x18, 0x05, 0x2d, 0x58, 0x35, 0xac, 0x54, 0x49, 0x38, 0xa1, 0x7d, 0x84, 0xbe,
0x49, 0x9f, 0xa0, 0x6f, 0xd0, 0x8b, 0x3e, 0x54, 0x3b, 0xbb, 0x92, 0x88, 0x71, 0xdd, 0xe9, 0x4c,
0xae, 0xf6, 0xec, 0xf9, 0xbe, 0xb3, 0x67, 0xf7, 0xdb, 0xb3, 0x47, 0x02, 0xed, 0xe6, 0xe8, 0x30,
0x8a, 0xc3, 0x34, 0xc4, 0xa5, 0x9b, 0x23, 0xf3, 0x57, 0x0d, 0xca, 0xee, 0x3a, 0xa2, 0xf8, 0x39,
0x94, 0xaf, 0x03, 0xe6, 0x1b, 0x52, 0x43, 0x6a, 0xee, 0xb4, 0xea, 0x87, 0x37, 0x47, 0x87, 0xdc,
0x7f, 0x78, 0x11, 0x30, 0x9f, 0x08, 0x08, 0x9b, 0xa0, 0xd2, 0x05, 0x5d, 0x52, 0x96, 0x1a, 0xa5,
0x86, 0xd4, 0xac, 0xb6, 0xb4, 0x82, 0x45, 0x0a, 0x00, 0xbf, 0x02, 0x65, 0x16, 0xd0, 0x85, 0x9f,
0x18, 0x72, 0x43, 0x6e, 0x56, 0x5b, 0xbb, 0x9b, 0x85, 0x86, 0x69, 0xbc, 0x9a, 0xa6, 0x67, 0x1c,
0x24, 0x39, 0x07, 0x1f, 0xc1, 0xc3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