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
/
execution.pb.go
674 lines (585 loc) · 24.1 KB
/
execution.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
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: flyteidl/core/execution.proto
package core
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
duration "github.com/golang/protobuf/ptypes/duration"
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
type WorkflowExecution_Phase int32
const (
WorkflowExecution_UNDEFINED WorkflowExecution_Phase = 0
WorkflowExecution_QUEUED WorkflowExecution_Phase = 1
WorkflowExecution_RUNNING WorkflowExecution_Phase = 2
WorkflowExecution_SUCCEEDING WorkflowExecution_Phase = 3
WorkflowExecution_SUCCEEDED WorkflowExecution_Phase = 4
WorkflowExecution_FAILING WorkflowExecution_Phase = 5
WorkflowExecution_FAILED WorkflowExecution_Phase = 6
WorkflowExecution_ABORTED WorkflowExecution_Phase = 7
WorkflowExecution_TIMED_OUT WorkflowExecution_Phase = 8
)
var WorkflowExecution_Phase_name = map[int32]string{
0: "UNDEFINED",
1: "QUEUED",
2: "RUNNING",
3: "SUCCEEDING",
4: "SUCCEEDED",
5: "FAILING",
6: "FAILED",
7: "ABORTED",
8: "TIMED_OUT",
}
var WorkflowExecution_Phase_value = map[string]int32{
"UNDEFINED": 0,
"QUEUED": 1,
"RUNNING": 2,
"SUCCEEDING": 3,
"SUCCEEDED": 4,
"FAILING": 5,
"FAILED": 6,
"ABORTED": 7,
"TIMED_OUT": 8,
}
func (x WorkflowExecution_Phase) String() string {
return proto.EnumName(WorkflowExecution_Phase_name, int32(x))
}
func (WorkflowExecution_Phase) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_1523842fd9084ee4, []int{0, 0}
}
type NodeExecution_Phase int32
const (
NodeExecution_UNDEFINED NodeExecution_Phase = 0
NodeExecution_QUEUED NodeExecution_Phase = 1
NodeExecution_RUNNING NodeExecution_Phase = 2
NodeExecution_SUCCEEDED NodeExecution_Phase = 3
NodeExecution_FAILING NodeExecution_Phase = 4
NodeExecution_FAILED NodeExecution_Phase = 5
NodeExecution_ABORTED NodeExecution_Phase = 6
NodeExecution_SKIPPED NodeExecution_Phase = 7
NodeExecution_TIMED_OUT NodeExecution_Phase = 8
NodeExecution_DYNAMIC_RUNNING NodeExecution_Phase = 9
NodeExecution_RECOVERED NodeExecution_Phase = 10
)
var NodeExecution_Phase_name = map[int32]string{
0: "UNDEFINED",
1: "QUEUED",
2: "RUNNING",
3: "SUCCEEDED",
4: "FAILING",
5: "FAILED",
6: "ABORTED",
7: "SKIPPED",
8: "TIMED_OUT",
9: "DYNAMIC_RUNNING",
10: "RECOVERED",
}
var NodeExecution_Phase_value = map[string]int32{
"UNDEFINED": 0,
"QUEUED": 1,
"RUNNING": 2,
"SUCCEEDED": 3,
"FAILING": 4,
"FAILED": 5,
"ABORTED": 6,
"SKIPPED": 7,
"TIMED_OUT": 8,
"DYNAMIC_RUNNING": 9,
"RECOVERED": 10,
}
func (x NodeExecution_Phase) String() string {
return proto.EnumName(NodeExecution_Phase_name, int32(x))
}
func (NodeExecution_Phase) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_1523842fd9084ee4, []int{1, 0}
}
type TaskExecution_Phase int32
const (
TaskExecution_UNDEFINED TaskExecution_Phase = 0
TaskExecution_QUEUED TaskExecution_Phase = 1
TaskExecution_RUNNING TaskExecution_Phase = 2
TaskExecution_SUCCEEDED TaskExecution_Phase = 3
TaskExecution_ABORTED TaskExecution_Phase = 4
TaskExecution_FAILED TaskExecution_Phase = 5
// To indicate cases where task is initializing, like: ErrImagePull, ContainerCreating, PodInitializing
TaskExecution_INITIALIZING TaskExecution_Phase = 6
// To address cases, where underlying resource is not available: Backoff error, Resource quota exceeded
TaskExecution_WAITING_FOR_RESOURCES TaskExecution_Phase = 7
)
var TaskExecution_Phase_name = map[int32]string{
0: "UNDEFINED",
1: "QUEUED",
2: "RUNNING",
3: "SUCCEEDED",
4: "ABORTED",
5: "FAILED",
6: "INITIALIZING",
7: "WAITING_FOR_RESOURCES",
}
var TaskExecution_Phase_value = map[string]int32{
"UNDEFINED": 0,
"QUEUED": 1,
"RUNNING": 2,
"SUCCEEDED": 3,
"ABORTED": 4,
"FAILED": 5,
"INITIALIZING": 6,
"WAITING_FOR_RESOURCES": 7,
}
func (x TaskExecution_Phase) String() string {
return proto.EnumName(TaskExecution_Phase_name, int32(x))
}
func (TaskExecution_Phase) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_1523842fd9084ee4, []int{2, 0}
}
// Error type: System or User
type ExecutionError_ErrorKind int32
const (
ExecutionError_UNKNOWN ExecutionError_ErrorKind = 0
ExecutionError_USER ExecutionError_ErrorKind = 1
ExecutionError_SYSTEM ExecutionError_ErrorKind = 2
)
var ExecutionError_ErrorKind_name = map[int32]string{
0: "UNKNOWN",
1: "USER",
2: "SYSTEM",
}
var ExecutionError_ErrorKind_value = map[string]int32{
"UNKNOWN": 0,
"USER": 1,
"SYSTEM": 2,
}
func (x ExecutionError_ErrorKind) String() string {
return proto.EnumName(ExecutionError_ErrorKind_name, int32(x))
}
func (ExecutionError_ErrorKind) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_1523842fd9084ee4, []int{3, 0}
}
type TaskLog_MessageFormat int32
const (
TaskLog_UNKNOWN TaskLog_MessageFormat = 0
TaskLog_CSV TaskLog_MessageFormat = 1
TaskLog_JSON TaskLog_MessageFormat = 2
)
var TaskLog_MessageFormat_name = map[int32]string{
0: "UNKNOWN",
1: "CSV",
2: "JSON",
}
var TaskLog_MessageFormat_value = map[string]int32{
"UNKNOWN": 0,
"CSV": 1,
"JSON": 2,
}
func (x TaskLog_MessageFormat) String() string {
return proto.EnumName(TaskLog_MessageFormat_name, int32(x))
}
func (TaskLog_MessageFormat) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_1523842fd9084ee4, []int{4, 0}
}
type QualityOfService_Tier int32
const (
// Default: no quality of service specified.
QualityOfService_UNDEFINED QualityOfService_Tier = 0
QualityOfService_HIGH QualityOfService_Tier = 1
QualityOfService_MEDIUM QualityOfService_Tier = 2
QualityOfService_LOW QualityOfService_Tier = 3
)
var QualityOfService_Tier_name = map[int32]string{
0: "UNDEFINED",
1: "HIGH",
2: "MEDIUM",
3: "LOW",
}
var QualityOfService_Tier_value = map[string]int32{
"UNDEFINED": 0,
"HIGH": 1,
"MEDIUM": 2,
"LOW": 3,
}
func (x QualityOfService_Tier) String() string {
return proto.EnumName(QualityOfService_Tier_name, int32(x))
}
func (QualityOfService_Tier) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_1523842fd9084ee4, []int{6, 0}
}
// Indicates various phases of Workflow Execution
type WorkflowExecution struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *WorkflowExecution) Reset() { *m = WorkflowExecution{} }
func (m *WorkflowExecution) String() string { return proto.CompactTextString(m) }
func (*WorkflowExecution) ProtoMessage() {}
func (*WorkflowExecution) Descriptor() ([]byte, []int) {
return fileDescriptor_1523842fd9084ee4, []int{0}
}
func (m *WorkflowExecution) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_WorkflowExecution.Unmarshal(m, b)
}
func (m *WorkflowExecution) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_WorkflowExecution.Marshal(b, m, deterministic)
}
func (m *WorkflowExecution) XXX_Merge(src proto.Message) {
xxx_messageInfo_WorkflowExecution.Merge(m, src)
}
func (m *WorkflowExecution) XXX_Size() int {
return xxx_messageInfo_WorkflowExecution.Size(m)
}
func (m *WorkflowExecution) XXX_DiscardUnknown() {
xxx_messageInfo_WorkflowExecution.DiscardUnknown(m)
}
var xxx_messageInfo_WorkflowExecution proto.InternalMessageInfo
// Indicates various phases of Node Execution
type NodeExecution struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *NodeExecution) Reset() { *m = NodeExecution{} }
func (m *NodeExecution) String() string { return proto.CompactTextString(m) }
func (*NodeExecution) ProtoMessage() {}
func (*NodeExecution) Descriptor() ([]byte, []int) {
return fileDescriptor_1523842fd9084ee4, []int{1}
}
func (m *NodeExecution) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_NodeExecution.Unmarshal(m, b)
}
func (m *NodeExecution) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_NodeExecution.Marshal(b, m, deterministic)
}
func (m *NodeExecution) XXX_Merge(src proto.Message) {
xxx_messageInfo_NodeExecution.Merge(m, src)
}
func (m *NodeExecution) XXX_Size() int {
return xxx_messageInfo_NodeExecution.Size(m)
}
func (m *NodeExecution) XXX_DiscardUnknown() {
xxx_messageInfo_NodeExecution.DiscardUnknown(m)
}
var xxx_messageInfo_NodeExecution proto.InternalMessageInfo
// Phases that task plugins can go through. Not all phases may be applicable to a specific plugin task,
// but this is the cumulative list that customers may want to know about for their task.
type TaskExecution struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *TaskExecution) Reset() { *m = TaskExecution{} }
func (m *TaskExecution) String() string { return proto.CompactTextString(m) }
func (*TaskExecution) ProtoMessage() {}
func (*TaskExecution) Descriptor() ([]byte, []int) {
return fileDescriptor_1523842fd9084ee4, []int{2}
}
func (m *TaskExecution) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_TaskExecution.Unmarshal(m, b)
}
func (m *TaskExecution) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_TaskExecution.Marshal(b, m, deterministic)
}
func (m *TaskExecution) XXX_Merge(src proto.Message) {
xxx_messageInfo_TaskExecution.Merge(m, src)
}
func (m *TaskExecution) XXX_Size() int {
return xxx_messageInfo_TaskExecution.Size(m)
}
func (m *TaskExecution) XXX_DiscardUnknown() {
xxx_messageInfo_TaskExecution.DiscardUnknown(m)
}
var xxx_messageInfo_TaskExecution proto.InternalMessageInfo
// Represents the error message from the execution.
type ExecutionError struct {
// Error code indicates a grouping of a type of error.
// More Info: <Link>
Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
// Detailed description of the error - including stack trace.
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
// Full error contents accessible via a URI
ErrorUri string `protobuf:"bytes,3,opt,name=error_uri,json=errorUri,proto3" json:"error_uri,omitempty"`
Kind ExecutionError_ErrorKind `protobuf:"varint,4,opt,name=kind,proto3,enum=flyteidl.core.ExecutionError_ErrorKind" json:"kind,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ExecutionError) Reset() { *m = ExecutionError{} }
func (m *ExecutionError) String() string { return proto.CompactTextString(m) }
func (*ExecutionError) ProtoMessage() {}
func (*ExecutionError) Descriptor() ([]byte, []int) {
return fileDescriptor_1523842fd9084ee4, []int{3}
}
func (m *ExecutionError) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ExecutionError.Unmarshal(m, b)
}
func (m *ExecutionError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ExecutionError.Marshal(b, m, deterministic)
}
func (m *ExecutionError) XXX_Merge(src proto.Message) {
xxx_messageInfo_ExecutionError.Merge(m, src)
}
func (m *ExecutionError) XXX_Size() int {
return xxx_messageInfo_ExecutionError.Size(m)
}
func (m *ExecutionError) XXX_DiscardUnknown() {
xxx_messageInfo_ExecutionError.DiscardUnknown(m)
}
var xxx_messageInfo_ExecutionError proto.InternalMessageInfo
func (m *ExecutionError) GetCode() string {
if m != nil {
return m.Code
}
return ""
}
func (m *ExecutionError) GetMessage() string {
if m != nil {
return m.Message
}
return ""
}
func (m *ExecutionError) GetErrorUri() string {
if m != nil {
return m.ErrorUri
}
return ""
}
func (m *ExecutionError) GetKind() ExecutionError_ErrorKind {
if m != nil {
return m.Kind
}
return ExecutionError_UNKNOWN
}
// Log information for the task that is specific to a log sink
// When our log story is flushed out, we may have more metadata here like log link expiry
type TaskLog struct {
Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
MessageFormat TaskLog_MessageFormat `protobuf:"varint,3,opt,name=message_format,json=messageFormat,proto3,enum=flyteidl.core.TaskLog_MessageFormat" json:"message_format,omitempty"`
Ttl *duration.Duration `protobuf:"bytes,4,opt,name=ttl,proto3" json:"ttl,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *TaskLog) Reset() { *m = TaskLog{} }
func (m *TaskLog) String() string { return proto.CompactTextString(m) }
func (*TaskLog) ProtoMessage() {}
func (*TaskLog) Descriptor() ([]byte, []int) {
return fileDescriptor_1523842fd9084ee4, []int{4}
}
func (m *TaskLog) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_TaskLog.Unmarshal(m, b)
}
func (m *TaskLog) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_TaskLog.Marshal(b, m, deterministic)
}
func (m *TaskLog) XXX_Merge(src proto.Message) {
xxx_messageInfo_TaskLog.Merge(m, src)
}
func (m *TaskLog) XXX_Size() int {
return xxx_messageInfo_TaskLog.Size(m)
}
func (m *TaskLog) XXX_DiscardUnknown() {
xxx_messageInfo_TaskLog.DiscardUnknown(m)
}
var xxx_messageInfo_TaskLog proto.InternalMessageInfo
func (m *TaskLog) GetUri() string {
if m != nil {
return m.Uri
}
return ""
}
func (m *TaskLog) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *TaskLog) GetMessageFormat() TaskLog_MessageFormat {
if m != nil {
return m.MessageFormat
}
return TaskLog_UNKNOWN
}
func (m *TaskLog) GetTtl() *duration.Duration {
if m != nil {
return m.Ttl
}
return nil
}
// Represents customized execution run-time attributes.
type QualityOfServiceSpec struct {
// Indicates how much queueing delay an execution can tolerate.
QueueingBudget *duration.Duration `protobuf:"bytes,1,opt,name=queueing_budget,json=queueingBudget,proto3" json:"queueing_budget,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *QualityOfServiceSpec) Reset() { *m = QualityOfServiceSpec{} }
func (m *QualityOfServiceSpec) String() string { return proto.CompactTextString(m) }
func (*QualityOfServiceSpec) ProtoMessage() {}
func (*QualityOfServiceSpec) Descriptor() ([]byte, []int) {
return fileDescriptor_1523842fd9084ee4, []int{5}
}
func (m *QualityOfServiceSpec) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_QualityOfServiceSpec.Unmarshal(m, b)
}
func (m *QualityOfServiceSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_QualityOfServiceSpec.Marshal(b, m, deterministic)
}
func (m *QualityOfServiceSpec) XXX_Merge(src proto.Message) {
xxx_messageInfo_QualityOfServiceSpec.Merge(m, src)
}
func (m *QualityOfServiceSpec) XXX_Size() int {
return xxx_messageInfo_QualityOfServiceSpec.Size(m)
}
func (m *QualityOfServiceSpec) XXX_DiscardUnknown() {
xxx_messageInfo_QualityOfServiceSpec.DiscardUnknown(m)
}
var xxx_messageInfo_QualityOfServiceSpec proto.InternalMessageInfo
func (m *QualityOfServiceSpec) GetQueueingBudget() *duration.Duration {
if m != nil {
return m.QueueingBudget
}
return nil
}
// Indicates the priority of an execution.
type QualityOfService struct {
// Types that are valid to be assigned to Designation:
// *QualityOfService_Tier_
// *QualityOfService_Spec
Designation isQualityOfService_Designation `protobuf_oneof:"designation"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *QualityOfService) Reset() { *m = QualityOfService{} }
func (m *QualityOfService) String() string { return proto.CompactTextString(m) }
func (*QualityOfService) ProtoMessage() {}
func (*QualityOfService) Descriptor() ([]byte, []int) {
return fileDescriptor_1523842fd9084ee4, []int{6}
}
func (m *QualityOfService) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_QualityOfService.Unmarshal(m, b)
}
func (m *QualityOfService) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_QualityOfService.Marshal(b, m, deterministic)
}
func (m *QualityOfService) XXX_Merge(src proto.Message) {
xxx_messageInfo_QualityOfService.Merge(m, src)
}
func (m *QualityOfService) XXX_Size() int {
return xxx_messageInfo_QualityOfService.Size(m)
}
func (m *QualityOfService) XXX_DiscardUnknown() {
xxx_messageInfo_QualityOfService.DiscardUnknown(m)
}
var xxx_messageInfo_QualityOfService proto.InternalMessageInfo
type isQualityOfService_Designation interface {
isQualityOfService_Designation()
}
type QualityOfService_Tier_ struct {
Tier QualityOfService_Tier `protobuf:"varint,1,opt,name=tier,proto3,enum=flyteidl.core.QualityOfService_Tier,oneof"`
}
type QualityOfService_Spec struct {
Spec *QualityOfServiceSpec `protobuf:"bytes,2,opt,name=spec,proto3,oneof"`
}
func (*QualityOfService_Tier_) isQualityOfService_Designation() {}
func (*QualityOfService_Spec) isQualityOfService_Designation() {}
func (m *QualityOfService) GetDesignation() isQualityOfService_Designation {
if m != nil {
return m.Designation
}
return nil
}
func (m *QualityOfService) GetTier() QualityOfService_Tier {
if x, ok := m.GetDesignation().(*QualityOfService_Tier_); ok {
return x.Tier
}
return QualityOfService_UNDEFINED
}
func (m *QualityOfService) GetSpec() *QualityOfServiceSpec {
if x, ok := m.GetDesignation().(*QualityOfService_Spec); ok {
return x.Spec
}
return nil
}
// XXX_OneofWrappers is for the internal use of the proto package.
func (*QualityOfService) XXX_OneofWrappers() []interface{} {
return []interface{}{
(*QualityOfService_Tier_)(nil),
(*QualityOfService_Spec)(nil),
}
}
func init() {
proto.RegisterEnum("flyteidl.core.WorkflowExecution_Phase", WorkflowExecution_Phase_name, WorkflowExecution_Phase_value)
proto.RegisterEnum("flyteidl.core.NodeExecution_Phase", NodeExecution_Phase_name, NodeExecution_Phase_value)
proto.RegisterEnum("flyteidl.core.TaskExecution_Phase", TaskExecution_Phase_name, TaskExecution_Phase_value)
proto.RegisterEnum("flyteidl.core.ExecutionError_ErrorKind", ExecutionError_ErrorKind_name, ExecutionError_ErrorKind_value)
proto.RegisterEnum("flyteidl.core.TaskLog_MessageFormat", TaskLog_MessageFormat_name, TaskLog_MessageFormat_value)
proto.RegisterEnum("flyteidl.core.QualityOfService_Tier", QualityOfService_Tier_name, QualityOfService_Tier_value)
proto.RegisterType((*WorkflowExecution)(nil), "flyteidl.core.WorkflowExecution")
proto.RegisterType((*NodeExecution)(nil), "flyteidl.core.NodeExecution")
proto.RegisterType((*TaskExecution)(nil), "flyteidl.core.TaskExecution")
proto.RegisterType((*ExecutionError)(nil), "flyteidl.core.ExecutionError")
proto.RegisterType((*TaskLog)(nil), "flyteidl.core.TaskLog")
proto.RegisterType((*QualityOfServiceSpec)(nil), "flyteidl.core.QualityOfServiceSpec")
proto.RegisterType((*QualityOfService)(nil), "flyteidl.core.QualityOfService")
}
func init() { proto.RegisterFile("flyteidl/core/execution.proto", fileDescriptor_1523842fd9084ee4) }
var fileDescriptor_1523842fd9084ee4 = []byte{
// 724 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x94, 0xdd, 0x6e, 0xda, 0x48,
0x14, 0xc7, 0x63, 0x70, 0xf8, 0x38, 0x2c, 0x64, 0x76, 0x76, 0x57, 0x22, 0xbb, 0xda, 0x55, 0xe4,
0x5d, 0x69, 0x23, 0x55, 0xb5, 0x25, 0x1a, 0x55, 0x6a, 0x7b, 0x05, 0x78, 0x48, 0x5c, 0xc0, 0x4e,
0xfc, 0x11, 0x94, 0xdc, 0x20, 0xc0, 0x83, 0x63, 0x05, 0x18, 0x6a, 0xec, 0xb6, 0xb9, 0x6e, 0x9f,
0xa1, 0x52, 0xef, 0xfb, 0x0c, 0x7d, 0x86, 0x5e, 0xf5, 0x01, 0xfa, 0x34, 0xd5, 0x0c, 0x38, 0x01,
0x5a, 0xb5, 0xaa, 0xd4, 0x1b, 0x34, 0x67, 0xce, 0xf9, 0x9f, 0xf9, 0xfd, 0x0f, 0x9e, 0x81, 0xbf,
0xc7, 0x93, 0x9b, 0x98, 0x86, 0xfe, 0x44, 0x1b, 0xb1, 0x88, 0x6a, 0xf4, 0x25, 0x1d, 0x25, 0x71,
0xc8, 0x66, 0xea, 0x3c, 0x62, 0x31, 0xc3, 0xe5, 0x34, 0xad, 0xf2, 0xf4, 0x9f, 0xff, 0x04, 0x8c,
0x05, 0x13, 0xaa, 0x89, 0xe4, 0x30, 0x19, 0x6b, 0x7e, 0x12, 0x0d, 0xee, 0xca, 0x95, 0xb7, 0x12,
0xfc, 0xda, 0x63, 0xd1, 0xf5, 0x78, 0xc2, 0x5e, 0x90, 0xb4, 0x95, 0xf2, 0x4a, 0x82, 0xdd, 0xd3,
0xab, 0xc1, 0x82, 0xe2, 0x32, 0x14, 0x3d,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