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.
- checksums.yaml +4 -4
- data/Cargo.lock +1461 -621
- data/Cargo.toml +1 -1
- data/Gemfile +6 -5
- data/README.md +42 -1
- data/ext/Cargo.toml +9 -3
- data/lib/temporalio/api/activity/v1/message.rb +1 -1
- data/lib/temporalio/api/cloud/billing/v1/message.rb +2 -1
- data/lib/temporalio/api/cloud/cloudservice/v1/request_response.rb +17 -1
- data/lib/temporalio/api/cloud/cloudservice/v1/service.rb +1 -1
- data/lib/temporalio/api/cloud/connectivityrule/v1/message.rb +1 -1
- data/lib/temporalio/api/cloud/identity/v1/message.rb +8 -1
- data/lib/temporalio/api/cloud/namespace/v1/message.rb +5 -1
- data/lib/temporalio/api/command/v1/message.rb +2 -1
- data/lib/temporalio/api/common/v1/message.rb +5 -1
- data/lib/temporalio/api/deployment/v1/message.rb +3 -1
- data/lib/temporalio/api/history/v1/message.rb +3 -1
- data/lib/temporalio/api/namespace/v1/message.rb +1 -1
- data/lib/temporalio/api/nexus/v1/message.rb +1 -1
- data/lib/temporalio/api/nexusannotations/v1/options.rb +20 -0
- data/lib/temporalio/api/payload_visitor.rb +32 -0
- data/lib/temporalio/api/schedule/v1/message.rb +1 -1
- data/lib/temporalio/api/sdk/v1/event_group_marker.rb +26 -0
- data/lib/temporalio/api/update/v1/message.rb +1 -1
- data/lib/temporalio/api/workflow/v1/message.rb +3 -2
- data/lib/temporalio/api/workflowservice/v1/request_response.rb +11 -1
- data/lib/temporalio/api/workflowservice/v1/service.rb +3 -2
- data/lib/temporalio/client/connection/cloud_service.rb +120 -0
- data/lib/temporalio/client/connection/workflow_service.rb +75 -0
- data/lib/temporalio/client/connection.rb +37 -2
- data/lib/temporalio/client.rb +10 -5
- data/lib/temporalio/internal/bridge/api/workflow_commands/workflow_commands.rb +1 -1
- data/lib/temporalio/internal/bridge/client.rb +6 -1
- data/lib/temporalio/internal/bridge.rb +20 -0
- data/lib/temporalio/internal/google_protobuf.rb +11 -0
- data/lib/temporalio/internal/worker/workflow_instance/context.rb +2 -0
- data/lib/temporalio/internal/worker/workflow_instance/details.rb +3 -1
- data/lib/temporalio/internal/worker/workflow_instance/scheduler.rb +73 -2
- data/lib/temporalio/internal/worker/workflow_instance.rb +36 -6
- data/lib/temporalio/internal/worker/workflow_worker.rb +10 -2
- data/lib/temporalio/internal/workflow_task_failure_error.rb +9 -0
- data/lib/temporalio/version.rb +1 -1
- data/lib/temporalio/worker/activity_executor/fiber.rb +1 -1
- data/lib/temporalio/worker/activity_executor/thread_pool.rb +1 -1
- data/lib/temporalio/worker/illegal_workflow_call_validator.rb +3 -1
- data/lib/temporalio/worker/workflow_executor/thread_pool.rb +5 -1
- data/lib/temporalio/worker/workflow_replayer.rb +17 -4
- data/lib/temporalio/worker.rb +30 -5
- data/lib/temporalio/workflow/future.rb +5 -0
- data/lib/temporalio/workflow/nexus_operation_cancellation_type.rb +4 -2
- data/lib/temporalio/workflow.rb +8 -0
- data/rbi/google/protobuf.rbi +25 -0
- data/rbi/temporalio/activity/cancellation_details.rbi +33 -0
- data/rbi/temporalio/activity/complete_async_error.rbi +3 -0
- data/rbi/temporalio/activity/context.rbi +42 -0
- data/rbi/temporalio/activity/definition.rbi +74 -0
- data/rbi/temporalio/activity/info.rbi +112 -0
- data/rbi/temporalio/activity.rbi +3 -0
- data/rbi/temporalio/api/activity/v1/message.rbi +1453 -0
- data/rbi/temporalio/api/batch/v1/message.rbi +1283 -0
- data/rbi/temporalio/api/callback/v1/message.rbi +188 -0
- data/rbi/temporalio/api/cloud/account/v1/message.rbi +650 -0
- data/rbi/temporalio/api/cloud/auditlog/v1/message.rbi +318 -0
- data/rbi/temporalio/api/cloud/billing/v1/message.rbi +480 -0
- data/rbi/temporalio/api/cloud/cloudservice/v1/request_response.rbi +12454 -0
- data/rbi/temporalio/api/cloud/cloudservice/v1/service.rbi +3 -0
- data/rbi/temporalio/api/cloud/cloudservice/v1/service_services.rbi +709 -0
- data/rbi/temporalio/api/cloud/cloudservice.rbi +5 -0
- data/rbi/temporalio/api/cloud/connectivityrule/v1/message.rbi +403 -0
- data/rbi/temporalio/api/cloud/identity/v1/message.rbi +3072 -0
- data/rbi/temporalio/api/cloud/namespace/v1/message.rbi +3659 -0
- data/rbi/temporalio/api/cloud/nexus/v1/message.rbi +595 -0
- data/rbi/temporalio/api/cloud/operation/v1/message.rbi +244 -0
- data/rbi/temporalio/api/cloud/region/v1/message.rbi +166 -0
- data/rbi/temporalio/api/cloud/resource/v1/message.rbi +29 -0
- data/rbi/temporalio/api/cloud/sink/v1/message.rbi +438 -0
- data/rbi/temporalio/api/cloud/usage/v1/message.rbi +409 -0
- data/rbi/temporalio/api/command/v1/message.rbi +2655 -0
- data/rbi/temporalio/api/common/v1/grpc_status.rbi +92 -0
- data/rbi/temporalio/api/common/v1/message.rbi +2983 -0
- data/rbi/temporalio/api/compute/v1/config.rbi +421 -0
- data/rbi/temporalio/api/compute/v1/provider.rbi +125 -0
- data/rbi/temporalio/api/compute/v1/scaler.rbi +102 -0
- data/rbi/temporalio/api/deployment/v1/message.rbi +2340 -0
- data/rbi/temporalio/api/enums/v1/activity.rbi +62 -0
- data/rbi/temporalio/api/enums/v1/batch_operation.rbi +47 -0
- data/rbi/temporalio/api/enums/v1/command_type.rbi +36 -0
- data/rbi/temporalio/api/enums/v1/common.rbi +181 -0
- data/rbi/temporalio/api/enums/v1/deployment.rbi +80 -0
- data/rbi/temporalio/api/enums/v1/event_type.rbi +79 -0
- data/rbi/temporalio/api/enums/v1/failed_cause.rbi +155 -0
- data/rbi/temporalio/api/enums/v1/namespace.rbi +58 -0
- data/rbi/temporalio/api/enums/v1/nexus.rbi +98 -0
- data/rbi/temporalio/api/enums/v1/query.rbi +40 -0
- data/rbi/temporalio/api/enums/v1/reset.rbi +60 -0
- data/rbi/temporalio/api/enums/v1/schedule.rbi +25 -0
- data/rbi/temporalio/api/enums/v1/task_queue.rbi +134 -0
- data/rbi/temporalio/api/enums/v1/update.rbi +39 -0
- data/rbi/temporalio/api/enums/v1/workflow.rbi +259 -0
- data/rbi/temporalio/api/errordetails/v1/message.rbi +1389 -0
- data/rbi/temporalio/api/export/v1/message.rbi +123 -0
- data/rbi/temporalio/api/failure/v1/message.rbi +1303 -0
- data/rbi/temporalio/api/filter/v1/message.rbi +267 -0
- data/rbi/temporalio/api/history/v1/message.rbi +10737 -0
- data/rbi/temporalio/api/namespace/v1/message.rbi +1044 -0
- data/rbi/temporalio/api/nexus/v1/message.rbi +2780 -0
- data/rbi/temporalio/api/nexusannotations/v1/options.rbi +161 -0
- data/rbi/temporalio/api/nexusservices/workerservice/v1/request_response.rbi +124 -0
- data/rbi/temporalio/api/operatorservice/v1/request_response.rbi +1836 -0
- data/rbi/temporalio/api/operatorservice/v1/service.rbi +3 -0
- data/rbi/temporalio/api/operatorservice/v1/service_services.rbi +143 -0
- data/rbi/temporalio/api/operatorservice.rbi +5 -0
- data/rbi/temporalio/api/payload_visitor.rbi +876 -0
- data/rbi/temporalio/api/protoc_gen_openapiv2/options/annotations.rbi +3 -0
- data/rbi/temporalio/api/protoc_gen_openapiv2/options/openapiv2.rbi +3482 -0
- data/rbi/temporalio/api/protocol/v1/message.rbi +139 -0
- data/rbi/temporalio/api/protometa/v1/annotations.rbi +97 -0
- data/rbi/temporalio/api/query/v1/message.rbi +288 -0
- data/rbi/temporalio/api/replication/v1/message.rbi +226 -0
- data/rbi/temporalio/api/rules/v1/message.rbi +492 -0
- data/rbi/temporalio/api/schedule/v1/message.rbi +2377 -0
- data/rbi/temporalio/api/sdk/v1/enhanced_stack_trace.rbi +478 -0
- data/rbi/temporalio/api/sdk/v1/event_group_marker.rbi +337 -0
- data/rbi/temporalio/api/sdk/v1/external_storage.rbi +85 -0
- data/rbi/temporalio/api/sdk/v1/task_complete_metadata.rbi +206 -0
- data/rbi/temporalio/api/sdk/v1/user_metadata.rbi +98 -0
- data/rbi/temporalio/api/sdk/v1/worker_config.rbi +255 -0
- data/rbi/temporalio/api/sdk/v1/workflow_metadata.rbi +297 -0
- data/rbi/temporalio/api/taskqueue/v1/message.rbi +2460 -0
- data/rbi/temporalio/api/testservice/v1/request_response.rbi +380 -0
- data/rbi/temporalio/api/testservice/v1/service.rbi +3 -0
- data/rbi/temporalio/api/testservice/v1/service_services.rbi +100 -0
- data/rbi/temporalio/api/update/v1/message.rbi +800 -0
- data/rbi/temporalio/api/version/v1/message.rbi +281 -0
- data/rbi/temporalio/api/worker/v1/message.rbi +1565 -0
- data/rbi/temporalio/api/workflow/v1/message.rbi +5011 -0
- data/rbi/temporalio/api/workflowservice/v1/request_response.rbi +30477 -0
- data/rbi/temporalio/api/workflowservice/v1/service.rbi +3 -0
- data/rbi/temporalio/api/workflowservice/v1/service_services.rbi +1571 -0
- data/rbi/temporalio/api/workflowservice.rbi +5 -0
- data/rbi/temporalio/api.rbi +7 -0
- data/rbi/temporalio/cancellation.rbi +40 -0
- data/rbi/temporalio/client/activity_execution.rbi +134 -0
- data/rbi/temporalio/client/activity_execution_count.rbi +23 -0
- data/rbi/temporalio/client/activity_execution_status.rbi +11 -0
- data/rbi/temporalio/client/activity_handle.rbi +49 -0
- data/rbi/temporalio/client/activity_id_reference.rbi +24 -0
- data/rbi/temporalio/client/async_activity_handle.rbi +49 -0
- data/rbi/temporalio/client/connection/cloud_service.rbi +239 -0
- data/rbi/temporalio/client/connection/operator_service.rbi +47 -0
- data/rbi/temporalio/client/connection/service.rbi +19 -0
- data/rbi/temporalio/client/connection/test_service.rbi +29 -0
- data/rbi/temporalio/client/connection/workflow_service.rbi +377 -0
- data/rbi/temporalio/client/connection.rbi +284 -0
- data/rbi/temporalio/client/interceptor.rbi +1067 -0
- data/rbi/temporalio/client/pending_activity_state.rbi +9 -0
- data/rbi/temporalio/client/plugin.rbi +17 -0
- data/rbi/temporalio/client/schedule.rbi +677 -0
- data/rbi/temporalio/client/schedule_handle.rbi +40 -0
- data/rbi/temporalio/client/with_start_workflow_operation.rbi +126 -0
- data/rbi/temporalio/client/workflow_execution.rbi +62 -0
- data/rbi/temporalio/client/workflow_execution_count.rbi +23 -0
- data/rbi/temporalio/client/workflow_execution_status.rbi +11 -0
- data/rbi/temporalio/client/workflow_handle.rbi +148 -0
- data/rbi/temporalio/client/workflow_query_reject_condition.rbi +7 -0
- data/rbi/temporalio/client/workflow_update_handle.rbi +38 -0
- data/rbi/temporalio/client/workflow_update_wait_stage.rbi +7 -0
- data/rbi/temporalio/client.rbi +534 -0
- data/rbi/temporalio/common_enums.rbi +45 -0
- data/rbi/temporalio/contrib/open_telemetry.rbi +73 -0
- data/rbi/temporalio/converters/data_converter.rbi +44 -0
- data/rbi/temporalio/converters/failure_converter.rbi +20 -0
- data/rbi/temporalio/converters/payload_codec.rbi +11 -0
- data/rbi/temporalio/converters/payload_converter/binary_null.rbi +5 -0
- data/rbi/temporalio/converters/payload_converter/binary_plain.rbi +5 -0
- data/rbi/temporalio/converters/payload_converter/binary_protobuf.rbi +5 -0
- data/rbi/temporalio/converters/payload_converter/composite.rbi +20 -0
- data/rbi/temporalio/converters/payload_converter/encoding.rbi +14 -0
- data/rbi/temporalio/converters/payload_converter/json_plain.rbi +10 -0
- data/rbi/temporalio/converters/payload_converter/json_protobuf.rbi +5 -0
- data/rbi/temporalio/converters/payload_converter.rbi +28 -0
- data/rbi/temporalio/converters/raw_value.rbi +11 -0
- data/rbi/temporalio/converters.rbi +3 -0
- data/rbi/temporalio/env_config.rbi +156 -0
- data/rbi/temporalio/error/failure.rbi +3 -0
- data/rbi/temporalio/error.rbi +313 -0
- data/rbi/temporalio/internal/bridge/api/activity_result/activity_result.rbi +547 -0
- data/rbi/temporalio/internal/bridge/api/activity_task/activity_task.rbi +705 -0
- data/rbi/temporalio/internal/bridge/api/child_workflow/child_workflow.rbi +332 -0
- data/rbi/temporalio/internal/bridge/api/common/common.rbi +191 -0
- data/rbi/temporalio/internal/bridge/api/core_interface.rbi +567 -0
- data/rbi/temporalio/internal/bridge/api/external_data/external_data.rbi +255 -0
- data/rbi/temporalio/internal/bridge/api/nexus/nexus.rbi +527 -0
- data/rbi/temporalio/internal/bridge/api/workflow_activation/workflow_activation.rbi +2808 -0
- data/rbi/temporalio/internal/bridge/api/workflow_commands/workflow_commands.rbi +3309 -0
- data/rbi/temporalio/internal/bridge/api/workflow_completion/workflow_completion.rbi +272 -0
- data/rbi/temporalio/internal/bridge/api.rbi +3 -0
- data/rbi/temporalio/internal/bridge/client.rbi +346 -0
- data/rbi/temporalio/internal/bridge/runtime.rbi +231 -0
- data/rbi/temporalio/internal/bridge/testing.rbi +109 -0
- data/rbi/temporalio/internal/bridge/worker.rbi +250 -0
- data/rbi/temporalio/internal/bridge.rbi +47 -0
- data/rbi/temporalio/internal/client/implementation.rbi +53 -0
- data/rbi/temporalio/internal/google_protobuf.rbi +8 -0
- data/rbi/temporalio/internal/metric.rbi +55 -0
- data/rbi/temporalio/internal/proto_utils.rbi +148 -0
- data/rbi/temporalio/internal/worker/activity_worker.rbi +108 -0
- data/rbi/temporalio/internal/worker/multi_runner.rbi +175 -0
- data/rbi/temporalio/internal/worker/workflow_instance/child_workflow_handle.rbi +20 -0
- data/rbi/temporalio/internal/worker/workflow_instance/context.rbi +290 -0
- data/rbi/temporalio/internal/worker/workflow_instance/details.rbi +87 -0
- data/rbi/temporalio/internal/worker/workflow_instance/external_workflow_handle.rbi +14 -0
- data/rbi/temporalio/internal/worker/workflow_instance/externally_immutable_hash.rbi +17 -0
- data/rbi/temporalio/internal/worker/workflow_instance/handler_execution.rbi +17 -0
- data/rbi/temporalio/internal/worker/workflow_instance/handler_hash.rbi +24 -0
- data/rbi/temporalio/internal/worker/workflow_instance/illegal_call_tracer.rbi +17 -0
- data/rbi/temporalio/internal/worker/workflow_instance/inbound_implementation.rbi +21 -0
- data/rbi/temporalio/internal/worker/workflow_instance/nexus_client.rbi +47 -0
- data/rbi/temporalio/internal/worker/workflow_instance/nexus_operation_handle.rbi +19 -0
- data/rbi/temporalio/internal/worker/workflow_instance/outbound_implementation.rbi +43 -0
- data/rbi/temporalio/internal/worker/workflow_instance/replay_safe_logger.rbi +11 -0
- data/rbi/temporalio/internal/worker/workflow_instance/replay_safe_metric.rbi +15 -0
- data/rbi/temporalio/internal/worker/workflow_instance/scheduler.rbi +36 -0
- data/rbi/temporalio/internal/worker/workflow_instance.rbi +231 -0
- data/rbi/temporalio/internal/worker/workflow_worker.rbi +199 -0
- data/rbi/temporalio/internal/workflow_task_failure_error.rbi +3 -0
- data/rbi/temporalio/internal.rbi +3 -0
- data/rbi/temporalio/metric.rbi +56 -0
- data/rbi/temporalio/priority.rbi +38 -0
- data/rbi/temporalio/retry_policy.rbi +40 -0
- data/rbi/temporalio/runtime/metric_buffer.rbi +45 -0
- data/rbi/temporalio/runtime.rbi +185 -0
- data/rbi/temporalio/scoped_logger.rbi +50 -0
- data/rbi/temporalio/search_attributes.rbi +94 -0
- data/rbi/temporalio/simple_plugin.rbi +41 -0
- data/rbi/temporalio/testing/activity_environment.rbi +43 -0
- data/rbi/temporalio/testing/workflow_environment.rbi +116 -0
- data/rbi/temporalio/testing.rbi +3 -0
- data/rbi/temporalio/version.rbi +5 -0
- data/rbi/temporalio/versioning_override.rbi +13 -0
- data/rbi/temporalio/worker/activity_executor/fiber.rbi +20 -0
- data/rbi/temporalio/worker/activity_executor/thread_pool.rbi +20 -0
- data/rbi/temporalio/worker/activity_executor.rbi +20 -0
- data/rbi/temporalio/worker/deployment_options.rbi +23 -0
- data/rbi/temporalio/worker/illegal_workflow_call_validator.rbi +33 -0
- data/rbi/temporalio/worker/interceptor.rbi +489 -0
- data/rbi/temporalio/worker/plugin.rbi +49 -0
- data/rbi/temporalio/worker/poller_behavior.rbi +29 -0
- data/rbi/temporalio/worker/thread_pool.rbi +38 -0
- data/rbi/temporalio/worker/tuner.rbi +221 -0
- data/rbi/temporalio/worker/workflow_executor/thread_pool.rbi +15 -0
- data/rbi/temporalio/worker/workflow_executor.rbi +8 -0
- data/rbi/temporalio/worker/workflow_replayer.rbi +152 -0
- data/rbi/temporalio/worker.rbi +258 -0
- data/rbi/temporalio/worker_deployment_version.rbi +29 -0
- data/rbi/temporalio/workflow/activity_cancellation_type.rbi +7 -0
- data/rbi/temporalio/workflow/child_workflow_cancellation_type.rbi +8 -0
- data/rbi/temporalio/workflow/child_workflow_handle.rbi +27 -0
- data/rbi/temporalio/workflow/definition.rbi +305 -0
- data/rbi/temporalio/workflow/external_workflow_handle.rbi +24 -0
- data/rbi/temporalio/workflow/future.rbi +62 -0
- data/rbi/temporalio/workflow/handler_unfinished_policy.rbi +6 -0
- data/rbi/temporalio/workflow/info.rbi +100 -0
- data/rbi/temporalio/workflow/nexus_client.rbi +65 -0
- data/rbi/temporalio/workflow/nexus_operation_cancellation_type.rbi +8 -0
- data/rbi/temporalio/workflow/nexus_operation_handle.rbi +14 -0
- data/rbi/temporalio/workflow/parent_close_policy.rbi +8 -0
- data/rbi/temporalio/workflow/update_info.rbi +14 -0
- data/rbi/temporalio/workflow.rbi +393 -0
- data/rbi/temporalio/workflow_history.rbi +21 -0
- data/rbi/temporalio.rbi +5 -0
- data/sig/common.rbs +1 -0
- data/sig/google/protobuf_compat.rbs +17 -0
- data/sig/open_telemetry.rbs +47 -0
- data/sig/temporalio/activity/cancellation_details.rbs +21 -0
- data/sig/temporalio/activity/complete_async_error.rbs +6 -0
- data/sig/temporalio/activity/context.rbs +26 -0
- data/sig/temporalio/activity/definition.rbs +60 -0
- data/sig/temporalio/activity/info.rbs +57 -0
- data/sig/temporalio/activity.rbs +4 -0
- data/sig/temporalio/api/activity/v1/message.rbs +708 -0
- data/sig/temporalio/api/batch/v1/message.rbs +594 -0
- data/sig/temporalio/api/callback/v1/message.rbs +112 -0
- data/sig/temporalio/api/cloud/account/v1/message.rbs +314 -0
- data/sig/temporalio/api/cloud/auditlog/v1/message.rbs +168 -0
- data/sig/temporalio/api/cloud/billing/v1/message.rbs +279 -0
- data/sig/temporalio/api/cloud/cloudservice/v1/request_response.rbs +4726 -0
- data/sig/temporalio/api/cloud/cloudservice/v1/service.rbs +25 -0
- data/sig/temporalio/api/cloud/cloudservice.rbs +8 -0
- data/sig/temporalio/api/cloud/connectivityrule/v1/message.rbs +191 -0
- data/sig/temporalio/api/cloud/identity/v1/message.rbs +1372 -0
- data/sig/temporalio/api/cloud/namespace/v1/message.rbs +1571 -0
- data/sig/temporalio/api/cloud/nexus/v1/message.rbs +269 -0
- data/sig/temporalio/api/cloud/operation/v1/message.rbs +156 -0
- data/sig/temporalio/api/cloud/region/v1/message.rbs +109 -0
- data/sig/temporalio/api/cloud/resource/v1/message.rbs +61 -0
- data/sig/temporalio/api/cloud/sink/v1/message.rbs +207 -0
- data/sig/temporalio/api/cloud/usage/v1/message.rbs +230 -0
- data/sig/temporalio/api/command/v1/message.rbs +1211 -0
- data/sig/temporalio/api/common/v1/grpc_status.rbs +59 -0
- data/sig/temporalio/api/common/v1/message.rbs +1238 -0
- data/sig/temporalio/api/compute/v1/config.rbs +176 -0
- data/sig/temporalio/api/compute/v1/provider.rbs +73 -0
- data/sig/temporalio/api/compute/v1/scaler.rbs +60 -0
- data/sig/temporalio/api/deployment/v1/message.rbs +1063 -0
- data/sig/temporalio/api/enums/v1/activity.rbs +134 -0
- data/sig/temporalio/api/enums/v1/batch_operation.rbs +80 -0
- data/sig/temporalio/api/enums/v1/command_type.rbs +74 -0
- data/sig/temporalio/api/enums/v1/common.rbs +271 -0
- data/sig/temporalio/api/enums/v1/deployment.rbs +177 -0
- data/sig/temporalio/api/enums/v1/event_type.rbs +263 -0
- data/sig/temporalio/api/enums/v1/failed_cause.rbs +281 -0
- data/sig/temporalio/api/enums/v1/namespace.rbs +87 -0
- data/sig/temporalio/api/enums/v1/nexus.rbs +172 -0
- data/sig/temporalio/api/enums/v1/query.rbs +69 -0
- data/sig/temporalio/api/enums/v1/reset.rbs +106 -0
- data/sig/temporalio/api/enums/v1/schedule.rbs +68 -0
- data/sig/temporalio/api/enums/v1/task_queue.rbs +238 -0
- data/sig/temporalio/api/enums/v1/update.rbs +87 -0
- data/sig/temporalio/api/enums/v1/workflow.rbs +435 -0
- data/sig/temporalio/api/errordetails/v1/message.rbs +532 -0
- data/sig/temporalio/api/export/v1/message.rbs +63 -0
- data/sig/temporalio/api/failure/v1/message.rbs +579 -0
- data/sig/temporalio/api/filter/v1/message.rbs +121 -0
- data/sig/temporalio/api/history/v1/message.rbs +4928 -0
- data/sig/temporalio/api/namespace/v1/message.rbs +465 -0
- data/sig/temporalio/api/nexus/v1/message.rbs +1268 -0
- data/sig/temporalio/api/nexusannotations/v1/options.rbs +76 -0
- data/sig/temporalio/api/nexusservices/workerservice/v1/request_response.rbs +65 -0
- data/sig/temporalio/api/operatorservice/v1/request_response.rbs +679 -0
- data/sig/temporalio/api/operatorservice/v1/service.rbs +23 -0
- data/sig/temporalio/api/operatorservice.rbs +6 -0
- data/sig/temporalio/api/payload_visitor.rbs +298 -0
- data/sig/temporalio/api/protoc_gen_openapiv2/options/annotations.rbs +23 -0
- data/sig/temporalio/api/protoc_gen_openapiv2/options/openapiv2.rbs +1691 -0
- data/sig/temporalio/api/protocol/v1/message.rbs +90 -0
- data/sig/temporalio/api/protometa/v1/annotations.rbs +62 -0
- data/sig/temporalio/api/query/v1/message.rbs +138 -0
- data/sig/temporalio/api/replication/v1/message.rbs +109 -0
- data/sig/temporalio/api/rules/v1/message.rbs +213 -0
- data/sig/temporalio/api/schedule/v1/message.rbs +1066 -0
- data/sig/temporalio/api/sdk/v1/enhanced_stack_trace.rbs +210 -0
- data/sig/temporalio/api/sdk/v1/event_group_marker.rbs +154 -0
- data/sig/temporalio/api/sdk/v1/external_storage.rbs +54 -0
- data/sig/temporalio/api/sdk/v1/task_complete_metadata.rbs +92 -0
- data/sig/temporalio/api/sdk/v1/user_metadata.rbs +58 -0
- data/sig/temporalio/api/sdk/v1/worker_config.rbs +122 -0
- data/sig/temporalio/api/sdk/v1/workflow_metadata.rbs +138 -0
- data/sig/temporalio/api/taskqueue/v1/message.rbs +1013 -0
- data/sig/temporalio/api/testservice/v1/request_response.rbs +125 -0
- data/sig/temporalio/api/testservice/v1/service.rbs +23 -0
- data/sig/temporalio/api/update/v1/message.rbs +349 -0
- data/sig/temporalio/api/version/v1/message.rbs +143 -0
- data/sig/temporalio/api/worker/v1/message.rbs +716 -0
- data/sig/temporalio/api/workflow/v1/message.rbs +2322 -0
- data/sig/temporalio/api/workflowservice/v1/request_response.rbs +12735 -0
- data/sig/temporalio/api/workflowservice/v1/service.rbs +23 -0
- data/sig/temporalio/api/workflowservice.rbs +6 -0
- data/sig/temporalio/api.rbs +4 -0
- data/sig/temporalio/cancellation.rbs +20 -0
- data/sig/temporalio/client/activity_execution.rbs +50 -0
- data/sig/temporalio/client/activity_execution_count.rbs +17 -0
- data/sig/temporalio/client/activity_execution_status.rbs +15 -0
- data/sig/temporalio/client/activity_handle.rbs +26 -0
- data/sig/temporalio/client/activity_id_reference.rbs +16 -0
- data/sig/temporalio/client/async_activity_handle.rbs +41 -0
- data/sig/temporalio/client/connection/cloud_service.rbs +315 -0
- data/sig/temporalio/client/connection/operator_service.rbs +59 -0
- data/sig/temporalio/client/connection/service.rbs +17 -0
- data/sig/temporalio/client/connection/test_service.rbs +35 -0
- data/sig/temporalio/client/connection/workflow_service.rbs +499 -0
- data/sig/temporalio/client/connection.rbs +143 -0
- data/sig/temporalio/client/interceptor.rbs +622 -0
- data/sig/temporalio/client/pending_activity_state.rbs +14 -0
- data/sig/temporalio/client/plugin.rbs +14 -0
- data/sig/temporalio/client/schedule.rbs +337 -0
- data/sig/temporalio/client/schedule_handle.rbs +44 -0
- data/sig/temporalio/client/with_start_workflow_operation.rbs +82 -0
- data/sig/temporalio/client/workflow_execution.rbs +37 -0
- data/sig/temporalio/client/workflow_execution_count.rbs +17 -0
- data/sig/temporalio/client/workflow_execution_status.rbs +16 -0
- data/sig/temporalio/client/workflow_handle.rbs +95 -0
- data/sig/temporalio/client/workflow_query_reject_condition.rbs +12 -0
- data/sig/temporalio/client/workflow_update_handle.rbs +26 -0
- data/sig/temporalio/client/workflow_update_wait_stage.rbs +12 -0
- data/sig/temporalio/client.rbs +271 -0
- data/sig/temporalio/common_enums.rbs +60 -0
- data/sig/temporalio/contrib/open_telemetry.rbs +74 -0
- data/sig/temporalio/converters/data_converter.rbs +32 -0
- data/sig/temporalio/converters/failure_converter.rbs +12 -0
- data/sig/temporalio/converters/payload_codec.rbs +8 -0
- data/sig/temporalio/converters/payload_converter/binary_null.rbs +9 -0
- data/sig/temporalio/converters/payload_converter/binary_plain.rbs +9 -0
- data/sig/temporalio/converters/payload_converter/binary_protobuf.rbs +9 -0
- data/sig/temporalio/converters/payload_converter/composite.rbs +16 -0
- data/sig/temporalio/converters/payload_converter/encoding.rbs +13 -0
- data/sig/temporalio/converters/payload_converter/json_plain.rbs +14 -0
- data/sig/temporalio/converters/payload_converter/json_protobuf.rbs +9 -0
- data/sig/temporalio/converters/payload_converter.rbs +24 -0
- data/sig/temporalio/converters/raw_value.rbs +9 -0
- data/sig/temporalio/converters.rbs +4 -0
- data/sig/temporalio/env_config.rbs +86 -0
- data/sig/temporalio/error/failure.rbs +170 -0
- data/sig/temporalio/error.rbs +88 -0
- data/sig/temporalio/internal/bridge/api/activity_result/activity_result.rbs +247 -0
- data/sig/temporalio/internal/bridge/api/activity_task/activity_task.rbs +372 -0
- data/sig/temporalio/internal/bridge/api/child_workflow/child_workflow.rbs +207 -0
- data/sig/temporalio/internal/bridge/api/common/common.rbs +123 -0
- data/sig/temporalio/internal/bridge/api/core_interface.rbs +231 -0
- data/sig/temporalio/internal/bridge/api/external_data/external_data.rbs +134 -0
- data/sig/temporalio/internal/bridge/api/nexus/nexus.rbs +285 -0
- data/sig/temporalio/internal/bridge/api/workflow_activation/workflow_activation.rbs +1304 -0
- data/sig/temporalio/internal/bridge/api/workflow_commands/workflow_commands.rbs +1526 -0
- data/sig/temporalio/internal/bridge/api/workflow_completion/workflow_completion.rbs +136 -0
- data/sig/temporalio/internal/bridge/api.rbs +8 -0
- data/sig/temporalio/internal/bridge/client.rbs +144 -0
- data/sig/temporalio/internal/bridge/metric.rbs +28 -0
- data/sig/temporalio/internal/bridge/runtime.rbs +97 -0
- data/sig/temporalio/internal/bridge/testing.rbs +91 -0
- data/sig/temporalio/internal/bridge/worker.rbs +199 -0
- data/sig/temporalio/internal/bridge.rbs +36 -0
- data/sig/temporalio/internal/client/implementation.rbs +33 -0
- data/sig/temporalio/internal/google_protobuf.rbs +7 -0
- data/sig/temporalio/internal/metric.rbs +35 -0
- data/sig/temporalio/internal/proto_utils.rbs +94 -0
- data/sig/temporalio/internal/worker/activity_worker.rbs +64 -0
- data/sig/temporalio/internal/worker/multi_runner.rbs +132 -0
- data/sig/temporalio/internal/worker/workflow_instance/child_workflow_handle.rbs +22 -0
- data/sig/temporalio/internal/worker/workflow_instance/context.rbs +172 -0
- data/sig/temporalio/internal/worker/workflow_instance/details.rbs +43 -0
- data/sig/temporalio/internal/worker/workflow_instance/external_workflow_handle.rbs +15 -0
- data/sig/temporalio/internal/worker/workflow_instance/externally_immutable_hash.rbs +16 -0
- data/sig/temporalio/internal/worker/workflow_instance/handler_execution.rbs +19 -0
- data/sig/temporalio/internal/worker/workflow_instance/handler_hash.rbs +14 -0
- data/sig/temporalio/internal/worker/workflow_instance/illegal_call_tracer.rbs +20 -0
- data/sig/temporalio/internal/worker/workflow_instance/inbound_implementation.rbs +19 -0
- data/sig/temporalio/internal/worker/workflow_instance/nexus_client.rbs +25 -0
- data/sig/temporalio/internal/worker/workflow_instance/nexus_operation_handle.rbs +19 -0
- data/sig/temporalio/internal/worker/workflow_instance/outbound_implementation.rbs +35 -0
- data/sig/temporalio/internal/worker/workflow_instance/replay_safe_logger.rbs +16 -0
- data/sig/temporalio/internal/worker/workflow_instance/replay_safe_metric.rbs +15 -0
- data/sig/temporalio/internal/worker/workflow_instance/scheduler.rbs +52 -0
- data/sig/temporalio/internal/worker/workflow_instance.rbs +111 -0
- data/sig/temporalio/internal/worker/workflow_worker.rbs +99 -0
- data/sig/temporalio/internal/workflow_task_failure_error.rbs +6 -0
- data/sig/temporalio/internal.rbs +4 -0
- data/sig/temporalio/metric.rbs +55 -0
- data/sig/temporalio/priority.rbs +17 -0
- data/sig/temporalio/retry_policy.rbs +21 -0
- data/sig/temporalio/runtime/metric_buffer.rbs +49 -0
- data/sig/temporalio/runtime.rbs +118 -0
- data/sig/temporalio/scoped_logger.rbs +15 -0
- data/sig/temporalio/search_attributes.rbs +82 -0
- data/sig/temporalio/simple_plugin.rbs +65 -0
- data/sig/temporalio/testing/activity_environment.rbs +52 -0
- data/sig/temporalio/testing/workflow_environment.rbs +141 -0
- data/sig/temporalio/testing.rbs +4 -0
- data/sig/temporalio/version.rbs +3 -0
- data/sig/temporalio/versioning_override.rbs +17 -0
- data/sig/temporalio/worker/activity_executor/fiber.rbs +9 -0
- data/sig/temporalio/worker/activity_executor/thread_pool.rbs +11 -0
- data/sig/temporalio/worker/activity_executor.rbs +12 -0
- data/sig/temporalio/worker/deployment_options.rbs +17 -0
- data/sig/temporalio/worker/illegal_workflow_call_validator.rbs +25 -0
- data/sig/temporalio/worker/interceptor.rbs +373 -0
- data/sig/temporalio/worker/plugin.rbs +47 -0
- data/sig/temporalio/worker/poller_behavior.rbs +23 -0
- data/sig/temporalio/worker/thread_pool.rbs +44 -0
- data/sig/temporalio/worker/tuner.rbs +121 -0
- data/sig/temporalio/worker/workflow_executor/thread_pool.rbs +58 -0
- data/sig/temporalio/worker/workflow_executor.rbs +15 -0
- data/sig/temporalio/worker/workflow_replayer.rbs +105 -0
- data/sig/temporalio/worker.rbs +168 -0
- data/sig/temporalio/worker_deployment_version.rbs +17 -0
- data/sig/temporalio/workflow/activity_cancellation_type.rbs +11 -0
- data/sig/temporalio/workflow/child_workflow_cancellation_type.rbs +12 -0
- data/sig/temporalio/workflow/child_workflow_handle.rbs +18 -0
- data/sig/temporalio/workflow/definition.rbs +181 -0
- data/sig/temporalio/workflow/external_workflow_handle.rbs +17 -0
- data/sig/temporalio/workflow/future.rbs +24 -0
- data/sig/temporalio/workflow/handler_unfinished_policy.rbs +10 -0
- data/sig/temporalio/workflow/info.rbs +79 -0
- data/sig/temporalio/workflow/nexus_client.rbs +34 -0
- data/sig/temporalio/workflow/nexus_operation_cancellation_type.rbs +12 -0
- data/sig/temporalio/workflow/nexus_operation_handle.rbs +10 -0
- data/sig/temporalio/workflow/parent_close_policy.rbs +12 -0
- data/sig/temporalio/workflow/update_info.rbs +15 -0
- data/sig/temporalio/workflow.rbs +215 -0
- data/sig/temporalio/workflow_history.rbs +13 -0
- data/sig/temporalio.rbs +3 -0
- data/temporalio.gemspec +1 -1
- metadata +445 -2
|
@@ -0,0 +1,1526 @@
|
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
|
+
# This RBS interface is provided for convenience, on a best-effort basis.
|
|
3
|
+
# The library is the definitive source for the API contract; if the RBS file
|
|
4
|
+
# and the library's behavior differ, the library behavior is authoritative.
|
|
5
|
+
# We welcome fixes to change the RBS file to match.
|
|
6
|
+
# source: temporal/sdk/core/workflow_commands/workflow_commands.proto
|
|
7
|
+
|
|
8
|
+
module Temporalio
|
|
9
|
+
module Internal
|
|
10
|
+
module Bridge
|
|
11
|
+
module Api
|
|
12
|
+
module WorkflowCommands
|
|
13
|
+
class WorkflowCommand < ::Google::Protobuf::AbstractMessage
|
|
14
|
+
|
|
15
|
+
# User metadata that may or may not be persisted into history depending on the command type.
|
|
16
|
+
# Lang layers are expected to expose the setting of the internals of this metadata on a
|
|
17
|
+
# per-command basis where applicable.
|
|
18
|
+
attr_accessor user_metadata(): ::Temporalio::Api::Sdk::V1::UserMetadata?
|
|
19
|
+
def has_user_metadata?: () -> bool
|
|
20
|
+
def clear_user_metadata: () -> void
|
|
21
|
+
|
|
22
|
+
attr_accessor start_timer(): ::Temporalio::Internal::Bridge::Api::WorkflowCommands::StartTimer?
|
|
23
|
+
def has_start_timer?: () -> bool
|
|
24
|
+
def clear_start_timer: () -> void
|
|
25
|
+
|
|
26
|
+
attr_accessor schedule_activity(): ::Temporalio::Internal::Bridge::Api::WorkflowCommands::ScheduleActivity?
|
|
27
|
+
def has_schedule_activity?: () -> bool
|
|
28
|
+
def clear_schedule_activity: () -> void
|
|
29
|
+
|
|
30
|
+
attr_accessor respond_to_query(): ::Temporalio::Internal::Bridge::Api::WorkflowCommands::QueryResult?
|
|
31
|
+
def has_respond_to_query?: () -> bool
|
|
32
|
+
def clear_respond_to_query: () -> void
|
|
33
|
+
|
|
34
|
+
attr_accessor request_cancel_activity(): ::Temporalio::Internal::Bridge::Api::WorkflowCommands::RequestCancelActivity?
|
|
35
|
+
def has_request_cancel_activity?: () -> bool
|
|
36
|
+
def clear_request_cancel_activity: () -> void
|
|
37
|
+
|
|
38
|
+
attr_accessor cancel_timer(): ::Temporalio::Internal::Bridge::Api::WorkflowCommands::CancelTimer?
|
|
39
|
+
def has_cancel_timer?: () -> bool
|
|
40
|
+
def clear_cancel_timer: () -> void
|
|
41
|
+
|
|
42
|
+
attr_accessor complete_workflow_execution(): ::Temporalio::Internal::Bridge::Api::WorkflowCommands::CompleteWorkflowExecution?
|
|
43
|
+
def has_complete_workflow_execution?: () -> bool
|
|
44
|
+
def clear_complete_workflow_execution: () -> void
|
|
45
|
+
|
|
46
|
+
attr_accessor fail_workflow_execution(): ::Temporalio::Internal::Bridge::Api::WorkflowCommands::FailWorkflowExecution?
|
|
47
|
+
def has_fail_workflow_execution?: () -> bool
|
|
48
|
+
def clear_fail_workflow_execution: () -> void
|
|
49
|
+
|
|
50
|
+
attr_accessor continue_as_new_workflow_execution(): ::Temporalio::Internal::Bridge::Api::WorkflowCommands::ContinueAsNewWorkflowExecution?
|
|
51
|
+
def has_continue_as_new_workflow_execution?: () -> bool
|
|
52
|
+
def clear_continue_as_new_workflow_execution: () -> void
|
|
53
|
+
|
|
54
|
+
attr_accessor cancel_workflow_execution(): ::Temporalio::Internal::Bridge::Api::WorkflowCommands::CancelWorkflowExecution?
|
|
55
|
+
def has_cancel_workflow_execution?: () -> bool
|
|
56
|
+
def clear_cancel_workflow_execution: () -> void
|
|
57
|
+
|
|
58
|
+
attr_accessor set_patch_marker(): ::Temporalio::Internal::Bridge::Api::WorkflowCommands::SetPatchMarker?
|
|
59
|
+
def has_set_patch_marker?: () -> bool
|
|
60
|
+
def clear_set_patch_marker: () -> void
|
|
61
|
+
|
|
62
|
+
attr_accessor start_child_workflow_execution(): ::Temporalio::Internal::Bridge::Api::WorkflowCommands::StartChildWorkflowExecution?
|
|
63
|
+
def has_start_child_workflow_execution?: () -> bool
|
|
64
|
+
def clear_start_child_workflow_execution: () -> void
|
|
65
|
+
|
|
66
|
+
attr_accessor cancel_child_workflow_execution(): ::Temporalio::Internal::Bridge::Api::WorkflowCommands::CancelChildWorkflowExecution?
|
|
67
|
+
def has_cancel_child_workflow_execution?: () -> bool
|
|
68
|
+
def clear_cancel_child_workflow_execution: () -> void
|
|
69
|
+
|
|
70
|
+
attr_accessor request_cancel_external_workflow_execution(): ::Temporalio::Internal::Bridge::Api::WorkflowCommands::RequestCancelExternalWorkflowExecution?
|
|
71
|
+
def has_request_cancel_external_workflow_execution?: () -> bool
|
|
72
|
+
def clear_request_cancel_external_workflow_execution: () -> void
|
|
73
|
+
|
|
74
|
+
attr_accessor signal_external_workflow_execution(): ::Temporalio::Internal::Bridge::Api::WorkflowCommands::SignalExternalWorkflowExecution?
|
|
75
|
+
def has_signal_external_workflow_execution?: () -> bool
|
|
76
|
+
def clear_signal_external_workflow_execution: () -> void
|
|
77
|
+
|
|
78
|
+
attr_accessor cancel_signal_workflow(): ::Temporalio::Internal::Bridge::Api::WorkflowCommands::CancelSignalWorkflow?
|
|
79
|
+
def has_cancel_signal_workflow?: () -> bool
|
|
80
|
+
def clear_cancel_signal_workflow: () -> void
|
|
81
|
+
|
|
82
|
+
attr_accessor schedule_local_activity(): ::Temporalio::Internal::Bridge::Api::WorkflowCommands::ScheduleLocalActivity?
|
|
83
|
+
def has_schedule_local_activity?: () -> bool
|
|
84
|
+
def clear_schedule_local_activity: () -> void
|
|
85
|
+
|
|
86
|
+
attr_accessor request_cancel_local_activity(): ::Temporalio::Internal::Bridge::Api::WorkflowCommands::RequestCancelLocalActivity?
|
|
87
|
+
def has_request_cancel_local_activity?: () -> bool
|
|
88
|
+
def clear_request_cancel_local_activity: () -> void
|
|
89
|
+
|
|
90
|
+
attr_accessor upsert_workflow_search_attributes(): ::Temporalio::Internal::Bridge::Api::WorkflowCommands::UpsertWorkflowSearchAttributes?
|
|
91
|
+
def has_upsert_workflow_search_attributes?: () -> bool
|
|
92
|
+
def clear_upsert_workflow_search_attributes: () -> void
|
|
93
|
+
|
|
94
|
+
attr_accessor modify_workflow_properties(): ::Temporalio::Internal::Bridge::Api::WorkflowCommands::ModifyWorkflowProperties?
|
|
95
|
+
def has_modify_workflow_properties?: () -> bool
|
|
96
|
+
def clear_modify_workflow_properties: () -> void
|
|
97
|
+
|
|
98
|
+
attr_accessor update_response(): ::Temporalio::Internal::Bridge::Api::WorkflowCommands::UpdateResponse?
|
|
99
|
+
def has_update_response?: () -> bool
|
|
100
|
+
def clear_update_response: () -> void
|
|
101
|
+
|
|
102
|
+
attr_accessor schedule_nexus_operation(): ::Temporalio::Internal::Bridge::Api::WorkflowCommands::ScheduleNexusOperation?
|
|
103
|
+
def has_schedule_nexus_operation?: () -> bool
|
|
104
|
+
def clear_schedule_nexus_operation: () -> void
|
|
105
|
+
|
|
106
|
+
attr_accessor request_cancel_nexus_operation(): ::Temporalio::Internal::Bridge::Api::WorkflowCommands::RequestCancelNexusOperation?
|
|
107
|
+
def has_request_cancel_nexus_operation?: () -> bool
|
|
108
|
+
def clear_request_cancel_nexus_operation: () -> void
|
|
109
|
+
|
|
110
|
+
attr_reader variant(): (::Temporalio::Internal::Bridge::Api::WorkflowCommands::StartTimer | ::Temporalio::Internal::Bridge::Api::WorkflowCommands::ScheduleActivity | ::Temporalio::Internal::Bridge::Api::WorkflowCommands::QueryResult | ::Temporalio::Internal::Bridge::Api::WorkflowCommands::RequestCancelActivity | ::Temporalio::Internal::Bridge::Api::WorkflowCommands::CancelTimer | ::Temporalio::Internal::Bridge::Api::WorkflowCommands::CompleteWorkflowExecution | ::Temporalio::Internal::Bridge::Api::WorkflowCommands::FailWorkflowExecution | ::Temporalio::Internal::Bridge::Api::WorkflowCommands::ContinueAsNewWorkflowExecution | ::Temporalio::Internal::Bridge::Api::WorkflowCommands::CancelWorkflowExecution | ::Temporalio::Internal::Bridge::Api::WorkflowCommands::SetPatchMarker | ::Temporalio::Internal::Bridge::Api::WorkflowCommands::StartChildWorkflowExecution | ::Temporalio::Internal::Bridge::Api::WorkflowCommands::CancelChildWorkflowExecution | ::Temporalio::Internal::Bridge::Api::WorkflowCommands::RequestCancelExternalWorkflowExecution | ::Temporalio::Internal::Bridge::Api::WorkflowCommands::SignalExternalWorkflowExecution | ::Temporalio::Internal::Bridge::Api::WorkflowCommands::CancelSignalWorkflow | ::Temporalio::Internal::Bridge::Api::WorkflowCommands::ScheduleLocalActivity | ::Temporalio::Internal::Bridge::Api::WorkflowCommands::RequestCancelLocalActivity | ::Temporalio::Internal::Bridge::Api::WorkflowCommands::UpsertWorkflowSearchAttributes | ::Temporalio::Internal::Bridge::Api::WorkflowCommands::ModifyWorkflowProperties | ::Temporalio::Internal::Bridge::Api::WorkflowCommands::UpdateResponse | ::Temporalio::Internal::Bridge::Api::WorkflowCommands::ScheduleNexusOperation | ::Temporalio::Internal::Bridge::Api::WorkflowCommands::RequestCancelNexusOperation)?
|
|
111
|
+
def has_variant?: () -> bool
|
|
112
|
+
def clear_variant: () -> void
|
|
113
|
+
|
|
114
|
+
type init_map = {
|
|
115
|
+
user_metadata: (::Temporalio::Api::Sdk::V1::UserMetadata | ::Temporalio::Api::Sdk::V1::UserMetadata::init_map)?,
|
|
116
|
+
"user_metadata" => (::Temporalio::Api::Sdk::V1::UserMetadata | ::Temporalio::Api::Sdk::V1::UserMetadata::init_map)?,
|
|
117
|
+
start_timer: (::Temporalio::Internal::Bridge::Api::WorkflowCommands::StartTimer | ::Temporalio::Internal::Bridge::Api::WorkflowCommands::StartTimer::init_map)?,
|
|
118
|
+
"start_timer" => (::Temporalio::Internal::Bridge::Api::WorkflowCommands::StartTimer | ::Temporalio::Internal::Bridge::Api::WorkflowCommands::StartTimer::init_map)?,
|
|
119
|
+
schedule_activity: (::Temporalio::Internal::Bridge::Api::WorkflowCommands::ScheduleActivity | ::Temporalio::Internal::Bridge::Api::WorkflowCommands::ScheduleActivity::init_map)?,
|
|
120
|
+
"schedule_activity" => (::Temporalio::Internal::Bridge::Api::WorkflowCommands::ScheduleActivity | ::Temporalio::Internal::Bridge::Api::WorkflowCommands::ScheduleActivity::init_map)?,
|
|
121
|
+
respond_to_query: (::Temporalio::Internal::Bridge::Api::WorkflowCommands::QueryResult | ::Temporalio::Internal::Bridge::Api::WorkflowCommands::QueryResult::init_map)?,
|
|
122
|
+
"respond_to_query" => (::Temporalio::Internal::Bridge::Api::WorkflowCommands::QueryResult | ::Temporalio::Internal::Bridge::Api::WorkflowCommands::QueryResult::init_map)?,
|
|
123
|
+
request_cancel_activity: (::Temporalio::Internal::Bridge::Api::WorkflowCommands::RequestCancelActivity | ::Temporalio::Internal::Bridge::Api::WorkflowCommands::RequestCancelActivity::init_map)?,
|
|
124
|
+
"request_cancel_activity" => (::Temporalio::Internal::Bridge::Api::WorkflowCommands::RequestCancelActivity | ::Temporalio::Internal::Bridge::Api::WorkflowCommands::RequestCancelActivity::init_map)?,
|
|
125
|
+
cancel_timer: (::Temporalio::Internal::Bridge::Api::WorkflowCommands::CancelTimer | ::Temporalio::Internal::Bridge::Api::WorkflowCommands::CancelTimer::init_map)?,
|
|
126
|
+
"cancel_timer" => (::Temporalio::Internal::Bridge::Api::WorkflowCommands::CancelTimer | ::Temporalio::Internal::Bridge::Api::WorkflowCommands::CancelTimer::init_map)?,
|
|
127
|
+
complete_workflow_execution: (::Temporalio::Internal::Bridge::Api::WorkflowCommands::CompleteWorkflowExecution | ::Temporalio::Internal::Bridge::Api::WorkflowCommands::CompleteWorkflowExecution::init_map)?,
|
|
128
|
+
"complete_workflow_execution" => (::Temporalio::Internal::Bridge::Api::WorkflowCommands::CompleteWorkflowExecution | ::Temporalio::Internal::Bridge::Api::WorkflowCommands::CompleteWorkflowExecution::init_map)?,
|
|
129
|
+
fail_workflow_execution: (::Temporalio::Internal::Bridge::Api::WorkflowCommands::FailWorkflowExecution | ::Temporalio::Internal::Bridge::Api::WorkflowCommands::FailWorkflowExecution::init_map)?,
|
|
130
|
+
"fail_workflow_execution" => (::Temporalio::Internal::Bridge::Api::WorkflowCommands::FailWorkflowExecution | ::Temporalio::Internal::Bridge::Api::WorkflowCommands::FailWorkflowExecution::init_map)?,
|
|
131
|
+
continue_as_new_workflow_execution: (::Temporalio::Internal::Bridge::Api::WorkflowCommands::ContinueAsNewWorkflowExecution | ::Temporalio::Internal::Bridge::Api::WorkflowCommands::ContinueAsNewWorkflowExecution::init_map)?,
|
|
132
|
+
"continue_as_new_workflow_execution" => (::Temporalio::Internal::Bridge::Api::WorkflowCommands::ContinueAsNewWorkflowExecution | ::Temporalio::Internal::Bridge::Api::WorkflowCommands::ContinueAsNewWorkflowExecution::init_map)?,
|
|
133
|
+
cancel_workflow_execution: (::Temporalio::Internal::Bridge::Api::WorkflowCommands::CancelWorkflowExecution | ::Temporalio::Internal::Bridge::Api::WorkflowCommands::CancelWorkflowExecution::init_map)?,
|
|
134
|
+
"cancel_workflow_execution" => (::Temporalio::Internal::Bridge::Api::WorkflowCommands::CancelWorkflowExecution | ::Temporalio::Internal::Bridge::Api::WorkflowCommands::CancelWorkflowExecution::init_map)?,
|
|
135
|
+
set_patch_marker: (::Temporalio::Internal::Bridge::Api::WorkflowCommands::SetPatchMarker | ::Temporalio::Internal::Bridge::Api::WorkflowCommands::SetPatchMarker::init_map)?,
|
|
136
|
+
"set_patch_marker" => (::Temporalio::Internal::Bridge::Api::WorkflowCommands::SetPatchMarker | ::Temporalio::Internal::Bridge::Api::WorkflowCommands::SetPatchMarker::init_map)?,
|
|
137
|
+
start_child_workflow_execution: (::Temporalio::Internal::Bridge::Api::WorkflowCommands::StartChildWorkflowExecution | ::Temporalio::Internal::Bridge::Api::WorkflowCommands::StartChildWorkflowExecution::init_map)?,
|
|
138
|
+
"start_child_workflow_execution" => (::Temporalio::Internal::Bridge::Api::WorkflowCommands::StartChildWorkflowExecution | ::Temporalio::Internal::Bridge::Api::WorkflowCommands::StartChildWorkflowExecution::init_map)?,
|
|
139
|
+
cancel_child_workflow_execution: (::Temporalio::Internal::Bridge::Api::WorkflowCommands::CancelChildWorkflowExecution | ::Temporalio::Internal::Bridge::Api::WorkflowCommands::CancelChildWorkflowExecution::init_map)?,
|
|
140
|
+
"cancel_child_workflow_execution" => (::Temporalio::Internal::Bridge::Api::WorkflowCommands::CancelChildWorkflowExecution | ::Temporalio::Internal::Bridge::Api::WorkflowCommands::CancelChildWorkflowExecution::init_map)?,
|
|
141
|
+
request_cancel_external_workflow_execution: (::Temporalio::Internal::Bridge::Api::WorkflowCommands::RequestCancelExternalWorkflowExecution | ::Temporalio::Internal::Bridge::Api::WorkflowCommands::RequestCancelExternalWorkflowExecution::init_map)?,
|
|
142
|
+
"request_cancel_external_workflow_execution" => (::Temporalio::Internal::Bridge::Api::WorkflowCommands::RequestCancelExternalWorkflowExecution | ::Temporalio::Internal::Bridge::Api::WorkflowCommands::RequestCancelExternalWorkflowExecution::init_map)?,
|
|
143
|
+
signal_external_workflow_execution: (::Temporalio::Internal::Bridge::Api::WorkflowCommands::SignalExternalWorkflowExecution | ::Temporalio::Internal::Bridge::Api::WorkflowCommands::SignalExternalWorkflowExecution::init_map)?,
|
|
144
|
+
"signal_external_workflow_execution" => (::Temporalio::Internal::Bridge::Api::WorkflowCommands::SignalExternalWorkflowExecution | ::Temporalio::Internal::Bridge::Api::WorkflowCommands::SignalExternalWorkflowExecution::init_map)?,
|
|
145
|
+
cancel_signal_workflow: (::Temporalio::Internal::Bridge::Api::WorkflowCommands::CancelSignalWorkflow | ::Temporalio::Internal::Bridge::Api::WorkflowCommands::CancelSignalWorkflow::init_map)?,
|
|
146
|
+
"cancel_signal_workflow" => (::Temporalio::Internal::Bridge::Api::WorkflowCommands::CancelSignalWorkflow | ::Temporalio::Internal::Bridge::Api::WorkflowCommands::CancelSignalWorkflow::init_map)?,
|
|
147
|
+
schedule_local_activity: (::Temporalio::Internal::Bridge::Api::WorkflowCommands::ScheduleLocalActivity | ::Temporalio::Internal::Bridge::Api::WorkflowCommands::ScheduleLocalActivity::init_map)?,
|
|
148
|
+
"schedule_local_activity" => (::Temporalio::Internal::Bridge::Api::WorkflowCommands::ScheduleLocalActivity | ::Temporalio::Internal::Bridge::Api::WorkflowCommands::ScheduleLocalActivity::init_map)?,
|
|
149
|
+
request_cancel_local_activity: (::Temporalio::Internal::Bridge::Api::WorkflowCommands::RequestCancelLocalActivity | ::Temporalio::Internal::Bridge::Api::WorkflowCommands::RequestCancelLocalActivity::init_map)?,
|
|
150
|
+
"request_cancel_local_activity" => (::Temporalio::Internal::Bridge::Api::WorkflowCommands::RequestCancelLocalActivity | ::Temporalio::Internal::Bridge::Api::WorkflowCommands::RequestCancelLocalActivity::init_map)?,
|
|
151
|
+
upsert_workflow_search_attributes: (::Temporalio::Internal::Bridge::Api::WorkflowCommands::UpsertWorkflowSearchAttributes | ::Temporalio::Internal::Bridge::Api::WorkflowCommands::UpsertWorkflowSearchAttributes::init_map)?,
|
|
152
|
+
"upsert_workflow_search_attributes" => (::Temporalio::Internal::Bridge::Api::WorkflowCommands::UpsertWorkflowSearchAttributes | ::Temporalio::Internal::Bridge::Api::WorkflowCommands::UpsertWorkflowSearchAttributes::init_map)?,
|
|
153
|
+
modify_workflow_properties: (::Temporalio::Internal::Bridge::Api::WorkflowCommands::ModifyWorkflowProperties | ::Temporalio::Internal::Bridge::Api::WorkflowCommands::ModifyWorkflowProperties::init_map)?,
|
|
154
|
+
"modify_workflow_properties" => (::Temporalio::Internal::Bridge::Api::WorkflowCommands::ModifyWorkflowProperties | ::Temporalio::Internal::Bridge::Api::WorkflowCommands::ModifyWorkflowProperties::init_map)?,
|
|
155
|
+
update_response: (::Temporalio::Internal::Bridge::Api::WorkflowCommands::UpdateResponse | ::Temporalio::Internal::Bridge::Api::WorkflowCommands::UpdateResponse::init_map)?,
|
|
156
|
+
"update_response" => (::Temporalio::Internal::Bridge::Api::WorkflowCommands::UpdateResponse | ::Temporalio::Internal::Bridge::Api::WorkflowCommands::UpdateResponse::init_map)?,
|
|
157
|
+
schedule_nexus_operation: (::Temporalio::Internal::Bridge::Api::WorkflowCommands::ScheduleNexusOperation | ::Temporalio::Internal::Bridge::Api::WorkflowCommands::ScheduleNexusOperation::init_map)?,
|
|
158
|
+
"schedule_nexus_operation" => (::Temporalio::Internal::Bridge::Api::WorkflowCommands::ScheduleNexusOperation | ::Temporalio::Internal::Bridge::Api::WorkflowCommands::ScheduleNexusOperation::init_map)?,
|
|
159
|
+
request_cancel_nexus_operation: (::Temporalio::Internal::Bridge::Api::WorkflowCommands::RequestCancelNexusOperation | ::Temporalio::Internal::Bridge::Api::WorkflowCommands::RequestCancelNexusOperation::init_map)?,
|
|
160
|
+
"request_cancel_nexus_operation" => (::Temporalio::Internal::Bridge::Api::WorkflowCommands::RequestCancelNexusOperation | ::Temporalio::Internal::Bridge::Api::WorkflowCommands::RequestCancelNexusOperation::init_map)?,
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
def initialize: (?init_map initial_value) -> void
|
|
164
|
+
|
|
165
|
+
def []:
|
|
166
|
+
("user_metadata" name) -> ::Temporalio::Api::Sdk::V1::UserMetadata?
|
|
167
|
+
| ("start_timer" name) -> ::Temporalio::Internal::Bridge::Api::WorkflowCommands::StartTimer?
|
|
168
|
+
| ("schedule_activity" name) -> ::Temporalio::Internal::Bridge::Api::WorkflowCommands::ScheduleActivity?
|
|
169
|
+
| ("respond_to_query" name) -> ::Temporalio::Internal::Bridge::Api::WorkflowCommands::QueryResult?
|
|
170
|
+
| ("request_cancel_activity" name) -> ::Temporalio::Internal::Bridge::Api::WorkflowCommands::RequestCancelActivity?
|
|
171
|
+
| ("cancel_timer" name) -> ::Temporalio::Internal::Bridge::Api::WorkflowCommands::CancelTimer?
|
|
172
|
+
| ("complete_workflow_execution" name) -> ::Temporalio::Internal::Bridge::Api::WorkflowCommands::CompleteWorkflowExecution?
|
|
173
|
+
| ("fail_workflow_execution" name) -> ::Temporalio::Internal::Bridge::Api::WorkflowCommands::FailWorkflowExecution?
|
|
174
|
+
| ("continue_as_new_workflow_execution" name) -> ::Temporalio::Internal::Bridge::Api::WorkflowCommands::ContinueAsNewWorkflowExecution?
|
|
175
|
+
| ("cancel_workflow_execution" name) -> ::Temporalio::Internal::Bridge::Api::WorkflowCommands::CancelWorkflowExecution?
|
|
176
|
+
| ("set_patch_marker" name) -> ::Temporalio::Internal::Bridge::Api::WorkflowCommands::SetPatchMarker?
|
|
177
|
+
| ("start_child_workflow_execution" name) -> ::Temporalio::Internal::Bridge::Api::WorkflowCommands::StartChildWorkflowExecution?
|
|
178
|
+
| ("cancel_child_workflow_execution" name) -> ::Temporalio::Internal::Bridge::Api::WorkflowCommands::CancelChildWorkflowExecution?
|
|
179
|
+
| ("request_cancel_external_workflow_execution" name) -> ::Temporalio::Internal::Bridge::Api::WorkflowCommands::RequestCancelExternalWorkflowExecution?
|
|
180
|
+
| ("signal_external_workflow_execution" name) -> ::Temporalio::Internal::Bridge::Api::WorkflowCommands::SignalExternalWorkflowExecution?
|
|
181
|
+
| ("cancel_signal_workflow" name) -> ::Temporalio::Internal::Bridge::Api::WorkflowCommands::CancelSignalWorkflow?
|
|
182
|
+
| ("schedule_local_activity" name) -> ::Temporalio::Internal::Bridge::Api::WorkflowCommands::ScheduleLocalActivity?
|
|
183
|
+
| ("request_cancel_local_activity" name) -> ::Temporalio::Internal::Bridge::Api::WorkflowCommands::RequestCancelLocalActivity?
|
|
184
|
+
| ("upsert_workflow_search_attributes" name) -> ::Temporalio::Internal::Bridge::Api::WorkflowCommands::UpsertWorkflowSearchAttributes?
|
|
185
|
+
| ("modify_workflow_properties" name) -> ::Temporalio::Internal::Bridge::Api::WorkflowCommands::ModifyWorkflowProperties?
|
|
186
|
+
| ("update_response" name) -> ::Temporalio::Internal::Bridge::Api::WorkflowCommands::UpdateResponse?
|
|
187
|
+
| ("schedule_nexus_operation" name) -> ::Temporalio::Internal::Bridge::Api::WorkflowCommands::ScheduleNexusOperation?
|
|
188
|
+
| ("request_cancel_nexus_operation" name) -> ::Temporalio::Internal::Bridge::Api::WorkflowCommands::RequestCancelNexusOperation?
|
|
189
|
+
|
|
190
|
+
def []=:
|
|
191
|
+
("user_metadata" name, ::Temporalio::Api::Sdk::V1::UserMetadata? value) -> void
|
|
192
|
+
| ("start_timer" name, ::Temporalio::Internal::Bridge::Api::WorkflowCommands::StartTimer? value) -> void
|
|
193
|
+
| ("schedule_activity" name, ::Temporalio::Internal::Bridge::Api::WorkflowCommands::ScheduleActivity? value) -> void
|
|
194
|
+
| ("respond_to_query" name, ::Temporalio::Internal::Bridge::Api::WorkflowCommands::QueryResult? value) -> void
|
|
195
|
+
| ("request_cancel_activity" name, ::Temporalio::Internal::Bridge::Api::WorkflowCommands::RequestCancelActivity? value) -> void
|
|
196
|
+
| ("cancel_timer" name, ::Temporalio::Internal::Bridge::Api::WorkflowCommands::CancelTimer? value) -> void
|
|
197
|
+
| ("complete_workflow_execution" name, ::Temporalio::Internal::Bridge::Api::WorkflowCommands::CompleteWorkflowExecution? value) -> void
|
|
198
|
+
| ("fail_workflow_execution" name, ::Temporalio::Internal::Bridge::Api::WorkflowCommands::FailWorkflowExecution? value) -> void
|
|
199
|
+
| ("continue_as_new_workflow_execution" name, ::Temporalio::Internal::Bridge::Api::WorkflowCommands::ContinueAsNewWorkflowExecution? value) -> void
|
|
200
|
+
| ("cancel_workflow_execution" name, ::Temporalio::Internal::Bridge::Api::WorkflowCommands::CancelWorkflowExecution? value) -> void
|
|
201
|
+
| ("set_patch_marker" name, ::Temporalio::Internal::Bridge::Api::WorkflowCommands::SetPatchMarker? value) -> void
|
|
202
|
+
| ("start_child_workflow_execution" name, ::Temporalio::Internal::Bridge::Api::WorkflowCommands::StartChildWorkflowExecution? value) -> void
|
|
203
|
+
| ("cancel_child_workflow_execution" name, ::Temporalio::Internal::Bridge::Api::WorkflowCommands::CancelChildWorkflowExecution? value) -> void
|
|
204
|
+
| ("request_cancel_external_workflow_execution" name, ::Temporalio::Internal::Bridge::Api::WorkflowCommands::RequestCancelExternalWorkflowExecution? value) -> void
|
|
205
|
+
| ("signal_external_workflow_execution" name, ::Temporalio::Internal::Bridge::Api::WorkflowCommands::SignalExternalWorkflowExecution? value) -> void
|
|
206
|
+
| ("cancel_signal_workflow" name, ::Temporalio::Internal::Bridge::Api::WorkflowCommands::CancelSignalWorkflow? value) -> void
|
|
207
|
+
| ("schedule_local_activity" name, ::Temporalio::Internal::Bridge::Api::WorkflowCommands::ScheduleLocalActivity? value) -> void
|
|
208
|
+
| ("request_cancel_local_activity" name, ::Temporalio::Internal::Bridge::Api::WorkflowCommands::RequestCancelLocalActivity? value) -> void
|
|
209
|
+
| ("upsert_workflow_search_attributes" name, ::Temporalio::Internal::Bridge::Api::WorkflowCommands::UpsertWorkflowSearchAttributes? value) -> void
|
|
210
|
+
| ("modify_workflow_properties" name, ::Temporalio::Internal::Bridge::Api::WorkflowCommands::ModifyWorkflowProperties? value) -> void
|
|
211
|
+
| ("update_response" name, ::Temporalio::Internal::Bridge::Api::WorkflowCommands::UpdateResponse? value) -> void
|
|
212
|
+
| ("schedule_nexus_operation" name, ::Temporalio::Internal::Bridge::Api::WorkflowCommands::ScheduleNexusOperation? value) -> void
|
|
213
|
+
| ("request_cancel_nexus_operation" name, ::Temporalio::Internal::Bridge::Api::WorkflowCommands::RequestCancelNexusOperation? value) -> void
|
|
214
|
+
end
|
|
215
|
+
|
|
216
|
+
class StartTimer < ::Google::Protobuf::AbstractMessage
|
|
217
|
+
|
|
218
|
+
# Lang's incremental sequence number, used as the operation identifier
|
|
219
|
+
attr_reader seq(): ::Integer
|
|
220
|
+
attr_writer seq(): ::Integer | ::Float
|
|
221
|
+
def clear_seq: () -> void
|
|
222
|
+
|
|
223
|
+
attr_reader start_to_fire_timeout(): ::Google::Protobuf::Duration?
|
|
224
|
+
attr_writer start_to_fire_timeout(): (::Google::Protobuf::Duration | ::int)?
|
|
225
|
+
def has_start_to_fire_timeout?: () -> bool
|
|
226
|
+
def clear_start_to_fire_timeout: () -> void
|
|
227
|
+
|
|
228
|
+
type init_map = {
|
|
229
|
+
seq: (::Integer | ::Float)?,
|
|
230
|
+
"seq" => (::Integer | ::Float)?,
|
|
231
|
+
start_to_fire_timeout: (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?,
|
|
232
|
+
"start_to_fire_timeout" => (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?,
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
def initialize: (?init_map initial_value) -> void
|
|
236
|
+
|
|
237
|
+
def []:
|
|
238
|
+
("seq" name) -> ::Integer
|
|
239
|
+
| ("start_to_fire_timeout" name) -> ::Google::Protobuf::Duration?
|
|
240
|
+
|
|
241
|
+
def []=:
|
|
242
|
+
("seq" name, (::Integer | ::Float) value) -> void
|
|
243
|
+
| ("start_to_fire_timeout" name, ((::Google::Protobuf::Duration | ::int)?) value) -> void
|
|
244
|
+
end
|
|
245
|
+
|
|
246
|
+
class CancelTimer < ::Google::Protobuf::AbstractMessage
|
|
247
|
+
|
|
248
|
+
# Lang's incremental sequence number as passed to `StartTimer`
|
|
249
|
+
attr_reader seq(): ::Integer
|
|
250
|
+
attr_writer seq(): ::Integer | ::Float
|
|
251
|
+
def clear_seq: () -> void
|
|
252
|
+
|
|
253
|
+
type init_map = {
|
|
254
|
+
seq: (::Integer | ::Float)?,
|
|
255
|
+
"seq" => (::Integer | ::Float)?,
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
def initialize: (?init_map initial_value) -> void
|
|
259
|
+
|
|
260
|
+
def []:
|
|
261
|
+
("seq" name) -> ::Integer
|
|
262
|
+
|
|
263
|
+
def []=:
|
|
264
|
+
("seq" name, (::Integer | ::Float) value) -> void
|
|
265
|
+
end
|
|
266
|
+
|
|
267
|
+
class ScheduleActivity < ::Google::Protobuf::AbstractMessage
|
|
268
|
+
|
|
269
|
+
# Lang's incremental sequence number, used as the operation identifier
|
|
270
|
+
attr_reader seq(): ::Integer
|
|
271
|
+
attr_writer seq(): ::Integer | ::Float
|
|
272
|
+
def clear_seq: () -> void
|
|
273
|
+
|
|
274
|
+
attr_reader activity_id(): ::String
|
|
275
|
+
attr_writer activity_id(): ::String | ::Symbol
|
|
276
|
+
def clear_activity_id: () -> void
|
|
277
|
+
|
|
278
|
+
attr_reader activity_type(): ::String
|
|
279
|
+
attr_writer activity_type(): ::String | ::Symbol
|
|
280
|
+
def clear_activity_type: () -> void
|
|
281
|
+
|
|
282
|
+
# The name of the task queue to place this activity request in
|
|
283
|
+
attr_reader task_queue(): ::String
|
|
284
|
+
attr_writer task_queue(): ::String | ::Symbol
|
|
285
|
+
def clear_task_queue: () -> void
|
|
286
|
+
|
|
287
|
+
attr_accessor headers(): ::Google::Protobuf::Map[::String, ::Temporalio::Api::Common::V1::Payload]
|
|
288
|
+
def clear_headers: () -> void
|
|
289
|
+
|
|
290
|
+
# Arguments/input to the activity. Called "input" upstream.
|
|
291
|
+
attr_accessor arguments(): ::Google::Protobuf::RepeatedField
|
|
292
|
+
def clear_arguments: () -> void
|
|
293
|
+
|
|
294
|
+
# Indicates how long the caller is willing to wait for an activity completion. Limits how long
|
|
295
|
+
# retries will be attempted. Either this or start_to_close_timeout_seconds must be specified.
|
|
296
|
+
# When not specified defaults to the workflow execution timeout.
|
|
297
|
+
attr_reader schedule_to_close_timeout(): ::Google::Protobuf::Duration?
|
|
298
|
+
attr_writer schedule_to_close_timeout(): (::Google::Protobuf::Duration | ::int)?
|
|
299
|
+
def has_schedule_to_close_timeout?: () -> bool
|
|
300
|
+
def clear_schedule_to_close_timeout: () -> void
|
|
301
|
+
|
|
302
|
+
# Limits time an activity task can stay in a task queue before a worker picks it up. This
|
|
303
|
+
# timeout is always non retryable as all a retry would achieve is to put it back into the same
|
|
304
|
+
# queue. Defaults to schedule_to_close_timeout or workflow execution timeout if not specified.
|
|
305
|
+
attr_reader schedule_to_start_timeout(): ::Google::Protobuf::Duration?
|
|
306
|
+
attr_writer schedule_to_start_timeout(): (::Google::Protobuf::Duration | ::int)?
|
|
307
|
+
def has_schedule_to_start_timeout?: () -> bool
|
|
308
|
+
def clear_schedule_to_start_timeout: () -> void
|
|
309
|
+
|
|
310
|
+
# Maximum time an activity is allowed to execute after a pick up by a worker. This timeout is
|
|
311
|
+
# always retryable. Either this or schedule_to_close_timeout must be specified.
|
|
312
|
+
attr_reader start_to_close_timeout(): ::Google::Protobuf::Duration?
|
|
313
|
+
attr_writer start_to_close_timeout(): (::Google::Protobuf::Duration | ::int)?
|
|
314
|
+
def has_start_to_close_timeout?: () -> bool
|
|
315
|
+
def clear_start_to_close_timeout: () -> void
|
|
316
|
+
|
|
317
|
+
# Maximum time allowed between successful worker heartbeats.
|
|
318
|
+
attr_reader heartbeat_timeout(): ::Google::Protobuf::Duration?
|
|
319
|
+
attr_writer heartbeat_timeout(): (::Google::Protobuf::Duration | ::int)?
|
|
320
|
+
def has_heartbeat_timeout?: () -> bool
|
|
321
|
+
def clear_heartbeat_timeout: () -> void
|
|
322
|
+
|
|
323
|
+
# Activities are provided by a default retry policy controlled through the service dynamic
|
|
324
|
+
# configuration. Retries are happening up to schedule_to_close_timeout. To disable retries set
|
|
325
|
+
# retry_policy.maximum_attempts to 1.
|
|
326
|
+
attr_accessor retry_policy(): ::Temporalio::Api::Common::V1::RetryPolicy?
|
|
327
|
+
def has_retry_policy?: () -> bool
|
|
328
|
+
def clear_retry_policy: () -> void
|
|
329
|
+
|
|
330
|
+
# Defines how the workflow will wait (or not) for cancellation of the activity to be confirmed
|
|
331
|
+
attr_reader cancellation_type(): ::Temporalio::Internal::Bridge::Api::WorkflowCommands::ActivityCancellationType::names | ::Integer
|
|
332
|
+
attr_writer cancellation_type(): ::Temporalio::Internal::Bridge::Api::WorkflowCommands::ActivityCancellationType::names | ::Temporalio::Internal::Bridge::Api::WorkflowCommands::ActivityCancellationType::strings | ::Integer | ::Float
|
|
333
|
+
attr_reader cancellation_type_const(): ::Integer
|
|
334
|
+
def clear_cancellation_type: () -> void
|
|
335
|
+
|
|
336
|
+
# If set, the worker will not tell the service that it can immediately start executing this
|
|
337
|
+
# activity. When unset/default, workers will always attempt to do so if activity execution
|
|
338
|
+
# slots are available.
|
|
339
|
+
attr_accessor do_not_eagerly_execute(): bool
|
|
340
|
+
def clear_do_not_eagerly_execute: () -> void
|
|
341
|
+
|
|
342
|
+
# Whether this activity should run on a worker with a compatible build id or not.
|
|
343
|
+
attr_reader versioning_intent(): ::Temporalio::Internal::Bridge::Api::Common::VersioningIntent::names | ::Integer
|
|
344
|
+
attr_writer versioning_intent(): ::Temporalio::Internal::Bridge::Api::Common::VersioningIntent::names | ::Temporalio::Internal::Bridge::Api::Common::VersioningIntent::strings | ::Integer | ::Float
|
|
345
|
+
attr_reader versioning_intent_const(): ::Integer
|
|
346
|
+
def clear_versioning_intent: () -> void
|
|
347
|
+
|
|
348
|
+
# The Priority to use for this activity
|
|
349
|
+
attr_accessor priority(): ::Temporalio::Api::Common::V1::Priority?
|
|
350
|
+
def has_priority?: () -> bool
|
|
351
|
+
def clear_priority: () -> void
|
|
352
|
+
|
|
353
|
+
type init_map = {
|
|
354
|
+
seq: (::Integer | ::Float)?,
|
|
355
|
+
"seq" => (::Integer | ::Float)?,
|
|
356
|
+
activity_id: (::String | ::Symbol)?,
|
|
357
|
+
"activity_id" => (::String | ::Symbol)?,
|
|
358
|
+
activity_type: (::String | ::Symbol)?,
|
|
359
|
+
"activity_type" => (::String | ::Symbol)?,
|
|
360
|
+
task_queue: (::String | ::Symbol)?,
|
|
361
|
+
"task_queue" => (::String | ::Symbol)?,
|
|
362
|
+
headers: ::Hash[::String | ::Symbol, ::Temporalio::Api::Common::V1::Payload]?,
|
|
363
|
+
"headers" => ::Hash[::String | ::Symbol, ::Temporalio::Api::Common::V1::Payload]?,
|
|
364
|
+
arguments: ::Array[::Temporalio::Api::Common::V1::Payload]?,
|
|
365
|
+
"arguments" => ::Array[::Temporalio::Api::Common::V1::Payload]?,
|
|
366
|
+
schedule_to_close_timeout: (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?,
|
|
367
|
+
"schedule_to_close_timeout" => (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?,
|
|
368
|
+
schedule_to_start_timeout: (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?,
|
|
369
|
+
"schedule_to_start_timeout" => (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?,
|
|
370
|
+
start_to_close_timeout: (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?,
|
|
371
|
+
"start_to_close_timeout" => (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?,
|
|
372
|
+
heartbeat_timeout: (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?,
|
|
373
|
+
"heartbeat_timeout" => (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?,
|
|
374
|
+
retry_policy: (::Temporalio::Api::Common::V1::RetryPolicy | ::Temporalio::Api::Common::V1::RetryPolicy::init_map)?,
|
|
375
|
+
"retry_policy" => (::Temporalio::Api::Common::V1::RetryPolicy | ::Temporalio::Api::Common::V1::RetryPolicy::init_map)?,
|
|
376
|
+
cancellation_type: (::Temporalio::Internal::Bridge::Api::WorkflowCommands::ActivityCancellationType::names | ::Temporalio::Internal::Bridge::Api::WorkflowCommands::ActivityCancellationType::strings | ::Integer | ::Float)?,
|
|
377
|
+
"cancellation_type" => (::Temporalio::Internal::Bridge::Api::WorkflowCommands::ActivityCancellationType::names | ::Temporalio::Internal::Bridge::Api::WorkflowCommands::ActivityCancellationType::strings | ::Integer | ::Float)?,
|
|
378
|
+
do_not_eagerly_execute: bool?,
|
|
379
|
+
"do_not_eagerly_execute" => bool?,
|
|
380
|
+
versioning_intent: (::Temporalio::Internal::Bridge::Api::Common::VersioningIntent::names | ::Temporalio::Internal::Bridge::Api::Common::VersioningIntent::strings | ::Integer | ::Float)?,
|
|
381
|
+
"versioning_intent" => (::Temporalio::Internal::Bridge::Api::Common::VersioningIntent::names | ::Temporalio::Internal::Bridge::Api::Common::VersioningIntent::strings | ::Integer | ::Float)?,
|
|
382
|
+
priority: (::Temporalio::Api::Common::V1::Priority | ::Temporalio::Api::Common::V1::Priority::init_map)?,
|
|
383
|
+
"priority" => (::Temporalio::Api::Common::V1::Priority | ::Temporalio::Api::Common::V1::Priority::init_map)?,
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
def initialize: (?init_map initial_value) -> void
|
|
387
|
+
|
|
388
|
+
def []:
|
|
389
|
+
("seq" name) -> ::Integer
|
|
390
|
+
| ("activity_id" name) -> ::String
|
|
391
|
+
| ("activity_type" name) -> ::String
|
|
392
|
+
| ("task_queue" name) -> ::String
|
|
393
|
+
| ("headers" name) -> (::Google::Protobuf::Map[::String, ::Temporalio::Api::Common::V1::Payload])
|
|
394
|
+
| ("arguments" name) -> ::Google::Protobuf::RepeatedField
|
|
395
|
+
| ("schedule_to_close_timeout" name) -> ::Google::Protobuf::Duration?
|
|
396
|
+
| ("schedule_to_start_timeout" name) -> ::Google::Protobuf::Duration?
|
|
397
|
+
| ("start_to_close_timeout" name) -> ::Google::Protobuf::Duration?
|
|
398
|
+
| ("heartbeat_timeout" name) -> ::Google::Protobuf::Duration?
|
|
399
|
+
| ("retry_policy" name) -> ::Temporalio::Api::Common::V1::RetryPolicy?
|
|
400
|
+
| ("cancellation_type" name) -> (::Temporalio::Internal::Bridge::Api::WorkflowCommands::ActivityCancellationType::names | ::Integer)
|
|
401
|
+
| ("do_not_eagerly_execute" name) -> bool
|
|
402
|
+
| ("versioning_intent" name) -> (::Temporalio::Internal::Bridge::Api::Common::VersioningIntent::names | ::Integer)
|
|
403
|
+
| ("priority" name) -> ::Temporalio::Api::Common::V1::Priority?
|
|
404
|
+
|
|
405
|
+
def []=:
|
|
406
|
+
("seq" name, (::Integer | ::Float) value) -> void
|
|
407
|
+
| ("activity_id" name, (::String | ::Symbol) value) -> void
|
|
408
|
+
| ("activity_type" name, (::String | ::Symbol) value) -> void
|
|
409
|
+
| ("task_queue" name, (::String | ::Symbol) value) -> void
|
|
410
|
+
| ("headers" name, (::Google::Protobuf::Map[::String, ::Temporalio::Api::Common::V1::Payload]) value) -> void
|
|
411
|
+
| ("arguments" name, ::Google::Protobuf::RepeatedField value) -> void
|
|
412
|
+
| ("schedule_to_close_timeout" name, ((::Google::Protobuf::Duration | ::int)?) value) -> void
|
|
413
|
+
| ("schedule_to_start_timeout" name, ((::Google::Protobuf::Duration | ::int)?) value) -> void
|
|
414
|
+
| ("start_to_close_timeout" name, ((::Google::Protobuf::Duration | ::int)?) value) -> void
|
|
415
|
+
| ("heartbeat_timeout" name, ((::Google::Protobuf::Duration | ::int)?) value) -> void
|
|
416
|
+
| ("retry_policy" name, ::Temporalio::Api::Common::V1::RetryPolicy? value) -> void
|
|
417
|
+
| ("cancellation_type" name, (::Temporalio::Internal::Bridge::Api::WorkflowCommands::ActivityCancellationType::names | ::Temporalio::Internal::Bridge::Api::WorkflowCommands::ActivityCancellationType::strings | ::Integer | ::Float) value) -> void
|
|
418
|
+
| ("do_not_eagerly_execute" name, bool value) -> void
|
|
419
|
+
| ("versioning_intent" name, (::Temporalio::Internal::Bridge::Api::Common::VersioningIntent::names | ::Temporalio::Internal::Bridge::Api::Common::VersioningIntent::strings | ::Integer | ::Float) value) -> void
|
|
420
|
+
| ("priority" name, ::Temporalio::Api::Common::V1::Priority? value) -> void
|
|
421
|
+
end
|
|
422
|
+
|
|
423
|
+
class ScheduleLocalActivity < ::Google::Protobuf::AbstractMessage
|
|
424
|
+
|
|
425
|
+
# Lang's incremental sequence number, used as the operation identifier
|
|
426
|
+
attr_reader seq(): ::Integer
|
|
427
|
+
attr_writer seq(): ::Integer | ::Float
|
|
428
|
+
def clear_seq: () -> void
|
|
429
|
+
|
|
430
|
+
attr_reader activity_id(): ::String
|
|
431
|
+
attr_writer activity_id(): ::String | ::Symbol
|
|
432
|
+
def clear_activity_id: () -> void
|
|
433
|
+
|
|
434
|
+
attr_reader activity_type(): ::String
|
|
435
|
+
attr_writer activity_type(): ::String | ::Symbol
|
|
436
|
+
def clear_activity_type: () -> void
|
|
437
|
+
|
|
438
|
+
# Local activities can start with a non-1 attempt, if lang has been told to backoff using
|
|
439
|
+
# a timer before retrying. It should pass the attempt number from a `DoBackoff` activity
|
|
440
|
+
# resolution.
|
|
441
|
+
attr_reader attempt(): ::Integer
|
|
442
|
+
attr_writer attempt(): ::Integer | ::Float
|
|
443
|
+
def clear_attempt: () -> void
|
|
444
|
+
|
|
445
|
+
# If this local activity is a retry (as per the attempt field) this needs to be the original
|
|
446
|
+
# scheduling time (as provided in `DoBackoff`)
|
|
447
|
+
attr_reader original_schedule_time(): ::Google::Protobuf::Timestamp?
|
|
448
|
+
attr_writer original_schedule_time(): (::Google::Protobuf::Timestamp | ::Time)?
|
|
449
|
+
def has_original_schedule_time?: () -> bool
|
|
450
|
+
def clear_original_schedule_time: () -> void
|
|
451
|
+
|
|
452
|
+
attr_accessor headers(): ::Google::Protobuf::Map[::String, ::Temporalio::Api::Common::V1::Payload]
|
|
453
|
+
def clear_headers: () -> void
|
|
454
|
+
|
|
455
|
+
# Arguments/input to the activity.
|
|
456
|
+
attr_accessor arguments(): ::Google::Protobuf::RepeatedField
|
|
457
|
+
def clear_arguments: () -> void
|
|
458
|
+
|
|
459
|
+
# Indicates how long the caller is willing to wait for local activity completion. Limits how
|
|
460
|
+
# long retries will be attempted. When not specified defaults to the workflow execution
|
|
461
|
+
# timeout (which may be unset).
|
|
462
|
+
attr_reader schedule_to_close_timeout(): ::Google::Protobuf::Duration?
|
|
463
|
+
attr_writer schedule_to_close_timeout(): (::Google::Protobuf::Duration | ::int)?
|
|
464
|
+
def has_schedule_to_close_timeout?: () -> bool
|
|
465
|
+
def clear_schedule_to_close_timeout: () -> void
|
|
466
|
+
|
|
467
|
+
# Limits time the local activity can idle internally before being executed. That can happen if
|
|
468
|
+
# the worker is currently at max concurrent local activity executions. This timeout is always
|
|
469
|
+
# non retryable as all a retry would achieve is to put it back into the same queue. Defaults
|
|
470
|
+
# to `schedule_to_close_timeout` if not specified and that is set. Must be <=
|
|
471
|
+
# `schedule_to_close_timeout` when set, otherwise, it will be clamped down.
|
|
472
|
+
attr_reader schedule_to_start_timeout(): ::Google::Protobuf::Duration?
|
|
473
|
+
attr_writer schedule_to_start_timeout(): (::Google::Protobuf::Duration | ::int)?
|
|
474
|
+
def has_schedule_to_start_timeout?: () -> bool
|
|
475
|
+
def clear_schedule_to_start_timeout: () -> void
|
|
476
|
+
|
|
477
|
+
# Maximum time the local activity is allowed to execute after the task is dispatched. This
|
|
478
|
+
# timeout is always retryable. Either or both of `schedule_to_close_timeout` and this must be
|
|
479
|
+
# specified. If set, this must be <= `schedule_to_close_timeout`, otherwise, it will be
|
|
480
|
+
# clamped down.
|
|
481
|
+
attr_reader start_to_close_timeout(): ::Google::Protobuf::Duration?
|
|
482
|
+
attr_writer start_to_close_timeout(): (::Google::Protobuf::Duration | ::int)?
|
|
483
|
+
def has_start_to_close_timeout?: () -> bool
|
|
484
|
+
def clear_start_to_close_timeout: () -> void
|
|
485
|
+
|
|
486
|
+
# Specify a retry policy for the local activity. By default local activities will be retried
|
|
487
|
+
# indefinitely.
|
|
488
|
+
attr_accessor retry_policy(): ::Temporalio::Api::Common::V1::RetryPolicy?
|
|
489
|
+
def has_retry_policy?: () -> bool
|
|
490
|
+
def clear_retry_policy: () -> void
|
|
491
|
+
|
|
492
|
+
# If the activity is retrying and backoff would exceed this value, lang will be told to
|
|
493
|
+
# schedule a timer and retry the activity after. Otherwise, backoff will happen internally in
|
|
494
|
+
# core. Defaults to 1 minute.
|
|
495
|
+
attr_reader local_retry_threshold(): ::Google::Protobuf::Duration?
|
|
496
|
+
attr_writer local_retry_threshold(): (::Google::Protobuf::Duration | ::int)?
|
|
497
|
+
def has_local_retry_threshold?: () -> bool
|
|
498
|
+
def clear_local_retry_threshold: () -> void
|
|
499
|
+
|
|
500
|
+
# Defines how the workflow will wait (or not) for cancellation of the activity to be
|
|
501
|
+
# confirmed. Lang should default this to `WAIT_CANCELLATION_COMPLETED`, even though proto
|
|
502
|
+
# will default to `TRY_CANCEL` automatically.
|
|
503
|
+
attr_reader cancellation_type(): ::Temporalio::Internal::Bridge::Api::WorkflowCommands::ActivityCancellationType::names | ::Integer
|
|
504
|
+
attr_writer cancellation_type(): ::Temporalio::Internal::Bridge::Api::WorkflowCommands::ActivityCancellationType::names | ::Temporalio::Internal::Bridge::Api::WorkflowCommands::ActivityCancellationType::strings | ::Integer | ::Float
|
|
505
|
+
attr_reader cancellation_type_const(): ::Integer
|
|
506
|
+
def clear_cancellation_type: () -> void
|
|
507
|
+
|
|
508
|
+
type init_map = {
|
|
509
|
+
seq: (::Integer | ::Float)?,
|
|
510
|
+
"seq" => (::Integer | ::Float)?,
|
|
511
|
+
activity_id: (::String | ::Symbol)?,
|
|
512
|
+
"activity_id" => (::String | ::Symbol)?,
|
|
513
|
+
activity_type: (::String | ::Symbol)?,
|
|
514
|
+
"activity_type" => (::String | ::Symbol)?,
|
|
515
|
+
attempt: (::Integer | ::Float)?,
|
|
516
|
+
"attempt" => (::Integer | ::Float)?,
|
|
517
|
+
original_schedule_time: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
518
|
+
"original_schedule_time" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
519
|
+
headers: ::Hash[::String | ::Symbol, ::Temporalio::Api::Common::V1::Payload]?,
|
|
520
|
+
"headers" => ::Hash[::String | ::Symbol, ::Temporalio::Api::Common::V1::Payload]?,
|
|
521
|
+
arguments: ::Array[::Temporalio::Api::Common::V1::Payload]?,
|
|
522
|
+
"arguments" => ::Array[::Temporalio::Api::Common::V1::Payload]?,
|
|
523
|
+
schedule_to_close_timeout: (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?,
|
|
524
|
+
"schedule_to_close_timeout" => (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?,
|
|
525
|
+
schedule_to_start_timeout: (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?,
|
|
526
|
+
"schedule_to_start_timeout" => (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?,
|
|
527
|
+
start_to_close_timeout: (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?,
|
|
528
|
+
"start_to_close_timeout" => (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?,
|
|
529
|
+
retry_policy: (::Temporalio::Api::Common::V1::RetryPolicy | ::Temporalio::Api::Common::V1::RetryPolicy::init_map)?,
|
|
530
|
+
"retry_policy" => (::Temporalio::Api::Common::V1::RetryPolicy | ::Temporalio::Api::Common::V1::RetryPolicy::init_map)?,
|
|
531
|
+
local_retry_threshold: (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?,
|
|
532
|
+
"local_retry_threshold" => (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?,
|
|
533
|
+
cancellation_type: (::Temporalio::Internal::Bridge::Api::WorkflowCommands::ActivityCancellationType::names | ::Temporalio::Internal::Bridge::Api::WorkflowCommands::ActivityCancellationType::strings | ::Integer | ::Float)?,
|
|
534
|
+
"cancellation_type" => (::Temporalio::Internal::Bridge::Api::WorkflowCommands::ActivityCancellationType::names | ::Temporalio::Internal::Bridge::Api::WorkflowCommands::ActivityCancellationType::strings | ::Integer | ::Float)?,
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
def initialize: (?init_map initial_value) -> void
|
|
538
|
+
|
|
539
|
+
def []:
|
|
540
|
+
("seq" name) -> ::Integer
|
|
541
|
+
| ("activity_id" name) -> ::String
|
|
542
|
+
| ("activity_type" name) -> ::String
|
|
543
|
+
| ("attempt" name) -> ::Integer
|
|
544
|
+
| ("original_schedule_time" name) -> ::Google::Protobuf::Timestamp?
|
|
545
|
+
| ("headers" name) -> (::Google::Protobuf::Map[::String, ::Temporalio::Api::Common::V1::Payload])
|
|
546
|
+
| ("arguments" name) -> ::Google::Protobuf::RepeatedField
|
|
547
|
+
| ("schedule_to_close_timeout" name) -> ::Google::Protobuf::Duration?
|
|
548
|
+
| ("schedule_to_start_timeout" name) -> ::Google::Protobuf::Duration?
|
|
549
|
+
| ("start_to_close_timeout" name) -> ::Google::Protobuf::Duration?
|
|
550
|
+
| ("retry_policy" name) -> ::Temporalio::Api::Common::V1::RetryPolicy?
|
|
551
|
+
| ("local_retry_threshold" name) -> ::Google::Protobuf::Duration?
|
|
552
|
+
| ("cancellation_type" name) -> (::Temporalio::Internal::Bridge::Api::WorkflowCommands::ActivityCancellationType::names | ::Integer)
|
|
553
|
+
|
|
554
|
+
def []=:
|
|
555
|
+
("seq" name, (::Integer | ::Float) value) -> void
|
|
556
|
+
| ("activity_id" name, (::String | ::Symbol) value) -> void
|
|
557
|
+
| ("activity_type" name, (::String | ::Symbol) value) -> void
|
|
558
|
+
| ("attempt" name, (::Integer | ::Float) value) -> void
|
|
559
|
+
| ("original_schedule_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void
|
|
560
|
+
| ("headers" name, (::Google::Protobuf::Map[::String, ::Temporalio::Api::Common::V1::Payload]) value) -> void
|
|
561
|
+
| ("arguments" name, ::Google::Protobuf::RepeatedField value) -> void
|
|
562
|
+
| ("schedule_to_close_timeout" name, ((::Google::Protobuf::Duration | ::int)?) value) -> void
|
|
563
|
+
| ("schedule_to_start_timeout" name, ((::Google::Protobuf::Duration | ::int)?) value) -> void
|
|
564
|
+
| ("start_to_close_timeout" name, ((::Google::Protobuf::Duration | ::int)?) value) -> void
|
|
565
|
+
| ("retry_policy" name, ::Temporalio::Api::Common::V1::RetryPolicy? value) -> void
|
|
566
|
+
| ("local_retry_threshold" name, ((::Google::Protobuf::Duration | ::int)?) value) -> void
|
|
567
|
+
| ("cancellation_type" name, (::Temporalio::Internal::Bridge::Api::WorkflowCommands::ActivityCancellationType::names | ::Temporalio::Internal::Bridge::Api::WorkflowCommands::ActivityCancellationType::strings | ::Integer | ::Float) value) -> void
|
|
568
|
+
end
|
|
569
|
+
|
|
570
|
+
class RequestCancelActivity < ::Google::Protobuf::AbstractMessage
|
|
571
|
+
|
|
572
|
+
# Lang's incremental sequence number as passed to `ScheduleActivity`
|
|
573
|
+
attr_reader seq(): ::Integer
|
|
574
|
+
attr_writer seq(): ::Integer | ::Float
|
|
575
|
+
def clear_seq: () -> void
|
|
576
|
+
|
|
577
|
+
type init_map = {
|
|
578
|
+
seq: (::Integer | ::Float)?,
|
|
579
|
+
"seq" => (::Integer | ::Float)?,
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
def initialize: (?init_map initial_value) -> void
|
|
583
|
+
|
|
584
|
+
def []:
|
|
585
|
+
("seq" name) -> ::Integer
|
|
586
|
+
|
|
587
|
+
def []=:
|
|
588
|
+
("seq" name, (::Integer | ::Float) value) -> void
|
|
589
|
+
end
|
|
590
|
+
|
|
591
|
+
class RequestCancelLocalActivity < ::Google::Protobuf::AbstractMessage
|
|
592
|
+
|
|
593
|
+
# Lang's incremental sequence number as passed to `ScheduleLocalActivity`
|
|
594
|
+
attr_reader seq(): ::Integer
|
|
595
|
+
attr_writer seq(): ::Integer | ::Float
|
|
596
|
+
def clear_seq: () -> void
|
|
597
|
+
|
|
598
|
+
type init_map = {
|
|
599
|
+
seq: (::Integer | ::Float)?,
|
|
600
|
+
"seq" => (::Integer | ::Float)?,
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
def initialize: (?init_map initial_value) -> void
|
|
604
|
+
|
|
605
|
+
def []:
|
|
606
|
+
("seq" name) -> ::Integer
|
|
607
|
+
|
|
608
|
+
def []=:
|
|
609
|
+
("seq" name, (::Integer | ::Float) value) -> void
|
|
610
|
+
end
|
|
611
|
+
|
|
612
|
+
class QueryResult < ::Google::Protobuf::AbstractMessage
|
|
613
|
+
|
|
614
|
+
# Corresponds to the id provided in the activation job
|
|
615
|
+
attr_reader query_id(): ::String
|
|
616
|
+
attr_writer query_id(): ::String | ::Symbol
|
|
617
|
+
def clear_query_id: () -> void
|
|
618
|
+
|
|
619
|
+
attr_accessor succeeded(): ::Temporalio::Internal::Bridge::Api::WorkflowCommands::QuerySuccess?
|
|
620
|
+
def has_succeeded?: () -> bool
|
|
621
|
+
def clear_succeeded: () -> void
|
|
622
|
+
|
|
623
|
+
attr_accessor failed(): ::Temporalio::Api::Failure::V1::Failure?
|
|
624
|
+
def has_failed?: () -> bool
|
|
625
|
+
def clear_failed: () -> void
|
|
626
|
+
|
|
627
|
+
attr_reader variant(): (::Temporalio::Internal::Bridge::Api::WorkflowCommands::QuerySuccess | ::Temporalio::Api::Failure::V1::Failure)?
|
|
628
|
+
def has_variant?: () -> bool
|
|
629
|
+
def clear_variant: () -> void
|
|
630
|
+
|
|
631
|
+
type init_map = {
|
|
632
|
+
query_id: (::String | ::Symbol)?,
|
|
633
|
+
"query_id" => (::String | ::Symbol)?,
|
|
634
|
+
succeeded: (::Temporalio::Internal::Bridge::Api::WorkflowCommands::QuerySuccess | ::Temporalio::Internal::Bridge::Api::WorkflowCommands::QuerySuccess::init_map)?,
|
|
635
|
+
"succeeded" => (::Temporalio::Internal::Bridge::Api::WorkflowCommands::QuerySuccess | ::Temporalio::Internal::Bridge::Api::WorkflowCommands::QuerySuccess::init_map)?,
|
|
636
|
+
failed: (::Temporalio::Api::Failure::V1::Failure | ::Temporalio::Api::Failure::V1::Failure::init_map)?,
|
|
637
|
+
"failed" => (::Temporalio::Api::Failure::V1::Failure | ::Temporalio::Api::Failure::V1::Failure::init_map)?,
|
|
638
|
+
}
|
|
639
|
+
|
|
640
|
+
def initialize: (?init_map initial_value) -> void
|
|
641
|
+
|
|
642
|
+
def []:
|
|
643
|
+
("query_id" name) -> ::String
|
|
644
|
+
| ("succeeded" name) -> ::Temporalio::Internal::Bridge::Api::WorkflowCommands::QuerySuccess?
|
|
645
|
+
| ("failed" name) -> ::Temporalio::Api::Failure::V1::Failure?
|
|
646
|
+
|
|
647
|
+
def []=:
|
|
648
|
+
("query_id" name, (::String | ::Symbol) value) -> void
|
|
649
|
+
| ("succeeded" name, ::Temporalio::Internal::Bridge::Api::WorkflowCommands::QuerySuccess? value) -> void
|
|
650
|
+
| ("failed" name, ::Temporalio::Api::Failure::V1::Failure? value) -> void
|
|
651
|
+
end
|
|
652
|
+
|
|
653
|
+
class QuerySuccess < ::Google::Protobuf::AbstractMessage
|
|
654
|
+
|
|
655
|
+
attr_accessor response(): ::Temporalio::Api::Common::V1::Payload?
|
|
656
|
+
def has_response?: () -> bool
|
|
657
|
+
def clear_response: () -> void
|
|
658
|
+
|
|
659
|
+
type init_map = {
|
|
660
|
+
response: (::Temporalio::Api::Common::V1::Payload | ::Temporalio::Api::Common::V1::Payload::init_map)?,
|
|
661
|
+
"response" => (::Temporalio::Api::Common::V1::Payload | ::Temporalio::Api::Common::V1::Payload::init_map)?,
|
|
662
|
+
}
|
|
663
|
+
|
|
664
|
+
def initialize: (?init_map initial_value) -> void
|
|
665
|
+
|
|
666
|
+
def []:
|
|
667
|
+
("response" name) -> ::Temporalio::Api::Common::V1::Payload?
|
|
668
|
+
|
|
669
|
+
def []=:
|
|
670
|
+
("response" name, ::Temporalio::Api::Common::V1::Payload? value) -> void
|
|
671
|
+
end
|
|
672
|
+
|
|
673
|
+
# Issued when the workflow completes successfully
|
|
674
|
+
class CompleteWorkflowExecution < ::Google::Protobuf::AbstractMessage
|
|
675
|
+
|
|
676
|
+
attr_accessor result(): ::Temporalio::Api::Common::V1::Payload?
|
|
677
|
+
def has_result?: () -> bool
|
|
678
|
+
def clear_result: () -> void
|
|
679
|
+
|
|
680
|
+
type init_map = {
|
|
681
|
+
result: (::Temporalio::Api::Common::V1::Payload | ::Temporalio::Api::Common::V1::Payload::init_map)?,
|
|
682
|
+
"result" => (::Temporalio::Api::Common::V1::Payload | ::Temporalio::Api::Common::V1::Payload::init_map)?,
|
|
683
|
+
}
|
|
684
|
+
|
|
685
|
+
def initialize: (?init_map initial_value) -> void
|
|
686
|
+
|
|
687
|
+
def []:
|
|
688
|
+
("result" name) -> ::Temporalio::Api::Common::V1::Payload?
|
|
689
|
+
|
|
690
|
+
def []=:
|
|
691
|
+
("result" name, ::Temporalio::Api::Common::V1::Payload? value) -> void
|
|
692
|
+
end
|
|
693
|
+
|
|
694
|
+
# Issued when the workflow errors out
|
|
695
|
+
class FailWorkflowExecution < ::Google::Protobuf::AbstractMessage
|
|
696
|
+
|
|
697
|
+
attr_accessor failure(): ::Temporalio::Api::Failure::V1::Failure?
|
|
698
|
+
def has_failure?: () -> bool
|
|
699
|
+
def clear_failure: () -> void
|
|
700
|
+
|
|
701
|
+
type init_map = {
|
|
702
|
+
failure: (::Temporalio::Api::Failure::V1::Failure | ::Temporalio::Api::Failure::V1::Failure::init_map)?,
|
|
703
|
+
"failure" => (::Temporalio::Api::Failure::V1::Failure | ::Temporalio::Api::Failure::V1::Failure::init_map)?,
|
|
704
|
+
}
|
|
705
|
+
|
|
706
|
+
def initialize: (?init_map initial_value) -> void
|
|
707
|
+
|
|
708
|
+
def []:
|
|
709
|
+
("failure" name) -> ::Temporalio::Api::Failure::V1::Failure?
|
|
710
|
+
|
|
711
|
+
def []=:
|
|
712
|
+
("failure" name, ::Temporalio::Api::Failure::V1::Failure? value) -> void
|
|
713
|
+
end
|
|
714
|
+
|
|
715
|
+
# Continue the workflow as a new execution
|
|
716
|
+
class ContinueAsNewWorkflowExecution < ::Google::Protobuf::AbstractMessage
|
|
717
|
+
|
|
718
|
+
# The identifier the lang-specific sdk uses to execute workflow code
|
|
719
|
+
attr_reader workflow_type(): ::String
|
|
720
|
+
attr_writer workflow_type(): ::String | ::Symbol
|
|
721
|
+
def clear_workflow_type: () -> void
|
|
722
|
+
|
|
723
|
+
# Task queue for the new workflow execution
|
|
724
|
+
attr_reader task_queue(): ::String
|
|
725
|
+
attr_writer task_queue(): ::String | ::Symbol
|
|
726
|
+
def clear_task_queue: () -> void
|
|
727
|
+
|
|
728
|
+
# Inputs to the workflow code. Should be specified. Will not re-use old arguments, as that
|
|
729
|
+
# typically wouldn't make any sense.
|
|
730
|
+
attr_accessor arguments(): ::Google::Protobuf::RepeatedField
|
|
731
|
+
def clear_arguments: () -> void
|
|
732
|
+
|
|
733
|
+
# Timeout for a single run of the new workflow. Will not re-use current workflow's value.
|
|
734
|
+
attr_reader workflow_run_timeout(): ::Google::Protobuf::Duration?
|
|
735
|
+
attr_writer workflow_run_timeout(): (::Google::Protobuf::Duration | ::int)?
|
|
736
|
+
def has_workflow_run_timeout?: () -> bool
|
|
737
|
+
def clear_workflow_run_timeout: () -> void
|
|
738
|
+
|
|
739
|
+
# Timeout of a single workflow task. Will not re-use current workflow's value.
|
|
740
|
+
attr_reader workflow_task_timeout(): ::Google::Protobuf::Duration?
|
|
741
|
+
attr_writer workflow_task_timeout(): (::Google::Protobuf::Duration | ::int)?
|
|
742
|
+
def has_workflow_task_timeout?: () -> bool
|
|
743
|
+
def clear_workflow_task_timeout: () -> void
|
|
744
|
+
|
|
745
|
+
# If set, the new workflow will have this memo. If unset, re-uses the current workflow's memo
|
|
746
|
+
attr_accessor memo(): ::Google::Protobuf::Map[::String, ::Temporalio::Api::Common::V1::Payload]
|
|
747
|
+
def clear_memo: () -> void
|
|
748
|
+
|
|
749
|
+
# If set, the new workflow will have these headers. Will *not* re-use current workflow's
|
|
750
|
+
# headers otherwise.
|
|
751
|
+
attr_accessor headers(): ::Google::Protobuf::Map[::String, ::Temporalio::Api::Common::V1::Payload]
|
|
752
|
+
def clear_headers: () -> void
|
|
753
|
+
|
|
754
|
+
# If set, the new workflow will have these search attributes. If unset, re-uses the current
|
|
755
|
+
# workflow's search attributes.
|
|
756
|
+
attr_accessor search_attributes(): ::Temporalio::Api::Common::V1::SearchAttributes?
|
|
757
|
+
def has_search_attributes?: () -> bool
|
|
758
|
+
def clear_search_attributes: () -> void
|
|
759
|
+
|
|
760
|
+
# If set, the new workflow will have this retry policy. If unset, re-uses the current
|
|
761
|
+
# workflow's retry policy.
|
|
762
|
+
attr_accessor retry_policy(): ::Temporalio::Api::Common::V1::RetryPolicy?
|
|
763
|
+
def has_retry_policy?: () -> bool
|
|
764
|
+
def clear_retry_policy: () -> void
|
|
765
|
+
|
|
766
|
+
# Whether the continued workflow should run on a worker with a compatible build id or not.
|
|
767
|
+
attr_reader versioning_intent(): ::Temporalio::Internal::Bridge::Api::Common::VersioningIntent::names | ::Integer
|
|
768
|
+
attr_writer versioning_intent(): ::Temporalio::Internal::Bridge::Api::Common::VersioningIntent::names | ::Temporalio::Internal::Bridge::Api::Common::VersioningIntent::strings | ::Integer | ::Float
|
|
769
|
+
attr_reader versioning_intent_const(): ::Integer
|
|
770
|
+
def clear_versioning_intent: () -> void
|
|
771
|
+
|
|
772
|
+
# Experimental. Optionally decide the versioning behavior that the first task of the new run should use.
|
|
773
|
+
# For example, choose to AutoUpgrade on continue-as-new instead of inheriting the pinned version
|
|
774
|
+
# of the previous run.
|
|
775
|
+
attr_reader initial_versioning_behavior(): ::Temporalio::Api::Enums::V1::ContinueAsNewVersioningBehavior::names | ::Integer
|
|
776
|
+
attr_writer initial_versioning_behavior(): ::Temporalio::Api::Enums::V1::ContinueAsNewVersioningBehavior::names | ::Temporalio::Api::Enums::V1::ContinueAsNewVersioningBehavior::strings | ::Integer | ::Float
|
|
777
|
+
attr_reader initial_versioning_behavior_const(): ::Integer
|
|
778
|
+
def clear_initial_versioning_behavior: () -> void
|
|
779
|
+
|
|
780
|
+
# Delay before the first workflow task of the continued run is scheduled.
|
|
781
|
+
attr_reader backoff_start_interval(): ::Google::Protobuf::Duration?
|
|
782
|
+
attr_writer backoff_start_interval(): (::Google::Protobuf::Duration | ::int)?
|
|
783
|
+
def has_backoff_start_interval?: () -> bool
|
|
784
|
+
def clear_backoff_start_interval: () -> void
|
|
785
|
+
|
|
786
|
+
type init_map = {
|
|
787
|
+
workflow_type: (::String | ::Symbol)?,
|
|
788
|
+
"workflow_type" => (::String | ::Symbol)?,
|
|
789
|
+
task_queue: (::String | ::Symbol)?,
|
|
790
|
+
"task_queue" => (::String | ::Symbol)?,
|
|
791
|
+
arguments: ::Array[::Temporalio::Api::Common::V1::Payload]?,
|
|
792
|
+
"arguments" => ::Array[::Temporalio::Api::Common::V1::Payload]?,
|
|
793
|
+
workflow_run_timeout: (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?,
|
|
794
|
+
"workflow_run_timeout" => (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?,
|
|
795
|
+
workflow_task_timeout: (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?,
|
|
796
|
+
"workflow_task_timeout" => (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?,
|
|
797
|
+
memo: ::Hash[::String | ::Symbol, ::Temporalio::Api::Common::V1::Payload]?,
|
|
798
|
+
"memo" => ::Hash[::String | ::Symbol, ::Temporalio::Api::Common::V1::Payload]?,
|
|
799
|
+
headers: ::Hash[::String | ::Symbol, ::Temporalio::Api::Common::V1::Payload]?,
|
|
800
|
+
"headers" => ::Hash[::String | ::Symbol, ::Temporalio::Api::Common::V1::Payload]?,
|
|
801
|
+
search_attributes: (::Temporalio::Api::Common::V1::SearchAttributes | ::Temporalio::Api::Common::V1::SearchAttributes::init_map)?,
|
|
802
|
+
"search_attributes" => (::Temporalio::Api::Common::V1::SearchAttributes | ::Temporalio::Api::Common::V1::SearchAttributes::init_map)?,
|
|
803
|
+
retry_policy: (::Temporalio::Api::Common::V1::RetryPolicy | ::Temporalio::Api::Common::V1::RetryPolicy::init_map)?,
|
|
804
|
+
"retry_policy" => (::Temporalio::Api::Common::V1::RetryPolicy | ::Temporalio::Api::Common::V1::RetryPolicy::init_map)?,
|
|
805
|
+
versioning_intent: (::Temporalio::Internal::Bridge::Api::Common::VersioningIntent::names | ::Temporalio::Internal::Bridge::Api::Common::VersioningIntent::strings | ::Integer | ::Float)?,
|
|
806
|
+
"versioning_intent" => (::Temporalio::Internal::Bridge::Api::Common::VersioningIntent::names | ::Temporalio::Internal::Bridge::Api::Common::VersioningIntent::strings | ::Integer | ::Float)?,
|
|
807
|
+
initial_versioning_behavior: (::Temporalio::Api::Enums::V1::ContinueAsNewVersioningBehavior::names | ::Temporalio::Api::Enums::V1::ContinueAsNewVersioningBehavior::strings | ::Integer | ::Float)?,
|
|
808
|
+
"initial_versioning_behavior" => (::Temporalio::Api::Enums::V1::ContinueAsNewVersioningBehavior::names | ::Temporalio::Api::Enums::V1::ContinueAsNewVersioningBehavior::strings | ::Integer | ::Float)?,
|
|
809
|
+
backoff_start_interval: (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?,
|
|
810
|
+
"backoff_start_interval" => (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?,
|
|
811
|
+
}
|
|
812
|
+
|
|
813
|
+
def initialize: (?init_map initial_value) -> void
|
|
814
|
+
|
|
815
|
+
def []:
|
|
816
|
+
("workflow_type" name) -> ::String
|
|
817
|
+
| ("task_queue" name) -> ::String
|
|
818
|
+
| ("arguments" name) -> ::Google::Protobuf::RepeatedField
|
|
819
|
+
| ("workflow_run_timeout" name) -> ::Google::Protobuf::Duration?
|
|
820
|
+
| ("workflow_task_timeout" name) -> ::Google::Protobuf::Duration?
|
|
821
|
+
| ("memo" name) -> (::Google::Protobuf::Map[::String, ::Temporalio::Api::Common::V1::Payload])
|
|
822
|
+
| ("headers" name) -> (::Google::Protobuf::Map[::String, ::Temporalio::Api::Common::V1::Payload])
|
|
823
|
+
| ("search_attributes" name) -> ::Temporalio::Api::Common::V1::SearchAttributes?
|
|
824
|
+
| ("retry_policy" name) -> ::Temporalio::Api::Common::V1::RetryPolicy?
|
|
825
|
+
| ("versioning_intent" name) -> (::Temporalio::Internal::Bridge::Api::Common::VersioningIntent::names | ::Integer)
|
|
826
|
+
| ("initial_versioning_behavior" name) -> (::Temporalio::Api::Enums::V1::ContinueAsNewVersioningBehavior::names | ::Integer)
|
|
827
|
+
| ("backoff_start_interval" name) -> ::Google::Protobuf::Duration?
|
|
828
|
+
|
|
829
|
+
def []=:
|
|
830
|
+
("workflow_type" name, (::String | ::Symbol) value) -> void
|
|
831
|
+
| ("task_queue" name, (::String | ::Symbol) value) -> void
|
|
832
|
+
| ("arguments" name, ::Google::Protobuf::RepeatedField value) -> void
|
|
833
|
+
| ("workflow_run_timeout" name, ((::Google::Protobuf::Duration | ::int)?) value) -> void
|
|
834
|
+
| ("workflow_task_timeout" name, ((::Google::Protobuf::Duration | ::int)?) value) -> void
|
|
835
|
+
| ("memo" name, (::Google::Protobuf::Map[::String, ::Temporalio::Api::Common::V1::Payload]) value) -> void
|
|
836
|
+
| ("headers" name, (::Google::Protobuf::Map[::String, ::Temporalio::Api::Common::V1::Payload]) value) -> void
|
|
837
|
+
| ("search_attributes" name, ::Temporalio::Api::Common::V1::SearchAttributes? value) -> void
|
|
838
|
+
| ("retry_policy" name, ::Temporalio::Api::Common::V1::RetryPolicy? value) -> void
|
|
839
|
+
| ("versioning_intent" name, (::Temporalio::Internal::Bridge::Api::Common::VersioningIntent::names | ::Temporalio::Internal::Bridge::Api::Common::VersioningIntent::strings | ::Integer | ::Float) value) -> void
|
|
840
|
+
| ("initial_versioning_behavior" name, (::Temporalio::Api::Enums::V1::ContinueAsNewVersioningBehavior::names | ::Temporalio::Api::Enums::V1::ContinueAsNewVersioningBehavior::strings | ::Integer | ::Float) value) -> void
|
|
841
|
+
| ("backoff_start_interval" name, ((::Google::Protobuf::Duration | ::int)?) value) -> void
|
|
842
|
+
end
|
|
843
|
+
|
|
844
|
+
# Indicate a workflow has completed as cancelled. Generally sent as a response to an activation
|
|
845
|
+
# containing a cancellation job.
|
|
846
|
+
class CancelWorkflowExecution < ::Google::Protobuf::AbstractMessage
|
|
847
|
+
|
|
848
|
+
type init_map = {
|
|
849
|
+
}
|
|
850
|
+
|
|
851
|
+
def initialize: (?init_map initial_value) -> void
|
|
852
|
+
end
|
|
853
|
+
|
|
854
|
+
# A request to set/check if a certain patch is present or not
|
|
855
|
+
class SetPatchMarker < ::Google::Protobuf::AbstractMessage
|
|
856
|
+
|
|
857
|
+
# A user-chosen identifier for this patch. If the same identifier is used in multiple places in
|
|
858
|
+
# the code, those places are considered to be versioned as one unit. IE: The check call will
|
|
859
|
+
# return the same result for all of them
|
|
860
|
+
attr_reader patch_id(): ::String
|
|
861
|
+
attr_writer patch_id(): ::String | ::Symbol
|
|
862
|
+
def clear_patch_id: () -> void
|
|
863
|
+
|
|
864
|
+
# Can be set to true to indicate that branches using this change are being removed, and all
|
|
865
|
+
# future worker deployments will only have the "with change" code in them.
|
|
866
|
+
attr_accessor deprecated(): bool
|
|
867
|
+
def clear_deprecated: () -> void
|
|
868
|
+
|
|
869
|
+
type init_map = {
|
|
870
|
+
patch_id: (::String | ::Symbol)?,
|
|
871
|
+
"patch_id" => (::String | ::Symbol)?,
|
|
872
|
+
deprecated: bool?,
|
|
873
|
+
"deprecated" => bool?,
|
|
874
|
+
}
|
|
875
|
+
|
|
876
|
+
def initialize: (?init_map initial_value) -> void
|
|
877
|
+
|
|
878
|
+
def []:
|
|
879
|
+
("patch_id" name) -> ::String
|
|
880
|
+
| ("deprecated" name) -> bool
|
|
881
|
+
|
|
882
|
+
def []=:
|
|
883
|
+
("patch_id" name, (::String | ::Symbol) value) -> void
|
|
884
|
+
| ("deprecated" name, bool value) -> void
|
|
885
|
+
end
|
|
886
|
+
|
|
887
|
+
# Start a child workflow execution
|
|
888
|
+
class StartChildWorkflowExecution < ::Google::Protobuf::AbstractMessage
|
|
889
|
+
|
|
890
|
+
# Lang's incremental sequence number, used as the operation identifier
|
|
891
|
+
attr_reader seq(): ::Integer
|
|
892
|
+
attr_writer seq(): ::Integer | ::Float
|
|
893
|
+
def clear_seq: () -> void
|
|
894
|
+
|
|
895
|
+
attr_reader namespace(): ::String
|
|
896
|
+
attr_writer namespace(): ::String | ::Symbol
|
|
897
|
+
def clear_namespace: () -> void
|
|
898
|
+
|
|
899
|
+
attr_reader workflow_id(): ::String
|
|
900
|
+
attr_writer workflow_id(): ::String | ::Symbol
|
|
901
|
+
def clear_workflow_id: () -> void
|
|
902
|
+
|
|
903
|
+
attr_reader workflow_type(): ::String
|
|
904
|
+
attr_writer workflow_type(): ::String | ::Symbol
|
|
905
|
+
def clear_workflow_type: () -> void
|
|
906
|
+
|
|
907
|
+
attr_reader task_queue(): ::String
|
|
908
|
+
attr_writer task_queue(): ::String | ::Symbol
|
|
909
|
+
def clear_task_queue: () -> void
|
|
910
|
+
|
|
911
|
+
attr_accessor input(): ::Google::Protobuf::RepeatedField
|
|
912
|
+
def clear_input: () -> void
|
|
913
|
+
|
|
914
|
+
# Total workflow execution timeout including retries and continue as new.
|
|
915
|
+
attr_reader workflow_execution_timeout(): ::Google::Protobuf::Duration?
|
|
916
|
+
attr_writer workflow_execution_timeout(): (::Google::Protobuf::Duration | ::int)?
|
|
917
|
+
def has_workflow_execution_timeout?: () -> bool
|
|
918
|
+
def clear_workflow_execution_timeout: () -> void
|
|
919
|
+
|
|
920
|
+
# Timeout of a single workflow run.
|
|
921
|
+
attr_reader workflow_run_timeout(): ::Google::Protobuf::Duration?
|
|
922
|
+
attr_writer workflow_run_timeout(): (::Google::Protobuf::Duration | ::int)?
|
|
923
|
+
def has_workflow_run_timeout?: () -> bool
|
|
924
|
+
def clear_workflow_run_timeout: () -> void
|
|
925
|
+
|
|
926
|
+
# Timeout of a single workflow task.
|
|
927
|
+
attr_reader workflow_task_timeout(): ::Google::Protobuf::Duration?
|
|
928
|
+
attr_writer workflow_task_timeout(): (::Google::Protobuf::Duration | ::int)?
|
|
929
|
+
def has_workflow_task_timeout?: () -> bool
|
|
930
|
+
def clear_workflow_task_timeout: () -> void
|
|
931
|
+
|
|
932
|
+
# Default: PARENT_CLOSE_POLICY_TERMINATE.
|
|
933
|
+
attr_reader parent_close_policy(): ::Temporalio::Internal::Bridge::Api::ChildWorkflow::ParentClosePolicy::names | ::Integer
|
|
934
|
+
attr_writer parent_close_policy(): ::Temporalio::Internal::Bridge::Api::ChildWorkflow::ParentClosePolicy::names | ::Temporalio::Internal::Bridge::Api::ChildWorkflow::ParentClosePolicy::strings | ::Integer | ::Float
|
|
935
|
+
attr_reader parent_close_policy_const(): ::Integer
|
|
936
|
+
def clear_parent_close_policy: () -> void
|
|
937
|
+
|
|
938
|
+
# string control = 11; (unused from StartChildWorkflowExecutionCommandAttributes)
|
|
939
|
+
# Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.
|
|
940
|
+
attr_reader workflow_id_reuse_policy(): ::Temporalio::Api::Enums::V1::WorkflowIdReusePolicy::names | ::Integer
|
|
941
|
+
attr_writer workflow_id_reuse_policy(): ::Temporalio::Api::Enums::V1::WorkflowIdReusePolicy::names | ::Temporalio::Api::Enums::V1::WorkflowIdReusePolicy::strings | ::Integer | ::Float
|
|
942
|
+
attr_reader workflow_id_reuse_policy_const(): ::Integer
|
|
943
|
+
def clear_workflow_id_reuse_policy: () -> void
|
|
944
|
+
|
|
945
|
+
attr_accessor retry_policy(): ::Temporalio::Api::Common::V1::RetryPolicy?
|
|
946
|
+
def has_retry_policy?: () -> bool
|
|
947
|
+
def clear_retry_policy: () -> void
|
|
948
|
+
|
|
949
|
+
attr_reader cron_schedule(): ::String
|
|
950
|
+
attr_writer cron_schedule(): ::String | ::Symbol
|
|
951
|
+
def clear_cron_schedule: () -> void
|
|
952
|
+
|
|
953
|
+
# Header fields
|
|
954
|
+
attr_accessor headers(): ::Google::Protobuf::Map[::String, ::Temporalio::Api::Common::V1::Payload]
|
|
955
|
+
def clear_headers: () -> void
|
|
956
|
+
|
|
957
|
+
# Memo fields
|
|
958
|
+
attr_accessor memo(): ::Google::Protobuf::Map[::String, ::Temporalio::Api::Common::V1::Payload]
|
|
959
|
+
def clear_memo: () -> void
|
|
960
|
+
|
|
961
|
+
# Search attributes
|
|
962
|
+
attr_accessor search_attributes(): ::Temporalio::Api::Common::V1::SearchAttributes?
|
|
963
|
+
def has_search_attributes?: () -> bool
|
|
964
|
+
def clear_search_attributes: () -> void
|
|
965
|
+
|
|
966
|
+
# Defines behaviour of the underlying workflow when child workflow cancellation has been requested.
|
|
967
|
+
attr_reader cancellation_type(): ::Temporalio::Internal::Bridge::Api::ChildWorkflow::ChildWorkflowCancellationType::names | ::Integer
|
|
968
|
+
attr_writer cancellation_type(): ::Temporalio::Internal::Bridge::Api::ChildWorkflow::ChildWorkflowCancellationType::names | ::Temporalio::Internal::Bridge::Api::ChildWorkflow::ChildWorkflowCancellationType::strings | ::Integer | ::Float
|
|
969
|
+
attr_reader cancellation_type_const(): ::Integer
|
|
970
|
+
def clear_cancellation_type: () -> void
|
|
971
|
+
|
|
972
|
+
# Whether this child should run on a worker with a compatible build id or not.
|
|
973
|
+
attr_reader versioning_intent(): ::Temporalio::Internal::Bridge::Api::Common::VersioningIntent::names | ::Integer
|
|
974
|
+
attr_writer versioning_intent(): ::Temporalio::Internal::Bridge::Api::Common::VersioningIntent::names | ::Temporalio::Internal::Bridge::Api::Common::VersioningIntent::strings | ::Integer | ::Float
|
|
975
|
+
attr_reader versioning_intent_const(): ::Integer
|
|
976
|
+
def clear_versioning_intent: () -> void
|
|
977
|
+
|
|
978
|
+
# The Priority to use for this activity
|
|
979
|
+
attr_accessor priority(): ::Temporalio::Api::Common::V1::Priority?
|
|
980
|
+
def has_priority?: () -> bool
|
|
981
|
+
def clear_priority: () -> void
|
|
982
|
+
|
|
983
|
+
type init_map = {
|
|
984
|
+
seq: (::Integer | ::Float)?,
|
|
985
|
+
"seq" => (::Integer | ::Float)?,
|
|
986
|
+
namespace: (::String | ::Symbol)?,
|
|
987
|
+
"namespace" => (::String | ::Symbol)?,
|
|
988
|
+
workflow_id: (::String | ::Symbol)?,
|
|
989
|
+
"workflow_id" => (::String | ::Symbol)?,
|
|
990
|
+
workflow_type: (::String | ::Symbol)?,
|
|
991
|
+
"workflow_type" => (::String | ::Symbol)?,
|
|
992
|
+
task_queue: (::String | ::Symbol)?,
|
|
993
|
+
"task_queue" => (::String | ::Symbol)?,
|
|
994
|
+
input: ::Array[::Temporalio::Api::Common::V1::Payload]?,
|
|
995
|
+
"input" => ::Array[::Temporalio::Api::Common::V1::Payload]?,
|
|
996
|
+
workflow_execution_timeout: (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?,
|
|
997
|
+
"workflow_execution_timeout" => (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?,
|
|
998
|
+
workflow_run_timeout: (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?,
|
|
999
|
+
"workflow_run_timeout" => (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?,
|
|
1000
|
+
workflow_task_timeout: (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?,
|
|
1001
|
+
"workflow_task_timeout" => (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?,
|
|
1002
|
+
parent_close_policy: (::Temporalio::Internal::Bridge::Api::ChildWorkflow::ParentClosePolicy::names | ::Temporalio::Internal::Bridge::Api::ChildWorkflow::ParentClosePolicy::strings | ::Integer | ::Float)?,
|
|
1003
|
+
"parent_close_policy" => (::Temporalio::Internal::Bridge::Api::ChildWorkflow::ParentClosePolicy::names | ::Temporalio::Internal::Bridge::Api::ChildWorkflow::ParentClosePolicy::strings | ::Integer | ::Float)?,
|
|
1004
|
+
workflow_id_reuse_policy: (::Temporalio::Api::Enums::V1::WorkflowIdReusePolicy::names | ::Temporalio::Api::Enums::V1::WorkflowIdReusePolicy::strings | ::Integer | ::Float)?,
|
|
1005
|
+
"workflow_id_reuse_policy" => (::Temporalio::Api::Enums::V1::WorkflowIdReusePolicy::names | ::Temporalio::Api::Enums::V1::WorkflowIdReusePolicy::strings | ::Integer | ::Float)?,
|
|
1006
|
+
retry_policy: (::Temporalio::Api::Common::V1::RetryPolicy | ::Temporalio::Api::Common::V1::RetryPolicy::init_map)?,
|
|
1007
|
+
"retry_policy" => (::Temporalio::Api::Common::V1::RetryPolicy | ::Temporalio::Api::Common::V1::RetryPolicy::init_map)?,
|
|
1008
|
+
cron_schedule: (::String | ::Symbol)?,
|
|
1009
|
+
"cron_schedule" => (::String | ::Symbol)?,
|
|
1010
|
+
headers: ::Hash[::String | ::Symbol, ::Temporalio::Api::Common::V1::Payload]?,
|
|
1011
|
+
"headers" => ::Hash[::String | ::Symbol, ::Temporalio::Api::Common::V1::Payload]?,
|
|
1012
|
+
memo: ::Hash[::String | ::Symbol, ::Temporalio::Api::Common::V1::Payload]?,
|
|
1013
|
+
"memo" => ::Hash[::String | ::Symbol, ::Temporalio::Api::Common::V1::Payload]?,
|
|
1014
|
+
search_attributes: (::Temporalio::Api::Common::V1::SearchAttributes | ::Temporalio::Api::Common::V1::SearchAttributes::init_map)?,
|
|
1015
|
+
"search_attributes" => (::Temporalio::Api::Common::V1::SearchAttributes | ::Temporalio::Api::Common::V1::SearchAttributes::init_map)?,
|
|
1016
|
+
cancellation_type: (::Temporalio::Internal::Bridge::Api::ChildWorkflow::ChildWorkflowCancellationType::names | ::Temporalio::Internal::Bridge::Api::ChildWorkflow::ChildWorkflowCancellationType::strings | ::Integer | ::Float)?,
|
|
1017
|
+
"cancellation_type" => (::Temporalio::Internal::Bridge::Api::ChildWorkflow::ChildWorkflowCancellationType::names | ::Temporalio::Internal::Bridge::Api::ChildWorkflow::ChildWorkflowCancellationType::strings | ::Integer | ::Float)?,
|
|
1018
|
+
versioning_intent: (::Temporalio::Internal::Bridge::Api::Common::VersioningIntent::names | ::Temporalio::Internal::Bridge::Api::Common::VersioningIntent::strings | ::Integer | ::Float)?,
|
|
1019
|
+
"versioning_intent" => (::Temporalio::Internal::Bridge::Api::Common::VersioningIntent::names | ::Temporalio::Internal::Bridge::Api::Common::VersioningIntent::strings | ::Integer | ::Float)?,
|
|
1020
|
+
priority: (::Temporalio::Api::Common::V1::Priority | ::Temporalio::Api::Common::V1::Priority::init_map)?,
|
|
1021
|
+
"priority" => (::Temporalio::Api::Common::V1::Priority | ::Temporalio::Api::Common::V1::Priority::init_map)?,
|
|
1022
|
+
}
|
|
1023
|
+
|
|
1024
|
+
def initialize: (?init_map initial_value) -> void
|
|
1025
|
+
|
|
1026
|
+
def []:
|
|
1027
|
+
("seq" name) -> ::Integer
|
|
1028
|
+
| ("namespace" name) -> ::String
|
|
1029
|
+
| ("workflow_id" name) -> ::String
|
|
1030
|
+
| ("workflow_type" name) -> ::String
|
|
1031
|
+
| ("task_queue" name) -> ::String
|
|
1032
|
+
| ("input" name) -> ::Google::Protobuf::RepeatedField
|
|
1033
|
+
| ("workflow_execution_timeout" name) -> ::Google::Protobuf::Duration?
|
|
1034
|
+
| ("workflow_run_timeout" name) -> ::Google::Protobuf::Duration?
|
|
1035
|
+
| ("workflow_task_timeout" name) -> ::Google::Protobuf::Duration?
|
|
1036
|
+
| ("parent_close_policy" name) -> (::Temporalio::Internal::Bridge::Api::ChildWorkflow::ParentClosePolicy::names | ::Integer)
|
|
1037
|
+
| ("workflow_id_reuse_policy" name) -> (::Temporalio::Api::Enums::V1::WorkflowIdReusePolicy::names | ::Integer)
|
|
1038
|
+
| ("retry_policy" name) -> ::Temporalio::Api::Common::V1::RetryPolicy?
|
|
1039
|
+
| ("cron_schedule" name) -> ::String
|
|
1040
|
+
| ("headers" name) -> (::Google::Protobuf::Map[::String, ::Temporalio::Api::Common::V1::Payload])
|
|
1041
|
+
| ("memo" name) -> (::Google::Protobuf::Map[::String, ::Temporalio::Api::Common::V1::Payload])
|
|
1042
|
+
| ("search_attributes" name) -> ::Temporalio::Api::Common::V1::SearchAttributes?
|
|
1043
|
+
| ("cancellation_type" name) -> (::Temporalio::Internal::Bridge::Api::ChildWorkflow::ChildWorkflowCancellationType::names | ::Integer)
|
|
1044
|
+
| ("versioning_intent" name) -> (::Temporalio::Internal::Bridge::Api::Common::VersioningIntent::names | ::Integer)
|
|
1045
|
+
| ("priority" name) -> ::Temporalio::Api::Common::V1::Priority?
|
|
1046
|
+
|
|
1047
|
+
def []=:
|
|
1048
|
+
("seq" name, (::Integer | ::Float) value) -> void
|
|
1049
|
+
| ("namespace" name, (::String | ::Symbol) value) -> void
|
|
1050
|
+
| ("workflow_id" name, (::String | ::Symbol) value) -> void
|
|
1051
|
+
| ("workflow_type" name, (::String | ::Symbol) value) -> void
|
|
1052
|
+
| ("task_queue" name, (::String | ::Symbol) value) -> void
|
|
1053
|
+
| ("input" name, ::Google::Protobuf::RepeatedField value) -> void
|
|
1054
|
+
| ("workflow_execution_timeout" name, ((::Google::Protobuf::Duration | ::int)?) value) -> void
|
|
1055
|
+
| ("workflow_run_timeout" name, ((::Google::Protobuf::Duration | ::int)?) value) -> void
|
|
1056
|
+
| ("workflow_task_timeout" name, ((::Google::Protobuf::Duration | ::int)?) value) -> void
|
|
1057
|
+
| ("parent_close_policy" name, (::Temporalio::Internal::Bridge::Api::ChildWorkflow::ParentClosePolicy::names | ::Temporalio::Internal::Bridge::Api::ChildWorkflow::ParentClosePolicy::strings | ::Integer | ::Float) value) -> void
|
|
1058
|
+
| ("workflow_id_reuse_policy" name, (::Temporalio::Api::Enums::V1::WorkflowIdReusePolicy::names | ::Temporalio::Api::Enums::V1::WorkflowIdReusePolicy::strings | ::Integer | ::Float) value) -> void
|
|
1059
|
+
| ("retry_policy" name, ::Temporalio::Api::Common::V1::RetryPolicy? value) -> void
|
|
1060
|
+
| ("cron_schedule" name, (::String | ::Symbol) value) -> void
|
|
1061
|
+
| ("headers" name, (::Google::Protobuf::Map[::String, ::Temporalio::Api::Common::V1::Payload]) value) -> void
|
|
1062
|
+
| ("memo" name, (::Google::Protobuf::Map[::String, ::Temporalio::Api::Common::V1::Payload]) value) -> void
|
|
1063
|
+
| ("search_attributes" name, ::Temporalio::Api::Common::V1::SearchAttributes? value) -> void
|
|
1064
|
+
| ("cancellation_type" name, (::Temporalio::Internal::Bridge::Api::ChildWorkflow::ChildWorkflowCancellationType::names | ::Temporalio::Internal::Bridge::Api::ChildWorkflow::ChildWorkflowCancellationType::strings | ::Integer | ::Float) value) -> void
|
|
1065
|
+
| ("versioning_intent" name, (::Temporalio::Internal::Bridge::Api::Common::VersioningIntent::names | ::Temporalio::Internal::Bridge::Api::Common::VersioningIntent::strings | ::Integer | ::Float) value) -> void
|
|
1066
|
+
| ("priority" name, ::Temporalio::Api::Common::V1::Priority? value) -> void
|
|
1067
|
+
end
|
|
1068
|
+
|
|
1069
|
+
# Cancel a child workflow
|
|
1070
|
+
class CancelChildWorkflowExecution < ::Google::Protobuf::AbstractMessage
|
|
1071
|
+
|
|
1072
|
+
# Sequence number as given to the `StartChildWorkflowExecution` command
|
|
1073
|
+
attr_reader child_workflow_seq(): ::Integer
|
|
1074
|
+
attr_writer child_workflow_seq(): ::Integer | ::Float
|
|
1075
|
+
def clear_child_workflow_seq: () -> void
|
|
1076
|
+
|
|
1077
|
+
# A reason for the cancellation
|
|
1078
|
+
attr_reader reason(): ::String
|
|
1079
|
+
attr_writer reason(): ::String | ::Symbol
|
|
1080
|
+
def clear_reason: () -> void
|
|
1081
|
+
|
|
1082
|
+
type init_map = {
|
|
1083
|
+
child_workflow_seq: (::Integer | ::Float)?,
|
|
1084
|
+
"child_workflow_seq" => (::Integer | ::Float)?,
|
|
1085
|
+
reason: (::String | ::Symbol)?,
|
|
1086
|
+
"reason" => (::String | ::Symbol)?,
|
|
1087
|
+
}
|
|
1088
|
+
|
|
1089
|
+
def initialize: (?init_map initial_value) -> void
|
|
1090
|
+
|
|
1091
|
+
def []:
|
|
1092
|
+
("child_workflow_seq" name) -> ::Integer
|
|
1093
|
+
| ("reason" name) -> ::String
|
|
1094
|
+
|
|
1095
|
+
def []=:
|
|
1096
|
+
("child_workflow_seq" name, (::Integer | ::Float) value) -> void
|
|
1097
|
+
| ("reason" name, (::String | ::Symbol) value) -> void
|
|
1098
|
+
end
|
|
1099
|
+
|
|
1100
|
+
# Request cancellation of an external workflow execution. For cancellation of a child workflow,
|
|
1101
|
+
# prefer `CancelChildWorkflowExecution` instead, as it guards against cancel-before-start issues.
|
|
1102
|
+
class RequestCancelExternalWorkflowExecution < ::Google::Protobuf::AbstractMessage
|
|
1103
|
+
|
|
1104
|
+
# Lang's incremental sequence number, used as the operation identifier
|
|
1105
|
+
attr_reader seq(): ::Integer
|
|
1106
|
+
attr_writer seq(): ::Integer | ::Float
|
|
1107
|
+
def clear_seq: () -> void
|
|
1108
|
+
|
|
1109
|
+
# The workflow instance being targeted
|
|
1110
|
+
attr_accessor workflow_execution(): ::Temporalio::Internal::Bridge::Api::Common::NamespacedWorkflowExecution?
|
|
1111
|
+
def has_workflow_execution?: () -> bool
|
|
1112
|
+
def clear_workflow_execution: () -> void
|
|
1113
|
+
|
|
1114
|
+
# A reason for the cancellation
|
|
1115
|
+
attr_reader reason(): ::String
|
|
1116
|
+
attr_writer reason(): ::String | ::Symbol
|
|
1117
|
+
def clear_reason: () -> void
|
|
1118
|
+
|
|
1119
|
+
type init_map = {
|
|
1120
|
+
seq: (::Integer | ::Float)?,
|
|
1121
|
+
"seq" => (::Integer | ::Float)?,
|
|
1122
|
+
workflow_execution: (::Temporalio::Internal::Bridge::Api::Common::NamespacedWorkflowExecution | ::Temporalio::Internal::Bridge::Api::Common::NamespacedWorkflowExecution::init_map)?,
|
|
1123
|
+
"workflow_execution" => (::Temporalio::Internal::Bridge::Api::Common::NamespacedWorkflowExecution | ::Temporalio::Internal::Bridge::Api::Common::NamespacedWorkflowExecution::init_map)?,
|
|
1124
|
+
reason: (::String | ::Symbol)?,
|
|
1125
|
+
"reason" => (::String | ::Symbol)?,
|
|
1126
|
+
}
|
|
1127
|
+
|
|
1128
|
+
def initialize: (?init_map initial_value) -> void
|
|
1129
|
+
|
|
1130
|
+
def []:
|
|
1131
|
+
("seq" name) -> ::Integer
|
|
1132
|
+
| ("workflow_execution" name) -> ::Temporalio::Internal::Bridge::Api::Common::NamespacedWorkflowExecution?
|
|
1133
|
+
| ("reason" name) -> ::String
|
|
1134
|
+
|
|
1135
|
+
def []=:
|
|
1136
|
+
("seq" name, (::Integer | ::Float) value) -> void
|
|
1137
|
+
| ("workflow_execution" name, ::Temporalio::Internal::Bridge::Api::Common::NamespacedWorkflowExecution? value) -> void
|
|
1138
|
+
| ("reason" name, (::String | ::Symbol) value) -> void
|
|
1139
|
+
end
|
|
1140
|
+
|
|
1141
|
+
# Send a signal to an external or child workflow
|
|
1142
|
+
class SignalExternalWorkflowExecution < ::Google::Protobuf::AbstractMessage
|
|
1143
|
+
|
|
1144
|
+
# Lang's incremental sequence number, used as the operation identifier
|
|
1145
|
+
attr_reader seq(): ::Integer
|
|
1146
|
+
attr_writer seq(): ::Integer | ::Float
|
|
1147
|
+
def clear_seq: () -> void
|
|
1148
|
+
|
|
1149
|
+
# A specific workflow instance
|
|
1150
|
+
attr_accessor workflow_execution(): ::Temporalio::Internal::Bridge::Api::Common::NamespacedWorkflowExecution?
|
|
1151
|
+
def has_workflow_execution?: () -> bool
|
|
1152
|
+
def clear_workflow_execution: () -> void
|
|
1153
|
+
|
|
1154
|
+
# The desired target must be a child of the issuing workflow, and this is its workflow id
|
|
1155
|
+
attr_reader child_workflow_id(): ::String
|
|
1156
|
+
attr_writer child_workflow_id(): (::String | ::Symbol)?
|
|
1157
|
+
def has_child_workflow_id?: () -> bool
|
|
1158
|
+
def clear_child_workflow_id: () -> void
|
|
1159
|
+
|
|
1160
|
+
# Name of the signal handler
|
|
1161
|
+
attr_reader signal_name(): ::String
|
|
1162
|
+
attr_writer signal_name(): ::String | ::Symbol
|
|
1163
|
+
def clear_signal_name: () -> void
|
|
1164
|
+
|
|
1165
|
+
# Arguments for the handler
|
|
1166
|
+
attr_accessor args(): ::Google::Protobuf::RepeatedField
|
|
1167
|
+
def clear_args: () -> void
|
|
1168
|
+
|
|
1169
|
+
# Headers to attach to the signal
|
|
1170
|
+
attr_accessor headers(): ::Google::Protobuf::Map[::String, ::Temporalio::Api::Common::V1::Payload]
|
|
1171
|
+
def clear_headers: () -> void
|
|
1172
|
+
|
|
1173
|
+
# What workflow is being targeted
|
|
1174
|
+
attr_reader target(): (::Temporalio::Internal::Bridge::Api::Common::NamespacedWorkflowExecution | ::String)?
|
|
1175
|
+
def has_target?: () -> bool
|
|
1176
|
+
def clear_target: () -> void
|
|
1177
|
+
|
|
1178
|
+
type init_map = {
|
|
1179
|
+
seq: (::Integer | ::Float)?,
|
|
1180
|
+
"seq" => (::Integer | ::Float)?,
|
|
1181
|
+
workflow_execution: (::Temporalio::Internal::Bridge::Api::Common::NamespacedWorkflowExecution | ::Temporalio::Internal::Bridge::Api::Common::NamespacedWorkflowExecution::init_map)?,
|
|
1182
|
+
"workflow_execution" => (::Temporalio::Internal::Bridge::Api::Common::NamespacedWorkflowExecution | ::Temporalio::Internal::Bridge::Api::Common::NamespacedWorkflowExecution::init_map)?,
|
|
1183
|
+
child_workflow_id: (::String | ::Symbol)?,
|
|
1184
|
+
"child_workflow_id" => (::String | ::Symbol)?,
|
|
1185
|
+
signal_name: (::String | ::Symbol)?,
|
|
1186
|
+
"signal_name" => (::String | ::Symbol)?,
|
|
1187
|
+
args: ::Array[::Temporalio::Api::Common::V1::Payload]?,
|
|
1188
|
+
"args" => ::Array[::Temporalio::Api::Common::V1::Payload]?,
|
|
1189
|
+
headers: ::Hash[::String | ::Symbol, ::Temporalio::Api::Common::V1::Payload]?,
|
|
1190
|
+
"headers" => ::Hash[::String | ::Symbol, ::Temporalio::Api::Common::V1::Payload]?,
|
|
1191
|
+
}
|
|
1192
|
+
|
|
1193
|
+
def initialize: (?init_map initial_value) -> void
|
|
1194
|
+
|
|
1195
|
+
def []:
|
|
1196
|
+
("seq" name) -> ::Integer
|
|
1197
|
+
| ("workflow_execution" name) -> ::Temporalio::Internal::Bridge::Api::Common::NamespacedWorkflowExecution?
|
|
1198
|
+
| ("child_workflow_id" name) -> ::String
|
|
1199
|
+
| ("signal_name" name) -> ::String
|
|
1200
|
+
| ("args" name) -> ::Google::Protobuf::RepeatedField
|
|
1201
|
+
| ("headers" name) -> (::Google::Protobuf::Map[::String, ::Temporalio::Api::Common::V1::Payload])
|
|
1202
|
+
|
|
1203
|
+
def []=:
|
|
1204
|
+
("seq" name, (::Integer | ::Float) value) -> void
|
|
1205
|
+
| ("workflow_execution" name, ::Temporalio::Internal::Bridge::Api::Common::NamespacedWorkflowExecution? value) -> void
|
|
1206
|
+
| ("child_workflow_id" name, ((::String | ::Symbol)?) value) -> void
|
|
1207
|
+
| ("signal_name" name, (::String | ::Symbol) value) -> void
|
|
1208
|
+
| ("args" name, ::Google::Protobuf::RepeatedField value) -> void
|
|
1209
|
+
| ("headers" name, (::Google::Protobuf::Map[::String, ::Temporalio::Api::Common::V1::Payload]) value) -> void
|
|
1210
|
+
end
|
|
1211
|
+
|
|
1212
|
+
# Can be used to cancel not-already-sent `SignalExternalWorkflowExecution` commands
|
|
1213
|
+
class CancelSignalWorkflow < ::Google::Protobuf::AbstractMessage
|
|
1214
|
+
|
|
1215
|
+
# Lang's incremental sequence number as passed to `SignalExternalWorkflowExecution`
|
|
1216
|
+
attr_reader seq(): ::Integer
|
|
1217
|
+
attr_writer seq(): ::Integer | ::Float
|
|
1218
|
+
def clear_seq: () -> void
|
|
1219
|
+
|
|
1220
|
+
type init_map = {
|
|
1221
|
+
seq: (::Integer | ::Float)?,
|
|
1222
|
+
"seq" => (::Integer | ::Float)?,
|
|
1223
|
+
}
|
|
1224
|
+
|
|
1225
|
+
def initialize: (?init_map initial_value) -> void
|
|
1226
|
+
|
|
1227
|
+
def []:
|
|
1228
|
+
("seq" name) -> ::Integer
|
|
1229
|
+
|
|
1230
|
+
def []=:
|
|
1231
|
+
("seq" name, (::Integer | ::Float) value) -> void
|
|
1232
|
+
end
|
|
1233
|
+
|
|
1234
|
+
class UpsertWorkflowSearchAttributes < ::Google::Protobuf::AbstractMessage
|
|
1235
|
+
|
|
1236
|
+
# SearchAttributes to upsert. The indexed_fields map will be merged with existing search
|
|
1237
|
+
# attributes, with these values taking precedence.
|
|
1238
|
+
attr_accessor search_attributes(): ::Temporalio::Api::Common::V1::SearchAttributes?
|
|
1239
|
+
def has_search_attributes?: () -> bool
|
|
1240
|
+
def clear_search_attributes: () -> void
|
|
1241
|
+
|
|
1242
|
+
type init_map = {
|
|
1243
|
+
search_attributes: (::Temporalio::Api::Common::V1::SearchAttributes | ::Temporalio::Api::Common::V1::SearchAttributes::init_map)?,
|
|
1244
|
+
"search_attributes" => (::Temporalio::Api::Common::V1::SearchAttributes | ::Temporalio::Api::Common::V1::SearchAttributes::init_map)?,
|
|
1245
|
+
}
|
|
1246
|
+
|
|
1247
|
+
def initialize: (?init_map initial_value) -> void
|
|
1248
|
+
|
|
1249
|
+
def []:
|
|
1250
|
+
("search_attributes" name) -> ::Temporalio::Api::Common::V1::SearchAttributes?
|
|
1251
|
+
|
|
1252
|
+
def []=:
|
|
1253
|
+
("search_attributes" name, ::Temporalio::Api::Common::V1::SearchAttributes? value) -> void
|
|
1254
|
+
end
|
|
1255
|
+
|
|
1256
|
+
class ModifyWorkflowProperties < ::Google::Protobuf::AbstractMessage
|
|
1257
|
+
|
|
1258
|
+
# If set, update the workflow memo with the provided values. The values will be merged with
|
|
1259
|
+
# the existing memo. If the user wants to delete values, a default/empty Payload should be
|
|
1260
|
+
# used as the value for the key being deleted.
|
|
1261
|
+
attr_accessor upserted_memo(): ::Temporalio::Api::Common::V1::Memo?
|
|
1262
|
+
def has_upserted_memo?: () -> bool
|
|
1263
|
+
def clear_upserted_memo: () -> void
|
|
1264
|
+
|
|
1265
|
+
type init_map = {
|
|
1266
|
+
upserted_memo: (::Temporalio::Api::Common::V1::Memo | ::Temporalio::Api::Common::V1::Memo::init_map)?,
|
|
1267
|
+
"upserted_memo" => (::Temporalio::Api::Common::V1::Memo | ::Temporalio::Api::Common::V1::Memo::init_map)?,
|
|
1268
|
+
}
|
|
1269
|
+
|
|
1270
|
+
def initialize: (?init_map initial_value) -> void
|
|
1271
|
+
|
|
1272
|
+
def []:
|
|
1273
|
+
("upserted_memo" name) -> ::Temporalio::Api::Common::V1::Memo?
|
|
1274
|
+
|
|
1275
|
+
def []=:
|
|
1276
|
+
("upserted_memo" name, ::Temporalio::Api::Common::V1::Memo? value) -> void
|
|
1277
|
+
end
|
|
1278
|
+
|
|
1279
|
+
# A reply to a `DoUpdate` job - lang must run the update's validator if told to, and then
|
|
1280
|
+
# immediately run the handler, if the update was accepted.
|
|
1281
|
+
# There must always be an accepted or rejected response immediately, in the same activation as
|
|
1282
|
+
# this job, to indicate the result of the validator. Accepted for ran and accepted or skipped, or
|
|
1283
|
+
# rejected for rejected.
|
|
1284
|
+
# Then, in the same or any subsequent activation, after the update handler has completed, respond
|
|
1285
|
+
# with completed or rejected as appropriate for the result of the handler.
|
|
1286
|
+
class UpdateResponse < ::Google::Protobuf::AbstractMessage
|
|
1287
|
+
|
|
1288
|
+
# The protocol message instance ID
|
|
1289
|
+
attr_reader protocol_instance_id(): ::String
|
|
1290
|
+
attr_writer protocol_instance_id(): ::String | ::Symbol
|
|
1291
|
+
def clear_protocol_instance_id: () -> void
|
|
1292
|
+
|
|
1293
|
+
# Must be sent if the update's validator has passed (or lang was not asked to run it, and
|
|
1294
|
+
# thus should be considered already-accepted, allowing lang to always send the same
|
|
1295
|
+
# sequence on replay).
|
|
1296
|
+
attr_accessor accepted(): ::Google::Protobuf::Empty?
|
|
1297
|
+
def has_accepted?: () -> bool
|
|
1298
|
+
def clear_accepted: () -> void
|
|
1299
|
+
|
|
1300
|
+
# Must be sent if the update's validator does not pass, or after acceptance if the update
|
|
1301
|
+
# handler fails.
|
|
1302
|
+
attr_accessor rejected(): ::Temporalio::Api::Failure::V1::Failure?
|
|
1303
|
+
def has_rejected?: () -> bool
|
|
1304
|
+
def clear_rejected: () -> void
|
|
1305
|
+
|
|
1306
|
+
# Must be sent once the update handler completes successfully.
|
|
1307
|
+
attr_accessor completed(): ::Temporalio::Api::Common::V1::Payload?
|
|
1308
|
+
def has_completed?: () -> bool
|
|
1309
|
+
def clear_completed: () -> void
|
|
1310
|
+
|
|
1311
|
+
attr_reader response(): (::Google::Protobuf::Empty | ::Temporalio::Api::Failure::V1::Failure | ::Temporalio::Api::Common::V1::Payload)?
|
|
1312
|
+
def has_response?: () -> bool
|
|
1313
|
+
def clear_response: () -> void
|
|
1314
|
+
|
|
1315
|
+
type init_map = {
|
|
1316
|
+
protocol_instance_id: (::String | ::Symbol)?,
|
|
1317
|
+
"protocol_instance_id" => (::String | ::Symbol)?,
|
|
1318
|
+
accepted: (::Google::Protobuf::Empty | ::Google::Protobuf::Empty)?,
|
|
1319
|
+
"accepted" => (::Google::Protobuf::Empty | ::Google::Protobuf::Empty)?,
|
|
1320
|
+
rejected: (::Temporalio::Api::Failure::V1::Failure | ::Temporalio::Api::Failure::V1::Failure::init_map)?,
|
|
1321
|
+
"rejected" => (::Temporalio::Api::Failure::V1::Failure | ::Temporalio::Api::Failure::V1::Failure::init_map)?,
|
|
1322
|
+
completed: (::Temporalio::Api::Common::V1::Payload | ::Temporalio::Api::Common::V1::Payload::init_map)?,
|
|
1323
|
+
"completed" => (::Temporalio::Api::Common::V1::Payload | ::Temporalio::Api::Common::V1::Payload::init_map)?,
|
|
1324
|
+
}
|
|
1325
|
+
|
|
1326
|
+
def initialize: (?init_map initial_value) -> void
|
|
1327
|
+
|
|
1328
|
+
def []:
|
|
1329
|
+
("protocol_instance_id" name) -> ::String
|
|
1330
|
+
| ("accepted" name) -> ::Google::Protobuf::Empty?
|
|
1331
|
+
| ("rejected" name) -> ::Temporalio::Api::Failure::V1::Failure?
|
|
1332
|
+
| ("completed" name) -> ::Temporalio::Api::Common::V1::Payload?
|
|
1333
|
+
|
|
1334
|
+
def []=:
|
|
1335
|
+
("protocol_instance_id" name, (::String | ::Symbol) value) -> void
|
|
1336
|
+
| ("accepted" name, ::Google::Protobuf::Empty? value) -> void
|
|
1337
|
+
| ("rejected" name, ::Temporalio::Api::Failure::V1::Failure? value) -> void
|
|
1338
|
+
| ("completed" name, ::Temporalio::Api::Common::V1::Payload? value) -> void
|
|
1339
|
+
end
|
|
1340
|
+
|
|
1341
|
+
# A request to begin a Nexus operation
|
|
1342
|
+
class ScheduleNexusOperation < ::Google::Protobuf::AbstractMessage
|
|
1343
|
+
|
|
1344
|
+
# Lang's incremental sequence number, used as the operation identifier
|
|
1345
|
+
attr_reader seq(): ::Integer
|
|
1346
|
+
attr_writer seq(): ::Integer | ::Float
|
|
1347
|
+
def clear_seq: () -> void
|
|
1348
|
+
|
|
1349
|
+
# Endpoint name, must exist in the endpoint registry or this command will fail.
|
|
1350
|
+
attr_reader endpoint(): ::String
|
|
1351
|
+
attr_writer endpoint(): ::String | ::Symbol
|
|
1352
|
+
def clear_endpoint: () -> void
|
|
1353
|
+
|
|
1354
|
+
# Service name.
|
|
1355
|
+
attr_reader service(): ::String
|
|
1356
|
+
attr_writer service(): ::String | ::Symbol
|
|
1357
|
+
def clear_service: () -> void
|
|
1358
|
+
|
|
1359
|
+
# Operation name.
|
|
1360
|
+
attr_reader operation(): ::String
|
|
1361
|
+
attr_writer operation(): ::String | ::Symbol
|
|
1362
|
+
def clear_operation: () -> void
|
|
1363
|
+
|
|
1364
|
+
# Input for the operation. The server converts this into Nexus request content and the
|
|
1365
|
+
# appropriate content headers internally when sending the StartOperation request. On the
|
|
1366
|
+
# handler side, if it is also backed by Temporal, the content is transformed back to the
|
|
1367
|
+
# original Payload sent in this command.
|
|
1368
|
+
attr_accessor input(): ::Temporalio::Api::Common::V1::Payload?
|
|
1369
|
+
def has_input?: () -> bool
|
|
1370
|
+
def clear_input: () -> void
|
|
1371
|
+
|
|
1372
|
+
# Schedule-to-close timeout for this operation.
|
|
1373
|
+
# Indicates how long the caller is willing to wait for operation completion.
|
|
1374
|
+
# Calls are retried internally by the server.
|
|
1375
|
+
attr_reader schedule_to_close_timeout(): ::Google::Protobuf::Duration?
|
|
1376
|
+
attr_writer schedule_to_close_timeout(): (::Google::Protobuf::Duration | ::int)?
|
|
1377
|
+
def has_schedule_to_close_timeout?: () -> bool
|
|
1378
|
+
def clear_schedule_to_close_timeout: () -> void
|
|
1379
|
+
|
|
1380
|
+
# Header to attach to the Nexus request.
|
|
1381
|
+
# Users are responsible for encrypting sensitive data in this header as it is stored in
|
|
1382
|
+
# workflow history and transmitted to external services as-is. This is useful for propagating
|
|
1383
|
+
# tracing information. Note these headers are not the same as Temporal headers on internal
|
|
1384
|
+
# activities and child workflows, these are transmitted to Nexus operations that may be
|
|
1385
|
+
# external and are not traditional payloads.
|
|
1386
|
+
attr_accessor nexus_header(): ::Google::Protobuf::Map[::String, ::String]
|
|
1387
|
+
def clear_nexus_header: () -> void
|
|
1388
|
+
|
|
1389
|
+
# Defines behaviour of the underlying nexus operation when operation cancellation has been requested.
|
|
1390
|
+
attr_reader cancellation_type(): ::Temporalio::Internal::Bridge::Api::Nexus::NexusOperationCancellationType::names | ::Integer
|
|
1391
|
+
attr_writer cancellation_type(): ::Temporalio::Internal::Bridge::Api::Nexus::NexusOperationCancellationType::names | ::Temporalio::Internal::Bridge::Api::Nexus::NexusOperationCancellationType::strings | ::Integer | ::Float
|
|
1392
|
+
attr_reader cancellation_type_const(): ::Integer
|
|
1393
|
+
def clear_cancellation_type: () -> void
|
|
1394
|
+
|
|
1395
|
+
# Schedule-to-start timeout for this operation.
|
|
1396
|
+
# Indicates how long the caller is willing to wait for the operation to be started (or completed if synchronous)
|
|
1397
|
+
# by the handler. If the operation is not started within this timeout, it will fail with
|
|
1398
|
+
# TIMEOUT_TYPE_SCHEDULE_TO_START.
|
|
1399
|
+
# If not set or zero, no schedule-to-start timeout is enforced.
|
|
1400
|
+
attr_reader schedule_to_start_timeout(): ::Google::Protobuf::Duration?
|
|
1401
|
+
attr_writer schedule_to_start_timeout(): (::Google::Protobuf::Duration | ::int)?
|
|
1402
|
+
def has_schedule_to_start_timeout?: () -> bool
|
|
1403
|
+
def clear_schedule_to_start_timeout: () -> void
|
|
1404
|
+
|
|
1405
|
+
# Start-to-close timeout for this operation.
|
|
1406
|
+
# Indicates how long the caller is willing to wait for an asynchronous operation to complete after it has been
|
|
1407
|
+
# started. If the operation does not complete within this timeout after starting, it will fail with
|
|
1408
|
+
# TIMEOUT_TYPE_START_TO_CLOSE.
|
|
1409
|
+
# Only applies to asynchronous operations. Synchronous operations ignore this timeout.
|
|
1410
|
+
# If not set or zero, no start-to-close timeout is enforced.
|
|
1411
|
+
attr_reader start_to_close_timeout(): ::Google::Protobuf::Duration?
|
|
1412
|
+
attr_writer start_to_close_timeout(): (::Google::Protobuf::Duration | ::int)?
|
|
1413
|
+
def has_start_to_close_timeout?: () -> bool
|
|
1414
|
+
def clear_start_to_close_timeout: () -> void
|
|
1415
|
+
|
|
1416
|
+
type init_map = {
|
|
1417
|
+
seq: (::Integer | ::Float)?,
|
|
1418
|
+
"seq" => (::Integer | ::Float)?,
|
|
1419
|
+
endpoint: (::String | ::Symbol)?,
|
|
1420
|
+
"endpoint" => (::String | ::Symbol)?,
|
|
1421
|
+
service: (::String | ::Symbol)?,
|
|
1422
|
+
"service" => (::String | ::Symbol)?,
|
|
1423
|
+
operation: (::String | ::Symbol)?,
|
|
1424
|
+
"operation" => (::String | ::Symbol)?,
|
|
1425
|
+
input: (::Temporalio::Api::Common::V1::Payload | ::Temporalio::Api::Common::V1::Payload::init_map)?,
|
|
1426
|
+
"input" => (::Temporalio::Api::Common::V1::Payload | ::Temporalio::Api::Common::V1::Payload::init_map)?,
|
|
1427
|
+
schedule_to_close_timeout: (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?,
|
|
1428
|
+
"schedule_to_close_timeout" => (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?,
|
|
1429
|
+
nexus_header: ::Hash[::String | ::Symbol, ::String | ::Symbol]?,
|
|
1430
|
+
"nexus_header" => ::Hash[::String | ::Symbol, ::String | ::Symbol]?,
|
|
1431
|
+
cancellation_type: (::Temporalio::Internal::Bridge::Api::Nexus::NexusOperationCancellationType::names | ::Temporalio::Internal::Bridge::Api::Nexus::NexusOperationCancellationType::strings | ::Integer | ::Float)?,
|
|
1432
|
+
"cancellation_type" => (::Temporalio::Internal::Bridge::Api::Nexus::NexusOperationCancellationType::names | ::Temporalio::Internal::Bridge::Api::Nexus::NexusOperationCancellationType::strings | ::Integer | ::Float)?,
|
|
1433
|
+
schedule_to_start_timeout: (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?,
|
|
1434
|
+
"schedule_to_start_timeout" => (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?,
|
|
1435
|
+
start_to_close_timeout: (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?,
|
|
1436
|
+
"start_to_close_timeout" => (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?,
|
|
1437
|
+
}
|
|
1438
|
+
|
|
1439
|
+
def initialize: (?init_map initial_value) -> void
|
|
1440
|
+
|
|
1441
|
+
def []:
|
|
1442
|
+
("seq" name) -> ::Integer
|
|
1443
|
+
| ("endpoint" name) -> ::String
|
|
1444
|
+
| ("service" name) -> ::String
|
|
1445
|
+
| ("operation" name) -> ::String
|
|
1446
|
+
| ("input" name) -> ::Temporalio::Api::Common::V1::Payload?
|
|
1447
|
+
| ("schedule_to_close_timeout" name) -> ::Google::Protobuf::Duration?
|
|
1448
|
+
| ("nexus_header" name) -> (::Google::Protobuf::Map[::String, ::String])
|
|
1449
|
+
| ("cancellation_type" name) -> (::Temporalio::Internal::Bridge::Api::Nexus::NexusOperationCancellationType::names | ::Integer)
|
|
1450
|
+
| ("schedule_to_start_timeout" name) -> ::Google::Protobuf::Duration?
|
|
1451
|
+
| ("start_to_close_timeout" name) -> ::Google::Protobuf::Duration?
|
|
1452
|
+
|
|
1453
|
+
def []=:
|
|
1454
|
+
("seq" name, (::Integer | ::Float) value) -> void
|
|
1455
|
+
| ("endpoint" name, (::String | ::Symbol) value) -> void
|
|
1456
|
+
| ("service" name, (::String | ::Symbol) value) -> void
|
|
1457
|
+
| ("operation" name, (::String | ::Symbol) value) -> void
|
|
1458
|
+
| ("input" name, ::Temporalio::Api::Common::V1::Payload? value) -> void
|
|
1459
|
+
| ("schedule_to_close_timeout" name, ((::Google::Protobuf::Duration | ::int)?) value) -> void
|
|
1460
|
+
| ("nexus_header" name, (::Google::Protobuf::Map[::String, ::String]) value) -> void
|
|
1461
|
+
| ("cancellation_type" name, (::Temporalio::Internal::Bridge::Api::Nexus::NexusOperationCancellationType::names | ::Temporalio::Internal::Bridge::Api::Nexus::NexusOperationCancellationType::strings | ::Integer | ::Float) value) -> void
|
|
1462
|
+
| ("schedule_to_start_timeout" name, ((::Google::Protobuf::Duration | ::int)?) value) -> void
|
|
1463
|
+
| ("start_to_close_timeout" name, ((::Google::Protobuf::Duration | ::int)?) value) -> void
|
|
1464
|
+
end
|
|
1465
|
+
|
|
1466
|
+
# Request cancellation of a nexus operation started via `ScheduleNexusOperation`
|
|
1467
|
+
class RequestCancelNexusOperation < ::Google::Protobuf::AbstractMessage
|
|
1468
|
+
|
|
1469
|
+
# Lang's incremental sequence number as passed to `ScheduleNexusOperation`
|
|
1470
|
+
attr_reader seq(): ::Integer
|
|
1471
|
+
attr_writer seq(): ::Integer | ::Float
|
|
1472
|
+
def clear_seq: () -> void
|
|
1473
|
+
|
|
1474
|
+
type init_map = {
|
|
1475
|
+
seq: (::Integer | ::Float)?,
|
|
1476
|
+
"seq" => (::Integer | ::Float)?,
|
|
1477
|
+
}
|
|
1478
|
+
|
|
1479
|
+
def initialize: (?init_map initial_value) -> void
|
|
1480
|
+
|
|
1481
|
+
def []:
|
|
1482
|
+
("seq" name) -> ::Integer
|
|
1483
|
+
|
|
1484
|
+
def []=:
|
|
1485
|
+
("seq" name, (::Integer | ::Float) value) -> void
|
|
1486
|
+
end
|
|
1487
|
+
|
|
1488
|
+
module ActivityCancellationType
|
|
1489
|
+
|
|
1490
|
+
# Initiate a cancellation request and immediately report cancellation to the workflow.
|
|
1491
|
+
TRY_CANCEL: 0
|
|
1492
|
+
|
|
1493
|
+
# Wait for activity cancellation completion. Note that activity must heartbeat to receive a
|
|
1494
|
+
# cancellation notification. This can block the cancellation for a long time if activity
|
|
1495
|
+
# doesn't heartbeat or chooses to ignore the cancellation request.
|
|
1496
|
+
WAIT_CANCELLATION_COMPLETED: 1
|
|
1497
|
+
|
|
1498
|
+
# Do not request cancellation of the activity and immediately report cancellation to the
|
|
1499
|
+
# workflow
|
|
1500
|
+
ABANDON: 2
|
|
1501
|
+
|
|
1502
|
+
def self.lookup: (::Integer number) -> ::Symbol
|
|
1503
|
+
|
|
1504
|
+
|
|
1505
|
+
def self.resolve: (::Symbol name) -> ::Integer
|
|
1506
|
+
|
|
1507
|
+
|
|
1508
|
+
type names = :TRY_CANCEL | :WAIT_CANCELLATION_COMPLETED | :ABANDON
|
|
1509
|
+
|
|
1510
|
+
type strings = "TRY_CANCEL" | "WAIT_CANCELLATION_COMPLETED" | "ABANDON"
|
|
1511
|
+
|
|
1512
|
+
type numbers = 0 | 1 | 2
|
|
1513
|
+
end
|
|
1514
|
+
end
|
|
1515
|
+
end
|
|
1516
|
+
end
|
|
1517
|
+
end
|
|
1518
|
+
end
|
|
1519
|
+
|
|
1520
|
+
module Google
|
|
1521
|
+
module Protobuf
|
|
1522
|
+
class DescriptorPool
|
|
1523
|
+
def lookup: (::String name) -> ::Google::Protobuf::Descriptor
|
|
1524
|
+
end
|
|
1525
|
+
end
|
|
1526
|
+
end
|