@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,592 @@
1
+ // @generated by protoc-gen-es v2.2.5 with parameter "target=ts,import_extension=.ts"
2
+ // @generated from file flyteidl2/core/types.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 { file_google_protobuf_struct } from "@bufbuild/protobuf/wkt";
8
+ import type { JsonObject, Message } from "@bufbuild/protobuf";
9
+
10
+ /**
11
+ * Describes the file flyteidl2/core/types.proto.
12
+ */
13
+ export const file_flyteidl2_core_types: GenFile = /*@__PURE__*/
14
+ fileDesc("ChpmbHl0ZWlkbDIvY29yZS90eXBlcy5wcm90bxIOZmx5dGVpZGwyLmNvcmUijgIKClNjaGVtYVR5cGUSOAoHY29sdW1ucxgDIAMoCzInLmZseXRlaWRsMi5jb3JlLlNjaGVtYVR5cGUuU2NoZW1hQ29sdW1uGsUBCgxTY2hlbWFDb2x1bW4SDAoEbmFtZRgBIAEoCRJGCgR0eXBlGAIgASgOMjguZmx5dGVpZGwyLmNvcmUuU2NoZW1hVHlwZS5TY2hlbWFDb2x1bW4uU2NoZW1hQ29sdW1uVHlwZSJfChBTY2hlbWFDb2x1bW5UeXBlEgsKB0lOVEVHRVIQABIJCgVGTE9BVBABEgoKBlNUUklORxACEgsKB0JPT0xFQU4QAxIMCghEQVRFVElNRRAEEgwKCERVUkFU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QVQQAhIKCgZTVFJJTkcQAxILCgdCT09MRUFOEAQSDAoIREFURVRJTUUQBRIMCghEVVJBVElPThAGEgoKBkJJTkFSWRAHEgkKBUVSUk9SEAgSCgoGU1RSVUNUEAlCrwEKEmNvbS5mbHl0ZWlkbDIuY29yZUIKVHlwZXNQcm90b0gCUAFaMmdpdGh1Yi5jb20vZmx5dGVvcmcvZmx5dGUvdjIvZ2VuL2dvL2ZseXRlaWRsMi9jb3JlogIDRkNYqgIORmx5dGVpZGwyLkNvcmXKAg5GbHl0ZWlkbDJcQ29yZeICGkZseXRlaWRsMlxDb3JlXEdQQk1ldGFkYXRh6gIPRmx5dGVpZGwyOjpDb3JlYgZwcm90bzM", [file_google_protobuf_struct]);
15
+
16
+ /**
17
+ * Defines schema columns and types to strongly type-validate schemas interoperability.
18
+ *
19
+ * @generated from message flyteidl2.core.SchemaType
20
+ */
21
+ export type SchemaType = Message<"flyteidl2.core.SchemaType"> & {
22
+ /**
23
+ * A list of ordered columns this schema comprises of.
24
+ *
25
+ * @generated from field: repeated flyteidl2.core.SchemaType.SchemaColumn columns = 3;
26
+ */
27
+ columns: SchemaType_SchemaColumn[];
28
+ };
29
+
30
+ /**
31
+ * Describes the message flyteidl2.core.SchemaType.
32
+ * Use `create(SchemaTypeSchema)` to create a new message.
33
+ */
34
+ export const SchemaTypeSchema: GenMessage<SchemaType> = /*@__PURE__*/
35
+ messageDesc(file_flyteidl2_core_types, 0);
36
+
37
+ /**
38
+ * @generated from message flyteidl2.core.SchemaType.SchemaColumn
39
+ */
40
+ export type SchemaType_SchemaColumn = Message<"flyteidl2.core.SchemaType.SchemaColumn"> & {
41
+ /**
42
+ * A unique name -within the schema type- for the column
43
+ *
44
+ * @generated from field: string name = 1;
45
+ */
46
+ name: string;
47
+
48
+ /**
49
+ * The column type. This allows a limited set of types currently.
50
+ *
51
+ * @generated from field: flyteidl2.core.SchemaType.SchemaColumn.SchemaColumnType type = 2;
52
+ */
53
+ type: SchemaType_SchemaColumn_SchemaColumnType;
54
+ };
55
+
56
+ /**
57
+ * Describes the message flyteidl2.core.SchemaType.SchemaColumn.
58
+ * Use `create(SchemaType_SchemaColumnSchema)` to create a new message.
59
+ */
60
+ export const SchemaType_SchemaColumnSchema: GenMessage<SchemaType_SchemaColumn> = /*@__PURE__*/
61
+ messageDesc(file_flyteidl2_core_types, 0, 0);
62
+
63
+ /**
64
+ * @generated from enum flyteidl2.core.SchemaType.SchemaColumn.SchemaColumnType
65
+ */
66
+ export enum SchemaType_SchemaColumn_SchemaColumnType {
67
+ /**
68
+ * @generated from enum value: INTEGER = 0;
69
+ */
70
+ INTEGER = 0,
71
+
72
+ /**
73
+ * @generated from enum value: FLOAT = 1;
74
+ */
75
+ FLOAT = 1,
76
+
77
+ /**
78
+ * @generated from enum value: STRING = 2;
79
+ */
80
+ STRING = 2,
81
+
82
+ /**
83
+ * @generated from enum value: BOOLEAN = 3;
84
+ */
85
+ BOOLEAN = 3,
86
+
87
+ /**
88
+ * @generated from enum value: DATETIME = 4;
89
+ */
90
+ DATETIME = 4,
91
+
92
+ /**
93
+ * @generated from enum value: DURATION = 5;
94
+ */
95
+ DURATION = 5,
96
+ }
97
+
98
+ /**
99
+ * Describes the enum flyteidl2.core.SchemaType.SchemaColumn.SchemaColumnType.
100
+ */
101
+ export const SchemaType_SchemaColumn_SchemaColumnTypeSchema: GenEnum<SchemaType_SchemaColumn_SchemaColumnType> = /*@__PURE__*/
102
+ enumDesc(file_flyteidl2_core_types, 0, 0, 0);
103
+
104
+ /**
105
+ * @generated from message flyteidl2.core.StructuredDatasetType
106
+ */
107
+ export type StructuredDatasetType = Message<"flyteidl2.core.StructuredDatasetType"> & {
108
+ /**
109
+ * A list of ordered columns this schema comprises of.
110
+ *
111
+ * @generated from field: repeated flyteidl2.core.StructuredDatasetType.DatasetColumn columns = 1;
112
+ */
113
+ columns: StructuredDatasetType_DatasetColumn[];
114
+
115
+ /**
116
+ * This is the storage format, the format of the bits at rest
117
+ * parquet, feather, csv, etc.
118
+ * For two types to be compatible, the format will need to be an exact match.
119
+ *
120
+ * @generated from field: string format = 2;
121
+ */
122
+ format: string;
123
+
124
+ /**
125
+ * This is a string representing the type that the bytes in external_schema_bytes are formatted in.
126
+ * This is an optional field that will not be used for type checking.
127
+ *
128
+ * @generated from field: string external_schema_type = 3;
129
+ */
130
+ externalSchemaType: string;
131
+
132
+ /**
133
+ * The serialized bytes of a third-party schema library like Arrow.
134
+ * This is an optional field that will not be used for type checking.
135
+ *
136
+ * @generated from field: bytes external_schema_bytes = 4;
137
+ */
138
+ externalSchemaBytes: Uint8Array;
139
+ };
140
+
141
+ /**
142
+ * Describes the message flyteidl2.core.StructuredDatasetType.
143
+ * Use `create(StructuredDatasetTypeSchema)` to create a new message.
144
+ */
145
+ export const StructuredDatasetTypeSchema: GenMessage<StructuredDatasetType> = /*@__PURE__*/
146
+ messageDesc(file_flyteidl2_core_types, 1);
147
+
148
+ /**
149
+ * @generated from message flyteidl2.core.StructuredDatasetType.DatasetColumn
150
+ */
151
+ export type StructuredDatasetType_DatasetColumn = Message<"flyteidl2.core.StructuredDatasetType.DatasetColumn"> & {
152
+ /**
153
+ * A unique name within the schema type for the column.
154
+ *
155
+ * @generated from field: string name = 1;
156
+ */
157
+ name: string;
158
+
159
+ /**
160
+ * The column type.
161
+ *
162
+ * @generated from field: flyteidl2.core.LiteralType literal_type = 2;
163
+ */
164
+ literalType?: LiteralType;
165
+ };
166
+
167
+ /**
168
+ * Describes the message flyteidl2.core.StructuredDatasetType.DatasetColumn.
169
+ * Use `create(StructuredDatasetType_DatasetColumnSchema)` to create a new message.
170
+ */
171
+ export const StructuredDatasetType_DatasetColumnSchema: GenMessage<StructuredDatasetType_DatasetColumn> = /*@__PURE__*/
172
+ messageDesc(file_flyteidl2_core_types, 1, 0);
173
+
174
+ /**
175
+ * Defines type behavior for blob objects
176
+ *
177
+ * @generated from message flyteidl2.core.BlobType
178
+ */
179
+ export type BlobType = Message<"flyteidl2.core.BlobType"> & {
180
+ /**
181
+ * Format can be a free form string understood by SDK/UI etc like
182
+ * csv, parquet etc
183
+ *
184
+ * @generated from field: string format = 1;
185
+ */
186
+ format: string;
187
+
188
+ /**
189
+ * @generated from field: flyteidl2.core.BlobType.BlobDimensionality dimensionality = 2;
190
+ */
191
+ dimensionality: BlobType_BlobDimensionality;
192
+ };
193
+
194
+ /**
195
+ * Describes the message flyteidl2.core.BlobType.
196
+ * Use `create(BlobTypeSchema)` to create a new message.
197
+ */
198
+ export const BlobTypeSchema: GenMessage<BlobType> = /*@__PURE__*/
199
+ messageDesc(file_flyteidl2_core_types, 2);
200
+
201
+ /**
202
+ * @generated from enum flyteidl2.core.BlobType.BlobDimensionality
203
+ */
204
+ export enum BlobType_BlobDimensionality {
205
+ /**
206
+ * @generated from enum value: SINGLE = 0;
207
+ */
208
+ SINGLE = 0,
209
+
210
+ /**
211
+ * @generated from enum value: MULTIPART = 1;
212
+ */
213
+ MULTIPART = 1,
214
+ }
215
+
216
+ /**
217
+ * Describes the enum flyteidl2.core.BlobType.BlobDimensionality.
218
+ */
219
+ export const BlobType_BlobDimensionalitySchema: GenEnum<BlobType_BlobDimensionality> = /*@__PURE__*/
220
+ enumDesc(file_flyteidl2_core_types, 2, 0);
221
+
222
+ /**
223
+ * Enables declaring enum types, with predefined string values
224
+ * For len(values) > 0, the first value in the ordered list is regarded as the default value. If you wish
225
+ * To provide no defaults, make the first value as undefined.
226
+ *
227
+ * @generated from message flyteidl2.core.EnumType
228
+ */
229
+ export type EnumType = Message<"flyteidl2.core.EnumType"> & {
230
+ /**
231
+ * Predefined set of enum values.
232
+ *
233
+ * @generated from field: repeated string values = 1;
234
+ */
235
+ values: string[];
236
+ };
237
+
238
+ /**
239
+ * Describes the message flyteidl2.core.EnumType.
240
+ * Use `create(EnumTypeSchema)` to create a new message.
241
+ */
242
+ export const EnumTypeSchema: GenMessage<EnumType> = /*@__PURE__*/
243
+ messageDesc(file_flyteidl2_core_types, 3);
244
+
245
+ /**
246
+ * Defines a tagged union type, also known as a variant (and formally as the sum type).
247
+ *
248
+ * A sum type S is defined by a sequence of types (A, B, C, ...), each tagged by a string tag
249
+ * A value of type S is constructed from a value of any of the variant types. The specific choice of type is recorded by
250
+ * storing the varaint's tag with the literal value and can be examined in runtime.
251
+ *
252
+ * Type S is typically written as
253
+ * S := Apple A | Banana B | Cantaloupe C | ...
254
+ *
255
+ * Notably, a nullable (optional) type is a sum type between some type X and the singleton type representing a null-value:
256
+ * Optional X := X | Null
257
+ *
258
+ * See also: https://en.wikipedia.org/wiki/Tagged_union
259
+ *
260
+ * @generated from message flyteidl2.core.UnionType
261
+ */
262
+ export type UnionType = Message<"flyteidl2.core.UnionType"> & {
263
+ /**
264
+ * Predefined set of variants in union.
265
+ *
266
+ * @generated from field: repeated flyteidl2.core.LiteralType variants = 1;
267
+ */
268
+ variants: LiteralType[];
269
+ };
270
+
271
+ /**
272
+ * Describes the message flyteidl2.core.UnionType.
273
+ * Use `create(UnionTypeSchema)` to create a new message.
274
+ */
275
+ export const UnionTypeSchema: GenMessage<UnionType> = /*@__PURE__*/
276
+ messageDesc(file_flyteidl2_core_types, 4);
277
+
278
+ /**
279
+ * Hints to improve type matching
280
+ * e.g. allows distinguishing output from custom type transformers
281
+ * even if the underlying IDL serialization matches.
282
+ *
283
+ * @generated from message flyteidl2.core.TypeStructure
284
+ */
285
+ export type TypeStructure = Message<"flyteidl2.core.TypeStructure"> & {
286
+ /**
287
+ * Must exactly match for types to be castable
288
+ *
289
+ * @generated from field: string tag = 1;
290
+ */
291
+ tag: string;
292
+
293
+ /**
294
+ * dataclass_type only exists for dataclasses.
295
+ * This is used to resolve the type of the fields of dataclass
296
+ * The key is the field name, and the value is the literal type of the field
297
+ * e.g. For dataclass Foo, with fields a, and a is a string
298
+ * Foo.a will be resolved as a literal type of string from dataclass_type
299
+ *
300
+ * @generated from field: map<string, flyteidl2.core.LiteralType> dataclass_type = 2;
301
+ */
302
+ dataclassType: { [key: string]: LiteralType };
303
+ };
304
+
305
+ /**
306
+ * Describes the message flyteidl2.core.TypeStructure.
307
+ * Use `create(TypeStructureSchema)` to create a new message.
308
+ */
309
+ export const TypeStructureSchema: GenMessage<TypeStructure> = /*@__PURE__*/
310
+ messageDesc(file_flyteidl2_core_types, 5);
311
+
312
+ /**
313
+ * TypeAnnotation encapsulates registration time information about a type. This can be used for various control-plane operations. TypeAnnotation will not be available at runtime when a task runs.
314
+ *
315
+ * @generated from message flyteidl2.core.TypeAnnotation
316
+ */
317
+ export type TypeAnnotation = Message<"flyteidl2.core.TypeAnnotation"> & {
318
+ /**
319
+ * A arbitrary JSON payload to describe a type.
320
+ *
321
+ * @generated from field: google.protobuf.Struct annotations = 1;
322
+ */
323
+ annotations?: JsonObject;
324
+ };
325
+
326
+ /**
327
+ * Describes the message flyteidl2.core.TypeAnnotation.
328
+ * Use `create(TypeAnnotationSchema)` to create a new message.
329
+ */
330
+ export const TypeAnnotationSchema: GenMessage<TypeAnnotation> = /*@__PURE__*/
331
+ messageDesc(file_flyteidl2_core_types, 6);
332
+
333
+ /**
334
+ * Defines a strong type to allow type checking between interfaces.
335
+ *
336
+ * @generated from message flyteidl2.core.LiteralType
337
+ */
338
+ export type LiteralType = Message<"flyteidl2.core.LiteralType"> & {
339
+ /**
340
+ * @generated from oneof flyteidl2.core.LiteralType.type
341
+ */
342
+ type: {
343
+ /**
344
+ * A simple type that can be compared one-to-one with another.
345
+ *
346
+ * @generated from field: flyteidl2.core.SimpleType simple = 1;
347
+ */
348
+ value: SimpleType;
349
+ case: "simple";
350
+ } | {
351
+ /**
352
+ * A complex type that requires matching of inner fields.
353
+ *
354
+ * @generated from field: flyteidl2.core.SchemaType schema = 2;
355
+ */
356
+ value: SchemaType;
357
+ case: "schema";
358
+ } | {
359
+ /**
360
+ * Defines the type of the value of a collection. Only homogeneous collections are allowed.
361
+ *
362
+ * @generated from field: flyteidl2.core.LiteralType collection_type = 3;
363
+ */
364
+ value: LiteralType;
365
+ case: "collectionType";
366
+ } | {
367
+ /**
368
+ * Defines the type of the value of a map type. The type of the key is always a string.
369
+ *
370
+ * @generated from field: flyteidl2.core.LiteralType map_value_type = 4;
371
+ */
372
+ value: LiteralType;
373
+ case: "mapValueType";
374
+ } | {
375
+ /**
376
+ * A blob might have specialized implementation details depending on associated metadata.
377
+ *
378
+ * @generated from field: flyteidl2.core.BlobType blob = 5;
379
+ */
380
+ value: BlobType;
381
+ case: "blob";
382
+ } | {
383
+ /**
384
+ * Defines an enum with pre-defined string values.
385
+ *
386
+ * @generated from field: flyteidl2.core.EnumType enum_type = 7;
387
+ */
388
+ value: EnumType;
389
+ case: "enumType";
390
+ } | {
391
+ /**
392
+ * Generalized schema support
393
+ *
394
+ * @generated from field: flyteidl2.core.StructuredDatasetType structured_dataset_type = 8;
395
+ */
396
+ value: StructuredDatasetType;
397
+ case: "structuredDatasetType";
398
+ } | {
399
+ /**
400
+ * Defines an union type with pre-defined LiteralTypes.
401
+ *
402
+ * @generated from field: flyteidl2.core.UnionType union_type = 10;
403
+ */
404
+ value: UnionType;
405
+ case: "unionType";
406
+ } | { case: undefined; value?: undefined };
407
+
408
+ /**
409
+ * This field contains type metadata that is descriptive of the type, but is NOT considered in type-checking. This might be used by
410
+ * consumers to identify special behavior or display extended information for the type.
411
+ *
412
+ * @generated from field: google.protobuf.Struct metadata = 6;
413
+ */
414
+ metadata?: JsonObject;
415
+
416
+ /**
417
+ * This field contains arbitrary data that might have special semantic
418
+ * meaning for the client but does not effect internal flyte behavior.
419
+ *
420
+ * @generated from field: flyteidl2.core.TypeAnnotation annotation = 9;
421
+ */
422
+ annotation?: TypeAnnotation;
423
+
424
+ /**
425
+ * Hints to improve type matching.
426
+ *
427
+ * @generated from field: flyteidl2.core.TypeStructure structure = 11;
428
+ */
429
+ structure?: TypeStructure;
430
+ };
431
+
432
+ /**
433
+ * Describes the message flyteidl2.core.LiteralType.
434
+ * Use `create(LiteralTypeSchema)` to create a new message.
435
+ */
436
+ export const LiteralTypeSchema: GenMessage<LiteralType> = /*@__PURE__*/
437
+ messageDesc(file_flyteidl2_core_types, 7);
438
+
439
+ /**
440
+ * A reference to an output produced by a node. The type can be retrieved -and validated- from
441
+ * the underlying interface of the node.
442
+ *
443
+ * @generated from message flyteidl2.core.OutputReference
444
+ */
445
+ export type OutputReference = Message<"flyteidl2.core.OutputReference"> & {
446
+ /**
447
+ * Node id must exist at the graph layer.
448
+ *
449
+ * @generated from field: string node_id = 1;
450
+ */
451
+ nodeId: string;
452
+
453
+ /**
454
+ * Variable name must refer to an output variable for the node.
455
+ *
456
+ * @generated from field: string var = 2;
457
+ */
458
+ var: string;
459
+
460
+ /**
461
+ * @generated from field: repeated flyteidl2.core.PromiseAttribute attr_path = 3;
462
+ */
463
+ attrPath: PromiseAttribute[];
464
+ };
465
+
466
+ /**
467
+ * Describes the message flyteidl2.core.OutputReference.
468
+ * Use `create(OutputReferenceSchema)` to create a new message.
469
+ */
470
+ export const OutputReferenceSchema: GenMessage<OutputReference> = /*@__PURE__*/
471
+ messageDesc(file_flyteidl2_core_types, 8);
472
+
473
+ /**
474
+ * @generated from message flyteidl2.core.PromiseAttribute
475
+ */
476
+ export type PromiseAttribute = Message<"flyteidl2.core.PromiseAttribute"> & {
477
+ /**
478
+ * @generated from oneof flyteidl2.core.PromiseAttribute.value
479
+ */
480
+ value: {
481
+ /**
482
+ * @generated from field: string string_value = 1;
483
+ */
484
+ value: string;
485
+ case: "stringValue";
486
+ } | {
487
+ /**
488
+ * @generated from field: int32 int_value = 2;
489
+ */
490
+ value: number;
491
+ case: "intValue";
492
+ } | { case: undefined; value?: undefined };
493
+ };
494
+
495
+ /**
496
+ * Describes the message flyteidl2.core.PromiseAttribute.
497
+ * Use `create(PromiseAttributeSchema)` to create a new message.
498
+ */
499
+ export const PromiseAttributeSchema: GenMessage<PromiseAttribute> = /*@__PURE__*/
500
+ messageDesc(file_flyteidl2_core_types, 9);
501
+
502
+ /**
503
+ * Represents an error thrown from a node.
504
+ *
505
+ * @generated from message flyteidl2.core.Error
506
+ */
507
+ export type Error = Message<"flyteidl2.core.Error"> & {
508
+ /**
509
+ * The node id that threw the error.
510
+ *
511
+ * @generated from field: string failed_node_id = 1;
512
+ */
513
+ failedNodeId: string;
514
+
515
+ /**
516
+ * Error message thrown.
517
+ *
518
+ * @generated from field: string message = 2;
519
+ */
520
+ message: string;
521
+ };
522
+
523
+ /**
524
+ * Describes the message flyteidl2.core.Error.
525
+ * Use `create(ErrorSchema)` to create a new message.
526
+ */
527
+ export const ErrorSchema: GenMessage<Error> = /*@__PURE__*/
528
+ messageDesc(file_flyteidl2_core_types, 10);
529
+
530
+ /**
531
+ * Define a set of simple types.
532
+ *
533
+ * @generated from enum flyteidl2.core.SimpleType
534
+ */
535
+ export enum SimpleType {
536
+ /**
537
+ * @generated from enum value: NONE = 0;
538
+ */
539
+ NONE = 0,
540
+
541
+ /**
542
+ * @generated from enum value: INTEGER = 1;
543
+ */
544
+ INTEGER = 1,
545
+
546
+ /**
547
+ * @generated from enum value: FLOAT = 2;
548
+ */
549
+ FLOAT = 2,
550
+
551
+ /**
552
+ * @generated from enum value: STRING = 3;
553
+ */
554
+ STRING = 3,
555
+
556
+ /**
557
+ * @generated from enum value: BOOLEAN = 4;
558
+ */
559
+ BOOLEAN = 4,
560
+
561
+ /**
562
+ * @generated from enum value: DATETIME = 5;
563
+ */
564
+ DATETIME = 5,
565
+
566
+ /**
567
+ * @generated from enum value: DURATION = 6;
568
+ */
569
+ DURATION = 6,
570
+
571
+ /**
572
+ * @generated from enum value: BINARY = 7;
573
+ */
574
+ BINARY = 7,
575
+
576
+ /**
577
+ * @generated from enum value: ERROR = 8;
578
+ */
579
+ ERROR = 8,
580
+
581
+ /**
582
+ * @generated from enum value: STRUCT = 9;
583
+ */
584
+ STRUCT = 9,
585
+ }
586
+
587
+ /**
588
+ * Describes the enum flyteidl2.core.SimpleType.
589
+ */
590
+ export const SimpleTypeSchema: GenEnum<SimpleType> = /*@__PURE__*/
591
+ enumDesc(file_flyteidl2_core_types, 0);
592
+