temporalio 1.5.0 → 1.6.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 (492) hide show
  1. checksums.yaml +4 -4
  2. data/Cargo.lock +1461 -621
  3. data/Cargo.toml +1 -1
  4. data/Gemfile +6 -5
  5. data/README.md +42 -1
  6. data/ext/Cargo.toml +9 -3
  7. data/lib/temporalio/api/activity/v1/message.rb +1 -1
  8. data/lib/temporalio/api/cloud/billing/v1/message.rb +2 -1
  9. data/lib/temporalio/api/cloud/cloudservice/v1/request_response.rb +17 -1
  10. data/lib/temporalio/api/cloud/cloudservice/v1/service.rb +1 -1
  11. data/lib/temporalio/api/cloud/connectivityrule/v1/message.rb +1 -1
  12. data/lib/temporalio/api/cloud/identity/v1/message.rb +8 -1
  13. data/lib/temporalio/api/cloud/namespace/v1/message.rb +5 -1
  14. data/lib/temporalio/api/command/v1/message.rb +2 -1
  15. data/lib/temporalio/api/common/v1/message.rb +5 -1
  16. data/lib/temporalio/api/deployment/v1/message.rb +3 -1
  17. data/lib/temporalio/api/history/v1/message.rb +3 -1
  18. data/lib/temporalio/api/namespace/v1/message.rb +1 -1
  19. data/lib/temporalio/api/nexus/v1/message.rb +1 -1
  20. data/lib/temporalio/api/nexusannotations/v1/options.rb +20 -0
  21. data/lib/temporalio/api/payload_visitor.rb +32 -0
  22. data/lib/temporalio/api/schedule/v1/message.rb +1 -1
  23. data/lib/temporalio/api/sdk/v1/event_group_marker.rb +26 -0
  24. data/lib/temporalio/api/update/v1/message.rb +1 -1
  25. data/lib/temporalio/api/workflow/v1/message.rb +3 -2
  26. data/lib/temporalio/api/workflowservice/v1/request_response.rb +11 -1
  27. data/lib/temporalio/api/workflowservice/v1/service.rb +3 -2
  28. data/lib/temporalio/client/connection/cloud_service.rb +120 -0
  29. data/lib/temporalio/client/connection/workflow_service.rb +75 -0
  30. data/lib/temporalio/client/connection.rb +37 -2
  31. data/lib/temporalio/client.rb +10 -5
  32. data/lib/temporalio/internal/bridge/api/workflow_commands/workflow_commands.rb +1 -1
  33. data/lib/temporalio/internal/bridge/client.rb +6 -1
  34. data/lib/temporalio/internal/bridge.rb +20 -0
  35. data/lib/temporalio/internal/google_protobuf.rb +11 -0
  36. data/lib/temporalio/internal/worker/workflow_instance/context.rb +2 -0
  37. data/lib/temporalio/internal/worker/workflow_instance/details.rb +3 -1
  38. data/lib/temporalio/internal/worker/workflow_instance/scheduler.rb +73 -2
  39. data/lib/temporalio/internal/worker/workflow_instance.rb +36 -6
  40. data/lib/temporalio/internal/worker/workflow_worker.rb +10 -2
  41. data/lib/temporalio/internal/workflow_task_failure_error.rb +9 -0
  42. data/lib/temporalio/version.rb +1 -1
  43. data/lib/temporalio/worker/activity_executor/fiber.rb +1 -1
  44. data/lib/temporalio/worker/activity_executor/thread_pool.rb +1 -1
  45. data/lib/temporalio/worker/illegal_workflow_call_validator.rb +3 -1
  46. data/lib/temporalio/worker/workflow_executor/thread_pool.rb +5 -1
  47. data/lib/temporalio/worker/workflow_replayer.rb +17 -4
  48. data/lib/temporalio/worker.rb +30 -5
  49. data/lib/temporalio/workflow/future.rb +5 -0
  50. data/lib/temporalio/workflow/nexus_operation_cancellation_type.rb +4 -2
  51. data/lib/temporalio/workflow.rb +8 -0
  52. data/rbi/google/protobuf.rbi +25 -0
  53. data/rbi/temporalio/activity/cancellation_details.rbi +33 -0
  54. data/rbi/temporalio/activity/complete_async_error.rbi +3 -0
  55. data/rbi/temporalio/activity/context.rbi +42 -0
  56. data/rbi/temporalio/activity/definition.rbi +74 -0
  57. data/rbi/temporalio/activity/info.rbi +112 -0
  58. data/rbi/temporalio/activity.rbi +3 -0
  59. data/rbi/temporalio/api/activity/v1/message.rbi +1453 -0
  60. data/rbi/temporalio/api/batch/v1/message.rbi +1283 -0
  61. data/rbi/temporalio/api/callback/v1/message.rbi +188 -0
  62. data/rbi/temporalio/api/cloud/account/v1/message.rbi +650 -0
  63. data/rbi/temporalio/api/cloud/auditlog/v1/message.rbi +318 -0
  64. data/rbi/temporalio/api/cloud/billing/v1/message.rbi +480 -0
  65. data/rbi/temporalio/api/cloud/cloudservice/v1/request_response.rbi +12454 -0
  66. data/rbi/temporalio/api/cloud/cloudservice/v1/service.rbi +3 -0
  67. data/rbi/temporalio/api/cloud/cloudservice/v1/service_services.rbi +709 -0
  68. data/rbi/temporalio/api/cloud/cloudservice.rbi +5 -0
  69. data/rbi/temporalio/api/cloud/connectivityrule/v1/message.rbi +403 -0
  70. data/rbi/temporalio/api/cloud/identity/v1/message.rbi +3072 -0
  71. data/rbi/temporalio/api/cloud/namespace/v1/message.rbi +3659 -0
  72. data/rbi/temporalio/api/cloud/nexus/v1/message.rbi +595 -0
  73. data/rbi/temporalio/api/cloud/operation/v1/message.rbi +244 -0
  74. data/rbi/temporalio/api/cloud/region/v1/message.rbi +166 -0
  75. data/rbi/temporalio/api/cloud/resource/v1/message.rbi +29 -0
  76. data/rbi/temporalio/api/cloud/sink/v1/message.rbi +438 -0
  77. data/rbi/temporalio/api/cloud/usage/v1/message.rbi +409 -0
  78. data/rbi/temporalio/api/command/v1/message.rbi +2655 -0
  79. data/rbi/temporalio/api/common/v1/grpc_status.rbi +92 -0
  80. data/rbi/temporalio/api/common/v1/message.rbi +2983 -0
  81. data/rbi/temporalio/api/compute/v1/config.rbi +421 -0
  82. data/rbi/temporalio/api/compute/v1/provider.rbi +125 -0
  83. data/rbi/temporalio/api/compute/v1/scaler.rbi +102 -0
  84. data/rbi/temporalio/api/deployment/v1/message.rbi +2340 -0
  85. data/rbi/temporalio/api/enums/v1/activity.rbi +62 -0
  86. data/rbi/temporalio/api/enums/v1/batch_operation.rbi +47 -0
  87. data/rbi/temporalio/api/enums/v1/command_type.rbi +36 -0
  88. data/rbi/temporalio/api/enums/v1/common.rbi +181 -0
  89. data/rbi/temporalio/api/enums/v1/deployment.rbi +80 -0
  90. data/rbi/temporalio/api/enums/v1/event_type.rbi +79 -0
  91. data/rbi/temporalio/api/enums/v1/failed_cause.rbi +155 -0
  92. data/rbi/temporalio/api/enums/v1/namespace.rbi +58 -0
  93. data/rbi/temporalio/api/enums/v1/nexus.rbi +98 -0
  94. data/rbi/temporalio/api/enums/v1/query.rbi +40 -0
  95. data/rbi/temporalio/api/enums/v1/reset.rbi +60 -0
  96. data/rbi/temporalio/api/enums/v1/schedule.rbi +25 -0
  97. data/rbi/temporalio/api/enums/v1/task_queue.rbi +134 -0
  98. data/rbi/temporalio/api/enums/v1/update.rbi +39 -0
  99. data/rbi/temporalio/api/enums/v1/workflow.rbi +259 -0
  100. data/rbi/temporalio/api/errordetails/v1/message.rbi +1389 -0
  101. data/rbi/temporalio/api/export/v1/message.rbi +123 -0
  102. data/rbi/temporalio/api/failure/v1/message.rbi +1303 -0
  103. data/rbi/temporalio/api/filter/v1/message.rbi +267 -0
  104. data/rbi/temporalio/api/history/v1/message.rbi +10737 -0
  105. data/rbi/temporalio/api/namespace/v1/message.rbi +1044 -0
  106. data/rbi/temporalio/api/nexus/v1/message.rbi +2780 -0
  107. data/rbi/temporalio/api/nexusannotations/v1/options.rbi +161 -0
  108. data/rbi/temporalio/api/nexusservices/workerservice/v1/request_response.rbi +124 -0
  109. data/rbi/temporalio/api/operatorservice/v1/request_response.rbi +1836 -0
  110. data/rbi/temporalio/api/operatorservice/v1/service.rbi +3 -0
  111. data/rbi/temporalio/api/operatorservice/v1/service_services.rbi +143 -0
  112. data/rbi/temporalio/api/operatorservice.rbi +5 -0
  113. data/rbi/temporalio/api/payload_visitor.rbi +876 -0
  114. data/rbi/temporalio/api/protoc_gen_openapiv2/options/annotations.rbi +3 -0
  115. data/rbi/temporalio/api/protoc_gen_openapiv2/options/openapiv2.rbi +3482 -0
  116. data/rbi/temporalio/api/protocol/v1/message.rbi +139 -0
  117. data/rbi/temporalio/api/protometa/v1/annotations.rbi +97 -0
  118. data/rbi/temporalio/api/query/v1/message.rbi +288 -0
  119. data/rbi/temporalio/api/replication/v1/message.rbi +226 -0
  120. data/rbi/temporalio/api/rules/v1/message.rbi +492 -0
  121. data/rbi/temporalio/api/schedule/v1/message.rbi +2377 -0
  122. data/rbi/temporalio/api/sdk/v1/enhanced_stack_trace.rbi +478 -0
  123. data/rbi/temporalio/api/sdk/v1/event_group_marker.rbi +337 -0
  124. data/rbi/temporalio/api/sdk/v1/external_storage.rbi +85 -0
  125. data/rbi/temporalio/api/sdk/v1/task_complete_metadata.rbi +206 -0
  126. data/rbi/temporalio/api/sdk/v1/user_metadata.rbi +98 -0
  127. data/rbi/temporalio/api/sdk/v1/worker_config.rbi +255 -0
  128. data/rbi/temporalio/api/sdk/v1/workflow_metadata.rbi +297 -0
  129. data/rbi/temporalio/api/taskqueue/v1/message.rbi +2460 -0
  130. data/rbi/temporalio/api/testservice/v1/request_response.rbi +380 -0
  131. data/rbi/temporalio/api/testservice/v1/service.rbi +3 -0
  132. data/rbi/temporalio/api/testservice/v1/service_services.rbi +100 -0
  133. data/rbi/temporalio/api/update/v1/message.rbi +800 -0
  134. data/rbi/temporalio/api/version/v1/message.rbi +281 -0
  135. data/rbi/temporalio/api/worker/v1/message.rbi +1565 -0
  136. data/rbi/temporalio/api/workflow/v1/message.rbi +5011 -0
  137. data/rbi/temporalio/api/workflowservice/v1/request_response.rbi +30477 -0
  138. data/rbi/temporalio/api/workflowservice/v1/service.rbi +3 -0
  139. data/rbi/temporalio/api/workflowservice/v1/service_services.rbi +1571 -0
  140. data/rbi/temporalio/api/workflowservice.rbi +5 -0
  141. data/rbi/temporalio/api.rbi +7 -0
  142. data/rbi/temporalio/cancellation.rbi +40 -0
  143. data/rbi/temporalio/client/activity_execution.rbi +134 -0
  144. data/rbi/temporalio/client/activity_execution_count.rbi +23 -0
  145. data/rbi/temporalio/client/activity_execution_status.rbi +11 -0
  146. data/rbi/temporalio/client/activity_handle.rbi +49 -0
  147. data/rbi/temporalio/client/activity_id_reference.rbi +24 -0
  148. data/rbi/temporalio/client/async_activity_handle.rbi +49 -0
  149. data/rbi/temporalio/client/connection/cloud_service.rbi +239 -0
  150. data/rbi/temporalio/client/connection/operator_service.rbi +47 -0
  151. data/rbi/temporalio/client/connection/service.rbi +19 -0
  152. data/rbi/temporalio/client/connection/test_service.rbi +29 -0
  153. data/rbi/temporalio/client/connection/workflow_service.rbi +377 -0
  154. data/rbi/temporalio/client/connection.rbi +284 -0
  155. data/rbi/temporalio/client/interceptor.rbi +1067 -0
  156. data/rbi/temporalio/client/pending_activity_state.rbi +9 -0
  157. data/rbi/temporalio/client/plugin.rbi +17 -0
  158. data/rbi/temporalio/client/schedule.rbi +677 -0
  159. data/rbi/temporalio/client/schedule_handle.rbi +40 -0
  160. data/rbi/temporalio/client/with_start_workflow_operation.rbi +126 -0
  161. data/rbi/temporalio/client/workflow_execution.rbi +62 -0
  162. data/rbi/temporalio/client/workflow_execution_count.rbi +23 -0
  163. data/rbi/temporalio/client/workflow_execution_status.rbi +11 -0
  164. data/rbi/temporalio/client/workflow_handle.rbi +148 -0
  165. data/rbi/temporalio/client/workflow_query_reject_condition.rbi +7 -0
  166. data/rbi/temporalio/client/workflow_update_handle.rbi +38 -0
  167. data/rbi/temporalio/client/workflow_update_wait_stage.rbi +7 -0
  168. data/rbi/temporalio/client.rbi +534 -0
  169. data/rbi/temporalio/common_enums.rbi +45 -0
  170. data/rbi/temporalio/contrib/open_telemetry.rbi +73 -0
  171. data/rbi/temporalio/converters/data_converter.rbi +44 -0
  172. data/rbi/temporalio/converters/failure_converter.rbi +20 -0
  173. data/rbi/temporalio/converters/payload_codec.rbi +11 -0
  174. data/rbi/temporalio/converters/payload_converter/binary_null.rbi +5 -0
  175. data/rbi/temporalio/converters/payload_converter/binary_plain.rbi +5 -0
  176. data/rbi/temporalio/converters/payload_converter/binary_protobuf.rbi +5 -0
  177. data/rbi/temporalio/converters/payload_converter/composite.rbi +20 -0
  178. data/rbi/temporalio/converters/payload_converter/encoding.rbi +14 -0
  179. data/rbi/temporalio/converters/payload_converter/json_plain.rbi +10 -0
  180. data/rbi/temporalio/converters/payload_converter/json_protobuf.rbi +5 -0
  181. data/rbi/temporalio/converters/payload_converter.rbi +28 -0
  182. data/rbi/temporalio/converters/raw_value.rbi +11 -0
  183. data/rbi/temporalio/converters.rbi +3 -0
  184. data/rbi/temporalio/env_config.rbi +156 -0
  185. data/rbi/temporalio/error/failure.rbi +3 -0
  186. data/rbi/temporalio/error.rbi +313 -0
  187. data/rbi/temporalio/internal/bridge/api/activity_result/activity_result.rbi +547 -0
  188. data/rbi/temporalio/internal/bridge/api/activity_task/activity_task.rbi +705 -0
  189. data/rbi/temporalio/internal/bridge/api/child_workflow/child_workflow.rbi +332 -0
  190. data/rbi/temporalio/internal/bridge/api/common/common.rbi +191 -0
  191. data/rbi/temporalio/internal/bridge/api/core_interface.rbi +567 -0
  192. data/rbi/temporalio/internal/bridge/api/external_data/external_data.rbi +255 -0
  193. data/rbi/temporalio/internal/bridge/api/nexus/nexus.rbi +527 -0
  194. data/rbi/temporalio/internal/bridge/api/workflow_activation/workflow_activation.rbi +2808 -0
  195. data/rbi/temporalio/internal/bridge/api/workflow_commands/workflow_commands.rbi +3309 -0
  196. data/rbi/temporalio/internal/bridge/api/workflow_completion/workflow_completion.rbi +272 -0
  197. data/rbi/temporalio/internal/bridge/api.rbi +3 -0
  198. data/rbi/temporalio/internal/bridge/client.rbi +346 -0
  199. data/rbi/temporalio/internal/bridge/runtime.rbi +231 -0
  200. data/rbi/temporalio/internal/bridge/testing.rbi +109 -0
  201. data/rbi/temporalio/internal/bridge/worker.rbi +250 -0
  202. data/rbi/temporalio/internal/bridge.rbi +47 -0
  203. data/rbi/temporalio/internal/client/implementation.rbi +53 -0
  204. data/rbi/temporalio/internal/google_protobuf.rbi +8 -0
  205. data/rbi/temporalio/internal/metric.rbi +55 -0
  206. data/rbi/temporalio/internal/proto_utils.rbi +148 -0
  207. data/rbi/temporalio/internal/worker/activity_worker.rbi +108 -0
  208. data/rbi/temporalio/internal/worker/multi_runner.rbi +175 -0
  209. data/rbi/temporalio/internal/worker/workflow_instance/child_workflow_handle.rbi +20 -0
  210. data/rbi/temporalio/internal/worker/workflow_instance/context.rbi +290 -0
  211. data/rbi/temporalio/internal/worker/workflow_instance/details.rbi +87 -0
  212. data/rbi/temporalio/internal/worker/workflow_instance/external_workflow_handle.rbi +14 -0
  213. data/rbi/temporalio/internal/worker/workflow_instance/externally_immutable_hash.rbi +17 -0
  214. data/rbi/temporalio/internal/worker/workflow_instance/handler_execution.rbi +17 -0
  215. data/rbi/temporalio/internal/worker/workflow_instance/handler_hash.rbi +24 -0
  216. data/rbi/temporalio/internal/worker/workflow_instance/illegal_call_tracer.rbi +17 -0
  217. data/rbi/temporalio/internal/worker/workflow_instance/inbound_implementation.rbi +21 -0
  218. data/rbi/temporalio/internal/worker/workflow_instance/nexus_client.rbi +47 -0
  219. data/rbi/temporalio/internal/worker/workflow_instance/nexus_operation_handle.rbi +19 -0
  220. data/rbi/temporalio/internal/worker/workflow_instance/outbound_implementation.rbi +43 -0
  221. data/rbi/temporalio/internal/worker/workflow_instance/replay_safe_logger.rbi +11 -0
  222. data/rbi/temporalio/internal/worker/workflow_instance/replay_safe_metric.rbi +15 -0
  223. data/rbi/temporalio/internal/worker/workflow_instance/scheduler.rbi +36 -0
  224. data/rbi/temporalio/internal/worker/workflow_instance.rbi +231 -0
  225. data/rbi/temporalio/internal/worker/workflow_worker.rbi +199 -0
  226. data/rbi/temporalio/internal/workflow_task_failure_error.rbi +3 -0
  227. data/rbi/temporalio/internal.rbi +3 -0
  228. data/rbi/temporalio/metric.rbi +56 -0
  229. data/rbi/temporalio/priority.rbi +38 -0
  230. data/rbi/temporalio/retry_policy.rbi +40 -0
  231. data/rbi/temporalio/runtime/metric_buffer.rbi +45 -0
  232. data/rbi/temporalio/runtime.rbi +185 -0
  233. data/rbi/temporalio/scoped_logger.rbi +50 -0
  234. data/rbi/temporalio/search_attributes.rbi +94 -0
  235. data/rbi/temporalio/simple_plugin.rbi +41 -0
  236. data/rbi/temporalio/testing/activity_environment.rbi +43 -0
  237. data/rbi/temporalio/testing/workflow_environment.rbi +116 -0
  238. data/rbi/temporalio/testing.rbi +3 -0
  239. data/rbi/temporalio/version.rbi +5 -0
  240. data/rbi/temporalio/versioning_override.rbi +13 -0
  241. data/rbi/temporalio/worker/activity_executor/fiber.rbi +20 -0
  242. data/rbi/temporalio/worker/activity_executor/thread_pool.rbi +20 -0
  243. data/rbi/temporalio/worker/activity_executor.rbi +20 -0
  244. data/rbi/temporalio/worker/deployment_options.rbi +23 -0
  245. data/rbi/temporalio/worker/illegal_workflow_call_validator.rbi +33 -0
  246. data/rbi/temporalio/worker/interceptor.rbi +489 -0
  247. data/rbi/temporalio/worker/plugin.rbi +49 -0
  248. data/rbi/temporalio/worker/poller_behavior.rbi +29 -0
  249. data/rbi/temporalio/worker/thread_pool.rbi +38 -0
  250. data/rbi/temporalio/worker/tuner.rbi +221 -0
  251. data/rbi/temporalio/worker/workflow_executor/thread_pool.rbi +15 -0
  252. data/rbi/temporalio/worker/workflow_executor.rbi +8 -0
  253. data/rbi/temporalio/worker/workflow_replayer.rbi +152 -0
  254. data/rbi/temporalio/worker.rbi +258 -0
  255. data/rbi/temporalio/worker_deployment_version.rbi +29 -0
  256. data/rbi/temporalio/workflow/activity_cancellation_type.rbi +7 -0
  257. data/rbi/temporalio/workflow/child_workflow_cancellation_type.rbi +8 -0
  258. data/rbi/temporalio/workflow/child_workflow_handle.rbi +27 -0
  259. data/rbi/temporalio/workflow/definition.rbi +305 -0
  260. data/rbi/temporalio/workflow/external_workflow_handle.rbi +24 -0
  261. data/rbi/temporalio/workflow/future.rbi +62 -0
  262. data/rbi/temporalio/workflow/handler_unfinished_policy.rbi +6 -0
  263. data/rbi/temporalio/workflow/info.rbi +100 -0
  264. data/rbi/temporalio/workflow/nexus_client.rbi +65 -0
  265. data/rbi/temporalio/workflow/nexus_operation_cancellation_type.rbi +8 -0
  266. data/rbi/temporalio/workflow/nexus_operation_handle.rbi +14 -0
  267. data/rbi/temporalio/workflow/parent_close_policy.rbi +8 -0
  268. data/rbi/temporalio/workflow/update_info.rbi +14 -0
  269. data/rbi/temporalio/workflow.rbi +393 -0
  270. data/rbi/temporalio/workflow_history.rbi +21 -0
  271. data/rbi/temporalio.rbi +5 -0
  272. data/sig/common.rbs +1 -0
  273. data/sig/google/protobuf_compat.rbs +17 -0
  274. data/sig/open_telemetry.rbs +47 -0
  275. data/sig/temporalio/activity/cancellation_details.rbs +21 -0
  276. data/sig/temporalio/activity/complete_async_error.rbs +6 -0
  277. data/sig/temporalio/activity/context.rbs +26 -0
  278. data/sig/temporalio/activity/definition.rbs +60 -0
  279. data/sig/temporalio/activity/info.rbs +57 -0
  280. data/sig/temporalio/activity.rbs +4 -0
  281. data/sig/temporalio/api/activity/v1/message.rbs +708 -0
  282. data/sig/temporalio/api/batch/v1/message.rbs +594 -0
  283. data/sig/temporalio/api/callback/v1/message.rbs +112 -0
  284. data/sig/temporalio/api/cloud/account/v1/message.rbs +314 -0
  285. data/sig/temporalio/api/cloud/auditlog/v1/message.rbs +168 -0
  286. data/sig/temporalio/api/cloud/billing/v1/message.rbs +279 -0
  287. data/sig/temporalio/api/cloud/cloudservice/v1/request_response.rbs +4726 -0
  288. data/sig/temporalio/api/cloud/cloudservice/v1/service.rbs +25 -0
  289. data/sig/temporalio/api/cloud/cloudservice.rbs +8 -0
  290. data/sig/temporalio/api/cloud/connectivityrule/v1/message.rbs +191 -0
  291. data/sig/temporalio/api/cloud/identity/v1/message.rbs +1372 -0
  292. data/sig/temporalio/api/cloud/namespace/v1/message.rbs +1571 -0
  293. data/sig/temporalio/api/cloud/nexus/v1/message.rbs +269 -0
  294. data/sig/temporalio/api/cloud/operation/v1/message.rbs +156 -0
  295. data/sig/temporalio/api/cloud/region/v1/message.rbs +109 -0
  296. data/sig/temporalio/api/cloud/resource/v1/message.rbs +61 -0
  297. data/sig/temporalio/api/cloud/sink/v1/message.rbs +207 -0
  298. data/sig/temporalio/api/cloud/usage/v1/message.rbs +230 -0
  299. data/sig/temporalio/api/command/v1/message.rbs +1211 -0
  300. data/sig/temporalio/api/common/v1/grpc_status.rbs +59 -0
  301. data/sig/temporalio/api/common/v1/message.rbs +1238 -0
  302. data/sig/temporalio/api/compute/v1/config.rbs +176 -0
  303. data/sig/temporalio/api/compute/v1/provider.rbs +73 -0
  304. data/sig/temporalio/api/compute/v1/scaler.rbs +60 -0
  305. data/sig/temporalio/api/deployment/v1/message.rbs +1063 -0
  306. data/sig/temporalio/api/enums/v1/activity.rbs +134 -0
  307. data/sig/temporalio/api/enums/v1/batch_operation.rbs +80 -0
  308. data/sig/temporalio/api/enums/v1/command_type.rbs +74 -0
  309. data/sig/temporalio/api/enums/v1/common.rbs +271 -0
  310. data/sig/temporalio/api/enums/v1/deployment.rbs +177 -0
  311. data/sig/temporalio/api/enums/v1/event_type.rbs +263 -0
  312. data/sig/temporalio/api/enums/v1/failed_cause.rbs +281 -0
  313. data/sig/temporalio/api/enums/v1/namespace.rbs +87 -0
  314. data/sig/temporalio/api/enums/v1/nexus.rbs +172 -0
  315. data/sig/temporalio/api/enums/v1/query.rbs +69 -0
  316. data/sig/temporalio/api/enums/v1/reset.rbs +106 -0
  317. data/sig/temporalio/api/enums/v1/schedule.rbs +68 -0
  318. data/sig/temporalio/api/enums/v1/task_queue.rbs +238 -0
  319. data/sig/temporalio/api/enums/v1/update.rbs +87 -0
  320. data/sig/temporalio/api/enums/v1/workflow.rbs +435 -0
  321. data/sig/temporalio/api/errordetails/v1/message.rbs +532 -0
  322. data/sig/temporalio/api/export/v1/message.rbs +63 -0
  323. data/sig/temporalio/api/failure/v1/message.rbs +579 -0
  324. data/sig/temporalio/api/filter/v1/message.rbs +121 -0
  325. data/sig/temporalio/api/history/v1/message.rbs +4928 -0
  326. data/sig/temporalio/api/namespace/v1/message.rbs +465 -0
  327. data/sig/temporalio/api/nexus/v1/message.rbs +1268 -0
  328. data/sig/temporalio/api/nexusannotations/v1/options.rbs +76 -0
  329. data/sig/temporalio/api/nexusservices/workerservice/v1/request_response.rbs +65 -0
  330. data/sig/temporalio/api/operatorservice/v1/request_response.rbs +679 -0
  331. data/sig/temporalio/api/operatorservice/v1/service.rbs +23 -0
  332. data/sig/temporalio/api/operatorservice.rbs +6 -0
  333. data/sig/temporalio/api/payload_visitor.rbs +298 -0
  334. data/sig/temporalio/api/protoc_gen_openapiv2/options/annotations.rbs +23 -0
  335. data/sig/temporalio/api/protoc_gen_openapiv2/options/openapiv2.rbs +1691 -0
  336. data/sig/temporalio/api/protocol/v1/message.rbs +90 -0
  337. data/sig/temporalio/api/protometa/v1/annotations.rbs +62 -0
  338. data/sig/temporalio/api/query/v1/message.rbs +138 -0
  339. data/sig/temporalio/api/replication/v1/message.rbs +109 -0
  340. data/sig/temporalio/api/rules/v1/message.rbs +213 -0
  341. data/sig/temporalio/api/schedule/v1/message.rbs +1066 -0
  342. data/sig/temporalio/api/sdk/v1/enhanced_stack_trace.rbs +210 -0
  343. data/sig/temporalio/api/sdk/v1/event_group_marker.rbs +154 -0
  344. data/sig/temporalio/api/sdk/v1/external_storage.rbs +54 -0
  345. data/sig/temporalio/api/sdk/v1/task_complete_metadata.rbs +92 -0
  346. data/sig/temporalio/api/sdk/v1/user_metadata.rbs +58 -0
  347. data/sig/temporalio/api/sdk/v1/worker_config.rbs +122 -0
  348. data/sig/temporalio/api/sdk/v1/workflow_metadata.rbs +138 -0
  349. data/sig/temporalio/api/taskqueue/v1/message.rbs +1013 -0
  350. data/sig/temporalio/api/testservice/v1/request_response.rbs +125 -0
  351. data/sig/temporalio/api/testservice/v1/service.rbs +23 -0
  352. data/sig/temporalio/api/update/v1/message.rbs +349 -0
  353. data/sig/temporalio/api/version/v1/message.rbs +143 -0
  354. data/sig/temporalio/api/worker/v1/message.rbs +716 -0
  355. data/sig/temporalio/api/workflow/v1/message.rbs +2322 -0
  356. data/sig/temporalio/api/workflowservice/v1/request_response.rbs +12735 -0
  357. data/sig/temporalio/api/workflowservice/v1/service.rbs +23 -0
  358. data/sig/temporalio/api/workflowservice.rbs +6 -0
  359. data/sig/temporalio/api.rbs +4 -0
  360. data/sig/temporalio/cancellation.rbs +20 -0
  361. data/sig/temporalio/client/activity_execution.rbs +50 -0
  362. data/sig/temporalio/client/activity_execution_count.rbs +17 -0
  363. data/sig/temporalio/client/activity_execution_status.rbs +15 -0
  364. data/sig/temporalio/client/activity_handle.rbs +26 -0
  365. data/sig/temporalio/client/activity_id_reference.rbs +16 -0
  366. data/sig/temporalio/client/async_activity_handle.rbs +41 -0
  367. data/sig/temporalio/client/connection/cloud_service.rbs +315 -0
  368. data/sig/temporalio/client/connection/operator_service.rbs +59 -0
  369. data/sig/temporalio/client/connection/service.rbs +17 -0
  370. data/sig/temporalio/client/connection/test_service.rbs +35 -0
  371. data/sig/temporalio/client/connection/workflow_service.rbs +499 -0
  372. data/sig/temporalio/client/connection.rbs +143 -0
  373. data/sig/temporalio/client/interceptor.rbs +622 -0
  374. data/sig/temporalio/client/pending_activity_state.rbs +14 -0
  375. data/sig/temporalio/client/plugin.rbs +14 -0
  376. data/sig/temporalio/client/schedule.rbs +337 -0
  377. data/sig/temporalio/client/schedule_handle.rbs +44 -0
  378. data/sig/temporalio/client/with_start_workflow_operation.rbs +82 -0
  379. data/sig/temporalio/client/workflow_execution.rbs +37 -0
  380. data/sig/temporalio/client/workflow_execution_count.rbs +17 -0
  381. data/sig/temporalio/client/workflow_execution_status.rbs +16 -0
  382. data/sig/temporalio/client/workflow_handle.rbs +95 -0
  383. data/sig/temporalio/client/workflow_query_reject_condition.rbs +12 -0
  384. data/sig/temporalio/client/workflow_update_handle.rbs +26 -0
  385. data/sig/temporalio/client/workflow_update_wait_stage.rbs +12 -0
  386. data/sig/temporalio/client.rbs +271 -0
  387. data/sig/temporalio/common_enums.rbs +60 -0
  388. data/sig/temporalio/contrib/open_telemetry.rbs +74 -0
  389. data/sig/temporalio/converters/data_converter.rbs +32 -0
  390. data/sig/temporalio/converters/failure_converter.rbs +12 -0
  391. data/sig/temporalio/converters/payload_codec.rbs +8 -0
  392. data/sig/temporalio/converters/payload_converter/binary_null.rbs +9 -0
  393. data/sig/temporalio/converters/payload_converter/binary_plain.rbs +9 -0
  394. data/sig/temporalio/converters/payload_converter/binary_protobuf.rbs +9 -0
  395. data/sig/temporalio/converters/payload_converter/composite.rbs +16 -0
  396. data/sig/temporalio/converters/payload_converter/encoding.rbs +13 -0
  397. data/sig/temporalio/converters/payload_converter/json_plain.rbs +14 -0
  398. data/sig/temporalio/converters/payload_converter/json_protobuf.rbs +9 -0
  399. data/sig/temporalio/converters/payload_converter.rbs +24 -0
  400. data/sig/temporalio/converters/raw_value.rbs +9 -0
  401. data/sig/temporalio/converters.rbs +4 -0
  402. data/sig/temporalio/env_config.rbs +86 -0
  403. data/sig/temporalio/error/failure.rbs +170 -0
  404. data/sig/temporalio/error.rbs +88 -0
  405. data/sig/temporalio/internal/bridge/api/activity_result/activity_result.rbs +247 -0
  406. data/sig/temporalio/internal/bridge/api/activity_task/activity_task.rbs +372 -0
  407. data/sig/temporalio/internal/bridge/api/child_workflow/child_workflow.rbs +207 -0
  408. data/sig/temporalio/internal/bridge/api/common/common.rbs +123 -0
  409. data/sig/temporalio/internal/bridge/api/core_interface.rbs +231 -0
  410. data/sig/temporalio/internal/bridge/api/external_data/external_data.rbs +134 -0
  411. data/sig/temporalio/internal/bridge/api/nexus/nexus.rbs +285 -0
  412. data/sig/temporalio/internal/bridge/api/workflow_activation/workflow_activation.rbs +1304 -0
  413. data/sig/temporalio/internal/bridge/api/workflow_commands/workflow_commands.rbs +1526 -0
  414. data/sig/temporalio/internal/bridge/api/workflow_completion/workflow_completion.rbs +136 -0
  415. data/sig/temporalio/internal/bridge/api.rbs +8 -0
  416. data/sig/temporalio/internal/bridge/client.rbs +144 -0
  417. data/sig/temporalio/internal/bridge/metric.rbs +28 -0
  418. data/sig/temporalio/internal/bridge/runtime.rbs +97 -0
  419. data/sig/temporalio/internal/bridge/testing.rbs +91 -0
  420. data/sig/temporalio/internal/bridge/worker.rbs +199 -0
  421. data/sig/temporalio/internal/bridge.rbs +36 -0
  422. data/sig/temporalio/internal/client/implementation.rbs +33 -0
  423. data/sig/temporalio/internal/google_protobuf.rbs +7 -0
  424. data/sig/temporalio/internal/metric.rbs +35 -0
  425. data/sig/temporalio/internal/proto_utils.rbs +94 -0
  426. data/sig/temporalio/internal/worker/activity_worker.rbs +64 -0
  427. data/sig/temporalio/internal/worker/multi_runner.rbs +132 -0
  428. data/sig/temporalio/internal/worker/workflow_instance/child_workflow_handle.rbs +22 -0
  429. data/sig/temporalio/internal/worker/workflow_instance/context.rbs +172 -0
  430. data/sig/temporalio/internal/worker/workflow_instance/details.rbs +43 -0
  431. data/sig/temporalio/internal/worker/workflow_instance/external_workflow_handle.rbs +15 -0
  432. data/sig/temporalio/internal/worker/workflow_instance/externally_immutable_hash.rbs +16 -0
  433. data/sig/temporalio/internal/worker/workflow_instance/handler_execution.rbs +19 -0
  434. data/sig/temporalio/internal/worker/workflow_instance/handler_hash.rbs +14 -0
  435. data/sig/temporalio/internal/worker/workflow_instance/illegal_call_tracer.rbs +20 -0
  436. data/sig/temporalio/internal/worker/workflow_instance/inbound_implementation.rbs +19 -0
  437. data/sig/temporalio/internal/worker/workflow_instance/nexus_client.rbs +25 -0
  438. data/sig/temporalio/internal/worker/workflow_instance/nexus_operation_handle.rbs +19 -0
  439. data/sig/temporalio/internal/worker/workflow_instance/outbound_implementation.rbs +35 -0
  440. data/sig/temporalio/internal/worker/workflow_instance/replay_safe_logger.rbs +16 -0
  441. data/sig/temporalio/internal/worker/workflow_instance/replay_safe_metric.rbs +15 -0
  442. data/sig/temporalio/internal/worker/workflow_instance/scheduler.rbs +52 -0
  443. data/sig/temporalio/internal/worker/workflow_instance.rbs +111 -0
  444. data/sig/temporalio/internal/worker/workflow_worker.rbs +99 -0
  445. data/sig/temporalio/internal/workflow_task_failure_error.rbs +6 -0
  446. data/sig/temporalio/internal.rbs +4 -0
  447. data/sig/temporalio/metric.rbs +55 -0
  448. data/sig/temporalio/priority.rbs +17 -0
  449. data/sig/temporalio/retry_policy.rbs +21 -0
  450. data/sig/temporalio/runtime/metric_buffer.rbs +49 -0
  451. data/sig/temporalio/runtime.rbs +118 -0
  452. data/sig/temporalio/scoped_logger.rbs +15 -0
  453. data/sig/temporalio/search_attributes.rbs +82 -0
  454. data/sig/temporalio/simple_plugin.rbs +65 -0
  455. data/sig/temporalio/testing/activity_environment.rbs +52 -0
  456. data/sig/temporalio/testing/workflow_environment.rbs +141 -0
  457. data/sig/temporalio/testing.rbs +4 -0
  458. data/sig/temporalio/version.rbs +3 -0
  459. data/sig/temporalio/versioning_override.rbs +17 -0
  460. data/sig/temporalio/worker/activity_executor/fiber.rbs +9 -0
  461. data/sig/temporalio/worker/activity_executor/thread_pool.rbs +11 -0
  462. data/sig/temporalio/worker/activity_executor.rbs +12 -0
  463. data/sig/temporalio/worker/deployment_options.rbs +17 -0
  464. data/sig/temporalio/worker/illegal_workflow_call_validator.rbs +25 -0
  465. data/sig/temporalio/worker/interceptor.rbs +373 -0
  466. data/sig/temporalio/worker/plugin.rbs +47 -0
  467. data/sig/temporalio/worker/poller_behavior.rbs +23 -0
  468. data/sig/temporalio/worker/thread_pool.rbs +44 -0
  469. data/sig/temporalio/worker/tuner.rbs +121 -0
  470. data/sig/temporalio/worker/workflow_executor/thread_pool.rbs +58 -0
  471. data/sig/temporalio/worker/workflow_executor.rbs +15 -0
  472. data/sig/temporalio/worker/workflow_replayer.rbs +105 -0
  473. data/sig/temporalio/worker.rbs +168 -0
  474. data/sig/temporalio/worker_deployment_version.rbs +17 -0
  475. data/sig/temporalio/workflow/activity_cancellation_type.rbs +11 -0
  476. data/sig/temporalio/workflow/child_workflow_cancellation_type.rbs +12 -0
  477. data/sig/temporalio/workflow/child_workflow_handle.rbs +18 -0
  478. data/sig/temporalio/workflow/definition.rbs +181 -0
  479. data/sig/temporalio/workflow/external_workflow_handle.rbs +17 -0
  480. data/sig/temporalio/workflow/future.rbs +24 -0
  481. data/sig/temporalio/workflow/handler_unfinished_policy.rbs +10 -0
  482. data/sig/temporalio/workflow/info.rbs +79 -0
  483. data/sig/temporalio/workflow/nexus_client.rbs +34 -0
  484. data/sig/temporalio/workflow/nexus_operation_cancellation_type.rbs +12 -0
  485. data/sig/temporalio/workflow/nexus_operation_handle.rbs +10 -0
  486. data/sig/temporalio/workflow/parent_close_policy.rbs +12 -0
  487. data/sig/temporalio/workflow/update_info.rbs +15 -0
  488. data/sig/temporalio/workflow.rbs +215 -0
  489. data/sig/temporalio/workflow_history.rbs +13 -0
  490. data/sig/temporalio.rbs +3 -0
  491. data/temporalio.gemspec +1 -1
  492. metadata +445 -2
@@ -0,0 +1,2655 @@
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
+ ).void
1598
+ end
1599
+ def initialize(
1600
+ namespace: "",
1601
+ workflow_id: "",
1602
+ workflow_type: nil,
1603
+ task_queue: nil,
1604
+ input: nil,
1605
+ workflow_execution_timeout: nil,
1606
+ workflow_run_timeout: nil,
1607
+ workflow_task_timeout: nil,
1608
+ parent_close_policy: :PARENT_CLOSE_POLICY_UNSPECIFIED,
1609
+ control: "",
1610
+ workflow_id_reuse_policy: :WORKFLOW_ID_REUSE_POLICY_UNSPECIFIED,
1611
+ retry_policy: nil,
1612
+ cron_schedule: "",
1613
+ header: nil,
1614
+ memo: nil,
1615
+ search_attributes: nil,
1616
+ inherit_build_id: false,
1617
+ priority: nil
1618
+ )
1619
+ end
1620
+
1621
+ # Deprecated. Cross-namespace operations are disabled by default as of server 1.30.1.
1622
+ sig { returns(String) }
1623
+ def namespace
1624
+ end
1625
+
1626
+ # Deprecated. Cross-namespace operations are disabled by default as of server 1.30.1.
1627
+ sig { params(value: String).void }
1628
+ def namespace=(value)
1629
+ end
1630
+
1631
+ # Deprecated. Cross-namespace operations are disabled by default as of server 1.30.1.
1632
+ sig { void }
1633
+ def clear_namespace
1634
+ end
1635
+
1636
+ sig { returns(String) }
1637
+ def workflow_id
1638
+ end
1639
+
1640
+ sig { params(value: String).void }
1641
+ def workflow_id=(value)
1642
+ end
1643
+
1644
+ sig { void }
1645
+ def clear_workflow_id
1646
+ end
1647
+
1648
+ sig { returns(T.nilable(Temporalio::Api::Common::V1::WorkflowType)) }
1649
+ def workflow_type
1650
+ end
1651
+
1652
+ sig { params(value: T.nilable(Temporalio::Api::Common::V1::WorkflowType)).void }
1653
+ def workflow_type=(value)
1654
+ end
1655
+
1656
+ sig { void }
1657
+ def clear_workflow_type
1658
+ end
1659
+
1660
+ sig { returns(T.nilable(Temporalio::Api::TaskQueue::V1::TaskQueue)) }
1661
+ def task_queue
1662
+ end
1663
+
1664
+ sig { params(value: T.nilable(Temporalio::Api::TaskQueue::V1::TaskQueue)).void }
1665
+ def task_queue=(value)
1666
+ end
1667
+
1668
+ sig { void }
1669
+ def clear_task_queue
1670
+ end
1671
+
1672
+ sig { returns(T.nilable(Temporalio::Api::Common::V1::Payloads)) }
1673
+ def input
1674
+ end
1675
+
1676
+ sig { params(value: T.nilable(Temporalio::Api::Common::V1::Payloads)).void }
1677
+ def input=(value)
1678
+ end
1679
+
1680
+ sig { void }
1681
+ def clear_input
1682
+ end
1683
+
1684
+ # Total workflow execution timeout including retries and continue as new.
1685
+ sig { returns(T.nilable(Google::Protobuf::Duration)) }
1686
+ def workflow_execution_timeout
1687
+ end
1688
+
1689
+ # Total workflow execution timeout including retries and continue as new.
1690
+ sig { params(value: T.nilable(Google::Protobuf::Duration)).void }
1691
+ def workflow_execution_timeout=(value)
1692
+ end
1693
+
1694
+ # Total workflow execution timeout including retries and continue as new.
1695
+ sig { void }
1696
+ def clear_workflow_execution_timeout
1697
+ end
1698
+
1699
+ # Timeout of a single workflow run.
1700
+ sig { returns(T.nilable(Google::Protobuf::Duration)) }
1701
+ def workflow_run_timeout
1702
+ end
1703
+
1704
+ # Timeout of a single workflow run.
1705
+ sig { params(value: T.nilable(Google::Protobuf::Duration)).void }
1706
+ def workflow_run_timeout=(value)
1707
+ end
1708
+
1709
+ # Timeout of a single workflow run.
1710
+ sig { void }
1711
+ def clear_workflow_run_timeout
1712
+ end
1713
+
1714
+ # Timeout of a single workflow task.
1715
+ sig { returns(T.nilable(Google::Protobuf::Duration)) }
1716
+ def workflow_task_timeout
1717
+ end
1718
+
1719
+ # Timeout of a single workflow task.
1720
+ sig { params(value: T.nilable(Google::Protobuf::Duration)).void }
1721
+ def workflow_task_timeout=(value)
1722
+ end
1723
+
1724
+ # Timeout of a single workflow task.
1725
+ sig { void }
1726
+ def clear_workflow_task_timeout
1727
+ end
1728
+
1729
+ # Default: PARENT_CLOSE_POLICY_TERMINATE.
1730
+ sig { returns(T.any(Symbol, Integer)) }
1731
+ def parent_close_policy
1732
+ end
1733
+
1734
+ # Default: PARENT_CLOSE_POLICY_TERMINATE.
1735
+ sig { params(value: T.any(Symbol, String, Integer)).void }
1736
+ def parent_close_policy=(value)
1737
+ end
1738
+
1739
+ # Default: PARENT_CLOSE_POLICY_TERMINATE.
1740
+ sig { void }
1741
+ def clear_parent_close_policy
1742
+ end
1743
+
1744
+ sig { returns(String) }
1745
+ def control
1746
+ end
1747
+
1748
+ sig { params(value: String).void }
1749
+ def control=(value)
1750
+ end
1751
+
1752
+ sig { void }
1753
+ def clear_control
1754
+ end
1755
+
1756
+ # Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.
1757
+ sig { returns(T.any(Symbol, Integer)) }
1758
+ def workflow_id_reuse_policy
1759
+ end
1760
+
1761
+ # Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.
1762
+ sig { params(value: T.any(Symbol, String, Integer)).void }
1763
+ def workflow_id_reuse_policy=(value)
1764
+ end
1765
+
1766
+ # Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.
1767
+ sig { void }
1768
+ def clear_workflow_id_reuse_policy
1769
+ end
1770
+
1771
+ sig { returns(T.nilable(Temporalio::Api::Common::V1::RetryPolicy)) }
1772
+ def retry_policy
1773
+ end
1774
+
1775
+ sig { params(value: T.nilable(Temporalio::Api::Common::V1::RetryPolicy)).void }
1776
+ def retry_policy=(value)
1777
+ end
1778
+
1779
+ sig { void }
1780
+ def clear_retry_policy
1781
+ end
1782
+
1783
+ # Establish a cron schedule for the child workflow.
1784
+ sig { returns(String) }
1785
+ def cron_schedule
1786
+ end
1787
+
1788
+ # Establish a cron schedule for the child workflow.
1789
+ sig { params(value: String).void }
1790
+ def cron_schedule=(value)
1791
+ end
1792
+
1793
+ # Establish a cron schedule for the child workflow.
1794
+ sig { void }
1795
+ def clear_cron_schedule
1796
+ end
1797
+
1798
+ sig { returns(T.nilable(Temporalio::Api::Common::V1::Header)) }
1799
+ def header
1800
+ end
1801
+
1802
+ sig { params(value: T.nilable(Temporalio::Api::Common::V1::Header)).void }
1803
+ def header=(value)
1804
+ end
1805
+
1806
+ sig { void }
1807
+ def clear_header
1808
+ end
1809
+
1810
+ sig { returns(T.nilable(Temporalio::Api::Common::V1::Memo)) }
1811
+ def memo
1812
+ end
1813
+
1814
+ sig { params(value: T.nilable(Temporalio::Api::Common::V1::Memo)).void }
1815
+ def memo=(value)
1816
+ end
1817
+
1818
+ sig { void }
1819
+ def clear_memo
1820
+ end
1821
+
1822
+ sig { returns(T.nilable(Temporalio::Api::Common::V1::SearchAttributes)) }
1823
+ def search_attributes
1824
+ end
1825
+
1826
+ sig { params(value: T.nilable(Temporalio::Api::Common::V1::SearchAttributes)).void }
1827
+ def search_attributes=(value)
1828
+ end
1829
+
1830
+ sig { void }
1831
+ def clear_search_attributes
1832
+ end
1833
+
1834
+ # If this is set, the child workflow inherits the Build ID of the parent. Otherwise, the assignment
1835
+ # rules of the child's Task Queue will be used to independently assign a Build ID to it.
1836
+ # Deprecated. Only considered for versioning v0.2.
1837
+ sig { returns(T::Boolean) }
1838
+ def inherit_build_id
1839
+ end
1840
+
1841
+ # If this is set, the child workflow inherits the Build ID of the parent. Otherwise, the assignment
1842
+ # rules of the child's Task Queue will be used to independently assign a Build ID to it.
1843
+ # Deprecated. Only considered for versioning v0.2.
1844
+ sig { params(value: T::Boolean).void }
1845
+ def inherit_build_id=(value)
1846
+ end
1847
+
1848
+ # If this is set, the child workflow inherits the Build ID of the parent. Otherwise, the assignment
1849
+ # rules of the child's Task Queue will be used to independently assign a Build ID to it.
1850
+ # Deprecated. Only considered for versioning v0.2.
1851
+ sig { void }
1852
+ def clear_inherit_build_id
1853
+ end
1854
+
1855
+ # Priority metadata. If this message is not present, or any fields are not
1856
+ # present, they inherit the values from the workflow.
1857
+ sig { returns(T.nilable(Temporalio::Api::Common::V1::Priority)) }
1858
+ def priority
1859
+ end
1860
+
1861
+ # Priority metadata. If this message is not present, or any fields are not
1862
+ # present, they inherit the values from the workflow.
1863
+ sig { params(value: T.nilable(Temporalio::Api::Common::V1::Priority)).void }
1864
+ def priority=(value)
1865
+ end
1866
+
1867
+ # Priority metadata. If this message is not present, or any fields are not
1868
+ # present, they inherit the values from the workflow.
1869
+ sig { void }
1870
+ def clear_priority
1871
+ end
1872
+
1873
+ sig { params(field: String).returns(T.untyped) }
1874
+ def [](field)
1875
+ end
1876
+
1877
+ sig { params(field: String, value: T.untyped).void }
1878
+ def []=(field, value)
1879
+ end
1880
+
1881
+ sig { returns(T::Hash[Symbol, T.untyped]) }
1882
+ def to_h
1883
+ end
1884
+
1885
+ sig { params(str: String).returns(Temporalio::Api::Command::V1::StartChildWorkflowExecutionCommandAttributes) }
1886
+ def self.decode(str)
1887
+ end
1888
+
1889
+ sig { params(msg: Temporalio::Api::Command::V1::StartChildWorkflowExecutionCommandAttributes).returns(String) }
1890
+ def self.encode(msg)
1891
+ end
1892
+
1893
+ sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Command::V1::StartChildWorkflowExecutionCommandAttributes) }
1894
+ def self.decode_json(str, **kw)
1895
+ end
1896
+
1897
+ sig { params(msg: Temporalio::Api::Command::V1::StartChildWorkflowExecutionCommandAttributes, kw: T.untyped).returns(String) }
1898
+ def self.encode_json(msg, **kw)
1899
+ end
1900
+
1901
+ sig { returns(::Google::Protobuf::Descriptor) }
1902
+ def self.descriptor
1903
+ end
1904
+ end
1905
+
1906
+ class Temporalio::Api::Command::V1::ProtocolMessageCommandAttributes
1907
+ include ::Google::Protobuf::MessageExts
1908
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1909
+
1910
+ sig do
1911
+ params(
1912
+ message_id: T.nilable(String)
1913
+ ).void
1914
+ end
1915
+ def initialize(
1916
+ message_id: ""
1917
+ )
1918
+ end
1919
+
1920
+ # The message ID of the message to which this command is a pointer.
1921
+ sig { returns(String) }
1922
+ def message_id
1923
+ end
1924
+
1925
+ # The message ID of the message to which this command is a pointer.
1926
+ sig { params(value: String).void }
1927
+ def message_id=(value)
1928
+ end
1929
+
1930
+ # The message ID of the message to which this command is a pointer.
1931
+ sig { void }
1932
+ def clear_message_id
1933
+ end
1934
+
1935
+ sig { params(field: String).returns(T.untyped) }
1936
+ def [](field)
1937
+ end
1938
+
1939
+ sig { params(field: String, value: T.untyped).void }
1940
+ def []=(field, value)
1941
+ end
1942
+
1943
+ sig { returns(T::Hash[Symbol, T.untyped]) }
1944
+ def to_h
1945
+ end
1946
+
1947
+ sig { params(str: String).returns(Temporalio::Api::Command::V1::ProtocolMessageCommandAttributes) }
1948
+ def self.decode(str)
1949
+ end
1950
+
1951
+ sig { params(msg: Temporalio::Api::Command::V1::ProtocolMessageCommandAttributes).returns(String) }
1952
+ def self.encode(msg)
1953
+ end
1954
+
1955
+ sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Command::V1::ProtocolMessageCommandAttributes) }
1956
+ def self.decode_json(str, **kw)
1957
+ end
1958
+
1959
+ sig { params(msg: Temporalio::Api::Command::V1::ProtocolMessageCommandAttributes, kw: T.untyped).returns(String) }
1960
+ def self.encode_json(msg, **kw)
1961
+ end
1962
+
1963
+ sig { returns(::Google::Protobuf::Descriptor) }
1964
+ def self.descriptor
1965
+ end
1966
+ end
1967
+
1968
+ class Temporalio::Api::Command::V1::ScheduleNexusOperationCommandAttributes
1969
+ include ::Google::Protobuf::MessageExts
1970
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1971
+
1972
+ sig do
1973
+ params(
1974
+ endpoint: T.nilable(String),
1975
+ service: T.nilable(String),
1976
+ operation: T.nilable(String),
1977
+ input: T.nilable(Temporalio::Api::Common::V1::Payload),
1978
+ schedule_to_close_timeout: T.nilable(Google::Protobuf::Duration),
1979
+ nexus_header: T.nilable(T::Hash[String, String]),
1980
+ schedule_to_start_timeout: T.nilable(Google::Protobuf::Duration),
1981
+ start_to_close_timeout: T.nilable(Google::Protobuf::Duration)
1982
+ ).void
1983
+ end
1984
+ def initialize(
1985
+ endpoint: "",
1986
+ service: "",
1987
+ operation: "",
1988
+ input: nil,
1989
+ schedule_to_close_timeout: nil,
1990
+ nexus_header: ::Google::Protobuf::Map.new(:string, :string),
1991
+ schedule_to_start_timeout: nil,
1992
+ start_to_close_timeout: nil
1993
+ )
1994
+ end
1995
+
1996
+ # Endpoint name, must exist in the endpoint registry or this command will fail.
1997
+ sig { returns(String) }
1998
+ def endpoint
1999
+ end
2000
+
2001
+ # Endpoint name, must exist in the endpoint registry or this command will fail.
2002
+ sig { params(value: String).void }
2003
+ def endpoint=(value)
2004
+ end
2005
+
2006
+ # Endpoint name, must exist in the endpoint registry or this command will fail.
2007
+ sig { void }
2008
+ def clear_endpoint
2009
+ end
2010
+
2011
+ # Service name.
2012
+ sig { returns(String) }
2013
+ def service
2014
+ end
2015
+
2016
+ # Service name.
2017
+ sig { params(value: String).void }
2018
+ def service=(value)
2019
+ end
2020
+
2021
+ # Service name.
2022
+ sig { void }
2023
+ def clear_service
2024
+ end
2025
+
2026
+ # Operation name.
2027
+ sig { returns(String) }
2028
+ def operation
2029
+ end
2030
+
2031
+ # Operation name.
2032
+ sig { params(value: String).void }
2033
+ def operation=(value)
2034
+ end
2035
+
2036
+ # Operation name.
2037
+ sig { void }
2038
+ def clear_operation
2039
+ end
2040
+
2041
+ # Input for the operation. The server converts this into Nexus request content and the appropriate content headers
2042
+ # internally when sending the StartOperation request. On the handler side, if it is also backed by Temporal, the
2043
+ # content is transformed back to the original Payload sent in this command.
2044
+ sig { returns(T.nilable(Temporalio::Api::Common::V1::Payload)) }
2045
+ def input
2046
+ end
2047
+
2048
+ # Input for the operation. The server converts this into Nexus request content and the appropriate content headers
2049
+ # internally when sending the StartOperation request. On the handler side, if it is also backed by Temporal, the
2050
+ # content is transformed back to the original Payload sent in this command.
2051
+ sig { params(value: T.nilable(Temporalio::Api::Common::V1::Payload)).void }
2052
+ def input=(value)
2053
+ end
2054
+
2055
+ # Input for the operation. The server converts this into Nexus request content and the appropriate content headers
2056
+ # internally when sending the StartOperation request. On the handler side, if it is also backed by Temporal, the
2057
+ # content is transformed back to the original Payload sent in this command.
2058
+ sig { void }
2059
+ def clear_input
2060
+ end
2061
+
2062
+ # Schedule-to-close timeout for this operation.
2063
+ # Indicates how long the caller is willing to wait for operation completion.
2064
+ # Calls are retried internally by the server.
2065
+ # (-- api-linter: core::0140::prepositions=disabled
2066
+ # aip.dev/not-precedent: "to" is used to indicate interval. --)
2067
+ sig { returns(T.nilable(Google::Protobuf::Duration)) }
2068
+ def schedule_to_close_timeout
2069
+ end
2070
+
2071
+ # Schedule-to-close timeout for this operation.
2072
+ # Indicates how long the caller is willing to wait for operation completion.
2073
+ # Calls are retried internally by the server.
2074
+ # (-- api-linter: core::0140::prepositions=disabled
2075
+ # aip.dev/not-precedent: "to" is used to indicate interval. --)
2076
+ sig { params(value: T.nilable(Google::Protobuf::Duration)).void }
2077
+ def schedule_to_close_timeout=(value)
2078
+ end
2079
+
2080
+ # Schedule-to-close timeout for this operation.
2081
+ # Indicates how long the caller is willing to wait for operation completion.
2082
+ # Calls are retried internally by the server.
2083
+ # (-- api-linter: core::0140::prepositions=disabled
2084
+ # aip.dev/not-precedent: "to" is used to indicate interval. --)
2085
+ sig { void }
2086
+ def clear_schedule_to_close_timeout
2087
+ end
2088
+
2089
+ # Header to attach to the Nexus request.
2090
+ # Users are responsible for encrypting sensitive data in this header as it is stored in workflow history and
2091
+ # transmitted to external services as-is.
2092
+ # This is useful for propagating tracing information.
2093
+ # Note these headers are not the same as Temporal headers on internal activities and child workflows, these are
2094
+ # transmitted to Nexus operations that may be external and are not traditional payloads.
2095
+ sig { returns(T::Hash[String, String]) }
2096
+ def nexus_header
2097
+ end
2098
+
2099
+ # Header to attach to the Nexus request.
2100
+ # Users are responsible for encrypting sensitive data in this header as it is stored in workflow history and
2101
+ # transmitted to external services as-is.
2102
+ # This is useful for propagating tracing information.
2103
+ # Note these headers are not the same as Temporal headers on internal activities and child workflows, these are
2104
+ # transmitted to Nexus operations that may be external and are not traditional payloads.
2105
+ sig { params(value: ::Google::Protobuf::Map).void }
2106
+ def nexus_header=(value)
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 { void }
2116
+ def clear_nexus_header
2117
+ end
2118
+
2119
+ # Schedule-to-start timeout for this operation.
2120
+ # Indicates how long the caller is willing to wait for the operation to be started (or completed if synchronous)
2121
+ # by the handler. If the operation is not started within this timeout, it will fail with
2122
+ # TIMEOUT_TYPE_SCHEDULE_TO_START.
2123
+ # If not set or zero, no schedule-to-start timeout is enforced.
2124
+ # (-- api-linter: core::0140::prepositions=disabled
2125
+ # aip.dev/not-precedent: "to" is used to indicate interval. --)
2126
+ # Requires server version 1.31.0 or later.
2127
+ sig { returns(T.nilable(Google::Protobuf::Duration)) }
2128
+ def schedule_to_start_timeout
2129
+ end
2130
+
2131
+ # Schedule-to-start timeout for this operation.
2132
+ # Indicates how long the caller is willing to wait for the operation to be started (or completed if synchronous)
2133
+ # by the handler. If the operation is not started within this timeout, it will fail with
2134
+ # TIMEOUT_TYPE_SCHEDULE_TO_START.
2135
+ # If not set or zero, no schedule-to-start timeout is enforced.
2136
+ # (-- api-linter: core::0140::prepositions=disabled
2137
+ # aip.dev/not-precedent: "to" is used to indicate interval. --)
2138
+ # Requires server version 1.31.0 or later.
2139
+ sig { params(value: T.nilable(Google::Protobuf::Duration)).void }
2140
+ def schedule_to_start_timeout=(value)
2141
+ end
2142
+
2143
+ # Schedule-to-start timeout for this operation.
2144
+ # Indicates how long the caller is willing to wait for the operation to be started (or completed if synchronous)
2145
+ # by the handler. If the operation is not started within this timeout, it will fail with
2146
+ # TIMEOUT_TYPE_SCHEDULE_TO_START.
2147
+ # If not set or zero, no schedule-to-start timeout is enforced.
2148
+ # (-- api-linter: core::0140::prepositions=disabled
2149
+ # aip.dev/not-precedent: "to" is used to indicate interval. --)
2150
+ # Requires server version 1.31.0 or later.
2151
+ sig { void }
2152
+ def clear_schedule_to_start_timeout
2153
+ end
2154
+
2155
+ # Start-to-close timeout for this operation.
2156
+ # Indicates how long the caller is willing to wait for an asynchronous operation to complete after it has been
2157
+ # started. If the operation does not complete within this timeout after starting, it will fail with
2158
+ # TIMEOUT_TYPE_START_TO_CLOSE.
2159
+ # Only applies to asynchronous operations. Synchronous operations ignore this timeout.
2160
+ # If not set or zero, no start-to-close timeout is enforced.
2161
+ # (-- api-linter: core::0140::prepositions=disabled
2162
+ # aip.dev/not-precedent: "to" is used to indicate interval. --)
2163
+ # Requires server version 1.31.0 or later.
2164
+ sig { returns(T.nilable(Google::Protobuf::Duration)) }
2165
+ def start_to_close_timeout
2166
+ end
2167
+
2168
+ # Start-to-close timeout for this operation.
2169
+ # Indicates how long the caller is willing to wait for an asynchronous operation to complete after it has been
2170
+ # started. If the operation does not complete within this timeout after starting, it will fail with
2171
+ # TIMEOUT_TYPE_START_TO_CLOSE.
2172
+ # Only applies to asynchronous operations. Synchronous operations ignore this timeout.
2173
+ # If not set or zero, no start-to-close timeout is enforced.
2174
+ # (-- api-linter: core::0140::prepositions=disabled
2175
+ # aip.dev/not-precedent: "to" is used to indicate interval. --)
2176
+ # Requires server version 1.31.0 or later.
2177
+ sig { params(value: T.nilable(Google::Protobuf::Duration)).void }
2178
+ def start_to_close_timeout=(value)
2179
+ end
2180
+
2181
+ # Start-to-close timeout for this operation.
2182
+ # Indicates how long the caller is willing to wait for an asynchronous operation to complete after it has been
2183
+ # started. If the operation does not complete within this timeout after starting, it will fail with
2184
+ # TIMEOUT_TYPE_START_TO_CLOSE.
2185
+ # Only applies to asynchronous operations. Synchronous operations ignore this timeout.
2186
+ # If not set or zero, no start-to-close timeout is enforced.
2187
+ # (-- api-linter: core::0140::prepositions=disabled
2188
+ # aip.dev/not-precedent: "to" is used to indicate interval. --)
2189
+ # Requires server version 1.31.0 or later.
2190
+ sig { void }
2191
+ def clear_start_to_close_timeout
2192
+ end
2193
+
2194
+ sig { params(field: String).returns(T.untyped) }
2195
+ def [](field)
2196
+ end
2197
+
2198
+ sig { params(field: String, value: T.untyped).void }
2199
+ def []=(field, value)
2200
+ end
2201
+
2202
+ sig { returns(T::Hash[Symbol, T.untyped]) }
2203
+ def to_h
2204
+ end
2205
+
2206
+ sig { params(str: String).returns(Temporalio::Api::Command::V1::ScheduleNexusOperationCommandAttributes) }
2207
+ def self.decode(str)
2208
+ end
2209
+
2210
+ sig { params(msg: Temporalio::Api::Command::V1::ScheduleNexusOperationCommandAttributes).returns(String) }
2211
+ def self.encode(msg)
2212
+ end
2213
+
2214
+ sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Command::V1::ScheduleNexusOperationCommandAttributes) }
2215
+ def self.decode_json(str, **kw)
2216
+ end
2217
+
2218
+ sig { params(msg: Temporalio::Api::Command::V1::ScheduleNexusOperationCommandAttributes, kw: T.untyped).returns(String) }
2219
+ def self.encode_json(msg, **kw)
2220
+ end
2221
+
2222
+ sig { returns(::Google::Protobuf::Descriptor) }
2223
+ def self.descriptor
2224
+ end
2225
+ end
2226
+
2227
+ class Temporalio::Api::Command::V1::RequestCancelNexusOperationCommandAttributes
2228
+ include ::Google::Protobuf::MessageExts
2229
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2230
+
2231
+ sig do
2232
+ params(
2233
+ scheduled_event_id: T.nilable(Integer)
2234
+ ).void
2235
+ end
2236
+ def initialize(
2237
+ scheduled_event_id: 0
2238
+ )
2239
+ end
2240
+
2241
+ # The `NEXUS_OPERATION_SCHEDULED` event ID (a unique identifier) for the operation to be canceled.
2242
+ # The operation may ignore cancellation and end up with any completion state.
2243
+ sig { returns(Integer) }
2244
+ def scheduled_event_id
2245
+ end
2246
+
2247
+ # The `NEXUS_OPERATION_SCHEDULED` event ID (a unique identifier) for the operation to be canceled.
2248
+ # The operation may ignore cancellation and end up with any completion state.
2249
+ sig { params(value: Integer).void }
2250
+ def scheduled_event_id=(value)
2251
+ end
2252
+
2253
+ # The `NEXUS_OPERATION_SCHEDULED` event ID (a unique identifier) for the operation to be canceled.
2254
+ # The operation may ignore cancellation and end up with any completion state.
2255
+ sig { void }
2256
+ def clear_scheduled_event_id
2257
+ end
2258
+
2259
+ sig { params(field: String).returns(T.untyped) }
2260
+ def [](field)
2261
+ end
2262
+
2263
+ sig { params(field: String, value: T.untyped).void }
2264
+ def []=(field, value)
2265
+ end
2266
+
2267
+ sig { returns(T::Hash[Symbol, T.untyped]) }
2268
+ def to_h
2269
+ end
2270
+
2271
+ sig { params(str: String).returns(Temporalio::Api::Command::V1::RequestCancelNexusOperationCommandAttributes) }
2272
+ def self.decode(str)
2273
+ end
2274
+
2275
+ sig { params(msg: Temporalio::Api::Command::V1::RequestCancelNexusOperationCommandAttributes).returns(String) }
2276
+ def self.encode(msg)
2277
+ end
2278
+
2279
+ sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Command::V1::RequestCancelNexusOperationCommandAttributes) }
2280
+ def self.decode_json(str, **kw)
2281
+ end
2282
+
2283
+ sig { params(msg: Temporalio::Api::Command::V1::RequestCancelNexusOperationCommandAttributes, kw: T.untyped).returns(String) }
2284
+ def self.encode_json(msg, **kw)
2285
+ end
2286
+
2287
+ sig { returns(::Google::Protobuf::Descriptor) }
2288
+ def self.descriptor
2289
+ end
2290
+ end
2291
+
2292
+ class Temporalio::Api::Command::V1::Command
2293
+ include ::Google::Protobuf::MessageExts
2294
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2295
+
2296
+ sig do
2297
+ params(
2298
+ command_type: T.nilable(T.any(Symbol, String, Integer)),
2299
+ user_metadata: T.nilable(Temporalio::Api::Sdk::V1::UserMetadata),
2300
+ event_group_markers: T.nilable(T::Array[T.nilable(Temporalio::Api::Sdk::V1::EventGroupMarker)]),
2301
+ schedule_activity_task_command_attributes: T.nilable(Temporalio::Api::Command::V1::ScheduleActivityTaskCommandAttributes),
2302
+ start_timer_command_attributes: T.nilable(Temporalio::Api::Command::V1::StartTimerCommandAttributes),
2303
+ complete_workflow_execution_command_attributes: T.nilable(Temporalio::Api::Command::V1::CompleteWorkflowExecutionCommandAttributes),
2304
+ fail_workflow_execution_command_attributes: T.nilable(Temporalio::Api::Command::V1::FailWorkflowExecutionCommandAttributes),
2305
+ request_cancel_activity_task_command_attributes: T.nilable(Temporalio::Api::Command::V1::RequestCancelActivityTaskCommandAttributes),
2306
+ cancel_timer_command_attributes: T.nilable(Temporalio::Api::Command::V1::CancelTimerCommandAttributes),
2307
+ cancel_workflow_execution_command_attributes: T.nilable(Temporalio::Api::Command::V1::CancelWorkflowExecutionCommandAttributes),
2308
+ request_cancel_external_workflow_execution_command_attributes: T.nilable(Temporalio::Api::Command::V1::RequestCancelExternalWorkflowExecutionCommandAttributes),
2309
+ record_marker_command_attributes: T.nilable(Temporalio::Api::Command::V1::RecordMarkerCommandAttributes),
2310
+ continue_as_new_workflow_execution_command_attributes: T.nilable(Temporalio::Api::Command::V1::ContinueAsNewWorkflowExecutionCommandAttributes),
2311
+ start_child_workflow_execution_command_attributes: T.nilable(Temporalio::Api::Command::V1::StartChildWorkflowExecutionCommandAttributes),
2312
+ signal_external_workflow_execution_command_attributes: T.nilable(Temporalio::Api::Command::V1::SignalExternalWorkflowExecutionCommandAttributes),
2313
+ upsert_workflow_search_attributes_command_attributes: T.nilable(Temporalio::Api::Command::V1::UpsertWorkflowSearchAttributesCommandAttributes),
2314
+ protocol_message_command_attributes: T.nilable(Temporalio::Api::Command::V1::ProtocolMessageCommandAttributes),
2315
+ modify_workflow_properties_command_attributes: T.nilable(Temporalio::Api::Command::V1::ModifyWorkflowPropertiesCommandAttributes),
2316
+ schedule_nexus_operation_command_attributes: T.nilable(Temporalio::Api::Command::V1::ScheduleNexusOperationCommandAttributes),
2317
+ request_cancel_nexus_operation_command_attributes: T.nilable(Temporalio::Api::Command::V1::RequestCancelNexusOperationCommandAttributes)
2318
+ ).void
2319
+ end
2320
+ def initialize(
2321
+ command_type: :COMMAND_TYPE_UNSPECIFIED,
2322
+ user_metadata: nil,
2323
+ event_group_markers: [],
2324
+ schedule_activity_task_command_attributes: nil,
2325
+ start_timer_command_attributes: nil,
2326
+ complete_workflow_execution_command_attributes: nil,
2327
+ fail_workflow_execution_command_attributes: nil,
2328
+ request_cancel_activity_task_command_attributes: nil,
2329
+ cancel_timer_command_attributes: nil,
2330
+ cancel_workflow_execution_command_attributes: nil,
2331
+ request_cancel_external_workflow_execution_command_attributes: nil,
2332
+ record_marker_command_attributes: nil,
2333
+ continue_as_new_workflow_execution_command_attributes: nil,
2334
+ start_child_workflow_execution_command_attributes: nil,
2335
+ signal_external_workflow_execution_command_attributes: nil,
2336
+ upsert_workflow_search_attributes_command_attributes: nil,
2337
+ protocol_message_command_attributes: nil,
2338
+ modify_workflow_properties_command_attributes: nil,
2339
+ schedule_nexus_operation_command_attributes: nil,
2340
+ request_cancel_nexus_operation_command_attributes: nil
2341
+ )
2342
+ end
2343
+
2344
+ sig { returns(T.any(Symbol, Integer)) }
2345
+ def command_type
2346
+ end
2347
+
2348
+ sig { params(value: T.any(Symbol, String, Integer)).void }
2349
+ def command_type=(value)
2350
+ end
2351
+
2352
+ sig { void }
2353
+ def clear_command_type
2354
+ end
2355
+
2356
+ # Metadata on the command. This is sometimes carried over to the history event if one is
2357
+ # created as a result of the command. Most commands won't have this information, and how this
2358
+ # information is used is dependent upon the interface that reads it.
2359
+ #
2360
+ # Current well-known uses:
2361
+ # * start_child_workflow_execution_command_attributes - populates
2362
+ # temporal.api.workflow.v1.WorkflowExecutionInfo.user_metadata where the summary and details
2363
+ # are used by user interfaces to show fixed as-of-start workflow summary and details.
2364
+ # * start_timer_command_attributes - populates temporal.api.history.v1.HistoryEvent for timer
2365
+ # started where the summary is used to identify the timer.
2366
+ sig { returns(T.nilable(Temporalio::Api::Sdk::V1::UserMetadata)) }
2367
+ def user_metadata
2368
+ end
2369
+
2370
+ # Metadata on the command. This is sometimes carried over to the history event if one is
2371
+ # created as a result of the command. Most commands won't have this information, and how this
2372
+ # information is used is dependent upon the interface that reads it.
2373
+ #
2374
+ # Current well-known uses:
2375
+ # * start_child_workflow_execution_command_attributes - populates
2376
+ # temporal.api.workflow.v1.WorkflowExecutionInfo.user_metadata where the summary and details
2377
+ # are used by user interfaces to show fixed as-of-start workflow summary and details.
2378
+ # * start_timer_command_attributes - populates temporal.api.history.v1.HistoryEvent for timer
2379
+ # started where the summary is used to identify the timer.
2380
+ sig { params(value: T.nilable(Temporalio::Api::Sdk::V1::UserMetadata)).void }
2381
+ def user_metadata=(value)
2382
+ end
2383
+
2384
+ # Metadata on the command. This is sometimes carried over to the history event if one is
2385
+ # created as a result of the command. Most commands won't have this information, and how this
2386
+ # information is used is dependent upon the interface that reads it.
2387
+ #
2388
+ # Current well-known uses:
2389
+ # * start_child_workflow_execution_command_attributes - populates
2390
+ # temporal.api.workflow.v1.WorkflowExecutionInfo.user_metadata where the summary and details
2391
+ # are used by user interfaces to show fixed as-of-start workflow summary and details.
2392
+ # * start_timer_command_attributes - populates temporal.api.history.v1.HistoryEvent for timer
2393
+ # started where the summary is used to identify the timer.
2394
+ sig { void }
2395
+ def clear_user_metadata
2396
+ end
2397
+
2398
+ # Event Group Markers attached to the command by the workflow author.
2399
+ sig { returns(T::Array[T.nilable(Temporalio::Api::Sdk::V1::EventGroupMarker)]) }
2400
+ def event_group_markers
2401
+ end
2402
+
2403
+ # Event Group Markers attached to the command by the workflow author.
2404
+ sig { params(value: ::Google::Protobuf::RepeatedField).void }
2405
+ def event_group_markers=(value)
2406
+ end
2407
+
2408
+ # Event Group Markers attached to the command by the workflow author.
2409
+ sig { void }
2410
+ def clear_event_group_markers
2411
+ end
2412
+
2413
+ sig { returns(T.nilable(Temporalio::Api::Command::V1::ScheduleActivityTaskCommandAttributes)) }
2414
+ def schedule_activity_task_command_attributes
2415
+ end
2416
+
2417
+ sig { params(value: T.nilable(Temporalio::Api::Command::V1::ScheduleActivityTaskCommandAttributes)).void }
2418
+ def schedule_activity_task_command_attributes=(value)
2419
+ end
2420
+
2421
+ sig { void }
2422
+ def clear_schedule_activity_task_command_attributes
2423
+ end
2424
+
2425
+ sig { returns(T.nilable(Temporalio::Api::Command::V1::StartTimerCommandAttributes)) }
2426
+ def start_timer_command_attributes
2427
+ end
2428
+
2429
+ sig { params(value: T.nilable(Temporalio::Api::Command::V1::StartTimerCommandAttributes)).void }
2430
+ def start_timer_command_attributes=(value)
2431
+ end
2432
+
2433
+ sig { void }
2434
+ def clear_start_timer_command_attributes
2435
+ end
2436
+
2437
+ sig { returns(T.nilable(Temporalio::Api::Command::V1::CompleteWorkflowExecutionCommandAttributes)) }
2438
+ def complete_workflow_execution_command_attributes
2439
+ end
2440
+
2441
+ sig { params(value: T.nilable(Temporalio::Api::Command::V1::CompleteWorkflowExecutionCommandAttributes)).void }
2442
+ def complete_workflow_execution_command_attributes=(value)
2443
+ end
2444
+
2445
+ sig { void }
2446
+ def clear_complete_workflow_execution_command_attributes
2447
+ end
2448
+
2449
+ sig { returns(T.nilable(Temporalio::Api::Command::V1::FailWorkflowExecutionCommandAttributes)) }
2450
+ def fail_workflow_execution_command_attributes
2451
+ end
2452
+
2453
+ sig { params(value: T.nilable(Temporalio::Api::Command::V1::FailWorkflowExecutionCommandAttributes)).void }
2454
+ def fail_workflow_execution_command_attributes=(value)
2455
+ end
2456
+
2457
+ sig { void }
2458
+ def clear_fail_workflow_execution_command_attributes
2459
+ end
2460
+
2461
+ sig { returns(T.nilable(Temporalio::Api::Command::V1::RequestCancelActivityTaskCommandAttributes)) }
2462
+ def request_cancel_activity_task_command_attributes
2463
+ end
2464
+
2465
+ sig { params(value: T.nilable(Temporalio::Api::Command::V1::RequestCancelActivityTaskCommandAttributes)).void }
2466
+ def request_cancel_activity_task_command_attributes=(value)
2467
+ end
2468
+
2469
+ sig { void }
2470
+ def clear_request_cancel_activity_task_command_attributes
2471
+ end
2472
+
2473
+ sig { returns(T.nilable(Temporalio::Api::Command::V1::CancelTimerCommandAttributes)) }
2474
+ def cancel_timer_command_attributes
2475
+ end
2476
+
2477
+ sig { params(value: T.nilable(Temporalio::Api::Command::V1::CancelTimerCommandAttributes)).void }
2478
+ def cancel_timer_command_attributes=(value)
2479
+ end
2480
+
2481
+ sig { void }
2482
+ def clear_cancel_timer_command_attributes
2483
+ end
2484
+
2485
+ sig { returns(T.nilable(Temporalio::Api::Command::V1::CancelWorkflowExecutionCommandAttributes)) }
2486
+ def cancel_workflow_execution_command_attributes
2487
+ end
2488
+
2489
+ sig { params(value: T.nilable(Temporalio::Api::Command::V1::CancelWorkflowExecutionCommandAttributes)).void }
2490
+ def cancel_workflow_execution_command_attributes=(value)
2491
+ end
2492
+
2493
+ sig { void }
2494
+ def clear_cancel_workflow_execution_command_attributes
2495
+ end
2496
+
2497
+ sig { returns(T.nilable(Temporalio::Api::Command::V1::RequestCancelExternalWorkflowExecutionCommandAttributes)) }
2498
+ def request_cancel_external_workflow_execution_command_attributes
2499
+ end
2500
+
2501
+ sig { params(value: T.nilable(Temporalio::Api::Command::V1::RequestCancelExternalWorkflowExecutionCommandAttributes)).void }
2502
+ def request_cancel_external_workflow_execution_command_attributes=(value)
2503
+ end
2504
+
2505
+ sig { void }
2506
+ def clear_request_cancel_external_workflow_execution_command_attributes
2507
+ end
2508
+
2509
+ sig { returns(T.nilable(Temporalio::Api::Command::V1::RecordMarkerCommandAttributes)) }
2510
+ def record_marker_command_attributes
2511
+ end
2512
+
2513
+ sig { params(value: T.nilable(Temporalio::Api::Command::V1::RecordMarkerCommandAttributes)).void }
2514
+ def record_marker_command_attributes=(value)
2515
+ end
2516
+
2517
+ sig { void }
2518
+ def clear_record_marker_command_attributes
2519
+ end
2520
+
2521
+ sig { returns(T.nilable(Temporalio::Api::Command::V1::ContinueAsNewWorkflowExecutionCommandAttributes)) }
2522
+ def continue_as_new_workflow_execution_command_attributes
2523
+ end
2524
+
2525
+ sig { params(value: T.nilable(Temporalio::Api::Command::V1::ContinueAsNewWorkflowExecutionCommandAttributes)).void }
2526
+ def continue_as_new_workflow_execution_command_attributes=(value)
2527
+ end
2528
+
2529
+ sig { void }
2530
+ def clear_continue_as_new_workflow_execution_command_attributes
2531
+ end
2532
+
2533
+ sig { returns(T.nilable(Temporalio::Api::Command::V1::StartChildWorkflowExecutionCommandAttributes)) }
2534
+ def start_child_workflow_execution_command_attributes
2535
+ end
2536
+
2537
+ sig { params(value: T.nilable(Temporalio::Api::Command::V1::StartChildWorkflowExecutionCommandAttributes)).void }
2538
+ def start_child_workflow_execution_command_attributes=(value)
2539
+ end
2540
+
2541
+ sig { void }
2542
+ def clear_start_child_workflow_execution_command_attributes
2543
+ end
2544
+
2545
+ sig { returns(T.nilable(Temporalio::Api::Command::V1::SignalExternalWorkflowExecutionCommandAttributes)) }
2546
+ def signal_external_workflow_execution_command_attributes
2547
+ end
2548
+
2549
+ sig { params(value: T.nilable(Temporalio::Api::Command::V1::SignalExternalWorkflowExecutionCommandAttributes)).void }
2550
+ def signal_external_workflow_execution_command_attributes=(value)
2551
+ end
2552
+
2553
+ sig { void }
2554
+ def clear_signal_external_workflow_execution_command_attributes
2555
+ end
2556
+
2557
+ sig { returns(T.nilable(Temporalio::Api::Command::V1::UpsertWorkflowSearchAttributesCommandAttributes)) }
2558
+ def upsert_workflow_search_attributes_command_attributes
2559
+ end
2560
+
2561
+ sig { params(value: T.nilable(Temporalio::Api::Command::V1::UpsertWorkflowSearchAttributesCommandAttributes)).void }
2562
+ def upsert_workflow_search_attributes_command_attributes=(value)
2563
+ end
2564
+
2565
+ sig { void }
2566
+ def clear_upsert_workflow_search_attributes_command_attributes
2567
+ end
2568
+
2569
+ sig { returns(T.nilable(Temporalio::Api::Command::V1::ProtocolMessageCommandAttributes)) }
2570
+ def protocol_message_command_attributes
2571
+ end
2572
+
2573
+ sig { params(value: T.nilable(Temporalio::Api::Command::V1::ProtocolMessageCommandAttributes)).void }
2574
+ def protocol_message_command_attributes=(value)
2575
+ end
2576
+
2577
+ sig { void }
2578
+ def clear_protocol_message_command_attributes
2579
+ end
2580
+
2581
+ # 16 is available for use - it was used as part of a prototype that never made it into a release
2582
+ sig { returns(T.nilable(Temporalio::Api::Command::V1::ModifyWorkflowPropertiesCommandAttributes)) }
2583
+ def modify_workflow_properties_command_attributes
2584
+ end
2585
+
2586
+ # 16 is available for use - it was used as part of a prototype that never made it into a release
2587
+ sig { params(value: T.nilable(Temporalio::Api::Command::V1::ModifyWorkflowPropertiesCommandAttributes)).void }
2588
+ def modify_workflow_properties_command_attributes=(value)
2589
+ end
2590
+
2591
+ # 16 is available for use - it was used as part of a prototype that never made it into a release
2592
+ sig { void }
2593
+ def clear_modify_workflow_properties_command_attributes
2594
+ end
2595
+
2596
+ sig { returns(T.nilable(Temporalio::Api::Command::V1::ScheduleNexusOperationCommandAttributes)) }
2597
+ def schedule_nexus_operation_command_attributes
2598
+ end
2599
+
2600
+ sig { params(value: T.nilable(Temporalio::Api::Command::V1::ScheduleNexusOperationCommandAttributes)).void }
2601
+ def schedule_nexus_operation_command_attributes=(value)
2602
+ end
2603
+
2604
+ sig { void }
2605
+ def clear_schedule_nexus_operation_command_attributes
2606
+ end
2607
+
2608
+ sig { returns(T.nilable(Temporalio::Api::Command::V1::RequestCancelNexusOperationCommandAttributes)) }
2609
+ def request_cancel_nexus_operation_command_attributes
2610
+ end
2611
+
2612
+ sig { params(value: T.nilable(Temporalio::Api::Command::V1::RequestCancelNexusOperationCommandAttributes)).void }
2613
+ def request_cancel_nexus_operation_command_attributes=(value)
2614
+ end
2615
+
2616
+ sig { void }
2617
+ def clear_request_cancel_nexus_operation_command_attributes
2618
+ end
2619
+
2620
+ sig { returns(T.nilable(Symbol)) }
2621
+ def attributes
2622
+ end
2623
+
2624
+ sig { params(field: String).returns(T.untyped) }
2625
+ def [](field)
2626
+ end
2627
+
2628
+ sig { params(field: String, value: T.untyped).void }
2629
+ def []=(field, value)
2630
+ end
2631
+
2632
+ sig { returns(T::Hash[Symbol, T.untyped]) }
2633
+ def to_h
2634
+ end
2635
+
2636
+ sig { params(str: String).returns(Temporalio::Api::Command::V1::Command) }
2637
+ def self.decode(str)
2638
+ end
2639
+
2640
+ sig { params(msg: Temporalio::Api::Command::V1::Command).returns(String) }
2641
+ def self.encode(msg)
2642
+ end
2643
+
2644
+ sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Command::V1::Command) }
2645
+ def self.decode_json(str, **kw)
2646
+ end
2647
+
2648
+ sig { params(msg: Temporalio::Api::Command::V1::Command, kw: T.untyped).returns(String) }
2649
+ def self.encode_json(msg, **kw)
2650
+ end
2651
+
2652
+ sig { returns(::Google::Protobuf::Descriptor) }
2653
+ def self.descriptor
2654
+ end
2655
+ end