temporalio 1.5.0 → 1.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (516) hide show
  1. checksums.yaml +4 -4
  2. data/Cargo.lock +1469 -659
  3. data/Cargo.toml +1 -1
  4. data/Gemfile +9 -5
  5. data/README.md +59 -3
  6. data/Rakefile +1 -1
  7. data/ext/Cargo.toml +9 -3
  8. data/lib/temporalio/api/activity/v1/message.rb +1 -1
  9. data/lib/temporalio/api/batch/v1/message.rb +4 -1
  10. data/lib/temporalio/api/cloud/billing/v1/message.rb +2 -1
  11. data/lib/temporalio/api/cloud/cloudservice/v1/request_response.rb +17 -1
  12. data/lib/temporalio/api/cloud/cloudservice/v1/service.rb +1 -1
  13. data/lib/temporalio/api/cloud/connectivityrule/v1/message.rb +1 -1
  14. data/lib/temporalio/api/cloud/identity/v1/message.rb +8 -1
  15. data/lib/temporalio/api/cloud/namespace/v1/message.rb +5 -1
  16. data/lib/temporalio/api/command/v1/message.rb +3 -1
  17. data/lib/temporalio/api/common/v1/message.rb +9 -1
  18. data/lib/temporalio/api/deployment/v1/message.rb +3 -1
  19. data/lib/temporalio/api/enums/v1/activity.rb +1 -1
  20. data/lib/temporalio/api/enums/v1/batch_operation.rb +1 -1
  21. data/lib/temporalio/api/enums/v1/common.rb +2 -1
  22. data/lib/temporalio/api/enums/v1/failed_cause.rb +1 -1
  23. data/lib/temporalio/api/enums/v1/time_skipping.rb +21 -0
  24. data/lib/temporalio/api/errordetails/v1/message.rb +2 -1
  25. data/lib/temporalio/api/history/v1/message.rb +3 -1
  26. data/lib/temporalio/api/namespace/v1/message.rb +1 -1
  27. data/lib/temporalio/api/nexus/v1/message.rb +1 -1
  28. data/lib/temporalio/api/nexusannotations/v1/options.rb +20 -0
  29. data/lib/temporalio/api/payload_visitor.rb +32 -0
  30. data/lib/temporalio/api/schedule/v1/message.rb +1 -1
  31. data/lib/temporalio/api/sdk/v1/event_group_marker.rb +26 -0
  32. data/lib/temporalio/api/taskqueue/v1/message.rb +2 -1
  33. data/lib/temporalio/api/update/v1/message.rb +1 -1
  34. data/lib/temporalio/api/worker/v1/message.rb +13 -1
  35. data/lib/temporalio/api/workflow/v1/message.rb +3 -2
  36. data/lib/temporalio/api/workflowservice/v1/request_response.rb +14 -1
  37. data/lib/temporalio/api/workflowservice/v1/service.rb +3 -2
  38. data/lib/temporalio/client/connection/cloud_service.rb +120 -0
  39. data/lib/temporalio/client/connection/workflow_service.rb +90 -0
  40. data/lib/temporalio/client/connection.rb +68 -3
  41. data/lib/temporalio/client/schedule.rb +4 -5
  42. data/lib/temporalio/client/workflow_execution.rb +2 -2
  43. data/lib/temporalio/client/workflow_handle.rb +2 -1
  44. data/lib/temporalio/client.rb +14 -11
  45. data/lib/temporalio/converters/data_converter.rb +1 -0
  46. data/lib/temporalio/converters/failure_converter.rb +7 -4
  47. data/lib/temporalio/internal/bridge/api/common/common.rb +2 -1
  48. data/lib/temporalio/internal/bridge/api/workflow_commands/workflow_commands.rb +1 -1
  49. data/lib/temporalio/internal/bridge/api/workflow_completion/workflow_completion.rb +1 -1
  50. data/lib/temporalio/internal/bridge/client.rb +8 -1
  51. data/lib/temporalio/internal/bridge/runtime.rb +4 -1
  52. data/lib/temporalio/internal/bridge/worker.rb +3 -1
  53. data/lib/temporalio/internal/bridge.rb +20 -0
  54. data/lib/temporalio/internal/google_protobuf.rb +11 -0
  55. data/lib/temporalio/internal/worker/workflow_instance/context.rb +2 -0
  56. data/lib/temporalio/internal/worker/workflow_instance/details.rb +3 -1
  57. data/lib/temporalio/internal/worker/workflow_instance/illegal_call_tracer.rb +9 -0
  58. data/lib/temporalio/internal/worker/workflow_instance/scheduler.rb +73 -2
  59. data/lib/temporalio/internal/worker/workflow_instance.rb +36 -6
  60. data/lib/temporalio/internal/worker/workflow_worker.rb +10 -2
  61. data/lib/temporalio/internal/workflow_task_failure_error.rb +9 -0
  62. data/lib/temporalio/runtime.rb +25 -7
  63. data/lib/temporalio/scoped_logger.rb +15 -0
  64. data/lib/temporalio/version.rb +1 -1
  65. data/lib/temporalio/worker/activity_executor/fiber.rb +1 -1
  66. data/lib/temporalio/worker/activity_executor/thread_pool.rb +1 -1
  67. data/lib/temporalio/worker/illegal_workflow_call_validator.rb +3 -1
  68. data/lib/temporalio/worker/workflow_executor/thread_pool.rb +5 -1
  69. data/lib/temporalio/worker/workflow_replayer.rb +19 -4
  70. data/lib/temporalio/worker.rb +54 -9
  71. data/lib/temporalio/workflow/future.rb +5 -0
  72. data/lib/temporalio/workflow/nexus_operation_cancellation_type.rb +4 -2
  73. data/lib/temporalio/workflow.rb +16 -9
  74. data/rbi/google/protobuf.rbi +25 -0
  75. data/rbi/temporalio/activity/cancellation_details.rbi +33 -0
  76. data/rbi/temporalio/activity/complete_async_error.rbi +3 -0
  77. data/rbi/temporalio/activity/context.rbi +42 -0
  78. data/rbi/temporalio/activity/definition.rbi +74 -0
  79. data/rbi/temporalio/activity/info.rbi +112 -0
  80. data/rbi/temporalio/activity.rbi +3 -0
  81. data/rbi/temporalio/api/activity/v1/message.rbi +1539 -0
  82. data/rbi/temporalio/api/batch/v1/message.rbi +1510 -0
  83. data/rbi/temporalio/api/callback/v1/message.rbi +188 -0
  84. data/rbi/temporalio/api/cloud/account/v1/message.rbi +650 -0
  85. data/rbi/temporalio/api/cloud/auditlog/v1/message.rbi +318 -0
  86. data/rbi/temporalio/api/cloud/billing/v1/message.rbi +480 -0
  87. data/rbi/temporalio/api/cloud/cloudservice/v1/request_response.rbi +12454 -0
  88. data/rbi/temporalio/api/cloud/cloudservice/v1/service.rbi +3 -0
  89. data/rbi/temporalio/api/cloud/cloudservice/v1/service_services.rbi +709 -0
  90. data/rbi/temporalio/api/cloud/cloudservice.rbi +5 -0
  91. data/rbi/temporalio/api/cloud/connectivityrule/v1/message.rbi +403 -0
  92. data/rbi/temporalio/api/cloud/identity/v1/message.rbi +3072 -0
  93. data/rbi/temporalio/api/cloud/namespace/v1/message.rbi +3659 -0
  94. data/rbi/temporalio/api/cloud/nexus/v1/message.rbi +595 -0
  95. data/rbi/temporalio/api/cloud/operation/v1/message.rbi +244 -0
  96. data/rbi/temporalio/api/cloud/region/v1/message.rbi +166 -0
  97. data/rbi/temporalio/api/cloud/resource/v1/message.rbi +29 -0
  98. data/rbi/temporalio/api/cloud/sink/v1/message.rbi +438 -0
  99. data/rbi/temporalio/api/cloud/usage/v1/message.rbi +409 -0
  100. data/rbi/temporalio/api/command/v1/message.rbi +2675 -0
  101. data/rbi/temporalio/api/common/v1/grpc_status.rbi +92 -0
  102. data/rbi/temporalio/api/common/v1/message.rbi +3457 -0
  103. data/rbi/temporalio/api/compute/v1/config.rbi +421 -0
  104. data/rbi/temporalio/api/compute/v1/provider.rbi +125 -0
  105. data/rbi/temporalio/api/compute/v1/scaler.rbi +102 -0
  106. data/rbi/temporalio/api/deployment/v1/message.rbi +2340 -0
  107. data/rbi/temporalio/api/enums/v1/activity.rbi +63 -0
  108. data/rbi/temporalio/api/enums/v1/batch_operation.rbi +56 -0
  109. data/rbi/temporalio/api/enums/v1/command_type.rbi +36 -0
  110. data/rbi/temporalio/api/enums/v1/common.rbi +199 -0
  111. data/rbi/temporalio/api/enums/v1/deployment.rbi +80 -0
  112. data/rbi/temporalio/api/enums/v1/event_type.rbi +79 -0
  113. data/rbi/temporalio/api/enums/v1/failed_cause.rbi +159 -0
  114. data/rbi/temporalio/api/enums/v1/namespace.rbi +58 -0
  115. data/rbi/temporalio/api/enums/v1/nexus.rbi +98 -0
  116. data/rbi/temporalio/api/enums/v1/query.rbi +40 -0
  117. data/rbi/temporalio/api/enums/v1/reset.rbi +60 -0
  118. data/rbi/temporalio/api/enums/v1/schedule.rbi +25 -0
  119. data/rbi/temporalio/api/enums/v1/task_queue.rbi +134 -0
  120. data/rbi/temporalio/api/enums/v1/time_skipping.rbi +22 -0
  121. data/rbi/temporalio/api/enums/v1/update.rbi +39 -0
  122. data/rbi/temporalio/api/enums/v1/workflow.rbi +259 -0
  123. data/rbi/temporalio/api/errordetails/v1/message.rbi +1446 -0
  124. data/rbi/temporalio/api/export/v1/message.rbi +123 -0
  125. data/rbi/temporalio/api/failure/v1/message.rbi +1303 -0
  126. data/rbi/temporalio/api/filter/v1/message.rbi +267 -0
  127. data/rbi/temporalio/api/history/v1/message.rbi +10757 -0
  128. data/rbi/temporalio/api/namespace/v1/message.rbi +1135 -0
  129. data/rbi/temporalio/api/nexus/v1/message.rbi +2780 -0
  130. data/rbi/temporalio/api/nexusannotations/v1/options.rbi +161 -0
  131. data/rbi/temporalio/api/nexusservices/workerservice/v1/request_response.rbi +124 -0
  132. data/rbi/temporalio/api/operatorservice/v1/request_response.rbi +1836 -0
  133. data/rbi/temporalio/api/operatorservice/v1/service.rbi +3 -0
  134. data/rbi/temporalio/api/operatorservice/v1/service_services.rbi +143 -0
  135. data/rbi/temporalio/api/operatorservice.rbi +5 -0
  136. data/rbi/temporalio/api/payload_visitor.rbi +876 -0
  137. data/rbi/temporalio/api/protoc_gen_openapiv2/options/annotations.rbi +3 -0
  138. data/rbi/temporalio/api/protoc_gen_openapiv2/options/openapiv2.rbi +3482 -0
  139. data/rbi/temporalio/api/protocol/v1/message.rbi +139 -0
  140. data/rbi/temporalio/api/protometa/v1/annotations.rbi +97 -0
  141. data/rbi/temporalio/api/query/v1/message.rbi +288 -0
  142. data/rbi/temporalio/api/replication/v1/message.rbi +226 -0
  143. data/rbi/temporalio/api/rules/v1/message.rbi +492 -0
  144. data/rbi/temporalio/api/schedule/v1/message.rbi +2377 -0
  145. data/rbi/temporalio/api/sdk/v1/enhanced_stack_trace.rbi +478 -0
  146. data/rbi/temporalio/api/sdk/v1/event_group_marker.rbi +337 -0
  147. data/rbi/temporalio/api/sdk/v1/external_storage.rbi +85 -0
  148. data/rbi/temporalio/api/sdk/v1/task_complete_metadata.rbi +206 -0
  149. data/rbi/temporalio/api/sdk/v1/user_metadata.rbi +98 -0
  150. data/rbi/temporalio/api/sdk/v1/worker_config.rbi +255 -0
  151. data/rbi/temporalio/api/sdk/v1/workflow_metadata.rbi +297 -0
  152. data/rbi/temporalio/api/taskqueue/v1/message.rbi +2571 -0
  153. data/rbi/temporalio/api/testservice/v1/request_response.rbi +380 -0
  154. data/rbi/temporalio/api/testservice/v1/service.rbi +3 -0
  155. data/rbi/temporalio/api/testservice/v1/service_services.rbi +100 -0
  156. data/rbi/temporalio/api/update/v1/message.rbi +800 -0
  157. data/rbi/temporalio/api/version/v1/message.rbi +281 -0
  158. data/rbi/temporalio/api/worker/v1/message.rbi +2305 -0
  159. data/rbi/temporalio/api/workflow/v1/message.rbi +5031 -0
  160. data/rbi/temporalio/api/workflowservice/v1/request_response.rbi +31061 -0
  161. data/rbi/temporalio/api/workflowservice/v1/service.rbi +3 -0
  162. data/rbi/temporalio/api/workflowservice/v1/service_services.rbi +1579 -0
  163. data/rbi/temporalio/api/workflowservice.rbi +5 -0
  164. data/rbi/temporalio/api.rbi +7 -0
  165. data/rbi/temporalio/cancellation.rbi +40 -0
  166. data/rbi/temporalio/client/activity_execution.rbi +134 -0
  167. data/rbi/temporalio/client/activity_execution_count.rbi +23 -0
  168. data/rbi/temporalio/client/activity_execution_status.rbi +11 -0
  169. data/rbi/temporalio/client/activity_handle.rbi +49 -0
  170. data/rbi/temporalio/client/activity_id_reference.rbi +24 -0
  171. data/rbi/temporalio/client/async_activity_handle.rbi +49 -0
  172. data/rbi/temporalio/client/connection/cloud_service.rbi +239 -0
  173. data/rbi/temporalio/client/connection/operator_service.rbi +47 -0
  174. data/rbi/temporalio/client/connection/service.rbi +19 -0
  175. data/rbi/temporalio/client/connection/test_service.rbi +29 -0
  176. data/rbi/temporalio/client/connection/workflow_service.rbi +380 -0
  177. data/rbi/temporalio/client/connection.rbi +286 -0
  178. data/rbi/temporalio/client/interceptor.rbi +1067 -0
  179. data/rbi/temporalio/client/pending_activity_state.rbi +9 -0
  180. data/rbi/temporalio/client/plugin.rbi +17 -0
  181. data/rbi/temporalio/client/schedule.rbi +677 -0
  182. data/rbi/temporalio/client/schedule_handle.rbi +40 -0
  183. data/rbi/temporalio/client/with_start_workflow_operation.rbi +126 -0
  184. data/rbi/temporalio/client/workflow_execution.rbi +62 -0
  185. data/rbi/temporalio/client/workflow_execution_count.rbi +23 -0
  186. data/rbi/temporalio/client/workflow_execution_status.rbi +11 -0
  187. data/rbi/temporalio/client/workflow_handle.rbi +148 -0
  188. data/rbi/temporalio/client/workflow_query_reject_condition.rbi +7 -0
  189. data/rbi/temporalio/client/workflow_update_handle.rbi +38 -0
  190. data/rbi/temporalio/client/workflow_update_wait_stage.rbi +7 -0
  191. data/rbi/temporalio/client.rbi +534 -0
  192. data/rbi/temporalio/common_enums.rbi +45 -0
  193. data/rbi/temporalio/contrib/open_telemetry.rbi +73 -0
  194. data/rbi/temporalio/converters/data_converter.rbi +44 -0
  195. data/rbi/temporalio/converters/failure_converter.rbi +25 -0
  196. data/rbi/temporalio/converters/payload_codec.rbi +11 -0
  197. data/rbi/temporalio/converters/payload_converter/binary_null.rbi +5 -0
  198. data/rbi/temporalio/converters/payload_converter/binary_plain.rbi +5 -0
  199. data/rbi/temporalio/converters/payload_converter/binary_protobuf.rbi +5 -0
  200. data/rbi/temporalio/converters/payload_converter/composite.rbi +20 -0
  201. data/rbi/temporalio/converters/payload_converter/encoding.rbi +14 -0
  202. data/rbi/temporalio/converters/payload_converter/json_plain.rbi +10 -0
  203. data/rbi/temporalio/converters/payload_converter/json_protobuf.rbi +5 -0
  204. data/rbi/temporalio/converters/payload_converter.rbi +28 -0
  205. data/rbi/temporalio/converters/raw_value.rbi +11 -0
  206. data/rbi/temporalio/converters.rbi +3 -0
  207. data/rbi/temporalio/env_config.rbi +156 -0
  208. data/rbi/temporalio/error/failure.rbi +3 -0
  209. data/rbi/temporalio/error.rbi +313 -0
  210. data/rbi/temporalio/internal/bridge/api/activity_result/activity_result.rbi +547 -0
  211. data/rbi/temporalio/internal/bridge/api/activity_task/activity_task.rbi +705 -0
  212. data/rbi/temporalio/internal/bridge/api/child_workflow/child_workflow.rbi +332 -0
  213. data/rbi/temporalio/internal/bridge/api/common/common.rbi +306 -0
  214. data/rbi/temporalio/internal/bridge/api/core_interface.rbi +567 -0
  215. data/rbi/temporalio/internal/bridge/api/external_data/external_data.rbi +255 -0
  216. data/rbi/temporalio/internal/bridge/api/nexus/nexus.rbi +527 -0
  217. data/rbi/temporalio/internal/bridge/api/workflow_activation/workflow_activation.rbi +2808 -0
  218. data/rbi/temporalio/internal/bridge/api/workflow_commands/workflow_commands.rbi +3309 -0
  219. data/rbi/temporalio/internal/bridge/api/workflow_completion/workflow_completion.rbi +312 -0
  220. data/rbi/temporalio/internal/bridge/api.rbi +3 -0
  221. data/rbi/temporalio/internal/bridge/client.rbi +346 -0
  222. data/rbi/temporalio/internal/bridge/runtime.rbi +251 -0
  223. data/rbi/temporalio/internal/bridge/testing.rbi +109 -0
  224. data/rbi/temporalio/internal/bridge/worker.rbi +252 -0
  225. data/rbi/temporalio/internal/bridge.rbi +47 -0
  226. data/rbi/temporalio/internal/client/implementation.rbi +53 -0
  227. data/rbi/temporalio/internal/google_protobuf.rbi +8 -0
  228. data/rbi/temporalio/internal/metric.rbi +55 -0
  229. data/rbi/temporalio/internal/proto_utils.rbi +148 -0
  230. data/rbi/temporalio/internal/worker/activity_worker.rbi +108 -0
  231. data/rbi/temporalio/internal/worker/multi_runner.rbi +175 -0
  232. data/rbi/temporalio/internal/worker/workflow_instance/child_workflow_handle.rbi +20 -0
  233. data/rbi/temporalio/internal/worker/workflow_instance/context.rbi +290 -0
  234. data/rbi/temporalio/internal/worker/workflow_instance/details.rbi +87 -0
  235. data/rbi/temporalio/internal/worker/workflow_instance/external_workflow_handle.rbi +14 -0
  236. data/rbi/temporalio/internal/worker/workflow_instance/externally_immutable_hash.rbi +17 -0
  237. data/rbi/temporalio/internal/worker/workflow_instance/handler_execution.rbi +17 -0
  238. data/rbi/temporalio/internal/worker/workflow_instance/handler_hash.rbi +24 -0
  239. data/rbi/temporalio/internal/worker/workflow_instance/illegal_call_tracer.rbi +17 -0
  240. data/rbi/temporalio/internal/worker/workflow_instance/inbound_implementation.rbi +21 -0
  241. data/rbi/temporalio/internal/worker/workflow_instance/nexus_client.rbi +47 -0
  242. data/rbi/temporalio/internal/worker/workflow_instance/nexus_operation_handle.rbi +19 -0
  243. data/rbi/temporalio/internal/worker/workflow_instance/outbound_implementation.rbi +43 -0
  244. data/rbi/temporalio/internal/worker/workflow_instance/replay_safe_logger.rbi +11 -0
  245. data/rbi/temporalio/internal/worker/workflow_instance/replay_safe_metric.rbi +15 -0
  246. data/rbi/temporalio/internal/worker/workflow_instance/scheduler.rbi +36 -0
  247. data/rbi/temporalio/internal/worker/workflow_instance.rbi +231 -0
  248. data/rbi/temporalio/internal/worker/workflow_worker.rbi +199 -0
  249. data/rbi/temporalio/internal/workflow_task_failure_error.rbi +3 -0
  250. data/rbi/temporalio/internal.rbi +3 -0
  251. data/rbi/temporalio/metric.rbi +56 -0
  252. data/rbi/temporalio/priority.rbi +38 -0
  253. data/rbi/temporalio/retry_policy.rbi +40 -0
  254. data/rbi/temporalio/runtime/metric_buffer.rbi +45 -0
  255. data/rbi/temporalio/runtime.rbi +194 -0
  256. data/rbi/temporalio/scoped_logger.rbi +50 -0
  257. data/rbi/temporalio/search_attributes.rbi +94 -0
  258. data/rbi/temporalio/simple_plugin.rbi +41 -0
  259. data/rbi/temporalio/testing/activity_environment.rbi +43 -0
  260. data/rbi/temporalio/testing/workflow_environment.rbi +116 -0
  261. data/rbi/temporalio/testing.rbi +3 -0
  262. data/rbi/temporalio/version.rbi +5 -0
  263. data/rbi/temporalio/versioning_override.rbi +13 -0
  264. data/rbi/temporalio/worker/activity_executor/fiber.rbi +20 -0
  265. data/rbi/temporalio/worker/activity_executor/thread_pool.rbi +20 -0
  266. data/rbi/temporalio/worker/activity_executor.rbi +20 -0
  267. data/rbi/temporalio/worker/deployment_options.rbi +23 -0
  268. data/rbi/temporalio/worker/illegal_workflow_call_validator.rbi +33 -0
  269. data/rbi/temporalio/worker/interceptor.rbi +489 -0
  270. data/rbi/temporalio/worker/plugin.rbi +49 -0
  271. data/rbi/temporalio/worker/poller_behavior.rbi +29 -0
  272. data/rbi/temporalio/worker/thread_pool.rbi +38 -0
  273. data/rbi/temporalio/worker/tuner.rbi +221 -0
  274. data/rbi/temporalio/worker/workflow_executor/thread_pool.rbi +15 -0
  275. data/rbi/temporalio/worker/workflow_executor.rbi +8 -0
  276. data/rbi/temporalio/worker/workflow_replayer.rbi +152 -0
  277. data/rbi/temporalio/worker.rbi +265 -0
  278. data/rbi/temporalio/worker_deployment_version.rbi +29 -0
  279. data/rbi/temporalio/workflow/activity_cancellation_type.rbi +7 -0
  280. data/rbi/temporalio/workflow/child_workflow_cancellation_type.rbi +8 -0
  281. data/rbi/temporalio/workflow/child_workflow_handle.rbi +27 -0
  282. data/rbi/temporalio/workflow/definition.rbi +305 -0
  283. data/rbi/temporalio/workflow/external_workflow_handle.rbi +24 -0
  284. data/rbi/temporalio/workflow/future.rbi +62 -0
  285. data/rbi/temporalio/workflow/handler_unfinished_policy.rbi +6 -0
  286. data/rbi/temporalio/workflow/info.rbi +100 -0
  287. data/rbi/temporalio/workflow/nexus_client.rbi +65 -0
  288. data/rbi/temporalio/workflow/nexus_operation_cancellation_type.rbi +8 -0
  289. data/rbi/temporalio/workflow/nexus_operation_handle.rbi +14 -0
  290. data/rbi/temporalio/workflow/parent_close_policy.rbi +8 -0
  291. data/rbi/temporalio/workflow/update_info.rbi +14 -0
  292. data/rbi/temporalio/workflow.rbi +393 -0
  293. data/rbi/temporalio/workflow_history.rbi +21 -0
  294. data/rbi/temporalio.rbi +5 -0
  295. data/sig/common.rbs +1 -0
  296. data/sig/google/protobuf_compat.rbs +17 -0
  297. data/sig/open_telemetry.rbs +47 -0
  298. data/sig/temporalio/activity/cancellation_details.rbs +21 -0
  299. data/sig/temporalio/activity/complete_async_error.rbs +6 -0
  300. data/sig/temporalio/activity/context.rbs +26 -0
  301. data/sig/temporalio/activity/definition.rbs +60 -0
  302. data/sig/temporalio/activity/info.rbs +57 -0
  303. data/sig/temporalio/activity.rbs +4 -0
  304. data/sig/temporalio/api/activity/v1/message.rbs +754 -0
  305. data/sig/temporalio/api/batch/v1/message.rbs +680 -0
  306. data/sig/temporalio/api/callback/v1/message.rbs +112 -0
  307. data/sig/temporalio/api/cloud/account/v1/message.rbs +314 -0
  308. data/sig/temporalio/api/cloud/auditlog/v1/message.rbs +168 -0
  309. data/sig/temporalio/api/cloud/billing/v1/message.rbs +279 -0
  310. data/sig/temporalio/api/cloud/cloudservice/v1/request_response.rbs +4726 -0
  311. data/sig/temporalio/api/cloud/cloudservice/v1/service.rbs +25 -0
  312. data/sig/temporalio/api/cloud/cloudservice.rbs +8 -0
  313. data/sig/temporalio/api/cloud/connectivityrule/v1/message.rbs +191 -0
  314. data/sig/temporalio/api/cloud/identity/v1/message.rbs +1372 -0
  315. data/sig/temporalio/api/cloud/namespace/v1/message.rbs +1571 -0
  316. data/sig/temporalio/api/cloud/nexus/v1/message.rbs +269 -0
  317. data/sig/temporalio/api/cloud/operation/v1/message.rbs +156 -0
  318. data/sig/temporalio/api/cloud/region/v1/message.rbs +109 -0
  319. data/sig/temporalio/api/cloud/resource/v1/message.rbs +61 -0
  320. data/sig/temporalio/api/cloud/sink/v1/message.rbs +207 -0
  321. data/sig/temporalio/api/cloud/usage/v1/message.rbs +230 -0
  322. data/sig/temporalio/api/command/v1/message.rbs +1221 -0
  323. data/sig/temporalio/api/common/v1/grpc_status.rbs +59 -0
  324. data/sig/temporalio/api/common/v1/message.rbs +1439 -0
  325. data/sig/temporalio/api/compute/v1/config.rbs +176 -0
  326. data/sig/temporalio/api/compute/v1/provider.rbs +73 -0
  327. data/sig/temporalio/api/compute/v1/scaler.rbs +60 -0
  328. data/sig/temporalio/api/deployment/v1/message.rbs +1063 -0
  329. data/sig/temporalio/api/enums/v1/activity.rbs +138 -0
  330. data/sig/temporalio/api/enums/v1/batch_operation.rbs +110 -0
  331. data/sig/temporalio/api/enums/v1/command_type.rbs +74 -0
  332. data/sig/temporalio/api/enums/v1/common.rbs +294 -0
  333. data/sig/temporalio/api/enums/v1/deployment.rbs +177 -0
  334. data/sig/temporalio/api/enums/v1/event_type.rbs +263 -0
  335. data/sig/temporalio/api/enums/v1/failed_cause.rbs +293 -0
  336. data/sig/temporalio/api/enums/v1/namespace.rbs +87 -0
  337. data/sig/temporalio/api/enums/v1/nexus.rbs +172 -0
  338. data/sig/temporalio/api/enums/v1/query.rbs +69 -0
  339. data/sig/temporalio/api/enums/v1/reset.rbs +106 -0
  340. data/sig/temporalio/api/enums/v1/schedule.rbs +68 -0
  341. data/sig/temporalio/api/enums/v1/task_queue.rbs +238 -0
  342. data/sig/temporalio/api/enums/v1/time_skipping.rbs +58 -0
  343. data/sig/temporalio/api/enums/v1/update.rbs +87 -0
  344. data/sig/temporalio/api/enums/v1/workflow.rbs +435 -0
  345. data/sig/temporalio/api/errordetails/v1/message.rbs +551 -0
  346. data/sig/temporalio/api/export/v1/message.rbs +63 -0
  347. data/sig/temporalio/api/failure/v1/message.rbs +579 -0
  348. data/sig/temporalio/api/filter/v1/message.rbs +121 -0
  349. data/sig/temporalio/api/history/v1/message.rbs +4938 -0
  350. data/sig/temporalio/api/namespace/v1/message.rbs +508 -0
  351. data/sig/temporalio/api/nexus/v1/message.rbs +1268 -0
  352. data/sig/temporalio/api/nexusannotations/v1/options.rbs +76 -0
  353. data/sig/temporalio/api/nexusservices/workerservice/v1/request_response.rbs +65 -0
  354. data/sig/temporalio/api/operatorservice/v1/request_response.rbs +679 -0
  355. data/sig/temporalio/api/operatorservice/v1/service.rbs +23 -0
  356. data/sig/temporalio/api/operatorservice.rbs +6 -0
  357. data/sig/temporalio/api/payload_visitor.rbs +298 -0
  358. data/sig/temporalio/api/protoc_gen_openapiv2/options/annotations.rbs +23 -0
  359. data/sig/temporalio/api/protoc_gen_openapiv2/options/openapiv2.rbs +1691 -0
  360. data/sig/temporalio/api/protocol/v1/message.rbs +90 -0
  361. data/sig/temporalio/api/protometa/v1/annotations.rbs +62 -0
  362. data/sig/temporalio/api/query/v1/message.rbs +138 -0
  363. data/sig/temporalio/api/replication/v1/message.rbs +109 -0
  364. data/sig/temporalio/api/rules/v1/message.rbs +213 -0
  365. data/sig/temporalio/api/schedule/v1/message.rbs +1066 -0
  366. data/sig/temporalio/api/sdk/v1/enhanced_stack_trace.rbs +210 -0
  367. data/sig/temporalio/api/sdk/v1/event_group_marker.rbs +154 -0
  368. data/sig/temporalio/api/sdk/v1/external_storage.rbs +54 -0
  369. data/sig/temporalio/api/sdk/v1/task_complete_metadata.rbs +92 -0
  370. data/sig/temporalio/api/sdk/v1/user_metadata.rbs +58 -0
  371. data/sig/temporalio/api/sdk/v1/worker_config.rbs +122 -0
  372. data/sig/temporalio/api/sdk/v1/workflow_metadata.rbs +138 -0
  373. data/sig/temporalio/api/taskqueue/v1/message.rbs +1057 -0
  374. data/sig/temporalio/api/testservice/v1/request_response.rbs +125 -0
  375. data/sig/temporalio/api/testservice/v1/service.rbs +23 -0
  376. data/sig/temporalio/api/update/v1/message.rbs +349 -0
  377. data/sig/temporalio/api/version/v1/message.rbs +143 -0
  378. data/sig/temporalio/api/worker/v1/message.rbs +1126 -0
  379. data/sig/temporalio/api/workflow/v1/message.rbs +2332 -0
  380. data/sig/temporalio/api/workflowservice/v1/request_response.rbs +13006 -0
  381. data/sig/temporalio/api/workflowservice/v1/service.rbs +23 -0
  382. data/sig/temporalio/api/workflowservice.rbs +6 -0
  383. data/sig/temporalio/api.rbs +4 -0
  384. data/sig/temporalio/cancellation.rbs +20 -0
  385. data/sig/temporalio/client/activity_execution.rbs +50 -0
  386. data/sig/temporalio/client/activity_execution_count.rbs +17 -0
  387. data/sig/temporalio/client/activity_execution_status.rbs +15 -0
  388. data/sig/temporalio/client/activity_handle.rbs +26 -0
  389. data/sig/temporalio/client/activity_id_reference.rbs +16 -0
  390. data/sig/temporalio/client/async_activity_handle.rbs +41 -0
  391. data/sig/temporalio/client/connection/cloud_service.rbs +315 -0
  392. data/sig/temporalio/client/connection/operator_service.rbs +59 -0
  393. data/sig/temporalio/client/connection/service.rbs +17 -0
  394. data/sig/temporalio/client/connection/test_service.rbs +35 -0
  395. data/sig/temporalio/client/connection/workflow_service.rbs +503 -0
  396. data/sig/temporalio/client/connection.rbs +156 -0
  397. data/sig/temporalio/client/interceptor.rbs +622 -0
  398. data/sig/temporalio/client/pending_activity_state.rbs +14 -0
  399. data/sig/temporalio/client/plugin.rbs +14 -0
  400. data/sig/temporalio/client/schedule.rbs +337 -0
  401. data/sig/temporalio/client/schedule_handle.rbs +44 -0
  402. data/sig/temporalio/client/with_start_workflow_operation.rbs +82 -0
  403. data/sig/temporalio/client/workflow_execution.rbs +37 -0
  404. data/sig/temporalio/client/workflow_execution_count.rbs +17 -0
  405. data/sig/temporalio/client/workflow_execution_status.rbs +16 -0
  406. data/sig/temporalio/client/workflow_handle.rbs +95 -0
  407. data/sig/temporalio/client/workflow_query_reject_condition.rbs +12 -0
  408. data/sig/temporalio/client/workflow_update_handle.rbs +26 -0
  409. data/sig/temporalio/client/workflow_update_wait_stage.rbs +12 -0
  410. data/sig/temporalio/client.rbs +271 -0
  411. data/sig/temporalio/common_enums.rbs +60 -0
  412. data/sig/temporalio/contrib/open_telemetry.rbs +74 -0
  413. data/sig/temporalio/converters/data_converter.rbs +32 -0
  414. data/sig/temporalio/converters/failure_converter.rbs +15 -0
  415. data/sig/temporalio/converters/payload_codec.rbs +8 -0
  416. data/sig/temporalio/converters/payload_converter/binary_null.rbs +9 -0
  417. data/sig/temporalio/converters/payload_converter/binary_plain.rbs +9 -0
  418. data/sig/temporalio/converters/payload_converter/binary_protobuf.rbs +9 -0
  419. data/sig/temporalio/converters/payload_converter/composite.rbs +16 -0
  420. data/sig/temporalio/converters/payload_converter/encoding.rbs +13 -0
  421. data/sig/temporalio/converters/payload_converter/json_plain.rbs +14 -0
  422. data/sig/temporalio/converters/payload_converter/json_protobuf.rbs +9 -0
  423. data/sig/temporalio/converters/payload_converter.rbs +24 -0
  424. data/sig/temporalio/converters/raw_value.rbs +9 -0
  425. data/sig/temporalio/converters.rbs +4 -0
  426. data/sig/temporalio/env_config.rbs +86 -0
  427. data/sig/temporalio/error/failure.rbs +170 -0
  428. data/sig/temporalio/error.rbs +88 -0
  429. data/sig/temporalio/internal/bridge/api/activity_result/activity_result.rbs +247 -0
  430. data/sig/temporalio/internal/bridge/api/activity_task/activity_task.rbs +372 -0
  431. data/sig/temporalio/internal/bridge/api/child_workflow/child_workflow.rbs +207 -0
  432. data/sig/temporalio/internal/bridge/api/common/common.rbs +173 -0
  433. data/sig/temporalio/internal/bridge/api/core_interface.rbs +231 -0
  434. data/sig/temporalio/internal/bridge/api/external_data/external_data.rbs +134 -0
  435. data/sig/temporalio/internal/bridge/api/nexus/nexus.rbs +285 -0
  436. data/sig/temporalio/internal/bridge/api/workflow_activation/workflow_activation.rbs +1304 -0
  437. data/sig/temporalio/internal/bridge/api/workflow_commands/workflow_commands.rbs +1526 -0
  438. data/sig/temporalio/internal/bridge/api/workflow_completion/workflow_completion.rbs +156 -0
  439. data/sig/temporalio/internal/bridge/api.rbs +8 -0
  440. data/sig/temporalio/internal/bridge/client.rbs +148 -0
  441. data/sig/temporalio/internal/bridge/metric.rbs +28 -0
  442. data/sig/temporalio/internal/bridge/runtime.rbs +103 -0
  443. data/sig/temporalio/internal/bridge/testing.rbs +91 -0
  444. data/sig/temporalio/internal/bridge/worker.rbs +203 -0
  445. data/sig/temporalio/internal/bridge.rbs +36 -0
  446. data/sig/temporalio/internal/client/implementation.rbs +33 -0
  447. data/sig/temporalio/internal/google_protobuf.rbs +7 -0
  448. data/sig/temporalio/internal/metric.rbs +35 -0
  449. data/sig/temporalio/internal/proto_utils.rbs +94 -0
  450. data/sig/temporalio/internal/worker/activity_worker.rbs +64 -0
  451. data/sig/temporalio/internal/worker/multi_runner.rbs +132 -0
  452. data/sig/temporalio/internal/worker/workflow_instance/child_workflow_handle.rbs +22 -0
  453. data/sig/temporalio/internal/worker/workflow_instance/context.rbs +172 -0
  454. data/sig/temporalio/internal/worker/workflow_instance/details.rbs +43 -0
  455. data/sig/temporalio/internal/worker/workflow_instance/external_workflow_handle.rbs +15 -0
  456. data/sig/temporalio/internal/worker/workflow_instance/externally_immutable_hash.rbs +16 -0
  457. data/sig/temporalio/internal/worker/workflow_instance/handler_execution.rbs +19 -0
  458. data/sig/temporalio/internal/worker/workflow_instance/handler_hash.rbs +14 -0
  459. data/sig/temporalio/internal/worker/workflow_instance/illegal_call_tracer.rbs +20 -0
  460. data/sig/temporalio/internal/worker/workflow_instance/inbound_implementation.rbs +19 -0
  461. data/sig/temporalio/internal/worker/workflow_instance/nexus_client.rbs +25 -0
  462. data/sig/temporalio/internal/worker/workflow_instance/nexus_operation_handle.rbs +19 -0
  463. data/sig/temporalio/internal/worker/workflow_instance/outbound_implementation.rbs +35 -0
  464. data/sig/temporalio/internal/worker/workflow_instance/replay_safe_logger.rbs +16 -0
  465. data/sig/temporalio/internal/worker/workflow_instance/replay_safe_metric.rbs +15 -0
  466. data/sig/temporalio/internal/worker/workflow_instance/scheduler.rbs +52 -0
  467. data/sig/temporalio/internal/worker/workflow_instance.rbs +111 -0
  468. data/sig/temporalio/internal/worker/workflow_worker.rbs +99 -0
  469. data/sig/temporalio/internal/workflow_task_failure_error.rbs +6 -0
  470. data/sig/temporalio/internal.rbs +4 -0
  471. data/sig/temporalio/metric.rbs +55 -0
  472. data/sig/temporalio/priority.rbs +17 -0
  473. data/sig/temporalio/retry_policy.rbs +21 -0
  474. data/sig/temporalio/runtime/metric_buffer.rbs +49 -0
  475. data/sig/temporalio/runtime.rbs +129 -0
  476. data/sig/temporalio/scoped_logger.rbs +15 -0
  477. data/sig/temporalio/search_attributes.rbs +82 -0
  478. data/sig/temporalio/simple_plugin.rbs +65 -0
  479. data/sig/temporalio/testing/activity_environment.rbs +52 -0
  480. data/sig/temporalio/testing/workflow_environment.rbs +141 -0
  481. data/sig/temporalio/testing.rbs +4 -0
  482. data/sig/temporalio/version.rbs +3 -0
  483. data/sig/temporalio/versioning_override.rbs +17 -0
  484. data/sig/temporalio/worker/activity_executor/fiber.rbs +9 -0
  485. data/sig/temporalio/worker/activity_executor/thread_pool.rbs +11 -0
  486. data/sig/temporalio/worker/activity_executor.rbs +12 -0
  487. data/sig/temporalio/worker/deployment_options.rbs +17 -0
  488. data/sig/temporalio/worker/illegal_workflow_call_validator.rbs +25 -0
  489. data/sig/temporalio/worker/interceptor.rbs +373 -0
  490. data/sig/temporalio/worker/plugin.rbs +47 -0
  491. data/sig/temporalio/worker/poller_behavior.rbs +23 -0
  492. data/sig/temporalio/worker/thread_pool.rbs +44 -0
  493. data/sig/temporalio/worker/tuner.rbs +121 -0
  494. data/sig/temporalio/worker/workflow_executor/thread_pool.rbs +58 -0
  495. data/sig/temporalio/worker/workflow_executor.rbs +15 -0
  496. data/sig/temporalio/worker/workflow_replayer.rbs +105 -0
  497. data/sig/temporalio/worker.rbs +174 -0
  498. data/sig/temporalio/worker_deployment_version.rbs +17 -0
  499. data/sig/temporalio/workflow/activity_cancellation_type.rbs +11 -0
  500. data/sig/temporalio/workflow/child_workflow_cancellation_type.rbs +12 -0
  501. data/sig/temporalio/workflow/child_workflow_handle.rbs +18 -0
  502. data/sig/temporalio/workflow/definition.rbs +181 -0
  503. data/sig/temporalio/workflow/external_workflow_handle.rbs +17 -0
  504. data/sig/temporalio/workflow/future.rbs +24 -0
  505. data/sig/temporalio/workflow/handler_unfinished_policy.rbs +10 -0
  506. data/sig/temporalio/workflow/info.rbs +79 -0
  507. data/sig/temporalio/workflow/nexus_client.rbs +34 -0
  508. data/sig/temporalio/workflow/nexus_operation_cancellation_type.rbs +12 -0
  509. data/sig/temporalio/workflow/nexus_operation_handle.rbs +10 -0
  510. data/sig/temporalio/workflow/parent_close_policy.rbs +12 -0
  511. data/sig/temporalio/workflow/update_info.rbs +15 -0
  512. data/sig/temporalio/workflow.rbs +215 -0
  513. data/sig/temporalio/workflow_history.rbs +13 -0
  514. data/sig/temporalio.rbs +3 -0
  515. data/temporalio.gemspec +1 -1
  516. metadata +448 -2
@@ -0,0 +1,2675 @@
1
+ # Code generated by protoc-gen-rbi. DO NOT EDIT.
2
+ # source: temporal/api/command/v1/message.proto
3
+ # typed: strict
4
+
5
+ class Temporalio::Api::Command::V1::ScheduleActivityTaskCommandAttributes
6
+ include ::Google::Protobuf::MessageExts
7
+ extend ::Google::Protobuf::MessageExts::ClassMethods
8
+
9
+ sig do
10
+ params(
11
+ activity_id: T.nilable(String),
12
+ activity_type: T.nilable(Temporalio::Api::Common::V1::ActivityType),
13
+ task_queue: T.nilable(Temporalio::Api::TaskQueue::V1::TaskQueue),
14
+ header: T.nilable(Temporalio::Api::Common::V1::Header),
15
+ input: T.nilable(Temporalio::Api::Common::V1::Payloads),
16
+ schedule_to_close_timeout: T.nilable(Google::Protobuf::Duration),
17
+ schedule_to_start_timeout: T.nilable(Google::Protobuf::Duration),
18
+ start_to_close_timeout: T.nilable(Google::Protobuf::Duration),
19
+ heartbeat_timeout: T.nilable(Google::Protobuf::Duration),
20
+ retry_policy: T.nilable(Temporalio::Api::Common::V1::RetryPolicy),
21
+ request_eager_execution: T.nilable(T::Boolean),
22
+ use_workflow_build_id: T.nilable(T::Boolean),
23
+ priority: T.nilable(Temporalio::Api::Common::V1::Priority)
24
+ ).void
25
+ end
26
+ def initialize(
27
+ activity_id: "",
28
+ activity_type: nil,
29
+ task_queue: nil,
30
+ header: nil,
31
+ input: nil,
32
+ schedule_to_close_timeout: nil,
33
+ schedule_to_start_timeout: nil,
34
+ start_to_close_timeout: nil,
35
+ heartbeat_timeout: nil,
36
+ retry_policy: nil,
37
+ request_eager_execution: false,
38
+ use_workflow_build_id: false,
39
+ priority: nil
40
+ )
41
+ end
42
+
43
+ sig { returns(String) }
44
+ def activity_id
45
+ end
46
+
47
+ sig { params(value: String).void }
48
+ def activity_id=(value)
49
+ end
50
+
51
+ sig { void }
52
+ def clear_activity_id
53
+ end
54
+
55
+ sig { returns(T.nilable(Temporalio::Api::Common::V1::ActivityType)) }
56
+ def activity_type
57
+ end
58
+
59
+ sig { params(value: T.nilable(Temporalio::Api::Common::V1::ActivityType)).void }
60
+ def activity_type=(value)
61
+ end
62
+
63
+ sig { void }
64
+ def clear_activity_type
65
+ end
66
+
67
+ sig { returns(T.nilable(Temporalio::Api::TaskQueue::V1::TaskQueue)) }
68
+ def task_queue
69
+ end
70
+
71
+ sig { params(value: T.nilable(Temporalio::Api::TaskQueue::V1::TaskQueue)).void }
72
+ def task_queue=(value)
73
+ end
74
+
75
+ sig { void }
76
+ def clear_task_queue
77
+ end
78
+
79
+ sig { returns(T.nilable(Temporalio::Api::Common::V1::Header)) }
80
+ def header
81
+ end
82
+
83
+ sig { params(value: T.nilable(Temporalio::Api::Common::V1::Header)).void }
84
+ def header=(value)
85
+ end
86
+
87
+ sig { void }
88
+ def clear_header
89
+ end
90
+
91
+ sig { returns(T.nilable(Temporalio::Api::Common::V1::Payloads)) }
92
+ def input
93
+ end
94
+
95
+ sig { params(value: T.nilable(Temporalio::Api::Common::V1::Payloads)).void }
96
+ def input=(value)
97
+ end
98
+
99
+ sig { void }
100
+ def clear_input
101
+ end
102
+
103
+ # Indicates how long the caller is willing to wait for activity completion. The "schedule" time
104
+ # is when the activity is initially scheduled, not when the most recent retry is scheduled.
105
+ # Limits how long retries will be attempted. Either this or `start_to_close_timeout` must be
106
+ # specified. When not specified, defaults to the workflow execution timeout.
107
+ #
108
+ # (-- api-linter: core::0140::prepositions=disabled
109
+ # aip.dev/not-precedent: "to" is used to indicate interval. --)
110
+ sig { returns(T.nilable(Google::Protobuf::Duration)) }
111
+ def schedule_to_close_timeout
112
+ end
113
+
114
+ # Indicates how long the caller is willing to wait for activity completion. The "schedule" time
115
+ # is when the activity is initially scheduled, not when the most recent retry is scheduled.
116
+ # Limits how long retries will be attempted. Either this or `start_to_close_timeout` must be
117
+ # specified. When not specified, defaults to the workflow execution timeout.
118
+ #
119
+ # (-- api-linter: core::0140::prepositions=disabled
120
+ # aip.dev/not-precedent: "to" is used to indicate interval. --)
121
+ sig { params(value: T.nilable(Google::Protobuf::Duration)).void }
122
+ def schedule_to_close_timeout=(value)
123
+ end
124
+
125
+ # Indicates how long the caller is willing to wait for activity completion. The "schedule" time
126
+ # is when the activity is initially scheduled, not when the most recent retry is scheduled.
127
+ # Limits how long retries will be attempted. Either this or `start_to_close_timeout` must be
128
+ # specified. When not specified, defaults to the workflow execution timeout.
129
+ #
130
+ # (-- api-linter: core::0140::prepositions=disabled
131
+ # aip.dev/not-precedent: "to" is used to indicate interval. --)
132
+ sig { void }
133
+ def clear_schedule_to_close_timeout
134
+ end
135
+
136
+ # Limits the time an activity task can stay in a task queue before a worker picks it up. The
137
+ # "schedule" time is when the most recent retry is scheduled. This timeout should usually not
138
+ # be set: it's useful in specific scenarios like worker-specific task queues. This timeout is
139
+ # always non retryable, as all a retry would achieve is to put it back into the same queue.
140
+ # Defaults to `schedule_to_close_timeout` or workflow execution timeout if that is not
141
+ # specified. More info:
142
+ # https://docs.temporal.io/docs/content/what-is-a-schedule-to-start-timeout/
143
+ #
144
+ # (-- api-linter: core::0140::prepositions=disabled
145
+ # aip.dev/not-precedent: "to" is used to indicate interval. --)
146
+ sig { returns(T.nilable(Google::Protobuf::Duration)) }
147
+ def schedule_to_start_timeout
148
+ end
149
+
150
+ # Limits the time an activity task can stay in a task queue before a worker picks it up. The
151
+ # "schedule" time is when the most recent retry is scheduled. This timeout should usually not
152
+ # be set: it's useful in specific scenarios like worker-specific task queues. This timeout is
153
+ # always non retryable, as all a retry would achieve is to put it back into the same queue.
154
+ # Defaults to `schedule_to_close_timeout` or workflow execution timeout if that is not
155
+ # specified. More info:
156
+ # https://docs.temporal.io/docs/content/what-is-a-schedule-to-start-timeout/
157
+ #
158
+ # (-- api-linter: core::0140::prepositions=disabled
159
+ # aip.dev/not-precedent: "to" is used to indicate interval. --)
160
+ sig { params(value: T.nilable(Google::Protobuf::Duration)).void }
161
+ def schedule_to_start_timeout=(value)
162
+ end
163
+
164
+ # Limits the time an activity task can stay in a task queue before a worker picks it up. The
165
+ # "schedule" time is when the most recent retry is scheduled. This timeout should usually not
166
+ # be set: it's useful in specific scenarios like worker-specific task queues. This timeout is
167
+ # always non retryable, as all a retry would achieve is to put it back into the same queue.
168
+ # Defaults to `schedule_to_close_timeout` or workflow execution timeout if that is not
169
+ # specified. More info:
170
+ # https://docs.temporal.io/docs/content/what-is-a-schedule-to-start-timeout/
171
+ #
172
+ # (-- api-linter: core::0140::prepositions=disabled
173
+ # aip.dev/not-precedent: "to" is used to indicate interval. --)
174
+ sig { void }
175
+ def clear_schedule_to_start_timeout
176
+ end
177
+
178
+ # Maximum time an activity is allowed to execute after being picked up by a worker. This
179
+ # timeout is always retryable. Either this or `schedule_to_close_timeout` must be specified.
180
+ #
181
+ # (-- api-linter: core::0140::prepositions=disabled
182
+ # aip.dev/not-precedent: "to" is used to indicate interval. --)
183
+ sig { returns(T.nilable(Google::Protobuf::Duration)) }
184
+ def start_to_close_timeout
185
+ end
186
+
187
+ # Maximum time an activity is allowed to execute after being picked up by a worker. This
188
+ # timeout is always retryable. Either this or `schedule_to_close_timeout` must be specified.
189
+ #
190
+ # (-- api-linter: core::0140::prepositions=disabled
191
+ # aip.dev/not-precedent: "to" is used to indicate interval. --)
192
+ sig { params(value: T.nilable(Google::Protobuf::Duration)).void }
193
+ def start_to_close_timeout=(value)
194
+ end
195
+
196
+ # Maximum time an activity is allowed to execute after being picked up by a worker. This
197
+ # timeout is always retryable. Either this or `schedule_to_close_timeout` must be specified.
198
+ #
199
+ # (-- api-linter: core::0140::prepositions=disabled
200
+ # aip.dev/not-precedent: "to" is used to indicate interval. --)
201
+ sig { void }
202
+ def clear_start_to_close_timeout
203
+ end
204
+
205
+ # Maximum permitted time between successful worker heartbeats.
206
+ sig { returns(T.nilable(Google::Protobuf::Duration)) }
207
+ def heartbeat_timeout
208
+ end
209
+
210
+ # Maximum permitted time between successful worker heartbeats.
211
+ sig { params(value: T.nilable(Google::Protobuf::Duration)).void }
212
+ def heartbeat_timeout=(value)
213
+ end
214
+
215
+ # Maximum permitted time between successful worker heartbeats.
216
+ sig { void }
217
+ def clear_heartbeat_timeout
218
+ end
219
+
220
+ # Activities are provided by a default retry policy which is controlled through the service's
221
+ # dynamic configuration. Retries will be attempted until `schedule_to_close_timeout` has
222
+ # elapsed. To disable retries set retry_policy.maximum_attempts to 1.
223
+ sig { returns(T.nilable(Temporalio::Api::Common::V1::RetryPolicy)) }
224
+ def retry_policy
225
+ end
226
+
227
+ # Activities are provided by a default retry policy which is controlled through the service's
228
+ # dynamic configuration. Retries will be attempted until `schedule_to_close_timeout` has
229
+ # elapsed. To disable retries set retry_policy.maximum_attempts to 1.
230
+ sig { params(value: T.nilable(Temporalio::Api::Common::V1::RetryPolicy)).void }
231
+ def retry_policy=(value)
232
+ end
233
+
234
+ # Activities are provided by a default retry policy which is controlled through the service's
235
+ # dynamic configuration. Retries will be attempted until `schedule_to_close_timeout` has
236
+ # elapsed. To disable retries set retry_policy.maximum_attempts to 1.
237
+ sig { void }
238
+ def clear_retry_policy
239
+ end
240
+
241
+ # Request to start the activity directly bypassing matching service and worker polling
242
+ # The slot for executing the activity should be reserved when setting this field to true.
243
+ sig { returns(T::Boolean) }
244
+ def request_eager_execution
245
+ end
246
+
247
+ # Request to start the activity directly bypassing matching service and worker polling
248
+ # The slot for executing the activity should be reserved when setting this field to true.
249
+ sig { params(value: T::Boolean).void }
250
+ def request_eager_execution=(value)
251
+ end
252
+
253
+ # Request to start the activity directly bypassing matching service and worker polling
254
+ # The slot for executing the activity should be reserved when setting this field to true.
255
+ sig { void }
256
+ def clear_request_eager_execution
257
+ end
258
+
259
+ # If this is set, the activity would be assigned to the Build ID of the workflow. Otherwise,
260
+ # Assignment rules of the activity's Task Queue will be used to determine the Build ID.
261
+ sig { returns(T::Boolean) }
262
+ def use_workflow_build_id
263
+ end
264
+
265
+ # If this is set, the activity would be assigned to the Build ID of the workflow. Otherwise,
266
+ # Assignment rules of the activity's Task Queue will be used to determine the Build ID.
267
+ sig { params(value: T::Boolean).void }
268
+ def use_workflow_build_id=(value)
269
+ end
270
+
271
+ # If this is set, the activity would be assigned to the Build ID of the workflow. Otherwise,
272
+ # Assignment rules of the activity's Task Queue will be used to determine the Build ID.
273
+ sig { void }
274
+ def clear_use_workflow_build_id
275
+ end
276
+
277
+ # Priority metadata. If this message is not present, or any fields are not
278
+ # present, they inherit the values from the workflow.
279
+ sig { returns(T.nilable(Temporalio::Api::Common::V1::Priority)) }
280
+ def priority
281
+ end
282
+
283
+ # Priority metadata. If this message is not present, or any fields are not
284
+ # present, they inherit the values from the workflow.
285
+ sig { params(value: T.nilable(Temporalio::Api::Common::V1::Priority)).void }
286
+ def priority=(value)
287
+ end
288
+
289
+ # Priority metadata. If this message is not present, or any fields are not
290
+ # present, they inherit the values from the workflow.
291
+ sig { void }
292
+ def clear_priority
293
+ end
294
+
295
+ sig { params(field: String).returns(T.untyped) }
296
+ def [](field)
297
+ end
298
+
299
+ sig { params(field: String, value: T.untyped).void }
300
+ def []=(field, value)
301
+ end
302
+
303
+ sig { returns(T::Hash[Symbol, T.untyped]) }
304
+ def to_h
305
+ end
306
+
307
+ sig { params(str: String).returns(Temporalio::Api::Command::V1::ScheduleActivityTaskCommandAttributes) }
308
+ def self.decode(str)
309
+ end
310
+
311
+ sig { params(msg: Temporalio::Api::Command::V1::ScheduleActivityTaskCommandAttributes).returns(String) }
312
+ def self.encode(msg)
313
+ end
314
+
315
+ sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Command::V1::ScheduleActivityTaskCommandAttributes) }
316
+ def self.decode_json(str, **kw)
317
+ end
318
+
319
+ sig { params(msg: Temporalio::Api::Command::V1::ScheduleActivityTaskCommandAttributes, kw: T.untyped).returns(String) }
320
+ def self.encode_json(msg, **kw)
321
+ end
322
+
323
+ sig { returns(::Google::Protobuf::Descriptor) }
324
+ def self.descriptor
325
+ end
326
+ end
327
+
328
+ class Temporalio::Api::Command::V1::RequestCancelActivityTaskCommandAttributes
329
+ include ::Google::Protobuf::MessageExts
330
+ extend ::Google::Protobuf::MessageExts::ClassMethods
331
+
332
+ sig do
333
+ params(
334
+ scheduled_event_id: T.nilable(Integer)
335
+ ).void
336
+ end
337
+ def initialize(
338
+ scheduled_event_id: 0
339
+ )
340
+ end
341
+
342
+ # The `ACTIVITY_TASK_SCHEDULED` event id for the activity being cancelled.
343
+ sig { returns(Integer) }
344
+ def scheduled_event_id
345
+ end
346
+
347
+ # The `ACTIVITY_TASK_SCHEDULED` event id for the activity being cancelled.
348
+ sig { params(value: Integer).void }
349
+ def scheduled_event_id=(value)
350
+ end
351
+
352
+ # The `ACTIVITY_TASK_SCHEDULED` event id for the activity being cancelled.
353
+ sig { void }
354
+ def clear_scheduled_event_id
355
+ end
356
+
357
+ sig { params(field: String).returns(T.untyped) }
358
+ def [](field)
359
+ end
360
+
361
+ sig { params(field: String, value: T.untyped).void }
362
+ def []=(field, value)
363
+ end
364
+
365
+ sig { returns(T::Hash[Symbol, T.untyped]) }
366
+ def to_h
367
+ end
368
+
369
+ sig { params(str: String).returns(Temporalio::Api::Command::V1::RequestCancelActivityTaskCommandAttributes) }
370
+ def self.decode(str)
371
+ end
372
+
373
+ sig { params(msg: Temporalio::Api::Command::V1::RequestCancelActivityTaskCommandAttributes).returns(String) }
374
+ def self.encode(msg)
375
+ end
376
+
377
+ sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Command::V1::RequestCancelActivityTaskCommandAttributes) }
378
+ def self.decode_json(str, **kw)
379
+ end
380
+
381
+ sig { params(msg: Temporalio::Api::Command::V1::RequestCancelActivityTaskCommandAttributes, kw: T.untyped).returns(String) }
382
+ def self.encode_json(msg, **kw)
383
+ end
384
+
385
+ sig { returns(::Google::Protobuf::Descriptor) }
386
+ def self.descriptor
387
+ end
388
+ end
389
+
390
+ class Temporalio::Api::Command::V1::StartTimerCommandAttributes
391
+ include ::Google::Protobuf::MessageExts
392
+ extend ::Google::Protobuf::MessageExts::ClassMethods
393
+
394
+ sig do
395
+ params(
396
+ timer_id: T.nilable(String),
397
+ start_to_fire_timeout: T.nilable(Google::Protobuf::Duration)
398
+ ).void
399
+ end
400
+ def initialize(
401
+ timer_id: "",
402
+ start_to_fire_timeout: nil
403
+ )
404
+ end
405
+
406
+ # An id for the timer, currently live timers must have different ids. Typically autogenerated
407
+ # by the SDK.
408
+ sig { returns(String) }
409
+ def timer_id
410
+ end
411
+
412
+ # An id for the timer, currently live timers must have different ids. Typically autogenerated
413
+ # by the SDK.
414
+ sig { params(value: String).void }
415
+ def timer_id=(value)
416
+ end
417
+
418
+ # An id for the timer, currently live timers must have different ids. Typically autogenerated
419
+ # by the SDK.
420
+ sig { void }
421
+ def clear_timer_id
422
+ end
423
+
424
+ # How long until the timer fires, producing a `TIMER_FIRED` event.
425
+ #
426
+ # (-- api-linter: core::0140::prepositions=disabled
427
+ # aip.dev/not-precedent: "to" is used to indicate interval. --)
428
+ sig { returns(T.nilable(Google::Protobuf::Duration)) }
429
+ def start_to_fire_timeout
430
+ end
431
+
432
+ # How long until the timer fires, producing a `TIMER_FIRED` event.
433
+ #
434
+ # (-- api-linter: core::0140::prepositions=disabled
435
+ # aip.dev/not-precedent: "to" is used to indicate interval. --)
436
+ sig { params(value: T.nilable(Google::Protobuf::Duration)).void }
437
+ def start_to_fire_timeout=(value)
438
+ end
439
+
440
+ # How long until the timer fires, producing a `TIMER_FIRED` event.
441
+ #
442
+ # (-- api-linter: core::0140::prepositions=disabled
443
+ # aip.dev/not-precedent: "to" is used to indicate interval. --)
444
+ sig { void }
445
+ def clear_start_to_fire_timeout
446
+ end
447
+
448
+ sig { params(field: String).returns(T.untyped) }
449
+ def [](field)
450
+ end
451
+
452
+ sig { params(field: String, value: T.untyped).void }
453
+ def []=(field, value)
454
+ end
455
+
456
+ sig { returns(T::Hash[Symbol, T.untyped]) }
457
+ def to_h
458
+ end
459
+
460
+ sig { params(str: String).returns(Temporalio::Api::Command::V1::StartTimerCommandAttributes) }
461
+ def self.decode(str)
462
+ end
463
+
464
+ sig { params(msg: Temporalio::Api::Command::V1::StartTimerCommandAttributes).returns(String) }
465
+ def self.encode(msg)
466
+ end
467
+
468
+ sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Command::V1::StartTimerCommandAttributes) }
469
+ def self.decode_json(str, **kw)
470
+ end
471
+
472
+ sig { params(msg: Temporalio::Api::Command::V1::StartTimerCommandAttributes, kw: T.untyped).returns(String) }
473
+ def self.encode_json(msg, **kw)
474
+ end
475
+
476
+ sig { returns(::Google::Protobuf::Descriptor) }
477
+ def self.descriptor
478
+ end
479
+ end
480
+
481
+ class Temporalio::Api::Command::V1::CompleteWorkflowExecutionCommandAttributes
482
+ include ::Google::Protobuf::MessageExts
483
+ extend ::Google::Protobuf::MessageExts::ClassMethods
484
+
485
+ sig do
486
+ params(
487
+ result: T.nilable(Temporalio::Api::Common::V1::Payloads)
488
+ ).void
489
+ end
490
+ def initialize(
491
+ result: nil
492
+ )
493
+ end
494
+
495
+ sig { returns(T.nilable(Temporalio::Api::Common::V1::Payloads)) }
496
+ def result
497
+ end
498
+
499
+ sig { params(value: T.nilable(Temporalio::Api::Common::V1::Payloads)).void }
500
+ def result=(value)
501
+ end
502
+
503
+ sig { void }
504
+ def clear_result
505
+ end
506
+
507
+ sig { params(field: String).returns(T.untyped) }
508
+ def [](field)
509
+ end
510
+
511
+ sig { params(field: String, value: T.untyped).void }
512
+ def []=(field, value)
513
+ end
514
+
515
+ sig { returns(T::Hash[Symbol, T.untyped]) }
516
+ def to_h
517
+ end
518
+
519
+ sig { params(str: String).returns(Temporalio::Api::Command::V1::CompleteWorkflowExecutionCommandAttributes) }
520
+ def self.decode(str)
521
+ end
522
+
523
+ sig { params(msg: Temporalio::Api::Command::V1::CompleteWorkflowExecutionCommandAttributes).returns(String) }
524
+ def self.encode(msg)
525
+ end
526
+
527
+ sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Command::V1::CompleteWorkflowExecutionCommandAttributes) }
528
+ def self.decode_json(str, **kw)
529
+ end
530
+
531
+ sig { params(msg: Temporalio::Api::Command::V1::CompleteWorkflowExecutionCommandAttributes, kw: T.untyped).returns(String) }
532
+ def self.encode_json(msg, **kw)
533
+ end
534
+
535
+ sig { returns(::Google::Protobuf::Descriptor) }
536
+ def self.descriptor
537
+ end
538
+ end
539
+
540
+ class Temporalio::Api::Command::V1::FailWorkflowExecutionCommandAttributes
541
+ include ::Google::Protobuf::MessageExts
542
+ extend ::Google::Protobuf::MessageExts::ClassMethods
543
+
544
+ sig do
545
+ params(
546
+ failure: T.nilable(Temporalio::Api::Failure::V1::Failure)
547
+ ).void
548
+ end
549
+ def initialize(
550
+ failure: nil
551
+ )
552
+ end
553
+
554
+ sig { returns(T.nilable(Temporalio::Api::Failure::V1::Failure)) }
555
+ def failure
556
+ end
557
+
558
+ sig { params(value: T.nilable(Temporalio::Api::Failure::V1::Failure)).void }
559
+ def failure=(value)
560
+ end
561
+
562
+ sig { void }
563
+ def clear_failure
564
+ end
565
+
566
+ sig { params(field: String).returns(T.untyped) }
567
+ def [](field)
568
+ end
569
+
570
+ sig { params(field: String, value: T.untyped).void }
571
+ def []=(field, value)
572
+ end
573
+
574
+ sig { returns(T::Hash[Symbol, T.untyped]) }
575
+ def to_h
576
+ end
577
+
578
+ sig { params(str: String).returns(Temporalio::Api::Command::V1::FailWorkflowExecutionCommandAttributes) }
579
+ def self.decode(str)
580
+ end
581
+
582
+ sig { params(msg: Temporalio::Api::Command::V1::FailWorkflowExecutionCommandAttributes).returns(String) }
583
+ def self.encode(msg)
584
+ end
585
+
586
+ sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Command::V1::FailWorkflowExecutionCommandAttributes) }
587
+ def self.decode_json(str, **kw)
588
+ end
589
+
590
+ sig { params(msg: Temporalio::Api::Command::V1::FailWorkflowExecutionCommandAttributes, kw: T.untyped).returns(String) }
591
+ def self.encode_json(msg, **kw)
592
+ end
593
+
594
+ sig { returns(::Google::Protobuf::Descriptor) }
595
+ def self.descriptor
596
+ end
597
+ end
598
+
599
+ class Temporalio::Api::Command::V1::CancelTimerCommandAttributes
600
+ include ::Google::Protobuf::MessageExts
601
+ extend ::Google::Protobuf::MessageExts::ClassMethods
602
+
603
+ sig do
604
+ params(
605
+ timer_id: T.nilable(String)
606
+ ).void
607
+ end
608
+ def initialize(
609
+ timer_id: ""
610
+ )
611
+ end
612
+
613
+ # The same timer id from the start timer command
614
+ sig { returns(String) }
615
+ def timer_id
616
+ end
617
+
618
+ # The same timer id from the start timer command
619
+ sig { params(value: String).void }
620
+ def timer_id=(value)
621
+ end
622
+
623
+ # The same timer id from the start timer command
624
+ sig { void }
625
+ def clear_timer_id
626
+ end
627
+
628
+ sig { params(field: String).returns(T.untyped) }
629
+ def [](field)
630
+ end
631
+
632
+ sig { params(field: String, value: T.untyped).void }
633
+ def []=(field, value)
634
+ end
635
+
636
+ sig { returns(T::Hash[Symbol, T.untyped]) }
637
+ def to_h
638
+ end
639
+
640
+ sig { params(str: String).returns(Temporalio::Api::Command::V1::CancelTimerCommandAttributes) }
641
+ def self.decode(str)
642
+ end
643
+
644
+ sig { params(msg: Temporalio::Api::Command::V1::CancelTimerCommandAttributes).returns(String) }
645
+ def self.encode(msg)
646
+ end
647
+
648
+ sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Command::V1::CancelTimerCommandAttributes) }
649
+ def self.decode_json(str, **kw)
650
+ end
651
+
652
+ sig { params(msg: Temporalio::Api::Command::V1::CancelTimerCommandAttributes, kw: T.untyped).returns(String) }
653
+ def self.encode_json(msg, **kw)
654
+ end
655
+
656
+ sig { returns(::Google::Protobuf::Descriptor) }
657
+ def self.descriptor
658
+ end
659
+ end
660
+
661
+ class Temporalio::Api::Command::V1::CancelWorkflowExecutionCommandAttributes
662
+ include ::Google::Protobuf::MessageExts
663
+ extend ::Google::Protobuf::MessageExts::ClassMethods
664
+
665
+ sig do
666
+ params(
667
+ details: T.nilable(Temporalio::Api::Common::V1::Payloads)
668
+ ).void
669
+ end
670
+ def initialize(
671
+ details: nil
672
+ )
673
+ end
674
+
675
+ sig { returns(T.nilable(Temporalio::Api::Common::V1::Payloads)) }
676
+ def details
677
+ end
678
+
679
+ sig { params(value: T.nilable(Temporalio::Api::Common::V1::Payloads)).void }
680
+ def details=(value)
681
+ end
682
+
683
+ sig { void }
684
+ def clear_details
685
+ end
686
+
687
+ sig { params(field: String).returns(T.untyped) }
688
+ def [](field)
689
+ end
690
+
691
+ sig { params(field: String, value: T.untyped).void }
692
+ def []=(field, value)
693
+ end
694
+
695
+ sig { returns(T::Hash[Symbol, T.untyped]) }
696
+ def to_h
697
+ end
698
+
699
+ sig { params(str: String).returns(Temporalio::Api::Command::V1::CancelWorkflowExecutionCommandAttributes) }
700
+ def self.decode(str)
701
+ end
702
+
703
+ sig { params(msg: Temporalio::Api::Command::V1::CancelWorkflowExecutionCommandAttributes).returns(String) }
704
+ def self.encode(msg)
705
+ end
706
+
707
+ sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Command::V1::CancelWorkflowExecutionCommandAttributes) }
708
+ def self.decode_json(str, **kw)
709
+ end
710
+
711
+ sig { params(msg: Temporalio::Api::Command::V1::CancelWorkflowExecutionCommandAttributes, kw: T.untyped).returns(String) }
712
+ def self.encode_json(msg, **kw)
713
+ end
714
+
715
+ sig { returns(::Google::Protobuf::Descriptor) }
716
+ def self.descriptor
717
+ end
718
+ end
719
+
720
+ class Temporalio::Api::Command::V1::RequestCancelExternalWorkflowExecutionCommandAttributes
721
+ include ::Google::Protobuf::MessageExts
722
+ extend ::Google::Protobuf::MessageExts::ClassMethods
723
+
724
+ sig do
725
+ params(
726
+ namespace: T.nilable(String),
727
+ workflow_id: T.nilable(String),
728
+ run_id: T.nilable(String),
729
+ control: T.nilable(String),
730
+ child_workflow_only: T.nilable(T::Boolean),
731
+ reason: T.nilable(String)
732
+ ).void
733
+ end
734
+ def initialize(
735
+ namespace: "",
736
+ workflow_id: "",
737
+ run_id: "",
738
+ control: "",
739
+ child_workflow_only: false,
740
+ reason: ""
741
+ )
742
+ end
743
+
744
+ # Deprecated. Cross-namespace operations are disabled by default as of server 1.30.1.
745
+ sig { returns(String) }
746
+ def namespace
747
+ end
748
+
749
+ # Deprecated. Cross-namespace operations are disabled by default as of server 1.30.1.
750
+ sig { params(value: String).void }
751
+ def namespace=(value)
752
+ end
753
+
754
+ # Deprecated. Cross-namespace operations are disabled by default as of server 1.30.1.
755
+ sig { void }
756
+ def clear_namespace
757
+ end
758
+
759
+ sig { returns(String) }
760
+ def workflow_id
761
+ end
762
+
763
+ sig { params(value: String).void }
764
+ def workflow_id=(value)
765
+ end
766
+
767
+ sig { void }
768
+ def clear_workflow_id
769
+ end
770
+
771
+ sig { returns(String) }
772
+ def run_id
773
+ end
774
+
775
+ sig { params(value: String).void }
776
+ def run_id=(value)
777
+ end
778
+
779
+ sig { void }
780
+ def clear_run_id
781
+ end
782
+
783
+ # Deprecated.
784
+ sig { returns(String) }
785
+ def control
786
+ end
787
+
788
+ # Deprecated.
789
+ sig { params(value: String).void }
790
+ def control=(value)
791
+ end
792
+
793
+ # Deprecated.
794
+ sig { void }
795
+ def clear_control
796
+ end
797
+
798
+ # Set this to true if the workflow being cancelled is a child of the workflow originating this
799
+ # command. The request will be rejected if it is set to true and the target workflow is *not*
800
+ # a child of the requesting workflow.
801
+ sig { returns(T::Boolean) }
802
+ def child_workflow_only
803
+ end
804
+
805
+ # Set this to true if the workflow being cancelled is a child of the workflow originating this
806
+ # command. The request will be rejected if it is set to true and the target workflow is *not*
807
+ # a child of the requesting workflow.
808
+ sig { params(value: T::Boolean).void }
809
+ def child_workflow_only=(value)
810
+ end
811
+
812
+ # Set this to true if the workflow being cancelled is a child of the workflow originating this
813
+ # command. The request will be rejected if it is set to true and the target workflow is *not*
814
+ # a child of the requesting workflow.
815
+ sig { void }
816
+ def clear_child_workflow_only
817
+ end
818
+
819
+ # Reason for requesting the cancellation
820
+ sig { returns(String) }
821
+ def reason
822
+ end
823
+
824
+ # Reason for requesting the cancellation
825
+ sig { params(value: String).void }
826
+ def reason=(value)
827
+ end
828
+
829
+ # Reason for requesting the cancellation
830
+ sig { void }
831
+ def clear_reason
832
+ end
833
+
834
+ sig { params(field: String).returns(T.untyped) }
835
+ def [](field)
836
+ end
837
+
838
+ sig { params(field: String, value: T.untyped).void }
839
+ def []=(field, value)
840
+ end
841
+
842
+ sig { returns(T::Hash[Symbol, T.untyped]) }
843
+ def to_h
844
+ end
845
+
846
+ sig { params(str: String).returns(Temporalio::Api::Command::V1::RequestCancelExternalWorkflowExecutionCommandAttributes) }
847
+ def self.decode(str)
848
+ end
849
+
850
+ sig { params(msg: Temporalio::Api::Command::V1::RequestCancelExternalWorkflowExecutionCommandAttributes).returns(String) }
851
+ def self.encode(msg)
852
+ end
853
+
854
+ sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Command::V1::RequestCancelExternalWorkflowExecutionCommandAttributes) }
855
+ def self.decode_json(str, **kw)
856
+ end
857
+
858
+ sig { params(msg: Temporalio::Api::Command::V1::RequestCancelExternalWorkflowExecutionCommandAttributes, kw: T.untyped).returns(String) }
859
+ def self.encode_json(msg, **kw)
860
+ end
861
+
862
+ sig { returns(::Google::Protobuf::Descriptor) }
863
+ def self.descriptor
864
+ end
865
+ end
866
+
867
+ class Temporalio::Api::Command::V1::SignalExternalWorkflowExecutionCommandAttributes
868
+ include ::Google::Protobuf::MessageExts
869
+ extend ::Google::Protobuf::MessageExts::ClassMethods
870
+
871
+ sig do
872
+ params(
873
+ namespace: T.nilable(String),
874
+ execution: T.nilable(Temporalio::Api::Common::V1::WorkflowExecution),
875
+ signal_name: T.nilable(String),
876
+ input: T.nilable(Temporalio::Api::Common::V1::Payloads),
877
+ control: T.nilable(String),
878
+ child_workflow_only: T.nilable(T::Boolean),
879
+ header: T.nilable(Temporalio::Api::Common::V1::Header)
880
+ ).void
881
+ end
882
+ def initialize(
883
+ namespace: "",
884
+ execution: nil,
885
+ signal_name: "",
886
+ input: nil,
887
+ control: "",
888
+ child_workflow_only: false,
889
+ header: nil
890
+ )
891
+ end
892
+
893
+ # Deprecated. Cross-namespace operations are disabled by default as of server 1.30.1.
894
+ sig { returns(String) }
895
+ def namespace
896
+ end
897
+
898
+ # Deprecated. Cross-namespace operations are disabled by default as of server 1.30.1.
899
+ sig { params(value: String).void }
900
+ def namespace=(value)
901
+ end
902
+
903
+ # Deprecated. Cross-namespace operations are disabled by default as of server 1.30.1.
904
+ sig { void }
905
+ def clear_namespace
906
+ end
907
+
908
+ sig { returns(T.nilable(Temporalio::Api::Common::V1::WorkflowExecution)) }
909
+ def execution
910
+ end
911
+
912
+ sig { params(value: T.nilable(Temporalio::Api::Common::V1::WorkflowExecution)).void }
913
+ def execution=(value)
914
+ end
915
+
916
+ sig { void }
917
+ def clear_execution
918
+ end
919
+
920
+ # The workflow author-defined name of the signal to send to the workflow.
921
+ sig { returns(String) }
922
+ def signal_name
923
+ end
924
+
925
+ # The workflow author-defined name of the signal to send to the workflow.
926
+ sig { params(value: String).void }
927
+ def signal_name=(value)
928
+ end
929
+
930
+ # The workflow author-defined name of the signal to send to the workflow.
931
+ sig { void }
932
+ def clear_signal_name
933
+ end
934
+
935
+ # Serialized value(s) to provide with the signal.
936
+ sig { returns(T.nilable(Temporalio::Api::Common::V1::Payloads)) }
937
+ def input
938
+ end
939
+
940
+ # Serialized value(s) to provide with the signal.
941
+ sig { params(value: T.nilable(Temporalio::Api::Common::V1::Payloads)).void }
942
+ def input=(value)
943
+ end
944
+
945
+ # Serialized value(s) to provide with the signal.
946
+ sig { void }
947
+ def clear_input
948
+ end
949
+
950
+ # Deprecated
951
+ sig { returns(String) }
952
+ def control
953
+ end
954
+
955
+ # Deprecated
956
+ sig { params(value: String).void }
957
+ def control=(value)
958
+ end
959
+
960
+ # Deprecated
961
+ sig { void }
962
+ def clear_control
963
+ end
964
+
965
+ # Set this to true if the workflow being cancelled is a child of the workflow originating this
966
+ # command. The request will be rejected if it is set to true and the target workflow is *not*
967
+ # a child of the requesting workflow.
968
+ sig { returns(T::Boolean) }
969
+ def child_workflow_only
970
+ end
971
+
972
+ # Set this to true if the workflow being cancelled is a child of the workflow originating this
973
+ # command. The request will be rejected if it is set to true and the target workflow is *not*
974
+ # a child of the requesting workflow.
975
+ sig { params(value: T::Boolean).void }
976
+ def child_workflow_only=(value)
977
+ end
978
+
979
+ # Set this to true if the workflow being cancelled is a child of the workflow originating this
980
+ # command. The request will be rejected if it is set to true and the target workflow is *not*
981
+ # a child of the requesting workflow.
982
+ sig { void }
983
+ def clear_child_workflow_only
984
+ end
985
+
986
+ # Headers that are passed by the workflow that is sending a signal to the external
987
+ # workflow that is receiving this signal.
988
+ sig { returns(T.nilable(Temporalio::Api::Common::V1::Header)) }
989
+ def header
990
+ end
991
+
992
+ # Headers that are passed by the workflow that is sending a signal to the external
993
+ # workflow that is receiving this signal.
994
+ sig { params(value: T.nilable(Temporalio::Api::Common::V1::Header)).void }
995
+ def header=(value)
996
+ end
997
+
998
+ # Headers that are passed by the workflow that is sending a signal to the external
999
+ # workflow that is receiving this signal.
1000
+ sig { void }
1001
+ def clear_header
1002
+ end
1003
+
1004
+ sig { params(field: String).returns(T.untyped) }
1005
+ def [](field)
1006
+ end
1007
+
1008
+ sig { params(field: String, value: T.untyped).void }
1009
+ def []=(field, value)
1010
+ end
1011
+
1012
+ sig { returns(T::Hash[Symbol, T.untyped]) }
1013
+ def to_h
1014
+ end
1015
+
1016
+ sig { params(str: String).returns(Temporalio::Api::Command::V1::SignalExternalWorkflowExecutionCommandAttributes) }
1017
+ def self.decode(str)
1018
+ end
1019
+
1020
+ sig { params(msg: Temporalio::Api::Command::V1::SignalExternalWorkflowExecutionCommandAttributes).returns(String) }
1021
+ def self.encode(msg)
1022
+ end
1023
+
1024
+ sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Command::V1::SignalExternalWorkflowExecutionCommandAttributes) }
1025
+ def self.decode_json(str, **kw)
1026
+ end
1027
+
1028
+ sig { params(msg: Temporalio::Api::Command::V1::SignalExternalWorkflowExecutionCommandAttributes, kw: T.untyped).returns(String) }
1029
+ def self.encode_json(msg, **kw)
1030
+ end
1031
+
1032
+ sig { returns(::Google::Protobuf::Descriptor) }
1033
+ def self.descriptor
1034
+ end
1035
+ end
1036
+
1037
+ class Temporalio::Api::Command::V1::UpsertWorkflowSearchAttributesCommandAttributes
1038
+ include ::Google::Protobuf::MessageExts
1039
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1040
+
1041
+ sig do
1042
+ params(
1043
+ search_attributes: T.nilable(Temporalio::Api::Common::V1::SearchAttributes)
1044
+ ).void
1045
+ end
1046
+ def initialize(
1047
+ search_attributes: nil
1048
+ )
1049
+ end
1050
+
1051
+ sig { returns(T.nilable(Temporalio::Api::Common::V1::SearchAttributes)) }
1052
+ def search_attributes
1053
+ end
1054
+
1055
+ sig { params(value: T.nilable(Temporalio::Api::Common::V1::SearchAttributes)).void }
1056
+ def search_attributes=(value)
1057
+ end
1058
+
1059
+ sig { void }
1060
+ def clear_search_attributes
1061
+ end
1062
+
1063
+ sig { params(field: String).returns(T.untyped) }
1064
+ def [](field)
1065
+ end
1066
+
1067
+ sig { params(field: String, value: T.untyped).void }
1068
+ def []=(field, value)
1069
+ end
1070
+
1071
+ sig { returns(T::Hash[Symbol, T.untyped]) }
1072
+ def to_h
1073
+ end
1074
+
1075
+ sig { params(str: String).returns(Temporalio::Api::Command::V1::UpsertWorkflowSearchAttributesCommandAttributes) }
1076
+ def self.decode(str)
1077
+ end
1078
+
1079
+ sig { params(msg: Temporalio::Api::Command::V1::UpsertWorkflowSearchAttributesCommandAttributes).returns(String) }
1080
+ def self.encode(msg)
1081
+ end
1082
+
1083
+ sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Command::V1::UpsertWorkflowSearchAttributesCommandAttributes) }
1084
+ def self.decode_json(str, **kw)
1085
+ end
1086
+
1087
+ sig { params(msg: Temporalio::Api::Command::V1::UpsertWorkflowSearchAttributesCommandAttributes, kw: T.untyped).returns(String) }
1088
+ def self.encode_json(msg, **kw)
1089
+ end
1090
+
1091
+ sig { returns(::Google::Protobuf::Descriptor) }
1092
+ def self.descriptor
1093
+ end
1094
+ end
1095
+
1096
+ class Temporalio::Api::Command::V1::ModifyWorkflowPropertiesCommandAttributes
1097
+ include ::Google::Protobuf::MessageExts
1098
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1099
+
1100
+ sig do
1101
+ params(
1102
+ upserted_memo: T.nilable(Temporalio::Api::Common::V1::Memo)
1103
+ ).void
1104
+ end
1105
+ def initialize(
1106
+ upserted_memo: nil
1107
+ )
1108
+ end
1109
+
1110
+ # If set, update the workflow memo with the provided values. The values will be merged with
1111
+ # the existing memo. If the user wants to delete values, a default/empty Payload should be
1112
+ # used as the value for the key being deleted.
1113
+ sig { returns(T.nilable(Temporalio::Api::Common::V1::Memo)) }
1114
+ def upserted_memo
1115
+ end
1116
+
1117
+ # If set, update the workflow memo with the provided values. The values will be merged with
1118
+ # the existing memo. If the user wants to delete values, a default/empty Payload should be
1119
+ # used as the value for the key being deleted.
1120
+ sig { params(value: T.nilable(Temporalio::Api::Common::V1::Memo)).void }
1121
+ def upserted_memo=(value)
1122
+ end
1123
+
1124
+ # If set, update the workflow memo with the provided values. The values will be merged with
1125
+ # the existing memo. If the user wants to delete values, a default/empty Payload should be
1126
+ # used as the value for the key being deleted.
1127
+ sig { void }
1128
+ def clear_upserted_memo
1129
+ end
1130
+
1131
+ sig { params(field: String).returns(T.untyped) }
1132
+ def [](field)
1133
+ end
1134
+
1135
+ sig { params(field: String, value: T.untyped).void }
1136
+ def []=(field, value)
1137
+ end
1138
+
1139
+ sig { returns(T::Hash[Symbol, T.untyped]) }
1140
+ def to_h
1141
+ end
1142
+
1143
+ sig { params(str: String).returns(Temporalio::Api::Command::V1::ModifyWorkflowPropertiesCommandAttributes) }
1144
+ def self.decode(str)
1145
+ end
1146
+
1147
+ sig { params(msg: Temporalio::Api::Command::V1::ModifyWorkflowPropertiesCommandAttributes).returns(String) }
1148
+ def self.encode(msg)
1149
+ end
1150
+
1151
+ sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Command::V1::ModifyWorkflowPropertiesCommandAttributes) }
1152
+ def self.decode_json(str, **kw)
1153
+ end
1154
+
1155
+ sig { params(msg: Temporalio::Api::Command::V1::ModifyWorkflowPropertiesCommandAttributes, kw: T.untyped).returns(String) }
1156
+ def self.encode_json(msg, **kw)
1157
+ end
1158
+
1159
+ sig { returns(::Google::Protobuf::Descriptor) }
1160
+ def self.descriptor
1161
+ end
1162
+ end
1163
+
1164
+ class Temporalio::Api::Command::V1::RecordMarkerCommandAttributes
1165
+ include ::Google::Protobuf::MessageExts
1166
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1167
+
1168
+ sig do
1169
+ params(
1170
+ marker_name: T.nilable(String),
1171
+ details: T.nilable(T::Hash[String, T.nilable(Temporalio::Api::Common::V1::Payloads)]),
1172
+ header: T.nilable(Temporalio::Api::Common::V1::Header),
1173
+ failure: T.nilable(Temporalio::Api::Failure::V1::Failure)
1174
+ ).void
1175
+ end
1176
+ def initialize(
1177
+ marker_name: "",
1178
+ details: ::Google::Protobuf::Map.new(:string, :message, Temporalio::Api::Common::V1::Payloads),
1179
+ header: nil,
1180
+ failure: nil
1181
+ )
1182
+ end
1183
+
1184
+ sig { returns(String) }
1185
+ def marker_name
1186
+ end
1187
+
1188
+ sig { params(value: String).void }
1189
+ def marker_name=(value)
1190
+ end
1191
+
1192
+ sig { void }
1193
+ def clear_marker_name
1194
+ end
1195
+
1196
+ sig { returns(T::Hash[String, T.nilable(Temporalio::Api::Common::V1::Payloads)]) }
1197
+ def details
1198
+ end
1199
+
1200
+ sig { params(value: ::Google::Protobuf::Map).void }
1201
+ def details=(value)
1202
+ end
1203
+
1204
+ sig { void }
1205
+ def clear_details
1206
+ end
1207
+
1208
+ sig { returns(T.nilable(Temporalio::Api::Common::V1::Header)) }
1209
+ def header
1210
+ end
1211
+
1212
+ sig { params(value: T.nilable(Temporalio::Api::Common::V1::Header)).void }
1213
+ def header=(value)
1214
+ end
1215
+
1216
+ sig { void }
1217
+ def clear_header
1218
+ end
1219
+
1220
+ sig { returns(T.nilable(Temporalio::Api::Failure::V1::Failure)) }
1221
+ def failure
1222
+ end
1223
+
1224
+ sig { params(value: T.nilable(Temporalio::Api::Failure::V1::Failure)).void }
1225
+ def failure=(value)
1226
+ end
1227
+
1228
+ sig { void }
1229
+ def clear_failure
1230
+ end
1231
+
1232
+ sig { params(field: String).returns(T.untyped) }
1233
+ def [](field)
1234
+ end
1235
+
1236
+ sig { params(field: String, value: T.untyped).void }
1237
+ def []=(field, value)
1238
+ end
1239
+
1240
+ sig { returns(T::Hash[Symbol, T.untyped]) }
1241
+ def to_h
1242
+ end
1243
+
1244
+ sig { params(str: String).returns(Temporalio::Api::Command::V1::RecordMarkerCommandAttributes) }
1245
+ def self.decode(str)
1246
+ end
1247
+
1248
+ sig { params(msg: Temporalio::Api::Command::V1::RecordMarkerCommandAttributes).returns(String) }
1249
+ def self.encode(msg)
1250
+ end
1251
+
1252
+ sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Command::V1::RecordMarkerCommandAttributes) }
1253
+ def self.decode_json(str, **kw)
1254
+ end
1255
+
1256
+ sig { params(msg: Temporalio::Api::Command::V1::RecordMarkerCommandAttributes, kw: T.untyped).returns(String) }
1257
+ def self.encode_json(msg, **kw)
1258
+ end
1259
+
1260
+ sig { returns(::Google::Protobuf::Descriptor) }
1261
+ def self.descriptor
1262
+ end
1263
+ end
1264
+
1265
+ class Temporalio::Api::Command::V1::ContinueAsNewWorkflowExecutionCommandAttributes
1266
+ include ::Google::Protobuf::MessageExts
1267
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1268
+
1269
+ sig do
1270
+ params(
1271
+ workflow_type: T.nilable(Temporalio::Api::Common::V1::WorkflowType),
1272
+ task_queue: T.nilable(Temporalio::Api::TaskQueue::V1::TaskQueue),
1273
+ input: T.nilable(Temporalio::Api::Common::V1::Payloads),
1274
+ workflow_run_timeout: T.nilable(Google::Protobuf::Duration),
1275
+ workflow_task_timeout: T.nilable(Google::Protobuf::Duration),
1276
+ backoff_start_interval: T.nilable(Google::Protobuf::Duration),
1277
+ retry_policy: T.nilable(Temporalio::Api::Common::V1::RetryPolicy),
1278
+ initiator: T.nilable(T.any(Symbol, String, Integer)),
1279
+ failure: T.nilable(Temporalio::Api::Failure::V1::Failure),
1280
+ last_completion_result: T.nilable(Temporalio::Api::Common::V1::Payloads),
1281
+ cron_schedule: T.nilable(String),
1282
+ header: T.nilable(Temporalio::Api::Common::V1::Header),
1283
+ memo: T.nilable(Temporalio::Api::Common::V1::Memo),
1284
+ search_attributes: T.nilable(Temporalio::Api::Common::V1::SearchAttributes),
1285
+ inherit_build_id: T.nilable(T::Boolean),
1286
+ initial_versioning_behavior: T.nilable(T.any(Symbol, String, Integer))
1287
+ ).void
1288
+ end
1289
+ def initialize(
1290
+ workflow_type: nil,
1291
+ task_queue: nil,
1292
+ input: nil,
1293
+ workflow_run_timeout: nil,
1294
+ workflow_task_timeout: nil,
1295
+ backoff_start_interval: nil,
1296
+ retry_policy: nil,
1297
+ initiator: :CONTINUE_AS_NEW_INITIATOR_UNSPECIFIED,
1298
+ failure: nil,
1299
+ last_completion_result: nil,
1300
+ cron_schedule: "",
1301
+ header: nil,
1302
+ memo: nil,
1303
+ search_attributes: nil,
1304
+ inherit_build_id: false,
1305
+ initial_versioning_behavior: :CONTINUE_AS_NEW_VERSIONING_BEHAVIOR_UNSPECIFIED
1306
+ )
1307
+ end
1308
+
1309
+ sig { returns(T.nilable(Temporalio::Api::Common::V1::WorkflowType)) }
1310
+ def workflow_type
1311
+ end
1312
+
1313
+ sig { params(value: T.nilable(Temporalio::Api::Common::V1::WorkflowType)).void }
1314
+ def workflow_type=(value)
1315
+ end
1316
+
1317
+ sig { void }
1318
+ def clear_workflow_type
1319
+ end
1320
+
1321
+ sig { returns(T.nilable(Temporalio::Api::TaskQueue::V1::TaskQueue)) }
1322
+ def task_queue
1323
+ end
1324
+
1325
+ sig { params(value: T.nilable(Temporalio::Api::TaskQueue::V1::TaskQueue)).void }
1326
+ def task_queue=(value)
1327
+ end
1328
+
1329
+ sig { void }
1330
+ def clear_task_queue
1331
+ end
1332
+
1333
+ sig { returns(T.nilable(Temporalio::Api::Common::V1::Payloads)) }
1334
+ def input
1335
+ end
1336
+
1337
+ sig { params(value: T.nilable(Temporalio::Api::Common::V1::Payloads)).void }
1338
+ def input=(value)
1339
+ end
1340
+
1341
+ sig { void }
1342
+ def clear_input
1343
+ end
1344
+
1345
+ # Timeout of a single workflow run.
1346
+ sig { returns(T.nilable(Google::Protobuf::Duration)) }
1347
+ def workflow_run_timeout
1348
+ end
1349
+
1350
+ # Timeout of a single workflow run.
1351
+ sig { params(value: T.nilable(Google::Protobuf::Duration)).void }
1352
+ def workflow_run_timeout=(value)
1353
+ end
1354
+
1355
+ # Timeout of a single workflow run.
1356
+ sig { void }
1357
+ def clear_workflow_run_timeout
1358
+ end
1359
+
1360
+ # Timeout of a single workflow task.
1361
+ sig { returns(T.nilable(Google::Protobuf::Duration)) }
1362
+ def workflow_task_timeout
1363
+ end
1364
+
1365
+ # Timeout of a single workflow task.
1366
+ sig { params(value: T.nilable(Google::Protobuf::Duration)).void }
1367
+ def workflow_task_timeout=(value)
1368
+ end
1369
+
1370
+ # Timeout of a single workflow task.
1371
+ sig { void }
1372
+ def clear_workflow_task_timeout
1373
+ end
1374
+
1375
+ # How long the workflow start will be delayed - not really a "backoff" in the traditional sense.
1376
+ sig { returns(T.nilable(Google::Protobuf::Duration)) }
1377
+ def backoff_start_interval
1378
+ end
1379
+
1380
+ # How long the workflow start will be delayed - not really a "backoff" in the traditional sense.
1381
+ sig { params(value: T.nilable(Google::Protobuf::Duration)).void }
1382
+ def backoff_start_interval=(value)
1383
+ end
1384
+
1385
+ # How long the workflow start will be delayed - not really a "backoff" in the traditional sense.
1386
+ sig { void }
1387
+ def clear_backoff_start_interval
1388
+ end
1389
+
1390
+ sig { returns(T.nilable(Temporalio::Api::Common::V1::RetryPolicy)) }
1391
+ def retry_policy
1392
+ end
1393
+
1394
+ sig { params(value: T.nilable(Temporalio::Api::Common::V1::RetryPolicy)).void }
1395
+ def retry_policy=(value)
1396
+ end
1397
+
1398
+ sig { void }
1399
+ def clear_retry_policy
1400
+ end
1401
+
1402
+ # Should be removed
1403
+ sig { returns(T.any(Symbol, Integer)) }
1404
+ def initiator
1405
+ end
1406
+
1407
+ # Should be removed
1408
+ sig { params(value: T.any(Symbol, String, Integer)).void }
1409
+ def initiator=(value)
1410
+ end
1411
+
1412
+ # Should be removed
1413
+ sig { void }
1414
+ def clear_initiator
1415
+ end
1416
+
1417
+ # Should be removed
1418
+ sig { returns(T.nilable(Temporalio::Api::Failure::V1::Failure)) }
1419
+ def failure
1420
+ end
1421
+
1422
+ # Should be removed
1423
+ sig { params(value: T.nilable(Temporalio::Api::Failure::V1::Failure)).void }
1424
+ def failure=(value)
1425
+ end
1426
+
1427
+ # Should be removed
1428
+ sig { void }
1429
+ def clear_failure
1430
+ end
1431
+
1432
+ # Should be removed
1433
+ sig { returns(T.nilable(Temporalio::Api::Common::V1::Payloads)) }
1434
+ def last_completion_result
1435
+ end
1436
+
1437
+ # Should be removed
1438
+ sig { params(value: T.nilable(Temporalio::Api::Common::V1::Payloads)).void }
1439
+ def last_completion_result=(value)
1440
+ end
1441
+
1442
+ # Should be removed
1443
+ sig { void }
1444
+ def clear_last_completion_result
1445
+ end
1446
+
1447
+ # Should be removed. Not necessarily unused but unclear and not exposed by SDKs.
1448
+ sig { returns(String) }
1449
+ def cron_schedule
1450
+ end
1451
+
1452
+ # Should be removed. Not necessarily unused but unclear and not exposed by SDKs.
1453
+ sig { params(value: String).void }
1454
+ def cron_schedule=(value)
1455
+ end
1456
+
1457
+ # Should be removed. Not necessarily unused but unclear and not exposed by SDKs.
1458
+ sig { void }
1459
+ def clear_cron_schedule
1460
+ end
1461
+
1462
+ sig { returns(T.nilable(Temporalio::Api::Common::V1::Header)) }
1463
+ def header
1464
+ end
1465
+
1466
+ sig { params(value: T.nilable(Temporalio::Api::Common::V1::Header)).void }
1467
+ def header=(value)
1468
+ end
1469
+
1470
+ sig { void }
1471
+ def clear_header
1472
+ end
1473
+
1474
+ sig { returns(T.nilable(Temporalio::Api::Common::V1::Memo)) }
1475
+ def memo
1476
+ end
1477
+
1478
+ sig { params(value: T.nilable(Temporalio::Api::Common::V1::Memo)).void }
1479
+ def memo=(value)
1480
+ end
1481
+
1482
+ sig { void }
1483
+ def clear_memo
1484
+ end
1485
+
1486
+ sig { returns(T.nilable(Temporalio::Api::Common::V1::SearchAttributes)) }
1487
+ def search_attributes
1488
+ end
1489
+
1490
+ sig { params(value: T.nilable(Temporalio::Api::Common::V1::SearchAttributes)).void }
1491
+ def search_attributes=(value)
1492
+ end
1493
+
1494
+ sig { void }
1495
+ def clear_search_attributes
1496
+ end
1497
+
1498
+ # If this is set, the new execution inherits the Build ID of the current execution. Otherwise,
1499
+ # the assignment rules will be used to independently assign a Build ID to the new execution.
1500
+ # Deprecated. Only considered for versioning v0.2.
1501
+ sig { returns(T::Boolean) }
1502
+ def inherit_build_id
1503
+ end
1504
+
1505
+ # If this is set, the new execution inherits the Build ID of the current execution. Otherwise,
1506
+ # the assignment rules will be used to independently assign a Build ID to the new execution.
1507
+ # Deprecated. Only considered for versioning v0.2.
1508
+ sig { params(value: T::Boolean).void }
1509
+ def inherit_build_id=(value)
1510
+ end
1511
+
1512
+ # If this is set, the new execution inherits the Build ID of the current execution. Otherwise,
1513
+ # the assignment rules will be used to independently assign a Build ID to the new execution.
1514
+ # Deprecated. Only considered for versioning v0.2.
1515
+ sig { void }
1516
+ def clear_inherit_build_id
1517
+ end
1518
+
1519
+ # Experimental. Optionally decide the versioning behavior that the first task of the new run should use.
1520
+ # For example, choose to AutoUpgrade on continue-as-new instead of inheriting the pinned version
1521
+ # of the previous run.
1522
+ sig { returns(T.any(Symbol, Integer)) }
1523
+ def initial_versioning_behavior
1524
+ end
1525
+
1526
+ # Experimental. Optionally decide the versioning behavior that the first task of the new run should use.
1527
+ # For example, choose to AutoUpgrade on continue-as-new instead of inheriting the pinned version
1528
+ # of the previous run.
1529
+ sig { params(value: T.any(Symbol, String, Integer)).void }
1530
+ def initial_versioning_behavior=(value)
1531
+ end
1532
+
1533
+ # Experimental. Optionally decide the versioning behavior that the first task of the new run should use.
1534
+ # For example, choose to AutoUpgrade on continue-as-new instead of inheriting the pinned version
1535
+ # of the previous run.
1536
+ sig { void }
1537
+ def clear_initial_versioning_behavior
1538
+ end
1539
+
1540
+ sig { params(field: String).returns(T.untyped) }
1541
+ def [](field)
1542
+ end
1543
+
1544
+ sig { params(field: String, value: T.untyped).void }
1545
+ def []=(field, value)
1546
+ end
1547
+
1548
+ sig { returns(T::Hash[Symbol, T.untyped]) }
1549
+ def to_h
1550
+ end
1551
+
1552
+ sig { params(str: String).returns(Temporalio::Api::Command::V1::ContinueAsNewWorkflowExecutionCommandAttributes) }
1553
+ def self.decode(str)
1554
+ end
1555
+
1556
+ sig { params(msg: Temporalio::Api::Command::V1::ContinueAsNewWorkflowExecutionCommandAttributes).returns(String) }
1557
+ def self.encode(msg)
1558
+ end
1559
+
1560
+ sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Command::V1::ContinueAsNewWorkflowExecutionCommandAttributes) }
1561
+ def self.decode_json(str, **kw)
1562
+ end
1563
+
1564
+ sig { params(msg: Temporalio::Api::Command::V1::ContinueAsNewWorkflowExecutionCommandAttributes, kw: T.untyped).returns(String) }
1565
+ def self.encode_json(msg, **kw)
1566
+ end
1567
+
1568
+ sig { returns(::Google::Protobuf::Descriptor) }
1569
+ def self.descriptor
1570
+ end
1571
+ end
1572
+
1573
+ class Temporalio::Api::Command::V1::StartChildWorkflowExecutionCommandAttributes
1574
+ include ::Google::Protobuf::MessageExts
1575
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1576
+
1577
+ sig do
1578
+ params(
1579
+ namespace: T.nilable(String),
1580
+ workflow_id: T.nilable(String),
1581
+ workflow_type: T.nilable(Temporalio::Api::Common::V1::WorkflowType),
1582
+ task_queue: T.nilable(Temporalio::Api::TaskQueue::V1::TaskQueue),
1583
+ input: T.nilable(Temporalio::Api::Common::V1::Payloads),
1584
+ workflow_execution_timeout: T.nilable(Google::Protobuf::Duration),
1585
+ workflow_run_timeout: T.nilable(Google::Protobuf::Duration),
1586
+ workflow_task_timeout: T.nilable(Google::Protobuf::Duration),
1587
+ parent_close_policy: T.nilable(T.any(Symbol, String, Integer)),
1588
+ control: T.nilable(String),
1589
+ workflow_id_reuse_policy: T.nilable(T.any(Symbol, String, Integer)),
1590
+ retry_policy: T.nilable(Temporalio::Api::Common::V1::RetryPolicy),
1591
+ cron_schedule: T.nilable(String),
1592
+ header: T.nilable(Temporalio::Api::Common::V1::Header),
1593
+ memo: T.nilable(Temporalio::Api::Common::V1::Memo),
1594
+ search_attributes: T.nilable(Temporalio::Api::Common::V1::SearchAttributes),
1595
+ inherit_build_id: T.nilable(T::Boolean),
1596
+ priority: T.nilable(Temporalio::Api::Common::V1::Priority),
1597
+ versioning_override: T.nilable(Temporalio::Api::Workflow::V1::VersioningOverride)
1598
+ ).void
1599
+ end
1600
+ def initialize(
1601
+ namespace: "",
1602
+ workflow_id: "",
1603
+ workflow_type: nil,
1604
+ task_queue: nil,
1605
+ input: nil,
1606
+ workflow_execution_timeout: nil,
1607
+ workflow_run_timeout: nil,
1608
+ workflow_task_timeout: nil,
1609
+ parent_close_policy: :PARENT_CLOSE_POLICY_UNSPECIFIED,
1610
+ control: "",
1611
+ workflow_id_reuse_policy: :WORKFLOW_ID_REUSE_POLICY_UNSPECIFIED,
1612
+ retry_policy: nil,
1613
+ cron_schedule: "",
1614
+ header: nil,
1615
+ memo: nil,
1616
+ search_attributes: nil,
1617
+ inherit_build_id: false,
1618
+ priority: nil,
1619
+ versioning_override: nil
1620
+ )
1621
+ end
1622
+
1623
+ # Deprecated. Cross-namespace operations are disabled by default as of server 1.30.1.
1624
+ sig { returns(String) }
1625
+ def namespace
1626
+ end
1627
+
1628
+ # Deprecated. Cross-namespace operations are disabled by default as of server 1.30.1.
1629
+ sig { params(value: String).void }
1630
+ def namespace=(value)
1631
+ end
1632
+
1633
+ # Deprecated. Cross-namespace operations are disabled by default as of server 1.30.1.
1634
+ sig { void }
1635
+ def clear_namespace
1636
+ end
1637
+
1638
+ sig { returns(String) }
1639
+ def workflow_id
1640
+ end
1641
+
1642
+ sig { params(value: String).void }
1643
+ def workflow_id=(value)
1644
+ end
1645
+
1646
+ sig { void }
1647
+ def clear_workflow_id
1648
+ end
1649
+
1650
+ sig { returns(T.nilable(Temporalio::Api::Common::V1::WorkflowType)) }
1651
+ def workflow_type
1652
+ end
1653
+
1654
+ sig { params(value: T.nilable(Temporalio::Api::Common::V1::WorkflowType)).void }
1655
+ def workflow_type=(value)
1656
+ end
1657
+
1658
+ sig { void }
1659
+ def clear_workflow_type
1660
+ end
1661
+
1662
+ sig { returns(T.nilable(Temporalio::Api::TaskQueue::V1::TaskQueue)) }
1663
+ def task_queue
1664
+ end
1665
+
1666
+ sig { params(value: T.nilable(Temporalio::Api::TaskQueue::V1::TaskQueue)).void }
1667
+ def task_queue=(value)
1668
+ end
1669
+
1670
+ sig { void }
1671
+ def clear_task_queue
1672
+ end
1673
+
1674
+ sig { returns(T.nilable(Temporalio::Api::Common::V1::Payloads)) }
1675
+ def input
1676
+ end
1677
+
1678
+ sig { params(value: T.nilable(Temporalio::Api::Common::V1::Payloads)).void }
1679
+ def input=(value)
1680
+ end
1681
+
1682
+ sig { void }
1683
+ def clear_input
1684
+ end
1685
+
1686
+ # Total workflow execution timeout including retries and continue as new.
1687
+ sig { returns(T.nilable(Google::Protobuf::Duration)) }
1688
+ def workflow_execution_timeout
1689
+ end
1690
+
1691
+ # Total workflow execution timeout including retries and continue as new.
1692
+ sig { params(value: T.nilable(Google::Protobuf::Duration)).void }
1693
+ def workflow_execution_timeout=(value)
1694
+ end
1695
+
1696
+ # Total workflow execution timeout including retries and continue as new.
1697
+ sig { void }
1698
+ def clear_workflow_execution_timeout
1699
+ end
1700
+
1701
+ # Timeout of a single workflow run.
1702
+ sig { returns(T.nilable(Google::Protobuf::Duration)) }
1703
+ def workflow_run_timeout
1704
+ end
1705
+
1706
+ # Timeout of a single workflow run.
1707
+ sig { params(value: T.nilable(Google::Protobuf::Duration)).void }
1708
+ def workflow_run_timeout=(value)
1709
+ end
1710
+
1711
+ # Timeout of a single workflow run.
1712
+ sig { void }
1713
+ def clear_workflow_run_timeout
1714
+ end
1715
+
1716
+ # Timeout of a single workflow task.
1717
+ sig { returns(T.nilable(Google::Protobuf::Duration)) }
1718
+ def workflow_task_timeout
1719
+ end
1720
+
1721
+ # Timeout of a single workflow task.
1722
+ sig { params(value: T.nilable(Google::Protobuf::Duration)).void }
1723
+ def workflow_task_timeout=(value)
1724
+ end
1725
+
1726
+ # Timeout of a single workflow task.
1727
+ sig { void }
1728
+ def clear_workflow_task_timeout
1729
+ end
1730
+
1731
+ # Default: PARENT_CLOSE_POLICY_TERMINATE.
1732
+ sig { returns(T.any(Symbol, Integer)) }
1733
+ def parent_close_policy
1734
+ end
1735
+
1736
+ # Default: PARENT_CLOSE_POLICY_TERMINATE.
1737
+ sig { params(value: T.any(Symbol, String, Integer)).void }
1738
+ def parent_close_policy=(value)
1739
+ end
1740
+
1741
+ # Default: PARENT_CLOSE_POLICY_TERMINATE.
1742
+ sig { void }
1743
+ def clear_parent_close_policy
1744
+ end
1745
+
1746
+ sig { returns(String) }
1747
+ def control
1748
+ end
1749
+
1750
+ sig { params(value: String).void }
1751
+ def control=(value)
1752
+ end
1753
+
1754
+ sig { void }
1755
+ def clear_control
1756
+ end
1757
+
1758
+ # Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.
1759
+ sig { returns(T.any(Symbol, Integer)) }
1760
+ def workflow_id_reuse_policy
1761
+ end
1762
+
1763
+ # Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.
1764
+ sig { params(value: T.any(Symbol, String, Integer)).void }
1765
+ def workflow_id_reuse_policy=(value)
1766
+ end
1767
+
1768
+ # Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.
1769
+ sig { void }
1770
+ def clear_workflow_id_reuse_policy
1771
+ end
1772
+
1773
+ sig { returns(T.nilable(Temporalio::Api::Common::V1::RetryPolicy)) }
1774
+ def retry_policy
1775
+ end
1776
+
1777
+ sig { params(value: T.nilable(Temporalio::Api::Common::V1::RetryPolicy)).void }
1778
+ def retry_policy=(value)
1779
+ end
1780
+
1781
+ sig { void }
1782
+ def clear_retry_policy
1783
+ end
1784
+
1785
+ # Establish a cron schedule for the child workflow.
1786
+ sig { returns(String) }
1787
+ def cron_schedule
1788
+ end
1789
+
1790
+ # Establish a cron schedule for the child workflow.
1791
+ sig { params(value: String).void }
1792
+ def cron_schedule=(value)
1793
+ end
1794
+
1795
+ # Establish a cron schedule for the child workflow.
1796
+ sig { void }
1797
+ def clear_cron_schedule
1798
+ end
1799
+
1800
+ sig { returns(T.nilable(Temporalio::Api::Common::V1::Header)) }
1801
+ def header
1802
+ end
1803
+
1804
+ sig { params(value: T.nilable(Temporalio::Api::Common::V1::Header)).void }
1805
+ def header=(value)
1806
+ end
1807
+
1808
+ sig { void }
1809
+ def clear_header
1810
+ end
1811
+
1812
+ sig { returns(T.nilable(Temporalio::Api::Common::V1::Memo)) }
1813
+ def memo
1814
+ end
1815
+
1816
+ sig { params(value: T.nilable(Temporalio::Api::Common::V1::Memo)).void }
1817
+ def memo=(value)
1818
+ end
1819
+
1820
+ sig { void }
1821
+ def clear_memo
1822
+ end
1823
+
1824
+ sig { returns(T.nilable(Temporalio::Api::Common::V1::SearchAttributes)) }
1825
+ def search_attributes
1826
+ end
1827
+
1828
+ sig { params(value: T.nilable(Temporalio::Api::Common::V1::SearchAttributes)).void }
1829
+ def search_attributes=(value)
1830
+ end
1831
+
1832
+ sig { void }
1833
+ def clear_search_attributes
1834
+ end
1835
+
1836
+ # If this is set, the child workflow inherits the Build ID of the parent. Otherwise, the assignment
1837
+ # rules of the child's Task Queue will be used to independently assign a Build ID to it.
1838
+ # Deprecated. Only considered for versioning v0.2.
1839
+ sig { returns(T::Boolean) }
1840
+ def inherit_build_id
1841
+ end
1842
+
1843
+ # If this is set, the child workflow inherits the Build ID of the parent. Otherwise, the assignment
1844
+ # rules of the child's Task Queue will be used to independently assign a Build ID to it.
1845
+ # Deprecated. Only considered for versioning v0.2.
1846
+ sig { params(value: T::Boolean).void }
1847
+ def inherit_build_id=(value)
1848
+ end
1849
+
1850
+ # If this is set, the child workflow inherits the Build ID of the parent. Otherwise, the assignment
1851
+ # rules of the child's Task Queue will be used to independently assign a Build ID to it.
1852
+ # Deprecated. Only considered for versioning v0.2.
1853
+ sig { void }
1854
+ def clear_inherit_build_id
1855
+ end
1856
+
1857
+ # Priority metadata. If this message is not present, or any fields are not
1858
+ # present, they inherit the values from the workflow.
1859
+ sig { returns(T.nilable(Temporalio::Api::Common::V1::Priority)) }
1860
+ def priority
1861
+ end
1862
+
1863
+ # Priority metadata. If this message is not present, or any fields are not
1864
+ # present, they inherit the values from the workflow.
1865
+ sig { params(value: T.nilable(Temporalio::Api::Common::V1::Priority)).void }
1866
+ def priority=(value)
1867
+ end
1868
+
1869
+ # Priority metadata. If this message is not present, or any fields are not
1870
+ # present, they inherit the values from the workflow.
1871
+ sig { void }
1872
+ def clear_priority
1873
+ end
1874
+
1875
+ # Versioning override for the child workflow. If present, this explicit override takes
1876
+ # precedence over versioning behavior inherited from the parent workflow.
1877
+ sig { returns(T.nilable(Temporalio::Api::Workflow::V1::VersioningOverride)) }
1878
+ def versioning_override
1879
+ end
1880
+
1881
+ # Versioning override for the child workflow. If present, this explicit override takes
1882
+ # precedence over versioning behavior inherited from the parent workflow.
1883
+ sig { params(value: T.nilable(Temporalio::Api::Workflow::V1::VersioningOverride)).void }
1884
+ def versioning_override=(value)
1885
+ end
1886
+
1887
+ # Versioning override for the child workflow. If present, this explicit override takes
1888
+ # precedence over versioning behavior inherited from the parent workflow.
1889
+ sig { void }
1890
+ def clear_versioning_override
1891
+ end
1892
+
1893
+ sig { params(field: String).returns(T.untyped) }
1894
+ def [](field)
1895
+ end
1896
+
1897
+ sig { params(field: String, value: T.untyped).void }
1898
+ def []=(field, value)
1899
+ end
1900
+
1901
+ sig { returns(T::Hash[Symbol, T.untyped]) }
1902
+ def to_h
1903
+ end
1904
+
1905
+ sig { params(str: String).returns(Temporalio::Api::Command::V1::StartChildWorkflowExecutionCommandAttributes) }
1906
+ def self.decode(str)
1907
+ end
1908
+
1909
+ sig { params(msg: Temporalio::Api::Command::V1::StartChildWorkflowExecutionCommandAttributes).returns(String) }
1910
+ def self.encode(msg)
1911
+ end
1912
+
1913
+ sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Command::V1::StartChildWorkflowExecutionCommandAttributes) }
1914
+ def self.decode_json(str, **kw)
1915
+ end
1916
+
1917
+ sig { params(msg: Temporalio::Api::Command::V1::StartChildWorkflowExecutionCommandAttributes, kw: T.untyped).returns(String) }
1918
+ def self.encode_json(msg, **kw)
1919
+ end
1920
+
1921
+ sig { returns(::Google::Protobuf::Descriptor) }
1922
+ def self.descriptor
1923
+ end
1924
+ end
1925
+
1926
+ class Temporalio::Api::Command::V1::ProtocolMessageCommandAttributes
1927
+ include ::Google::Protobuf::MessageExts
1928
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1929
+
1930
+ sig do
1931
+ params(
1932
+ message_id: T.nilable(String)
1933
+ ).void
1934
+ end
1935
+ def initialize(
1936
+ message_id: ""
1937
+ )
1938
+ end
1939
+
1940
+ # The message ID of the message to which this command is a pointer.
1941
+ sig { returns(String) }
1942
+ def message_id
1943
+ end
1944
+
1945
+ # The message ID of the message to which this command is a pointer.
1946
+ sig { params(value: String).void }
1947
+ def message_id=(value)
1948
+ end
1949
+
1950
+ # The message ID of the message to which this command is a pointer.
1951
+ sig { void }
1952
+ def clear_message_id
1953
+ end
1954
+
1955
+ sig { params(field: String).returns(T.untyped) }
1956
+ def [](field)
1957
+ end
1958
+
1959
+ sig { params(field: String, value: T.untyped).void }
1960
+ def []=(field, value)
1961
+ end
1962
+
1963
+ sig { returns(T::Hash[Symbol, T.untyped]) }
1964
+ def to_h
1965
+ end
1966
+
1967
+ sig { params(str: String).returns(Temporalio::Api::Command::V1::ProtocolMessageCommandAttributes) }
1968
+ def self.decode(str)
1969
+ end
1970
+
1971
+ sig { params(msg: Temporalio::Api::Command::V1::ProtocolMessageCommandAttributes).returns(String) }
1972
+ def self.encode(msg)
1973
+ end
1974
+
1975
+ sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Command::V1::ProtocolMessageCommandAttributes) }
1976
+ def self.decode_json(str, **kw)
1977
+ end
1978
+
1979
+ sig { params(msg: Temporalio::Api::Command::V1::ProtocolMessageCommandAttributes, kw: T.untyped).returns(String) }
1980
+ def self.encode_json(msg, **kw)
1981
+ end
1982
+
1983
+ sig { returns(::Google::Protobuf::Descriptor) }
1984
+ def self.descriptor
1985
+ end
1986
+ end
1987
+
1988
+ class Temporalio::Api::Command::V1::ScheduleNexusOperationCommandAttributes
1989
+ include ::Google::Protobuf::MessageExts
1990
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1991
+
1992
+ sig do
1993
+ params(
1994
+ endpoint: T.nilable(String),
1995
+ service: T.nilable(String),
1996
+ operation: T.nilable(String),
1997
+ input: T.nilable(Temporalio::Api::Common::V1::Payload),
1998
+ schedule_to_close_timeout: T.nilable(Google::Protobuf::Duration),
1999
+ nexus_header: T.nilable(T::Hash[String, String]),
2000
+ schedule_to_start_timeout: T.nilable(Google::Protobuf::Duration),
2001
+ start_to_close_timeout: T.nilable(Google::Protobuf::Duration)
2002
+ ).void
2003
+ end
2004
+ def initialize(
2005
+ endpoint: "",
2006
+ service: "",
2007
+ operation: "",
2008
+ input: nil,
2009
+ schedule_to_close_timeout: nil,
2010
+ nexus_header: ::Google::Protobuf::Map.new(:string, :string),
2011
+ schedule_to_start_timeout: nil,
2012
+ start_to_close_timeout: nil
2013
+ )
2014
+ end
2015
+
2016
+ # Endpoint name, must exist in the endpoint registry or this command will fail.
2017
+ sig { returns(String) }
2018
+ def endpoint
2019
+ end
2020
+
2021
+ # Endpoint name, must exist in the endpoint registry or this command will fail.
2022
+ sig { params(value: String).void }
2023
+ def endpoint=(value)
2024
+ end
2025
+
2026
+ # Endpoint name, must exist in the endpoint registry or this command will fail.
2027
+ sig { void }
2028
+ def clear_endpoint
2029
+ end
2030
+
2031
+ # Service name.
2032
+ sig { returns(String) }
2033
+ def service
2034
+ end
2035
+
2036
+ # Service name.
2037
+ sig { params(value: String).void }
2038
+ def service=(value)
2039
+ end
2040
+
2041
+ # Service name.
2042
+ sig { void }
2043
+ def clear_service
2044
+ end
2045
+
2046
+ # Operation name.
2047
+ sig { returns(String) }
2048
+ def operation
2049
+ end
2050
+
2051
+ # Operation name.
2052
+ sig { params(value: String).void }
2053
+ def operation=(value)
2054
+ end
2055
+
2056
+ # Operation name.
2057
+ sig { void }
2058
+ def clear_operation
2059
+ end
2060
+
2061
+ # Input for the operation. The server converts this into Nexus request content and the appropriate content headers
2062
+ # internally when sending the StartOperation request. On the handler side, if it is also backed by Temporal, the
2063
+ # content is transformed back to the original Payload sent in this command.
2064
+ sig { returns(T.nilable(Temporalio::Api::Common::V1::Payload)) }
2065
+ def input
2066
+ end
2067
+
2068
+ # Input for the operation. The server converts this into Nexus request content and the appropriate content headers
2069
+ # internally when sending the StartOperation request. On the handler side, if it is also backed by Temporal, the
2070
+ # content is transformed back to the original Payload sent in this command.
2071
+ sig { params(value: T.nilable(Temporalio::Api::Common::V1::Payload)).void }
2072
+ def input=(value)
2073
+ end
2074
+
2075
+ # Input for the operation. The server converts this into Nexus request content and the appropriate content headers
2076
+ # internally when sending the StartOperation request. On the handler side, if it is also backed by Temporal, the
2077
+ # content is transformed back to the original Payload sent in this command.
2078
+ sig { void }
2079
+ def clear_input
2080
+ end
2081
+
2082
+ # Schedule-to-close timeout for this operation.
2083
+ # Indicates how long the caller is willing to wait for operation completion.
2084
+ # Calls are retried internally by the server.
2085
+ # (-- api-linter: core::0140::prepositions=disabled
2086
+ # aip.dev/not-precedent: "to" is used to indicate interval. --)
2087
+ sig { returns(T.nilable(Google::Protobuf::Duration)) }
2088
+ def schedule_to_close_timeout
2089
+ end
2090
+
2091
+ # Schedule-to-close timeout for this operation.
2092
+ # Indicates how long the caller is willing to wait for operation completion.
2093
+ # Calls are retried internally by the server.
2094
+ # (-- api-linter: core::0140::prepositions=disabled
2095
+ # aip.dev/not-precedent: "to" is used to indicate interval. --)
2096
+ sig { params(value: T.nilable(Google::Protobuf::Duration)).void }
2097
+ def schedule_to_close_timeout=(value)
2098
+ end
2099
+
2100
+ # Schedule-to-close timeout for this operation.
2101
+ # Indicates how long the caller is willing to wait for operation completion.
2102
+ # Calls are retried internally by the server.
2103
+ # (-- api-linter: core::0140::prepositions=disabled
2104
+ # aip.dev/not-precedent: "to" is used to indicate interval. --)
2105
+ sig { void }
2106
+ def clear_schedule_to_close_timeout
2107
+ end
2108
+
2109
+ # Header to attach to the Nexus request.
2110
+ # Users are responsible for encrypting sensitive data in this header as it is stored in workflow history and
2111
+ # transmitted to external services as-is.
2112
+ # This is useful for propagating tracing information.
2113
+ # Note these headers are not the same as Temporal headers on internal activities and child workflows, these are
2114
+ # transmitted to Nexus operations that may be external and are not traditional payloads.
2115
+ sig { returns(T::Hash[String, String]) }
2116
+ def nexus_header
2117
+ end
2118
+
2119
+ # Header to attach to the Nexus request.
2120
+ # Users are responsible for encrypting sensitive data in this header as it is stored in workflow history and
2121
+ # transmitted to external services as-is.
2122
+ # This is useful for propagating tracing information.
2123
+ # Note these headers are not the same as Temporal headers on internal activities and child workflows, these are
2124
+ # transmitted to Nexus operations that may be external and are not traditional payloads.
2125
+ sig { params(value: ::Google::Protobuf::Map).void }
2126
+ def nexus_header=(value)
2127
+ end
2128
+
2129
+ # Header to attach to the Nexus request.
2130
+ # Users are responsible for encrypting sensitive data in this header as it is stored in workflow history and
2131
+ # transmitted to external services as-is.
2132
+ # This is useful for propagating tracing information.
2133
+ # Note these headers are not the same as Temporal headers on internal activities and child workflows, these are
2134
+ # transmitted to Nexus operations that may be external and are not traditional payloads.
2135
+ sig { void }
2136
+ def clear_nexus_header
2137
+ end
2138
+
2139
+ # Schedule-to-start timeout for this operation.
2140
+ # Indicates how long the caller is willing to wait for the operation to be started (or completed if synchronous)
2141
+ # by the handler. If the operation is not started within this timeout, it will fail with
2142
+ # TIMEOUT_TYPE_SCHEDULE_TO_START.
2143
+ # If not set or zero, no schedule-to-start timeout is enforced.
2144
+ # (-- api-linter: core::0140::prepositions=disabled
2145
+ # aip.dev/not-precedent: "to" is used to indicate interval. --)
2146
+ # Requires server version 1.31.0 or later.
2147
+ sig { returns(T.nilable(Google::Protobuf::Duration)) }
2148
+ def schedule_to_start_timeout
2149
+ end
2150
+
2151
+ # Schedule-to-start timeout for this operation.
2152
+ # Indicates how long the caller is willing to wait for the operation to be started (or completed if synchronous)
2153
+ # by the handler. If the operation is not started within this timeout, it will fail with
2154
+ # TIMEOUT_TYPE_SCHEDULE_TO_START.
2155
+ # If not set or zero, no schedule-to-start timeout is enforced.
2156
+ # (-- api-linter: core::0140::prepositions=disabled
2157
+ # aip.dev/not-precedent: "to" is used to indicate interval. --)
2158
+ # Requires server version 1.31.0 or later.
2159
+ sig { params(value: T.nilable(Google::Protobuf::Duration)).void }
2160
+ def schedule_to_start_timeout=(value)
2161
+ end
2162
+
2163
+ # Schedule-to-start timeout for this operation.
2164
+ # Indicates how long the caller is willing to wait for the operation to be started (or completed if synchronous)
2165
+ # by the handler. If the operation is not started within this timeout, it will fail with
2166
+ # TIMEOUT_TYPE_SCHEDULE_TO_START.
2167
+ # If not set or zero, no schedule-to-start timeout is enforced.
2168
+ # (-- api-linter: core::0140::prepositions=disabled
2169
+ # aip.dev/not-precedent: "to" is used to indicate interval. --)
2170
+ # Requires server version 1.31.0 or later.
2171
+ sig { void }
2172
+ def clear_schedule_to_start_timeout
2173
+ end
2174
+
2175
+ # Start-to-close timeout for this operation.
2176
+ # Indicates how long the caller is willing to wait for an asynchronous operation to complete after it has been
2177
+ # started. If the operation does not complete within this timeout after starting, it will fail with
2178
+ # TIMEOUT_TYPE_START_TO_CLOSE.
2179
+ # Only applies to asynchronous operations. Synchronous operations ignore this timeout.
2180
+ # If not set or zero, no start-to-close timeout is enforced.
2181
+ # (-- api-linter: core::0140::prepositions=disabled
2182
+ # aip.dev/not-precedent: "to" is used to indicate interval. --)
2183
+ # Requires server version 1.31.0 or later.
2184
+ sig { returns(T.nilable(Google::Protobuf::Duration)) }
2185
+ def start_to_close_timeout
2186
+ end
2187
+
2188
+ # Start-to-close timeout for this operation.
2189
+ # Indicates how long the caller is willing to wait for an asynchronous operation to complete after it has been
2190
+ # started. If the operation does not complete within this timeout after starting, it will fail with
2191
+ # TIMEOUT_TYPE_START_TO_CLOSE.
2192
+ # Only applies to asynchronous operations. Synchronous operations ignore this timeout.
2193
+ # If not set or zero, no start-to-close timeout is enforced.
2194
+ # (-- api-linter: core::0140::prepositions=disabled
2195
+ # aip.dev/not-precedent: "to" is used to indicate interval. --)
2196
+ # Requires server version 1.31.0 or later.
2197
+ sig { params(value: T.nilable(Google::Protobuf::Duration)).void }
2198
+ def start_to_close_timeout=(value)
2199
+ end
2200
+
2201
+ # Start-to-close timeout for this operation.
2202
+ # Indicates how long the caller is willing to wait for an asynchronous operation to complete after it has been
2203
+ # started. If the operation does not complete within this timeout after starting, it will fail with
2204
+ # TIMEOUT_TYPE_START_TO_CLOSE.
2205
+ # Only applies to asynchronous operations. Synchronous operations ignore this timeout.
2206
+ # If not set or zero, no start-to-close timeout is enforced.
2207
+ # (-- api-linter: core::0140::prepositions=disabled
2208
+ # aip.dev/not-precedent: "to" is used to indicate interval. --)
2209
+ # Requires server version 1.31.0 or later.
2210
+ sig { void }
2211
+ def clear_start_to_close_timeout
2212
+ end
2213
+
2214
+ sig { params(field: String).returns(T.untyped) }
2215
+ def [](field)
2216
+ end
2217
+
2218
+ sig { params(field: String, value: T.untyped).void }
2219
+ def []=(field, value)
2220
+ end
2221
+
2222
+ sig { returns(T::Hash[Symbol, T.untyped]) }
2223
+ def to_h
2224
+ end
2225
+
2226
+ sig { params(str: String).returns(Temporalio::Api::Command::V1::ScheduleNexusOperationCommandAttributes) }
2227
+ def self.decode(str)
2228
+ end
2229
+
2230
+ sig { params(msg: Temporalio::Api::Command::V1::ScheduleNexusOperationCommandAttributes).returns(String) }
2231
+ def self.encode(msg)
2232
+ end
2233
+
2234
+ sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Command::V1::ScheduleNexusOperationCommandAttributes) }
2235
+ def self.decode_json(str, **kw)
2236
+ end
2237
+
2238
+ sig { params(msg: Temporalio::Api::Command::V1::ScheduleNexusOperationCommandAttributes, kw: T.untyped).returns(String) }
2239
+ def self.encode_json(msg, **kw)
2240
+ end
2241
+
2242
+ sig { returns(::Google::Protobuf::Descriptor) }
2243
+ def self.descriptor
2244
+ end
2245
+ end
2246
+
2247
+ class Temporalio::Api::Command::V1::RequestCancelNexusOperationCommandAttributes
2248
+ include ::Google::Protobuf::MessageExts
2249
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2250
+
2251
+ sig do
2252
+ params(
2253
+ scheduled_event_id: T.nilable(Integer)
2254
+ ).void
2255
+ end
2256
+ def initialize(
2257
+ scheduled_event_id: 0
2258
+ )
2259
+ end
2260
+
2261
+ # The `NEXUS_OPERATION_SCHEDULED` event ID (a unique identifier) for the operation to be canceled.
2262
+ # The operation may ignore cancellation and end up with any completion state.
2263
+ sig { returns(Integer) }
2264
+ def scheduled_event_id
2265
+ end
2266
+
2267
+ # The `NEXUS_OPERATION_SCHEDULED` event ID (a unique identifier) for the operation to be canceled.
2268
+ # The operation may ignore cancellation and end up with any completion state.
2269
+ sig { params(value: Integer).void }
2270
+ def scheduled_event_id=(value)
2271
+ end
2272
+
2273
+ # The `NEXUS_OPERATION_SCHEDULED` event ID (a unique identifier) for the operation to be canceled.
2274
+ # The operation may ignore cancellation and end up with any completion state.
2275
+ sig { void }
2276
+ def clear_scheduled_event_id
2277
+ end
2278
+
2279
+ sig { params(field: String).returns(T.untyped) }
2280
+ def [](field)
2281
+ end
2282
+
2283
+ sig { params(field: String, value: T.untyped).void }
2284
+ def []=(field, value)
2285
+ end
2286
+
2287
+ sig { returns(T::Hash[Symbol, T.untyped]) }
2288
+ def to_h
2289
+ end
2290
+
2291
+ sig { params(str: String).returns(Temporalio::Api::Command::V1::RequestCancelNexusOperationCommandAttributes) }
2292
+ def self.decode(str)
2293
+ end
2294
+
2295
+ sig { params(msg: Temporalio::Api::Command::V1::RequestCancelNexusOperationCommandAttributes).returns(String) }
2296
+ def self.encode(msg)
2297
+ end
2298
+
2299
+ sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Command::V1::RequestCancelNexusOperationCommandAttributes) }
2300
+ def self.decode_json(str, **kw)
2301
+ end
2302
+
2303
+ sig { params(msg: Temporalio::Api::Command::V1::RequestCancelNexusOperationCommandAttributes, kw: T.untyped).returns(String) }
2304
+ def self.encode_json(msg, **kw)
2305
+ end
2306
+
2307
+ sig { returns(::Google::Protobuf::Descriptor) }
2308
+ def self.descriptor
2309
+ end
2310
+ end
2311
+
2312
+ class Temporalio::Api::Command::V1::Command
2313
+ include ::Google::Protobuf::MessageExts
2314
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2315
+
2316
+ sig do
2317
+ params(
2318
+ command_type: T.nilable(T.any(Symbol, String, Integer)),
2319
+ user_metadata: T.nilable(Temporalio::Api::Sdk::V1::UserMetadata),
2320
+ event_group_markers: T.nilable(T::Array[T.nilable(Temporalio::Api::Sdk::V1::EventGroupMarker)]),
2321
+ schedule_activity_task_command_attributes: T.nilable(Temporalio::Api::Command::V1::ScheduleActivityTaskCommandAttributes),
2322
+ start_timer_command_attributes: T.nilable(Temporalio::Api::Command::V1::StartTimerCommandAttributes),
2323
+ complete_workflow_execution_command_attributes: T.nilable(Temporalio::Api::Command::V1::CompleteWorkflowExecutionCommandAttributes),
2324
+ fail_workflow_execution_command_attributes: T.nilable(Temporalio::Api::Command::V1::FailWorkflowExecutionCommandAttributes),
2325
+ request_cancel_activity_task_command_attributes: T.nilable(Temporalio::Api::Command::V1::RequestCancelActivityTaskCommandAttributes),
2326
+ cancel_timer_command_attributes: T.nilable(Temporalio::Api::Command::V1::CancelTimerCommandAttributes),
2327
+ cancel_workflow_execution_command_attributes: T.nilable(Temporalio::Api::Command::V1::CancelWorkflowExecutionCommandAttributes),
2328
+ request_cancel_external_workflow_execution_command_attributes: T.nilable(Temporalio::Api::Command::V1::RequestCancelExternalWorkflowExecutionCommandAttributes),
2329
+ record_marker_command_attributes: T.nilable(Temporalio::Api::Command::V1::RecordMarkerCommandAttributes),
2330
+ continue_as_new_workflow_execution_command_attributes: T.nilable(Temporalio::Api::Command::V1::ContinueAsNewWorkflowExecutionCommandAttributes),
2331
+ start_child_workflow_execution_command_attributes: T.nilable(Temporalio::Api::Command::V1::StartChildWorkflowExecutionCommandAttributes),
2332
+ signal_external_workflow_execution_command_attributes: T.nilable(Temporalio::Api::Command::V1::SignalExternalWorkflowExecutionCommandAttributes),
2333
+ upsert_workflow_search_attributes_command_attributes: T.nilable(Temporalio::Api::Command::V1::UpsertWorkflowSearchAttributesCommandAttributes),
2334
+ protocol_message_command_attributes: T.nilable(Temporalio::Api::Command::V1::ProtocolMessageCommandAttributes),
2335
+ modify_workflow_properties_command_attributes: T.nilable(Temporalio::Api::Command::V1::ModifyWorkflowPropertiesCommandAttributes),
2336
+ schedule_nexus_operation_command_attributes: T.nilable(Temporalio::Api::Command::V1::ScheduleNexusOperationCommandAttributes),
2337
+ request_cancel_nexus_operation_command_attributes: T.nilable(Temporalio::Api::Command::V1::RequestCancelNexusOperationCommandAttributes)
2338
+ ).void
2339
+ end
2340
+ def initialize(
2341
+ command_type: :COMMAND_TYPE_UNSPECIFIED,
2342
+ user_metadata: nil,
2343
+ event_group_markers: [],
2344
+ schedule_activity_task_command_attributes: nil,
2345
+ start_timer_command_attributes: nil,
2346
+ complete_workflow_execution_command_attributes: nil,
2347
+ fail_workflow_execution_command_attributes: nil,
2348
+ request_cancel_activity_task_command_attributes: nil,
2349
+ cancel_timer_command_attributes: nil,
2350
+ cancel_workflow_execution_command_attributes: nil,
2351
+ request_cancel_external_workflow_execution_command_attributes: nil,
2352
+ record_marker_command_attributes: nil,
2353
+ continue_as_new_workflow_execution_command_attributes: nil,
2354
+ start_child_workflow_execution_command_attributes: nil,
2355
+ signal_external_workflow_execution_command_attributes: nil,
2356
+ upsert_workflow_search_attributes_command_attributes: nil,
2357
+ protocol_message_command_attributes: nil,
2358
+ modify_workflow_properties_command_attributes: nil,
2359
+ schedule_nexus_operation_command_attributes: nil,
2360
+ request_cancel_nexus_operation_command_attributes: nil
2361
+ )
2362
+ end
2363
+
2364
+ sig { returns(T.any(Symbol, Integer)) }
2365
+ def command_type
2366
+ end
2367
+
2368
+ sig { params(value: T.any(Symbol, String, Integer)).void }
2369
+ def command_type=(value)
2370
+ end
2371
+
2372
+ sig { void }
2373
+ def clear_command_type
2374
+ end
2375
+
2376
+ # Metadata on the command. This is sometimes carried over to the history event if one is
2377
+ # created as a result of the command. Most commands won't have this information, and how this
2378
+ # information is used is dependent upon the interface that reads it.
2379
+ #
2380
+ # Current well-known uses:
2381
+ # * start_child_workflow_execution_command_attributes - populates
2382
+ # temporal.api.workflow.v1.WorkflowExecutionInfo.user_metadata where the summary and details
2383
+ # are used by user interfaces to show fixed as-of-start workflow summary and details.
2384
+ # * start_timer_command_attributes - populates temporal.api.history.v1.HistoryEvent for timer
2385
+ # started where the summary is used to identify the timer.
2386
+ sig { returns(T.nilable(Temporalio::Api::Sdk::V1::UserMetadata)) }
2387
+ def user_metadata
2388
+ end
2389
+
2390
+ # Metadata on the command. This is sometimes carried over to the history event if one is
2391
+ # created as a result of the command. Most commands won't have this information, and how this
2392
+ # information is used is dependent upon the interface that reads it.
2393
+ #
2394
+ # Current well-known uses:
2395
+ # * start_child_workflow_execution_command_attributes - populates
2396
+ # temporal.api.workflow.v1.WorkflowExecutionInfo.user_metadata where the summary and details
2397
+ # are used by user interfaces to show fixed as-of-start workflow summary and details.
2398
+ # * start_timer_command_attributes - populates temporal.api.history.v1.HistoryEvent for timer
2399
+ # started where the summary is used to identify the timer.
2400
+ sig { params(value: T.nilable(Temporalio::Api::Sdk::V1::UserMetadata)).void }
2401
+ def user_metadata=(value)
2402
+ end
2403
+
2404
+ # Metadata on the command. This is sometimes carried over to the history event if one is
2405
+ # created as a result of the command. Most commands won't have this information, and how this
2406
+ # information is used is dependent upon the interface that reads it.
2407
+ #
2408
+ # Current well-known uses:
2409
+ # * start_child_workflow_execution_command_attributes - populates
2410
+ # temporal.api.workflow.v1.WorkflowExecutionInfo.user_metadata where the summary and details
2411
+ # are used by user interfaces to show fixed as-of-start workflow summary and details.
2412
+ # * start_timer_command_attributes - populates temporal.api.history.v1.HistoryEvent for timer
2413
+ # started where the summary is used to identify the timer.
2414
+ sig { void }
2415
+ def clear_user_metadata
2416
+ end
2417
+
2418
+ # Event Group Markers attached to the command by the workflow author.
2419
+ sig { returns(T::Array[T.nilable(Temporalio::Api::Sdk::V1::EventGroupMarker)]) }
2420
+ def event_group_markers
2421
+ end
2422
+
2423
+ # Event Group Markers attached to the command by the workflow author.
2424
+ sig { params(value: ::Google::Protobuf::RepeatedField).void }
2425
+ def event_group_markers=(value)
2426
+ end
2427
+
2428
+ # Event Group Markers attached to the command by the workflow author.
2429
+ sig { void }
2430
+ def clear_event_group_markers
2431
+ end
2432
+
2433
+ sig { returns(T.nilable(Temporalio::Api::Command::V1::ScheduleActivityTaskCommandAttributes)) }
2434
+ def schedule_activity_task_command_attributes
2435
+ end
2436
+
2437
+ sig { params(value: T.nilable(Temporalio::Api::Command::V1::ScheduleActivityTaskCommandAttributes)).void }
2438
+ def schedule_activity_task_command_attributes=(value)
2439
+ end
2440
+
2441
+ sig { void }
2442
+ def clear_schedule_activity_task_command_attributes
2443
+ end
2444
+
2445
+ sig { returns(T.nilable(Temporalio::Api::Command::V1::StartTimerCommandAttributes)) }
2446
+ def start_timer_command_attributes
2447
+ end
2448
+
2449
+ sig { params(value: T.nilable(Temporalio::Api::Command::V1::StartTimerCommandAttributes)).void }
2450
+ def start_timer_command_attributes=(value)
2451
+ end
2452
+
2453
+ sig { void }
2454
+ def clear_start_timer_command_attributes
2455
+ end
2456
+
2457
+ sig { returns(T.nilable(Temporalio::Api::Command::V1::CompleteWorkflowExecutionCommandAttributes)) }
2458
+ def complete_workflow_execution_command_attributes
2459
+ end
2460
+
2461
+ sig { params(value: T.nilable(Temporalio::Api::Command::V1::CompleteWorkflowExecutionCommandAttributes)).void }
2462
+ def complete_workflow_execution_command_attributes=(value)
2463
+ end
2464
+
2465
+ sig { void }
2466
+ def clear_complete_workflow_execution_command_attributes
2467
+ end
2468
+
2469
+ sig { returns(T.nilable(Temporalio::Api::Command::V1::FailWorkflowExecutionCommandAttributes)) }
2470
+ def fail_workflow_execution_command_attributes
2471
+ end
2472
+
2473
+ sig { params(value: T.nilable(Temporalio::Api::Command::V1::FailWorkflowExecutionCommandAttributes)).void }
2474
+ def fail_workflow_execution_command_attributes=(value)
2475
+ end
2476
+
2477
+ sig { void }
2478
+ def clear_fail_workflow_execution_command_attributes
2479
+ end
2480
+
2481
+ sig { returns(T.nilable(Temporalio::Api::Command::V1::RequestCancelActivityTaskCommandAttributes)) }
2482
+ def request_cancel_activity_task_command_attributes
2483
+ end
2484
+
2485
+ sig { params(value: T.nilable(Temporalio::Api::Command::V1::RequestCancelActivityTaskCommandAttributes)).void }
2486
+ def request_cancel_activity_task_command_attributes=(value)
2487
+ end
2488
+
2489
+ sig { void }
2490
+ def clear_request_cancel_activity_task_command_attributes
2491
+ end
2492
+
2493
+ sig { returns(T.nilable(Temporalio::Api::Command::V1::CancelTimerCommandAttributes)) }
2494
+ def cancel_timer_command_attributes
2495
+ end
2496
+
2497
+ sig { params(value: T.nilable(Temporalio::Api::Command::V1::CancelTimerCommandAttributes)).void }
2498
+ def cancel_timer_command_attributes=(value)
2499
+ end
2500
+
2501
+ sig { void }
2502
+ def clear_cancel_timer_command_attributes
2503
+ end
2504
+
2505
+ sig { returns(T.nilable(Temporalio::Api::Command::V1::CancelWorkflowExecutionCommandAttributes)) }
2506
+ def cancel_workflow_execution_command_attributes
2507
+ end
2508
+
2509
+ sig { params(value: T.nilable(Temporalio::Api::Command::V1::CancelWorkflowExecutionCommandAttributes)).void }
2510
+ def cancel_workflow_execution_command_attributes=(value)
2511
+ end
2512
+
2513
+ sig { void }
2514
+ def clear_cancel_workflow_execution_command_attributes
2515
+ end
2516
+
2517
+ sig { returns(T.nilable(Temporalio::Api::Command::V1::RequestCancelExternalWorkflowExecutionCommandAttributes)) }
2518
+ def request_cancel_external_workflow_execution_command_attributes
2519
+ end
2520
+
2521
+ sig { params(value: T.nilable(Temporalio::Api::Command::V1::RequestCancelExternalWorkflowExecutionCommandAttributes)).void }
2522
+ def request_cancel_external_workflow_execution_command_attributes=(value)
2523
+ end
2524
+
2525
+ sig { void }
2526
+ def clear_request_cancel_external_workflow_execution_command_attributes
2527
+ end
2528
+
2529
+ sig { returns(T.nilable(Temporalio::Api::Command::V1::RecordMarkerCommandAttributes)) }
2530
+ def record_marker_command_attributes
2531
+ end
2532
+
2533
+ sig { params(value: T.nilable(Temporalio::Api::Command::V1::RecordMarkerCommandAttributes)).void }
2534
+ def record_marker_command_attributes=(value)
2535
+ end
2536
+
2537
+ sig { void }
2538
+ def clear_record_marker_command_attributes
2539
+ end
2540
+
2541
+ sig { returns(T.nilable(Temporalio::Api::Command::V1::ContinueAsNewWorkflowExecutionCommandAttributes)) }
2542
+ def continue_as_new_workflow_execution_command_attributes
2543
+ end
2544
+
2545
+ sig { params(value: T.nilable(Temporalio::Api::Command::V1::ContinueAsNewWorkflowExecutionCommandAttributes)).void }
2546
+ def continue_as_new_workflow_execution_command_attributes=(value)
2547
+ end
2548
+
2549
+ sig { void }
2550
+ def clear_continue_as_new_workflow_execution_command_attributes
2551
+ end
2552
+
2553
+ sig { returns(T.nilable(Temporalio::Api::Command::V1::StartChildWorkflowExecutionCommandAttributes)) }
2554
+ def start_child_workflow_execution_command_attributes
2555
+ end
2556
+
2557
+ sig { params(value: T.nilable(Temporalio::Api::Command::V1::StartChildWorkflowExecutionCommandAttributes)).void }
2558
+ def start_child_workflow_execution_command_attributes=(value)
2559
+ end
2560
+
2561
+ sig { void }
2562
+ def clear_start_child_workflow_execution_command_attributes
2563
+ end
2564
+
2565
+ sig { returns(T.nilable(Temporalio::Api::Command::V1::SignalExternalWorkflowExecutionCommandAttributes)) }
2566
+ def signal_external_workflow_execution_command_attributes
2567
+ end
2568
+
2569
+ sig { params(value: T.nilable(Temporalio::Api::Command::V1::SignalExternalWorkflowExecutionCommandAttributes)).void }
2570
+ def signal_external_workflow_execution_command_attributes=(value)
2571
+ end
2572
+
2573
+ sig { void }
2574
+ def clear_signal_external_workflow_execution_command_attributes
2575
+ end
2576
+
2577
+ sig { returns(T.nilable(Temporalio::Api::Command::V1::UpsertWorkflowSearchAttributesCommandAttributes)) }
2578
+ def upsert_workflow_search_attributes_command_attributes
2579
+ end
2580
+
2581
+ sig { params(value: T.nilable(Temporalio::Api::Command::V1::UpsertWorkflowSearchAttributesCommandAttributes)).void }
2582
+ def upsert_workflow_search_attributes_command_attributes=(value)
2583
+ end
2584
+
2585
+ sig { void }
2586
+ def clear_upsert_workflow_search_attributes_command_attributes
2587
+ end
2588
+
2589
+ sig { returns(T.nilable(Temporalio::Api::Command::V1::ProtocolMessageCommandAttributes)) }
2590
+ def protocol_message_command_attributes
2591
+ end
2592
+
2593
+ sig { params(value: T.nilable(Temporalio::Api::Command::V1::ProtocolMessageCommandAttributes)).void }
2594
+ def protocol_message_command_attributes=(value)
2595
+ end
2596
+
2597
+ sig { void }
2598
+ def clear_protocol_message_command_attributes
2599
+ end
2600
+
2601
+ # 16 is available for use - it was used as part of a prototype that never made it into a release
2602
+ sig { returns(T.nilable(Temporalio::Api::Command::V1::ModifyWorkflowPropertiesCommandAttributes)) }
2603
+ def modify_workflow_properties_command_attributes
2604
+ end
2605
+
2606
+ # 16 is available for use - it was used as part of a prototype that never made it into a release
2607
+ sig { params(value: T.nilable(Temporalio::Api::Command::V1::ModifyWorkflowPropertiesCommandAttributes)).void }
2608
+ def modify_workflow_properties_command_attributes=(value)
2609
+ end
2610
+
2611
+ # 16 is available for use - it was used as part of a prototype that never made it into a release
2612
+ sig { void }
2613
+ def clear_modify_workflow_properties_command_attributes
2614
+ end
2615
+
2616
+ sig { returns(T.nilable(Temporalio::Api::Command::V1::ScheduleNexusOperationCommandAttributes)) }
2617
+ def schedule_nexus_operation_command_attributes
2618
+ end
2619
+
2620
+ sig { params(value: T.nilable(Temporalio::Api::Command::V1::ScheduleNexusOperationCommandAttributes)).void }
2621
+ def schedule_nexus_operation_command_attributes=(value)
2622
+ end
2623
+
2624
+ sig { void }
2625
+ def clear_schedule_nexus_operation_command_attributes
2626
+ end
2627
+
2628
+ sig { returns(T.nilable(Temporalio::Api::Command::V1::RequestCancelNexusOperationCommandAttributes)) }
2629
+ def request_cancel_nexus_operation_command_attributes
2630
+ end
2631
+
2632
+ sig { params(value: T.nilable(Temporalio::Api::Command::V1::RequestCancelNexusOperationCommandAttributes)).void }
2633
+ def request_cancel_nexus_operation_command_attributes=(value)
2634
+ end
2635
+
2636
+ sig { void }
2637
+ def clear_request_cancel_nexus_operation_command_attributes
2638
+ end
2639
+
2640
+ sig { returns(T.nilable(Symbol)) }
2641
+ def attributes
2642
+ end
2643
+
2644
+ sig { params(field: String).returns(T.untyped) }
2645
+ def [](field)
2646
+ end
2647
+
2648
+ sig { params(field: String, value: T.untyped).void }
2649
+ def []=(field, value)
2650
+ end
2651
+
2652
+ sig { returns(T::Hash[Symbol, T.untyped]) }
2653
+ def to_h
2654
+ end
2655
+
2656
+ sig { params(str: String).returns(Temporalio::Api::Command::V1::Command) }
2657
+ def self.decode(str)
2658
+ end
2659
+
2660
+ sig { params(msg: Temporalio::Api::Command::V1::Command).returns(String) }
2661
+ def self.encode(msg)
2662
+ end
2663
+
2664
+ sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Command::V1::Command) }
2665
+ def self.decode_json(str, **kw)
2666
+ end
2667
+
2668
+ sig { params(msg: Temporalio::Api::Command::V1::Command, kw: T.untyped).returns(String) }
2669
+ def self.encode_json(msg, **kw)
2670
+ end
2671
+
2672
+ sig { returns(::Google::Protobuf::Descriptor) }
2673
+ def self.descriptor
2674
+ end
2675
+ end