dex-python-sdk 0.0.1__py3-none-any.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.
- dex/__init__.py +14 -0
- dex/client.py +568 -0
- dex/client_options.py +34 -0
- dex/command_request.py +130 -0
- dex/command_results.py +116 -0
- dex/communication.py +141 -0
- dex/communication_schema.py +68 -0
- dex/data_attributes.py +75 -0
- dex/dexpb/__init__.py +1 -0
- dex/dexpb/dex_pb2.py +305 -0
- dex/dexpb/dex_pb2.pyi +1273 -0
- dex/dexpb/dex_pb2_grpc.py +1126 -0
- dex/errors.py +132 -0
- dex/object_encoder.py +818 -0
- dex/persistence.py +94 -0
- dex/persistence_options.py +24 -0
- dex/persistence_schema.py +58 -0
- dex/py.typed +1 -0
- dex/registry.py +209 -0
- dex/reset_workflow_type_and_options.py +77 -0
- dex/rpc.py +100 -0
- dex/search_attributes.py +189 -0
- dex/state_decision.py +161 -0
- dex/state_execution_locals.py +71 -0
- dex/state_movement.py +123 -0
- dex/state_schema.py +54 -0
- dex/stop_workflow_options.py +23 -0
- dex/tests/__init__.py +84 -0
- dex/tests/dex-service-env/.env +7 -0
- dex/tests/dex-service-env/docker-compose-init.sh +44 -0
- dex/tests/dex-service-env/docker-compose.yml +87 -0
- dex/tests/dex-service-env/dynamicconfig/README.md +39 -0
- dex/tests/dex-service-env/dynamicconfig/development-sql.yaml +6 -0
- dex/tests/dex-service-env/dynamicconfig/docker.yaml +0 -0
- dex/tests/test_abnormal_exit_workflow.py +48 -0
- dex/tests/test_basic_workflow.py +75 -0
- dex/tests/test_conditional_complete.py +56 -0
- dex/tests/test_describe_workflow.py +45 -0
- dex/tests/test_empty_data_decodes_properly.py +79 -0
- dex/tests/test_internal_channel.py +33 -0
- dex/tests/test_internal_channel_with_no_prefix_channel.py +46 -0
- dex/tests/test_persistence_data_attributes.py +67 -0
- dex/tests/test_persistence_search_attributes.py +132 -0
- dex/tests/test_persistence_state_execution_locals.py +43 -0
- dex/tests/test_rpc.py +69 -0
- dex/tests/test_rpc_with_memo.py +200 -0
- dex/tests/test_rpc_with_memo_duplicate_java_tests.py +122 -0
- dex/tests/test_signal.py +56 -0
- dex/tests/test_skip_wait_until.py +85 -0
- dex/tests/test_state_failure_recovery.py +33 -0
- dex/tests/test_timer.py +40 -0
- dex/tests/test_wait_for_state_execution_completion.py +58 -0
- dex/tests/test_workflow_errors.py +92 -0
- dex/tests/test_workflow_state_options.py +123 -0
- dex/tests/test_workflow_state_options_override.py +49 -0
- dex/tests/worker_server.py +74 -0
- dex/tests/workflows/abnormal_exit_workflow.py +48 -0
- dex/tests/workflows/basic_workflow.py +69 -0
- dex/tests/workflows/conditional_complete_workflow.py +101 -0
- dex/tests/workflows/describe_workflow.py +52 -0
- dex/tests/workflows/empty_data_workflow.py +51 -0
- dex/tests/workflows/internal_channel_workflow.py +137 -0
- dex/tests/workflows/internal_channel_workflow_with_no_prefix_channel.py +108 -0
- dex/tests/workflows/java_duplicate_rpc_memo_workflow.py +285 -0
- dex/tests/workflows/persistence_data_attributes_workflow.py +104 -0
- dex/tests/workflows/persistence_search_attributes_workflow.py +167 -0
- dex/tests/workflows/persistence_state_execution_local_workflow.py +69 -0
- dex/tests/workflows/recovery_workflow.py +90 -0
- dex/tests/workflows/rpc_memo_workflow.py +238 -0
- dex/tests/workflows/rpc_workflow.py +125 -0
- dex/tests/workflows/state_options_override_workflow.py +100 -0
- dex/tests/workflows/state_options_workflow.py +92 -0
- dex/tests/workflows/timer_workflow.py +52 -0
- dex/tests/workflows/wait_for_state_with_state_execution_id_workflow.py +77 -0
- dex/tests/workflows/wait_for_state_with_wait_for_key_workflow.py +78 -0
- dex/tests/workflows/wait_internal_channel_workflow.py +53 -0
- dex/tests/workflows/wait_signal_workflow.py +154 -0
- dex/type_store.py +105 -0
- dex/unregistered_client.py +595 -0
- dex/utils/__init__.py +14 -0
- dex/utils/dex_typing.py +31 -0
- dex/utils/persistence_utils.py +37 -0
- dex/worker_service.py +441 -0
- dex/workflow.py +86 -0
- dex/workflow_context.py +50 -0
- dex/workflow_info.py +21 -0
- dex/workflow_options.py +79 -0
- dex/workflow_state.py +134 -0
- dex/workflow_state_options.py +160 -0
- dex_python_sdk-0.0.1.dist-info/METADATA +140 -0
- dex_python_sdk-0.0.1.dist-info/RECORD +93 -0
- dex_python_sdk-0.0.1.dist-info/WHEEL +4 -0
- dex_python_sdk-0.0.1.dist-info/licenses/LICENSE +201 -0
dex/dexpb/dex_pb2.pyi
ADDED
|
@@ -0,0 +1,1273 @@
|
|
|
1
|
+
from google.protobuf import empty_pb2 as _empty_pb2
|
|
2
|
+
from google.protobuf import struct_pb2 as _struct_pb2
|
|
3
|
+
from google.protobuf.internal import containers as _containers
|
|
4
|
+
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
|
|
5
|
+
from google.protobuf import descriptor as _descriptor
|
|
6
|
+
from google.protobuf import message as _message
|
|
7
|
+
from collections.abc import Iterable as _Iterable, Mapping as _Mapping
|
|
8
|
+
from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
|
|
9
|
+
|
|
10
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
11
|
+
|
|
12
|
+
class IndexType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
13
|
+
__slots__ = ()
|
|
14
|
+
INDEX_TYPE_UNSPECIFIED: _ClassVar[IndexType]
|
|
15
|
+
INDEX_TYPE_KEYWORD: _ClassVar[IndexType]
|
|
16
|
+
INDEX_TYPE_TEXT: _ClassVar[IndexType]
|
|
17
|
+
INDEX_TYPE_KEYWORD_ARRAY: _ClassVar[IndexType]
|
|
18
|
+
INDEX_TYPE_INT: _ClassVar[IndexType]
|
|
19
|
+
INDEX_TYPE_DOUBLE: _ClassVar[IndexType]
|
|
20
|
+
INDEX_TYPE_BOOL: _ClassVar[IndexType]
|
|
21
|
+
INDEX_TYPE_DATETIME: _ClassVar[IndexType]
|
|
22
|
+
|
|
23
|
+
class WaitForApiFailurePolicy(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
24
|
+
__slots__ = ()
|
|
25
|
+
WAIT_FOR_API_FAILURE_POLICY_UNSPECIFIED: _ClassVar[WaitForApiFailurePolicy]
|
|
26
|
+
WAIT_FOR_API_FAILURE_POLICY_FAIL_FLOW_ON_FAILURE: _ClassVar[WaitForApiFailurePolicy]
|
|
27
|
+
WAIT_FOR_API_FAILURE_POLICY_PROCEED_ON_FAILURE: _ClassVar[WaitForApiFailurePolicy]
|
|
28
|
+
|
|
29
|
+
class ExecuteApiFailurePolicy(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
30
|
+
__slots__ = ()
|
|
31
|
+
EXECUTE_API_FAILURE_POLICY_UNSPECIFIED: _ClassVar[ExecuteApiFailurePolicy]
|
|
32
|
+
EXECUTE_API_FAILURE_POLICY_FAIL_FLOW_ON_EXECUTE_API_FAILURE: _ClassVar[ExecuteApiFailurePolicy]
|
|
33
|
+
EXECUTE_API_FAILURE_POLICY_PROCEED_TO_CONFIGURED_STEP: _ClassVar[ExecuteApiFailurePolicy]
|
|
34
|
+
|
|
35
|
+
class IdReusePolicy(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
36
|
+
__slots__ = ()
|
|
37
|
+
ID_REUSE_POLICY_UNSPECIFIED: _ClassVar[IdReusePolicy]
|
|
38
|
+
ID_REUSE_POLICY_ALLOW_IF_PREVIOUS_EXISTS_ABNORMALLY: _ClassVar[IdReusePolicy]
|
|
39
|
+
ID_REUSE_POLICY_ALLOW_IF_NO_RUNNING: _ClassVar[IdReusePolicy]
|
|
40
|
+
ID_REUSE_POLICY_DISALLOW_REUSE: _ClassVar[IdReusePolicy]
|
|
41
|
+
ID_REUSE_POLICY_ALLOW_TERMINATE_IF_RUNNING: _ClassVar[IdReusePolicy]
|
|
42
|
+
|
|
43
|
+
class ActiveStepSearchMode(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
44
|
+
__slots__ = ()
|
|
45
|
+
ACTIVE_STEP_SEARCH_MODE_UNSPECIFIED: _ClassVar[ActiveStepSearchMode]
|
|
46
|
+
ACTIVE_STEP_SEARCH_MODE_ENABLED_FOR_ALL: _ClassVar[ActiveStepSearchMode]
|
|
47
|
+
ACTIVE_STEP_SEARCH_MODE_ENABLED_FOR_STEPS_WITH_WAIT_FOR: _ClassVar[ActiveStepSearchMode]
|
|
48
|
+
ACTIVE_STEP_SEARCH_MODE_DISABLED: _ClassVar[ActiveStepSearchMode]
|
|
49
|
+
|
|
50
|
+
class StepDurability(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
51
|
+
__slots__ = ()
|
|
52
|
+
STEP_DURABILITY_UNSPECIFIED: _ClassVar[StepDurability]
|
|
53
|
+
STEP_DURABILITY_SYNC: _ClassVar[StepDurability]
|
|
54
|
+
STEP_DURABILITY_ASYNC: _ClassVar[StepDurability]
|
|
55
|
+
|
|
56
|
+
class StopType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
57
|
+
__slots__ = ()
|
|
58
|
+
STOP_TYPE_UNSPECIFIED: _ClassVar[StopType]
|
|
59
|
+
STOP_TYPE_CANCEL: _ClassVar[StopType]
|
|
60
|
+
STOP_TYPE_TERMINATE: _ClassVar[StopType]
|
|
61
|
+
STOP_TYPE_FAIL: _ClassVar[StopType]
|
|
62
|
+
|
|
63
|
+
class FlowStatus(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
64
|
+
__slots__ = ()
|
|
65
|
+
FLOW_STATUS_UNSPECIFIED: _ClassVar[FlowStatus]
|
|
66
|
+
FLOW_STATUS_RUNNING: _ClassVar[FlowStatus]
|
|
67
|
+
FLOW_STATUS_COMPLETED: _ClassVar[FlowStatus]
|
|
68
|
+
FLOW_STATUS_FAILED: _ClassVar[FlowStatus]
|
|
69
|
+
FLOW_STATUS_TIMEOUT: _ClassVar[FlowStatus]
|
|
70
|
+
FLOW_STATUS_TERMINATED: _ClassVar[FlowStatus]
|
|
71
|
+
FLOW_STATUS_CANCELED: _ClassVar[FlowStatus]
|
|
72
|
+
FLOW_STATUS_CONTINUED_AS_NEW: _ClassVar[FlowStatus]
|
|
73
|
+
|
|
74
|
+
class FlowErrorType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
75
|
+
__slots__ = ()
|
|
76
|
+
FLOW_ERROR_TYPE_UNSPECIFIED: _ClassVar[FlowErrorType]
|
|
77
|
+
FLOW_ERROR_TYPE_STEP_DECISION_FAILING_FLOW: _ClassVar[FlowErrorType]
|
|
78
|
+
FLOW_ERROR_TYPE_CLIENT_API_FAILING_FLOW: _ClassVar[FlowErrorType]
|
|
79
|
+
FLOW_ERROR_TYPE_WORKER_API_FAIL: _ClassVar[FlowErrorType]
|
|
80
|
+
FLOW_ERROR_TYPE_INVALID_USER_FLOW_CODE: _ClassVar[FlowErrorType]
|
|
81
|
+
FLOW_ERROR_TYPE_INTERNAL: _ClassVar[FlowErrorType]
|
|
82
|
+
|
|
83
|
+
class FlowResetType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
84
|
+
__slots__ = ()
|
|
85
|
+
FLOW_RESET_TYPE_UNSPECIFIED: _ClassVar[FlowResetType]
|
|
86
|
+
FLOW_RESET_TYPE_HISTORY_EVENT_ID: _ClassVar[FlowResetType]
|
|
87
|
+
FLOW_RESET_TYPE_BEGINNING: _ClassVar[FlowResetType]
|
|
88
|
+
FLOW_RESET_TYPE_HISTORY_EVENT_TIME: _ClassVar[FlowResetType]
|
|
89
|
+
FLOW_RESET_TYPE_STEP_TYPE: _ClassVar[FlowResetType]
|
|
90
|
+
FLOW_RESET_TYPE_STEP_EXECUTION_ID: _ClassVar[FlowResetType]
|
|
91
|
+
|
|
92
|
+
class ErrorSubStatus(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
93
|
+
__slots__ = ()
|
|
94
|
+
ERROR_SUB_STATUS_UNSPECIFIED: _ClassVar[ErrorSubStatus]
|
|
95
|
+
ERROR_SUB_STATUS_UNCATEGORIZED: _ClassVar[ErrorSubStatus]
|
|
96
|
+
ERROR_SUB_STATUS_FLOW_ALREADY_STARTED: _ClassVar[ErrorSubStatus]
|
|
97
|
+
ERROR_SUB_STATUS_FLOW_NOT_EXISTS: _ClassVar[ErrorSubStatus]
|
|
98
|
+
ERROR_SUB_STATUS_WORKER_API_ERROR: _ClassVar[ErrorSubStatus]
|
|
99
|
+
ERROR_SUB_STATUS_LONG_POLL_TIME_OUT: _ClassVar[ErrorSubStatus]
|
|
100
|
+
|
|
101
|
+
class FlowConditionalCloseType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
102
|
+
__slots__ = ()
|
|
103
|
+
FLOW_CONDITIONAL_CLOSE_TYPE_UNSPECIFIED: _ClassVar[FlowConditionalCloseType]
|
|
104
|
+
FLOW_CONDITIONAL_CLOSE_TYPE_FORCE_COMPLETE_ON_CHANNELS_EMPTY: _ClassVar[FlowConditionalCloseType]
|
|
105
|
+
|
|
106
|
+
class WaitingConditionType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
107
|
+
__slots__ = ()
|
|
108
|
+
WAITING_CONDITION_TYPE_UNSPECIFIED: _ClassVar[WaitingConditionType]
|
|
109
|
+
WAITING_CONDITION_TYPE_ALL_COMPLETED: _ClassVar[WaitingConditionType]
|
|
110
|
+
WAITING_CONDITION_TYPE_ANY_COMPLETED: _ClassVar[WaitingConditionType]
|
|
111
|
+
WAITING_CONDITION_TYPE_ANY_COMBINATION_COMPLETED: _ClassVar[WaitingConditionType]
|
|
112
|
+
|
|
113
|
+
class ConditionStatus(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
114
|
+
__slots__ = ()
|
|
115
|
+
CONDITION_STATUS_UNSPECIFIED: _ClassVar[ConditionStatus]
|
|
116
|
+
CONDITION_STATUS_WAITING: _ClassVar[ConditionStatus]
|
|
117
|
+
CONDITION_STATUS_COMPLETED: _ClassVar[ConditionStatus]
|
|
118
|
+
|
|
119
|
+
class InternalTimerStatus(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
120
|
+
__slots__ = ()
|
|
121
|
+
INTERNAL_TIMER_STATUS_UNSPECIFIED: _ClassVar[InternalTimerStatus]
|
|
122
|
+
INTERNAL_TIMER_STATUS_PENDING: _ClassVar[InternalTimerStatus]
|
|
123
|
+
INTERNAL_TIMER_STATUS_FIRED: _ClassVar[InternalTimerStatus]
|
|
124
|
+
INTERNAL_TIMER_STATUS_SKIPPED: _ClassVar[InternalTimerStatus]
|
|
125
|
+
|
|
126
|
+
class UpdateErrorType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
127
|
+
__slots__ = ()
|
|
128
|
+
UPDATE_ERROR_TYPE_UNSPECIFIED: _ClassVar[UpdateErrorType]
|
|
129
|
+
UPDATE_ERROR_TYPE_CONTINUE_AS_NEW_PREEMPTED: _ClassVar[UpdateErrorType]
|
|
130
|
+
UPDATE_ERROR_TYPE_INVALID_ARGUMENT: _ClassVar[UpdateErrorType]
|
|
131
|
+
UPDATE_ERROR_TYPE_FAILED_PRECONDITION: _ClassVar[UpdateErrorType]
|
|
132
|
+
UPDATE_ERROR_TYPE_DEADLINE_EXCEEDED: _ClassVar[UpdateErrorType]
|
|
133
|
+
UPDATE_ERROR_TYPE_RPC_ACQUIRE_LOCK_FAILURE: _ClassVar[UpdateErrorType]
|
|
134
|
+
UPDATE_ERROR_TYPE_SERVER_INTERNAL: _ClassVar[UpdateErrorType]
|
|
135
|
+
INDEX_TYPE_UNSPECIFIED: IndexType
|
|
136
|
+
INDEX_TYPE_KEYWORD: IndexType
|
|
137
|
+
INDEX_TYPE_TEXT: IndexType
|
|
138
|
+
INDEX_TYPE_KEYWORD_ARRAY: IndexType
|
|
139
|
+
INDEX_TYPE_INT: IndexType
|
|
140
|
+
INDEX_TYPE_DOUBLE: IndexType
|
|
141
|
+
INDEX_TYPE_BOOL: IndexType
|
|
142
|
+
INDEX_TYPE_DATETIME: IndexType
|
|
143
|
+
WAIT_FOR_API_FAILURE_POLICY_UNSPECIFIED: WaitForApiFailurePolicy
|
|
144
|
+
WAIT_FOR_API_FAILURE_POLICY_FAIL_FLOW_ON_FAILURE: WaitForApiFailurePolicy
|
|
145
|
+
WAIT_FOR_API_FAILURE_POLICY_PROCEED_ON_FAILURE: WaitForApiFailurePolicy
|
|
146
|
+
EXECUTE_API_FAILURE_POLICY_UNSPECIFIED: ExecuteApiFailurePolicy
|
|
147
|
+
EXECUTE_API_FAILURE_POLICY_FAIL_FLOW_ON_EXECUTE_API_FAILURE: ExecuteApiFailurePolicy
|
|
148
|
+
EXECUTE_API_FAILURE_POLICY_PROCEED_TO_CONFIGURED_STEP: ExecuteApiFailurePolicy
|
|
149
|
+
ID_REUSE_POLICY_UNSPECIFIED: IdReusePolicy
|
|
150
|
+
ID_REUSE_POLICY_ALLOW_IF_PREVIOUS_EXISTS_ABNORMALLY: IdReusePolicy
|
|
151
|
+
ID_REUSE_POLICY_ALLOW_IF_NO_RUNNING: IdReusePolicy
|
|
152
|
+
ID_REUSE_POLICY_DISALLOW_REUSE: IdReusePolicy
|
|
153
|
+
ID_REUSE_POLICY_ALLOW_TERMINATE_IF_RUNNING: IdReusePolicy
|
|
154
|
+
ACTIVE_STEP_SEARCH_MODE_UNSPECIFIED: ActiveStepSearchMode
|
|
155
|
+
ACTIVE_STEP_SEARCH_MODE_ENABLED_FOR_ALL: ActiveStepSearchMode
|
|
156
|
+
ACTIVE_STEP_SEARCH_MODE_ENABLED_FOR_STEPS_WITH_WAIT_FOR: ActiveStepSearchMode
|
|
157
|
+
ACTIVE_STEP_SEARCH_MODE_DISABLED: ActiveStepSearchMode
|
|
158
|
+
STEP_DURABILITY_UNSPECIFIED: StepDurability
|
|
159
|
+
STEP_DURABILITY_SYNC: StepDurability
|
|
160
|
+
STEP_DURABILITY_ASYNC: StepDurability
|
|
161
|
+
STOP_TYPE_UNSPECIFIED: StopType
|
|
162
|
+
STOP_TYPE_CANCEL: StopType
|
|
163
|
+
STOP_TYPE_TERMINATE: StopType
|
|
164
|
+
STOP_TYPE_FAIL: StopType
|
|
165
|
+
FLOW_STATUS_UNSPECIFIED: FlowStatus
|
|
166
|
+
FLOW_STATUS_RUNNING: FlowStatus
|
|
167
|
+
FLOW_STATUS_COMPLETED: FlowStatus
|
|
168
|
+
FLOW_STATUS_FAILED: FlowStatus
|
|
169
|
+
FLOW_STATUS_TIMEOUT: FlowStatus
|
|
170
|
+
FLOW_STATUS_TERMINATED: FlowStatus
|
|
171
|
+
FLOW_STATUS_CANCELED: FlowStatus
|
|
172
|
+
FLOW_STATUS_CONTINUED_AS_NEW: FlowStatus
|
|
173
|
+
FLOW_ERROR_TYPE_UNSPECIFIED: FlowErrorType
|
|
174
|
+
FLOW_ERROR_TYPE_STEP_DECISION_FAILING_FLOW: FlowErrorType
|
|
175
|
+
FLOW_ERROR_TYPE_CLIENT_API_FAILING_FLOW: FlowErrorType
|
|
176
|
+
FLOW_ERROR_TYPE_WORKER_API_FAIL: FlowErrorType
|
|
177
|
+
FLOW_ERROR_TYPE_INVALID_USER_FLOW_CODE: FlowErrorType
|
|
178
|
+
FLOW_ERROR_TYPE_INTERNAL: FlowErrorType
|
|
179
|
+
FLOW_RESET_TYPE_UNSPECIFIED: FlowResetType
|
|
180
|
+
FLOW_RESET_TYPE_HISTORY_EVENT_ID: FlowResetType
|
|
181
|
+
FLOW_RESET_TYPE_BEGINNING: FlowResetType
|
|
182
|
+
FLOW_RESET_TYPE_HISTORY_EVENT_TIME: FlowResetType
|
|
183
|
+
FLOW_RESET_TYPE_STEP_TYPE: FlowResetType
|
|
184
|
+
FLOW_RESET_TYPE_STEP_EXECUTION_ID: FlowResetType
|
|
185
|
+
ERROR_SUB_STATUS_UNSPECIFIED: ErrorSubStatus
|
|
186
|
+
ERROR_SUB_STATUS_UNCATEGORIZED: ErrorSubStatus
|
|
187
|
+
ERROR_SUB_STATUS_FLOW_ALREADY_STARTED: ErrorSubStatus
|
|
188
|
+
ERROR_SUB_STATUS_FLOW_NOT_EXISTS: ErrorSubStatus
|
|
189
|
+
ERROR_SUB_STATUS_WORKER_API_ERROR: ErrorSubStatus
|
|
190
|
+
ERROR_SUB_STATUS_LONG_POLL_TIME_OUT: ErrorSubStatus
|
|
191
|
+
FLOW_CONDITIONAL_CLOSE_TYPE_UNSPECIFIED: FlowConditionalCloseType
|
|
192
|
+
FLOW_CONDITIONAL_CLOSE_TYPE_FORCE_COMPLETE_ON_CHANNELS_EMPTY: FlowConditionalCloseType
|
|
193
|
+
WAITING_CONDITION_TYPE_UNSPECIFIED: WaitingConditionType
|
|
194
|
+
WAITING_CONDITION_TYPE_ALL_COMPLETED: WaitingConditionType
|
|
195
|
+
WAITING_CONDITION_TYPE_ANY_COMPLETED: WaitingConditionType
|
|
196
|
+
WAITING_CONDITION_TYPE_ANY_COMBINATION_COMPLETED: WaitingConditionType
|
|
197
|
+
CONDITION_STATUS_UNSPECIFIED: ConditionStatus
|
|
198
|
+
CONDITION_STATUS_WAITING: ConditionStatus
|
|
199
|
+
CONDITION_STATUS_COMPLETED: ConditionStatus
|
|
200
|
+
INTERNAL_TIMER_STATUS_UNSPECIFIED: InternalTimerStatus
|
|
201
|
+
INTERNAL_TIMER_STATUS_PENDING: InternalTimerStatus
|
|
202
|
+
INTERNAL_TIMER_STATUS_FIRED: InternalTimerStatus
|
|
203
|
+
INTERNAL_TIMER_STATUS_SKIPPED: InternalTimerStatus
|
|
204
|
+
UPDATE_ERROR_TYPE_UNSPECIFIED: UpdateErrorType
|
|
205
|
+
UPDATE_ERROR_TYPE_CONTINUE_AS_NEW_PREEMPTED: UpdateErrorType
|
|
206
|
+
UPDATE_ERROR_TYPE_INVALID_ARGUMENT: UpdateErrorType
|
|
207
|
+
UPDATE_ERROR_TYPE_FAILED_PRECONDITION: UpdateErrorType
|
|
208
|
+
UPDATE_ERROR_TYPE_DEADLINE_EXCEEDED: UpdateErrorType
|
|
209
|
+
UPDATE_ERROR_TYPE_RPC_ACQUIRE_LOCK_FAILURE: UpdateErrorType
|
|
210
|
+
UPDATE_ERROR_TYPE_SERVER_INTERNAL: UpdateErrorType
|
|
211
|
+
|
|
212
|
+
class Value(_message.Message):
|
|
213
|
+
__slots__ = ("internal_blob_id_for_string_value", "internal_blob_id_for_obj_value", "string_value", "obj_value", "int_value", "double_value", "bool_value", "null_value")
|
|
214
|
+
INTERNAL_BLOB_ID_FOR_STRING_VALUE_FIELD_NUMBER: _ClassVar[int]
|
|
215
|
+
INTERNAL_BLOB_ID_FOR_OBJ_VALUE_FIELD_NUMBER: _ClassVar[int]
|
|
216
|
+
STRING_VALUE_FIELD_NUMBER: _ClassVar[int]
|
|
217
|
+
OBJ_VALUE_FIELD_NUMBER: _ClassVar[int]
|
|
218
|
+
INT_VALUE_FIELD_NUMBER: _ClassVar[int]
|
|
219
|
+
DOUBLE_VALUE_FIELD_NUMBER: _ClassVar[int]
|
|
220
|
+
BOOL_VALUE_FIELD_NUMBER: _ClassVar[int]
|
|
221
|
+
NULL_VALUE_FIELD_NUMBER: _ClassVar[int]
|
|
222
|
+
internal_blob_id_for_string_value: str
|
|
223
|
+
internal_blob_id_for_obj_value: str
|
|
224
|
+
string_value: str
|
|
225
|
+
obj_value: EncodedObject
|
|
226
|
+
int_value: int
|
|
227
|
+
double_value: float
|
|
228
|
+
bool_value: bool
|
|
229
|
+
null_value: _struct_pb2.NullValue
|
|
230
|
+
def __init__(self, internal_blob_id_for_string_value: _Optional[str] = ..., internal_blob_id_for_obj_value: _Optional[str] = ..., string_value: _Optional[str] = ..., obj_value: _Optional[_Union[EncodedObject, _Mapping]] = ..., int_value: _Optional[int] = ..., double_value: _Optional[float] = ..., bool_value: _Optional[bool] = ..., null_value: _Optional[_Union[_struct_pb2.NullValue, str]] = ...) -> None: ...
|
|
231
|
+
|
|
232
|
+
class EncodedObject(_message.Message):
|
|
233
|
+
__slots__ = ("encoding", "payload")
|
|
234
|
+
ENCODING_FIELD_NUMBER: _ClassVar[int]
|
|
235
|
+
PAYLOAD_FIELD_NUMBER: _ClassVar[int]
|
|
236
|
+
encoding: str
|
|
237
|
+
payload: bytes
|
|
238
|
+
def __init__(self, encoding: _Optional[str] = ..., payload: _Optional[bytes] = ...) -> None: ...
|
|
239
|
+
|
|
240
|
+
class AttributeWrite(_message.Message):
|
|
241
|
+
__slots__ = ("key", "value", "index_config")
|
|
242
|
+
KEY_FIELD_NUMBER: _ClassVar[int]
|
|
243
|
+
VALUE_FIELD_NUMBER: _ClassVar[int]
|
|
244
|
+
INDEX_CONFIG_FIELD_NUMBER: _ClassVar[int]
|
|
245
|
+
key: str
|
|
246
|
+
value: Value
|
|
247
|
+
index_config: IndexConfig
|
|
248
|
+
def __init__(self, key: _Optional[str] = ..., value: _Optional[_Union[Value, _Mapping]] = ..., index_config: _Optional[_Union[IndexConfig, _Mapping]] = ...) -> None: ...
|
|
249
|
+
|
|
250
|
+
class KV(_message.Message):
|
|
251
|
+
__slots__ = ("key", "value")
|
|
252
|
+
KEY_FIELD_NUMBER: _ClassVar[int]
|
|
253
|
+
VALUE_FIELD_NUMBER: _ClassVar[int]
|
|
254
|
+
key: str
|
|
255
|
+
value: Value
|
|
256
|
+
def __init__(self, key: _Optional[str] = ..., value: _Optional[_Union[Value, _Mapping]] = ...) -> None: ...
|
|
257
|
+
|
|
258
|
+
class IndexConfig(_message.Message):
|
|
259
|
+
__slots__ = ("enable", "type", "index_key")
|
|
260
|
+
ENABLE_FIELD_NUMBER: _ClassVar[int]
|
|
261
|
+
TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
262
|
+
INDEX_KEY_FIELD_NUMBER: _ClassVar[int]
|
|
263
|
+
enable: bool
|
|
264
|
+
type: IndexType
|
|
265
|
+
index_key: str
|
|
266
|
+
def __init__(self, enable: _Optional[bool] = ..., type: _Optional[_Union[IndexType, str]] = ..., index_key: _Optional[str] = ...) -> None: ...
|
|
267
|
+
|
|
268
|
+
class Context(_message.Message):
|
|
269
|
+
__slots__ = ("flow_id", "run_id", "flow_started_timestamp", "step_execution_id", "first_attempt_timestamp", "attempt")
|
|
270
|
+
FLOW_ID_FIELD_NUMBER: _ClassVar[int]
|
|
271
|
+
RUN_ID_FIELD_NUMBER: _ClassVar[int]
|
|
272
|
+
FLOW_STARTED_TIMESTAMP_FIELD_NUMBER: _ClassVar[int]
|
|
273
|
+
STEP_EXECUTION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
274
|
+
FIRST_ATTEMPT_TIMESTAMP_FIELD_NUMBER: _ClassVar[int]
|
|
275
|
+
ATTEMPT_FIELD_NUMBER: _ClassVar[int]
|
|
276
|
+
flow_id: str
|
|
277
|
+
run_id: str
|
|
278
|
+
flow_started_timestamp: int
|
|
279
|
+
step_execution_id: str
|
|
280
|
+
first_attempt_timestamp: int
|
|
281
|
+
attempt: int
|
|
282
|
+
def __init__(self, flow_id: _Optional[str] = ..., run_id: _Optional[str] = ..., flow_started_timestamp: _Optional[int] = ..., step_execution_id: _Optional[str] = ..., first_attempt_timestamp: _Optional[int] = ..., attempt: _Optional[int] = ...) -> None: ...
|
|
283
|
+
|
|
284
|
+
class RetryPolicy(_message.Message):
|
|
285
|
+
__slots__ = ("initial_interval_seconds", "backoff_coefficient", "maximum_interval_seconds", "maximum_attempts", "total_duration_seconds")
|
|
286
|
+
INITIAL_INTERVAL_SECONDS_FIELD_NUMBER: _ClassVar[int]
|
|
287
|
+
BACKOFF_COEFFICIENT_FIELD_NUMBER: _ClassVar[int]
|
|
288
|
+
MAXIMUM_INTERVAL_SECONDS_FIELD_NUMBER: _ClassVar[int]
|
|
289
|
+
MAXIMUM_ATTEMPTS_FIELD_NUMBER: _ClassVar[int]
|
|
290
|
+
TOTAL_DURATION_SECONDS_FIELD_NUMBER: _ClassVar[int]
|
|
291
|
+
initial_interval_seconds: int
|
|
292
|
+
backoff_coefficient: float
|
|
293
|
+
maximum_interval_seconds: int
|
|
294
|
+
maximum_attempts: int
|
|
295
|
+
total_duration_seconds: int
|
|
296
|
+
def __init__(self, initial_interval_seconds: _Optional[int] = ..., backoff_coefficient: _Optional[float] = ..., maximum_interval_seconds: _Optional[int] = ..., maximum_attempts: _Optional[int] = ..., total_duration_seconds: _Optional[int] = ...) -> None: ...
|
|
297
|
+
|
|
298
|
+
class FlowRetryPolicy(_message.Message):
|
|
299
|
+
__slots__ = ("initial_interval_seconds", "backoff_coefficient", "maximum_interval_seconds", "maximum_attempts")
|
|
300
|
+
INITIAL_INTERVAL_SECONDS_FIELD_NUMBER: _ClassVar[int]
|
|
301
|
+
BACKOFF_COEFFICIENT_FIELD_NUMBER: _ClassVar[int]
|
|
302
|
+
MAXIMUM_INTERVAL_SECONDS_FIELD_NUMBER: _ClassVar[int]
|
|
303
|
+
MAXIMUM_ATTEMPTS_FIELD_NUMBER: _ClassVar[int]
|
|
304
|
+
initial_interval_seconds: int
|
|
305
|
+
backoff_coefficient: float
|
|
306
|
+
maximum_interval_seconds: int
|
|
307
|
+
maximum_attempts: int
|
|
308
|
+
def __init__(self, initial_interval_seconds: _Optional[int] = ..., backoff_coefficient: _Optional[float] = ..., maximum_interval_seconds: _Optional[int] = ..., maximum_attempts: _Optional[int] = ...) -> None: ...
|
|
309
|
+
|
|
310
|
+
class StepOptions(_message.Message):
|
|
311
|
+
__slots__ = ("wait_for_timeout_seconds", "execute_timeout_seconds", "wait_for_retry_policy", "execute_retry_policy", "wait_for_failure_policy", "execute_failure_policy", "execute_failure_proceed_step_type", "execute_failure_proceed_step_options", "skip_wait_for", "wait_for_durability_override", "execute_durability_override", "wait_for_lock_attribute_keys", "execute_lock_attribute_keys")
|
|
312
|
+
WAIT_FOR_TIMEOUT_SECONDS_FIELD_NUMBER: _ClassVar[int]
|
|
313
|
+
EXECUTE_TIMEOUT_SECONDS_FIELD_NUMBER: _ClassVar[int]
|
|
314
|
+
WAIT_FOR_RETRY_POLICY_FIELD_NUMBER: _ClassVar[int]
|
|
315
|
+
EXECUTE_RETRY_POLICY_FIELD_NUMBER: _ClassVar[int]
|
|
316
|
+
WAIT_FOR_FAILURE_POLICY_FIELD_NUMBER: _ClassVar[int]
|
|
317
|
+
EXECUTE_FAILURE_POLICY_FIELD_NUMBER: _ClassVar[int]
|
|
318
|
+
EXECUTE_FAILURE_PROCEED_STEP_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
319
|
+
EXECUTE_FAILURE_PROCEED_STEP_OPTIONS_FIELD_NUMBER: _ClassVar[int]
|
|
320
|
+
SKIP_WAIT_FOR_FIELD_NUMBER: _ClassVar[int]
|
|
321
|
+
WAIT_FOR_DURABILITY_OVERRIDE_FIELD_NUMBER: _ClassVar[int]
|
|
322
|
+
EXECUTE_DURABILITY_OVERRIDE_FIELD_NUMBER: _ClassVar[int]
|
|
323
|
+
WAIT_FOR_LOCK_ATTRIBUTE_KEYS_FIELD_NUMBER: _ClassVar[int]
|
|
324
|
+
EXECUTE_LOCK_ATTRIBUTE_KEYS_FIELD_NUMBER: _ClassVar[int]
|
|
325
|
+
wait_for_timeout_seconds: int
|
|
326
|
+
execute_timeout_seconds: int
|
|
327
|
+
wait_for_retry_policy: RetryPolicy
|
|
328
|
+
execute_retry_policy: RetryPolicy
|
|
329
|
+
wait_for_failure_policy: WaitForApiFailurePolicy
|
|
330
|
+
execute_failure_policy: ExecuteApiFailurePolicy
|
|
331
|
+
execute_failure_proceed_step_type: str
|
|
332
|
+
execute_failure_proceed_step_options: StepOptions
|
|
333
|
+
skip_wait_for: bool
|
|
334
|
+
wait_for_durability_override: StepDurability
|
|
335
|
+
execute_durability_override: StepDurability
|
|
336
|
+
wait_for_lock_attribute_keys: _containers.RepeatedScalarFieldContainer[str]
|
|
337
|
+
execute_lock_attribute_keys: _containers.RepeatedScalarFieldContainer[str]
|
|
338
|
+
def __init__(self, wait_for_timeout_seconds: _Optional[int] = ..., execute_timeout_seconds: _Optional[int] = ..., wait_for_retry_policy: _Optional[_Union[RetryPolicy, _Mapping]] = ..., execute_retry_policy: _Optional[_Union[RetryPolicy, _Mapping]] = ..., wait_for_failure_policy: _Optional[_Union[WaitForApiFailurePolicy, str]] = ..., execute_failure_policy: _Optional[_Union[ExecuteApiFailurePolicy, str]] = ..., execute_failure_proceed_step_type: _Optional[str] = ..., execute_failure_proceed_step_options: _Optional[_Union[StepOptions, _Mapping]] = ..., skip_wait_for: _Optional[bool] = ..., wait_for_durability_override: _Optional[_Union[StepDurability, str]] = ..., execute_durability_override: _Optional[_Union[StepDurability, str]] = ..., wait_for_lock_attribute_keys: _Optional[_Iterable[str]] = ..., execute_lock_attribute_keys: _Optional[_Iterable[str]] = ...) -> None: ...
|
|
339
|
+
|
|
340
|
+
class FlowAlreadyStartedOptions(_message.Message):
|
|
341
|
+
__slots__ = ("ignore_already_started_error", "request_id")
|
|
342
|
+
IGNORE_ALREADY_STARTED_ERROR_FIELD_NUMBER: _ClassVar[int]
|
|
343
|
+
REQUEST_ID_FIELD_NUMBER: _ClassVar[int]
|
|
344
|
+
ignore_already_started_error: bool
|
|
345
|
+
request_id: str
|
|
346
|
+
def __init__(self, ignore_already_started_error: _Optional[bool] = ..., request_id: _Optional[str] = ...) -> None: ...
|
|
347
|
+
|
|
348
|
+
class FlowStartOptions(_message.Message):
|
|
349
|
+
__slots__ = ("id_reuse_policy", "cron_schedule", "flow_start_delay_seconds", "retry_policy", "attributes", "flow_config_override", "flow_already_started_options")
|
|
350
|
+
ID_REUSE_POLICY_FIELD_NUMBER: _ClassVar[int]
|
|
351
|
+
CRON_SCHEDULE_FIELD_NUMBER: _ClassVar[int]
|
|
352
|
+
FLOW_START_DELAY_SECONDS_FIELD_NUMBER: _ClassVar[int]
|
|
353
|
+
RETRY_POLICY_FIELD_NUMBER: _ClassVar[int]
|
|
354
|
+
ATTRIBUTES_FIELD_NUMBER: _ClassVar[int]
|
|
355
|
+
FLOW_CONFIG_OVERRIDE_FIELD_NUMBER: _ClassVar[int]
|
|
356
|
+
FLOW_ALREADY_STARTED_OPTIONS_FIELD_NUMBER: _ClassVar[int]
|
|
357
|
+
id_reuse_policy: IdReusePolicy
|
|
358
|
+
cron_schedule: str
|
|
359
|
+
flow_start_delay_seconds: int
|
|
360
|
+
retry_policy: FlowRetryPolicy
|
|
361
|
+
attributes: _containers.RepeatedCompositeFieldContainer[AttributeWrite]
|
|
362
|
+
flow_config_override: FlowConfig
|
|
363
|
+
flow_already_started_options: FlowAlreadyStartedOptions
|
|
364
|
+
def __init__(self, id_reuse_policy: _Optional[_Union[IdReusePolicy, str]] = ..., cron_schedule: _Optional[str] = ..., flow_start_delay_seconds: _Optional[int] = ..., retry_policy: _Optional[_Union[FlowRetryPolicy, _Mapping]] = ..., attributes: _Optional[_Iterable[_Union[AttributeWrite, _Mapping]]] = ..., flow_config_override: _Optional[_Union[FlowConfig, _Mapping]] = ..., flow_already_started_options: _Optional[_Union[FlowAlreadyStartedOptions, _Mapping]] = ...) -> None: ...
|
|
365
|
+
|
|
366
|
+
class FlowConfig(_message.Message):
|
|
367
|
+
__slots__ = ("active_step_search_mode", "continue_as_new_threshold", "continue_as_new_page_size_in_bytes", "step_durability")
|
|
368
|
+
ACTIVE_STEP_SEARCH_MODE_FIELD_NUMBER: _ClassVar[int]
|
|
369
|
+
CONTINUE_AS_NEW_THRESHOLD_FIELD_NUMBER: _ClassVar[int]
|
|
370
|
+
CONTINUE_AS_NEW_PAGE_SIZE_IN_BYTES_FIELD_NUMBER: _ClassVar[int]
|
|
371
|
+
STEP_DURABILITY_FIELD_NUMBER: _ClassVar[int]
|
|
372
|
+
active_step_search_mode: ActiveStepSearchMode
|
|
373
|
+
continue_as_new_threshold: int
|
|
374
|
+
continue_as_new_page_size_in_bytes: int
|
|
375
|
+
step_durability: StepDurability
|
|
376
|
+
def __init__(self, active_step_search_mode: _Optional[_Union[ActiveStepSearchMode, str]] = ..., continue_as_new_threshold: _Optional[int] = ..., continue_as_new_page_size_in_bytes: _Optional[int] = ..., step_durability: _Optional[_Union[StepDurability, str]] = ...) -> None: ...
|
|
377
|
+
|
|
378
|
+
class StartFlowRequest(_message.Message):
|
|
379
|
+
__slots__ = ("flow_id", "flow_type", "flow_timeout_seconds", "worker_target", "start_step_type", "step_input", "step_options", "flow_start_options")
|
|
380
|
+
FLOW_ID_FIELD_NUMBER: _ClassVar[int]
|
|
381
|
+
FLOW_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
382
|
+
FLOW_TIMEOUT_SECONDS_FIELD_NUMBER: _ClassVar[int]
|
|
383
|
+
WORKER_TARGET_FIELD_NUMBER: _ClassVar[int]
|
|
384
|
+
START_STEP_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
385
|
+
STEP_INPUT_FIELD_NUMBER: _ClassVar[int]
|
|
386
|
+
STEP_OPTIONS_FIELD_NUMBER: _ClassVar[int]
|
|
387
|
+
FLOW_START_OPTIONS_FIELD_NUMBER: _ClassVar[int]
|
|
388
|
+
flow_id: str
|
|
389
|
+
flow_type: str
|
|
390
|
+
flow_timeout_seconds: int
|
|
391
|
+
worker_target: str
|
|
392
|
+
start_step_type: str
|
|
393
|
+
step_input: Value
|
|
394
|
+
step_options: StepOptions
|
|
395
|
+
flow_start_options: FlowStartOptions
|
|
396
|
+
def __init__(self, flow_id: _Optional[str] = ..., flow_type: _Optional[str] = ..., flow_timeout_seconds: _Optional[int] = ..., worker_target: _Optional[str] = ..., start_step_type: _Optional[str] = ..., step_input: _Optional[_Union[Value, _Mapping]] = ..., step_options: _Optional[_Union[StepOptions, _Mapping]] = ..., flow_start_options: _Optional[_Union[FlowStartOptions, _Mapping]] = ...) -> None: ...
|
|
397
|
+
|
|
398
|
+
class StartFlowResponse(_message.Message):
|
|
399
|
+
__slots__ = ("run_id",)
|
|
400
|
+
RUN_ID_FIELD_NUMBER: _ClassVar[int]
|
|
401
|
+
run_id: str
|
|
402
|
+
def __init__(self, run_id: _Optional[str] = ...) -> None: ...
|
|
403
|
+
|
|
404
|
+
class PublishToChannelRequest(_message.Message):
|
|
405
|
+
__slots__ = ("flow_id", "run_id", "messages")
|
|
406
|
+
FLOW_ID_FIELD_NUMBER: _ClassVar[int]
|
|
407
|
+
RUN_ID_FIELD_NUMBER: _ClassVar[int]
|
|
408
|
+
MESSAGES_FIELD_NUMBER: _ClassVar[int]
|
|
409
|
+
flow_id: str
|
|
410
|
+
run_id: str
|
|
411
|
+
messages: _containers.RepeatedCompositeFieldContainer[ChannelMessage]
|
|
412
|
+
def __init__(self, flow_id: _Optional[str] = ..., run_id: _Optional[str] = ..., messages: _Optional[_Iterable[_Union[ChannelMessage, _Mapping]]] = ...) -> None: ...
|
|
413
|
+
|
|
414
|
+
class ChannelMessage(_message.Message):
|
|
415
|
+
__slots__ = ("channel_name", "value")
|
|
416
|
+
CHANNEL_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
417
|
+
VALUE_FIELD_NUMBER: _ClassVar[int]
|
|
418
|
+
channel_name: str
|
|
419
|
+
value: Value
|
|
420
|
+
def __init__(self, channel_name: _Optional[str] = ..., value: _Optional[_Union[Value, _Mapping]] = ...) -> None: ...
|
|
421
|
+
|
|
422
|
+
class StopFlowRequest(_message.Message):
|
|
423
|
+
__slots__ = ("flow_id", "run_id", "reason", "stop_type")
|
|
424
|
+
FLOW_ID_FIELD_NUMBER: _ClassVar[int]
|
|
425
|
+
RUN_ID_FIELD_NUMBER: _ClassVar[int]
|
|
426
|
+
REASON_FIELD_NUMBER: _ClassVar[int]
|
|
427
|
+
STOP_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
428
|
+
flow_id: str
|
|
429
|
+
run_id: str
|
|
430
|
+
reason: str
|
|
431
|
+
stop_type: StopType
|
|
432
|
+
def __init__(self, flow_id: _Optional[str] = ..., run_id: _Optional[str] = ..., reason: _Optional[str] = ..., stop_type: _Optional[_Union[StopType, str]] = ...) -> None: ...
|
|
433
|
+
|
|
434
|
+
class GetAttributesRequest(_message.Message):
|
|
435
|
+
__slots__ = ("flow_id", "run_id", "keys", "all_keys")
|
|
436
|
+
FLOW_ID_FIELD_NUMBER: _ClassVar[int]
|
|
437
|
+
RUN_ID_FIELD_NUMBER: _ClassVar[int]
|
|
438
|
+
KEYS_FIELD_NUMBER: _ClassVar[int]
|
|
439
|
+
ALL_KEYS_FIELD_NUMBER: _ClassVar[int]
|
|
440
|
+
flow_id: str
|
|
441
|
+
run_id: str
|
|
442
|
+
keys: _containers.RepeatedScalarFieldContainer[str]
|
|
443
|
+
all_keys: bool
|
|
444
|
+
def __init__(self, flow_id: _Optional[str] = ..., run_id: _Optional[str] = ..., keys: _Optional[_Iterable[str]] = ..., all_keys: _Optional[bool] = ...) -> None: ...
|
|
445
|
+
|
|
446
|
+
class GetAttributesResponse(_message.Message):
|
|
447
|
+
__slots__ = ("attributes",)
|
|
448
|
+
ATTRIBUTES_FIELD_NUMBER: _ClassVar[int]
|
|
449
|
+
attributes: _containers.RepeatedCompositeFieldContainer[KV]
|
|
450
|
+
def __init__(self, attributes: _Optional[_Iterable[_Union[KV, _Mapping]]] = ...) -> None: ...
|
|
451
|
+
|
|
452
|
+
class SetAttributesRequest(_message.Message):
|
|
453
|
+
__slots__ = ("flow_id", "run_id", "attributes")
|
|
454
|
+
FLOW_ID_FIELD_NUMBER: _ClassVar[int]
|
|
455
|
+
RUN_ID_FIELD_NUMBER: _ClassVar[int]
|
|
456
|
+
ATTRIBUTES_FIELD_NUMBER: _ClassVar[int]
|
|
457
|
+
flow_id: str
|
|
458
|
+
run_id: str
|
|
459
|
+
attributes: _containers.RepeatedCompositeFieldContainer[AttributeWrite]
|
|
460
|
+
def __init__(self, flow_id: _Optional[str] = ..., run_id: _Optional[str] = ..., attributes: _Optional[_Iterable[_Union[AttributeWrite, _Mapping]]] = ...) -> None: ...
|
|
461
|
+
|
|
462
|
+
class LoadBlobsRequest(_message.Message):
|
|
463
|
+
__slots__ = ("values",)
|
|
464
|
+
VALUES_FIELD_NUMBER: _ClassVar[int]
|
|
465
|
+
values: _containers.RepeatedCompositeFieldContainer[Value]
|
|
466
|
+
def __init__(self, values: _Optional[_Iterable[_Union[Value, _Mapping]]] = ...) -> None: ...
|
|
467
|
+
|
|
468
|
+
class LoadBlobsResponse(_message.Message):
|
|
469
|
+
__slots__ = ("values",)
|
|
470
|
+
class ValuesEntry(_message.Message):
|
|
471
|
+
__slots__ = ("key", "value")
|
|
472
|
+
KEY_FIELD_NUMBER: _ClassVar[int]
|
|
473
|
+
VALUE_FIELD_NUMBER: _ClassVar[int]
|
|
474
|
+
key: str
|
|
475
|
+
value: Value
|
|
476
|
+
def __init__(self, key: _Optional[str] = ..., value: _Optional[_Union[Value, _Mapping]] = ...) -> None: ...
|
|
477
|
+
VALUES_FIELD_NUMBER: _ClassVar[int]
|
|
478
|
+
values: _containers.MessageMap[str, Value]
|
|
479
|
+
def __init__(self, values: _Optional[_Mapping[str, Value]] = ...) -> None: ...
|
|
480
|
+
|
|
481
|
+
class WaitForFlowRequest(_message.Message):
|
|
482
|
+
__slots__ = ("flow_id", "run_id", "needs_results", "wait_time_seconds")
|
|
483
|
+
FLOW_ID_FIELD_NUMBER: _ClassVar[int]
|
|
484
|
+
RUN_ID_FIELD_NUMBER: _ClassVar[int]
|
|
485
|
+
NEEDS_RESULTS_FIELD_NUMBER: _ClassVar[int]
|
|
486
|
+
WAIT_TIME_SECONDS_FIELD_NUMBER: _ClassVar[int]
|
|
487
|
+
flow_id: str
|
|
488
|
+
run_id: str
|
|
489
|
+
needs_results: bool
|
|
490
|
+
wait_time_seconds: int
|
|
491
|
+
def __init__(self, flow_id: _Optional[str] = ..., run_id: _Optional[str] = ..., needs_results: _Optional[bool] = ..., wait_time_seconds: _Optional[int] = ...) -> None: ...
|
|
492
|
+
|
|
493
|
+
class StepCompletionOutput(_message.Message):
|
|
494
|
+
__slots__ = ("completed_step_type", "completed_step_execution_id", "completed_step_output")
|
|
495
|
+
COMPLETED_STEP_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
496
|
+
COMPLETED_STEP_EXECUTION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
497
|
+
COMPLETED_STEP_OUTPUT_FIELD_NUMBER: _ClassVar[int]
|
|
498
|
+
completed_step_type: str
|
|
499
|
+
completed_step_execution_id: str
|
|
500
|
+
completed_step_output: Value
|
|
501
|
+
def __init__(self, completed_step_type: _Optional[str] = ..., completed_step_execution_id: _Optional[str] = ..., completed_step_output: _Optional[_Union[Value, _Mapping]] = ...) -> None: ...
|
|
502
|
+
|
|
503
|
+
class WaitForFlowResponse(_message.Message):
|
|
504
|
+
__slots__ = ("run_id", "flow_status", "results", "error_type", "error_message")
|
|
505
|
+
RUN_ID_FIELD_NUMBER: _ClassVar[int]
|
|
506
|
+
FLOW_STATUS_FIELD_NUMBER: _ClassVar[int]
|
|
507
|
+
RESULTS_FIELD_NUMBER: _ClassVar[int]
|
|
508
|
+
ERROR_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
509
|
+
ERROR_MESSAGE_FIELD_NUMBER: _ClassVar[int]
|
|
510
|
+
run_id: str
|
|
511
|
+
flow_status: FlowStatus
|
|
512
|
+
results: _containers.RepeatedCompositeFieldContainer[StepCompletionOutput]
|
|
513
|
+
error_type: FlowErrorType
|
|
514
|
+
error_message: str
|
|
515
|
+
def __init__(self, run_id: _Optional[str] = ..., flow_status: _Optional[_Union[FlowStatus, str]] = ..., results: _Optional[_Iterable[_Union[StepCompletionOutput, _Mapping]]] = ..., error_type: _Optional[_Union[FlowErrorType, str]] = ..., error_message: _Optional[str] = ...) -> None: ...
|
|
516
|
+
|
|
517
|
+
class SearchFlowsRequest(_message.Message):
|
|
518
|
+
__slots__ = ("query", "page_size", "next_page_token")
|
|
519
|
+
QUERY_FIELD_NUMBER: _ClassVar[int]
|
|
520
|
+
PAGE_SIZE_FIELD_NUMBER: _ClassVar[int]
|
|
521
|
+
NEXT_PAGE_TOKEN_FIELD_NUMBER: _ClassVar[int]
|
|
522
|
+
query: str
|
|
523
|
+
page_size: int
|
|
524
|
+
next_page_token: str
|
|
525
|
+
def __init__(self, query: _Optional[str] = ..., page_size: _Optional[int] = ..., next_page_token: _Optional[str] = ...) -> None: ...
|
|
526
|
+
|
|
527
|
+
class SearchFlowsResponse(_message.Message):
|
|
528
|
+
__slots__ = ("flow_runs", "next_page_token")
|
|
529
|
+
FLOW_RUNS_FIELD_NUMBER: _ClassVar[int]
|
|
530
|
+
NEXT_PAGE_TOKEN_FIELD_NUMBER: _ClassVar[int]
|
|
531
|
+
flow_runs: _containers.RepeatedCompositeFieldContainer[SearchFlowsResponseEntry]
|
|
532
|
+
next_page_token: str
|
|
533
|
+
def __init__(self, flow_runs: _Optional[_Iterable[_Union[SearchFlowsResponseEntry, _Mapping]]] = ..., next_page_token: _Optional[str] = ...) -> None: ...
|
|
534
|
+
|
|
535
|
+
class SearchFlowsResponseEntry(_message.Message):
|
|
536
|
+
__slots__ = ("flow_id", "run_id")
|
|
537
|
+
FLOW_ID_FIELD_NUMBER: _ClassVar[int]
|
|
538
|
+
RUN_ID_FIELD_NUMBER: _ClassVar[int]
|
|
539
|
+
flow_id: str
|
|
540
|
+
run_id: str
|
|
541
|
+
def __init__(self, flow_id: _Optional[str] = ..., run_id: _Optional[str] = ...) -> None: ...
|
|
542
|
+
|
|
543
|
+
class ResetFlowRequest(_message.Message):
|
|
544
|
+
__slots__ = ("flow_id", "run_id", "reset_type", "history_event_id", "reason", "history_event_time", "step_type", "step_execution_id", "skip_channel_messages_reapply", "skip_locking_rpc_reapply")
|
|
545
|
+
FLOW_ID_FIELD_NUMBER: _ClassVar[int]
|
|
546
|
+
RUN_ID_FIELD_NUMBER: _ClassVar[int]
|
|
547
|
+
RESET_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
548
|
+
HISTORY_EVENT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
549
|
+
REASON_FIELD_NUMBER: _ClassVar[int]
|
|
550
|
+
HISTORY_EVENT_TIME_FIELD_NUMBER: _ClassVar[int]
|
|
551
|
+
STEP_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
552
|
+
STEP_EXECUTION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
553
|
+
SKIP_CHANNEL_MESSAGES_REAPPLY_FIELD_NUMBER: _ClassVar[int]
|
|
554
|
+
SKIP_LOCKING_RPC_REAPPLY_FIELD_NUMBER: _ClassVar[int]
|
|
555
|
+
flow_id: str
|
|
556
|
+
run_id: str
|
|
557
|
+
reset_type: FlowResetType
|
|
558
|
+
history_event_id: int
|
|
559
|
+
reason: str
|
|
560
|
+
history_event_time: str
|
|
561
|
+
step_type: str
|
|
562
|
+
step_execution_id: str
|
|
563
|
+
skip_channel_messages_reapply: bool
|
|
564
|
+
skip_locking_rpc_reapply: bool
|
|
565
|
+
def __init__(self, flow_id: _Optional[str] = ..., run_id: _Optional[str] = ..., reset_type: _Optional[_Union[FlowResetType, str]] = ..., history_event_id: _Optional[int] = ..., reason: _Optional[str] = ..., history_event_time: _Optional[str] = ..., step_type: _Optional[str] = ..., step_execution_id: _Optional[str] = ..., skip_channel_messages_reapply: _Optional[bool] = ..., skip_locking_rpc_reapply: _Optional[bool] = ...) -> None: ...
|
|
566
|
+
|
|
567
|
+
class ResetFlowResponse(_message.Message):
|
|
568
|
+
__slots__ = ("run_id",)
|
|
569
|
+
RUN_ID_FIELD_NUMBER: _ClassVar[int]
|
|
570
|
+
run_id: str
|
|
571
|
+
def __init__(self, run_id: _Optional[str] = ...) -> None: ...
|
|
572
|
+
|
|
573
|
+
class InvokeRPCRequest(_message.Message):
|
|
574
|
+
__slots__ = ("flow_id", "run_id", "rpc_name", "input", "timeout_seconds", "lock_attribute_keys")
|
|
575
|
+
FLOW_ID_FIELD_NUMBER: _ClassVar[int]
|
|
576
|
+
RUN_ID_FIELD_NUMBER: _ClassVar[int]
|
|
577
|
+
RPC_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
578
|
+
INPUT_FIELD_NUMBER: _ClassVar[int]
|
|
579
|
+
TIMEOUT_SECONDS_FIELD_NUMBER: _ClassVar[int]
|
|
580
|
+
LOCK_ATTRIBUTE_KEYS_FIELD_NUMBER: _ClassVar[int]
|
|
581
|
+
flow_id: str
|
|
582
|
+
run_id: str
|
|
583
|
+
rpc_name: str
|
|
584
|
+
input: Value
|
|
585
|
+
timeout_seconds: int
|
|
586
|
+
lock_attribute_keys: _containers.RepeatedScalarFieldContainer[str]
|
|
587
|
+
def __init__(self, flow_id: _Optional[str] = ..., run_id: _Optional[str] = ..., rpc_name: _Optional[str] = ..., input: _Optional[_Union[Value, _Mapping]] = ..., timeout_seconds: _Optional[int] = ..., lock_attribute_keys: _Optional[_Iterable[str]] = ...) -> None: ...
|
|
588
|
+
|
|
589
|
+
class InvokeRPCResponse(_message.Message):
|
|
590
|
+
__slots__ = ("output",)
|
|
591
|
+
OUTPUT_FIELD_NUMBER: _ClassVar[int]
|
|
592
|
+
output: Value
|
|
593
|
+
def __init__(self, output: _Optional[_Union[Value, _Mapping]] = ...) -> None: ...
|
|
594
|
+
|
|
595
|
+
class SkipTimerRequest(_message.Message):
|
|
596
|
+
__slots__ = ("flow_id", "run_id", "step_execution_id", "timer_condition_id", "timer_condition_index")
|
|
597
|
+
FLOW_ID_FIELD_NUMBER: _ClassVar[int]
|
|
598
|
+
RUN_ID_FIELD_NUMBER: _ClassVar[int]
|
|
599
|
+
STEP_EXECUTION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
600
|
+
TIMER_CONDITION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
601
|
+
TIMER_CONDITION_INDEX_FIELD_NUMBER: _ClassVar[int]
|
|
602
|
+
flow_id: str
|
|
603
|
+
run_id: str
|
|
604
|
+
step_execution_id: str
|
|
605
|
+
timer_condition_id: str
|
|
606
|
+
timer_condition_index: int
|
|
607
|
+
def __init__(self, flow_id: _Optional[str] = ..., run_id: _Optional[str] = ..., step_execution_id: _Optional[str] = ..., timer_condition_id: _Optional[str] = ..., timer_condition_index: _Optional[int] = ...) -> None: ...
|
|
608
|
+
|
|
609
|
+
class UpdateFlowConfigRequest(_message.Message):
|
|
610
|
+
__slots__ = ("flow_id", "run_id", "flow_config")
|
|
611
|
+
FLOW_ID_FIELD_NUMBER: _ClassVar[int]
|
|
612
|
+
RUN_ID_FIELD_NUMBER: _ClassVar[int]
|
|
613
|
+
FLOW_CONFIG_FIELD_NUMBER: _ClassVar[int]
|
|
614
|
+
flow_id: str
|
|
615
|
+
run_id: str
|
|
616
|
+
flow_config: FlowConfig
|
|
617
|
+
def __init__(self, flow_id: _Optional[str] = ..., run_id: _Optional[str] = ..., flow_config: _Optional[_Union[FlowConfig, _Mapping]] = ...) -> None: ...
|
|
618
|
+
|
|
619
|
+
class WaitForStepCompletionRequest(_message.Message):
|
|
620
|
+
__slots__ = ("flow_id", "step_type", "step_execution_number", "wait_time_seconds")
|
|
621
|
+
FLOW_ID_FIELD_NUMBER: _ClassVar[int]
|
|
622
|
+
STEP_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
623
|
+
STEP_EXECUTION_NUMBER_FIELD_NUMBER: _ClassVar[int]
|
|
624
|
+
WAIT_TIME_SECONDS_FIELD_NUMBER: _ClassVar[int]
|
|
625
|
+
flow_id: str
|
|
626
|
+
step_type: str
|
|
627
|
+
step_execution_number: str
|
|
628
|
+
wait_time_seconds: int
|
|
629
|
+
def __init__(self, flow_id: _Optional[str] = ..., step_type: _Optional[str] = ..., step_execution_number: _Optional[str] = ..., wait_time_seconds: _Optional[int] = ...) -> None: ...
|
|
630
|
+
|
|
631
|
+
class WaitForStepCompletionResponse(_message.Message):
|
|
632
|
+
__slots__ = ()
|
|
633
|
+
def __init__(self) -> None: ...
|
|
634
|
+
|
|
635
|
+
class WaitForAttributeRequest(_message.Message):
|
|
636
|
+
__slots__ = ("flow_id", "run_id", "condition", "wait_time_seconds")
|
|
637
|
+
FLOW_ID_FIELD_NUMBER: _ClassVar[int]
|
|
638
|
+
RUN_ID_FIELD_NUMBER: _ClassVar[int]
|
|
639
|
+
CONDITION_FIELD_NUMBER: _ClassVar[int]
|
|
640
|
+
WAIT_TIME_SECONDS_FIELD_NUMBER: _ClassVar[int]
|
|
641
|
+
flow_id: str
|
|
642
|
+
run_id: str
|
|
643
|
+
condition: WaitForAttributeCondition
|
|
644
|
+
wait_time_seconds: int
|
|
645
|
+
def __init__(self, flow_id: _Optional[str] = ..., run_id: _Optional[str] = ..., condition: _Optional[_Union[WaitForAttributeCondition, _Mapping]] = ..., wait_time_seconds: _Optional[int] = ...) -> None: ...
|
|
646
|
+
|
|
647
|
+
class WaitForAttributeCondition(_message.Message):
|
|
648
|
+
__slots__ = ("equal",)
|
|
649
|
+
EQUAL_FIELD_NUMBER: _ClassVar[int]
|
|
650
|
+
equal: WaitForAttributeEqual
|
|
651
|
+
def __init__(self, equal: _Optional[_Union[WaitForAttributeEqual, _Mapping]] = ...) -> None: ...
|
|
652
|
+
|
|
653
|
+
class WaitForAttributeEqual(_message.Message):
|
|
654
|
+
__slots__ = ("key", "value")
|
|
655
|
+
KEY_FIELD_NUMBER: _ClassVar[int]
|
|
656
|
+
VALUE_FIELD_NUMBER: _ClassVar[int]
|
|
657
|
+
key: str
|
|
658
|
+
value: Value
|
|
659
|
+
def __init__(self, key: _Optional[str] = ..., value: _Optional[_Union[Value, _Mapping]] = ...) -> None: ...
|
|
660
|
+
|
|
661
|
+
class TriggerContinueAsNewRequest(_message.Message):
|
|
662
|
+
__slots__ = ("flow_id", "run_id")
|
|
663
|
+
FLOW_ID_FIELD_NUMBER: _ClassVar[int]
|
|
664
|
+
RUN_ID_FIELD_NUMBER: _ClassVar[int]
|
|
665
|
+
flow_id: str
|
|
666
|
+
run_id: str
|
|
667
|
+
def __init__(self, flow_id: _Optional[str] = ..., run_id: _Optional[str] = ...) -> None: ...
|
|
668
|
+
|
|
669
|
+
class HealthInfo(_message.Message):
|
|
670
|
+
__slots__ = ("condition", "hostname", "duration")
|
|
671
|
+
CONDITION_FIELD_NUMBER: _ClassVar[int]
|
|
672
|
+
HOSTNAME_FIELD_NUMBER: _ClassVar[int]
|
|
673
|
+
DURATION_FIELD_NUMBER: _ClassVar[int]
|
|
674
|
+
condition: str
|
|
675
|
+
hostname: str
|
|
676
|
+
duration: int
|
|
677
|
+
def __init__(self, condition: _Optional[str] = ..., hostname: _Optional[str] = ..., duration: _Optional[int] = ...) -> None: ...
|
|
678
|
+
|
|
679
|
+
class ErrorResponse(_message.Message):
|
|
680
|
+
__slots__ = ("detail", "sub_status", "original_worker_error_detail", "original_worker_error_type", "original_worker_error_status")
|
|
681
|
+
DETAIL_FIELD_NUMBER: _ClassVar[int]
|
|
682
|
+
SUB_STATUS_FIELD_NUMBER: _ClassVar[int]
|
|
683
|
+
ORIGINAL_WORKER_ERROR_DETAIL_FIELD_NUMBER: _ClassVar[int]
|
|
684
|
+
ORIGINAL_WORKER_ERROR_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
685
|
+
ORIGINAL_WORKER_ERROR_STATUS_FIELD_NUMBER: _ClassVar[int]
|
|
686
|
+
detail: str
|
|
687
|
+
sub_status: ErrorSubStatus
|
|
688
|
+
original_worker_error_detail: str
|
|
689
|
+
original_worker_error_type: str
|
|
690
|
+
original_worker_error_status: int
|
|
691
|
+
def __init__(self, detail: _Optional[str] = ..., sub_status: _Optional[_Union[ErrorSubStatus, str]] = ..., original_worker_error_detail: _Optional[str] = ..., original_worker_error_type: _Optional[str] = ..., original_worker_error_status: _Optional[int] = ...) -> None: ...
|
|
692
|
+
|
|
693
|
+
class WorkerErrorResponse(_message.Message):
|
|
694
|
+
__slots__ = ("detail", "error_type")
|
|
695
|
+
DETAIL_FIELD_NUMBER: _ClassVar[int]
|
|
696
|
+
ERROR_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
697
|
+
detail: str
|
|
698
|
+
error_type: str
|
|
699
|
+
def __init__(self, detail: _Optional[str] = ..., error_type: _Optional[str] = ...) -> None: ...
|
|
700
|
+
|
|
701
|
+
class ChannelInfo(_message.Message):
|
|
702
|
+
__slots__ = ("size",)
|
|
703
|
+
SIZE_FIELD_NUMBER: _ClassVar[int]
|
|
704
|
+
size: int
|
|
705
|
+
def __init__(self, size: _Optional[int] = ...) -> None: ...
|
|
706
|
+
|
|
707
|
+
class InvokeWaitForMethodRequest(_message.Message):
|
|
708
|
+
__slots__ = ("context", "flow_type", "step_type", "step_input", "attributes")
|
|
709
|
+
CONTEXT_FIELD_NUMBER: _ClassVar[int]
|
|
710
|
+
FLOW_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
711
|
+
STEP_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
712
|
+
STEP_INPUT_FIELD_NUMBER: _ClassVar[int]
|
|
713
|
+
ATTRIBUTES_FIELD_NUMBER: _ClassVar[int]
|
|
714
|
+
context: Context
|
|
715
|
+
flow_type: str
|
|
716
|
+
step_type: str
|
|
717
|
+
step_input: Value
|
|
718
|
+
attributes: _containers.RepeatedCompositeFieldContainer[KV]
|
|
719
|
+
def __init__(self, context: _Optional[_Union[Context, _Mapping]] = ..., flow_type: _Optional[str] = ..., step_type: _Optional[str] = ..., step_input: _Optional[_Union[Value, _Mapping]] = ..., attributes: _Optional[_Iterable[_Union[KV, _Mapping]]] = ...) -> None: ...
|
|
720
|
+
|
|
721
|
+
class InvokeWaitForMethodResponse(_message.Message):
|
|
722
|
+
__slots__ = ("local_activity_input", "upsert_attributes", "waiting_condition", "upsert_step_exe_locals", "record_events", "publish_to_channel")
|
|
723
|
+
LOCAL_ACTIVITY_INPUT_FIELD_NUMBER: _ClassVar[int]
|
|
724
|
+
UPSERT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int]
|
|
725
|
+
WAITING_CONDITION_FIELD_NUMBER: _ClassVar[int]
|
|
726
|
+
UPSERT_STEP_EXE_LOCALS_FIELD_NUMBER: _ClassVar[int]
|
|
727
|
+
RECORD_EVENTS_FIELD_NUMBER: _ClassVar[int]
|
|
728
|
+
PUBLISH_TO_CHANNEL_FIELD_NUMBER: _ClassVar[int]
|
|
729
|
+
local_activity_input: str
|
|
730
|
+
upsert_attributes: _containers.RepeatedCompositeFieldContainer[AttributeWrite]
|
|
731
|
+
waiting_condition: WaitingCondition
|
|
732
|
+
upsert_step_exe_locals: _containers.RepeatedCompositeFieldContainer[KV]
|
|
733
|
+
record_events: _containers.RepeatedCompositeFieldContainer[KV]
|
|
734
|
+
publish_to_channel: _containers.RepeatedCompositeFieldContainer[ChannelMessage]
|
|
735
|
+
def __init__(self, local_activity_input: _Optional[str] = ..., upsert_attributes: _Optional[_Iterable[_Union[AttributeWrite, _Mapping]]] = ..., waiting_condition: _Optional[_Union[WaitingCondition, _Mapping]] = ..., upsert_step_exe_locals: _Optional[_Iterable[_Union[KV, _Mapping]]] = ..., record_events: _Optional[_Iterable[_Union[KV, _Mapping]]] = ..., publish_to_channel: _Optional[_Iterable[_Union[ChannelMessage, _Mapping]]] = ...) -> None: ...
|
|
736
|
+
|
|
737
|
+
class InvokeExecuteMethodRequest(_message.Message):
|
|
738
|
+
__slots__ = ("context", "flow_type", "step_type", "step_input", "attributes", "step_exe_locals", "condition_results")
|
|
739
|
+
CONTEXT_FIELD_NUMBER: _ClassVar[int]
|
|
740
|
+
FLOW_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
741
|
+
STEP_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
742
|
+
STEP_INPUT_FIELD_NUMBER: _ClassVar[int]
|
|
743
|
+
ATTRIBUTES_FIELD_NUMBER: _ClassVar[int]
|
|
744
|
+
STEP_EXE_LOCALS_FIELD_NUMBER: _ClassVar[int]
|
|
745
|
+
CONDITION_RESULTS_FIELD_NUMBER: _ClassVar[int]
|
|
746
|
+
context: Context
|
|
747
|
+
flow_type: str
|
|
748
|
+
step_type: str
|
|
749
|
+
step_input: Value
|
|
750
|
+
attributes: _containers.RepeatedCompositeFieldContainer[KV]
|
|
751
|
+
step_exe_locals: _containers.RepeatedCompositeFieldContainer[KV]
|
|
752
|
+
condition_results: ConditionResults
|
|
753
|
+
def __init__(self, context: _Optional[_Union[Context, _Mapping]] = ..., flow_type: _Optional[str] = ..., step_type: _Optional[str] = ..., step_input: _Optional[_Union[Value, _Mapping]] = ..., attributes: _Optional[_Iterable[_Union[KV, _Mapping]]] = ..., step_exe_locals: _Optional[_Iterable[_Union[KV, _Mapping]]] = ..., condition_results: _Optional[_Union[ConditionResults, _Mapping]] = ...) -> None: ...
|
|
754
|
+
|
|
755
|
+
class InvokeExecuteMethodResponse(_message.Message):
|
|
756
|
+
__slots__ = ("local_activity_input", "step_decision", "upsert_attributes", "record_events", "upsert_step_exe_locals", "publish_to_channel")
|
|
757
|
+
LOCAL_ACTIVITY_INPUT_FIELD_NUMBER: _ClassVar[int]
|
|
758
|
+
STEP_DECISION_FIELD_NUMBER: _ClassVar[int]
|
|
759
|
+
UPSERT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int]
|
|
760
|
+
RECORD_EVENTS_FIELD_NUMBER: _ClassVar[int]
|
|
761
|
+
UPSERT_STEP_EXE_LOCALS_FIELD_NUMBER: _ClassVar[int]
|
|
762
|
+
PUBLISH_TO_CHANNEL_FIELD_NUMBER: _ClassVar[int]
|
|
763
|
+
local_activity_input: str
|
|
764
|
+
step_decision: StepDecision
|
|
765
|
+
upsert_attributes: _containers.RepeatedCompositeFieldContainer[AttributeWrite]
|
|
766
|
+
record_events: _containers.RepeatedCompositeFieldContainer[KV]
|
|
767
|
+
upsert_step_exe_locals: _containers.RepeatedCompositeFieldContainer[KV]
|
|
768
|
+
publish_to_channel: _containers.RepeatedCompositeFieldContainer[ChannelMessage]
|
|
769
|
+
def __init__(self, local_activity_input: _Optional[str] = ..., step_decision: _Optional[_Union[StepDecision, _Mapping]] = ..., upsert_attributes: _Optional[_Iterable[_Union[AttributeWrite, _Mapping]]] = ..., record_events: _Optional[_Iterable[_Union[KV, _Mapping]]] = ..., upsert_step_exe_locals: _Optional[_Iterable[_Union[KV, _Mapping]]] = ..., publish_to_channel: _Optional[_Iterable[_Union[ChannelMessage, _Mapping]]] = ...) -> None: ...
|
|
770
|
+
|
|
771
|
+
class InvokeWorkerRPCRequest(_message.Message):
|
|
772
|
+
__slots__ = ("context", "flow_type", "rpc_name", "input", "attributes", "channel_infos")
|
|
773
|
+
class ChannelInfosEntry(_message.Message):
|
|
774
|
+
__slots__ = ("key", "value")
|
|
775
|
+
KEY_FIELD_NUMBER: _ClassVar[int]
|
|
776
|
+
VALUE_FIELD_NUMBER: _ClassVar[int]
|
|
777
|
+
key: str
|
|
778
|
+
value: ChannelInfo
|
|
779
|
+
def __init__(self, key: _Optional[str] = ..., value: _Optional[_Union[ChannelInfo, _Mapping]] = ...) -> None: ...
|
|
780
|
+
CONTEXT_FIELD_NUMBER: _ClassVar[int]
|
|
781
|
+
FLOW_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
782
|
+
RPC_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
783
|
+
INPUT_FIELD_NUMBER: _ClassVar[int]
|
|
784
|
+
ATTRIBUTES_FIELD_NUMBER: _ClassVar[int]
|
|
785
|
+
CHANNEL_INFOS_FIELD_NUMBER: _ClassVar[int]
|
|
786
|
+
context: Context
|
|
787
|
+
flow_type: str
|
|
788
|
+
rpc_name: str
|
|
789
|
+
input: Value
|
|
790
|
+
attributes: _containers.RepeatedCompositeFieldContainer[KV]
|
|
791
|
+
channel_infos: _containers.MessageMap[str, ChannelInfo]
|
|
792
|
+
def __init__(self, context: _Optional[_Union[Context, _Mapping]] = ..., flow_type: _Optional[str] = ..., rpc_name: _Optional[str] = ..., input: _Optional[_Union[Value, _Mapping]] = ..., attributes: _Optional[_Iterable[_Union[KV, _Mapping]]] = ..., channel_infos: _Optional[_Mapping[str, ChannelInfo]] = ...) -> None: ...
|
|
793
|
+
|
|
794
|
+
class InvokeWorkerRPCResponse(_message.Message):
|
|
795
|
+
__slots__ = ("output", "step_decision", "upsert_attributes", "record_events", "publish_to_channel")
|
|
796
|
+
OUTPUT_FIELD_NUMBER: _ClassVar[int]
|
|
797
|
+
STEP_DECISION_FIELD_NUMBER: _ClassVar[int]
|
|
798
|
+
UPSERT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int]
|
|
799
|
+
RECORD_EVENTS_FIELD_NUMBER: _ClassVar[int]
|
|
800
|
+
PUBLISH_TO_CHANNEL_FIELD_NUMBER: _ClassVar[int]
|
|
801
|
+
output: Value
|
|
802
|
+
step_decision: StepDecision
|
|
803
|
+
upsert_attributes: _containers.RepeatedCompositeFieldContainer[AttributeWrite]
|
|
804
|
+
record_events: _containers.RepeatedCompositeFieldContainer[KV]
|
|
805
|
+
publish_to_channel: _containers.RepeatedCompositeFieldContainer[ChannelMessage]
|
|
806
|
+
def __init__(self, output: _Optional[_Union[Value, _Mapping]] = ..., step_decision: _Optional[_Union[StepDecision, _Mapping]] = ..., upsert_attributes: _Optional[_Iterable[_Union[AttributeWrite, _Mapping]]] = ..., record_events: _Optional[_Iterable[_Union[KV, _Mapping]]] = ..., publish_to_channel: _Optional[_Iterable[_Union[ChannelMessage, _Mapping]]] = ...) -> None: ...
|
|
807
|
+
|
|
808
|
+
class StepDecision(_message.Message):
|
|
809
|
+
__slots__ = ("next_steps", "conditional_close")
|
|
810
|
+
NEXT_STEPS_FIELD_NUMBER: _ClassVar[int]
|
|
811
|
+
CONDITIONAL_CLOSE_FIELD_NUMBER: _ClassVar[int]
|
|
812
|
+
next_steps: _containers.RepeatedCompositeFieldContainer[StepMovement]
|
|
813
|
+
conditional_close: FlowConditionalClose
|
|
814
|
+
def __init__(self, next_steps: _Optional[_Iterable[_Union[StepMovement, _Mapping]]] = ..., conditional_close: _Optional[_Union[FlowConditionalClose, _Mapping]] = ...) -> None: ...
|
|
815
|
+
|
|
816
|
+
class FlowConditionalClose(_message.Message):
|
|
817
|
+
__slots__ = ("conditional_close_type", "channel_names", "close_input")
|
|
818
|
+
CONDITIONAL_CLOSE_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
819
|
+
CHANNEL_NAMES_FIELD_NUMBER: _ClassVar[int]
|
|
820
|
+
CLOSE_INPUT_FIELD_NUMBER: _ClassVar[int]
|
|
821
|
+
conditional_close_type: FlowConditionalCloseType
|
|
822
|
+
channel_names: _containers.RepeatedScalarFieldContainer[str]
|
|
823
|
+
close_input: Value
|
|
824
|
+
def __init__(self, conditional_close_type: _Optional[_Union[FlowConditionalCloseType, str]] = ..., channel_names: _Optional[_Iterable[str]] = ..., close_input: _Optional[_Union[Value, _Mapping]] = ...) -> None: ...
|
|
825
|
+
|
|
826
|
+
class StepMovement(_message.Message):
|
|
827
|
+
__slots__ = ("step_type", "step_input", "step_options")
|
|
828
|
+
STEP_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
829
|
+
STEP_INPUT_FIELD_NUMBER: _ClassVar[int]
|
|
830
|
+
STEP_OPTIONS_FIELD_NUMBER: _ClassVar[int]
|
|
831
|
+
step_type: str
|
|
832
|
+
step_input: Value
|
|
833
|
+
step_options: StepOptions
|
|
834
|
+
def __init__(self, step_type: _Optional[str] = ..., step_input: _Optional[_Union[Value, _Mapping]] = ..., step_options: _Optional[_Union[StepOptions, _Mapping]] = ...) -> None: ...
|
|
835
|
+
|
|
836
|
+
class ConditionCombination(_message.Message):
|
|
837
|
+
__slots__ = ("condition_ids",)
|
|
838
|
+
CONDITION_IDS_FIELD_NUMBER: _ClassVar[int]
|
|
839
|
+
condition_ids: _containers.RepeatedScalarFieldContainer[str]
|
|
840
|
+
def __init__(self, condition_ids: _Optional[_Iterable[str]] = ...) -> None: ...
|
|
841
|
+
|
|
842
|
+
class WaitingCondition(_message.Message):
|
|
843
|
+
__slots__ = ("waiting_condition_type", "timer_conditions", "channel_conditions", "condition_combinations")
|
|
844
|
+
WAITING_CONDITION_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
845
|
+
TIMER_CONDITIONS_FIELD_NUMBER: _ClassVar[int]
|
|
846
|
+
CHANNEL_CONDITIONS_FIELD_NUMBER: _ClassVar[int]
|
|
847
|
+
CONDITION_COMBINATIONS_FIELD_NUMBER: _ClassVar[int]
|
|
848
|
+
waiting_condition_type: WaitingConditionType
|
|
849
|
+
timer_conditions: _containers.RepeatedCompositeFieldContainer[TimerCondition]
|
|
850
|
+
channel_conditions: _containers.RepeatedCompositeFieldContainer[ChannelCondition]
|
|
851
|
+
condition_combinations: _containers.RepeatedCompositeFieldContainer[ConditionCombination]
|
|
852
|
+
def __init__(self, waiting_condition_type: _Optional[_Union[WaitingConditionType, str]] = ..., timer_conditions: _Optional[_Iterable[_Union[TimerCondition, _Mapping]]] = ..., channel_conditions: _Optional[_Iterable[_Union[ChannelCondition, _Mapping]]] = ..., condition_combinations: _Optional[_Iterable[_Union[ConditionCombination, _Mapping]]] = ...) -> None: ...
|
|
853
|
+
|
|
854
|
+
class TimerCondition(_message.Message):
|
|
855
|
+
__slots__ = ("condition_id", "duration_seconds", "firing_unix_timestamp_seconds")
|
|
856
|
+
CONDITION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
857
|
+
DURATION_SECONDS_FIELD_NUMBER: _ClassVar[int]
|
|
858
|
+
FIRING_UNIX_TIMESTAMP_SECONDS_FIELD_NUMBER: _ClassVar[int]
|
|
859
|
+
condition_id: str
|
|
860
|
+
duration_seconds: int
|
|
861
|
+
firing_unix_timestamp_seconds: int
|
|
862
|
+
def __init__(self, condition_id: _Optional[str] = ..., duration_seconds: _Optional[int] = ..., firing_unix_timestamp_seconds: _Optional[int] = ...) -> None: ...
|
|
863
|
+
|
|
864
|
+
class ChannelCondition(_message.Message):
|
|
865
|
+
__slots__ = ("condition_id", "channel_name", "at_least", "at_most")
|
|
866
|
+
CONDITION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
867
|
+
CHANNEL_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
868
|
+
AT_LEAST_FIELD_NUMBER: _ClassVar[int]
|
|
869
|
+
AT_MOST_FIELD_NUMBER: _ClassVar[int]
|
|
870
|
+
condition_id: str
|
|
871
|
+
channel_name: str
|
|
872
|
+
at_least: int
|
|
873
|
+
at_most: int
|
|
874
|
+
def __init__(self, condition_id: _Optional[str] = ..., channel_name: _Optional[str] = ..., at_least: _Optional[int] = ..., at_most: _Optional[int] = ...) -> None: ...
|
|
875
|
+
|
|
876
|
+
class ConditionResults(_message.Message):
|
|
877
|
+
__slots__ = ("channel_results", "timer_results", "wait_for_failed")
|
|
878
|
+
CHANNEL_RESULTS_FIELD_NUMBER: _ClassVar[int]
|
|
879
|
+
TIMER_RESULTS_FIELD_NUMBER: _ClassVar[int]
|
|
880
|
+
WAIT_FOR_FAILED_FIELD_NUMBER: _ClassVar[int]
|
|
881
|
+
channel_results: _containers.RepeatedCompositeFieldContainer[ChannelResult]
|
|
882
|
+
timer_results: _containers.RepeatedCompositeFieldContainer[TimerResult]
|
|
883
|
+
wait_for_failed: bool
|
|
884
|
+
def __init__(self, channel_results: _Optional[_Iterable[_Union[ChannelResult, _Mapping]]] = ..., timer_results: _Optional[_Iterable[_Union[TimerResult, _Mapping]]] = ..., wait_for_failed: _Optional[bool] = ...) -> None: ...
|
|
885
|
+
|
|
886
|
+
class TimerResult(_message.Message):
|
|
887
|
+
__slots__ = ("condition_id", "condition_status")
|
|
888
|
+
CONDITION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
889
|
+
CONDITION_STATUS_FIELD_NUMBER: _ClassVar[int]
|
|
890
|
+
condition_id: str
|
|
891
|
+
condition_status: ConditionStatus
|
|
892
|
+
def __init__(self, condition_id: _Optional[str] = ..., condition_status: _Optional[_Union[ConditionStatus, str]] = ...) -> None: ...
|
|
893
|
+
|
|
894
|
+
class ChannelResult(_message.Message):
|
|
895
|
+
__slots__ = ("condition_id", "condition_status", "channel_name", "values")
|
|
896
|
+
CONDITION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
897
|
+
CONDITION_STATUS_FIELD_NUMBER: _ClassVar[int]
|
|
898
|
+
CHANNEL_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
899
|
+
VALUES_FIELD_NUMBER: _ClassVar[int]
|
|
900
|
+
condition_id: str
|
|
901
|
+
condition_status: ConditionStatus
|
|
902
|
+
channel_name: str
|
|
903
|
+
values: _containers.RepeatedCompositeFieldContainer[Value]
|
|
904
|
+
def __init__(self, condition_id: _Optional[str] = ..., condition_status: _Optional[_Union[ConditionStatus, str]] = ..., channel_name: _Optional[str] = ..., values: _Optional[_Iterable[_Union[Value, _Mapping]]] = ...) -> None: ...
|
|
905
|
+
|
|
906
|
+
class ContinueAsNewDumpRequest(_message.Message):
|
|
907
|
+
__slots__ = ("flow_id", "run_id", "page_num", "page_size_in_bytes")
|
|
908
|
+
FLOW_ID_FIELD_NUMBER: _ClassVar[int]
|
|
909
|
+
RUN_ID_FIELD_NUMBER: _ClassVar[int]
|
|
910
|
+
PAGE_NUM_FIELD_NUMBER: _ClassVar[int]
|
|
911
|
+
PAGE_SIZE_IN_BYTES_FIELD_NUMBER: _ClassVar[int]
|
|
912
|
+
flow_id: str
|
|
913
|
+
run_id: str
|
|
914
|
+
page_num: int
|
|
915
|
+
page_size_in_bytes: int
|
|
916
|
+
def __init__(self, flow_id: _Optional[str] = ..., run_id: _Optional[str] = ..., page_num: _Optional[int] = ..., page_size_in_bytes: _Optional[int] = ...) -> None: ...
|
|
917
|
+
|
|
918
|
+
class ContinueAsNewDumpResponse(_message.Message):
|
|
919
|
+
__slots__ = ("page_content", "page_num", "total_pages", "checksum")
|
|
920
|
+
PAGE_CONTENT_FIELD_NUMBER: _ClassVar[int]
|
|
921
|
+
PAGE_NUM_FIELD_NUMBER: _ClassVar[int]
|
|
922
|
+
TOTAL_PAGES_FIELD_NUMBER: _ClassVar[int]
|
|
923
|
+
CHECKSUM_FIELD_NUMBER: _ClassVar[int]
|
|
924
|
+
page_content: bytes
|
|
925
|
+
page_num: int
|
|
926
|
+
total_pages: int
|
|
927
|
+
checksum: str
|
|
928
|
+
def __init__(self, page_content: _Optional[bytes] = ..., page_num: _Optional[int] = ..., total_pages: _Optional[int] = ..., checksum: _Optional[str] = ...) -> None: ...
|
|
929
|
+
|
|
930
|
+
class ChannelValues(_message.Message):
|
|
931
|
+
__slots__ = ("values",)
|
|
932
|
+
VALUES_FIELD_NUMBER: _ClassVar[int]
|
|
933
|
+
values: _containers.RepeatedCompositeFieldContainer[Value]
|
|
934
|
+
def __init__(self, values: _Optional[_Iterable[_Union[Value, _Mapping]]] = ...) -> None: ...
|
|
935
|
+
|
|
936
|
+
class StepExecutionCompletedConditions(_message.Message):
|
|
937
|
+
__slots__ = ("completed_timer_conditions",)
|
|
938
|
+
class CompletedTimerConditionsEntry(_message.Message):
|
|
939
|
+
__slots__ = ("key", "value")
|
|
940
|
+
KEY_FIELD_NUMBER: _ClassVar[int]
|
|
941
|
+
VALUE_FIELD_NUMBER: _ClassVar[int]
|
|
942
|
+
key: int
|
|
943
|
+
value: InternalTimerStatus
|
|
944
|
+
def __init__(self, key: _Optional[int] = ..., value: _Optional[_Union[InternalTimerStatus, str]] = ...) -> None: ...
|
|
945
|
+
COMPLETED_TIMER_CONDITIONS_FIELD_NUMBER: _ClassVar[int]
|
|
946
|
+
completed_timer_conditions: _containers.ScalarMap[int, InternalTimerStatus]
|
|
947
|
+
def __init__(self, completed_timer_conditions: _Optional[_Mapping[int, InternalTimerStatus]] = ...) -> None: ...
|
|
948
|
+
|
|
949
|
+
class StepExecutionResumeInfo(_message.Message):
|
|
950
|
+
__slots__ = ("step_execution_id", "step", "completed_conditions", "waiting_condition", "step_exe_locals")
|
|
951
|
+
STEP_EXECUTION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
952
|
+
STEP_FIELD_NUMBER: _ClassVar[int]
|
|
953
|
+
COMPLETED_CONDITIONS_FIELD_NUMBER: _ClassVar[int]
|
|
954
|
+
WAITING_CONDITION_FIELD_NUMBER: _ClassVar[int]
|
|
955
|
+
STEP_EXE_LOCALS_FIELD_NUMBER: _ClassVar[int]
|
|
956
|
+
step_execution_id: str
|
|
957
|
+
step: StepMovement
|
|
958
|
+
completed_conditions: StepExecutionCompletedConditions
|
|
959
|
+
waiting_condition: WaitingCondition
|
|
960
|
+
step_exe_locals: _containers.RepeatedCompositeFieldContainer[KV]
|
|
961
|
+
def __init__(self, step_execution_id: _Optional[str] = ..., step: _Optional[_Union[StepMovement, _Mapping]] = ..., completed_conditions: _Optional[_Union[StepExecutionCompletedConditions, _Mapping]] = ..., waiting_condition: _Optional[_Union[WaitingCondition, _Mapping]] = ..., step_exe_locals: _Optional[_Iterable[_Union[KV, _Mapping]]] = ...) -> None: ...
|
|
962
|
+
|
|
963
|
+
class StepExecutionCounterInfo(_message.Message):
|
|
964
|
+
__slots__ = ("step_type_started_count", "step_type_currently_executing_count", "total_currently_executing_count", "step_active_execution_nums")
|
|
965
|
+
class StepTypeStartedCountEntry(_message.Message):
|
|
966
|
+
__slots__ = ("key", "value")
|
|
967
|
+
KEY_FIELD_NUMBER: _ClassVar[int]
|
|
968
|
+
VALUE_FIELD_NUMBER: _ClassVar[int]
|
|
969
|
+
key: str
|
|
970
|
+
value: int
|
|
971
|
+
def __init__(self, key: _Optional[str] = ..., value: _Optional[int] = ...) -> None: ...
|
|
972
|
+
class StepTypeCurrentlyExecutingCountEntry(_message.Message):
|
|
973
|
+
__slots__ = ("key", "value")
|
|
974
|
+
KEY_FIELD_NUMBER: _ClassVar[int]
|
|
975
|
+
VALUE_FIELD_NUMBER: _ClassVar[int]
|
|
976
|
+
key: str
|
|
977
|
+
value: int
|
|
978
|
+
def __init__(self, key: _Optional[str] = ..., value: _Optional[int] = ...) -> None: ...
|
|
979
|
+
class StepActiveExecutionNumsEntry(_message.Message):
|
|
980
|
+
__slots__ = ("key", "value")
|
|
981
|
+
KEY_FIELD_NUMBER: _ClassVar[int]
|
|
982
|
+
VALUE_FIELD_NUMBER: _ClassVar[int]
|
|
983
|
+
key: str
|
|
984
|
+
value: StepExecutionNumbers
|
|
985
|
+
def __init__(self, key: _Optional[str] = ..., value: _Optional[_Union[StepExecutionNumbers, _Mapping]] = ...) -> None: ...
|
|
986
|
+
STEP_TYPE_STARTED_COUNT_FIELD_NUMBER: _ClassVar[int]
|
|
987
|
+
STEP_TYPE_CURRENTLY_EXECUTING_COUNT_FIELD_NUMBER: _ClassVar[int]
|
|
988
|
+
TOTAL_CURRENTLY_EXECUTING_COUNT_FIELD_NUMBER: _ClassVar[int]
|
|
989
|
+
STEP_ACTIVE_EXECUTION_NUMS_FIELD_NUMBER: _ClassVar[int]
|
|
990
|
+
step_type_started_count: _containers.ScalarMap[str, int]
|
|
991
|
+
step_type_currently_executing_count: _containers.ScalarMap[str, int]
|
|
992
|
+
total_currently_executing_count: int
|
|
993
|
+
step_active_execution_nums: _containers.MessageMap[str, StepExecutionNumbers]
|
|
994
|
+
def __init__(self, step_type_started_count: _Optional[_Mapping[str, int]] = ..., step_type_currently_executing_count: _Optional[_Mapping[str, int]] = ..., total_currently_executing_count: _Optional[int] = ..., step_active_execution_nums: _Optional[_Mapping[str, StepExecutionNumbers]] = ...) -> None: ...
|
|
995
|
+
|
|
996
|
+
class StaleSkipTimer(_message.Message):
|
|
997
|
+
__slots__ = ("step_execution_id", "timer_condition_id", "timer_condition_index")
|
|
998
|
+
STEP_EXECUTION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
999
|
+
TIMER_CONDITION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
1000
|
+
TIMER_CONDITION_INDEX_FIELD_NUMBER: _ClassVar[int]
|
|
1001
|
+
step_execution_id: str
|
|
1002
|
+
timer_condition_id: str
|
|
1003
|
+
timer_condition_index: int
|
|
1004
|
+
def __init__(self, step_execution_id: _Optional[str] = ..., timer_condition_id: _Optional[str] = ..., timer_condition_index: _Optional[int] = ...) -> None: ...
|
|
1005
|
+
|
|
1006
|
+
class ContinueAsNewDump(_message.Message):
|
|
1007
|
+
__slots__ = ("steps_to_start_from_beginning", "step_executions_to_resume", "channel_received", "counter_info", "step_outputs", "stale_skip_timers", "attributes")
|
|
1008
|
+
class ChannelReceivedEntry(_message.Message):
|
|
1009
|
+
__slots__ = ("key", "value")
|
|
1010
|
+
KEY_FIELD_NUMBER: _ClassVar[int]
|
|
1011
|
+
VALUE_FIELD_NUMBER: _ClassVar[int]
|
|
1012
|
+
key: str
|
|
1013
|
+
value: ChannelValues
|
|
1014
|
+
def __init__(self, key: _Optional[str] = ..., value: _Optional[_Union[ChannelValues, _Mapping]] = ...) -> None: ...
|
|
1015
|
+
STEPS_TO_START_FROM_BEGINNING_FIELD_NUMBER: _ClassVar[int]
|
|
1016
|
+
STEP_EXECUTIONS_TO_RESUME_FIELD_NUMBER: _ClassVar[int]
|
|
1017
|
+
CHANNEL_RECEIVED_FIELD_NUMBER: _ClassVar[int]
|
|
1018
|
+
COUNTER_INFO_FIELD_NUMBER: _ClassVar[int]
|
|
1019
|
+
STEP_OUTPUTS_FIELD_NUMBER: _ClassVar[int]
|
|
1020
|
+
STALE_SKIP_TIMERS_FIELD_NUMBER: _ClassVar[int]
|
|
1021
|
+
ATTRIBUTES_FIELD_NUMBER: _ClassVar[int]
|
|
1022
|
+
steps_to_start_from_beginning: _containers.RepeatedCompositeFieldContainer[StepMovement]
|
|
1023
|
+
step_executions_to_resume: _containers.RepeatedCompositeFieldContainer[StepExecutionResumeInfo]
|
|
1024
|
+
channel_received: _containers.MessageMap[str, ChannelValues]
|
|
1025
|
+
counter_info: StepExecutionCounterInfo
|
|
1026
|
+
step_outputs: _containers.RepeatedCompositeFieldContainer[StepCompletionOutput]
|
|
1027
|
+
stale_skip_timers: _containers.RepeatedCompositeFieldContainer[StaleSkipTimer]
|
|
1028
|
+
attributes: _containers.RepeatedCompositeFieldContainer[KV]
|
|
1029
|
+
def __init__(self, steps_to_start_from_beginning: _Optional[_Iterable[_Union[StepMovement, _Mapping]]] = ..., step_executions_to_resume: _Optional[_Iterable[_Union[StepExecutionResumeInfo, _Mapping]]] = ..., channel_received: _Optional[_Mapping[str, ChannelValues]] = ..., counter_info: _Optional[_Union[StepExecutionCounterInfo, _Mapping]] = ..., step_outputs: _Optional[_Iterable[_Union[StepCompletionOutput, _Mapping]]] = ..., stale_skip_timers: _Optional[_Iterable[_Union[StaleSkipTimer, _Mapping]]] = ..., attributes: _Optional[_Iterable[_Union[KV, _Mapping]]] = ...) -> None: ...
|
|
1030
|
+
|
|
1031
|
+
class ContinueAsNewInput(_message.Message):
|
|
1032
|
+
__slots__ = ("previous_internal_run_id",)
|
|
1033
|
+
PREVIOUS_INTERNAL_RUN_ID_FIELD_NUMBER: _ClassVar[int]
|
|
1034
|
+
previous_internal_run_id: str
|
|
1035
|
+
def __init__(self, previous_internal_run_id: _Optional[str] = ...) -> None: ...
|
|
1036
|
+
|
|
1037
|
+
class InterpreterWorkflowInput(_message.Message):
|
|
1038
|
+
__slots__ = ("flow_type", "worker_target", "start_step_type", "step_input", "step_options", "init_attributes", "config", "is_resume_from_continue_as_new", "continue_as_new_input")
|
|
1039
|
+
FLOW_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
1040
|
+
WORKER_TARGET_FIELD_NUMBER: _ClassVar[int]
|
|
1041
|
+
START_STEP_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
1042
|
+
STEP_INPUT_FIELD_NUMBER: _ClassVar[int]
|
|
1043
|
+
STEP_OPTIONS_FIELD_NUMBER: _ClassVar[int]
|
|
1044
|
+
INIT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int]
|
|
1045
|
+
CONFIG_FIELD_NUMBER: _ClassVar[int]
|
|
1046
|
+
IS_RESUME_FROM_CONTINUE_AS_NEW_FIELD_NUMBER: _ClassVar[int]
|
|
1047
|
+
CONTINUE_AS_NEW_INPUT_FIELD_NUMBER: _ClassVar[int]
|
|
1048
|
+
flow_type: str
|
|
1049
|
+
worker_target: str
|
|
1050
|
+
start_step_type: str
|
|
1051
|
+
step_input: Value
|
|
1052
|
+
step_options: StepOptions
|
|
1053
|
+
init_attributes: _containers.RepeatedCompositeFieldContainer[KV]
|
|
1054
|
+
config: FlowConfig
|
|
1055
|
+
is_resume_from_continue_as_new: bool
|
|
1056
|
+
continue_as_new_input: ContinueAsNewInput
|
|
1057
|
+
def __init__(self, flow_type: _Optional[str] = ..., worker_target: _Optional[str] = ..., start_step_type: _Optional[str] = ..., step_input: _Optional[_Union[Value, _Mapping]] = ..., step_options: _Optional[_Union[StepOptions, _Mapping]] = ..., init_attributes: _Optional[_Iterable[_Union[KV, _Mapping]]] = ..., config: _Optional[_Union[FlowConfig, _Mapping]] = ..., is_resume_from_continue_as_new: _Optional[bool] = ..., continue_as_new_input: _Optional[_Union[ContinueAsNewInput, _Mapping]] = ...) -> None: ...
|
|
1058
|
+
|
|
1059
|
+
class InterpreterWorkflowOutput(_message.Message):
|
|
1060
|
+
__slots__ = ("step_completion_outputs",)
|
|
1061
|
+
STEP_COMPLETION_OUTPUTS_FIELD_NUMBER: _ClassVar[int]
|
|
1062
|
+
step_completion_outputs: _containers.RepeatedCompositeFieldContainer[StepCompletionOutput]
|
|
1063
|
+
def __init__(self, step_completion_outputs: _Optional[_Iterable[_Union[StepCompletionOutput, _Mapping]]] = ...) -> None: ...
|
|
1064
|
+
|
|
1065
|
+
class BlobStoreCleanupWorkflowInput(_message.Message):
|
|
1066
|
+
__slots__ = ("store_id",)
|
|
1067
|
+
STORE_ID_FIELD_NUMBER: _ClassVar[int]
|
|
1068
|
+
store_id: str
|
|
1069
|
+
def __init__(self, store_id: _Optional[str] = ...) -> None: ...
|
|
1070
|
+
|
|
1071
|
+
class BlobStoreCleanupWorkflowOutput(_message.Message):
|
|
1072
|
+
__slots__ = ("total_deleted",)
|
|
1073
|
+
TOTAL_DELETED_FIELD_NUMBER: _ClassVar[int]
|
|
1074
|
+
total_deleted: int
|
|
1075
|
+
def __init__(self, total_deleted: _Optional[int] = ...) -> None: ...
|
|
1076
|
+
|
|
1077
|
+
class InvokeWaitForMethodActivityInput(_message.Message):
|
|
1078
|
+
__slots__ = ("worker_target", "request")
|
|
1079
|
+
WORKER_TARGET_FIELD_NUMBER: _ClassVar[int]
|
|
1080
|
+
REQUEST_FIELD_NUMBER: _ClassVar[int]
|
|
1081
|
+
worker_target: str
|
|
1082
|
+
request: InvokeWaitForMethodRequest
|
|
1083
|
+
def __init__(self, worker_target: _Optional[str] = ..., request: _Optional[_Union[InvokeWaitForMethodRequest, _Mapping]] = ...) -> None: ...
|
|
1084
|
+
|
|
1085
|
+
class InvokeWaitForMethodActivityOutput(_message.Message):
|
|
1086
|
+
__slots__ = ("response",)
|
|
1087
|
+
RESPONSE_FIELD_NUMBER: _ClassVar[int]
|
|
1088
|
+
response: InvokeWaitForMethodResponse
|
|
1089
|
+
def __init__(self, response: _Optional[_Union[InvokeWaitForMethodResponse, _Mapping]] = ...) -> None: ...
|
|
1090
|
+
|
|
1091
|
+
class InvokeExecuteMethodActivityInput(_message.Message):
|
|
1092
|
+
__slots__ = ("worker_target", "request")
|
|
1093
|
+
WORKER_TARGET_FIELD_NUMBER: _ClassVar[int]
|
|
1094
|
+
REQUEST_FIELD_NUMBER: _ClassVar[int]
|
|
1095
|
+
worker_target: str
|
|
1096
|
+
request: InvokeExecuteMethodRequest
|
|
1097
|
+
def __init__(self, worker_target: _Optional[str] = ..., request: _Optional[_Union[InvokeExecuteMethodRequest, _Mapping]] = ...) -> None: ...
|
|
1098
|
+
|
|
1099
|
+
class InvokeExecuteMethodActivityOutput(_message.Message):
|
|
1100
|
+
__slots__ = ("response",)
|
|
1101
|
+
RESPONSE_FIELD_NUMBER: _ClassVar[int]
|
|
1102
|
+
response: InvokeExecuteMethodResponse
|
|
1103
|
+
def __init__(self, response: _Optional[_Union[InvokeExecuteMethodResponse, _Mapping]] = ...) -> None: ...
|
|
1104
|
+
|
|
1105
|
+
class DumpFlowForContinueAsNewActivityInput(_message.Message):
|
|
1106
|
+
__slots__ = ("request",)
|
|
1107
|
+
REQUEST_FIELD_NUMBER: _ClassVar[int]
|
|
1108
|
+
request: ContinueAsNewDumpRequest
|
|
1109
|
+
def __init__(self, request: _Optional[_Union[ContinueAsNewDumpRequest, _Mapping]] = ...) -> None: ...
|
|
1110
|
+
|
|
1111
|
+
class DumpFlowForContinueAsNewActivityOutput(_message.Message):
|
|
1112
|
+
__slots__ = ("response",)
|
|
1113
|
+
RESPONSE_FIELD_NUMBER: _ClassVar[int]
|
|
1114
|
+
response: ContinueAsNewDumpResponse
|
|
1115
|
+
def __init__(self, response: _Optional[_Union[ContinueAsNewDumpResponse, _Mapping]] = ...) -> None: ...
|
|
1116
|
+
|
|
1117
|
+
class InvokeWorkerRPCActivityInput(_message.Message):
|
|
1118
|
+
__slots__ = ("rpc_prep", "request")
|
|
1119
|
+
RPC_PREP_FIELD_NUMBER: _ClassVar[int]
|
|
1120
|
+
REQUEST_FIELD_NUMBER: _ClassVar[int]
|
|
1121
|
+
rpc_prep: PrepareRpcQueryResponse
|
|
1122
|
+
request: InvokeRPCRequest
|
|
1123
|
+
def __init__(self, rpc_prep: _Optional[_Union[PrepareRpcQueryResponse, _Mapping]] = ..., request: _Optional[_Union[InvokeRPCRequest, _Mapping]] = ...) -> None: ...
|
|
1124
|
+
|
|
1125
|
+
class InvokeWorkerRPCActivityOutput(_message.Message):
|
|
1126
|
+
__slots__ = ("response",)
|
|
1127
|
+
RESPONSE_FIELD_NUMBER: _ClassVar[int]
|
|
1128
|
+
response: InvokeWorkerRPCResponse
|
|
1129
|
+
def __init__(self, response: _Optional[_Union[InvokeWorkerRPCResponse, _Mapping]] = ...) -> None: ...
|
|
1130
|
+
|
|
1131
|
+
class CleanupBlobStoreActivityInput(_message.Message):
|
|
1132
|
+
__slots__ = ("store_id",)
|
|
1133
|
+
STORE_ID_FIELD_NUMBER: _ClassVar[int]
|
|
1134
|
+
store_id: str
|
|
1135
|
+
def __init__(self, store_id: _Optional[str] = ...) -> None: ...
|
|
1136
|
+
|
|
1137
|
+
class CleanupBlobStoreActivityOutput(_message.Message):
|
|
1138
|
+
__slots__ = ("total_deleted",)
|
|
1139
|
+
TOTAL_DELETED_FIELD_NUMBER: _ClassVar[int]
|
|
1140
|
+
total_deleted: int
|
|
1141
|
+
def __init__(self, total_deleted: _Optional[int] = ...) -> None: ...
|
|
1142
|
+
|
|
1143
|
+
class ExecuteRpcSignalRequest(_message.Message):
|
|
1144
|
+
__slots__ = ("rpc_input", "rpc_output", "upsert_attributes", "step_decision", "record_events", "publish_to_channel")
|
|
1145
|
+
RPC_INPUT_FIELD_NUMBER: _ClassVar[int]
|
|
1146
|
+
RPC_OUTPUT_FIELD_NUMBER: _ClassVar[int]
|
|
1147
|
+
UPSERT_ATTRIBUTES_FIELD_NUMBER: _ClassVar[int]
|
|
1148
|
+
STEP_DECISION_FIELD_NUMBER: _ClassVar[int]
|
|
1149
|
+
RECORD_EVENTS_FIELD_NUMBER: _ClassVar[int]
|
|
1150
|
+
PUBLISH_TO_CHANNEL_FIELD_NUMBER: _ClassVar[int]
|
|
1151
|
+
rpc_input: Value
|
|
1152
|
+
rpc_output: Value
|
|
1153
|
+
upsert_attributes: _containers.RepeatedCompositeFieldContainer[AttributeWrite]
|
|
1154
|
+
step_decision: StepDecision
|
|
1155
|
+
record_events: _containers.RepeatedCompositeFieldContainer[KV]
|
|
1156
|
+
publish_to_channel: _containers.RepeatedCompositeFieldContainer[ChannelMessage]
|
|
1157
|
+
def __init__(self, rpc_input: _Optional[_Union[Value, _Mapping]] = ..., rpc_output: _Optional[_Union[Value, _Mapping]] = ..., upsert_attributes: _Optional[_Iterable[_Union[AttributeWrite, _Mapping]]] = ..., step_decision: _Optional[_Union[StepDecision, _Mapping]] = ..., record_events: _Optional[_Iterable[_Union[KV, _Mapping]]] = ..., publish_to_channel: _Optional[_Iterable[_Union[ChannelMessage, _Mapping]]] = ...) -> None: ...
|
|
1158
|
+
|
|
1159
|
+
class SkipTimerSignalRequest(_message.Message):
|
|
1160
|
+
__slots__ = ("step_execution_id", "timer_condition_id", "timer_condition_index")
|
|
1161
|
+
STEP_EXECUTION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
1162
|
+
TIMER_CONDITION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
1163
|
+
TIMER_CONDITION_INDEX_FIELD_NUMBER: _ClassVar[int]
|
|
1164
|
+
step_execution_id: str
|
|
1165
|
+
timer_condition_id: str
|
|
1166
|
+
timer_condition_index: int
|
|
1167
|
+
def __init__(self, step_execution_id: _Optional[str] = ..., timer_condition_id: _Optional[str] = ..., timer_condition_index: _Optional[int] = ...) -> None: ...
|
|
1168
|
+
|
|
1169
|
+
class FailFlowSignalRequest(_message.Message):
|
|
1170
|
+
__slots__ = ("reason",)
|
|
1171
|
+
REASON_FIELD_NUMBER: _ClassVar[int]
|
|
1172
|
+
reason: str
|
|
1173
|
+
def __init__(self, reason: _Optional[str] = ...) -> None: ...
|
|
1174
|
+
|
|
1175
|
+
class GetAttributesQueryRequest(_message.Message):
|
|
1176
|
+
__slots__ = ("keys", "all_keys")
|
|
1177
|
+
KEYS_FIELD_NUMBER: _ClassVar[int]
|
|
1178
|
+
ALL_KEYS_FIELD_NUMBER: _ClassVar[int]
|
|
1179
|
+
keys: _containers.RepeatedScalarFieldContainer[str]
|
|
1180
|
+
all_keys: bool
|
|
1181
|
+
def __init__(self, keys: _Optional[_Iterable[str]] = ..., all_keys: _Optional[bool] = ...) -> None: ...
|
|
1182
|
+
|
|
1183
|
+
class GetAttributesQueryResponse(_message.Message):
|
|
1184
|
+
__slots__ = ("attributes",)
|
|
1185
|
+
ATTRIBUTES_FIELD_NUMBER: _ClassVar[int]
|
|
1186
|
+
attributes: _containers.RepeatedCompositeFieldContainer[KV]
|
|
1187
|
+
def __init__(self, attributes: _Optional[_Iterable[_Union[KV, _Mapping]]] = ...) -> None: ...
|
|
1188
|
+
|
|
1189
|
+
class PrepareRpcQueryRequest(_message.Message):
|
|
1190
|
+
__slots__ = ("lock_attribute_keys",)
|
|
1191
|
+
LOCK_ATTRIBUTE_KEYS_FIELD_NUMBER: _ClassVar[int]
|
|
1192
|
+
lock_attribute_keys: _containers.RepeatedScalarFieldContainer[str]
|
|
1193
|
+
def __init__(self, lock_attribute_keys: _Optional[_Iterable[str]] = ...) -> None: ...
|
|
1194
|
+
|
|
1195
|
+
class PrepareRpcQueryResponse(_message.Message):
|
|
1196
|
+
__slots__ = ("attributes", "run_id", "flow_started_timestamp", "flow_type", "worker_target", "channel_infos")
|
|
1197
|
+
class ChannelInfosEntry(_message.Message):
|
|
1198
|
+
__slots__ = ("key", "value")
|
|
1199
|
+
KEY_FIELD_NUMBER: _ClassVar[int]
|
|
1200
|
+
VALUE_FIELD_NUMBER: _ClassVar[int]
|
|
1201
|
+
key: str
|
|
1202
|
+
value: ChannelInfo
|
|
1203
|
+
def __init__(self, key: _Optional[str] = ..., value: _Optional[_Union[ChannelInfo, _Mapping]] = ...) -> None: ...
|
|
1204
|
+
ATTRIBUTES_FIELD_NUMBER: _ClassVar[int]
|
|
1205
|
+
RUN_ID_FIELD_NUMBER: _ClassVar[int]
|
|
1206
|
+
FLOW_STARTED_TIMESTAMP_FIELD_NUMBER: _ClassVar[int]
|
|
1207
|
+
FLOW_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
1208
|
+
WORKER_TARGET_FIELD_NUMBER: _ClassVar[int]
|
|
1209
|
+
CHANNEL_INFOS_FIELD_NUMBER: _ClassVar[int]
|
|
1210
|
+
attributes: _containers.RepeatedCompositeFieldContainer[KV]
|
|
1211
|
+
run_id: str
|
|
1212
|
+
flow_started_timestamp: int
|
|
1213
|
+
flow_type: str
|
|
1214
|
+
worker_target: str
|
|
1215
|
+
channel_infos: _containers.MessageMap[str, ChannelInfo]
|
|
1216
|
+
def __init__(self, attributes: _Optional[_Iterable[_Union[KV, _Mapping]]] = ..., run_id: _Optional[str] = ..., flow_started_timestamp: _Optional[int] = ..., flow_type: _Optional[str] = ..., worker_target: _Optional[str] = ..., channel_infos: _Optional[_Mapping[str, ChannelInfo]] = ...) -> None: ...
|
|
1217
|
+
|
|
1218
|
+
class TimerInfo(_message.Message):
|
|
1219
|
+
__slots__ = ("condition_id", "firing_unix_timestamp_seconds", "status")
|
|
1220
|
+
CONDITION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
1221
|
+
FIRING_UNIX_TIMESTAMP_SECONDS_FIELD_NUMBER: _ClassVar[int]
|
|
1222
|
+
STATUS_FIELD_NUMBER: _ClassVar[int]
|
|
1223
|
+
condition_id: str
|
|
1224
|
+
firing_unix_timestamp_seconds: int
|
|
1225
|
+
status: InternalTimerStatus
|
|
1226
|
+
def __init__(self, condition_id: _Optional[str] = ..., firing_unix_timestamp_seconds: _Optional[int] = ..., status: _Optional[_Union[InternalTimerStatus, str]] = ...) -> None: ...
|
|
1227
|
+
|
|
1228
|
+
class TimerInfoList(_message.Message):
|
|
1229
|
+
__slots__ = ("timers",)
|
|
1230
|
+
TIMERS_FIELD_NUMBER: _ClassVar[int]
|
|
1231
|
+
timers: _containers.RepeatedCompositeFieldContainer[TimerInfo]
|
|
1232
|
+
def __init__(self, timers: _Optional[_Iterable[_Union[TimerInfo, _Mapping]]] = ...) -> None: ...
|
|
1233
|
+
|
|
1234
|
+
class GetCurrentTimerInfosQueryResponse(_message.Message):
|
|
1235
|
+
__slots__ = ("step_execution_current_timer_infos",)
|
|
1236
|
+
class StepExecutionCurrentTimerInfosEntry(_message.Message):
|
|
1237
|
+
__slots__ = ("key", "value")
|
|
1238
|
+
KEY_FIELD_NUMBER: _ClassVar[int]
|
|
1239
|
+
VALUE_FIELD_NUMBER: _ClassVar[int]
|
|
1240
|
+
key: str
|
|
1241
|
+
value: TimerInfoList
|
|
1242
|
+
def __init__(self, key: _Optional[str] = ..., value: _Optional[_Union[TimerInfoList, _Mapping]] = ...) -> None: ...
|
|
1243
|
+
STEP_EXECUTION_CURRENT_TIMER_INFOS_FIELD_NUMBER: _ClassVar[int]
|
|
1244
|
+
step_execution_current_timer_infos: _containers.MessageMap[str, TimerInfoList]
|
|
1245
|
+
def __init__(self, step_execution_current_timer_infos: _Optional[_Mapping[str, TimerInfoList]] = ...) -> None: ...
|
|
1246
|
+
|
|
1247
|
+
class GetScheduledGreedyTimerTimesQueryResponse(_message.Message):
|
|
1248
|
+
__slots__ = ("pending_scheduled",)
|
|
1249
|
+
PENDING_SCHEDULED_FIELD_NUMBER: _ClassVar[int]
|
|
1250
|
+
pending_scheduled: _containers.RepeatedCompositeFieldContainer[TimerInfo]
|
|
1251
|
+
def __init__(self, pending_scheduled: _Optional[_Iterable[_Union[TimerInfo, _Mapping]]] = ...) -> None: ...
|
|
1252
|
+
|
|
1253
|
+
class DebugDumpResponse(_message.Message):
|
|
1254
|
+
__slots__ = ("config", "snapshot", "firing_timers_unix_timestamps")
|
|
1255
|
+
CONFIG_FIELD_NUMBER: _ClassVar[int]
|
|
1256
|
+
SNAPSHOT_FIELD_NUMBER: _ClassVar[int]
|
|
1257
|
+
FIRING_TIMERS_UNIX_TIMESTAMPS_FIELD_NUMBER: _ClassVar[int]
|
|
1258
|
+
config: FlowConfig
|
|
1259
|
+
snapshot: ContinueAsNewDump
|
|
1260
|
+
firing_timers_unix_timestamps: _containers.RepeatedScalarFieldContainer[int]
|
|
1261
|
+
def __init__(self, config: _Optional[_Union[FlowConfig, _Mapping]] = ..., snapshot: _Optional[_Union[ContinueAsNewDump, _Mapping]] = ..., firing_timers_unix_timestamps: _Optional[_Iterable[int]] = ...) -> None: ...
|
|
1262
|
+
|
|
1263
|
+
class InvokeRpcUpdateResult(_message.Message):
|
|
1264
|
+
__slots__ = ("response",)
|
|
1265
|
+
RESPONSE_FIELD_NUMBER: _ClassVar[int]
|
|
1266
|
+
response: InvokeRPCResponse
|
|
1267
|
+
def __init__(self, response: _Optional[_Union[InvokeRPCResponse, _Mapping]] = ...) -> None: ...
|
|
1268
|
+
|
|
1269
|
+
class StepExecutionNumbers(_message.Message):
|
|
1270
|
+
__slots__ = ("numbers",)
|
|
1271
|
+
NUMBERS_FIELD_NUMBER: _ClassVar[int]
|
|
1272
|
+
numbers: _containers.RepeatedScalarFieldContainer[int]
|
|
1273
|
+
def __init__(self, numbers: _Optional[_Iterable[int]] = ...) -> None: ...
|