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,1303 @@
|
|
|
1
|
+
# Code generated by protoc-gen-rbi. DO NOT EDIT.
|
|
2
|
+
# source: temporal/api/failure/v1/message.proto
|
|
3
|
+
# typed: strict
|
|
4
|
+
|
|
5
|
+
class Temporalio::Api::Failure::V1::ApplicationFailureInfo
|
|
6
|
+
include ::Google::Protobuf::MessageExts
|
|
7
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
8
|
+
|
|
9
|
+
sig do
|
|
10
|
+
params(
|
|
11
|
+
type: T.nilable(String),
|
|
12
|
+
non_retryable: T.nilable(T::Boolean),
|
|
13
|
+
details: T.nilable(Temporalio::Api::Common::V1::Payloads),
|
|
14
|
+
next_retry_delay: T.nilable(Google::Protobuf::Duration),
|
|
15
|
+
category: T.nilable(T.any(Symbol, String, Integer))
|
|
16
|
+
).void
|
|
17
|
+
end
|
|
18
|
+
def initialize(
|
|
19
|
+
type: "",
|
|
20
|
+
non_retryable: false,
|
|
21
|
+
details: nil,
|
|
22
|
+
next_retry_delay: nil,
|
|
23
|
+
category: :APPLICATION_ERROR_CATEGORY_UNSPECIFIED
|
|
24
|
+
)
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
sig { returns(String) }
|
|
28
|
+
def type
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
sig { params(value: String).void }
|
|
32
|
+
def type=(value)
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
sig { void }
|
|
36
|
+
def clear_type
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
sig { returns(T::Boolean) }
|
|
40
|
+
def non_retryable
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
sig { params(value: T::Boolean).void }
|
|
44
|
+
def non_retryable=(value)
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
sig { void }
|
|
48
|
+
def clear_non_retryable
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
sig { returns(T.nilable(Temporalio::Api::Common::V1::Payloads)) }
|
|
52
|
+
def details
|
|
53
|
+
end
|
|
54
|
+
|
|
55
|
+
sig { params(value: T.nilable(Temporalio::Api::Common::V1::Payloads)).void }
|
|
56
|
+
def details=(value)
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
sig { void }
|
|
60
|
+
def clear_details
|
|
61
|
+
end
|
|
62
|
+
|
|
63
|
+
# next_retry_delay can be used by the client to override the activity
|
|
64
|
+
# retry interval calculated by the retry policy. Retry attempts will
|
|
65
|
+
# still be subject to the maximum retries limit and total time limit
|
|
66
|
+
# defined by the policy.
|
|
67
|
+
sig { returns(T.nilable(Google::Protobuf::Duration)) }
|
|
68
|
+
def next_retry_delay
|
|
69
|
+
end
|
|
70
|
+
|
|
71
|
+
# next_retry_delay can be used by the client to override the activity
|
|
72
|
+
# retry interval calculated by the retry policy. Retry attempts will
|
|
73
|
+
# still be subject to the maximum retries limit and total time limit
|
|
74
|
+
# defined by the policy.
|
|
75
|
+
sig { params(value: T.nilable(Google::Protobuf::Duration)).void }
|
|
76
|
+
def next_retry_delay=(value)
|
|
77
|
+
end
|
|
78
|
+
|
|
79
|
+
# next_retry_delay can be used by the client to override the activity
|
|
80
|
+
# retry interval calculated by the retry policy. Retry attempts will
|
|
81
|
+
# still be subject to the maximum retries limit and total time limit
|
|
82
|
+
# defined by the policy.
|
|
83
|
+
sig { void }
|
|
84
|
+
def clear_next_retry_delay
|
|
85
|
+
end
|
|
86
|
+
|
|
87
|
+
sig { returns(T.any(Symbol, Integer)) }
|
|
88
|
+
def category
|
|
89
|
+
end
|
|
90
|
+
|
|
91
|
+
sig { params(value: T.any(Symbol, String, Integer)).void }
|
|
92
|
+
def category=(value)
|
|
93
|
+
end
|
|
94
|
+
|
|
95
|
+
sig { void }
|
|
96
|
+
def clear_category
|
|
97
|
+
end
|
|
98
|
+
|
|
99
|
+
sig { params(field: String).returns(T.untyped) }
|
|
100
|
+
def [](field)
|
|
101
|
+
end
|
|
102
|
+
|
|
103
|
+
sig { params(field: String, value: T.untyped).void }
|
|
104
|
+
def []=(field, value)
|
|
105
|
+
end
|
|
106
|
+
|
|
107
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
108
|
+
def to_h
|
|
109
|
+
end
|
|
110
|
+
|
|
111
|
+
sig { params(str: String).returns(Temporalio::Api::Failure::V1::ApplicationFailureInfo) }
|
|
112
|
+
def self.decode(str)
|
|
113
|
+
end
|
|
114
|
+
|
|
115
|
+
sig { params(msg: Temporalio::Api::Failure::V1::ApplicationFailureInfo).returns(String) }
|
|
116
|
+
def self.encode(msg)
|
|
117
|
+
end
|
|
118
|
+
|
|
119
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Failure::V1::ApplicationFailureInfo) }
|
|
120
|
+
def self.decode_json(str, **kw)
|
|
121
|
+
end
|
|
122
|
+
|
|
123
|
+
sig { params(msg: Temporalio::Api::Failure::V1::ApplicationFailureInfo, kw: T.untyped).returns(String) }
|
|
124
|
+
def self.encode_json(msg, **kw)
|
|
125
|
+
end
|
|
126
|
+
|
|
127
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
128
|
+
def self.descriptor
|
|
129
|
+
end
|
|
130
|
+
end
|
|
131
|
+
|
|
132
|
+
class Temporalio::Api::Failure::V1::TimeoutFailureInfo
|
|
133
|
+
include ::Google::Protobuf::MessageExts
|
|
134
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
135
|
+
|
|
136
|
+
sig do
|
|
137
|
+
params(
|
|
138
|
+
timeout_type: T.nilable(T.any(Symbol, String, Integer)),
|
|
139
|
+
last_heartbeat_details: T.nilable(Temporalio::Api::Common::V1::Payloads)
|
|
140
|
+
).void
|
|
141
|
+
end
|
|
142
|
+
def initialize(
|
|
143
|
+
timeout_type: :TIMEOUT_TYPE_UNSPECIFIED,
|
|
144
|
+
last_heartbeat_details: nil
|
|
145
|
+
)
|
|
146
|
+
end
|
|
147
|
+
|
|
148
|
+
sig { returns(T.any(Symbol, Integer)) }
|
|
149
|
+
def timeout_type
|
|
150
|
+
end
|
|
151
|
+
|
|
152
|
+
sig { params(value: T.any(Symbol, String, Integer)).void }
|
|
153
|
+
def timeout_type=(value)
|
|
154
|
+
end
|
|
155
|
+
|
|
156
|
+
sig { void }
|
|
157
|
+
def clear_timeout_type
|
|
158
|
+
end
|
|
159
|
+
|
|
160
|
+
sig { returns(T.nilable(Temporalio::Api::Common::V1::Payloads)) }
|
|
161
|
+
def last_heartbeat_details
|
|
162
|
+
end
|
|
163
|
+
|
|
164
|
+
sig { params(value: T.nilable(Temporalio::Api::Common::V1::Payloads)).void }
|
|
165
|
+
def last_heartbeat_details=(value)
|
|
166
|
+
end
|
|
167
|
+
|
|
168
|
+
sig { void }
|
|
169
|
+
def clear_last_heartbeat_details
|
|
170
|
+
end
|
|
171
|
+
|
|
172
|
+
sig { params(field: String).returns(T.untyped) }
|
|
173
|
+
def [](field)
|
|
174
|
+
end
|
|
175
|
+
|
|
176
|
+
sig { params(field: String, value: T.untyped).void }
|
|
177
|
+
def []=(field, value)
|
|
178
|
+
end
|
|
179
|
+
|
|
180
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
181
|
+
def to_h
|
|
182
|
+
end
|
|
183
|
+
|
|
184
|
+
sig { params(str: String).returns(Temporalio::Api::Failure::V1::TimeoutFailureInfo) }
|
|
185
|
+
def self.decode(str)
|
|
186
|
+
end
|
|
187
|
+
|
|
188
|
+
sig { params(msg: Temporalio::Api::Failure::V1::TimeoutFailureInfo).returns(String) }
|
|
189
|
+
def self.encode(msg)
|
|
190
|
+
end
|
|
191
|
+
|
|
192
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Failure::V1::TimeoutFailureInfo) }
|
|
193
|
+
def self.decode_json(str, **kw)
|
|
194
|
+
end
|
|
195
|
+
|
|
196
|
+
sig { params(msg: Temporalio::Api::Failure::V1::TimeoutFailureInfo, kw: T.untyped).returns(String) }
|
|
197
|
+
def self.encode_json(msg, **kw)
|
|
198
|
+
end
|
|
199
|
+
|
|
200
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
201
|
+
def self.descriptor
|
|
202
|
+
end
|
|
203
|
+
end
|
|
204
|
+
|
|
205
|
+
class Temporalio::Api::Failure::V1::CanceledFailureInfo
|
|
206
|
+
include ::Google::Protobuf::MessageExts
|
|
207
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
208
|
+
|
|
209
|
+
sig do
|
|
210
|
+
params(
|
|
211
|
+
details: T.nilable(Temporalio::Api::Common::V1::Payloads),
|
|
212
|
+
identity: T.nilable(String)
|
|
213
|
+
).void
|
|
214
|
+
end
|
|
215
|
+
def initialize(
|
|
216
|
+
details: nil,
|
|
217
|
+
identity: ""
|
|
218
|
+
)
|
|
219
|
+
end
|
|
220
|
+
|
|
221
|
+
sig { returns(T.nilable(Temporalio::Api::Common::V1::Payloads)) }
|
|
222
|
+
def details
|
|
223
|
+
end
|
|
224
|
+
|
|
225
|
+
sig { params(value: T.nilable(Temporalio::Api::Common::V1::Payloads)).void }
|
|
226
|
+
def details=(value)
|
|
227
|
+
end
|
|
228
|
+
|
|
229
|
+
sig { void }
|
|
230
|
+
def clear_details
|
|
231
|
+
end
|
|
232
|
+
|
|
233
|
+
# The identity of the worker or client that requested the cancellation.
|
|
234
|
+
sig { returns(String) }
|
|
235
|
+
def identity
|
|
236
|
+
end
|
|
237
|
+
|
|
238
|
+
# The identity of the worker or client that requested the cancellation.
|
|
239
|
+
sig { params(value: String).void }
|
|
240
|
+
def identity=(value)
|
|
241
|
+
end
|
|
242
|
+
|
|
243
|
+
# The identity of the worker or client that requested the cancellation.
|
|
244
|
+
sig { void }
|
|
245
|
+
def clear_identity
|
|
246
|
+
end
|
|
247
|
+
|
|
248
|
+
sig { params(field: String).returns(T.untyped) }
|
|
249
|
+
def [](field)
|
|
250
|
+
end
|
|
251
|
+
|
|
252
|
+
sig { params(field: String, value: T.untyped).void }
|
|
253
|
+
def []=(field, value)
|
|
254
|
+
end
|
|
255
|
+
|
|
256
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
257
|
+
def to_h
|
|
258
|
+
end
|
|
259
|
+
|
|
260
|
+
sig { params(str: String).returns(Temporalio::Api::Failure::V1::CanceledFailureInfo) }
|
|
261
|
+
def self.decode(str)
|
|
262
|
+
end
|
|
263
|
+
|
|
264
|
+
sig { params(msg: Temporalio::Api::Failure::V1::CanceledFailureInfo).returns(String) }
|
|
265
|
+
def self.encode(msg)
|
|
266
|
+
end
|
|
267
|
+
|
|
268
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Failure::V1::CanceledFailureInfo) }
|
|
269
|
+
def self.decode_json(str, **kw)
|
|
270
|
+
end
|
|
271
|
+
|
|
272
|
+
sig { params(msg: Temporalio::Api::Failure::V1::CanceledFailureInfo, kw: T.untyped).returns(String) }
|
|
273
|
+
def self.encode_json(msg, **kw)
|
|
274
|
+
end
|
|
275
|
+
|
|
276
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
277
|
+
def self.descriptor
|
|
278
|
+
end
|
|
279
|
+
end
|
|
280
|
+
|
|
281
|
+
class Temporalio::Api::Failure::V1::TerminatedFailureInfo
|
|
282
|
+
include ::Google::Protobuf::MessageExts
|
|
283
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
284
|
+
|
|
285
|
+
sig do
|
|
286
|
+
params(
|
|
287
|
+
identity: T.nilable(String)
|
|
288
|
+
).void
|
|
289
|
+
end
|
|
290
|
+
def initialize(
|
|
291
|
+
identity: ""
|
|
292
|
+
)
|
|
293
|
+
end
|
|
294
|
+
|
|
295
|
+
# The identity of the worker or client that requested the termination.
|
|
296
|
+
sig { returns(String) }
|
|
297
|
+
def identity
|
|
298
|
+
end
|
|
299
|
+
|
|
300
|
+
# The identity of the worker or client that requested the termination.
|
|
301
|
+
sig { params(value: String).void }
|
|
302
|
+
def identity=(value)
|
|
303
|
+
end
|
|
304
|
+
|
|
305
|
+
# The identity of the worker or client that requested the termination.
|
|
306
|
+
sig { void }
|
|
307
|
+
def clear_identity
|
|
308
|
+
end
|
|
309
|
+
|
|
310
|
+
sig { params(field: String).returns(T.untyped) }
|
|
311
|
+
def [](field)
|
|
312
|
+
end
|
|
313
|
+
|
|
314
|
+
sig { params(field: String, value: T.untyped).void }
|
|
315
|
+
def []=(field, value)
|
|
316
|
+
end
|
|
317
|
+
|
|
318
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
319
|
+
def to_h
|
|
320
|
+
end
|
|
321
|
+
|
|
322
|
+
sig { params(str: String).returns(Temporalio::Api::Failure::V1::TerminatedFailureInfo) }
|
|
323
|
+
def self.decode(str)
|
|
324
|
+
end
|
|
325
|
+
|
|
326
|
+
sig { params(msg: Temporalio::Api::Failure::V1::TerminatedFailureInfo).returns(String) }
|
|
327
|
+
def self.encode(msg)
|
|
328
|
+
end
|
|
329
|
+
|
|
330
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Failure::V1::TerminatedFailureInfo) }
|
|
331
|
+
def self.decode_json(str, **kw)
|
|
332
|
+
end
|
|
333
|
+
|
|
334
|
+
sig { params(msg: Temporalio::Api::Failure::V1::TerminatedFailureInfo, kw: T.untyped).returns(String) }
|
|
335
|
+
def self.encode_json(msg, **kw)
|
|
336
|
+
end
|
|
337
|
+
|
|
338
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
339
|
+
def self.descriptor
|
|
340
|
+
end
|
|
341
|
+
end
|
|
342
|
+
|
|
343
|
+
class Temporalio::Api::Failure::V1::ServerFailureInfo
|
|
344
|
+
include ::Google::Protobuf::MessageExts
|
|
345
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
346
|
+
|
|
347
|
+
sig do
|
|
348
|
+
params(
|
|
349
|
+
non_retryable: T.nilable(T::Boolean)
|
|
350
|
+
).void
|
|
351
|
+
end
|
|
352
|
+
def initialize(
|
|
353
|
+
non_retryable: false
|
|
354
|
+
)
|
|
355
|
+
end
|
|
356
|
+
|
|
357
|
+
sig { returns(T::Boolean) }
|
|
358
|
+
def non_retryable
|
|
359
|
+
end
|
|
360
|
+
|
|
361
|
+
sig { params(value: T::Boolean).void }
|
|
362
|
+
def non_retryable=(value)
|
|
363
|
+
end
|
|
364
|
+
|
|
365
|
+
sig { void }
|
|
366
|
+
def clear_non_retryable
|
|
367
|
+
end
|
|
368
|
+
|
|
369
|
+
sig { params(field: String).returns(T.untyped) }
|
|
370
|
+
def [](field)
|
|
371
|
+
end
|
|
372
|
+
|
|
373
|
+
sig { params(field: String, value: T.untyped).void }
|
|
374
|
+
def []=(field, value)
|
|
375
|
+
end
|
|
376
|
+
|
|
377
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
378
|
+
def to_h
|
|
379
|
+
end
|
|
380
|
+
|
|
381
|
+
sig { params(str: String).returns(Temporalio::Api::Failure::V1::ServerFailureInfo) }
|
|
382
|
+
def self.decode(str)
|
|
383
|
+
end
|
|
384
|
+
|
|
385
|
+
sig { params(msg: Temporalio::Api::Failure::V1::ServerFailureInfo).returns(String) }
|
|
386
|
+
def self.encode(msg)
|
|
387
|
+
end
|
|
388
|
+
|
|
389
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Failure::V1::ServerFailureInfo) }
|
|
390
|
+
def self.decode_json(str, **kw)
|
|
391
|
+
end
|
|
392
|
+
|
|
393
|
+
sig { params(msg: Temporalio::Api::Failure::V1::ServerFailureInfo, kw: T.untyped).returns(String) }
|
|
394
|
+
def self.encode_json(msg, **kw)
|
|
395
|
+
end
|
|
396
|
+
|
|
397
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
398
|
+
def self.descriptor
|
|
399
|
+
end
|
|
400
|
+
end
|
|
401
|
+
|
|
402
|
+
class Temporalio::Api::Failure::V1::ResetWorkflowFailureInfo
|
|
403
|
+
include ::Google::Protobuf::MessageExts
|
|
404
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
405
|
+
|
|
406
|
+
sig do
|
|
407
|
+
params(
|
|
408
|
+
last_heartbeat_details: T.nilable(Temporalio::Api::Common::V1::Payloads)
|
|
409
|
+
).void
|
|
410
|
+
end
|
|
411
|
+
def initialize(
|
|
412
|
+
last_heartbeat_details: nil
|
|
413
|
+
)
|
|
414
|
+
end
|
|
415
|
+
|
|
416
|
+
sig { returns(T.nilable(Temporalio::Api::Common::V1::Payloads)) }
|
|
417
|
+
def last_heartbeat_details
|
|
418
|
+
end
|
|
419
|
+
|
|
420
|
+
sig { params(value: T.nilable(Temporalio::Api::Common::V1::Payloads)).void }
|
|
421
|
+
def last_heartbeat_details=(value)
|
|
422
|
+
end
|
|
423
|
+
|
|
424
|
+
sig { void }
|
|
425
|
+
def clear_last_heartbeat_details
|
|
426
|
+
end
|
|
427
|
+
|
|
428
|
+
sig { params(field: String).returns(T.untyped) }
|
|
429
|
+
def [](field)
|
|
430
|
+
end
|
|
431
|
+
|
|
432
|
+
sig { params(field: String, value: T.untyped).void }
|
|
433
|
+
def []=(field, value)
|
|
434
|
+
end
|
|
435
|
+
|
|
436
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
437
|
+
def to_h
|
|
438
|
+
end
|
|
439
|
+
|
|
440
|
+
sig { params(str: String).returns(Temporalio::Api::Failure::V1::ResetWorkflowFailureInfo) }
|
|
441
|
+
def self.decode(str)
|
|
442
|
+
end
|
|
443
|
+
|
|
444
|
+
sig { params(msg: Temporalio::Api::Failure::V1::ResetWorkflowFailureInfo).returns(String) }
|
|
445
|
+
def self.encode(msg)
|
|
446
|
+
end
|
|
447
|
+
|
|
448
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Failure::V1::ResetWorkflowFailureInfo) }
|
|
449
|
+
def self.decode_json(str, **kw)
|
|
450
|
+
end
|
|
451
|
+
|
|
452
|
+
sig { params(msg: Temporalio::Api::Failure::V1::ResetWorkflowFailureInfo, kw: T.untyped).returns(String) }
|
|
453
|
+
def self.encode_json(msg, **kw)
|
|
454
|
+
end
|
|
455
|
+
|
|
456
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
457
|
+
def self.descriptor
|
|
458
|
+
end
|
|
459
|
+
end
|
|
460
|
+
|
|
461
|
+
class Temporalio::Api::Failure::V1::ActivityFailureInfo
|
|
462
|
+
include ::Google::Protobuf::MessageExts
|
|
463
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
464
|
+
|
|
465
|
+
sig do
|
|
466
|
+
params(
|
|
467
|
+
scheduled_event_id: T.nilable(Integer),
|
|
468
|
+
started_event_id: T.nilable(Integer),
|
|
469
|
+
identity: T.nilable(String),
|
|
470
|
+
activity_type: T.nilable(Temporalio::Api::Common::V1::ActivityType),
|
|
471
|
+
activity_id: T.nilable(String),
|
|
472
|
+
retry_state: T.nilable(T.any(Symbol, String, Integer))
|
|
473
|
+
).void
|
|
474
|
+
end
|
|
475
|
+
def initialize(
|
|
476
|
+
scheduled_event_id: 0,
|
|
477
|
+
started_event_id: 0,
|
|
478
|
+
identity: "",
|
|
479
|
+
activity_type: nil,
|
|
480
|
+
activity_id: "",
|
|
481
|
+
retry_state: :RETRY_STATE_UNSPECIFIED
|
|
482
|
+
)
|
|
483
|
+
end
|
|
484
|
+
|
|
485
|
+
sig { returns(Integer) }
|
|
486
|
+
def scheduled_event_id
|
|
487
|
+
end
|
|
488
|
+
|
|
489
|
+
sig { params(value: Integer).void }
|
|
490
|
+
def scheduled_event_id=(value)
|
|
491
|
+
end
|
|
492
|
+
|
|
493
|
+
sig { void }
|
|
494
|
+
def clear_scheduled_event_id
|
|
495
|
+
end
|
|
496
|
+
|
|
497
|
+
sig { returns(Integer) }
|
|
498
|
+
def started_event_id
|
|
499
|
+
end
|
|
500
|
+
|
|
501
|
+
sig { params(value: Integer).void }
|
|
502
|
+
def started_event_id=(value)
|
|
503
|
+
end
|
|
504
|
+
|
|
505
|
+
sig { void }
|
|
506
|
+
def clear_started_event_id
|
|
507
|
+
end
|
|
508
|
+
|
|
509
|
+
sig { returns(String) }
|
|
510
|
+
def identity
|
|
511
|
+
end
|
|
512
|
+
|
|
513
|
+
sig { params(value: String).void }
|
|
514
|
+
def identity=(value)
|
|
515
|
+
end
|
|
516
|
+
|
|
517
|
+
sig { void }
|
|
518
|
+
def clear_identity
|
|
519
|
+
end
|
|
520
|
+
|
|
521
|
+
sig { returns(T.nilable(Temporalio::Api::Common::V1::ActivityType)) }
|
|
522
|
+
def activity_type
|
|
523
|
+
end
|
|
524
|
+
|
|
525
|
+
sig { params(value: T.nilable(Temporalio::Api::Common::V1::ActivityType)).void }
|
|
526
|
+
def activity_type=(value)
|
|
527
|
+
end
|
|
528
|
+
|
|
529
|
+
sig { void }
|
|
530
|
+
def clear_activity_type
|
|
531
|
+
end
|
|
532
|
+
|
|
533
|
+
sig { returns(String) }
|
|
534
|
+
def activity_id
|
|
535
|
+
end
|
|
536
|
+
|
|
537
|
+
sig { params(value: String).void }
|
|
538
|
+
def activity_id=(value)
|
|
539
|
+
end
|
|
540
|
+
|
|
541
|
+
sig { void }
|
|
542
|
+
def clear_activity_id
|
|
543
|
+
end
|
|
544
|
+
|
|
545
|
+
sig { returns(T.any(Symbol, Integer)) }
|
|
546
|
+
def retry_state
|
|
547
|
+
end
|
|
548
|
+
|
|
549
|
+
sig { params(value: T.any(Symbol, String, Integer)).void }
|
|
550
|
+
def retry_state=(value)
|
|
551
|
+
end
|
|
552
|
+
|
|
553
|
+
sig { void }
|
|
554
|
+
def clear_retry_state
|
|
555
|
+
end
|
|
556
|
+
|
|
557
|
+
sig { params(field: String).returns(T.untyped) }
|
|
558
|
+
def [](field)
|
|
559
|
+
end
|
|
560
|
+
|
|
561
|
+
sig { params(field: String, value: T.untyped).void }
|
|
562
|
+
def []=(field, value)
|
|
563
|
+
end
|
|
564
|
+
|
|
565
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
566
|
+
def to_h
|
|
567
|
+
end
|
|
568
|
+
|
|
569
|
+
sig { params(str: String).returns(Temporalio::Api::Failure::V1::ActivityFailureInfo) }
|
|
570
|
+
def self.decode(str)
|
|
571
|
+
end
|
|
572
|
+
|
|
573
|
+
sig { params(msg: Temporalio::Api::Failure::V1::ActivityFailureInfo).returns(String) }
|
|
574
|
+
def self.encode(msg)
|
|
575
|
+
end
|
|
576
|
+
|
|
577
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Failure::V1::ActivityFailureInfo) }
|
|
578
|
+
def self.decode_json(str, **kw)
|
|
579
|
+
end
|
|
580
|
+
|
|
581
|
+
sig { params(msg: Temporalio::Api::Failure::V1::ActivityFailureInfo, kw: T.untyped).returns(String) }
|
|
582
|
+
def self.encode_json(msg, **kw)
|
|
583
|
+
end
|
|
584
|
+
|
|
585
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
586
|
+
def self.descriptor
|
|
587
|
+
end
|
|
588
|
+
end
|
|
589
|
+
|
|
590
|
+
class Temporalio::Api::Failure::V1::ChildWorkflowExecutionFailureInfo
|
|
591
|
+
include ::Google::Protobuf::MessageExts
|
|
592
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
593
|
+
|
|
594
|
+
sig do
|
|
595
|
+
params(
|
|
596
|
+
namespace: T.nilable(String),
|
|
597
|
+
workflow_execution: T.nilable(Temporalio::Api::Common::V1::WorkflowExecution),
|
|
598
|
+
workflow_type: T.nilable(Temporalio::Api::Common::V1::WorkflowType),
|
|
599
|
+
initiated_event_id: T.nilable(Integer),
|
|
600
|
+
started_event_id: T.nilable(Integer),
|
|
601
|
+
retry_state: T.nilable(T.any(Symbol, String, Integer))
|
|
602
|
+
).void
|
|
603
|
+
end
|
|
604
|
+
def initialize(
|
|
605
|
+
namespace: "",
|
|
606
|
+
workflow_execution: nil,
|
|
607
|
+
workflow_type: nil,
|
|
608
|
+
initiated_event_id: 0,
|
|
609
|
+
started_event_id: 0,
|
|
610
|
+
retry_state: :RETRY_STATE_UNSPECIFIED
|
|
611
|
+
)
|
|
612
|
+
end
|
|
613
|
+
|
|
614
|
+
sig { returns(String) }
|
|
615
|
+
def namespace
|
|
616
|
+
end
|
|
617
|
+
|
|
618
|
+
sig { params(value: String).void }
|
|
619
|
+
def namespace=(value)
|
|
620
|
+
end
|
|
621
|
+
|
|
622
|
+
sig { void }
|
|
623
|
+
def clear_namespace
|
|
624
|
+
end
|
|
625
|
+
|
|
626
|
+
sig { returns(T.nilable(Temporalio::Api::Common::V1::WorkflowExecution)) }
|
|
627
|
+
def workflow_execution
|
|
628
|
+
end
|
|
629
|
+
|
|
630
|
+
sig { params(value: T.nilable(Temporalio::Api::Common::V1::WorkflowExecution)).void }
|
|
631
|
+
def workflow_execution=(value)
|
|
632
|
+
end
|
|
633
|
+
|
|
634
|
+
sig { void }
|
|
635
|
+
def clear_workflow_execution
|
|
636
|
+
end
|
|
637
|
+
|
|
638
|
+
sig { returns(T.nilable(Temporalio::Api::Common::V1::WorkflowType)) }
|
|
639
|
+
def workflow_type
|
|
640
|
+
end
|
|
641
|
+
|
|
642
|
+
sig { params(value: T.nilable(Temporalio::Api::Common::V1::WorkflowType)).void }
|
|
643
|
+
def workflow_type=(value)
|
|
644
|
+
end
|
|
645
|
+
|
|
646
|
+
sig { void }
|
|
647
|
+
def clear_workflow_type
|
|
648
|
+
end
|
|
649
|
+
|
|
650
|
+
sig { returns(Integer) }
|
|
651
|
+
def initiated_event_id
|
|
652
|
+
end
|
|
653
|
+
|
|
654
|
+
sig { params(value: Integer).void }
|
|
655
|
+
def initiated_event_id=(value)
|
|
656
|
+
end
|
|
657
|
+
|
|
658
|
+
sig { void }
|
|
659
|
+
def clear_initiated_event_id
|
|
660
|
+
end
|
|
661
|
+
|
|
662
|
+
sig { returns(Integer) }
|
|
663
|
+
def started_event_id
|
|
664
|
+
end
|
|
665
|
+
|
|
666
|
+
sig { params(value: Integer).void }
|
|
667
|
+
def started_event_id=(value)
|
|
668
|
+
end
|
|
669
|
+
|
|
670
|
+
sig { void }
|
|
671
|
+
def clear_started_event_id
|
|
672
|
+
end
|
|
673
|
+
|
|
674
|
+
sig { returns(T.any(Symbol, Integer)) }
|
|
675
|
+
def retry_state
|
|
676
|
+
end
|
|
677
|
+
|
|
678
|
+
sig { params(value: T.any(Symbol, String, Integer)).void }
|
|
679
|
+
def retry_state=(value)
|
|
680
|
+
end
|
|
681
|
+
|
|
682
|
+
sig { void }
|
|
683
|
+
def clear_retry_state
|
|
684
|
+
end
|
|
685
|
+
|
|
686
|
+
sig { params(field: String).returns(T.untyped) }
|
|
687
|
+
def [](field)
|
|
688
|
+
end
|
|
689
|
+
|
|
690
|
+
sig { params(field: String, value: T.untyped).void }
|
|
691
|
+
def []=(field, value)
|
|
692
|
+
end
|
|
693
|
+
|
|
694
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
695
|
+
def to_h
|
|
696
|
+
end
|
|
697
|
+
|
|
698
|
+
sig { params(str: String).returns(Temporalio::Api::Failure::V1::ChildWorkflowExecutionFailureInfo) }
|
|
699
|
+
def self.decode(str)
|
|
700
|
+
end
|
|
701
|
+
|
|
702
|
+
sig { params(msg: Temporalio::Api::Failure::V1::ChildWorkflowExecutionFailureInfo).returns(String) }
|
|
703
|
+
def self.encode(msg)
|
|
704
|
+
end
|
|
705
|
+
|
|
706
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Failure::V1::ChildWorkflowExecutionFailureInfo) }
|
|
707
|
+
def self.decode_json(str, **kw)
|
|
708
|
+
end
|
|
709
|
+
|
|
710
|
+
sig { params(msg: Temporalio::Api::Failure::V1::ChildWorkflowExecutionFailureInfo, kw: T.untyped).returns(String) }
|
|
711
|
+
def self.encode_json(msg, **kw)
|
|
712
|
+
end
|
|
713
|
+
|
|
714
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
715
|
+
def self.descriptor
|
|
716
|
+
end
|
|
717
|
+
end
|
|
718
|
+
|
|
719
|
+
# Representation of the Temporal SDK NexusOperationError object that is returned to workflow callers.
|
|
720
|
+
class Temporalio::Api::Failure::V1::NexusOperationFailureInfo
|
|
721
|
+
include ::Google::Protobuf::MessageExts
|
|
722
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
723
|
+
|
|
724
|
+
sig do
|
|
725
|
+
params(
|
|
726
|
+
scheduled_event_id: T.nilable(Integer),
|
|
727
|
+
endpoint: T.nilable(String),
|
|
728
|
+
service: T.nilable(String),
|
|
729
|
+
operation: T.nilable(String),
|
|
730
|
+
operation_id: T.nilable(String),
|
|
731
|
+
operation_token: T.nilable(String)
|
|
732
|
+
).void
|
|
733
|
+
end
|
|
734
|
+
def initialize(
|
|
735
|
+
scheduled_event_id: 0,
|
|
736
|
+
endpoint: "",
|
|
737
|
+
service: "",
|
|
738
|
+
operation: "",
|
|
739
|
+
operation_id: "",
|
|
740
|
+
operation_token: ""
|
|
741
|
+
)
|
|
742
|
+
end
|
|
743
|
+
|
|
744
|
+
# The NexusOperationScheduled event ID.
|
|
745
|
+
sig { returns(Integer) }
|
|
746
|
+
def scheduled_event_id
|
|
747
|
+
end
|
|
748
|
+
|
|
749
|
+
# The NexusOperationScheduled event ID.
|
|
750
|
+
sig { params(value: Integer).void }
|
|
751
|
+
def scheduled_event_id=(value)
|
|
752
|
+
end
|
|
753
|
+
|
|
754
|
+
# The NexusOperationScheduled event ID.
|
|
755
|
+
sig { void }
|
|
756
|
+
def clear_scheduled_event_id
|
|
757
|
+
end
|
|
758
|
+
|
|
759
|
+
# Endpoint name.
|
|
760
|
+
sig { returns(String) }
|
|
761
|
+
def endpoint
|
|
762
|
+
end
|
|
763
|
+
|
|
764
|
+
# Endpoint name.
|
|
765
|
+
sig { params(value: String).void }
|
|
766
|
+
def endpoint=(value)
|
|
767
|
+
end
|
|
768
|
+
|
|
769
|
+
# Endpoint name.
|
|
770
|
+
sig { void }
|
|
771
|
+
def clear_endpoint
|
|
772
|
+
end
|
|
773
|
+
|
|
774
|
+
# Service name.
|
|
775
|
+
sig { returns(String) }
|
|
776
|
+
def service
|
|
777
|
+
end
|
|
778
|
+
|
|
779
|
+
# Service name.
|
|
780
|
+
sig { params(value: String).void }
|
|
781
|
+
def service=(value)
|
|
782
|
+
end
|
|
783
|
+
|
|
784
|
+
# Service name.
|
|
785
|
+
sig { void }
|
|
786
|
+
def clear_service
|
|
787
|
+
end
|
|
788
|
+
|
|
789
|
+
# Operation name.
|
|
790
|
+
sig { returns(String) }
|
|
791
|
+
def operation
|
|
792
|
+
end
|
|
793
|
+
|
|
794
|
+
# Operation name.
|
|
795
|
+
sig { params(value: String).void }
|
|
796
|
+
def operation=(value)
|
|
797
|
+
end
|
|
798
|
+
|
|
799
|
+
# Operation name.
|
|
800
|
+
sig { void }
|
|
801
|
+
def clear_operation
|
|
802
|
+
end
|
|
803
|
+
|
|
804
|
+
# Operation ID - may be empty if the operation completed synchronously.
|
|
805
|
+
#
|
|
806
|
+
# Deprecated. Renamed to operation_token.
|
|
807
|
+
sig { returns(String) }
|
|
808
|
+
def operation_id
|
|
809
|
+
end
|
|
810
|
+
|
|
811
|
+
# Operation ID - may be empty if the operation completed synchronously.
|
|
812
|
+
#
|
|
813
|
+
# Deprecated. Renamed to operation_token.
|
|
814
|
+
sig { params(value: String).void }
|
|
815
|
+
def operation_id=(value)
|
|
816
|
+
end
|
|
817
|
+
|
|
818
|
+
# Operation ID - may be empty if the operation completed synchronously.
|
|
819
|
+
#
|
|
820
|
+
# Deprecated. Renamed to operation_token.
|
|
821
|
+
sig { void }
|
|
822
|
+
def clear_operation_id
|
|
823
|
+
end
|
|
824
|
+
|
|
825
|
+
# Operation token - may be empty if the operation completed synchronously.
|
|
826
|
+
sig { returns(String) }
|
|
827
|
+
def operation_token
|
|
828
|
+
end
|
|
829
|
+
|
|
830
|
+
# Operation token - may be empty if the operation completed synchronously.
|
|
831
|
+
sig { params(value: String).void }
|
|
832
|
+
def operation_token=(value)
|
|
833
|
+
end
|
|
834
|
+
|
|
835
|
+
# Operation token - may be empty if the operation completed synchronously.
|
|
836
|
+
sig { void }
|
|
837
|
+
def clear_operation_token
|
|
838
|
+
end
|
|
839
|
+
|
|
840
|
+
sig { params(field: String).returns(T.untyped) }
|
|
841
|
+
def [](field)
|
|
842
|
+
end
|
|
843
|
+
|
|
844
|
+
sig { params(field: String, value: T.untyped).void }
|
|
845
|
+
def []=(field, value)
|
|
846
|
+
end
|
|
847
|
+
|
|
848
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
849
|
+
def to_h
|
|
850
|
+
end
|
|
851
|
+
|
|
852
|
+
sig { params(str: String).returns(Temporalio::Api::Failure::V1::NexusOperationFailureInfo) }
|
|
853
|
+
def self.decode(str)
|
|
854
|
+
end
|
|
855
|
+
|
|
856
|
+
sig { params(msg: Temporalio::Api::Failure::V1::NexusOperationFailureInfo).returns(String) }
|
|
857
|
+
def self.encode(msg)
|
|
858
|
+
end
|
|
859
|
+
|
|
860
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Failure::V1::NexusOperationFailureInfo) }
|
|
861
|
+
def self.decode_json(str, **kw)
|
|
862
|
+
end
|
|
863
|
+
|
|
864
|
+
sig { params(msg: Temporalio::Api::Failure::V1::NexusOperationFailureInfo, kw: T.untyped).returns(String) }
|
|
865
|
+
def self.encode_json(msg, **kw)
|
|
866
|
+
end
|
|
867
|
+
|
|
868
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
869
|
+
def self.descriptor
|
|
870
|
+
end
|
|
871
|
+
end
|
|
872
|
+
|
|
873
|
+
class Temporalio::Api::Failure::V1::NexusHandlerFailureInfo
|
|
874
|
+
include ::Google::Protobuf::MessageExts
|
|
875
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
876
|
+
|
|
877
|
+
sig do
|
|
878
|
+
params(
|
|
879
|
+
type: T.nilable(String),
|
|
880
|
+
retry_behavior: T.nilable(T.any(Symbol, String, Integer))
|
|
881
|
+
).void
|
|
882
|
+
end
|
|
883
|
+
def initialize(
|
|
884
|
+
type: "",
|
|
885
|
+
retry_behavior: :NEXUS_HANDLER_ERROR_RETRY_BEHAVIOR_UNSPECIFIED
|
|
886
|
+
)
|
|
887
|
+
end
|
|
888
|
+
|
|
889
|
+
# The Nexus error type as defined in the spec:
|
|
890
|
+
# https://github.com/nexus-rpc/api/blob/main/SPEC.md#predefined-handler-errors.
|
|
891
|
+
sig { returns(String) }
|
|
892
|
+
def type
|
|
893
|
+
end
|
|
894
|
+
|
|
895
|
+
# The Nexus error type as defined in the spec:
|
|
896
|
+
# https://github.com/nexus-rpc/api/blob/main/SPEC.md#predefined-handler-errors.
|
|
897
|
+
sig { params(value: String).void }
|
|
898
|
+
def type=(value)
|
|
899
|
+
end
|
|
900
|
+
|
|
901
|
+
# The Nexus error type as defined in the spec:
|
|
902
|
+
# https://github.com/nexus-rpc/api/blob/main/SPEC.md#predefined-handler-errors.
|
|
903
|
+
sig { void }
|
|
904
|
+
def clear_type
|
|
905
|
+
end
|
|
906
|
+
|
|
907
|
+
# Retry behavior, defaults to the retry behavior of the error type as defined in the spec.
|
|
908
|
+
sig { returns(T.any(Symbol, Integer)) }
|
|
909
|
+
def retry_behavior
|
|
910
|
+
end
|
|
911
|
+
|
|
912
|
+
# Retry behavior, defaults to the retry behavior of the error type as defined in the spec.
|
|
913
|
+
sig { params(value: T.any(Symbol, String, Integer)).void }
|
|
914
|
+
def retry_behavior=(value)
|
|
915
|
+
end
|
|
916
|
+
|
|
917
|
+
# Retry behavior, defaults to the retry behavior of the error type as defined in the spec.
|
|
918
|
+
sig { void }
|
|
919
|
+
def clear_retry_behavior
|
|
920
|
+
end
|
|
921
|
+
|
|
922
|
+
sig { params(field: String).returns(T.untyped) }
|
|
923
|
+
def [](field)
|
|
924
|
+
end
|
|
925
|
+
|
|
926
|
+
sig { params(field: String, value: T.untyped).void }
|
|
927
|
+
def []=(field, value)
|
|
928
|
+
end
|
|
929
|
+
|
|
930
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
931
|
+
def to_h
|
|
932
|
+
end
|
|
933
|
+
|
|
934
|
+
sig { params(str: String).returns(Temporalio::Api::Failure::V1::NexusHandlerFailureInfo) }
|
|
935
|
+
def self.decode(str)
|
|
936
|
+
end
|
|
937
|
+
|
|
938
|
+
sig { params(msg: Temporalio::Api::Failure::V1::NexusHandlerFailureInfo).returns(String) }
|
|
939
|
+
def self.encode(msg)
|
|
940
|
+
end
|
|
941
|
+
|
|
942
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Failure::V1::NexusHandlerFailureInfo) }
|
|
943
|
+
def self.decode_json(str, **kw)
|
|
944
|
+
end
|
|
945
|
+
|
|
946
|
+
sig { params(msg: Temporalio::Api::Failure::V1::NexusHandlerFailureInfo, kw: T.untyped).returns(String) }
|
|
947
|
+
def self.encode_json(msg, **kw)
|
|
948
|
+
end
|
|
949
|
+
|
|
950
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
951
|
+
def self.descriptor
|
|
952
|
+
end
|
|
953
|
+
end
|
|
954
|
+
|
|
955
|
+
class Temporalio::Api::Failure::V1::Failure
|
|
956
|
+
include ::Google::Protobuf::MessageExts
|
|
957
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
958
|
+
|
|
959
|
+
sig do
|
|
960
|
+
params(
|
|
961
|
+
message: T.nilable(String),
|
|
962
|
+
source: T.nilable(String),
|
|
963
|
+
stack_trace: T.nilable(String),
|
|
964
|
+
encoded_attributes: T.nilable(Temporalio::Api::Common::V1::Payload),
|
|
965
|
+
cause: T.nilable(Temporalio::Api::Failure::V1::Failure),
|
|
966
|
+
application_failure_info: T.nilable(Temporalio::Api::Failure::V1::ApplicationFailureInfo),
|
|
967
|
+
timeout_failure_info: T.nilable(Temporalio::Api::Failure::V1::TimeoutFailureInfo),
|
|
968
|
+
canceled_failure_info: T.nilable(Temporalio::Api::Failure::V1::CanceledFailureInfo),
|
|
969
|
+
terminated_failure_info: T.nilable(Temporalio::Api::Failure::V1::TerminatedFailureInfo),
|
|
970
|
+
server_failure_info: T.nilable(Temporalio::Api::Failure::V1::ServerFailureInfo),
|
|
971
|
+
reset_workflow_failure_info: T.nilable(Temporalio::Api::Failure::V1::ResetWorkflowFailureInfo),
|
|
972
|
+
activity_failure_info: T.nilable(Temporalio::Api::Failure::V1::ActivityFailureInfo),
|
|
973
|
+
child_workflow_execution_failure_info: T.nilable(Temporalio::Api::Failure::V1::ChildWorkflowExecutionFailureInfo),
|
|
974
|
+
nexus_operation_execution_failure_info: T.nilable(Temporalio::Api::Failure::V1::NexusOperationFailureInfo),
|
|
975
|
+
nexus_handler_failure_info: T.nilable(Temporalio::Api::Failure::V1::NexusHandlerFailureInfo)
|
|
976
|
+
).void
|
|
977
|
+
end
|
|
978
|
+
def initialize(
|
|
979
|
+
message: "",
|
|
980
|
+
source: "",
|
|
981
|
+
stack_trace: "",
|
|
982
|
+
encoded_attributes: nil,
|
|
983
|
+
cause: nil,
|
|
984
|
+
application_failure_info: nil,
|
|
985
|
+
timeout_failure_info: nil,
|
|
986
|
+
canceled_failure_info: nil,
|
|
987
|
+
terminated_failure_info: nil,
|
|
988
|
+
server_failure_info: nil,
|
|
989
|
+
reset_workflow_failure_info: nil,
|
|
990
|
+
activity_failure_info: nil,
|
|
991
|
+
child_workflow_execution_failure_info: nil,
|
|
992
|
+
nexus_operation_execution_failure_info: nil,
|
|
993
|
+
nexus_handler_failure_info: nil
|
|
994
|
+
)
|
|
995
|
+
end
|
|
996
|
+
|
|
997
|
+
sig { returns(String) }
|
|
998
|
+
def message
|
|
999
|
+
end
|
|
1000
|
+
|
|
1001
|
+
sig { params(value: String).void }
|
|
1002
|
+
def message=(value)
|
|
1003
|
+
end
|
|
1004
|
+
|
|
1005
|
+
sig { void }
|
|
1006
|
+
def clear_message
|
|
1007
|
+
end
|
|
1008
|
+
|
|
1009
|
+
# The source this Failure originated in, e.g. TypeScriptSDK / JavaSDK
|
|
1010
|
+
# In some SDKs this is used to rehydrate the stack trace into an exception object.
|
|
1011
|
+
sig { returns(String) }
|
|
1012
|
+
def source
|
|
1013
|
+
end
|
|
1014
|
+
|
|
1015
|
+
# The source this Failure originated in, e.g. TypeScriptSDK / JavaSDK
|
|
1016
|
+
# In some SDKs this is used to rehydrate the stack trace into an exception object.
|
|
1017
|
+
sig { params(value: String).void }
|
|
1018
|
+
def source=(value)
|
|
1019
|
+
end
|
|
1020
|
+
|
|
1021
|
+
# The source this Failure originated in, e.g. TypeScriptSDK / JavaSDK
|
|
1022
|
+
# In some SDKs this is used to rehydrate the stack trace into an exception object.
|
|
1023
|
+
sig { void }
|
|
1024
|
+
def clear_source
|
|
1025
|
+
end
|
|
1026
|
+
|
|
1027
|
+
sig { returns(String) }
|
|
1028
|
+
def stack_trace
|
|
1029
|
+
end
|
|
1030
|
+
|
|
1031
|
+
sig { params(value: String).void }
|
|
1032
|
+
def stack_trace=(value)
|
|
1033
|
+
end
|
|
1034
|
+
|
|
1035
|
+
sig { void }
|
|
1036
|
+
def clear_stack_trace
|
|
1037
|
+
end
|
|
1038
|
+
|
|
1039
|
+
# Alternative way to supply `message` and `stack_trace` and possibly other attributes, used for encryption of
|
|
1040
|
+
# errors originating in user code which might contain sensitive information.
|
|
1041
|
+
# The `encoded_attributes` Payload could represent any serializable object, e.g. JSON object or a `Failure` proto
|
|
1042
|
+
# message.
|
|
1043
|
+
#
|
|
1044
|
+
# SDK authors:
|
|
1045
|
+
# - The SDK should provide a default `encodeFailureAttributes` and `decodeFailureAttributes` implementation that:
|
|
1046
|
+
# - Uses a JSON object to represent `{ message, stack_trace }`.
|
|
1047
|
+
# - Overwrites the original message with "Encoded failure" to indicate that more information could be extracted.
|
|
1048
|
+
# - Overwrites the original stack_trace with an empty string.
|
|
1049
|
+
# - The resulting JSON object is converted to Payload using the default PayloadConverter and should be processed
|
|
1050
|
+
# by the user-provided PayloadCodec
|
|
1051
|
+
#
|
|
1052
|
+
# - If there's demand, we could allow overriding the default SDK implementation to encode other opaque Failure attributes.
|
|
1053
|
+
# (-- api-linter: core::0203::optional=disabled --)
|
|
1054
|
+
sig { returns(T.nilable(Temporalio::Api::Common::V1::Payload)) }
|
|
1055
|
+
def encoded_attributes
|
|
1056
|
+
end
|
|
1057
|
+
|
|
1058
|
+
# Alternative way to supply `message` and `stack_trace` and possibly other attributes, used for encryption of
|
|
1059
|
+
# errors originating in user code which might contain sensitive information.
|
|
1060
|
+
# The `encoded_attributes` Payload could represent any serializable object, e.g. JSON object or a `Failure` proto
|
|
1061
|
+
# message.
|
|
1062
|
+
#
|
|
1063
|
+
# SDK authors:
|
|
1064
|
+
# - The SDK should provide a default `encodeFailureAttributes` and `decodeFailureAttributes` implementation that:
|
|
1065
|
+
# - Uses a JSON object to represent `{ message, stack_trace }`.
|
|
1066
|
+
# - Overwrites the original message with "Encoded failure" to indicate that more information could be extracted.
|
|
1067
|
+
# - Overwrites the original stack_trace with an empty string.
|
|
1068
|
+
# - The resulting JSON object is converted to Payload using the default PayloadConverter and should be processed
|
|
1069
|
+
# by the user-provided PayloadCodec
|
|
1070
|
+
#
|
|
1071
|
+
# - If there's demand, we could allow overriding the default SDK implementation to encode other opaque Failure attributes.
|
|
1072
|
+
# (-- api-linter: core::0203::optional=disabled --)
|
|
1073
|
+
sig { params(value: T.nilable(Temporalio::Api::Common::V1::Payload)).void }
|
|
1074
|
+
def encoded_attributes=(value)
|
|
1075
|
+
end
|
|
1076
|
+
|
|
1077
|
+
# Alternative way to supply `message` and `stack_trace` and possibly other attributes, used for encryption of
|
|
1078
|
+
# errors originating in user code which might contain sensitive information.
|
|
1079
|
+
# The `encoded_attributes` Payload could represent any serializable object, e.g. JSON object or a `Failure` proto
|
|
1080
|
+
# message.
|
|
1081
|
+
#
|
|
1082
|
+
# SDK authors:
|
|
1083
|
+
# - The SDK should provide a default `encodeFailureAttributes` and `decodeFailureAttributes` implementation that:
|
|
1084
|
+
# - Uses a JSON object to represent `{ message, stack_trace }`.
|
|
1085
|
+
# - Overwrites the original message with "Encoded failure" to indicate that more information could be extracted.
|
|
1086
|
+
# - Overwrites the original stack_trace with an empty string.
|
|
1087
|
+
# - The resulting JSON object is converted to Payload using the default PayloadConverter and should be processed
|
|
1088
|
+
# by the user-provided PayloadCodec
|
|
1089
|
+
#
|
|
1090
|
+
# - If there's demand, we could allow overriding the default SDK implementation to encode other opaque Failure attributes.
|
|
1091
|
+
# (-- api-linter: core::0203::optional=disabled --)
|
|
1092
|
+
sig { void }
|
|
1093
|
+
def clear_encoded_attributes
|
|
1094
|
+
end
|
|
1095
|
+
|
|
1096
|
+
sig { returns(T.nilable(Temporalio::Api::Failure::V1::Failure)) }
|
|
1097
|
+
def cause
|
|
1098
|
+
end
|
|
1099
|
+
|
|
1100
|
+
sig { params(value: T.nilable(Temporalio::Api::Failure::V1::Failure)).void }
|
|
1101
|
+
def cause=(value)
|
|
1102
|
+
end
|
|
1103
|
+
|
|
1104
|
+
sig { void }
|
|
1105
|
+
def clear_cause
|
|
1106
|
+
end
|
|
1107
|
+
|
|
1108
|
+
sig { returns(T.nilable(Temporalio::Api::Failure::V1::ApplicationFailureInfo)) }
|
|
1109
|
+
def application_failure_info
|
|
1110
|
+
end
|
|
1111
|
+
|
|
1112
|
+
sig { params(value: T.nilable(Temporalio::Api::Failure::V1::ApplicationFailureInfo)).void }
|
|
1113
|
+
def application_failure_info=(value)
|
|
1114
|
+
end
|
|
1115
|
+
|
|
1116
|
+
sig { void }
|
|
1117
|
+
def clear_application_failure_info
|
|
1118
|
+
end
|
|
1119
|
+
|
|
1120
|
+
sig { returns(T.nilable(Temporalio::Api::Failure::V1::TimeoutFailureInfo)) }
|
|
1121
|
+
def timeout_failure_info
|
|
1122
|
+
end
|
|
1123
|
+
|
|
1124
|
+
sig { params(value: T.nilable(Temporalio::Api::Failure::V1::TimeoutFailureInfo)).void }
|
|
1125
|
+
def timeout_failure_info=(value)
|
|
1126
|
+
end
|
|
1127
|
+
|
|
1128
|
+
sig { void }
|
|
1129
|
+
def clear_timeout_failure_info
|
|
1130
|
+
end
|
|
1131
|
+
|
|
1132
|
+
sig { returns(T.nilable(Temporalio::Api::Failure::V1::CanceledFailureInfo)) }
|
|
1133
|
+
def canceled_failure_info
|
|
1134
|
+
end
|
|
1135
|
+
|
|
1136
|
+
sig { params(value: T.nilable(Temporalio::Api::Failure::V1::CanceledFailureInfo)).void }
|
|
1137
|
+
def canceled_failure_info=(value)
|
|
1138
|
+
end
|
|
1139
|
+
|
|
1140
|
+
sig { void }
|
|
1141
|
+
def clear_canceled_failure_info
|
|
1142
|
+
end
|
|
1143
|
+
|
|
1144
|
+
sig { returns(T.nilable(Temporalio::Api::Failure::V1::TerminatedFailureInfo)) }
|
|
1145
|
+
def terminated_failure_info
|
|
1146
|
+
end
|
|
1147
|
+
|
|
1148
|
+
sig { params(value: T.nilable(Temporalio::Api::Failure::V1::TerminatedFailureInfo)).void }
|
|
1149
|
+
def terminated_failure_info=(value)
|
|
1150
|
+
end
|
|
1151
|
+
|
|
1152
|
+
sig { void }
|
|
1153
|
+
def clear_terminated_failure_info
|
|
1154
|
+
end
|
|
1155
|
+
|
|
1156
|
+
sig { returns(T.nilable(Temporalio::Api::Failure::V1::ServerFailureInfo)) }
|
|
1157
|
+
def server_failure_info
|
|
1158
|
+
end
|
|
1159
|
+
|
|
1160
|
+
sig { params(value: T.nilable(Temporalio::Api::Failure::V1::ServerFailureInfo)).void }
|
|
1161
|
+
def server_failure_info=(value)
|
|
1162
|
+
end
|
|
1163
|
+
|
|
1164
|
+
sig { void }
|
|
1165
|
+
def clear_server_failure_info
|
|
1166
|
+
end
|
|
1167
|
+
|
|
1168
|
+
sig { returns(T.nilable(Temporalio::Api::Failure::V1::ResetWorkflowFailureInfo)) }
|
|
1169
|
+
def reset_workflow_failure_info
|
|
1170
|
+
end
|
|
1171
|
+
|
|
1172
|
+
sig { params(value: T.nilable(Temporalio::Api::Failure::V1::ResetWorkflowFailureInfo)).void }
|
|
1173
|
+
def reset_workflow_failure_info=(value)
|
|
1174
|
+
end
|
|
1175
|
+
|
|
1176
|
+
sig { void }
|
|
1177
|
+
def clear_reset_workflow_failure_info
|
|
1178
|
+
end
|
|
1179
|
+
|
|
1180
|
+
sig { returns(T.nilable(Temporalio::Api::Failure::V1::ActivityFailureInfo)) }
|
|
1181
|
+
def activity_failure_info
|
|
1182
|
+
end
|
|
1183
|
+
|
|
1184
|
+
sig { params(value: T.nilable(Temporalio::Api::Failure::V1::ActivityFailureInfo)).void }
|
|
1185
|
+
def activity_failure_info=(value)
|
|
1186
|
+
end
|
|
1187
|
+
|
|
1188
|
+
sig { void }
|
|
1189
|
+
def clear_activity_failure_info
|
|
1190
|
+
end
|
|
1191
|
+
|
|
1192
|
+
sig { returns(T.nilable(Temporalio::Api::Failure::V1::ChildWorkflowExecutionFailureInfo)) }
|
|
1193
|
+
def child_workflow_execution_failure_info
|
|
1194
|
+
end
|
|
1195
|
+
|
|
1196
|
+
sig { params(value: T.nilable(Temporalio::Api::Failure::V1::ChildWorkflowExecutionFailureInfo)).void }
|
|
1197
|
+
def child_workflow_execution_failure_info=(value)
|
|
1198
|
+
end
|
|
1199
|
+
|
|
1200
|
+
sig { void }
|
|
1201
|
+
def clear_child_workflow_execution_failure_info
|
|
1202
|
+
end
|
|
1203
|
+
|
|
1204
|
+
sig { returns(T.nilable(Temporalio::Api::Failure::V1::NexusOperationFailureInfo)) }
|
|
1205
|
+
def nexus_operation_execution_failure_info
|
|
1206
|
+
end
|
|
1207
|
+
|
|
1208
|
+
sig { params(value: T.nilable(Temporalio::Api::Failure::V1::NexusOperationFailureInfo)).void }
|
|
1209
|
+
def nexus_operation_execution_failure_info=(value)
|
|
1210
|
+
end
|
|
1211
|
+
|
|
1212
|
+
sig { void }
|
|
1213
|
+
def clear_nexus_operation_execution_failure_info
|
|
1214
|
+
end
|
|
1215
|
+
|
|
1216
|
+
sig { returns(T.nilable(Temporalio::Api::Failure::V1::NexusHandlerFailureInfo)) }
|
|
1217
|
+
def nexus_handler_failure_info
|
|
1218
|
+
end
|
|
1219
|
+
|
|
1220
|
+
sig { params(value: T.nilable(Temporalio::Api::Failure::V1::NexusHandlerFailureInfo)).void }
|
|
1221
|
+
def nexus_handler_failure_info=(value)
|
|
1222
|
+
end
|
|
1223
|
+
|
|
1224
|
+
sig { void }
|
|
1225
|
+
def clear_nexus_handler_failure_info
|
|
1226
|
+
end
|
|
1227
|
+
|
|
1228
|
+
sig { returns(T.nilable(Symbol)) }
|
|
1229
|
+
def failure_info
|
|
1230
|
+
end
|
|
1231
|
+
|
|
1232
|
+
sig { params(field: String).returns(T.untyped) }
|
|
1233
|
+
def [](field)
|
|
1234
|
+
end
|
|
1235
|
+
|
|
1236
|
+
sig { params(field: String, value: T.untyped).void }
|
|
1237
|
+
def []=(field, value)
|
|
1238
|
+
end
|
|
1239
|
+
|
|
1240
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
1241
|
+
def to_h
|
|
1242
|
+
end
|
|
1243
|
+
|
|
1244
|
+
sig { params(str: String).returns(Temporalio::Api::Failure::V1::Failure) }
|
|
1245
|
+
def self.decode(str)
|
|
1246
|
+
end
|
|
1247
|
+
|
|
1248
|
+
sig { params(msg: Temporalio::Api::Failure::V1::Failure).returns(String) }
|
|
1249
|
+
def self.encode(msg)
|
|
1250
|
+
end
|
|
1251
|
+
|
|
1252
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Failure::V1::Failure) }
|
|
1253
|
+
def self.decode_json(str, **kw)
|
|
1254
|
+
end
|
|
1255
|
+
|
|
1256
|
+
sig { params(msg: Temporalio::Api::Failure::V1::Failure, kw: T.untyped).returns(String) }
|
|
1257
|
+
def self.encode_json(msg, **kw)
|
|
1258
|
+
end
|
|
1259
|
+
|
|
1260
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
1261
|
+
def self.descriptor
|
|
1262
|
+
end
|
|
1263
|
+
end
|
|
1264
|
+
|
|
1265
|
+
class Temporalio::Api::Failure::V1::MultiOperationExecutionAborted
|
|
1266
|
+
include ::Google::Protobuf::MessageExts
|
|
1267
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1268
|
+
|
|
1269
|
+
sig {void}
|
|
1270
|
+
def initialize; end
|
|
1271
|
+
|
|
1272
|
+
sig { params(field: String).returns(T.untyped) }
|
|
1273
|
+
def [](field)
|
|
1274
|
+
end
|
|
1275
|
+
|
|
1276
|
+
sig { params(field: String, value: T.untyped).void }
|
|
1277
|
+
def []=(field, value)
|
|
1278
|
+
end
|
|
1279
|
+
|
|
1280
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
1281
|
+
def to_h
|
|
1282
|
+
end
|
|
1283
|
+
|
|
1284
|
+
sig { params(str: String).returns(Temporalio::Api::Failure::V1::MultiOperationExecutionAborted) }
|
|
1285
|
+
def self.decode(str)
|
|
1286
|
+
end
|
|
1287
|
+
|
|
1288
|
+
sig { params(msg: Temporalio::Api::Failure::V1::MultiOperationExecutionAborted).returns(String) }
|
|
1289
|
+
def self.encode(msg)
|
|
1290
|
+
end
|
|
1291
|
+
|
|
1292
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Failure::V1::MultiOperationExecutionAborted) }
|
|
1293
|
+
def self.decode_json(str, **kw)
|
|
1294
|
+
end
|
|
1295
|
+
|
|
1296
|
+
sig { params(msg: Temporalio::Api::Failure::V1::MultiOperationExecutionAborted, kw: T.untyped).returns(String) }
|
|
1297
|
+
def self.encode_json(msg, **kw)
|
|
1298
|
+
end
|
|
1299
|
+
|
|
1300
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
1301
|
+
def self.descriptor
|
|
1302
|
+
end
|
|
1303
|
+
end
|