temporalio 0.1.1 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (585) hide show
  1. checksums.yaml +4 -4
  2. data/Cargo.lock +4035 -0
  3. data/Cargo.toml +25 -0
  4. data/Gemfile +20 -0
  5. data/LICENSE +16 -15
  6. data/README.md +455 -195
  7. data/Rakefile +387 -0
  8. data/ext/Cargo.toml +25 -0
  9. data/lib/temporalio/activity/complete_async_error.rb +11 -0
  10. data/lib/temporalio/activity/context.rb +82 -77
  11. data/lib/temporalio/activity/definition.rb +77 -0
  12. data/lib/temporalio/activity/info.rb +42 -46
  13. data/lib/temporalio/activity.rb +49 -65
  14. data/lib/temporalio/api/batch/v1/message.rb +31 -0
  15. data/lib/temporalio/api/cloud/cloudservice/v1/request_response.rb +93 -0
  16. data/lib/temporalio/api/cloud/cloudservice/v1/service.rb +25 -0
  17. data/lib/temporalio/api/cloud/cloudservice.rb +3 -0
  18. data/lib/temporalio/api/cloud/identity/v1/message.rb +36 -0
  19. data/lib/temporalio/api/cloud/namespace/v1/message.rb +35 -0
  20. data/lib/temporalio/api/cloud/operation/v1/message.rb +27 -0
  21. data/lib/temporalio/api/cloud/region/v1/message.rb +23 -0
  22. data/lib/temporalio/api/command/v1/message.rb +46 -0
  23. data/lib/temporalio/api/common/v1/grpc_status.rb +23 -0
  24. data/lib/temporalio/api/common/v1/message.rb +41 -0
  25. data/lib/temporalio/api/enums/v1/batch_operation.rb +22 -0
  26. data/lib/temporalio/api/enums/v1/command_type.rb +21 -0
  27. data/lib/temporalio/api/enums/v1/common.rb +26 -0
  28. data/lib/temporalio/api/enums/v1/event_type.rb +21 -0
  29. data/lib/temporalio/api/enums/v1/failed_cause.rb +26 -0
  30. data/lib/temporalio/api/enums/v1/namespace.rb +23 -0
  31. data/lib/temporalio/api/enums/v1/query.rb +22 -0
  32. data/lib/temporalio/api/enums/v1/reset.rb +23 -0
  33. data/lib/temporalio/api/enums/v1/schedule.rb +21 -0
  34. data/lib/temporalio/api/enums/v1/task_queue.rb +25 -0
  35. data/lib/temporalio/api/enums/v1/update.rb +22 -0
  36. data/lib/temporalio/api/enums/v1/workflow.rb +30 -0
  37. data/lib/temporalio/api/errordetails/v1/message.rb +42 -0
  38. data/lib/temporalio/api/export/v1/message.rb +24 -0
  39. data/lib/temporalio/api/failure/v1/message.rb +35 -0
  40. data/lib/temporalio/api/filter/v1/message.rb +27 -0
  41. data/lib/temporalio/api/history/v1/message.rb +90 -0
  42. data/lib/temporalio/api/namespace/v1/message.rb +31 -0
  43. data/lib/temporalio/api/nexus/v1/message.rb +40 -0
  44. data/lib/temporalio/api/operatorservice/v1/request_response.rb +49 -0
  45. data/lib/temporalio/api/operatorservice/v1/service.rb +23 -0
  46. data/lib/temporalio/api/operatorservice.rb +3 -0
  47. data/lib/temporalio/api/protocol/v1/message.rb +23 -0
  48. data/lib/temporalio/api/query/v1/message.rb +27 -0
  49. data/lib/temporalio/api/replication/v1/message.rb +26 -0
  50. data/lib/temporalio/api/schedule/v1/message.rb +42 -0
  51. data/lib/temporalio/api/sdk/v1/enhanced_stack_trace.rb +25 -0
  52. data/lib/temporalio/api/sdk/v1/task_complete_metadata.rb +21 -0
  53. data/lib/temporalio/api/sdk/v1/user_metadata.rb +23 -0
  54. data/lib/temporalio/api/sdk/v1/workflow_metadata.rb +23 -0
  55. data/lib/temporalio/api/taskqueue/v1/message.rb +45 -0
  56. data/lib/temporalio/api/update/v1/message.rb +33 -0
  57. data/lib/temporalio/api/version/v1/message.rb +26 -0
  58. data/lib/temporalio/api/workflow/v1/message.rb +43 -0
  59. data/lib/temporalio/api/workflowservice/v1/request_response.rb +189 -0
  60. data/lib/temporalio/api/workflowservice/v1/service.rb +23 -0
  61. data/lib/temporalio/api/workflowservice.rb +3 -0
  62. data/lib/temporalio/api.rb +13 -0
  63. data/lib/temporalio/cancellation.rb +150 -0
  64. data/lib/temporalio/client/activity_id_reference.rb +32 -0
  65. data/lib/temporalio/client/async_activity_handle.rb +110 -0
  66. data/lib/temporalio/client/connection/cloud_service.rb +648 -0
  67. data/lib/temporalio/client/connection/operator_service.rb +249 -0
  68. data/lib/temporalio/client/connection/service.rb +41 -0
  69. data/lib/temporalio/client/connection/workflow_service.rb +1218 -0
  70. data/lib/temporalio/client/connection.rb +270 -0
  71. data/lib/temporalio/client/interceptor.rb +316 -0
  72. data/lib/temporalio/client/workflow_execution.rb +103 -0
  73. data/lib/temporalio/client/workflow_execution_count.rb +36 -0
  74. data/lib/temporalio/client/workflow_execution_status.rb +18 -0
  75. data/lib/temporalio/client/workflow_handle.rb +380 -177
  76. data/lib/temporalio/client/workflow_query_reject_condition.rb +14 -0
  77. data/lib/temporalio/client/workflow_update_handle.rb +67 -0
  78. data/lib/temporalio/client/workflow_update_wait_stage.rb +17 -0
  79. data/lib/temporalio/client.rb +366 -93
  80. data/lib/temporalio/common_enums.rb +24 -0
  81. data/lib/temporalio/converters/data_converter.rb +102 -0
  82. data/lib/temporalio/converters/failure_converter.rb +200 -0
  83. data/lib/temporalio/converters/payload_codec.rb +26 -0
  84. data/lib/temporalio/converters/payload_converter/binary_null.rb +34 -0
  85. data/lib/temporalio/converters/payload_converter/binary_plain.rb +35 -0
  86. data/lib/temporalio/converters/payload_converter/binary_protobuf.rb +42 -0
  87. data/lib/temporalio/converters/payload_converter/composite.rb +62 -0
  88. data/lib/temporalio/converters/payload_converter/encoding.rb +35 -0
  89. data/lib/temporalio/converters/payload_converter/json_plain.rb +44 -0
  90. data/lib/temporalio/converters/payload_converter/json_protobuf.rb +41 -0
  91. data/lib/temporalio/converters/payload_converter.rb +73 -0
  92. data/lib/temporalio/converters.rb +9 -0
  93. data/lib/temporalio/error/failure.rb +119 -94
  94. data/lib/temporalio/error.rb +147 -0
  95. data/lib/temporalio/internal/bridge/api/activity_result/activity_result.rb +34 -0
  96. data/lib/temporalio/internal/bridge/api/activity_task/activity_task.rb +31 -0
  97. data/lib/temporalio/internal/bridge/api/child_workflow/child_workflow.rb +33 -0
  98. data/lib/temporalio/internal/bridge/api/common/common.rb +26 -0
  99. data/lib/temporalio/internal/bridge/api/core_interface.rb +36 -0
  100. data/lib/temporalio/internal/bridge/api/external_data/external_data.rb +27 -0
  101. data/lib/temporalio/internal/bridge/api/workflow_activation/workflow_activation.rb +52 -0
  102. data/lib/temporalio/internal/bridge/api/workflow_commands/workflow_commands.rb +54 -0
  103. data/lib/temporalio/internal/bridge/api/workflow_completion/workflow_completion.rb +30 -0
  104. data/lib/temporalio/internal/bridge/api.rb +3 -0
  105. data/lib/temporalio/internal/bridge/client.rb +90 -0
  106. data/lib/temporalio/internal/bridge/runtime.rb +53 -0
  107. data/lib/temporalio/internal/bridge/testing.rb +46 -0
  108. data/lib/temporalio/internal/bridge/worker.rb +83 -0
  109. data/lib/temporalio/internal/bridge.rb +36 -0
  110. data/lib/temporalio/internal/client/implementation.rb +525 -0
  111. data/lib/temporalio/internal/proto_utils.rb +54 -0
  112. data/lib/temporalio/internal/worker/activity_worker.rb +345 -0
  113. data/lib/temporalio/internal/worker/multi_runner.rb +169 -0
  114. data/lib/temporalio/internal.rb +7 -0
  115. data/lib/temporalio/retry_policy.rb +39 -80
  116. data/lib/temporalio/runtime.rb +259 -13
  117. data/lib/temporalio/scoped_logger.rb +96 -0
  118. data/lib/temporalio/search_attributes.rb +300 -0
  119. data/lib/temporalio/testing/activity_environment.rb +132 -0
  120. data/lib/temporalio/testing/workflow_environment.rb +113 -88
  121. data/lib/temporalio/testing.rb +4 -169
  122. data/lib/temporalio/version.rb +3 -1
  123. data/lib/temporalio/worker/activity_executor/fiber.rb +49 -0
  124. data/lib/temporalio/worker/activity_executor/thread_pool.rb +254 -0
  125. data/lib/temporalio/worker/activity_executor.rb +55 -0
  126. data/lib/temporalio/worker/interceptor.rb +88 -0
  127. data/lib/temporalio/worker/tuner.rb +151 -0
  128. data/lib/temporalio/worker.rb +385 -163
  129. data/lib/temporalio/workflow_history.rb +22 -0
  130. data/lib/temporalio.rb +2 -7
  131. data/temporalio.gemspec +20 -39
  132. metadata +131 -712
  133. data/bridge/Cargo.lock +0 -2997
  134. data/bridge/Cargo.toml +0 -29
  135. data/bridge/sdk-core/ARCHITECTURE.md +0 -76
  136. data/bridge/sdk-core/Cargo.toml +0 -2
  137. data/bridge/sdk-core/LICENSE.txt +0 -23
  138. data/bridge/sdk-core/README.md +0 -117
  139. data/bridge/sdk-core/arch_docs/diagrams/README.md +0 -10
  140. data/bridge/sdk-core/arch_docs/diagrams/sticky_queues.puml +0 -40
  141. data/bridge/sdk-core/arch_docs/diagrams/workflow_internals.svg +0 -1
  142. data/bridge/sdk-core/arch_docs/sticky_queues.md +0 -51
  143. data/bridge/sdk-core/client/Cargo.toml +0 -40
  144. data/bridge/sdk-core/client/LICENSE.txt +0 -23
  145. data/bridge/sdk-core/client/src/lib.rs +0 -1462
  146. data/bridge/sdk-core/client/src/metrics.rs +0 -174
  147. data/bridge/sdk-core/client/src/raw.rs +0 -932
  148. data/bridge/sdk-core/client/src/retry.rs +0 -763
  149. data/bridge/sdk-core/client/src/workflow_handle/mod.rs +0 -185
  150. data/bridge/sdk-core/core/Cargo.toml +0 -129
  151. data/bridge/sdk-core/core/LICENSE.txt +0 -23
  152. data/bridge/sdk-core/core/benches/workflow_replay.rs +0 -76
  153. data/bridge/sdk-core/core/src/abstractions.rs +0 -355
  154. data/bridge/sdk-core/core/src/core_tests/activity_tasks.rs +0 -1049
  155. data/bridge/sdk-core/core/src/core_tests/child_workflows.rs +0 -221
  156. data/bridge/sdk-core/core/src/core_tests/determinism.rs +0 -270
  157. data/bridge/sdk-core/core/src/core_tests/local_activities.rs +0 -1046
  158. data/bridge/sdk-core/core/src/core_tests/mod.rs +0 -100
  159. data/bridge/sdk-core/core/src/core_tests/queries.rs +0 -893
  160. data/bridge/sdk-core/core/src/core_tests/replay_flag.rs +0 -65
  161. data/bridge/sdk-core/core/src/core_tests/workers.rs +0 -257
  162. data/bridge/sdk-core/core/src/core_tests/workflow_cancels.rs +0 -124
  163. data/bridge/sdk-core/core/src/core_tests/workflow_tasks.rs +0 -2433
  164. data/bridge/sdk-core/core/src/ephemeral_server/mod.rs +0 -609
  165. data/bridge/sdk-core/core/src/internal_flags.rs +0 -136
  166. data/bridge/sdk-core/core/src/lib.rs +0 -289
  167. data/bridge/sdk-core/core/src/pollers/mod.rs +0 -54
  168. data/bridge/sdk-core/core/src/pollers/poll_buffer.rs +0 -297
  169. data/bridge/sdk-core/core/src/protosext/mod.rs +0 -428
  170. data/bridge/sdk-core/core/src/replay/mod.rs +0 -215
  171. data/bridge/sdk-core/core/src/retry_logic.rs +0 -202
  172. data/bridge/sdk-core/core/src/telemetry/log_export.rs +0 -190
  173. data/bridge/sdk-core/core/src/telemetry/metrics.rs +0 -462
  174. data/bridge/sdk-core/core/src/telemetry/mod.rs +0 -423
  175. data/bridge/sdk-core/core/src/telemetry/prometheus_server.rs +0 -83
  176. data/bridge/sdk-core/core/src/test_help/mod.rs +0 -939
  177. data/bridge/sdk-core/core/src/worker/activities/activity_heartbeat_manager.rs +0 -536
  178. data/bridge/sdk-core/core/src/worker/activities/activity_task_poller_stream.rs +0 -89
  179. data/bridge/sdk-core/core/src/worker/activities/local_activities.rs +0 -1278
  180. data/bridge/sdk-core/core/src/worker/activities.rs +0 -557
  181. data/bridge/sdk-core/core/src/worker/client/mocks.rs +0 -107
  182. data/bridge/sdk-core/core/src/worker/client.rs +0 -389
  183. data/bridge/sdk-core/core/src/worker/mod.rs +0 -677
  184. data/bridge/sdk-core/core/src/worker/workflow/bridge.rs +0 -35
  185. data/bridge/sdk-core/core/src/worker/workflow/driven_workflow.rs +0 -99
  186. data/bridge/sdk-core/core/src/worker/workflow/history_update.rs +0 -1111
  187. data/bridge/sdk-core/core/src/worker/workflow/machines/activity_state_machine.rs +0 -964
  188. data/bridge/sdk-core/core/src/worker/workflow/machines/cancel_external_state_machine.rs +0 -294
  189. data/bridge/sdk-core/core/src/worker/workflow/machines/cancel_workflow_state_machine.rs +0 -168
  190. data/bridge/sdk-core/core/src/worker/workflow/machines/child_workflow_state_machine.rs +0 -918
  191. data/bridge/sdk-core/core/src/worker/workflow/machines/complete_workflow_state_machine.rs +0 -137
  192. data/bridge/sdk-core/core/src/worker/workflow/machines/continue_as_new_workflow_state_machine.rs +0 -158
  193. data/bridge/sdk-core/core/src/worker/workflow/machines/fail_workflow_state_machine.rs +0 -130
  194. data/bridge/sdk-core/core/src/worker/workflow/machines/local_activity_state_machine.rs +0 -1525
  195. data/bridge/sdk-core/core/src/worker/workflow/machines/mod.rs +0 -324
  196. data/bridge/sdk-core/core/src/worker/workflow/machines/modify_workflow_properties_state_machine.rs +0 -179
  197. data/bridge/sdk-core/core/src/worker/workflow/machines/patch_state_machine.rs +0 -659
  198. data/bridge/sdk-core/core/src/worker/workflow/machines/signal_external_state_machine.rs +0 -439
  199. data/bridge/sdk-core/core/src/worker/workflow/machines/timer_state_machine.rs +0 -435
  200. data/bridge/sdk-core/core/src/worker/workflow/machines/transition_coverage.rs +0 -175
  201. data/bridge/sdk-core/core/src/worker/workflow/machines/upsert_search_attributes_state_machine.rs +0 -249
  202. data/bridge/sdk-core/core/src/worker/workflow/machines/workflow_machines/local_acts.rs +0 -85
  203. data/bridge/sdk-core/core/src/worker/workflow/machines/workflow_machines.rs +0 -1280
  204. data/bridge/sdk-core/core/src/worker/workflow/machines/workflow_task_state_machine.rs +0 -269
  205. data/bridge/sdk-core/core/src/worker/workflow/managed_run/managed_wf_test.rs +0 -213
  206. data/bridge/sdk-core/core/src/worker/workflow/managed_run.rs +0 -1305
  207. data/bridge/sdk-core/core/src/worker/workflow/mod.rs +0 -1276
  208. data/bridge/sdk-core/core/src/worker/workflow/run_cache.rs +0 -128
  209. data/bridge/sdk-core/core/src/worker/workflow/wft_extraction.rs +0 -125
  210. data/bridge/sdk-core/core/src/worker/workflow/wft_poller.rs +0 -85
  211. data/bridge/sdk-core/core/src/worker/workflow/workflow_stream/saved_wf_inputs.rs +0 -117
  212. data/bridge/sdk-core/core/src/worker/workflow/workflow_stream/tonic_status_serde.rs +0 -24
  213. data/bridge/sdk-core/core/src/worker/workflow/workflow_stream.rs +0 -715
  214. data/bridge/sdk-core/core-api/Cargo.toml +0 -33
  215. data/bridge/sdk-core/core-api/LICENSE.txt +0 -23
  216. data/bridge/sdk-core/core-api/src/errors.rs +0 -62
  217. data/bridge/sdk-core/core-api/src/lib.rs +0 -113
  218. data/bridge/sdk-core/core-api/src/telemetry.rs +0 -141
  219. data/bridge/sdk-core/core-api/src/worker.rs +0 -161
  220. data/bridge/sdk-core/etc/deps.svg +0 -162
  221. data/bridge/sdk-core/etc/dynamic-config.yaml +0 -2
  222. data/bridge/sdk-core/etc/otel-collector-config.yaml +0 -36
  223. data/bridge/sdk-core/etc/prometheus.yaml +0 -6
  224. data/bridge/sdk-core/etc/regen-depgraph.sh +0 -5
  225. data/bridge/sdk-core/fsm/Cargo.toml +0 -18
  226. data/bridge/sdk-core/fsm/LICENSE.txt +0 -23
  227. data/bridge/sdk-core/fsm/README.md +0 -3
  228. data/bridge/sdk-core/fsm/rustfsm_procmacro/Cargo.toml +0 -27
  229. data/bridge/sdk-core/fsm/rustfsm_procmacro/LICENSE.txt +0 -23
  230. data/bridge/sdk-core/fsm/rustfsm_procmacro/src/lib.rs +0 -650
  231. data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/progress.rs +0 -8
  232. data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/trybuild/dupe_transitions_fail.rs +0 -18
  233. data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/trybuild/dupe_transitions_fail.stderr +0 -12
  234. data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/trybuild/dynamic_dest_pass.rs +0 -41
  235. data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/trybuild/forgot_name_fail.rs +0 -14
  236. data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/trybuild/forgot_name_fail.stderr +0 -11
  237. data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/trybuild/handler_arg_pass.rs +0 -32
  238. data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/trybuild/handler_pass.rs +0 -31
  239. data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/trybuild/medium_complex_pass.rs +0 -46
  240. data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/trybuild/no_handle_conversions_require_into_fail.rs +0 -29
  241. data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/trybuild/no_handle_conversions_require_into_fail.stderr +0 -12
  242. data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/trybuild/simple_pass.rs +0 -32
  243. data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/trybuild/struct_event_variant_fail.rs +0 -18
  244. data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/trybuild/struct_event_variant_fail.stderr +0 -5
  245. data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/trybuild/tuple_more_item_event_variant_fail.rs +0 -11
  246. data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/trybuild/tuple_more_item_event_variant_fail.stderr +0 -5
  247. data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/trybuild/tuple_zero_item_event_variant_fail.rs +0 -11
  248. data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/trybuild/tuple_zero_item_event_variant_fail.stderr +0 -5
  249. data/bridge/sdk-core/fsm/rustfsm_trait/Cargo.toml +0 -14
  250. data/bridge/sdk-core/fsm/rustfsm_trait/LICENSE.txt +0 -23
  251. data/bridge/sdk-core/fsm/rustfsm_trait/src/lib.rs +0 -254
  252. data/bridge/sdk-core/fsm/src/lib.rs +0 -2
  253. data/bridge/sdk-core/histories/evict_while_la_running_no_interference-16_history.bin +0 -0
  254. data/bridge/sdk-core/histories/evict_while_la_running_no_interference-23_history.bin +0 -0
  255. data/bridge/sdk-core/histories/evict_while_la_running_no_interference-85_history.bin +0 -0
  256. data/bridge/sdk-core/histories/fail_wf_task.bin +0 -0
  257. data/bridge/sdk-core/histories/timer_workflow_history.bin +0 -0
  258. data/bridge/sdk-core/integ-with-otel.sh +0 -7
  259. data/bridge/sdk-core/protos/api_upstream/README.md +0 -9
  260. data/bridge/sdk-core/protos/api_upstream/api-linter.yaml +0 -40
  261. data/bridge/sdk-core/protos/api_upstream/buf.yaml +0 -9
  262. data/bridge/sdk-core/protos/api_upstream/build/go.mod +0 -7
  263. data/bridge/sdk-core/protos/api_upstream/build/go.sum +0 -5
  264. data/bridge/sdk-core/protos/api_upstream/build/tools.go +0 -29
  265. data/bridge/sdk-core/protos/api_upstream/dependencies/gogoproto/gogo.proto +0 -141
  266. data/bridge/sdk-core/protos/api_upstream/go.mod +0 -6
  267. data/bridge/sdk-core/protos/api_upstream/temporal/api/batch/v1/message.proto +0 -89
  268. data/bridge/sdk-core/protos/api_upstream/temporal/api/command/v1/message.proto +0 -248
  269. data/bridge/sdk-core/protos/api_upstream/temporal/api/common/v1/message.proto +0 -123
  270. data/bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/batch_operation.proto +0 -47
  271. data/bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/command_type.proto +0 -52
  272. data/bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/common.proto +0 -56
  273. data/bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/event_type.proto +0 -170
  274. data/bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/failed_cause.proto +0 -123
  275. data/bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/namespace.proto +0 -51
  276. data/bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/query.proto +0 -50
  277. data/bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/reset.proto +0 -41
  278. data/bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/schedule.proto +0 -60
  279. data/bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/task_queue.proto +0 -59
  280. data/bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/update.proto +0 -56
  281. data/bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/workflow.proto +0 -122
  282. data/bridge/sdk-core/protos/api_upstream/temporal/api/errordetails/v1/message.proto +0 -108
  283. data/bridge/sdk-core/protos/api_upstream/temporal/api/failure/v1/message.proto +0 -114
  284. data/bridge/sdk-core/protos/api_upstream/temporal/api/filter/v1/message.proto +0 -56
  285. data/bridge/sdk-core/protos/api_upstream/temporal/api/history/v1/message.proto +0 -787
  286. data/bridge/sdk-core/protos/api_upstream/temporal/api/namespace/v1/message.proto +0 -99
  287. data/bridge/sdk-core/protos/api_upstream/temporal/api/operatorservice/v1/request_response.proto +0 -124
  288. data/bridge/sdk-core/protos/api_upstream/temporal/api/operatorservice/v1/service.proto +0 -80
  289. data/bridge/sdk-core/protos/api_upstream/temporal/api/protocol/v1/message.proto +0 -57
  290. data/bridge/sdk-core/protos/api_upstream/temporal/api/query/v1/message.proto +0 -61
  291. data/bridge/sdk-core/protos/api_upstream/temporal/api/replication/v1/message.proto +0 -55
  292. data/bridge/sdk-core/protos/api_upstream/temporal/api/schedule/v1/message.proto +0 -379
  293. data/bridge/sdk-core/protos/api_upstream/temporal/api/sdk/v1/task_complete_metadata.proto +0 -63
  294. data/bridge/sdk-core/protos/api_upstream/temporal/api/taskqueue/v1/message.proto +0 -108
  295. data/bridge/sdk-core/protos/api_upstream/temporal/api/update/v1/message.proto +0 -111
  296. data/bridge/sdk-core/protos/api_upstream/temporal/api/version/v1/message.proto +0 -59
  297. data/bridge/sdk-core/protos/api_upstream/temporal/api/workflow/v1/message.proto +0 -146
  298. data/bridge/sdk-core/protos/api_upstream/temporal/api/workflowservice/v1/request_response.proto +0 -1199
  299. data/bridge/sdk-core/protos/api_upstream/temporal/api/workflowservice/v1/service.proto +0 -415
  300. data/bridge/sdk-core/protos/grpc/health/v1/health.proto +0 -63
  301. data/bridge/sdk-core/protos/local/temporal/sdk/core/activity_result/activity_result.proto +0 -79
  302. data/bridge/sdk-core/protos/local/temporal/sdk/core/activity_task/activity_task.proto +0 -80
  303. data/bridge/sdk-core/protos/local/temporal/sdk/core/child_workflow/child_workflow.proto +0 -78
  304. data/bridge/sdk-core/protos/local/temporal/sdk/core/common/common.proto +0 -16
  305. data/bridge/sdk-core/protos/local/temporal/sdk/core/core_interface.proto +0 -31
  306. data/bridge/sdk-core/protos/local/temporal/sdk/core/external_data/external_data.proto +0 -31
  307. data/bridge/sdk-core/protos/local/temporal/sdk/core/workflow_activation/workflow_activation.proto +0 -270
  308. data/bridge/sdk-core/protos/local/temporal/sdk/core/workflow_commands/workflow_commands.proto +0 -305
  309. data/bridge/sdk-core/protos/local/temporal/sdk/core/workflow_completion/workflow_completion.proto +0 -35
  310. data/bridge/sdk-core/protos/testsrv_upstream/api-linter.yaml +0 -38
  311. data/bridge/sdk-core/protos/testsrv_upstream/buf.yaml +0 -13
  312. data/bridge/sdk-core/protos/testsrv_upstream/dependencies/gogoproto/gogo.proto +0 -141
  313. data/bridge/sdk-core/protos/testsrv_upstream/temporal/api/testservice/v1/request_response.proto +0 -63
  314. data/bridge/sdk-core/protos/testsrv_upstream/temporal/api/testservice/v1/service.proto +0 -90
  315. data/bridge/sdk-core/rustfmt.toml +0 -1
  316. data/bridge/sdk-core/sdk/Cargo.toml +0 -48
  317. data/bridge/sdk-core/sdk/LICENSE.txt +0 -23
  318. data/bridge/sdk-core/sdk/src/activity_context.rs +0 -230
  319. data/bridge/sdk-core/sdk/src/app_data.rs +0 -37
  320. data/bridge/sdk-core/sdk/src/interceptors.rs +0 -50
  321. data/bridge/sdk-core/sdk/src/lib.rs +0 -861
  322. data/bridge/sdk-core/sdk/src/payload_converter.rs +0 -11
  323. data/bridge/sdk-core/sdk/src/workflow_context/options.rs +0 -295
  324. data/bridge/sdk-core/sdk/src/workflow_context.rs +0 -694
  325. data/bridge/sdk-core/sdk/src/workflow_future.rs +0 -500
  326. data/bridge/sdk-core/sdk-core-protos/Cargo.toml +0 -33
  327. data/bridge/sdk-core/sdk-core-protos/LICENSE.txt +0 -23
  328. data/bridge/sdk-core/sdk-core-protos/build.rs +0 -142
  329. data/bridge/sdk-core/sdk-core-protos/src/constants.rs +0 -7
  330. data/bridge/sdk-core/sdk-core-protos/src/history_builder.rs +0 -557
  331. data/bridge/sdk-core/sdk-core-protos/src/history_info.rs +0 -234
  332. data/bridge/sdk-core/sdk-core-protos/src/lib.rs +0 -2088
  333. data/bridge/sdk-core/sdk-core-protos/src/task_token.rs +0 -48
  334. data/bridge/sdk-core/sdk-core-protos/src/utilities.rs +0 -14
  335. data/bridge/sdk-core/test-utils/Cargo.toml +0 -38
  336. data/bridge/sdk-core/test-utils/src/canned_histories.rs +0 -1389
  337. data/bridge/sdk-core/test-utils/src/histfetch.rs +0 -28
  338. data/bridge/sdk-core/test-utils/src/lib.rs +0 -709
  339. data/bridge/sdk-core/test-utils/src/wf_input_saver.rs +0 -50
  340. data/bridge/sdk-core/test-utils/src/workflows.rs +0 -29
  341. data/bridge/sdk-core/tests/fuzzy_workflow.rs +0 -130
  342. data/bridge/sdk-core/tests/heavy_tests.rs +0 -265
  343. data/bridge/sdk-core/tests/integ_tests/client_tests.rs +0 -36
  344. data/bridge/sdk-core/tests/integ_tests/ephemeral_server_tests.rs +0 -150
  345. data/bridge/sdk-core/tests/integ_tests/heartbeat_tests.rs +0 -223
  346. data/bridge/sdk-core/tests/integ_tests/metrics_tests.rs +0 -239
  347. data/bridge/sdk-core/tests/integ_tests/polling_tests.rs +0 -90
  348. data/bridge/sdk-core/tests/integ_tests/queries_tests.rs +0 -314
  349. data/bridge/sdk-core/tests/integ_tests/visibility_tests.rs +0 -151
  350. data/bridge/sdk-core/tests/integ_tests/workflow_tests/activities.rs +0 -902
  351. data/bridge/sdk-core/tests/integ_tests/workflow_tests/appdata_propagation.rs +0 -61
  352. data/bridge/sdk-core/tests/integ_tests/workflow_tests/cancel_external.rs +0 -60
  353. data/bridge/sdk-core/tests/integ_tests/workflow_tests/cancel_wf.rs +0 -51
  354. data/bridge/sdk-core/tests/integ_tests/workflow_tests/child_workflows.rs +0 -51
  355. data/bridge/sdk-core/tests/integ_tests/workflow_tests/continue_as_new.rs +0 -64
  356. data/bridge/sdk-core/tests/integ_tests/workflow_tests/determinism.rs +0 -47
  357. data/bridge/sdk-core/tests/integ_tests/workflow_tests/local_activities.rs +0 -669
  358. data/bridge/sdk-core/tests/integ_tests/workflow_tests/modify_wf_properties.rs +0 -54
  359. data/bridge/sdk-core/tests/integ_tests/workflow_tests/patches.rs +0 -92
  360. data/bridge/sdk-core/tests/integ_tests/workflow_tests/replay.rs +0 -228
  361. data/bridge/sdk-core/tests/integ_tests/workflow_tests/resets.rs +0 -94
  362. data/bridge/sdk-core/tests/integ_tests/workflow_tests/signals.rs +0 -171
  363. data/bridge/sdk-core/tests/integ_tests/workflow_tests/stickyness.rs +0 -85
  364. data/bridge/sdk-core/tests/integ_tests/workflow_tests/timers.rs +0 -120
  365. data/bridge/sdk-core/tests/integ_tests/workflow_tests/upsert_search_attrs.rs +0 -77
  366. data/bridge/sdk-core/tests/integ_tests/workflow_tests.rs +0 -596
  367. data/bridge/sdk-core/tests/main.rs +0 -103
  368. data/bridge/sdk-core/tests/runner.rs +0 -132
  369. data/bridge/sdk-core/tests/wf_input_replay.rs +0 -32
  370. data/bridge/src/connection.rs +0 -202
  371. data/bridge/src/lib.rs +0 -494
  372. data/bridge/src/runtime.rs +0 -54
  373. data/bridge/src/test_server.rs +0 -153
  374. data/bridge/src/worker.rs +0 -197
  375. data/ext/Rakefile +0 -9
  376. data/lib/gen/dependencies/gogoproto/gogo_pb.rb +0 -14
  377. data/lib/gen/temporal/api/batch/v1/message_pb.rb +0 -50
  378. data/lib/gen/temporal/api/command/v1/message_pb.rb +0 -160
  379. data/lib/gen/temporal/api/common/v1/message_pb.rb +0 -73
  380. data/lib/gen/temporal/api/enums/v1/batch_operation_pb.rb +0 -33
  381. data/lib/gen/temporal/api/enums/v1/command_type_pb.rb +0 -37
  382. data/lib/gen/temporal/api/enums/v1/common_pb.rb +0 -42
  383. data/lib/gen/temporal/api/enums/v1/event_type_pb.rb +0 -68
  384. data/lib/gen/temporal/api/enums/v1/failed_cause_pb.rb +0 -79
  385. data/lib/gen/temporal/api/enums/v1/namespace_pb.rb +0 -37
  386. data/lib/gen/temporal/api/enums/v1/query_pb.rb +0 -31
  387. data/lib/gen/temporal/api/enums/v1/reset_pb.rb +0 -24
  388. data/lib/gen/temporal/api/enums/v1/schedule_pb.rb +0 -28
  389. data/lib/gen/temporal/api/enums/v1/task_queue_pb.rb +0 -30
  390. data/lib/gen/temporal/api/enums/v1/update_pb.rb +0 -25
  391. data/lib/gen/temporal/api/enums/v1/workflow_pb.rb +0 -89
  392. data/lib/gen/temporal/api/errordetails/v1/message_pb.rb +0 -84
  393. data/lib/gen/temporal/api/failure/v1/message_pb.rb +0 -83
  394. data/lib/gen/temporal/api/filter/v1/message_pb.rb +0 -40
  395. data/lib/gen/temporal/api/history/v1/message_pb.rb +0 -498
  396. data/lib/gen/temporal/api/namespace/v1/message_pb.rb +0 -64
  397. data/lib/gen/temporal/api/operatorservice/v1/request_response_pb.rb +0 -88
  398. data/lib/gen/temporal/api/operatorservice/v1/service_pb.rb +0 -20
  399. data/lib/gen/temporal/api/protocol/v1/message_pb.rb +0 -30
  400. data/lib/gen/temporal/api/query/v1/message_pb.rb +0 -38
  401. data/lib/gen/temporal/api/replication/v1/message_pb.rb +0 -37
  402. data/lib/gen/temporal/api/schedule/v1/message_pb.rb +0 -149
  403. data/lib/gen/temporal/api/sdk/v1/task_complete_metadata_pb.rb +0 -23
  404. data/lib/gen/temporal/api/taskqueue/v1/message_pb.rb +0 -73
  405. data/lib/gen/temporal/api/testservice/v1/request_response_pb.rb +0 -49
  406. data/lib/gen/temporal/api/testservice/v1/service_pb.rb +0 -21
  407. data/lib/gen/temporal/api/update/v1/message_pb.rb +0 -72
  408. data/lib/gen/temporal/api/version/v1/message_pb.rb +0 -41
  409. data/lib/gen/temporal/api/workflow/v1/message_pb.rb +0 -111
  410. data/lib/gen/temporal/api/workflowservice/v1/request_response_pb.rb +0 -798
  411. data/lib/gen/temporal/api/workflowservice/v1/service_pb.rb +0 -20
  412. data/lib/gen/temporal/sdk/core/activity_result/activity_result_pb.rb +0 -62
  413. data/lib/gen/temporal/sdk/core/activity_task/activity_task_pb.rb +0 -61
  414. data/lib/gen/temporal/sdk/core/child_workflow/child_workflow_pb.rb +0 -61
  415. data/lib/gen/temporal/sdk/core/common/common_pb.rb +0 -26
  416. data/lib/gen/temporal/sdk/core/core_interface_pb.rb +0 -40
  417. data/lib/gen/temporal/sdk/core/external_data/external_data_pb.rb +0 -31
  418. data/lib/gen/temporal/sdk/core/workflow_activation/workflow_activation_pb.rb +0 -171
  419. data/lib/gen/temporal/sdk/core/workflow_commands/workflow_commands_pb.rb +0 -200
  420. data/lib/gen/temporal/sdk/core/workflow_completion/workflow_completion_pb.rb +0 -41
  421. data/lib/temporalio/bridge/connect_options.rb +0 -15
  422. data/lib/temporalio/bridge/error.rb +0 -8
  423. data/lib/temporalio/bridge/retry_config.rb +0 -24
  424. data/lib/temporalio/bridge/tls_options.rb +0 -19
  425. data/lib/temporalio/bridge.rb +0 -14
  426. data/lib/temporalio/client/implementation.rb +0 -340
  427. data/lib/temporalio/connection/retry_config.rb +0 -44
  428. data/lib/temporalio/connection/service.rb +0 -20
  429. data/lib/temporalio/connection/test_service.rb +0 -92
  430. data/lib/temporalio/connection/tls_options.rb +0 -51
  431. data/lib/temporalio/connection/workflow_service.rb +0 -731
  432. data/lib/temporalio/connection.rb +0 -86
  433. data/lib/temporalio/data_converter.rb +0 -191
  434. data/lib/temporalio/error/workflow_failure.rb +0 -19
  435. data/lib/temporalio/errors.rb +0 -40
  436. data/lib/temporalio/failure_converter/base.rb +0 -26
  437. data/lib/temporalio/failure_converter/basic.rb +0 -319
  438. data/lib/temporalio/failure_converter.rb +0 -7
  439. data/lib/temporalio/interceptor/activity_inbound.rb +0 -22
  440. data/lib/temporalio/interceptor/activity_outbound.rb +0 -24
  441. data/lib/temporalio/interceptor/chain.rb +0 -28
  442. data/lib/temporalio/interceptor/client.rb +0 -127
  443. data/lib/temporalio/interceptor.rb +0 -22
  444. data/lib/temporalio/payload_codec/base.rb +0 -32
  445. data/lib/temporalio/payload_converter/base.rb +0 -24
  446. data/lib/temporalio/payload_converter/bytes.rb +0 -27
  447. data/lib/temporalio/payload_converter/composite.rb +0 -49
  448. data/lib/temporalio/payload_converter/encoding_base.rb +0 -35
  449. data/lib/temporalio/payload_converter/json.rb +0 -26
  450. data/lib/temporalio/payload_converter/nil.rb +0 -26
  451. data/lib/temporalio/payload_converter.rb +0 -14
  452. data/lib/temporalio/retry_state.rb +0 -35
  453. data/lib/temporalio/testing/time_skipping_handle.rb +0 -32
  454. data/lib/temporalio/testing/time_skipping_interceptor.rb +0 -23
  455. data/lib/temporalio/timeout_type.rb +0 -29
  456. data/lib/temporalio/worker/activity_runner.rb +0 -114
  457. data/lib/temporalio/worker/activity_worker.rb +0 -164
  458. data/lib/temporalio/worker/reactor.rb +0 -46
  459. data/lib/temporalio/worker/runner.rb +0 -63
  460. data/lib/temporalio/worker/sync_worker.rb +0 -124
  461. data/lib/temporalio/worker/thread_pool_executor.rb +0 -51
  462. data/lib/temporalio/workflow/async.rb +0 -46
  463. data/lib/temporalio/workflow/execution_info.rb +0 -54
  464. data/lib/temporalio/workflow/execution_status.rb +0 -36
  465. data/lib/temporalio/workflow/future.rb +0 -138
  466. data/lib/temporalio/workflow/id_reuse_policy.rb +0 -36
  467. data/lib/temporalio/workflow/info.rb +0 -76
  468. data/lib/temporalio/workflow/query_reject_condition.rb +0 -33
  469. data/lib/thermite_patch.rb +0 -33
  470. data/sig/async.rbs +0 -17
  471. data/sig/protobuf.rbs +0 -16
  472. data/sig/protos/dependencies/gogoproto/gogo.rbs +0 -914
  473. data/sig/protos/google/protobuf/any.rbs +0 -157
  474. data/sig/protos/google/protobuf/descriptor.rbs +0 -2825
  475. data/sig/protos/google/protobuf/duration.rbs +0 -114
  476. data/sig/protos/google/protobuf/empty.rbs +0 -36
  477. data/sig/protos/google/protobuf/timestamp.rbs +0 -145
  478. data/sig/protos/google/protobuf/wrappers.rbs +0 -358
  479. data/sig/protos/temporal/api/batch/v1/message.rbs +0 -300
  480. data/sig/protos/temporal/api/command/v1/message.rbs +0 -1399
  481. data/sig/protos/temporal/api/common/v1/message.rbs +0 -528
  482. data/sig/protos/temporal/api/enums/v1/batch_operation.rbs +0 -79
  483. data/sig/protos/temporal/api/enums/v1/command_type.rbs +0 -68
  484. data/sig/protos/temporal/api/enums/v1/common.rbs +0 -118
  485. data/sig/protos/temporal/api/enums/v1/event_type.rbs +0 -264
  486. data/sig/protos/temporal/api/enums/v1/failed_cause.rbs +0 -277
  487. data/sig/protos/temporal/api/enums/v1/namespace.rbs +0 -108
  488. data/sig/protos/temporal/api/enums/v1/query.rbs +0 -81
  489. data/sig/protos/temporal/api/enums/v1/reset.rbs +0 -44
  490. data/sig/protos/temporal/api/enums/v1/schedule.rbs +0 -72
  491. data/sig/protos/temporal/api/enums/v1/task_queue.rbs +0 -92
  492. data/sig/protos/temporal/api/enums/v1/update.rbs +0 -64
  493. data/sig/protos/temporal/api/enums/v1/workflow.rbs +0 -371
  494. data/sig/protos/temporal/api/errordetails/v1/message.rbs +0 -551
  495. data/sig/protos/temporal/api/failure/v1/message.rbs +0 -581
  496. data/sig/protos/temporal/api/filter/v1/message.rbs +0 -171
  497. data/sig/protos/temporal/api/history/v1/message.rbs +0 -4609
  498. data/sig/protos/temporal/api/namespace/v1/message.rbs +0 -410
  499. data/sig/protos/temporal/api/operatorservice/v1/request_response.rbs +0 -643
  500. data/sig/protos/temporal/api/operatorservice/v1/service.rbs +0 -17
  501. data/sig/protos/temporal/api/protocol/v1/message.rbs +0 -84
  502. data/sig/protos/temporal/api/query/v1/message.rbs +0 -182
  503. data/sig/protos/temporal/api/replication/v1/message.rbs +0 -148
  504. data/sig/protos/temporal/api/schedule/v1/message.rbs +0 -1488
  505. data/sig/protos/temporal/api/sdk/v1/task_complete_metadata.rbs +0 -110
  506. data/sig/protos/temporal/api/taskqueue/v1/message.rbs +0 -486
  507. data/sig/protos/temporal/api/testservice/v1/request_response.rbs +0 -249
  508. data/sig/protos/temporal/api/testservice/v1/service.rbs +0 -15
  509. data/sig/protos/temporal/api/update/v1/message.rbs +0 -489
  510. data/sig/protos/temporal/api/version/v1/message.rbs +0 -184
  511. data/sig/protos/temporal/api/workflow/v1/message.rbs +0 -824
  512. data/sig/protos/temporal/api/workflowservice/v1/request_response.rbs +0 -7250
  513. data/sig/protos/temporal/api/workflowservice/v1/service.rbs +0 -22
  514. data/sig/protos/temporal/sdk/core/activity_result/activity_result.rbs +0 -380
  515. data/sig/protos/temporal/sdk/core/activity_task/activity_task.rbs +0 -386
  516. data/sig/protos/temporal/sdk/core/child_workflow/child_workflow.rbs +0 -323
  517. data/sig/protos/temporal/sdk/core/common/common.rbs +0 -62
  518. data/sig/protos/temporal/sdk/core/core_interface.rbs +0 -101
  519. data/sig/protos/temporal/sdk/core/external_data/external_data.rbs +0 -119
  520. data/sig/protos/temporal/sdk/core/workflow_activation/workflow_activation.rbs +0 -1473
  521. data/sig/protos/temporal/sdk/core/workflow_commands/workflow_commands.rbs +0 -1784
  522. data/sig/protos/temporal/sdk/core/workflow_completion/workflow_completion.rbs +0 -180
  523. data/sig/ruby.rbs +0 -12
  524. data/sig/temporalio/activity/context.rbs +0 -29
  525. data/sig/temporalio/activity/info.rbs +0 -43
  526. data/sig/temporalio/activity.rbs +0 -19
  527. data/sig/temporalio/bridge/connect_options.rbs +0 -19
  528. data/sig/temporalio/bridge/error.rbs +0 -8
  529. data/sig/temporalio/bridge/retry_config.rbs +0 -21
  530. data/sig/temporalio/bridge/tls_options.rbs +0 -17
  531. data/sig/temporalio/bridge.rbs +0 -71
  532. data/sig/temporalio/client/implementation.rbs +0 -38
  533. data/sig/temporalio/client/workflow_handle.rbs +0 -41
  534. data/sig/temporalio/client.rbs +0 -35
  535. data/sig/temporalio/connection/retry_config.rbs +0 -37
  536. data/sig/temporalio/connection/service.rbs +0 -14
  537. data/sig/temporalio/connection/test_service.rbs +0 -13
  538. data/sig/temporalio/connection/tls_options.rbs +0 -43
  539. data/sig/temporalio/connection/workflow_service.rbs +0 -48
  540. data/sig/temporalio/connection.rbs +0 -30
  541. data/sig/temporalio/data_converter.rbs +0 -35
  542. data/sig/temporalio/error/failure.rbs +0 -121
  543. data/sig/temporalio/error/workflow_failure.rbs +0 -9
  544. data/sig/temporalio/errors.rbs +0 -36
  545. data/sig/temporalio/failure_converter/base.rbs +0 -12
  546. data/sig/temporalio/failure_converter/basic.rbs +0 -86
  547. data/sig/temporalio/failure_converter.rbs +0 -5
  548. data/sig/temporalio/interceptor/activity_inbound.rbs +0 -21
  549. data/sig/temporalio/interceptor/activity_outbound.rbs +0 -10
  550. data/sig/temporalio/interceptor/chain.rbs +0 -24
  551. data/sig/temporalio/interceptor/client.rbs +0 -148
  552. data/sig/temporalio/interceptor.rbs +0 -6
  553. data/sig/temporalio/payload_codec/base.rbs +0 -12
  554. data/sig/temporalio/payload_converter/base.rbs +0 -12
  555. data/sig/temporalio/payload_converter/bytes.rbs +0 -9
  556. data/sig/temporalio/payload_converter/composite.rbs +0 -19
  557. data/sig/temporalio/payload_converter/encoding_base.rbs +0 -14
  558. data/sig/temporalio/payload_converter/json.rbs +0 -9
  559. data/sig/temporalio/payload_converter/nil.rbs +0 -9
  560. data/sig/temporalio/payload_converter.rbs +0 -5
  561. data/sig/temporalio/retry_policy.rbs +0 -25
  562. data/sig/temporalio/retry_state.rbs +0 -20
  563. data/sig/temporalio/runtime.rbs +0 -12
  564. data/sig/temporalio/testing/time_skipping_handle.rbs +0 -15
  565. data/sig/temporalio/testing/time_skipping_interceptor.rbs +0 -13
  566. data/sig/temporalio/testing/workflow_environment.rbs +0 -22
  567. data/sig/temporalio/testing.rbs +0 -35
  568. data/sig/temporalio/timeout_type.rbs +0 -15
  569. data/sig/temporalio/version.rbs +0 -3
  570. data/sig/temporalio/worker/activity_runner.rbs +0 -35
  571. data/sig/temporalio/worker/activity_worker.rbs +0 -44
  572. data/sig/temporalio/worker/reactor.rbs +0 -22
  573. data/sig/temporalio/worker/runner.rbs +0 -21
  574. data/sig/temporalio/worker/sync_worker.rbs +0 -23
  575. data/sig/temporalio/worker/thread_pool_executor.rbs +0 -23
  576. data/sig/temporalio/worker.rbs +0 -46
  577. data/sig/temporalio/workflow/async.rbs +0 -9
  578. data/sig/temporalio/workflow/execution_info.rbs +0 -55
  579. data/sig/temporalio/workflow/execution_status.rbs +0 -21
  580. data/sig/temporalio/workflow/future.rbs +0 -40
  581. data/sig/temporalio/workflow/id_reuse_policy.rbs +0 -15
  582. data/sig/temporalio/workflow/info.rbs +0 -55
  583. data/sig/temporalio/workflow/query_reject_condition.rbs +0 -14
  584. data/sig/temporalio.rbs +0 -2
  585. data/sig/thermite_patch.rbs +0 -15
@@ -1,1784 +0,0 @@
1
- module Temporalio
2
- module Bridge
3
- module Api
4
- module WorkflowCommands
5
- class ActivityCancellationType < ::Protobuf::Enum
6
- type names = :TRY_CANCEL | :WAIT_CANCELLATION_COMPLETED | :ABANDON
7
-
8
- type strings = "TRY_CANCEL" | "WAIT_CANCELLATION_COMPLETED" | "ABANDON"
9
-
10
- type tags = 0 | 1 | 2
11
-
12
- type values = names | strings | tags
13
-
14
- attr_reader name(): names
15
-
16
- attr_reader tag(): tags
17
-
18
- # / Initiate a cancellation request and immediately report cancellation to the workflow.
19
- #
20
- TRY_CANCEL: ActivityCancellationType
21
-
22
- # / Wait for activity cancellation completion. Note that activity must heartbeat to receive a
23
- # / cancellation notification. This can block the cancellation for a long time if activity
24
- # / doesn't heartbeat or chooses to ignore the cancellation request.
25
- #
26
- WAIT_CANCELLATION_COMPLETED: ActivityCancellationType
27
-
28
- # / Do not request cancellation of the activity and immediately report cancellation to the
29
- # / workflow
30
- #
31
- ABANDON: ActivityCancellationType
32
-
33
- # The type of `#initialize` parameter.
34
- type init = ActivityCancellationType | values
35
-
36
- # The type of `repeated` field.
37
- type field_array = ::Protobuf::Field::FieldArray[ActivityCancellationType, ActivityCancellationType | values]
38
-
39
- # The type of `map` field.
40
- type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, ActivityCancellationType, ActivityCancellationType | values]
41
-
42
- type array = ::Array[ActivityCancellationType | values]
43
-
44
- type hash[KEY] = ::Hash[KEY, ActivityCancellationType | values]
45
- end
46
-
47
- class WorkflowCommand < ::Protobuf::Message
48
- # Encode the message to a binary string
49
- #
50
- def self.encode: (WorkflowCommand) -> String
51
-
52
- attr_accessor start_timer(): ::Temporalio::Bridge::Api::WorkflowCommands::StartTimer?
53
-
54
- def start_timer=: [M < ::Temporalio::Bridge::Api::WorkflowCommands::StartTimer::_ToProto] (M?) -> M?
55
- | ...
56
-
57
- def start_timer!: () -> ::Temporalio::Bridge::Api::WorkflowCommands::StartTimer?
58
-
59
- attr_accessor schedule_activity(): ::Temporalio::Bridge::Api::WorkflowCommands::ScheduleActivity?
60
-
61
- def schedule_activity=: [M < ::Temporalio::Bridge::Api::WorkflowCommands::ScheduleActivity::_ToProto] (M?) -> M?
62
- | ...
63
-
64
- def schedule_activity!: () -> ::Temporalio::Bridge::Api::WorkflowCommands::ScheduleActivity?
65
-
66
- attr_accessor respond_to_query(): ::Temporalio::Bridge::Api::WorkflowCommands::QueryResult?
67
-
68
- def respond_to_query=: [M < ::Temporalio::Bridge::Api::WorkflowCommands::QueryResult::_ToProto] (M?) -> M?
69
- | ...
70
-
71
- def respond_to_query!: () -> ::Temporalio::Bridge::Api::WorkflowCommands::QueryResult?
72
-
73
- attr_accessor request_cancel_activity(): ::Temporalio::Bridge::Api::WorkflowCommands::RequestCancelActivity?
74
-
75
- def request_cancel_activity=: [M < ::Temporalio::Bridge::Api::WorkflowCommands::RequestCancelActivity::_ToProto] (M?) -> M?
76
- | ...
77
-
78
- def request_cancel_activity!: () -> ::Temporalio::Bridge::Api::WorkflowCommands::RequestCancelActivity?
79
-
80
- attr_accessor cancel_timer(): ::Temporalio::Bridge::Api::WorkflowCommands::CancelTimer?
81
-
82
- def cancel_timer=: [M < ::Temporalio::Bridge::Api::WorkflowCommands::CancelTimer::_ToProto] (M?) -> M?
83
- | ...
84
-
85
- def cancel_timer!: () -> ::Temporalio::Bridge::Api::WorkflowCommands::CancelTimer?
86
-
87
- attr_accessor complete_workflow_execution(): ::Temporalio::Bridge::Api::WorkflowCommands::CompleteWorkflowExecution?
88
-
89
- def complete_workflow_execution=: [M < ::Temporalio::Bridge::Api::WorkflowCommands::CompleteWorkflowExecution::_ToProto] (M?) -> M?
90
- | ...
91
-
92
- def complete_workflow_execution!: () -> ::Temporalio::Bridge::Api::WorkflowCommands::CompleteWorkflowExecution?
93
-
94
- attr_accessor fail_workflow_execution(): ::Temporalio::Bridge::Api::WorkflowCommands::FailWorkflowExecution?
95
-
96
- def fail_workflow_execution=: [M < ::Temporalio::Bridge::Api::WorkflowCommands::FailWorkflowExecution::_ToProto] (M?) -> M?
97
- | ...
98
-
99
- def fail_workflow_execution!: () -> ::Temporalio::Bridge::Api::WorkflowCommands::FailWorkflowExecution?
100
-
101
- attr_accessor continue_as_new_workflow_execution(): ::Temporalio::Bridge::Api::WorkflowCommands::ContinueAsNewWorkflowExecution?
102
-
103
- def continue_as_new_workflow_execution=: [M < ::Temporalio::Bridge::Api::WorkflowCommands::ContinueAsNewWorkflowExecution::_ToProto] (M?) -> M?
104
- | ...
105
-
106
- def continue_as_new_workflow_execution!: () -> ::Temporalio::Bridge::Api::WorkflowCommands::ContinueAsNewWorkflowExecution?
107
-
108
- attr_accessor cancel_workflow_execution(): ::Temporalio::Bridge::Api::WorkflowCommands::CancelWorkflowExecution?
109
-
110
- def cancel_workflow_execution=: [M < ::Temporalio::Bridge::Api::WorkflowCommands::CancelWorkflowExecution::_ToProto] (M?) -> M?
111
- | ...
112
-
113
- def cancel_workflow_execution!: () -> ::Temporalio::Bridge::Api::WorkflowCommands::CancelWorkflowExecution?
114
-
115
- attr_accessor set_patch_marker(): ::Temporalio::Bridge::Api::WorkflowCommands::SetPatchMarker?
116
-
117
- def set_patch_marker=: [M < ::Temporalio::Bridge::Api::WorkflowCommands::SetPatchMarker::_ToProto] (M?) -> M?
118
- | ...
119
-
120
- def set_patch_marker!: () -> ::Temporalio::Bridge::Api::WorkflowCommands::SetPatchMarker?
121
-
122
- attr_accessor start_child_workflow_execution(): ::Temporalio::Bridge::Api::WorkflowCommands::StartChildWorkflowExecution?
123
-
124
- def start_child_workflow_execution=: [M < ::Temporalio::Bridge::Api::WorkflowCommands::StartChildWorkflowExecution::_ToProto] (M?) -> M?
125
- | ...
126
-
127
- def start_child_workflow_execution!: () -> ::Temporalio::Bridge::Api::WorkflowCommands::StartChildWorkflowExecution?
128
-
129
- attr_accessor cancel_child_workflow_execution(): ::Temporalio::Bridge::Api::WorkflowCommands::CancelChildWorkflowExecution?
130
-
131
- def cancel_child_workflow_execution=: [M < ::Temporalio::Bridge::Api::WorkflowCommands::CancelChildWorkflowExecution::_ToProto] (M?) -> M?
132
- | ...
133
-
134
- def cancel_child_workflow_execution!: () -> ::Temporalio::Bridge::Api::WorkflowCommands::CancelChildWorkflowExecution?
135
-
136
- attr_accessor request_cancel_external_workflow_execution(): ::Temporalio::Bridge::Api::WorkflowCommands::RequestCancelExternalWorkflowExecution?
137
-
138
- def request_cancel_external_workflow_execution=: [M < ::Temporalio::Bridge::Api::WorkflowCommands::RequestCancelExternalWorkflowExecution::_ToProto] (M?) -> M?
139
- | ...
140
-
141
- def request_cancel_external_workflow_execution!: () -> ::Temporalio::Bridge::Api::WorkflowCommands::RequestCancelExternalWorkflowExecution?
142
-
143
- attr_accessor signal_external_workflow_execution(): ::Temporalio::Bridge::Api::WorkflowCommands::SignalExternalWorkflowExecution?
144
-
145
- def signal_external_workflow_execution=: [M < ::Temporalio::Bridge::Api::WorkflowCommands::SignalExternalWorkflowExecution::_ToProto] (M?) -> M?
146
- | ...
147
-
148
- def signal_external_workflow_execution!: () -> ::Temporalio::Bridge::Api::WorkflowCommands::SignalExternalWorkflowExecution?
149
-
150
- attr_accessor cancel_signal_workflow(): ::Temporalio::Bridge::Api::WorkflowCommands::CancelSignalWorkflow?
151
-
152
- def cancel_signal_workflow=: [M < ::Temporalio::Bridge::Api::WorkflowCommands::CancelSignalWorkflow::_ToProto] (M?) -> M?
153
- | ...
154
-
155
- def cancel_signal_workflow!: () -> ::Temporalio::Bridge::Api::WorkflowCommands::CancelSignalWorkflow?
156
-
157
- attr_accessor schedule_local_activity(): ::Temporalio::Bridge::Api::WorkflowCommands::ScheduleLocalActivity?
158
-
159
- def schedule_local_activity=: [M < ::Temporalio::Bridge::Api::WorkflowCommands::ScheduleLocalActivity::_ToProto] (M?) -> M?
160
- | ...
161
-
162
- def schedule_local_activity!: () -> ::Temporalio::Bridge::Api::WorkflowCommands::ScheduleLocalActivity?
163
-
164
- attr_accessor request_cancel_local_activity(): ::Temporalio::Bridge::Api::WorkflowCommands::RequestCancelLocalActivity?
165
-
166
- def request_cancel_local_activity=: [M < ::Temporalio::Bridge::Api::WorkflowCommands::RequestCancelLocalActivity::_ToProto] (M?) -> M?
167
- | ...
168
-
169
- def request_cancel_local_activity!: () -> ::Temporalio::Bridge::Api::WorkflowCommands::RequestCancelLocalActivity?
170
-
171
- attr_accessor upsert_workflow_search_attributes(): ::Temporalio::Bridge::Api::WorkflowCommands::UpsertWorkflowSearchAttributes?
172
-
173
- def upsert_workflow_search_attributes=: [M < ::Temporalio::Bridge::Api::WorkflowCommands::UpsertWorkflowSearchAttributes::_ToProto] (M?) -> M?
174
- | ...
175
-
176
- def upsert_workflow_search_attributes!: () -> ::Temporalio::Bridge::Api::WorkflowCommands::UpsertWorkflowSearchAttributes?
177
-
178
- attr_accessor modify_workflow_properties(): ::Temporalio::Bridge::Api::WorkflowCommands::ModifyWorkflowProperties?
179
-
180
- def modify_workflow_properties=: [M < ::Temporalio::Bridge::Api::WorkflowCommands::ModifyWorkflowProperties::_ToProto] (M?) -> M?
181
- | ...
182
-
183
- def modify_workflow_properties!: () -> ::Temporalio::Bridge::Api::WorkflowCommands::ModifyWorkflowProperties?
184
-
185
- def initialize: (?start_timer: ::Temporalio::Bridge::Api::WorkflowCommands::StartTimer::init?, ?schedule_activity: ::Temporalio::Bridge::Api::WorkflowCommands::ScheduleActivity::init?, ?respond_to_query: ::Temporalio::Bridge::Api::WorkflowCommands::QueryResult::init?, ?request_cancel_activity: ::Temporalio::Bridge::Api::WorkflowCommands::RequestCancelActivity::init?, ?cancel_timer: ::Temporalio::Bridge::Api::WorkflowCommands::CancelTimer::init?, ?complete_workflow_execution: ::Temporalio::Bridge::Api::WorkflowCommands::CompleteWorkflowExecution::init?, ?fail_workflow_execution: ::Temporalio::Bridge::Api::WorkflowCommands::FailWorkflowExecution::init?, ?continue_as_new_workflow_execution: ::Temporalio::Bridge::Api::WorkflowCommands::ContinueAsNewWorkflowExecution::init?, ?cancel_workflow_execution: ::Temporalio::Bridge::Api::WorkflowCommands::CancelWorkflowExecution::init?, ?set_patch_marker: ::Temporalio::Bridge::Api::WorkflowCommands::SetPatchMarker::init?, ?start_child_workflow_execution: ::Temporalio::Bridge::Api::WorkflowCommands::StartChildWorkflowExecution::init?, ?cancel_child_workflow_execution: ::Temporalio::Bridge::Api::WorkflowCommands::CancelChildWorkflowExecution::init?, ?request_cancel_external_workflow_execution: ::Temporalio::Bridge::Api::WorkflowCommands::RequestCancelExternalWorkflowExecution::init?, ?signal_external_workflow_execution: ::Temporalio::Bridge::Api::WorkflowCommands::SignalExternalWorkflowExecution::init?, ?cancel_signal_workflow: ::Temporalio::Bridge::Api::WorkflowCommands::CancelSignalWorkflow::init?, ?schedule_local_activity: ::Temporalio::Bridge::Api::WorkflowCommands::ScheduleLocalActivity::init?, ?request_cancel_local_activity: ::Temporalio::Bridge::Api::WorkflowCommands::RequestCancelLocalActivity::init?, ?upsert_workflow_search_attributes: ::Temporalio::Bridge::Api::WorkflowCommands::UpsertWorkflowSearchAttributes::init?, ?modify_workflow_properties: ::Temporalio::Bridge::Api::WorkflowCommands::ModifyWorkflowProperties::init?) -> void
186
-
187
- def []: (:start_timer) -> ::Temporalio::Bridge::Api::WorkflowCommands::StartTimer?
188
- | (:schedule_activity) -> ::Temporalio::Bridge::Api::WorkflowCommands::ScheduleActivity?
189
- | (:respond_to_query) -> ::Temporalio::Bridge::Api::WorkflowCommands::QueryResult?
190
- | (:request_cancel_activity) -> ::Temporalio::Bridge::Api::WorkflowCommands::RequestCancelActivity?
191
- | (:cancel_timer) -> ::Temporalio::Bridge::Api::WorkflowCommands::CancelTimer?
192
- | (:complete_workflow_execution) -> ::Temporalio::Bridge::Api::WorkflowCommands::CompleteWorkflowExecution?
193
- | (:fail_workflow_execution) -> ::Temporalio::Bridge::Api::WorkflowCommands::FailWorkflowExecution?
194
- | (:continue_as_new_workflow_execution) -> ::Temporalio::Bridge::Api::WorkflowCommands::ContinueAsNewWorkflowExecution?
195
- | (:cancel_workflow_execution) -> ::Temporalio::Bridge::Api::WorkflowCommands::CancelWorkflowExecution?
196
- | (:set_patch_marker) -> ::Temporalio::Bridge::Api::WorkflowCommands::SetPatchMarker?
197
- | (:start_child_workflow_execution) -> ::Temporalio::Bridge::Api::WorkflowCommands::StartChildWorkflowExecution?
198
- | (:cancel_child_workflow_execution) -> ::Temporalio::Bridge::Api::WorkflowCommands::CancelChildWorkflowExecution?
199
- | (:request_cancel_external_workflow_execution) -> ::Temporalio::Bridge::Api::WorkflowCommands::RequestCancelExternalWorkflowExecution?
200
- | (:signal_external_workflow_execution) -> ::Temporalio::Bridge::Api::WorkflowCommands::SignalExternalWorkflowExecution?
201
- | (:cancel_signal_workflow) -> ::Temporalio::Bridge::Api::WorkflowCommands::CancelSignalWorkflow?
202
- | (:schedule_local_activity) -> ::Temporalio::Bridge::Api::WorkflowCommands::ScheduleLocalActivity?
203
- | (:request_cancel_local_activity) -> ::Temporalio::Bridge::Api::WorkflowCommands::RequestCancelLocalActivity?
204
- | (:upsert_workflow_search_attributes) -> ::Temporalio::Bridge::Api::WorkflowCommands::UpsertWorkflowSearchAttributes?
205
- | (:modify_workflow_properties) -> ::Temporalio::Bridge::Api::WorkflowCommands::ModifyWorkflowProperties?
206
- | (::Symbol) -> untyped
207
-
208
- def []=: (:start_timer, ::Temporalio::Bridge::Api::WorkflowCommands::StartTimer?) -> ::Temporalio::Bridge::Api::WorkflowCommands::StartTimer?
209
- | [M < ::Temporalio::Bridge::Api::WorkflowCommands::StartTimer::_ToProto] (:start_timer, M?) -> M?
210
- | (:schedule_activity, ::Temporalio::Bridge::Api::WorkflowCommands::ScheduleActivity?) -> ::Temporalio::Bridge::Api::WorkflowCommands::ScheduleActivity?
211
- | [M < ::Temporalio::Bridge::Api::WorkflowCommands::ScheduleActivity::_ToProto] (:schedule_activity, M?) -> M?
212
- | (:respond_to_query, ::Temporalio::Bridge::Api::WorkflowCommands::QueryResult?) -> ::Temporalio::Bridge::Api::WorkflowCommands::QueryResult?
213
- | [M < ::Temporalio::Bridge::Api::WorkflowCommands::QueryResult::_ToProto] (:respond_to_query, M?) -> M?
214
- | (:request_cancel_activity, ::Temporalio::Bridge::Api::WorkflowCommands::RequestCancelActivity?) -> ::Temporalio::Bridge::Api::WorkflowCommands::RequestCancelActivity?
215
- | [M < ::Temporalio::Bridge::Api::WorkflowCommands::RequestCancelActivity::_ToProto] (:request_cancel_activity, M?) -> M?
216
- | (:cancel_timer, ::Temporalio::Bridge::Api::WorkflowCommands::CancelTimer?) -> ::Temporalio::Bridge::Api::WorkflowCommands::CancelTimer?
217
- | [M < ::Temporalio::Bridge::Api::WorkflowCommands::CancelTimer::_ToProto] (:cancel_timer, M?) -> M?
218
- | (:complete_workflow_execution, ::Temporalio::Bridge::Api::WorkflowCommands::CompleteWorkflowExecution?) -> ::Temporalio::Bridge::Api::WorkflowCommands::CompleteWorkflowExecution?
219
- | [M < ::Temporalio::Bridge::Api::WorkflowCommands::CompleteWorkflowExecution::_ToProto] (:complete_workflow_execution, M?) -> M?
220
- | (:fail_workflow_execution, ::Temporalio::Bridge::Api::WorkflowCommands::FailWorkflowExecution?) -> ::Temporalio::Bridge::Api::WorkflowCommands::FailWorkflowExecution?
221
- | [M < ::Temporalio::Bridge::Api::WorkflowCommands::FailWorkflowExecution::_ToProto] (:fail_workflow_execution, M?) -> M?
222
- | (:continue_as_new_workflow_execution, ::Temporalio::Bridge::Api::WorkflowCommands::ContinueAsNewWorkflowExecution?) -> ::Temporalio::Bridge::Api::WorkflowCommands::ContinueAsNewWorkflowExecution?
223
- | [M < ::Temporalio::Bridge::Api::WorkflowCommands::ContinueAsNewWorkflowExecution::_ToProto] (:continue_as_new_workflow_execution, M?) -> M?
224
- | (:cancel_workflow_execution, ::Temporalio::Bridge::Api::WorkflowCommands::CancelWorkflowExecution?) -> ::Temporalio::Bridge::Api::WorkflowCommands::CancelWorkflowExecution?
225
- | [M < ::Temporalio::Bridge::Api::WorkflowCommands::CancelWorkflowExecution::_ToProto] (:cancel_workflow_execution, M?) -> M?
226
- | (:set_patch_marker, ::Temporalio::Bridge::Api::WorkflowCommands::SetPatchMarker?) -> ::Temporalio::Bridge::Api::WorkflowCommands::SetPatchMarker?
227
- | [M < ::Temporalio::Bridge::Api::WorkflowCommands::SetPatchMarker::_ToProto] (:set_patch_marker, M?) -> M?
228
- | (:start_child_workflow_execution, ::Temporalio::Bridge::Api::WorkflowCommands::StartChildWorkflowExecution?) -> ::Temporalio::Bridge::Api::WorkflowCommands::StartChildWorkflowExecution?
229
- | [M < ::Temporalio::Bridge::Api::WorkflowCommands::StartChildWorkflowExecution::_ToProto] (:start_child_workflow_execution, M?) -> M?
230
- | (:cancel_child_workflow_execution, ::Temporalio::Bridge::Api::WorkflowCommands::CancelChildWorkflowExecution?) -> ::Temporalio::Bridge::Api::WorkflowCommands::CancelChildWorkflowExecution?
231
- | [M < ::Temporalio::Bridge::Api::WorkflowCommands::CancelChildWorkflowExecution::_ToProto] (:cancel_child_workflow_execution, M?) -> M?
232
- | (:request_cancel_external_workflow_execution, ::Temporalio::Bridge::Api::WorkflowCommands::RequestCancelExternalWorkflowExecution?) -> ::Temporalio::Bridge::Api::WorkflowCommands::RequestCancelExternalWorkflowExecution?
233
- | [M < ::Temporalio::Bridge::Api::WorkflowCommands::RequestCancelExternalWorkflowExecution::_ToProto] (:request_cancel_external_workflow_execution, M?) -> M?
234
- | (:signal_external_workflow_execution, ::Temporalio::Bridge::Api::WorkflowCommands::SignalExternalWorkflowExecution?) -> ::Temporalio::Bridge::Api::WorkflowCommands::SignalExternalWorkflowExecution?
235
- | [M < ::Temporalio::Bridge::Api::WorkflowCommands::SignalExternalWorkflowExecution::_ToProto] (:signal_external_workflow_execution, M?) -> M?
236
- | (:cancel_signal_workflow, ::Temporalio::Bridge::Api::WorkflowCommands::CancelSignalWorkflow?) -> ::Temporalio::Bridge::Api::WorkflowCommands::CancelSignalWorkflow?
237
- | [M < ::Temporalio::Bridge::Api::WorkflowCommands::CancelSignalWorkflow::_ToProto] (:cancel_signal_workflow, M?) -> M?
238
- | (:schedule_local_activity, ::Temporalio::Bridge::Api::WorkflowCommands::ScheduleLocalActivity?) -> ::Temporalio::Bridge::Api::WorkflowCommands::ScheduleLocalActivity?
239
- | [M < ::Temporalio::Bridge::Api::WorkflowCommands::ScheduleLocalActivity::_ToProto] (:schedule_local_activity, M?) -> M?
240
- | (:request_cancel_local_activity, ::Temporalio::Bridge::Api::WorkflowCommands::RequestCancelLocalActivity?) -> ::Temporalio::Bridge::Api::WorkflowCommands::RequestCancelLocalActivity?
241
- | [M < ::Temporalio::Bridge::Api::WorkflowCommands::RequestCancelLocalActivity::_ToProto] (:request_cancel_local_activity, M?) -> M?
242
- | (:upsert_workflow_search_attributes, ::Temporalio::Bridge::Api::WorkflowCommands::UpsertWorkflowSearchAttributes?) -> ::Temporalio::Bridge::Api::WorkflowCommands::UpsertWorkflowSearchAttributes?
243
- | [M < ::Temporalio::Bridge::Api::WorkflowCommands::UpsertWorkflowSearchAttributes::_ToProto] (:upsert_workflow_search_attributes, M?) -> M?
244
- | (:modify_workflow_properties, ::Temporalio::Bridge::Api::WorkflowCommands::ModifyWorkflowProperties?) -> ::Temporalio::Bridge::Api::WorkflowCommands::ModifyWorkflowProperties?
245
- | [M < ::Temporalio::Bridge::Api::WorkflowCommands::ModifyWorkflowProperties::_ToProto] (:modify_workflow_properties, M?) -> M?
246
- | (::Symbol, untyped) -> untyped
247
-
248
- interface _ToProto
249
- def to_proto: () -> WorkflowCommand
250
- end
251
-
252
- # The type of `#initialize` parameter.
253
- type init = WorkflowCommand | _ToProto
254
-
255
- # The type of `repeated` field.
256
- type field_array = ::Protobuf::Field::FieldArray[WorkflowCommand, WorkflowCommand | _ToProto]
257
-
258
- # The type of `map` field.
259
- type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, WorkflowCommand, WorkflowCommand | _ToProto]
260
-
261
- type array = ::Array[WorkflowCommand | _ToProto]
262
-
263
- type hash[KEY] = ::Hash[KEY, WorkflowCommand | _ToProto]
264
- end
265
-
266
- class StartTimer < ::Protobuf::Message
267
- # Encode the message to a binary string
268
- #
269
- def self.encode: (StartTimer) -> String
270
-
271
- # / Lang's incremental sequence number, used as the operation identifier
272
- #
273
- attr_accessor seq(): ::Integer
274
-
275
- def seq!: () -> ::Integer?
276
-
277
- attr_accessor start_to_fire_timeout(): ::Google::Protobuf::Duration?
278
-
279
- def start_to_fire_timeout=: [M < ::Google::Protobuf::Duration::_ToProto] (M?) -> M?
280
- | ...
281
-
282
- def start_to_fire_timeout!: () -> ::Google::Protobuf::Duration?
283
-
284
- def initialize: (?seq: ::Integer, ?start_to_fire_timeout: ::Google::Protobuf::Duration::init?) -> void
285
-
286
- def []: (:seq) -> ::Integer
287
- | (:start_to_fire_timeout) -> ::Google::Protobuf::Duration?
288
- | (::Symbol) -> untyped
289
-
290
- def []=: (:seq, ::Integer) -> ::Integer
291
- | (:start_to_fire_timeout, ::Google::Protobuf::Duration?) -> ::Google::Protobuf::Duration?
292
- | [M < ::Google::Protobuf::Duration::_ToProto] (:start_to_fire_timeout, M?) -> M?
293
- | (::Symbol, untyped) -> untyped
294
-
295
- interface _ToProto
296
- def to_proto: () -> StartTimer
297
- end
298
-
299
- # The type of `#initialize` parameter.
300
- type init = StartTimer | _ToProto
301
-
302
- # The type of `repeated` field.
303
- type field_array = ::Protobuf::Field::FieldArray[StartTimer, StartTimer | _ToProto]
304
-
305
- # The type of `map` field.
306
- type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, StartTimer, StartTimer | _ToProto]
307
-
308
- type array = ::Array[StartTimer | _ToProto]
309
-
310
- type hash[KEY] = ::Hash[KEY, StartTimer | _ToProto]
311
- end
312
-
313
- class CancelTimer < ::Protobuf::Message
314
- # Encode the message to a binary string
315
- #
316
- def self.encode: (CancelTimer) -> String
317
-
318
- # / Lang's incremental sequence number as passed to `StartTimer`
319
- #
320
- attr_accessor seq(): ::Integer
321
-
322
- def seq!: () -> ::Integer?
323
-
324
- def initialize: (?seq: ::Integer) -> void
325
-
326
- def []: (:seq) -> ::Integer
327
- | (::Symbol) -> untyped
328
-
329
- def []=: (:seq, ::Integer) -> ::Integer
330
- | (::Symbol, untyped) -> untyped
331
-
332
- interface _ToProto
333
- def to_proto: () -> CancelTimer
334
- end
335
-
336
- # The type of `#initialize` parameter.
337
- type init = CancelTimer | _ToProto
338
-
339
- # The type of `repeated` field.
340
- type field_array = ::Protobuf::Field::FieldArray[CancelTimer, CancelTimer | _ToProto]
341
-
342
- # The type of `map` field.
343
- type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, CancelTimer, CancelTimer | _ToProto]
344
-
345
- type array = ::Array[CancelTimer | _ToProto]
346
-
347
- type hash[KEY] = ::Hash[KEY, CancelTimer | _ToProto]
348
- end
349
-
350
- class ScheduleActivity < ::Protobuf::Message
351
- # Encode the message to a binary string
352
- #
353
- def self.encode: (ScheduleActivity) -> String
354
-
355
- # / Lang's incremental sequence number, used as the operation identifier
356
- #
357
- attr_accessor seq(): ::Integer
358
-
359
- def seq!: () -> ::Integer?
360
-
361
- attr_accessor activity_id(): ::String
362
-
363
- def activity_id!: () -> ::String?
364
-
365
- attr_accessor activity_type(): ::String
366
-
367
- def activity_type!: () -> ::String?
368
-
369
- # The name of the task queue to place this activity request in
370
- #
371
- attr_accessor task_queue(): ::String
372
-
373
- def task_queue!: () -> ::String?
374
-
375
- attr_accessor headers(): ::Temporalio::Api::Common::V1::Payload::field_hash[::String]
376
-
377
- def headers=: (::Temporalio::Api::Common::V1::Payload::hash[::String]) -> ::Temporalio::Api::Common::V1::Payload::hash[::String]
378
- | ...
379
-
380
- def headers!: () -> ::Temporalio::Api::Common::V1::Payload::field_hash[::String]?
381
-
382
- # / Arguments/input to the activity. Called "input" upstream.
383
- #
384
- attr_accessor arguments(): ::Temporalio::Api::Common::V1::Payload::field_array
385
-
386
- # / Arguments/input to the activity. Called "input" upstream.
387
- #
388
- def arguments=: (::Temporalio::Api::Common::V1::Payload::array) -> ::Temporalio::Api::Common::V1::Payload::array
389
- | ...
390
-
391
- def arguments!: () -> ::Temporalio::Api::Common::V1::Payload::field_array?
392
-
393
- # / Indicates how long the caller is willing to wait for an activity completion. Limits how long
394
- # / retries will be attempted. Either this or start_to_close_timeout_seconds must be specified.
395
- # / When not specified defaults to the workflow execution timeout.
396
- #
397
- attr_accessor schedule_to_close_timeout(): ::Google::Protobuf::Duration?
398
-
399
- # / Indicates how long the caller is willing to wait for an activity completion. Limits how long
400
- # / retries will be attempted. Either this or start_to_close_timeout_seconds must be specified.
401
- # / When not specified defaults to the workflow execution timeout.
402
- #
403
- def schedule_to_close_timeout=: [M < ::Google::Protobuf::Duration::_ToProto] (M?) -> M?
404
- | ...
405
-
406
- def schedule_to_close_timeout!: () -> ::Google::Protobuf::Duration?
407
-
408
- # / Limits time an activity task can stay in a task queue before a worker picks it up. This
409
- # / timeout is always non retryable as all a retry would achieve is to put it back into the same
410
- # / queue. Defaults to schedule_to_close_timeout or workflow execution timeout if not specified.
411
- #
412
- attr_accessor schedule_to_start_timeout(): ::Google::Protobuf::Duration?
413
-
414
- # / Limits time an activity task can stay in a task queue before a worker picks it up. This
415
- # / timeout is always non retryable as all a retry would achieve is to put it back into the same
416
- # / queue. Defaults to schedule_to_close_timeout or workflow execution timeout if not specified.
417
- #
418
- def schedule_to_start_timeout=: [M < ::Google::Protobuf::Duration::_ToProto] (M?) -> M?
419
- | ...
420
-
421
- def schedule_to_start_timeout!: () -> ::Google::Protobuf::Duration?
422
-
423
- # / Maximum time an activity is allowed to execute after a pick up by a worker. This timeout is
424
- # / always retryable. Either this or schedule_to_close_timeout must be specified.
425
- #
426
- attr_accessor start_to_close_timeout(): ::Google::Protobuf::Duration?
427
-
428
- # / Maximum time an activity is allowed to execute after a pick up by a worker. This timeout is
429
- # / always retryable. Either this or schedule_to_close_timeout must be specified.
430
- #
431
- def start_to_close_timeout=: [M < ::Google::Protobuf::Duration::_ToProto] (M?) -> M?
432
- | ...
433
-
434
- def start_to_close_timeout!: () -> ::Google::Protobuf::Duration?
435
-
436
- # / Maximum time allowed between successful worker heartbeats.
437
- #
438
- attr_accessor heartbeat_timeout(): ::Google::Protobuf::Duration?
439
-
440
- # / Maximum time allowed between successful worker heartbeats.
441
- #
442
- def heartbeat_timeout=: [M < ::Google::Protobuf::Duration::_ToProto] (M?) -> M?
443
- | ...
444
-
445
- def heartbeat_timeout!: () -> ::Google::Protobuf::Duration?
446
-
447
- # / Activities are provided by a default retry policy controlled through the service dynamic
448
- # / configuration. Retries are happening up to schedule_to_close_timeout. To disable retries set
449
- # / retry_policy.maximum_attempts to 1.
450
- #
451
- attr_accessor retry_policy(): ::Temporalio::Api::Common::V1::RetryPolicy?
452
-
453
- # / Activities are provided by a default retry policy controlled through the service dynamic
454
- # / configuration. Retries are happening up to schedule_to_close_timeout. To disable retries set
455
- # / retry_policy.maximum_attempts to 1.
456
- #
457
- def retry_policy=: [M < ::Temporalio::Api::Common::V1::RetryPolicy::_ToProto] (M?) -> M?
458
- | ...
459
-
460
- def retry_policy!: () -> ::Temporalio::Api::Common::V1::RetryPolicy?
461
-
462
- # / Defines how the workflow will wait (or not) for cancellation of the activity to be confirmed
463
- #
464
- attr_accessor cancellation_type(): ::Temporalio::Bridge::Api::WorkflowCommands::ActivityCancellationType
465
-
466
- # / Defines how the workflow will wait (or not) for cancellation of the activity to be confirmed
467
- #
468
- def cancellation_type=: (::Temporalio::Bridge::Api::WorkflowCommands::ActivityCancellationType::values) -> ::Temporalio::Bridge::Api::WorkflowCommands::ActivityCancellationType::values
469
- | ...
470
-
471
- def cancellation_type!: () -> ::Temporalio::Bridge::Api::WorkflowCommands::ActivityCancellationType?
472
-
473
- # / If set, the worker will not tell the service that it can immediately start executing this
474
- # / activity. When unset/default, workers will always attempt to do so if activity execution
475
- # / slots are available.
476
- #
477
- attr_accessor do_not_eagerly_execute(): bool
478
-
479
- def do_not_eagerly_execute!: () -> bool?
480
-
481
- def initialize: (?seq: ::Integer, ?activity_id: ::String, ?activity_type: ::String, ?task_queue: ::String, ?headers: ::Temporalio::Api::Common::V1::Payload::hash[::String], ?arguments: ::Temporalio::Api::Common::V1::Payload::array, ?schedule_to_close_timeout: ::Google::Protobuf::Duration::init?, ?schedule_to_start_timeout: ::Google::Protobuf::Duration::init?, ?start_to_close_timeout: ::Google::Protobuf::Duration::init?, ?heartbeat_timeout: ::Google::Protobuf::Duration::init?, ?retry_policy: ::Temporalio::Api::Common::V1::RetryPolicy::init?, ?cancellation_type: ::Temporalio::Bridge::Api::WorkflowCommands::ActivityCancellationType::init, ?do_not_eagerly_execute: bool) -> void
482
-
483
- def []: (:seq) -> ::Integer
484
- | (:activity_id) -> ::String
485
- | (:activity_type) -> ::String
486
- | (:task_queue) -> ::String
487
- | (:headers) -> ::Temporalio::Api::Common::V1::Payload::field_hash[::String]
488
- | (:arguments) -> ::Temporalio::Api::Common::V1::Payload::field_array
489
- | (:schedule_to_close_timeout) -> ::Google::Protobuf::Duration?
490
- | (:schedule_to_start_timeout) -> ::Google::Protobuf::Duration?
491
- | (:start_to_close_timeout) -> ::Google::Protobuf::Duration?
492
- | (:heartbeat_timeout) -> ::Google::Protobuf::Duration?
493
- | (:retry_policy) -> ::Temporalio::Api::Common::V1::RetryPolicy?
494
- | (:cancellation_type) -> ::Temporalio::Bridge::Api::WorkflowCommands::ActivityCancellationType
495
- | (:do_not_eagerly_execute) -> bool
496
- | (::Symbol) -> untyped
497
-
498
- def []=: (:seq, ::Integer) -> ::Integer
499
- | (:activity_id, ::String) -> ::String
500
- | (:activity_type, ::String) -> ::String
501
- | (:task_queue, ::String) -> ::String
502
- | (:headers, ::Temporalio::Api::Common::V1::Payload::field_hash[::String]) -> ::Temporalio::Api::Common::V1::Payload::field_hash[::String]
503
- | (:headers, ::Temporalio::Api::Common::V1::Payload::hash[::String]) -> ::Temporalio::Api::Common::V1::Payload::hash[::String]
504
- | (:arguments, ::Temporalio::Api::Common::V1::Payload::field_array) -> ::Temporalio::Api::Common::V1::Payload::field_array
505
- | (:arguments, ::Temporalio::Api::Common::V1::Payload::array) -> ::Temporalio::Api::Common::V1::Payload::array
506
- | (:schedule_to_close_timeout, ::Google::Protobuf::Duration?) -> ::Google::Protobuf::Duration?
507
- | [M < ::Google::Protobuf::Duration::_ToProto] (:schedule_to_close_timeout, M?) -> M?
508
- | (:schedule_to_start_timeout, ::Google::Protobuf::Duration?) -> ::Google::Protobuf::Duration?
509
- | [M < ::Google::Protobuf::Duration::_ToProto] (:schedule_to_start_timeout, M?) -> M?
510
- | (:start_to_close_timeout, ::Google::Protobuf::Duration?) -> ::Google::Protobuf::Duration?
511
- | [M < ::Google::Protobuf::Duration::_ToProto] (:start_to_close_timeout, M?) -> M?
512
- | (:heartbeat_timeout, ::Google::Protobuf::Duration?) -> ::Google::Protobuf::Duration?
513
- | [M < ::Google::Protobuf::Duration::_ToProto] (:heartbeat_timeout, M?) -> M?
514
- | (:retry_policy, ::Temporalio::Api::Common::V1::RetryPolicy?) -> ::Temporalio::Api::Common::V1::RetryPolicy?
515
- | [M < ::Temporalio::Api::Common::V1::RetryPolicy::_ToProto] (:retry_policy, M?) -> M?
516
- | (:cancellation_type, ::Temporalio::Bridge::Api::WorkflowCommands::ActivityCancellationType) -> ::Temporalio::Bridge::Api::WorkflowCommands::ActivityCancellationType
517
- | (:cancellation_type, ::Temporalio::Bridge::Api::WorkflowCommands::ActivityCancellationType::values) -> ::Temporalio::Bridge::Api::WorkflowCommands::ActivityCancellationType::values
518
- | (:do_not_eagerly_execute, bool) -> bool
519
- | (::Symbol, untyped) -> untyped
520
-
521
- def do_not_eagerly_execute?: () -> bool
522
-
523
- interface _ToProto
524
- def to_proto: () -> ScheduleActivity
525
- end
526
-
527
- # The type of `#initialize` parameter.
528
- type init = ScheduleActivity | _ToProto
529
-
530
- # The type of `repeated` field.
531
- type field_array = ::Protobuf::Field::FieldArray[ScheduleActivity, ScheduleActivity | _ToProto]
532
-
533
- # The type of `map` field.
534
- type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, ScheduleActivity, ScheduleActivity | _ToProto]
535
-
536
- type array = ::Array[ScheduleActivity | _ToProto]
537
-
538
- type hash[KEY] = ::Hash[KEY, ScheduleActivity | _ToProto]
539
- end
540
-
541
- class ScheduleLocalActivity < ::Protobuf::Message
542
- # Encode the message to a binary string
543
- #
544
- def self.encode: (ScheduleLocalActivity) -> String
545
-
546
- # / Lang's incremental sequence number, used as the operation identifier
547
- #
548
- attr_accessor seq(): ::Integer
549
-
550
- def seq!: () -> ::Integer?
551
-
552
- attr_accessor activity_id(): ::String
553
-
554
- def activity_id!: () -> ::String?
555
-
556
- attr_accessor activity_type(): ::String
557
-
558
- def activity_type!: () -> ::String?
559
-
560
- # / Local activities can start with a non-1 attempt, if lang has been told to backoff using
561
- # / a timer before retrying. It should pass the attempt number from a `DoBackoff` activity
562
- # / resolution.
563
- #
564
- attr_accessor attempt(): ::Integer
565
-
566
- def attempt!: () -> ::Integer?
567
-
568
- # / If this local activity is a retry (as per the attempt field) this needs to be the original
569
- # / scheduling time (as provided in `DoBackoff`)
570
- #
571
- attr_accessor original_schedule_time(): ::Google::Protobuf::Timestamp?
572
-
573
- # / If this local activity is a retry (as per the attempt field) this needs to be the original
574
- # / scheduling time (as provided in `DoBackoff`)
575
- #
576
- def original_schedule_time=: [M < ::Google::Protobuf::Timestamp::_ToProto] (M?) -> M?
577
- | ...
578
-
579
- def original_schedule_time!: () -> ::Google::Protobuf::Timestamp?
580
-
581
- attr_accessor headers(): ::Temporalio::Api::Common::V1::Payload::field_hash[::String]
582
-
583
- def headers=: (::Temporalio::Api::Common::V1::Payload::hash[::String]) -> ::Temporalio::Api::Common::V1::Payload::hash[::String]
584
- | ...
585
-
586
- def headers!: () -> ::Temporalio::Api::Common::V1::Payload::field_hash[::String]?
587
-
588
- # / Arguments/input to the activity.
589
- #
590
- attr_accessor arguments(): ::Temporalio::Api::Common::V1::Payload::field_array
591
-
592
- # / Arguments/input to the activity.
593
- #
594
- def arguments=: (::Temporalio::Api::Common::V1::Payload::array) -> ::Temporalio::Api::Common::V1::Payload::array
595
- | ...
596
-
597
- def arguments!: () -> ::Temporalio::Api::Common::V1::Payload::field_array?
598
-
599
- # / Indicates how long the caller is willing to wait for local activity completion. Limits how
600
- # / long retries will be attempted. When not specified defaults to the workflow execution
601
- # / timeout (which may be unset).
602
- #
603
- attr_accessor schedule_to_close_timeout(): ::Google::Protobuf::Duration?
604
-
605
- # / Indicates how long the caller is willing to wait for local activity completion. Limits how
606
- # / long retries will be attempted. When not specified defaults to the workflow execution
607
- # / timeout (which may be unset).
608
- #
609
- def schedule_to_close_timeout=: [M < ::Google::Protobuf::Duration::_ToProto] (M?) -> M?
610
- | ...
611
-
612
- def schedule_to_close_timeout!: () -> ::Google::Protobuf::Duration?
613
-
614
- # / Limits time the local activity can idle internally before being executed. That can happen if
615
- # / the worker is currently at max concurrent local activity executions. This timeout is always
616
- # / non retryable as all a retry would achieve is to put it back into the same queue. Defaults
617
- # / to `schedule_to_close_timeout` if not specified and that is set. Must be <=
618
- # / `schedule_to_close_timeout` when set, otherwise, it will be clamped down.
619
- #
620
- attr_accessor schedule_to_start_timeout(): ::Google::Protobuf::Duration?
621
-
622
- # / Limits time the local activity can idle internally before being executed. That can happen if
623
- # / the worker is currently at max concurrent local activity executions. This timeout is always
624
- # / non retryable as all a retry would achieve is to put it back into the same queue. Defaults
625
- # / to `schedule_to_close_timeout` if not specified and that is set. Must be <=
626
- # / `schedule_to_close_timeout` when set, otherwise, it will be clamped down.
627
- #
628
- def schedule_to_start_timeout=: [M < ::Google::Protobuf::Duration::_ToProto] (M?) -> M?
629
- | ...
630
-
631
- def schedule_to_start_timeout!: () -> ::Google::Protobuf::Duration?
632
-
633
- # / Maximum time the local activity is allowed to execute after the task is dispatched. This
634
- # / timeout is always retryable. Either or both of `schedule_to_close_timeout` and this must be
635
- # / specified. If set, this must be <= `schedule_to_close_timeout`, otherwise, it will be
636
- # / clamped down.
637
- #
638
- attr_accessor start_to_close_timeout(): ::Google::Protobuf::Duration?
639
-
640
- # / Maximum time the local activity is allowed to execute after the task is dispatched. This
641
- # / timeout is always retryable. Either or both of `schedule_to_close_timeout` and this must be
642
- # / specified. If set, this must be <= `schedule_to_close_timeout`, otherwise, it will be
643
- # / clamped down.
644
- #
645
- def start_to_close_timeout=: [M < ::Google::Protobuf::Duration::_ToProto] (M?) -> M?
646
- | ...
647
-
648
- def start_to_close_timeout!: () -> ::Google::Protobuf::Duration?
649
-
650
- # / Specify a retry policy for the local activity. By default local activities will be retried
651
- # / indefinitely.
652
- #
653
- attr_accessor retry_policy(): ::Temporalio::Api::Common::V1::RetryPolicy?
654
-
655
- # / Specify a retry policy for the local activity. By default local activities will be retried
656
- # / indefinitely.
657
- #
658
- def retry_policy=: [M < ::Temporalio::Api::Common::V1::RetryPolicy::_ToProto] (M?) -> M?
659
- | ...
660
-
661
- def retry_policy!: () -> ::Temporalio::Api::Common::V1::RetryPolicy?
662
-
663
- # / If the activity is retrying and backoff would exceed this value, lang will be told to
664
- # / schedule a timer and retry the activity after. Otherwise, backoff will happen internally in
665
- # / core. Defaults to 1 minute.
666
- #
667
- attr_accessor local_retry_threshold(): ::Google::Protobuf::Duration?
668
-
669
- # / If the activity is retrying and backoff would exceed this value, lang will be told to
670
- # / schedule a timer and retry the activity after. Otherwise, backoff will happen internally in
671
- # / core. Defaults to 1 minute.
672
- #
673
- def local_retry_threshold=: [M < ::Google::Protobuf::Duration::_ToProto] (M?) -> M?
674
- | ...
675
-
676
- def local_retry_threshold!: () -> ::Google::Protobuf::Duration?
677
-
678
- # / Defines how the workflow will wait (or not) for cancellation of the activity to be
679
- # / confirmed. Lang should default this to `WAIT_CANCELLATION_COMPLETED`, even though proto
680
- # / will default to `TRY_CANCEL` automatically.
681
- #
682
- attr_accessor cancellation_type(): ::Temporalio::Bridge::Api::WorkflowCommands::ActivityCancellationType
683
-
684
- # / Defines how the workflow will wait (or not) for cancellation of the activity to be
685
- # / confirmed. Lang should default this to `WAIT_CANCELLATION_COMPLETED`, even though proto
686
- # / will default to `TRY_CANCEL` automatically.
687
- #
688
- def cancellation_type=: (::Temporalio::Bridge::Api::WorkflowCommands::ActivityCancellationType::values) -> ::Temporalio::Bridge::Api::WorkflowCommands::ActivityCancellationType::values
689
- | ...
690
-
691
- def cancellation_type!: () -> ::Temporalio::Bridge::Api::WorkflowCommands::ActivityCancellationType?
692
-
693
- def initialize: (?seq: ::Integer, ?activity_id: ::String, ?activity_type: ::String, ?attempt: ::Integer, ?original_schedule_time: ::Google::Protobuf::Timestamp::init?, ?headers: ::Temporalio::Api::Common::V1::Payload::hash[::String], ?arguments: ::Temporalio::Api::Common::V1::Payload::array, ?schedule_to_close_timeout: ::Google::Protobuf::Duration::init?, ?schedule_to_start_timeout: ::Google::Protobuf::Duration::init?, ?start_to_close_timeout: ::Google::Protobuf::Duration::init?, ?retry_policy: ::Temporalio::Api::Common::V1::RetryPolicy::init?, ?local_retry_threshold: ::Google::Protobuf::Duration::init?, ?cancellation_type: ::Temporalio::Bridge::Api::WorkflowCommands::ActivityCancellationType::init) -> void
694
-
695
- def []: (:seq) -> ::Integer
696
- | (:activity_id) -> ::String
697
- | (:activity_type) -> ::String
698
- | (:attempt) -> ::Integer
699
- | (:original_schedule_time) -> ::Google::Protobuf::Timestamp?
700
- | (:headers) -> ::Temporalio::Api::Common::V1::Payload::field_hash[::String]
701
- | (:arguments) -> ::Temporalio::Api::Common::V1::Payload::field_array
702
- | (:schedule_to_close_timeout) -> ::Google::Protobuf::Duration?
703
- | (:schedule_to_start_timeout) -> ::Google::Protobuf::Duration?
704
- | (:start_to_close_timeout) -> ::Google::Protobuf::Duration?
705
- | (:retry_policy) -> ::Temporalio::Api::Common::V1::RetryPolicy?
706
- | (:local_retry_threshold) -> ::Google::Protobuf::Duration?
707
- | (:cancellation_type) -> ::Temporalio::Bridge::Api::WorkflowCommands::ActivityCancellationType
708
- | (::Symbol) -> untyped
709
-
710
- def []=: (:seq, ::Integer) -> ::Integer
711
- | (:activity_id, ::String) -> ::String
712
- | (:activity_type, ::String) -> ::String
713
- | (:attempt, ::Integer) -> ::Integer
714
- | (:original_schedule_time, ::Google::Protobuf::Timestamp?) -> ::Google::Protobuf::Timestamp?
715
- | [M < ::Google::Protobuf::Timestamp::_ToProto] (:original_schedule_time, M?) -> M?
716
- | (:headers, ::Temporalio::Api::Common::V1::Payload::field_hash[::String]) -> ::Temporalio::Api::Common::V1::Payload::field_hash[::String]
717
- | (:headers, ::Temporalio::Api::Common::V1::Payload::hash[::String]) -> ::Temporalio::Api::Common::V1::Payload::hash[::String]
718
- | (:arguments, ::Temporalio::Api::Common::V1::Payload::field_array) -> ::Temporalio::Api::Common::V1::Payload::field_array
719
- | (:arguments, ::Temporalio::Api::Common::V1::Payload::array) -> ::Temporalio::Api::Common::V1::Payload::array
720
- | (:schedule_to_close_timeout, ::Google::Protobuf::Duration?) -> ::Google::Protobuf::Duration?
721
- | [M < ::Google::Protobuf::Duration::_ToProto] (:schedule_to_close_timeout, M?) -> M?
722
- | (:schedule_to_start_timeout, ::Google::Protobuf::Duration?) -> ::Google::Protobuf::Duration?
723
- | [M < ::Google::Protobuf::Duration::_ToProto] (:schedule_to_start_timeout, M?) -> M?
724
- | (:start_to_close_timeout, ::Google::Protobuf::Duration?) -> ::Google::Protobuf::Duration?
725
- | [M < ::Google::Protobuf::Duration::_ToProto] (:start_to_close_timeout, M?) -> M?
726
- | (:retry_policy, ::Temporalio::Api::Common::V1::RetryPolicy?) -> ::Temporalio::Api::Common::V1::RetryPolicy?
727
- | [M < ::Temporalio::Api::Common::V1::RetryPolicy::_ToProto] (:retry_policy, M?) -> M?
728
- | (:local_retry_threshold, ::Google::Protobuf::Duration?) -> ::Google::Protobuf::Duration?
729
- | [M < ::Google::Protobuf::Duration::_ToProto] (:local_retry_threshold, M?) -> M?
730
- | (:cancellation_type, ::Temporalio::Bridge::Api::WorkflowCommands::ActivityCancellationType) -> ::Temporalio::Bridge::Api::WorkflowCommands::ActivityCancellationType
731
- | (:cancellation_type, ::Temporalio::Bridge::Api::WorkflowCommands::ActivityCancellationType::values) -> ::Temporalio::Bridge::Api::WorkflowCommands::ActivityCancellationType::values
732
- | (::Symbol, untyped) -> untyped
733
-
734
- interface _ToProto
735
- def to_proto: () -> ScheduleLocalActivity
736
- end
737
-
738
- # The type of `#initialize` parameter.
739
- type init = ScheduleLocalActivity | _ToProto
740
-
741
- # The type of `repeated` field.
742
- type field_array = ::Protobuf::Field::FieldArray[ScheduleLocalActivity, ScheduleLocalActivity | _ToProto]
743
-
744
- # The type of `map` field.
745
- type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, ScheduleLocalActivity, ScheduleLocalActivity | _ToProto]
746
-
747
- type array = ::Array[ScheduleLocalActivity | _ToProto]
748
-
749
- type hash[KEY] = ::Hash[KEY, ScheduleLocalActivity | _ToProto]
750
- end
751
-
752
- class RequestCancelActivity < ::Protobuf::Message
753
- # Encode the message to a binary string
754
- #
755
- def self.encode: (RequestCancelActivity) -> String
756
-
757
- # / Lang's incremental sequence number as passed to `ScheduleActivity`
758
- #
759
- attr_accessor seq(): ::Integer
760
-
761
- def seq!: () -> ::Integer?
762
-
763
- def initialize: (?seq: ::Integer) -> void
764
-
765
- def []: (:seq) -> ::Integer
766
- | (::Symbol) -> untyped
767
-
768
- def []=: (:seq, ::Integer) -> ::Integer
769
- | (::Symbol, untyped) -> untyped
770
-
771
- interface _ToProto
772
- def to_proto: () -> RequestCancelActivity
773
- end
774
-
775
- # The type of `#initialize` parameter.
776
- type init = RequestCancelActivity | _ToProto
777
-
778
- # The type of `repeated` field.
779
- type field_array = ::Protobuf::Field::FieldArray[RequestCancelActivity, RequestCancelActivity | _ToProto]
780
-
781
- # The type of `map` field.
782
- type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, RequestCancelActivity, RequestCancelActivity | _ToProto]
783
-
784
- type array = ::Array[RequestCancelActivity | _ToProto]
785
-
786
- type hash[KEY] = ::Hash[KEY, RequestCancelActivity | _ToProto]
787
- end
788
-
789
- class RequestCancelLocalActivity < ::Protobuf::Message
790
- # Encode the message to a binary string
791
- #
792
- def self.encode: (RequestCancelLocalActivity) -> String
793
-
794
- # / Lang's incremental sequence number as passed to `ScheduleLocalActivity`
795
- #
796
- attr_accessor seq(): ::Integer
797
-
798
- def seq!: () -> ::Integer?
799
-
800
- def initialize: (?seq: ::Integer) -> void
801
-
802
- def []: (:seq) -> ::Integer
803
- | (::Symbol) -> untyped
804
-
805
- def []=: (:seq, ::Integer) -> ::Integer
806
- | (::Symbol, untyped) -> untyped
807
-
808
- interface _ToProto
809
- def to_proto: () -> RequestCancelLocalActivity
810
- end
811
-
812
- # The type of `#initialize` parameter.
813
- type init = RequestCancelLocalActivity | _ToProto
814
-
815
- # The type of `repeated` field.
816
- type field_array = ::Protobuf::Field::FieldArray[RequestCancelLocalActivity, RequestCancelLocalActivity | _ToProto]
817
-
818
- # The type of `map` field.
819
- type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, RequestCancelLocalActivity, RequestCancelLocalActivity | _ToProto]
820
-
821
- type array = ::Array[RequestCancelLocalActivity | _ToProto]
822
-
823
- type hash[KEY] = ::Hash[KEY, RequestCancelLocalActivity | _ToProto]
824
- end
825
-
826
- class QueryResult < ::Protobuf::Message
827
- # Encode the message to a binary string
828
- #
829
- def self.encode: (QueryResult) -> String
830
-
831
- # / Corresponds to the id provided in the activation job
832
- #
833
- attr_accessor query_id(): ::String
834
-
835
- def query_id!: () -> ::String?
836
-
837
- attr_accessor succeeded(): ::Temporalio::Bridge::Api::WorkflowCommands::QuerySuccess?
838
-
839
- def succeeded=: [M < ::Temporalio::Bridge::Api::WorkflowCommands::QuerySuccess::_ToProto] (M?) -> M?
840
- | ...
841
-
842
- def succeeded!: () -> ::Temporalio::Bridge::Api::WorkflowCommands::QuerySuccess?
843
-
844
- attr_accessor failed(): ::Temporalio::Api::Failure::V1::Failure?
845
-
846
- def failed=: [M < ::Temporalio::Api::Failure::V1::Failure::_ToProto] (M?) -> M?
847
- | ...
848
-
849
- def failed!: () -> ::Temporalio::Api::Failure::V1::Failure?
850
-
851
- def initialize: (?query_id: ::String, ?succeeded: ::Temporalio::Bridge::Api::WorkflowCommands::QuerySuccess::init?, ?failed: ::Temporalio::Api::Failure::V1::Failure::init?) -> void
852
-
853
- def []: (:query_id) -> ::String
854
- | (:succeeded) -> ::Temporalio::Bridge::Api::WorkflowCommands::QuerySuccess?
855
- | (:failed) -> ::Temporalio::Api::Failure::V1::Failure?
856
- | (::Symbol) -> untyped
857
-
858
- def []=: (:query_id, ::String) -> ::String
859
- | (:succeeded, ::Temporalio::Bridge::Api::WorkflowCommands::QuerySuccess?) -> ::Temporalio::Bridge::Api::WorkflowCommands::QuerySuccess?
860
- | [M < ::Temporalio::Bridge::Api::WorkflowCommands::QuerySuccess::_ToProto] (:succeeded, M?) -> M?
861
- | (:failed, ::Temporalio::Api::Failure::V1::Failure?) -> ::Temporalio::Api::Failure::V1::Failure?
862
- | [M < ::Temporalio::Api::Failure::V1::Failure::_ToProto] (:failed, M?) -> M?
863
- | (::Symbol, untyped) -> untyped
864
-
865
- interface _ToProto
866
- def to_proto: () -> QueryResult
867
- end
868
-
869
- # The type of `#initialize` parameter.
870
- type init = QueryResult | _ToProto
871
-
872
- # The type of `repeated` field.
873
- type field_array = ::Protobuf::Field::FieldArray[QueryResult, QueryResult | _ToProto]
874
-
875
- # The type of `map` field.
876
- type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, QueryResult, QueryResult | _ToProto]
877
-
878
- type array = ::Array[QueryResult | _ToProto]
879
-
880
- type hash[KEY] = ::Hash[KEY, QueryResult | _ToProto]
881
- end
882
-
883
- class QuerySuccess < ::Protobuf::Message
884
- # Encode the message to a binary string
885
- #
886
- def self.encode: (QuerySuccess) -> String
887
-
888
- attr_accessor response(): ::Temporalio::Api::Common::V1::Payload?
889
-
890
- def response=: [M < ::Temporalio::Api::Common::V1::Payload::_ToProto] (M?) -> M?
891
- | ...
892
-
893
- def response!: () -> ::Temporalio::Api::Common::V1::Payload?
894
-
895
- def initialize: (?response: ::Temporalio::Api::Common::V1::Payload::init?) -> void
896
-
897
- def []: (:response) -> ::Temporalio::Api::Common::V1::Payload?
898
- | (::Symbol) -> untyped
899
-
900
- def []=: (:response, ::Temporalio::Api::Common::V1::Payload?) -> ::Temporalio::Api::Common::V1::Payload?
901
- | [M < ::Temporalio::Api::Common::V1::Payload::_ToProto] (:response, M?) -> M?
902
- | (::Symbol, untyped) -> untyped
903
-
904
- interface _ToProto
905
- def to_proto: () -> QuerySuccess
906
- end
907
-
908
- # The type of `#initialize` parameter.
909
- type init = QuerySuccess | _ToProto
910
-
911
- # The type of `repeated` field.
912
- type field_array = ::Protobuf::Field::FieldArray[QuerySuccess, QuerySuccess | _ToProto]
913
-
914
- # The type of `map` field.
915
- type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, QuerySuccess, QuerySuccess | _ToProto]
916
-
917
- type array = ::Array[QuerySuccess | _ToProto]
918
-
919
- type hash[KEY] = ::Hash[KEY, QuerySuccess | _ToProto]
920
- end
921
-
922
- # / Issued when the workflow completes successfully
923
- #
924
- class CompleteWorkflowExecution < ::Protobuf::Message
925
- # Encode the message to a binary string
926
- #
927
- def self.encode: (CompleteWorkflowExecution) -> String
928
-
929
- attr_accessor result(): ::Temporalio::Api::Common::V1::Payload?
930
-
931
- def result=: [M < ::Temporalio::Api::Common::V1::Payload::_ToProto] (M?) -> M?
932
- | ...
933
-
934
- def result!: () -> ::Temporalio::Api::Common::V1::Payload?
935
-
936
- def initialize: (?result: ::Temporalio::Api::Common::V1::Payload::init?) -> void
937
-
938
- def []: (:result) -> ::Temporalio::Api::Common::V1::Payload?
939
- | (::Symbol) -> untyped
940
-
941
- def []=: (:result, ::Temporalio::Api::Common::V1::Payload?) -> ::Temporalio::Api::Common::V1::Payload?
942
- | [M < ::Temporalio::Api::Common::V1::Payload::_ToProto] (:result, M?) -> M?
943
- | (::Symbol, untyped) -> untyped
944
-
945
- interface _ToProto
946
- def to_proto: () -> CompleteWorkflowExecution
947
- end
948
-
949
- # The type of `#initialize` parameter.
950
- type init = CompleteWorkflowExecution | _ToProto
951
-
952
- # The type of `repeated` field.
953
- type field_array = ::Protobuf::Field::FieldArray[CompleteWorkflowExecution, CompleteWorkflowExecution | _ToProto]
954
-
955
- # The type of `map` field.
956
- type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, CompleteWorkflowExecution, CompleteWorkflowExecution | _ToProto]
957
-
958
- type array = ::Array[CompleteWorkflowExecution | _ToProto]
959
-
960
- type hash[KEY] = ::Hash[KEY, CompleteWorkflowExecution | _ToProto]
961
- end
962
-
963
- # / Issued when the workflow errors out
964
- #
965
- class FailWorkflowExecution < ::Protobuf::Message
966
- # Encode the message to a binary string
967
- #
968
- def self.encode: (FailWorkflowExecution) -> String
969
-
970
- attr_accessor failure(): ::Temporalio::Api::Failure::V1::Failure?
971
-
972
- def failure=: [M < ::Temporalio::Api::Failure::V1::Failure::_ToProto] (M?) -> M?
973
- | ...
974
-
975
- def failure!: () -> ::Temporalio::Api::Failure::V1::Failure?
976
-
977
- def initialize: (?failure: ::Temporalio::Api::Failure::V1::Failure::init?) -> void
978
-
979
- def []: (:failure) -> ::Temporalio::Api::Failure::V1::Failure?
980
- | (::Symbol) -> untyped
981
-
982
- def []=: (:failure, ::Temporalio::Api::Failure::V1::Failure?) -> ::Temporalio::Api::Failure::V1::Failure?
983
- | [M < ::Temporalio::Api::Failure::V1::Failure::_ToProto] (:failure, M?) -> M?
984
- | (::Symbol, untyped) -> untyped
985
-
986
- interface _ToProto
987
- def to_proto: () -> FailWorkflowExecution
988
- end
989
-
990
- # The type of `#initialize` parameter.
991
- type init = FailWorkflowExecution | _ToProto
992
-
993
- # The type of `repeated` field.
994
- type field_array = ::Protobuf::Field::FieldArray[FailWorkflowExecution, FailWorkflowExecution | _ToProto]
995
-
996
- # The type of `map` field.
997
- type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, FailWorkflowExecution, FailWorkflowExecution | _ToProto]
998
-
999
- type array = ::Array[FailWorkflowExecution | _ToProto]
1000
-
1001
- type hash[KEY] = ::Hash[KEY, FailWorkflowExecution | _ToProto]
1002
- end
1003
-
1004
- # Continue the workflow as a new execution
1005
- #
1006
- class ContinueAsNewWorkflowExecution < ::Protobuf::Message
1007
- # Encode the message to a binary string
1008
- #
1009
- def self.encode: (ContinueAsNewWorkflowExecution) -> String
1010
-
1011
- # The identifier the lang-specific sdk uses to execute workflow code
1012
- #
1013
- attr_accessor workflow_type(): ::String
1014
-
1015
- def workflow_type!: () -> ::String?
1016
-
1017
- # Task queue for the new workflow execution
1018
- #
1019
- attr_accessor task_queue(): ::String
1020
-
1021
- def task_queue!: () -> ::String?
1022
-
1023
- # Inputs to the workflow code. Should be specified. Will not re-use old arguments, as that
1024
- # typically wouldn't make any sense.
1025
- #
1026
- attr_accessor arguments(): ::Temporalio::Api::Common::V1::Payload::field_array
1027
-
1028
- # Inputs to the workflow code. Should be specified. Will not re-use old arguments, as that
1029
- # typically wouldn't make any sense.
1030
- #
1031
- def arguments=: (::Temporalio::Api::Common::V1::Payload::array) -> ::Temporalio::Api::Common::V1::Payload::array
1032
- | ...
1033
-
1034
- def arguments!: () -> ::Temporalio::Api::Common::V1::Payload::field_array?
1035
-
1036
- # Timeout for a single run of the new workflow. Will not re-use current workflow's value.
1037
- #
1038
- attr_accessor workflow_run_timeout(): ::Google::Protobuf::Duration?
1039
-
1040
- # Timeout for a single run of the new workflow. Will not re-use current workflow's value.
1041
- #
1042
- def workflow_run_timeout=: [M < ::Google::Protobuf::Duration::_ToProto] (M?) -> M?
1043
- | ...
1044
-
1045
- def workflow_run_timeout!: () -> ::Google::Protobuf::Duration?
1046
-
1047
- # Timeout of a single workflow task. Will not re-use current workflow's value.
1048
- #
1049
- attr_accessor workflow_task_timeout(): ::Google::Protobuf::Duration?
1050
-
1051
- # Timeout of a single workflow task. Will not re-use current workflow's value.
1052
- #
1053
- def workflow_task_timeout=: [M < ::Google::Protobuf::Duration::_ToProto] (M?) -> M?
1054
- | ...
1055
-
1056
- def workflow_task_timeout!: () -> ::Google::Protobuf::Duration?
1057
-
1058
- # If set, the new workflow will have this memo. If unset, re-uses the current workflow's memo
1059
- #
1060
- attr_accessor memo(): ::Temporalio::Api::Common::V1::Payload::field_hash[::String]
1061
-
1062
- # If set, the new workflow will have this memo. If unset, re-uses the current workflow's memo
1063
- #
1064
- def memo=: (::Temporalio::Api::Common::V1::Payload::hash[::String]) -> ::Temporalio::Api::Common::V1::Payload::hash[::String]
1065
- | ...
1066
-
1067
- def memo!: () -> ::Temporalio::Api::Common::V1::Payload::field_hash[::String]?
1068
-
1069
- # If set, the new workflow will have these headers. Will *not* re-use current workflow's
1070
- # headers otherwise.
1071
- #
1072
- attr_accessor headers(): ::Temporalio::Api::Common::V1::Payload::field_hash[::String]
1073
-
1074
- # If set, the new workflow will have these headers. Will *not* re-use current workflow's
1075
- # headers otherwise.
1076
- #
1077
- def headers=: (::Temporalio::Api::Common::V1::Payload::hash[::String]) -> ::Temporalio::Api::Common::V1::Payload::hash[::String]
1078
- | ...
1079
-
1080
- def headers!: () -> ::Temporalio::Api::Common::V1::Payload::field_hash[::String]?
1081
-
1082
- # If set, the new workflow will have these search attributes. If unset, re-uses the current
1083
- # workflow's search attributes.
1084
- #
1085
- attr_accessor search_attributes(): ::Temporalio::Api::Common::V1::Payload::field_hash[::String]
1086
-
1087
- # If set, the new workflow will have these search attributes. If unset, re-uses the current
1088
- # workflow's search attributes.
1089
- #
1090
- def search_attributes=: (::Temporalio::Api::Common::V1::Payload::hash[::String]) -> ::Temporalio::Api::Common::V1::Payload::hash[::String]
1091
- | ...
1092
-
1093
- def search_attributes!: () -> ::Temporalio::Api::Common::V1::Payload::field_hash[::String]?
1094
-
1095
- # If set, the new workflow will have this retry policy. If unset, re-uses the current
1096
- # workflow's retry policy.
1097
- #
1098
- attr_accessor retry_policy(): ::Temporalio::Api::Common::V1::RetryPolicy?
1099
-
1100
- # If set, the new workflow will have this retry policy. If unset, re-uses the current
1101
- # workflow's retry policy.
1102
- #
1103
- def retry_policy=: [M < ::Temporalio::Api::Common::V1::RetryPolicy::_ToProto] (M?) -> M?
1104
- | ...
1105
-
1106
- def retry_policy!: () -> ::Temporalio::Api::Common::V1::RetryPolicy?
1107
-
1108
- def initialize: (?workflow_type: ::String, ?task_queue: ::String, ?arguments: ::Temporalio::Api::Common::V1::Payload::array, ?workflow_run_timeout: ::Google::Protobuf::Duration::init?, ?workflow_task_timeout: ::Google::Protobuf::Duration::init?, ?memo: ::Temporalio::Api::Common::V1::Payload::hash[::String], ?headers: ::Temporalio::Api::Common::V1::Payload::hash[::String], ?search_attributes: ::Temporalio::Api::Common::V1::Payload::hash[::String], ?retry_policy: ::Temporalio::Api::Common::V1::RetryPolicy::init?) -> void
1109
-
1110
- def []: (:workflow_type) -> ::String
1111
- | (:task_queue) -> ::String
1112
- | (:arguments) -> ::Temporalio::Api::Common::V1::Payload::field_array
1113
- | (:workflow_run_timeout) -> ::Google::Protobuf::Duration?
1114
- | (:workflow_task_timeout) -> ::Google::Protobuf::Duration?
1115
- | (:memo) -> ::Temporalio::Api::Common::V1::Payload::field_hash[::String]
1116
- | (:headers) -> ::Temporalio::Api::Common::V1::Payload::field_hash[::String]
1117
- | (:search_attributes) -> ::Temporalio::Api::Common::V1::Payload::field_hash[::String]
1118
- | (:retry_policy) -> ::Temporalio::Api::Common::V1::RetryPolicy?
1119
- | (::Symbol) -> untyped
1120
-
1121
- def []=: (:workflow_type, ::String) -> ::String
1122
- | (:task_queue, ::String) -> ::String
1123
- | (:arguments, ::Temporalio::Api::Common::V1::Payload::field_array) -> ::Temporalio::Api::Common::V1::Payload::field_array
1124
- | (:arguments, ::Temporalio::Api::Common::V1::Payload::array) -> ::Temporalio::Api::Common::V1::Payload::array
1125
- | (:workflow_run_timeout, ::Google::Protobuf::Duration?) -> ::Google::Protobuf::Duration?
1126
- | [M < ::Google::Protobuf::Duration::_ToProto] (:workflow_run_timeout, M?) -> M?
1127
- | (:workflow_task_timeout, ::Google::Protobuf::Duration?) -> ::Google::Protobuf::Duration?
1128
- | [M < ::Google::Protobuf::Duration::_ToProto] (:workflow_task_timeout, M?) -> M?
1129
- | (:memo, ::Temporalio::Api::Common::V1::Payload::field_hash[::String]) -> ::Temporalio::Api::Common::V1::Payload::field_hash[::String]
1130
- | (:memo, ::Temporalio::Api::Common::V1::Payload::hash[::String]) -> ::Temporalio::Api::Common::V1::Payload::hash[::String]
1131
- | (:headers, ::Temporalio::Api::Common::V1::Payload::field_hash[::String]) -> ::Temporalio::Api::Common::V1::Payload::field_hash[::String]
1132
- | (:headers, ::Temporalio::Api::Common::V1::Payload::hash[::String]) -> ::Temporalio::Api::Common::V1::Payload::hash[::String]
1133
- | (:search_attributes, ::Temporalio::Api::Common::V1::Payload::field_hash[::String]) -> ::Temporalio::Api::Common::V1::Payload::field_hash[::String]
1134
- | (:search_attributes, ::Temporalio::Api::Common::V1::Payload::hash[::String]) -> ::Temporalio::Api::Common::V1::Payload::hash[::String]
1135
- | (:retry_policy, ::Temporalio::Api::Common::V1::RetryPolicy?) -> ::Temporalio::Api::Common::V1::RetryPolicy?
1136
- | [M < ::Temporalio::Api::Common::V1::RetryPolicy::_ToProto] (:retry_policy, M?) -> M?
1137
- | (::Symbol, untyped) -> untyped
1138
-
1139
- interface _ToProto
1140
- def to_proto: () -> ContinueAsNewWorkflowExecution
1141
- end
1142
-
1143
- # The type of `#initialize` parameter.
1144
- type init = ContinueAsNewWorkflowExecution | _ToProto
1145
-
1146
- # The type of `repeated` field.
1147
- type field_array = ::Protobuf::Field::FieldArray[ContinueAsNewWorkflowExecution, ContinueAsNewWorkflowExecution | _ToProto]
1148
-
1149
- # The type of `map` field.
1150
- type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, ContinueAsNewWorkflowExecution, ContinueAsNewWorkflowExecution | _ToProto]
1151
-
1152
- type array = ::Array[ContinueAsNewWorkflowExecution | _ToProto]
1153
-
1154
- type hash[KEY] = ::Hash[KEY, ContinueAsNewWorkflowExecution | _ToProto]
1155
- end
1156
-
1157
- # / Indicate a workflow has completed as cancelled. Generally sent as a response to an activation
1158
- # / containing a cancellation job.
1159
- #
1160
- class CancelWorkflowExecution < ::Protobuf::Message
1161
- # Encode the message to a binary string
1162
- #
1163
- def self.encode: (CancelWorkflowExecution) -> String
1164
-
1165
- def initialize: () -> void
1166
-
1167
- interface _ToProto
1168
- def to_proto: () -> CancelWorkflowExecution
1169
- end
1170
-
1171
- # The type of `#initialize` parameter.
1172
- type init = CancelWorkflowExecution | _ToProto
1173
-
1174
- # The type of `repeated` field.
1175
- type field_array = ::Protobuf::Field::FieldArray[CancelWorkflowExecution, CancelWorkflowExecution | _ToProto]
1176
-
1177
- # The type of `map` field.
1178
- type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, CancelWorkflowExecution, CancelWorkflowExecution | _ToProto]
1179
-
1180
- type array = ::Array[CancelWorkflowExecution | _ToProto]
1181
-
1182
- type hash[KEY] = ::Hash[KEY, CancelWorkflowExecution | _ToProto]
1183
- end
1184
-
1185
- # / A request to set/check if a certain patch is present or not
1186
- #
1187
- class SetPatchMarker < ::Protobuf::Message
1188
- # Encode the message to a binary string
1189
- #
1190
- def self.encode: (SetPatchMarker) -> String
1191
-
1192
- # A user-chosen identifier for this patch. If the same identifier is used in multiple places in
1193
- # the code, those places are considered to be versioned as one unit. IE: The check call will
1194
- # return the same result for all of them
1195
- #
1196
- attr_accessor patch_id(): ::String
1197
-
1198
- def patch_id!: () -> ::String?
1199
-
1200
- # Can be set to true to indicate that branches using this change are being removed, and all
1201
- # future worker deployments will only have the "with change" code in them.
1202
- #
1203
- attr_accessor deprecated(): bool
1204
-
1205
- def deprecated!: () -> bool?
1206
-
1207
- def initialize: (?patch_id: ::String, ?deprecated: bool) -> void
1208
-
1209
- def []: (:patch_id) -> ::String
1210
- | (:deprecated) -> bool
1211
- | (::Symbol) -> untyped
1212
-
1213
- def []=: (:patch_id, ::String) -> ::String
1214
- | (:deprecated, bool) -> bool
1215
- | (::Symbol, untyped) -> untyped
1216
-
1217
- def deprecated?: () -> bool
1218
-
1219
- interface _ToProto
1220
- def to_proto: () -> SetPatchMarker
1221
- end
1222
-
1223
- # The type of `#initialize` parameter.
1224
- type init = SetPatchMarker | _ToProto
1225
-
1226
- # The type of `repeated` field.
1227
- type field_array = ::Protobuf::Field::FieldArray[SetPatchMarker, SetPatchMarker | _ToProto]
1228
-
1229
- # The type of `map` field.
1230
- type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, SetPatchMarker, SetPatchMarker | _ToProto]
1231
-
1232
- type array = ::Array[SetPatchMarker | _ToProto]
1233
-
1234
- type hash[KEY] = ::Hash[KEY, SetPatchMarker | _ToProto]
1235
- end
1236
-
1237
- # / Start a child workflow execution
1238
- #
1239
- class StartChildWorkflowExecution < ::Protobuf::Message
1240
- # Encode the message to a binary string
1241
- #
1242
- def self.encode: (StartChildWorkflowExecution) -> String
1243
-
1244
- # / Lang's incremental sequence number, used as the operation identifier
1245
- #
1246
- attr_accessor seq(): ::Integer
1247
-
1248
- def seq!: () -> ::Integer?
1249
-
1250
- attr_accessor namespace(): ::String
1251
-
1252
- def namespace!: () -> ::String?
1253
-
1254
- attr_accessor workflow_id(): ::String
1255
-
1256
- def workflow_id!: () -> ::String?
1257
-
1258
- attr_accessor workflow_type(): ::String
1259
-
1260
- def workflow_type!: () -> ::String?
1261
-
1262
- attr_accessor task_queue(): ::String
1263
-
1264
- def task_queue!: () -> ::String?
1265
-
1266
- attr_accessor input(): ::Temporalio::Api::Common::V1::Payload::field_array
1267
-
1268
- def input=: (::Temporalio::Api::Common::V1::Payload::array) -> ::Temporalio::Api::Common::V1::Payload::array
1269
- | ...
1270
-
1271
- def input!: () -> ::Temporalio::Api::Common::V1::Payload::field_array?
1272
-
1273
- # / Total workflow execution timeout including retries and continue as new.
1274
- #
1275
- attr_accessor workflow_execution_timeout(): ::Google::Protobuf::Duration?
1276
-
1277
- # / Total workflow execution timeout including retries and continue as new.
1278
- #
1279
- def workflow_execution_timeout=: [M < ::Google::Protobuf::Duration::_ToProto] (M?) -> M?
1280
- | ...
1281
-
1282
- def workflow_execution_timeout!: () -> ::Google::Protobuf::Duration?
1283
-
1284
- # / Timeout of a single workflow run.
1285
- #
1286
- attr_accessor workflow_run_timeout(): ::Google::Protobuf::Duration?
1287
-
1288
- # / Timeout of a single workflow run.
1289
- #
1290
- def workflow_run_timeout=: [M < ::Google::Protobuf::Duration::_ToProto] (M?) -> M?
1291
- | ...
1292
-
1293
- def workflow_run_timeout!: () -> ::Google::Protobuf::Duration?
1294
-
1295
- # / Timeout of a single workflow task.
1296
- #
1297
- attr_accessor workflow_task_timeout(): ::Google::Protobuf::Duration?
1298
-
1299
- # / Timeout of a single workflow task.
1300
- #
1301
- def workflow_task_timeout=: [M < ::Google::Protobuf::Duration::_ToProto] (M?) -> M?
1302
- | ...
1303
-
1304
- def workflow_task_timeout!: () -> ::Google::Protobuf::Duration?
1305
-
1306
- # / Default: PARENT_CLOSE_POLICY_TERMINATE.
1307
- #
1308
- attr_accessor parent_close_policy(): ::Temporalio::Bridge::Api::ChildWorkflow::ParentClosePolicy
1309
-
1310
- # / Default: PARENT_CLOSE_POLICY_TERMINATE.
1311
- #
1312
- def parent_close_policy=: (::Temporalio::Bridge::Api::ChildWorkflow::ParentClosePolicy::values) -> ::Temporalio::Bridge::Api::ChildWorkflow::ParentClosePolicy::values
1313
- | ...
1314
-
1315
- def parent_close_policy!: () -> ::Temporalio::Bridge::Api::ChildWorkflow::ParentClosePolicy?
1316
-
1317
- # string control = 11; (unused from StartChildWorkflowExecutionCommandAttributes)
1318
- # Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.
1319
- #
1320
- attr_accessor workflow_id_reuse_policy(): ::Temporalio::Api::Enums::V1::WorkflowIdReusePolicy
1321
-
1322
- # string control = 11; (unused from StartChildWorkflowExecutionCommandAttributes)
1323
- # Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.
1324
- #
1325
- def workflow_id_reuse_policy=: (::Temporalio::Api::Enums::V1::WorkflowIdReusePolicy::values) -> ::Temporalio::Api::Enums::V1::WorkflowIdReusePolicy::values
1326
- | ...
1327
-
1328
- def workflow_id_reuse_policy!: () -> ::Temporalio::Api::Enums::V1::WorkflowIdReusePolicy?
1329
-
1330
- attr_accessor retry_policy(): ::Temporalio::Api::Common::V1::RetryPolicy?
1331
-
1332
- def retry_policy=: [M < ::Temporalio::Api::Common::V1::RetryPolicy::_ToProto] (M?) -> M?
1333
- | ...
1334
-
1335
- def retry_policy!: () -> ::Temporalio::Api::Common::V1::RetryPolicy?
1336
-
1337
- attr_accessor cron_schedule(): ::String
1338
-
1339
- def cron_schedule!: () -> ::String?
1340
-
1341
- # / Header fields
1342
- #
1343
- attr_accessor headers(): ::Temporalio::Api::Common::V1::Payload::field_hash[::String]
1344
-
1345
- # / Header fields
1346
- #
1347
- def headers=: (::Temporalio::Api::Common::V1::Payload::hash[::String]) -> ::Temporalio::Api::Common::V1::Payload::hash[::String]
1348
- | ...
1349
-
1350
- def headers!: () -> ::Temporalio::Api::Common::V1::Payload::field_hash[::String]?
1351
-
1352
- # / Memo fields
1353
- #
1354
- attr_accessor memo(): ::Temporalio::Api::Common::V1::Payload::field_hash[::String]
1355
-
1356
- # / Memo fields
1357
- #
1358
- def memo=: (::Temporalio::Api::Common::V1::Payload::hash[::String]) -> ::Temporalio::Api::Common::V1::Payload::hash[::String]
1359
- | ...
1360
-
1361
- def memo!: () -> ::Temporalio::Api::Common::V1::Payload::field_hash[::String]?
1362
-
1363
- # / Search attributes
1364
- #
1365
- attr_accessor search_attributes(): ::Temporalio::Api::Common::V1::Payload::field_hash[::String]
1366
-
1367
- # / Search attributes
1368
- #
1369
- def search_attributes=: (::Temporalio::Api::Common::V1::Payload::hash[::String]) -> ::Temporalio::Api::Common::V1::Payload::hash[::String]
1370
- | ...
1371
-
1372
- def search_attributes!: () -> ::Temporalio::Api::Common::V1::Payload::field_hash[::String]?
1373
-
1374
- # / Defines behaviour of the underlying workflow when child workflow cancellation has been requested.
1375
- #
1376
- attr_accessor cancellation_type(): ::Temporalio::Bridge::Api::ChildWorkflow::ChildWorkflowCancellationType
1377
-
1378
- # / Defines behaviour of the underlying workflow when child workflow cancellation has been requested.
1379
- #
1380
- def cancellation_type=: (::Temporalio::Bridge::Api::ChildWorkflow::ChildWorkflowCancellationType::values) -> ::Temporalio::Bridge::Api::ChildWorkflow::ChildWorkflowCancellationType::values
1381
- | ...
1382
-
1383
- def cancellation_type!: () -> ::Temporalio::Bridge::Api::ChildWorkflow::ChildWorkflowCancellationType?
1384
-
1385
- def initialize: (?seq: ::Integer, ?namespace: ::String, ?workflow_id: ::String, ?workflow_type: ::String, ?task_queue: ::String, ?input: ::Temporalio::Api::Common::V1::Payload::array, ?workflow_execution_timeout: ::Google::Protobuf::Duration::init?, ?workflow_run_timeout: ::Google::Protobuf::Duration::init?, ?workflow_task_timeout: ::Google::Protobuf::Duration::init?, ?parent_close_policy: ::Temporalio::Bridge::Api::ChildWorkflow::ParentClosePolicy::init, ?workflow_id_reuse_policy: ::Temporalio::Api::Enums::V1::WorkflowIdReusePolicy::init, ?retry_policy: ::Temporalio::Api::Common::V1::RetryPolicy::init?, ?cron_schedule: ::String, ?headers: ::Temporalio::Api::Common::V1::Payload::hash[::String], ?memo: ::Temporalio::Api::Common::V1::Payload::hash[::String], ?search_attributes: ::Temporalio::Api::Common::V1::Payload::hash[::String], ?cancellation_type: ::Temporalio::Bridge::Api::ChildWorkflow::ChildWorkflowCancellationType::init) -> void
1386
-
1387
- def []: (:seq) -> ::Integer
1388
- | (:namespace) -> ::String
1389
- | (:workflow_id) -> ::String
1390
- | (:workflow_type) -> ::String
1391
- | (:task_queue) -> ::String
1392
- | (:input) -> ::Temporalio::Api::Common::V1::Payload::field_array
1393
- | (:workflow_execution_timeout) -> ::Google::Protobuf::Duration?
1394
- | (:workflow_run_timeout) -> ::Google::Protobuf::Duration?
1395
- | (:workflow_task_timeout) -> ::Google::Protobuf::Duration?
1396
- | (:parent_close_policy) -> ::Temporalio::Bridge::Api::ChildWorkflow::ParentClosePolicy
1397
- | (:workflow_id_reuse_policy) -> ::Temporalio::Api::Enums::V1::WorkflowIdReusePolicy
1398
- | (:retry_policy) -> ::Temporalio::Api::Common::V1::RetryPolicy?
1399
- | (:cron_schedule) -> ::String
1400
- | (:headers) -> ::Temporalio::Api::Common::V1::Payload::field_hash[::String]
1401
- | (:memo) -> ::Temporalio::Api::Common::V1::Payload::field_hash[::String]
1402
- | (:search_attributes) -> ::Temporalio::Api::Common::V1::Payload::field_hash[::String]
1403
- | (:cancellation_type) -> ::Temporalio::Bridge::Api::ChildWorkflow::ChildWorkflowCancellationType
1404
- | (::Symbol) -> untyped
1405
-
1406
- def []=: (:seq, ::Integer) -> ::Integer
1407
- | (:namespace, ::String) -> ::String
1408
- | (:workflow_id, ::String) -> ::String
1409
- | (:workflow_type, ::String) -> ::String
1410
- | (:task_queue, ::String) -> ::String
1411
- | (:input, ::Temporalio::Api::Common::V1::Payload::field_array) -> ::Temporalio::Api::Common::V1::Payload::field_array
1412
- | (:input, ::Temporalio::Api::Common::V1::Payload::array) -> ::Temporalio::Api::Common::V1::Payload::array
1413
- | (:workflow_execution_timeout, ::Google::Protobuf::Duration?) -> ::Google::Protobuf::Duration?
1414
- | [M < ::Google::Protobuf::Duration::_ToProto] (:workflow_execution_timeout, M?) -> M?
1415
- | (:workflow_run_timeout, ::Google::Protobuf::Duration?) -> ::Google::Protobuf::Duration?
1416
- | [M < ::Google::Protobuf::Duration::_ToProto] (:workflow_run_timeout, M?) -> M?
1417
- | (:workflow_task_timeout, ::Google::Protobuf::Duration?) -> ::Google::Protobuf::Duration?
1418
- | [M < ::Google::Protobuf::Duration::_ToProto] (:workflow_task_timeout, M?) -> M?
1419
- | (:parent_close_policy, ::Temporalio::Bridge::Api::ChildWorkflow::ParentClosePolicy) -> ::Temporalio::Bridge::Api::ChildWorkflow::ParentClosePolicy
1420
- | (:parent_close_policy, ::Temporalio::Bridge::Api::ChildWorkflow::ParentClosePolicy::values) -> ::Temporalio::Bridge::Api::ChildWorkflow::ParentClosePolicy::values
1421
- | (:workflow_id_reuse_policy, ::Temporalio::Api::Enums::V1::WorkflowIdReusePolicy) -> ::Temporalio::Api::Enums::V1::WorkflowIdReusePolicy
1422
- | (:workflow_id_reuse_policy, ::Temporalio::Api::Enums::V1::WorkflowIdReusePolicy::values) -> ::Temporalio::Api::Enums::V1::WorkflowIdReusePolicy::values
1423
- | (:retry_policy, ::Temporalio::Api::Common::V1::RetryPolicy?) -> ::Temporalio::Api::Common::V1::RetryPolicy?
1424
- | [M < ::Temporalio::Api::Common::V1::RetryPolicy::_ToProto] (:retry_policy, M?) -> M?
1425
- | (:cron_schedule, ::String) -> ::String
1426
- | (:headers, ::Temporalio::Api::Common::V1::Payload::field_hash[::String]) -> ::Temporalio::Api::Common::V1::Payload::field_hash[::String]
1427
- | (:headers, ::Temporalio::Api::Common::V1::Payload::hash[::String]) -> ::Temporalio::Api::Common::V1::Payload::hash[::String]
1428
- | (:memo, ::Temporalio::Api::Common::V1::Payload::field_hash[::String]) -> ::Temporalio::Api::Common::V1::Payload::field_hash[::String]
1429
- | (:memo, ::Temporalio::Api::Common::V1::Payload::hash[::String]) -> ::Temporalio::Api::Common::V1::Payload::hash[::String]
1430
- | (:search_attributes, ::Temporalio::Api::Common::V1::Payload::field_hash[::String]) -> ::Temporalio::Api::Common::V1::Payload::field_hash[::String]
1431
- | (:search_attributes, ::Temporalio::Api::Common::V1::Payload::hash[::String]) -> ::Temporalio::Api::Common::V1::Payload::hash[::String]
1432
- | (:cancellation_type, ::Temporalio::Bridge::Api::ChildWorkflow::ChildWorkflowCancellationType) -> ::Temporalio::Bridge::Api::ChildWorkflow::ChildWorkflowCancellationType
1433
- | (:cancellation_type, ::Temporalio::Bridge::Api::ChildWorkflow::ChildWorkflowCancellationType::values) -> ::Temporalio::Bridge::Api::ChildWorkflow::ChildWorkflowCancellationType::values
1434
- | (::Symbol, untyped) -> untyped
1435
-
1436
- interface _ToProto
1437
- def to_proto: () -> StartChildWorkflowExecution
1438
- end
1439
-
1440
- # The type of `#initialize` parameter.
1441
- type init = StartChildWorkflowExecution | _ToProto
1442
-
1443
- # The type of `repeated` field.
1444
- type field_array = ::Protobuf::Field::FieldArray[StartChildWorkflowExecution, StartChildWorkflowExecution | _ToProto]
1445
-
1446
- # The type of `map` field.
1447
- type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, StartChildWorkflowExecution, StartChildWorkflowExecution | _ToProto]
1448
-
1449
- type array = ::Array[StartChildWorkflowExecution | _ToProto]
1450
-
1451
- type hash[KEY] = ::Hash[KEY, StartChildWorkflowExecution | _ToProto]
1452
- end
1453
-
1454
- # / Cancel a child workflow
1455
- #
1456
- class CancelChildWorkflowExecution < ::Protobuf::Message
1457
- # Encode the message to a binary string
1458
- #
1459
- def self.encode: (CancelChildWorkflowExecution) -> String
1460
-
1461
- # Sequence number as given to the `StartChildWorkflowExecution` command
1462
- #
1463
- attr_accessor child_workflow_seq(): ::Integer
1464
-
1465
- def child_workflow_seq!: () -> ::Integer?
1466
-
1467
- def initialize: (?child_workflow_seq: ::Integer) -> void
1468
-
1469
- def []: (:child_workflow_seq) -> ::Integer
1470
- | (::Symbol) -> untyped
1471
-
1472
- def []=: (:child_workflow_seq, ::Integer) -> ::Integer
1473
- | (::Symbol, untyped) -> untyped
1474
-
1475
- interface _ToProto
1476
- def to_proto: () -> CancelChildWorkflowExecution
1477
- end
1478
-
1479
- # The type of `#initialize` parameter.
1480
- type init = CancelChildWorkflowExecution | _ToProto
1481
-
1482
- # The type of `repeated` field.
1483
- type field_array = ::Protobuf::Field::FieldArray[CancelChildWorkflowExecution, CancelChildWorkflowExecution | _ToProto]
1484
-
1485
- # The type of `map` field.
1486
- type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, CancelChildWorkflowExecution, CancelChildWorkflowExecution | _ToProto]
1487
-
1488
- type array = ::Array[CancelChildWorkflowExecution | _ToProto]
1489
-
1490
- type hash[KEY] = ::Hash[KEY, CancelChildWorkflowExecution | _ToProto]
1491
- end
1492
-
1493
- # / Request cancellation of an external workflow execution (which may be a started child)
1494
- #
1495
- class RequestCancelExternalWorkflowExecution < ::Protobuf::Message
1496
- # Encode the message to a binary string
1497
- #
1498
- def self.encode: (RequestCancelExternalWorkflowExecution) -> String
1499
-
1500
- # / Lang's incremental sequence number, used as the operation identifier
1501
- #
1502
- attr_accessor seq(): ::Integer
1503
-
1504
- def seq!: () -> ::Integer?
1505
-
1506
- # A specific workflow instance
1507
- #
1508
- attr_accessor workflow_execution(): ::Temporalio::Bridge::Api::Common::NamespacedWorkflowExecution?
1509
-
1510
- # A specific workflow instance
1511
- #
1512
- def workflow_execution=: [M < ::Temporalio::Bridge::Api::Common::NamespacedWorkflowExecution::_ToProto] (M?) -> M?
1513
- | ...
1514
-
1515
- def workflow_execution!: () -> ::Temporalio::Bridge::Api::Common::NamespacedWorkflowExecution?
1516
-
1517
- # The desired target must be a child of the issuing workflow, and this is its workflow id
1518
- #
1519
- attr_accessor child_workflow_id(): ::String
1520
-
1521
- def child_workflow_id!: () -> ::String?
1522
-
1523
- def initialize: (?seq: ::Integer, ?workflow_execution: ::Temporalio::Bridge::Api::Common::NamespacedWorkflowExecution::init?, ?child_workflow_id: ::String) -> void
1524
-
1525
- def []: (:seq) -> ::Integer
1526
- | (:workflow_execution) -> ::Temporalio::Bridge::Api::Common::NamespacedWorkflowExecution?
1527
- | (:child_workflow_id) -> ::String
1528
- | (::Symbol) -> untyped
1529
-
1530
- def []=: (:seq, ::Integer) -> ::Integer
1531
- | (:workflow_execution, ::Temporalio::Bridge::Api::Common::NamespacedWorkflowExecution?) -> ::Temporalio::Bridge::Api::Common::NamespacedWorkflowExecution?
1532
- | [M < ::Temporalio::Bridge::Api::Common::NamespacedWorkflowExecution::_ToProto] (:workflow_execution, M?) -> M?
1533
- | (:child_workflow_id, ::String) -> ::String
1534
- | (::Symbol, untyped) -> untyped
1535
-
1536
- interface _ToProto
1537
- def to_proto: () -> RequestCancelExternalWorkflowExecution
1538
- end
1539
-
1540
- # The type of `#initialize` parameter.
1541
- type init = RequestCancelExternalWorkflowExecution | _ToProto
1542
-
1543
- # The type of `repeated` field.
1544
- type field_array = ::Protobuf::Field::FieldArray[RequestCancelExternalWorkflowExecution, RequestCancelExternalWorkflowExecution | _ToProto]
1545
-
1546
- # The type of `map` field.
1547
- type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, RequestCancelExternalWorkflowExecution, RequestCancelExternalWorkflowExecution | _ToProto]
1548
-
1549
- type array = ::Array[RequestCancelExternalWorkflowExecution | _ToProto]
1550
-
1551
- type hash[KEY] = ::Hash[KEY, RequestCancelExternalWorkflowExecution | _ToProto]
1552
- end
1553
-
1554
- # / Send a signal to an external or child workflow
1555
- #
1556
- class SignalExternalWorkflowExecution < ::Protobuf::Message
1557
- # Encode the message to a binary string
1558
- #
1559
- def self.encode: (SignalExternalWorkflowExecution) -> String
1560
-
1561
- # / Lang's incremental sequence number, used as the operation identifier
1562
- #
1563
- attr_accessor seq(): ::Integer
1564
-
1565
- def seq!: () -> ::Integer?
1566
-
1567
- # A specific workflow instance
1568
- #
1569
- attr_accessor workflow_execution(): ::Temporalio::Bridge::Api::Common::NamespacedWorkflowExecution?
1570
-
1571
- # A specific workflow instance
1572
- #
1573
- def workflow_execution=: [M < ::Temporalio::Bridge::Api::Common::NamespacedWorkflowExecution::_ToProto] (M?) -> M?
1574
- | ...
1575
-
1576
- def workflow_execution!: () -> ::Temporalio::Bridge::Api::Common::NamespacedWorkflowExecution?
1577
-
1578
- # The desired target must be a child of the issuing workflow, and this is its workflow id
1579
- #
1580
- attr_accessor child_workflow_id(): ::String
1581
-
1582
- def child_workflow_id!: () -> ::String?
1583
-
1584
- # / Name of the signal handler
1585
- #
1586
- attr_accessor signal_name(): ::String
1587
-
1588
- def signal_name!: () -> ::String?
1589
-
1590
- # / Arguments for the handler
1591
- #
1592
- attr_accessor args(): ::Temporalio::Api::Common::V1::Payload::field_array
1593
-
1594
- # / Arguments for the handler
1595
- #
1596
- def args=: (::Temporalio::Api::Common::V1::Payload::array) -> ::Temporalio::Api::Common::V1::Payload::array
1597
- | ...
1598
-
1599
- def args!: () -> ::Temporalio::Api::Common::V1::Payload::field_array?
1600
-
1601
- # / Headers to attach to the signal
1602
- #
1603
- attr_accessor headers(): ::Temporalio::Api::Common::V1::Payload::field_hash[::String]
1604
-
1605
- # / Headers to attach to the signal
1606
- #
1607
- def headers=: (::Temporalio::Api::Common::V1::Payload::hash[::String]) -> ::Temporalio::Api::Common::V1::Payload::hash[::String]
1608
- | ...
1609
-
1610
- def headers!: () -> ::Temporalio::Api::Common::V1::Payload::field_hash[::String]?
1611
-
1612
- def initialize: (?seq: ::Integer, ?workflow_execution: ::Temporalio::Bridge::Api::Common::NamespacedWorkflowExecution::init?, ?child_workflow_id: ::String, ?signal_name: ::String, ?args: ::Temporalio::Api::Common::V1::Payload::array, ?headers: ::Temporalio::Api::Common::V1::Payload::hash[::String]) -> void
1613
-
1614
- def []: (:seq) -> ::Integer
1615
- | (:workflow_execution) -> ::Temporalio::Bridge::Api::Common::NamespacedWorkflowExecution?
1616
- | (:child_workflow_id) -> ::String
1617
- | (:signal_name) -> ::String
1618
- | (:args) -> ::Temporalio::Api::Common::V1::Payload::field_array
1619
- | (:headers) -> ::Temporalio::Api::Common::V1::Payload::field_hash[::String]
1620
- | (::Symbol) -> untyped
1621
-
1622
- def []=: (:seq, ::Integer) -> ::Integer
1623
- | (:workflow_execution, ::Temporalio::Bridge::Api::Common::NamespacedWorkflowExecution?) -> ::Temporalio::Bridge::Api::Common::NamespacedWorkflowExecution?
1624
- | [M < ::Temporalio::Bridge::Api::Common::NamespacedWorkflowExecution::_ToProto] (:workflow_execution, M?) -> M?
1625
- | (:child_workflow_id, ::String) -> ::String
1626
- | (:signal_name, ::String) -> ::String
1627
- | (:args, ::Temporalio::Api::Common::V1::Payload::field_array) -> ::Temporalio::Api::Common::V1::Payload::field_array
1628
- | (:args, ::Temporalio::Api::Common::V1::Payload::array) -> ::Temporalio::Api::Common::V1::Payload::array
1629
- | (:headers, ::Temporalio::Api::Common::V1::Payload::field_hash[::String]) -> ::Temporalio::Api::Common::V1::Payload::field_hash[::String]
1630
- | (:headers, ::Temporalio::Api::Common::V1::Payload::hash[::String]) -> ::Temporalio::Api::Common::V1::Payload::hash[::String]
1631
- | (::Symbol, untyped) -> untyped
1632
-
1633
- interface _ToProto
1634
- def to_proto: () -> SignalExternalWorkflowExecution
1635
- end
1636
-
1637
- # The type of `#initialize` parameter.
1638
- type init = SignalExternalWorkflowExecution | _ToProto
1639
-
1640
- # The type of `repeated` field.
1641
- type field_array = ::Protobuf::Field::FieldArray[SignalExternalWorkflowExecution, SignalExternalWorkflowExecution | _ToProto]
1642
-
1643
- # The type of `map` field.
1644
- type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, SignalExternalWorkflowExecution, SignalExternalWorkflowExecution | _ToProto]
1645
-
1646
- type array = ::Array[SignalExternalWorkflowExecution | _ToProto]
1647
-
1648
- type hash[KEY] = ::Hash[KEY, SignalExternalWorkflowExecution | _ToProto]
1649
- end
1650
-
1651
- # / Can be used to cancel not-already-sent `SignalExternalWorkflowExecution` commands
1652
- #
1653
- class CancelSignalWorkflow < ::Protobuf::Message
1654
- # Encode the message to a binary string
1655
- #
1656
- def self.encode: (CancelSignalWorkflow) -> String
1657
-
1658
- # / Lang's incremental sequence number as passed to `SignalExternalWorkflowExecution`
1659
- #
1660
- attr_accessor seq(): ::Integer
1661
-
1662
- def seq!: () -> ::Integer?
1663
-
1664
- def initialize: (?seq: ::Integer) -> void
1665
-
1666
- def []: (:seq) -> ::Integer
1667
- | (::Symbol) -> untyped
1668
-
1669
- def []=: (:seq, ::Integer) -> ::Integer
1670
- | (::Symbol, untyped) -> untyped
1671
-
1672
- interface _ToProto
1673
- def to_proto: () -> CancelSignalWorkflow
1674
- end
1675
-
1676
- # The type of `#initialize` parameter.
1677
- type init = CancelSignalWorkflow | _ToProto
1678
-
1679
- # The type of `repeated` field.
1680
- type field_array = ::Protobuf::Field::FieldArray[CancelSignalWorkflow, CancelSignalWorkflow | _ToProto]
1681
-
1682
- # The type of `map` field.
1683
- type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, CancelSignalWorkflow, CancelSignalWorkflow | _ToProto]
1684
-
1685
- type array = ::Array[CancelSignalWorkflow | _ToProto]
1686
-
1687
- type hash[KEY] = ::Hash[KEY, CancelSignalWorkflow | _ToProto]
1688
- end
1689
-
1690
- class UpsertWorkflowSearchAttributes < ::Protobuf::Message
1691
- # Encode the message to a binary string
1692
- #
1693
- def self.encode: (UpsertWorkflowSearchAttributes) -> String
1694
-
1695
- # / SearchAttributes fields - equivalent to indexed_fields on api. Key = search index, Value =
1696
- # / value?
1697
- #
1698
- attr_accessor search_attributes(): ::Temporalio::Api::Common::V1::Payload::field_hash[::String]
1699
-
1700
- # / SearchAttributes fields - equivalent to indexed_fields on api. Key = search index, Value =
1701
- # / value?
1702
- #
1703
- def search_attributes=: (::Temporalio::Api::Common::V1::Payload::hash[::String]) -> ::Temporalio::Api::Common::V1::Payload::hash[::String]
1704
- | ...
1705
-
1706
- def search_attributes!: () -> ::Temporalio::Api::Common::V1::Payload::field_hash[::String]?
1707
-
1708
- def initialize: (?search_attributes: ::Temporalio::Api::Common::V1::Payload::hash[::String]) -> void
1709
-
1710
- def []: (:search_attributes) -> ::Temporalio::Api::Common::V1::Payload::field_hash[::String]
1711
- | (::Symbol) -> untyped
1712
-
1713
- def []=: (:search_attributes, ::Temporalio::Api::Common::V1::Payload::field_hash[::String]) -> ::Temporalio::Api::Common::V1::Payload::field_hash[::String]
1714
- | (:search_attributes, ::Temporalio::Api::Common::V1::Payload::hash[::String]) -> ::Temporalio::Api::Common::V1::Payload::hash[::String]
1715
- | (::Symbol, untyped) -> untyped
1716
-
1717
- interface _ToProto
1718
- def to_proto: () -> UpsertWorkflowSearchAttributes
1719
- end
1720
-
1721
- # The type of `#initialize` parameter.
1722
- type init = UpsertWorkflowSearchAttributes | _ToProto
1723
-
1724
- # The type of `repeated` field.
1725
- type field_array = ::Protobuf::Field::FieldArray[UpsertWorkflowSearchAttributes, UpsertWorkflowSearchAttributes | _ToProto]
1726
-
1727
- # The type of `map` field.
1728
- type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, UpsertWorkflowSearchAttributes, UpsertWorkflowSearchAttributes | _ToProto]
1729
-
1730
- type array = ::Array[UpsertWorkflowSearchAttributes | _ToProto]
1731
-
1732
- type hash[KEY] = ::Hash[KEY, UpsertWorkflowSearchAttributes | _ToProto]
1733
- end
1734
-
1735
- class ModifyWorkflowProperties < ::Protobuf::Message
1736
- # Encode the message to a binary string
1737
- #
1738
- def self.encode: (ModifyWorkflowProperties) -> String
1739
-
1740
- # If set, update the workflow memo with the provided values. The values will be merged with
1741
- # the existing memo. If the user wants to delete values, a default/empty Payload should be
1742
- # used as the value for the key being deleted.
1743
- #
1744
- attr_accessor upserted_memo(): ::Temporalio::Api::Common::V1::Memo?
1745
-
1746
- # If set, update the workflow memo with the provided values. The values will be merged with
1747
- # the existing memo. If the user wants to delete values, a default/empty Payload should be
1748
- # used as the value for the key being deleted.
1749
- #
1750
- def upserted_memo=: [M < ::Temporalio::Api::Common::V1::Memo::_ToProto] (M?) -> M?
1751
- | ...
1752
-
1753
- def upserted_memo!: () -> ::Temporalio::Api::Common::V1::Memo?
1754
-
1755
- def initialize: (?upserted_memo: ::Temporalio::Api::Common::V1::Memo::init?) -> void
1756
-
1757
- def []: (:upserted_memo) -> ::Temporalio::Api::Common::V1::Memo?
1758
- | (::Symbol) -> untyped
1759
-
1760
- def []=: (:upserted_memo, ::Temporalio::Api::Common::V1::Memo?) -> ::Temporalio::Api::Common::V1::Memo?
1761
- | [M < ::Temporalio::Api::Common::V1::Memo::_ToProto] (:upserted_memo, M?) -> M?
1762
- | (::Symbol, untyped) -> untyped
1763
-
1764
- interface _ToProto
1765
- def to_proto: () -> ModifyWorkflowProperties
1766
- end
1767
-
1768
- # The type of `#initialize` parameter.
1769
- type init = ModifyWorkflowProperties | _ToProto
1770
-
1771
- # The type of `repeated` field.
1772
- type field_array = ::Protobuf::Field::FieldArray[ModifyWorkflowProperties, ModifyWorkflowProperties | _ToProto]
1773
-
1774
- # The type of `map` field.
1775
- type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, ModifyWorkflowProperties, ModifyWorkflowProperties | _ToProto]
1776
-
1777
- type array = ::Array[ModifyWorkflowProperties | _ToProto]
1778
-
1779
- type hash[KEY] = ::Hash[KEY, ModifyWorkflowProperties | _ToProto]
1780
- end
1781
- end
1782
- end
1783
- end
1784
- end