@flyteorg/flyteidl2 2.0.0-alpha9 → 2.0.0

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 (50) hide show
  1. package/buf/validate/validate_pb.ts +4754 -0
  2. package/flyteidl2/app/app_definition_pb.ts +1112 -0
  3. package/flyteidl2/app/app_logs_payload_pb.ts +161 -0
  4. package/flyteidl2/app/app_logs_service_pb.ts +30 -0
  5. package/flyteidl2/app/app_payload_pb.ts +530 -0
  6. package/flyteidl2/app/app_service_pb.ts +104 -0
  7. package/flyteidl2/app/replica_definition_pb.ts +140 -0
  8. package/flyteidl2/cacheservice/cacheservice_pb.ts +506 -0
  9. package/flyteidl2/cacheservice/v2/cacheservice_pb.ts +249 -0
  10. package/flyteidl2/common/configuration_pb.ts +68 -0
  11. package/flyteidl2/common/phase_pb.ts +92 -0
  12. package/flyteidl2/connector/connector_pb.ts +722 -0
  13. package/flyteidl2/connector/service_pb.ts +109 -0
  14. package/flyteidl2/core/errors_pb.ts +104 -0
  15. package/flyteidl2/core/execution_pb.ts +6 -1
  16. package/flyteidl2/core/metrics_pb.ts +47 -0
  17. package/flyteidl2/core/security_pb.ts +42 -6
  18. package/flyteidl2/core/tasks_pb.ts +17 -1
  19. package/flyteidl2/datacatalog/datacatalog_pb.ts +1299 -0
  20. package/flyteidl2/event/cloudevents_pb.ts +217 -0
  21. package/flyteidl2/event/event_pb.ts +818 -0
  22. package/flyteidl2/imagebuilder/definition_pb.ts +45 -3
  23. package/flyteidl2/imagebuilder/payload_pb.ts +15 -2
  24. package/flyteidl2/plugins/common_pb.ts +82 -0
  25. package/flyteidl2/plugins/dask_pb.ts +109 -0
  26. package/flyteidl2/plugins/kubeflow/common_pb.ts +81 -0
  27. package/flyteidl2/plugins/kubeflow/mpi_pb.ts +125 -0
  28. package/flyteidl2/plugins/kubeflow/pytorch_pb.ts +156 -0
  29. package/flyteidl2/plugins/kubeflow/tensorflow_pb.ts +123 -0
  30. package/flyteidl2/plugins/mpi_pb.ts +52 -0
  31. package/flyteidl2/plugins/presto_pb.ts +49 -0
  32. package/flyteidl2/plugins/pytorch_pb.ts +82 -0
  33. package/flyteidl2/plugins/qubole_pb.ts +98 -0
  34. package/flyteidl2/plugins/ray_pb.ts +189 -0
  35. package/flyteidl2/plugins/spark_pb.ts +145 -0
  36. package/flyteidl2/plugins/tensorflow_pb.ts +57 -0
  37. package/flyteidl2/task/common_pb.ts +71 -41
  38. package/flyteidl2/task/environment_pb.ts +8 -1
  39. package/flyteidl2/task/run_pb.ts +116 -5
  40. package/flyteidl2/task/task_definition_pb.ts +184 -12
  41. package/flyteidl2/task/task_service_pb.ts +127 -2
  42. package/flyteidl2/trigger/trigger_definition_pb.ts +22 -1
  43. package/flyteidl2/trigger/trigger_service_pb.ts +1 -1
  44. package/flyteidl2/workflow/run_definition_pb.ts +117 -41
  45. package/flyteidl2/workflow/run_service_pb.ts +140 -4
  46. package/flyteidl2/workflow/state_service_pb.ts +7 -7
  47. package/google/api/annotations_pb.ts +39 -0
  48. package/google/api/http_pb.ts +478 -0
  49. package/google/rpc/status_pb.ts +74 -0
  50. package/package.json +11 -3
@@ -0,0 +1,818 @@
1
+ // @generated by protoc-gen-es v2.2.5 with parameter "target=ts,import_extension=.ts"
2
+ // @generated from file flyteidl2/event/event.proto (package flyteidl2.event, 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 { CatalogCacheStatus, CatalogMetadata, CatalogReservation_Status } from "../core/catalog_pb.ts";
8
+ import { file_flyteidl2_core_catalog } from "../core/catalog_pb.ts";
9
+ import type { ExecutionError, LogContext, NodeExecution_Phase, TaskExecution_Phase, TaskLog, WorkflowExecution_Phase } from "../core/execution_pb.ts";
10
+ import { file_flyteidl2_core_execution } from "../core/execution_pb.ts";
11
+ import type { Identifier, NodeExecutionIdentifier, TaskExecutionIdentifier, WorkflowExecutionIdentifier } from "../core/identifier_pb.ts";
12
+ import { file_flyteidl2_core_identifier } from "../core/identifier_pb.ts";
13
+ import type { LiteralMap } from "../core/literals_pb.ts";
14
+ import { file_flyteidl2_core_literals } from "../core/literals_pb.ts";
15
+ import type { Timestamp } from "@bufbuild/protobuf/wkt";
16
+ import { file_google_protobuf_struct, file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
17
+ import type { JsonObject, Message } from "@bufbuild/protobuf";
18
+
19
+ /**
20
+ * Describes the file flyteidl2/event/event.proto.
21
+ */
22
+ export const file_flyteidl2_event_event: GenFile = /*@__PURE__*/
23
+ fileDesc("ChtmbHl0ZWlkbDIvZXZlbnQvZXZlbnQucHJvdG8SD2ZseXRlaWRsMi5ldmVudCLkAgoWV29ya2Zsb3dFeGVjdXRpb25FdmVudBJBCgxleGVjdXRpb25faWQYASABKAsyKy5mbHl0ZWlkbDIuY29yZS5Xb3JrZmxvd0V4ZWN1dGlvbklkZW50aWZpZXISEwoLcHJvZHVjZXJfaWQYAiABKAkSNgoFcGhhc2UYAyABKA4yJy5mbHl0ZWlkbDIuY29yZS5Xb3JrZmxvd0V4ZWN1dGlvbi5QaGFzZRIvCgtvY2N1cnJlZF9hdBgEIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASFAoKb3V0cHV0X3VyaRgFIAEoCUgAEi8KBWVycm9yGAYgASgLMh4uZmx5dGVpZGwyLmNvcmUuRXhlY3V0aW9uRXJyb3JIABIxCgtvdXRwdXRfZGF0YRgHIAEoCzIaLmZseXRlaWRsMi5jb3JlLkxpdGVyYWxNYXBIAEIPCg1vdXRwdXRfcmVzdWx0IowIChJOb2RlRXhlY3V0aW9uRXZlbnQSMwoCaWQYASABKAsyJy5mbHl0ZWlkbDIuY29yZS5Ob2RlRXhlY3V0aW9uSWRlbnRpZmllchITCgtwcm9kdWNlcl9pZBgCIAEoCRIyCgVwaGFzZRgDIA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odWIuY29tL2ZseXRlb3JnL2ZseXRlL3YyL2dlbi9nby9mbHl0ZWlkbDIvZXZlbnSiAgNGRViqAg9GbHl0ZWlkbDIuRXZlbnTKAg9GbHl0ZWlkbDJcRXZlbnTiAhtGbHl0ZWlkbDJcRXZlbnRcR1BCTWV0YWRhdGHqAhBGbHl0ZWlkbDI6OkV2ZW50YgZwcm90bzM", [file_flyteidl2_core_catalog, file_flyteidl2_core_execution, file_flyteidl2_core_identifier, file_flyteidl2_core_literals, file_google_protobuf_struct, file_google_protobuf_timestamp]);
24
+
25
+ /**
26
+ * @generated from message flyteidl2.event.WorkflowExecutionEvent
27
+ */
28
+ export type WorkflowExecutionEvent = Message<"flyteidl2.event.WorkflowExecutionEvent"> & {
29
+ /**
30
+ * Workflow execution id
31
+ *
32
+ * @generated from field: flyteidl2.core.WorkflowExecutionIdentifier execution_id = 1;
33
+ */
34
+ executionId?: WorkflowExecutionIdentifier;
35
+
36
+ /**
37
+ * the id of the originator (Propeller) of the event
38
+ *
39
+ * @generated from field: string producer_id = 2;
40
+ */
41
+ producerId: string;
42
+
43
+ /**
44
+ * @generated from field: flyteidl2.core.WorkflowExecution.Phase phase = 3;
45
+ */
46
+ phase: WorkflowExecution_Phase;
47
+
48
+ /**
49
+ * This timestamp represents when the original event occurred, it is generated
50
+ * by the executor of the workflow.
51
+ *
52
+ * @generated from field: google.protobuf.Timestamp occurred_at = 4;
53
+ */
54
+ occurredAt?: Timestamp;
55
+
56
+ /**
57
+ * @generated from oneof flyteidl2.event.WorkflowExecutionEvent.output_result
58
+ */
59
+ outputResult: {
60
+ /**
61
+ * URL to the output of the execution, it encodes all the information
62
+ * including Cloud source provider. ie., s3://...
63
+ *
64
+ * @generated from field: string output_uri = 5;
65
+ */
66
+ value: string;
67
+ case: "outputUri";
68
+ } | {
69
+ /**
70
+ * Error information for the execution
71
+ *
72
+ * @generated from field: flyteidl2.core.ExecutionError error = 6;
73
+ */
74
+ value: ExecutionError;
75
+ case: "error";
76
+ } | {
77
+ /**
78
+ * Raw output data produced by this workflow execution.
79
+ *
80
+ * @generated from field: flyteidl2.core.LiteralMap output_data = 7;
81
+ */
82
+ value: LiteralMap;
83
+ case: "outputData";
84
+ } | { case: undefined; value?: undefined };
85
+ };
86
+
87
+ /**
88
+ * Describes the message flyteidl2.event.WorkflowExecutionEvent.
89
+ * Use `create(WorkflowExecutionEventSchema)` to create a new message.
90
+ */
91
+ export const WorkflowExecutionEventSchema: GenMessage<WorkflowExecutionEvent> = /*@__PURE__*/
92
+ messageDesc(file_flyteidl2_event_event, 0);
93
+
94
+ /**
95
+ * @generated from message flyteidl2.event.NodeExecutionEvent
96
+ */
97
+ export type NodeExecutionEvent = Message<"flyteidl2.event.NodeExecutionEvent"> & {
98
+ /**
99
+ * Unique identifier for this node execution
100
+ *
101
+ * @generated from field: flyteidl2.core.NodeExecutionIdentifier id = 1;
102
+ */
103
+ id?: NodeExecutionIdentifier;
104
+
105
+ /**
106
+ * the id of the originator (Propeller) of the event
107
+ *
108
+ * @generated from field: string producer_id = 2;
109
+ */
110
+ producerId: string;
111
+
112
+ /**
113
+ * @generated from field: flyteidl2.core.NodeExecution.Phase phase = 3;
114
+ */
115
+ phase: NodeExecution_Phase;
116
+
117
+ /**
118
+ * This timestamp represents when the original event occurred, it is generated
119
+ * by the executor of the node.
120
+ *
121
+ * @generated from field: google.protobuf.Timestamp occurred_at = 4;
122
+ */
123
+ occurredAt?: Timestamp;
124
+
125
+ /**
126
+ * @generated from oneof flyteidl2.event.NodeExecutionEvent.input_value
127
+ */
128
+ inputValue: {
129
+ /**
130
+ * @generated from field: string input_uri = 5;
131
+ */
132
+ value: string;
133
+ case: "inputUri";
134
+ } | {
135
+ /**
136
+ * Raw input data consumed by this node execution.
137
+ *
138
+ * @generated from field: flyteidl2.core.LiteralMap input_data = 20;
139
+ */
140
+ value: LiteralMap;
141
+ case: "inputData";
142
+ } | { case: undefined; value?: undefined };
143
+
144
+ /**
145
+ * @generated from oneof flyteidl2.event.NodeExecutionEvent.output_result
146
+ */
147
+ outputResult: {
148
+ /**
149
+ * URL to the output of the execution, it encodes all the information
150
+ * including Cloud source provider. ie., s3://...
151
+ *
152
+ * @generated from field: string output_uri = 6;
153
+ */
154
+ value: string;
155
+ case: "outputUri";
156
+ } | {
157
+ /**
158
+ * Error information for the execution
159
+ *
160
+ * @generated from field: flyteidl2.core.ExecutionError error = 7;
161
+ */
162
+ value: ExecutionError;
163
+ case: "error";
164
+ } | {
165
+ /**
166
+ * Raw output data produced by this node execution.
167
+ *
168
+ * @generated from field: flyteidl2.core.LiteralMap output_data = 15;
169
+ */
170
+ value: LiteralMap;
171
+ case: "outputData";
172
+ } | { case: undefined; value?: undefined };
173
+
174
+ /**
175
+ * Additional metadata to do with this event's node target based
176
+ * on the node type
177
+ *
178
+ * @generated from oneof flyteidl2.event.NodeExecutionEvent.target_metadata
179
+ */
180
+ targetMetadata: {
181
+ /**
182
+ * @generated from field: flyteidl2.event.WorkflowNodeMetadata workflow_node_metadata = 8;
183
+ */
184
+ value: WorkflowNodeMetadata;
185
+ case: "workflowNodeMetadata";
186
+ } | {
187
+ /**
188
+ * @generated from field: flyteidl2.event.TaskNodeMetadata task_node_metadata = 14;
189
+ */
190
+ value: TaskNodeMetadata;
191
+ case: "taskNodeMetadata";
192
+ } | { case: undefined; value?: undefined };
193
+
194
+ /**
195
+ * [To be deprecated] Specifies which task (if any) launched this node.
196
+ *
197
+ * @generated from field: flyteidl2.event.ParentTaskExecutionMetadata parent_task_metadata = 9;
198
+ */
199
+ parentTaskMetadata?: ParentTaskExecutionMetadata;
200
+
201
+ /**
202
+ * Specifies the parent node of the current node execution. Node executions at level zero will not have a parent node.
203
+ *
204
+ * @generated from field: flyteidl2.event.ParentNodeExecutionMetadata parent_node_metadata = 10;
205
+ */
206
+ parentNodeMetadata?: ParentNodeExecutionMetadata;
207
+
208
+ /**
209
+ * Retry group to indicate grouping of nodes by retries
210
+ *
211
+ * @generated from field: string retry_group = 11;
212
+ */
213
+ retryGroup: string;
214
+
215
+ /**
216
+ * Identifier of the node in the original workflow/graph
217
+ * This maps to value of WorkflowTemplate.nodes[X].id
218
+ *
219
+ * @generated from field: string spec_node_id = 12;
220
+ */
221
+ specNodeId: string;
222
+
223
+ /**
224
+ * Friendly readable name for the node
225
+ *
226
+ * @generated from field: string node_name = 13;
227
+ */
228
+ nodeName: string;
229
+
230
+ /**
231
+ * @generated from field: int32 event_version = 16;
232
+ */
233
+ eventVersion: number;
234
+
235
+ /**
236
+ * Whether this node launched a subworkflow.
237
+ *
238
+ * @generated from field: bool is_parent = 17;
239
+ */
240
+ isParent: boolean;
241
+
242
+ /**
243
+ * Whether this node yielded a dynamic workflow.
244
+ *
245
+ * @generated from field: bool is_dynamic = 18;
246
+ */
247
+ isDynamic: boolean;
248
+
249
+ /**
250
+ * String location uniquely identifying where the deck HTML file is
251
+ * NativeUrl specifies the url in the format of the configured storage provider (e.g. s3://my-bucket/randomstring/suffix.tar)
252
+ *
253
+ * @generated from field: string deck_uri = 19;
254
+ */
255
+ deckUri: string;
256
+
257
+ /**
258
+ * This timestamp represents the instant when the event was reported by the executing framework. For example,
259
+ * when first processing a node the `occurred_at` timestamp should be the instant propeller makes progress, so when
260
+ * literal inputs are initially copied. The event however will not be sent until after the copy completes.
261
+ * Extracting both of these timestamps facilitates a more accurate portrayal of the evaluation time-series.
262
+ *
263
+ * @generated from field: google.protobuf.Timestamp reported_at = 21;
264
+ */
265
+ reportedAt?: Timestamp;
266
+
267
+ /**
268
+ * Indicates if this node is an ArrayNode.
269
+ *
270
+ * @generated from field: bool is_array = 22;
271
+ */
272
+ isArray: boolean;
273
+
274
+ /**
275
+ * So that Admin doesn't have to rebuild the node execution graph to find the target entity, propeller will fill this
276
+ * in optionally - currently this is only filled in for subworkflows. This is the ID of the subworkflow corresponding
277
+ * to this node execution. It is difficult to find because Admin only sees one node at a time. A subworkflow could be
278
+ * nested multiple layers deep, and you'd need to access the correct workflow template to know the target subworkflow.
279
+ *
280
+ * @generated from field: flyteidl2.core.Identifier target_entity = 23;
281
+ */
282
+ targetEntity?: Identifier;
283
+
284
+ /**
285
+ * Tasks and subworkflows (but not launch plans) that are run within a dynamic task are effectively independent of
286
+ * the tasks that are registered in Admin's db. Confusingly, they are often identical, but sometimes they are not
287
+ * even registered at all. Similar to the target_entity field, at the time Admin receives this event, it has no idea
288
+ * if the relevant execution entity is was registered, or dynamic. This field indicates that the target_entity ID,
289
+ * as well as task IDs in any corresponding Task Executions, should not be used to looked up the task in Admin's db.
290
+ *
291
+ * @generated from field: bool is_in_dynamic_chain = 24;
292
+ */
293
+ isInDynamicChain: boolean;
294
+
295
+ /**
296
+ * Whether this node launched an eager task.
297
+ *
298
+ * @generated from field: bool is_eager = 25;
299
+ */
300
+ isEager: boolean;
301
+ };
302
+
303
+ /**
304
+ * Describes the message flyteidl2.event.NodeExecutionEvent.
305
+ * Use `create(NodeExecutionEventSchema)` to create a new message.
306
+ */
307
+ export const NodeExecutionEventSchema: GenMessage<NodeExecutionEvent> = /*@__PURE__*/
308
+ messageDesc(file_flyteidl2_event_event, 1);
309
+
310
+ /**
311
+ * For Workflow Nodes we need to send information about the workflow that's launched
312
+ *
313
+ * @generated from message flyteidl2.event.WorkflowNodeMetadata
314
+ */
315
+ export type WorkflowNodeMetadata = Message<"flyteidl2.event.WorkflowNodeMetadata"> & {
316
+ /**
317
+ * @generated from field: flyteidl2.core.WorkflowExecutionIdentifier execution_id = 1;
318
+ */
319
+ executionId?: WorkflowExecutionIdentifier;
320
+ };
321
+
322
+ /**
323
+ * Describes the message flyteidl2.event.WorkflowNodeMetadata.
324
+ * Use `create(WorkflowNodeMetadataSchema)` to create a new message.
325
+ */
326
+ export const WorkflowNodeMetadataSchema: GenMessage<WorkflowNodeMetadata> = /*@__PURE__*/
327
+ messageDesc(file_flyteidl2_event_event, 2);
328
+
329
+ /**
330
+ * @generated from message flyteidl2.event.TaskNodeMetadata
331
+ */
332
+ export type TaskNodeMetadata = Message<"flyteidl2.event.TaskNodeMetadata"> & {
333
+ /**
334
+ * Captures the status of caching for this execution.
335
+ *
336
+ * @generated from field: flyteidl2.core.CatalogCacheStatus cache_status = 1;
337
+ */
338
+ cacheStatus: CatalogCacheStatus;
339
+
340
+ /**
341
+ * This structure carries the catalog artifact information
342
+ *
343
+ * @generated from field: flyteidl2.core.CatalogMetadata catalog_key = 2;
344
+ */
345
+ catalogKey?: CatalogMetadata;
346
+
347
+ /**
348
+ * Captures the status of cache reservations for this execution.
349
+ *
350
+ * @generated from field: flyteidl2.core.CatalogReservation.Status reservation_status = 3;
351
+ */
352
+ reservationStatus: CatalogReservation_Status;
353
+
354
+ /**
355
+ * The latest checkpoint location
356
+ *
357
+ * @generated from field: string checkpoint_uri = 4;
358
+ */
359
+ checkpointUri: string;
360
+ };
361
+
362
+ /**
363
+ * Describes the message flyteidl2.event.TaskNodeMetadata.
364
+ * Use `create(TaskNodeMetadataSchema)` to create a new message.
365
+ */
366
+ export const TaskNodeMetadataSchema: GenMessage<TaskNodeMetadata> = /*@__PURE__*/
367
+ messageDesc(file_flyteidl2_event_event, 3);
368
+
369
+ /**
370
+ * @generated from message flyteidl2.event.ParentTaskExecutionMetadata
371
+ */
372
+ export type ParentTaskExecutionMetadata = Message<"flyteidl2.event.ParentTaskExecutionMetadata"> & {
373
+ /**
374
+ * @generated from field: flyteidl2.core.TaskExecutionIdentifier id = 1;
375
+ */
376
+ id?: TaskExecutionIdentifier;
377
+ };
378
+
379
+ /**
380
+ * Describes the message flyteidl2.event.ParentTaskExecutionMetadata.
381
+ * Use `create(ParentTaskExecutionMetadataSchema)` to create a new message.
382
+ */
383
+ export const ParentTaskExecutionMetadataSchema: GenMessage<ParentTaskExecutionMetadata> = /*@__PURE__*/
384
+ messageDesc(file_flyteidl2_event_event, 4);
385
+
386
+ /**
387
+ * @generated from message flyteidl2.event.ParentNodeExecutionMetadata
388
+ */
389
+ export type ParentNodeExecutionMetadata = Message<"flyteidl2.event.ParentNodeExecutionMetadata"> & {
390
+ /**
391
+ * Unique identifier of the parent node id within the execution
392
+ * This is value of core.NodeExecutionIdentifier.node_id of the parent node
393
+ *
394
+ * @generated from field: string node_id = 1;
395
+ */
396
+ nodeId: string;
397
+ };
398
+
399
+ /**
400
+ * Describes the message flyteidl2.event.ParentNodeExecutionMetadata.
401
+ * Use `create(ParentNodeExecutionMetadataSchema)` to create a new message.
402
+ */
403
+ export const ParentNodeExecutionMetadataSchema: GenMessage<ParentNodeExecutionMetadata> = /*@__PURE__*/
404
+ messageDesc(file_flyteidl2_event_event, 5);
405
+
406
+ /**
407
+ * @generated from message flyteidl2.event.EventReason
408
+ */
409
+ export type EventReason = Message<"flyteidl2.event.EventReason"> & {
410
+ /**
411
+ * An explanation for this event
412
+ *
413
+ * @generated from field: string reason = 1;
414
+ */
415
+ reason: string;
416
+
417
+ /**
418
+ * The time this reason occurred
419
+ *
420
+ * @generated from field: google.protobuf.Timestamp occurred_at = 2;
421
+ */
422
+ occurredAt?: Timestamp;
423
+ };
424
+
425
+ /**
426
+ * Describes the message flyteidl2.event.EventReason.
427
+ * Use `create(EventReasonSchema)` to create a new message.
428
+ */
429
+ export const EventReasonSchema: GenMessage<EventReason> = /*@__PURE__*/
430
+ messageDesc(file_flyteidl2_event_event, 6);
431
+
432
+ /**
433
+ * Plugin specific execution event information. For tasks like Python, Hive, Spark, DynamicJob.
434
+ *
435
+ * @generated from message flyteidl2.event.TaskExecutionEvent
436
+ */
437
+ export type TaskExecutionEvent = Message<"flyteidl2.event.TaskExecutionEvent"> & {
438
+ /**
439
+ * ID of the task. In combination with the retryAttempt this will indicate
440
+ * the task execution uniquely for a given parent node execution.
441
+ *
442
+ * @generated from field: flyteidl2.core.Identifier task_id = 1;
443
+ */
444
+ taskId?: Identifier;
445
+
446
+ /**
447
+ * A task execution is always kicked off by a node execution, the event consumer
448
+ * will use the parent_id to relate the task to it's parent node execution
449
+ *
450
+ * @generated from field: flyteidl2.core.NodeExecutionIdentifier parent_node_execution_id = 2;
451
+ */
452
+ parentNodeExecutionId?: NodeExecutionIdentifier;
453
+
454
+ /**
455
+ * retry attempt number for this task, ie., 2 for the second attempt
456
+ *
457
+ * @generated from field: uint32 retry_attempt = 3;
458
+ */
459
+ retryAttempt: number;
460
+
461
+ /**
462
+ * Phase associated with the event
463
+ *
464
+ * @generated from field: flyteidl2.core.TaskExecution.Phase phase = 4;
465
+ */
466
+ phase: TaskExecution_Phase;
467
+
468
+ /**
469
+ * id of the process that sent this event, mainly for trace debugging
470
+ *
471
+ * @generated from field: string producer_id = 5;
472
+ */
473
+ producerId: string;
474
+
475
+ /**
476
+ * log information for the task execution
477
+ *
478
+ * @generated from field: repeated flyteidl2.core.TaskLog logs = 6;
479
+ */
480
+ logs: TaskLog[];
481
+
482
+ /**
483
+ * This timestamp represents when the original event occurred, it is generated
484
+ * by the executor of the task.
485
+ *
486
+ * @generated from field: google.protobuf.Timestamp occurred_at = 7;
487
+ */
488
+ occurredAt?: Timestamp;
489
+
490
+ /**
491
+ * @generated from oneof flyteidl2.event.TaskExecutionEvent.input_value
492
+ */
493
+ inputValue: {
494
+ /**
495
+ * URI of the input file, it encodes all the information
496
+ * including Cloud source provider. ie., s3://...
497
+ *
498
+ * @generated from field: string input_uri = 8;
499
+ */
500
+ value: string;
501
+ case: "inputUri";
502
+ } | {
503
+ /**
504
+ * Raw input data consumed by this task execution.
505
+ *
506
+ * @generated from field: flyteidl2.core.LiteralMap input_data = 19;
507
+ */
508
+ value: LiteralMap;
509
+ case: "inputData";
510
+ } | { case: undefined; value?: undefined };
511
+
512
+ /**
513
+ * @generated from oneof flyteidl2.event.TaskExecutionEvent.output_result
514
+ */
515
+ outputResult: {
516
+ /**
517
+ * URI to the output of the execution, it will be in a format that encodes all the information
518
+ * including Cloud source provider. ie., s3://...
519
+ *
520
+ * @generated from field: string output_uri = 9;
521
+ */
522
+ value: string;
523
+ case: "outputUri";
524
+ } | {
525
+ /**
526
+ * Error information for the execution
527
+ *
528
+ * @generated from field: flyteidl2.core.ExecutionError error = 10;
529
+ */
530
+ value: ExecutionError;
531
+ case: "error";
532
+ } | {
533
+ /**
534
+ * Raw output data produced by this task execution.
535
+ *
536
+ * @generated from field: flyteidl2.core.LiteralMap output_data = 17;
537
+ */
538
+ value: LiteralMap;
539
+ case: "outputData";
540
+ } | { case: undefined; value?: undefined };
541
+
542
+ /**
543
+ * Custom data that the task plugin sends back. This is extensible to allow various plugins in the system.
544
+ *
545
+ * @generated from field: google.protobuf.Struct custom_info = 11;
546
+ */
547
+ customInfo?: JsonObject;
548
+
549
+ /**
550
+ * Some phases, like RUNNING, can send multiple events with changed metadata (new logs, additional custom_info, etc)
551
+ * that should be recorded regardless of the lack of phase change.
552
+ * The version field should be incremented when metadata changes across the duration of an individual phase.
553
+ *
554
+ * @generated from field: uint32 phase_version = 12;
555
+ */
556
+ phaseVersion: number;
557
+
558
+ /**
559
+ * An optional explanation for the phase transition.
560
+ * Deprecated: Use reasons instead.
561
+ *
562
+ * @generated from field: string reason = 13 [deprecated = true];
563
+ * @deprecated
564
+ */
565
+ reason: string;
566
+
567
+ /**
568
+ * An optional list of explanations for the phase transition.
569
+ *
570
+ * @generated from field: repeated flyteidl2.event.EventReason reasons = 21;
571
+ */
572
+ reasons: EventReason[];
573
+
574
+ /**
575
+ * A predefined yet extensible Task type identifier. If the task definition is already registered in flyte admin
576
+ * this type will be identical, but not all task executions necessarily use pre-registered definitions and this
577
+ * type is useful to render the task in the UI, filter task executions, etc.
578
+ *
579
+ * @generated from field: string task_type = 14;
580
+ */
581
+ taskType: string;
582
+
583
+ /**
584
+ * Metadata around how a task was executed.
585
+ *
586
+ * @generated from field: flyteidl2.event.TaskExecutionMetadata metadata = 16;
587
+ */
588
+ metadata?: TaskExecutionMetadata;
589
+
590
+ /**
591
+ * The event version is used to indicate versioned changes in how data is reported using this
592
+ * proto message. For example, event_verison > 0 means that maps tasks report logs using the
593
+ * TaskExecutionMetadata ExternalResourceInfo fields for each subtask rather than the TaskLog
594
+ * in this message.
595
+ *
596
+ * @generated from field: int32 event_version = 18;
597
+ */
598
+ eventVersion: number;
599
+
600
+ /**
601
+ * This timestamp represents the instant when the event was reported by the executing framework. For example, a k8s
602
+ * pod task may be marked completed at (ie. `occurred_at`) the instant the container running user code completes,
603
+ * but this event will not be reported until the pod is marked as completed. Extracting both of these timestamps
604
+ * facilitates a more accurate portrayal of the evaluation time-series.
605
+ *
606
+ * @generated from field: google.protobuf.Timestamp reported_at = 20;
607
+ */
608
+ reportedAt?: Timestamp;
609
+
610
+ /**
611
+ * Contains metadata required to identify logs related to this task execution
612
+ *
613
+ * @generated from field: flyteidl2.core.LogContext log_context = 22;
614
+ */
615
+ logContext?: LogContext;
616
+ };
617
+
618
+ /**
619
+ * Describes the message flyteidl2.event.TaskExecutionEvent.
620
+ * Use `create(TaskExecutionEventSchema)` to create a new message.
621
+ */
622
+ export const TaskExecutionEventSchema: GenMessage<TaskExecutionEvent> = /*@__PURE__*/
623
+ messageDesc(file_flyteidl2_event_event, 7);
624
+
625
+ /**
626
+ * This message contains metadata about external resources produced or used by a specific task execution.
627
+ *
628
+ * @generated from message flyteidl2.event.ExternalResourceInfo
629
+ */
630
+ export type ExternalResourceInfo = Message<"flyteidl2.event.ExternalResourceInfo"> & {
631
+ /**
632
+ * Identifier for an external resource created by this task execution, for example Qubole query ID or presto query ids.
633
+ *
634
+ * @generated from field: string external_id = 1;
635
+ */
636
+ externalId: string;
637
+
638
+ /**
639
+ * A unique index for the external resource with respect to all external resources for this task. Although the
640
+ * identifier may change between task reporting events or retries, this will remain the same to enable aggregating
641
+ * information from multiple reports.
642
+ *
643
+ * @generated from field: uint32 index = 2;
644
+ */
645
+ index: number;
646
+
647
+ /**
648
+ * Retry attempt number for this external resource, ie., 2 for the second attempt
649
+ *
650
+ * @generated from field: uint32 retry_attempt = 3;
651
+ */
652
+ retryAttempt: number;
653
+
654
+ /**
655
+ * Phase associated with the external resource
656
+ *
657
+ * @generated from field: flyteidl2.core.TaskExecution.Phase phase = 4;
658
+ */
659
+ phase: TaskExecution_Phase;
660
+
661
+ /**
662
+ * Captures the status of caching for this external resource execution.
663
+ *
664
+ * @generated from field: flyteidl2.core.CatalogCacheStatus cache_status = 5;
665
+ */
666
+ cacheStatus: CatalogCacheStatus;
667
+
668
+ /**
669
+ * log information for the external resource execution
670
+ *
671
+ * @generated from field: repeated flyteidl2.core.TaskLog logs = 6;
672
+ */
673
+ logs: TaskLog[];
674
+
675
+ /**
676
+ * Additional metadata to do with this event's node target based on the node type. We are
677
+ * explicitly not including the task_node_metadata here because it is not clear if it is needed.
678
+ * If we decide to include in the future, we should deprecate the cache_status field.
679
+ *
680
+ * @generated from oneof flyteidl2.event.ExternalResourceInfo.target_metadata
681
+ */
682
+ targetMetadata: {
683
+ /**
684
+ * @generated from field: flyteidl2.event.WorkflowNodeMetadata workflow_node_metadata = 7;
685
+ */
686
+ value: WorkflowNodeMetadata;
687
+ case: "workflowNodeMetadata";
688
+ } | { case: undefined; value?: undefined };
689
+
690
+ /**
691
+ * Extensible field for custom, plugin-specific info
692
+ *
693
+ * @generated from field: google.protobuf.Struct custom_info = 8;
694
+ */
695
+ customInfo?: JsonObject;
696
+
697
+ /**
698
+ * Contains metadata required to identify logs related to this task execution
699
+ *
700
+ * @generated from field: flyteidl2.core.LogContext log_context = 9;
701
+ */
702
+ logContext?: LogContext;
703
+ };
704
+
705
+ /**
706
+ * Describes the message flyteidl2.event.ExternalResourceInfo.
707
+ * Use `create(ExternalResourceInfoSchema)` to create a new message.
708
+ */
709
+ export const ExternalResourceInfoSchema: GenMessage<ExternalResourceInfo> = /*@__PURE__*/
710
+ messageDesc(file_flyteidl2_event_event, 8);
711
+
712
+ /**
713
+ * This message holds task execution metadata specific to resource allocation used to manage concurrent
714
+ * executions for a project namespace.
715
+ *
716
+ * @generated from message flyteidl2.event.ResourcePoolInfo
717
+ */
718
+ export type ResourcePoolInfo = Message<"flyteidl2.event.ResourcePoolInfo"> & {
719
+ /**
720
+ * Unique resource ID used to identify this execution when allocating a token.
721
+ *
722
+ * @generated from field: string allocation_token = 1;
723
+ */
724
+ allocationToken: string;
725
+
726
+ /**
727
+ * Namespace under which this task execution requested an allocation token.
728
+ *
729
+ * @generated from field: string namespace = 2;
730
+ */
731
+ namespace: string;
732
+ };
733
+
734
+ /**
735
+ * Describes the message flyteidl2.event.ResourcePoolInfo.
736
+ * Use `create(ResourcePoolInfoSchema)` to create a new message.
737
+ */
738
+ export const ResourcePoolInfoSchema: GenMessage<ResourcePoolInfo> = /*@__PURE__*/
739
+ messageDesc(file_flyteidl2_event_event, 9);
740
+
741
+ /**
742
+ * Holds metadata around how a task was executed.
743
+ * As a task transitions across event phases during execution some attributes, such its generated name, generated external resources,
744
+ * and more may grow in size but not change necessarily based on the phase transition that sparked the event update.
745
+ * Metadata is a container for these attributes across the task execution lifecycle.
746
+ *
747
+ * @generated from message flyteidl2.event.TaskExecutionMetadata
748
+ */
749
+ export type TaskExecutionMetadata = Message<"flyteidl2.event.TaskExecutionMetadata"> & {
750
+ /**
751
+ * Unique, generated name for this task execution used by the backend.
752
+ *
753
+ * @generated from field: string generated_name = 1;
754
+ */
755
+ generatedName: string;
756
+
757
+ /**
758
+ * Additional data on external resources on other back-ends or platforms (e.g. Hive, Qubole, etc) launched by this task execution.
759
+ *
760
+ * @generated from field: repeated flyteidl2.event.ExternalResourceInfo external_resources = 2;
761
+ */
762
+ externalResources: ExternalResourceInfo[];
763
+
764
+ /**
765
+ * Includes additional data on concurrent resource management used during execution..
766
+ * This is a repeated field because a plugin can request multiple resource allocations during execution.
767
+ *
768
+ * @generated from field: repeated flyteidl2.event.ResourcePoolInfo resource_pool_info = 3;
769
+ */
770
+ resourcePoolInfo: ResourcePoolInfo[];
771
+
772
+ /**
773
+ * The identifier of the plugin used to execute this task.
774
+ *
775
+ * @generated from field: string plugin_identifier = 4;
776
+ */
777
+ pluginIdentifier: string;
778
+
779
+ /**
780
+ * @generated from field: flyteidl2.event.TaskExecutionMetadata.InstanceClass instance_class = 16;
781
+ */
782
+ instanceClass: TaskExecutionMetadata_InstanceClass;
783
+ };
784
+
785
+ /**
786
+ * Describes the message flyteidl2.event.TaskExecutionMetadata.
787
+ * Use `create(TaskExecutionMetadataSchema)` to create a new message.
788
+ */
789
+ export const TaskExecutionMetadataSchema: GenMessage<TaskExecutionMetadata> = /*@__PURE__*/
790
+ messageDesc(file_flyteidl2_event_event, 10);
791
+
792
+ /**
793
+ * Includes the broad category of machine used for this specific task execution.
794
+ *
795
+ * @generated from enum flyteidl2.event.TaskExecutionMetadata.InstanceClass
796
+ */
797
+ export enum TaskExecutionMetadata_InstanceClass {
798
+ /**
799
+ * The default instance class configured for the flyte application platform.
800
+ *
801
+ * @generated from enum value: DEFAULT = 0;
802
+ */
803
+ DEFAULT = 0,
804
+
805
+ /**
806
+ * The instance class configured for interruptible tasks.
807
+ *
808
+ * @generated from enum value: INTERRUPTIBLE = 1;
809
+ */
810
+ INTERRUPTIBLE = 1,
811
+ }
812
+
813
+ /**
814
+ * Describes the enum flyteidl2.event.TaskExecutionMetadata.InstanceClass.
815
+ */
816
+ export const TaskExecutionMetadata_InstanceClassSchema: GenEnum<TaskExecutionMetadata_InstanceClass> = /*@__PURE__*/
817
+ enumDesc(file_flyteidl2_event_event, 10, 0);
818
+