@flyteorg/flyteidl2 2.0.0-alpha8 → 2.0.0

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 (51) hide show
  1. package/buf/validate/validate_pb.ts +4754 -0
  2. package/flyteidl2/app/app_definition_pb.ts +1112 -0
  3. package/flyteidl2/app/app_logs_payload_pb.ts +161 -0
  4. package/flyteidl2/app/app_logs_service_pb.ts +30 -0
  5. package/flyteidl2/app/app_payload_pb.ts +530 -0
  6. package/flyteidl2/app/app_service_pb.ts +104 -0
  7. package/flyteidl2/app/replica_definition_pb.ts +140 -0
  8. package/flyteidl2/cacheservice/cacheservice_pb.ts +506 -0
  9. package/flyteidl2/cacheservice/v2/cacheservice_pb.ts +249 -0
  10. package/flyteidl2/common/configuration_pb.ts +68 -0
  11. package/flyteidl2/common/phase_pb.ts +92 -0
  12. package/flyteidl2/connector/connector_pb.ts +722 -0
  13. package/flyteidl2/connector/service_pb.ts +109 -0
  14. package/flyteidl2/core/errors_pb.ts +104 -0
  15. package/flyteidl2/core/execution_pb.ts +6 -1
  16. package/flyteidl2/core/metrics_pb.ts +47 -0
  17. package/flyteidl2/core/security_pb.ts +42 -6
  18. package/flyteidl2/core/tasks_pb.ts +17 -1
  19. package/flyteidl2/datacatalog/datacatalog_pb.ts +1299 -0
  20. package/flyteidl2/event/cloudevents_pb.ts +217 -0
  21. package/flyteidl2/event/event_pb.ts +818 -0
  22. package/flyteidl2/imagebuilder/definition_pb.ts +45 -3
  23. package/flyteidl2/imagebuilder/payload_pb.ts +15 -2
  24. package/flyteidl2/plugins/common_pb.ts +82 -0
  25. package/flyteidl2/plugins/dask_pb.ts +109 -0
  26. package/flyteidl2/plugins/kubeflow/common_pb.ts +81 -0
  27. package/flyteidl2/plugins/kubeflow/mpi_pb.ts +125 -0
  28. package/flyteidl2/plugins/kubeflow/pytorch_pb.ts +156 -0
  29. package/flyteidl2/plugins/kubeflow/tensorflow_pb.ts +123 -0
  30. package/flyteidl2/plugins/mpi_pb.ts +52 -0
  31. package/flyteidl2/plugins/presto_pb.ts +49 -0
  32. package/flyteidl2/plugins/pytorch_pb.ts +82 -0
  33. package/flyteidl2/plugins/qubole_pb.ts +98 -0
  34. package/flyteidl2/plugins/ray_pb.ts +189 -0
  35. package/flyteidl2/plugins/spark_pb.ts +145 -0
  36. package/flyteidl2/plugins/tensorflow_pb.ts +57 -0
  37. package/flyteidl2/task/common_pb.ts +71 -41
  38. package/flyteidl2/task/environment_pb.ts +8 -1
  39. package/flyteidl2/task/run_pb.ts +116 -5
  40. package/flyteidl2/task/task_definition_pb.ts +184 -12
  41. package/flyteidl2/task/task_service_pb.ts +127 -2
  42. package/flyteidl2/trigger/trigger_definition_pb.ts +22 -10
  43. package/flyteidl2/trigger/trigger_service_pb.ts +22 -5
  44. package/flyteidl2/workflow/queue_service_pb.ts +7 -186
  45. package/flyteidl2/workflow/run_definition_pb.ts +411 -52
  46. package/flyteidl2/workflow/run_service_pb.ts +147 -4
  47. package/flyteidl2/workflow/state_service_pb.ts +7 -7
  48. package/google/api/annotations_pb.ts +39 -0
  49. package/google/api/http_pb.ts +478 -0
  50. package/google/rpc/status_pb.ts +74 -0
  51. package/package.json +11 -3
@@ -0,0 +1,140 @@
1
+ // @generated by protoc-gen-es v2.2.5 with parameter "target=ts,import_extension=.ts"
2
+ // @generated from file flyteidl2/app/replica_definition.proto (package flyteidl2.app, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
6
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
7
+ import { file_buf_validate_validate } from "../../buf/validate/validate_pb.ts";
8
+ import type { Identifier } from "./app_definition_pb.ts";
9
+ import { file_flyteidl2_app_app_definition } from "./app_definition_pb.ts";
10
+ import type { Message } from "@bufbuild/protobuf";
11
+
12
+ /**
13
+ * Describes the file flyteidl2/app/replica_definition.proto.
14
+ */
15
+ export const file_flyteidl2_app_replica_definition: GenFile = /*@__PURE__*/
16
+ fileDesc("CiZmbHl0ZWlkbDIvYXBwL3JlcGxpY2FfZGVmaW5pdGlvbi5wcm90bxINZmx5dGVpZGwyLmFwcCJdChFSZXBsaWNhSWRlbnRpZmllchIxCgZhcHBfaWQYASABKAsyGS5mbHl0ZWlkbDIuYXBwLklkZW50aWZpZXJCBrpIA8gBARIVCgRuYW1lGAIgASgJQge6SARyAhABIlUKC1JlcGxpY2FNZXRhEjQKAmlkGAEgASgLMiAuZmx5dGVpZGwyLmFwcC5SZXBsaWNhSWRlbnRpZmllckIGukgDyAEBEhAKCHJldmlzaW9uGAIgASgEIjQKC1JlcGxpY2FMaXN0EiUKBWl0ZW1zGAEgAygLMhYuZmx5dGVpZGwyLmFwcC5SZXBsaWNhIm0KB1JlcGxpY2ESNAoIbWV0YWRhdGEYASABKAsyGi5mbHl0ZWlkbDIuYXBwLlJlcGxpY2FNZXRhQga6SAPIAQESLAoGc3RhdHVzGAIgASgLMhwuZmx5dGVpZGwyLmFwcC5SZXBsaWNhU3RhdHVzIjoKDVJlcGxpY2FTdGF0dXMSGQoRZGVwbG95bWVudF9zdGF0dXMYASABKAkSDgoGcmVhc29uGAIgASgJQrUBChFjb20uZmx5dGVpZGwyLmFwcEIWUmVwbGljYURlZmluaXRpb25Qcm90b0gCUAFaMWdpdGh1Yi5jb20vZmx5dGVvcmcvZmx5dGUvdjIvZ2VuL2dvL2ZseXRlaWRsMi9hcHCiAgNGQViqAg1GbHl0ZWlkbDIuQXBwygINRmx5dGVpZGwyXEFwcOICGUZseXRlaWRsMlxBcHBcR1BCTWV0YWRhdGHqAg5GbHl0ZWlkbDI6OkFwcGIGcHJvdG8z", [file_buf_validate_validate, file_flyteidl2_app_app_definition]);
17
+
18
+ /**
19
+ * @generated from message flyteidl2.app.ReplicaIdentifier
20
+ */
21
+ export type ReplicaIdentifier = Message<"flyteidl2.app.ReplicaIdentifier"> & {
22
+ /**
23
+ * ID of the app.
24
+ *
25
+ * @generated from field: flyteidl2.app.Identifier app_id = 1;
26
+ */
27
+ appId?: Identifier;
28
+
29
+ /**
30
+ * @generated from field: string name = 2;
31
+ */
32
+ name: string;
33
+ };
34
+
35
+ /**
36
+ * Describes the message flyteidl2.app.ReplicaIdentifier.
37
+ * Use `create(ReplicaIdentifierSchema)` to create a new message.
38
+ */
39
+ export const ReplicaIdentifierSchema: GenMessage<ReplicaIdentifier> = /*@__PURE__*/
40
+ messageDesc(file_flyteidl2_app_replica_definition, 0);
41
+
42
+ /**
43
+ * @generated from message flyteidl2.app.ReplicaMeta
44
+ */
45
+ export type ReplicaMeta = Message<"flyteidl2.app.ReplicaMeta"> & {
46
+ /**
47
+ * ID of the replica.
48
+ *
49
+ * @generated from field: flyteidl2.app.ReplicaIdentifier id = 1;
50
+ */
51
+ id?: ReplicaIdentifier;
52
+
53
+ /**
54
+ * Revision of the replica object.
55
+ *
56
+ * @generated from field: uint64 revision = 2;
57
+ */
58
+ revision: bigint;
59
+ };
60
+
61
+ /**
62
+ * Describes the message flyteidl2.app.ReplicaMeta.
63
+ * Use `create(ReplicaMetaSchema)` to create a new message.
64
+ */
65
+ export const ReplicaMetaSchema: GenMessage<ReplicaMeta> = /*@__PURE__*/
66
+ messageDesc(file_flyteidl2_app_replica_definition, 1);
67
+
68
+ /**
69
+ * @generated from message flyteidl2.app.ReplicaList
70
+ */
71
+ export type ReplicaList = Message<"flyteidl2.app.ReplicaList"> & {
72
+ /**
73
+ * List of replicas.
74
+ *
75
+ * @generated from field: repeated flyteidl2.app.Replica items = 1;
76
+ */
77
+ items: Replica[];
78
+ };
79
+
80
+ /**
81
+ * Describes the message flyteidl2.app.ReplicaList.
82
+ * Use `create(ReplicaListSchema)` to create a new message.
83
+ */
84
+ export const ReplicaListSchema: GenMessage<ReplicaList> = /*@__PURE__*/
85
+ messageDesc(file_flyteidl2_app_replica_definition, 2);
86
+
87
+ /**
88
+ * Represents a replica of an app with its specification and status.
89
+ *
90
+ * @generated from message flyteidl2.app.Replica
91
+ */
92
+ export type Replica = Message<"flyteidl2.app.Replica"> & {
93
+ /**
94
+ * Metadata of the app.
95
+ *
96
+ * @generated from field: flyteidl2.app.ReplicaMeta metadata = 1;
97
+ */
98
+ metadata?: ReplicaMeta;
99
+
100
+ /**
101
+ * Status of the app.
102
+ *
103
+ * @generated from field: flyteidl2.app.ReplicaStatus status = 2;
104
+ */
105
+ status?: ReplicaStatus;
106
+ };
107
+
108
+ /**
109
+ * Describes the message flyteidl2.app.Replica.
110
+ * Use `create(ReplicaSchema)` to create a new message.
111
+ */
112
+ export const ReplicaSchema: GenMessage<Replica> = /*@__PURE__*/
113
+ messageDesc(file_flyteidl2_app_replica_definition, 3);
114
+
115
+ /**
116
+ * Represents the status of the replica.
117
+ *
118
+ * @generated from message flyteidl2.app.ReplicaStatus
119
+ */
120
+ export type ReplicaStatus = Message<"flyteidl2.app.ReplicaStatus"> & {
121
+ /**
122
+ * Current deployment status of the replica.
123
+ *
124
+ * @generated from field: string deployment_status = 1;
125
+ */
126
+ deploymentStatus: string;
127
+
128
+ /**
129
+ * @generated from field: string reason = 2;
130
+ */
131
+ reason: string;
132
+ };
133
+
134
+ /**
135
+ * Describes the message flyteidl2.app.ReplicaStatus.
136
+ * Use `create(ReplicaStatusSchema)` to create a new message.
137
+ */
138
+ export const ReplicaStatusSchema: GenMessage<ReplicaStatus> = /*@__PURE__*/
139
+ messageDesc(file_flyteidl2_app_replica_definition, 4);
140
+
@@ -0,0 +1,506 @@
1
+ // @generated by protoc-gen-es v2.2.5 with parameter "target=ts,import_extension=.ts"
2
+ // @generated from file flyteidl2/cacheservice/cacheservice.proto (package flyteidl2.cacheservice, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv1";
6
+ import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv1";
7
+ import type { Identifier } from "../core/identifier_pb.ts";
8
+ import { file_flyteidl2_core_identifier } from "../core/identifier_pb.ts";
9
+ import type { LiteralMap } from "../core/literals_pb.ts";
10
+ import { file_flyteidl2_core_literals } from "../core/literals_pb.ts";
11
+ import type { Duration, Timestamp } from "@bufbuild/protobuf/wkt";
12
+ import { file_google_protobuf_duration, file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
13
+ import type { Message } from "@bufbuild/protobuf";
14
+
15
+ /**
16
+ * Describes the file flyteidl2/cacheservice/cacheservice.proto.
17
+ */
18
+ export const file_flyteidl2_cacheservice_cacheservice: GenFile = /*@__PURE__*/
19
+ fileDesc("CilmbHl0ZWlkbDIvY2FjaGVzZXJ2aWNlL2NhY2hlc2VydmljZS5wcm90bxIWZmx5dGVpZGwyLmNhY2hlc2VydmljZSKDAQoOS2V5TWFwTWV0YWRhdGESQgoGdmFsdWVzGAEgAygLMjIuZmx5dGVpZGwyLmNhY2hlc2VydmljZS5LZXlNYXBNZXRhZGF0YS5WYWx1ZXNFbnRyeRotCgtWYWx1ZXNFbnRyeRILCgNrZXkYASABKAkSDQoFdmFsdWUYAiABKAk6AjgBIt8BCghNZXRhZGF0YRI1ChFzb3VyY2VfaWRlbnRpZmllchgBIAEoCzIaLmZseXRlaWRsMi5jb3JlLklkZW50aWZpZXISNwoHa2V5X21hcBgCIAEoCzImLmZseXRlaWRsMi5jYWNoZXNlcnZpY2UuS2V5TWFwTWV0YWRhdGESLgoKY3JlYXRlZF9hdBgDIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASMwoPbGFzdF91cGRhdGVkX2F0GAQgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcCKZAQoMQ2FjaGVkT3V0cHV0EjUKD291dHB1dF9saXRlcmFscxgBIAEoCzIaLmZseXRlaWRsMi5jb3JlLkxpdGVyYWxNYXBIABIUCgpvdXRwdXRfdXJpGAIgASgJSAASMgoIbWV0YWRhdGEYAyABKAsyIC5mbHl0ZWlkbDIuY2FjaGVzZXJ2aWNlLk1ldGFkYXRhQggKBm91dHB1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zZXJ2aWNlygIWRmx5dGVpZGwyXENhY2hlc2VydmljZeICIkZseXRlaWRsMlxDYWNoZXNlcnZpY2VcR1BCTWV0YWRhdGHqAhdGbHl0ZWlkbDI6OkNhY2hlc2VydmljZWIGcHJvdG8z", [file_flyteidl2_core_identifier, file_flyteidl2_core_literals, file_google_protobuf_duration, file_google_protobuf_timestamp]);
20
+
21
+ /**
22
+ *
23
+ * Additional metadata as key-value pairs
24
+ *
25
+ * @generated from message flyteidl2.cacheservice.KeyMapMetadata
26
+ */
27
+ export type KeyMapMetadata = Message<"flyteidl2.cacheservice.KeyMapMetadata"> & {
28
+ /**
29
+ * Additional metadata as key-value pairs
30
+ *
31
+ * @generated from field: map<string, string> values = 1;
32
+ */
33
+ values: { [key: string]: string };
34
+ };
35
+
36
+ /**
37
+ * Describes the message flyteidl2.cacheservice.KeyMapMetadata.
38
+ * Use `create(KeyMapMetadataSchema)` to create a new message.
39
+ */
40
+ export const KeyMapMetadataSchema: GenMessage<KeyMapMetadata> = /*@__PURE__*/
41
+ messageDesc(file_flyteidl2_cacheservice_cacheservice, 0);
42
+
43
+ /**
44
+ *
45
+ * Metadata for cached outputs, including the source identifier and timestamps.
46
+ *
47
+ * @generated from message flyteidl2.cacheservice.Metadata
48
+ */
49
+ export type Metadata = Message<"flyteidl2.cacheservice.Metadata"> & {
50
+ /**
51
+ * Source task or workflow identifier
52
+ *
53
+ * @generated from field: flyteidl2.core.Identifier source_identifier = 1;
54
+ */
55
+ sourceIdentifier?: Identifier;
56
+
57
+ /**
58
+ * Additional metadata as key-value pairs
59
+ *
60
+ * @generated from field: flyteidl2.cacheservice.KeyMapMetadata key_map = 2;
61
+ */
62
+ keyMap?: KeyMapMetadata;
63
+
64
+ /**
65
+ * Creation timestamp
66
+ *
67
+ * @generated from field: google.protobuf.Timestamp created_at = 3;
68
+ */
69
+ createdAt?: Timestamp;
70
+
71
+ /**
72
+ * Last update timestamp
73
+ *
74
+ * @generated from field: google.protobuf.Timestamp last_updated_at = 4;
75
+ */
76
+ lastUpdatedAt?: Timestamp;
77
+ };
78
+
79
+ /**
80
+ * Describes the message flyteidl2.cacheservice.Metadata.
81
+ * Use `create(MetadataSchema)` to create a new message.
82
+ */
83
+ export const MetadataSchema: GenMessage<Metadata> = /*@__PURE__*/
84
+ messageDesc(file_flyteidl2_cacheservice_cacheservice, 1);
85
+
86
+ /**
87
+ *
88
+ * Represents cached output, either as literals or an URI, with associated metadata.
89
+ *
90
+ * @generated from message flyteidl2.cacheservice.CachedOutput
91
+ */
92
+ export type CachedOutput = Message<"flyteidl2.cacheservice.CachedOutput"> & {
93
+ /**
94
+ * @generated from oneof flyteidl2.cacheservice.CachedOutput.output
95
+ */
96
+ output: {
97
+ /**
98
+ * Output literals
99
+ *
100
+ * @generated from field: flyteidl2.core.LiteralMap output_literals = 1;
101
+ */
102
+ value: LiteralMap;
103
+ case: "outputLiterals";
104
+ } | {
105
+ /**
106
+ * URI to output data
107
+ *
108
+ * @generated from field: string output_uri = 2;
109
+ */
110
+ value: string;
111
+ case: "outputUri";
112
+ } | { case: undefined; value?: undefined };
113
+
114
+ /**
115
+ * Associated metadata
116
+ *
117
+ * @generated from field: flyteidl2.cacheservice.Metadata metadata = 3;
118
+ */
119
+ metadata?: Metadata;
120
+ };
121
+
122
+ /**
123
+ * Describes the message flyteidl2.cacheservice.CachedOutput.
124
+ * Use `create(CachedOutputSchema)` to create a new message.
125
+ */
126
+ export const CachedOutputSchema: GenMessage<CachedOutput> = /*@__PURE__*/
127
+ messageDesc(file_flyteidl2_cacheservice_cacheservice, 2);
128
+
129
+ /**
130
+ *
131
+ * Request to retrieve cached data by key.
132
+ *
133
+ * @generated from message flyteidl2.cacheservice.GetCacheRequest
134
+ */
135
+ export type GetCacheRequest = Message<"flyteidl2.cacheservice.GetCacheRequest"> & {
136
+ /**
137
+ * Cache key
138
+ *
139
+ * @generated from field: string key = 1;
140
+ */
141
+ key: string;
142
+ };
143
+
144
+ /**
145
+ * Describes the message flyteidl2.cacheservice.GetCacheRequest.
146
+ * Use `create(GetCacheRequestSchema)` to create a new message.
147
+ */
148
+ export const GetCacheRequestSchema: GenMessage<GetCacheRequest> = /*@__PURE__*/
149
+ messageDesc(file_flyteidl2_cacheservice_cacheservice, 3);
150
+
151
+ /**
152
+ *
153
+ * Response with cached data for a given key.
154
+ *
155
+ * @generated from message flyteidl2.cacheservice.GetCacheResponse
156
+ */
157
+ export type GetCacheResponse = Message<"flyteidl2.cacheservice.GetCacheResponse"> & {
158
+ /**
159
+ * Cached output
160
+ *
161
+ * @generated from field: flyteidl2.cacheservice.CachedOutput output = 1;
162
+ */
163
+ output?: CachedOutput;
164
+ };
165
+
166
+ /**
167
+ * Describes the message flyteidl2.cacheservice.GetCacheResponse.
168
+ * Use `create(GetCacheResponseSchema)` to create a new message.
169
+ */
170
+ export const GetCacheResponseSchema: GenMessage<GetCacheResponse> = /*@__PURE__*/
171
+ messageDesc(file_flyteidl2_cacheservice_cacheservice, 4);
172
+
173
+ /**
174
+ * @generated from message flyteidl2.cacheservice.OverwriteOutput
175
+ */
176
+ export type OverwriteOutput = Message<"flyteidl2.cacheservice.OverwriteOutput"> & {
177
+ /**
178
+ * Overwrite flag
179
+ *
180
+ * @generated from field: bool overwrite = 1;
181
+ */
182
+ overwrite: boolean;
183
+
184
+ /**
185
+ * Delete existing blob
186
+ *
187
+ * @generated from field: bool delete_blob = 2;
188
+ */
189
+ deleteBlob: boolean;
190
+
191
+ /**
192
+ * Maximum age of the cached output since last update
193
+ *
194
+ * @generated from field: google.protobuf.Duration max_age = 3;
195
+ */
196
+ maxAge?: Duration;
197
+ };
198
+
199
+ /**
200
+ * Describes the message flyteidl2.cacheservice.OverwriteOutput.
201
+ * Use `create(OverwriteOutputSchema)` to create a new message.
202
+ */
203
+ export const OverwriteOutputSchema: GenMessage<OverwriteOutput> = /*@__PURE__*/
204
+ messageDesc(file_flyteidl2_cacheservice_cacheservice, 5);
205
+
206
+ /**
207
+ *
208
+ * Request to store/update cached data by key.
209
+ *
210
+ * @generated from message flyteidl2.cacheservice.PutCacheRequest
211
+ */
212
+ export type PutCacheRequest = Message<"flyteidl2.cacheservice.PutCacheRequest"> & {
213
+ /**
214
+ * Cache key
215
+ *
216
+ * @generated from field: string key = 1;
217
+ */
218
+ key: string;
219
+
220
+ /**
221
+ * Output to cache
222
+ *
223
+ * @generated from field: flyteidl2.cacheservice.CachedOutput output = 2;
224
+ */
225
+ output?: CachedOutput;
226
+
227
+ /**
228
+ * Overwrite flag if exists
229
+ *
230
+ * @generated from field: flyteidl2.cacheservice.OverwriteOutput overwrite = 3;
231
+ */
232
+ overwrite?: OverwriteOutput;
233
+ };
234
+
235
+ /**
236
+ * Describes the message flyteidl2.cacheservice.PutCacheRequest.
237
+ * Use `create(PutCacheRequestSchema)` to create a new message.
238
+ */
239
+ export const PutCacheRequestSchema: GenMessage<PutCacheRequest> = /*@__PURE__*/
240
+ messageDesc(file_flyteidl2_cacheservice_cacheservice, 6);
241
+
242
+ /**
243
+ *
244
+ * Response message of cache store/update operation.
245
+ *
246
+ * Empty, success indicated by no errors
247
+ *
248
+ * @generated from message flyteidl2.cacheservice.PutCacheResponse
249
+ */
250
+ export type PutCacheResponse = Message<"flyteidl2.cacheservice.PutCacheResponse"> & {
251
+ };
252
+
253
+ /**
254
+ * Describes the message flyteidl2.cacheservice.PutCacheResponse.
255
+ * Use `create(PutCacheResponseSchema)` to create a new message.
256
+ */
257
+ export const PutCacheResponseSchema: GenMessage<PutCacheResponse> = /*@__PURE__*/
258
+ messageDesc(file_flyteidl2_cacheservice_cacheservice, 7);
259
+
260
+ /**
261
+ *
262
+ * Request to delete cached data by key.
263
+ *
264
+ * @generated from message flyteidl2.cacheservice.DeleteCacheRequest
265
+ */
266
+ export type DeleteCacheRequest = Message<"flyteidl2.cacheservice.DeleteCacheRequest"> & {
267
+ /**
268
+ * Cache key
269
+ *
270
+ * @generated from field: string key = 1;
271
+ */
272
+ key: string;
273
+ };
274
+
275
+ /**
276
+ * Describes the message flyteidl2.cacheservice.DeleteCacheRequest.
277
+ * Use `create(DeleteCacheRequestSchema)` to create a new message.
278
+ */
279
+ export const DeleteCacheRequestSchema: GenMessage<DeleteCacheRequest> = /*@__PURE__*/
280
+ messageDesc(file_flyteidl2_cacheservice_cacheservice, 8);
281
+
282
+ /**
283
+ *
284
+ * Response message of cache deletion operation.
285
+ *
286
+ * Empty, success indicated by no errors
287
+ *
288
+ * @generated from message flyteidl2.cacheservice.DeleteCacheResponse
289
+ */
290
+ export type DeleteCacheResponse = Message<"flyteidl2.cacheservice.DeleteCacheResponse"> & {
291
+ };
292
+
293
+ /**
294
+ * Describes the message flyteidl2.cacheservice.DeleteCacheResponse.
295
+ * Use `create(DeleteCacheResponseSchema)` to create a new message.
296
+ */
297
+ export const DeleteCacheResponseSchema: GenMessage<DeleteCacheResponse> = /*@__PURE__*/
298
+ messageDesc(file_flyteidl2_cacheservice_cacheservice, 9);
299
+
300
+ /**
301
+ * A reservation including owner, heartbeat interval, expiration timestamp, and various metadata.
302
+ *
303
+ * @generated from message flyteidl2.cacheservice.Reservation
304
+ */
305
+ export type Reservation = Message<"flyteidl2.cacheservice.Reservation"> & {
306
+ /**
307
+ * The unique ID for the reservation - same as the cache key
308
+ *
309
+ * @generated from field: string key = 1;
310
+ */
311
+ key: string;
312
+
313
+ /**
314
+ * The unique ID of the owner for the reservation
315
+ *
316
+ * @generated from field: string owner_id = 2;
317
+ */
318
+ ownerId: string;
319
+
320
+ /**
321
+ * Requested reservation extension heartbeat interval
322
+ *
323
+ * @generated from field: google.protobuf.Duration heartbeat_interval = 3;
324
+ */
325
+ heartbeatInterval?: Duration;
326
+
327
+ /**
328
+ * Expiration timestamp of this reservation
329
+ *
330
+ * @generated from field: google.protobuf.Timestamp expires_at = 4;
331
+ */
332
+ expiresAt?: Timestamp;
333
+ };
334
+
335
+ /**
336
+ * Describes the message flyteidl2.cacheservice.Reservation.
337
+ * Use `create(ReservationSchema)` to create a new message.
338
+ */
339
+ export const ReservationSchema: GenMessage<Reservation> = /*@__PURE__*/
340
+ messageDesc(file_flyteidl2_cacheservice_cacheservice, 10);
341
+
342
+ /**
343
+ *
344
+ * Request to get or extend a reservation for a cache key
345
+ *
346
+ * @generated from message flyteidl2.cacheservice.GetOrExtendReservationRequest
347
+ */
348
+ export type GetOrExtendReservationRequest = Message<"flyteidl2.cacheservice.GetOrExtendReservationRequest"> & {
349
+ /**
350
+ * The unique ID for the reservation - same as the cache key
351
+ *
352
+ * @generated from field: string key = 1;
353
+ */
354
+ key: string;
355
+
356
+ /**
357
+ * The unique ID of the owner for the reservation
358
+ *
359
+ * @generated from field: string owner_id = 2;
360
+ */
361
+ ownerId: string;
362
+
363
+ /**
364
+ * Requested reservation extension heartbeat interval
365
+ *
366
+ * @generated from field: google.protobuf.Duration heartbeat_interval = 3;
367
+ */
368
+ heartbeatInterval?: Duration;
369
+ };
370
+
371
+ /**
372
+ * Describes the message flyteidl2.cacheservice.GetOrExtendReservationRequest.
373
+ * Use `create(GetOrExtendReservationRequestSchema)` to create a new message.
374
+ */
375
+ export const GetOrExtendReservationRequestSchema: GenMessage<GetOrExtendReservationRequest> = /*@__PURE__*/
376
+ messageDesc(file_flyteidl2_cacheservice_cacheservice, 11);
377
+
378
+ /**
379
+ *
380
+ * Request to get or extend a reservation for a cache key
381
+ *
382
+ * @generated from message flyteidl2.cacheservice.GetOrExtendReservationResponse
383
+ */
384
+ export type GetOrExtendReservationResponse = Message<"flyteidl2.cacheservice.GetOrExtendReservationResponse"> & {
385
+ /**
386
+ * The reservation that was created or extended
387
+ *
388
+ * @generated from field: flyteidl2.cacheservice.Reservation reservation = 1;
389
+ */
390
+ reservation?: Reservation;
391
+ };
392
+
393
+ /**
394
+ * Describes the message flyteidl2.cacheservice.GetOrExtendReservationResponse.
395
+ * Use `create(GetOrExtendReservationResponseSchema)` to create a new message.
396
+ */
397
+ export const GetOrExtendReservationResponseSchema: GenMessage<GetOrExtendReservationResponse> = /*@__PURE__*/
398
+ messageDesc(file_flyteidl2_cacheservice_cacheservice, 12);
399
+
400
+ /**
401
+ *
402
+ * Request to release the reservation for a cache key
403
+ *
404
+ * @generated from message flyteidl2.cacheservice.ReleaseReservationRequest
405
+ */
406
+ export type ReleaseReservationRequest = Message<"flyteidl2.cacheservice.ReleaseReservationRequest"> & {
407
+ /**
408
+ * The unique ID for the reservation - same as the cache key
409
+ *
410
+ * @generated from field: string key = 1;
411
+ */
412
+ key: string;
413
+
414
+ /**
415
+ * The unique ID of the owner for the reservation
416
+ *
417
+ * @generated from field: string owner_id = 2;
418
+ */
419
+ ownerId: string;
420
+ };
421
+
422
+ /**
423
+ * Describes the message flyteidl2.cacheservice.ReleaseReservationRequest.
424
+ * Use `create(ReleaseReservationRequestSchema)` to create a new message.
425
+ */
426
+ export const ReleaseReservationRequestSchema: GenMessage<ReleaseReservationRequest> = /*@__PURE__*/
427
+ messageDesc(file_flyteidl2_cacheservice_cacheservice, 13);
428
+
429
+ /**
430
+ *
431
+ * Response message of release reservation operation.
432
+ *
433
+ * Empty, success indicated by no errors
434
+ *
435
+ * @generated from message flyteidl2.cacheservice.ReleaseReservationResponse
436
+ */
437
+ export type ReleaseReservationResponse = Message<"flyteidl2.cacheservice.ReleaseReservationResponse"> & {
438
+ };
439
+
440
+ /**
441
+ * Describes the message flyteidl2.cacheservice.ReleaseReservationResponse.
442
+ * Use `create(ReleaseReservationResponseSchema)` to create a new message.
443
+ */
444
+ export const ReleaseReservationResponseSchema: GenMessage<ReleaseReservationResponse> = /*@__PURE__*/
445
+ messageDesc(file_flyteidl2_cacheservice_cacheservice, 14);
446
+
447
+ /**
448
+ *
449
+ * CacheService defines operations for cache management including retrieval, storage, and deletion of cached task/workflow outputs.
450
+ *
451
+ * @generated from service flyteidl2.cacheservice.CacheService
452
+ */
453
+ export const CacheService: GenService<{
454
+ /**
455
+ * Retrieves cached data by key.
456
+ *
457
+ * @generated from rpc flyteidl2.cacheservice.CacheService.Get
458
+ */
459
+ get: {
460
+ methodKind: "unary";
461
+ input: typeof GetCacheRequestSchema;
462
+ output: typeof GetCacheResponseSchema;
463
+ },
464
+ /**
465
+ * Stores or updates cached data by key.
466
+ *
467
+ * @generated from rpc flyteidl2.cacheservice.CacheService.Put
468
+ */
469
+ put: {
470
+ methodKind: "unary";
471
+ input: typeof PutCacheRequestSchema;
472
+ output: typeof PutCacheResponseSchema;
473
+ },
474
+ /**
475
+ * Deletes cached data by key.
476
+ *
477
+ * @generated from rpc flyteidl2.cacheservice.CacheService.Delete
478
+ */
479
+ delete: {
480
+ methodKind: "unary";
481
+ input: typeof DeleteCacheRequestSchema;
482
+ output: typeof DeleteCacheResponseSchema;
483
+ },
484
+ /**
485
+ * Get or extend a reservation for a cache key
486
+ *
487
+ * @generated from rpc flyteidl2.cacheservice.CacheService.GetOrExtendReservation
488
+ */
489
+ getOrExtendReservation: {
490
+ methodKind: "unary";
491
+ input: typeof GetOrExtendReservationRequestSchema;
492
+ output: typeof GetOrExtendReservationResponseSchema;
493
+ },
494
+ /**
495
+ * Release the reservation for a cache key
496
+ *
497
+ * @generated from rpc flyteidl2.cacheservice.CacheService.ReleaseReservation
498
+ */
499
+ releaseReservation: {
500
+ methodKind: "unary";
501
+ input: typeof ReleaseReservationRequestSchema;
502
+ output: typeof ReleaseReservationResponseSchema;
503
+ },
504
+ }> = /*@__PURE__*/
505
+ serviceDesc(file_flyteidl2_cacheservice_cacheservice, 0);
506
+