@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.
- package/flyteidl2/common/authorization_pb.ts +323 -0
- package/flyteidl2/common/identifier_pb.ts +423 -0
- package/flyteidl2/common/identity_pb.ts +205 -0
- package/flyteidl2/common/list_pb.ts +232 -0
- package/flyteidl2/common/policy_pb.ts +76 -0
- package/flyteidl2/common/role_pb.ts +161 -0
- package/flyteidl2/common/runtime_version_pb.ts +76 -0
- package/flyteidl2/core/artifact_id_pb.ts +400 -0
- package/flyteidl2/core/catalog_pb.ts +215 -0
- package/flyteidl2/core/execution_pb.ts +641 -0
- package/flyteidl2/core/identifier_pb.ts +237 -0
- package/flyteidl2/core/interface_pb.ts +187 -0
- package/flyteidl2/core/literals_pb.ts +673 -0
- package/flyteidl2/core/security_pb.ts +310 -0
- package/flyteidl2/core/tasks_pb.ts +1088 -0
- package/flyteidl2/core/types_pb.ts +592 -0
- package/flyteidl2/imagebuilder/definition_pb.ts +535 -0
- package/flyteidl2/imagebuilder/payload_pb.ts +62 -0
- package/flyteidl2/imagebuilder/service_pb.ts +30 -0
- package/flyteidl2/logs/dataplane/payload_pb.ts +396 -0
- package/flyteidl2/plugins/dask_pb.ts +109 -0
- package/flyteidl2/plugins/ray_pb.ts +189 -0
- package/flyteidl2/plugins/spark_pb.ts +145 -0
- package/flyteidl2/secret/definition_pb.ts +310 -0
- package/flyteidl2/secret/payload_pb.ts +266 -0
- package/flyteidl2/secret/secret_pb.ts +63 -0
- package/flyteidl2/task/common_pb.ts +319 -0
- package/flyteidl2/task/environment_pb.ts +36 -0
- package/flyteidl2/task/run_pb.ts +177 -0
- package/flyteidl2/task/task_definition_pb.ts +417 -0
- package/flyteidl2/task/task_service_pb.ts +248 -0
- package/flyteidl2/trigger/trigger_definition_pb.ts +283 -0
- package/flyteidl2/trigger/trigger_service_pb.ts +451 -0
- package/flyteidl2/workflow/queue_service_pb.ts +245 -0
- package/flyteidl2/workflow/run_definition_pb.ts +1192 -0
- package/flyteidl2/workflow/run_logs_service_pb.ts +106 -0
- package/flyteidl2/workflow/run_service_pb.ts +870 -0
- package/flyteidl2/workflow/state_service_pb.ts +310 -0
- package/flyteidl2/workflow/translator_service_pb.ts +174 -0
- package/package.json +18 -0
|
@@ -0,0 +1,673 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.5 with parameter "target=ts,import_extension=.ts"
|
|
2
|
+
// @generated from file flyteidl2/core/literals.proto (package flyteidl2.core, 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 type { BlobType, Error, LiteralType, OutputReference, SchemaType, StructuredDatasetType } from "./types_pb.ts";
|
|
8
|
+
import { file_flyteidl2_core_types } from "./types_pb.ts";
|
|
9
|
+
import type { Duration, Timestamp } from "@bufbuild/protobuf/wkt";
|
|
10
|
+
import { file_google_protobuf_duration, file_google_protobuf_struct, file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
11
|
+
import type { JsonObject, Message } from "@bufbuild/protobuf";
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Describes the file flyteidl2/core/literals.proto.
|
|
15
|
+
*/
|
|
16
|
+
export const file_flyteidl2_core_literals: GenFile = /*@__PURE__*/
|
|
17
|
+
fileDesc("Ch1mbHl0ZWlkbDIvY29yZS9saXRlcmFscy5wcm90bxIOZmx5dGVpZGwyLmNvcmUiyAEKCVByaW1pdGl2ZRIRCgdpbnRlZ2VyGAEgASgDSAASFQoLZmxvYXRfdmFsdWUYAiABKAFIABIWCgxzdHJpbmdfdmFsdWUYAyABKAlIABIRCgdib29sZWFuGAQgASgISAASLgoIZGF0ZXRpbWUYBSABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wSAAS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pbmRpbmdEYXRhIioKDEtleVZhbHVlUGFpchILCgNrZXkYASABKAkSDQoFdmFsdWUYAiABKAkiIAoNUmV0cnlTdHJhdGVneRIPCgdyZXRyaWVzGAUgASgNQrIBChJjb20uZmx5dGVpZGwyLmNvcmVCDUxpdGVyYWxzUHJvdG9IAlABWjJnaXRodWIuY29tL2ZseXRlb3JnL2ZseXRlL3YyL2dlbi9nby9mbHl0ZWlkbDIvY29yZaICA0ZDWKoCDkZseXRlaWRsMi5Db3JlygIORmx5dGVpZGwyXENvcmXiAhpGbHl0ZWlkbDJcQ29yZVxHUEJNZXRhZGF0YeoCD0ZseXRlaWRsMjo6Q29yZWIGcHJvdG8z", [file_flyteidl2_core_types, file_google_protobuf_duration, file_google_protobuf_struct, file_google_protobuf_timestamp]);
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Primitive Types
|
|
21
|
+
*
|
|
22
|
+
* @generated from message flyteidl2.core.Primitive
|
|
23
|
+
*/
|
|
24
|
+
export type Primitive = Message<"flyteidl2.core.Primitive"> & {
|
|
25
|
+
/**
|
|
26
|
+
* Defines one of simple primitive types. These types will get translated into different programming languages as
|
|
27
|
+
* described in https://developers.google.com/protocol-buffers/docs/proto#scalar.
|
|
28
|
+
*
|
|
29
|
+
* @generated from oneof flyteidl2.core.Primitive.value
|
|
30
|
+
*/
|
|
31
|
+
value: {
|
|
32
|
+
/**
|
|
33
|
+
* @generated from field: int64 integer = 1;
|
|
34
|
+
*/
|
|
35
|
+
value: bigint;
|
|
36
|
+
case: "integer";
|
|
37
|
+
} | {
|
|
38
|
+
/**
|
|
39
|
+
* @generated from field: double float_value = 2;
|
|
40
|
+
*/
|
|
41
|
+
value: number;
|
|
42
|
+
case: "floatValue";
|
|
43
|
+
} | {
|
|
44
|
+
/**
|
|
45
|
+
* @generated from field: string string_value = 3;
|
|
46
|
+
*/
|
|
47
|
+
value: string;
|
|
48
|
+
case: "stringValue";
|
|
49
|
+
} | {
|
|
50
|
+
/**
|
|
51
|
+
* @generated from field: bool boolean = 4;
|
|
52
|
+
*/
|
|
53
|
+
value: boolean;
|
|
54
|
+
case: "boolean";
|
|
55
|
+
} | {
|
|
56
|
+
/**
|
|
57
|
+
* @generated from field: google.protobuf.Timestamp datetime = 5;
|
|
58
|
+
*/
|
|
59
|
+
value: Timestamp;
|
|
60
|
+
case: "datetime";
|
|
61
|
+
} | {
|
|
62
|
+
/**
|
|
63
|
+
* @generated from field: google.protobuf.Duration duration = 6;
|
|
64
|
+
*/
|
|
65
|
+
value: Duration;
|
|
66
|
+
case: "duration";
|
|
67
|
+
} | { case: undefined; value?: undefined };
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* Describes the message flyteidl2.core.Primitive.
|
|
72
|
+
* Use `create(PrimitiveSchema)` to create a new message.
|
|
73
|
+
*/
|
|
74
|
+
export const PrimitiveSchema: GenMessage<Primitive> = /*@__PURE__*/
|
|
75
|
+
messageDesc(file_flyteidl2_core_literals, 0);
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* Used to denote a nil/null/None assignment to a scalar value. The underlying LiteralType for Void is intentionally
|
|
79
|
+
* undefined since it can be assigned to a scalar of any LiteralType.
|
|
80
|
+
*
|
|
81
|
+
* @generated from message flyteidl2.core.Void
|
|
82
|
+
*/
|
|
83
|
+
export type Void = Message<"flyteidl2.core.Void"> & {
|
|
84
|
+
};
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* Describes the message flyteidl2.core.Void.
|
|
88
|
+
* Use `create(VoidSchema)` to create a new message.
|
|
89
|
+
*/
|
|
90
|
+
export const VoidSchema: GenMessage<Void> = /*@__PURE__*/
|
|
91
|
+
messageDesc(file_flyteidl2_core_literals, 1);
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* Refers to an offloaded set of files. It encapsulates the type of the store and a unique uri for where the data is.
|
|
95
|
+
* There are no restrictions on how the uri is formatted since it will depend on how to interact with the store.
|
|
96
|
+
*
|
|
97
|
+
* @generated from message flyteidl2.core.Blob
|
|
98
|
+
*/
|
|
99
|
+
export type Blob = Message<"flyteidl2.core.Blob"> & {
|
|
100
|
+
/**
|
|
101
|
+
* @generated from field: flyteidl2.core.BlobMetadata metadata = 1;
|
|
102
|
+
*/
|
|
103
|
+
metadata?: BlobMetadata;
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* @generated from field: string uri = 3;
|
|
107
|
+
*/
|
|
108
|
+
uri: string;
|
|
109
|
+
};
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* Describes the message flyteidl2.core.Blob.
|
|
113
|
+
* Use `create(BlobSchema)` to create a new message.
|
|
114
|
+
*/
|
|
115
|
+
export const BlobSchema: GenMessage<Blob> = /*@__PURE__*/
|
|
116
|
+
messageDesc(file_flyteidl2_core_literals, 2);
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* @generated from message flyteidl2.core.BlobMetadata
|
|
120
|
+
*/
|
|
121
|
+
export type BlobMetadata = Message<"flyteidl2.core.BlobMetadata"> & {
|
|
122
|
+
/**
|
|
123
|
+
* @generated from field: flyteidl2.core.BlobType type = 1;
|
|
124
|
+
*/
|
|
125
|
+
type?: BlobType;
|
|
126
|
+
};
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* Describes the message flyteidl2.core.BlobMetadata.
|
|
130
|
+
* Use `create(BlobMetadataSchema)` to create a new message.
|
|
131
|
+
*/
|
|
132
|
+
export const BlobMetadataSchema: GenMessage<BlobMetadata> = /*@__PURE__*/
|
|
133
|
+
messageDesc(file_flyteidl2_core_literals, 3);
|
|
134
|
+
|
|
135
|
+
/**
|
|
136
|
+
* A simple byte array with a tag to help different parts of the system communicate about what is in the byte array.
|
|
137
|
+
* It's strongly advisable that consumers of this type define a unique tag and validate the tag before parsing the data.
|
|
138
|
+
*
|
|
139
|
+
* @generated from message flyteidl2.core.Binary
|
|
140
|
+
*/
|
|
141
|
+
export type Binary = Message<"flyteidl2.core.Binary"> & {
|
|
142
|
+
/**
|
|
143
|
+
* Serialized data (MessagePack) for supported types like Dataclass, Pydantic BaseModel, and untyped dict.
|
|
144
|
+
*
|
|
145
|
+
* @generated from field: bytes value = 1;
|
|
146
|
+
*/
|
|
147
|
+
value: Uint8Array;
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* The serialization format identifier (e.g., MessagePack). Consumers must define unique tags and validate them before deserialization.
|
|
151
|
+
*
|
|
152
|
+
* @generated from field: string tag = 2;
|
|
153
|
+
*/
|
|
154
|
+
tag: string;
|
|
155
|
+
};
|
|
156
|
+
|
|
157
|
+
/**
|
|
158
|
+
* Describes the message flyteidl2.core.Binary.
|
|
159
|
+
* Use `create(BinarySchema)` to create a new message.
|
|
160
|
+
*/
|
|
161
|
+
export const BinarySchema: GenMessage<Binary> = /*@__PURE__*/
|
|
162
|
+
messageDesc(file_flyteidl2_core_literals, 4);
|
|
163
|
+
|
|
164
|
+
/**
|
|
165
|
+
* A strongly typed schema that defines the interface of data retrieved from the underlying storage medium.
|
|
166
|
+
*
|
|
167
|
+
* @generated from message flyteidl2.core.Schema
|
|
168
|
+
*/
|
|
169
|
+
export type Schema = Message<"flyteidl2.core.Schema"> & {
|
|
170
|
+
/**
|
|
171
|
+
* @generated from field: string uri = 1;
|
|
172
|
+
*/
|
|
173
|
+
uri: string;
|
|
174
|
+
|
|
175
|
+
/**
|
|
176
|
+
* @generated from field: flyteidl2.core.SchemaType type = 3;
|
|
177
|
+
*/
|
|
178
|
+
type?: SchemaType;
|
|
179
|
+
};
|
|
180
|
+
|
|
181
|
+
/**
|
|
182
|
+
* Describes the message flyteidl2.core.Schema.
|
|
183
|
+
* Use `create(SchemaSchema)` to create a new message.
|
|
184
|
+
*/
|
|
185
|
+
export const SchemaSchema: GenMessage<Schema> = /*@__PURE__*/
|
|
186
|
+
messageDesc(file_flyteidl2_core_literals, 5);
|
|
187
|
+
|
|
188
|
+
/**
|
|
189
|
+
* The runtime representation of a tagged union value. See `UnionType` for more details.
|
|
190
|
+
*
|
|
191
|
+
* @generated from message flyteidl2.core.Union
|
|
192
|
+
*/
|
|
193
|
+
export type Union = Message<"flyteidl2.core.Union"> & {
|
|
194
|
+
/**
|
|
195
|
+
* @generated from field: flyteidl2.core.Literal value = 1;
|
|
196
|
+
*/
|
|
197
|
+
value?: Literal;
|
|
198
|
+
|
|
199
|
+
/**
|
|
200
|
+
* @generated from field: flyteidl2.core.LiteralType type = 2;
|
|
201
|
+
*/
|
|
202
|
+
type?: LiteralType;
|
|
203
|
+
};
|
|
204
|
+
|
|
205
|
+
/**
|
|
206
|
+
* Describes the message flyteidl2.core.Union.
|
|
207
|
+
* Use `create(UnionSchema)` to create a new message.
|
|
208
|
+
*/
|
|
209
|
+
export const UnionSchema: GenMessage<Union> = /*@__PURE__*/
|
|
210
|
+
messageDesc(file_flyteidl2_core_literals, 6);
|
|
211
|
+
|
|
212
|
+
/**
|
|
213
|
+
* @generated from message flyteidl2.core.StructuredDatasetMetadata
|
|
214
|
+
*/
|
|
215
|
+
export type StructuredDatasetMetadata = Message<"flyteidl2.core.StructuredDatasetMetadata"> & {
|
|
216
|
+
/**
|
|
217
|
+
* Bundle the type information along with the literal.
|
|
218
|
+
* This is here because StructuredDatasets can often be more defined at run time than at compile time.
|
|
219
|
+
* That is, at compile time you might only declare a task to return a pandas dataframe or a StructuredDataset,
|
|
220
|
+
* without any column information, but at run time, you might have that column information.
|
|
221
|
+
* flytekit python will copy this type information into the literal, from the type information, if not provided by
|
|
222
|
+
* the various plugins (encoders).
|
|
223
|
+
* Since this field is run time generated, it's not used for any type checking.
|
|
224
|
+
*
|
|
225
|
+
* @generated from field: flyteidl2.core.StructuredDatasetType structured_dataset_type = 1;
|
|
226
|
+
*/
|
|
227
|
+
structuredDatasetType?: StructuredDatasetType;
|
|
228
|
+
};
|
|
229
|
+
|
|
230
|
+
/**
|
|
231
|
+
* Describes the message flyteidl2.core.StructuredDatasetMetadata.
|
|
232
|
+
* Use `create(StructuredDatasetMetadataSchema)` to create a new message.
|
|
233
|
+
*/
|
|
234
|
+
export const StructuredDatasetMetadataSchema: GenMessage<StructuredDatasetMetadata> = /*@__PURE__*/
|
|
235
|
+
messageDesc(file_flyteidl2_core_literals, 7);
|
|
236
|
+
|
|
237
|
+
/**
|
|
238
|
+
* @generated from message flyteidl2.core.StructuredDataset
|
|
239
|
+
*/
|
|
240
|
+
export type StructuredDataset = Message<"flyteidl2.core.StructuredDataset"> & {
|
|
241
|
+
/**
|
|
242
|
+
* String location uniquely identifying where the data is.
|
|
243
|
+
* Should start with the storage location (e.g. s3://, gs://, bq://, etc.)
|
|
244
|
+
*
|
|
245
|
+
* @generated from field: string uri = 1;
|
|
246
|
+
*/
|
|
247
|
+
uri: string;
|
|
248
|
+
|
|
249
|
+
/**
|
|
250
|
+
* @generated from field: flyteidl2.core.StructuredDatasetMetadata metadata = 2;
|
|
251
|
+
*/
|
|
252
|
+
metadata?: StructuredDatasetMetadata;
|
|
253
|
+
};
|
|
254
|
+
|
|
255
|
+
/**
|
|
256
|
+
* Describes the message flyteidl2.core.StructuredDataset.
|
|
257
|
+
* Use `create(StructuredDatasetSchema)` to create a new message.
|
|
258
|
+
*/
|
|
259
|
+
export const StructuredDatasetSchema: GenMessage<StructuredDataset> = /*@__PURE__*/
|
|
260
|
+
messageDesc(file_flyteidl2_core_literals, 8);
|
|
261
|
+
|
|
262
|
+
/**
|
|
263
|
+
* @generated from message flyteidl2.core.Scalar
|
|
264
|
+
*/
|
|
265
|
+
export type Scalar = Message<"flyteidl2.core.Scalar"> & {
|
|
266
|
+
/**
|
|
267
|
+
* @generated from oneof flyteidl2.core.Scalar.value
|
|
268
|
+
*/
|
|
269
|
+
value: {
|
|
270
|
+
/**
|
|
271
|
+
* @generated from field: flyteidl2.core.Primitive primitive = 1;
|
|
272
|
+
*/
|
|
273
|
+
value: Primitive;
|
|
274
|
+
case: "primitive";
|
|
275
|
+
} | {
|
|
276
|
+
/**
|
|
277
|
+
* @generated from field: flyteidl2.core.Blob blob = 2;
|
|
278
|
+
*/
|
|
279
|
+
value: Blob;
|
|
280
|
+
case: "blob";
|
|
281
|
+
} | {
|
|
282
|
+
/**
|
|
283
|
+
* @generated from field: flyteidl2.core.Binary binary = 3;
|
|
284
|
+
*/
|
|
285
|
+
value: Binary;
|
|
286
|
+
case: "binary";
|
|
287
|
+
} | {
|
|
288
|
+
/**
|
|
289
|
+
* @generated from field: flyteidl2.core.Schema schema = 4;
|
|
290
|
+
*/
|
|
291
|
+
value: Schema;
|
|
292
|
+
case: "schema";
|
|
293
|
+
} | {
|
|
294
|
+
/**
|
|
295
|
+
* @generated from field: flyteidl2.core.Void none_type = 5;
|
|
296
|
+
*/
|
|
297
|
+
value: Void;
|
|
298
|
+
case: "noneType";
|
|
299
|
+
} | {
|
|
300
|
+
/**
|
|
301
|
+
* @generated from field: flyteidl2.core.Error error = 6;
|
|
302
|
+
*/
|
|
303
|
+
value: Error;
|
|
304
|
+
case: "error";
|
|
305
|
+
} | {
|
|
306
|
+
/**
|
|
307
|
+
* @generated from field: google.protobuf.Struct generic = 7;
|
|
308
|
+
*/
|
|
309
|
+
value: JsonObject;
|
|
310
|
+
case: "generic";
|
|
311
|
+
} | {
|
|
312
|
+
/**
|
|
313
|
+
* @generated from field: flyteidl2.core.StructuredDataset structured_dataset = 8;
|
|
314
|
+
*/
|
|
315
|
+
value: StructuredDataset;
|
|
316
|
+
case: "structuredDataset";
|
|
317
|
+
} | {
|
|
318
|
+
/**
|
|
319
|
+
* @generated from field: flyteidl2.core.Union union = 9;
|
|
320
|
+
*/
|
|
321
|
+
value: Union;
|
|
322
|
+
case: "union";
|
|
323
|
+
} | { case: undefined; value?: undefined };
|
|
324
|
+
};
|
|
325
|
+
|
|
326
|
+
/**
|
|
327
|
+
* Describes the message flyteidl2.core.Scalar.
|
|
328
|
+
* Use `create(ScalarSchema)` to create a new message.
|
|
329
|
+
*/
|
|
330
|
+
export const ScalarSchema: GenMessage<Scalar> = /*@__PURE__*/
|
|
331
|
+
messageDesc(file_flyteidl2_core_literals, 9);
|
|
332
|
+
|
|
333
|
+
/**
|
|
334
|
+
* A simple value. This supports any level of nesting (e.g. array of array of array of Blobs) as well as simple primitives.
|
|
335
|
+
*
|
|
336
|
+
* @generated from message flyteidl2.core.Literal
|
|
337
|
+
*/
|
|
338
|
+
export type Literal = Message<"flyteidl2.core.Literal"> & {
|
|
339
|
+
/**
|
|
340
|
+
* @generated from oneof flyteidl2.core.Literal.value
|
|
341
|
+
*/
|
|
342
|
+
value: {
|
|
343
|
+
/**
|
|
344
|
+
* A simple value.
|
|
345
|
+
*
|
|
346
|
+
* @generated from field: flyteidl2.core.Scalar scalar = 1;
|
|
347
|
+
*/
|
|
348
|
+
value: Scalar;
|
|
349
|
+
case: "scalar";
|
|
350
|
+
} | {
|
|
351
|
+
/**
|
|
352
|
+
* A collection of literals to allow nesting.
|
|
353
|
+
*
|
|
354
|
+
* @generated from field: flyteidl2.core.LiteralCollection collection = 2;
|
|
355
|
+
*/
|
|
356
|
+
value: LiteralCollection;
|
|
357
|
+
case: "collection";
|
|
358
|
+
} | {
|
|
359
|
+
/**
|
|
360
|
+
* A map of strings to literals.
|
|
361
|
+
*
|
|
362
|
+
* @generated from field: flyteidl2.core.LiteralMap map = 3;
|
|
363
|
+
*/
|
|
364
|
+
value: LiteralMap;
|
|
365
|
+
case: "map";
|
|
366
|
+
} | {
|
|
367
|
+
/**
|
|
368
|
+
* Offloaded literal metadata
|
|
369
|
+
* When you deserialize the offloaded metadata, it would be of Literal and its type would be defined by LiteralType stored in offloaded_metadata.
|
|
370
|
+
*
|
|
371
|
+
* @generated from field: flyteidl2.core.LiteralOffloadedMetadata offloaded_metadata = 8;
|
|
372
|
+
*/
|
|
373
|
+
value: LiteralOffloadedMetadata;
|
|
374
|
+
case: "offloadedMetadata";
|
|
375
|
+
} | { case: undefined; value?: undefined };
|
|
376
|
+
|
|
377
|
+
/**
|
|
378
|
+
* A hash representing this literal.
|
|
379
|
+
* This is used for caching purposes. For more details refer to RFC 1893
|
|
380
|
+
* (https://github.com/flyteorg/flyte/blob/master/rfc/system/1893-caching-of-offloaded-objects.md)
|
|
381
|
+
*
|
|
382
|
+
* @generated from field: string hash = 4;
|
|
383
|
+
*/
|
|
384
|
+
hash: string;
|
|
385
|
+
|
|
386
|
+
/**
|
|
387
|
+
* Additional metadata for literals.
|
|
388
|
+
*
|
|
389
|
+
* @generated from field: map<string, string> metadata = 5;
|
|
390
|
+
*/
|
|
391
|
+
metadata: { [key: string]: string };
|
|
392
|
+
};
|
|
393
|
+
|
|
394
|
+
/**
|
|
395
|
+
* Describes the message flyteidl2.core.Literal.
|
|
396
|
+
* Use `create(LiteralSchema)` to create a new message.
|
|
397
|
+
*/
|
|
398
|
+
export const LiteralSchema: GenMessage<Literal> = /*@__PURE__*/
|
|
399
|
+
messageDesc(file_flyteidl2_core_literals, 10);
|
|
400
|
+
|
|
401
|
+
/**
|
|
402
|
+
* A message that contains the metadata of the offloaded data.
|
|
403
|
+
*
|
|
404
|
+
* @generated from message flyteidl2.core.LiteralOffloadedMetadata
|
|
405
|
+
*/
|
|
406
|
+
export type LiteralOffloadedMetadata = Message<"flyteidl2.core.LiteralOffloadedMetadata"> & {
|
|
407
|
+
/**
|
|
408
|
+
* The location of the offloaded core.Literal.
|
|
409
|
+
*
|
|
410
|
+
* @generated from field: string uri = 1;
|
|
411
|
+
*/
|
|
412
|
+
uri: string;
|
|
413
|
+
|
|
414
|
+
/**
|
|
415
|
+
* The size of the offloaded data.
|
|
416
|
+
*
|
|
417
|
+
* @generated from field: uint64 size_bytes = 2;
|
|
418
|
+
*/
|
|
419
|
+
sizeBytes: bigint;
|
|
420
|
+
|
|
421
|
+
/**
|
|
422
|
+
* The inferred literal type of the offloaded data.
|
|
423
|
+
*
|
|
424
|
+
* @generated from field: flyteidl2.core.LiteralType inferred_type = 3;
|
|
425
|
+
*/
|
|
426
|
+
inferredType?: LiteralType;
|
|
427
|
+
};
|
|
428
|
+
|
|
429
|
+
/**
|
|
430
|
+
* Describes the message flyteidl2.core.LiteralOffloadedMetadata.
|
|
431
|
+
* Use `create(LiteralOffloadedMetadataSchema)` to create a new message.
|
|
432
|
+
*/
|
|
433
|
+
export const LiteralOffloadedMetadataSchema: GenMessage<LiteralOffloadedMetadata> = /*@__PURE__*/
|
|
434
|
+
messageDesc(file_flyteidl2_core_literals, 11);
|
|
435
|
+
|
|
436
|
+
/**
|
|
437
|
+
* A collection of literals. This is a workaround since oneofs in proto messages cannot contain a repeated field.
|
|
438
|
+
*
|
|
439
|
+
* @generated from message flyteidl2.core.LiteralCollection
|
|
440
|
+
*/
|
|
441
|
+
export type LiteralCollection = Message<"flyteidl2.core.LiteralCollection"> & {
|
|
442
|
+
/**
|
|
443
|
+
* @generated from field: repeated flyteidl2.core.Literal literals = 1;
|
|
444
|
+
*/
|
|
445
|
+
literals: Literal[];
|
|
446
|
+
};
|
|
447
|
+
|
|
448
|
+
/**
|
|
449
|
+
* Describes the message flyteidl2.core.LiteralCollection.
|
|
450
|
+
* Use `create(LiteralCollectionSchema)` to create a new message.
|
|
451
|
+
*/
|
|
452
|
+
export const LiteralCollectionSchema: GenMessage<LiteralCollection> = /*@__PURE__*/
|
|
453
|
+
messageDesc(file_flyteidl2_core_literals, 12);
|
|
454
|
+
|
|
455
|
+
/**
|
|
456
|
+
* A map of literals. This is a workaround since oneofs in proto messages cannot contain a repeated field.
|
|
457
|
+
*
|
|
458
|
+
* @generated from message flyteidl2.core.LiteralMap
|
|
459
|
+
*/
|
|
460
|
+
export type LiteralMap = Message<"flyteidl2.core.LiteralMap"> & {
|
|
461
|
+
/**
|
|
462
|
+
* @generated from field: map<string, flyteidl2.core.Literal> literals = 1;
|
|
463
|
+
*/
|
|
464
|
+
literals: { [key: string]: Literal };
|
|
465
|
+
};
|
|
466
|
+
|
|
467
|
+
/**
|
|
468
|
+
* Describes the message flyteidl2.core.LiteralMap.
|
|
469
|
+
* Use `create(LiteralMapSchema)` to create a new message.
|
|
470
|
+
*/
|
|
471
|
+
export const LiteralMapSchema: GenMessage<LiteralMap> = /*@__PURE__*/
|
|
472
|
+
messageDesc(file_flyteidl2_core_literals, 13);
|
|
473
|
+
|
|
474
|
+
/**
|
|
475
|
+
* A collection of BindingData items.
|
|
476
|
+
*
|
|
477
|
+
* @generated from message flyteidl2.core.BindingDataCollection
|
|
478
|
+
*/
|
|
479
|
+
export type BindingDataCollection = Message<"flyteidl2.core.BindingDataCollection"> & {
|
|
480
|
+
/**
|
|
481
|
+
* @generated from field: repeated flyteidl2.core.BindingData bindings = 1;
|
|
482
|
+
*/
|
|
483
|
+
bindings: BindingData[];
|
|
484
|
+
};
|
|
485
|
+
|
|
486
|
+
/**
|
|
487
|
+
* Describes the message flyteidl2.core.BindingDataCollection.
|
|
488
|
+
* Use `create(BindingDataCollectionSchema)` to create a new message.
|
|
489
|
+
*/
|
|
490
|
+
export const BindingDataCollectionSchema: GenMessage<BindingDataCollection> = /*@__PURE__*/
|
|
491
|
+
messageDesc(file_flyteidl2_core_literals, 14);
|
|
492
|
+
|
|
493
|
+
/**
|
|
494
|
+
* A map of BindingData items.
|
|
495
|
+
*
|
|
496
|
+
* @generated from message flyteidl2.core.BindingDataMap
|
|
497
|
+
*/
|
|
498
|
+
export type BindingDataMap = Message<"flyteidl2.core.BindingDataMap"> & {
|
|
499
|
+
/**
|
|
500
|
+
* @generated from field: map<string, flyteidl2.core.BindingData> bindings = 1;
|
|
501
|
+
*/
|
|
502
|
+
bindings: { [key: string]: BindingData };
|
|
503
|
+
};
|
|
504
|
+
|
|
505
|
+
/**
|
|
506
|
+
* Describes the message flyteidl2.core.BindingDataMap.
|
|
507
|
+
* Use `create(BindingDataMapSchema)` to create a new message.
|
|
508
|
+
*/
|
|
509
|
+
export const BindingDataMapSchema: GenMessage<BindingDataMap> = /*@__PURE__*/
|
|
510
|
+
messageDesc(file_flyteidl2_core_literals, 15);
|
|
511
|
+
|
|
512
|
+
/**
|
|
513
|
+
* @generated from message flyteidl2.core.UnionInfo
|
|
514
|
+
*/
|
|
515
|
+
export type UnionInfo = Message<"flyteidl2.core.UnionInfo"> & {
|
|
516
|
+
/**
|
|
517
|
+
* @generated from field: flyteidl2.core.LiteralType targetType = 1;
|
|
518
|
+
*/
|
|
519
|
+
targetType?: LiteralType;
|
|
520
|
+
};
|
|
521
|
+
|
|
522
|
+
/**
|
|
523
|
+
* Describes the message flyteidl2.core.UnionInfo.
|
|
524
|
+
* Use `create(UnionInfoSchema)` to create a new message.
|
|
525
|
+
*/
|
|
526
|
+
export const UnionInfoSchema: GenMessage<UnionInfo> = /*@__PURE__*/
|
|
527
|
+
messageDesc(file_flyteidl2_core_literals, 16);
|
|
528
|
+
|
|
529
|
+
/**
|
|
530
|
+
* Specifies either a simple value or a reference to another output.
|
|
531
|
+
*
|
|
532
|
+
* @generated from message flyteidl2.core.BindingData
|
|
533
|
+
*/
|
|
534
|
+
export type BindingData = Message<"flyteidl2.core.BindingData"> & {
|
|
535
|
+
/**
|
|
536
|
+
* @generated from oneof flyteidl2.core.BindingData.value
|
|
537
|
+
*/
|
|
538
|
+
value: {
|
|
539
|
+
/**
|
|
540
|
+
* A simple scalar value.
|
|
541
|
+
*
|
|
542
|
+
* @generated from field: flyteidl2.core.Scalar scalar = 1;
|
|
543
|
+
*/
|
|
544
|
+
value: Scalar;
|
|
545
|
+
case: "scalar";
|
|
546
|
+
} | {
|
|
547
|
+
/**
|
|
548
|
+
* A collection of binding data. This allows nesting of binding data to any number
|
|
549
|
+
* of levels.
|
|
550
|
+
*
|
|
551
|
+
* @generated from field: flyteidl2.core.BindingDataCollection collection = 2;
|
|
552
|
+
*/
|
|
553
|
+
value: BindingDataCollection;
|
|
554
|
+
case: "collection";
|
|
555
|
+
} | {
|
|
556
|
+
/**
|
|
557
|
+
* References an output promised by another node.
|
|
558
|
+
*
|
|
559
|
+
* @generated from field: flyteidl2.core.OutputReference promise = 3;
|
|
560
|
+
*/
|
|
561
|
+
value: OutputReference;
|
|
562
|
+
case: "promise";
|
|
563
|
+
} | {
|
|
564
|
+
/**
|
|
565
|
+
* A map of bindings. The key is always a string.
|
|
566
|
+
*
|
|
567
|
+
* @generated from field: flyteidl2.core.BindingDataMap map = 4;
|
|
568
|
+
*/
|
|
569
|
+
value: BindingDataMap;
|
|
570
|
+
case: "map";
|
|
571
|
+
} | {
|
|
572
|
+
/**
|
|
573
|
+
* Offloaded literal metadata
|
|
574
|
+
* When you deserialize the offloaded metadata, it would be of Literal and its type would be defined by LiteralType stored in offloaded_metadata.
|
|
575
|
+
* Used for nodes that don't have promises from upstream nodes such as ArrayNode subNodes.
|
|
576
|
+
*
|
|
577
|
+
* @generated from field: flyteidl2.core.LiteralOffloadedMetadata offloaded_metadata = 6;
|
|
578
|
+
*/
|
|
579
|
+
value: LiteralOffloadedMetadata;
|
|
580
|
+
case: "offloadedMetadata";
|
|
581
|
+
} | { case: undefined; value?: undefined };
|
|
582
|
+
|
|
583
|
+
/**
|
|
584
|
+
* @generated from field: flyteidl2.core.UnionInfo union = 5;
|
|
585
|
+
*/
|
|
586
|
+
union?: UnionInfo;
|
|
587
|
+
};
|
|
588
|
+
|
|
589
|
+
/**
|
|
590
|
+
* Describes the message flyteidl2.core.BindingData.
|
|
591
|
+
* Use `create(BindingDataSchema)` to create a new message.
|
|
592
|
+
*/
|
|
593
|
+
export const BindingDataSchema: GenMessage<BindingData> = /*@__PURE__*/
|
|
594
|
+
messageDesc(file_flyteidl2_core_literals, 17);
|
|
595
|
+
|
|
596
|
+
/**
|
|
597
|
+
* An input/output binding of a variable to either static value or a node output.
|
|
598
|
+
*
|
|
599
|
+
* @generated from message flyteidl2.core.Binding
|
|
600
|
+
*/
|
|
601
|
+
export type Binding = Message<"flyteidl2.core.Binding"> & {
|
|
602
|
+
/**
|
|
603
|
+
* Variable name must match an input/output variable of the node.
|
|
604
|
+
*
|
|
605
|
+
* @generated from field: string var = 1;
|
|
606
|
+
*/
|
|
607
|
+
var: string;
|
|
608
|
+
|
|
609
|
+
/**
|
|
610
|
+
* Data to use to bind this variable.
|
|
611
|
+
*
|
|
612
|
+
* @generated from field: flyteidl2.core.BindingData binding = 2;
|
|
613
|
+
*/
|
|
614
|
+
binding?: BindingData;
|
|
615
|
+
};
|
|
616
|
+
|
|
617
|
+
/**
|
|
618
|
+
* Describes the message flyteidl2.core.Binding.
|
|
619
|
+
* Use `create(BindingSchema)` to create a new message.
|
|
620
|
+
*/
|
|
621
|
+
export const BindingSchema: GenMessage<Binding> = /*@__PURE__*/
|
|
622
|
+
messageDesc(file_flyteidl2_core_literals, 18);
|
|
623
|
+
|
|
624
|
+
/**
|
|
625
|
+
* A generic key value pair.
|
|
626
|
+
*
|
|
627
|
+
* @generated from message flyteidl2.core.KeyValuePair
|
|
628
|
+
*/
|
|
629
|
+
export type KeyValuePair = Message<"flyteidl2.core.KeyValuePair"> & {
|
|
630
|
+
/**
|
|
631
|
+
* required.
|
|
632
|
+
*
|
|
633
|
+
* @generated from field: string key = 1;
|
|
634
|
+
*/
|
|
635
|
+
key: string;
|
|
636
|
+
|
|
637
|
+
/**
|
|
638
|
+
* +optional.
|
|
639
|
+
*
|
|
640
|
+
* @generated from field: string value = 2;
|
|
641
|
+
*/
|
|
642
|
+
value: string;
|
|
643
|
+
};
|
|
644
|
+
|
|
645
|
+
/**
|
|
646
|
+
* Describes the message flyteidl2.core.KeyValuePair.
|
|
647
|
+
* Use `create(KeyValuePairSchema)` to create a new message.
|
|
648
|
+
*/
|
|
649
|
+
export const KeyValuePairSchema: GenMessage<KeyValuePair> = /*@__PURE__*/
|
|
650
|
+
messageDesc(file_flyteidl2_core_literals, 19);
|
|
651
|
+
|
|
652
|
+
/**
|
|
653
|
+
* Retry strategy associated with an executable unit.
|
|
654
|
+
*
|
|
655
|
+
* @generated from message flyteidl2.core.RetryStrategy
|
|
656
|
+
*/
|
|
657
|
+
export type RetryStrategy = Message<"flyteidl2.core.RetryStrategy"> & {
|
|
658
|
+
/**
|
|
659
|
+
* Number of retries. Retries will be consumed when the job fails with a recoverable error.
|
|
660
|
+
* The number of retries must be less than or equals to 10.
|
|
661
|
+
*
|
|
662
|
+
* @generated from field: uint32 retries = 5;
|
|
663
|
+
*/
|
|
664
|
+
retries: number;
|
|
665
|
+
};
|
|
666
|
+
|
|
667
|
+
/**
|
|
668
|
+
* Describes the message flyteidl2.core.RetryStrategy.
|
|
669
|
+
* Use `create(RetryStrategySchema)` to create a new message.
|
|
670
|
+
*/
|
|
671
|
+
export const RetryStrategySchema: GenMessage<RetryStrategy> = /*@__PURE__*/
|
|
672
|
+
messageDesc(file_flyteidl2_core_literals, 20);
|
|
673
|
+
|