temporalio 0.1.1 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
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,4609 +0,0 @@
1
- module Temporalio
2
- module Api
3
- module History
4
- module V1
5
- # Always the first event in workflow history
6
- #
7
- class WorkflowExecutionStartedEventAttributes < ::Protobuf::Message
8
- # Encode the message to a binary string
9
- #
10
- def self.encode: (WorkflowExecutionStartedEventAttributes) -> String
11
-
12
- attr_accessor workflow_type(): ::Temporalio::Api::Common::V1::WorkflowType?
13
-
14
- def workflow_type=: [M < ::Temporalio::Api::Common::V1::WorkflowType::_ToProto] (M?) -> M?
15
- | ...
16
-
17
- def workflow_type!: () -> ::Temporalio::Api::Common::V1::WorkflowType?
18
-
19
- # If this workflow is a child, the namespace our parent lives in.
20
- # SDKs and UI tools should use `parent_workflow_namespace` field but server must use `parent_workflow_namespace_id` only.
21
- #
22
- attr_accessor parent_workflow_namespace(): ::String
23
-
24
- def parent_workflow_namespace!: () -> ::String?
25
-
26
- attr_accessor parent_workflow_namespace_id(): ::String
27
-
28
- def parent_workflow_namespace_id!: () -> ::String?
29
-
30
- # Contains information about parent workflow execution that initiated the child workflow these attributes belong to.
31
- # If the workflow these attributes belong to is not a child workflow of any other execution, this field will not be populated.
32
- #
33
- attr_accessor parent_workflow_execution(): ::Temporalio::Api::Common::V1::WorkflowExecution?
34
-
35
- # Contains information about parent workflow execution that initiated the child workflow these attributes belong to.
36
- # If the workflow these attributes belong to is not a child workflow of any other execution, this field will not be populated.
37
- #
38
- def parent_workflow_execution=: [M < ::Temporalio::Api::Common::V1::WorkflowExecution::_ToProto] (M?) -> M?
39
- | ...
40
-
41
- def parent_workflow_execution!: () -> ::Temporalio::Api::Common::V1::WorkflowExecution?
42
-
43
- # EventID of the child execution initiated event in parent workflow
44
- #
45
- attr_accessor parent_initiated_event_id(): ::Integer
46
-
47
- def parent_initiated_event_id!: () -> ::Integer?
48
-
49
- attr_accessor task_queue(): ::Temporalio::Api::TaskQueue::V1::TaskQueue?
50
-
51
- def task_queue=: [M < ::Temporalio::Api::TaskQueue::V1::TaskQueue::_ToProto] (M?) -> M?
52
- | ...
53
-
54
- def task_queue!: () -> ::Temporalio::Api::TaskQueue::V1::TaskQueue?
55
-
56
- # SDK will deserialize this and provide it as arguments to the workflow function
57
- #
58
- attr_accessor input(): ::Temporalio::Api::Common::V1::Payloads?
59
-
60
- # SDK will deserialize this and provide it as arguments to the workflow function
61
- #
62
- def input=: [M < ::Temporalio::Api::Common::V1::Payloads::_ToProto] (M?) -> M?
63
- | ...
64
-
65
- def input!: () -> ::Temporalio::Api::Common::V1::Payloads?
66
-
67
- # Total workflow execution timeout including retries and continue as new.
68
- #
69
- attr_accessor workflow_execution_timeout(): ::Google::Protobuf::Duration?
70
-
71
- # Total workflow execution timeout including retries and continue as new.
72
- #
73
- def workflow_execution_timeout=: [M < ::Google::Protobuf::Duration::_ToProto] (M?) -> M?
74
- | ...
75
-
76
- def workflow_execution_timeout!: () -> ::Google::Protobuf::Duration?
77
-
78
- # Timeout of a single workflow run.
79
- #
80
- attr_accessor workflow_run_timeout(): ::Google::Protobuf::Duration?
81
-
82
- # Timeout of a single workflow run.
83
- #
84
- def workflow_run_timeout=: [M < ::Google::Protobuf::Duration::_ToProto] (M?) -> M?
85
- | ...
86
-
87
- def workflow_run_timeout!: () -> ::Google::Protobuf::Duration?
88
-
89
- # Timeout of a single workflow task.
90
- #
91
- attr_accessor workflow_task_timeout(): ::Google::Protobuf::Duration?
92
-
93
- # Timeout of a single workflow task.
94
- #
95
- def workflow_task_timeout=: [M < ::Google::Protobuf::Duration::_ToProto] (M?) -> M?
96
- | ...
97
-
98
- def workflow_task_timeout!: () -> ::Google::Protobuf::Duration?
99
-
100
- # Run id of the previous workflow which continued-as-new or retired or cron executed into this
101
- # workflow.
102
- #
103
- attr_accessor continued_execution_run_id(): ::String
104
-
105
- def continued_execution_run_id!: () -> ::String?
106
-
107
- attr_accessor initiator(): ::Temporalio::Api::Enums::V1::ContinueAsNewInitiator
108
-
109
- def initiator=: (::Temporalio::Api::Enums::V1::ContinueAsNewInitiator::values) -> ::Temporalio::Api::Enums::V1::ContinueAsNewInitiator::values
110
- | ...
111
-
112
- def initiator!: () -> ::Temporalio::Api::Enums::V1::ContinueAsNewInitiator?
113
-
114
- attr_accessor continued_failure(): ::Temporalio::Api::Failure::V1::Failure?
115
-
116
- def continued_failure=: [M < ::Temporalio::Api::Failure::V1::Failure::_ToProto] (M?) -> M?
117
- | ...
118
-
119
- def continued_failure!: () -> ::Temporalio::Api::Failure::V1::Failure?
120
-
121
- attr_accessor last_completion_result(): ::Temporalio::Api::Common::V1::Payloads?
122
-
123
- def last_completion_result=: [M < ::Temporalio::Api::Common::V1::Payloads::_ToProto] (M?) -> M?
124
- | ...
125
-
126
- def last_completion_result!: () -> ::Temporalio::Api::Common::V1::Payloads?
127
-
128
- # This is the run id when the WorkflowExecutionStarted event was written.
129
- # A workflow reset changes the execution run_id, but preserves this field.
130
- #
131
- attr_accessor original_execution_run_id(): ::String
132
-
133
- def original_execution_run_id!: () -> ::String?
134
-
135
- # Identity of the client who requested this execution
136
- #
137
- attr_accessor identity(): ::String
138
-
139
- def identity!: () -> ::String?
140
-
141
- # This is the very first runId along the chain of ContinueAsNew, Retry, Cron and Reset.
142
- # Used to identify a chain.
143
- #
144
- attr_accessor first_execution_run_id(): ::String
145
-
146
- def first_execution_run_id!: () -> ::String?
147
-
148
- attr_accessor retry_policy(): ::Temporalio::Api::Common::V1::RetryPolicy?
149
-
150
- def retry_policy=: [M < ::Temporalio::Api::Common::V1::RetryPolicy::_ToProto] (M?) -> M?
151
- | ...
152
-
153
- def retry_policy!: () -> ::Temporalio::Api::Common::V1::RetryPolicy?
154
-
155
- # Starting at 1, the number of times we have tried to execute this workflow
156
- #
157
- attr_accessor attempt(): ::Integer
158
-
159
- def attempt!: () -> ::Integer?
160
-
161
- # The absolute time at which the workflow will be timed out.
162
- # This is passed without change to the next run/retry of a workflow.
163
- #
164
- attr_accessor workflow_execution_expiration_time(): ::Google::Protobuf::Timestamp?
165
-
166
- # The absolute time at which the workflow will be timed out.
167
- # This is passed without change to the next run/retry of a workflow.
168
- #
169
- def workflow_execution_expiration_time=: [M < ::Google::Protobuf::Timestamp::_ToProto] (M?) -> M?
170
- | ...
171
-
172
- def workflow_execution_expiration_time!: () -> ::Google::Protobuf::Timestamp?
173
-
174
- # If this workflow runs on a cron schedule, it will appear here
175
- #
176
- attr_accessor cron_schedule(): ::String
177
-
178
- def cron_schedule!: () -> ::String?
179
-
180
- # For a cron workflow, this contains the amount of time between when this iteration of
181
- # the cron workflow was scheduled and when it should run next per its cron_schedule.
182
- #
183
- attr_accessor first_workflow_task_backoff(): ::Google::Protobuf::Duration?
184
-
185
- # For a cron workflow, this contains the amount of time between when this iteration of
186
- # the cron workflow was scheduled and when it should run next per its cron_schedule.
187
- #
188
- def first_workflow_task_backoff=: [M < ::Google::Protobuf::Duration::_ToProto] (M?) -> M?
189
- | ...
190
-
191
- def first_workflow_task_backoff!: () -> ::Google::Protobuf::Duration?
192
-
193
- attr_accessor memo(): ::Temporalio::Api::Common::V1::Memo?
194
-
195
- def memo=: [M < ::Temporalio::Api::Common::V1::Memo::_ToProto] (M?) -> M?
196
- | ...
197
-
198
- def memo!: () -> ::Temporalio::Api::Common::V1::Memo?
199
-
200
- attr_accessor search_attributes(): ::Temporalio::Api::Common::V1::SearchAttributes?
201
-
202
- def search_attributes=: [M < ::Temporalio::Api::Common::V1::SearchAttributes::_ToProto] (M?) -> M?
203
- | ...
204
-
205
- def search_attributes!: () -> ::Temporalio::Api::Common::V1::SearchAttributes?
206
-
207
- attr_accessor prev_auto_reset_points(): ::Temporalio::Api::Workflow::V1::ResetPoints?
208
-
209
- def prev_auto_reset_points=: [M < ::Temporalio::Api::Workflow::V1::ResetPoints::_ToProto] (M?) -> M?
210
- | ...
211
-
212
- def prev_auto_reset_points!: () -> ::Temporalio::Api::Workflow::V1::ResetPoints?
213
-
214
- attr_accessor header(): ::Temporalio::Api::Common::V1::Header?
215
-
216
- def header=: [M < ::Temporalio::Api::Common::V1::Header::_ToProto] (M?) -> M?
217
- | ...
218
-
219
- def header!: () -> ::Temporalio::Api::Common::V1::Header?
220
-
221
- # Version of the child execution initiated event in parent workflow
222
- # It should be used together with parent_initiated_event_id to identify
223
- # a child initiated event for global namespace
224
- #
225
- attr_accessor parent_initiated_event_version(): ::Integer
226
-
227
- def parent_initiated_event_version!: () -> ::Integer?
228
-
229
- def initialize: (?workflow_type: ::Temporalio::Api::Common::V1::WorkflowType::init?, ?parent_workflow_namespace: ::String, ?parent_workflow_namespace_id: ::String, ?parent_workflow_execution: ::Temporalio::Api::Common::V1::WorkflowExecution::init?, ?parent_initiated_event_id: ::Integer, ?task_queue: ::Temporalio::Api::TaskQueue::V1::TaskQueue::init?, ?input: ::Temporalio::Api::Common::V1::Payloads::init?, ?workflow_execution_timeout: ::Google::Protobuf::Duration::init?, ?workflow_run_timeout: ::Google::Protobuf::Duration::init?, ?workflow_task_timeout: ::Google::Protobuf::Duration::init?, ?continued_execution_run_id: ::String, ?initiator: ::Temporalio::Api::Enums::V1::ContinueAsNewInitiator::init, ?continued_failure: ::Temporalio::Api::Failure::V1::Failure::init?, ?last_completion_result: ::Temporalio::Api::Common::V1::Payloads::init?, ?original_execution_run_id: ::String, ?identity: ::String, ?first_execution_run_id: ::String, ?retry_policy: ::Temporalio::Api::Common::V1::RetryPolicy::init?, ?attempt: ::Integer, ?workflow_execution_expiration_time: ::Google::Protobuf::Timestamp::init?, ?cron_schedule: ::String, ?first_workflow_task_backoff: ::Google::Protobuf::Duration::init?, ?memo: ::Temporalio::Api::Common::V1::Memo::init?, ?search_attributes: ::Temporalio::Api::Common::V1::SearchAttributes::init?, ?prev_auto_reset_points: ::Temporalio::Api::Workflow::V1::ResetPoints::init?, ?header: ::Temporalio::Api::Common::V1::Header::init?, ?parent_initiated_event_version: ::Integer) -> void
230
-
231
- def []: (:workflow_type) -> ::Temporalio::Api::Common::V1::WorkflowType?
232
- | (:parent_workflow_namespace) -> ::String
233
- | (:parent_workflow_namespace_id) -> ::String
234
- | (:parent_workflow_execution) -> ::Temporalio::Api::Common::V1::WorkflowExecution?
235
- | (:parent_initiated_event_id) -> ::Integer
236
- | (:task_queue) -> ::Temporalio::Api::TaskQueue::V1::TaskQueue?
237
- | (:input) -> ::Temporalio::Api::Common::V1::Payloads?
238
- | (:workflow_execution_timeout) -> ::Google::Protobuf::Duration?
239
- | (:workflow_run_timeout) -> ::Google::Protobuf::Duration?
240
- | (:workflow_task_timeout) -> ::Google::Protobuf::Duration?
241
- | (:continued_execution_run_id) -> ::String
242
- | (:initiator) -> ::Temporalio::Api::Enums::V1::ContinueAsNewInitiator
243
- | (:continued_failure) -> ::Temporalio::Api::Failure::V1::Failure?
244
- | (:last_completion_result) -> ::Temporalio::Api::Common::V1::Payloads?
245
- | (:original_execution_run_id) -> ::String
246
- | (:identity) -> ::String
247
- | (:first_execution_run_id) -> ::String
248
- | (:retry_policy) -> ::Temporalio::Api::Common::V1::RetryPolicy?
249
- | (:attempt) -> ::Integer
250
- | (:workflow_execution_expiration_time) -> ::Google::Protobuf::Timestamp?
251
- | (:cron_schedule) -> ::String
252
- | (:first_workflow_task_backoff) -> ::Google::Protobuf::Duration?
253
- | (:memo) -> ::Temporalio::Api::Common::V1::Memo?
254
- | (:search_attributes) -> ::Temporalio::Api::Common::V1::SearchAttributes?
255
- | (:prev_auto_reset_points) -> ::Temporalio::Api::Workflow::V1::ResetPoints?
256
- | (:header) -> ::Temporalio::Api::Common::V1::Header?
257
- | (:parent_initiated_event_version) -> ::Integer
258
- | (::Symbol) -> untyped
259
-
260
- def []=: (:workflow_type, ::Temporalio::Api::Common::V1::WorkflowType?) -> ::Temporalio::Api::Common::V1::WorkflowType?
261
- | [M < ::Temporalio::Api::Common::V1::WorkflowType::_ToProto] (:workflow_type, M?) -> M?
262
- | (:parent_workflow_namespace, ::String) -> ::String
263
- | (:parent_workflow_namespace_id, ::String) -> ::String
264
- | (:parent_workflow_execution, ::Temporalio::Api::Common::V1::WorkflowExecution?) -> ::Temporalio::Api::Common::V1::WorkflowExecution?
265
- | [M < ::Temporalio::Api::Common::V1::WorkflowExecution::_ToProto] (:parent_workflow_execution, M?) -> M?
266
- | (:parent_initiated_event_id, ::Integer) -> ::Integer
267
- | (:task_queue, ::Temporalio::Api::TaskQueue::V1::TaskQueue?) -> ::Temporalio::Api::TaskQueue::V1::TaskQueue?
268
- | [M < ::Temporalio::Api::TaskQueue::V1::TaskQueue::_ToProto] (:task_queue, M?) -> M?
269
- | (:input, ::Temporalio::Api::Common::V1::Payloads?) -> ::Temporalio::Api::Common::V1::Payloads?
270
- | [M < ::Temporalio::Api::Common::V1::Payloads::_ToProto] (:input, M?) -> M?
271
- | (:workflow_execution_timeout, ::Google::Protobuf::Duration?) -> ::Google::Protobuf::Duration?
272
- | [M < ::Google::Protobuf::Duration::_ToProto] (:workflow_execution_timeout, M?) -> M?
273
- | (:workflow_run_timeout, ::Google::Protobuf::Duration?) -> ::Google::Protobuf::Duration?
274
- | [M < ::Google::Protobuf::Duration::_ToProto] (:workflow_run_timeout, M?) -> M?
275
- | (:workflow_task_timeout, ::Google::Protobuf::Duration?) -> ::Google::Protobuf::Duration?
276
- | [M < ::Google::Protobuf::Duration::_ToProto] (:workflow_task_timeout, M?) -> M?
277
- | (:continued_execution_run_id, ::String) -> ::String
278
- | (:initiator, ::Temporalio::Api::Enums::V1::ContinueAsNewInitiator) -> ::Temporalio::Api::Enums::V1::ContinueAsNewInitiator
279
- | (:initiator, ::Temporalio::Api::Enums::V1::ContinueAsNewInitiator::values) -> ::Temporalio::Api::Enums::V1::ContinueAsNewInitiator::values
280
- | (:continued_failure, ::Temporalio::Api::Failure::V1::Failure?) -> ::Temporalio::Api::Failure::V1::Failure?
281
- | [M < ::Temporalio::Api::Failure::V1::Failure::_ToProto] (:continued_failure, M?) -> M?
282
- | (:last_completion_result, ::Temporalio::Api::Common::V1::Payloads?) -> ::Temporalio::Api::Common::V1::Payloads?
283
- | [M < ::Temporalio::Api::Common::V1::Payloads::_ToProto] (:last_completion_result, M?) -> M?
284
- | (:original_execution_run_id, ::String) -> ::String
285
- | (:identity, ::String) -> ::String
286
- | (:first_execution_run_id, ::String) -> ::String
287
- | (:retry_policy, ::Temporalio::Api::Common::V1::RetryPolicy?) -> ::Temporalio::Api::Common::V1::RetryPolicy?
288
- | [M < ::Temporalio::Api::Common::V1::RetryPolicy::_ToProto] (:retry_policy, M?) -> M?
289
- | (:attempt, ::Integer) -> ::Integer
290
- | (:workflow_execution_expiration_time, ::Google::Protobuf::Timestamp?) -> ::Google::Protobuf::Timestamp?
291
- | [M < ::Google::Protobuf::Timestamp::_ToProto] (:workflow_execution_expiration_time, M?) -> M?
292
- | (:cron_schedule, ::String) -> ::String
293
- | (:first_workflow_task_backoff, ::Google::Protobuf::Duration?) -> ::Google::Protobuf::Duration?
294
- | [M < ::Google::Protobuf::Duration::_ToProto] (:first_workflow_task_backoff, M?) -> M?
295
- | (:memo, ::Temporalio::Api::Common::V1::Memo?) -> ::Temporalio::Api::Common::V1::Memo?
296
- | [M < ::Temporalio::Api::Common::V1::Memo::_ToProto] (:memo, M?) -> M?
297
- | (:search_attributes, ::Temporalio::Api::Common::V1::SearchAttributes?) -> ::Temporalio::Api::Common::V1::SearchAttributes?
298
- | [M < ::Temporalio::Api::Common::V1::SearchAttributes::_ToProto] (:search_attributes, M?) -> M?
299
- | (:prev_auto_reset_points, ::Temporalio::Api::Workflow::V1::ResetPoints?) -> ::Temporalio::Api::Workflow::V1::ResetPoints?
300
- | [M < ::Temporalio::Api::Workflow::V1::ResetPoints::_ToProto] (:prev_auto_reset_points, M?) -> M?
301
- | (:header, ::Temporalio::Api::Common::V1::Header?) -> ::Temporalio::Api::Common::V1::Header?
302
- | [M < ::Temporalio::Api::Common::V1::Header::_ToProto] (:header, M?) -> M?
303
- | (:parent_initiated_event_version, ::Integer) -> ::Integer
304
- | (::Symbol, untyped) -> untyped
305
-
306
- interface _ToProto
307
- def to_proto: () -> WorkflowExecutionStartedEventAttributes
308
- end
309
-
310
- # The type of `#initialize` parameter.
311
- type init = WorkflowExecutionStartedEventAttributes | _ToProto
312
-
313
- # The type of `repeated` field.
314
- type field_array = ::Protobuf::Field::FieldArray[WorkflowExecutionStartedEventAttributes, WorkflowExecutionStartedEventAttributes | _ToProto]
315
-
316
- # The type of `map` field.
317
- type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, WorkflowExecutionStartedEventAttributes, WorkflowExecutionStartedEventAttributes | _ToProto]
318
-
319
- type array = ::Array[WorkflowExecutionStartedEventAttributes | _ToProto]
320
-
321
- type hash[KEY] = ::Hash[KEY, WorkflowExecutionStartedEventAttributes | _ToProto]
322
- end
323
-
324
- class WorkflowExecutionCompletedEventAttributes < ::Protobuf::Message
325
- # Encode the message to a binary string
326
- #
327
- def self.encode: (WorkflowExecutionCompletedEventAttributes) -> String
328
-
329
- # Serialized result of workflow completion (ie: The return value of the workflow function)
330
- #
331
- attr_accessor result(): ::Temporalio::Api::Common::V1::Payloads?
332
-
333
- # Serialized result of workflow completion (ie: The return value of the workflow function)
334
- #
335
- def result=: [M < ::Temporalio::Api::Common::V1::Payloads::_ToProto] (M?) -> M?
336
- | ...
337
-
338
- def result!: () -> ::Temporalio::Api::Common::V1::Payloads?
339
-
340
- # The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
341
- #
342
- attr_accessor workflow_task_completed_event_id(): ::Integer
343
-
344
- def workflow_task_completed_event_id!: () -> ::Integer?
345
-
346
- # If another run is started by cron, this contains the new run id.
347
- #
348
- attr_accessor new_execution_run_id(): ::String
349
-
350
- def new_execution_run_id!: () -> ::String?
351
-
352
- def initialize: (?result: ::Temporalio::Api::Common::V1::Payloads::init?, ?workflow_task_completed_event_id: ::Integer, ?new_execution_run_id: ::String) -> void
353
-
354
- def []: (:result) -> ::Temporalio::Api::Common::V1::Payloads?
355
- | (:workflow_task_completed_event_id) -> ::Integer
356
- | (:new_execution_run_id) -> ::String
357
- | (::Symbol) -> untyped
358
-
359
- def []=: (:result, ::Temporalio::Api::Common::V1::Payloads?) -> ::Temporalio::Api::Common::V1::Payloads?
360
- | [M < ::Temporalio::Api::Common::V1::Payloads::_ToProto] (:result, M?) -> M?
361
- | (:workflow_task_completed_event_id, ::Integer) -> ::Integer
362
- | (:new_execution_run_id, ::String) -> ::String
363
- | (::Symbol, untyped) -> untyped
364
-
365
- interface _ToProto
366
- def to_proto: () -> WorkflowExecutionCompletedEventAttributes
367
- end
368
-
369
- # The type of `#initialize` parameter.
370
- type init = WorkflowExecutionCompletedEventAttributes | _ToProto
371
-
372
- # The type of `repeated` field.
373
- type field_array = ::Protobuf::Field::FieldArray[WorkflowExecutionCompletedEventAttributes, WorkflowExecutionCompletedEventAttributes | _ToProto]
374
-
375
- # The type of `map` field.
376
- type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, WorkflowExecutionCompletedEventAttributes, WorkflowExecutionCompletedEventAttributes | _ToProto]
377
-
378
- type array = ::Array[WorkflowExecutionCompletedEventAttributes | _ToProto]
379
-
380
- type hash[KEY] = ::Hash[KEY, WorkflowExecutionCompletedEventAttributes | _ToProto]
381
- end
382
-
383
- class WorkflowExecutionFailedEventAttributes < ::Protobuf::Message
384
- # Encode the message to a binary string
385
- #
386
- def self.encode: (WorkflowExecutionFailedEventAttributes) -> String
387
-
388
- # Serialized result of workflow failure (ex: An exception thrown, or error returned)
389
- #
390
- attr_accessor failure(): ::Temporalio::Api::Failure::V1::Failure?
391
-
392
- # Serialized result of workflow failure (ex: An exception thrown, or error returned)
393
- #
394
- def failure=: [M < ::Temporalio::Api::Failure::V1::Failure::_ToProto] (M?) -> M?
395
- | ...
396
-
397
- def failure!: () -> ::Temporalio::Api::Failure::V1::Failure?
398
-
399
- attr_accessor retry_state(): ::Temporalio::Api::Enums::V1::RetryState
400
-
401
- def retry_state=: (::Temporalio::Api::Enums::V1::RetryState::values) -> ::Temporalio::Api::Enums::V1::RetryState::values
402
- | ...
403
-
404
- def retry_state!: () -> ::Temporalio::Api::Enums::V1::RetryState?
405
-
406
- # The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
407
- #
408
- attr_accessor workflow_task_completed_event_id(): ::Integer
409
-
410
- def workflow_task_completed_event_id!: () -> ::Integer?
411
-
412
- # If another run is started by cron or retry, this contains the new run id.
413
- #
414
- attr_accessor new_execution_run_id(): ::String
415
-
416
- def new_execution_run_id!: () -> ::String?
417
-
418
- def initialize: (?failure: ::Temporalio::Api::Failure::V1::Failure::init?, ?retry_state: ::Temporalio::Api::Enums::V1::RetryState::init, ?workflow_task_completed_event_id: ::Integer, ?new_execution_run_id: ::String) -> void
419
-
420
- def []: (:failure) -> ::Temporalio::Api::Failure::V1::Failure?
421
- | (:retry_state) -> ::Temporalio::Api::Enums::V1::RetryState
422
- | (:workflow_task_completed_event_id) -> ::Integer
423
- | (:new_execution_run_id) -> ::String
424
- | (::Symbol) -> untyped
425
-
426
- def []=: (:failure, ::Temporalio::Api::Failure::V1::Failure?) -> ::Temporalio::Api::Failure::V1::Failure?
427
- | [M < ::Temporalio::Api::Failure::V1::Failure::_ToProto] (:failure, M?) -> M?
428
- | (:retry_state, ::Temporalio::Api::Enums::V1::RetryState) -> ::Temporalio::Api::Enums::V1::RetryState
429
- | (:retry_state, ::Temporalio::Api::Enums::V1::RetryState::values) -> ::Temporalio::Api::Enums::V1::RetryState::values
430
- | (:workflow_task_completed_event_id, ::Integer) -> ::Integer
431
- | (:new_execution_run_id, ::String) -> ::String
432
- | (::Symbol, untyped) -> untyped
433
-
434
- interface _ToProto
435
- def to_proto: () -> WorkflowExecutionFailedEventAttributes
436
- end
437
-
438
- # The type of `#initialize` parameter.
439
- type init = WorkflowExecutionFailedEventAttributes | _ToProto
440
-
441
- # The type of `repeated` field.
442
- type field_array = ::Protobuf::Field::FieldArray[WorkflowExecutionFailedEventAttributes, WorkflowExecutionFailedEventAttributes | _ToProto]
443
-
444
- # The type of `map` field.
445
- type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, WorkflowExecutionFailedEventAttributes, WorkflowExecutionFailedEventAttributes | _ToProto]
446
-
447
- type array = ::Array[WorkflowExecutionFailedEventAttributes | _ToProto]
448
-
449
- type hash[KEY] = ::Hash[KEY, WorkflowExecutionFailedEventAttributes | _ToProto]
450
- end
451
-
452
- class WorkflowExecutionTimedOutEventAttributes < ::Protobuf::Message
453
- # Encode the message to a binary string
454
- #
455
- def self.encode: (WorkflowExecutionTimedOutEventAttributes) -> String
456
-
457
- attr_accessor retry_state(): ::Temporalio::Api::Enums::V1::RetryState
458
-
459
- def retry_state=: (::Temporalio::Api::Enums::V1::RetryState::values) -> ::Temporalio::Api::Enums::V1::RetryState::values
460
- | ...
461
-
462
- def retry_state!: () -> ::Temporalio::Api::Enums::V1::RetryState?
463
-
464
- # If another run is started by cron or retry, this contains the new run id.
465
- #
466
- attr_accessor new_execution_run_id(): ::String
467
-
468
- def new_execution_run_id!: () -> ::String?
469
-
470
- def initialize: (?retry_state: ::Temporalio::Api::Enums::V1::RetryState::init, ?new_execution_run_id: ::String) -> void
471
-
472
- def []: (:retry_state) -> ::Temporalio::Api::Enums::V1::RetryState
473
- | (:new_execution_run_id) -> ::String
474
- | (::Symbol) -> untyped
475
-
476
- def []=: (:retry_state, ::Temporalio::Api::Enums::V1::RetryState) -> ::Temporalio::Api::Enums::V1::RetryState
477
- | (:retry_state, ::Temporalio::Api::Enums::V1::RetryState::values) -> ::Temporalio::Api::Enums::V1::RetryState::values
478
- | (:new_execution_run_id, ::String) -> ::String
479
- | (::Symbol, untyped) -> untyped
480
-
481
- interface _ToProto
482
- def to_proto: () -> WorkflowExecutionTimedOutEventAttributes
483
- end
484
-
485
- # The type of `#initialize` parameter.
486
- type init = WorkflowExecutionTimedOutEventAttributes | _ToProto
487
-
488
- # The type of `repeated` field.
489
- type field_array = ::Protobuf::Field::FieldArray[WorkflowExecutionTimedOutEventAttributes, WorkflowExecutionTimedOutEventAttributes | _ToProto]
490
-
491
- # The type of `map` field.
492
- type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, WorkflowExecutionTimedOutEventAttributes, WorkflowExecutionTimedOutEventAttributes | _ToProto]
493
-
494
- type array = ::Array[WorkflowExecutionTimedOutEventAttributes | _ToProto]
495
-
496
- type hash[KEY] = ::Hash[KEY, WorkflowExecutionTimedOutEventAttributes | _ToProto]
497
- end
498
-
499
- class WorkflowExecutionContinuedAsNewEventAttributes < ::Protobuf::Message
500
- # Encode the message to a binary string
501
- #
502
- def self.encode: (WorkflowExecutionContinuedAsNewEventAttributes) -> String
503
-
504
- # The run ID of the new workflow started by this continue-as-new
505
- #
506
- attr_accessor new_execution_run_id(): ::String
507
-
508
- def new_execution_run_id!: () -> ::String?
509
-
510
- attr_accessor workflow_type(): ::Temporalio::Api::Common::V1::WorkflowType?
511
-
512
- def workflow_type=: [M < ::Temporalio::Api::Common::V1::WorkflowType::_ToProto] (M?) -> M?
513
- | ...
514
-
515
- def workflow_type!: () -> ::Temporalio::Api::Common::V1::WorkflowType?
516
-
517
- attr_accessor task_queue(): ::Temporalio::Api::TaskQueue::V1::TaskQueue?
518
-
519
- def task_queue=: [M < ::Temporalio::Api::TaskQueue::V1::TaskQueue::_ToProto] (M?) -> M?
520
- | ...
521
-
522
- def task_queue!: () -> ::Temporalio::Api::TaskQueue::V1::TaskQueue?
523
-
524
- attr_accessor input(): ::Temporalio::Api::Common::V1::Payloads?
525
-
526
- def input=: [M < ::Temporalio::Api::Common::V1::Payloads::_ToProto] (M?) -> M?
527
- | ...
528
-
529
- def input!: () -> ::Temporalio::Api::Common::V1::Payloads?
530
-
531
- # Timeout of a single workflow run.
532
- #
533
- attr_accessor workflow_run_timeout(): ::Google::Protobuf::Duration?
534
-
535
- # Timeout of a single workflow run.
536
- #
537
- def workflow_run_timeout=: [M < ::Google::Protobuf::Duration::_ToProto] (M?) -> M?
538
- | ...
539
-
540
- def workflow_run_timeout!: () -> ::Google::Protobuf::Duration?
541
-
542
- # Timeout of a single workflow task.
543
- #
544
- attr_accessor workflow_task_timeout(): ::Google::Protobuf::Duration?
545
-
546
- # Timeout of a single workflow task.
547
- #
548
- def workflow_task_timeout=: [M < ::Google::Protobuf::Duration::_ToProto] (M?) -> M?
549
- | ...
550
-
551
- def workflow_task_timeout!: () -> ::Google::Protobuf::Duration?
552
-
553
- # The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
554
- #
555
- attr_accessor workflow_task_completed_event_id(): ::Integer
556
-
557
- def workflow_task_completed_event_id!: () -> ::Integer?
558
-
559
- # TODO: How and is this used?
560
- #
561
- attr_accessor backoff_start_interval(): ::Google::Protobuf::Duration?
562
-
563
- # TODO: How and is this used?
564
- #
565
- def backoff_start_interval=: [M < ::Google::Protobuf::Duration::_ToProto] (M?) -> M?
566
- | ...
567
-
568
- def backoff_start_interval!: () -> ::Google::Protobuf::Duration?
569
-
570
- attr_accessor initiator(): ::Temporalio::Api::Enums::V1::ContinueAsNewInitiator
571
-
572
- def initiator=: (::Temporalio::Api::Enums::V1::ContinueAsNewInitiator::values) -> ::Temporalio::Api::Enums::V1::ContinueAsNewInitiator::values
573
- | ...
574
-
575
- def initiator!: () -> ::Temporalio::Api::Enums::V1::ContinueAsNewInitiator?
576
-
577
- # TODO: David are these right?
578
- # Deprecated. If a workflow's retry policy would cause a new run to start when the current one
579
- # has failed, this field would be populated with that failure. Now (when supported by server
580
- # and sdk) the final event will be `WORKFLOW_EXECUTION_FAILED` with `new_execution_run_id` set.
581
- #
582
- attr_accessor failure(): ::Temporalio::Api::Failure::V1::Failure?
583
-
584
- # TODO: David are these right?
585
- # Deprecated. If a workflow's retry policy would cause a new run to start when the current one
586
- # has failed, this field would be populated with that failure. Now (when supported by server
587
- # and sdk) the final event will be `WORKFLOW_EXECUTION_FAILED` with `new_execution_run_id` set.
588
- #
589
- def failure=: [M < ::Temporalio::Api::Failure::V1::Failure::_ToProto] (M?) -> M?
590
- | ...
591
-
592
- def failure!: () -> ::Temporalio::Api::Failure::V1::Failure?
593
-
594
- # TODO: Is this the result of *this* workflow as it continued-as-new?
595
- #
596
- attr_accessor last_completion_result(): ::Temporalio::Api::Common::V1::Payloads?
597
-
598
- # TODO: Is this the result of *this* workflow as it continued-as-new?
599
- #
600
- def last_completion_result=: [M < ::Temporalio::Api::Common::V1::Payloads::_ToProto] (M?) -> M?
601
- | ...
602
-
603
- def last_completion_result!: () -> ::Temporalio::Api::Common::V1::Payloads?
604
-
605
- attr_accessor header(): ::Temporalio::Api::Common::V1::Header?
606
-
607
- def header=: [M < ::Temporalio::Api::Common::V1::Header::_ToProto] (M?) -> M?
608
- | ...
609
-
610
- def header!: () -> ::Temporalio::Api::Common::V1::Header?
611
-
612
- attr_accessor memo(): ::Temporalio::Api::Common::V1::Memo?
613
-
614
- def memo=: [M < ::Temporalio::Api::Common::V1::Memo::_ToProto] (M?) -> M?
615
- | ...
616
-
617
- def memo!: () -> ::Temporalio::Api::Common::V1::Memo?
618
-
619
- attr_accessor search_attributes(): ::Temporalio::Api::Common::V1::SearchAttributes?
620
-
621
- def search_attributes=: [M < ::Temporalio::Api::Common::V1::SearchAttributes::_ToProto] (M?) -> M?
622
- | ...
623
-
624
- def search_attributes!: () -> ::Temporalio::Api::Common::V1::SearchAttributes?
625
-
626
- def initialize: (?new_execution_run_id: ::String, ?workflow_type: ::Temporalio::Api::Common::V1::WorkflowType::init?, ?task_queue: ::Temporalio::Api::TaskQueue::V1::TaskQueue::init?, ?input: ::Temporalio::Api::Common::V1::Payloads::init?, ?workflow_run_timeout: ::Google::Protobuf::Duration::init?, ?workflow_task_timeout: ::Google::Protobuf::Duration::init?, ?workflow_task_completed_event_id: ::Integer, ?backoff_start_interval: ::Google::Protobuf::Duration::init?, ?initiator: ::Temporalio::Api::Enums::V1::ContinueAsNewInitiator::init, ?failure: ::Temporalio::Api::Failure::V1::Failure::init?, ?last_completion_result: ::Temporalio::Api::Common::V1::Payloads::init?, ?header: ::Temporalio::Api::Common::V1::Header::init?, ?memo: ::Temporalio::Api::Common::V1::Memo::init?, ?search_attributes: ::Temporalio::Api::Common::V1::SearchAttributes::init?) -> void
627
-
628
- def []: (:new_execution_run_id) -> ::String
629
- | (:workflow_type) -> ::Temporalio::Api::Common::V1::WorkflowType?
630
- | (:task_queue) -> ::Temporalio::Api::TaskQueue::V1::TaskQueue?
631
- | (:input) -> ::Temporalio::Api::Common::V1::Payloads?
632
- | (:workflow_run_timeout) -> ::Google::Protobuf::Duration?
633
- | (:workflow_task_timeout) -> ::Google::Protobuf::Duration?
634
- | (:workflow_task_completed_event_id) -> ::Integer
635
- | (:backoff_start_interval) -> ::Google::Protobuf::Duration?
636
- | (:initiator) -> ::Temporalio::Api::Enums::V1::ContinueAsNewInitiator
637
- | (:failure) -> ::Temporalio::Api::Failure::V1::Failure?
638
- | (:last_completion_result) -> ::Temporalio::Api::Common::V1::Payloads?
639
- | (:header) -> ::Temporalio::Api::Common::V1::Header?
640
- | (:memo) -> ::Temporalio::Api::Common::V1::Memo?
641
- | (:search_attributes) -> ::Temporalio::Api::Common::V1::SearchAttributes?
642
- | (::Symbol) -> untyped
643
-
644
- def []=: (:new_execution_run_id, ::String) -> ::String
645
- | (:workflow_type, ::Temporalio::Api::Common::V1::WorkflowType?) -> ::Temporalio::Api::Common::V1::WorkflowType?
646
- | [M < ::Temporalio::Api::Common::V1::WorkflowType::_ToProto] (:workflow_type, M?) -> M?
647
- | (:task_queue, ::Temporalio::Api::TaskQueue::V1::TaskQueue?) -> ::Temporalio::Api::TaskQueue::V1::TaskQueue?
648
- | [M < ::Temporalio::Api::TaskQueue::V1::TaskQueue::_ToProto] (:task_queue, M?) -> M?
649
- | (:input, ::Temporalio::Api::Common::V1::Payloads?) -> ::Temporalio::Api::Common::V1::Payloads?
650
- | [M < ::Temporalio::Api::Common::V1::Payloads::_ToProto] (:input, M?) -> M?
651
- | (:workflow_run_timeout, ::Google::Protobuf::Duration?) -> ::Google::Protobuf::Duration?
652
- | [M < ::Google::Protobuf::Duration::_ToProto] (:workflow_run_timeout, M?) -> M?
653
- | (:workflow_task_timeout, ::Google::Protobuf::Duration?) -> ::Google::Protobuf::Duration?
654
- | [M < ::Google::Protobuf::Duration::_ToProto] (:workflow_task_timeout, M?) -> M?
655
- | (:workflow_task_completed_event_id, ::Integer) -> ::Integer
656
- | (:backoff_start_interval, ::Google::Protobuf::Duration?) -> ::Google::Protobuf::Duration?
657
- | [M < ::Google::Protobuf::Duration::_ToProto] (:backoff_start_interval, M?) -> M?
658
- | (:initiator, ::Temporalio::Api::Enums::V1::ContinueAsNewInitiator) -> ::Temporalio::Api::Enums::V1::ContinueAsNewInitiator
659
- | (:initiator, ::Temporalio::Api::Enums::V1::ContinueAsNewInitiator::values) -> ::Temporalio::Api::Enums::V1::ContinueAsNewInitiator::values
660
- | (:failure, ::Temporalio::Api::Failure::V1::Failure?) -> ::Temporalio::Api::Failure::V1::Failure?
661
- | [M < ::Temporalio::Api::Failure::V1::Failure::_ToProto] (:failure, M?) -> M?
662
- | (:last_completion_result, ::Temporalio::Api::Common::V1::Payloads?) -> ::Temporalio::Api::Common::V1::Payloads?
663
- | [M < ::Temporalio::Api::Common::V1::Payloads::_ToProto] (:last_completion_result, M?) -> M?
664
- | (:header, ::Temporalio::Api::Common::V1::Header?) -> ::Temporalio::Api::Common::V1::Header?
665
- | [M < ::Temporalio::Api::Common::V1::Header::_ToProto] (:header, M?) -> M?
666
- | (:memo, ::Temporalio::Api::Common::V1::Memo?) -> ::Temporalio::Api::Common::V1::Memo?
667
- | [M < ::Temporalio::Api::Common::V1::Memo::_ToProto] (:memo, M?) -> M?
668
- | (:search_attributes, ::Temporalio::Api::Common::V1::SearchAttributes?) -> ::Temporalio::Api::Common::V1::SearchAttributes?
669
- | [M < ::Temporalio::Api::Common::V1::SearchAttributes::_ToProto] (:search_attributes, M?) -> M?
670
- | (::Symbol, untyped) -> untyped
671
-
672
- interface _ToProto
673
- def to_proto: () -> WorkflowExecutionContinuedAsNewEventAttributes
674
- end
675
-
676
- # The type of `#initialize` parameter.
677
- type init = WorkflowExecutionContinuedAsNewEventAttributes | _ToProto
678
-
679
- # The type of `repeated` field.
680
- type field_array = ::Protobuf::Field::FieldArray[WorkflowExecutionContinuedAsNewEventAttributes, WorkflowExecutionContinuedAsNewEventAttributes | _ToProto]
681
-
682
- # The type of `map` field.
683
- type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, WorkflowExecutionContinuedAsNewEventAttributes, WorkflowExecutionContinuedAsNewEventAttributes | _ToProto]
684
-
685
- type array = ::Array[WorkflowExecutionContinuedAsNewEventAttributes | _ToProto]
686
-
687
- type hash[KEY] = ::Hash[KEY, WorkflowExecutionContinuedAsNewEventAttributes | _ToProto]
688
- end
689
-
690
- class WorkflowTaskScheduledEventAttributes < ::Protobuf::Message
691
- # Encode the message to a binary string
692
- #
693
- def self.encode: (WorkflowTaskScheduledEventAttributes) -> String
694
-
695
- # The task queue this workflow task was enqueued in, which could be a normal or sticky queue
696
- #
697
- attr_accessor task_queue(): ::Temporalio::Api::TaskQueue::V1::TaskQueue?
698
-
699
- # The task queue this workflow task was enqueued in, which could be a normal or sticky queue
700
- #
701
- def task_queue=: [M < ::Temporalio::Api::TaskQueue::V1::TaskQueue::_ToProto] (M?) -> M?
702
- | ...
703
-
704
- def task_queue!: () -> ::Temporalio::Api::TaskQueue::V1::TaskQueue?
705
-
706
- # How long the worker has to process this task once receiving it before it times out
707
- #
708
- # (-- api-linter: core::0140::prepositions=disabled
709
- # aip.dev/not-precedent: "to" is used to indicate interval. --)
710
- #
711
- attr_accessor start_to_close_timeout(): ::Google::Protobuf::Duration?
712
-
713
- # How long the worker has to process this task once receiving it before it times out
714
- #
715
- # (-- api-linter: core::0140::prepositions=disabled
716
- # aip.dev/not-precedent: "to" is used to indicate interval. --)
717
- #
718
- def start_to_close_timeout=: [M < ::Google::Protobuf::Duration::_ToProto] (M?) -> M?
719
- | ...
720
-
721
- def start_to_close_timeout!: () -> ::Google::Protobuf::Duration?
722
-
723
- # Starting at 1, how many attempts there have been to complete this task
724
- #
725
- attr_accessor attempt(): ::Integer
726
-
727
- def attempt!: () -> ::Integer?
728
-
729
- def initialize: (?task_queue: ::Temporalio::Api::TaskQueue::V1::TaskQueue::init?, ?start_to_close_timeout: ::Google::Protobuf::Duration::init?, ?attempt: ::Integer) -> void
730
-
731
- def []: (:task_queue) -> ::Temporalio::Api::TaskQueue::V1::TaskQueue?
732
- | (:start_to_close_timeout) -> ::Google::Protobuf::Duration?
733
- | (:attempt) -> ::Integer
734
- | (::Symbol) -> untyped
735
-
736
- def []=: (:task_queue, ::Temporalio::Api::TaskQueue::V1::TaskQueue?) -> ::Temporalio::Api::TaskQueue::V1::TaskQueue?
737
- | [M < ::Temporalio::Api::TaskQueue::V1::TaskQueue::_ToProto] (:task_queue, M?) -> M?
738
- | (:start_to_close_timeout, ::Google::Protobuf::Duration?) -> ::Google::Protobuf::Duration?
739
- | [M < ::Google::Protobuf::Duration::_ToProto] (:start_to_close_timeout, M?) -> M?
740
- | (:attempt, ::Integer) -> ::Integer
741
- | (::Symbol, untyped) -> untyped
742
-
743
- interface _ToProto
744
- def to_proto: () -> WorkflowTaskScheduledEventAttributes
745
- end
746
-
747
- # The type of `#initialize` parameter.
748
- type init = WorkflowTaskScheduledEventAttributes | _ToProto
749
-
750
- # The type of `repeated` field.
751
- type field_array = ::Protobuf::Field::FieldArray[WorkflowTaskScheduledEventAttributes, WorkflowTaskScheduledEventAttributes | _ToProto]
752
-
753
- # The type of `map` field.
754
- type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, WorkflowTaskScheduledEventAttributes, WorkflowTaskScheduledEventAttributes | _ToProto]
755
-
756
- type array = ::Array[WorkflowTaskScheduledEventAttributes | _ToProto]
757
-
758
- type hash[KEY] = ::Hash[KEY, WorkflowTaskScheduledEventAttributes | _ToProto]
759
- end
760
-
761
- class WorkflowTaskStartedEventAttributes < ::Protobuf::Message
762
- # Encode the message to a binary string
763
- #
764
- def self.encode: (WorkflowTaskStartedEventAttributes) -> String
765
-
766
- # The id of the `WORKFLOW_TASK_SCHEDULED` event this task corresponds to
767
- #
768
- attr_accessor scheduled_event_id(): ::Integer
769
-
770
- def scheduled_event_id!: () -> ::Integer?
771
-
772
- # Identity of the worker who picked up this task
773
- #
774
- attr_accessor identity(): ::String
775
-
776
- def identity!: () -> ::String?
777
-
778
- # TODO: ? Appears unused?
779
- #
780
- attr_accessor request_id(): ::String
781
-
782
- def request_id!: () -> ::String?
783
-
784
- # True if this workflow should continue-as-new soon because its history size (in
785
- # either event count or bytes) is getting large.
786
- #
787
- attr_accessor suggest_continue_as_new(): bool
788
-
789
- def suggest_continue_as_new!: () -> bool?
790
-
791
- # Total history size in bytes, which the workflow might use to decide when to
792
- # continue-as-new regardless of the suggestion. Note that history event count is
793
- # just the event id of this event, so we don't include it explicitly here.
794
- #
795
- attr_accessor history_size_bytes(): ::Integer
796
-
797
- def history_size_bytes!: () -> ::Integer?
798
-
799
- def initialize: (?scheduled_event_id: ::Integer, ?identity: ::String, ?request_id: ::String, ?suggest_continue_as_new: bool, ?history_size_bytes: ::Integer) -> void
800
-
801
- def []: (:scheduled_event_id) -> ::Integer
802
- | (:identity) -> ::String
803
- | (:request_id) -> ::String
804
- | (:suggest_continue_as_new) -> bool
805
- | (:history_size_bytes) -> ::Integer
806
- | (::Symbol) -> untyped
807
-
808
- def []=: (:scheduled_event_id, ::Integer) -> ::Integer
809
- | (:identity, ::String) -> ::String
810
- | (:request_id, ::String) -> ::String
811
- | (:suggest_continue_as_new, bool) -> bool
812
- | (:history_size_bytes, ::Integer) -> ::Integer
813
- | (::Symbol, untyped) -> untyped
814
-
815
- def suggest_continue_as_new?: () -> bool
816
-
817
- interface _ToProto
818
- def to_proto: () -> WorkflowTaskStartedEventAttributes
819
- end
820
-
821
- # The type of `#initialize` parameter.
822
- type init = WorkflowTaskStartedEventAttributes | _ToProto
823
-
824
- # The type of `repeated` field.
825
- type field_array = ::Protobuf::Field::FieldArray[WorkflowTaskStartedEventAttributes, WorkflowTaskStartedEventAttributes | _ToProto]
826
-
827
- # The type of `map` field.
828
- type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, WorkflowTaskStartedEventAttributes, WorkflowTaskStartedEventAttributes | _ToProto]
829
-
830
- type array = ::Array[WorkflowTaskStartedEventAttributes | _ToProto]
831
-
832
- type hash[KEY] = ::Hash[KEY, WorkflowTaskStartedEventAttributes | _ToProto]
833
- end
834
-
835
- class WorkflowTaskCompletedEventAttributes < ::Protobuf::Message
836
- # Encode the message to a binary string
837
- #
838
- def self.encode: (WorkflowTaskCompletedEventAttributes) -> String
839
-
840
- # The id of the `WORKFLOW_TASK_SCHEDULED` event this task corresponds to
841
- #
842
- attr_accessor scheduled_event_id(): ::Integer
843
-
844
- def scheduled_event_id!: () -> ::Integer?
845
-
846
- # The id of the `WORKFLOW_TASK_STARTED` event this task corresponds to
847
- #
848
- attr_accessor started_event_id(): ::Integer
849
-
850
- def started_event_id!: () -> ::Integer?
851
-
852
- # Identity of the worker who completed this task
853
- #
854
- attr_accessor identity(): ::String
855
-
856
- def identity!: () -> ::String?
857
-
858
- # Binary ID of the worker who completed this task
859
- #
860
- attr_accessor binary_checksum(): ::String
861
-
862
- def binary_checksum!: () -> ::String?
863
-
864
- # ID of the worker who picked up this workflow task, or missing if worker
865
- # is not using versioning.
866
- #
867
- attr_accessor worker_versioning_id(): ::Temporalio::Api::TaskQueue::V1::VersionId?
868
-
869
- # ID of the worker who picked up this workflow task, or missing if worker
870
- # is not using versioning.
871
- #
872
- def worker_versioning_id=: [M < ::Temporalio::Api::TaskQueue::V1::VersionId::_ToProto] (M?) -> M?
873
- | ...
874
-
875
- def worker_versioning_id!: () -> ::Temporalio::Api::TaskQueue::V1::VersionId?
876
-
877
- # Data the SDK wishes to record for itself, but server need not interpret, and does not
878
- # directly impact workflow state.
879
- #
880
- attr_accessor sdk_metadata(): ::Temporalio::Api::Sdk::V1::WorkflowTaskCompletedMetadata?
881
-
882
- # Data the SDK wishes to record for itself, but server need not interpret, and does not
883
- # directly impact workflow state.
884
- #
885
- def sdk_metadata=: [M < ::Temporalio::Api::Sdk::V1::WorkflowTaskCompletedMetadata::_ToProto] (M?) -> M?
886
- | ...
887
-
888
- def sdk_metadata!: () -> ::Temporalio::Api::Sdk::V1::WorkflowTaskCompletedMetadata?
889
-
890
- # Local usage data sent during workflow task completion and recorded here for posterity
891
- #
892
- attr_accessor metering_metadata(): ::Temporalio::Api::Common::V1::MeteringMetadata?
893
-
894
- # Local usage data sent during workflow task completion and recorded here for posterity
895
- #
896
- def metering_metadata=: [M < ::Temporalio::Api::Common::V1::MeteringMetadata::_ToProto] (M?) -> M?
897
- | ...
898
-
899
- def metering_metadata!: () -> ::Temporalio::Api::Common::V1::MeteringMetadata?
900
-
901
- def initialize: (?scheduled_event_id: ::Integer, ?started_event_id: ::Integer, ?identity: ::String, ?binary_checksum: ::String, ?worker_versioning_id: ::Temporalio::Api::TaskQueue::V1::VersionId::init?, ?sdk_metadata: ::Temporalio::Api::Sdk::V1::WorkflowTaskCompletedMetadata::init?, ?metering_metadata: ::Temporalio::Api::Common::V1::MeteringMetadata::init?) -> void
902
-
903
- def []: (:scheduled_event_id) -> ::Integer
904
- | (:started_event_id) -> ::Integer
905
- | (:identity) -> ::String
906
- | (:binary_checksum) -> ::String
907
- | (:worker_versioning_id) -> ::Temporalio::Api::TaskQueue::V1::VersionId?
908
- | (:sdk_metadata) -> ::Temporalio::Api::Sdk::V1::WorkflowTaskCompletedMetadata?
909
- | (:metering_metadata) -> ::Temporalio::Api::Common::V1::MeteringMetadata?
910
- | (::Symbol) -> untyped
911
-
912
- def []=: (:scheduled_event_id, ::Integer) -> ::Integer
913
- | (:started_event_id, ::Integer) -> ::Integer
914
- | (:identity, ::String) -> ::String
915
- | (:binary_checksum, ::String) -> ::String
916
- | (:worker_versioning_id, ::Temporalio::Api::TaskQueue::V1::VersionId?) -> ::Temporalio::Api::TaskQueue::V1::VersionId?
917
- | [M < ::Temporalio::Api::TaskQueue::V1::VersionId::_ToProto] (:worker_versioning_id, M?) -> M?
918
- | (:sdk_metadata, ::Temporalio::Api::Sdk::V1::WorkflowTaskCompletedMetadata?) -> ::Temporalio::Api::Sdk::V1::WorkflowTaskCompletedMetadata?
919
- | [M < ::Temporalio::Api::Sdk::V1::WorkflowTaskCompletedMetadata::_ToProto] (:sdk_metadata, M?) -> M?
920
- | (:metering_metadata, ::Temporalio::Api::Common::V1::MeteringMetadata?) -> ::Temporalio::Api::Common::V1::MeteringMetadata?
921
- | [M < ::Temporalio::Api::Common::V1::MeteringMetadata::_ToProto] (:metering_metadata, M?) -> M?
922
- | (::Symbol, untyped) -> untyped
923
-
924
- interface _ToProto
925
- def to_proto: () -> WorkflowTaskCompletedEventAttributes
926
- end
927
-
928
- # The type of `#initialize` parameter.
929
- type init = WorkflowTaskCompletedEventAttributes | _ToProto
930
-
931
- # The type of `repeated` field.
932
- type field_array = ::Protobuf::Field::FieldArray[WorkflowTaskCompletedEventAttributes, WorkflowTaskCompletedEventAttributes | _ToProto]
933
-
934
- # The type of `map` field.
935
- type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, WorkflowTaskCompletedEventAttributes, WorkflowTaskCompletedEventAttributes | _ToProto]
936
-
937
- type array = ::Array[WorkflowTaskCompletedEventAttributes | _ToProto]
938
-
939
- type hash[KEY] = ::Hash[KEY, WorkflowTaskCompletedEventAttributes | _ToProto]
940
- end
941
-
942
- class WorkflowTaskTimedOutEventAttributes < ::Protobuf::Message
943
- # Encode the message to a binary string
944
- #
945
- def self.encode: (WorkflowTaskTimedOutEventAttributes) -> String
946
-
947
- # The id of the `WORKFLOW_TASK_SCHEDULED` event this task corresponds to
948
- #
949
- attr_accessor scheduled_event_id(): ::Integer
950
-
951
- def scheduled_event_id!: () -> ::Integer?
952
-
953
- # The id of the `WORKFLOW_TASK_STARTED` event this task corresponds to
954
- #
955
- attr_accessor started_event_id(): ::Integer
956
-
957
- def started_event_id!: () -> ::Integer?
958
-
959
- attr_accessor timeout_type(): ::Temporalio::Api::Enums::V1::TimeoutType
960
-
961
- def timeout_type=: (::Temporalio::Api::Enums::V1::TimeoutType::values) -> ::Temporalio::Api::Enums::V1::TimeoutType::values
962
- | ...
963
-
964
- def timeout_type!: () -> ::Temporalio::Api::Enums::V1::TimeoutType?
965
-
966
- def initialize: (?scheduled_event_id: ::Integer, ?started_event_id: ::Integer, ?timeout_type: ::Temporalio::Api::Enums::V1::TimeoutType::init) -> void
967
-
968
- def []: (:scheduled_event_id) -> ::Integer
969
- | (:started_event_id) -> ::Integer
970
- | (:timeout_type) -> ::Temporalio::Api::Enums::V1::TimeoutType
971
- | (::Symbol) -> untyped
972
-
973
- def []=: (:scheduled_event_id, ::Integer) -> ::Integer
974
- | (:started_event_id, ::Integer) -> ::Integer
975
- | (:timeout_type, ::Temporalio::Api::Enums::V1::TimeoutType) -> ::Temporalio::Api::Enums::V1::TimeoutType
976
- | (:timeout_type, ::Temporalio::Api::Enums::V1::TimeoutType::values) -> ::Temporalio::Api::Enums::V1::TimeoutType::values
977
- | (::Symbol, untyped) -> untyped
978
-
979
- interface _ToProto
980
- def to_proto: () -> WorkflowTaskTimedOutEventAttributes
981
- end
982
-
983
- # The type of `#initialize` parameter.
984
- type init = WorkflowTaskTimedOutEventAttributes | _ToProto
985
-
986
- # The type of `repeated` field.
987
- type field_array = ::Protobuf::Field::FieldArray[WorkflowTaskTimedOutEventAttributes, WorkflowTaskTimedOutEventAttributes | _ToProto]
988
-
989
- # The type of `map` field.
990
- type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, WorkflowTaskTimedOutEventAttributes, WorkflowTaskTimedOutEventAttributes | _ToProto]
991
-
992
- type array = ::Array[WorkflowTaskTimedOutEventAttributes | _ToProto]
993
-
994
- type hash[KEY] = ::Hash[KEY, WorkflowTaskTimedOutEventAttributes | _ToProto]
995
- end
996
-
997
- class WorkflowTaskFailedEventAttributes < ::Protobuf::Message
998
- # Encode the message to a binary string
999
- #
1000
- def self.encode: (WorkflowTaskFailedEventAttributes) -> String
1001
-
1002
- # The id of the `WORKFLOW_TASK_SCHEDULED` event this task corresponds to
1003
- #
1004
- attr_accessor scheduled_event_id(): ::Integer
1005
-
1006
- def scheduled_event_id!: () -> ::Integer?
1007
-
1008
- # The id of the `WORKFLOW_TASK_STARTED` event this task corresponds to
1009
- #
1010
- attr_accessor started_event_id(): ::Integer
1011
-
1012
- def started_event_id!: () -> ::Integer?
1013
-
1014
- attr_accessor cause(): ::Temporalio::Api::Enums::V1::WorkflowTaskFailedCause
1015
-
1016
- def cause=: (::Temporalio::Api::Enums::V1::WorkflowTaskFailedCause::values) -> ::Temporalio::Api::Enums::V1::WorkflowTaskFailedCause::values
1017
- | ...
1018
-
1019
- def cause!: () -> ::Temporalio::Api::Enums::V1::WorkflowTaskFailedCause?
1020
-
1021
- # The failure details
1022
- #
1023
- attr_accessor failure(): ::Temporalio::Api::Failure::V1::Failure?
1024
-
1025
- # The failure details
1026
- #
1027
- def failure=: [M < ::Temporalio::Api::Failure::V1::Failure::_ToProto] (M?) -> M?
1028
- | ...
1029
-
1030
- def failure!: () -> ::Temporalio::Api::Failure::V1::Failure?
1031
-
1032
- # If a worker explicitly failed this task, it's identity. TODO: What is this set to if server fails the task?
1033
- #
1034
- attr_accessor identity(): ::String
1035
-
1036
- def identity!: () -> ::String?
1037
-
1038
- # The original run id of the workflow. For reset workflow.
1039
- #
1040
- attr_accessor base_run_id(): ::String
1041
-
1042
- def base_run_id!: () -> ::String?
1043
-
1044
- # If the workflow is being reset, the new run id.
1045
- #
1046
- attr_accessor new_run_id(): ::String
1047
-
1048
- def new_run_id!: () -> ::String?
1049
-
1050
- # TODO: ?
1051
- #
1052
- attr_accessor fork_event_version(): ::Integer
1053
-
1054
- def fork_event_version!: () -> ::Integer?
1055
-
1056
- # If a worker explicitly failed this task, it's binary id
1057
- #
1058
- attr_accessor binary_checksum(): ::String
1059
-
1060
- def binary_checksum!: () -> ::String?
1061
-
1062
- def initialize: (?scheduled_event_id: ::Integer, ?started_event_id: ::Integer, ?cause: ::Temporalio::Api::Enums::V1::WorkflowTaskFailedCause::init, ?failure: ::Temporalio::Api::Failure::V1::Failure::init?, ?identity: ::String, ?base_run_id: ::String, ?new_run_id: ::String, ?fork_event_version: ::Integer, ?binary_checksum: ::String) -> void
1063
-
1064
- def []: (:scheduled_event_id) -> ::Integer
1065
- | (:started_event_id) -> ::Integer
1066
- | (:cause) -> ::Temporalio::Api::Enums::V1::WorkflowTaskFailedCause
1067
- | (:failure) -> ::Temporalio::Api::Failure::V1::Failure?
1068
- | (:identity) -> ::String
1069
- | (:base_run_id) -> ::String
1070
- | (:new_run_id) -> ::String
1071
- | (:fork_event_version) -> ::Integer
1072
- | (:binary_checksum) -> ::String
1073
- | (::Symbol) -> untyped
1074
-
1075
- def []=: (:scheduled_event_id, ::Integer) -> ::Integer
1076
- | (:started_event_id, ::Integer) -> ::Integer
1077
- | (:cause, ::Temporalio::Api::Enums::V1::WorkflowTaskFailedCause) -> ::Temporalio::Api::Enums::V1::WorkflowTaskFailedCause
1078
- | (:cause, ::Temporalio::Api::Enums::V1::WorkflowTaskFailedCause::values) -> ::Temporalio::Api::Enums::V1::WorkflowTaskFailedCause::values
1079
- | (:failure, ::Temporalio::Api::Failure::V1::Failure?) -> ::Temporalio::Api::Failure::V1::Failure?
1080
- | [M < ::Temporalio::Api::Failure::V1::Failure::_ToProto] (:failure, M?) -> M?
1081
- | (:identity, ::String) -> ::String
1082
- | (:base_run_id, ::String) -> ::String
1083
- | (:new_run_id, ::String) -> ::String
1084
- | (:fork_event_version, ::Integer) -> ::Integer
1085
- | (:binary_checksum, ::String) -> ::String
1086
- | (::Symbol, untyped) -> untyped
1087
-
1088
- interface _ToProto
1089
- def to_proto: () -> WorkflowTaskFailedEventAttributes
1090
- end
1091
-
1092
- # The type of `#initialize` parameter.
1093
- type init = WorkflowTaskFailedEventAttributes | _ToProto
1094
-
1095
- # The type of `repeated` field.
1096
- type field_array = ::Protobuf::Field::FieldArray[WorkflowTaskFailedEventAttributes, WorkflowTaskFailedEventAttributes | _ToProto]
1097
-
1098
- # The type of `map` field.
1099
- type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, WorkflowTaskFailedEventAttributes, WorkflowTaskFailedEventAttributes | _ToProto]
1100
-
1101
- type array = ::Array[WorkflowTaskFailedEventAttributes | _ToProto]
1102
-
1103
- type hash[KEY] = ::Hash[KEY, WorkflowTaskFailedEventAttributes | _ToProto]
1104
- end
1105
-
1106
- class ActivityTaskScheduledEventAttributes < ::Protobuf::Message
1107
- # Encode the message to a binary string
1108
- #
1109
- def self.encode: (ActivityTaskScheduledEventAttributes) -> String
1110
-
1111
- # The worker/user assigned identifier for the activity
1112
- #
1113
- attr_accessor activity_id(): ::String
1114
-
1115
- def activity_id!: () -> ::String?
1116
-
1117
- attr_accessor activity_type(): ::Temporalio::Api::Common::V1::ActivityType?
1118
-
1119
- def activity_type=: [M < ::Temporalio::Api::Common::V1::ActivityType::_ToProto] (M?) -> M?
1120
- | ...
1121
-
1122
- def activity_type!: () -> ::Temporalio::Api::Common::V1::ActivityType?
1123
-
1124
- attr_accessor task_queue(): ::Temporalio::Api::TaskQueue::V1::TaskQueue?
1125
-
1126
- def task_queue=: [M < ::Temporalio::Api::TaskQueue::V1::TaskQueue::_ToProto] (M?) -> M?
1127
- | ...
1128
-
1129
- def task_queue!: () -> ::Temporalio::Api::TaskQueue::V1::TaskQueue?
1130
-
1131
- attr_accessor header(): ::Temporalio::Api::Common::V1::Header?
1132
-
1133
- def header=: [M < ::Temporalio::Api::Common::V1::Header::_ToProto] (M?) -> M?
1134
- | ...
1135
-
1136
- def header!: () -> ::Temporalio::Api::Common::V1::Header?
1137
-
1138
- attr_accessor input(): ::Temporalio::Api::Common::V1::Payloads?
1139
-
1140
- def input=: [M < ::Temporalio::Api::Common::V1::Payloads::_ToProto] (M?) -> M?
1141
- | ...
1142
-
1143
- def input!: () -> ::Temporalio::Api::Common::V1::Payloads?
1144
-
1145
- # Indicates how long the caller is willing to wait for an activity completion. Limits how long
1146
- # retries will be attempted. Either this or `start_to_close_timeout` must be specified.
1147
- #
1148
- # (-- api-linter: core::0140::prepositions=disabled
1149
- # aip.dev/not-precedent: "to" is used to indicate interval. --)
1150
- #
1151
- attr_accessor schedule_to_close_timeout(): ::Google::Protobuf::Duration?
1152
-
1153
- # Indicates how long the caller is willing to wait for an activity completion. Limits how long
1154
- # retries will be attempted. Either this or `start_to_close_timeout` must be specified.
1155
- #
1156
- # (-- api-linter: core::0140::prepositions=disabled
1157
- # aip.dev/not-precedent: "to" is used to indicate interval. --)
1158
- #
1159
- def schedule_to_close_timeout=: [M < ::Google::Protobuf::Duration::_ToProto] (M?) -> M?
1160
- | ...
1161
-
1162
- def schedule_to_close_timeout!: () -> ::Google::Protobuf::Duration?
1163
-
1164
- # Limits time an activity task can stay in a task queue before a worker picks it up. This
1165
- # timeout is always non retryable, as all a retry would achieve is to put it back into the same
1166
- # queue. Defaults to `schedule_to_close_timeout` or workflow execution timeout if not
1167
- # specified.
1168
- #
1169
- # (-- api-linter: core::0140::prepositions=disabled
1170
- # aip.dev/not-precedent: "to" is used to indicate interval. --)
1171
- #
1172
- attr_accessor schedule_to_start_timeout(): ::Google::Protobuf::Duration?
1173
-
1174
- # Limits time an activity task can stay in a task queue before a worker picks it up. This
1175
- # timeout is always non retryable, as all a retry would achieve is to put it back into the same
1176
- # queue. Defaults to `schedule_to_close_timeout` or workflow execution timeout if not
1177
- # specified.
1178
- #
1179
- # (-- api-linter: core::0140::prepositions=disabled
1180
- # aip.dev/not-precedent: "to" is used to indicate interval. --)
1181
- #
1182
- def schedule_to_start_timeout=: [M < ::Google::Protobuf::Duration::_ToProto] (M?) -> M?
1183
- | ...
1184
-
1185
- def schedule_to_start_timeout!: () -> ::Google::Protobuf::Duration?
1186
-
1187
- # Maximum time an activity is allowed to execute after being picked up by a worker. This
1188
- # timeout is always retryable. Either this or `schedule_to_close_timeout` must be
1189
- # specified.
1190
- #
1191
- # (-- api-linter: core::0140::prepositions=disabled
1192
- # aip.dev/not-precedent: "to" is used to indicate interval. --)
1193
- #
1194
- attr_accessor start_to_close_timeout(): ::Google::Protobuf::Duration?
1195
-
1196
- # Maximum time an activity is allowed to execute after being picked up by a worker. This
1197
- # timeout is always retryable. Either this or `schedule_to_close_timeout` must be
1198
- # specified.
1199
- #
1200
- # (-- api-linter: core::0140::prepositions=disabled
1201
- # aip.dev/not-precedent: "to" is used to indicate interval. --)
1202
- #
1203
- def start_to_close_timeout=: [M < ::Google::Protobuf::Duration::_ToProto] (M?) -> M?
1204
- | ...
1205
-
1206
- def start_to_close_timeout!: () -> ::Google::Protobuf::Duration?
1207
-
1208
- # Maximum permitted time between successful worker heartbeats.
1209
- #
1210
- attr_accessor heartbeat_timeout(): ::Google::Protobuf::Duration?
1211
-
1212
- # Maximum permitted time between successful worker heartbeats.
1213
- #
1214
- def heartbeat_timeout=: [M < ::Google::Protobuf::Duration::_ToProto] (M?) -> M?
1215
- | ...
1216
-
1217
- def heartbeat_timeout!: () -> ::Google::Protobuf::Duration?
1218
-
1219
- # The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
1220
- #
1221
- attr_accessor workflow_task_completed_event_id(): ::Integer
1222
-
1223
- def workflow_task_completed_event_id!: () -> ::Integer?
1224
-
1225
- # Activities are assigned a default retry policy controlled by the service's dynamic
1226
- # configuration. Retries will happen up to `schedule_to_close_timeout`. To disable retries set
1227
- # retry_policy.maximum_attempts to 1.
1228
- #
1229
- attr_accessor retry_policy(): ::Temporalio::Api::Common::V1::RetryPolicy?
1230
-
1231
- # Activities are assigned a default retry policy controlled by the service's dynamic
1232
- # configuration. Retries will happen up to `schedule_to_close_timeout`. To disable retries set
1233
- # retry_policy.maximum_attempts to 1.
1234
- #
1235
- def retry_policy=: [M < ::Temporalio::Api::Common::V1::RetryPolicy::_ToProto] (M?) -> M?
1236
- | ...
1237
-
1238
- def retry_policy!: () -> ::Temporalio::Api::Common::V1::RetryPolicy?
1239
-
1240
- def initialize: (?activity_id: ::String, ?activity_type: ::Temporalio::Api::Common::V1::ActivityType::init?, ?task_queue: ::Temporalio::Api::TaskQueue::V1::TaskQueue::init?, ?header: ::Temporalio::Api::Common::V1::Header::init?, ?input: ::Temporalio::Api::Common::V1::Payloads::init?, ?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?, ?workflow_task_completed_event_id: ::Integer, ?retry_policy: ::Temporalio::Api::Common::V1::RetryPolicy::init?) -> void
1241
-
1242
- def []: (:activity_id) -> ::String
1243
- | (:activity_type) -> ::Temporalio::Api::Common::V1::ActivityType?
1244
- | (:task_queue) -> ::Temporalio::Api::TaskQueue::V1::TaskQueue?
1245
- | (:header) -> ::Temporalio::Api::Common::V1::Header?
1246
- | (:input) -> ::Temporalio::Api::Common::V1::Payloads?
1247
- | (:schedule_to_close_timeout) -> ::Google::Protobuf::Duration?
1248
- | (:schedule_to_start_timeout) -> ::Google::Protobuf::Duration?
1249
- | (:start_to_close_timeout) -> ::Google::Protobuf::Duration?
1250
- | (:heartbeat_timeout) -> ::Google::Protobuf::Duration?
1251
- | (:workflow_task_completed_event_id) -> ::Integer
1252
- | (:retry_policy) -> ::Temporalio::Api::Common::V1::RetryPolicy?
1253
- | (::Symbol) -> untyped
1254
-
1255
- def []=: (:activity_id, ::String) -> ::String
1256
- | (:activity_type, ::Temporalio::Api::Common::V1::ActivityType?) -> ::Temporalio::Api::Common::V1::ActivityType?
1257
- | [M < ::Temporalio::Api::Common::V1::ActivityType::_ToProto] (:activity_type, M?) -> M?
1258
- | (:task_queue, ::Temporalio::Api::TaskQueue::V1::TaskQueue?) -> ::Temporalio::Api::TaskQueue::V1::TaskQueue?
1259
- | [M < ::Temporalio::Api::TaskQueue::V1::TaskQueue::_ToProto] (:task_queue, M?) -> M?
1260
- | (:header, ::Temporalio::Api::Common::V1::Header?) -> ::Temporalio::Api::Common::V1::Header?
1261
- | [M < ::Temporalio::Api::Common::V1::Header::_ToProto] (:header, M?) -> M?
1262
- | (:input, ::Temporalio::Api::Common::V1::Payloads?) -> ::Temporalio::Api::Common::V1::Payloads?
1263
- | [M < ::Temporalio::Api::Common::V1::Payloads::_ToProto] (:input, M?) -> M?
1264
- | (:schedule_to_close_timeout, ::Google::Protobuf::Duration?) -> ::Google::Protobuf::Duration?
1265
- | [M < ::Google::Protobuf::Duration::_ToProto] (:schedule_to_close_timeout, M?) -> M?
1266
- | (:schedule_to_start_timeout, ::Google::Protobuf::Duration?) -> ::Google::Protobuf::Duration?
1267
- | [M < ::Google::Protobuf::Duration::_ToProto] (:schedule_to_start_timeout, M?) -> M?
1268
- | (:start_to_close_timeout, ::Google::Protobuf::Duration?) -> ::Google::Protobuf::Duration?
1269
- | [M < ::Google::Protobuf::Duration::_ToProto] (:start_to_close_timeout, M?) -> M?
1270
- | (:heartbeat_timeout, ::Google::Protobuf::Duration?) -> ::Google::Protobuf::Duration?
1271
- | [M < ::Google::Protobuf::Duration::_ToProto] (:heartbeat_timeout, M?) -> M?
1272
- | (:workflow_task_completed_event_id, ::Integer) -> ::Integer
1273
- | (:retry_policy, ::Temporalio::Api::Common::V1::RetryPolicy?) -> ::Temporalio::Api::Common::V1::RetryPolicy?
1274
- | [M < ::Temporalio::Api::Common::V1::RetryPolicy::_ToProto] (:retry_policy, M?) -> M?
1275
- | (::Symbol, untyped) -> untyped
1276
-
1277
- interface _ToProto
1278
- def to_proto: () -> ActivityTaskScheduledEventAttributes
1279
- end
1280
-
1281
- # The type of `#initialize` parameter.
1282
- type init = ActivityTaskScheduledEventAttributes | _ToProto
1283
-
1284
- # The type of `repeated` field.
1285
- type field_array = ::Protobuf::Field::FieldArray[ActivityTaskScheduledEventAttributes, ActivityTaskScheduledEventAttributes | _ToProto]
1286
-
1287
- # The type of `map` field.
1288
- type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, ActivityTaskScheduledEventAttributes, ActivityTaskScheduledEventAttributes | _ToProto]
1289
-
1290
- type array = ::Array[ActivityTaskScheduledEventAttributes | _ToProto]
1291
-
1292
- type hash[KEY] = ::Hash[KEY, ActivityTaskScheduledEventAttributes | _ToProto]
1293
- end
1294
-
1295
- class ActivityTaskStartedEventAttributes < ::Protobuf::Message
1296
- # Encode the message to a binary string
1297
- #
1298
- def self.encode: (ActivityTaskStartedEventAttributes) -> String
1299
-
1300
- # The id of the `ACTIVITY_TASK_SCHEDULED` event this task corresponds to
1301
- #
1302
- attr_accessor scheduled_event_id(): ::Integer
1303
-
1304
- def scheduled_event_id!: () -> ::Integer?
1305
-
1306
- # id of the worker that picked up this task
1307
- #
1308
- attr_accessor identity(): ::String
1309
-
1310
- def identity!: () -> ::String?
1311
-
1312
- # TODO ??
1313
- #
1314
- attr_accessor request_id(): ::String
1315
-
1316
- def request_id!: () -> ::String?
1317
-
1318
- # Starting at 1, the number of times this task has been attempted
1319
- #
1320
- attr_accessor attempt(): ::Integer
1321
-
1322
- def attempt!: () -> ::Integer?
1323
-
1324
- # Will be set to the most recent failure details, if this task has previously failed and then
1325
- # been retried.
1326
- #
1327
- attr_accessor last_failure(): ::Temporalio::Api::Failure::V1::Failure?
1328
-
1329
- # Will be set to the most recent failure details, if this task has previously failed and then
1330
- # been retried.
1331
- #
1332
- def last_failure=: [M < ::Temporalio::Api::Failure::V1::Failure::_ToProto] (M?) -> M?
1333
- | ...
1334
-
1335
- def last_failure!: () -> ::Temporalio::Api::Failure::V1::Failure?
1336
-
1337
- def initialize: (?scheduled_event_id: ::Integer, ?identity: ::String, ?request_id: ::String, ?attempt: ::Integer, ?last_failure: ::Temporalio::Api::Failure::V1::Failure::init?) -> void
1338
-
1339
- def []: (:scheduled_event_id) -> ::Integer
1340
- | (:identity) -> ::String
1341
- | (:request_id) -> ::String
1342
- | (:attempt) -> ::Integer
1343
- | (:last_failure) -> ::Temporalio::Api::Failure::V1::Failure?
1344
- | (::Symbol) -> untyped
1345
-
1346
- def []=: (:scheduled_event_id, ::Integer) -> ::Integer
1347
- | (:identity, ::String) -> ::String
1348
- | (:request_id, ::String) -> ::String
1349
- | (:attempt, ::Integer) -> ::Integer
1350
- | (:last_failure, ::Temporalio::Api::Failure::V1::Failure?) -> ::Temporalio::Api::Failure::V1::Failure?
1351
- | [M < ::Temporalio::Api::Failure::V1::Failure::_ToProto] (:last_failure, M?) -> M?
1352
- | (::Symbol, untyped) -> untyped
1353
-
1354
- interface _ToProto
1355
- def to_proto: () -> ActivityTaskStartedEventAttributes
1356
- end
1357
-
1358
- # The type of `#initialize` parameter.
1359
- type init = ActivityTaskStartedEventAttributes | _ToProto
1360
-
1361
- # The type of `repeated` field.
1362
- type field_array = ::Protobuf::Field::FieldArray[ActivityTaskStartedEventAttributes, ActivityTaskStartedEventAttributes | _ToProto]
1363
-
1364
- # The type of `map` field.
1365
- type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, ActivityTaskStartedEventAttributes, ActivityTaskStartedEventAttributes | _ToProto]
1366
-
1367
- type array = ::Array[ActivityTaskStartedEventAttributes | _ToProto]
1368
-
1369
- type hash[KEY] = ::Hash[KEY, ActivityTaskStartedEventAttributes | _ToProto]
1370
- end
1371
-
1372
- class ActivityTaskCompletedEventAttributes < ::Protobuf::Message
1373
- # Encode the message to a binary string
1374
- #
1375
- def self.encode: (ActivityTaskCompletedEventAttributes) -> String
1376
-
1377
- # Serialized results of the activity. IE: The return value of the activity function
1378
- #
1379
- attr_accessor result(): ::Temporalio::Api::Common::V1::Payloads?
1380
-
1381
- # Serialized results of the activity. IE: The return value of the activity function
1382
- #
1383
- def result=: [M < ::Temporalio::Api::Common::V1::Payloads::_ToProto] (M?) -> M?
1384
- | ...
1385
-
1386
- def result!: () -> ::Temporalio::Api::Common::V1::Payloads?
1387
-
1388
- # The id of the `ACTIVITY_TASK_SCHEDULED` event this completion corresponds to
1389
- #
1390
- attr_accessor scheduled_event_id(): ::Integer
1391
-
1392
- def scheduled_event_id!: () -> ::Integer?
1393
-
1394
- # The id of the `ACTIVITY_TASK_STARTED` event this completion corresponds to
1395
- #
1396
- attr_accessor started_event_id(): ::Integer
1397
-
1398
- def started_event_id!: () -> ::Integer?
1399
-
1400
- # id of the worker that completed this task
1401
- #
1402
- attr_accessor identity(): ::String
1403
-
1404
- def identity!: () -> ::String?
1405
-
1406
- def initialize: (?result: ::Temporalio::Api::Common::V1::Payloads::init?, ?scheduled_event_id: ::Integer, ?started_event_id: ::Integer, ?identity: ::String) -> void
1407
-
1408
- def []: (:result) -> ::Temporalio::Api::Common::V1::Payloads?
1409
- | (:scheduled_event_id) -> ::Integer
1410
- | (:started_event_id) -> ::Integer
1411
- | (:identity) -> ::String
1412
- | (::Symbol) -> untyped
1413
-
1414
- def []=: (:result, ::Temporalio::Api::Common::V1::Payloads?) -> ::Temporalio::Api::Common::V1::Payloads?
1415
- | [M < ::Temporalio::Api::Common::V1::Payloads::_ToProto] (:result, M?) -> M?
1416
- | (:scheduled_event_id, ::Integer) -> ::Integer
1417
- | (:started_event_id, ::Integer) -> ::Integer
1418
- | (:identity, ::String) -> ::String
1419
- | (::Symbol, untyped) -> untyped
1420
-
1421
- interface _ToProto
1422
- def to_proto: () -> ActivityTaskCompletedEventAttributes
1423
- end
1424
-
1425
- # The type of `#initialize` parameter.
1426
- type init = ActivityTaskCompletedEventAttributes | _ToProto
1427
-
1428
- # The type of `repeated` field.
1429
- type field_array = ::Protobuf::Field::FieldArray[ActivityTaskCompletedEventAttributes, ActivityTaskCompletedEventAttributes | _ToProto]
1430
-
1431
- # The type of `map` field.
1432
- type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, ActivityTaskCompletedEventAttributes, ActivityTaskCompletedEventAttributes | _ToProto]
1433
-
1434
- type array = ::Array[ActivityTaskCompletedEventAttributes | _ToProto]
1435
-
1436
- type hash[KEY] = ::Hash[KEY, ActivityTaskCompletedEventAttributes | _ToProto]
1437
- end
1438
-
1439
- class ActivityTaskFailedEventAttributes < ::Protobuf::Message
1440
- # Encode the message to a binary string
1441
- #
1442
- def self.encode: (ActivityTaskFailedEventAttributes) -> String
1443
-
1444
- # Failure details
1445
- #
1446
- attr_accessor failure(): ::Temporalio::Api::Failure::V1::Failure?
1447
-
1448
- # Failure details
1449
- #
1450
- def failure=: [M < ::Temporalio::Api::Failure::V1::Failure::_ToProto] (M?) -> M?
1451
- | ...
1452
-
1453
- def failure!: () -> ::Temporalio::Api::Failure::V1::Failure?
1454
-
1455
- # The id of the `ACTIVITY_TASK_SCHEDULED` event this failure corresponds to
1456
- #
1457
- attr_accessor scheduled_event_id(): ::Integer
1458
-
1459
- def scheduled_event_id!: () -> ::Integer?
1460
-
1461
- # The id of the `ACTIVITY_TASK_STARTED` event this failure corresponds to
1462
- #
1463
- attr_accessor started_event_id(): ::Integer
1464
-
1465
- def started_event_id!: () -> ::Integer?
1466
-
1467
- # id of the worker that failed this task
1468
- #
1469
- attr_accessor identity(): ::String
1470
-
1471
- def identity!: () -> ::String?
1472
-
1473
- attr_accessor retry_state(): ::Temporalio::Api::Enums::V1::RetryState
1474
-
1475
- def retry_state=: (::Temporalio::Api::Enums::V1::RetryState::values) -> ::Temporalio::Api::Enums::V1::RetryState::values
1476
- | ...
1477
-
1478
- def retry_state!: () -> ::Temporalio::Api::Enums::V1::RetryState?
1479
-
1480
- def initialize: (?failure: ::Temporalio::Api::Failure::V1::Failure::init?, ?scheduled_event_id: ::Integer, ?started_event_id: ::Integer, ?identity: ::String, ?retry_state: ::Temporalio::Api::Enums::V1::RetryState::init) -> void
1481
-
1482
- def []: (:failure) -> ::Temporalio::Api::Failure::V1::Failure?
1483
- | (:scheduled_event_id) -> ::Integer
1484
- | (:started_event_id) -> ::Integer
1485
- | (:identity) -> ::String
1486
- | (:retry_state) -> ::Temporalio::Api::Enums::V1::RetryState
1487
- | (::Symbol) -> untyped
1488
-
1489
- def []=: (:failure, ::Temporalio::Api::Failure::V1::Failure?) -> ::Temporalio::Api::Failure::V1::Failure?
1490
- | [M < ::Temporalio::Api::Failure::V1::Failure::_ToProto] (:failure, M?) -> M?
1491
- | (:scheduled_event_id, ::Integer) -> ::Integer
1492
- | (:started_event_id, ::Integer) -> ::Integer
1493
- | (:identity, ::String) -> ::String
1494
- | (:retry_state, ::Temporalio::Api::Enums::V1::RetryState) -> ::Temporalio::Api::Enums::V1::RetryState
1495
- | (:retry_state, ::Temporalio::Api::Enums::V1::RetryState::values) -> ::Temporalio::Api::Enums::V1::RetryState::values
1496
- | (::Symbol, untyped) -> untyped
1497
-
1498
- interface _ToProto
1499
- def to_proto: () -> ActivityTaskFailedEventAttributes
1500
- end
1501
-
1502
- # The type of `#initialize` parameter.
1503
- type init = ActivityTaskFailedEventAttributes | _ToProto
1504
-
1505
- # The type of `repeated` field.
1506
- type field_array = ::Protobuf::Field::FieldArray[ActivityTaskFailedEventAttributes, ActivityTaskFailedEventAttributes | _ToProto]
1507
-
1508
- # The type of `map` field.
1509
- type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, ActivityTaskFailedEventAttributes, ActivityTaskFailedEventAttributes | _ToProto]
1510
-
1511
- type array = ::Array[ActivityTaskFailedEventAttributes | _ToProto]
1512
-
1513
- type hash[KEY] = ::Hash[KEY, ActivityTaskFailedEventAttributes | _ToProto]
1514
- end
1515
-
1516
- class ActivityTaskTimedOutEventAttributes < ::Protobuf::Message
1517
- # Encode the message to a binary string
1518
- #
1519
- def self.encode: (ActivityTaskTimedOutEventAttributes) -> String
1520
-
1521
- # If this activity had failed, was retried, and then timed out, that failure is stored as the
1522
- # `cause` in here.
1523
- #
1524
- attr_accessor failure(): ::Temporalio::Api::Failure::V1::Failure?
1525
-
1526
- # If this activity had failed, was retried, and then timed out, that failure is stored as the
1527
- # `cause` in here.
1528
- #
1529
- def failure=: [M < ::Temporalio::Api::Failure::V1::Failure::_ToProto] (M?) -> M?
1530
- | ...
1531
-
1532
- def failure!: () -> ::Temporalio::Api::Failure::V1::Failure?
1533
-
1534
- # The id of the `ACTIVITY_TASK_SCHEDULED` event this timeout corresponds to
1535
- #
1536
- attr_accessor scheduled_event_id(): ::Integer
1537
-
1538
- def scheduled_event_id!: () -> ::Integer?
1539
-
1540
- # The id of the `ACTIVITY_TASK_STARTED` event this timeout corresponds to
1541
- #
1542
- attr_accessor started_event_id(): ::Integer
1543
-
1544
- def started_event_id!: () -> ::Integer?
1545
-
1546
- attr_accessor retry_state(): ::Temporalio::Api::Enums::V1::RetryState
1547
-
1548
- def retry_state=: (::Temporalio::Api::Enums::V1::RetryState::values) -> ::Temporalio::Api::Enums::V1::RetryState::values
1549
- | ...
1550
-
1551
- def retry_state!: () -> ::Temporalio::Api::Enums::V1::RetryState?
1552
-
1553
- def initialize: (?failure: ::Temporalio::Api::Failure::V1::Failure::init?, ?scheduled_event_id: ::Integer, ?started_event_id: ::Integer, ?retry_state: ::Temporalio::Api::Enums::V1::RetryState::init) -> void
1554
-
1555
- def []: (:failure) -> ::Temporalio::Api::Failure::V1::Failure?
1556
- | (:scheduled_event_id) -> ::Integer
1557
- | (:started_event_id) -> ::Integer
1558
- | (:retry_state) -> ::Temporalio::Api::Enums::V1::RetryState
1559
- | (::Symbol) -> untyped
1560
-
1561
- def []=: (:failure, ::Temporalio::Api::Failure::V1::Failure?) -> ::Temporalio::Api::Failure::V1::Failure?
1562
- | [M < ::Temporalio::Api::Failure::V1::Failure::_ToProto] (:failure, M?) -> M?
1563
- | (:scheduled_event_id, ::Integer) -> ::Integer
1564
- | (:started_event_id, ::Integer) -> ::Integer
1565
- | (:retry_state, ::Temporalio::Api::Enums::V1::RetryState) -> ::Temporalio::Api::Enums::V1::RetryState
1566
- | (:retry_state, ::Temporalio::Api::Enums::V1::RetryState::values) -> ::Temporalio::Api::Enums::V1::RetryState::values
1567
- | (::Symbol, untyped) -> untyped
1568
-
1569
- interface _ToProto
1570
- def to_proto: () -> ActivityTaskTimedOutEventAttributes
1571
- end
1572
-
1573
- # The type of `#initialize` parameter.
1574
- type init = ActivityTaskTimedOutEventAttributes | _ToProto
1575
-
1576
- # The type of `repeated` field.
1577
- type field_array = ::Protobuf::Field::FieldArray[ActivityTaskTimedOutEventAttributes, ActivityTaskTimedOutEventAttributes | _ToProto]
1578
-
1579
- # The type of `map` field.
1580
- type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, ActivityTaskTimedOutEventAttributes, ActivityTaskTimedOutEventAttributes | _ToProto]
1581
-
1582
- type array = ::Array[ActivityTaskTimedOutEventAttributes | _ToProto]
1583
-
1584
- type hash[KEY] = ::Hash[KEY, ActivityTaskTimedOutEventAttributes | _ToProto]
1585
- end
1586
-
1587
- class ActivityTaskCancelRequestedEventAttributes < ::Protobuf::Message
1588
- # Encode the message to a binary string
1589
- #
1590
- def self.encode: (ActivityTaskCancelRequestedEventAttributes) -> String
1591
-
1592
- # The id of the `ACTIVITY_TASK_SCHEDULED` event this cancel request corresponds to
1593
- #
1594
- attr_accessor scheduled_event_id(): ::Integer
1595
-
1596
- def scheduled_event_id!: () -> ::Integer?
1597
-
1598
- # The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
1599
- #
1600
- attr_accessor workflow_task_completed_event_id(): ::Integer
1601
-
1602
- def workflow_task_completed_event_id!: () -> ::Integer?
1603
-
1604
- def initialize: (?scheduled_event_id: ::Integer, ?workflow_task_completed_event_id: ::Integer) -> void
1605
-
1606
- def []: (:scheduled_event_id) -> ::Integer
1607
- | (:workflow_task_completed_event_id) -> ::Integer
1608
- | (::Symbol) -> untyped
1609
-
1610
- def []=: (:scheduled_event_id, ::Integer) -> ::Integer
1611
- | (:workflow_task_completed_event_id, ::Integer) -> ::Integer
1612
- | (::Symbol, untyped) -> untyped
1613
-
1614
- interface _ToProto
1615
- def to_proto: () -> ActivityTaskCancelRequestedEventAttributes
1616
- end
1617
-
1618
- # The type of `#initialize` parameter.
1619
- type init = ActivityTaskCancelRequestedEventAttributes | _ToProto
1620
-
1621
- # The type of `repeated` field.
1622
- type field_array = ::Protobuf::Field::FieldArray[ActivityTaskCancelRequestedEventAttributes, ActivityTaskCancelRequestedEventAttributes | _ToProto]
1623
-
1624
- # The type of `map` field.
1625
- type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, ActivityTaskCancelRequestedEventAttributes, ActivityTaskCancelRequestedEventAttributes | _ToProto]
1626
-
1627
- type array = ::Array[ActivityTaskCancelRequestedEventAttributes | _ToProto]
1628
-
1629
- type hash[KEY] = ::Hash[KEY, ActivityTaskCancelRequestedEventAttributes | _ToProto]
1630
- end
1631
-
1632
- class ActivityTaskCanceledEventAttributes < ::Protobuf::Message
1633
- # Encode the message to a binary string
1634
- #
1635
- def self.encode: (ActivityTaskCanceledEventAttributes) -> String
1636
-
1637
- # Additional information that the activity reported upon confirming cancellation
1638
- #
1639
- attr_accessor details(): ::Temporalio::Api::Common::V1::Payloads?
1640
-
1641
- # Additional information that the activity reported upon confirming cancellation
1642
- #
1643
- def details=: [M < ::Temporalio::Api::Common::V1::Payloads::_ToProto] (M?) -> M?
1644
- | ...
1645
-
1646
- def details!: () -> ::Temporalio::Api::Common::V1::Payloads?
1647
-
1648
- # id of the most recent `ACTIVITY_TASK_CANCEL_REQUESTED` event which refers to the same
1649
- # activity
1650
- #
1651
- attr_accessor latest_cancel_requested_event_id(): ::Integer
1652
-
1653
- def latest_cancel_requested_event_id!: () -> ::Integer?
1654
-
1655
- # The id of the `ACTIVITY_TASK_SCHEDULED` event this cancel confirmation corresponds to
1656
- #
1657
- attr_accessor scheduled_event_id(): ::Integer
1658
-
1659
- def scheduled_event_id!: () -> ::Integer?
1660
-
1661
- # The id of the `ACTIVITY_TASK_STARTED` event this cancel confirmation corresponds to
1662
- #
1663
- attr_accessor started_event_id(): ::Integer
1664
-
1665
- def started_event_id!: () -> ::Integer?
1666
-
1667
- # id of the worker who canceled this activity
1668
- #
1669
- attr_accessor identity(): ::String
1670
-
1671
- def identity!: () -> ::String?
1672
-
1673
- def initialize: (?details: ::Temporalio::Api::Common::V1::Payloads::init?, ?latest_cancel_requested_event_id: ::Integer, ?scheduled_event_id: ::Integer, ?started_event_id: ::Integer, ?identity: ::String) -> void
1674
-
1675
- def []: (:details) -> ::Temporalio::Api::Common::V1::Payloads?
1676
- | (:latest_cancel_requested_event_id) -> ::Integer
1677
- | (:scheduled_event_id) -> ::Integer
1678
- | (:started_event_id) -> ::Integer
1679
- | (:identity) -> ::String
1680
- | (::Symbol) -> untyped
1681
-
1682
- def []=: (:details, ::Temporalio::Api::Common::V1::Payloads?) -> ::Temporalio::Api::Common::V1::Payloads?
1683
- | [M < ::Temporalio::Api::Common::V1::Payloads::_ToProto] (:details, M?) -> M?
1684
- | (:latest_cancel_requested_event_id, ::Integer) -> ::Integer
1685
- | (:scheduled_event_id, ::Integer) -> ::Integer
1686
- | (:started_event_id, ::Integer) -> ::Integer
1687
- | (:identity, ::String) -> ::String
1688
- | (::Symbol, untyped) -> untyped
1689
-
1690
- interface _ToProto
1691
- def to_proto: () -> ActivityTaskCanceledEventAttributes
1692
- end
1693
-
1694
- # The type of `#initialize` parameter.
1695
- type init = ActivityTaskCanceledEventAttributes | _ToProto
1696
-
1697
- # The type of `repeated` field.
1698
- type field_array = ::Protobuf::Field::FieldArray[ActivityTaskCanceledEventAttributes, ActivityTaskCanceledEventAttributes | _ToProto]
1699
-
1700
- # The type of `map` field.
1701
- type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, ActivityTaskCanceledEventAttributes, ActivityTaskCanceledEventAttributes | _ToProto]
1702
-
1703
- type array = ::Array[ActivityTaskCanceledEventAttributes | _ToProto]
1704
-
1705
- type hash[KEY] = ::Hash[KEY, ActivityTaskCanceledEventAttributes | _ToProto]
1706
- end
1707
-
1708
- class TimerStartedEventAttributes < ::Protobuf::Message
1709
- # Encode the message to a binary string
1710
- #
1711
- def self.encode: (TimerStartedEventAttributes) -> String
1712
-
1713
- # The worker/user assigned id for this timer
1714
- #
1715
- attr_accessor timer_id(): ::String
1716
-
1717
- def timer_id!: () -> ::String?
1718
-
1719
- # How long until this timer fires
1720
- #
1721
- # (-- api-linter: core::0140::prepositions=disabled
1722
- # aip.dev/not-precedent: "to" is used to indicate interval. --)
1723
- #
1724
- attr_accessor start_to_fire_timeout(): ::Google::Protobuf::Duration?
1725
-
1726
- # How long until this timer fires
1727
- #
1728
- # (-- api-linter: core::0140::prepositions=disabled
1729
- # aip.dev/not-precedent: "to" is used to indicate interval. --)
1730
- #
1731
- def start_to_fire_timeout=: [M < ::Google::Protobuf::Duration::_ToProto] (M?) -> M?
1732
- | ...
1733
-
1734
- def start_to_fire_timeout!: () -> ::Google::Protobuf::Duration?
1735
-
1736
- # The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
1737
- #
1738
- attr_accessor workflow_task_completed_event_id(): ::Integer
1739
-
1740
- def workflow_task_completed_event_id!: () -> ::Integer?
1741
-
1742
- def initialize: (?timer_id: ::String, ?start_to_fire_timeout: ::Google::Protobuf::Duration::init?, ?workflow_task_completed_event_id: ::Integer) -> void
1743
-
1744
- def []: (:timer_id) -> ::String
1745
- | (:start_to_fire_timeout) -> ::Google::Protobuf::Duration?
1746
- | (:workflow_task_completed_event_id) -> ::Integer
1747
- | (::Symbol) -> untyped
1748
-
1749
- def []=: (:timer_id, ::String) -> ::String
1750
- | (:start_to_fire_timeout, ::Google::Protobuf::Duration?) -> ::Google::Protobuf::Duration?
1751
- | [M < ::Google::Protobuf::Duration::_ToProto] (:start_to_fire_timeout, M?) -> M?
1752
- | (:workflow_task_completed_event_id, ::Integer) -> ::Integer
1753
- | (::Symbol, untyped) -> untyped
1754
-
1755
- interface _ToProto
1756
- def to_proto: () -> TimerStartedEventAttributes
1757
- end
1758
-
1759
- # The type of `#initialize` parameter.
1760
- type init = TimerStartedEventAttributes | _ToProto
1761
-
1762
- # The type of `repeated` field.
1763
- type field_array = ::Protobuf::Field::FieldArray[TimerStartedEventAttributes, TimerStartedEventAttributes | _ToProto]
1764
-
1765
- # The type of `map` field.
1766
- type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, TimerStartedEventAttributes, TimerStartedEventAttributes | _ToProto]
1767
-
1768
- type array = ::Array[TimerStartedEventAttributes | _ToProto]
1769
-
1770
- type hash[KEY] = ::Hash[KEY, TimerStartedEventAttributes | _ToProto]
1771
- end
1772
-
1773
- class TimerFiredEventAttributes < ::Protobuf::Message
1774
- # Encode the message to a binary string
1775
- #
1776
- def self.encode: (TimerFiredEventAttributes) -> String
1777
-
1778
- # Will match the `timer_id` from `TIMER_STARTED` event for this timer
1779
- #
1780
- attr_accessor timer_id(): ::String
1781
-
1782
- def timer_id!: () -> ::String?
1783
-
1784
- # The id of the `TIMER_STARTED` event itself
1785
- #
1786
- attr_accessor started_event_id(): ::Integer
1787
-
1788
- def started_event_id!: () -> ::Integer?
1789
-
1790
- def initialize: (?timer_id: ::String, ?started_event_id: ::Integer) -> void
1791
-
1792
- def []: (:timer_id) -> ::String
1793
- | (:started_event_id) -> ::Integer
1794
- | (::Symbol) -> untyped
1795
-
1796
- def []=: (:timer_id, ::String) -> ::String
1797
- | (:started_event_id, ::Integer) -> ::Integer
1798
- | (::Symbol, untyped) -> untyped
1799
-
1800
- interface _ToProto
1801
- def to_proto: () -> TimerFiredEventAttributes
1802
- end
1803
-
1804
- # The type of `#initialize` parameter.
1805
- type init = TimerFiredEventAttributes | _ToProto
1806
-
1807
- # The type of `repeated` field.
1808
- type field_array = ::Protobuf::Field::FieldArray[TimerFiredEventAttributes, TimerFiredEventAttributes | _ToProto]
1809
-
1810
- # The type of `map` field.
1811
- type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, TimerFiredEventAttributes, TimerFiredEventAttributes | _ToProto]
1812
-
1813
- type array = ::Array[TimerFiredEventAttributes | _ToProto]
1814
-
1815
- type hash[KEY] = ::Hash[KEY, TimerFiredEventAttributes | _ToProto]
1816
- end
1817
-
1818
- class TimerCanceledEventAttributes < ::Protobuf::Message
1819
- # Encode the message to a binary string
1820
- #
1821
- def self.encode: (TimerCanceledEventAttributes) -> String
1822
-
1823
- # Will match the `timer_id` from `TIMER_STARTED` event for this timer
1824
- #
1825
- attr_accessor timer_id(): ::String
1826
-
1827
- def timer_id!: () -> ::String?
1828
-
1829
- # The id of the `TIMER_STARTED` event itself
1830
- #
1831
- attr_accessor started_event_id(): ::Integer
1832
-
1833
- def started_event_id!: () -> ::Integer?
1834
-
1835
- # The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
1836
- #
1837
- attr_accessor workflow_task_completed_event_id(): ::Integer
1838
-
1839
- def workflow_task_completed_event_id!: () -> ::Integer?
1840
-
1841
- # The id of the worker who requested this cancel
1842
- #
1843
- attr_accessor identity(): ::String
1844
-
1845
- def identity!: () -> ::String?
1846
-
1847
- def initialize: (?timer_id: ::String, ?started_event_id: ::Integer, ?workflow_task_completed_event_id: ::Integer, ?identity: ::String) -> void
1848
-
1849
- def []: (:timer_id) -> ::String
1850
- | (:started_event_id) -> ::Integer
1851
- | (:workflow_task_completed_event_id) -> ::Integer
1852
- | (:identity) -> ::String
1853
- | (::Symbol) -> untyped
1854
-
1855
- def []=: (:timer_id, ::String) -> ::String
1856
- | (:started_event_id, ::Integer) -> ::Integer
1857
- | (:workflow_task_completed_event_id, ::Integer) -> ::Integer
1858
- | (:identity, ::String) -> ::String
1859
- | (::Symbol, untyped) -> untyped
1860
-
1861
- interface _ToProto
1862
- def to_proto: () -> TimerCanceledEventAttributes
1863
- end
1864
-
1865
- # The type of `#initialize` parameter.
1866
- type init = TimerCanceledEventAttributes | _ToProto
1867
-
1868
- # The type of `repeated` field.
1869
- type field_array = ::Protobuf::Field::FieldArray[TimerCanceledEventAttributes, TimerCanceledEventAttributes | _ToProto]
1870
-
1871
- # The type of `map` field.
1872
- type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, TimerCanceledEventAttributes, TimerCanceledEventAttributes | _ToProto]
1873
-
1874
- type array = ::Array[TimerCanceledEventAttributes | _ToProto]
1875
-
1876
- type hash[KEY] = ::Hash[KEY, TimerCanceledEventAttributes | _ToProto]
1877
- end
1878
-
1879
- class WorkflowExecutionCancelRequestedEventAttributes < ::Protobuf::Message
1880
- # Encode the message to a binary string
1881
- #
1882
- def self.encode: (WorkflowExecutionCancelRequestedEventAttributes) -> String
1883
-
1884
- # User provided reason for requesting cancellation
1885
- # TODO: shall we create a new field with name "reason" and deprecate this one?
1886
- #
1887
- attr_accessor cause(): ::String
1888
-
1889
- def cause!: () -> ::String?
1890
-
1891
- # TODO: Is this the ID of the event in the workflow which initiated this cancel, if there was one?
1892
- #
1893
- attr_accessor external_initiated_event_id(): ::Integer
1894
-
1895
- def external_initiated_event_id!: () -> ::Integer?
1896
-
1897
- attr_accessor external_workflow_execution(): ::Temporalio::Api::Common::V1::WorkflowExecution?
1898
-
1899
- def external_workflow_execution=: [M < ::Temporalio::Api::Common::V1::WorkflowExecution::_ToProto] (M?) -> M?
1900
- | ...
1901
-
1902
- def external_workflow_execution!: () -> ::Temporalio::Api::Common::V1::WorkflowExecution?
1903
-
1904
- # id of the worker or client who requested this cancel
1905
- #
1906
- attr_accessor identity(): ::String
1907
-
1908
- def identity!: () -> ::String?
1909
-
1910
- def initialize: (?cause: ::String, ?external_initiated_event_id: ::Integer, ?external_workflow_execution: ::Temporalio::Api::Common::V1::WorkflowExecution::init?, ?identity: ::String) -> void
1911
-
1912
- def []: (:cause) -> ::String
1913
- | (:external_initiated_event_id) -> ::Integer
1914
- | (:external_workflow_execution) -> ::Temporalio::Api::Common::V1::WorkflowExecution?
1915
- | (:identity) -> ::String
1916
- | (::Symbol) -> untyped
1917
-
1918
- def []=: (:cause, ::String) -> ::String
1919
- | (:external_initiated_event_id, ::Integer) -> ::Integer
1920
- | (:external_workflow_execution, ::Temporalio::Api::Common::V1::WorkflowExecution?) -> ::Temporalio::Api::Common::V1::WorkflowExecution?
1921
- | [M < ::Temporalio::Api::Common::V1::WorkflowExecution::_ToProto] (:external_workflow_execution, M?) -> M?
1922
- | (:identity, ::String) -> ::String
1923
- | (::Symbol, untyped) -> untyped
1924
-
1925
- interface _ToProto
1926
- def to_proto: () -> WorkflowExecutionCancelRequestedEventAttributes
1927
- end
1928
-
1929
- # The type of `#initialize` parameter.
1930
- type init = WorkflowExecutionCancelRequestedEventAttributes | _ToProto
1931
-
1932
- # The type of `repeated` field.
1933
- type field_array = ::Protobuf::Field::FieldArray[WorkflowExecutionCancelRequestedEventAttributes, WorkflowExecutionCancelRequestedEventAttributes | _ToProto]
1934
-
1935
- # The type of `map` field.
1936
- type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, WorkflowExecutionCancelRequestedEventAttributes, WorkflowExecutionCancelRequestedEventAttributes | _ToProto]
1937
-
1938
- type array = ::Array[WorkflowExecutionCancelRequestedEventAttributes | _ToProto]
1939
-
1940
- type hash[KEY] = ::Hash[KEY, WorkflowExecutionCancelRequestedEventAttributes | _ToProto]
1941
- end
1942
-
1943
- class WorkflowExecutionCanceledEventAttributes < ::Protobuf::Message
1944
- # Encode the message to a binary string
1945
- #
1946
- def self.encode: (WorkflowExecutionCanceledEventAttributes) -> String
1947
-
1948
- # The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
1949
- #
1950
- attr_accessor workflow_task_completed_event_id(): ::Integer
1951
-
1952
- def workflow_task_completed_event_id!: () -> ::Integer?
1953
-
1954
- attr_accessor details(): ::Temporalio::Api::Common::V1::Payloads?
1955
-
1956
- def details=: [M < ::Temporalio::Api::Common::V1::Payloads::_ToProto] (M?) -> M?
1957
- | ...
1958
-
1959
- def details!: () -> ::Temporalio::Api::Common::V1::Payloads?
1960
-
1961
- def initialize: (?workflow_task_completed_event_id: ::Integer, ?details: ::Temporalio::Api::Common::V1::Payloads::init?) -> void
1962
-
1963
- def []: (:workflow_task_completed_event_id) -> ::Integer
1964
- | (:details) -> ::Temporalio::Api::Common::V1::Payloads?
1965
- | (::Symbol) -> untyped
1966
-
1967
- def []=: (:workflow_task_completed_event_id, ::Integer) -> ::Integer
1968
- | (:details, ::Temporalio::Api::Common::V1::Payloads?) -> ::Temporalio::Api::Common::V1::Payloads?
1969
- | [M < ::Temporalio::Api::Common::V1::Payloads::_ToProto] (:details, M?) -> M?
1970
- | (::Symbol, untyped) -> untyped
1971
-
1972
- interface _ToProto
1973
- def to_proto: () -> WorkflowExecutionCanceledEventAttributes
1974
- end
1975
-
1976
- # The type of `#initialize` parameter.
1977
- type init = WorkflowExecutionCanceledEventAttributes | _ToProto
1978
-
1979
- # The type of `repeated` field.
1980
- type field_array = ::Protobuf::Field::FieldArray[WorkflowExecutionCanceledEventAttributes, WorkflowExecutionCanceledEventAttributes | _ToProto]
1981
-
1982
- # The type of `map` field.
1983
- type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, WorkflowExecutionCanceledEventAttributes, WorkflowExecutionCanceledEventAttributes | _ToProto]
1984
-
1985
- type array = ::Array[WorkflowExecutionCanceledEventAttributes | _ToProto]
1986
-
1987
- type hash[KEY] = ::Hash[KEY, WorkflowExecutionCanceledEventAttributes | _ToProto]
1988
- end
1989
-
1990
- class MarkerRecordedEventAttributes < ::Protobuf::Message
1991
- # Encode the message to a binary string
1992
- #
1993
- def self.encode: (MarkerRecordedEventAttributes) -> String
1994
-
1995
- # Workers use this to identify the "types" of various markers. Ex: Local activity, side effect.
1996
- #
1997
- attr_accessor marker_name(): ::String
1998
-
1999
- def marker_name!: () -> ::String?
2000
-
2001
- # Serialized information recorded in the marker
2002
- #
2003
- attr_accessor details(): ::Temporalio::Api::Common::V1::Payloads::field_hash[::String]
2004
-
2005
- # Serialized information recorded in the marker
2006
- #
2007
- def details=: (::Temporalio::Api::Common::V1::Payloads::hash[::String]) -> ::Temporalio::Api::Common::V1::Payloads::hash[::String]
2008
- | ...
2009
-
2010
- def details!: () -> ::Temporalio::Api::Common::V1::Payloads::field_hash[::String]?
2011
-
2012
- # The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
2013
- #
2014
- attr_accessor workflow_task_completed_event_id(): ::Integer
2015
-
2016
- def workflow_task_completed_event_id!: () -> ::Integer?
2017
-
2018
- attr_accessor header(): ::Temporalio::Api::Common::V1::Header?
2019
-
2020
- def header=: [M < ::Temporalio::Api::Common::V1::Header::_ToProto] (M?) -> M?
2021
- | ...
2022
-
2023
- def header!: () -> ::Temporalio::Api::Common::V1::Header?
2024
-
2025
- # Some uses of markers, like a local activity, could "fail". If they did that is recorded here.
2026
- #
2027
- attr_accessor failure(): ::Temporalio::Api::Failure::V1::Failure?
2028
-
2029
- # Some uses of markers, like a local activity, could "fail". If they did that is recorded here.
2030
- #
2031
- def failure=: [M < ::Temporalio::Api::Failure::V1::Failure::_ToProto] (M?) -> M?
2032
- | ...
2033
-
2034
- def failure!: () -> ::Temporalio::Api::Failure::V1::Failure?
2035
-
2036
- def initialize: (?marker_name: ::String, ?details: ::Temporalio::Api::Common::V1::Payloads::hash[::String], ?workflow_task_completed_event_id: ::Integer, ?header: ::Temporalio::Api::Common::V1::Header::init?, ?failure: ::Temporalio::Api::Failure::V1::Failure::init?) -> void
2037
-
2038
- def []: (:marker_name) -> ::String
2039
- | (:details) -> ::Temporalio::Api::Common::V1::Payloads::field_hash[::String]
2040
- | (:workflow_task_completed_event_id) -> ::Integer
2041
- | (:header) -> ::Temporalio::Api::Common::V1::Header?
2042
- | (:failure) -> ::Temporalio::Api::Failure::V1::Failure?
2043
- | (::Symbol) -> untyped
2044
-
2045
- def []=: (:marker_name, ::String) -> ::String
2046
- | (:details, ::Temporalio::Api::Common::V1::Payloads::field_hash[::String]) -> ::Temporalio::Api::Common::V1::Payloads::field_hash[::String]
2047
- | (:details, ::Temporalio::Api::Common::V1::Payloads::hash[::String]) -> ::Temporalio::Api::Common::V1::Payloads::hash[::String]
2048
- | (:workflow_task_completed_event_id, ::Integer) -> ::Integer
2049
- | (:header, ::Temporalio::Api::Common::V1::Header?) -> ::Temporalio::Api::Common::V1::Header?
2050
- | [M < ::Temporalio::Api::Common::V1::Header::_ToProto] (:header, M?) -> M?
2051
- | (:failure, ::Temporalio::Api::Failure::V1::Failure?) -> ::Temporalio::Api::Failure::V1::Failure?
2052
- | [M < ::Temporalio::Api::Failure::V1::Failure::_ToProto] (:failure, M?) -> M?
2053
- | (::Symbol, untyped) -> untyped
2054
-
2055
- interface _ToProto
2056
- def to_proto: () -> MarkerRecordedEventAttributes
2057
- end
2058
-
2059
- # The type of `#initialize` parameter.
2060
- type init = MarkerRecordedEventAttributes | _ToProto
2061
-
2062
- # The type of `repeated` field.
2063
- type field_array = ::Protobuf::Field::FieldArray[MarkerRecordedEventAttributes, MarkerRecordedEventAttributes | _ToProto]
2064
-
2065
- # The type of `map` field.
2066
- type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, MarkerRecordedEventAttributes, MarkerRecordedEventAttributes | _ToProto]
2067
-
2068
- type array = ::Array[MarkerRecordedEventAttributes | _ToProto]
2069
-
2070
- type hash[KEY] = ::Hash[KEY, MarkerRecordedEventAttributes | _ToProto]
2071
- end
2072
-
2073
- class WorkflowExecutionSignaledEventAttributes < ::Protobuf::Message
2074
- # Encode the message to a binary string
2075
- #
2076
- def self.encode: (WorkflowExecutionSignaledEventAttributes) -> String
2077
-
2078
- # The name/type of the signal to fire
2079
- #
2080
- attr_accessor signal_name(): ::String
2081
-
2082
- def signal_name!: () -> ::String?
2083
-
2084
- # Will be deserialized and provided as argument(s) to the signal handler
2085
- #
2086
- attr_accessor input(): ::Temporalio::Api::Common::V1::Payloads?
2087
-
2088
- # Will be deserialized and provided as argument(s) to the signal handler
2089
- #
2090
- def input=: [M < ::Temporalio::Api::Common::V1::Payloads::_ToProto] (M?) -> M?
2091
- | ...
2092
-
2093
- def input!: () -> ::Temporalio::Api::Common::V1::Payloads?
2094
-
2095
- # id of the worker/client who sent this signal
2096
- #
2097
- attr_accessor identity(): ::String
2098
-
2099
- def identity!: () -> ::String?
2100
-
2101
- # Headers that were passed by the sender of the signal and copied by temporal
2102
- # server into the workflow task.
2103
- #
2104
- attr_accessor header(): ::Temporalio::Api::Common::V1::Header?
2105
-
2106
- # Headers that were passed by the sender of the signal and copied by temporal
2107
- # server into the workflow task.
2108
- #
2109
- def header=: [M < ::Temporalio::Api::Common::V1::Header::_ToProto] (M?) -> M?
2110
- | ...
2111
-
2112
- def header!: () -> ::Temporalio::Api::Common::V1::Header?
2113
-
2114
- def initialize: (?signal_name: ::String, ?input: ::Temporalio::Api::Common::V1::Payloads::init?, ?identity: ::String, ?header: ::Temporalio::Api::Common::V1::Header::init?) -> void
2115
-
2116
- def []: (:signal_name) -> ::String
2117
- | (:input) -> ::Temporalio::Api::Common::V1::Payloads?
2118
- | (:identity) -> ::String
2119
- | (:header) -> ::Temporalio::Api::Common::V1::Header?
2120
- | (::Symbol) -> untyped
2121
-
2122
- def []=: (:signal_name, ::String) -> ::String
2123
- | (:input, ::Temporalio::Api::Common::V1::Payloads?) -> ::Temporalio::Api::Common::V1::Payloads?
2124
- | [M < ::Temporalio::Api::Common::V1::Payloads::_ToProto] (:input, M?) -> M?
2125
- | (:identity, ::String) -> ::String
2126
- | (:header, ::Temporalio::Api::Common::V1::Header?) -> ::Temporalio::Api::Common::V1::Header?
2127
- | [M < ::Temporalio::Api::Common::V1::Header::_ToProto] (:header, M?) -> M?
2128
- | (::Symbol, untyped) -> untyped
2129
-
2130
- interface _ToProto
2131
- def to_proto: () -> WorkflowExecutionSignaledEventAttributes
2132
- end
2133
-
2134
- # The type of `#initialize` parameter.
2135
- type init = WorkflowExecutionSignaledEventAttributes | _ToProto
2136
-
2137
- # The type of `repeated` field.
2138
- type field_array = ::Protobuf::Field::FieldArray[WorkflowExecutionSignaledEventAttributes, WorkflowExecutionSignaledEventAttributes | _ToProto]
2139
-
2140
- # The type of `map` field.
2141
- type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, WorkflowExecutionSignaledEventAttributes, WorkflowExecutionSignaledEventAttributes | _ToProto]
2142
-
2143
- type array = ::Array[WorkflowExecutionSignaledEventAttributes | _ToProto]
2144
-
2145
- type hash[KEY] = ::Hash[KEY, WorkflowExecutionSignaledEventAttributes | _ToProto]
2146
- end
2147
-
2148
- class WorkflowExecutionTerminatedEventAttributes < ::Protobuf::Message
2149
- # Encode the message to a binary string
2150
- #
2151
- def self.encode: (WorkflowExecutionTerminatedEventAttributes) -> String
2152
-
2153
- # User/client provided reason for termination
2154
- #
2155
- attr_accessor reason(): ::String
2156
-
2157
- def reason!: () -> ::String?
2158
-
2159
- attr_accessor details(): ::Temporalio::Api::Common::V1::Payloads?
2160
-
2161
- def details=: [M < ::Temporalio::Api::Common::V1::Payloads::_ToProto] (M?) -> M?
2162
- | ...
2163
-
2164
- def details!: () -> ::Temporalio::Api::Common::V1::Payloads?
2165
-
2166
- # id of the client who requested termination
2167
- #
2168
- attr_accessor identity(): ::String
2169
-
2170
- def identity!: () -> ::String?
2171
-
2172
- def initialize: (?reason: ::String, ?details: ::Temporalio::Api::Common::V1::Payloads::init?, ?identity: ::String) -> void
2173
-
2174
- def []: (:reason) -> ::String
2175
- | (:details) -> ::Temporalio::Api::Common::V1::Payloads?
2176
- | (:identity) -> ::String
2177
- | (::Symbol) -> untyped
2178
-
2179
- def []=: (:reason, ::String) -> ::String
2180
- | (:details, ::Temporalio::Api::Common::V1::Payloads?) -> ::Temporalio::Api::Common::V1::Payloads?
2181
- | [M < ::Temporalio::Api::Common::V1::Payloads::_ToProto] (:details, M?) -> M?
2182
- | (:identity, ::String) -> ::String
2183
- | (::Symbol, untyped) -> untyped
2184
-
2185
- interface _ToProto
2186
- def to_proto: () -> WorkflowExecutionTerminatedEventAttributes
2187
- end
2188
-
2189
- # The type of `#initialize` parameter.
2190
- type init = WorkflowExecutionTerminatedEventAttributes | _ToProto
2191
-
2192
- # The type of `repeated` field.
2193
- type field_array = ::Protobuf::Field::FieldArray[WorkflowExecutionTerminatedEventAttributes, WorkflowExecutionTerminatedEventAttributes | _ToProto]
2194
-
2195
- # The type of `map` field.
2196
- type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, WorkflowExecutionTerminatedEventAttributes, WorkflowExecutionTerminatedEventAttributes | _ToProto]
2197
-
2198
- type array = ::Array[WorkflowExecutionTerminatedEventAttributes | _ToProto]
2199
-
2200
- type hash[KEY] = ::Hash[KEY, WorkflowExecutionTerminatedEventAttributes | _ToProto]
2201
- end
2202
-
2203
- class RequestCancelExternalWorkflowExecutionInitiatedEventAttributes < ::Protobuf::Message
2204
- # Encode the message to a binary string
2205
- #
2206
- def self.encode: (RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) -> String
2207
-
2208
- # The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
2209
- #
2210
- attr_accessor workflow_task_completed_event_id(): ::Integer
2211
-
2212
- def workflow_task_completed_event_id!: () -> ::Integer?
2213
-
2214
- # The namespace the workflow to be cancelled lives in.
2215
- # SDKs and UI tools should use `namespace` field but server must use `namespace_id` only.
2216
- #
2217
- attr_accessor namespace(): ::String
2218
-
2219
- def namespace!: () -> ::String?
2220
-
2221
- attr_accessor namespace_id(): ::String
2222
-
2223
- def namespace_id!: () -> ::String?
2224
-
2225
- attr_accessor workflow_execution(): ::Temporalio::Api::Common::V1::WorkflowExecution?
2226
-
2227
- def workflow_execution=: [M < ::Temporalio::Api::Common::V1::WorkflowExecution::_ToProto] (M?) -> M?
2228
- | ...
2229
-
2230
- def workflow_execution!: () -> ::Temporalio::Api::Common::V1::WorkflowExecution?
2231
-
2232
- # Deprecated
2233
- #
2234
- attr_accessor control(): ::String
2235
-
2236
- def control!: () -> ::String?
2237
-
2238
- # Workers are expected to set this to true if the workflow they are requesting to cancel is
2239
- # a child of the workflow which issued the request
2240
- #
2241
- attr_accessor child_workflow_only(): bool
2242
-
2243
- def child_workflow_only!: () -> bool?
2244
-
2245
- # Reason for requesting the cancellation
2246
- #
2247
- attr_accessor reason(): ::String
2248
-
2249
- def reason!: () -> ::String?
2250
-
2251
- def initialize: (?workflow_task_completed_event_id: ::Integer, ?namespace: ::String, ?namespace_id: ::String, ?workflow_execution: ::Temporalio::Api::Common::V1::WorkflowExecution::init?, ?control: ::String, ?child_workflow_only: bool, ?reason: ::String) -> void
2252
-
2253
- def []: (:workflow_task_completed_event_id) -> ::Integer
2254
- | (:namespace) -> ::String
2255
- | (:namespace_id) -> ::String
2256
- | (:workflow_execution) -> ::Temporalio::Api::Common::V1::WorkflowExecution?
2257
- | (:control) -> ::String
2258
- | (:child_workflow_only) -> bool
2259
- | (:reason) -> ::String
2260
- | (::Symbol) -> untyped
2261
-
2262
- def []=: (:workflow_task_completed_event_id, ::Integer) -> ::Integer
2263
- | (:namespace, ::String) -> ::String
2264
- | (:namespace_id, ::String) -> ::String
2265
- | (:workflow_execution, ::Temporalio::Api::Common::V1::WorkflowExecution?) -> ::Temporalio::Api::Common::V1::WorkflowExecution?
2266
- | [M < ::Temporalio::Api::Common::V1::WorkflowExecution::_ToProto] (:workflow_execution, M?) -> M?
2267
- | (:control, ::String) -> ::String
2268
- | (:child_workflow_only, bool) -> bool
2269
- | (:reason, ::String) -> ::String
2270
- | (::Symbol, untyped) -> untyped
2271
-
2272
- def child_workflow_only?: () -> bool
2273
-
2274
- interface _ToProto
2275
- def to_proto: () -> RequestCancelExternalWorkflowExecutionInitiatedEventAttributes
2276
- end
2277
-
2278
- # The type of `#initialize` parameter.
2279
- type init = RequestCancelExternalWorkflowExecutionInitiatedEventAttributes | _ToProto
2280
-
2281
- # The type of `repeated` field.
2282
- type field_array = ::Protobuf::Field::FieldArray[RequestCancelExternalWorkflowExecutionInitiatedEventAttributes, RequestCancelExternalWorkflowExecutionInitiatedEventAttributes | _ToProto]
2283
-
2284
- # The type of `map` field.
2285
- type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, RequestCancelExternalWorkflowExecutionInitiatedEventAttributes, RequestCancelExternalWorkflowExecutionInitiatedEventAttributes | _ToProto]
2286
-
2287
- type array = ::Array[RequestCancelExternalWorkflowExecutionInitiatedEventAttributes | _ToProto]
2288
-
2289
- type hash[KEY] = ::Hash[KEY, RequestCancelExternalWorkflowExecutionInitiatedEventAttributes | _ToProto]
2290
- end
2291
-
2292
- class RequestCancelExternalWorkflowExecutionFailedEventAttributes < ::Protobuf::Message
2293
- # Encode the message to a binary string
2294
- #
2295
- def self.encode: (RequestCancelExternalWorkflowExecutionFailedEventAttributes) -> String
2296
-
2297
- attr_accessor cause(): ::Temporalio::Api::Enums::V1::CancelExternalWorkflowExecutionFailedCause
2298
-
2299
- def cause=: (::Temporalio::Api::Enums::V1::CancelExternalWorkflowExecutionFailedCause::values) -> ::Temporalio::Api::Enums::V1::CancelExternalWorkflowExecutionFailedCause::values
2300
- | ...
2301
-
2302
- def cause!: () -> ::Temporalio::Api::Enums::V1::CancelExternalWorkflowExecutionFailedCause?
2303
-
2304
- # The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
2305
- #
2306
- attr_accessor workflow_task_completed_event_id(): ::Integer
2307
-
2308
- def workflow_task_completed_event_id!: () -> ::Integer?
2309
-
2310
- # Namespace of the workflow which failed to cancel.
2311
- # SDKs and UI tools should use `namespace` field but server must use `namespace_id` only.
2312
- #
2313
- attr_accessor namespace(): ::String
2314
-
2315
- def namespace!: () -> ::String?
2316
-
2317
- attr_accessor namespace_id(): ::String
2318
-
2319
- def namespace_id!: () -> ::String?
2320
-
2321
- attr_accessor workflow_execution(): ::Temporalio::Api::Common::V1::WorkflowExecution?
2322
-
2323
- def workflow_execution=: [M < ::Temporalio::Api::Common::V1::WorkflowExecution::_ToProto] (M?) -> M?
2324
- | ...
2325
-
2326
- def workflow_execution!: () -> ::Temporalio::Api::Common::V1::WorkflowExecution?
2327
-
2328
- # id of the `REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED` event this failure
2329
- # corresponds to
2330
- #
2331
- attr_accessor initiated_event_id(): ::Integer
2332
-
2333
- def initiated_event_id!: () -> ::Integer?
2334
-
2335
- # Deprecated
2336
- #
2337
- attr_accessor control(): ::String
2338
-
2339
- def control!: () -> ::String?
2340
-
2341
- def initialize: (?cause: ::Temporalio::Api::Enums::V1::CancelExternalWorkflowExecutionFailedCause::init, ?workflow_task_completed_event_id: ::Integer, ?namespace: ::String, ?namespace_id: ::String, ?workflow_execution: ::Temporalio::Api::Common::V1::WorkflowExecution::init?, ?initiated_event_id: ::Integer, ?control: ::String) -> void
2342
-
2343
- def []: (:cause) -> ::Temporalio::Api::Enums::V1::CancelExternalWorkflowExecutionFailedCause
2344
- | (:workflow_task_completed_event_id) -> ::Integer
2345
- | (:namespace) -> ::String
2346
- | (:namespace_id) -> ::String
2347
- | (:workflow_execution) -> ::Temporalio::Api::Common::V1::WorkflowExecution?
2348
- | (:initiated_event_id) -> ::Integer
2349
- | (:control) -> ::String
2350
- | (::Symbol) -> untyped
2351
-
2352
- def []=: (:cause, ::Temporalio::Api::Enums::V1::CancelExternalWorkflowExecutionFailedCause) -> ::Temporalio::Api::Enums::V1::CancelExternalWorkflowExecutionFailedCause
2353
- | (:cause, ::Temporalio::Api::Enums::V1::CancelExternalWorkflowExecutionFailedCause::values) -> ::Temporalio::Api::Enums::V1::CancelExternalWorkflowExecutionFailedCause::values
2354
- | (:workflow_task_completed_event_id, ::Integer) -> ::Integer
2355
- | (:namespace, ::String) -> ::String
2356
- | (:namespace_id, ::String) -> ::String
2357
- | (:workflow_execution, ::Temporalio::Api::Common::V1::WorkflowExecution?) -> ::Temporalio::Api::Common::V1::WorkflowExecution?
2358
- | [M < ::Temporalio::Api::Common::V1::WorkflowExecution::_ToProto] (:workflow_execution, M?) -> M?
2359
- | (:initiated_event_id, ::Integer) -> ::Integer
2360
- | (:control, ::String) -> ::String
2361
- | (::Symbol, untyped) -> untyped
2362
-
2363
- interface _ToProto
2364
- def to_proto: () -> RequestCancelExternalWorkflowExecutionFailedEventAttributes
2365
- end
2366
-
2367
- # The type of `#initialize` parameter.
2368
- type init = RequestCancelExternalWorkflowExecutionFailedEventAttributes | _ToProto
2369
-
2370
- # The type of `repeated` field.
2371
- type field_array = ::Protobuf::Field::FieldArray[RequestCancelExternalWorkflowExecutionFailedEventAttributes, RequestCancelExternalWorkflowExecutionFailedEventAttributes | _ToProto]
2372
-
2373
- # The type of `map` field.
2374
- type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, RequestCancelExternalWorkflowExecutionFailedEventAttributes, RequestCancelExternalWorkflowExecutionFailedEventAttributes | _ToProto]
2375
-
2376
- type array = ::Array[RequestCancelExternalWorkflowExecutionFailedEventAttributes | _ToProto]
2377
-
2378
- type hash[KEY] = ::Hash[KEY, RequestCancelExternalWorkflowExecutionFailedEventAttributes | _ToProto]
2379
- end
2380
-
2381
- class ExternalWorkflowExecutionCancelRequestedEventAttributes < ::Protobuf::Message
2382
- # Encode the message to a binary string
2383
- #
2384
- def self.encode: (ExternalWorkflowExecutionCancelRequestedEventAttributes) -> String
2385
-
2386
- # id of the `REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED` event this event corresponds
2387
- # to
2388
- #
2389
- attr_accessor initiated_event_id(): ::Integer
2390
-
2391
- def initiated_event_id!: () -> ::Integer?
2392
-
2393
- # Namespace of the to-be-cancelled workflow.
2394
- # SDKs and UI tools should use `namespace` field but server must use `namespace_id` only.
2395
- #
2396
- attr_accessor namespace(): ::String
2397
-
2398
- def namespace!: () -> ::String?
2399
-
2400
- attr_accessor namespace_id(): ::String
2401
-
2402
- def namespace_id!: () -> ::String?
2403
-
2404
- attr_accessor workflow_execution(): ::Temporalio::Api::Common::V1::WorkflowExecution?
2405
-
2406
- def workflow_execution=: [M < ::Temporalio::Api::Common::V1::WorkflowExecution::_ToProto] (M?) -> M?
2407
- | ...
2408
-
2409
- def workflow_execution!: () -> ::Temporalio::Api::Common::V1::WorkflowExecution?
2410
-
2411
- def initialize: (?initiated_event_id: ::Integer, ?namespace: ::String, ?namespace_id: ::String, ?workflow_execution: ::Temporalio::Api::Common::V1::WorkflowExecution::init?) -> void
2412
-
2413
- def []: (:initiated_event_id) -> ::Integer
2414
- | (:namespace) -> ::String
2415
- | (:namespace_id) -> ::String
2416
- | (:workflow_execution) -> ::Temporalio::Api::Common::V1::WorkflowExecution?
2417
- | (::Symbol) -> untyped
2418
-
2419
- def []=: (:initiated_event_id, ::Integer) -> ::Integer
2420
- | (:namespace, ::String) -> ::String
2421
- | (:namespace_id, ::String) -> ::String
2422
- | (:workflow_execution, ::Temporalio::Api::Common::V1::WorkflowExecution?) -> ::Temporalio::Api::Common::V1::WorkflowExecution?
2423
- | [M < ::Temporalio::Api::Common::V1::WorkflowExecution::_ToProto] (:workflow_execution, M?) -> M?
2424
- | (::Symbol, untyped) -> untyped
2425
-
2426
- interface _ToProto
2427
- def to_proto: () -> ExternalWorkflowExecutionCancelRequestedEventAttributes
2428
- end
2429
-
2430
- # The type of `#initialize` parameter.
2431
- type init = ExternalWorkflowExecutionCancelRequestedEventAttributes | _ToProto
2432
-
2433
- # The type of `repeated` field.
2434
- type field_array = ::Protobuf::Field::FieldArray[ExternalWorkflowExecutionCancelRequestedEventAttributes, ExternalWorkflowExecutionCancelRequestedEventAttributes | _ToProto]
2435
-
2436
- # The type of `map` field.
2437
- type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, ExternalWorkflowExecutionCancelRequestedEventAttributes, ExternalWorkflowExecutionCancelRequestedEventAttributes | _ToProto]
2438
-
2439
- type array = ::Array[ExternalWorkflowExecutionCancelRequestedEventAttributes | _ToProto]
2440
-
2441
- type hash[KEY] = ::Hash[KEY, ExternalWorkflowExecutionCancelRequestedEventAttributes | _ToProto]
2442
- end
2443
-
2444
- class SignalExternalWorkflowExecutionInitiatedEventAttributes < ::Protobuf::Message
2445
- # Encode the message to a binary string
2446
- #
2447
- def self.encode: (SignalExternalWorkflowExecutionInitiatedEventAttributes) -> String
2448
-
2449
- # The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
2450
- #
2451
- attr_accessor workflow_task_completed_event_id(): ::Integer
2452
-
2453
- def workflow_task_completed_event_id!: () -> ::Integer?
2454
-
2455
- # Namespace of the to-be-signalled workflow.
2456
- # SDKs and UI tools should use `namespace` field but server must use `namespace_id` only.
2457
- #
2458
- attr_accessor namespace(): ::String
2459
-
2460
- def namespace!: () -> ::String?
2461
-
2462
- attr_accessor namespace_id(): ::String
2463
-
2464
- def namespace_id!: () -> ::String?
2465
-
2466
- attr_accessor workflow_execution(): ::Temporalio::Api::Common::V1::WorkflowExecution?
2467
-
2468
- def workflow_execution=: [M < ::Temporalio::Api::Common::V1::WorkflowExecution::_ToProto] (M?) -> M?
2469
- | ...
2470
-
2471
- def workflow_execution!: () -> ::Temporalio::Api::Common::V1::WorkflowExecution?
2472
-
2473
- # name/type of the signal to fire in the external workflow
2474
- #
2475
- attr_accessor signal_name(): ::String
2476
-
2477
- def signal_name!: () -> ::String?
2478
-
2479
- # Serialized arguments to provide to the signal handler
2480
- #
2481
- attr_accessor input(): ::Temporalio::Api::Common::V1::Payloads?
2482
-
2483
- # Serialized arguments to provide to the signal handler
2484
- #
2485
- def input=: [M < ::Temporalio::Api::Common::V1::Payloads::_ToProto] (M?) -> M?
2486
- | ...
2487
-
2488
- def input!: () -> ::Temporalio::Api::Common::V1::Payloads?
2489
-
2490
- # Deprecated
2491
- #
2492
- attr_accessor control(): ::String
2493
-
2494
- def control!: () -> ::String?
2495
-
2496
- # Workers are expected to set this to true if the workflow they are requesting to cancel is
2497
- # a child of the workflow which issued the request
2498
- #
2499
- attr_accessor child_workflow_only(): bool
2500
-
2501
- def child_workflow_only!: () -> bool?
2502
-
2503
- attr_accessor header(): ::Temporalio::Api::Common::V1::Header?
2504
-
2505
- def header=: [M < ::Temporalio::Api::Common::V1::Header::_ToProto] (M?) -> M?
2506
- | ...
2507
-
2508
- def header!: () -> ::Temporalio::Api::Common::V1::Header?
2509
-
2510
- def initialize: (?workflow_task_completed_event_id: ::Integer, ?namespace: ::String, ?namespace_id: ::String, ?workflow_execution: ::Temporalio::Api::Common::V1::WorkflowExecution::init?, ?signal_name: ::String, ?input: ::Temporalio::Api::Common::V1::Payloads::init?, ?control: ::String, ?child_workflow_only: bool, ?header: ::Temporalio::Api::Common::V1::Header::init?) -> void
2511
-
2512
- def []: (:workflow_task_completed_event_id) -> ::Integer
2513
- | (:namespace) -> ::String
2514
- | (:namespace_id) -> ::String
2515
- | (:workflow_execution) -> ::Temporalio::Api::Common::V1::WorkflowExecution?
2516
- | (:signal_name) -> ::String
2517
- | (:input) -> ::Temporalio::Api::Common::V1::Payloads?
2518
- | (:control) -> ::String
2519
- | (:child_workflow_only) -> bool
2520
- | (:header) -> ::Temporalio::Api::Common::V1::Header?
2521
- | (::Symbol) -> untyped
2522
-
2523
- def []=: (:workflow_task_completed_event_id, ::Integer) -> ::Integer
2524
- | (:namespace, ::String) -> ::String
2525
- | (:namespace_id, ::String) -> ::String
2526
- | (:workflow_execution, ::Temporalio::Api::Common::V1::WorkflowExecution?) -> ::Temporalio::Api::Common::V1::WorkflowExecution?
2527
- | [M < ::Temporalio::Api::Common::V1::WorkflowExecution::_ToProto] (:workflow_execution, M?) -> M?
2528
- | (:signal_name, ::String) -> ::String
2529
- | (:input, ::Temporalio::Api::Common::V1::Payloads?) -> ::Temporalio::Api::Common::V1::Payloads?
2530
- | [M < ::Temporalio::Api::Common::V1::Payloads::_ToProto] (:input, M?) -> M?
2531
- | (:control, ::String) -> ::String
2532
- | (:child_workflow_only, bool) -> bool
2533
- | (:header, ::Temporalio::Api::Common::V1::Header?) -> ::Temporalio::Api::Common::V1::Header?
2534
- | [M < ::Temporalio::Api::Common::V1::Header::_ToProto] (:header, M?) -> M?
2535
- | (::Symbol, untyped) -> untyped
2536
-
2537
- def child_workflow_only?: () -> bool
2538
-
2539
- interface _ToProto
2540
- def to_proto: () -> SignalExternalWorkflowExecutionInitiatedEventAttributes
2541
- end
2542
-
2543
- # The type of `#initialize` parameter.
2544
- type init = SignalExternalWorkflowExecutionInitiatedEventAttributes | _ToProto
2545
-
2546
- # The type of `repeated` field.
2547
- type field_array = ::Protobuf::Field::FieldArray[SignalExternalWorkflowExecutionInitiatedEventAttributes, SignalExternalWorkflowExecutionInitiatedEventAttributes | _ToProto]
2548
-
2549
- # The type of `map` field.
2550
- type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, SignalExternalWorkflowExecutionInitiatedEventAttributes, SignalExternalWorkflowExecutionInitiatedEventAttributes | _ToProto]
2551
-
2552
- type array = ::Array[SignalExternalWorkflowExecutionInitiatedEventAttributes | _ToProto]
2553
-
2554
- type hash[KEY] = ::Hash[KEY, SignalExternalWorkflowExecutionInitiatedEventAttributes | _ToProto]
2555
- end
2556
-
2557
- class SignalExternalWorkflowExecutionFailedEventAttributes < ::Protobuf::Message
2558
- # Encode the message to a binary string
2559
- #
2560
- def self.encode: (SignalExternalWorkflowExecutionFailedEventAttributes) -> String
2561
-
2562
- attr_accessor cause(): ::Temporalio::Api::Enums::V1::SignalExternalWorkflowExecutionFailedCause
2563
-
2564
- def cause=: (::Temporalio::Api::Enums::V1::SignalExternalWorkflowExecutionFailedCause::values) -> ::Temporalio::Api::Enums::V1::SignalExternalWorkflowExecutionFailedCause::values
2565
- | ...
2566
-
2567
- def cause!: () -> ::Temporalio::Api::Enums::V1::SignalExternalWorkflowExecutionFailedCause?
2568
-
2569
- # The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
2570
- #
2571
- attr_accessor workflow_task_completed_event_id(): ::Integer
2572
-
2573
- def workflow_task_completed_event_id!: () -> ::Integer?
2574
-
2575
- # Namespace of the workflow which failed the signal.
2576
- # SDKs and UI tools should use `namespace` field but server must use `namespace_id` only.
2577
- #
2578
- attr_accessor namespace(): ::String
2579
-
2580
- def namespace!: () -> ::String?
2581
-
2582
- attr_accessor namespace_id(): ::String
2583
-
2584
- def namespace_id!: () -> ::String?
2585
-
2586
- attr_accessor workflow_execution(): ::Temporalio::Api::Common::V1::WorkflowExecution?
2587
-
2588
- def workflow_execution=: [M < ::Temporalio::Api::Common::V1::WorkflowExecution::_ToProto] (M?) -> M?
2589
- | ...
2590
-
2591
- def workflow_execution!: () -> ::Temporalio::Api::Common::V1::WorkflowExecution?
2592
-
2593
- attr_accessor initiated_event_id(): ::Integer
2594
-
2595
- def initiated_event_id!: () -> ::Integer?
2596
-
2597
- # Deprecated
2598
- #
2599
- attr_accessor control(): ::String
2600
-
2601
- def control!: () -> ::String?
2602
-
2603
- def initialize: (?cause: ::Temporalio::Api::Enums::V1::SignalExternalWorkflowExecutionFailedCause::init, ?workflow_task_completed_event_id: ::Integer, ?namespace: ::String, ?namespace_id: ::String, ?workflow_execution: ::Temporalio::Api::Common::V1::WorkflowExecution::init?, ?initiated_event_id: ::Integer, ?control: ::String) -> void
2604
-
2605
- def []: (:cause) -> ::Temporalio::Api::Enums::V1::SignalExternalWorkflowExecutionFailedCause
2606
- | (:workflow_task_completed_event_id) -> ::Integer
2607
- | (:namespace) -> ::String
2608
- | (:namespace_id) -> ::String
2609
- | (:workflow_execution) -> ::Temporalio::Api::Common::V1::WorkflowExecution?
2610
- | (:initiated_event_id) -> ::Integer
2611
- | (:control) -> ::String
2612
- | (::Symbol) -> untyped
2613
-
2614
- def []=: (:cause, ::Temporalio::Api::Enums::V1::SignalExternalWorkflowExecutionFailedCause) -> ::Temporalio::Api::Enums::V1::SignalExternalWorkflowExecutionFailedCause
2615
- | (:cause, ::Temporalio::Api::Enums::V1::SignalExternalWorkflowExecutionFailedCause::values) -> ::Temporalio::Api::Enums::V1::SignalExternalWorkflowExecutionFailedCause::values
2616
- | (:workflow_task_completed_event_id, ::Integer) -> ::Integer
2617
- | (:namespace, ::String) -> ::String
2618
- | (:namespace_id, ::String) -> ::String
2619
- | (:workflow_execution, ::Temporalio::Api::Common::V1::WorkflowExecution?) -> ::Temporalio::Api::Common::V1::WorkflowExecution?
2620
- | [M < ::Temporalio::Api::Common::V1::WorkflowExecution::_ToProto] (:workflow_execution, M?) -> M?
2621
- | (:initiated_event_id, ::Integer) -> ::Integer
2622
- | (:control, ::String) -> ::String
2623
- | (::Symbol, untyped) -> untyped
2624
-
2625
- interface _ToProto
2626
- def to_proto: () -> SignalExternalWorkflowExecutionFailedEventAttributes
2627
- end
2628
-
2629
- # The type of `#initialize` parameter.
2630
- type init = SignalExternalWorkflowExecutionFailedEventAttributes | _ToProto
2631
-
2632
- # The type of `repeated` field.
2633
- type field_array = ::Protobuf::Field::FieldArray[SignalExternalWorkflowExecutionFailedEventAttributes, SignalExternalWorkflowExecutionFailedEventAttributes | _ToProto]
2634
-
2635
- # The type of `map` field.
2636
- type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, SignalExternalWorkflowExecutionFailedEventAttributes, SignalExternalWorkflowExecutionFailedEventAttributes | _ToProto]
2637
-
2638
- type array = ::Array[SignalExternalWorkflowExecutionFailedEventAttributes | _ToProto]
2639
-
2640
- type hash[KEY] = ::Hash[KEY, SignalExternalWorkflowExecutionFailedEventAttributes | _ToProto]
2641
- end
2642
-
2643
- class ExternalWorkflowExecutionSignaledEventAttributes < ::Protobuf::Message
2644
- # Encode the message to a binary string
2645
- #
2646
- def self.encode: (ExternalWorkflowExecutionSignaledEventAttributes) -> String
2647
-
2648
- # id of the `SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED` event this event corresponds to
2649
- #
2650
- attr_accessor initiated_event_id(): ::Integer
2651
-
2652
- def initiated_event_id!: () -> ::Integer?
2653
-
2654
- # Namespace of the workflow which was signaled.
2655
- # SDKs and UI tools should use `namespace` field but server must use `namespace_id` only.
2656
- #
2657
- attr_accessor namespace(): ::String
2658
-
2659
- def namespace!: () -> ::String?
2660
-
2661
- attr_accessor namespace_id(): ::String
2662
-
2663
- def namespace_id!: () -> ::String?
2664
-
2665
- attr_accessor workflow_execution(): ::Temporalio::Api::Common::V1::WorkflowExecution?
2666
-
2667
- def workflow_execution=: [M < ::Temporalio::Api::Common::V1::WorkflowExecution::_ToProto] (M?) -> M?
2668
- | ...
2669
-
2670
- def workflow_execution!: () -> ::Temporalio::Api::Common::V1::WorkflowExecution?
2671
-
2672
- # Deprecated
2673
- #
2674
- attr_accessor control(): ::String
2675
-
2676
- def control!: () -> ::String?
2677
-
2678
- def initialize: (?initiated_event_id: ::Integer, ?namespace: ::String, ?namespace_id: ::String, ?workflow_execution: ::Temporalio::Api::Common::V1::WorkflowExecution::init?, ?control: ::String) -> void
2679
-
2680
- def []: (:initiated_event_id) -> ::Integer
2681
- | (:namespace) -> ::String
2682
- | (:namespace_id) -> ::String
2683
- | (:workflow_execution) -> ::Temporalio::Api::Common::V1::WorkflowExecution?
2684
- | (:control) -> ::String
2685
- | (::Symbol) -> untyped
2686
-
2687
- def []=: (:initiated_event_id, ::Integer) -> ::Integer
2688
- | (:namespace, ::String) -> ::String
2689
- | (:namespace_id, ::String) -> ::String
2690
- | (:workflow_execution, ::Temporalio::Api::Common::V1::WorkflowExecution?) -> ::Temporalio::Api::Common::V1::WorkflowExecution?
2691
- | [M < ::Temporalio::Api::Common::V1::WorkflowExecution::_ToProto] (:workflow_execution, M?) -> M?
2692
- | (:control, ::String) -> ::String
2693
- | (::Symbol, untyped) -> untyped
2694
-
2695
- interface _ToProto
2696
- def to_proto: () -> ExternalWorkflowExecutionSignaledEventAttributes
2697
- end
2698
-
2699
- # The type of `#initialize` parameter.
2700
- type init = ExternalWorkflowExecutionSignaledEventAttributes | _ToProto
2701
-
2702
- # The type of `repeated` field.
2703
- type field_array = ::Protobuf::Field::FieldArray[ExternalWorkflowExecutionSignaledEventAttributes, ExternalWorkflowExecutionSignaledEventAttributes | _ToProto]
2704
-
2705
- # The type of `map` field.
2706
- type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, ExternalWorkflowExecutionSignaledEventAttributes, ExternalWorkflowExecutionSignaledEventAttributes | _ToProto]
2707
-
2708
- type array = ::Array[ExternalWorkflowExecutionSignaledEventAttributes | _ToProto]
2709
-
2710
- type hash[KEY] = ::Hash[KEY, ExternalWorkflowExecutionSignaledEventAttributes | _ToProto]
2711
- end
2712
-
2713
- class UpsertWorkflowSearchAttributesEventAttributes < ::Protobuf::Message
2714
- # Encode the message to a binary string
2715
- #
2716
- def self.encode: (UpsertWorkflowSearchAttributesEventAttributes) -> String
2717
-
2718
- # The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
2719
- #
2720
- attr_accessor workflow_task_completed_event_id(): ::Integer
2721
-
2722
- def workflow_task_completed_event_id!: () -> ::Integer?
2723
-
2724
- attr_accessor search_attributes(): ::Temporalio::Api::Common::V1::SearchAttributes?
2725
-
2726
- def search_attributes=: [M < ::Temporalio::Api::Common::V1::SearchAttributes::_ToProto] (M?) -> M?
2727
- | ...
2728
-
2729
- def search_attributes!: () -> ::Temporalio::Api::Common::V1::SearchAttributes?
2730
-
2731
- def initialize: (?workflow_task_completed_event_id: ::Integer, ?search_attributes: ::Temporalio::Api::Common::V1::SearchAttributes::init?) -> void
2732
-
2733
- def []: (:workflow_task_completed_event_id) -> ::Integer
2734
- | (:search_attributes) -> ::Temporalio::Api::Common::V1::SearchAttributes?
2735
- | (::Symbol) -> untyped
2736
-
2737
- def []=: (:workflow_task_completed_event_id, ::Integer) -> ::Integer
2738
- | (:search_attributes, ::Temporalio::Api::Common::V1::SearchAttributes?) -> ::Temporalio::Api::Common::V1::SearchAttributes?
2739
- | [M < ::Temporalio::Api::Common::V1::SearchAttributes::_ToProto] (:search_attributes, M?) -> M?
2740
- | (::Symbol, untyped) -> untyped
2741
-
2742
- interface _ToProto
2743
- def to_proto: () -> UpsertWorkflowSearchAttributesEventAttributes
2744
- end
2745
-
2746
- # The type of `#initialize` parameter.
2747
- type init = UpsertWorkflowSearchAttributesEventAttributes | _ToProto
2748
-
2749
- # The type of `repeated` field.
2750
- type field_array = ::Protobuf::Field::FieldArray[UpsertWorkflowSearchAttributesEventAttributes, UpsertWorkflowSearchAttributesEventAttributes | _ToProto]
2751
-
2752
- # The type of `map` field.
2753
- type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, UpsertWorkflowSearchAttributesEventAttributes, UpsertWorkflowSearchAttributesEventAttributes | _ToProto]
2754
-
2755
- type array = ::Array[UpsertWorkflowSearchAttributesEventAttributes | _ToProto]
2756
-
2757
- type hash[KEY] = ::Hash[KEY, UpsertWorkflowSearchAttributesEventAttributes | _ToProto]
2758
- end
2759
-
2760
- class WorkflowPropertiesModifiedEventAttributes < ::Protobuf::Message
2761
- # Encode the message to a binary string
2762
- #
2763
- def self.encode: (WorkflowPropertiesModifiedEventAttributes) -> String
2764
-
2765
- # The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
2766
- #
2767
- attr_accessor workflow_task_completed_event_id(): ::Integer
2768
-
2769
- def workflow_task_completed_event_id!: () -> ::Integer?
2770
-
2771
- # If set, update the workflow memo with the provided values. The values will be merged with
2772
- # the existing memo. If the user wants to delete values, a default/empty Payload should be
2773
- # used as the value for the key being deleted.
2774
- #
2775
- attr_accessor upserted_memo(): ::Temporalio::Api::Common::V1::Memo?
2776
-
2777
- # If set, update the workflow memo with the provided values. The values will be merged with
2778
- # the existing memo. If the user wants to delete values, a default/empty Payload should be
2779
- # used as the value for the key being deleted.
2780
- #
2781
- def upserted_memo=: [M < ::Temporalio::Api::Common::V1::Memo::_ToProto] (M?) -> M?
2782
- | ...
2783
-
2784
- def upserted_memo!: () -> ::Temporalio::Api::Common::V1::Memo?
2785
-
2786
- def initialize: (?workflow_task_completed_event_id: ::Integer, ?upserted_memo: ::Temporalio::Api::Common::V1::Memo::init?) -> void
2787
-
2788
- def []: (:workflow_task_completed_event_id) -> ::Integer
2789
- | (:upserted_memo) -> ::Temporalio::Api::Common::V1::Memo?
2790
- | (::Symbol) -> untyped
2791
-
2792
- def []=: (:workflow_task_completed_event_id, ::Integer) -> ::Integer
2793
- | (:upserted_memo, ::Temporalio::Api::Common::V1::Memo?) -> ::Temporalio::Api::Common::V1::Memo?
2794
- | [M < ::Temporalio::Api::Common::V1::Memo::_ToProto] (:upserted_memo, M?) -> M?
2795
- | (::Symbol, untyped) -> untyped
2796
-
2797
- interface _ToProto
2798
- def to_proto: () -> WorkflowPropertiesModifiedEventAttributes
2799
- end
2800
-
2801
- # The type of `#initialize` parameter.
2802
- type init = WorkflowPropertiesModifiedEventAttributes | _ToProto
2803
-
2804
- # The type of `repeated` field.
2805
- type field_array = ::Protobuf::Field::FieldArray[WorkflowPropertiesModifiedEventAttributes, WorkflowPropertiesModifiedEventAttributes | _ToProto]
2806
-
2807
- # The type of `map` field.
2808
- type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, WorkflowPropertiesModifiedEventAttributes, WorkflowPropertiesModifiedEventAttributes | _ToProto]
2809
-
2810
- type array = ::Array[WorkflowPropertiesModifiedEventAttributes | _ToProto]
2811
-
2812
- type hash[KEY] = ::Hash[KEY, WorkflowPropertiesModifiedEventAttributes | _ToProto]
2813
- end
2814
-
2815
- class StartChildWorkflowExecutionInitiatedEventAttributes < ::Protobuf::Message
2816
- # Encode the message to a binary string
2817
- #
2818
- def self.encode: (StartChildWorkflowExecutionInitiatedEventAttributes) -> String
2819
-
2820
- # Namespace of the child workflow.
2821
- # SDKs and UI tools should use `namespace` field but server must use `namespace_id` only.
2822
- #
2823
- attr_accessor namespace(): ::String
2824
-
2825
- def namespace!: () -> ::String?
2826
-
2827
- attr_accessor namespace_id(): ::String
2828
-
2829
- def namespace_id!: () -> ::String?
2830
-
2831
- attr_accessor workflow_id(): ::String
2832
-
2833
- def workflow_id!: () -> ::String?
2834
-
2835
- attr_accessor workflow_type(): ::Temporalio::Api::Common::V1::WorkflowType?
2836
-
2837
- def workflow_type=: [M < ::Temporalio::Api::Common::V1::WorkflowType::_ToProto] (M?) -> M?
2838
- | ...
2839
-
2840
- def workflow_type!: () -> ::Temporalio::Api::Common::V1::WorkflowType?
2841
-
2842
- attr_accessor task_queue(): ::Temporalio::Api::TaskQueue::V1::TaskQueue?
2843
-
2844
- def task_queue=: [M < ::Temporalio::Api::TaskQueue::V1::TaskQueue::_ToProto] (M?) -> M?
2845
- | ...
2846
-
2847
- def task_queue!: () -> ::Temporalio::Api::TaskQueue::V1::TaskQueue?
2848
-
2849
- attr_accessor input(): ::Temporalio::Api::Common::V1::Payloads?
2850
-
2851
- def input=: [M < ::Temporalio::Api::Common::V1::Payloads::_ToProto] (M?) -> M?
2852
- | ...
2853
-
2854
- def input!: () -> ::Temporalio::Api::Common::V1::Payloads?
2855
-
2856
- # Total workflow execution timeout including retries and continue as new.
2857
- #
2858
- attr_accessor workflow_execution_timeout(): ::Google::Protobuf::Duration?
2859
-
2860
- # Total workflow execution timeout including retries and continue as new.
2861
- #
2862
- def workflow_execution_timeout=: [M < ::Google::Protobuf::Duration::_ToProto] (M?) -> M?
2863
- | ...
2864
-
2865
- def workflow_execution_timeout!: () -> ::Google::Protobuf::Duration?
2866
-
2867
- # Timeout of a single workflow run.
2868
- #
2869
- attr_accessor workflow_run_timeout(): ::Google::Protobuf::Duration?
2870
-
2871
- # Timeout of a single workflow run.
2872
- #
2873
- def workflow_run_timeout=: [M < ::Google::Protobuf::Duration::_ToProto] (M?) -> M?
2874
- | ...
2875
-
2876
- def workflow_run_timeout!: () -> ::Google::Protobuf::Duration?
2877
-
2878
- # Timeout of a single workflow task.
2879
- #
2880
- attr_accessor workflow_task_timeout(): ::Google::Protobuf::Duration?
2881
-
2882
- # Timeout of a single workflow task.
2883
- #
2884
- def workflow_task_timeout=: [M < ::Google::Protobuf::Duration::_ToProto] (M?) -> M?
2885
- | ...
2886
-
2887
- def workflow_task_timeout!: () -> ::Google::Protobuf::Duration?
2888
-
2889
- # Default: PARENT_CLOSE_POLICY_TERMINATE.
2890
- #
2891
- attr_accessor parent_close_policy(): ::Temporalio::Api::Enums::V1::ParentClosePolicy
2892
-
2893
- # Default: PARENT_CLOSE_POLICY_TERMINATE.
2894
- #
2895
- def parent_close_policy=: (::Temporalio::Api::Enums::V1::ParentClosePolicy::values) -> ::Temporalio::Api::Enums::V1::ParentClosePolicy::values
2896
- | ...
2897
-
2898
- def parent_close_policy!: () -> ::Temporalio::Api::Enums::V1::ParentClosePolicy?
2899
-
2900
- # Deprecated
2901
- #
2902
- attr_accessor control(): ::String
2903
-
2904
- def control!: () -> ::String?
2905
-
2906
- # The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
2907
- #
2908
- attr_accessor workflow_task_completed_event_id(): ::Integer
2909
-
2910
- def workflow_task_completed_event_id!: () -> ::Integer?
2911
-
2912
- # Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.
2913
- #
2914
- attr_accessor workflow_id_reuse_policy(): ::Temporalio::Api::Enums::V1::WorkflowIdReusePolicy
2915
-
2916
- # Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.
2917
- #
2918
- def workflow_id_reuse_policy=: (::Temporalio::Api::Enums::V1::WorkflowIdReusePolicy::values) -> ::Temporalio::Api::Enums::V1::WorkflowIdReusePolicy::values
2919
- | ...
2920
-
2921
- def workflow_id_reuse_policy!: () -> ::Temporalio::Api::Enums::V1::WorkflowIdReusePolicy?
2922
-
2923
- attr_accessor retry_policy(): ::Temporalio::Api::Common::V1::RetryPolicy?
2924
-
2925
- def retry_policy=: [M < ::Temporalio::Api::Common::V1::RetryPolicy::_ToProto] (M?) -> M?
2926
- | ...
2927
-
2928
- def retry_policy!: () -> ::Temporalio::Api::Common::V1::RetryPolicy?
2929
-
2930
- # If this child runs on a cron schedule, it will appear here
2931
- #
2932
- attr_accessor cron_schedule(): ::String
2933
-
2934
- def cron_schedule!: () -> ::String?
2935
-
2936
- attr_accessor header(): ::Temporalio::Api::Common::V1::Header?
2937
-
2938
- def header=: [M < ::Temporalio::Api::Common::V1::Header::_ToProto] (M?) -> M?
2939
- | ...
2940
-
2941
- def header!: () -> ::Temporalio::Api::Common::V1::Header?
2942
-
2943
- attr_accessor memo(): ::Temporalio::Api::Common::V1::Memo?
2944
-
2945
- def memo=: [M < ::Temporalio::Api::Common::V1::Memo::_ToProto] (M?) -> M?
2946
- | ...
2947
-
2948
- def memo!: () -> ::Temporalio::Api::Common::V1::Memo?
2949
-
2950
- attr_accessor search_attributes(): ::Temporalio::Api::Common::V1::SearchAttributes?
2951
-
2952
- def search_attributes=: [M < ::Temporalio::Api::Common::V1::SearchAttributes::_ToProto] (M?) -> M?
2953
- | ...
2954
-
2955
- def search_attributes!: () -> ::Temporalio::Api::Common::V1::SearchAttributes?
2956
-
2957
- def initialize: (?namespace: ::String, ?namespace_id: ::String, ?workflow_id: ::String, ?workflow_type: ::Temporalio::Api::Common::V1::WorkflowType::init?, ?task_queue: ::Temporalio::Api::TaskQueue::V1::TaskQueue::init?, ?input: ::Temporalio::Api::Common::V1::Payloads::init?, ?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::Api::Enums::V1::ParentClosePolicy::init, ?control: ::String, ?workflow_task_completed_event_id: ::Integer, ?workflow_id_reuse_policy: ::Temporalio::Api::Enums::V1::WorkflowIdReusePolicy::init, ?retry_policy: ::Temporalio::Api::Common::V1::RetryPolicy::init?, ?cron_schedule: ::String, ?header: ::Temporalio::Api::Common::V1::Header::init?, ?memo: ::Temporalio::Api::Common::V1::Memo::init?, ?search_attributes: ::Temporalio::Api::Common::V1::SearchAttributes::init?) -> void
2958
-
2959
- def []: (:namespace) -> ::String
2960
- | (:namespace_id) -> ::String
2961
- | (:workflow_id) -> ::String
2962
- | (:workflow_type) -> ::Temporalio::Api::Common::V1::WorkflowType?
2963
- | (:task_queue) -> ::Temporalio::Api::TaskQueue::V1::TaskQueue?
2964
- | (:input) -> ::Temporalio::Api::Common::V1::Payloads?
2965
- | (:workflow_execution_timeout) -> ::Google::Protobuf::Duration?
2966
- | (:workflow_run_timeout) -> ::Google::Protobuf::Duration?
2967
- | (:workflow_task_timeout) -> ::Google::Protobuf::Duration?
2968
- | (:parent_close_policy) -> ::Temporalio::Api::Enums::V1::ParentClosePolicy
2969
- | (:control) -> ::String
2970
- | (:workflow_task_completed_event_id) -> ::Integer
2971
- | (:workflow_id_reuse_policy) -> ::Temporalio::Api::Enums::V1::WorkflowIdReusePolicy
2972
- | (:retry_policy) -> ::Temporalio::Api::Common::V1::RetryPolicy?
2973
- | (:cron_schedule) -> ::String
2974
- | (:header) -> ::Temporalio::Api::Common::V1::Header?
2975
- | (:memo) -> ::Temporalio::Api::Common::V1::Memo?
2976
- | (:search_attributes) -> ::Temporalio::Api::Common::V1::SearchAttributes?
2977
- | (::Symbol) -> untyped
2978
-
2979
- def []=: (:namespace, ::String) -> ::String
2980
- | (:namespace_id, ::String) -> ::String
2981
- | (:workflow_id, ::String) -> ::String
2982
- | (:workflow_type, ::Temporalio::Api::Common::V1::WorkflowType?) -> ::Temporalio::Api::Common::V1::WorkflowType?
2983
- | [M < ::Temporalio::Api::Common::V1::WorkflowType::_ToProto] (:workflow_type, M?) -> M?
2984
- | (:task_queue, ::Temporalio::Api::TaskQueue::V1::TaskQueue?) -> ::Temporalio::Api::TaskQueue::V1::TaskQueue?
2985
- | [M < ::Temporalio::Api::TaskQueue::V1::TaskQueue::_ToProto] (:task_queue, M?) -> M?
2986
- | (:input, ::Temporalio::Api::Common::V1::Payloads?) -> ::Temporalio::Api::Common::V1::Payloads?
2987
- | [M < ::Temporalio::Api::Common::V1::Payloads::_ToProto] (:input, M?) -> M?
2988
- | (:workflow_execution_timeout, ::Google::Protobuf::Duration?) -> ::Google::Protobuf::Duration?
2989
- | [M < ::Google::Protobuf::Duration::_ToProto] (:workflow_execution_timeout, M?) -> M?
2990
- | (:workflow_run_timeout, ::Google::Protobuf::Duration?) -> ::Google::Protobuf::Duration?
2991
- | [M < ::Google::Protobuf::Duration::_ToProto] (:workflow_run_timeout, M?) -> M?
2992
- | (:workflow_task_timeout, ::Google::Protobuf::Duration?) -> ::Google::Protobuf::Duration?
2993
- | [M < ::Google::Protobuf::Duration::_ToProto] (:workflow_task_timeout, M?) -> M?
2994
- | (:parent_close_policy, ::Temporalio::Api::Enums::V1::ParentClosePolicy) -> ::Temporalio::Api::Enums::V1::ParentClosePolicy
2995
- | (:parent_close_policy, ::Temporalio::Api::Enums::V1::ParentClosePolicy::values) -> ::Temporalio::Api::Enums::V1::ParentClosePolicy::values
2996
- | (:control, ::String) -> ::String
2997
- | (:workflow_task_completed_event_id, ::Integer) -> ::Integer
2998
- | (:workflow_id_reuse_policy, ::Temporalio::Api::Enums::V1::WorkflowIdReusePolicy) -> ::Temporalio::Api::Enums::V1::WorkflowIdReusePolicy
2999
- | (:workflow_id_reuse_policy, ::Temporalio::Api::Enums::V1::WorkflowIdReusePolicy::values) -> ::Temporalio::Api::Enums::V1::WorkflowIdReusePolicy::values
3000
- | (:retry_policy, ::Temporalio::Api::Common::V1::RetryPolicy?) -> ::Temporalio::Api::Common::V1::RetryPolicy?
3001
- | [M < ::Temporalio::Api::Common::V1::RetryPolicy::_ToProto] (:retry_policy, M?) -> M?
3002
- | (:cron_schedule, ::String) -> ::String
3003
- | (:header, ::Temporalio::Api::Common::V1::Header?) -> ::Temporalio::Api::Common::V1::Header?
3004
- | [M < ::Temporalio::Api::Common::V1::Header::_ToProto] (:header, M?) -> M?
3005
- | (:memo, ::Temporalio::Api::Common::V1::Memo?) -> ::Temporalio::Api::Common::V1::Memo?
3006
- | [M < ::Temporalio::Api::Common::V1::Memo::_ToProto] (:memo, M?) -> M?
3007
- | (:search_attributes, ::Temporalio::Api::Common::V1::SearchAttributes?) -> ::Temporalio::Api::Common::V1::SearchAttributes?
3008
- | [M < ::Temporalio::Api::Common::V1::SearchAttributes::_ToProto] (:search_attributes, M?) -> M?
3009
- | (::Symbol, untyped) -> untyped
3010
-
3011
- interface _ToProto
3012
- def to_proto: () -> StartChildWorkflowExecutionInitiatedEventAttributes
3013
- end
3014
-
3015
- # The type of `#initialize` parameter.
3016
- type init = StartChildWorkflowExecutionInitiatedEventAttributes | _ToProto
3017
-
3018
- # The type of `repeated` field.
3019
- type field_array = ::Protobuf::Field::FieldArray[StartChildWorkflowExecutionInitiatedEventAttributes, StartChildWorkflowExecutionInitiatedEventAttributes | _ToProto]
3020
-
3021
- # The type of `map` field.
3022
- type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, StartChildWorkflowExecutionInitiatedEventAttributes, StartChildWorkflowExecutionInitiatedEventAttributes | _ToProto]
3023
-
3024
- type array = ::Array[StartChildWorkflowExecutionInitiatedEventAttributes | _ToProto]
3025
-
3026
- type hash[KEY] = ::Hash[KEY, StartChildWorkflowExecutionInitiatedEventAttributes | _ToProto]
3027
- end
3028
-
3029
- class StartChildWorkflowExecutionFailedEventAttributes < ::Protobuf::Message
3030
- # Encode the message to a binary string
3031
- #
3032
- def self.encode: (StartChildWorkflowExecutionFailedEventAttributes) -> String
3033
-
3034
- # Namespace of the child workflow.
3035
- # SDKs and UI tools should use `namespace` field but server must use `namespace_id` only.
3036
- #
3037
- attr_accessor namespace(): ::String
3038
-
3039
- def namespace!: () -> ::String?
3040
-
3041
- attr_accessor namespace_id(): ::String
3042
-
3043
- def namespace_id!: () -> ::String?
3044
-
3045
- attr_accessor workflow_id(): ::String
3046
-
3047
- def workflow_id!: () -> ::String?
3048
-
3049
- attr_accessor workflow_type(): ::Temporalio::Api::Common::V1::WorkflowType?
3050
-
3051
- def workflow_type=: [M < ::Temporalio::Api::Common::V1::WorkflowType::_ToProto] (M?) -> M?
3052
- | ...
3053
-
3054
- def workflow_type!: () -> ::Temporalio::Api::Common::V1::WorkflowType?
3055
-
3056
- attr_accessor cause(): ::Temporalio::Api::Enums::V1::StartChildWorkflowExecutionFailedCause
3057
-
3058
- def cause=: (::Temporalio::Api::Enums::V1::StartChildWorkflowExecutionFailedCause::values) -> ::Temporalio::Api::Enums::V1::StartChildWorkflowExecutionFailedCause::values
3059
- | ...
3060
-
3061
- def cause!: () -> ::Temporalio::Api::Enums::V1::StartChildWorkflowExecutionFailedCause?
3062
-
3063
- # Deprecated
3064
- #
3065
- attr_accessor control(): ::String
3066
-
3067
- def control!: () -> ::String?
3068
-
3069
- # Id of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds to
3070
- #
3071
- attr_accessor initiated_event_id(): ::Integer
3072
-
3073
- def initiated_event_id!: () -> ::Integer?
3074
-
3075
- # The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
3076
- #
3077
- attr_accessor workflow_task_completed_event_id(): ::Integer
3078
-
3079
- def workflow_task_completed_event_id!: () -> ::Integer?
3080
-
3081
- def initialize: (?namespace: ::String, ?namespace_id: ::String, ?workflow_id: ::String, ?workflow_type: ::Temporalio::Api::Common::V1::WorkflowType::init?, ?cause: ::Temporalio::Api::Enums::V1::StartChildWorkflowExecutionFailedCause::init, ?control: ::String, ?initiated_event_id: ::Integer, ?workflow_task_completed_event_id: ::Integer) -> void
3082
-
3083
- def []: (:namespace) -> ::String
3084
- | (:namespace_id) -> ::String
3085
- | (:workflow_id) -> ::String
3086
- | (:workflow_type) -> ::Temporalio::Api::Common::V1::WorkflowType?
3087
- | (:cause) -> ::Temporalio::Api::Enums::V1::StartChildWorkflowExecutionFailedCause
3088
- | (:control) -> ::String
3089
- | (:initiated_event_id) -> ::Integer
3090
- | (:workflow_task_completed_event_id) -> ::Integer
3091
- | (::Symbol) -> untyped
3092
-
3093
- def []=: (:namespace, ::String) -> ::String
3094
- | (:namespace_id, ::String) -> ::String
3095
- | (:workflow_id, ::String) -> ::String
3096
- | (:workflow_type, ::Temporalio::Api::Common::V1::WorkflowType?) -> ::Temporalio::Api::Common::V1::WorkflowType?
3097
- | [M < ::Temporalio::Api::Common::V1::WorkflowType::_ToProto] (:workflow_type, M?) -> M?
3098
- | (:cause, ::Temporalio::Api::Enums::V1::StartChildWorkflowExecutionFailedCause) -> ::Temporalio::Api::Enums::V1::StartChildWorkflowExecutionFailedCause
3099
- | (:cause, ::Temporalio::Api::Enums::V1::StartChildWorkflowExecutionFailedCause::values) -> ::Temporalio::Api::Enums::V1::StartChildWorkflowExecutionFailedCause::values
3100
- | (:control, ::String) -> ::String
3101
- | (:initiated_event_id, ::Integer) -> ::Integer
3102
- | (:workflow_task_completed_event_id, ::Integer) -> ::Integer
3103
- | (::Symbol, untyped) -> untyped
3104
-
3105
- interface _ToProto
3106
- def to_proto: () -> StartChildWorkflowExecutionFailedEventAttributes
3107
- end
3108
-
3109
- # The type of `#initialize` parameter.
3110
- type init = StartChildWorkflowExecutionFailedEventAttributes | _ToProto
3111
-
3112
- # The type of `repeated` field.
3113
- type field_array = ::Protobuf::Field::FieldArray[StartChildWorkflowExecutionFailedEventAttributes, StartChildWorkflowExecutionFailedEventAttributes | _ToProto]
3114
-
3115
- # The type of `map` field.
3116
- type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, StartChildWorkflowExecutionFailedEventAttributes, StartChildWorkflowExecutionFailedEventAttributes | _ToProto]
3117
-
3118
- type array = ::Array[StartChildWorkflowExecutionFailedEventAttributes | _ToProto]
3119
-
3120
- type hash[KEY] = ::Hash[KEY, StartChildWorkflowExecutionFailedEventAttributes | _ToProto]
3121
- end
3122
-
3123
- class ChildWorkflowExecutionStartedEventAttributes < ::Protobuf::Message
3124
- # Encode the message to a binary string
3125
- #
3126
- def self.encode: (ChildWorkflowExecutionStartedEventAttributes) -> String
3127
-
3128
- # Namespace of the child workflow.
3129
- # SDKs and UI tools should use `namespace` field but server must use `namespace_id` only.
3130
- #
3131
- attr_accessor namespace(): ::String
3132
-
3133
- def namespace!: () -> ::String?
3134
-
3135
- attr_accessor namespace_id(): ::String
3136
-
3137
- def namespace_id!: () -> ::String?
3138
-
3139
- # Id of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds to
3140
- #
3141
- attr_accessor initiated_event_id(): ::Integer
3142
-
3143
- def initiated_event_id!: () -> ::Integer?
3144
-
3145
- attr_accessor workflow_execution(): ::Temporalio::Api::Common::V1::WorkflowExecution?
3146
-
3147
- def workflow_execution=: [M < ::Temporalio::Api::Common::V1::WorkflowExecution::_ToProto] (M?) -> M?
3148
- | ...
3149
-
3150
- def workflow_execution!: () -> ::Temporalio::Api::Common::V1::WorkflowExecution?
3151
-
3152
- attr_accessor workflow_type(): ::Temporalio::Api::Common::V1::WorkflowType?
3153
-
3154
- def workflow_type=: [M < ::Temporalio::Api::Common::V1::WorkflowType::_ToProto] (M?) -> M?
3155
- | ...
3156
-
3157
- def workflow_type!: () -> ::Temporalio::Api::Common::V1::WorkflowType?
3158
-
3159
- attr_accessor header(): ::Temporalio::Api::Common::V1::Header?
3160
-
3161
- def header=: [M < ::Temporalio::Api::Common::V1::Header::_ToProto] (M?) -> M?
3162
- | ...
3163
-
3164
- def header!: () -> ::Temporalio::Api::Common::V1::Header?
3165
-
3166
- def initialize: (?namespace: ::String, ?namespace_id: ::String, ?initiated_event_id: ::Integer, ?workflow_execution: ::Temporalio::Api::Common::V1::WorkflowExecution::init?, ?workflow_type: ::Temporalio::Api::Common::V1::WorkflowType::init?, ?header: ::Temporalio::Api::Common::V1::Header::init?) -> void
3167
-
3168
- def []: (:namespace) -> ::String
3169
- | (:namespace_id) -> ::String
3170
- | (:initiated_event_id) -> ::Integer
3171
- | (:workflow_execution) -> ::Temporalio::Api::Common::V1::WorkflowExecution?
3172
- | (:workflow_type) -> ::Temporalio::Api::Common::V1::WorkflowType?
3173
- | (:header) -> ::Temporalio::Api::Common::V1::Header?
3174
- | (::Symbol) -> untyped
3175
-
3176
- def []=: (:namespace, ::String) -> ::String
3177
- | (:namespace_id, ::String) -> ::String
3178
- | (:initiated_event_id, ::Integer) -> ::Integer
3179
- | (:workflow_execution, ::Temporalio::Api::Common::V1::WorkflowExecution?) -> ::Temporalio::Api::Common::V1::WorkflowExecution?
3180
- | [M < ::Temporalio::Api::Common::V1::WorkflowExecution::_ToProto] (:workflow_execution, M?) -> M?
3181
- | (:workflow_type, ::Temporalio::Api::Common::V1::WorkflowType?) -> ::Temporalio::Api::Common::V1::WorkflowType?
3182
- | [M < ::Temporalio::Api::Common::V1::WorkflowType::_ToProto] (:workflow_type, M?) -> M?
3183
- | (:header, ::Temporalio::Api::Common::V1::Header?) -> ::Temporalio::Api::Common::V1::Header?
3184
- | [M < ::Temporalio::Api::Common::V1::Header::_ToProto] (:header, M?) -> M?
3185
- | (::Symbol, untyped) -> untyped
3186
-
3187
- interface _ToProto
3188
- def to_proto: () -> ChildWorkflowExecutionStartedEventAttributes
3189
- end
3190
-
3191
- # The type of `#initialize` parameter.
3192
- type init = ChildWorkflowExecutionStartedEventAttributes | _ToProto
3193
-
3194
- # The type of `repeated` field.
3195
- type field_array = ::Protobuf::Field::FieldArray[ChildWorkflowExecutionStartedEventAttributes, ChildWorkflowExecutionStartedEventAttributes | _ToProto]
3196
-
3197
- # The type of `map` field.
3198
- type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, ChildWorkflowExecutionStartedEventAttributes, ChildWorkflowExecutionStartedEventAttributes | _ToProto]
3199
-
3200
- type array = ::Array[ChildWorkflowExecutionStartedEventAttributes | _ToProto]
3201
-
3202
- type hash[KEY] = ::Hash[KEY, ChildWorkflowExecutionStartedEventAttributes | _ToProto]
3203
- end
3204
-
3205
- class ChildWorkflowExecutionCompletedEventAttributes < ::Protobuf::Message
3206
- # Encode the message to a binary string
3207
- #
3208
- def self.encode: (ChildWorkflowExecutionCompletedEventAttributes) -> String
3209
-
3210
- attr_accessor result(): ::Temporalio::Api::Common::V1::Payloads?
3211
-
3212
- def result=: [M < ::Temporalio::Api::Common::V1::Payloads::_ToProto] (M?) -> M?
3213
- | ...
3214
-
3215
- def result!: () -> ::Temporalio::Api::Common::V1::Payloads?
3216
-
3217
- # Namespace of the child workflow.
3218
- # SDKs and UI tools should use `namespace` field but server must use `namespace_id` only.
3219
- #
3220
- attr_accessor namespace(): ::String
3221
-
3222
- def namespace!: () -> ::String?
3223
-
3224
- attr_accessor namespace_id(): ::String
3225
-
3226
- def namespace_id!: () -> ::String?
3227
-
3228
- attr_accessor workflow_execution(): ::Temporalio::Api::Common::V1::WorkflowExecution?
3229
-
3230
- def workflow_execution=: [M < ::Temporalio::Api::Common::V1::WorkflowExecution::_ToProto] (M?) -> M?
3231
- | ...
3232
-
3233
- def workflow_execution!: () -> ::Temporalio::Api::Common::V1::WorkflowExecution?
3234
-
3235
- attr_accessor workflow_type(): ::Temporalio::Api::Common::V1::WorkflowType?
3236
-
3237
- def workflow_type=: [M < ::Temporalio::Api::Common::V1::WorkflowType::_ToProto] (M?) -> M?
3238
- | ...
3239
-
3240
- def workflow_type!: () -> ::Temporalio::Api::Common::V1::WorkflowType?
3241
-
3242
- # Id of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds to
3243
- #
3244
- attr_accessor initiated_event_id(): ::Integer
3245
-
3246
- def initiated_event_id!: () -> ::Integer?
3247
-
3248
- # Id of the `CHILD_WORKFLOW_EXECUTION_STARTED` event which this event corresponds to
3249
- #
3250
- attr_accessor started_event_id(): ::Integer
3251
-
3252
- def started_event_id!: () -> ::Integer?
3253
-
3254
- def initialize: (?result: ::Temporalio::Api::Common::V1::Payloads::init?, ?namespace: ::String, ?namespace_id: ::String, ?workflow_execution: ::Temporalio::Api::Common::V1::WorkflowExecution::init?, ?workflow_type: ::Temporalio::Api::Common::V1::WorkflowType::init?, ?initiated_event_id: ::Integer, ?started_event_id: ::Integer) -> void
3255
-
3256
- def []: (:result) -> ::Temporalio::Api::Common::V1::Payloads?
3257
- | (:namespace) -> ::String
3258
- | (:namespace_id) -> ::String
3259
- | (:workflow_execution) -> ::Temporalio::Api::Common::V1::WorkflowExecution?
3260
- | (:workflow_type) -> ::Temporalio::Api::Common::V1::WorkflowType?
3261
- | (:initiated_event_id) -> ::Integer
3262
- | (:started_event_id) -> ::Integer
3263
- | (::Symbol) -> untyped
3264
-
3265
- def []=: (:result, ::Temporalio::Api::Common::V1::Payloads?) -> ::Temporalio::Api::Common::V1::Payloads?
3266
- | [M < ::Temporalio::Api::Common::V1::Payloads::_ToProto] (:result, M?) -> M?
3267
- | (:namespace, ::String) -> ::String
3268
- | (:namespace_id, ::String) -> ::String
3269
- | (:workflow_execution, ::Temporalio::Api::Common::V1::WorkflowExecution?) -> ::Temporalio::Api::Common::V1::WorkflowExecution?
3270
- | [M < ::Temporalio::Api::Common::V1::WorkflowExecution::_ToProto] (:workflow_execution, M?) -> M?
3271
- | (:workflow_type, ::Temporalio::Api::Common::V1::WorkflowType?) -> ::Temporalio::Api::Common::V1::WorkflowType?
3272
- | [M < ::Temporalio::Api::Common::V1::WorkflowType::_ToProto] (:workflow_type, M?) -> M?
3273
- | (:initiated_event_id, ::Integer) -> ::Integer
3274
- | (:started_event_id, ::Integer) -> ::Integer
3275
- | (::Symbol, untyped) -> untyped
3276
-
3277
- interface _ToProto
3278
- def to_proto: () -> ChildWorkflowExecutionCompletedEventAttributes
3279
- end
3280
-
3281
- # The type of `#initialize` parameter.
3282
- type init = ChildWorkflowExecutionCompletedEventAttributes | _ToProto
3283
-
3284
- # The type of `repeated` field.
3285
- type field_array = ::Protobuf::Field::FieldArray[ChildWorkflowExecutionCompletedEventAttributes, ChildWorkflowExecutionCompletedEventAttributes | _ToProto]
3286
-
3287
- # The type of `map` field.
3288
- type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, ChildWorkflowExecutionCompletedEventAttributes, ChildWorkflowExecutionCompletedEventAttributes | _ToProto]
3289
-
3290
- type array = ::Array[ChildWorkflowExecutionCompletedEventAttributes | _ToProto]
3291
-
3292
- type hash[KEY] = ::Hash[KEY, ChildWorkflowExecutionCompletedEventAttributes | _ToProto]
3293
- end
3294
-
3295
- class ChildWorkflowExecutionFailedEventAttributes < ::Protobuf::Message
3296
- # Encode the message to a binary string
3297
- #
3298
- def self.encode: (ChildWorkflowExecutionFailedEventAttributes) -> String
3299
-
3300
- attr_accessor failure(): ::Temporalio::Api::Failure::V1::Failure?
3301
-
3302
- def failure=: [M < ::Temporalio::Api::Failure::V1::Failure::_ToProto] (M?) -> M?
3303
- | ...
3304
-
3305
- def failure!: () -> ::Temporalio::Api::Failure::V1::Failure?
3306
-
3307
- # Namespace of the child workflow.
3308
- # SDKs and UI tools should use `namespace` field but server must use `namespace_id` only.
3309
- #
3310
- attr_accessor namespace(): ::String
3311
-
3312
- def namespace!: () -> ::String?
3313
-
3314
- attr_accessor namespace_id(): ::String
3315
-
3316
- def namespace_id!: () -> ::String?
3317
-
3318
- attr_accessor workflow_execution(): ::Temporalio::Api::Common::V1::WorkflowExecution?
3319
-
3320
- def workflow_execution=: [M < ::Temporalio::Api::Common::V1::WorkflowExecution::_ToProto] (M?) -> M?
3321
- | ...
3322
-
3323
- def workflow_execution!: () -> ::Temporalio::Api::Common::V1::WorkflowExecution?
3324
-
3325
- attr_accessor workflow_type(): ::Temporalio::Api::Common::V1::WorkflowType?
3326
-
3327
- def workflow_type=: [M < ::Temporalio::Api::Common::V1::WorkflowType::_ToProto] (M?) -> M?
3328
- | ...
3329
-
3330
- def workflow_type!: () -> ::Temporalio::Api::Common::V1::WorkflowType?
3331
-
3332
- # Id of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds to
3333
- #
3334
- attr_accessor initiated_event_id(): ::Integer
3335
-
3336
- def initiated_event_id!: () -> ::Integer?
3337
-
3338
- # Id of the `CHILD_WORKFLOW_EXECUTION_STARTED` event which this event corresponds to
3339
- #
3340
- attr_accessor started_event_id(): ::Integer
3341
-
3342
- def started_event_id!: () -> ::Integer?
3343
-
3344
- attr_accessor retry_state(): ::Temporalio::Api::Enums::V1::RetryState
3345
-
3346
- def retry_state=: (::Temporalio::Api::Enums::V1::RetryState::values) -> ::Temporalio::Api::Enums::V1::RetryState::values
3347
- | ...
3348
-
3349
- def retry_state!: () -> ::Temporalio::Api::Enums::V1::RetryState?
3350
-
3351
- def initialize: (?failure: ::Temporalio::Api::Failure::V1::Failure::init?, ?namespace: ::String, ?namespace_id: ::String, ?workflow_execution: ::Temporalio::Api::Common::V1::WorkflowExecution::init?, ?workflow_type: ::Temporalio::Api::Common::V1::WorkflowType::init?, ?initiated_event_id: ::Integer, ?started_event_id: ::Integer, ?retry_state: ::Temporalio::Api::Enums::V1::RetryState::init) -> void
3352
-
3353
- def []: (:failure) -> ::Temporalio::Api::Failure::V1::Failure?
3354
- | (:namespace) -> ::String
3355
- | (:namespace_id) -> ::String
3356
- | (:workflow_execution) -> ::Temporalio::Api::Common::V1::WorkflowExecution?
3357
- | (:workflow_type) -> ::Temporalio::Api::Common::V1::WorkflowType?
3358
- | (:initiated_event_id) -> ::Integer
3359
- | (:started_event_id) -> ::Integer
3360
- | (:retry_state) -> ::Temporalio::Api::Enums::V1::RetryState
3361
- | (::Symbol) -> untyped
3362
-
3363
- def []=: (:failure, ::Temporalio::Api::Failure::V1::Failure?) -> ::Temporalio::Api::Failure::V1::Failure?
3364
- | [M < ::Temporalio::Api::Failure::V1::Failure::_ToProto] (:failure, M?) -> M?
3365
- | (:namespace, ::String) -> ::String
3366
- | (:namespace_id, ::String) -> ::String
3367
- | (:workflow_execution, ::Temporalio::Api::Common::V1::WorkflowExecution?) -> ::Temporalio::Api::Common::V1::WorkflowExecution?
3368
- | [M < ::Temporalio::Api::Common::V1::WorkflowExecution::_ToProto] (:workflow_execution, M?) -> M?
3369
- | (:workflow_type, ::Temporalio::Api::Common::V1::WorkflowType?) -> ::Temporalio::Api::Common::V1::WorkflowType?
3370
- | [M < ::Temporalio::Api::Common::V1::WorkflowType::_ToProto] (:workflow_type, M?) -> M?
3371
- | (:initiated_event_id, ::Integer) -> ::Integer
3372
- | (:started_event_id, ::Integer) -> ::Integer
3373
- | (:retry_state, ::Temporalio::Api::Enums::V1::RetryState) -> ::Temporalio::Api::Enums::V1::RetryState
3374
- | (:retry_state, ::Temporalio::Api::Enums::V1::RetryState::values) -> ::Temporalio::Api::Enums::V1::RetryState::values
3375
- | (::Symbol, untyped) -> untyped
3376
-
3377
- interface _ToProto
3378
- def to_proto: () -> ChildWorkflowExecutionFailedEventAttributes
3379
- end
3380
-
3381
- # The type of `#initialize` parameter.
3382
- type init = ChildWorkflowExecutionFailedEventAttributes | _ToProto
3383
-
3384
- # The type of `repeated` field.
3385
- type field_array = ::Protobuf::Field::FieldArray[ChildWorkflowExecutionFailedEventAttributes, ChildWorkflowExecutionFailedEventAttributes | _ToProto]
3386
-
3387
- # The type of `map` field.
3388
- type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, ChildWorkflowExecutionFailedEventAttributes, ChildWorkflowExecutionFailedEventAttributes | _ToProto]
3389
-
3390
- type array = ::Array[ChildWorkflowExecutionFailedEventAttributes | _ToProto]
3391
-
3392
- type hash[KEY] = ::Hash[KEY, ChildWorkflowExecutionFailedEventAttributes | _ToProto]
3393
- end
3394
-
3395
- class ChildWorkflowExecutionCanceledEventAttributes < ::Protobuf::Message
3396
- # Encode the message to a binary string
3397
- #
3398
- def self.encode: (ChildWorkflowExecutionCanceledEventAttributes) -> String
3399
-
3400
- attr_accessor details(): ::Temporalio::Api::Common::V1::Payloads?
3401
-
3402
- def details=: [M < ::Temporalio::Api::Common::V1::Payloads::_ToProto] (M?) -> M?
3403
- | ...
3404
-
3405
- def details!: () -> ::Temporalio::Api::Common::V1::Payloads?
3406
-
3407
- # Namespace of the child workflow.
3408
- # SDKs and UI tools should use `namespace` field but server must use `namespace_id` only.
3409
- #
3410
- attr_accessor namespace(): ::String
3411
-
3412
- def namespace!: () -> ::String?
3413
-
3414
- attr_accessor namespace_id(): ::String
3415
-
3416
- def namespace_id!: () -> ::String?
3417
-
3418
- attr_accessor workflow_execution(): ::Temporalio::Api::Common::V1::WorkflowExecution?
3419
-
3420
- def workflow_execution=: [M < ::Temporalio::Api::Common::V1::WorkflowExecution::_ToProto] (M?) -> M?
3421
- | ...
3422
-
3423
- def workflow_execution!: () -> ::Temporalio::Api::Common::V1::WorkflowExecution?
3424
-
3425
- attr_accessor workflow_type(): ::Temporalio::Api::Common::V1::WorkflowType?
3426
-
3427
- def workflow_type=: [M < ::Temporalio::Api::Common::V1::WorkflowType::_ToProto] (M?) -> M?
3428
- | ...
3429
-
3430
- def workflow_type!: () -> ::Temporalio::Api::Common::V1::WorkflowType?
3431
-
3432
- # Id of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds to
3433
- #
3434
- attr_accessor initiated_event_id(): ::Integer
3435
-
3436
- def initiated_event_id!: () -> ::Integer?
3437
-
3438
- # Id of the `CHILD_WORKFLOW_EXECUTION_STARTED` event which this event corresponds to
3439
- #
3440
- attr_accessor started_event_id(): ::Integer
3441
-
3442
- def started_event_id!: () -> ::Integer?
3443
-
3444
- def initialize: (?details: ::Temporalio::Api::Common::V1::Payloads::init?, ?namespace: ::String, ?namespace_id: ::String, ?workflow_execution: ::Temporalio::Api::Common::V1::WorkflowExecution::init?, ?workflow_type: ::Temporalio::Api::Common::V1::WorkflowType::init?, ?initiated_event_id: ::Integer, ?started_event_id: ::Integer) -> void
3445
-
3446
- def []: (:details) -> ::Temporalio::Api::Common::V1::Payloads?
3447
- | (:namespace) -> ::String
3448
- | (:namespace_id) -> ::String
3449
- | (:workflow_execution) -> ::Temporalio::Api::Common::V1::WorkflowExecution?
3450
- | (:workflow_type) -> ::Temporalio::Api::Common::V1::WorkflowType?
3451
- | (:initiated_event_id) -> ::Integer
3452
- | (:started_event_id) -> ::Integer
3453
- | (::Symbol) -> untyped
3454
-
3455
- def []=: (:details, ::Temporalio::Api::Common::V1::Payloads?) -> ::Temporalio::Api::Common::V1::Payloads?
3456
- | [M < ::Temporalio::Api::Common::V1::Payloads::_ToProto] (:details, M?) -> M?
3457
- | (:namespace, ::String) -> ::String
3458
- | (:namespace_id, ::String) -> ::String
3459
- | (:workflow_execution, ::Temporalio::Api::Common::V1::WorkflowExecution?) -> ::Temporalio::Api::Common::V1::WorkflowExecution?
3460
- | [M < ::Temporalio::Api::Common::V1::WorkflowExecution::_ToProto] (:workflow_execution, M?) -> M?
3461
- | (:workflow_type, ::Temporalio::Api::Common::V1::WorkflowType?) -> ::Temporalio::Api::Common::V1::WorkflowType?
3462
- | [M < ::Temporalio::Api::Common::V1::WorkflowType::_ToProto] (:workflow_type, M?) -> M?
3463
- | (:initiated_event_id, ::Integer) -> ::Integer
3464
- | (:started_event_id, ::Integer) -> ::Integer
3465
- | (::Symbol, untyped) -> untyped
3466
-
3467
- interface _ToProto
3468
- def to_proto: () -> ChildWorkflowExecutionCanceledEventAttributes
3469
- end
3470
-
3471
- # The type of `#initialize` parameter.
3472
- type init = ChildWorkflowExecutionCanceledEventAttributes | _ToProto
3473
-
3474
- # The type of `repeated` field.
3475
- type field_array = ::Protobuf::Field::FieldArray[ChildWorkflowExecutionCanceledEventAttributes, ChildWorkflowExecutionCanceledEventAttributes | _ToProto]
3476
-
3477
- # The type of `map` field.
3478
- type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, ChildWorkflowExecutionCanceledEventAttributes, ChildWorkflowExecutionCanceledEventAttributes | _ToProto]
3479
-
3480
- type array = ::Array[ChildWorkflowExecutionCanceledEventAttributes | _ToProto]
3481
-
3482
- type hash[KEY] = ::Hash[KEY, ChildWorkflowExecutionCanceledEventAttributes | _ToProto]
3483
- end
3484
-
3485
- class ChildWorkflowExecutionTimedOutEventAttributes < ::Protobuf::Message
3486
- # Encode the message to a binary string
3487
- #
3488
- def self.encode: (ChildWorkflowExecutionTimedOutEventAttributes) -> String
3489
-
3490
- # Namespace of the child workflow.
3491
- # SDKs and UI tools should use `namespace` field but server must use `namespace_id` only.
3492
- #
3493
- attr_accessor namespace(): ::String
3494
-
3495
- def namespace!: () -> ::String?
3496
-
3497
- attr_accessor namespace_id(): ::String
3498
-
3499
- def namespace_id!: () -> ::String?
3500
-
3501
- attr_accessor workflow_execution(): ::Temporalio::Api::Common::V1::WorkflowExecution?
3502
-
3503
- def workflow_execution=: [M < ::Temporalio::Api::Common::V1::WorkflowExecution::_ToProto] (M?) -> M?
3504
- | ...
3505
-
3506
- def workflow_execution!: () -> ::Temporalio::Api::Common::V1::WorkflowExecution?
3507
-
3508
- attr_accessor workflow_type(): ::Temporalio::Api::Common::V1::WorkflowType?
3509
-
3510
- def workflow_type=: [M < ::Temporalio::Api::Common::V1::WorkflowType::_ToProto] (M?) -> M?
3511
- | ...
3512
-
3513
- def workflow_type!: () -> ::Temporalio::Api::Common::V1::WorkflowType?
3514
-
3515
- # Id of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds to
3516
- #
3517
- attr_accessor initiated_event_id(): ::Integer
3518
-
3519
- def initiated_event_id!: () -> ::Integer?
3520
-
3521
- # Id of the `CHILD_WORKFLOW_EXECUTION_STARTED` event which this event corresponds to
3522
- #
3523
- attr_accessor started_event_id(): ::Integer
3524
-
3525
- def started_event_id!: () -> ::Integer?
3526
-
3527
- attr_accessor retry_state(): ::Temporalio::Api::Enums::V1::RetryState
3528
-
3529
- def retry_state=: (::Temporalio::Api::Enums::V1::RetryState::values) -> ::Temporalio::Api::Enums::V1::RetryState::values
3530
- | ...
3531
-
3532
- def retry_state!: () -> ::Temporalio::Api::Enums::V1::RetryState?
3533
-
3534
- def initialize: (?namespace: ::String, ?namespace_id: ::String, ?workflow_execution: ::Temporalio::Api::Common::V1::WorkflowExecution::init?, ?workflow_type: ::Temporalio::Api::Common::V1::WorkflowType::init?, ?initiated_event_id: ::Integer, ?started_event_id: ::Integer, ?retry_state: ::Temporalio::Api::Enums::V1::RetryState::init) -> void
3535
-
3536
- def []: (:namespace) -> ::String
3537
- | (:namespace_id) -> ::String
3538
- | (:workflow_execution) -> ::Temporalio::Api::Common::V1::WorkflowExecution?
3539
- | (:workflow_type) -> ::Temporalio::Api::Common::V1::WorkflowType?
3540
- | (:initiated_event_id) -> ::Integer
3541
- | (:started_event_id) -> ::Integer
3542
- | (:retry_state) -> ::Temporalio::Api::Enums::V1::RetryState
3543
- | (::Symbol) -> untyped
3544
-
3545
- def []=: (:namespace, ::String) -> ::String
3546
- | (:namespace_id, ::String) -> ::String
3547
- | (:workflow_execution, ::Temporalio::Api::Common::V1::WorkflowExecution?) -> ::Temporalio::Api::Common::V1::WorkflowExecution?
3548
- | [M < ::Temporalio::Api::Common::V1::WorkflowExecution::_ToProto] (:workflow_execution, M?) -> M?
3549
- | (:workflow_type, ::Temporalio::Api::Common::V1::WorkflowType?) -> ::Temporalio::Api::Common::V1::WorkflowType?
3550
- | [M < ::Temporalio::Api::Common::V1::WorkflowType::_ToProto] (:workflow_type, M?) -> M?
3551
- | (:initiated_event_id, ::Integer) -> ::Integer
3552
- | (:started_event_id, ::Integer) -> ::Integer
3553
- | (:retry_state, ::Temporalio::Api::Enums::V1::RetryState) -> ::Temporalio::Api::Enums::V1::RetryState
3554
- | (:retry_state, ::Temporalio::Api::Enums::V1::RetryState::values) -> ::Temporalio::Api::Enums::V1::RetryState::values
3555
- | (::Symbol, untyped) -> untyped
3556
-
3557
- interface _ToProto
3558
- def to_proto: () -> ChildWorkflowExecutionTimedOutEventAttributes
3559
- end
3560
-
3561
- # The type of `#initialize` parameter.
3562
- type init = ChildWorkflowExecutionTimedOutEventAttributes | _ToProto
3563
-
3564
- # The type of `repeated` field.
3565
- type field_array = ::Protobuf::Field::FieldArray[ChildWorkflowExecutionTimedOutEventAttributes, ChildWorkflowExecutionTimedOutEventAttributes | _ToProto]
3566
-
3567
- # The type of `map` field.
3568
- type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, ChildWorkflowExecutionTimedOutEventAttributes, ChildWorkflowExecutionTimedOutEventAttributes | _ToProto]
3569
-
3570
- type array = ::Array[ChildWorkflowExecutionTimedOutEventAttributes | _ToProto]
3571
-
3572
- type hash[KEY] = ::Hash[KEY, ChildWorkflowExecutionTimedOutEventAttributes | _ToProto]
3573
- end
3574
-
3575
- class ChildWorkflowExecutionTerminatedEventAttributes < ::Protobuf::Message
3576
- # Encode the message to a binary string
3577
- #
3578
- def self.encode: (ChildWorkflowExecutionTerminatedEventAttributes) -> String
3579
-
3580
- # Namespace of the child workflow.
3581
- # SDKs and UI tools should use `namespace` field but server must use `namespace_id` only.
3582
- #
3583
- attr_accessor namespace(): ::String
3584
-
3585
- def namespace!: () -> ::String?
3586
-
3587
- attr_accessor namespace_id(): ::String
3588
-
3589
- def namespace_id!: () -> ::String?
3590
-
3591
- attr_accessor workflow_execution(): ::Temporalio::Api::Common::V1::WorkflowExecution?
3592
-
3593
- def workflow_execution=: [M < ::Temporalio::Api::Common::V1::WorkflowExecution::_ToProto] (M?) -> M?
3594
- | ...
3595
-
3596
- def workflow_execution!: () -> ::Temporalio::Api::Common::V1::WorkflowExecution?
3597
-
3598
- attr_accessor workflow_type(): ::Temporalio::Api::Common::V1::WorkflowType?
3599
-
3600
- def workflow_type=: [M < ::Temporalio::Api::Common::V1::WorkflowType::_ToProto] (M?) -> M?
3601
- | ...
3602
-
3603
- def workflow_type!: () -> ::Temporalio::Api::Common::V1::WorkflowType?
3604
-
3605
- # Id of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds to
3606
- #
3607
- attr_accessor initiated_event_id(): ::Integer
3608
-
3609
- def initiated_event_id!: () -> ::Integer?
3610
-
3611
- # Id of the `CHILD_WORKFLOW_EXECUTION_STARTED` event which this event corresponds to
3612
- #
3613
- attr_accessor started_event_id(): ::Integer
3614
-
3615
- def started_event_id!: () -> ::Integer?
3616
-
3617
- def initialize: (?namespace: ::String, ?namespace_id: ::String, ?workflow_execution: ::Temporalio::Api::Common::V1::WorkflowExecution::init?, ?workflow_type: ::Temporalio::Api::Common::V1::WorkflowType::init?, ?initiated_event_id: ::Integer, ?started_event_id: ::Integer) -> void
3618
-
3619
- def []: (:namespace) -> ::String
3620
- | (:namespace_id) -> ::String
3621
- | (:workflow_execution) -> ::Temporalio::Api::Common::V1::WorkflowExecution?
3622
- | (:workflow_type) -> ::Temporalio::Api::Common::V1::WorkflowType?
3623
- | (:initiated_event_id) -> ::Integer
3624
- | (:started_event_id) -> ::Integer
3625
- | (::Symbol) -> untyped
3626
-
3627
- def []=: (:namespace, ::String) -> ::String
3628
- | (:namespace_id, ::String) -> ::String
3629
- | (:workflow_execution, ::Temporalio::Api::Common::V1::WorkflowExecution?) -> ::Temporalio::Api::Common::V1::WorkflowExecution?
3630
- | [M < ::Temporalio::Api::Common::V1::WorkflowExecution::_ToProto] (:workflow_execution, M?) -> M?
3631
- | (:workflow_type, ::Temporalio::Api::Common::V1::WorkflowType?) -> ::Temporalio::Api::Common::V1::WorkflowType?
3632
- | [M < ::Temporalio::Api::Common::V1::WorkflowType::_ToProto] (:workflow_type, M?) -> M?
3633
- | (:initiated_event_id, ::Integer) -> ::Integer
3634
- | (:started_event_id, ::Integer) -> ::Integer
3635
- | (::Symbol, untyped) -> untyped
3636
-
3637
- interface _ToProto
3638
- def to_proto: () -> ChildWorkflowExecutionTerminatedEventAttributes
3639
- end
3640
-
3641
- # The type of `#initialize` parameter.
3642
- type init = ChildWorkflowExecutionTerminatedEventAttributes | _ToProto
3643
-
3644
- # The type of `repeated` field.
3645
- type field_array = ::Protobuf::Field::FieldArray[ChildWorkflowExecutionTerminatedEventAttributes, ChildWorkflowExecutionTerminatedEventAttributes | _ToProto]
3646
-
3647
- # The type of `map` field.
3648
- type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, ChildWorkflowExecutionTerminatedEventAttributes, ChildWorkflowExecutionTerminatedEventAttributes | _ToProto]
3649
-
3650
- type array = ::Array[ChildWorkflowExecutionTerminatedEventAttributes | _ToProto]
3651
-
3652
- type hash[KEY] = ::Hash[KEY, ChildWorkflowExecutionTerminatedEventAttributes | _ToProto]
3653
- end
3654
-
3655
- class WorkflowPropertiesModifiedExternallyEventAttributes < ::Protobuf::Message
3656
- # Encode the message to a binary string
3657
- #
3658
- def self.encode: (WorkflowPropertiesModifiedExternallyEventAttributes) -> String
3659
-
3660
- # If set to a nonempty string, future workflow tasks for this workflow shall be dispatched on
3661
- # the provided queue.
3662
- #
3663
- attr_accessor new_task_queue(): ::String
3664
-
3665
- def new_task_queue!: () -> ::String?
3666
-
3667
- # If set, update the workflow task timeout to this value.
3668
- #
3669
- attr_accessor new_workflow_task_timeout(): ::Google::Protobuf::Duration?
3670
-
3671
- # If set, update the workflow task timeout to this value.
3672
- #
3673
- def new_workflow_task_timeout=: [M < ::Google::Protobuf::Duration::_ToProto] (M?) -> M?
3674
- | ...
3675
-
3676
- def new_workflow_task_timeout!: () -> ::Google::Protobuf::Duration?
3677
-
3678
- # If set, update the workflow run timeout to this value. May be set to 0 for no timeout.
3679
- #
3680
- attr_accessor new_workflow_run_timeout(): ::Google::Protobuf::Duration?
3681
-
3682
- # If set, update the workflow run timeout to this value. May be set to 0 for no timeout.
3683
- #
3684
- def new_workflow_run_timeout=: [M < ::Google::Protobuf::Duration::_ToProto] (M?) -> M?
3685
- | ...
3686
-
3687
- def new_workflow_run_timeout!: () -> ::Google::Protobuf::Duration?
3688
-
3689
- # If set, update the workflow execution timeout to this value. May be set to 0 for no timeout.
3690
- #
3691
- attr_accessor new_workflow_execution_timeout(): ::Google::Protobuf::Duration?
3692
-
3693
- # If set, update the workflow execution timeout to this value. May be set to 0 for no timeout.
3694
- #
3695
- def new_workflow_execution_timeout=: [M < ::Google::Protobuf::Duration::_ToProto] (M?) -> M?
3696
- | ...
3697
-
3698
- def new_workflow_execution_timeout!: () -> ::Google::Protobuf::Duration?
3699
-
3700
- # If set, update the workflow memo with the provided values. The values will be merged with
3701
- # the existing memo. If the user wants to delete values, a default/empty Payload should be
3702
- # used as the value for the key being deleted.
3703
- #
3704
- attr_accessor upserted_memo(): ::Temporalio::Api::Common::V1::Memo?
3705
-
3706
- # If set, update the workflow memo with the provided values. The values will be merged with
3707
- # the existing memo. If the user wants to delete values, a default/empty Payload should be
3708
- # used as the value for the key being deleted.
3709
- #
3710
- def upserted_memo=: [M < ::Temporalio::Api::Common::V1::Memo::_ToProto] (M?) -> M?
3711
- | ...
3712
-
3713
- def upserted_memo!: () -> ::Temporalio::Api::Common::V1::Memo?
3714
-
3715
- def initialize: (?new_task_queue: ::String, ?new_workflow_task_timeout: ::Google::Protobuf::Duration::init?, ?new_workflow_run_timeout: ::Google::Protobuf::Duration::init?, ?new_workflow_execution_timeout: ::Google::Protobuf::Duration::init?, ?upserted_memo: ::Temporalio::Api::Common::V1::Memo::init?) -> void
3716
-
3717
- def []: (:new_task_queue) -> ::String
3718
- | (:new_workflow_task_timeout) -> ::Google::Protobuf::Duration?
3719
- | (:new_workflow_run_timeout) -> ::Google::Protobuf::Duration?
3720
- | (:new_workflow_execution_timeout) -> ::Google::Protobuf::Duration?
3721
- | (:upserted_memo) -> ::Temporalio::Api::Common::V1::Memo?
3722
- | (::Symbol) -> untyped
3723
-
3724
- def []=: (:new_task_queue, ::String) -> ::String
3725
- | (:new_workflow_task_timeout, ::Google::Protobuf::Duration?) -> ::Google::Protobuf::Duration?
3726
- | [M < ::Google::Protobuf::Duration::_ToProto] (:new_workflow_task_timeout, M?) -> M?
3727
- | (:new_workflow_run_timeout, ::Google::Protobuf::Duration?) -> ::Google::Protobuf::Duration?
3728
- | [M < ::Google::Protobuf::Duration::_ToProto] (:new_workflow_run_timeout, M?) -> M?
3729
- | (:new_workflow_execution_timeout, ::Google::Protobuf::Duration?) -> ::Google::Protobuf::Duration?
3730
- | [M < ::Google::Protobuf::Duration::_ToProto] (:new_workflow_execution_timeout, M?) -> M?
3731
- | (:upserted_memo, ::Temporalio::Api::Common::V1::Memo?) -> ::Temporalio::Api::Common::V1::Memo?
3732
- | [M < ::Temporalio::Api::Common::V1::Memo::_ToProto] (:upserted_memo, M?) -> M?
3733
- | (::Symbol, untyped) -> untyped
3734
-
3735
- interface _ToProto
3736
- def to_proto: () -> WorkflowPropertiesModifiedExternallyEventAttributes
3737
- end
3738
-
3739
- # The type of `#initialize` parameter.
3740
- type init = WorkflowPropertiesModifiedExternallyEventAttributes | _ToProto
3741
-
3742
- # The type of `repeated` field.
3743
- type field_array = ::Protobuf::Field::FieldArray[WorkflowPropertiesModifiedExternallyEventAttributes, WorkflowPropertiesModifiedExternallyEventAttributes | _ToProto]
3744
-
3745
- # The type of `map` field.
3746
- type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, WorkflowPropertiesModifiedExternallyEventAttributes, WorkflowPropertiesModifiedExternallyEventAttributes | _ToProto]
3747
-
3748
- type array = ::Array[WorkflowPropertiesModifiedExternallyEventAttributes | _ToProto]
3749
-
3750
- type hash[KEY] = ::Hash[KEY, WorkflowPropertiesModifiedExternallyEventAttributes | _ToProto]
3751
- end
3752
-
3753
- class ActivityPropertiesModifiedExternallyEventAttributes < ::Protobuf::Message
3754
- # Encode the message to a binary string
3755
- #
3756
- def self.encode: (ActivityPropertiesModifiedExternallyEventAttributes) -> String
3757
-
3758
- # The id of the `ACTIVITY_TASK_SCHEDULED` event this modification corresponds to.
3759
- #
3760
- attr_accessor scheduled_event_id(): ::Integer
3761
-
3762
- def scheduled_event_id!: () -> ::Integer?
3763
-
3764
- # If set, update the retry policy of the activity, replacing it with the specified one.
3765
- # The number of attempts at the activity is preserved.
3766
- #
3767
- attr_accessor new_retry_policy(): ::Temporalio::Api::Common::V1::RetryPolicy?
3768
-
3769
- # If set, update the retry policy of the activity, replacing it with the specified one.
3770
- # The number of attempts at the activity is preserved.
3771
- #
3772
- def new_retry_policy=: [M < ::Temporalio::Api::Common::V1::RetryPolicy::_ToProto] (M?) -> M?
3773
- | ...
3774
-
3775
- def new_retry_policy!: () -> ::Temporalio::Api::Common::V1::RetryPolicy?
3776
-
3777
- def initialize: (?scheduled_event_id: ::Integer, ?new_retry_policy: ::Temporalio::Api::Common::V1::RetryPolicy::init?) -> void
3778
-
3779
- def []: (:scheduled_event_id) -> ::Integer
3780
- | (:new_retry_policy) -> ::Temporalio::Api::Common::V1::RetryPolicy?
3781
- | (::Symbol) -> untyped
3782
-
3783
- def []=: (:scheduled_event_id, ::Integer) -> ::Integer
3784
- | (:new_retry_policy, ::Temporalio::Api::Common::V1::RetryPolicy?) -> ::Temporalio::Api::Common::V1::RetryPolicy?
3785
- | [M < ::Temporalio::Api::Common::V1::RetryPolicy::_ToProto] (:new_retry_policy, M?) -> M?
3786
- | (::Symbol, untyped) -> untyped
3787
-
3788
- interface _ToProto
3789
- def to_proto: () -> ActivityPropertiesModifiedExternallyEventAttributes
3790
- end
3791
-
3792
- # The type of `#initialize` parameter.
3793
- type init = ActivityPropertiesModifiedExternallyEventAttributes | _ToProto
3794
-
3795
- # The type of `repeated` field.
3796
- type field_array = ::Protobuf::Field::FieldArray[ActivityPropertiesModifiedExternallyEventAttributes, ActivityPropertiesModifiedExternallyEventAttributes | _ToProto]
3797
-
3798
- # The type of `map` field.
3799
- type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, ActivityPropertiesModifiedExternallyEventAttributes, ActivityPropertiesModifiedExternallyEventAttributes | _ToProto]
3800
-
3801
- type array = ::Array[ActivityPropertiesModifiedExternallyEventAttributes | _ToProto]
3802
-
3803
- type hash[KEY] = ::Hash[KEY, ActivityPropertiesModifiedExternallyEventAttributes | _ToProto]
3804
- end
3805
-
3806
- class WorkflowExecutionUpdateAcceptedEventAttributes < ::Protobuf::Message
3807
- # Encode the message to a binary string
3808
- #
3809
- def self.encode: (WorkflowExecutionUpdateAcceptedEventAttributes) -> String
3810
-
3811
- # The instance ID of the update protocol that generated this event.
3812
- #
3813
- attr_accessor protocol_instance_id(): ::String
3814
-
3815
- def protocol_instance_id!: () -> ::String?
3816
-
3817
- # The message ID of the original request message that initiated this
3818
- # update. Needed so that the worker can recreate and deliver that same
3819
- # message as part of replay.
3820
- #
3821
- attr_accessor accepted_request_message_id(): ::String
3822
-
3823
- def accepted_request_message_id!: () -> ::String?
3824
-
3825
- # The event ID used to sequence the original request message.
3826
- #
3827
- attr_accessor accepted_request_sequencing_event_id(): ::Integer
3828
-
3829
- def accepted_request_sequencing_event_id!: () -> ::Integer?
3830
-
3831
- # The message payload of the original request message that initiated this
3832
- # update.
3833
- #
3834
- attr_accessor accepted_request(): ::Temporalio::Api::Update::V1::Request?
3835
-
3836
- # The message payload of the original request message that initiated this
3837
- # update.
3838
- #
3839
- def accepted_request=: [M < ::Temporalio::Api::Update::V1::Request::_ToProto] (M?) -> M?
3840
- | ...
3841
-
3842
- def accepted_request!: () -> ::Temporalio::Api::Update::V1::Request?
3843
-
3844
- def initialize: (?protocol_instance_id: ::String, ?accepted_request_message_id: ::String, ?accepted_request_sequencing_event_id: ::Integer, ?accepted_request: ::Temporalio::Api::Update::V1::Request::init?) -> void
3845
-
3846
- def []: (:protocol_instance_id) -> ::String
3847
- | (:accepted_request_message_id) -> ::String
3848
- | (:accepted_request_sequencing_event_id) -> ::Integer
3849
- | (:accepted_request) -> ::Temporalio::Api::Update::V1::Request?
3850
- | (::Symbol) -> untyped
3851
-
3852
- def []=: (:protocol_instance_id, ::String) -> ::String
3853
- | (:accepted_request_message_id, ::String) -> ::String
3854
- | (:accepted_request_sequencing_event_id, ::Integer) -> ::Integer
3855
- | (:accepted_request, ::Temporalio::Api::Update::V1::Request?) -> ::Temporalio::Api::Update::V1::Request?
3856
- | [M < ::Temporalio::Api::Update::V1::Request::_ToProto] (:accepted_request, M?) -> M?
3857
- | (::Symbol, untyped) -> untyped
3858
-
3859
- interface _ToProto
3860
- def to_proto: () -> WorkflowExecutionUpdateAcceptedEventAttributes
3861
- end
3862
-
3863
- # The type of `#initialize` parameter.
3864
- type init = WorkflowExecutionUpdateAcceptedEventAttributes | _ToProto
3865
-
3866
- # The type of `repeated` field.
3867
- type field_array = ::Protobuf::Field::FieldArray[WorkflowExecutionUpdateAcceptedEventAttributes, WorkflowExecutionUpdateAcceptedEventAttributes | _ToProto]
3868
-
3869
- # The type of `map` field.
3870
- type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, WorkflowExecutionUpdateAcceptedEventAttributes, WorkflowExecutionUpdateAcceptedEventAttributes | _ToProto]
3871
-
3872
- type array = ::Array[WorkflowExecutionUpdateAcceptedEventAttributes | _ToProto]
3873
-
3874
- type hash[KEY] = ::Hash[KEY, WorkflowExecutionUpdateAcceptedEventAttributes | _ToProto]
3875
- end
3876
-
3877
- class WorkflowExecutionUpdateCompletedEventAttributes < ::Protobuf::Message
3878
- # Encode the message to a binary string
3879
- #
3880
- def self.encode: (WorkflowExecutionUpdateCompletedEventAttributes) -> String
3881
-
3882
- # The metadata about this update.
3883
- #
3884
- attr_accessor meta(): ::Temporalio::Api::Update::V1::Meta?
3885
-
3886
- # The metadata about this update.
3887
- #
3888
- def meta=: [M < ::Temporalio::Api::Update::V1::Meta::_ToProto] (M?) -> M?
3889
- | ...
3890
-
3891
- def meta!: () -> ::Temporalio::Api::Update::V1::Meta?
3892
-
3893
- # The outcome of executing the workflow update function.
3894
- #
3895
- attr_accessor outcome(): ::Temporalio::Api::Update::V1::Outcome?
3896
-
3897
- # The outcome of executing the workflow update function.
3898
- #
3899
- def outcome=: [M < ::Temporalio::Api::Update::V1::Outcome::_ToProto] (M?) -> M?
3900
- | ...
3901
-
3902
- def outcome!: () -> ::Temporalio::Api::Update::V1::Outcome?
3903
-
3904
- def initialize: (?meta: ::Temporalio::Api::Update::V1::Meta::init?, ?outcome: ::Temporalio::Api::Update::V1::Outcome::init?) -> void
3905
-
3906
- def []: (:meta) -> ::Temporalio::Api::Update::V1::Meta?
3907
- | (:outcome) -> ::Temporalio::Api::Update::V1::Outcome?
3908
- | (::Symbol) -> untyped
3909
-
3910
- def []=: (:meta, ::Temporalio::Api::Update::V1::Meta?) -> ::Temporalio::Api::Update::V1::Meta?
3911
- | [M < ::Temporalio::Api::Update::V1::Meta::_ToProto] (:meta, M?) -> M?
3912
- | (:outcome, ::Temporalio::Api::Update::V1::Outcome?) -> ::Temporalio::Api::Update::V1::Outcome?
3913
- | [M < ::Temporalio::Api::Update::V1::Outcome::_ToProto] (:outcome, M?) -> M?
3914
- | (::Symbol, untyped) -> untyped
3915
-
3916
- interface _ToProto
3917
- def to_proto: () -> WorkflowExecutionUpdateCompletedEventAttributes
3918
- end
3919
-
3920
- # The type of `#initialize` parameter.
3921
- type init = WorkflowExecutionUpdateCompletedEventAttributes | _ToProto
3922
-
3923
- # The type of `repeated` field.
3924
- type field_array = ::Protobuf::Field::FieldArray[WorkflowExecutionUpdateCompletedEventAttributes, WorkflowExecutionUpdateCompletedEventAttributes | _ToProto]
3925
-
3926
- # The type of `map` field.
3927
- type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, WorkflowExecutionUpdateCompletedEventAttributes, WorkflowExecutionUpdateCompletedEventAttributes | _ToProto]
3928
-
3929
- type array = ::Array[WorkflowExecutionUpdateCompletedEventAttributes | _ToProto]
3930
-
3931
- type hash[KEY] = ::Hash[KEY, WorkflowExecutionUpdateCompletedEventAttributes | _ToProto]
3932
- end
3933
-
3934
- class WorkflowExecutionUpdateRejectedEventAttributes < ::Protobuf::Message
3935
- # Encode the message to a binary string
3936
- #
3937
- def self.encode: (WorkflowExecutionUpdateRejectedEventAttributes) -> String
3938
-
3939
- # The instance ID of the update protocol that generated this event.
3940
- #
3941
- attr_accessor protocol_instance_id(): ::String
3942
-
3943
- def protocol_instance_id!: () -> ::String?
3944
-
3945
- # The message ID of the original request message that initiated this
3946
- # update. Needed so that the worker can recreate and deliver that same
3947
- # message as part of replay.
3948
- #
3949
- attr_accessor rejected_request_message_id(): ::String
3950
-
3951
- def rejected_request_message_id!: () -> ::String?
3952
-
3953
- # The event ID used to sequence the original request message.
3954
- #
3955
- attr_accessor rejected_request_sequencing_event_id(): ::Integer
3956
-
3957
- def rejected_request_sequencing_event_id!: () -> ::Integer?
3958
-
3959
- # The message payload of the original request message that initiated this
3960
- # update.
3961
- #
3962
- attr_accessor rejected_request(): ::Temporalio::Api::Update::V1::Request?
3963
-
3964
- # The message payload of the original request message that initiated this
3965
- # update.
3966
- #
3967
- def rejected_request=: [M < ::Temporalio::Api::Update::V1::Request::_ToProto] (M?) -> M?
3968
- | ...
3969
-
3970
- def rejected_request!: () -> ::Temporalio::Api::Update::V1::Request?
3971
-
3972
- # The cause of rejection.
3973
- #
3974
- attr_accessor failure(): ::Temporalio::Api::Failure::V1::Failure?
3975
-
3976
- # The cause of rejection.
3977
- #
3978
- def failure=: [M < ::Temporalio::Api::Failure::V1::Failure::_ToProto] (M?) -> M?
3979
- | ...
3980
-
3981
- def failure!: () -> ::Temporalio::Api::Failure::V1::Failure?
3982
-
3983
- def initialize: (?protocol_instance_id: ::String, ?rejected_request_message_id: ::String, ?rejected_request_sequencing_event_id: ::Integer, ?rejected_request: ::Temporalio::Api::Update::V1::Request::init?, ?failure: ::Temporalio::Api::Failure::V1::Failure::init?) -> void
3984
-
3985
- def []: (:protocol_instance_id) -> ::String
3986
- | (:rejected_request_message_id) -> ::String
3987
- | (:rejected_request_sequencing_event_id) -> ::Integer
3988
- | (:rejected_request) -> ::Temporalio::Api::Update::V1::Request?
3989
- | (:failure) -> ::Temporalio::Api::Failure::V1::Failure?
3990
- | (::Symbol) -> untyped
3991
-
3992
- def []=: (:protocol_instance_id, ::String) -> ::String
3993
- | (:rejected_request_message_id, ::String) -> ::String
3994
- | (:rejected_request_sequencing_event_id, ::Integer) -> ::Integer
3995
- | (:rejected_request, ::Temporalio::Api::Update::V1::Request?) -> ::Temporalio::Api::Update::V1::Request?
3996
- | [M < ::Temporalio::Api::Update::V1::Request::_ToProto] (:rejected_request, M?) -> M?
3997
- | (:failure, ::Temporalio::Api::Failure::V1::Failure?) -> ::Temporalio::Api::Failure::V1::Failure?
3998
- | [M < ::Temporalio::Api::Failure::V1::Failure::_ToProto] (:failure, M?) -> M?
3999
- | (::Symbol, untyped) -> untyped
4000
-
4001
- interface _ToProto
4002
- def to_proto: () -> WorkflowExecutionUpdateRejectedEventAttributes
4003
- end
4004
-
4005
- # The type of `#initialize` parameter.
4006
- type init = WorkflowExecutionUpdateRejectedEventAttributes | _ToProto
4007
-
4008
- # The type of `repeated` field.
4009
- type field_array = ::Protobuf::Field::FieldArray[WorkflowExecutionUpdateRejectedEventAttributes, WorkflowExecutionUpdateRejectedEventAttributes | _ToProto]
4010
-
4011
- # The type of `map` field.
4012
- type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, WorkflowExecutionUpdateRejectedEventAttributes, WorkflowExecutionUpdateRejectedEventAttributes | _ToProto]
4013
-
4014
- type array = ::Array[WorkflowExecutionUpdateRejectedEventAttributes | _ToProto]
4015
-
4016
- type hash[KEY] = ::Hash[KEY, WorkflowExecutionUpdateRejectedEventAttributes | _ToProto]
4017
- end
4018
-
4019
- # History events are the method by which Temporal SDKs advance (or recreate) workflow state.
4020
- # See the `EventType` enum for more info about what each event is for.
4021
- #
4022
- class HistoryEvent < ::Protobuf::Message
4023
- # Encode the message to a binary string
4024
- #
4025
- def self.encode: (HistoryEvent) -> String
4026
-
4027
- # Monotonically increasing event number, starts at 1.
4028
- #
4029
- attr_accessor event_id(): ::Integer
4030
-
4031
- def event_id!: () -> ::Integer?
4032
-
4033
- attr_accessor event_time(): ::Google::Protobuf::Timestamp?
4034
-
4035
- def event_time=: [M < ::Google::Protobuf::Timestamp::_ToProto] (M?) -> M?
4036
- | ...
4037
-
4038
- def event_time!: () -> ::Google::Protobuf::Timestamp?
4039
-
4040
- attr_accessor event_type(): ::Temporalio::Api::Enums::V1::EventType
4041
-
4042
- def event_type=: (::Temporalio::Api::Enums::V1::EventType::values) -> ::Temporalio::Api::Enums::V1::EventType::values
4043
- | ...
4044
-
4045
- def event_type!: () -> ::Temporalio::Api::Enums::V1::EventType?
4046
-
4047
- # TODO: What is this? Appears unused by SDKs
4048
- #
4049
- attr_accessor version(): ::Integer
4050
-
4051
- def version!: () -> ::Integer?
4052
-
4053
- # TODO: What is this? Appears unused by SDKs
4054
- #
4055
- attr_accessor task_id(): ::Integer
4056
-
4057
- def task_id!: () -> ::Integer?
4058
-
4059
- # Set to true when the SDK may ignore the event as it does not impact workflow state or
4060
- # information in any way that the SDK need be concerned with. If an SDK encounters an event
4061
- # type which it does not understand, it must error unless this is true. If it is true, it's
4062
- # acceptable for the event type and/or attributes to be uninterpretable.
4063
- #
4064
- attr_accessor worker_may_ignore(): bool
4065
-
4066
- def worker_may_ignore!: () -> bool?
4067
-
4068
- attr_accessor workflow_execution_started_event_attributes(): ::Temporalio::Api::History::V1::WorkflowExecutionStartedEventAttributes?
4069
-
4070
- def workflow_execution_started_event_attributes=: [M < ::Temporalio::Api::History::V1::WorkflowExecutionStartedEventAttributes::_ToProto] (M?) -> M?
4071
- | ...
4072
-
4073
- def workflow_execution_started_event_attributes!: () -> ::Temporalio::Api::History::V1::WorkflowExecutionStartedEventAttributes?
4074
-
4075
- attr_accessor workflow_execution_completed_event_attributes(): ::Temporalio::Api::History::V1::WorkflowExecutionCompletedEventAttributes?
4076
-
4077
- def workflow_execution_completed_event_attributes=: [M < ::Temporalio::Api::History::V1::WorkflowExecutionCompletedEventAttributes::_ToProto] (M?) -> M?
4078
- | ...
4079
-
4080
- def workflow_execution_completed_event_attributes!: () -> ::Temporalio::Api::History::V1::WorkflowExecutionCompletedEventAttributes?
4081
-
4082
- attr_accessor workflow_execution_failed_event_attributes(): ::Temporalio::Api::History::V1::WorkflowExecutionFailedEventAttributes?
4083
-
4084
- def workflow_execution_failed_event_attributes=: [M < ::Temporalio::Api::History::V1::WorkflowExecutionFailedEventAttributes::_ToProto] (M?) -> M?
4085
- | ...
4086
-
4087
- def workflow_execution_failed_event_attributes!: () -> ::Temporalio::Api::History::V1::WorkflowExecutionFailedEventAttributes?
4088
-
4089
- attr_accessor workflow_execution_timed_out_event_attributes(): ::Temporalio::Api::History::V1::WorkflowExecutionTimedOutEventAttributes?
4090
-
4091
- def workflow_execution_timed_out_event_attributes=: [M < ::Temporalio::Api::History::V1::WorkflowExecutionTimedOutEventAttributes::_ToProto] (M?) -> M?
4092
- | ...
4093
-
4094
- def workflow_execution_timed_out_event_attributes!: () -> ::Temporalio::Api::History::V1::WorkflowExecutionTimedOutEventAttributes?
4095
-
4096
- attr_accessor workflow_task_scheduled_event_attributes(): ::Temporalio::Api::History::V1::WorkflowTaskScheduledEventAttributes?
4097
-
4098
- def workflow_task_scheduled_event_attributes=: [M < ::Temporalio::Api::History::V1::WorkflowTaskScheduledEventAttributes::_ToProto] (M?) -> M?
4099
- | ...
4100
-
4101
- def workflow_task_scheduled_event_attributes!: () -> ::Temporalio::Api::History::V1::WorkflowTaskScheduledEventAttributes?
4102
-
4103
- attr_accessor workflow_task_started_event_attributes(): ::Temporalio::Api::History::V1::WorkflowTaskStartedEventAttributes?
4104
-
4105
- def workflow_task_started_event_attributes=: [M < ::Temporalio::Api::History::V1::WorkflowTaskStartedEventAttributes::_ToProto] (M?) -> M?
4106
- | ...
4107
-
4108
- def workflow_task_started_event_attributes!: () -> ::Temporalio::Api::History::V1::WorkflowTaskStartedEventAttributes?
4109
-
4110
- attr_accessor workflow_task_completed_event_attributes(): ::Temporalio::Api::History::V1::WorkflowTaskCompletedEventAttributes?
4111
-
4112
- def workflow_task_completed_event_attributes=: [M < ::Temporalio::Api::History::V1::WorkflowTaskCompletedEventAttributes::_ToProto] (M?) -> M?
4113
- | ...
4114
-
4115
- def workflow_task_completed_event_attributes!: () -> ::Temporalio::Api::History::V1::WorkflowTaskCompletedEventAttributes?
4116
-
4117
- attr_accessor workflow_task_timed_out_event_attributes(): ::Temporalio::Api::History::V1::WorkflowTaskTimedOutEventAttributes?
4118
-
4119
- def workflow_task_timed_out_event_attributes=: [M < ::Temporalio::Api::History::V1::WorkflowTaskTimedOutEventAttributes::_ToProto] (M?) -> M?
4120
- | ...
4121
-
4122
- def workflow_task_timed_out_event_attributes!: () -> ::Temporalio::Api::History::V1::WorkflowTaskTimedOutEventAttributes?
4123
-
4124
- attr_accessor workflow_task_failed_event_attributes(): ::Temporalio::Api::History::V1::WorkflowTaskFailedEventAttributes?
4125
-
4126
- def workflow_task_failed_event_attributes=: [M < ::Temporalio::Api::History::V1::WorkflowTaskFailedEventAttributes::_ToProto] (M?) -> M?
4127
- | ...
4128
-
4129
- def workflow_task_failed_event_attributes!: () -> ::Temporalio::Api::History::V1::WorkflowTaskFailedEventAttributes?
4130
-
4131
- attr_accessor activity_task_scheduled_event_attributes(): ::Temporalio::Api::History::V1::ActivityTaskScheduledEventAttributes?
4132
-
4133
- def activity_task_scheduled_event_attributes=: [M < ::Temporalio::Api::History::V1::ActivityTaskScheduledEventAttributes::_ToProto] (M?) -> M?
4134
- | ...
4135
-
4136
- def activity_task_scheduled_event_attributes!: () -> ::Temporalio::Api::History::V1::ActivityTaskScheduledEventAttributes?
4137
-
4138
- attr_accessor activity_task_started_event_attributes(): ::Temporalio::Api::History::V1::ActivityTaskStartedEventAttributes?
4139
-
4140
- def activity_task_started_event_attributes=: [M < ::Temporalio::Api::History::V1::ActivityTaskStartedEventAttributes::_ToProto] (M?) -> M?
4141
- | ...
4142
-
4143
- def activity_task_started_event_attributes!: () -> ::Temporalio::Api::History::V1::ActivityTaskStartedEventAttributes?
4144
-
4145
- attr_accessor activity_task_completed_event_attributes(): ::Temporalio::Api::History::V1::ActivityTaskCompletedEventAttributes?
4146
-
4147
- def activity_task_completed_event_attributes=: [M < ::Temporalio::Api::History::V1::ActivityTaskCompletedEventAttributes::_ToProto] (M?) -> M?
4148
- | ...
4149
-
4150
- def activity_task_completed_event_attributes!: () -> ::Temporalio::Api::History::V1::ActivityTaskCompletedEventAttributes?
4151
-
4152
- attr_accessor activity_task_failed_event_attributes(): ::Temporalio::Api::History::V1::ActivityTaskFailedEventAttributes?
4153
-
4154
- def activity_task_failed_event_attributes=: [M < ::Temporalio::Api::History::V1::ActivityTaskFailedEventAttributes::_ToProto] (M?) -> M?
4155
- | ...
4156
-
4157
- def activity_task_failed_event_attributes!: () -> ::Temporalio::Api::History::V1::ActivityTaskFailedEventAttributes?
4158
-
4159
- attr_accessor activity_task_timed_out_event_attributes(): ::Temporalio::Api::History::V1::ActivityTaskTimedOutEventAttributes?
4160
-
4161
- def activity_task_timed_out_event_attributes=: [M < ::Temporalio::Api::History::V1::ActivityTaskTimedOutEventAttributes::_ToProto] (M?) -> M?
4162
- | ...
4163
-
4164
- def activity_task_timed_out_event_attributes!: () -> ::Temporalio::Api::History::V1::ActivityTaskTimedOutEventAttributes?
4165
-
4166
- attr_accessor timer_started_event_attributes(): ::Temporalio::Api::History::V1::TimerStartedEventAttributes?
4167
-
4168
- def timer_started_event_attributes=: [M < ::Temporalio::Api::History::V1::TimerStartedEventAttributes::_ToProto] (M?) -> M?
4169
- | ...
4170
-
4171
- def timer_started_event_attributes!: () -> ::Temporalio::Api::History::V1::TimerStartedEventAttributes?
4172
-
4173
- attr_accessor timer_fired_event_attributes(): ::Temporalio::Api::History::V1::TimerFiredEventAttributes?
4174
-
4175
- def timer_fired_event_attributes=: [M < ::Temporalio::Api::History::V1::TimerFiredEventAttributes::_ToProto] (M?) -> M?
4176
- | ...
4177
-
4178
- def timer_fired_event_attributes!: () -> ::Temporalio::Api::History::V1::TimerFiredEventAttributes?
4179
-
4180
- attr_accessor activity_task_cancel_requested_event_attributes(): ::Temporalio::Api::History::V1::ActivityTaskCancelRequestedEventAttributes?
4181
-
4182
- def activity_task_cancel_requested_event_attributes=: [M < ::Temporalio::Api::History::V1::ActivityTaskCancelRequestedEventAttributes::_ToProto] (M?) -> M?
4183
- | ...
4184
-
4185
- def activity_task_cancel_requested_event_attributes!: () -> ::Temporalio::Api::History::V1::ActivityTaskCancelRequestedEventAttributes?
4186
-
4187
- attr_accessor activity_task_canceled_event_attributes(): ::Temporalio::Api::History::V1::ActivityTaskCanceledEventAttributes?
4188
-
4189
- def activity_task_canceled_event_attributes=: [M < ::Temporalio::Api::History::V1::ActivityTaskCanceledEventAttributes::_ToProto] (M?) -> M?
4190
- | ...
4191
-
4192
- def activity_task_canceled_event_attributes!: () -> ::Temporalio::Api::History::V1::ActivityTaskCanceledEventAttributes?
4193
-
4194
- attr_accessor timer_canceled_event_attributes(): ::Temporalio::Api::History::V1::TimerCanceledEventAttributes?
4195
-
4196
- def timer_canceled_event_attributes=: [M < ::Temporalio::Api::History::V1::TimerCanceledEventAttributes::_ToProto] (M?) -> M?
4197
- | ...
4198
-
4199
- def timer_canceled_event_attributes!: () -> ::Temporalio::Api::History::V1::TimerCanceledEventAttributes?
4200
-
4201
- attr_accessor marker_recorded_event_attributes(): ::Temporalio::Api::History::V1::MarkerRecordedEventAttributes?
4202
-
4203
- def marker_recorded_event_attributes=: [M < ::Temporalio::Api::History::V1::MarkerRecordedEventAttributes::_ToProto] (M?) -> M?
4204
- | ...
4205
-
4206
- def marker_recorded_event_attributes!: () -> ::Temporalio::Api::History::V1::MarkerRecordedEventAttributes?
4207
-
4208
- attr_accessor workflow_execution_signaled_event_attributes(): ::Temporalio::Api::History::V1::WorkflowExecutionSignaledEventAttributes?
4209
-
4210
- def workflow_execution_signaled_event_attributes=: [M < ::Temporalio::Api::History::V1::WorkflowExecutionSignaledEventAttributes::_ToProto] (M?) -> M?
4211
- | ...
4212
-
4213
- def workflow_execution_signaled_event_attributes!: () -> ::Temporalio::Api::History::V1::WorkflowExecutionSignaledEventAttributes?
4214
-
4215
- attr_accessor workflow_execution_terminated_event_attributes(): ::Temporalio::Api::History::V1::WorkflowExecutionTerminatedEventAttributes?
4216
-
4217
- def workflow_execution_terminated_event_attributes=: [M < ::Temporalio::Api::History::V1::WorkflowExecutionTerminatedEventAttributes::_ToProto] (M?) -> M?
4218
- | ...
4219
-
4220
- def workflow_execution_terminated_event_attributes!: () -> ::Temporalio::Api::History::V1::WorkflowExecutionTerminatedEventAttributes?
4221
-
4222
- attr_accessor workflow_execution_cancel_requested_event_attributes(): ::Temporalio::Api::History::V1::WorkflowExecutionCancelRequestedEventAttributes?
4223
-
4224
- def workflow_execution_cancel_requested_event_attributes=: [M < ::Temporalio::Api::History::V1::WorkflowExecutionCancelRequestedEventAttributes::_ToProto] (M?) -> M?
4225
- | ...
4226
-
4227
- def workflow_execution_cancel_requested_event_attributes!: () -> ::Temporalio::Api::History::V1::WorkflowExecutionCancelRequestedEventAttributes?
4228
-
4229
- attr_accessor workflow_execution_canceled_event_attributes(): ::Temporalio::Api::History::V1::WorkflowExecutionCanceledEventAttributes?
4230
-
4231
- def workflow_execution_canceled_event_attributes=: [M < ::Temporalio::Api::History::V1::WorkflowExecutionCanceledEventAttributes::_ToProto] (M?) -> M?
4232
- | ...
4233
-
4234
- def workflow_execution_canceled_event_attributes!: () -> ::Temporalio::Api::History::V1::WorkflowExecutionCanceledEventAttributes?
4235
-
4236
- attr_accessor request_cancel_external_workflow_execution_initiated_event_attributes(): ::Temporalio::Api::History::V1::RequestCancelExternalWorkflowExecutionInitiatedEventAttributes?
4237
-
4238
- def request_cancel_external_workflow_execution_initiated_event_attributes=: [M < ::Temporalio::Api::History::V1::RequestCancelExternalWorkflowExecutionInitiatedEventAttributes::_ToProto] (M?) -> M?
4239
- | ...
4240
-
4241
- def request_cancel_external_workflow_execution_initiated_event_attributes!: () -> ::Temporalio::Api::History::V1::RequestCancelExternalWorkflowExecutionInitiatedEventAttributes?
4242
-
4243
- attr_accessor request_cancel_external_workflow_execution_failed_event_attributes(): ::Temporalio::Api::History::V1::RequestCancelExternalWorkflowExecutionFailedEventAttributes?
4244
-
4245
- def request_cancel_external_workflow_execution_failed_event_attributes=: [M < ::Temporalio::Api::History::V1::RequestCancelExternalWorkflowExecutionFailedEventAttributes::_ToProto] (M?) -> M?
4246
- | ...
4247
-
4248
- def request_cancel_external_workflow_execution_failed_event_attributes!: () -> ::Temporalio::Api::History::V1::RequestCancelExternalWorkflowExecutionFailedEventAttributes?
4249
-
4250
- attr_accessor external_workflow_execution_cancel_requested_event_attributes(): ::Temporalio::Api::History::V1::ExternalWorkflowExecutionCancelRequestedEventAttributes?
4251
-
4252
- def external_workflow_execution_cancel_requested_event_attributes=: [M < ::Temporalio::Api::History::V1::ExternalWorkflowExecutionCancelRequestedEventAttributes::_ToProto] (M?) -> M?
4253
- | ...
4254
-
4255
- def external_workflow_execution_cancel_requested_event_attributes!: () -> ::Temporalio::Api::History::V1::ExternalWorkflowExecutionCancelRequestedEventAttributes?
4256
-
4257
- attr_accessor workflow_execution_continued_as_new_event_attributes(): ::Temporalio::Api::History::V1::WorkflowExecutionContinuedAsNewEventAttributes?
4258
-
4259
- def workflow_execution_continued_as_new_event_attributes=: [M < ::Temporalio::Api::History::V1::WorkflowExecutionContinuedAsNewEventAttributes::_ToProto] (M?) -> M?
4260
- | ...
4261
-
4262
- def workflow_execution_continued_as_new_event_attributes!: () -> ::Temporalio::Api::History::V1::WorkflowExecutionContinuedAsNewEventAttributes?
4263
-
4264
- attr_accessor start_child_workflow_execution_initiated_event_attributes(): ::Temporalio::Api::History::V1::StartChildWorkflowExecutionInitiatedEventAttributes?
4265
-
4266
- def start_child_workflow_execution_initiated_event_attributes=: [M < ::Temporalio::Api::History::V1::StartChildWorkflowExecutionInitiatedEventAttributes::_ToProto] (M?) -> M?
4267
- | ...
4268
-
4269
- def start_child_workflow_execution_initiated_event_attributes!: () -> ::Temporalio::Api::History::V1::StartChildWorkflowExecutionInitiatedEventAttributes?
4270
-
4271
- attr_accessor start_child_workflow_execution_failed_event_attributes(): ::Temporalio::Api::History::V1::StartChildWorkflowExecutionFailedEventAttributes?
4272
-
4273
- def start_child_workflow_execution_failed_event_attributes=: [M < ::Temporalio::Api::History::V1::StartChildWorkflowExecutionFailedEventAttributes::_ToProto] (M?) -> M?
4274
- | ...
4275
-
4276
- def start_child_workflow_execution_failed_event_attributes!: () -> ::Temporalio::Api::History::V1::StartChildWorkflowExecutionFailedEventAttributes?
4277
-
4278
- attr_accessor child_workflow_execution_started_event_attributes(): ::Temporalio::Api::History::V1::ChildWorkflowExecutionStartedEventAttributes?
4279
-
4280
- def child_workflow_execution_started_event_attributes=: [M < ::Temporalio::Api::History::V1::ChildWorkflowExecutionStartedEventAttributes::_ToProto] (M?) -> M?
4281
- | ...
4282
-
4283
- def child_workflow_execution_started_event_attributes!: () -> ::Temporalio::Api::History::V1::ChildWorkflowExecutionStartedEventAttributes?
4284
-
4285
- attr_accessor child_workflow_execution_completed_event_attributes(): ::Temporalio::Api::History::V1::ChildWorkflowExecutionCompletedEventAttributes?
4286
-
4287
- def child_workflow_execution_completed_event_attributes=: [M < ::Temporalio::Api::History::V1::ChildWorkflowExecutionCompletedEventAttributes::_ToProto] (M?) -> M?
4288
- | ...
4289
-
4290
- def child_workflow_execution_completed_event_attributes!: () -> ::Temporalio::Api::History::V1::ChildWorkflowExecutionCompletedEventAttributes?
4291
-
4292
- attr_accessor child_workflow_execution_failed_event_attributes(): ::Temporalio::Api::History::V1::ChildWorkflowExecutionFailedEventAttributes?
4293
-
4294
- def child_workflow_execution_failed_event_attributes=: [M < ::Temporalio::Api::History::V1::ChildWorkflowExecutionFailedEventAttributes::_ToProto] (M?) -> M?
4295
- | ...
4296
-
4297
- def child_workflow_execution_failed_event_attributes!: () -> ::Temporalio::Api::History::V1::ChildWorkflowExecutionFailedEventAttributes?
4298
-
4299
- attr_accessor child_workflow_execution_canceled_event_attributes(): ::Temporalio::Api::History::V1::ChildWorkflowExecutionCanceledEventAttributes?
4300
-
4301
- def child_workflow_execution_canceled_event_attributes=: [M < ::Temporalio::Api::History::V1::ChildWorkflowExecutionCanceledEventAttributes::_ToProto] (M?) -> M?
4302
- | ...
4303
-
4304
- def child_workflow_execution_canceled_event_attributes!: () -> ::Temporalio::Api::History::V1::ChildWorkflowExecutionCanceledEventAttributes?
4305
-
4306
- attr_accessor child_workflow_execution_timed_out_event_attributes(): ::Temporalio::Api::History::V1::ChildWorkflowExecutionTimedOutEventAttributes?
4307
-
4308
- def child_workflow_execution_timed_out_event_attributes=: [M < ::Temporalio::Api::History::V1::ChildWorkflowExecutionTimedOutEventAttributes::_ToProto] (M?) -> M?
4309
- | ...
4310
-
4311
- def child_workflow_execution_timed_out_event_attributes!: () -> ::Temporalio::Api::History::V1::ChildWorkflowExecutionTimedOutEventAttributes?
4312
-
4313
- attr_accessor child_workflow_execution_terminated_event_attributes(): ::Temporalio::Api::History::V1::ChildWorkflowExecutionTerminatedEventAttributes?
4314
-
4315
- def child_workflow_execution_terminated_event_attributes=: [M < ::Temporalio::Api::History::V1::ChildWorkflowExecutionTerminatedEventAttributes::_ToProto] (M?) -> M?
4316
- | ...
4317
-
4318
- def child_workflow_execution_terminated_event_attributes!: () -> ::Temporalio::Api::History::V1::ChildWorkflowExecutionTerminatedEventAttributes?
4319
-
4320
- attr_accessor signal_external_workflow_execution_initiated_event_attributes(): ::Temporalio::Api::History::V1::SignalExternalWorkflowExecutionInitiatedEventAttributes?
4321
-
4322
- def signal_external_workflow_execution_initiated_event_attributes=: [M < ::Temporalio::Api::History::V1::SignalExternalWorkflowExecutionInitiatedEventAttributes::_ToProto] (M?) -> M?
4323
- | ...
4324
-
4325
- def signal_external_workflow_execution_initiated_event_attributes!: () -> ::Temporalio::Api::History::V1::SignalExternalWorkflowExecutionInitiatedEventAttributes?
4326
-
4327
- attr_accessor signal_external_workflow_execution_failed_event_attributes(): ::Temporalio::Api::History::V1::SignalExternalWorkflowExecutionFailedEventAttributes?
4328
-
4329
- def signal_external_workflow_execution_failed_event_attributes=: [M < ::Temporalio::Api::History::V1::SignalExternalWorkflowExecutionFailedEventAttributes::_ToProto] (M?) -> M?
4330
- | ...
4331
-
4332
- def signal_external_workflow_execution_failed_event_attributes!: () -> ::Temporalio::Api::History::V1::SignalExternalWorkflowExecutionFailedEventAttributes?
4333
-
4334
- attr_accessor external_workflow_execution_signaled_event_attributes(): ::Temporalio::Api::History::V1::ExternalWorkflowExecutionSignaledEventAttributes?
4335
-
4336
- def external_workflow_execution_signaled_event_attributes=: [M < ::Temporalio::Api::History::V1::ExternalWorkflowExecutionSignaledEventAttributes::_ToProto] (M?) -> M?
4337
- | ...
4338
-
4339
- def external_workflow_execution_signaled_event_attributes!: () -> ::Temporalio::Api::History::V1::ExternalWorkflowExecutionSignaledEventAttributes?
4340
-
4341
- attr_accessor upsert_workflow_search_attributes_event_attributes(): ::Temporalio::Api::History::V1::UpsertWorkflowSearchAttributesEventAttributes?
4342
-
4343
- def upsert_workflow_search_attributes_event_attributes=: [M < ::Temporalio::Api::History::V1::UpsertWorkflowSearchAttributesEventAttributes::_ToProto] (M?) -> M?
4344
- | ...
4345
-
4346
- def upsert_workflow_search_attributes_event_attributes!: () -> ::Temporalio::Api::History::V1::UpsertWorkflowSearchAttributesEventAttributes?
4347
-
4348
- attr_accessor workflow_execution_update_accepted_event_attributes(): ::Temporalio::Api::History::V1::WorkflowExecutionUpdateAcceptedEventAttributes?
4349
-
4350
- def workflow_execution_update_accepted_event_attributes=: [M < ::Temporalio::Api::History::V1::WorkflowExecutionUpdateAcceptedEventAttributes::_ToProto] (M?) -> M?
4351
- | ...
4352
-
4353
- def workflow_execution_update_accepted_event_attributes!: () -> ::Temporalio::Api::History::V1::WorkflowExecutionUpdateAcceptedEventAttributes?
4354
-
4355
- attr_accessor workflow_execution_update_rejected_event_attributes(): ::Temporalio::Api::History::V1::WorkflowExecutionUpdateRejectedEventAttributes?
4356
-
4357
- def workflow_execution_update_rejected_event_attributes=: [M < ::Temporalio::Api::History::V1::WorkflowExecutionUpdateRejectedEventAttributes::_ToProto] (M?) -> M?
4358
- | ...
4359
-
4360
- def workflow_execution_update_rejected_event_attributes!: () -> ::Temporalio::Api::History::V1::WorkflowExecutionUpdateRejectedEventAttributes?
4361
-
4362
- attr_accessor workflow_execution_update_completed_event_attributes(): ::Temporalio::Api::History::V1::WorkflowExecutionUpdateCompletedEventAttributes?
4363
-
4364
- def workflow_execution_update_completed_event_attributes=: [M < ::Temporalio::Api::History::V1::WorkflowExecutionUpdateCompletedEventAttributes::_ToProto] (M?) -> M?
4365
- | ...
4366
-
4367
- def workflow_execution_update_completed_event_attributes!: () -> ::Temporalio::Api::History::V1::WorkflowExecutionUpdateCompletedEventAttributes?
4368
-
4369
- attr_accessor workflow_properties_modified_externally_event_attributes(): ::Temporalio::Api::History::V1::WorkflowPropertiesModifiedExternallyEventAttributes?
4370
-
4371
- def workflow_properties_modified_externally_event_attributes=: [M < ::Temporalio::Api::History::V1::WorkflowPropertiesModifiedExternallyEventAttributes::_ToProto] (M?) -> M?
4372
- | ...
4373
-
4374
- def workflow_properties_modified_externally_event_attributes!: () -> ::Temporalio::Api::History::V1::WorkflowPropertiesModifiedExternallyEventAttributes?
4375
-
4376
- attr_accessor activity_properties_modified_externally_event_attributes(): ::Temporalio::Api::History::V1::ActivityPropertiesModifiedExternallyEventAttributes?
4377
-
4378
- def activity_properties_modified_externally_event_attributes=: [M < ::Temporalio::Api::History::V1::ActivityPropertiesModifiedExternallyEventAttributes::_ToProto] (M?) -> M?
4379
- | ...
4380
-
4381
- def activity_properties_modified_externally_event_attributes!: () -> ::Temporalio::Api::History::V1::ActivityPropertiesModifiedExternallyEventAttributes?
4382
-
4383
- attr_accessor workflow_properties_modified_event_attributes(): ::Temporalio::Api::History::V1::WorkflowPropertiesModifiedEventAttributes?
4384
-
4385
- def workflow_properties_modified_event_attributes=: [M < ::Temporalio::Api::History::V1::WorkflowPropertiesModifiedEventAttributes::_ToProto] (M?) -> M?
4386
- | ...
4387
-
4388
- def workflow_properties_modified_event_attributes!: () -> ::Temporalio::Api::History::V1::WorkflowPropertiesModifiedEventAttributes?
4389
-
4390
- def initialize: (?event_id: ::Integer, ?event_time: ::Google::Protobuf::Timestamp::init?, ?event_type: ::Temporalio::Api::Enums::V1::EventType::init, ?version: ::Integer, ?task_id: ::Integer, ?worker_may_ignore: bool, ?workflow_execution_started_event_attributes: ::Temporalio::Api::History::V1::WorkflowExecutionStartedEventAttributes::init?, ?workflow_execution_completed_event_attributes: ::Temporalio::Api::History::V1::WorkflowExecutionCompletedEventAttributes::init?, ?workflow_execution_failed_event_attributes: ::Temporalio::Api::History::V1::WorkflowExecutionFailedEventAttributes::init?, ?workflow_execution_timed_out_event_attributes: ::Temporalio::Api::History::V1::WorkflowExecutionTimedOutEventAttributes::init?, ?workflow_task_scheduled_event_attributes: ::Temporalio::Api::History::V1::WorkflowTaskScheduledEventAttributes::init?, ?workflow_task_started_event_attributes: ::Temporalio::Api::History::V1::WorkflowTaskStartedEventAttributes::init?, ?workflow_task_completed_event_attributes: ::Temporalio::Api::History::V1::WorkflowTaskCompletedEventAttributes::init?, ?workflow_task_timed_out_event_attributes: ::Temporalio::Api::History::V1::WorkflowTaskTimedOutEventAttributes::init?, ?workflow_task_failed_event_attributes: ::Temporalio::Api::History::V1::WorkflowTaskFailedEventAttributes::init?, ?activity_task_scheduled_event_attributes: ::Temporalio::Api::History::V1::ActivityTaskScheduledEventAttributes::init?, ?activity_task_started_event_attributes: ::Temporalio::Api::History::V1::ActivityTaskStartedEventAttributes::init?, ?activity_task_completed_event_attributes: ::Temporalio::Api::History::V1::ActivityTaskCompletedEventAttributes::init?, ?activity_task_failed_event_attributes: ::Temporalio::Api::History::V1::ActivityTaskFailedEventAttributes::init?, ?activity_task_timed_out_event_attributes: ::Temporalio::Api::History::V1::ActivityTaskTimedOutEventAttributes::init?, ?timer_started_event_attributes: ::Temporalio::Api::History::V1::TimerStartedEventAttributes::init?, ?timer_fired_event_attributes: ::Temporalio::Api::History::V1::TimerFiredEventAttributes::init?, ?activity_task_cancel_requested_event_attributes: ::Temporalio::Api::History::V1::ActivityTaskCancelRequestedEventAttributes::init?, ?activity_task_canceled_event_attributes: ::Temporalio::Api::History::V1::ActivityTaskCanceledEventAttributes::init?, ?timer_canceled_event_attributes: ::Temporalio::Api::History::V1::TimerCanceledEventAttributes::init?, ?marker_recorded_event_attributes: ::Temporalio::Api::History::V1::MarkerRecordedEventAttributes::init?, ?workflow_execution_signaled_event_attributes: ::Temporalio::Api::History::V1::WorkflowExecutionSignaledEventAttributes::init?, ?workflow_execution_terminated_event_attributes: ::Temporalio::Api::History::V1::WorkflowExecutionTerminatedEventAttributes::init?, ?workflow_execution_cancel_requested_event_attributes: ::Temporalio::Api::History::V1::WorkflowExecutionCancelRequestedEventAttributes::init?, ?workflow_execution_canceled_event_attributes: ::Temporalio::Api::History::V1::WorkflowExecutionCanceledEventAttributes::init?, ?request_cancel_external_workflow_execution_initiated_event_attributes: ::Temporalio::Api::History::V1::RequestCancelExternalWorkflowExecutionInitiatedEventAttributes::init?, ?request_cancel_external_workflow_execution_failed_event_attributes: ::Temporalio::Api::History::V1::RequestCancelExternalWorkflowExecutionFailedEventAttributes::init?, ?external_workflow_execution_cancel_requested_event_attributes: ::Temporalio::Api::History::V1::ExternalWorkflowExecutionCancelRequestedEventAttributes::init?, ?workflow_execution_continued_as_new_event_attributes: ::Temporalio::Api::History::V1::WorkflowExecutionContinuedAsNewEventAttributes::init?, ?start_child_workflow_execution_initiated_event_attributes: ::Temporalio::Api::History::V1::StartChildWorkflowExecutionInitiatedEventAttributes::init?, ?start_child_workflow_execution_failed_event_attributes: ::Temporalio::Api::History::V1::StartChildWorkflowExecutionFailedEventAttributes::init?, ?child_workflow_execution_started_event_attributes: ::Temporalio::Api::History::V1::ChildWorkflowExecutionStartedEventAttributes::init?, ?child_workflow_execution_completed_event_attributes: ::Temporalio::Api::History::V1::ChildWorkflowExecutionCompletedEventAttributes::init?, ?child_workflow_execution_failed_event_attributes: ::Temporalio::Api::History::V1::ChildWorkflowExecutionFailedEventAttributes::init?, ?child_workflow_execution_canceled_event_attributes: ::Temporalio::Api::History::V1::ChildWorkflowExecutionCanceledEventAttributes::init?, ?child_workflow_execution_timed_out_event_attributes: ::Temporalio::Api::History::V1::ChildWorkflowExecutionTimedOutEventAttributes::init?, ?child_workflow_execution_terminated_event_attributes: ::Temporalio::Api::History::V1::ChildWorkflowExecutionTerminatedEventAttributes::init?, ?signal_external_workflow_execution_initiated_event_attributes: ::Temporalio::Api::History::V1::SignalExternalWorkflowExecutionInitiatedEventAttributes::init?, ?signal_external_workflow_execution_failed_event_attributes: ::Temporalio::Api::History::V1::SignalExternalWorkflowExecutionFailedEventAttributes::init?, ?external_workflow_execution_signaled_event_attributes: ::Temporalio::Api::History::V1::ExternalWorkflowExecutionSignaledEventAttributes::init?, ?upsert_workflow_search_attributes_event_attributes: ::Temporalio::Api::History::V1::UpsertWorkflowSearchAttributesEventAttributes::init?, ?workflow_execution_update_accepted_event_attributes: ::Temporalio::Api::History::V1::WorkflowExecutionUpdateAcceptedEventAttributes::init?, ?workflow_execution_update_rejected_event_attributes: ::Temporalio::Api::History::V1::WorkflowExecutionUpdateRejectedEventAttributes::init?, ?workflow_execution_update_completed_event_attributes: ::Temporalio::Api::History::V1::WorkflowExecutionUpdateCompletedEventAttributes::init?, ?workflow_properties_modified_externally_event_attributes: ::Temporalio::Api::History::V1::WorkflowPropertiesModifiedExternallyEventAttributes::init?, ?activity_properties_modified_externally_event_attributes: ::Temporalio::Api::History::V1::ActivityPropertiesModifiedExternallyEventAttributes::init?, ?workflow_properties_modified_event_attributes: ::Temporalio::Api::History::V1::WorkflowPropertiesModifiedEventAttributes::init?) -> void
4391
-
4392
- def []: (:event_id) -> ::Integer
4393
- | (:event_time) -> ::Google::Protobuf::Timestamp?
4394
- | (:event_type) -> ::Temporalio::Api::Enums::V1::EventType
4395
- | (:version) -> ::Integer
4396
- | (:task_id) -> ::Integer
4397
- | (:worker_may_ignore) -> bool
4398
- | (:workflow_execution_started_event_attributes) -> ::Temporalio::Api::History::V1::WorkflowExecutionStartedEventAttributes?
4399
- | (:workflow_execution_completed_event_attributes) -> ::Temporalio::Api::History::V1::WorkflowExecutionCompletedEventAttributes?
4400
- | (:workflow_execution_failed_event_attributes) -> ::Temporalio::Api::History::V1::WorkflowExecutionFailedEventAttributes?
4401
- | (:workflow_execution_timed_out_event_attributes) -> ::Temporalio::Api::History::V1::WorkflowExecutionTimedOutEventAttributes?
4402
- | (:workflow_task_scheduled_event_attributes) -> ::Temporalio::Api::History::V1::WorkflowTaskScheduledEventAttributes?
4403
- | (:workflow_task_started_event_attributes) -> ::Temporalio::Api::History::V1::WorkflowTaskStartedEventAttributes?
4404
- | (:workflow_task_completed_event_attributes) -> ::Temporalio::Api::History::V1::WorkflowTaskCompletedEventAttributes?
4405
- | (:workflow_task_timed_out_event_attributes) -> ::Temporalio::Api::History::V1::WorkflowTaskTimedOutEventAttributes?
4406
- | (:workflow_task_failed_event_attributes) -> ::Temporalio::Api::History::V1::WorkflowTaskFailedEventAttributes?
4407
- | (:activity_task_scheduled_event_attributes) -> ::Temporalio::Api::History::V1::ActivityTaskScheduledEventAttributes?
4408
- | (:activity_task_started_event_attributes) -> ::Temporalio::Api::History::V1::ActivityTaskStartedEventAttributes?
4409
- | (:activity_task_completed_event_attributes) -> ::Temporalio::Api::History::V1::ActivityTaskCompletedEventAttributes?
4410
- | (:activity_task_failed_event_attributes) -> ::Temporalio::Api::History::V1::ActivityTaskFailedEventAttributes?
4411
- | (:activity_task_timed_out_event_attributes) -> ::Temporalio::Api::History::V1::ActivityTaskTimedOutEventAttributes?
4412
- | (:timer_started_event_attributes) -> ::Temporalio::Api::History::V1::TimerStartedEventAttributes?
4413
- | (:timer_fired_event_attributes) -> ::Temporalio::Api::History::V1::TimerFiredEventAttributes?
4414
- | (:activity_task_cancel_requested_event_attributes) -> ::Temporalio::Api::History::V1::ActivityTaskCancelRequestedEventAttributes?
4415
- | (:activity_task_canceled_event_attributes) -> ::Temporalio::Api::History::V1::ActivityTaskCanceledEventAttributes?
4416
- | (:timer_canceled_event_attributes) -> ::Temporalio::Api::History::V1::TimerCanceledEventAttributes?
4417
- | (:marker_recorded_event_attributes) -> ::Temporalio::Api::History::V1::MarkerRecordedEventAttributes?
4418
- | (:workflow_execution_signaled_event_attributes) -> ::Temporalio::Api::History::V1::WorkflowExecutionSignaledEventAttributes?
4419
- | (:workflow_execution_terminated_event_attributes) -> ::Temporalio::Api::History::V1::WorkflowExecutionTerminatedEventAttributes?
4420
- | (:workflow_execution_cancel_requested_event_attributes) -> ::Temporalio::Api::History::V1::WorkflowExecutionCancelRequestedEventAttributes?
4421
- | (:workflow_execution_canceled_event_attributes) -> ::Temporalio::Api::History::V1::WorkflowExecutionCanceledEventAttributes?
4422
- | (:request_cancel_external_workflow_execution_initiated_event_attributes) -> ::Temporalio::Api::History::V1::RequestCancelExternalWorkflowExecutionInitiatedEventAttributes?
4423
- | (:request_cancel_external_workflow_execution_failed_event_attributes) -> ::Temporalio::Api::History::V1::RequestCancelExternalWorkflowExecutionFailedEventAttributes?
4424
- | (:external_workflow_execution_cancel_requested_event_attributes) -> ::Temporalio::Api::History::V1::ExternalWorkflowExecutionCancelRequestedEventAttributes?
4425
- | (:workflow_execution_continued_as_new_event_attributes) -> ::Temporalio::Api::History::V1::WorkflowExecutionContinuedAsNewEventAttributes?
4426
- | (:start_child_workflow_execution_initiated_event_attributes) -> ::Temporalio::Api::History::V1::StartChildWorkflowExecutionInitiatedEventAttributes?
4427
- | (:start_child_workflow_execution_failed_event_attributes) -> ::Temporalio::Api::History::V1::StartChildWorkflowExecutionFailedEventAttributes?
4428
- | (:child_workflow_execution_started_event_attributes) -> ::Temporalio::Api::History::V1::ChildWorkflowExecutionStartedEventAttributes?
4429
- | (:child_workflow_execution_completed_event_attributes) -> ::Temporalio::Api::History::V1::ChildWorkflowExecutionCompletedEventAttributes?
4430
- | (:child_workflow_execution_failed_event_attributes) -> ::Temporalio::Api::History::V1::ChildWorkflowExecutionFailedEventAttributes?
4431
- | (:child_workflow_execution_canceled_event_attributes) -> ::Temporalio::Api::History::V1::ChildWorkflowExecutionCanceledEventAttributes?
4432
- | (:child_workflow_execution_timed_out_event_attributes) -> ::Temporalio::Api::History::V1::ChildWorkflowExecutionTimedOutEventAttributes?
4433
- | (:child_workflow_execution_terminated_event_attributes) -> ::Temporalio::Api::History::V1::ChildWorkflowExecutionTerminatedEventAttributes?
4434
- | (:signal_external_workflow_execution_initiated_event_attributes) -> ::Temporalio::Api::History::V1::SignalExternalWorkflowExecutionInitiatedEventAttributes?
4435
- | (:signal_external_workflow_execution_failed_event_attributes) -> ::Temporalio::Api::History::V1::SignalExternalWorkflowExecutionFailedEventAttributes?
4436
- | (:external_workflow_execution_signaled_event_attributes) -> ::Temporalio::Api::History::V1::ExternalWorkflowExecutionSignaledEventAttributes?
4437
- | (:upsert_workflow_search_attributes_event_attributes) -> ::Temporalio::Api::History::V1::UpsertWorkflowSearchAttributesEventAttributes?
4438
- | (:workflow_execution_update_accepted_event_attributes) -> ::Temporalio::Api::History::V1::WorkflowExecutionUpdateAcceptedEventAttributes?
4439
- | (:workflow_execution_update_rejected_event_attributes) -> ::Temporalio::Api::History::V1::WorkflowExecutionUpdateRejectedEventAttributes?
4440
- | (:workflow_execution_update_completed_event_attributes) -> ::Temporalio::Api::History::V1::WorkflowExecutionUpdateCompletedEventAttributes?
4441
- | (:workflow_properties_modified_externally_event_attributes) -> ::Temporalio::Api::History::V1::WorkflowPropertiesModifiedExternallyEventAttributes?
4442
- | (:activity_properties_modified_externally_event_attributes) -> ::Temporalio::Api::History::V1::ActivityPropertiesModifiedExternallyEventAttributes?
4443
- | (:workflow_properties_modified_event_attributes) -> ::Temporalio::Api::History::V1::WorkflowPropertiesModifiedEventAttributes?
4444
- | (::Symbol) -> untyped
4445
-
4446
- def []=: (:event_id, ::Integer) -> ::Integer
4447
- | (:event_time, ::Google::Protobuf::Timestamp?) -> ::Google::Protobuf::Timestamp?
4448
- | [M < ::Google::Protobuf::Timestamp::_ToProto] (:event_time, M?) -> M?
4449
- | (:event_type, ::Temporalio::Api::Enums::V1::EventType) -> ::Temporalio::Api::Enums::V1::EventType
4450
- | (:event_type, ::Temporalio::Api::Enums::V1::EventType::values) -> ::Temporalio::Api::Enums::V1::EventType::values
4451
- | (:version, ::Integer) -> ::Integer
4452
- | (:task_id, ::Integer) -> ::Integer
4453
- | (:worker_may_ignore, bool) -> bool
4454
- | (:workflow_execution_started_event_attributes, ::Temporalio::Api::History::V1::WorkflowExecutionStartedEventAttributes?) -> ::Temporalio::Api::History::V1::WorkflowExecutionStartedEventAttributes?
4455
- | [M < ::Temporalio::Api::History::V1::WorkflowExecutionStartedEventAttributes::_ToProto] (:workflow_execution_started_event_attributes, M?) -> M?
4456
- | (:workflow_execution_completed_event_attributes, ::Temporalio::Api::History::V1::WorkflowExecutionCompletedEventAttributes?) -> ::Temporalio::Api::History::V1::WorkflowExecutionCompletedEventAttributes?
4457
- | [M < ::Temporalio::Api::History::V1::WorkflowExecutionCompletedEventAttributes::_ToProto] (:workflow_execution_completed_event_attributes, M?) -> M?
4458
- | (:workflow_execution_failed_event_attributes, ::Temporalio::Api::History::V1::WorkflowExecutionFailedEventAttributes?) -> ::Temporalio::Api::History::V1::WorkflowExecutionFailedEventAttributes?
4459
- | [M < ::Temporalio::Api::History::V1::WorkflowExecutionFailedEventAttributes::_ToProto] (:workflow_execution_failed_event_attributes, M?) -> M?
4460
- | (:workflow_execution_timed_out_event_attributes, ::Temporalio::Api::History::V1::WorkflowExecutionTimedOutEventAttributes?) -> ::Temporalio::Api::History::V1::WorkflowExecutionTimedOutEventAttributes?
4461
- | [M < ::Temporalio::Api::History::V1::WorkflowExecutionTimedOutEventAttributes::_ToProto] (:workflow_execution_timed_out_event_attributes, M?) -> M?
4462
- | (:workflow_task_scheduled_event_attributes, ::Temporalio::Api::History::V1::WorkflowTaskScheduledEventAttributes?) -> ::Temporalio::Api::History::V1::WorkflowTaskScheduledEventAttributes?
4463
- | [M < ::Temporalio::Api::History::V1::WorkflowTaskScheduledEventAttributes::_ToProto] (:workflow_task_scheduled_event_attributes, M?) -> M?
4464
- | (:workflow_task_started_event_attributes, ::Temporalio::Api::History::V1::WorkflowTaskStartedEventAttributes?) -> ::Temporalio::Api::History::V1::WorkflowTaskStartedEventAttributes?
4465
- | [M < ::Temporalio::Api::History::V1::WorkflowTaskStartedEventAttributes::_ToProto] (:workflow_task_started_event_attributes, M?) -> M?
4466
- | (:workflow_task_completed_event_attributes, ::Temporalio::Api::History::V1::WorkflowTaskCompletedEventAttributes?) -> ::Temporalio::Api::History::V1::WorkflowTaskCompletedEventAttributes?
4467
- | [M < ::Temporalio::Api::History::V1::WorkflowTaskCompletedEventAttributes::_ToProto] (:workflow_task_completed_event_attributes, M?) -> M?
4468
- | (:workflow_task_timed_out_event_attributes, ::Temporalio::Api::History::V1::WorkflowTaskTimedOutEventAttributes?) -> ::Temporalio::Api::History::V1::WorkflowTaskTimedOutEventAttributes?
4469
- | [M < ::Temporalio::Api::History::V1::WorkflowTaskTimedOutEventAttributes::_ToProto] (:workflow_task_timed_out_event_attributes, M?) -> M?
4470
- | (:workflow_task_failed_event_attributes, ::Temporalio::Api::History::V1::WorkflowTaskFailedEventAttributes?) -> ::Temporalio::Api::History::V1::WorkflowTaskFailedEventAttributes?
4471
- | [M < ::Temporalio::Api::History::V1::WorkflowTaskFailedEventAttributes::_ToProto] (:workflow_task_failed_event_attributes, M?) -> M?
4472
- | (:activity_task_scheduled_event_attributes, ::Temporalio::Api::History::V1::ActivityTaskScheduledEventAttributes?) -> ::Temporalio::Api::History::V1::ActivityTaskScheduledEventAttributes?
4473
- | [M < ::Temporalio::Api::History::V1::ActivityTaskScheduledEventAttributes::_ToProto] (:activity_task_scheduled_event_attributes, M?) -> M?
4474
- | (:activity_task_started_event_attributes, ::Temporalio::Api::History::V1::ActivityTaskStartedEventAttributes?) -> ::Temporalio::Api::History::V1::ActivityTaskStartedEventAttributes?
4475
- | [M < ::Temporalio::Api::History::V1::ActivityTaskStartedEventAttributes::_ToProto] (:activity_task_started_event_attributes, M?) -> M?
4476
- | (:activity_task_completed_event_attributes, ::Temporalio::Api::History::V1::ActivityTaskCompletedEventAttributes?) -> ::Temporalio::Api::History::V1::ActivityTaskCompletedEventAttributes?
4477
- | [M < ::Temporalio::Api::History::V1::ActivityTaskCompletedEventAttributes::_ToProto] (:activity_task_completed_event_attributes, M?) -> M?
4478
- | (:activity_task_failed_event_attributes, ::Temporalio::Api::History::V1::ActivityTaskFailedEventAttributes?) -> ::Temporalio::Api::History::V1::ActivityTaskFailedEventAttributes?
4479
- | [M < ::Temporalio::Api::History::V1::ActivityTaskFailedEventAttributes::_ToProto] (:activity_task_failed_event_attributes, M?) -> M?
4480
- | (:activity_task_timed_out_event_attributes, ::Temporalio::Api::History::V1::ActivityTaskTimedOutEventAttributes?) -> ::Temporalio::Api::History::V1::ActivityTaskTimedOutEventAttributes?
4481
- | [M < ::Temporalio::Api::History::V1::ActivityTaskTimedOutEventAttributes::_ToProto] (:activity_task_timed_out_event_attributes, M?) -> M?
4482
- | (:timer_started_event_attributes, ::Temporalio::Api::History::V1::TimerStartedEventAttributes?) -> ::Temporalio::Api::History::V1::TimerStartedEventAttributes?
4483
- | [M < ::Temporalio::Api::History::V1::TimerStartedEventAttributes::_ToProto] (:timer_started_event_attributes, M?) -> M?
4484
- | (:timer_fired_event_attributes, ::Temporalio::Api::History::V1::TimerFiredEventAttributes?) -> ::Temporalio::Api::History::V1::TimerFiredEventAttributes?
4485
- | [M < ::Temporalio::Api::History::V1::TimerFiredEventAttributes::_ToProto] (:timer_fired_event_attributes, M?) -> M?
4486
- | (:activity_task_cancel_requested_event_attributes, ::Temporalio::Api::History::V1::ActivityTaskCancelRequestedEventAttributes?) -> ::Temporalio::Api::History::V1::ActivityTaskCancelRequestedEventAttributes?
4487
- | [M < ::Temporalio::Api::History::V1::ActivityTaskCancelRequestedEventAttributes::_ToProto] (:activity_task_cancel_requested_event_attributes, M?) -> M?
4488
- | (:activity_task_canceled_event_attributes, ::Temporalio::Api::History::V1::ActivityTaskCanceledEventAttributes?) -> ::Temporalio::Api::History::V1::ActivityTaskCanceledEventAttributes?
4489
- | [M < ::Temporalio::Api::History::V1::ActivityTaskCanceledEventAttributes::_ToProto] (:activity_task_canceled_event_attributes, M?) -> M?
4490
- | (:timer_canceled_event_attributes, ::Temporalio::Api::History::V1::TimerCanceledEventAttributes?) -> ::Temporalio::Api::History::V1::TimerCanceledEventAttributes?
4491
- | [M < ::Temporalio::Api::History::V1::TimerCanceledEventAttributes::_ToProto] (:timer_canceled_event_attributes, M?) -> M?
4492
- | (:marker_recorded_event_attributes, ::Temporalio::Api::History::V1::MarkerRecordedEventAttributes?) -> ::Temporalio::Api::History::V1::MarkerRecordedEventAttributes?
4493
- | [M < ::Temporalio::Api::History::V1::MarkerRecordedEventAttributes::_ToProto] (:marker_recorded_event_attributes, M?) -> M?
4494
- | (:workflow_execution_signaled_event_attributes, ::Temporalio::Api::History::V1::WorkflowExecutionSignaledEventAttributes?) -> ::Temporalio::Api::History::V1::WorkflowExecutionSignaledEventAttributes?
4495
- | [M < ::Temporalio::Api::History::V1::WorkflowExecutionSignaledEventAttributes::_ToProto] (:workflow_execution_signaled_event_attributes, M?) -> M?
4496
- | (:workflow_execution_terminated_event_attributes, ::Temporalio::Api::History::V1::WorkflowExecutionTerminatedEventAttributes?) -> ::Temporalio::Api::History::V1::WorkflowExecutionTerminatedEventAttributes?
4497
- | [M < ::Temporalio::Api::History::V1::WorkflowExecutionTerminatedEventAttributes::_ToProto] (:workflow_execution_terminated_event_attributes, M?) -> M?
4498
- | (:workflow_execution_cancel_requested_event_attributes, ::Temporalio::Api::History::V1::WorkflowExecutionCancelRequestedEventAttributes?) -> ::Temporalio::Api::History::V1::WorkflowExecutionCancelRequestedEventAttributes?
4499
- | [M < ::Temporalio::Api::History::V1::WorkflowExecutionCancelRequestedEventAttributes::_ToProto] (:workflow_execution_cancel_requested_event_attributes, M?) -> M?
4500
- | (:workflow_execution_canceled_event_attributes, ::Temporalio::Api::History::V1::WorkflowExecutionCanceledEventAttributes?) -> ::Temporalio::Api::History::V1::WorkflowExecutionCanceledEventAttributes?
4501
- | [M < ::Temporalio::Api::History::V1::WorkflowExecutionCanceledEventAttributes::_ToProto] (:workflow_execution_canceled_event_attributes, M?) -> M?
4502
- | (:request_cancel_external_workflow_execution_initiated_event_attributes, ::Temporalio::Api::History::V1::RequestCancelExternalWorkflowExecutionInitiatedEventAttributes?) -> ::Temporalio::Api::History::V1::RequestCancelExternalWorkflowExecutionInitiatedEventAttributes?
4503
- | [M < ::Temporalio::Api::History::V1::RequestCancelExternalWorkflowExecutionInitiatedEventAttributes::_ToProto] (:request_cancel_external_workflow_execution_initiated_event_attributes, M?) -> M?
4504
- | (:request_cancel_external_workflow_execution_failed_event_attributes, ::Temporalio::Api::History::V1::RequestCancelExternalWorkflowExecutionFailedEventAttributes?) -> ::Temporalio::Api::History::V1::RequestCancelExternalWorkflowExecutionFailedEventAttributes?
4505
- | [M < ::Temporalio::Api::History::V1::RequestCancelExternalWorkflowExecutionFailedEventAttributes::_ToProto] (:request_cancel_external_workflow_execution_failed_event_attributes, M?) -> M?
4506
- | (:external_workflow_execution_cancel_requested_event_attributes, ::Temporalio::Api::History::V1::ExternalWorkflowExecutionCancelRequestedEventAttributes?) -> ::Temporalio::Api::History::V1::ExternalWorkflowExecutionCancelRequestedEventAttributes?
4507
- | [M < ::Temporalio::Api::History::V1::ExternalWorkflowExecutionCancelRequestedEventAttributes::_ToProto] (:external_workflow_execution_cancel_requested_event_attributes, M?) -> M?
4508
- | (:workflow_execution_continued_as_new_event_attributes, ::Temporalio::Api::History::V1::WorkflowExecutionContinuedAsNewEventAttributes?) -> ::Temporalio::Api::History::V1::WorkflowExecutionContinuedAsNewEventAttributes?
4509
- | [M < ::Temporalio::Api::History::V1::WorkflowExecutionContinuedAsNewEventAttributes::_ToProto] (:workflow_execution_continued_as_new_event_attributes, M?) -> M?
4510
- | (:start_child_workflow_execution_initiated_event_attributes, ::Temporalio::Api::History::V1::StartChildWorkflowExecutionInitiatedEventAttributes?) -> ::Temporalio::Api::History::V1::StartChildWorkflowExecutionInitiatedEventAttributes?
4511
- | [M < ::Temporalio::Api::History::V1::StartChildWorkflowExecutionInitiatedEventAttributes::_ToProto] (:start_child_workflow_execution_initiated_event_attributes, M?) -> M?
4512
- | (:start_child_workflow_execution_failed_event_attributes, ::Temporalio::Api::History::V1::StartChildWorkflowExecutionFailedEventAttributes?) -> ::Temporalio::Api::History::V1::StartChildWorkflowExecutionFailedEventAttributes?
4513
- | [M < ::Temporalio::Api::History::V1::StartChildWorkflowExecutionFailedEventAttributes::_ToProto] (:start_child_workflow_execution_failed_event_attributes, M?) -> M?
4514
- | (:child_workflow_execution_started_event_attributes, ::Temporalio::Api::History::V1::ChildWorkflowExecutionStartedEventAttributes?) -> ::Temporalio::Api::History::V1::ChildWorkflowExecutionStartedEventAttributes?
4515
- | [M < ::Temporalio::Api::History::V1::ChildWorkflowExecutionStartedEventAttributes::_ToProto] (:child_workflow_execution_started_event_attributes, M?) -> M?
4516
- | (:child_workflow_execution_completed_event_attributes, ::Temporalio::Api::History::V1::ChildWorkflowExecutionCompletedEventAttributes?) -> ::Temporalio::Api::History::V1::ChildWorkflowExecutionCompletedEventAttributes?
4517
- | [M < ::Temporalio::Api::History::V1::ChildWorkflowExecutionCompletedEventAttributes::_ToProto] (:child_workflow_execution_completed_event_attributes, M?) -> M?
4518
- | (:child_workflow_execution_failed_event_attributes, ::Temporalio::Api::History::V1::ChildWorkflowExecutionFailedEventAttributes?) -> ::Temporalio::Api::History::V1::ChildWorkflowExecutionFailedEventAttributes?
4519
- | [M < ::Temporalio::Api::History::V1::ChildWorkflowExecutionFailedEventAttributes::_ToProto] (:child_workflow_execution_failed_event_attributes, M?) -> M?
4520
- | (:child_workflow_execution_canceled_event_attributes, ::Temporalio::Api::History::V1::ChildWorkflowExecutionCanceledEventAttributes?) -> ::Temporalio::Api::History::V1::ChildWorkflowExecutionCanceledEventAttributes?
4521
- | [M < ::Temporalio::Api::History::V1::ChildWorkflowExecutionCanceledEventAttributes::_ToProto] (:child_workflow_execution_canceled_event_attributes, M?) -> M?
4522
- | (:child_workflow_execution_timed_out_event_attributes, ::Temporalio::Api::History::V1::ChildWorkflowExecutionTimedOutEventAttributes?) -> ::Temporalio::Api::History::V1::ChildWorkflowExecutionTimedOutEventAttributes?
4523
- | [M < ::Temporalio::Api::History::V1::ChildWorkflowExecutionTimedOutEventAttributes::_ToProto] (:child_workflow_execution_timed_out_event_attributes, M?) -> M?
4524
- | (:child_workflow_execution_terminated_event_attributes, ::Temporalio::Api::History::V1::ChildWorkflowExecutionTerminatedEventAttributes?) -> ::Temporalio::Api::History::V1::ChildWorkflowExecutionTerminatedEventAttributes?
4525
- | [M < ::Temporalio::Api::History::V1::ChildWorkflowExecutionTerminatedEventAttributes::_ToProto] (:child_workflow_execution_terminated_event_attributes, M?) -> M?
4526
- | (:signal_external_workflow_execution_initiated_event_attributes, ::Temporalio::Api::History::V1::SignalExternalWorkflowExecutionInitiatedEventAttributes?) -> ::Temporalio::Api::History::V1::SignalExternalWorkflowExecutionInitiatedEventAttributes?
4527
- | [M < ::Temporalio::Api::History::V1::SignalExternalWorkflowExecutionInitiatedEventAttributes::_ToProto] (:signal_external_workflow_execution_initiated_event_attributes, M?) -> M?
4528
- | (:signal_external_workflow_execution_failed_event_attributes, ::Temporalio::Api::History::V1::SignalExternalWorkflowExecutionFailedEventAttributes?) -> ::Temporalio::Api::History::V1::SignalExternalWorkflowExecutionFailedEventAttributes?
4529
- | [M < ::Temporalio::Api::History::V1::SignalExternalWorkflowExecutionFailedEventAttributes::_ToProto] (:signal_external_workflow_execution_failed_event_attributes, M?) -> M?
4530
- | (:external_workflow_execution_signaled_event_attributes, ::Temporalio::Api::History::V1::ExternalWorkflowExecutionSignaledEventAttributes?) -> ::Temporalio::Api::History::V1::ExternalWorkflowExecutionSignaledEventAttributes?
4531
- | [M < ::Temporalio::Api::History::V1::ExternalWorkflowExecutionSignaledEventAttributes::_ToProto] (:external_workflow_execution_signaled_event_attributes, M?) -> M?
4532
- | (:upsert_workflow_search_attributes_event_attributes, ::Temporalio::Api::History::V1::UpsertWorkflowSearchAttributesEventAttributes?) -> ::Temporalio::Api::History::V1::UpsertWorkflowSearchAttributesEventAttributes?
4533
- | [M < ::Temporalio::Api::History::V1::UpsertWorkflowSearchAttributesEventAttributes::_ToProto] (:upsert_workflow_search_attributes_event_attributes, M?) -> M?
4534
- | (:workflow_execution_update_accepted_event_attributes, ::Temporalio::Api::History::V1::WorkflowExecutionUpdateAcceptedEventAttributes?) -> ::Temporalio::Api::History::V1::WorkflowExecutionUpdateAcceptedEventAttributes?
4535
- | [M < ::Temporalio::Api::History::V1::WorkflowExecutionUpdateAcceptedEventAttributes::_ToProto] (:workflow_execution_update_accepted_event_attributes, M?) -> M?
4536
- | (:workflow_execution_update_rejected_event_attributes, ::Temporalio::Api::History::V1::WorkflowExecutionUpdateRejectedEventAttributes?) -> ::Temporalio::Api::History::V1::WorkflowExecutionUpdateRejectedEventAttributes?
4537
- | [M < ::Temporalio::Api::History::V1::WorkflowExecutionUpdateRejectedEventAttributes::_ToProto] (:workflow_execution_update_rejected_event_attributes, M?) -> M?
4538
- | (:workflow_execution_update_completed_event_attributes, ::Temporalio::Api::History::V1::WorkflowExecutionUpdateCompletedEventAttributes?) -> ::Temporalio::Api::History::V1::WorkflowExecutionUpdateCompletedEventAttributes?
4539
- | [M < ::Temporalio::Api::History::V1::WorkflowExecutionUpdateCompletedEventAttributes::_ToProto] (:workflow_execution_update_completed_event_attributes, M?) -> M?
4540
- | (:workflow_properties_modified_externally_event_attributes, ::Temporalio::Api::History::V1::WorkflowPropertiesModifiedExternallyEventAttributes?) -> ::Temporalio::Api::History::V1::WorkflowPropertiesModifiedExternallyEventAttributes?
4541
- | [M < ::Temporalio::Api::History::V1::WorkflowPropertiesModifiedExternallyEventAttributes::_ToProto] (:workflow_properties_modified_externally_event_attributes, M?) -> M?
4542
- | (:activity_properties_modified_externally_event_attributes, ::Temporalio::Api::History::V1::ActivityPropertiesModifiedExternallyEventAttributes?) -> ::Temporalio::Api::History::V1::ActivityPropertiesModifiedExternallyEventAttributes?
4543
- | [M < ::Temporalio::Api::History::V1::ActivityPropertiesModifiedExternallyEventAttributes::_ToProto] (:activity_properties_modified_externally_event_attributes, M?) -> M?
4544
- | (:workflow_properties_modified_event_attributes, ::Temporalio::Api::History::V1::WorkflowPropertiesModifiedEventAttributes?) -> ::Temporalio::Api::History::V1::WorkflowPropertiesModifiedEventAttributes?
4545
- | [M < ::Temporalio::Api::History::V1::WorkflowPropertiesModifiedEventAttributes::_ToProto] (:workflow_properties_modified_event_attributes, M?) -> M?
4546
- | (::Symbol, untyped) -> untyped
4547
-
4548
- def worker_may_ignore?: () -> bool
4549
-
4550
- interface _ToProto
4551
- def to_proto: () -> HistoryEvent
4552
- end
4553
-
4554
- # The type of `#initialize` parameter.
4555
- type init = HistoryEvent | _ToProto
4556
-
4557
- # The type of `repeated` field.
4558
- type field_array = ::Protobuf::Field::FieldArray[HistoryEvent, HistoryEvent | _ToProto]
4559
-
4560
- # The type of `map` field.
4561
- type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, HistoryEvent, HistoryEvent | _ToProto]
4562
-
4563
- type array = ::Array[HistoryEvent | _ToProto]
4564
-
4565
- type hash[KEY] = ::Hash[KEY, HistoryEvent | _ToProto]
4566
- end
4567
-
4568
- class History < ::Protobuf::Message
4569
- # Encode the message to a binary string
4570
- #
4571
- def self.encode: (History) -> String
4572
-
4573
- attr_accessor events(): ::Temporalio::Api::History::V1::HistoryEvent::field_array
4574
-
4575
- def events=: (::Temporalio::Api::History::V1::HistoryEvent::array) -> ::Temporalio::Api::History::V1::HistoryEvent::array
4576
- | ...
4577
-
4578
- def events!: () -> ::Temporalio::Api::History::V1::HistoryEvent::field_array?
4579
-
4580
- def initialize: (?events: ::Temporalio::Api::History::V1::HistoryEvent::array) -> void
4581
-
4582
- def []: (:events) -> ::Temporalio::Api::History::V1::HistoryEvent::field_array
4583
- | (::Symbol) -> untyped
4584
-
4585
- def []=: (:events, ::Temporalio::Api::History::V1::HistoryEvent::field_array) -> ::Temporalio::Api::History::V1::HistoryEvent::field_array
4586
- | (:events, ::Temporalio::Api::History::V1::HistoryEvent::array) -> ::Temporalio::Api::History::V1::HistoryEvent::array
4587
- | (::Symbol, untyped) -> untyped
4588
-
4589
- interface _ToProto
4590
- def to_proto: () -> History
4591
- end
4592
-
4593
- # The type of `#initialize` parameter.
4594
- type init = History | _ToProto
4595
-
4596
- # The type of `repeated` field.
4597
- type field_array = ::Protobuf::Field::FieldArray[History, History | _ToProto]
4598
-
4599
- # The type of `map` field.
4600
- type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, History, History | _ToProto]
4601
-
4602
- type array = ::Array[History | _ToProto]
4603
-
4604
- type hash[KEY] = ::Hash[KEY, History | _ToProto]
4605
- end
4606
- end
4607
- end
4608
- end
4609
- end