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,532 @@
|
|
|
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/api/errordetails/v1/message.proto
|
|
7
|
+
|
|
8
|
+
module Temporalio
|
|
9
|
+
module Api
|
|
10
|
+
module ErrorDetails
|
|
11
|
+
module V1
|
|
12
|
+
class NotFoundFailure < ::Google::Protobuf::AbstractMessage
|
|
13
|
+
|
|
14
|
+
attr_reader current_cluster(): ::String
|
|
15
|
+
attr_writer current_cluster(): ::String | ::Symbol
|
|
16
|
+
def clear_current_cluster: () -> void
|
|
17
|
+
|
|
18
|
+
attr_reader active_cluster(): ::String
|
|
19
|
+
attr_writer active_cluster(): ::String | ::Symbol
|
|
20
|
+
def clear_active_cluster: () -> void
|
|
21
|
+
|
|
22
|
+
type init_map = {
|
|
23
|
+
current_cluster: (::String | ::Symbol)?,
|
|
24
|
+
"current_cluster" => (::String | ::Symbol)?,
|
|
25
|
+
active_cluster: (::String | ::Symbol)?,
|
|
26
|
+
"active_cluster" => (::String | ::Symbol)?,
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
def initialize: (?init_map initial_value) -> void
|
|
30
|
+
|
|
31
|
+
def []:
|
|
32
|
+
("current_cluster" name) -> ::String
|
|
33
|
+
| ("active_cluster" name) -> ::String
|
|
34
|
+
|
|
35
|
+
def []=:
|
|
36
|
+
("current_cluster" name, (::String | ::Symbol) value) -> void
|
|
37
|
+
| ("active_cluster" name, (::String | ::Symbol) value) -> void
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
class WorkflowExecutionAlreadyStartedFailure < ::Google::Protobuf::AbstractMessage
|
|
41
|
+
|
|
42
|
+
attr_reader start_request_id(): ::String
|
|
43
|
+
attr_writer start_request_id(): ::String | ::Symbol
|
|
44
|
+
def clear_start_request_id: () -> void
|
|
45
|
+
|
|
46
|
+
attr_reader run_id(): ::String
|
|
47
|
+
attr_writer run_id(): ::String | ::Symbol
|
|
48
|
+
def clear_run_id: () -> void
|
|
49
|
+
|
|
50
|
+
type init_map = {
|
|
51
|
+
start_request_id: (::String | ::Symbol)?,
|
|
52
|
+
"start_request_id" => (::String | ::Symbol)?,
|
|
53
|
+
run_id: (::String | ::Symbol)?,
|
|
54
|
+
"run_id" => (::String | ::Symbol)?,
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
def initialize: (?init_map initial_value) -> void
|
|
58
|
+
|
|
59
|
+
def []:
|
|
60
|
+
("start_request_id" name) -> ::String
|
|
61
|
+
| ("run_id" name) -> ::String
|
|
62
|
+
|
|
63
|
+
def []=:
|
|
64
|
+
("start_request_id" name, (::String | ::Symbol) value) -> void
|
|
65
|
+
| ("run_id" name, (::String | ::Symbol) value) -> void
|
|
66
|
+
end
|
|
67
|
+
|
|
68
|
+
class NamespaceNotActiveFailure < ::Google::Protobuf::AbstractMessage
|
|
69
|
+
|
|
70
|
+
attr_reader namespace(): ::String
|
|
71
|
+
attr_writer namespace(): ::String | ::Symbol
|
|
72
|
+
def clear_namespace: () -> void
|
|
73
|
+
|
|
74
|
+
attr_reader current_cluster(): ::String
|
|
75
|
+
attr_writer current_cluster(): ::String | ::Symbol
|
|
76
|
+
def clear_current_cluster: () -> void
|
|
77
|
+
|
|
78
|
+
attr_reader active_cluster(): ::String
|
|
79
|
+
attr_writer active_cluster(): ::String | ::Symbol
|
|
80
|
+
def clear_active_cluster: () -> void
|
|
81
|
+
|
|
82
|
+
type init_map = {
|
|
83
|
+
namespace: (::String | ::Symbol)?,
|
|
84
|
+
"namespace" => (::String | ::Symbol)?,
|
|
85
|
+
current_cluster: (::String | ::Symbol)?,
|
|
86
|
+
"current_cluster" => (::String | ::Symbol)?,
|
|
87
|
+
active_cluster: (::String | ::Symbol)?,
|
|
88
|
+
"active_cluster" => (::String | ::Symbol)?,
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
def initialize: (?init_map initial_value) -> void
|
|
92
|
+
|
|
93
|
+
def []:
|
|
94
|
+
("namespace" name) -> ::String
|
|
95
|
+
| ("current_cluster" name) -> ::String
|
|
96
|
+
| ("active_cluster" name) -> ::String
|
|
97
|
+
|
|
98
|
+
def []=:
|
|
99
|
+
("namespace" name, (::String | ::Symbol) value) -> void
|
|
100
|
+
| ("current_cluster" name, (::String | ::Symbol) value) -> void
|
|
101
|
+
| ("active_cluster" name, (::String | ::Symbol) value) -> void
|
|
102
|
+
end
|
|
103
|
+
|
|
104
|
+
# NamespaceUnavailableFailure is returned by the service when a request addresses a namespace that is unavailable. For
|
|
105
|
+
# example, when a namespace is in the process of failing over between clusters.
|
|
106
|
+
# This is a transient error that should be automatically retried by clients.
|
|
107
|
+
class NamespaceUnavailableFailure < ::Google::Protobuf::AbstractMessage
|
|
108
|
+
|
|
109
|
+
attr_reader namespace(): ::String
|
|
110
|
+
attr_writer namespace(): ::String | ::Symbol
|
|
111
|
+
def clear_namespace: () -> void
|
|
112
|
+
|
|
113
|
+
type init_map = {
|
|
114
|
+
namespace: (::String | ::Symbol)?,
|
|
115
|
+
"namespace" => (::String | ::Symbol)?,
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
def initialize: (?init_map initial_value) -> void
|
|
119
|
+
|
|
120
|
+
def []:
|
|
121
|
+
("namespace" name) -> ::String
|
|
122
|
+
|
|
123
|
+
def []=:
|
|
124
|
+
("namespace" name, (::String | ::Symbol) value) -> void
|
|
125
|
+
end
|
|
126
|
+
|
|
127
|
+
class NamespaceInvalidStateFailure < ::Google::Protobuf::AbstractMessage
|
|
128
|
+
|
|
129
|
+
attr_reader namespace(): ::String
|
|
130
|
+
attr_writer namespace(): ::String | ::Symbol
|
|
131
|
+
def clear_namespace: () -> void
|
|
132
|
+
|
|
133
|
+
# Current state of the requested namespace.
|
|
134
|
+
attr_reader state(): ::Temporalio::Api::Enums::V1::NamespaceState::names | ::Integer
|
|
135
|
+
attr_writer state(): ::Temporalio::Api::Enums::V1::NamespaceState::names | ::Temporalio::Api::Enums::V1::NamespaceState::strings | ::Integer | ::Float
|
|
136
|
+
attr_reader state_const(): ::Integer
|
|
137
|
+
def clear_state: () -> void
|
|
138
|
+
|
|
139
|
+
# Allowed namespace states for requested operation.
|
|
140
|
+
# For example NAMESPACE_STATE_DELETED is forbidden for most operations but allowed for DescribeNamespace.
|
|
141
|
+
attr_accessor allowed_states(): ::Google::Protobuf::RepeatedField
|
|
142
|
+
attr_reader allowed_states_const(): ::Array[::Integer]
|
|
143
|
+
def clear_allowed_states: () -> void
|
|
144
|
+
|
|
145
|
+
type init_map = {
|
|
146
|
+
namespace: (::String | ::Symbol)?,
|
|
147
|
+
"namespace" => (::String | ::Symbol)?,
|
|
148
|
+
state: (::Temporalio::Api::Enums::V1::NamespaceState::names | ::Temporalio::Api::Enums::V1::NamespaceState::strings | ::Integer | ::Float)?,
|
|
149
|
+
"state" => (::Temporalio::Api::Enums::V1::NamespaceState::names | ::Temporalio::Api::Enums::V1::NamespaceState::strings | ::Integer | ::Float)?,
|
|
150
|
+
allowed_states: ::Array[::Temporalio::Api::Enums::V1::NamespaceState::names | ::Temporalio::Api::Enums::V1::NamespaceState::strings | ::Integer | ::Float]?,
|
|
151
|
+
"allowed_states" => ::Array[::Temporalio::Api::Enums::V1::NamespaceState::names | ::Temporalio::Api::Enums::V1::NamespaceState::strings | ::Integer | ::Float]?,
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
def initialize: (?init_map initial_value) -> void
|
|
155
|
+
|
|
156
|
+
def []:
|
|
157
|
+
("namespace" name) -> ::String
|
|
158
|
+
| ("state" name) -> (::Temporalio::Api::Enums::V1::NamespaceState::names | ::Integer)
|
|
159
|
+
| ("allowed_states" name) -> (::Google::Protobuf::RepeatedField)
|
|
160
|
+
|
|
161
|
+
def []=:
|
|
162
|
+
("namespace" name, (::String | ::Symbol) value) -> void
|
|
163
|
+
| ("state" name, (::Temporalio::Api::Enums::V1::NamespaceState::names | ::Temporalio::Api::Enums::V1::NamespaceState::strings | ::Integer | ::Float) value) -> void
|
|
164
|
+
| ("allowed_states" name, (::Google::Protobuf::RepeatedField) value) -> void
|
|
165
|
+
end
|
|
166
|
+
|
|
167
|
+
class NamespaceNotFoundFailure < ::Google::Protobuf::AbstractMessage
|
|
168
|
+
|
|
169
|
+
attr_reader namespace(): ::String
|
|
170
|
+
attr_writer namespace(): ::String | ::Symbol
|
|
171
|
+
def clear_namespace: () -> void
|
|
172
|
+
|
|
173
|
+
type init_map = {
|
|
174
|
+
namespace: (::String | ::Symbol)?,
|
|
175
|
+
"namespace" => (::String | ::Symbol)?,
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
def initialize: (?init_map initial_value) -> void
|
|
179
|
+
|
|
180
|
+
def []:
|
|
181
|
+
("namespace" name) -> ::String
|
|
182
|
+
|
|
183
|
+
def []=:
|
|
184
|
+
("namespace" name, (::String | ::Symbol) value) -> void
|
|
185
|
+
end
|
|
186
|
+
|
|
187
|
+
class NamespaceAlreadyExistsFailure < ::Google::Protobuf::AbstractMessage
|
|
188
|
+
|
|
189
|
+
type init_map = {
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
def initialize: (?init_map initial_value) -> void
|
|
193
|
+
end
|
|
194
|
+
|
|
195
|
+
class ClientVersionNotSupportedFailure < ::Google::Protobuf::AbstractMessage
|
|
196
|
+
|
|
197
|
+
attr_reader client_version(): ::String
|
|
198
|
+
attr_writer client_version(): ::String | ::Symbol
|
|
199
|
+
def clear_client_version: () -> void
|
|
200
|
+
|
|
201
|
+
attr_reader client_name(): ::String
|
|
202
|
+
attr_writer client_name(): ::String | ::Symbol
|
|
203
|
+
def clear_client_name: () -> void
|
|
204
|
+
|
|
205
|
+
attr_reader supported_versions(): ::String
|
|
206
|
+
attr_writer supported_versions(): ::String | ::Symbol
|
|
207
|
+
def clear_supported_versions: () -> void
|
|
208
|
+
|
|
209
|
+
type init_map = {
|
|
210
|
+
client_version: (::String | ::Symbol)?,
|
|
211
|
+
"client_version" => (::String | ::Symbol)?,
|
|
212
|
+
client_name: (::String | ::Symbol)?,
|
|
213
|
+
"client_name" => (::String | ::Symbol)?,
|
|
214
|
+
supported_versions: (::String | ::Symbol)?,
|
|
215
|
+
"supported_versions" => (::String | ::Symbol)?,
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
def initialize: (?init_map initial_value) -> void
|
|
219
|
+
|
|
220
|
+
def []:
|
|
221
|
+
("client_version" name) -> ::String
|
|
222
|
+
| ("client_name" name) -> ::String
|
|
223
|
+
| ("supported_versions" name) -> ::String
|
|
224
|
+
|
|
225
|
+
def []=:
|
|
226
|
+
("client_version" name, (::String | ::Symbol) value) -> void
|
|
227
|
+
| ("client_name" name, (::String | ::Symbol) value) -> void
|
|
228
|
+
| ("supported_versions" name, (::String | ::Symbol) value) -> void
|
|
229
|
+
end
|
|
230
|
+
|
|
231
|
+
class ServerVersionNotSupportedFailure < ::Google::Protobuf::AbstractMessage
|
|
232
|
+
|
|
233
|
+
attr_reader server_version(): ::String
|
|
234
|
+
attr_writer server_version(): ::String | ::Symbol
|
|
235
|
+
def clear_server_version: () -> void
|
|
236
|
+
|
|
237
|
+
attr_reader client_supported_server_versions(): ::String
|
|
238
|
+
attr_writer client_supported_server_versions(): ::String | ::Symbol
|
|
239
|
+
def clear_client_supported_server_versions: () -> void
|
|
240
|
+
|
|
241
|
+
type init_map = {
|
|
242
|
+
server_version: (::String | ::Symbol)?,
|
|
243
|
+
"server_version" => (::String | ::Symbol)?,
|
|
244
|
+
client_supported_server_versions: (::String | ::Symbol)?,
|
|
245
|
+
"client_supported_server_versions" => (::String | ::Symbol)?,
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
def initialize: (?init_map initial_value) -> void
|
|
249
|
+
|
|
250
|
+
def []:
|
|
251
|
+
("server_version" name) -> ::String
|
|
252
|
+
| ("client_supported_server_versions" name) -> ::String
|
|
253
|
+
|
|
254
|
+
def []=:
|
|
255
|
+
("server_version" name, (::String | ::Symbol) value) -> void
|
|
256
|
+
| ("client_supported_server_versions" name, (::String | ::Symbol) value) -> void
|
|
257
|
+
end
|
|
258
|
+
|
|
259
|
+
class CancellationAlreadyRequestedFailure < ::Google::Protobuf::AbstractMessage
|
|
260
|
+
|
|
261
|
+
type init_map = {
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
def initialize: (?init_map initial_value) -> void
|
|
265
|
+
end
|
|
266
|
+
|
|
267
|
+
class QueryFailedFailure < ::Google::Protobuf::AbstractMessage
|
|
268
|
+
|
|
269
|
+
# The full reason for this query failure. May not be available if the response is generated by an old
|
|
270
|
+
# SDK. This field can be encoded by the SDK's failure converter to support E2E encryption of messages and stack
|
|
271
|
+
# traces.
|
|
272
|
+
attr_accessor failure(): ::Temporalio::Api::Failure::V1::Failure?
|
|
273
|
+
def has_failure?: () -> bool
|
|
274
|
+
def clear_failure: () -> void
|
|
275
|
+
|
|
276
|
+
type init_map = {
|
|
277
|
+
failure: (::Temporalio::Api::Failure::V1::Failure | ::Temporalio::Api::Failure::V1::Failure::init_map)?,
|
|
278
|
+
"failure" => (::Temporalio::Api::Failure::V1::Failure | ::Temporalio::Api::Failure::V1::Failure::init_map)?,
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
def initialize: (?init_map initial_value) -> void
|
|
282
|
+
|
|
283
|
+
def []:
|
|
284
|
+
("failure" name) -> ::Temporalio::Api::Failure::V1::Failure?
|
|
285
|
+
|
|
286
|
+
def []=:
|
|
287
|
+
("failure" name, ::Temporalio::Api::Failure::V1::Failure? value) -> void
|
|
288
|
+
end
|
|
289
|
+
|
|
290
|
+
class PermissionDeniedFailure < ::Google::Protobuf::AbstractMessage
|
|
291
|
+
|
|
292
|
+
attr_reader reason(): ::String
|
|
293
|
+
attr_writer reason(): ::String | ::Symbol
|
|
294
|
+
def clear_reason: () -> void
|
|
295
|
+
|
|
296
|
+
type init_map = {
|
|
297
|
+
reason: (::String | ::Symbol)?,
|
|
298
|
+
"reason" => (::String | ::Symbol)?,
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
def initialize: (?init_map initial_value) -> void
|
|
302
|
+
|
|
303
|
+
def []:
|
|
304
|
+
("reason" name) -> ::String
|
|
305
|
+
|
|
306
|
+
def []=:
|
|
307
|
+
("reason" name, (::String | ::Symbol) value) -> void
|
|
308
|
+
end
|
|
309
|
+
|
|
310
|
+
class ResourceExhaustedFailure < ::Google::Protobuf::AbstractMessage
|
|
311
|
+
|
|
312
|
+
attr_reader cause(): ::Temporalio::Api::Enums::V1::ResourceExhaustedCause::names | ::Integer
|
|
313
|
+
attr_writer cause(): ::Temporalio::Api::Enums::V1::ResourceExhaustedCause::names | ::Temporalio::Api::Enums::V1::ResourceExhaustedCause::strings | ::Integer | ::Float
|
|
314
|
+
attr_reader cause_const(): ::Integer
|
|
315
|
+
def clear_cause: () -> void
|
|
316
|
+
|
|
317
|
+
attr_reader scope(): ::Temporalio::Api::Enums::V1::ResourceExhaustedScope::names | ::Integer
|
|
318
|
+
attr_writer scope(): ::Temporalio::Api::Enums::V1::ResourceExhaustedScope::names | ::Temporalio::Api::Enums::V1::ResourceExhaustedScope::strings | ::Integer | ::Float
|
|
319
|
+
attr_reader scope_const(): ::Integer
|
|
320
|
+
def clear_scope: () -> void
|
|
321
|
+
|
|
322
|
+
type init_map = {
|
|
323
|
+
cause: (::Temporalio::Api::Enums::V1::ResourceExhaustedCause::names | ::Temporalio::Api::Enums::V1::ResourceExhaustedCause::strings | ::Integer | ::Float)?,
|
|
324
|
+
"cause" => (::Temporalio::Api::Enums::V1::ResourceExhaustedCause::names | ::Temporalio::Api::Enums::V1::ResourceExhaustedCause::strings | ::Integer | ::Float)?,
|
|
325
|
+
scope: (::Temporalio::Api::Enums::V1::ResourceExhaustedScope::names | ::Temporalio::Api::Enums::V1::ResourceExhaustedScope::strings | ::Integer | ::Float)?,
|
|
326
|
+
"scope" => (::Temporalio::Api::Enums::V1::ResourceExhaustedScope::names | ::Temporalio::Api::Enums::V1::ResourceExhaustedScope::strings | ::Integer | ::Float)?,
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
def initialize: (?init_map initial_value) -> void
|
|
330
|
+
|
|
331
|
+
def []:
|
|
332
|
+
("cause" name) -> (::Temporalio::Api::Enums::V1::ResourceExhaustedCause::names | ::Integer)
|
|
333
|
+
| ("scope" name) -> (::Temporalio::Api::Enums::V1::ResourceExhaustedScope::names | ::Integer)
|
|
334
|
+
|
|
335
|
+
def []=:
|
|
336
|
+
("cause" name, (::Temporalio::Api::Enums::V1::ResourceExhaustedCause::names | ::Temporalio::Api::Enums::V1::ResourceExhaustedCause::strings | ::Integer | ::Float) value) -> void
|
|
337
|
+
| ("scope" name, (::Temporalio::Api::Enums::V1::ResourceExhaustedScope::names | ::Temporalio::Api::Enums::V1::ResourceExhaustedScope::strings | ::Integer | ::Float) value) -> void
|
|
338
|
+
end
|
|
339
|
+
|
|
340
|
+
class SystemWorkflowFailure < ::Google::Protobuf::AbstractMessage
|
|
341
|
+
|
|
342
|
+
# WorkflowId and RunId of the Temporal system workflow performing the underlying operation.
|
|
343
|
+
# Looking up the info of the system workflow run may help identify the issue causing the failure.
|
|
344
|
+
attr_accessor workflow_execution(): ::Temporalio::Api::Common::V1::WorkflowExecution?
|
|
345
|
+
def has_workflow_execution?: () -> bool
|
|
346
|
+
def clear_workflow_execution: () -> void
|
|
347
|
+
|
|
348
|
+
# Serialized error returned by the system workflow performing the underlying operation.
|
|
349
|
+
attr_reader workflow_error(): ::String
|
|
350
|
+
attr_writer workflow_error(): ::String | ::Symbol
|
|
351
|
+
def clear_workflow_error: () -> void
|
|
352
|
+
|
|
353
|
+
type init_map = {
|
|
354
|
+
workflow_execution: (::Temporalio::Api::Common::V1::WorkflowExecution | ::Temporalio::Api::Common::V1::WorkflowExecution::init_map)?,
|
|
355
|
+
"workflow_execution" => (::Temporalio::Api::Common::V1::WorkflowExecution | ::Temporalio::Api::Common::V1::WorkflowExecution::init_map)?,
|
|
356
|
+
workflow_error: (::String | ::Symbol)?,
|
|
357
|
+
"workflow_error" => (::String | ::Symbol)?,
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
def initialize: (?init_map initial_value) -> void
|
|
361
|
+
|
|
362
|
+
def []:
|
|
363
|
+
("workflow_execution" name) -> ::Temporalio::Api::Common::V1::WorkflowExecution?
|
|
364
|
+
| ("workflow_error" name) -> ::String
|
|
365
|
+
|
|
366
|
+
def []=:
|
|
367
|
+
("workflow_execution" name, ::Temporalio::Api::Common::V1::WorkflowExecution? value) -> void
|
|
368
|
+
| ("workflow_error" name, (::String | ::Symbol) value) -> void
|
|
369
|
+
end
|
|
370
|
+
|
|
371
|
+
class WorkflowNotReadyFailure < ::Google::Protobuf::AbstractMessage
|
|
372
|
+
|
|
373
|
+
type init_map = {
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
def initialize: (?init_map initial_value) -> void
|
|
377
|
+
end
|
|
378
|
+
|
|
379
|
+
class NewerBuildExistsFailure < ::Google::Protobuf::AbstractMessage
|
|
380
|
+
|
|
381
|
+
# The current default compatible build ID which will receive tasks
|
|
382
|
+
attr_reader default_build_id(): ::String
|
|
383
|
+
attr_writer default_build_id(): ::String | ::Symbol
|
|
384
|
+
def clear_default_build_id: () -> void
|
|
385
|
+
|
|
386
|
+
type init_map = {
|
|
387
|
+
default_build_id: (::String | ::Symbol)?,
|
|
388
|
+
"default_build_id" => (::String | ::Symbol)?,
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
def initialize: (?init_map initial_value) -> void
|
|
392
|
+
|
|
393
|
+
def []:
|
|
394
|
+
("default_build_id" name) -> ::String
|
|
395
|
+
|
|
396
|
+
def []=:
|
|
397
|
+
("default_build_id" name, (::String | ::Symbol) value) -> void
|
|
398
|
+
end
|
|
399
|
+
|
|
400
|
+
class MultiOperationExecutionFailure < ::Google::Protobuf::AbstractMessage
|
|
401
|
+
# NOTE: `OperationStatus` is modelled after
|
|
402
|
+
# [`google.rpc.Status`](https://github.com/googleapis/googleapis/blob/master/google/rpc/status.proto).
|
|
403
|
+
# (-- api-linter: core::0146::any=disabled
|
|
404
|
+
# aip.dev/not-precedent: details are meant to hold arbitrary payloads. --)
|
|
405
|
+
class OperationStatus < ::Google::Protobuf::AbstractMessage
|
|
406
|
+
|
|
407
|
+
attr_reader code(): ::Integer
|
|
408
|
+
attr_writer code(): ::Integer | ::Float
|
|
409
|
+
def clear_code: () -> void
|
|
410
|
+
|
|
411
|
+
attr_reader message(): ::String
|
|
412
|
+
attr_writer message(): ::String | ::Symbol
|
|
413
|
+
def clear_message: () -> void
|
|
414
|
+
|
|
415
|
+
attr_accessor details(): ::Google::Protobuf::RepeatedField
|
|
416
|
+
def clear_details: () -> void
|
|
417
|
+
|
|
418
|
+
type init_map = {
|
|
419
|
+
code: (::Integer | ::Float)?,
|
|
420
|
+
"code" => (::Integer | ::Float)?,
|
|
421
|
+
message: (::String | ::Symbol)?,
|
|
422
|
+
"message" => (::String | ::Symbol)?,
|
|
423
|
+
details: ::Array[::Google::Protobuf::Any]?,
|
|
424
|
+
"details" => ::Array[::Google::Protobuf::Any]?,
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
def initialize: (?init_map initial_value) -> void
|
|
428
|
+
|
|
429
|
+
def []:
|
|
430
|
+
("code" name) -> ::Integer
|
|
431
|
+
| ("message" name) -> ::String
|
|
432
|
+
| ("details" name) -> ::Google::Protobuf::RepeatedField
|
|
433
|
+
|
|
434
|
+
def []=:
|
|
435
|
+
("code" name, (::Integer | ::Float) value) -> void
|
|
436
|
+
| ("message" name, (::String | ::Symbol) value) -> void
|
|
437
|
+
| ("details" name, ::Google::Protobuf::RepeatedField value) -> void
|
|
438
|
+
end
|
|
439
|
+
|
|
440
|
+
# One status for each requested operation from the failed MultiOperation. The failed
|
|
441
|
+
# operation(s) have the same error details as if it was executed separately. All other operations have the
|
|
442
|
+
# status code `Aborted` and `MultiOperationExecutionAborted` is added to the details field.
|
|
443
|
+
attr_accessor statuses(): ::Google::Protobuf::RepeatedField
|
|
444
|
+
def clear_statuses: () -> void
|
|
445
|
+
|
|
446
|
+
type init_map = {
|
|
447
|
+
statuses: ::Array[::Temporalio::Api::ErrorDetails::V1::MultiOperationExecutionFailure::OperationStatus]?,
|
|
448
|
+
"statuses" => ::Array[::Temporalio::Api::ErrorDetails::V1::MultiOperationExecutionFailure::OperationStatus]?,
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
def initialize: (?init_map initial_value) -> void
|
|
452
|
+
|
|
453
|
+
def []:
|
|
454
|
+
("statuses" name) -> ::Google::Protobuf::RepeatedField
|
|
455
|
+
|
|
456
|
+
def []=:
|
|
457
|
+
("statuses" name, ::Google::Protobuf::RepeatedField value) -> void
|
|
458
|
+
end
|
|
459
|
+
|
|
460
|
+
# An error indicating that an activity execution failed to start. Returned when there is an existing activity with the
|
|
461
|
+
# given activity ID, and the given ID reuse and conflict policies do not permit starting a new one or attaching to an
|
|
462
|
+
# existing one.
|
|
463
|
+
class ActivityExecutionAlreadyStartedFailure < ::Google::Protobuf::AbstractMessage
|
|
464
|
+
|
|
465
|
+
attr_reader start_request_id(): ::String
|
|
466
|
+
attr_writer start_request_id(): ::String | ::Symbol
|
|
467
|
+
def clear_start_request_id: () -> void
|
|
468
|
+
|
|
469
|
+
attr_reader run_id(): ::String
|
|
470
|
+
attr_writer run_id(): ::String | ::Symbol
|
|
471
|
+
def clear_run_id: () -> void
|
|
472
|
+
|
|
473
|
+
type init_map = {
|
|
474
|
+
start_request_id: (::String | ::Symbol)?,
|
|
475
|
+
"start_request_id" => (::String | ::Symbol)?,
|
|
476
|
+
run_id: (::String | ::Symbol)?,
|
|
477
|
+
"run_id" => (::String | ::Symbol)?,
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
def initialize: (?init_map initial_value) -> void
|
|
481
|
+
|
|
482
|
+
def []:
|
|
483
|
+
("start_request_id" name) -> ::String
|
|
484
|
+
| ("run_id" name) -> ::String
|
|
485
|
+
|
|
486
|
+
def []=:
|
|
487
|
+
("start_request_id" name, (::String | ::Symbol) value) -> void
|
|
488
|
+
| ("run_id" name, (::String | ::Symbol) value) -> void
|
|
489
|
+
end
|
|
490
|
+
|
|
491
|
+
# An error indicating that a Nexus operation failed to start. Returned when there is an existing operation with the
|
|
492
|
+
# given operation ID, and the given ID reuse and conflict policies do not permit starting a new one or attaching to an
|
|
493
|
+
# existing one.
|
|
494
|
+
class NexusOperationExecutionAlreadyStartedFailure < ::Google::Protobuf::AbstractMessage
|
|
495
|
+
|
|
496
|
+
attr_reader start_request_id(): ::String
|
|
497
|
+
attr_writer start_request_id(): ::String | ::Symbol
|
|
498
|
+
def clear_start_request_id: () -> void
|
|
499
|
+
|
|
500
|
+
attr_reader run_id(): ::String
|
|
501
|
+
attr_writer run_id(): ::String | ::Symbol
|
|
502
|
+
def clear_run_id: () -> void
|
|
503
|
+
|
|
504
|
+
type init_map = {
|
|
505
|
+
start_request_id: (::String | ::Symbol)?,
|
|
506
|
+
"start_request_id" => (::String | ::Symbol)?,
|
|
507
|
+
run_id: (::String | ::Symbol)?,
|
|
508
|
+
"run_id" => (::String | ::Symbol)?,
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
def initialize: (?init_map initial_value) -> void
|
|
512
|
+
|
|
513
|
+
def []:
|
|
514
|
+
("start_request_id" name) -> ::String
|
|
515
|
+
| ("run_id" name) -> ::String
|
|
516
|
+
|
|
517
|
+
def []=:
|
|
518
|
+
("start_request_id" name, (::String | ::Symbol) value) -> void
|
|
519
|
+
| ("run_id" name, (::String | ::Symbol) value) -> void
|
|
520
|
+
end
|
|
521
|
+
end
|
|
522
|
+
end
|
|
523
|
+
end
|
|
524
|
+
end
|
|
525
|
+
|
|
526
|
+
module Google
|
|
527
|
+
module Protobuf
|
|
528
|
+
class DescriptorPool
|
|
529
|
+
def lookup: (::String name) -> ::Google::Protobuf::Descriptor
|
|
530
|
+
end
|
|
531
|
+
end
|
|
532
|
+
end
|
|
@@ -0,0 +1,63 @@
|
|
|
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/api/export/v1/message.proto
|
|
7
|
+
|
|
8
|
+
module Temporalio
|
|
9
|
+
module Api
|
|
10
|
+
module Export
|
|
11
|
+
module V1
|
|
12
|
+
class WorkflowExecution < ::Google::Protobuf::AbstractMessage
|
|
13
|
+
|
|
14
|
+
attr_accessor history(): ::Temporalio::Api::History::V1::History?
|
|
15
|
+
def has_history?: () -> bool
|
|
16
|
+
def clear_history: () -> void
|
|
17
|
+
|
|
18
|
+
type init_map = {
|
|
19
|
+
history: (::Temporalio::Api::History::V1::History | ::Temporalio::Api::History::V1::History::init_map)?,
|
|
20
|
+
"history" => (::Temporalio::Api::History::V1::History | ::Temporalio::Api::History::V1::History::init_map)?,
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
def initialize: (?init_map initial_value) -> void
|
|
24
|
+
|
|
25
|
+
def []:
|
|
26
|
+
("history" name) -> ::Temporalio::Api::History::V1::History?
|
|
27
|
+
|
|
28
|
+
def []=:
|
|
29
|
+
("history" name, ::Temporalio::Api::History::V1::History? value) -> void
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
# WorkflowExecutions is used by the Cloud Export feature to deserialize
|
|
33
|
+
# the exported file. It encapsulates a collection of workflow execution information.
|
|
34
|
+
class WorkflowExecutions < ::Google::Protobuf::AbstractMessage
|
|
35
|
+
|
|
36
|
+
attr_accessor items(): ::Google::Protobuf::RepeatedField
|
|
37
|
+
def clear_items: () -> void
|
|
38
|
+
|
|
39
|
+
type init_map = {
|
|
40
|
+
items: ::Array[::Temporalio::Api::Export::V1::WorkflowExecution]?,
|
|
41
|
+
"items" => ::Array[::Temporalio::Api::Export::V1::WorkflowExecution]?,
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
def initialize: (?init_map initial_value) -> void
|
|
45
|
+
|
|
46
|
+
def []:
|
|
47
|
+
("items" name) -> ::Google::Protobuf::RepeatedField
|
|
48
|
+
|
|
49
|
+
def []=:
|
|
50
|
+
("items" name, ::Google::Protobuf::RepeatedField value) -> void
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
end
|
|
54
|
+
end
|
|
55
|
+
end
|
|
56
|
+
|
|
57
|
+
module Google
|
|
58
|
+
module Protobuf
|
|
59
|
+
class DescriptorPool
|
|
60
|
+
def lookup: (::String name) -> ::Google::Protobuf::Descriptor
|
|
61
|
+
end
|
|
62
|
+
end
|
|
63
|
+
end
|