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
/
compiler.pb.go
311 lines (275 loc) · 13.2 KB
/
compiler.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
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: flyteidl/core/compiler.proto
package core
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
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
// Adjacency list for the workflow. This is created as part of the compilation process. Every process after the compilation
// step uses this created ConnectionSet
type ConnectionSet struct {
// A list of all the node ids that are downstream from a given node id
Downstream map[string]*ConnectionSet_IdList `protobuf:"bytes,7,rep,name=downstream,proto3" json:"downstream,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// A list of all the node ids, that are upstream of this node id
Upstream map[string]*ConnectionSet_IdList `protobuf:"bytes,8,rep,name=upstream,proto3" json:"upstream,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 *ConnectionSet) Reset() { *m = ConnectionSet{} }
func (m *ConnectionSet) String() string { return proto.CompactTextString(m) }
func (*ConnectionSet) ProtoMessage() {}
func (*ConnectionSet) Descriptor() ([]byte, []int) {
return fileDescriptor_d310dba155e4f065, []int{0}
}
func (m *ConnectionSet) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ConnectionSet.Unmarshal(m, b)
}
func (m *ConnectionSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ConnectionSet.Marshal(b, m, deterministic)
}
func (m *ConnectionSet) XXX_Merge(src proto.Message) {
xxx_messageInfo_ConnectionSet.Merge(m, src)
}
func (m *ConnectionSet) XXX_Size() int {
return xxx_messageInfo_ConnectionSet.Size(m)
}
func (m *ConnectionSet) XXX_DiscardUnknown() {
xxx_messageInfo_ConnectionSet.DiscardUnknown(m)
}
var xxx_messageInfo_ConnectionSet proto.InternalMessageInfo
func (m *ConnectionSet) GetDownstream() map[string]*ConnectionSet_IdList {
if m != nil {
return m.Downstream
}
return nil
}
func (m *ConnectionSet) GetUpstream() map[string]*ConnectionSet_IdList {
if m != nil {
return m.Upstream
}
return nil
}
type ConnectionSet_IdList struct {
Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ConnectionSet_IdList) Reset() { *m = ConnectionSet_IdList{} }
func (m *ConnectionSet_IdList) String() string { return proto.CompactTextString(m) }
func (*ConnectionSet_IdList) ProtoMessage() {}
func (*ConnectionSet_IdList) Descriptor() ([]byte, []int) {
return fileDescriptor_d310dba155e4f065, []int{0, 0}
}
func (m *ConnectionSet_IdList) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ConnectionSet_IdList.Unmarshal(m, b)
}
func (m *ConnectionSet_IdList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ConnectionSet_IdList.Marshal(b, m, deterministic)
}
func (m *ConnectionSet_IdList) XXX_Merge(src proto.Message) {
xxx_messageInfo_ConnectionSet_IdList.Merge(m, src)
}
func (m *ConnectionSet_IdList) XXX_Size() int {
return xxx_messageInfo_ConnectionSet_IdList.Size(m)
}
func (m *ConnectionSet_IdList) XXX_DiscardUnknown() {
xxx_messageInfo_ConnectionSet_IdList.DiscardUnknown(m)
}
var xxx_messageInfo_ConnectionSet_IdList proto.InternalMessageInfo
func (m *ConnectionSet_IdList) GetIds() []string {
if m != nil {
return m.Ids
}
return nil
}
// Output of the compilation Step. This object represents one workflow. We store more metadata at this layer
type CompiledWorkflow struct {
// Completely contained Workflow Template
Template *WorkflowTemplate `protobuf:"bytes,1,opt,name=template,proto3" json:"template,omitempty"`
// For internal use only! This field is used by the system and must not be filled in. Any values set will be ignored.
Connections *ConnectionSet `protobuf:"bytes,2,opt,name=connections,proto3" json:"connections,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CompiledWorkflow) Reset() { *m = CompiledWorkflow{} }
func (m *CompiledWorkflow) String() string { return proto.CompactTextString(m) }
func (*CompiledWorkflow) ProtoMessage() {}
func (*CompiledWorkflow) Descriptor() ([]byte, []int) {
return fileDescriptor_d310dba155e4f065, []int{1}
}
func (m *CompiledWorkflow) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CompiledWorkflow.Unmarshal(m, b)
}
func (m *CompiledWorkflow) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CompiledWorkflow.Marshal(b, m, deterministic)
}
func (m *CompiledWorkflow) XXX_Merge(src proto.Message) {
xxx_messageInfo_CompiledWorkflow.Merge(m, src)
}
func (m *CompiledWorkflow) XXX_Size() int {
return xxx_messageInfo_CompiledWorkflow.Size(m)
}
func (m *CompiledWorkflow) XXX_DiscardUnknown() {
xxx_messageInfo_CompiledWorkflow.DiscardUnknown(m)
}
var xxx_messageInfo_CompiledWorkflow proto.InternalMessageInfo
func (m *CompiledWorkflow) GetTemplate() *WorkflowTemplate {
if m != nil {
return m.Template
}
return nil
}
func (m *CompiledWorkflow) GetConnections() *ConnectionSet {
if m != nil {
return m.Connections
}
return nil
}
// Output of the Compilation step. This object represent one Task. We store more metadata at this layer
type CompiledTask struct {
// Completely contained TaskTemplate
Template *TaskTemplate `protobuf:"bytes,1,opt,name=template,proto3" json:"template,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CompiledTask) Reset() { *m = CompiledTask{} }
func (m *CompiledTask) String() string { return proto.CompactTextString(m) }
func (*CompiledTask) ProtoMessage() {}
func (*CompiledTask) Descriptor() ([]byte, []int) {
return fileDescriptor_d310dba155e4f065, []int{2}
}
func (m *CompiledTask) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CompiledTask.Unmarshal(m, b)
}
func (m *CompiledTask) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CompiledTask.Marshal(b, m, deterministic)
}
func (m *CompiledTask) XXX_Merge(src proto.Message) {
xxx_messageInfo_CompiledTask.Merge(m, src)
}
func (m *CompiledTask) XXX_Size() int {
return xxx_messageInfo_CompiledTask.Size(m)
}
func (m *CompiledTask) XXX_DiscardUnknown() {
xxx_messageInfo_CompiledTask.DiscardUnknown(m)
}
var xxx_messageInfo_CompiledTask proto.InternalMessageInfo
func (m *CompiledTask) GetTemplate() *TaskTemplate {
if m != nil {
return m.Template
}
return nil
}
// A Compiled Workflow Closure contains all the information required to start a new execution, or to visualize a workflow
// and its details. The CompiledWorkflowClosure should always contain a primary workflow, that is the main workflow that
// will being the execution. All subworkflows are denormalized. WorkflowNodes refer to the workflow identifiers of
// compiled subworkflows.
type CompiledWorkflowClosure struct {
//+required
Primary *CompiledWorkflow `protobuf:"bytes,1,opt,name=primary,proto3" json:"primary,omitempty"`
// Guaranteed that there will only exist one and only one workflow with a given id, i.e., every sub workflow has a
// unique identifier. Also every enclosed subworkflow is used either by a primary workflow or by a subworkflow
// as an inlined workflow
//+optional
SubWorkflows []*CompiledWorkflow `protobuf:"bytes,2,rep,name=sub_workflows,json=subWorkflows,proto3" json:"sub_workflows,omitempty"`
// Guaranteed that there will only exist one and only one task with a given id, i.e., every task has a unique id
//+required (at least 1)
Tasks []*CompiledTask `protobuf:"bytes,3,rep,name=tasks,proto3" json:"tasks,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CompiledWorkflowClosure) Reset() { *m = CompiledWorkflowClosure{} }
func (m *CompiledWorkflowClosure) String() string { return proto.CompactTextString(m) }
func (*CompiledWorkflowClosure) ProtoMessage() {}
func (*CompiledWorkflowClosure) Descriptor() ([]byte, []int) {
return fileDescriptor_d310dba155e4f065, []int{3}
}
func (m *CompiledWorkflowClosure) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CompiledWorkflowClosure.Unmarshal(m, b)
}
func (m *CompiledWorkflowClosure) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CompiledWorkflowClosure.Marshal(b, m, deterministic)
}
func (m *CompiledWorkflowClosure) XXX_Merge(src proto.Message) {
xxx_messageInfo_CompiledWorkflowClosure.Merge(m, src)
}
func (m *CompiledWorkflowClosure) XXX_Size() int {
return xxx_messageInfo_CompiledWorkflowClosure.Size(m)
}
func (m *CompiledWorkflowClosure) XXX_DiscardUnknown() {
xxx_messageInfo_CompiledWorkflowClosure.DiscardUnknown(m)
}
var xxx_messageInfo_CompiledWorkflowClosure proto.InternalMessageInfo
func (m *CompiledWorkflowClosure) GetPrimary() *CompiledWorkflow {
if m != nil {
return m.Primary
}
return nil
}
func (m *CompiledWorkflowClosure) GetSubWorkflows() []*CompiledWorkflow {
if m != nil {
return m.SubWorkflows
}
return nil
}
func (m *CompiledWorkflowClosure) GetTasks() []*CompiledTask {
if m != nil {
return m.Tasks
}
return nil
}
func init() {
proto.RegisterType((*ConnectionSet)(nil), "flyteidl.core.ConnectionSet")
proto.RegisterMapType((map[string]*ConnectionSet_IdList)(nil), "flyteidl.core.ConnectionSet.DownstreamEntry")
proto.RegisterMapType((map[string]*ConnectionSet_IdList)(nil), "flyteidl.core.ConnectionSet.UpstreamEntry")
proto.RegisterType((*ConnectionSet_IdList)(nil), "flyteidl.core.ConnectionSet.IdList")
proto.RegisterType((*CompiledWorkflow)(nil), "flyteidl.core.CompiledWorkflow")
proto.RegisterType((*CompiledTask)(nil), "flyteidl.core.CompiledTask")
proto.RegisterType((*CompiledWorkflowClosure)(nil), "flyteidl.core.CompiledWorkflowClosure")
}
func init() { proto.RegisterFile("flyteidl/core/compiler.proto", fileDescriptor_d310dba155e4f065) }
var fileDescriptor_d310dba155e4f065 = []byte{
// 423 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x93, 0xcb, 0xca, 0xd3, 0x40,
0x14, 0xc7, 0x49, 0x43, 0x2f, 0x9e, 0x34, 0x58, 0x66, 0x63, 0x4c, 0x0b, 0x86, 0xb8, 0x29, 0xa2,
0x09, 0x56, 0x51, 0xab, 0xe0, 0xc2, 0x56,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