rappel 0.7.2__py3-none-macosx_15_0_arm64.whl

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.

Potentially problematic release.


This version of rappel might be problematic. Click here for more details.

proto/messages_pb2.pyi ADDED
@@ -0,0 +1,1231 @@
1
+ """
2
+ @generated by mypy-protobuf. Do not edit manually!
3
+ isort:skip_file
4
+ """
5
+
6
+ import builtins
7
+ import collections.abc
8
+ import sys
9
+ import typing
10
+
11
+ import google.protobuf.descriptor
12
+ import google.protobuf.internal.containers
13
+ import google.protobuf.internal.enum_type_wrapper
14
+ import google.protobuf.message
15
+ import google.protobuf.struct_pb2
16
+
17
+ if sys.version_info >= (3, 10):
18
+ import typing as typing_extensions
19
+ else:
20
+ import typing_extensions
21
+
22
+ DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
23
+
24
+ class _MessageKind:
25
+ ValueType = typing.NewType("ValueType", builtins.int)
26
+ V: typing_extensions.TypeAlias = ValueType
27
+
28
+ class _MessageKindEnumTypeWrapper(
29
+ google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_MessageKind.ValueType],
30
+ builtins.type,
31
+ ):
32
+ DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
33
+ MESSAGE_KIND_UNSPECIFIED: _MessageKind.ValueType # 0
34
+ MESSAGE_KIND_ACTION_DISPATCH: _MessageKind.ValueType # 1
35
+ """Server -> Worker: execute this action"""
36
+ MESSAGE_KIND_ACTION_RESULT: _MessageKind.ValueType # 2
37
+ """Worker -> Server: here's the result"""
38
+ MESSAGE_KIND_ACK: _MessageKind.ValueType # 3
39
+ """Worker -> Server: message received"""
40
+ MESSAGE_KIND_HEARTBEAT: _MessageKind.ValueType # 4
41
+ """Bidirectional: keep-alive signal"""
42
+ MESSAGE_KIND_WORKER_HELLO: _MessageKind.ValueType # 5
43
+ """Worker -> Server: handshake on connect"""
44
+
45
+ class MessageKind(_MessageKind, metaclass=_MessageKindEnumTypeWrapper):
46
+ """=============================================================================
47
+ Worker Bridge Communication
48
+ =============================================================================
49
+ These messages handle the core communication between the Rust server and
50
+ Python workers. Workers connect via gRPC streaming and execute actions.
51
+ """
52
+
53
+ MESSAGE_KIND_UNSPECIFIED: MessageKind.ValueType # 0
54
+ MESSAGE_KIND_ACTION_DISPATCH: MessageKind.ValueType # 1
55
+ """Server -> Worker: execute this action"""
56
+ MESSAGE_KIND_ACTION_RESULT: MessageKind.ValueType # 2
57
+ """Worker -> Server: here's the result"""
58
+ MESSAGE_KIND_ACK: MessageKind.ValueType # 3
59
+ """Worker -> Server: message received"""
60
+ MESSAGE_KIND_HEARTBEAT: MessageKind.ValueType # 4
61
+ """Bidirectional: keep-alive signal"""
62
+ MESSAGE_KIND_WORKER_HELLO: MessageKind.ValueType # 5
63
+ """Worker -> Server: handshake on connect"""
64
+ Global___MessageKind: typing_extensions.TypeAlias = MessageKind
65
+
66
+ class _ScheduleType:
67
+ ValueType = typing.NewType("ValueType", builtins.int)
68
+ V: typing_extensions.TypeAlias = ValueType
69
+
70
+ class _ScheduleTypeEnumTypeWrapper(
71
+ google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_ScheduleType.ValueType],
72
+ builtins.type,
73
+ ):
74
+ DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
75
+ SCHEDULE_TYPE_UNSPECIFIED: _ScheduleType.ValueType # 0
76
+ SCHEDULE_TYPE_CRON: _ScheduleType.ValueType # 1
77
+ SCHEDULE_TYPE_INTERVAL: _ScheduleType.ValueType # 2
78
+
79
+ class ScheduleType(_ScheduleType, metaclass=_ScheduleTypeEnumTypeWrapper):
80
+ """=============================================================================
81
+ Workflow Schedules
82
+ =============================================================================
83
+ Messages for scheduling workflows to run on a recurring basis.
84
+ """
85
+
86
+ SCHEDULE_TYPE_UNSPECIFIED: ScheduleType.ValueType # 0
87
+ SCHEDULE_TYPE_CRON: ScheduleType.ValueType # 1
88
+ SCHEDULE_TYPE_INTERVAL: ScheduleType.ValueType # 2
89
+ Global___ScheduleType: typing_extensions.TypeAlias = ScheduleType
90
+
91
+ class _ScheduleStatus:
92
+ ValueType = typing.NewType("ValueType", builtins.int)
93
+ V: typing_extensions.TypeAlias = ValueType
94
+
95
+ class _ScheduleStatusEnumTypeWrapper(
96
+ google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_ScheduleStatus.ValueType],
97
+ builtins.type,
98
+ ):
99
+ DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
100
+ SCHEDULE_STATUS_UNSPECIFIED: _ScheduleStatus.ValueType # 0
101
+ SCHEDULE_STATUS_ACTIVE: _ScheduleStatus.ValueType # 1
102
+ SCHEDULE_STATUS_PAUSED: _ScheduleStatus.ValueType # 2
103
+
104
+ class ScheduleStatus(_ScheduleStatus, metaclass=_ScheduleStatusEnumTypeWrapper): ...
105
+
106
+ SCHEDULE_STATUS_UNSPECIFIED: ScheduleStatus.ValueType # 0
107
+ SCHEDULE_STATUS_ACTIVE: ScheduleStatus.ValueType # 1
108
+ SCHEDULE_STATUS_PAUSED: ScheduleStatus.ValueType # 2
109
+ Global___ScheduleStatus: typing_extensions.TypeAlias = ScheduleStatus
110
+
111
+ @typing.final
112
+ class Envelope(google.protobuf.message.Message):
113
+ """Universal transport wrapper for all worker bridge messages.
114
+ The `kind` field indicates how to decode the `payload`.
115
+ """
116
+
117
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
118
+
119
+ DELIVERY_ID_FIELD_NUMBER: builtins.int
120
+ PARTITION_ID_FIELD_NUMBER: builtins.int
121
+ KIND_FIELD_NUMBER: builtins.int
122
+ PAYLOAD_FIELD_NUMBER: builtins.int
123
+ delivery_id: builtins.int
124
+ """Unique ID for correlation (ack, response)"""
125
+ partition_id: builtins.int
126
+ """Optional logical grouping"""
127
+ kind: Global___MessageKind.ValueType
128
+ """Message type discriminator"""
129
+ payload: builtins.bytes
130
+ """Encoded message (ActionDispatch, ActionResult, etc.)"""
131
+ def __init__(
132
+ self,
133
+ *,
134
+ delivery_id: builtins.int = ...,
135
+ partition_id: builtins.int = ...,
136
+ kind: Global___MessageKind.ValueType = ...,
137
+ payload: builtins.bytes = ...,
138
+ ) -> None: ...
139
+ def ClearField(
140
+ self,
141
+ field_name: typing.Literal[
142
+ "delivery_id",
143
+ b"delivery_id",
144
+ "kind",
145
+ b"kind",
146
+ "partition_id",
147
+ b"partition_id",
148
+ "payload",
149
+ b"payload",
150
+ ],
151
+ ) -> None: ...
152
+
153
+ Global___Envelope: typing_extensions.TypeAlias = Envelope
154
+
155
+ @typing.final
156
+ class ActionDispatch(google.protobuf.message.Message):
157
+ """Server -> Worker: instruction to execute an action"""
158
+
159
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
160
+
161
+ ACTION_ID_FIELD_NUMBER: builtins.int
162
+ INSTANCE_ID_FIELD_NUMBER: builtins.int
163
+ SEQUENCE_FIELD_NUMBER: builtins.int
164
+ ACTION_NAME_FIELD_NUMBER: builtins.int
165
+ MODULE_NAME_FIELD_NUMBER: builtins.int
166
+ KWARGS_FIELD_NUMBER: builtins.int
167
+ TIMEOUT_SECONDS_FIELD_NUMBER: builtins.int
168
+ MAX_RETRIES_FIELD_NUMBER: builtins.int
169
+ ATTEMPT_NUMBER_FIELD_NUMBER: builtins.int
170
+ DISPATCH_TOKEN_FIELD_NUMBER: builtins.int
171
+ action_id: builtins.str
172
+ """Unique action identifier"""
173
+ instance_id: builtins.str
174
+ """Workflow instance this action belongs to"""
175
+ sequence: builtins.int
176
+ """Sequence number within instance"""
177
+ action_name: builtins.str
178
+ """Action execution details
179
+ Name of the action function to call
180
+ """
181
+ module_name: builtins.str
182
+ """Python module containing the action"""
183
+ timeout_seconds: builtins.int
184
+ """Execution policies"""
185
+ max_retries: builtins.int
186
+ attempt_number: builtins.int
187
+ dispatch_token: builtins.str
188
+ """UUID for result correlation"""
189
+ @property
190
+ def kwargs(self) -> Global___WorkflowArguments:
191
+ """Keyword arguments for the action"""
192
+
193
+ def __init__(
194
+ self,
195
+ *,
196
+ action_id: builtins.str = ...,
197
+ instance_id: builtins.str = ...,
198
+ sequence: builtins.int = ...,
199
+ action_name: builtins.str = ...,
200
+ module_name: builtins.str = ...,
201
+ kwargs: Global___WorkflowArguments | None = ...,
202
+ timeout_seconds: builtins.int | None = ...,
203
+ max_retries: builtins.int | None = ...,
204
+ attempt_number: builtins.int | None = ...,
205
+ dispatch_token: builtins.str | None = ...,
206
+ ) -> None: ...
207
+ def HasField(
208
+ self,
209
+ field_name: typing.Literal[
210
+ "_attempt_number",
211
+ b"_attempt_number",
212
+ "_dispatch_token",
213
+ b"_dispatch_token",
214
+ "_max_retries",
215
+ b"_max_retries",
216
+ "_timeout_seconds",
217
+ b"_timeout_seconds",
218
+ "attempt_number",
219
+ b"attempt_number",
220
+ "dispatch_token",
221
+ b"dispatch_token",
222
+ "kwargs",
223
+ b"kwargs",
224
+ "max_retries",
225
+ b"max_retries",
226
+ "timeout_seconds",
227
+ b"timeout_seconds",
228
+ ],
229
+ ) -> builtins.bool: ...
230
+ def ClearField(
231
+ self,
232
+ field_name: typing.Literal[
233
+ "_attempt_number",
234
+ b"_attempt_number",
235
+ "_dispatch_token",
236
+ b"_dispatch_token",
237
+ "_max_retries",
238
+ b"_max_retries",
239
+ "_timeout_seconds",
240
+ b"_timeout_seconds",
241
+ "action_id",
242
+ b"action_id",
243
+ "action_name",
244
+ b"action_name",
245
+ "attempt_number",
246
+ b"attempt_number",
247
+ "dispatch_token",
248
+ b"dispatch_token",
249
+ "instance_id",
250
+ b"instance_id",
251
+ "kwargs",
252
+ b"kwargs",
253
+ "max_retries",
254
+ b"max_retries",
255
+ "module_name",
256
+ b"module_name",
257
+ "sequence",
258
+ b"sequence",
259
+ "timeout_seconds",
260
+ b"timeout_seconds",
261
+ ],
262
+ ) -> None: ...
263
+ @typing.overload
264
+ def WhichOneof(
265
+ self, oneof_group: typing.Literal["_attempt_number", b"_attempt_number"]
266
+ ) -> typing.Literal["attempt_number"] | None: ...
267
+ @typing.overload
268
+ def WhichOneof(
269
+ self, oneof_group: typing.Literal["_dispatch_token", b"_dispatch_token"]
270
+ ) -> typing.Literal["dispatch_token"] | None: ...
271
+ @typing.overload
272
+ def WhichOneof(
273
+ self, oneof_group: typing.Literal["_max_retries", b"_max_retries"]
274
+ ) -> typing.Literal["max_retries"] | None: ...
275
+ @typing.overload
276
+ def WhichOneof(
277
+ self, oneof_group: typing.Literal["_timeout_seconds", b"_timeout_seconds"]
278
+ ) -> typing.Literal["timeout_seconds"] | None: ...
279
+
280
+ Global___ActionDispatch: typing_extensions.TypeAlias = ActionDispatch
281
+
282
+ @typing.final
283
+ class ActionResult(google.protobuf.message.Message):
284
+ """Worker -> Server: result of action execution"""
285
+
286
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
287
+
288
+ ACTION_ID_FIELD_NUMBER: builtins.int
289
+ SUCCESS_FIELD_NUMBER: builtins.int
290
+ PAYLOAD_FIELD_NUMBER: builtins.int
291
+ WORKER_START_NS_FIELD_NUMBER: builtins.int
292
+ WORKER_END_NS_FIELD_NUMBER: builtins.int
293
+ DISPATCH_TOKEN_FIELD_NUMBER: builtins.int
294
+ ERROR_TYPE_FIELD_NUMBER: builtins.int
295
+ ERROR_MESSAGE_FIELD_NUMBER: builtins.int
296
+ action_id: builtins.str
297
+ success: builtins.bool
298
+ worker_start_ns: builtins.int
299
+ """Perf counter at execution start"""
300
+ worker_end_ns: builtins.int
301
+ """Perf counter at execution end"""
302
+ dispatch_token: builtins.str
303
+ error_type: builtins.str
304
+ """Exception type if success=false"""
305
+ error_message: builtins.str
306
+ """Exception message if success=false"""
307
+ @property
308
+ def payload(self) -> Global___WorkflowArguments:
309
+ """Result or error details"""
310
+
311
+ def __init__(
312
+ self,
313
+ *,
314
+ action_id: builtins.str = ...,
315
+ success: builtins.bool = ...,
316
+ payload: Global___WorkflowArguments | None = ...,
317
+ worker_start_ns: builtins.int = ...,
318
+ worker_end_ns: builtins.int = ...,
319
+ dispatch_token: builtins.str | None = ...,
320
+ error_type: builtins.str | None = ...,
321
+ error_message: builtins.str | None = ...,
322
+ ) -> None: ...
323
+ def HasField(
324
+ self,
325
+ field_name: typing.Literal[
326
+ "_dispatch_token",
327
+ b"_dispatch_token",
328
+ "_error_message",
329
+ b"_error_message",
330
+ "_error_type",
331
+ b"_error_type",
332
+ "dispatch_token",
333
+ b"dispatch_token",
334
+ "error_message",
335
+ b"error_message",
336
+ "error_type",
337
+ b"error_type",
338
+ "payload",
339
+ b"payload",
340
+ ],
341
+ ) -> builtins.bool: ...
342
+ def ClearField(
343
+ self,
344
+ field_name: typing.Literal[
345
+ "_dispatch_token",
346
+ b"_dispatch_token",
347
+ "_error_message",
348
+ b"_error_message",
349
+ "_error_type",
350
+ b"_error_type",
351
+ "action_id",
352
+ b"action_id",
353
+ "dispatch_token",
354
+ b"dispatch_token",
355
+ "error_message",
356
+ b"error_message",
357
+ "error_type",
358
+ b"error_type",
359
+ "payload",
360
+ b"payload",
361
+ "success",
362
+ b"success",
363
+ "worker_end_ns",
364
+ b"worker_end_ns",
365
+ "worker_start_ns",
366
+ b"worker_start_ns",
367
+ ],
368
+ ) -> None: ...
369
+ @typing.overload
370
+ def WhichOneof(
371
+ self, oneof_group: typing.Literal["_dispatch_token", b"_dispatch_token"]
372
+ ) -> typing.Literal["dispatch_token"] | None: ...
373
+ @typing.overload
374
+ def WhichOneof(
375
+ self, oneof_group: typing.Literal["_error_message", b"_error_message"]
376
+ ) -> typing.Literal["error_message"] | None: ...
377
+ @typing.overload
378
+ def WhichOneof(
379
+ self, oneof_group: typing.Literal["_error_type", b"_error_type"]
380
+ ) -> typing.Literal["error_type"] | None: ...
381
+
382
+ Global___ActionResult: typing_extensions.TypeAlias = ActionResult
383
+
384
+ @typing.final
385
+ class Ack(google.protobuf.message.Message):
386
+ """Worker -> Server: acknowledgment of message receipt"""
387
+
388
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
389
+
390
+ ACKED_DELIVERY_ID_FIELD_NUMBER: builtins.int
391
+ acked_delivery_id: builtins.int
392
+ def __init__(
393
+ self,
394
+ *,
395
+ acked_delivery_id: builtins.int = ...,
396
+ ) -> None: ...
397
+ def ClearField(
398
+ self, field_name: typing.Literal["acked_delivery_id", b"acked_delivery_id"]
399
+ ) -> None: ...
400
+
401
+ Global___Ack: typing_extensions.TypeAlias = Ack
402
+
403
+ @typing.final
404
+ class WorkerHello(google.protobuf.message.Message):
405
+ """Worker -> Server: initial handshake when connecting"""
406
+
407
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
408
+
409
+ WORKER_ID_FIELD_NUMBER: builtins.int
410
+ worker_id: builtins.int
411
+ def __init__(
412
+ self,
413
+ *,
414
+ worker_id: builtins.int = ...,
415
+ ) -> None: ...
416
+ def ClearField(self, field_name: typing.Literal["worker_id", b"worker_id"]) -> None: ...
417
+
418
+ Global___WorkerHello: typing_extensions.TypeAlias = WorkerHello
419
+
420
+ @typing.final
421
+ class WorkflowArgumentValue(google.protobuf.message.Message):
422
+ """=============================================================================
423
+ Value Serialization
424
+ =============================================================================
425
+ All values passed between Rust and Python must be JSON-serializable.
426
+ These messages define the wire format for workflow arguments and results.
427
+ """
428
+
429
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
430
+
431
+ PRIMITIVE_FIELD_NUMBER: builtins.int
432
+ BASEMODEL_FIELD_NUMBER: builtins.int
433
+ EXCEPTION_FIELD_NUMBER: builtins.int
434
+ LIST_VALUE_FIELD_NUMBER: builtins.int
435
+ TUPLE_VALUE_FIELD_NUMBER: builtins.int
436
+ DICT_VALUE_FIELD_NUMBER: builtins.int
437
+ @property
438
+ def primitive(self) -> Global___PrimitiveWorkflowArgument: ...
439
+ @property
440
+ def basemodel(self) -> Global___BaseModelWorkflowArgument: ...
441
+ @property
442
+ def exception(self) -> Global___WorkflowErrorValue: ...
443
+ @property
444
+ def list_value(self) -> Global___WorkflowListArgument: ...
445
+ @property
446
+ def tuple_value(self) -> Global___WorkflowTupleArgument: ...
447
+ @property
448
+ def dict_value(self) -> Global___WorkflowDictArgument: ...
449
+ def __init__(
450
+ self,
451
+ *,
452
+ primitive: Global___PrimitiveWorkflowArgument | None = ...,
453
+ basemodel: Global___BaseModelWorkflowArgument | None = ...,
454
+ exception: Global___WorkflowErrorValue | None = ...,
455
+ list_value: Global___WorkflowListArgument | None = ...,
456
+ tuple_value: Global___WorkflowTupleArgument | None = ...,
457
+ dict_value: Global___WorkflowDictArgument | None = ...,
458
+ ) -> None: ...
459
+ def HasField(
460
+ self,
461
+ field_name: typing.Literal[
462
+ "basemodel",
463
+ b"basemodel",
464
+ "dict_value",
465
+ b"dict_value",
466
+ "exception",
467
+ b"exception",
468
+ "kind",
469
+ b"kind",
470
+ "list_value",
471
+ b"list_value",
472
+ "primitive",
473
+ b"primitive",
474
+ "tuple_value",
475
+ b"tuple_value",
476
+ ],
477
+ ) -> builtins.bool: ...
478
+ def ClearField(
479
+ self,
480
+ field_name: typing.Literal[
481
+ "basemodel",
482
+ b"basemodel",
483
+ "dict_value",
484
+ b"dict_value",
485
+ "exception",
486
+ b"exception",
487
+ "kind",
488
+ b"kind",
489
+ "list_value",
490
+ b"list_value",
491
+ "primitive",
492
+ b"primitive",
493
+ "tuple_value",
494
+ b"tuple_value",
495
+ ],
496
+ ) -> None: ...
497
+ def WhichOneof(
498
+ self, oneof_group: typing.Literal["kind", b"kind"]
499
+ ) -> (
500
+ typing.Literal[
501
+ "primitive", "basemodel", "exception", "list_value", "tuple_value", "dict_value"
502
+ ]
503
+ | None
504
+ ): ...
505
+
506
+ Global___WorkflowArgumentValue: typing_extensions.TypeAlias = WorkflowArgumentValue
507
+
508
+ @typing.final
509
+ class WorkflowArgument(google.protobuf.message.Message):
510
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
511
+
512
+ KEY_FIELD_NUMBER: builtins.int
513
+ VALUE_FIELD_NUMBER: builtins.int
514
+ key: builtins.str
515
+ @property
516
+ def value(self) -> Global___WorkflowArgumentValue: ...
517
+ def __init__(
518
+ self,
519
+ *,
520
+ key: builtins.str = ...,
521
+ value: Global___WorkflowArgumentValue | None = ...,
522
+ ) -> None: ...
523
+ def HasField(self, field_name: typing.Literal["value", b"value"]) -> builtins.bool: ...
524
+ def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
525
+
526
+ Global___WorkflowArgument: typing_extensions.TypeAlias = WorkflowArgument
527
+
528
+ @typing.final
529
+ class WorkflowArguments(google.protobuf.message.Message):
530
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
531
+
532
+ ARGUMENTS_FIELD_NUMBER: builtins.int
533
+ @property
534
+ def arguments(
535
+ self,
536
+ ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[
537
+ Global___WorkflowArgument
538
+ ]: ...
539
+ def __init__(
540
+ self,
541
+ *,
542
+ arguments: collections.abc.Iterable[Global___WorkflowArgument] | None = ...,
543
+ ) -> None: ...
544
+ def ClearField(self, field_name: typing.Literal["arguments", b"arguments"]) -> None: ...
545
+
546
+ Global___WorkflowArguments: typing_extensions.TypeAlias = WorkflowArguments
547
+
548
+ @typing.final
549
+ class PrimitiveWorkflowArgument(google.protobuf.message.Message):
550
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
551
+
552
+ STRING_VALUE_FIELD_NUMBER: builtins.int
553
+ DOUBLE_VALUE_FIELD_NUMBER: builtins.int
554
+ INT_VALUE_FIELD_NUMBER: builtins.int
555
+ BOOL_VALUE_FIELD_NUMBER: builtins.int
556
+ NULL_VALUE_FIELD_NUMBER: builtins.int
557
+ string_value: builtins.str
558
+ double_value: builtins.float
559
+ int_value: builtins.int
560
+ bool_value: builtins.bool
561
+ null_value: google.protobuf.struct_pb2.NullValue.ValueType
562
+ def __init__(
563
+ self,
564
+ *,
565
+ string_value: builtins.str = ...,
566
+ double_value: builtins.float = ...,
567
+ int_value: builtins.int = ...,
568
+ bool_value: builtins.bool = ...,
569
+ null_value: google.protobuf.struct_pb2.NullValue.ValueType = ...,
570
+ ) -> None: ...
571
+ def HasField(
572
+ self,
573
+ field_name: typing.Literal[
574
+ "bool_value",
575
+ b"bool_value",
576
+ "double_value",
577
+ b"double_value",
578
+ "int_value",
579
+ b"int_value",
580
+ "kind",
581
+ b"kind",
582
+ "null_value",
583
+ b"null_value",
584
+ "string_value",
585
+ b"string_value",
586
+ ],
587
+ ) -> builtins.bool: ...
588
+ def ClearField(
589
+ self,
590
+ field_name: typing.Literal[
591
+ "bool_value",
592
+ b"bool_value",
593
+ "double_value",
594
+ b"double_value",
595
+ "int_value",
596
+ b"int_value",
597
+ "kind",
598
+ b"kind",
599
+ "null_value",
600
+ b"null_value",
601
+ "string_value",
602
+ b"string_value",
603
+ ],
604
+ ) -> None: ...
605
+ def WhichOneof(
606
+ self, oneof_group: typing.Literal["kind", b"kind"]
607
+ ) -> (
608
+ typing.Literal["string_value", "double_value", "int_value", "bool_value", "null_value"]
609
+ | None
610
+ ): ...
611
+
612
+ Global___PrimitiveWorkflowArgument: typing_extensions.TypeAlias = PrimitiveWorkflowArgument
613
+
614
+ @typing.final
615
+ class BaseModelWorkflowArgument(google.protobuf.message.Message):
616
+ """Pydantic BaseModel or similar structured types"""
617
+
618
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
619
+
620
+ MODULE_FIELD_NUMBER: builtins.int
621
+ NAME_FIELD_NUMBER: builtins.int
622
+ DATA_FIELD_NUMBER: builtins.int
623
+ module: builtins.str
624
+ name: builtins.str
625
+ @property
626
+ def data(self) -> Global___WorkflowDictArgument: ...
627
+ def __init__(
628
+ self,
629
+ *,
630
+ module: builtins.str = ...,
631
+ name: builtins.str = ...,
632
+ data: Global___WorkflowDictArgument | None = ...,
633
+ ) -> None: ...
634
+ def HasField(self, field_name: typing.Literal["data", b"data"]) -> builtins.bool: ...
635
+ def ClearField(
636
+ self, field_name: typing.Literal["data", b"data", "module", b"module", "name", b"name"]
637
+ ) -> None: ...
638
+
639
+ Global___BaseModelWorkflowArgument: typing_extensions.TypeAlias = BaseModelWorkflowArgument
640
+
641
+ @typing.final
642
+ class WorkflowErrorValue(google.protobuf.message.Message):
643
+ """Serialized exception for error propagation"""
644
+
645
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
646
+
647
+ TYPE_FIELD_NUMBER: builtins.int
648
+ MODULE_FIELD_NUMBER: builtins.int
649
+ MESSAGE_FIELD_NUMBER: builtins.int
650
+ TRACEBACK_FIELD_NUMBER: builtins.int
651
+ VALUES_FIELD_NUMBER: builtins.int
652
+ type: builtins.str
653
+ module: builtins.str
654
+ message: builtins.str
655
+ traceback: builtins.str
656
+ @property
657
+ def values(self) -> Global___WorkflowDictArgument: ...
658
+ def __init__(
659
+ self,
660
+ *,
661
+ type: builtins.str = ...,
662
+ module: builtins.str = ...,
663
+ message: builtins.str = ...,
664
+ traceback: builtins.str = ...,
665
+ values: Global___WorkflowDictArgument | None = ...,
666
+ ) -> None: ...
667
+ def HasField(self, field_name: typing.Literal["values", b"values"]) -> builtins.bool: ...
668
+ def ClearField(
669
+ self,
670
+ field_name: typing.Literal[
671
+ "message",
672
+ b"message",
673
+ "module",
674
+ b"module",
675
+ "traceback",
676
+ b"traceback",
677
+ "type",
678
+ b"type",
679
+ "values",
680
+ b"values",
681
+ ],
682
+ ) -> None: ...
683
+
684
+ Global___WorkflowErrorValue: typing_extensions.TypeAlias = WorkflowErrorValue
685
+
686
+ @typing.final
687
+ class WorkflowListArgument(google.protobuf.message.Message):
688
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
689
+
690
+ ITEMS_FIELD_NUMBER: builtins.int
691
+ @property
692
+ def items(
693
+ self,
694
+ ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[
695
+ Global___WorkflowArgumentValue
696
+ ]: ...
697
+ def __init__(
698
+ self,
699
+ *,
700
+ items: collections.abc.Iterable[Global___WorkflowArgumentValue] | None = ...,
701
+ ) -> None: ...
702
+ def ClearField(self, field_name: typing.Literal["items", b"items"]) -> None: ...
703
+
704
+ Global___WorkflowListArgument: typing_extensions.TypeAlias = WorkflowListArgument
705
+
706
+ @typing.final
707
+ class WorkflowTupleArgument(google.protobuf.message.Message):
708
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
709
+
710
+ ITEMS_FIELD_NUMBER: builtins.int
711
+ @property
712
+ def items(
713
+ self,
714
+ ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[
715
+ Global___WorkflowArgumentValue
716
+ ]: ...
717
+ def __init__(
718
+ self,
719
+ *,
720
+ items: collections.abc.Iterable[Global___WorkflowArgumentValue] | None = ...,
721
+ ) -> None: ...
722
+ def ClearField(self, field_name: typing.Literal["items", b"items"]) -> None: ...
723
+
724
+ Global___WorkflowTupleArgument: typing_extensions.TypeAlias = WorkflowTupleArgument
725
+
726
+ @typing.final
727
+ class WorkflowDictArgument(google.protobuf.message.Message):
728
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
729
+
730
+ ENTRIES_FIELD_NUMBER: builtins.int
731
+ @property
732
+ def entries(
733
+ self,
734
+ ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[
735
+ Global___WorkflowArgument
736
+ ]: ...
737
+ def __init__(
738
+ self,
739
+ *,
740
+ entries: collections.abc.Iterable[Global___WorkflowArgument] | None = ...,
741
+ ) -> None: ...
742
+ def ClearField(self, field_name: typing.Literal["entries", b"entries"]) -> None: ...
743
+
744
+ Global___WorkflowDictArgument: typing_extensions.TypeAlias = WorkflowDictArgument
745
+
746
+ @typing.final
747
+ class WorkflowRegistration(google.protobuf.message.Message):
748
+ """=============================================================================
749
+ Workflow Registration
750
+ =============================================================================
751
+ Messages for registering workflows and starting instances.
752
+
753
+ Workflow registration containing the IR program
754
+ """
755
+
756
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
757
+
758
+ WORKFLOW_NAME_FIELD_NUMBER: builtins.int
759
+ IR_FIELD_NUMBER: builtins.int
760
+ IR_HASH_FIELD_NUMBER: builtins.int
761
+ INITIAL_CONTEXT_FIELD_NUMBER: builtins.int
762
+ CONCURRENT_FIELD_NUMBER: builtins.int
763
+ workflow_name: builtins.str
764
+ ir: builtins.bytes
765
+ """Serialized IR program (from ast.proto)"""
766
+ ir_hash: builtins.str
767
+ """Hash of the IR for versioning"""
768
+ concurrent: builtins.bool
769
+ """Whether multiple instances can run"""
770
+ @property
771
+ def initial_context(self) -> Global___WorkflowArguments: ...
772
+ def __init__(
773
+ self,
774
+ *,
775
+ workflow_name: builtins.str = ...,
776
+ ir: builtins.bytes = ...,
777
+ ir_hash: builtins.str = ...,
778
+ initial_context: Global___WorkflowArguments | None = ...,
779
+ concurrent: builtins.bool = ...,
780
+ ) -> None: ...
781
+ def HasField(
782
+ self, field_name: typing.Literal["initial_context", b"initial_context"]
783
+ ) -> builtins.bool: ...
784
+ def ClearField(
785
+ self,
786
+ field_name: typing.Literal[
787
+ "concurrent",
788
+ b"concurrent",
789
+ "initial_context",
790
+ b"initial_context",
791
+ "ir",
792
+ b"ir",
793
+ "ir_hash",
794
+ b"ir_hash",
795
+ "workflow_name",
796
+ b"workflow_name",
797
+ ],
798
+ ) -> None: ...
799
+
800
+ Global___WorkflowRegistration: typing_extensions.TypeAlias = WorkflowRegistration
801
+
802
+ @typing.final
803
+ class RegisterWorkflowRequest(google.protobuf.message.Message):
804
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
805
+
806
+ REGISTRATION_FIELD_NUMBER: builtins.int
807
+ @property
808
+ def registration(self) -> Global___WorkflowRegistration: ...
809
+ def __init__(
810
+ self,
811
+ *,
812
+ registration: Global___WorkflowRegistration | None = ...,
813
+ ) -> None: ...
814
+ def HasField(
815
+ self, field_name: typing.Literal["registration", b"registration"]
816
+ ) -> builtins.bool: ...
817
+ def ClearField(self, field_name: typing.Literal["registration", b"registration"]) -> None: ...
818
+
819
+ Global___RegisterWorkflowRequest: typing_extensions.TypeAlias = RegisterWorkflowRequest
820
+
821
+ @typing.final
822
+ class RegisterWorkflowResponse(google.protobuf.message.Message):
823
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
824
+
825
+ WORKFLOW_VERSION_ID_FIELD_NUMBER: builtins.int
826
+ WORKFLOW_INSTANCE_ID_FIELD_NUMBER: builtins.int
827
+ workflow_version_id: builtins.str
828
+ workflow_instance_id: builtins.str
829
+ def __init__(
830
+ self,
831
+ *,
832
+ workflow_version_id: builtins.str = ...,
833
+ workflow_instance_id: builtins.str = ...,
834
+ ) -> None: ...
835
+ def ClearField(
836
+ self,
837
+ field_name: typing.Literal[
838
+ "workflow_instance_id",
839
+ b"workflow_instance_id",
840
+ "workflow_version_id",
841
+ b"workflow_version_id",
842
+ ],
843
+ ) -> None: ...
844
+
845
+ Global___RegisterWorkflowResponse: typing_extensions.TypeAlias = RegisterWorkflowResponse
846
+
847
+ @typing.final
848
+ class WaitForInstanceRequest(google.protobuf.message.Message):
849
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
850
+
851
+ INSTANCE_ID_FIELD_NUMBER: builtins.int
852
+ POLL_INTERVAL_SECS_FIELD_NUMBER: builtins.int
853
+ instance_id: builtins.str
854
+ poll_interval_secs: builtins.float
855
+ def __init__(
856
+ self,
857
+ *,
858
+ instance_id: builtins.str = ...,
859
+ poll_interval_secs: builtins.float = ...,
860
+ ) -> None: ...
861
+ def ClearField(
862
+ self,
863
+ field_name: typing.Literal[
864
+ "instance_id", b"instance_id", "poll_interval_secs", b"poll_interval_secs"
865
+ ],
866
+ ) -> None: ...
867
+
868
+ Global___WaitForInstanceRequest: typing_extensions.TypeAlias = WaitForInstanceRequest
869
+
870
+ @typing.final
871
+ class WaitForInstanceResponse(google.protobuf.message.Message):
872
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
873
+
874
+ PAYLOAD_FIELD_NUMBER: builtins.int
875
+ payload: builtins.bytes
876
+ def __init__(
877
+ self,
878
+ *,
879
+ payload: builtins.bytes = ...,
880
+ ) -> None: ...
881
+ def ClearField(self, field_name: typing.Literal["payload", b"payload"]) -> None: ...
882
+
883
+ Global___WaitForInstanceResponse: typing_extensions.TypeAlias = WaitForInstanceResponse
884
+
885
+ @typing.final
886
+ class ScheduleDefinition(google.protobuf.message.Message):
887
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
888
+
889
+ TYPE_FIELD_NUMBER: builtins.int
890
+ CRON_EXPRESSION_FIELD_NUMBER: builtins.int
891
+ INTERVAL_SECONDS_FIELD_NUMBER: builtins.int
892
+ JITTER_SECONDS_FIELD_NUMBER: builtins.int
893
+ type: Global___ScheduleType.ValueType
894
+ cron_expression: builtins.str
895
+ """For cron: the cron expression (e.g., "0 * * * *")"""
896
+ interval_seconds: builtins.int
897
+ """For interval: duration in seconds"""
898
+ jitter_seconds: builtins.int
899
+ """Optional: jitter window in seconds (random 0..jitter_seconds)"""
900
+ def __init__(
901
+ self,
902
+ *,
903
+ type: Global___ScheduleType.ValueType = ...,
904
+ cron_expression: builtins.str = ...,
905
+ interval_seconds: builtins.int = ...,
906
+ jitter_seconds: builtins.int = ...,
907
+ ) -> None: ...
908
+ def ClearField(
909
+ self,
910
+ field_name: typing.Literal[
911
+ "cron_expression",
912
+ b"cron_expression",
913
+ "interval_seconds",
914
+ b"interval_seconds",
915
+ "jitter_seconds",
916
+ b"jitter_seconds",
917
+ "type",
918
+ b"type",
919
+ ],
920
+ ) -> None: ...
921
+
922
+ Global___ScheduleDefinition: typing_extensions.TypeAlias = ScheduleDefinition
923
+
924
+ @typing.final
925
+ class RegisterScheduleRequest(google.protobuf.message.Message):
926
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
927
+
928
+ WORKFLOW_NAME_FIELD_NUMBER: builtins.int
929
+ SCHEDULE_FIELD_NUMBER: builtins.int
930
+ INPUTS_FIELD_NUMBER: builtins.int
931
+ REGISTRATION_FIELD_NUMBER: builtins.int
932
+ SCHEDULE_NAME_FIELD_NUMBER: builtins.int
933
+ workflow_name: builtins.str
934
+ schedule_name: builtins.str
935
+ """Required: unique name for this schedule. Allows multiple schedules per workflow
936
+ with different inputs. Must be unique within a workflow.
937
+ """
938
+ @property
939
+ def schedule(self) -> Global___ScheduleDefinition: ...
940
+ @property
941
+ def inputs(self) -> Global___WorkflowArguments:
942
+ """Optional: inputs to pass to each scheduled run"""
943
+
944
+ @property
945
+ def registration(self) -> Global___WorkflowRegistration:
946
+ """Optional: workflow registration to register the DAG before scheduling.
947
+ If provided, the workflow version will be registered (or updated) before
948
+ the schedule is created. This ensures the workflow can execute when the
949
+ schedule fires.
950
+ """
951
+
952
+ def __init__(
953
+ self,
954
+ *,
955
+ workflow_name: builtins.str = ...,
956
+ schedule: Global___ScheduleDefinition | None = ...,
957
+ inputs: Global___WorkflowArguments | None = ...,
958
+ registration: Global___WorkflowRegistration | None = ...,
959
+ schedule_name: builtins.str = ...,
960
+ ) -> None: ...
961
+ def HasField(
962
+ self,
963
+ field_name: typing.Literal[
964
+ "inputs", b"inputs", "registration", b"registration", "schedule", b"schedule"
965
+ ],
966
+ ) -> builtins.bool: ...
967
+ def ClearField(
968
+ self,
969
+ field_name: typing.Literal[
970
+ "inputs",
971
+ b"inputs",
972
+ "registration",
973
+ b"registration",
974
+ "schedule",
975
+ b"schedule",
976
+ "schedule_name",
977
+ b"schedule_name",
978
+ "workflow_name",
979
+ b"workflow_name",
980
+ ],
981
+ ) -> None: ...
982
+
983
+ Global___RegisterScheduleRequest: typing_extensions.TypeAlias = RegisterScheduleRequest
984
+
985
+ @typing.final
986
+ class RegisterScheduleResponse(google.protobuf.message.Message):
987
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
988
+
989
+ SCHEDULE_ID_FIELD_NUMBER: builtins.int
990
+ NEXT_RUN_AT_FIELD_NUMBER: builtins.int
991
+ schedule_id: builtins.str
992
+ next_run_at: builtins.str
993
+ """The computed next_run_at timestamp (ISO 8601)"""
994
+ def __init__(
995
+ self,
996
+ *,
997
+ schedule_id: builtins.str = ...,
998
+ next_run_at: builtins.str = ...,
999
+ ) -> None: ...
1000
+ def ClearField(
1001
+ self,
1002
+ field_name: typing.Literal["next_run_at", b"next_run_at", "schedule_id", b"schedule_id"],
1003
+ ) -> None: ...
1004
+
1005
+ Global___RegisterScheduleResponse: typing_extensions.TypeAlias = RegisterScheduleResponse
1006
+
1007
+ @typing.final
1008
+ class UpdateScheduleStatusRequest(google.protobuf.message.Message):
1009
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
1010
+
1011
+ WORKFLOW_NAME_FIELD_NUMBER: builtins.int
1012
+ STATUS_FIELD_NUMBER: builtins.int
1013
+ SCHEDULE_NAME_FIELD_NUMBER: builtins.int
1014
+ workflow_name: builtins.str
1015
+ status: Global___ScheduleStatus.ValueType
1016
+ schedule_name: builtins.str
1017
+ """Required: name of the schedule to update."""
1018
+ def __init__(
1019
+ self,
1020
+ *,
1021
+ workflow_name: builtins.str = ...,
1022
+ status: Global___ScheduleStatus.ValueType = ...,
1023
+ schedule_name: builtins.str = ...,
1024
+ ) -> None: ...
1025
+ def ClearField(
1026
+ self,
1027
+ field_name: typing.Literal[
1028
+ "schedule_name",
1029
+ b"schedule_name",
1030
+ "status",
1031
+ b"status",
1032
+ "workflow_name",
1033
+ b"workflow_name",
1034
+ ],
1035
+ ) -> None: ...
1036
+
1037
+ Global___UpdateScheduleStatusRequest: typing_extensions.TypeAlias = UpdateScheduleStatusRequest
1038
+
1039
+ @typing.final
1040
+ class UpdateScheduleStatusResponse(google.protobuf.message.Message):
1041
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
1042
+
1043
+ SUCCESS_FIELD_NUMBER: builtins.int
1044
+ success: builtins.bool
1045
+ def __init__(
1046
+ self,
1047
+ *,
1048
+ success: builtins.bool = ...,
1049
+ ) -> None: ...
1050
+ def ClearField(self, field_name: typing.Literal["success", b"success"]) -> None: ...
1051
+
1052
+ Global___UpdateScheduleStatusResponse: typing_extensions.TypeAlias = UpdateScheduleStatusResponse
1053
+
1054
+ @typing.final
1055
+ class DeleteScheduleRequest(google.protobuf.message.Message):
1056
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
1057
+
1058
+ WORKFLOW_NAME_FIELD_NUMBER: builtins.int
1059
+ SCHEDULE_NAME_FIELD_NUMBER: builtins.int
1060
+ workflow_name: builtins.str
1061
+ schedule_name: builtins.str
1062
+ """Required: name of the schedule to delete."""
1063
+ def __init__(
1064
+ self,
1065
+ *,
1066
+ workflow_name: builtins.str = ...,
1067
+ schedule_name: builtins.str = ...,
1068
+ ) -> None: ...
1069
+ def ClearField(
1070
+ self,
1071
+ field_name: typing.Literal[
1072
+ "schedule_name", b"schedule_name", "workflow_name", b"workflow_name"
1073
+ ],
1074
+ ) -> None: ...
1075
+
1076
+ Global___DeleteScheduleRequest: typing_extensions.TypeAlias = DeleteScheduleRequest
1077
+
1078
+ @typing.final
1079
+ class DeleteScheduleResponse(google.protobuf.message.Message):
1080
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
1081
+
1082
+ SUCCESS_FIELD_NUMBER: builtins.int
1083
+ success: builtins.bool
1084
+ def __init__(
1085
+ self,
1086
+ *,
1087
+ success: builtins.bool = ...,
1088
+ ) -> None: ...
1089
+ def ClearField(self, field_name: typing.Literal["success", b"success"]) -> None: ...
1090
+
1091
+ Global___DeleteScheduleResponse: typing_extensions.TypeAlias = DeleteScheduleResponse
1092
+
1093
+ @typing.final
1094
+ class ListSchedulesRequest(google.protobuf.message.Message):
1095
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
1096
+
1097
+ STATUS_FILTER_FIELD_NUMBER: builtins.int
1098
+ status_filter: builtins.str
1099
+ """Optional filter by status ("active", "paused"). If empty, returns all non-deleted."""
1100
+ def __init__(
1101
+ self,
1102
+ *,
1103
+ status_filter: builtins.str | None = ...,
1104
+ ) -> None: ...
1105
+ def HasField(
1106
+ self,
1107
+ field_name: typing.Literal[
1108
+ "_status_filter", b"_status_filter", "status_filter", b"status_filter"
1109
+ ],
1110
+ ) -> builtins.bool: ...
1111
+ def ClearField(
1112
+ self,
1113
+ field_name: typing.Literal[
1114
+ "_status_filter", b"_status_filter", "status_filter", b"status_filter"
1115
+ ],
1116
+ ) -> None: ...
1117
+ def WhichOneof(
1118
+ self, oneof_group: typing.Literal["_status_filter", b"_status_filter"]
1119
+ ) -> typing.Literal["status_filter"] | None: ...
1120
+
1121
+ Global___ListSchedulesRequest: typing_extensions.TypeAlias = ListSchedulesRequest
1122
+
1123
+ @typing.final
1124
+ class ScheduleInfo(google.protobuf.message.Message):
1125
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
1126
+
1127
+ ID_FIELD_NUMBER: builtins.int
1128
+ WORKFLOW_NAME_FIELD_NUMBER: builtins.int
1129
+ SCHEDULE_TYPE_FIELD_NUMBER: builtins.int
1130
+ CRON_EXPRESSION_FIELD_NUMBER: builtins.int
1131
+ INTERVAL_SECONDS_FIELD_NUMBER: builtins.int
1132
+ STATUS_FIELD_NUMBER: builtins.int
1133
+ NEXT_RUN_AT_FIELD_NUMBER: builtins.int
1134
+ LAST_RUN_AT_FIELD_NUMBER: builtins.int
1135
+ LAST_INSTANCE_ID_FIELD_NUMBER: builtins.int
1136
+ CREATED_AT_FIELD_NUMBER: builtins.int
1137
+ UPDATED_AT_FIELD_NUMBER: builtins.int
1138
+ SCHEDULE_NAME_FIELD_NUMBER: builtins.int
1139
+ JITTER_SECONDS_FIELD_NUMBER: builtins.int
1140
+ id: builtins.str
1141
+ workflow_name: builtins.str
1142
+ schedule_type: Global___ScheduleType.ValueType
1143
+ cron_expression: builtins.str
1144
+ """Empty if interval-based"""
1145
+ interval_seconds: builtins.int
1146
+ """0 if cron-based"""
1147
+ status: Global___ScheduleStatus.ValueType
1148
+ next_run_at: builtins.str
1149
+ """ISO 8601 timestamp"""
1150
+ last_run_at: builtins.str
1151
+ """ISO 8601 timestamp, empty if never run"""
1152
+ last_instance_id: builtins.str
1153
+ """Empty if never run"""
1154
+ created_at: builtins.str
1155
+ """ISO 8601 timestamp"""
1156
+ updated_at: builtins.str
1157
+ """ISO 8601 timestamp"""
1158
+ schedule_name: builtins.str
1159
+ """Name of this schedule (allows multiple per workflow)"""
1160
+ jitter_seconds: builtins.int
1161
+ """0 if no jitter configured"""
1162
+ def __init__(
1163
+ self,
1164
+ *,
1165
+ id: builtins.str = ...,
1166
+ workflow_name: builtins.str = ...,
1167
+ schedule_type: Global___ScheduleType.ValueType = ...,
1168
+ cron_expression: builtins.str = ...,
1169
+ interval_seconds: builtins.int = ...,
1170
+ status: Global___ScheduleStatus.ValueType = ...,
1171
+ next_run_at: builtins.str = ...,
1172
+ last_run_at: builtins.str = ...,
1173
+ last_instance_id: builtins.str = ...,
1174
+ created_at: builtins.str = ...,
1175
+ updated_at: builtins.str = ...,
1176
+ schedule_name: builtins.str = ...,
1177
+ jitter_seconds: builtins.int = ...,
1178
+ ) -> None: ...
1179
+ def ClearField(
1180
+ self,
1181
+ field_name: typing.Literal[
1182
+ "created_at",
1183
+ b"created_at",
1184
+ "cron_expression",
1185
+ b"cron_expression",
1186
+ "id",
1187
+ b"id",
1188
+ "interval_seconds",
1189
+ b"interval_seconds",
1190
+ "jitter_seconds",
1191
+ b"jitter_seconds",
1192
+ "last_instance_id",
1193
+ b"last_instance_id",
1194
+ "last_run_at",
1195
+ b"last_run_at",
1196
+ "next_run_at",
1197
+ b"next_run_at",
1198
+ "schedule_name",
1199
+ b"schedule_name",
1200
+ "schedule_type",
1201
+ b"schedule_type",
1202
+ "status",
1203
+ b"status",
1204
+ "updated_at",
1205
+ b"updated_at",
1206
+ "workflow_name",
1207
+ b"workflow_name",
1208
+ ],
1209
+ ) -> None: ...
1210
+
1211
+ Global___ScheduleInfo: typing_extensions.TypeAlias = ScheduleInfo
1212
+
1213
+ @typing.final
1214
+ class ListSchedulesResponse(google.protobuf.message.Message):
1215
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
1216
+
1217
+ SCHEDULES_FIELD_NUMBER: builtins.int
1218
+ @property
1219
+ def schedules(
1220
+ self,
1221
+ ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[
1222
+ Global___ScheduleInfo
1223
+ ]: ...
1224
+ def __init__(
1225
+ self,
1226
+ *,
1227
+ schedules: collections.abc.Iterable[Global___ScheduleInfo] | None = ...,
1228
+ ) -> None: ...
1229
+ def ClearField(self, field_name: typing.Literal["schedules", b"schedules"]) -> None: ...
1230
+
1231
+ Global___ListSchedulesResponse: typing_extensions.TypeAlias = ListSchedulesResponse