@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,400 @@
1
+ // @generated by protoc-gen-es v2.2.5 with parameter "target=ts,import_extension=.ts"
2
+ // @generated from file flyteidl2/core/artifact_id.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 { Timestamp } from "@bufbuild/protobuf/wkt";
8
+ import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
9
+ import type { Message } from "@bufbuild/protobuf";
10
+
11
+ /**
12
+ * Describes the file flyteidl2/core/artifact_id.proto.
13
+ */
14
+ export const file_flyteidl2_core_artifact_id: GenFile = /*@__PURE__*/
15
+ fileDesc("CiBmbHl0ZWlkbDIvY29yZS9hcnRpZmFjdF9pZC5wcm90bxIOZmx5dGVpZGwyLmNvcmUiSQoLQXJ0aWZhY3RLZXkSDwoHcHJvamVjdBgBIAEoCRIOCgZkb21haW4YAiABKAkSDAoEbmFtZRgDIAEoCRILCgNvcmcYBCABKAkinwEKE0FydGlmYWN0QmluZGluZ0RhdGESFwoNcGFydGl0aW9uX2tleRgFIAEoCUgAEiAKFmJpbmRfdG9fdGltZV9wYXJ0aXRpb24YBiABKAhIABI1Cg50aW1lX3RyYW5zZm9ybRgHIAEoCzIdLmZseXRlaWRsMi5jb3JlLlRpbWVUcmFuc2Zvcm1CEAoOcGFydGl0aW9uX2RhdG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GFydGl0aW9ucxI1Cg50aW1lX3BhcnRpdGlvbhgEIAEoCzIdLmZseXRlaWRsMi5jb3JlLlRpbWVQYXJ0aXRpb24iawoLQXJ0aWZhY3RUYWcSMQoMYXJ0aWZhY3Rfa2V5GAEgASgLMhsuZmx5dGVpZGwyLmNvcmUuQXJ0aWZhY3RLZXkSKQoFdmFsdWUYAiABKAsyGi5mbHl0ZWlkbDIuY29yZS5MYWJlbFZhbHVlIswBCg1BcnRpZmFjdFF1ZXJ5EjEKC2FydGlmYWN0X2lkGAEgASgLMhouZmx5dGVpZGwyLmNvcmUuQXJ0aWZhY3RJREgAEjMKDGFydGlmYWN0X3RhZxgCIAEoCzIbLmZseXRlaWRsMi5jb3JlLkFydGlmYWN0VGFnSAASDQoDdXJpGAMgASgJSAASNgoHYmluZGluZxgEIAEoCzIjLmZseXRlaWRsMi5jb3JlLkFydGlmYWN0QmluZGluZ0RhdGFIAEIMCgppZGVudGlmaWVyKkIKC0dyYW51bGFyaXR5EgkKBVVOU0VUEAASCgoGTUlOVVRFEAESCAoESE9VUhACEgcKA0RBWRADEgkKBU1PTlRIEAQqHwoIT3BlcmF0b3ISCQoFTUlOVVMQABIICgRQTFVTEAFCtAEKEmNvbS5mbHl0ZWlkbDIuY29yZUIPQXJ0aWZhY3RJZFByb3RvSAJQAVoyZ2l0aHViLmNvbS9mbHl0ZW9yZy9mbHl0ZS92Mi9nZW4vZ28vZmx5dGVpZGwyL2NvcmWiAgNGQ1iqAg5GbHl0ZWlkbDIuQ29yZcoCDkZseXRlaWRsMlxDb3Jl4gIaRmx5dGVpZGwyXENvcmVcR1BCTWV0YWRhdGHqAg9GbHl0ZWlkbDI6OkNvcmViBnByb3RvMw", [file_google_protobuf_timestamp]);
16
+
17
+ /**
18
+ * @generated from message flyteidl2.core.ArtifactKey
19
+ */
20
+ export type ArtifactKey = Message<"flyteidl2.core.ArtifactKey"> & {
21
+ /**
22
+ * Project and domain and suffix needs to be unique across a given artifact store.
23
+ *
24
+ * @generated from field: string project = 1;
25
+ */
26
+ project: string;
27
+
28
+ /**
29
+ * @generated from field: string domain = 2;
30
+ */
31
+ domain: string;
32
+
33
+ /**
34
+ * @generated from field: string name = 3;
35
+ */
36
+ name: string;
37
+
38
+ /**
39
+ * @generated from field: string org = 4;
40
+ */
41
+ org: string;
42
+ };
43
+
44
+ /**
45
+ * Describes the message flyteidl2.core.ArtifactKey.
46
+ * Use `create(ArtifactKeySchema)` to create a new message.
47
+ */
48
+ export const ArtifactKeySchema: GenMessage<ArtifactKey> = /*@__PURE__*/
49
+ messageDesc(file_flyteidl2_core_artifact_id, 0);
50
+
51
+ /**
52
+ * Only valid for triggers
53
+ *
54
+ * @generated from message flyteidl2.core.ArtifactBindingData
55
+ */
56
+ export type ArtifactBindingData = Message<"flyteidl2.core.ArtifactBindingData"> & {
57
+ /**
58
+ * These two fields are only relevant in the partition value case
59
+ *
60
+ * @generated from oneof flyteidl2.core.ArtifactBindingData.partition_data
61
+ */
62
+ partitionData: {
63
+ /**
64
+ * @generated from field: string partition_key = 5;
65
+ */
66
+ value: string;
67
+ case: "partitionKey";
68
+ } | {
69
+ /**
70
+ * @generated from field: bool bind_to_time_partition = 6;
71
+ */
72
+ value: boolean;
73
+ case: "bindToTimePartition";
74
+ } | { case: undefined; value?: undefined };
75
+
76
+ /**
77
+ * This is only relevant in the time partition case
78
+ *
79
+ * @generated from field: flyteidl2.core.TimeTransform time_transform = 7;
80
+ */
81
+ timeTransform?: TimeTransform;
82
+ };
83
+
84
+ /**
85
+ * Describes the message flyteidl2.core.ArtifactBindingData.
86
+ * Use `create(ArtifactBindingDataSchema)` to create a new message.
87
+ */
88
+ export const ArtifactBindingDataSchema: GenMessage<ArtifactBindingData> = /*@__PURE__*/
89
+ messageDesc(file_flyteidl2_core_artifact_id, 1);
90
+
91
+ /**
92
+ * @generated from message flyteidl2.core.TimeTransform
93
+ */
94
+ export type TimeTransform = Message<"flyteidl2.core.TimeTransform"> & {
95
+ /**
96
+ * @generated from field: string transform = 1;
97
+ */
98
+ transform: string;
99
+
100
+ /**
101
+ * @generated from field: flyteidl2.core.Operator op = 2;
102
+ */
103
+ op: Operator;
104
+ };
105
+
106
+ /**
107
+ * Describes the message flyteidl2.core.TimeTransform.
108
+ * Use `create(TimeTransformSchema)` to create a new message.
109
+ */
110
+ export const TimeTransformSchema: GenMessage<TimeTransform> = /*@__PURE__*/
111
+ messageDesc(file_flyteidl2_core_artifact_id, 2);
112
+
113
+ /**
114
+ * @generated from message flyteidl2.core.InputBindingData
115
+ */
116
+ export type InputBindingData = Message<"flyteidl2.core.InputBindingData"> & {
117
+ /**
118
+ * @generated from field: string var = 1;
119
+ */
120
+ var: string;
121
+ };
122
+
123
+ /**
124
+ * Describes the message flyteidl2.core.InputBindingData.
125
+ * Use `create(InputBindingDataSchema)` to create a new message.
126
+ */
127
+ export const InputBindingDataSchema: GenMessage<InputBindingData> = /*@__PURE__*/
128
+ messageDesc(file_flyteidl2_core_artifact_id, 3);
129
+
130
+ /**
131
+ * @generated from message flyteidl2.core.RuntimeBinding
132
+ */
133
+ export type RuntimeBinding = Message<"flyteidl2.core.RuntimeBinding"> & {
134
+ };
135
+
136
+ /**
137
+ * Describes the message flyteidl2.core.RuntimeBinding.
138
+ * Use `create(RuntimeBindingSchema)` to create a new message.
139
+ */
140
+ export const RuntimeBindingSchema: GenMessage<RuntimeBinding> = /*@__PURE__*/
141
+ messageDesc(file_flyteidl2_core_artifact_id, 4);
142
+
143
+ /**
144
+ * @generated from message flyteidl2.core.LabelValue
145
+ */
146
+ export type LabelValue = Message<"flyteidl2.core.LabelValue"> & {
147
+ /**
148
+ * @generated from oneof flyteidl2.core.LabelValue.value
149
+ */
150
+ value: {
151
+ /**
152
+ * The string static value is for use in the Partitions object
153
+ *
154
+ * @generated from field: string static_value = 1;
155
+ */
156
+ value: string;
157
+ case: "staticValue";
158
+ } | {
159
+ /**
160
+ * The time value is for use in the TimePartition case
161
+ *
162
+ * @generated from field: google.protobuf.Timestamp time_value = 2;
163
+ */
164
+ value: Timestamp;
165
+ case: "timeValue";
166
+ } | {
167
+ /**
168
+ * @generated from field: flyteidl2.core.ArtifactBindingData triggered_binding = 3;
169
+ */
170
+ value: ArtifactBindingData;
171
+ case: "triggeredBinding";
172
+ } | {
173
+ /**
174
+ * @generated from field: flyteidl2.core.InputBindingData input_binding = 4;
175
+ */
176
+ value: InputBindingData;
177
+ case: "inputBinding";
178
+ } | {
179
+ /**
180
+ * @generated from field: flyteidl2.core.RuntimeBinding runtime_binding = 5;
181
+ */
182
+ value: RuntimeBinding;
183
+ case: "runtimeBinding";
184
+ } | { case: undefined; value?: undefined };
185
+ };
186
+
187
+ /**
188
+ * Describes the message flyteidl2.core.LabelValue.
189
+ * Use `create(LabelValueSchema)` to create a new message.
190
+ */
191
+ export const LabelValueSchema: GenMessage<LabelValue> = /*@__PURE__*/
192
+ messageDesc(file_flyteidl2_core_artifact_id, 5);
193
+
194
+ /**
195
+ * @generated from message flyteidl2.core.Partitions
196
+ */
197
+ export type Partitions = Message<"flyteidl2.core.Partitions"> & {
198
+ /**
199
+ * @generated from field: map<string, flyteidl2.core.LabelValue> value = 1;
200
+ */
201
+ value: { [key: string]: LabelValue };
202
+ };
203
+
204
+ /**
205
+ * Describes the message flyteidl2.core.Partitions.
206
+ * Use `create(PartitionsSchema)` to create a new message.
207
+ */
208
+ export const PartitionsSchema: GenMessage<Partitions> = /*@__PURE__*/
209
+ messageDesc(file_flyteidl2_core_artifact_id, 6);
210
+
211
+ /**
212
+ * @generated from message flyteidl2.core.TimePartition
213
+ */
214
+ export type TimePartition = Message<"flyteidl2.core.TimePartition"> & {
215
+ /**
216
+ * @generated from field: flyteidl2.core.LabelValue value = 1;
217
+ */
218
+ value?: LabelValue;
219
+
220
+ /**
221
+ * @generated from field: flyteidl2.core.Granularity granularity = 2;
222
+ */
223
+ granularity: Granularity;
224
+ };
225
+
226
+ /**
227
+ * Describes the message flyteidl2.core.TimePartition.
228
+ * Use `create(TimePartitionSchema)` to create a new message.
229
+ */
230
+ export const TimePartitionSchema: GenMessage<TimePartition> = /*@__PURE__*/
231
+ messageDesc(file_flyteidl2_core_artifact_id, 7);
232
+
233
+ /**
234
+ * @generated from message flyteidl2.core.ArtifactID
235
+ */
236
+ export type ArtifactID = Message<"flyteidl2.core.ArtifactID"> & {
237
+ /**
238
+ * @generated from field: flyteidl2.core.ArtifactKey artifact_key = 1;
239
+ */
240
+ artifactKey?: ArtifactKey;
241
+
242
+ /**
243
+ * @generated from field: string version = 2;
244
+ */
245
+ version: string;
246
+
247
+ /**
248
+ * Think of a partition as a tag on an Artifact, except it's a key-value pair.
249
+ * Different partitions naturally have different versions (execution ids).
250
+ *
251
+ * @generated from field: flyteidl2.core.Partitions partitions = 3;
252
+ */
253
+ partitions?: Partitions;
254
+
255
+ /**
256
+ * There is no such thing as an empty time partition - if it's not set, then there is no time partition.
257
+ *
258
+ * @generated from field: flyteidl2.core.TimePartition time_partition = 4;
259
+ */
260
+ timePartition?: TimePartition;
261
+ };
262
+
263
+ /**
264
+ * Describes the message flyteidl2.core.ArtifactID.
265
+ * Use `create(ArtifactIDSchema)` to create a new message.
266
+ */
267
+ export const ArtifactIDSchema: GenMessage<ArtifactID> = /*@__PURE__*/
268
+ messageDesc(file_flyteidl2_core_artifact_id, 8);
269
+
270
+ /**
271
+ * @generated from message flyteidl2.core.ArtifactTag
272
+ */
273
+ export type ArtifactTag = Message<"flyteidl2.core.ArtifactTag"> & {
274
+ /**
275
+ * @generated from field: flyteidl2.core.ArtifactKey artifact_key = 1;
276
+ */
277
+ artifactKey?: ArtifactKey;
278
+
279
+ /**
280
+ * @generated from field: flyteidl2.core.LabelValue value = 2;
281
+ */
282
+ value?: LabelValue;
283
+ };
284
+
285
+ /**
286
+ * Describes the message flyteidl2.core.ArtifactTag.
287
+ * Use `create(ArtifactTagSchema)` to create a new message.
288
+ */
289
+ export const ArtifactTagSchema: GenMessage<ArtifactTag> = /*@__PURE__*/
290
+ messageDesc(file_flyteidl2_core_artifact_id, 9);
291
+
292
+ /**
293
+ * Uniqueness constraints for Artifacts
294
+ * - project, domain, name, version, partitions
295
+ * Option 2 (tags are standalone, point to an individual artifact id):
296
+ * - project, domain, name, alias (points to one partition if partitioned)
297
+ * - project, domain, name, partition key, partition value
298
+ *
299
+ * @generated from message flyteidl2.core.ArtifactQuery
300
+ */
301
+ export type ArtifactQuery = Message<"flyteidl2.core.ArtifactQuery"> & {
302
+ /**
303
+ * @generated from oneof flyteidl2.core.ArtifactQuery.identifier
304
+ */
305
+ identifier: {
306
+ /**
307
+ * @generated from field: flyteidl2.core.ArtifactID artifact_id = 1;
308
+ */
309
+ value: ArtifactID;
310
+ case: "artifactId";
311
+ } | {
312
+ /**
313
+ * @generated from field: flyteidl2.core.ArtifactTag artifact_tag = 2;
314
+ */
315
+ value: ArtifactTag;
316
+ case: "artifactTag";
317
+ } | {
318
+ /**
319
+ * @generated from field: string uri = 3;
320
+ */
321
+ value: string;
322
+ case: "uri";
323
+ } | {
324
+ /**
325
+ * This is used in the trigger case, where a user specifies a value for an input that is one of the triggering
326
+ * artifacts, or a partition value derived from a triggering artifact.
327
+ *
328
+ * @generated from field: flyteidl2.core.ArtifactBindingData binding = 4;
329
+ */
330
+ value: ArtifactBindingData;
331
+ case: "binding";
332
+ } | { case: undefined; value?: undefined };
333
+ };
334
+
335
+ /**
336
+ * Describes the message flyteidl2.core.ArtifactQuery.
337
+ * Use `create(ArtifactQuerySchema)` to create a new message.
338
+ */
339
+ export const ArtifactQuerySchema: GenMessage<ArtifactQuery> = /*@__PURE__*/
340
+ messageDesc(file_flyteidl2_core_artifact_id, 10);
341
+
342
+ /**
343
+ * @generated from enum flyteidl2.core.Granularity
344
+ */
345
+ export enum Granularity {
346
+ /**
347
+ * @generated from enum value: UNSET = 0;
348
+ */
349
+ UNSET = 0,
350
+
351
+ /**
352
+ * @generated from enum value: MINUTE = 1;
353
+ */
354
+ MINUTE = 1,
355
+
356
+ /**
357
+ * @generated from enum value: HOUR = 2;
358
+ */
359
+ HOUR = 2,
360
+
361
+ /**
362
+ * default
363
+ *
364
+ * @generated from enum value: DAY = 3;
365
+ */
366
+ DAY = 3,
367
+
368
+ /**
369
+ * @generated from enum value: MONTH = 4;
370
+ */
371
+ MONTH = 4,
372
+ }
373
+
374
+ /**
375
+ * Describes the enum flyteidl2.core.Granularity.
376
+ */
377
+ export const GranularitySchema: GenEnum<Granularity> = /*@__PURE__*/
378
+ enumDesc(file_flyteidl2_core_artifact_id, 0);
379
+
380
+ /**
381
+ * @generated from enum flyteidl2.core.Operator
382
+ */
383
+ export enum Operator {
384
+ /**
385
+ * @generated from enum value: MINUS = 0;
386
+ */
387
+ MINUS = 0,
388
+
389
+ /**
390
+ * @generated from enum value: PLUS = 1;
391
+ */
392
+ PLUS = 1,
393
+ }
394
+
395
+ /**
396
+ * Describes the enum flyteidl2.core.Operator.
397
+ */
398
+ export const OperatorSchema: GenEnum<Operator> = /*@__PURE__*/
399
+ enumDesc(file_flyteidl2_core_artifact_id, 1);
400
+
@@ -0,0 +1,215 @@
1
+ // @generated by protoc-gen-es v2.2.5 with parameter "target=ts,import_extension=.ts"
2
+ // @generated from file flyteidl2/core/catalog.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 { Identifier, TaskExecutionIdentifier } from "./identifier_pb.ts";
8
+ import { file_flyteidl2_core_identifier } from "./identifier_pb.ts";
9
+ import type { Message } from "@bufbuild/protobuf";
10
+
11
+ /**
12
+ * Describes the file flyteidl2/core/catalog.proto.
13
+ */
14
+ export const file_flyteidl2_core_catalog: GenFile = /*@__PURE__*/
15
+ fileDesc("ChxmbHl0ZWlkbDIvY29yZS9jYXRhbG9nLnByb3RvEg5mbHl0ZWlkbDIuY29yZSI3ChJDYXRhbG9nQXJ0aWZhY3RUYWcSEwoLYXJ0aWZh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ier]);
16
+
17
+ /**
18
+ * @generated from message flyteidl2.core.CatalogArtifactTag
19
+ */
20
+ export type CatalogArtifactTag = Message<"flyteidl2.core.CatalogArtifactTag"> & {
21
+ /**
22
+ * Artifact ID is generated name
23
+ *
24
+ * @generated from field: string artifact_id = 1;
25
+ */
26
+ artifactId: string;
27
+
28
+ /**
29
+ * Flyte computes the tag automatically, as the hash of the values
30
+ *
31
+ * @generated from field: string name = 2;
32
+ */
33
+ name: string;
34
+ };
35
+
36
+ /**
37
+ * Describes the message flyteidl2.core.CatalogArtifactTag.
38
+ * Use `create(CatalogArtifactTagSchema)` to create a new message.
39
+ */
40
+ export const CatalogArtifactTagSchema: GenMessage<CatalogArtifactTag> = /*@__PURE__*/
41
+ messageDesc(file_flyteidl2_core_catalog, 0);
42
+
43
+ /**
44
+ * Catalog artifact information with specific metadata
45
+ *
46
+ * @generated from message flyteidl2.core.CatalogMetadata
47
+ */
48
+ export type CatalogMetadata = Message<"flyteidl2.core.CatalogMetadata"> & {
49
+ /**
50
+ * Dataset ID in the catalog
51
+ *
52
+ * @generated from field: flyteidl2.core.Identifier dataset_id = 1;
53
+ */
54
+ datasetId?: Identifier;
55
+
56
+ /**
57
+ * Artifact tag in the catalog
58
+ *
59
+ * @generated from field: flyteidl2.core.CatalogArtifactTag artifact_tag = 2;
60
+ */
61
+ artifactTag?: CatalogArtifactTag;
62
+
63
+ /**
64
+ * Optional: Source Execution identifier, if this dataset was generated by another execution in Flyte. This is a one-of field and will depend on the caching context
65
+ *
66
+ * @generated from oneof flyteidl2.core.CatalogMetadata.source_execution
67
+ */
68
+ sourceExecution: {
69
+ /**
70
+ * Today we only support TaskExecutionIdentifier as a source, as catalog caching only works for task executions
71
+ *
72
+ * @generated from field: flyteidl2.core.TaskExecutionIdentifier source_task_execution = 3;
73
+ */
74
+ value: TaskExecutionIdentifier;
75
+ case: "sourceTaskExecution";
76
+ } | { case: undefined; value?: undefined };
77
+ };
78
+
79
+ /**
80
+ * Describes the message flyteidl2.core.CatalogMetadata.
81
+ * Use `create(CatalogMetadataSchema)` to create a new message.
82
+ */
83
+ export const CatalogMetadataSchema: GenMessage<CatalogMetadata> = /*@__PURE__*/
84
+ messageDesc(file_flyteidl2_core_catalog, 1);
85
+
86
+ /**
87
+ * @generated from message flyteidl2.core.CatalogReservation
88
+ */
89
+ export type CatalogReservation = Message<"flyteidl2.core.CatalogReservation"> & {
90
+ };
91
+
92
+ /**
93
+ * Describes the message flyteidl2.core.CatalogReservation.
94
+ * Use `create(CatalogReservationSchema)` to create a new message.
95
+ */
96
+ export const CatalogReservationSchema: GenMessage<CatalogReservation> = /*@__PURE__*/
97
+ messageDesc(file_flyteidl2_core_catalog, 2);
98
+
99
+ /**
100
+ * Indicates the status of a catalog reservation operation.
101
+ *
102
+ * @generated from enum flyteidl2.core.CatalogReservation.Status
103
+ */
104
+ export enum CatalogReservation_Status {
105
+ /**
106
+ * Used to indicate that reservations are disabled
107
+ *
108
+ * @generated from enum value: RESERVATION_DISABLED = 0;
109
+ */
110
+ RESERVATION_DISABLED = 0,
111
+
112
+ /**
113
+ * Used to indicate that a reservation was successfully acquired or extended
114
+ *
115
+ * @generated from enum value: RESERVATION_ACQUIRED = 1;
116
+ */
117
+ RESERVATION_ACQUIRED = 1,
118
+
119
+ /**
120
+ * Used to indicate that an active reservation currently exists
121
+ *
122
+ * @generated from enum value: RESERVATION_EXISTS = 2;
123
+ */
124
+ RESERVATION_EXISTS = 2,
125
+
126
+ /**
127
+ * Used to indicate that the reservation has been successfully released
128
+ *
129
+ * @generated from enum value: RESERVATION_RELEASED = 3;
130
+ */
131
+ RESERVATION_RELEASED = 3,
132
+
133
+ /**
134
+ * Used to indicate that a reservation operation resulted in failure
135
+ *
136
+ * @generated from enum value: RESERVATION_FAILURE = 4;
137
+ */
138
+ RESERVATION_FAILURE = 4,
139
+ }
140
+
141
+ /**
142
+ * Describes the enum flyteidl2.core.CatalogReservation.Status.
143
+ */
144
+ export const CatalogReservation_StatusSchema: GenEnum<CatalogReservation_Status> = /*@__PURE__*/
145
+ enumDesc(file_flyteidl2_core_catalog, 2, 0);
146
+
147
+ /**
148
+ * Indicates the status of CatalogCaching. The reason why this is not embedded in TaskNodeMetadata is, that we may use for other types of nodes as well in the future
149
+ *
150
+ * @generated from enum flyteidl2.core.CatalogCacheStatus
151
+ */
152
+ export enum CatalogCacheStatus {
153
+ /**
154
+ * Used to indicate that caching was disabled
155
+ *
156
+ * @generated from enum value: CACHE_DISABLED = 0;
157
+ */
158
+ CACHE_DISABLED = 0,
159
+
160
+ /**
161
+ * Used to indicate that the cache lookup resulted in no matches
162
+ *
163
+ * @generated from enum value: CACHE_MISS = 1;
164
+ */
165
+ CACHE_MISS = 1,
166
+
167
+ /**
168
+ * used to indicate that the associated artifact was a result of a previous execution
169
+ *
170
+ * @generated from enum value: CACHE_HIT = 2;
171
+ */
172
+ CACHE_HIT = 2,
173
+
174
+ /**
175
+ * used to indicate that the resultant artifact was added to the cache
176
+ *
177
+ * @generated from enum value: CACHE_POPULATED = 3;
178
+ */
179
+ CACHE_POPULATED = 3,
180
+
181
+ /**
182
+ * Used to indicate that cache lookup failed because of an error
183
+ *
184
+ * @generated from enum value: CACHE_LOOKUP_FAILURE = 4;
185
+ */
186
+ CACHE_LOOKUP_FAILURE = 4,
187
+
188
+ /**
189
+ * Used to indicate that cache lookup failed because of an error
190
+ *
191
+ * @generated from enum value: CACHE_PUT_FAILURE = 5;
192
+ */
193
+ CACHE_PUT_FAILURE = 5,
194
+
195
+ /**
196
+ * Used to indicate the cache lookup was skipped
197
+ *
198
+ * @generated from enum value: CACHE_SKIPPED = 6;
199
+ */
200
+ CACHE_SKIPPED = 6,
201
+
202
+ /**
203
+ * Used to indicate that the cache was evicted
204
+ *
205
+ * @generated from enum value: CACHE_EVICTED = 7;
206
+ */
207
+ CACHE_EVICTED = 7,
208
+ }
209
+
210
+ /**
211
+ * Describes the enum flyteidl2.core.CatalogCacheStatus.
212
+ */
213
+ export const CatalogCacheStatusSchema: GenEnum<CatalogCacheStatus> = /*@__PURE__*/
214
+ enumDesc(file_flyteidl2_core_catalog, 0);
215
+