@flyteorg/flyteidl2 2.0.0 → 2.0.2

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.
@@ -1,1299 +0,0 @@
1
- // @generated by protoc-gen-es v2.2.5 with parameter "target=ts,import_extension=.ts"
2
- // @generated from file flyteidl2/datacatalog/datacatalog.proto (package flyteidl2.datacatalog, syntax proto3)
3
- /* eslint-disable */
4
-
5
- import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv1";
6
- import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv1";
7
- import type { Literal } from "../core/literals_pb.ts";
8
- import { file_flyteidl2_core_literals } from "../core/literals_pb.ts";
9
- import type { Duration, Timestamp } from "@bufbuild/protobuf/wkt";
10
- import { file_google_protobuf_duration, file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
11
- import type { Message } from "@bufbuild/protobuf";
12
-
13
- /**
14
- * Describes the file flyteidl2/datacatalog/datacatalog.proto.
15
- */
16
- export const file_flyteidl2_datacatalog_datacatalog: GenFile = /*@__PURE__*/
17
- fileDesc("CidmbHl0ZWlkbDIvZGF0YWNhdGFsb2cvZGF0YWNhdGFsb2cucHJvdG8SFWZseXRlaWRsMi5kYXRhY2F0YWxvZyJHChRDcmVhdGVEYXRhc2V0UmVxdWVzdBIvCgdkYXRhc2V0GAEgASgLMh4uZmx5dGVpZGwyLmRhdGFjYXRhbG9nLkRhdGFzZXQiFwoVQ3JlYXRlRGF0YXNldFJlc3BvbnNlIkYKEUdldERhdGFzZXRSZXF1ZXN0EjEKB2RhdGFzZXQYASABKAsyIC5mbHl0ZWlkbDIuZGF0YWNhdGFsb2cuRGF0YXNldElEIkUKEkdldERhdGFzZXRSZXNwb25zZRIvCgdkYXRhc2V0GAEgASgLMh4uZmx5dGVpZGwyLmRhdGFjYXRhbG9nLkRhdGFzZXQiggEKEkdldEFydGlmYWN0UmVxdWVzdBIxCgdkYXR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WNhdGFsb2cuVXBkYXRlQXJ0aWZhY3RSZXF1ZXN0Gi0uZmx5dGVpZGwyLmRhdGFjYXRhbG9nLlVwZGF0ZUFydGlmYWN0UmVzcG9uc2UShQEKFkdldE9yRXh0ZW5kUmVzZXJ2YXRpb24SNC5mbHl0ZWlkbDIuZGF0YWNhdGFsb2cuR2V0T3JFeHRlbmRSZXNlcnZhdGlvblJlcXVlc3QaNS5mbHl0ZWlkbDIuZGF0YWNhdGFsb2cuR2V0T3JFeHRlbmRSZXNlcnZhdGlvblJlc3BvbnNlEnkKElJlbGVhc2VSZXNlcnZhdGlvbhIwLmZseXRlaWRsMi5kYXRhY2F0YWxvZy5SZWxlYXNlUmVzZXJ2YXRpb25SZXF1ZXN0GjEuZmx5dGVpZGwyLmRhdGFjYXRhbG9nLlJlbGVhc2VSZXNlcnZhdGlvblJlc3BvbnNlQt8BChljb20uZmx5dGVpZGwyLmRhdGFjYXRhbG9nQhBEYXRhY2F0YWxvZ1Byb3RvSAJQAVo5Z2l0aHViLmNvbS9mbHl0ZW9yZy9mbHl0ZS92Mi9nZW4vZ28vZmx5dGVpZGwyL2RhdGFjYXRhbG9nogIDRkRYqgIVRmx5dGVpZGwyLkRhdGFjYXRhbG9nygIVRmx5dGVpZGwyXERhdGFjYXRhbG9n4gIhRmx5dGVpZGwyXERhdGFjYXRhbG9nXEdQQk1ldGFkYXRh6gIWRmx5dGVpZGwyOjpEYXRhY2F0YWxvZ2IGcHJvdG8z", [file_flyteidl2_core_literals, file_google_protobuf_duration, file_google_protobuf_timestamp]);
18
-
19
- /**
20
- *
21
- * Request message for creating a Dataset.
22
- *
23
- * @generated from message flyteidl2.datacatalog.CreateDatasetRequest
24
- */
25
- export type CreateDatasetRequest = Message<"flyteidl2.datacatalog.CreateDatasetRequest"> & {
26
- /**
27
- * @generated from field: flyteidl2.datacatalog.Dataset dataset = 1;
28
- */
29
- dataset?: Dataset;
30
- };
31
-
32
- /**
33
- * Describes the message flyteidl2.datacatalog.CreateDatasetRequest.
34
- * Use `create(CreateDatasetRequestSchema)` to create a new message.
35
- */
36
- export const CreateDatasetRequestSchema: GenMessage<CreateDatasetRequest> = /*@__PURE__*/
37
- messageDesc(file_flyteidl2_datacatalog_datacatalog, 0);
38
-
39
- /**
40
- *
41
- * Response message for creating a Dataset
42
- *
43
- * @generated from message flyteidl2.datacatalog.CreateDatasetResponse
44
- */
45
- export type CreateDatasetResponse = Message<"flyteidl2.datacatalog.CreateDatasetResponse"> & {
46
- };
47
-
48
- /**
49
- * Describes the message flyteidl2.datacatalog.CreateDatasetResponse.
50
- * Use `create(CreateDatasetResponseSchema)` to create a new message.
51
- */
52
- export const CreateDatasetResponseSchema: GenMessage<CreateDatasetResponse> = /*@__PURE__*/
53
- messageDesc(file_flyteidl2_datacatalog_datacatalog, 1);
54
-
55
- /**
56
- *
57
- * Request message for retrieving a Dataset. The Dataset is retrieved by it's unique identifier
58
- * which is a combination of several fields.
59
- *
60
- * @generated from message flyteidl2.datacatalog.GetDatasetRequest
61
- */
62
- export type GetDatasetRequest = Message<"flyteidl2.datacatalog.GetDatasetRequest"> & {
63
- /**
64
- * @generated from field: flyteidl2.datacatalog.DatasetID dataset = 1;
65
- */
66
- dataset?: DatasetID;
67
- };
68
-
69
- /**
70
- * Describes the message flyteidl2.datacatalog.GetDatasetRequest.
71
- * Use `create(GetDatasetRequestSchema)` to create a new message.
72
- */
73
- export const GetDatasetRequestSchema: GenMessage<GetDatasetRequest> = /*@__PURE__*/
74
- messageDesc(file_flyteidl2_datacatalog_datacatalog, 2);
75
-
76
- /**
77
- *
78
- * Response message for retrieving a Dataset. The response will include the metadata for the
79
- * Dataset.
80
- *
81
- * @generated from message flyteidl2.datacatalog.GetDatasetResponse
82
- */
83
- export type GetDatasetResponse = Message<"flyteidl2.datacatalog.GetDatasetResponse"> & {
84
- /**
85
- * @generated from field: flyteidl2.datacatalog.Dataset dataset = 1;
86
- */
87
- dataset?: Dataset;
88
- };
89
-
90
- /**
91
- * Describes the message flyteidl2.datacatalog.GetDatasetResponse.
92
- * Use `create(GetDatasetResponseSchema)` to create a new message.
93
- */
94
- export const GetDatasetResponseSchema: GenMessage<GetDatasetResponse> = /*@__PURE__*/
95
- messageDesc(file_flyteidl2_datacatalog_datacatalog, 3);
96
-
97
- /**
98
- *
99
- * Request message for retrieving an Artifact. Retrieve an artifact based on a query handle that
100
- * can be one of artifact_id or tag. The result returned will include the artifact data and metadata
101
- * associated with the artifact.
102
- *
103
- * @generated from message flyteidl2.datacatalog.GetArtifactRequest
104
- */
105
- export type GetArtifactRequest = Message<"flyteidl2.datacatalog.GetArtifactRequest"> & {
106
- /**
107
- * @generated from field: flyteidl2.datacatalog.DatasetID dataset = 1;
108
- */
109
- dataset?: DatasetID;
110
-
111
- /**
112
- * @generated from oneof flyteidl2.datacatalog.GetArtifactRequest.query_handle
113
- */
114
- queryHandle: {
115
- /**
116
- * @generated from field: string artifact_id = 2;
117
- */
118
- value: string;
119
- case: "artifactId";
120
- } | {
121
- /**
122
- * @generated from field: string tag_name = 3;
123
- */
124
- value: string;
125
- case: "tagName";
126
- } | { case: undefined; value?: undefined };
127
- };
128
-
129
- /**
130
- * Describes the message flyteidl2.datacatalog.GetArtifactRequest.
131
- * Use `create(GetArtifactRequestSchema)` to create a new message.
132
- */
133
- export const GetArtifactRequestSchema: GenMessage<GetArtifactRequest> = /*@__PURE__*/
134
- messageDesc(file_flyteidl2_datacatalog_datacatalog, 4);
135
-
136
- /**
137
- *
138
- * Response message for retrieving an Artifact. The result returned will include the artifact data
139
- * and metadata associated with the artifact.
140
- *
141
- * @generated from message flyteidl2.datacatalog.GetArtifactResponse
142
- */
143
- export type GetArtifactResponse = Message<"flyteidl2.datacatalog.GetArtifactResponse"> & {
144
- /**
145
- * @generated from field: flyteidl2.datacatalog.Artifact artifact = 1;
146
- */
147
- artifact?: Artifact;
148
- };
149
-
150
- /**
151
- * Describes the message flyteidl2.datacatalog.GetArtifactResponse.
152
- * Use `create(GetArtifactResponseSchema)` to create a new message.
153
- */
154
- export const GetArtifactResponseSchema: GenMessage<GetArtifactResponse> = /*@__PURE__*/
155
- messageDesc(file_flyteidl2_datacatalog_datacatalog, 5);
156
-
157
- /**
158
- *
159
- * Request message for creating an Artifact and its associated artifact Data.
160
- *
161
- * @generated from message flyteidl2.datacatalog.CreateArtifactRequest
162
- */
163
- export type CreateArtifactRequest = Message<"flyteidl2.datacatalog.CreateArtifactRequest"> & {
164
- /**
165
- * @generated from field: flyteidl2.datacatalog.Artifact artifact = 1;
166
- */
167
- artifact?: Artifact;
168
- };
169
-
170
- /**
171
- * Describes the message flyteidl2.datacatalog.CreateArtifactRequest.
172
- * Use `create(CreateArtifactRequestSchema)` to create a new message.
173
- */
174
- export const CreateArtifactRequestSchema: GenMessage<CreateArtifactRequest> = /*@__PURE__*/
175
- messageDesc(file_flyteidl2_datacatalog_datacatalog, 6);
176
-
177
- /**
178
- *
179
- * Response message for creating an Artifact.
180
- *
181
- * @generated from message flyteidl2.datacatalog.CreateArtifactResponse
182
- */
183
- export type CreateArtifactResponse = Message<"flyteidl2.datacatalog.CreateArtifactResponse"> & {
184
- };
185
-
186
- /**
187
- * Describes the message flyteidl2.datacatalog.CreateArtifactResponse.
188
- * Use `create(CreateArtifactResponseSchema)` to create a new message.
189
- */
190
- export const CreateArtifactResponseSchema: GenMessage<CreateArtifactResponse> = /*@__PURE__*/
191
- messageDesc(file_flyteidl2_datacatalog_datacatalog, 7);
192
-
193
- /**
194
- *
195
- * Request message for tagging an Artifact.
196
- *
197
- * @generated from message flyteidl2.datacatalog.AddTagRequest
198
- */
199
- export type AddTagRequest = Message<"flyteidl2.datacatalog.AddTagRequest"> & {
200
- /**
201
- * @generated from field: flyteidl2.datacatalog.Tag tag = 1;
202
- */
203
- tag?: Tag;
204
- };
205
-
206
- /**
207
- * Describes the message flyteidl2.datacatalog.AddTagRequest.
208
- * Use `create(AddTagRequestSchema)` to create a new message.
209
- */
210
- export const AddTagRequestSchema: GenMessage<AddTagRequest> = /*@__PURE__*/
211
- messageDesc(file_flyteidl2_datacatalog_datacatalog, 8);
212
-
213
- /**
214
- *
215
- * Response message for tagging an Artifact.
216
- *
217
- * @generated from message flyteidl2.datacatalog.AddTagResponse
218
- */
219
- export type AddTagResponse = Message<"flyteidl2.datacatalog.AddTagResponse"> & {
220
- };
221
-
222
- /**
223
- * Describes the message flyteidl2.datacatalog.AddTagResponse.
224
- * Use `create(AddTagResponseSchema)` to create a new message.
225
- */
226
- export const AddTagResponseSchema: GenMessage<AddTagResponse> = /*@__PURE__*/
227
- messageDesc(file_flyteidl2_datacatalog_datacatalog, 9);
228
-
229
- /**
230
- * List the artifacts that belong to the Dataset, optionally filtered using filtered expression.
231
- *
232
- * @generated from message flyteidl2.datacatalog.ListArtifactsRequest
233
- */
234
- export type ListArtifactsRequest = Message<"flyteidl2.datacatalog.ListArtifactsRequest"> & {
235
- /**
236
- * Use a datasetID for which you want to retrieve the artifacts
237
- *
238
- * @generated from field: flyteidl2.datacatalog.DatasetID dataset = 1;
239
- */
240
- dataset?: DatasetID;
241
-
242
- /**
243
- * Apply the filter expression to this query
244
- *
245
- * @generated from field: flyteidl2.datacatalog.FilterExpression filter = 2;
246
- */
247
- filter?: FilterExpression;
248
-
249
- /**
250
- * Pagination options to get a page of artifacts
251
- *
252
- * @generated from field: flyteidl2.datacatalog.PaginationOptions pagination = 3;
253
- */
254
- pagination?: PaginationOptions;
255
- };
256
-
257
- /**
258
- * Describes the message flyteidl2.datacatalog.ListArtifactsRequest.
259
- * Use `create(ListArtifactsRequestSchema)` to create a new message.
260
- */
261
- export const ListArtifactsRequestSchema: GenMessage<ListArtifactsRequest> = /*@__PURE__*/
262
- messageDesc(file_flyteidl2_datacatalog_datacatalog, 10);
263
-
264
- /**
265
- * Response to list artifacts
266
- *
267
- * @generated from message flyteidl2.datacatalog.ListArtifactsResponse
268
- */
269
- export type ListArtifactsResponse = Message<"flyteidl2.datacatalog.ListArtifactsResponse"> & {
270
- /**
271
- * The list of artifacts
272
- *
273
- * @generated from field: repeated flyteidl2.datacatalog.Artifact artifacts = 1;
274
- */
275
- artifacts: Artifact[];
276
-
277
- /**
278
- * Token to use to request the next page, pass this into the next requests PaginationOptions
279
- *
280
- * @generated from field: string next_token = 2;
281
- */
282
- nextToken: string;
283
- };
284
-
285
- /**
286
- * Describes the message flyteidl2.datacatalog.ListArtifactsResponse.
287
- * Use `create(ListArtifactsResponseSchema)` to create a new message.
288
- */
289
- export const ListArtifactsResponseSchema: GenMessage<ListArtifactsResponse> = /*@__PURE__*/
290
- messageDesc(file_flyteidl2_datacatalog_datacatalog, 11);
291
-
292
- /**
293
- * List the datasets for the given query
294
- *
295
- * @generated from message flyteidl2.datacatalog.ListDatasetsRequest
296
- */
297
- export type ListDatasetsRequest = Message<"flyteidl2.datacatalog.ListDatasetsRequest"> & {
298
- /**
299
- * Apply the filter expression to this query
300
- *
301
- * @generated from field: flyteidl2.datacatalog.FilterExpression filter = 1;
302
- */
303
- filter?: FilterExpression;
304
-
305
- /**
306
- * Pagination options to get a page of datasets
307
- *
308
- * @generated from field: flyteidl2.datacatalog.PaginationOptions pagination = 2;
309
- */
310
- pagination?: PaginationOptions;
311
- };
312
-
313
- /**
314
- * Describes the message flyteidl2.datacatalog.ListDatasetsRequest.
315
- * Use `create(ListDatasetsRequestSchema)` to create a new message.
316
- */
317
- export const ListDatasetsRequestSchema: GenMessage<ListDatasetsRequest> = /*@__PURE__*/
318
- messageDesc(file_flyteidl2_datacatalog_datacatalog, 12);
319
-
320
- /**
321
- * List the datasets response with token for next pagination
322
- *
323
- * @generated from message flyteidl2.datacatalog.ListDatasetsResponse
324
- */
325
- export type ListDatasetsResponse = Message<"flyteidl2.datacatalog.ListDatasetsResponse"> & {
326
- /**
327
- * The list of datasets
328
- *
329
- * @generated from field: repeated flyteidl2.datacatalog.Dataset datasets = 1;
330
- */
331
- datasets: Dataset[];
332
-
333
- /**
334
- * Token to use to request the next page, pass this into the next requests PaginationOptions
335
- *
336
- * @generated from field: string next_token = 2;
337
- */
338
- nextToken: string;
339
- };
340
-
341
- /**
342
- * Describes the message flyteidl2.datacatalog.ListDatasetsResponse.
343
- * Use `create(ListDatasetsResponseSchema)` to create a new message.
344
- */
345
- export const ListDatasetsResponseSchema: GenMessage<ListDatasetsResponse> = /*@__PURE__*/
346
- messageDesc(file_flyteidl2_datacatalog_datacatalog, 13);
347
-
348
- /**
349
- *
350
- * Request message for updating an Artifact and overwriting its associated ArtifactData.
351
- *
352
- * @generated from message flyteidl2.datacatalog.UpdateArtifactRequest
353
- */
354
- export type UpdateArtifactRequest = Message<"flyteidl2.datacatalog.UpdateArtifactRequest"> & {
355
- /**
356
- * ID of dataset the artifact is associated with
357
- *
358
- * @generated from field: flyteidl2.datacatalog.DatasetID dataset = 1;
359
- */
360
- dataset?: DatasetID;
361
-
362
- /**
363
- * Either ID of artifact or name of tag to retrieve existing artifact from
364
- *
365
- * @generated from oneof flyteidl2.datacatalog.UpdateArtifactRequest.query_handle
366
- */
367
- queryHandle: {
368
- /**
369
- * @generated from field: string artifact_id = 2;
370
- */
371
- value: string;
372
- case: "artifactId";
373
- } | {
374
- /**
375
- * @generated from field: string tag_name = 3;
376
- */
377
- value: string;
378
- case: "tagName";
379
- } | { case: undefined; value?: undefined };
380
-
381
- /**
382
- * List of data to overwrite stored artifact data with. Must contain ALL data for updated Artifact as any missing
383
- * ArtifactData entries will be removed from the underlying blob storage and database.
384
- *
385
- * @generated from field: repeated flyteidl2.datacatalog.ArtifactData data = 4;
386
- */
387
- data: ArtifactData[];
388
-
389
- /**
390
- * Update execution metadata(including execution domain, name, node, project data) when overwriting cache
391
- *
392
- * @generated from field: flyteidl2.datacatalog.Metadata metadata = 5;
393
- */
394
- metadata?: Metadata;
395
- };
396
-
397
- /**
398
- * Describes the message flyteidl2.datacatalog.UpdateArtifactRequest.
399
- * Use `create(UpdateArtifactRequestSchema)` to create a new message.
400
- */
401
- export const UpdateArtifactRequestSchema: GenMessage<UpdateArtifactRequest> = /*@__PURE__*/
402
- messageDesc(file_flyteidl2_datacatalog_datacatalog, 14);
403
-
404
- /**
405
- *
406
- * Response message for updating an Artifact.
407
- *
408
- * @generated from message flyteidl2.datacatalog.UpdateArtifactResponse
409
- */
410
- export type UpdateArtifactResponse = Message<"flyteidl2.datacatalog.UpdateArtifactResponse"> & {
411
- /**
412
- * The unique ID of the artifact updated
413
- *
414
- * @generated from field: string artifact_id = 1;
415
- */
416
- artifactId: string;
417
- };
418
-
419
- /**
420
- * Describes the message flyteidl2.datacatalog.UpdateArtifactResponse.
421
- * Use `create(UpdateArtifactResponseSchema)` to create a new message.
422
- */
423
- export const UpdateArtifactResponseSchema: GenMessage<UpdateArtifactResponse> = /*@__PURE__*/
424
- messageDesc(file_flyteidl2_datacatalog_datacatalog, 15);
425
-
426
- /**
427
- *
428
- * ReservationID message that is composed of several string fields.
429
- *
430
- * @generated from message flyteidl2.datacatalog.ReservationID
431
- */
432
- export type ReservationID = Message<"flyteidl2.datacatalog.ReservationID"> & {
433
- /**
434
- * The unique ID for the reserved dataset
435
- *
436
- * @generated from field: flyteidl2.datacatalog.DatasetID dataset_id = 1;
437
- */
438
- datasetId?: DatasetID;
439
-
440
- /**
441
- * The specific artifact tag for the reservation
442
- *
443
- * @generated from field: string tag_name = 2;
444
- */
445
- tagName: string;
446
- };
447
-
448
- /**
449
- * Describes the message flyteidl2.datacatalog.ReservationID.
450
- * Use `create(ReservationIDSchema)` to create a new message.
451
- */
452
- export const ReservationIDSchema: GenMessage<ReservationID> = /*@__PURE__*/
453
- messageDesc(file_flyteidl2_datacatalog_datacatalog, 16);
454
-
455
- /**
456
- * Try to acquire or extend an artifact reservation. If an active reservation exists, retrieve that instance.
457
- *
458
- * @generated from message flyteidl2.datacatalog.GetOrExtendReservationRequest
459
- */
460
- export type GetOrExtendReservationRequest = Message<"flyteidl2.datacatalog.GetOrExtendReservationRequest"> & {
461
- /**
462
- * The unique ID for the reservation
463
- *
464
- * @generated from field: flyteidl2.datacatalog.ReservationID reservation_id = 1;
465
- */
466
- reservationId?: ReservationID;
467
-
468
- /**
469
- * The unique ID of the owner for the reservation
470
- *
471
- * @generated from field: string owner_id = 2;
472
- */
473
- ownerId: string;
474
-
475
- /**
476
- * Requested reservation extension heartbeat interval
477
- *
478
- * @generated from field: google.protobuf.Duration heartbeat_interval = 3;
479
- */
480
- heartbeatInterval?: Duration;
481
- };
482
-
483
- /**
484
- * Describes the message flyteidl2.datacatalog.GetOrExtendReservationRequest.
485
- * Use `create(GetOrExtendReservationRequestSchema)` to create a new message.
486
- */
487
- export const GetOrExtendReservationRequestSchema: GenMessage<GetOrExtendReservationRequest> = /*@__PURE__*/
488
- messageDesc(file_flyteidl2_datacatalog_datacatalog, 17);
489
-
490
- /**
491
- * A reservation including owner, heartbeat interval, expiration timestamp, and various metadata.
492
- *
493
- * @generated from message flyteidl2.datacatalog.Reservation
494
- */
495
- export type Reservation = Message<"flyteidl2.datacatalog.Reservation"> & {
496
- /**
497
- * The unique ID for the reservation
498
- *
499
- * @generated from field: flyteidl2.datacatalog.ReservationID reservation_id = 1;
500
- */
501
- reservationId?: ReservationID;
502
-
503
- /**
504
- * The unique ID of the owner for the reservation
505
- *
506
- * @generated from field: string owner_id = 2;
507
- */
508
- ownerId: string;
509
-
510
- /**
511
- * Recommended heartbeat interval to extend reservation
512
- *
513
- * @generated from field: google.protobuf.Duration heartbeat_interval = 3;
514
- */
515
- heartbeatInterval?: Duration;
516
-
517
- /**
518
- * Expiration timestamp of this reservation
519
- *
520
- * @generated from field: google.protobuf.Timestamp expires_at = 4;
521
- */
522
- expiresAt?: Timestamp;
523
-
524
- /**
525
- * Free-form metadata associated with the artifact
526
- *
527
- * @generated from field: flyteidl2.datacatalog.Metadata metadata = 6;
528
- */
529
- metadata?: Metadata;
530
- };
531
-
532
- /**
533
- * Describes the message flyteidl2.datacatalog.Reservation.
534
- * Use `create(ReservationSchema)` to create a new message.
535
- */
536
- export const ReservationSchema: GenMessage<Reservation> = /*@__PURE__*/
537
- messageDesc(file_flyteidl2_datacatalog_datacatalog, 18);
538
-
539
- /**
540
- * Response including either a newly minted reservation or the existing reservation
541
- *
542
- * @generated from message flyteidl2.datacatalog.GetOrExtendReservationResponse
543
- */
544
- export type GetOrExtendReservationResponse = Message<"flyteidl2.datacatalog.GetOrExtendReservationResponse"> & {
545
- /**
546
- * The reservation to be acquired or extended
547
- *
548
- * @generated from field: flyteidl2.datacatalog.Reservation reservation = 1;
549
- */
550
- reservation?: Reservation;
551
- };
552
-
553
- /**
554
- * Describes the message flyteidl2.datacatalog.GetOrExtendReservationResponse.
555
- * Use `create(GetOrExtendReservationResponseSchema)` to create a new message.
556
- */
557
- export const GetOrExtendReservationResponseSchema: GenMessage<GetOrExtendReservationResponse> = /*@__PURE__*/
558
- messageDesc(file_flyteidl2_datacatalog_datacatalog, 19);
559
-
560
- /**
561
- * Request to release reservation
562
- *
563
- * @generated from message flyteidl2.datacatalog.ReleaseReservationRequest
564
- */
565
- export type ReleaseReservationRequest = Message<"flyteidl2.datacatalog.ReleaseReservationRequest"> & {
566
- /**
567
- * The unique ID for the reservation
568
- *
569
- * @generated from field: flyteidl2.datacatalog.ReservationID reservation_id = 1;
570
- */
571
- reservationId?: ReservationID;
572
-
573
- /**
574
- * The unique ID of the owner for the reservation
575
- *
576
- * @generated from field: string owner_id = 2;
577
- */
578
- ownerId: string;
579
- };
580
-
581
- /**
582
- * Describes the message flyteidl2.datacatalog.ReleaseReservationRequest.
583
- * Use `create(ReleaseReservationRequestSchema)` to create a new message.
584
- */
585
- export const ReleaseReservationRequestSchema: GenMessage<ReleaseReservationRequest> = /*@__PURE__*/
586
- messageDesc(file_flyteidl2_datacatalog_datacatalog, 20);
587
-
588
- /**
589
- * Response to release reservation
590
- *
591
- * @generated from message flyteidl2.datacatalog.ReleaseReservationResponse
592
- */
593
- export type ReleaseReservationResponse = Message<"flyteidl2.datacatalog.ReleaseReservationResponse"> & {
594
- };
595
-
596
- /**
597
- * Describes the message flyteidl2.datacatalog.ReleaseReservationResponse.
598
- * Use `create(ReleaseReservationResponseSchema)` to create a new message.
599
- */
600
- export const ReleaseReservationResponseSchema: GenMessage<ReleaseReservationResponse> = /*@__PURE__*/
601
- messageDesc(file_flyteidl2_datacatalog_datacatalog, 21);
602
-
603
- /**
604
- *
605
- * Dataset message. It is uniquely identified by DatasetID.
606
- *
607
- * @generated from message flyteidl2.datacatalog.Dataset
608
- */
609
- export type Dataset = Message<"flyteidl2.datacatalog.Dataset"> & {
610
- /**
611
- * @generated from field: flyteidl2.datacatalog.DatasetID id = 1;
612
- */
613
- id?: DatasetID;
614
-
615
- /**
616
- * @generated from field: flyteidl2.datacatalog.Metadata metadata = 2;
617
- */
618
- metadata?: Metadata;
619
-
620
- /**
621
- * @generated from field: repeated string partitionKeys = 3;
622
- */
623
- partitionKeys: string[];
624
- };
625
-
626
- /**
627
- * Describes the message flyteidl2.datacatalog.Dataset.
628
- * Use `create(DatasetSchema)` to create a new message.
629
- */
630
- export const DatasetSchema: GenMessage<Dataset> = /*@__PURE__*/
631
- messageDesc(file_flyteidl2_datacatalog_datacatalog, 22);
632
-
633
- /**
634
- *
635
- * An artifact could have multiple partitions and each partition can have an arbitrary string key/value pair
636
- *
637
- * @generated from message flyteidl2.datacatalog.Partition
638
- */
639
- export type Partition = Message<"flyteidl2.datacatalog.Partition"> & {
640
- /**
641
- * @generated from field: string key = 1;
642
- */
643
- key: string;
644
-
645
- /**
646
- * @generated from field: string value = 2;
647
- */
648
- value: string;
649
- };
650
-
651
- /**
652
- * Describes the message flyteidl2.datacatalog.Partition.
653
- * Use `create(PartitionSchema)` to create a new message.
654
- */
655
- export const PartitionSchema: GenMessage<Partition> = /*@__PURE__*/
656
- messageDesc(file_flyteidl2_datacatalog_datacatalog, 23);
657
-
658
- /**
659
- *
660
- * DatasetID message that is composed of several string fields.
661
- *
662
- * @generated from message flyteidl2.datacatalog.DatasetID
663
- */
664
- export type DatasetID = Message<"flyteidl2.datacatalog.DatasetID"> & {
665
- /**
666
- * The name of the project
667
- *
668
- * @generated from field: string project = 1;
669
- */
670
- project: string;
671
-
672
- /**
673
- * The name of the dataset
674
- *
675
- * @generated from field: string name = 2;
676
- */
677
- name: string;
678
-
679
- /**
680
- * The domain (eg. environment)
681
- *
682
- * @generated from field: string domain = 3;
683
- */
684
- domain: string;
685
-
686
- /**
687
- * Version of the data schema
688
- *
689
- * @generated from field: string version = 4;
690
- */
691
- version: string;
692
-
693
- /**
694
- * UUID for the dataset (if set the above fields are optional)
695
- *
696
- * @generated from field: string UUID = 5;
697
- */
698
- UUID: string;
699
-
700
- /**
701
- * Optional, org key applied to the resource.
702
- *
703
- * @generated from field: string org = 6;
704
- */
705
- org: string;
706
- };
707
-
708
- /**
709
- * Describes the message flyteidl2.datacatalog.DatasetID.
710
- * Use `create(DatasetIDSchema)` to create a new message.
711
- */
712
- export const DatasetIDSchema: GenMessage<DatasetID> = /*@__PURE__*/
713
- messageDesc(file_flyteidl2_datacatalog_datacatalog, 24);
714
-
715
- /**
716
- *
717
- * Artifact message. It is composed of several string fields.
718
- *
719
- * @generated from message flyteidl2.datacatalog.Artifact
720
- */
721
- export type Artifact = Message<"flyteidl2.datacatalog.Artifact"> & {
722
- /**
723
- * The unique ID of the artifact
724
- *
725
- * @generated from field: string id = 1;
726
- */
727
- id: string;
728
-
729
- /**
730
- * The Dataset that the artifact belongs to
731
- *
732
- * @generated from field: flyteidl2.datacatalog.DatasetID dataset = 2;
733
- */
734
- dataset?: DatasetID;
735
-
736
- /**
737
- * A list of data that is associated with the artifact
738
- *
739
- * @generated from field: repeated flyteidl2.datacatalog.ArtifactData data = 3;
740
- */
741
- data: ArtifactData[];
742
-
743
- /**
744
- * Free-form metadata associated with the artifact
745
- *
746
- * @generated from field: flyteidl2.datacatalog.Metadata metadata = 4;
747
- */
748
- metadata?: Metadata;
749
-
750
- /**
751
- * @generated from field: repeated flyteidl2.datacatalog.Partition partitions = 5;
752
- */
753
- partitions: Partition[];
754
-
755
- /**
756
- * @generated from field: repeated flyteidl2.datacatalog.Tag tags = 6;
757
- */
758
- tags: Tag[];
759
-
760
- /**
761
- * creation timestamp of artifact, autogenerated by service
762
- *
763
- * @generated from field: google.protobuf.Timestamp created_at = 7;
764
- */
765
- createdAt?: Timestamp;
766
- };
767
-
768
- /**
769
- * Describes the message flyteidl2.datacatalog.Artifact.
770
- * Use `create(ArtifactSchema)` to create a new message.
771
- */
772
- export const ArtifactSchema: GenMessage<Artifact> = /*@__PURE__*/
773
- messageDesc(file_flyteidl2_datacatalog_datacatalog, 25);
774
-
775
- /**
776
- *
777
- * ArtifactData that belongs to an artifact
778
- *
779
- * @generated from message flyteidl2.datacatalog.ArtifactData
780
- */
781
- export type ArtifactData = Message<"flyteidl2.datacatalog.ArtifactData"> & {
782
- /**
783
- * @generated from field: string name = 1;
784
- */
785
- name: string;
786
-
787
- /**
788
- * @generated from field: flyteidl2.core.Literal value = 2;
789
- */
790
- value?: Literal;
791
- };
792
-
793
- /**
794
- * Describes the message flyteidl2.datacatalog.ArtifactData.
795
- * Use `create(ArtifactDataSchema)` to create a new message.
796
- */
797
- export const ArtifactDataSchema: GenMessage<ArtifactData> = /*@__PURE__*/
798
- messageDesc(file_flyteidl2_datacatalog_datacatalog, 26);
799
-
800
- /**
801
- *
802
- * Tag message that is unique to a Dataset. It is associated to a single artifact and
803
- * can be retrieved by name later.
804
- *
805
- * @generated from message flyteidl2.datacatalog.Tag
806
- */
807
- export type Tag = Message<"flyteidl2.datacatalog.Tag"> & {
808
- /**
809
- * Name of tag
810
- *
811
- * @generated from field: string name = 1;
812
- */
813
- name: string;
814
-
815
- /**
816
- * The tagged artifact
817
- *
818
- * @generated from field: string artifact_id = 2;
819
- */
820
- artifactId: string;
821
-
822
- /**
823
- * The Dataset that this tag belongs to
824
- *
825
- * @generated from field: flyteidl2.datacatalog.DatasetID dataset = 3;
826
- */
827
- dataset?: DatasetID;
828
- };
829
-
830
- /**
831
- * Describes the message flyteidl2.datacatalog.Tag.
832
- * Use `create(TagSchema)` to create a new message.
833
- */
834
- export const TagSchema: GenMessage<Tag> = /*@__PURE__*/
835
- messageDesc(file_flyteidl2_datacatalog_datacatalog, 27);
836
-
837
- /**
838
- *
839
- * Metadata representation for artifacts and datasets
840
- *
841
- * @generated from message flyteidl2.datacatalog.Metadata
842
- */
843
- export type Metadata = Message<"flyteidl2.datacatalog.Metadata"> & {
844
- /**
845
- * key map is a dictionary of key/val strings that represent metadata
846
- *
847
- * @generated from field: map<string, string> key_map = 1;
848
- */
849
- keyMap: { [key: string]: string };
850
- };
851
-
852
- /**
853
- * Describes the message flyteidl2.datacatalog.Metadata.
854
- * Use `create(MetadataSchema)` to create a new message.
855
- */
856
- export const MetadataSchema: GenMessage<Metadata> = /*@__PURE__*/
857
- messageDesc(file_flyteidl2_datacatalog_datacatalog, 28);
858
-
859
- /**
860
- * Filter expression that is composed of a combination of single filters
861
- *
862
- * @generated from message flyteidl2.datacatalog.FilterExpression
863
- */
864
- export type FilterExpression = Message<"flyteidl2.datacatalog.FilterExpression"> & {
865
- /**
866
- * @generated from field: repeated flyteidl2.datacatalog.SinglePropertyFilter filters = 1;
867
- */
868
- filters: SinglePropertyFilter[];
869
- };
870
-
871
- /**
872
- * Describes the message flyteidl2.datacatalog.FilterExpression.
873
- * Use `create(FilterExpressionSchema)` to create a new message.
874
- */
875
- export const FilterExpressionSchema: GenMessage<FilterExpression> = /*@__PURE__*/
876
- messageDesc(file_flyteidl2_datacatalog_datacatalog, 29);
877
-
878
- /**
879
- * A single property to filter on.
880
- *
881
- * @generated from message flyteidl2.datacatalog.SinglePropertyFilter
882
- */
883
- export type SinglePropertyFilter = Message<"flyteidl2.datacatalog.SinglePropertyFilter"> & {
884
- /**
885
- * @generated from oneof flyteidl2.datacatalog.SinglePropertyFilter.property_filter
886
- */
887
- propertyFilter: {
888
- /**
889
- * @generated from field: flyteidl2.datacatalog.TagPropertyFilter tag_filter = 1;
890
- */
891
- value: TagPropertyFilter;
892
- case: "tagFilter";
893
- } | {
894
- /**
895
- * @generated from field: flyteidl2.datacatalog.PartitionPropertyFilter partition_filter = 2;
896
- */
897
- value: PartitionPropertyFilter;
898
- case: "partitionFilter";
899
- } | {
900
- /**
901
- * @generated from field: flyteidl2.datacatalog.ArtifactPropertyFilter artifact_filter = 3;
902
- */
903
- value: ArtifactPropertyFilter;
904
- case: "artifactFilter";
905
- } | {
906
- /**
907
- * @generated from field: flyteidl2.datacatalog.DatasetPropertyFilter dataset_filter = 4;
908
- */
909
- value: DatasetPropertyFilter;
910
- case: "datasetFilter";
911
- } | { case: undefined; value?: undefined };
912
-
913
- /**
914
- * field 10 in case we add more entities to query
915
- *
916
- * @generated from field: flyteidl2.datacatalog.SinglePropertyFilter.ComparisonOperator operator = 10;
917
- */
918
- operator: SinglePropertyFilter_ComparisonOperator;
919
- };
920
-
921
- /**
922
- * Describes the message flyteidl2.datacatalog.SinglePropertyFilter.
923
- * Use `create(SinglePropertyFilterSchema)` to create a new message.
924
- */
925
- export const SinglePropertyFilterSchema: GenMessage<SinglePropertyFilter> = /*@__PURE__*/
926
- messageDesc(file_flyteidl2_datacatalog_datacatalog, 30);
927
-
928
- /**
929
- * as use-cases come up we can add more operators, ex: gte, like, not eq etc.
930
- *
931
- * @generated from enum flyteidl2.datacatalog.SinglePropertyFilter.ComparisonOperator
932
- */
933
- export enum SinglePropertyFilter_ComparisonOperator {
934
- /**
935
- * @generated from enum value: EQUALS = 0;
936
- */
937
- EQUALS = 0,
938
- }
939
-
940
- /**
941
- * Describes the enum flyteidl2.datacatalog.SinglePropertyFilter.ComparisonOperator.
942
- */
943
- export const SinglePropertyFilter_ComparisonOperatorSchema: GenEnum<SinglePropertyFilter_ComparisonOperator> = /*@__PURE__*/
944
- enumDesc(file_flyteidl2_datacatalog_datacatalog, 30, 0);
945
-
946
- /**
947
- * Artifact properties we can filter by
948
- *
949
- * @generated from message flyteidl2.datacatalog.ArtifactPropertyFilter
950
- */
951
- export type ArtifactPropertyFilter = Message<"flyteidl2.datacatalog.ArtifactPropertyFilter"> & {
952
- /**
953
- * oneof because we can add more properties in the future
954
- *
955
- * @generated from oneof flyteidl2.datacatalog.ArtifactPropertyFilter.property
956
- */
957
- property: {
958
- /**
959
- * @generated from field: string artifact_id = 1;
960
- */
961
- value: string;
962
- case: "artifactId";
963
- } | { case: undefined; value?: undefined };
964
- };
965
-
966
- /**
967
- * Describes the message flyteidl2.datacatalog.ArtifactPropertyFilter.
968
- * Use `create(ArtifactPropertyFilterSchema)` to create a new message.
969
- */
970
- export const ArtifactPropertyFilterSchema: GenMessage<ArtifactPropertyFilter> = /*@__PURE__*/
971
- messageDesc(file_flyteidl2_datacatalog_datacatalog, 31);
972
-
973
- /**
974
- * Tag properties we can filter by
975
- *
976
- * @generated from message flyteidl2.datacatalog.TagPropertyFilter
977
- */
978
- export type TagPropertyFilter = Message<"flyteidl2.datacatalog.TagPropertyFilter"> & {
979
- /**
980
- * @generated from oneof flyteidl2.datacatalog.TagPropertyFilter.property
981
- */
982
- property: {
983
- /**
984
- * @generated from field: string tag_name = 1;
985
- */
986
- value: string;
987
- case: "tagName";
988
- } | { case: undefined; value?: undefined };
989
- };
990
-
991
- /**
992
- * Describes the message flyteidl2.datacatalog.TagPropertyFilter.
993
- * Use `create(TagPropertyFilterSchema)` to create a new message.
994
- */
995
- export const TagPropertyFilterSchema: GenMessage<TagPropertyFilter> = /*@__PURE__*/
996
- messageDesc(file_flyteidl2_datacatalog_datacatalog, 32);
997
-
998
- /**
999
- * Partition properties we can filter by
1000
- *
1001
- * @generated from message flyteidl2.datacatalog.PartitionPropertyFilter
1002
- */
1003
- export type PartitionPropertyFilter = Message<"flyteidl2.datacatalog.PartitionPropertyFilter"> & {
1004
- /**
1005
- * @generated from oneof flyteidl2.datacatalog.PartitionPropertyFilter.property
1006
- */
1007
- property: {
1008
- /**
1009
- * @generated from field: flyteidl2.datacatalog.KeyValuePair key_val = 1;
1010
- */
1011
- value: KeyValuePair;
1012
- case: "keyVal";
1013
- } | { case: undefined; value?: undefined };
1014
- };
1015
-
1016
- /**
1017
- * Describes the message flyteidl2.datacatalog.PartitionPropertyFilter.
1018
- * Use `create(PartitionPropertyFilterSchema)` to create a new message.
1019
- */
1020
- export const PartitionPropertyFilterSchema: GenMessage<PartitionPropertyFilter> = /*@__PURE__*/
1021
- messageDesc(file_flyteidl2_datacatalog_datacatalog, 33);
1022
-
1023
- /**
1024
- * @generated from message flyteidl2.datacatalog.KeyValuePair
1025
- */
1026
- export type KeyValuePair = Message<"flyteidl2.datacatalog.KeyValuePair"> & {
1027
- /**
1028
- * @generated from field: string key = 1;
1029
- */
1030
- key: string;
1031
-
1032
- /**
1033
- * @generated from field: string value = 2;
1034
- */
1035
- value: string;
1036
- };
1037
-
1038
- /**
1039
- * Describes the message flyteidl2.datacatalog.KeyValuePair.
1040
- * Use `create(KeyValuePairSchema)` to create a new message.
1041
- */
1042
- export const KeyValuePairSchema: GenMessage<KeyValuePair> = /*@__PURE__*/
1043
- messageDesc(file_flyteidl2_datacatalog_datacatalog, 34);
1044
-
1045
- /**
1046
- * Dataset properties we can filter by
1047
- *
1048
- * @generated from message flyteidl2.datacatalog.DatasetPropertyFilter
1049
- */
1050
- export type DatasetPropertyFilter = Message<"flyteidl2.datacatalog.DatasetPropertyFilter"> & {
1051
- /**
1052
- * @generated from oneof flyteidl2.datacatalog.DatasetPropertyFilter.property
1053
- */
1054
- property: {
1055
- /**
1056
- * @generated from field: string project = 1;
1057
- */
1058
- value: string;
1059
- case: "project";
1060
- } | {
1061
- /**
1062
- * @generated from field: string name = 2;
1063
- */
1064
- value: string;
1065
- case: "name";
1066
- } | {
1067
- /**
1068
- * @generated from field: string domain = 3;
1069
- */
1070
- value: string;
1071
- case: "domain";
1072
- } | {
1073
- /**
1074
- * @generated from field: string version = 4;
1075
- */
1076
- value: string;
1077
- case: "version";
1078
- } | {
1079
- /**
1080
- * Optional, org key applied to the dataset.
1081
- *
1082
- * @generated from field: string org = 5;
1083
- */
1084
- value: string;
1085
- case: "org";
1086
- } | { case: undefined; value?: undefined };
1087
- };
1088
-
1089
- /**
1090
- * Describes the message flyteidl2.datacatalog.DatasetPropertyFilter.
1091
- * Use `create(DatasetPropertyFilterSchema)` to create a new message.
1092
- */
1093
- export const DatasetPropertyFilterSchema: GenMessage<DatasetPropertyFilter> = /*@__PURE__*/
1094
- messageDesc(file_flyteidl2_datacatalog_datacatalog, 35);
1095
-
1096
- /**
1097
- * Pagination options for making list requests
1098
- *
1099
- * @generated from message flyteidl2.datacatalog.PaginationOptions
1100
- */
1101
- export type PaginationOptions = Message<"flyteidl2.datacatalog.PaginationOptions"> & {
1102
- /**
1103
- * the max number of results to return
1104
- *
1105
- * @generated from field: uint32 limit = 1;
1106
- */
1107
- limit: number;
1108
-
1109
- /**
1110
- * the token to pass to fetch the next page
1111
- *
1112
- * @generated from field: string token = 2;
1113
- */
1114
- token: string;
1115
-
1116
- /**
1117
- * the property that we want to sort the results by
1118
- *
1119
- * @generated from field: flyteidl2.datacatalog.PaginationOptions.SortKey sortKey = 3;
1120
- */
1121
- sortKey: PaginationOptions_SortKey;
1122
-
1123
- /**
1124
- * the sort order of the results
1125
- *
1126
- * @generated from field: flyteidl2.datacatalog.PaginationOptions.SortOrder sortOrder = 4;
1127
- */
1128
- sortOrder: PaginationOptions_SortOrder;
1129
- };
1130
-
1131
- /**
1132
- * Describes the message flyteidl2.datacatalog.PaginationOptions.
1133
- * Use `create(PaginationOptionsSchema)` to create a new message.
1134
- */
1135
- export const PaginationOptionsSchema: GenMessage<PaginationOptions> = /*@__PURE__*/
1136
- messageDesc(file_flyteidl2_datacatalog_datacatalog, 36);
1137
-
1138
- /**
1139
- * @generated from enum flyteidl2.datacatalog.PaginationOptions.SortOrder
1140
- */
1141
- export enum PaginationOptions_SortOrder {
1142
- /**
1143
- * @generated from enum value: DESCENDING = 0;
1144
- */
1145
- DESCENDING = 0,
1146
-
1147
- /**
1148
- * @generated from enum value: ASCENDING = 1;
1149
- */
1150
- ASCENDING = 1,
1151
- }
1152
-
1153
- /**
1154
- * Describes the enum flyteidl2.datacatalog.PaginationOptions.SortOrder.
1155
- */
1156
- export const PaginationOptions_SortOrderSchema: GenEnum<PaginationOptions_SortOrder> = /*@__PURE__*/
1157
- enumDesc(file_flyteidl2_datacatalog_datacatalog, 36, 0);
1158
-
1159
- /**
1160
- * @generated from enum flyteidl2.datacatalog.PaginationOptions.SortKey
1161
- */
1162
- export enum PaginationOptions_SortKey {
1163
- /**
1164
- * @generated from enum value: CREATION_TIME = 0;
1165
- */
1166
- CREATION_TIME = 0,
1167
- }
1168
-
1169
- /**
1170
- * Describes the enum flyteidl2.datacatalog.PaginationOptions.SortKey.
1171
- */
1172
- export const PaginationOptions_SortKeySchema: GenEnum<PaginationOptions_SortKey> = /*@__PURE__*/
1173
- enumDesc(file_flyteidl2_datacatalog_datacatalog, 36, 1);
1174
-
1175
- /**
1176
- *
1177
- * Data Catalog service definition
1178
- * Data Catalog is a service for indexing parameterized, strongly-typed data artifacts across revisions.
1179
- * Artifacts are associated with a Dataset, and can be tagged for retrieval.
1180
- *
1181
- * @generated from service flyteidl2.datacatalog.DataCatalog
1182
- */
1183
- export const DataCatalog: GenService<{
1184
- /**
1185
- * Create a new Dataset. Datasets are unique based on the DatasetID. Datasets are logical groupings of artifacts.
1186
- * Each dataset can have one or more artifacts
1187
- *
1188
- * @generated from rpc flyteidl2.datacatalog.DataCatalog.CreateDataset
1189
- */
1190
- createDataset: {
1191
- methodKind: "unary";
1192
- input: typeof CreateDatasetRequestSchema;
1193
- output: typeof CreateDatasetResponseSchema;
1194
- },
1195
- /**
1196
- * Get a Dataset by the DatasetID. This returns the Dataset with the associated metadata.
1197
- *
1198
- * @generated from rpc flyteidl2.datacatalog.DataCatalog.GetDataset
1199
- */
1200
- getDataset: {
1201
- methodKind: "unary";
1202
- input: typeof GetDatasetRequestSchema;
1203
- output: typeof GetDatasetResponseSchema;
1204
- },
1205
- /**
1206
- * Create an artifact and the artifact data associated with it. An artifact can be a hive partition or arbitrary
1207
- * files or data values
1208
- *
1209
- * @generated from rpc flyteidl2.datacatalog.DataCatalog.CreateArtifact
1210
- */
1211
- createArtifact: {
1212
- methodKind: "unary";
1213
- input: typeof CreateArtifactRequestSchema;
1214
- output: typeof CreateArtifactResponseSchema;
1215
- },
1216
- /**
1217
- * Retrieve an artifact by an identifying handle. This returns an artifact along with the artifact data.
1218
- *
1219
- * @generated from rpc flyteidl2.datacatalog.DataCatalog.GetArtifact
1220
- */
1221
- getArtifact: {
1222
- methodKind: "unary";
1223
- input: typeof GetArtifactRequestSchema;
1224
- output: typeof GetArtifactResponseSchema;
1225
- },
1226
- /**
1227
- * Associate a tag with an artifact. Tags are unique within a Dataset.
1228
- *
1229
- * @generated from rpc flyteidl2.datacatalog.DataCatalog.AddTag
1230
- */
1231
- addTag: {
1232
- methodKind: "unary";
1233
- input: typeof AddTagRequestSchema;
1234
- output: typeof AddTagResponseSchema;
1235
- },
1236
- /**
1237
- * Return a paginated list of artifacts
1238
- *
1239
- * @generated from rpc flyteidl2.datacatalog.DataCatalog.ListArtifacts
1240
- */
1241
- listArtifacts: {
1242
- methodKind: "unary";
1243
- input: typeof ListArtifactsRequestSchema;
1244
- output: typeof ListArtifactsResponseSchema;
1245
- },
1246
- /**
1247
- * Return a paginated list of datasets
1248
- *
1249
- * @generated from rpc flyteidl2.datacatalog.DataCatalog.ListDatasets
1250
- */
1251
- listDatasets: {
1252
- methodKind: "unary";
1253
- input: typeof ListDatasetsRequestSchema;
1254
- output: typeof ListDatasetsResponseSchema;
1255
- },
1256
- /**
1257
- * Updates an existing artifact, overwriting the stored artifact data in the underlying blob storage.
1258
- *
1259
- * @generated from rpc flyteidl2.datacatalog.DataCatalog.UpdateArtifact
1260
- */
1261
- updateArtifact: {
1262
- methodKind: "unary";
1263
- input: typeof UpdateArtifactRequestSchema;
1264
- output: typeof UpdateArtifactResponseSchema;
1265
- },
1266
- /**
1267
- * Attempts to get or extend a reservation for the corresponding artifact. If one already exists
1268
- * (ie. another entity owns the reservation) then that reservation is retrieved.
1269
- * Once you acquire a reservation, you need to periodically extend the reservation with an
1270
- * identical call. If the reservation is not extended before the defined expiration, it may be
1271
- * acquired by another task.
1272
- * Note: We may have multiple concurrent tasks with the same signature and the same input that
1273
- * try to populate the same artifact at the same time. Thus with reservation, only one task can
1274
- * run at a time, until the reservation expires.
1275
- * Note: If task A does not extend the reservation in time and the reservation expires, another
1276
- * task B may take over the reservation, resulting in two tasks A and B running in parallel. So
1277
- * a third task C may get the Artifact from A or B, whichever writes last.
1278
- *
1279
- * @generated from rpc flyteidl2.datacatalog.DataCatalog.GetOrExtendReservation
1280
- */
1281
- getOrExtendReservation: {
1282
- methodKind: "unary";
1283
- input: typeof GetOrExtendReservationRequestSchema;
1284
- output: typeof GetOrExtendReservationResponseSchema;
1285
- },
1286
- /**
1287
- * Release the reservation when the task holding the spot fails so that the other tasks
1288
- * can grab the spot.
1289
- *
1290
- * @generated from rpc flyteidl2.datacatalog.DataCatalog.ReleaseReservation
1291
- */
1292
- releaseReservation: {
1293
- methodKind: "unary";
1294
- input: typeof ReleaseReservationRequestSchema;
1295
- output: typeof ReleaseReservationResponseSchema;
1296
- },
1297
- }> = /*@__PURE__*/
1298
- serviceDesc(file_flyteidl2_datacatalog_datacatalog, 0);
1299
-