@flyteorg/flyteidl2 2.0.0-alpha10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/flyteidl2/common/authorization_pb.ts +323 -0
  2. package/flyteidl2/common/identifier_pb.ts +423 -0
  3. package/flyteidl2/common/identity_pb.ts +205 -0
  4. package/flyteidl2/common/list_pb.ts +232 -0
  5. package/flyteidl2/common/policy_pb.ts +76 -0
  6. package/flyteidl2/common/role_pb.ts +161 -0
  7. package/flyteidl2/common/runtime_version_pb.ts +76 -0
  8. package/flyteidl2/core/artifact_id_pb.ts +400 -0
  9. package/flyteidl2/core/catalog_pb.ts +215 -0
  10. package/flyteidl2/core/execution_pb.ts +641 -0
  11. package/flyteidl2/core/identifier_pb.ts +237 -0
  12. package/flyteidl2/core/interface_pb.ts +187 -0
  13. package/flyteidl2/core/literals_pb.ts +673 -0
  14. package/flyteidl2/core/security_pb.ts +310 -0
  15. package/flyteidl2/core/tasks_pb.ts +1088 -0
  16. package/flyteidl2/core/types_pb.ts +592 -0
  17. package/flyteidl2/imagebuilder/definition_pb.ts +535 -0
  18. package/flyteidl2/imagebuilder/payload_pb.ts +62 -0
  19. package/flyteidl2/imagebuilder/service_pb.ts +30 -0
  20. package/flyteidl2/logs/dataplane/payload_pb.ts +396 -0
  21. package/flyteidl2/plugins/dask_pb.ts +109 -0
  22. package/flyteidl2/plugins/ray_pb.ts +189 -0
  23. package/flyteidl2/plugins/spark_pb.ts +145 -0
  24. package/flyteidl2/secret/definition_pb.ts +310 -0
  25. package/flyteidl2/secret/payload_pb.ts +266 -0
  26. package/flyteidl2/secret/secret_pb.ts +63 -0
  27. package/flyteidl2/task/common_pb.ts +319 -0
  28. package/flyteidl2/task/environment_pb.ts +36 -0
  29. package/flyteidl2/task/run_pb.ts +177 -0
  30. package/flyteidl2/task/task_definition_pb.ts +417 -0
  31. package/flyteidl2/task/task_service_pb.ts +248 -0
  32. package/flyteidl2/trigger/trigger_definition_pb.ts +283 -0
  33. package/flyteidl2/trigger/trigger_service_pb.ts +451 -0
  34. package/flyteidl2/workflow/queue_service_pb.ts +245 -0
  35. package/flyteidl2/workflow/run_definition_pb.ts +1192 -0
  36. package/flyteidl2/workflow/run_logs_service_pb.ts +106 -0
  37. package/flyteidl2/workflow/run_service_pb.ts +870 -0
  38. package/flyteidl2/workflow/state_service_pb.ts +310 -0
  39. package/flyteidl2/workflow/translator_service_pb.ts +174 -0
  40. package/package.json +18 -0
@@ -0,0 +1,641 @@
1
+ // @generated by protoc-gen-es v2.2.5 with parameter "target=ts,import_extension=.ts"
2
+ // @generated from file flyteidl2/core/execution.proto (package flyteidl2.core, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
6
+ import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
7
+ import type { Duration, Timestamp } from "@bufbuild/protobuf/wkt";
8
+ import { file_google_protobuf_duration, file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
9
+ import type { Message } from "@bufbuild/protobuf";
10
+
11
+ /**
12
+ * Describes the file flyteidl2/core/execution.proto.
13
+ */
14
+ export const file_flyteidl2_core_execution: GenFile = /*@__PURE__*/
15
+ fileDesc("Ch5mbHl0ZWlkbDIvY29yZS9leGVjdXRpb24ucHJvdG8SDmZseXRlaWRsMi5jb3JlIqcBChFXb3JrZmxvd0V4ZWN1dGlvbiKRAQoFUGhhc2USDQoJVU5ERUZJTkVEEAASCgoGUVVFVUVEEAESCwoHUlVOTklORxACEg4KClNVQ0NFRURJTkcQAxINCglTVUNDRUVERUQQBBILCgdGQUlMSU5HEAUSCgoGRkFJTEVEEAYSCwoHQUJPUlRFRBAHEg0KCVRJTUVEX09VVBAIEgwKCEFCT1JUSU5HEAkitgEKDU5vZGVFeGVjdXRpb24ipAEKBVBoYXNlEg0KCVVOREVGSU5FRBAAEgoKBlFVRVVFRBABEgsKB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TcGVjSAAiNAoEVGllchINCglVTkRFRklORUQQABIICgRISUdIEAESCgoGTUVESVVNEAISBwoDTE9XEANCDQoLZGVzaWduYXRpb25CswEKEmNvbS5mbHl0ZWlkbDIuY29yZUIORXhlY3V0aW9uUHJvdG9IAlABWjJnaXRodWIuY29tL2ZseXRlb3JnL2ZseXRlL3YyL2dlbi9nby9mbHl0ZWlkbDIvY29yZaICA0ZDWKoCDkZseXRlaWRsMi5Db3JlygIORmx5dGVpZGwyXENvcmXiAhpGbHl0ZWlkbDJcQ29yZVxHUEJNZXRhZGF0YeoCD0ZseXRlaWRsMjo6Q29yZWIGcHJvdG8z", [file_google_protobuf_duration, file_google_protobuf_timestamp]);
16
+
17
+ /**
18
+ * Indicates various phases of Workflow Execution
19
+ *
20
+ * @generated from message flyteidl2.core.WorkflowExecution
21
+ */
22
+ export type WorkflowExecution = Message<"flyteidl2.core.WorkflowExecution"> & {
23
+ };
24
+
25
+ /**
26
+ * Describes the message flyteidl2.core.WorkflowExecution.
27
+ * Use `create(WorkflowExecutionSchema)` to create a new message.
28
+ */
29
+ export const WorkflowExecutionSchema: GenMessage<WorkflowExecution> = /*@__PURE__*/
30
+ messageDesc(file_flyteidl2_core_execution, 0);
31
+
32
+ /**
33
+ * @generated from enum flyteidl2.core.WorkflowExecution.Phase
34
+ */
35
+ export enum WorkflowExecution_Phase {
36
+ /**
37
+ * @generated from enum value: UNDEFINED = 0;
38
+ */
39
+ UNDEFINED = 0,
40
+
41
+ /**
42
+ * @generated from enum value: QUEUED = 1;
43
+ */
44
+ QUEUED = 1,
45
+
46
+ /**
47
+ * @generated from enum value: RUNNING = 2;
48
+ */
49
+ RUNNING = 2,
50
+
51
+ /**
52
+ * @generated from enum value: SUCCEEDING = 3;
53
+ */
54
+ SUCCEEDING = 3,
55
+
56
+ /**
57
+ * @generated from enum value: SUCCEEDED = 4;
58
+ */
59
+ SUCCEEDED = 4,
60
+
61
+ /**
62
+ * @generated from enum value: FAILING = 5;
63
+ */
64
+ FAILING = 5,
65
+
66
+ /**
67
+ * @generated from enum value: FAILED = 6;
68
+ */
69
+ FAILED = 6,
70
+
71
+ /**
72
+ * @generated from enum value: ABORTED = 7;
73
+ */
74
+ ABORTED = 7,
75
+
76
+ /**
77
+ * @generated from enum value: TIMED_OUT = 8;
78
+ */
79
+ TIMED_OUT = 8,
80
+
81
+ /**
82
+ * @generated from enum value: ABORTING = 9;
83
+ */
84
+ ABORTING = 9,
85
+ }
86
+
87
+ /**
88
+ * Describes the enum flyteidl2.core.WorkflowExecution.Phase.
89
+ */
90
+ export const WorkflowExecution_PhaseSchema: GenEnum<WorkflowExecution_Phase> = /*@__PURE__*/
91
+ enumDesc(file_flyteidl2_core_execution, 0, 0);
92
+
93
+ /**
94
+ * Indicates various phases of Node Execution that only include the time spent to run the nodes/workflows
95
+ *
96
+ * @generated from message flyteidl2.core.NodeExecution
97
+ */
98
+ export type NodeExecution = Message<"flyteidl2.core.NodeExecution"> & {
99
+ };
100
+
101
+ /**
102
+ * Describes the message flyteidl2.core.NodeExecution.
103
+ * Use `create(NodeExecutionSchema)` to create a new message.
104
+ */
105
+ export const NodeExecutionSchema: GenMessage<NodeExecution> = /*@__PURE__*/
106
+ messageDesc(file_flyteidl2_core_execution, 1);
107
+
108
+ /**
109
+ * @generated from enum flyteidl2.core.NodeExecution.Phase
110
+ */
111
+ export enum NodeExecution_Phase {
112
+ /**
113
+ * @generated from enum value: UNDEFINED = 0;
114
+ */
115
+ UNDEFINED = 0,
116
+
117
+ /**
118
+ * @generated from enum value: QUEUED = 1;
119
+ */
120
+ QUEUED = 1,
121
+
122
+ /**
123
+ * @generated from enum value: RUNNING = 2;
124
+ */
125
+ RUNNING = 2,
126
+
127
+ /**
128
+ * @generated from enum value: SUCCEEDED = 3;
129
+ */
130
+ SUCCEEDED = 3,
131
+
132
+ /**
133
+ * @generated from enum value: FAILING = 4;
134
+ */
135
+ FAILING = 4,
136
+
137
+ /**
138
+ * @generated from enum value: FAILED = 5;
139
+ */
140
+ FAILED = 5,
141
+
142
+ /**
143
+ * @generated from enum value: ABORTED = 6;
144
+ */
145
+ ABORTED = 6,
146
+
147
+ /**
148
+ * @generated from enum value: SKIPPED = 7;
149
+ */
150
+ SKIPPED = 7,
151
+
152
+ /**
153
+ * @generated from enum value: TIMED_OUT = 8;
154
+ */
155
+ TIMED_OUT = 8,
156
+
157
+ /**
158
+ * @generated from enum value: DYNAMIC_RUNNING = 9;
159
+ */
160
+ DYNAMIC_RUNNING = 9,
161
+
162
+ /**
163
+ * @generated from enum value: RECOVERED = 10;
164
+ */
165
+ RECOVERED = 10,
166
+ }
167
+
168
+ /**
169
+ * Describes the enum flyteidl2.core.NodeExecution.Phase.
170
+ */
171
+ export const NodeExecution_PhaseSchema: GenEnum<NodeExecution_Phase> = /*@__PURE__*/
172
+ enumDesc(file_flyteidl2_core_execution, 1, 0);
173
+
174
+ /**
175
+ * Phases that task plugins can go through. Not all phases may be applicable to a specific plugin task,
176
+ * but this is the cumulative list that customers may want to know about for their task.
177
+ *
178
+ * @generated from message flyteidl2.core.TaskExecution
179
+ */
180
+ export type TaskExecution = Message<"flyteidl2.core.TaskExecution"> & {
181
+ };
182
+
183
+ /**
184
+ * Describes the message flyteidl2.core.TaskExecution.
185
+ * Use `create(TaskExecutionSchema)` to create a new message.
186
+ */
187
+ export const TaskExecutionSchema: GenMessage<TaskExecution> = /*@__PURE__*/
188
+ messageDesc(file_flyteidl2_core_execution, 2);
189
+
190
+ /**
191
+ * @generated from enum flyteidl2.core.TaskExecution.Phase
192
+ */
193
+ export enum TaskExecution_Phase {
194
+ /**
195
+ * @generated from enum value: UNDEFINED = 0;
196
+ */
197
+ UNDEFINED = 0,
198
+
199
+ /**
200
+ * @generated from enum value: QUEUED = 1;
201
+ */
202
+ QUEUED = 1,
203
+
204
+ /**
205
+ * @generated from enum value: RUNNING = 2;
206
+ */
207
+ RUNNING = 2,
208
+
209
+ /**
210
+ * @generated from enum value: SUCCEEDED = 3;
211
+ */
212
+ SUCCEEDED = 3,
213
+
214
+ /**
215
+ * @generated from enum value: ABORTED = 4;
216
+ */
217
+ ABORTED = 4,
218
+
219
+ /**
220
+ * @generated from enum value: FAILED = 5;
221
+ */
222
+ FAILED = 5,
223
+
224
+ /**
225
+ * To indicate cases where task is initializing, like: ErrImagePull, ContainerCreating, PodInitializing
226
+ *
227
+ * @generated from enum value: INITIALIZING = 6;
228
+ */
229
+ INITIALIZING = 6,
230
+
231
+ /**
232
+ * To address cases, where underlying resource is not available: Backoff error, Resource quota exceeded
233
+ *
234
+ * @generated from enum value: WAITING_FOR_RESOURCES = 7;
235
+ */
236
+ WAITING_FOR_RESOURCES = 7,
237
+
238
+ /**
239
+ * @generated from enum value: RETRYABLE_FAILED = 8;
240
+ */
241
+ RETRYABLE_FAILED = 8,
242
+ }
243
+
244
+ /**
245
+ * Describes the enum flyteidl2.core.TaskExecution.Phase.
246
+ */
247
+ export const TaskExecution_PhaseSchema: GenEnum<TaskExecution_Phase> = /*@__PURE__*/
248
+ enumDesc(file_flyteidl2_core_execution, 2, 0);
249
+
250
+ /**
251
+ * Represents the error message from the execution.
252
+ *
253
+ * @generated from message flyteidl2.core.ExecutionError
254
+ */
255
+ export type ExecutionError = Message<"flyteidl2.core.ExecutionError"> & {
256
+ /**
257
+ * Error code indicates a grouping of a type of error.
258
+ * More Info: <Link>
259
+ *
260
+ * @generated from field: string code = 1;
261
+ */
262
+ code: string;
263
+
264
+ /**
265
+ * Detailed description of the error - including stack trace.
266
+ *
267
+ * @generated from field: string message = 2;
268
+ */
269
+ message: string;
270
+
271
+ /**
272
+ * Full error contents accessible via a URI
273
+ *
274
+ * @generated from field: string error_uri = 3;
275
+ */
276
+ errorUri: string;
277
+
278
+ /**
279
+ * @generated from field: flyteidl2.core.ExecutionError.ErrorKind kind = 4;
280
+ */
281
+ kind: ExecutionError_ErrorKind;
282
+
283
+ /**
284
+ * Timestamp of the error
285
+ *
286
+ * @generated from field: google.protobuf.Timestamp timestamp = 5;
287
+ */
288
+ timestamp?: Timestamp;
289
+
290
+ /**
291
+ * Worker that generated the error
292
+ *
293
+ * @generated from field: string worker = 6;
294
+ */
295
+ worker: string;
296
+ };
297
+
298
+ /**
299
+ * Describes the message flyteidl2.core.ExecutionError.
300
+ * Use `create(ExecutionErrorSchema)` to create a new message.
301
+ */
302
+ export const ExecutionErrorSchema: GenMessage<ExecutionError> = /*@__PURE__*/
303
+ messageDesc(file_flyteidl2_core_execution, 3);
304
+
305
+ /**
306
+ * Error type: System or User
307
+ *
308
+ * @generated from enum flyteidl2.core.ExecutionError.ErrorKind
309
+ */
310
+ export enum ExecutionError_ErrorKind {
311
+ /**
312
+ * @generated from enum value: UNKNOWN = 0;
313
+ */
314
+ UNKNOWN = 0,
315
+
316
+ /**
317
+ * @generated from enum value: USER = 1;
318
+ */
319
+ USER = 1,
320
+
321
+ /**
322
+ * @generated from enum value: SYSTEM = 2;
323
+ */
324
+ SYSTEM = 2,
325
+ }
326
+
327
+ /**
328
+ * Describes the enum flyteidl2.core.ExecutionError.ErrorKind.
329
+ */
330
+ export const ExecutionError_ErrorKindSchema: GenEnum<ExecutionError_ErrorKind> = /*@__PURE__*/
331
+ enumDesc(file_flyteidl2_core_execution, 3, 0);
332
+
333
+ /**
334
+ * Log information for the task that is specific to a log sink
335
+ * When our log story is flushed out, we may have more metadata here like log link expiry
336
+ *
337
+ * @generated from message flyteidl2.core.TaskLog
338
+ */
339
+ export type TaskLog = Message<"flyteidl2.core.TaskLog"> & {
340
+ /**
341
+ * @generated from field: string uri = 1;
342
+ */
343
+ uri: string;
344
+
345
+ /**
346
+ * @generated from field: string name = 2;
347
+ */
348
+ name: string;
349
+
350
+ /**
351
+ * @generated from field: flyteidl2.core.TaskLog.MessageFormat message_format = 3;
352
+ */
353
+ messageFormat: TaskLog_MessageFormat;
354
+
355
+ /**
356
+ * @generated from field: google.protobuf.Duration ttl = 4;
357
+ */
358
+ ttl?: Duration;
359
+
360
+ /**
361
+ * @generated from field: bool ShowWhilePending = 5;
362
+ */
363
+ ShowWhilePending: boolean;
364
+
365
+ /**
366
+ * @generated from field: bool HideOnceFinished = 6;
367
+ */
368
+ HideOnceFinished: boolean;
369
+
370
+ /**
371
+ * @generated from field: flyteidl2.core.TaskLog.LinkType link_type = 7;
372
+ */
373
+ linkType: TaskLog_LinkType;
374
+
375
+ /**
376
+ * @generated from field: bool ready = 8;
377
+ */
378
+ ready: boolean;
379
+ };
380
+
381
+ /**
382
+ * Describes the message flyteidl2.core.TaskLog.
383
+ * Use `create(TaskLogSchema)` to create a new message.
384
+ */
385
+ export const TaskLogSchema: GenMessage<TaskLog> = /*@__PURE__*/
386
+ messageDesc(file_flyteidl2_core_execution, 4);
387
+
388
+ /**
389
+ * @generated from enum flyteidl2.core.TaskLog.MessageFormat
390
+ */
391
+ export enum TaskLog_MessageFormat {
392
+ /**
393
+ * @generated from enum value: UNKNOWN = 0;
394
+ */
395
+ UNKNOWN = 0,
396
+
397
+ /**
398
+ * @generated from enum value: CSV = 1;
399
+ */
400
+ CSV = 1,
401
+
402
+ /**
403
+ * @generated from enum value: JSON = 2;
404
+ */
405
+ JSON = 2,
406
+ }
407
+
408
+ /**
409
+ * Describes the enum flyteidl2.core.TaskLog.MessageFormat.
410
+ */
411
+ export const TaskLog_MessageFormatSchema: GenEnum<TaskLog_MessageFormat> = /*@__PURE__*/
412
+ enumDesc(file_flyteidl2_core_execution, 4, 0);
413
+
414
+ /**
415
+ * @generated from enum flyteidl2.core.TaskLog.LinkType
416
+ */
417
+ export enum TaskLog_LinkType {
418
+ /**
419
+ * The link for task log. For example, the aws cloudwatch logs, gcp stackdriver logs, etc.
420
+ *
421
+ * @generated from enum value: EXTERNAL = 0;
422
+ */
423
+ EXTERNAL = 0,
424
+
425
+ /**
426
+ * The link for spark UI, ray dashboard, etc.
427
+ *
428
+ * @generated from enum value: DASHBOARD = 1;
429
+ */
430
+ DASHBOARD = 1,
431
+
432
+ /**
433
+ * The link for vscode or other IDEs.
434
+ *
435
+ * @generated from enum value: IDE = 2;
436
+ */
437
+ IDE = 2,
438
+ }
439
+
440
+ /**
441
+ * Describes the enum flyteidl2.core.TaskLog.LinkType.
442
+ */
443
+ export const TaskLog_LinkTypeSchema: GenEnum<TaskLog_LinkType> = /*@__PURE__*/
444
+ enumDesc(file_flyteidl2_core_execution, 4, 1);
445
+
446
+ /**
447
+ * Contains metadata required to identify logs produces by a set of pods
448
+ *
449
+ * @generated from message flyteidl2.core.LogContext
450
+ */
451
+ export type LogContext = Message<"flyteidl2.core.LogContext"> & {
452
+ /**
453
+ * @generated from field: repeated flyteidl2.core.PodLogContext pods = 1;
454
+ */
455
+ pods: PodLogContext[];
456
+
457
+ /**
458
+ * @generated from field: string primary_pod_name = 2;
459
+ */
460
+ primaryPodName: string;
461
+ };
462
+
463
+ /**
464
+ * Describes the message flyteidl2.core.LogContext.
465
+ * Use `create(LogContextSchema)` to create a new message.
466
+ */
467
+ export const LogContextSchema: GenMessage<LogContext> = /*@__PURE__*/
468
+ messageDesc(file_flyteidl2_core_execution, 5);
469
+
470
+ /**
471
+ * Contains metadata required to identify logs produces by a single pod
472
+ *
473
+ * @generated from message flyteidl2.core.PodLogContext
474
+ */
475
+ export type PodLogContext = Message<"flyteidl2.core.PodLogContext"> & {
476
+ /**
477
+ * @generated from field: string namespace = 1;
478
+ */
479
+ namespace: string;
480
+
481
+ /**
482
+ * @generated from field: string pod_name = 2;
483
+ */
484
+ podName: string;
485
+
486
+ /**
487
+ * @generated from field: repeated flyteidl2.core.ContainerContext containers = 3;
488
+ */
489
+ containers: ContainerContext[];
490
+
491
+ /**
492
+ * @generated from field: string primary_container_name = 4;
493
+ */
494
+ primaryContainerName: string;
495
+
496
+ /**
497
+ * @generated from field: repeated flyteidl2.core.ContainerContext init_containers = 5;
498
+ */
499
+ initContainers: ContainerContext[];
500
+ };
501
+
502
+ /**
503
+ * Describes the message flyteidl2.core.PodLogContext.
504
+ * Use `create(PodLogContextSchema)` to create a new message.
505
+ */
506
+ export const PodLogContextSchema: GenMessage<PodLogContext> = /*@__PURE__*/
507
+ messageDesc(file_flyteidl2_core_execution, 6);
508
+
509
+ /**
510
+ * Contains metadata required to identify logs produces by a single container
511
+ *
512
+ * @generated from message flyteidl2.core.ContainerContext
513
+ */
514
+ export type ContainerContext = Message<"flyteidl2.core.ContainerContext"> & {
515
+ /**
516
+ * @generated from field: string container_name = 1;
517
+ */
518
+ containerName: string;
519
+
520
+ /**
521
+ * @generated from field: flyteidl2.core.ContainerContext.ProcessContext process = 2;
522
+ */
523
+ process?: ContainerContext_ProcessContext;
524
+ };
525
+
526
+ /**
527
+ * Describes the message flyteidl2.core.ContainerContext.
528
+ * Use `create(ContainerContextSchema)` to create a new message.
529
+ */
530
+ export const ContainerContextSchema: GenMessage<ContainerContext> = /*@__PURE__*/
531
+ messageDesc(file_flyteidl2_core_execution, 7);
532
+
533
+ /**
534
+ * Contains metadata required to identify logs produces by a single light-weight process that was run inside a container
535
+ *
536
+ * @generated from message flyteidl2.core.ContainerContext.ProcessContext
537
+ */
538
+ export type ContainerContext_ProcessContext = Message<"flyteidl2.core.ContainerContext.ProcessContext"> & {
539
+ /**
540
+ * @generated from field: google.protobuf.Timestamp container_start_time = 1;
541
+ */
542
+ containerStartTime?: Timestamp;
543
+
544
+ /**
545
+ * @generated from field: google.protobuf.Timestamp container_end_time = 2;
546
+ */
547
+ containerEndTime?: Timestamp;
548
+ };
549
+
550
+ /**
551
+ * Describes the message flyteidl2.core.ContainerContext.ProcessContext.
552
+ * Use `create(ContainerContext_ProcessContextSchema)` to create a new message.
553
+ */
554
+ export const ContainerContext_ProcessContextSchema: GenMessage<ContainerContext_ProcessContext> = /*@__PURE__*/
555
+ messageDesc(file_flyteidl2_core_execution, 7, 0);
556
+
557
+ /**
558
+ * Represents customized execution run-time attributes.
559
+ *
560
+ * @generated from message flyteidl2.core.QualityOfServiceSpec
561
+ */
562
+ export type QualityOfServiceSpec = Message<"flyteidl2.core.QualityOfServiceSpec"> & {
563
+ /**
564
+ * Indicates how much queueing delay an execution can tolerate.
565
+ *
566
+ * @generated from field: google.protobuf.Duration queueing_budget = 1;
567
+ */
568
+ queueingBudget?: Duration;
569
+ };
570
+
571
+ /**
572
+ * Describes the message flyteidl2.core.QualityOfServiceSpec.
573
+ * Use `create(QualityOfServiceSpecSchema)` to create a new message.
574
+ */
575
+ export const QualityOfServiceSpecSchema: GenMessage<QualityOfServiceSpec> = /*@__PURE__*/
576
+ messageDesc(file_flyteidl2_core_execution, 8);
577
+
578
+ /**
579
+ * Indicates the priority of an execution.
580
+ *
581
+ * @generated from message flyteidl2.core.QualityOfService
582
+ */
583
+ export type QualityOfService = Message<"flyteidl2.core.QualityOfService"> & {
584
+ /**
585
+ * @generated from oneof flyteidl2.core.QualityOfService.designation
586
+ */
587
+ designation: {
588
+ /**
589
+ * @generated from field: flyteidl2.core.QualityOfService.Tier tier = 1;
590
+ */
591
+ value: QualityOfService_Tier;
592
+ case: "tier";
593
+ } | {
594
+ /**
595
+ * @generated from field: flyteidl2.core.QualityOfServiceSpec spec = 2;
596
+ */
597
+ value: QualityOfServiceSpec;
598
+ case: "spec";
599
+ } | { case: undefined; value?: undefined };
600
+ };
601
+
602
+ /**
603
+ * Describes the message flyteidl2.core.QualityOfService.
604
+ * Use `create(QualityOfServiceSchema)` to create a new message.
605
+ */
606
+ export const QualityOfServiceSchema: GenMessage<QualityOfService> = /*@__PURE__*/
607
+ messageDesc(file_flyteidl2_core_execution, 9);
608
+
609
+ /**
610
+ * @generated from enum flyteidl2.core.QualityOfService.Tier
611
+ */
612
+ export enum QualityOfService_Tier {
613
+ /**
614
+ * Default: no quality of service specified.
615
+ *
616
+ * @generated from enum value: UNDEFINED = 0;
617
+ */
618
+ UNDEFINED = 0,
619
+
620
+ /**
621
+ * @generated from enum value: HIGH = 1;
622
+ */
623
+ HIGH = 1,
624
+
625
+ /**
626
+ * @generated from enum value: MEDIUM = 2;
627
+ */
628
+ MEDIUM = 2,
629
+
630
+ /**
631
+ * @generated from enum value: LOW = 3;
632
+ */
633
+ LOW = 3,
634
+ }
635
+
636
+ /**
637
+ * Describes the enum flyteidl2.core.QualityOfService.Tier.
638
+ */
639
+ export const QualityOfService_TierSchema: GenEnum<QualityOfService_Tier> = /*@__PURE__*/
640
+ enumDesc(file_flyteidl2_core_execution, 9, 0);
641
+