@flyteorg/flyteidl2 2.0.7 → 2.0.8
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/role_pb.ts +9 -1
- package/flyteidl2/logs/dataplane/payload_pb.ts +9 -1
- package/flyteidl2/notification/definition_pb.ts +254 -0
- package/flyteidl2/org/domain_definition_pb.ts +68 -0
- package/flyteidl2/org/domain_service_pb.ts +335 -0
- package/flyteidl2/secret/payload_pb.ts +25 -1
- package/flyteidl2/task/run_pb.ts +84 -1
- package/flyteidl2/workflow/events_proxy_service_pb.ts +72 -0
- package/flyteidl2/workflow/internal_run_service_pb.ts +494 -0
- package/package.json +1 -1
|
@@ -0,0 +1,494 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.5 with parameter "target=ts,import_extension=.ts"
|
|
2
|
+
// @generated from file flyteidl2/workflow/internal_run_service.proto (package flyteidl2.workflow, 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 { file_buf_validate_validate } from "../../buf/validate/validate_pb.ts";
|
|
8
|
+
import type { ActionIdentifier } from "../common/identifier_pb.ts";
|
|
9
|
+
import { file_flyteidl2_common_identifier } from "../common/identifier_pb.ts";
|
|
10
|
+
import type { ActionEvent, ActionStatus, ConditionAction, TaskAction, TraceAction } from "./run_definition_pb.ts";
|
|
11
|
+
import { file_flyteidl2_workflow_run_definition } from "./run_definition_pb.ts";
|
|
12
|
+
import type { Status } from "../../google/rpc/status_pb.ts";
|
|
13
|
+
import { file_google_rpc_status } from "../../google/rpc/status_pb.ts";
|
|
14
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Describes the file flyteidl2/workflow/internal_run_service.proto.
|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oATABEnUKElJlY29yZEFjdGlvbkV2ZW50cxItLmZseXRlaWRsMi53b3JrZmxvdy5SZWNvcmRBY3Rpb25FdmVudHNSZXF1ZXN0Gi4uZmx5dGVpZGwyLndvcmtmbG93LlJlY29yZEFjdGlvbkV2ZW50c1Jlc3BvbnNlIgASiAEKF1JlY29yZEFjdGlvbkV2ZW50U3RyZWFtEjIuZmx5dGVpZGwyLndvcmtmbG93LlJlY29yZEFjdGlvbkV2ZW50U3RyZWFtUmVxdWVzdBozLmZseXRlaWRsMi53b3JrZmxvdy5SZWNvcmRBY3Rpb25FdmVudFN0cmVhbVJlc3BvbnNlIgAoATABQtQBChZjb20uZmx5dGVpZGwyLndvcmtmbG93QhdJbnRlcm5hbFJ1blNlcnZpY2VQcm90b0gCUAFaNmdpdGh1Yi5jb20vZmx5dGVvcmcvZmx5dGUvdjIvZ2VuL2dvL2ZseXRlaWRsMi93b3JrZmxvd6ICA0ZXWKoCEkZseXRlaWRsMi5Xb3JrZmxvd8oCEkZseXRlaWRsMlxXb3JrZmxvd+ICHkZseXRlaWRsMlxXb3JrZmxvd1xHUEJNZXRhZGF0YeoCE0ZseXRlaWRsMjo6V29ya2Zsb3diBnByb3RvMw", [file_buf_validate_validate, file_flyteidl2_common_identifier, file_flyteidl2_workflow_run_definition, file_google_rpc_status]);
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Request message for recording an action.
|
|
24
|
+
*
|
|
25
|
+
* @generated from message flyteidl2.workflow.RecordActionRequest
|
|
26
|
+
*/
|
|
27
|
+
export type RecordActionRequest = Message<"flyteidl2.workflow.RecordActionRequest"> & {
|
|
28
|
+
/**
|
|
29
|
+
* Action to record.
|
|
30
|
+
*
|
|
31
|
+
* @generated from field: flyteidl2.common.ActionIdentifier action_id = 1;
|
|
32
|
+
*/
|
|
33
|
+
actionId?: ActionIdentifier;
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* The parent action. This is used to establish the hierarchy of actions. Empty if this is the root action.
|
|
37
|
+
*
|
|
38
|
+
* @generated from field: string parent = 4;
|
|
39
|
+
*/
|
|
40
|
+
parent: string;
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* The group this action belongs to, if applicable.
|
|
44
|
+
*
|
|
45
|
+
* @generated from field: string group = 5;
|
|
46
|
+
*/
|
|
47
|
+
group: string;
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* The subject that created the action, if known.
|
|
51
|
+
*
|
|
52
|
+
* @generated from field: string subject = 6;
|
|
53
|
+
*/
|
|
54
|
+
subject: string;
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* The inputs for the action.
|
|
58
|
+
*
|
|
59
|
+
* @generated from field: string input_uri = 7;
|
|
60
|
+
*/
|
|
61
|
+
inputUri: string;
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* @generated from oneof flyteidl2.workflow.RecordActionRequest.spec
|
|
65
|
+
*/
|
|
66
|
+
spec: {
|
|
67
|
+
/**
|
|
68
|
+
* TODO(haytham): Uncomment when we update all code paths to use this.
|
|
69
|
+
* option (buf.validate.oneof).required = true;
|
|
70
|
+
*
|
|
71
|
+
* @generated from field: flyteidl2.workflow.TaskAction task = 10;
|
|
72
|
+
*/
|
|
73
|
+
value: TaskAction;
|
|
74
|
+
case: "task";
|
|
75
|
+
} | {
|
|
76
|
+
/**
|
|
77
|
+
* @generated from field: flyteidl2.workflow.TraceAction trace = 11;
|
|
78
|
+
*/
|
|
79
|
+
value: TraceAction;
|
|
80
|
+
case: "trace";
|
|
81
|
+
} | {
|
|
82
|
+
/**
|
|
83
|
+
* @generated from field: flyteidl2.workflow.ConditionAction condition = 12;
|
|
84
|
+
*/
|
|
85
|
+
value: ConditionAction;
|
|
86
|
+
case: "condition";
|
|
87
|
+
} | { case: undefined; value?: undefined };
|
|
88
|
+
};
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* Describes the message flyteidl2.workflow.RecordActionRequest.
|
|
92
|
+
* Use `create(RecordActionRequestSchema)` to create a new message.
|
|
93
|
+
*/
|
|
94
|
+
export const RecordActionRequestSchema: GenMessage<RecordActionRequest> = /*@__PURE__*/
|
|
95
|
+
messageDesc(file_flyteidl2_workflow_internal_run_service, 0);
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* Response message for recording an action.
|
|
99
|
+
*
|
|
100
|
+
* @generated from message flyteidl2.workflow.RecordActionResponse
|
|
101
|
+
*/
|
|
102
|
+
export type RecordActionResponse = Message<"flyteidl2.workflow.RecordActionResponse"> & {
|
|
103
|
+
/**
|
|
104
|
+
* The action id.
|
|
105
|
+
*
|
|
106
|
+
* @generated from field: flyteidl2.common.ActionIdentifier action_id = 1;
|
|
107
|
+
*/
|
|
108
|
+
actionId?: ActionIdentifier;
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* The result.
|
|
112
|
+
*
|
|
113
|
+
* @generated from field: google.rpc.Status status = 2;
|
|
114
|
+
*/
|
|
115
|
+
status?: Status;
|
|
116
|
+
};
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* Describes the message flyteidl2.workflow.RecordActionResponse.
|
|
120
|
+
* Use `create(RecordActionResponseSchema)` to create a new message.
|
|
121
|
+
*/
|
|
122
|
+
export const RecordActionResponseSchema: GenMessage<RecordActionResponse> = /*@__PURE__*/
|
|
123
|
+
messageDesc(file_flyteidl2_workflow_internal_run_service, 1);
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* Request message for recording an action (streaming implementation).
|
|
127
|
+
*
|
|
128
|
+
* @generated from message flyteidl2.workflow.RecordActionStreamRequest
|
|
129
|
+
*/
|
|
130
|
+
export type RecordActionStreamRequest = Message<"flyteidl2.workflow.RecordActionStreamRequest"> & {
|
|
131
|
+
/**
|
|
132
|
+
* Request message for recording an action.
|
|
133
|
+
*
|
|
134
|
+
* @generated from field: flyteidl2.workflow.RecordActionRequest request = 1;
|
|
135
|
+
*/
|
|
136
|
+
request?: RecordActionRequest;
|
|
137
|
+
};
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* Describes the message flyteidl2.workflow.RecordActionStreamRequest.
|
|
141
|
+
* Use `create(RecordActionStreamRequestSchema)` to create a new message.
|
|
142
|
+
*/
|
|
143
|
+
export const RecordActionStreamRequestSchema: GenMessage<RecordActionStreamRequest> = /*@__PURE__*/
|
|
144
|
+
messageDesc(file_flyteidl2_workflow_internal_run_service, 2);
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* Response message for recording an action (streaming implementation).
|
|
148
|
+
*
|
|
149
|
+
* @generated from message flyteidl2.workflow.RecordActionStreamResponse
|
|
150
|
+
*/
|
|
151
|
+
export type RecordActionStreamResponse = Message<"flyteidl2.workflow.RecordActionStreamResponse"> & {
|
|
152
|
+
/**
|
|
153
|
+
* Response message for recording an action.
|
|
154
|
+
*
|
|
155
|
+
* @generated from field: flyteidl2.workflow.RecordActionResponse response = 1;
|
|
156
|
+
*/
|
|
157
|
+
response?: RecordActionResponse;
|
|
158
|
+
};
|
|
159
|
+
|
|
160
|
+
/**
|
|
161
|
+
* Describes the message flyteidl2.workflow.RecordActionStreamResponse.
|
|
162
|
+
* Use `create(RecordActionStreamResponseSchema)` to create a new message.
|
|
163
|
+
*/
|
|
164
|
+
export const RecordActionStreamResponseSchema: GenMessage<RecordActionStreamResponse> = /*@__PURE__*/
|
|
165
|
+
messageDesc(file_flyteidl2_workflow_internal_run_service, 3);
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* Request message for updating an action.
|
|
169
|
+
*
|
|
170
|
+
* @generated from message flyteidl2.workflow.UpdateActionStatusRequest
|
|
171
|
+
*/
|
|
172
|
+
export type UpdateActionStatusRequest = Message<"flyteidl2.workflow.UpdateActionStatusRequest"> & {
|
|
173
|
+
/**
|
|
174
|
+
* Action to update.
|
|
175
|
+
*
|
|
176
|
+
* @generated from field: flyteidl2.common.ActionIdentifier action_id = 1;
|
|
177
|
+
*/
|
|
178
|
+
actionId?: ActionIdentifier;
|
|
179
|
+
|
|
180
|
+
/**
|
|
181
|
+
* Updated status of the action.
|
|
182
|
+
*
|
|
183
|
+
* @generated from field: flyteidl2.workflow.ActionStatus status = 2;
|
|
184
|
+
*/
|
|
185
|
+
status?: ActionStatus;
|
|
186
|
+
};
|
|
187
|
+
|
|
188
|
+
/**
|
|
189
|
+
* Describes the message flyteidl2.workflow.UpdateActionStatusRequest.
|
|
190
|
+
* Use `create(UpdateActionStatusRequestSchema)` to create a new message.
|
|
191
|
+
*/
|
|
192
|
+
export const UpdateActionStatusRequestSchema: GenMessage<UpdateActionStatusRequest> = /*@__PURE__*/
|
|
193
|
+
messageDesc(file_flyteidl2_workflow_internal_run_service, 4);
|
|
194
|
+
|
|
195
|
+
/**
|
|
196
|
+
* Response message for updating an action.
|
|
197
|
+
*
|
|
198
|
+
* @generated from message flyteidl2.workflow.UpdateActionStatusResponse
|
|
199
|
+
*/
|
|
200
|
+
export type UpdateActionStatusResponse = Message<"flyteidl2.workflow.UpdateActionStatusResponse"> & {
|
|
201
|
+
/**
|
|
202
|
+
* The action id.
|
|
203
|
+
*
|
|
204
|
+
* @generated from field: flyteidl2.common.ActionIdentifier action_id = 1;
|
|
205
|
+
*/
|
|
206
|
+
actionId?: ActionIdentifier;
|
|
207
|
+
|
|
208
|
+
/**
|
|
209
|
+
* The result.
|
|
210
|
+
*
|
|
211
|
+
* @generated from field: google.rpc.Status status = 2;
|
|
212
|
+
*/
|
|
213
|
+
status?: Status;
|
|
214
|
+
};
|
|
215
|
+
|
|
216
|
+
/**
|
|
217
|
+
* Describes the message flyteidl2.workflow.UpdateActionStatusResponse.
|
|
218
|
+
* Use `create(UpdateActionStatusResponseSchema)` to create a new message.
|
|
219
|
+
*/
|
|
220
|
+
export const UpdateActionStatusResponseSchema: GenMessage<UpdateActionStatusResponse> = /*@__PURE__*/
|
|
221
|
+
messageDesc(file_flyteidl2_workflow_internal_run_service, 5);
|
|
222
|
+
|
|
223
|
+
/**
|
|
224
|
+
* Request message for updating an action (streaming implementation).
|
|
225
|
+
*
|
|
226
|
+
* @generated from message flyteidl2.workflow.UpdateActionStatusStreamRequest
|
|
227
|
+
*/
|
|
228
|
+
export type UpdateActionStatusStreamRequest = Message<"flyteidl2.workflow.UpdateActionStatusStreamRequest"> & {
|
|
229
|
+
/**
|
|
230
|
+
* Request message for updating an action.
|
|
231
|
+
*
|
|
232
|
+
* @generated from field: flyteidl2.workflow.UpdateActionStatusRequest request = 1;
|
|
233
|
+
*/
|
|
234
|
+
request?: UpdateActionStatusRequest;
|
|
235
|
+
|
|
236
|
+
/**
|
|
237
|
+
* The nonce is used to correlate the request with the response.
|
|
238
|
+
*
|
|
239
|
+
* @generated from field: int64 nonce = 2;
|
|
240
|
+
*/
|
|
241
|
+
nonce: bigint;
|
|
242
|
+
};
|
|
243
|
+
|
|
244
|
+
/**
|
|
245
|
+
* Describes the message flyteidl2.workflow.UpdateActionStatusStreamRequest.
|
|
246
|
+
* Use `create(UpdateActionStatusStreamRequestSchema)` to create a new message.
|
|
247
|
+
*/
|
|
248
|
+
export const UpdateActionStatusStreamRequestSchema: GenMessage<UpdateActionStatusStreamRequest> = /*@__PURE__*/
|
|
249
|
+
messageDesc(file_flyteidl2_workflow_internal_run_service, 6);
|
|
250
|
+
|
|
251
|
+
/**
|
|
252
|
+
* Response message for updating an action (streaming implementation).
|
|
253
|
+
*
|
|
254
|
+
* @generated from message flyteidl2.workflow.UpdateActionStatusStreamResponse
|
|
255
|
+
*/
|
|
256
|
+
export type UpdateActionStatusStreamResponse = Message<"flyteidl2.workflow.UpdateActionStatusStreamResponse"> & {
|
|
257
|
+
/**
|
|
258
|
+
* Response message for updating an action.
|
|
259
|
+
*
|
|
260
|
+
* @generated from field: flyteidl2.workflow.UpdateActionStatusResponse response = 1;
|
|
261
|
+
*/
|
|
262
|
+
response?: UpdateActionStatusResponse;
|
|
263
|
+
|
|
264
|
+
/**
|
|
265
|
+
* The nonce is used to correlate the request with the response.
|
|
266
|
+
*
|
|
267
|
+
* @generated from field: int64 nonce = 2;
|
|
268
|
+
*/
|
|
269
|
+
nonce: bigint;
|
|
270
|
+
};
|
|
271
|
+
|
|
272
|
+
/**
|
|
273
|
+
* Describes the message flyteidl2.workflow.UpdateActionStatusStreamResponse.
|
|
274
|
+
* Use `create(UpdateActionStatusStreamResponseSchema)` to create a new message.
|
|
275
|
+
*/
|
|
276
|
+
export const UpdateActionStatusStreamResponseSchema: GenMessage<UpdateActionStatusStreamResponse> = /*@__PURE__*/
|
|
277
|
+
messageDesc(file_flyteidl2_workflow_internal_run_service, 7);
|
|
278
|
+
|
|
279
|
+
/**
|
|
280
|
+
* Request message for recording an action event.
|
|
281
|
+
*
|
|
282
|
+
* @generated from message flyteidl2.workflow.RecordActionEventRequest
|
|
283
|
+
*/
|
|
284
|
+
export type RecordActionEventRequest = Message<"flyteidl2.workflow.RecordActionEventRequest"> & {
|
|
285
|
+
/**
|
|
286
|
+
* The event.
|
|
287
|
+
*
|
|
288
|
+
* @generated from field: flyteidl2.workflow.ActionEvent event = 1;
|
|
289
|
+
*/
|
|
290
|
+
event?: ActionEvent;
|
|
291
|
+
};
|
|
292
|
+
|
|
293
|
+
/**
|
|
294
|
+
* Describes the message flyteidl2.workflow.RecordActionEventRequest.
|
|
295
|
+
* Use `create(RecordActionEventRequestSchema)` to create a new message.
|
|
296
|
+
*/
|
|
297
|
+
export const RecordActionEventRequestSchema: GenMessage<RecordActionEventRequest> = /*@__PURE__*/
|
|
298
|
+
messageDesc(file_flyteidl2_workflow_internal_run_service, 8);
|
|
299
|
+
|
|
300
|
+
/**
|
|
301
|
+
* Response message for recording an action event.
|
|
302
|
+
*
|
|
303
|
+
* @generated from message flyteidl2.workflow.RecordActionEventResponse
|
|
304
|
+
*/
|
|
305
|
+
export type RecordActionEventResponse = Message<"flyteidl2.workflow.RecordActionEventResponse"> & {
|
|
306
|
+
/**
|
|
307
|
+
* The action id.
|
|
308
|
+
*
|
|
309
|
+
* @generated from field: flyteidl2.common.ActionIdentifier action_id = 1;
|
|
310
|
+
*/
|
|
311
|
+
actionId?: ActionIdentifier;
|
|
312
|
+
|
|
313
|
+
/**
|
|
314
|
+
* The result.
|
|
315
|
+
*
|
|
316
|
+
* @generated from field: google.rpc.Status status = 2;
|
|
317
|
+
*/
|
|
318
|
+
status?: Status;
|
|
319
|
+
};
|
|
320
|
+
|
|
321
|
+
/**
|
|
322
|
+
* Describes the message flyteidl2.workflow.RecordActionEventResponse.
|
|
323
|
+
* Use `create(RecordActionEventResponseSchema)` to create a new message.
|
|
324
|
+
*/
|
|
325
|
+
export const RecordActionEventResponseSchema: GenMessage<RecordActionEventResponse> = /*@__PURE__*/
|
|
326
|
+
messageDesc(file_flyteidl2_workflow_internal_run_service, 9);
|
|
327
|
+
|
|
328
|
+
/**
|
|
329
|
+
* Request message for recording a collection of action events.
|
|
330
|
+
*
|
|
331
|
+
* @generated from message flyteidl2.workflow.RecordActionEventsRequest
|
|
332
|
+
*/
|
|
333
|
+
export type RecordActionEventsRequest = Message<"flyteidl2.workflow.RecordActionEventsRequest"> & {
|
|
334
|
+
/**
|
|
335
|
+
* The events.
|
|
336
|
+
*
|
|
337
|
+
* @generated from field: repeated flyteidl2.workflow.ActionEvent events = 1;
|
|
338
|
+
*/
|
|
339
|
+
events: ActionEvent[];
|
|
340
|
+
};
|
|
341
|
+
|
|
342
|
+
/**
|
|
343
|
+
* Describes the message flyteidl2.workflow.RecordActionEventsRequest.
|
|
344
|
+
* Use `create(RecordActionEventsRequestSchema)` to create a new message.
|
|
345
|
+
*/
|
|
346
|
+
export const RecordActionEventsRequestSchema: GenMessage<RecordActionEventsRequest> = /*@__PURE__*/
|
|
347
|
+
messageDesc(file_flyteidl2_workflow_internal_run_service, 10);
|
|
348
|
+
|
|
349
|
+
/**
|
|
350
|
+
* Response message for recording a collection of action events.
|
|
351
|
+
*
|
|
352
|
+
* @generated from message flyteidl2.workflow.RecordActionEventsResponse
|
|
353
|
+
*/
|
|
354
|
+
export type RecordActionEventsResponse = Message<"flyteidl2.workflow.RecordActionEventsResponse"> & {
|
|
355
|
+
/**
|
|
356
|
+
* The result.
|
|
357
|
+
*
|
|
358
|
+
* @generated from field: google.rpc.Status status = 1;
|
|
359
|
+
*/
|
|
360
|
+
status?: Status;
|
|
361
|
+
};
|
|
362
|
+
|
|
363
|
+
/**
|
|
364
|
+
* Describes the message flyteidl2.workflow.RecordActionEventsResponse.
|
|
365
|
+
* Use `create(RecordActionEventsResponseSchema)` to create a new message.
|
|
366
|
+
*/
|
|
367
|
+
export const RecordActionEventsResponseSchema: GenMessage<RecordActionEventsResponse> = /*@__PURE__*/
|
|
368
|
+
messageDesc(file_flyteidl2_workflow_internal_run_service, 11);
|
|
369
|
+
|
|
370
|
+
/**
|
|
371
|
+
* Request message for recording an action event (streaming implementation).
|
|
372
|
+
* TODO - when this message is removed, also remove the RecordActionEventRequest message above.
|
|
373
|
+
*
|
|
374
|
+
* @generated from message flyteidl2.workflow.RecordActionEventStreamRequest
|
|
375
|
+
*/
|
|
376
|
+
export type RecordActionEventStreamRequest = Message<"flyteidl2.workflow.RecordActionEventStreamRequest"> & {
|
|
377
|
+
/**
|
|
378
|
+
* Request message for recording an action event.
|
|
379
|
+
*
|
|
380
|
+
* @generated from field: flyteidl2.workflow.RecordActionEventRequest request = 1;
|
|
381
|
+
*/
|
|
382
|
+
request?: RecordActionEventRequest;
|
|
383
|
+
|
|
384
|
+
/**
|
|
385
|
+
* The nonce is used to correlate the request with the response.
|
|
386
|
+
*
|
|
387
|
+
* @generated from field: int64 nonce = 2;
|
|
388
|
+
*/
|
|
389
|
+
nonce: bigint;
|
|
390
|
+
};
|
|
391
|
+
|
|
392
|
+
/**
|
|
393
|
+
* Describes the message flyteidl2.workflow.RecordActionEventStreamRequest.
|
|
394
|
+
* Use `create(RecordActionEventStreamRequestSchema)` to create a new message.
|
|
395
|
+
*/
|
|
396
|
+
export const RecordActionEventStreamRequestSchema: GenMessage<RecordActionEventStreamRequest> = /*@__PURE__*/
|
|
397
|
+
messageDesc(file_flyteidl2_workflow_internal_run_service, 12);
|
|
398
|
+
|
|
399
|
+
/**
|
|
400
|
+
* Response message for recording an action event (streaming implementation).
|
|
401
|
+
* TODO - when this message is removed, also remove the RecordActionEventResponse message above.
|
|
402
|
+
*
|
|
403
|
+
* @generated from message flyteidl2.workflow.RecordActionEventStreamResponse
|
|
404
|
+
*/
|
|
405
|
+
export type RecordActionEventStreamResponse = Message<"flyteidl2.workflow.RecordActionEventStreamResponse"> & {
|
|
406
|
+
/**
|
|
407
|
+
* Response message for recording an action event.
|
|
408
|
+
*
|
|
409
|
+
* @generated from field: flyteidl2.workflow.RecordActionEventResponse response = 1;
|
|
410
|
+
*/
|
|
411
|
+
response?: RecordActionEventResponse;
|
|
412
|
+
|
|
413
|
+
/**
|
|
414
|
+
* The nonce is used to correlate the request with the response.
|
|
415
|
+
*
|
|
416
|
+
* @generated from field: int64 nonce = 2;
|
|
417
|
+
*/
|
|
418
|
+
nonce: bigint;
|
|
419
|
+
};
|
|
420
|
+
|
|
421
|
+
/**
|
|
422
|
+
* Describes the message flyteidl2.workflow.RecordActionEventStreamResponse.
|
|
423
|
+
* Use `create(RecordActionEventStreamResponseSchema)` to create a new message.
|
|
424
|
+
*/
|
|
425
|
+
export const RecordActionEventStreamResponseSchema: GenMessage<RecordActionEventStreamResponse> = /*@__PURE__*/
|
|
426
|
+
messageDesc(file_flyteidl2_workflow_internal_run_service, 13);
|
|
427
|
+
|
|
428
|
+
/**
|
|
429
|
+
* @generated from service flyteidl2.workflow.InternalRunService
|
|
430
|
+
*/
|
|
431
|
+
export const InternalRunService: GenService<{
|
|
432
|
+
/**
|
|
433
|
+
* Record a new action.
|
|
434
|
+
*
|
|
435
|
+
* @generated from rpc flyteidl2.workflow.InternalRunService.RecordAction
|
|
436
|
+
*/
|
|
437
|
+
recordAction: {
|
|
438
|
+
methodKind: "unary";
|
|
439
|
+
input: typeof RecordActionRequestSchema;
|
|
440
|
+
output: typeof RecordActionResponseSchema;
|
|
441
|
+
},
|
|
442
|
+
/**
|
|
443
|
+
* Record a new action (streaming implementation).
|
|
444
|
+
*
|
|
445
|
+
* @generated from rpc flyteidl2.workflow.InternalRunService.RecordActionStream
|
|
446
|
+
*/
|
|
447
|
+
recordActionStream: {
|
|
448
|
+
methodKind: "bidi_streaming";
|
|
449
|
+
input: typeof RecordActionStreamRequestSchema;
|
|
450
|
+
output: typeof RecordActionStreamResponseSchema;
|
|
451
|
+
},
|
|
452
|
+
/**
|
|
453
|
+
* Update the status of an action.
|
|
454
|
+
*
|
|
455
|
+
* @generated from rpc flyteidl2.workflow.InternalRunService.UpdateActionStatus
|
|
456
|
+
*/
|
|
457
|
+
updateActionStatus: {
|
|
458
|
+
methodKind: "unary";
|
|
459
|
+
input: typeof UpdateActionStatusRequestSchema;
|
|
460
|
+
output: typeof UpdateActionStatusResponseSchema;
|
|
461
|
+
},
|
|
462
|
+
/**
|
|
463
|
+
* Update the status of an action (streaming implementation).
|
|
464
|
+
*
|
|
465
|
+
* @generated from rpc flyteidl2.workflow.InternalRunService.UpdateActionStatusStream
|
|
466
|
+
*/
|
|
467
|
+
updateActionStatusStream: {
|
|
468
|
+
methodKind: "bidi_streaming";
|
|
469
|
+
input: typeof UpdateActionStatusStreamRequestSchema;
|
|
470
|
+
output: typeof UpdateActionStatusStreamResponseSchema;
|
|
471
|
+
},
|
|
472
|
+
/**
|
|
473
|
+
* Record a collection of action events.
|
|
474
|
+
*
|
|
475
|
+
* @generated from rpc flyteidl2.workflow.InternalRunService.RecordActionEvents
|
|
476
|
+
*/
|
|
477
|
+
recordActionEvents: {
|
|
478
|
+
methodKind: "unary";
|
|
479
|
+
input: typeof RecordActionEventsRequestSchema;
|
|
480
|
+
output: typeof RecordActionEventsResponseSchema;
|
|
481
|
+
},
|
|
482
|
+
/**
|
|
483
|
+
* Record a new action event (streaming implementation).
|
|
484
|
+
*
|
|
485
|
+
* @generated from rpc flyteidl2.workflow.InternalRunService.RecordActionEventStream
|
|
486
|
+
*/
|
|
487
|
+
recordActionEventStream: {
|
|
488
|
+
methodKind: "bidi_streaming";
|
|
489
|
+
input: typeof RecordActionEventStreamRequestSchema;
|
|
490
|
+
output: typeof RecordActionEventStreamResponseSchema;
|
|
491
|
+
},
|
|
492
|
+
}> = /*@__PURE__*/
|
|
493
|
+
serviceDesc(file_flyteidl2_workflow_internal_run_service, 0);
|
|
494
|
+
|