@flyteorg/flyteidl2 2.0.16 → 2.0.47

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 (34) hide show
  1. package/flyteidl2/actions/actions_service_pb.ts +36 -74
  2. package/flyteidl2/app/app_definition_pb.ts +185 -24
  3. package/flyteidl2/app/app_logs_payload_pb.ts +18 -2
  4. package/flyteidl2/app/app_payload_pb.ts +90 -12
  5. package/flyteidl2/artifact/artifact_pb.ts +277 -0
  6. package/flyteidl2/artifact/artifact_service_pb.ts +378 -0
  7. package/flyteidl2/cluster/payload_pb.ts +44 -2
  8. package/flyteidl2/common/cache_pb.ts +37 -0
  9. package/flyteidl2/common/list_pb.ts +22 -2
  10. package/flyteidl2/common/phase_pb.ts +11 -1
  11. package/flyteidl2/common/run_pb.ts +89 -3
  12. package/flyteidl2/core/artifact_id_pb.ts +112 -11
  13. package/flyteidl2/core/execution_pb.ts +190 -15
  14. package/flyteidl2/core/literals_pb.ts +14 -1
  15. package/flyteidl2/core/tasks_pb.ts +170 -14
  16. package/flyteidl2/dataproxy/dataproxy_service_pb.ts +76 -5
  17. package/flyteidl2/imagebuilder/definition_pb.ts +22 -1
  18. package/flyteidl2/logs/dataplane/payload_pb.ts +66 -2
  19. package/flyteidl2/notification/definition_pb.ts +58 -7
  20. package/flyteidl2/plugins/clustered_pb.ts +232 -0
  21. package/flyteidl2/plugins/ray_pb.ts +104 -7
  22. package/flyteidl2/settings/settings_definition_pb.ts +52 -41
  23. package/flyteidl2/task/common_pb.ts +134 -6
  24. package/flyteidl2/task/run_pb.ts +157 -9
  25. package/flyteidl2/task/task_definition_pb.ts +25 -4
  26. package/flyteidl2/task/task_service_pb.ts +18 -2
  27. package/flyteidl2/trigger/trigger_definition_pb.ts +26 -5
  28. package/flyteidl2/workflow/internal_run_service_pb.ts +37 -1
  29. package/flyteidl2/workflow/run_definition_pb.ts +219 -16
  30. package/flyteidl2/workflow/run_info_pb.ts +30 -1
  31. package/flyteidl2/workflow/run_service_pb.ts +703 -12
  32. package/flyteidl2/workflow/tracked_run_service_pb.ts +368 -0
  33. package/flyteidl2/workflow/translator_service_pb.ts +43 -2
  34. package/package.json +2 -2
@@ -17,7 +17,7 @@ import type { Message } from "@bufbuild/protobuf";
17
17
  * Describes the file flyteidl2/app/app_payload.proto.
18
18
  */
19
19
  export const file_flyteidl2_app_app_payload: GenFile = /*@__PURE__*/
20
- fileDesc("Ch9mbHl0ZWlkbDIvYXBwL2FwcF9wYXlsb2FkLnByb3RvEg1mbHl0ZWlkbDIuYXBwIjgKDUNyZWF0ZVJlcXVlc3QSJwoDYXBwGAEgASgLMhIuZmx5dGVpZGwyLmFwcC5BcHBCBrpIA8gBASIxCg5DcmVhdGVSZXNwb25zZRIfCgNhcHAYASABKAsyEi5mbHl0ZWlkbDIuYXBwLkFwcCJ5CgpHZXRSZXF1ZXN0EisKBmFwcF9pZBgBIAEoCzIZLmZseXRlaWRsMi5hcHAuSWRlbnRpZmllckgAEikKB2luZ3Jlc3MYAiABKAsyFi5mbHl0ZWlkbDIuYXBwLkluZ3Jlc3NIAEITCgppZGVudGlmaWVyEgW6SAIIASIuCgtHZXRSZXNwb25zZRIfCgNhcHAYASABKAsyEi5mbHl0ZWlkbDIuYXBwLkFwcCJRCg1VcGRhdGVSZXF1ZXN0EicKA2FwcBgBIAEoCzISLmZseXRlaWRsMi5hcHAuQXBwQga6SAPIAQESFwoGcmVhc29uGAIgASgJQge6SARyAhhkIjEKDlVwZGF0ZVJlc3BvbnNlEh8KA2FwcBgBIAEoCzISLmZseXRlaWRsMi5hcHAuQXBwIkIKDURlbGV0ZVJlcXVlc3QSMQoGYXBwX2lkGAEgASgLMhkuZmx5dGVpZGwyLmFwcC5JZGVudGlmaWVyQga6SAPIAQEiEAoORGVsZXRlUmVzcG9uc2Ui3AEKC0xpc3RSZXF1ZXN0Ei4KB3JlcXVlc3QYASABKAsyHS5mbHl0ZWlkbDIuY29tbW9uLkxpc3RSZXF1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Vhc2VSZXNwb25zZRIgCgRhcHBzGAEgAygLMhIuZmx5dGVpZGwyLmFwcC5BcHBCrgEKEWNvbS5mbHl0ZWlkbDIuYXBwQg9BcHBQYXlsb2FkUHJvdG9IAlABWjFnaXRodWIuY29tL2ZseXRlb3JnL2ZseXRlL3YyL2dlbi9nby9mbHl0ZWlkbDIvYXBwogIDRkFYqgINRmx5dGVpZGwyLkFwcMoCDUZseXRlaWRsMlxBcHDiAhlGbHl0ZWlkbDJcQXBwXEdQQk1ldGFkYXRh6gIORmx5dGVpZGwyOjpBcHBiBnByb3RvMw", [file_buf_validate_validate, file_flyteidl2_app_app_definition, file_flyteidl2_common_identifier, file_flyteidl2_common_list]);
21
21
 
22
22
  /**
23
23
  * Request message for creating an app.
@@ -202,6 +202,49 @@ export type DeleteResponse = Message<"flyteidl2.app.DeleteResponse"> & {
202
202
  export const DeleteResponseSchema: GenMessage<DeleteResponse> = /*@__PURE__*/
203
203
  messageDesc(file_flyteidl2_app_app_payload, 7);
204
204
 
205
+ /**
206
+ * Filter for apps whose spec inputs reference the given artifact.
207
+ * The artifact org is taken from the caller's organization.
208
+ *
209
+ * @generated from message flyteidl2.app.ConsumedArtifactFilter
210
+ */
211
+ export type ConsumedArtifactFilter = Message<"flyteidl2.app.ConsumedArtifactFilter"> & {
212
+ /**
213
+ * Project of the artifact.
214
+ *
215
+ * @generated from field: string project = 1;
216
+ */
217
+ project: string;
218
+
219
+ /**
220
+ * Domain of the artifact.
221
+ *
222
+ * @generated from field: string domain = 2;
223
+ */
224
+ domain: string;
225
+
226
+ /**
227
+ * Name of the artifact.
228
+ *
229
+ * @generated from field: string name = 3;
230
+ */
231
+ name: string;
232
+
233
+ /**
234
+ * Exact artifact version. Empty matches any version.
235
+ *
236
+ * @generated from field: string version = 4;
237
+ */
238
+ version: string;
239
+ };
240
+
241
+ /**
242
+ * Describes the message flyteidl2.app.ConsumedArtifactFilter.
243
+ * Use `create(ConsumedArtifactFilterSchema)` to create a new message.
244
+ */
245
+ export const ConsumedArtifactFilterSchema: GenMessage<ConsumedArtifactFilter> = /*@__PURE__*/
246
+ messageDesc(file_flyteidl2_app_app_payload, 8);
247
+
205
248
  /**
206
249
  * Request message for listing apps.
207
250
  *
@@ -242,7 +285,34 @@ export type ListRequest = Message<"flyteidl2.app.ListRequest"> & {
242
285
  */
243
286
  value: ProjectIdentifier;
244
287
  case: "project";
288
+ } | {
289
+ /**
290
+ * Apps consuming the given artifact as an input.
291
+ *
292
+ * @generated from field: flyteidl2.app.ConsumedArtifactFilter artifact = 7;
293
+ */
294
+ value: ConsumedArtifactFilter;
295
+ case: "artifact";
245
296
  } | { case: undefined; value?: undefined };
297
+
298
+ /**
299
+ * Disable caller identity enrichment in the response.
300
+ *
301
+ * @generated from field: bool disable_identity_enrichment = 5;
302
+ */
303
+ disableIdentityEnrichment: boolean;
304
+
305
+ /**
306
+ * Include the total number of apps matching the request's filters in the response.
307
+ * May be set on any request, including any page of a paginated listing. The count
308
+ * reflects state at the time the request is served and may change between pages, so
309
+ * a client that needs an up-to-date total can request it again on a later page.
310
+ * This performs an additional count query, so leave it unset when the total is not
311
+ * needed.
312
+ *
313
+ * @generated from field: bool include_total_count = 6;
314
+ */
315
+ includeTotalCount: boolean;
246
316
  };
247
317
 
248
318
  /**
@@ -250,7 +320,7 @@ export type ListRequest = Message<"flyteidl2.app.ListRequest"> & {
250
320
  * Use `create(ListRequestSchema)` to create a new message.
251
321
  */
252
322
  export const ListRequestSchema: GenMessage<ListRequest> = /*@__PURE__*/
253
- messageDesc(file_flyteidl2_app_app_payload, 8);
323
+ messageDesc(file_flyteidl2_app_app_payload, 9);
254
324
 
255
325
  /**
256
326
  * Response message for listing apps.
@@ -271,6 +341,14 @@ export type ListResponse = Message<"flyteidl2.app.ListResponse"> & {
271
341
  * @generated from field: string token = 2;
272
342
  */
273
343
  token: string;
344
+
345
+ /**
346
+ * Total number of apps matching the request's filters, ignoring pagination.
347
+ * Only populated when include_total_count is set on the request.
348
+ *
349
+ * @generated from field: int64 total_count = 3;
350
+ */
351
+ totalCount: bigint;
274
352
  };
275
353
 
276
354
  /**
@@ -278,7 +356,7 @@ export type ListResponse = Message<"flyteidl2.app.ListResponse"> & {
278
356
  * Use `create(ListResponseSchema)` to create a new message.
279
357
  */
280
358
  export const ListResponseSchema: GenMessage<ListResponse> = /*@__PURE__*/
281
- messageDesc(file_flyteidl2_app_app_payload, 9);
359
+ messageDesc(file_flyteidl2_app_app_payload, 10);
282
360
 
283
361
  /**
284
362
  * Request message for watching app events.
@@ -329,7 +407,7 @@ export type WatchRequest = Message<"flyteidl2.app.WatchRequest"> & {
329
407
  * Use `create(WatchRequestSchema)` to create a new message.
330
408
  */
331
409
  export const WatchRequestSchema: GenMessage<WatchRequest> = /*@__PURE__*/
332
- messageDesc(file_flyteidl2_app_app_payload, 10);
410
+ messageDesc(file_flyteidl2_app_app_payload, 11);
333
411
 
334
412
  /**
335
413
  * Event message for app creation.
@@ -350,7 +428,7 @@ export type CreateEvent = Message<"flyteidl2.app.CreateEvent"> & {
350
428
  * Use `create(CreateEventSchema)` to create a new message.
351
429
  */
352
430
  export const CreateEventSchema: GenMessage<CreateEvent> = /*@__PURE__*/
353
- messageDesc(file_flyteidl2_app_app_payload, 11);
431
+ messageDesc(file_flyteidl2_app_app_payload, 12);
354
432
 
355
433
  /**
356
434
  * Event message for app update.
@@ -378,7 +456,7 @@ export type UpdateEvent = Message<"flyteidl2.app.UpdateEvent"> & {
378
456
  * Use `create(UpdateEventSchema)` to create a new message.
379
457
  */
380
458
  export const UpdateEventSchema: GenMessage<UpdateEvent> = /*@__PURE__*/
381
- messageDesc(file_flyteidl2_app_app_payload, 12);
459
+ messageDesc(file_flyteidl2_app_app_payload, 13);
382
460
 
383
461
  /**
384
462
  * Event message for app deletion.
@@ -399,7 +477,7 @@ export type DeleteEvent = Message<"flyteidl2.app.DeleteEvent"> & {
399
477
  * Use `create(DeleteEventSchema)` to create a new message.
400
478
  */
401
479
  export const DeleteEventSchema: GenMessage<DeleteEvent> = /*@__PURE__*/
402
- messageDesc(file_flyteidl2_app_app_payload, 13);
480
+ messageDesc(file_flyteidl2_app_app_payload, 14);
403
481
 
404
482
  /**
405
483
  * Response message for watching app events.
@@ -442,7 +520,7 @@ export type WatchResponse = Message<"flyteidl2.app.WatchResponse"> & {
442
520
  * Use `create(WatchResponseSchema)` to create a new message.
443
521
  */
444
522
  export const WatchResponseSchema: GenMessage<WatchResponse> = /*@__PURE__*/
445
- messageDesc(file_flyteidl2_app_app_payload, 14);
523
+ messageDesc(file_flyteidl2_app_app_payload, 15);
446
524
 
447
525
  /**
448
526
  * Request message for updating app status.
@@ -463,7 +541,7 @@ export type UpdateStatusRequest = Message<"flyteidl2.app.UpdateStatusRequest"> &
463
541
  * Use `create(UpdateStatusRequestSchema)` to create a new message.
464
542
  */
465
543
  export const UpdateStatusRequestSchema: GenMessage<UpdateStatusRequest> = /*@__PURE__*/
466
- messageDesc(file_flyteidl2_app_app_payload, 15);
544
+ messageDesc(file_flyteidl2_app_app_payload, 16);
467
545
 
468
546
  /**
469
547
  * Response message for updating app status.
@@ -484,7 +562,7 @@ export type UpdateStatusResponse = Message<"flyteidl2.app.UpdateStatusResponse">
484
562
  * Use `create(UpdateStatusResponseSchema)` to create a new message.
485
563
  */
486
564
  export const UpdateStatusResponseSchema: GenMessage<UpdateStatusResponse> = /*@__PURE__*/
487
- messageDesc(file_flyteidl2_app_app_payload, 16);
565
+ messageDesc(file_flyteidl2_app_app_payload, 17);
488
566
 
489
567
  /**
490
568
  * Request message for leasing apps.
@@ -505,7 +583,7 @@ export type LeaseRequest = Message<"flyteidl2.app.LeaseRequest"> & {
505
583
  * Use `create(LeaseRequestSchema)` to create a new message.
506
584
  */
507
585
  export const LeaseRequestSchema: GenMessage<LeaseRequest> = /*@__PURE__*/
508
- messageDesc(file_flyteidl2_app_app_payload, 17);
586
+ messageDesc(file_flyteidl2_app_app_payload, 18);
509
587
 
510
588
  /**
511
589
  * Response message for leasing apps.
@@ -526,5 +604,5 @@ export type LeaseResponse = Message<"flyteidl2.app.LeaseResponse"> & {
526
604
  * Use `create(LeaseResponseSchema)` to create a new message.
527
605
  */
528
606
  export const LeaseResponseSchema: GenMessage<LeaseResponse> = /*@__PURE__*/
529
- messageDesc(file_flyteidl2_app_app_payload, 18);
607
+ messageDesc(file_flyteidl2_app_app_payload, 19);
530
608
 
@@ -0,0 +1,277 @@
1
+ // @generated by protoc-gen-es v2.2.5 with parameter "target=ts,import_extension=.ts"
2
+ // @generated from file flyteidl2/artifact/artifact.proto (package flyteidl2.artifact, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
6
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
7
+ import { file_buf_validate_validate } from "../../buf/validate/validate_pb.ts";
8
+ import type { ActionIdentifier } from "../common/identifier_pb.ts";
9
+ import { file_flyteidl2_common_identifier } from "../common/identifier_pb.ts";
10
+ import type { EnrichedIdentity } from "../common/identity_pb.ts";
11
+ import { file_flyteidl2_common_identity } from "../common/identity_pb.ts";
12
+ import type { ArtifactInfo, ArtifactVersionId } from "../core/artifact_id_pb.ts";
13
+ import { file_flyteidl2_core_artifact_id } from "../core/artifact_id_pb.ts";
14
+ import type { Literal } from "../core/literals_pb.ts";
15
+ import { file_flyteidl2_core_literals } from "../core/literals_pb.ts";
16
+ import type { LiteralType } from "../core/types_pb.ts";
17
+ import { file_flyteidl2_core_types } from "../core/types_pb.ts";
18
+ import type { Timestamp } from "@bufbuild/protobuf/wkt";
19
+ import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
20
+ import type { Message } from "@bufbuild/protobuf";
21
+
22
+ /**
23
+ * Describes the file flyteidl2/artifact/artifact.proto.
24
+ */
25
+ export const file_flyteidl2_artifact_artifact: GenFile = /*@__PURE__*/
26
+ fileDesc("CiFmbHl0ZWlkbDIvYXJ0aWZhY3QvYXJ0aWZhY3QucHJvdG8SEmZseXRlaWRs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VjGAIgASgLMiAuZmx5dGVpZGwyLmFydGlmYWN0LkFydGlmYWN0U3BlYxIuCgpjcmVhdGVkX2F0GAMgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBI2CgpjcmVhdGVkX2J5GAQgASgLMiIuZmx5dGVpZGwyLmNvbW1vbi5FbnJpY2hlZElkZW50aXR5QsoBChZjb20uZmx5dGVpZGwyLmFydGlmYWN0Qg1BcnRpZmFjdFByb3RvSAJQAVo2Z2l0aHViLmNvbS9mbHl0ZW9yZy9mbHl0ZS92Mi9nZW4vZ28vZmx5dGVpZGwyL2FydGlmYWN0ogIDRkFYqgISRmx5dGVpZGwyLkFydGlmYWN0ygISRmx5dGVpZGwyXEFydGlmYWN04gIeRmx5dGVpZGwyXEFydGlmYWN0XEdQQk1ldGFkYXRh6gITRmx5dGVpZGwyOjpBcnRpZmFjdGIGcHJvdG8z", [file_buf_validate_validate, file_flyteidl2_common_identifier, file_flyteidl2_common_identity, file_flyteidl2_core_artifact_id, file_flyteidl2_core_literals, file_flyteidl2_core_types, file_google_protobuf_timestamp]);
27
+
28
+ /**
29
+ * Identifies an artifact name within an org, project and domain.
30
+ *
31
+ * @generated from message flyteidl2.artifact.ArtifactName
32
+ */
33
+ export type ArtifactName = Message<"flyteidl2.artifact.ArtifactName"> & {
34
+ /**
35
+ * Org this artifact belongs to. Stamped by the server from the caller's
36
+ * identity; clients may leave this empty.
37
+ *
38
+ * @generated from field: string org = 1;
39
+ */
40
+ org: string;
41
+
42
+ /**
43
+ * Project this artifact belongs to.
44
+ *
45
+ * @generated from field: string project = 2;
46
+ */
47
+ project: string;
48
+
49
+ /**
50
+ * Domain this artifact belongs to.
51
+ *
52
+ * @generated from field: string domain = 3;
53
+ */
54
+ domain: string;
55
+
56
+ /**
57
+ * Unique name of the artifact within org/project/domain.
58
+ *
59
+ * @generated from field: string name = 4;
60
+ */
61
+ name: string;
62
+ };
63
+
64
+ /**
65
+ * Describes the message flyteidl2.artifact.ArtifactName.
66
+ * Use `create(ArtifactNameSchema)` to create a new message.
67
+ */
68
+ export const ArtifactNameSchema: GenMessage<ArtifactName> = /*@__PURE__*/
69
+ messageDesc(file_flyteidl2_artifact_artifact, 0);
70
+
71
+ /**
72
+ * Fully qualified identifier of a single artifact version.
73
+ *
74
+ * @generated from message flyteidl2.artifact.ArtifactIdentifier
75
+ */
76
+ export type ArtifactIdentifier = Message<"flyteidl2.artifact.ArtifactIdentifier"> & {
77
+ /**
78
+ * @generated from field: flyteidl2.artifact.ArtifactName name = 1;
79
+ */
80
+ name?: ArtifactName;
81
+
82
+ /**
83
+ * Version of the artifact.
84
+ *
85
+ * @generated from field: string version = 2;
86
+ */
87
+ version: string;
88
+ };
89
+
90
+ /**
91
+ * Describes the message flyteidl2.artifact.ArtifactIdentifier.
92
+ * Use `create(ArtifactIdentifierSchema)` to create a new message.
93
+ */
94
+ export const ArtifactIdentifierSchema: GenMessage<ArtifactIdentifier> = /*@__PURE__*/
95
+ messageDesc(file_flyteidl2_artifact_artifact, 1);
96
+
97
+ /**
98
+ * The task action attempt that produced an artifact. A dedicated message
99
+ * (rather than common.ActionAttemptIdentifier) because producing attempts are
100
+ * 0-based while that identifier validates attempt > 0.
101
+ *
102
+ * @generated from message flyteidl2.artifact.TaskActionSource
103
+ */
104
+ export type TaskActionSource = Message<"flyteidl2.artifact.TaskActionSource"> & {
105
+ /**
106
+ * @generated from field: flyteidl2.common.ActionIdentifier action = 1;
107
+ */
108
+ action?: ActionIdentifier;
109
+
110
+ /**
111
+ * Attempt of the producing action; retries are distinct provenance.
112
+ *
113
+ * @generated from field: uint32 attempt = 2;
114
+ */
115
+ attempt: number;
116
+ };
117
+
118
+ /**
119
+ * Describes the message flyteidl2.artifact.TaskActionSource.
120
+ * Use `create(TaskActionSourceSchema)` to create a new message.
121
+ */
122
+ export const TaskActionSourceSchema: GenMessage<TaskActionSource> = /*@__PURE__*/
123
+ messageDesc(file_flyteidl2_artifact_artifact, 2);
124
+
125
+ /**
126
+ * Provenance of an artifact: what produced it. An unset oneof means the
127
+ * artifact was created manually (e.g. published from a laptop) with no
128
+ * specific origin.
129
+ *
130
+ * @generated from message flyteidl2.artifact.ArtifactSource
131
+ */
132
+ export type ArtifactSource = Message<"flyteidl2.artifact.ArtifactSource"> & {
133
+ /**
134
+ * @generated from oneof flyteidl2.artifact.ArtifactSource.source
135
+ */
136
+ source: {
137
+ /**
138
+ * The task action that produced this artifact, for artifacts published
139
+ * from inside a running task or extracted by the backend from task
140
+ * outputs.
141
+ *
142
+ * @generated from field: flyteidl2.artifact.TaskActionSource task_action = 1;
143
+ */
144
+ value: TaskActionSource;
145
+ case: "taskAction";
146
+ } | {
147
+ /**
148
+ * Opaque reference into an external system (a URI, model id, dataset id,
149
+ * ticket, ...) for artifacts imported from outside Flyte.
150
+ *
151
+ * @generated from field: string external_ref = 2;
152
+ */
153
+ value: string;
154
+ case: "externalRef";
155
+ } | { case: undefined; value?: undefined };
156
+ };
157
+
158
+ /**
159
+ * Describes the message flyteidl2.artifact.ArtifactSource.
160
+ * Use `create(ArtifactSourceSchema)` to create a new message.
161
+ */
162
+ export const ArtifactSourceSchema: GenMessage<ArtifactSource> = /*@__PURE__*/
163
+ messageDesc(file_flyteidl2_artifact_artifact, 3);
164
+
165
+ /**
166
+ * User-provided specification of an artifact.
167
+ *
168
+ * @generated from message flyteidl2.artifact.ArtifactSpec
169
+ */
170
+ export type ArtifactSpec = Message<"flyteidl2.artifact.ArtifactSpec"> & {
171
+ /**
172
+ * The typed value of the artifact. Offloaded data (files, directories,
173
+ * dataframes) must already reside in blob storage; the literal references
174
+ * it by uri.
175
+ *
176
+ * @generated from field: flyteidl2.core.Literal value = 1;
177
+ */
178
+ value?: Literal;
179
+
180
+ /**
181
+ * The Flyte type of the value.
182
+ *
183
+ * @generated from field: flyteidl2.core.LiteralType type = 2;
184
+ */
185
+ type?: LiteralType;
186
+
187
+ /**
188
+ * Descriptive payload (description, user metadata, card). Shared with the
189
+ * production declaration (task.ProducedArtifact.info), so task-produced
190
+ * artifacts carry it verbatim.
191
+ *
192
+ * @generated from field: flyteidl2.core.ArtifactInfo info = 3;
193
+ */
194
+ info?: ArtifactInfo;
195
+
196
+ /**
197
+ * Optional provenance: what produced this artifact. Clients (including the
198
+ * SDK, which stamps this automatically when publishing from inside a
199
+ * running task) declare it at creation time; it is immutable afterwards.
200
+ *
201
+ * @generated from field: flyteidl2.artifact.ArtifactSource source = 6;
202
+ */
203
+ source?: ArtifactSource;
204
+
205
+ /**
206
+ * Optional lineage: the artifact version this one was derived from. Unset
207
+ * means no declared parent, which is the normal case for a first version or
208
+ * an independently produced one.
209
+ *
210
+ * The parent must live in this artifact's own org/project/domain; empty
211
+ * scope fields on the key inherit the artifact's own scope, and an empty
212
+ * key name inherits the artifact's own name — so a bare {version: "v1"}
213
+ * declares the previous version of this same artifact as parent. The name
214
+ * MAY differ, so lineage can express derivation across artifacts (a model
215
+ * deriving from a dataset version).
216
+ *
217
+ * Recording the parent explicitly is what makes version history a forest
218
+ * rather than a chain: a new version may branch off any earlier version, not
219
+ * just the most recently created one, so two versions derived from the same
220
+ * ancestor are siblings rather than one appearing to descend from the other.
221
+ *
222
+ * Stored as given and never resolved: the referenced version is not required
223
+ * to exist (publication order is not guaranteed), so readers walking lineage
224
+ * must tolerate a dangling parent. Immutable after creation.
225
+ *
226
+ * @generated from field: flyteidl2.core.ArtifactVersionId parent_artifact = 7;
227
+ */
228
+ parentArtifact?: ArtifactVersionId;
229
+ };
230
+
231
+ /**
232
+ * Describes the message flyteidl2.artifact.ArtifactSpec.
233
+ * Use `create(ArtifactSpecSchema)` to create a new message.
234
+ */
235
+ export const ArtifactSpecSchema: GenMessage<ArtifactSpec> = /*@__PURE__*/
236
+ messageDesc(file_flyteidl2_artifact_artifact, 4);
237
+
238
+ /**
239
+ * A fully materialized artifact as stored by the service.
240
+ *
241
+ * @generated from message flyteidl2.artifact.Artifact
242
+ */
243
+ export type Artifact = Message<"flyteidl2.artifact.Artifact"> & {
244
+ /**
245
+ * @generated from field: flyteidl2.artifact.ArtifactIdentifier artifact_id = 1;
246
+ */
247
+ artifactId?: ArtifactIdentifier;
248
+
249
+ /**
250
+ * @generated from field: flyteidl2.artifact.ArtifactSpec spec = 2;
251
+ */
252
+ spec?: ArtifactSpec;
253
+
254
+ /**
255
+ * Time at which the artifact was created.
256
+ *
257
+ * @generated from field: google.protobuf.Timestamp created_at = 3;
258
+ */
259
+ createdAt?: Timestamp;
260
+
261
+ /**
262
+ * Identity that created the artifact. Persisted subject-stripped; services
263
+ * re-enrich via the identity cache when serving (same convention as
264
+ * workflow.ActionMetadata.executed_by).
265
+ *
266
+ * @generated from field: flyteidl2.common.EnrichedIdentity created_by = 4;
267
+ */
268
+ createdBy?: EnrichedIdentity;
269
+ };
270
+
271
+ /**
272
+ * Describes the message flyteidl2.artifact.Artifact.
273
+ * Use `create(ArtifactSchema)` to create a new message.
274
+ */
275
+ export const ArtifactSchema: GenMessage<Artifact> = /*@__PURE__*/
276
+ messageDesc(file_flyteidl2_artifact_artifact, 5);
277
+