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,1211 @@
|
|
|
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/command/v1/message.proto
|
|
7
|
+
|
|
8
|
+
module Temporalio
|
|
9
|
+
module Api
|
|
10
|
+
module Command
|
|
11
|
+
module V1
|
|
12
|
+
class ScheduleActivityTaskCommandAttributes < ::Google::Protobuf::AbstractMessage
|
|
13
|
+
|
|
14
|
+
attr_reader activity_id(): ::String
|
|
15
|
+
attr_writer activity_id(): ::String | ::Symbol
|
|
16
|
+
def clear_activity_id: () -> void
|
|
17
|
+
|
|
18
|
+
attr_accessor activity_type(): ::Temporalio::Api::Common::V1::ActivityType?
|
|
19
|
+
def has_activity_type?: () -> bool
|
|
20
|
+
def clear_activity_type: () -> void
|
|
21
|
+
|
|
22
|
+
attr_accessor task_queue(): ::Temporalio::Api::TaskQueue::V1::TaskQueue?
|
|
23
|
+
def has_task_queue?: () -> bool
|
|
24
|
+
def clear_task_queue: () -> void
|
|
25
|
+
|
|
26
|
+
attr_accessor header(): ::Temporalio::Api::Common::V1::Header?
|
|
27
|
+
def has_header?: () -> bool
|
|
28
|
+
def clear_header: () -> void
|
|
29
|
+
|
|
30
|
+
attr_accessor input(): ::Temporalio::Api::Common::V1::Payloads?
|
|
31
|
+
def has_input?: () -> bool
|
|
32
|
+
def clear_input: () -> void
|
|
33
|
+
|
|
34
|
+
# Indicates how long the caller is willing to wait for activity completion. The "schedule" time
|
|
35
|
+
# is when the activity is initially scheduled, not when the most recent retry is scheduled.
|
|
36
|
+
# Limits how long retries will be attempted. Either this or `start_to_close_timeout` must be
|
|
37
|
+
# specified. When not specified, defaults to the workflow execution timeout.
|
|
38
|
+
# (-- api-linter: core::0140::prepositions=disabled
|
|
39
|
+
# aip.dev/not-precedent: "to" is used to indicate interval. --)
|
|
40
|
+
attr_reader schedule_to_close_timeout(): ::Google::Protobuf::Duration?
|
|
41
|
+
attr_writer schedule_to_close_timeout(): (::Google::Protobuf::Duration | ::int)?
|
|
42
|
+
def has_schedule_to_close_timeout?: () -> bool
|
|
43
|
+
def clear_schedule_to_close_timeout: () -> void
|
|
44
|
+
|
|
45
|
+
# Limits the time an activity task can stay in a task queue before a worker picks it up. The
|
|
46
|
+
# "schedule" time is when the most recent retry is scheduled. This timeout should usually not
|
|
47
|
+
# be set: it's useful in specific scenarios like worker-specific task queues. This timeout is
|
|
48
|
+
# always non retryable, as all a retry would achieve is to put it back into the same queue.
|
|
49
|
+
# Defaults to `schedule_to_close_timeout` or workflow execution timeout if that is not
|
|
50
|
+
# specified. More info:
|
|
51
|
+
# https://docs.temporal.io/docs/content/what-is-a-schedule-to-start-timeout/
|
|
52
|
+
# (-- api-linter: core::0140::prepositions=disabled
|
|
53
|
+
# aip.dev/not-precedent: "to" is used to indicate interval. --)
|
|
54
|
+
attr_reader schedule_to_start_timeout(): ::Google::Protobuf::Duration?
|
|
55
|
+
attr_writer schedule_to_start_timeout(): (::Google::Protobuf::Duration | ::int)?
|
|
56
|
+
def has_schedule_to_start_timeout?: () -> bool
|
|
57
|
+
def clear_schedule_to_start_timeout: () -> void
|
|
58
|
+
|
|
59
|
+
# Maximum time an activity is allowed to execute after being picked up by a worker. This
|
|
60
|
+
# timeout is always retryable. Either this or `schedule_to_close_timeout` must be specified.
|
|
61
|
+
# (-- api-linter: core::0140::prepositions=disabled
|
|
62
|
+
# aip.dev/not-precedent: "to" is used to indicate interval. --)
|
|
63
|
+
attr_reader start_to_close_timeout(): ::Google::Protobuf::Duration?
|
|
64
|
+
attr_writer start_to_close_timeout(): (::Google::Protobuf::Duration | ::int)?
|
|
65
|
+
def has_start_to_close_timeout?: () -> bool
|
|
66
|
+
def clear_start_to_close_timeout: () -> void
|
|
67
|
+
|
|
68
|
+
# Maximum permitted time between successful worker heartbeats.
|
|
69
|
+
attr_reader heartbeat_timeout(): ::Google::Protobuf::Duration?
|
|
70
|
+
attr_writer heartbeat_timeout(): (::Google::Protobuf::Duration | ::int)?
|
|
71
|
+
def has_heartbeat_timeout?: () -> bool
|
|
72
|
+
def clear_heartbeat_timeout: () -> void
|
|
73
|
+
|
|
74
|
+
# Activities are provided by a default retry policy which is controlled through the service's
|
|
75
|
+
# dynamic configuration. Retries will be attempted until `schedule_to_close_timeout` has
|
|
76
|
+
# elapsed. To disable retries set retry_policy.maximum_attempts to 1.
|
|
77
|
+
attr_accessor retry_policy(): ::Temporalio::Api::Common::V1::RetryPolicy?
|
|
78
|
+
def has_retry_policy?: () -> bool
|
|
79
|
+
def clear_retry_policy: () -> void
|
|
80
|
+
|
|
81
|
+
# Request to start the activity directly bypassing matching service and worker polling
|
|
82
|
+
# The slot for executing the activity should be reserved when setting this field to true.
|
|
83
|
+
attr_accessor request_eager_execution(): bool
|
|
84
|
+
def clear_request_eager_execution: () -> void
|
|
85
|
+
|
|
86
|
+
# If this is set, the activity would be assigned to the Build ID of the workflow. Otherwise,
|
|
87
|
+
# Assignment rules of the activity's Task Queue will be used to determine the Build ID.
|
|
88
|
+
attr_accessor use_workflow_build_id(): bool
|
|
89
|
+
def clear_use_workflow_build_id: () -> void
|
|
90
|
+
|
|
91
|
+
# Priority metadata. If this message is not present, or any fields are not
|
|
92
|
+
# present, they inherit the values from the workflow.
|
|
93
|
+
attr_accessor priority(): ::Temporalio::Api::Common::V1::Priority?
|
|
94
|
+
def has_priority?: () -> bool
|
|
95
|
+
def clear_priority: () -> void
|
|
96
|
+
|
|
97
|
+
type init_map = {
|
|
98
|
+
activity_id: (::String | ::Symbol)?,
|
|
99
|
+
"activity_id" => (::String | ::Symbol)?,
|
|
100
|
+
activity_type: (::Temporalio::Api::Common::V1::ActivityType | ::Temporalio::Api::Common::V1::ActivityType::init_map)?,
|
|
101
|
+
"activity_type" => (::Temporalio::Api::Common::V1::ActivityType | ::Temporalio::Api::Common::V1::ActivityType::init_map)?,
|
|
102
|
+
task_queue: (::Temporalio::Api::TaskQueue::V1::TaskQueue | ::Temporalio::Api::TaskQueue::V1::TaskQueue::init_map)?,
|
|
103
|
+
"task_queue" => (::Temporalio::Api::TaskQueue::V1::TaskQueue | ::Temporalio::Api::TaskQueue::V1::TaskQueue::init_map)?,
|
|
104
|
+
header: (::Temporalio::Api::Common::V1::Header | ::Temporalio::Api::Common::V1::Header::init_map)?,
|
|
105
|
+
"header" => (::Temporalio::Api::Common::V1::Header | ::Temporalio::Api::Common::V1::Header::init_map)?,
|
|
106
|
+
input: (::Temporalio::Api::Common::V1::Payloads | ::Temporalio::Api::Common::V1::Payloads::init_map)?,
|
|
107
|
+
"input" => (::Temporalio::Api::Common::V1::Payloads | ::Temporalio::Api::Common::V1::Payloads::init_map)?,
|
|
108
|
+
schedule_to_close_timeout: (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?,
|
|
109
|
+
"schedule_to_close_timeout" => (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?,
|
|
110
|
+
schedule_to_start_timeout: (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?,
|
|
111
|
+
"schedule_to_start_timeout" => (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?,
|
|
112
|
+
start_to_close_timeout: (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?,
|
|
113
|
+
"start_to_close_timeout" => (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?,
|
|
114
|
+
heartbeat_timeout: (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?,
|
|
115
|
+
"heartbeat_timeout" => (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?,
|
|
116
|
+
retry_policy: (::Temporalio::Api::Common::V1::RetryPolicy | ::Temporalio::Api::Common::V1::RetryPolicy::init_map)?,
|
|
117
|
+
"retry_policy" => (::Temporalio::Api::Common::V1::RetryPolicy | ::Temporalio::Api::Common::V1::RetryPolicy::init_map)?,
|
|
118
|
+
request_eager_execution: bool?,
|
|
119
|
+
"request_eager_execution" => bool?,
|
|
120
|
+
use_workflow_build_id: bool?,
|
|
121
|
+
"use_workflow_build_id" => bool?,
|
|
122
|
+
priority: (::Temporalio::Api::Common::V1::Priority | ::Temporalio::Api::Common::V1::Priority::init_map)?,
|
|
123
|
+
"priority" => (::Temporalio::Api::Common::V1::Priority | ::Temporalio::Api::Common::V1::Priority::init_map)?,
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
def initialize: (?init_map initial_value) -> void
|
|
127
|
+
|
|
128
|
+
def []:
|
|
129
|
+
("activity_id" name) -> ::String
|
|
130
|
+
| ("activity_type" name) -> ::Temporalio::Api::Common::V1::ActivityType?
|
|
131
|
+
| ("task_queue" name) -> ::Temporalio::Api::TaskQueue::V1::TaskQueue?
|
|
132
|
+
| ("header" name) -> ::Temporalio::Api::Common::V1::Header?
|
|
133
|
+
| ("input" name) -> ::Temporalio::Api::Common::V1::Payloads?
|
|
134
|
+
| ("schedule_to_close_timeout" name) -> ::Google::Protobuf::Duration?
|
|
135
|
+
| ("schedule_to_start_timeout" name) -> ::Google::Protobuf::Duration?
|
|
136
|
+
| ("start_to_close_timeout" name) -> ::Google::Protobuf::Duration?
|
|
137
|
+
| ("heartbeat_timeout" name) -> ::Google::Protobuf::Duration?
|
|
138
|
+
| ("retry_policy" name) -> ::Temporalio::Api::Common::V1::RetryPolicy?
|
|
139
|
+
| ("request_eager_execution" name) -> bool
|
|
140
|
+
| ("use_workflow_build_id" name) -> bool
|
|
141
|
+
| ("priority" name) -> ::Temporalio::Api::Common::V1::Priority?
|
|
142
|
+
|
|
143
|
+
def []=:
|
|
144
|
+
("activity_id" name, (::String | ::Symbol) value) -> void
|
|
145
|
+
| ("activity_type" name, ::Temporalio::Api::Common::V1::ActivityType? value) -> void
|
|
146
|
+
| ("task_queue" name, ::Temporalio::Api::TaskQueue::V1::TaskQueue? value) -> void
|
|
147
|
+
| ("header" name, ::Temporalio::Api::Common::V1::Header? value) -> void
|
|
148
|
+
| ("input" name, ::Temporalio::Api::Common::V1::Payloads? value) -> void
|
|
149
|
+
| ("schedule_to_close_timeout" name, ((::Google::Protobuf::Duration | ::int)?) value) -> void
|
|
150
|
+
| ("schedule_to_start_timeout" name, ((::Google::Protobuf::Duration | ::int)?) value) -> void
|
|
151
|
+
| ("start_to_close_timeout" name, ((::Google::Protobuf::Duration | ::int)?) value) -> void
|
|
152
|
+
| ("heartbeat_timeout" name, ((::Google::Protobuf::Duration | ::int)?) value) -> void
|
|
153
|
+
| ("retry_policy" name, ::Temporalio::Api::Common::V1::RetryPolicy? value) -> void
|
|
154
|
+
| ("request_eager_execution" name, bool value) -> void
|
|
155
|
+
| ("use_workflow_build_id" name, bool value) -> void
|
|
156
|
+
| ("priority" name, ::Temporalio::Api::Common::V1::Priority? value) -> void
|
|
157
|
+
end
|
|
158
|
+
|
|
159
|
+
class RequestCancelActivityTaskCommandAttributes < ::Google::Protobuf::AbstractMessage
|
|
160
|
+
|
|
161
|
+
# The `ACTIVITY_TASK_SCHEDULED` event id for the activity being cancelled.
|
|
162
|
+
attr_reader scheduled_event_id(): ::Integer
|
|
163
|
+
attr_writer scheduled_event_id(): ::Integer | ::Float
|
|
164
|
+
def clear_scheduled_event_id: () -> void
|
|
165
|
+
|
|
166
|
+
type init_map = {
|
|
167
|
+
scheduled_event_id: (::Integer | ::Float)?,
|
|
168
|
+
"scheduled_event_id" => (::Integer | ::Float)?,
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
def initialize: (?init_map initial_value) -> void
|
|
172
|
+
|
|
173
|
+
def []:
|
|
174
|
+
("scheduled_event_id" name) -> ::Integer
|
|
175
|
+
|
|
176
|
+
def []=:
|
|
177
|
+
("scheduled_event_id" name, (::Integer | ::Float) value) -> void
|
|
178
|
+
end
|
|
179
|
+
|
|
180
|
+
class StartTimerCommandAttributes < ::Google::Protobuf::AbstractMessage
|
|
181
|
+
|
|
182
|
+
# An id for the timer, currently live timers must have different ids. Typically autogenerated
|
|
183
|
+
# by the SDK.
|
|
184
|
+
attr_reader timer_id(): ::String
|
|
185
|
+
attr_writer timer_id(): ::String | ::Symbol
|
|
186
|
+
def clear_timer_id: () -> void
|
|
187
|
+
|
|
188
|
+
# How long until the timer fires, producing a `TIMER_FIRED` event.
|
|
189
|
+
# (-- api-linter: core::0140::prepositions=disabled
|
|
190
|
+
# aip.dev/not-precedent: "to" is used to indicate interval. --)
|
|
191
|
+
attr_reader start_to_fire_timeout(): ::Google::Protobuf::Duration?
|
|
192
|
+
attr_writer start_to_fire_timeout(): (::Google::Protobuf::Duration | ::int)?
|
|
193
|
+
def has_start_to_fire_timeout?: () -> bool
|
|
194
|
+
def clear_start_to_fire_timeout: () -> void
|
|
195
|
+
|
|
196
|
+
type init_map = {
|
|
197
|
+
timer_id: (::String | ::Symbol)?,
|
|
198
|
+
"timer_id" => (::String | ::Symbol)?,
|
|
199
|
+
start_to_fire_timeout: (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?,
|
|
200
|
+
"start_to_fire_timeout" => (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?,
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
def initialize: (?init_map initial_value) -> void
|
|
204
|
+
|
|
205
|
+
def []:
|
|
206
|
+
("timer_id" name) -> ::String
|
|
207
|
+
| ("start_to_fire_timeout" name) -> ::Google::Protobuf::Duration?
|
|
208
|
+
|
|
209
|
+
def []=:
|
|
210
|
+
("timer_id" name, (::String | ::Symbol) value) -> void
|
|
211
|
+
| ("start_to_fire_timeout" name, ((::Google::Protobuf::Duration | ::int)?) value) -> void
|
|
212
|
+
end
|
|
213
|
+
|
|
214
|
+
class CompleteWorkflowExecutionCommandAttributes < ::Google::Protobuf::AbstractMessage
|
|
215
|
+
|
|
216
|
+
attr_accessor result(): ::Temporalio::Api::Common::V1::Payloads?
|
|
217
|
+
def has_result?: () -> bool
|
|
218
|
+
def clear_result: () -> void
|
|
219
|
+
|
|
220
|
+
type init_map = {
|
|
221
|
+
result: (::Temporalio::Api::Common::V1::Payloads | ::Temporalio::Api::Common::V1::Payloads::init_map)?,
|
|
222
|
+
"result" => (::Temporalio::Api::Common::V1::Payloads | ::Temporalio::Api::Common::V1::Payloads::init_map)?,
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
def initialize: (?init_map initial_value) -> void
|
|
226
|
+
|
|
227
|
+
def []:
|
|
228
|
+
("result" name) -> ::Temporalio::Api::Common::V1::Payloads?
|
|
229
|
+
|
|
230
|
+
def []=:
|
|
231
|
+
("result" name, ::Temporalio::Api::Common::V1::Payloads? value) -> void
|
|
232
|
+
end
|
|
233
|
+
|
|
234
|
+
class FailWorkflowExecutionCommandAttributes < ::Google::Protobuf::AbstractMessage
|
|
235
|
+
|
|
236
|
+
attr_accessor failure(): ::Temporalio::Api::Failure::V1::Failure?
|
|
237
|
+
def has_failure?: () -> bool
|
|
238
|
+
def clear_failure: () -> void
|
|
239
|
+
|
|
240
|
+
type init_map = {
|
|
241
|
+
failure: (::Temporalio::Api::Failure::V1::Failure | ::Temporalio::Api::Failure::V1::Failure::init_map)?,
|
|
242
|
+
"failure" => (::Temporalio::Api::Failure::V1::Failure | ::Temporalio::Api::Failure::V1::Failure::init_map)?,
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
def initialize: (?init_map initial_value) -> void
|
|
246
|
+
|
|
247
|
+
def []:
|
|
248
|
+
("failure" name) -> ::Temporalio::Api::Failure::V1::Failure?
|
|
249
|
+
|
|
250
|
+
def []=:
|
|
251
|
+
("failure" name, ::Temporalio::Api::Failure::V1::Failure? value) -> void
|
|
252
|
+
end
|
|
253
|
+
|
|
254
|
+
class CancelTimerCommandAttributes < ::Google::Protobuf::AbstractMessage
|
|
255
|
+
|
|
256
|
+
# The same timer id from the start timer command
|
|
257
|
+
attr_reader timer_id(): ::String
|
|
258
|
+
attr_writer timer_id(): ::String | ::Symbol
|
|
259
|
+
def clear_timer_id: () -> void
|
|
260
|
+
|
|
261
|
+
type init_map = {
|
|
262
|
+
timer_id: (::String | ::Symbol)?,
|
|
263
|
+
"timer_id" => (::String | ::Symbol)?,
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
def initialize: (?init_map initial_value) -> void
|
|
267
|
+
|
|
268
|
+
def []:
|
|
269
|
+
("timer_id" name) -> ::String
|
|
270
|
+
|
|
271
|
+
def []=:
|
|
272
|
+
("timer_id" name, (::String | ::Symbol) value) -> void
|
|
273
|
+
end
|
|
274
|
+
|
|
275
|
+
class CancelWorkflowExecutionCommandAttributes < ::Google::Protobuf::AbstractMessage
|
|
276
|
+
|
|
277
|
+
attr_accessor details(): ::Temporalio::Api::Common::V1::Payloads?
|
|
278
|
+
def has_details?: () -> bool
|
|
279
|
+
def clear_details: () -> void
|
|
280
|
+
|
|
281
|
+
type init_map = {
|
|
282
|
+
details: (::Temporalio::Api::Common::V1::Payloads | ::Temporalio::Api::Common::V1::Payloads::init_map)?,
|
|
283
|
+
"details" => (::Temporalio::Api::Common::V1::Payloads | ::Temporalio::Api::Common::V1::Payloads::init_map)?,
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
def initialize: (?init_map initial_value) -> void
|
|
287
|
+
|
|
288
|
+
def []:
|
|
289
|
+
("details" name) -> ::Temporalio::Api::Common::V1::Payloads?
|
|
290
|
+
|
|
291
|
+
def []=:
|
|
292
|
+
("details" name, ::Temporalio::Api::Common::V1::Payloads? value) -> void
|
|
293
|
+
end
|
|
294
|
+
|
|
295
|
+
class RequestCancelExternalWorkflowExecutionCommandAttributes < ::Google::Protobuf::AbstractMessage
|
|
296
|
+
|
|
297
|
+
# Deprecated. Cross-namespace operations are disabled by default as of server 1.30.1.
|
|
298
|
+
# @deprecated
|
|
299
|
+
attr_reader namespace(): ::String
|
|
300
|
+
attr_writer namespace(): ::String | ::Symbol
|
|
301
|
+
def clear_namespace: () -> void
|
|
302
|
+
|
|
303
|
+
attr_reader workflow_id(): ::String
|
|
304
|
+
attr_writer workflow_id(): ::String | ::Symbol
|
|
305
|
+
def clear_workflow_id: () -> void
|
|
306
|
+
|
|
307
|
+
attr_reader run_id(): ::String
|
|
308
|
+
attr_writer run_id(): ::String | ::Symbol
|
|
309
|
+
def clear_run_id: () -> void
|
|
310
|
+
|
|
311
|
+
# Deprecated.
|
|
312
|
+
# @deprecated
|
|
313
|
+
attr_reader control(): ::String
|
|
314
|
+
attr_writer control(): ::String | ::Symbol
|
|
315
|
+
def clear_control: () -> void
|
|
316
|
+
|
|
317
|
+
# Set this to true if the workflow being cancelled is a child of the workflow originating this
|
|
318
|
+
# command. The request will be rejected if it is set to true and the target workflow is *not*
|
|
319
|
+
# a child of the requesting workflow.
|
|
320
|
+
attr_accessor child_workflow_only(): bool
|
|
321
|
+
def clear_child_workflow_only: () -> void
|
|
322
|
+
|
|
323
|
+
# Reason for requesting the cancellation
|
|
324
|
+
attr_reader reason(): ::String
|
|
325
|
+
attr_writer reason(): ::String | ::Symbol
|
|
326
|
+
def clear_reason: () -> void
|
|
327
|
+
|
|
328
|
+
type init_map = {
|
|
329
|
+
namespace: (::String | ::Symbol)?,
|
|
330
|
+
"namespace" => (::String | ::Symbol)?,
|
|
331
|
+
workflow_id: (::String | ::Symbol)?,
|
|
332
|
+
"workflow_id" => (::String | ::Symbol)?,
|
|
333
|
+
run_id: (::String | ::Symbol)?,
|
|
334
|
+
"run_id" => (::String | ::Symbol)?,
|
|
335
|
+
control: (::String | ::Symbol)?,
|
|
336
|
+
"control" => (::String | ::Symbol)?,
|
|
337
|
+
child_workflow_only: bool?,
|
|
338
|
+
"child_workflow_only" => bool?,
|
|
339
|
+
reason: (::String | ::Symbol)?,
|
|
340
|
+
"reason" => (::String | ::Symbol)?,
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
def initialize: (?init_map initial_value) -> void
|
|
344
|
+
|
|
345
|
+
def []:
|
|
346
|
+
("namespace" name) -> ::String
|
|
347
|
+
| ("workflow_id" name) -> ::String
|
|
348
|
+
| ("run_id" name) -> ::String
|
|
349
|
+
| ("control" name) -> ::String
|
|
350
|
+
| ("child_workflow_only" name) -> bool
|
|
351
|
+
| ("reason" name) -> ::String
|
|
352
|
+
|
|
353
|
+
def []=:
|
|
354
|
+
("namespace" name, (::String | ::Symbol) value) -> void
|
|
355
|
+
| ("workflow_id" name, (::String | ::Symbol) value) -> void
|
|
356
|
+
| ("run_id" name, (::String | ::Symbol) value) -> void
|
|
357
|
+
| ("control" name, (::String | ::Symbol) value) -> void
|
|
358
|
+
| ("child_workflow_only" name, bool value) -> void
|
|
359
|
+
| ("reason" name, (::String | ::Symbol) value) -> void
|
|
360
|
+
end
|
|
361
|
+
|
|
362
|
+
class SignalExternalWorkflowExecutionCommandAttributes < ::Google::Protobuf::AbstractMessage
|
|
363
|
+
|
|
364
|
+
# Deprecated. Cross-namespace operations are disabled by default as of server 1.30.1.
|
|
365
|
+
# @deprecated
|
|
366
|
+
attr_reader namespace(): ::String
|
|
367
|
+
attr_writer namespace(): ::String | ::Symbol
|
|
368
|
+
def clear_namespace: () -> void
|
|
369
|
+
|
|
370
|
+
attr_accessor execution(): ::Temporalio::Api::Common::V1::WorkflowExecution?
|
|
371
|
+
def has_execution?: () -> bool
|
|
372
|
+
def clear_execution: () -> void
|
|
373
|
+
|
|
374
|
+
# The workflow author-defined name of the signal to send to the workflow.
|
|
375
|
+
attr_reader signal_name(): ::String
|
|
376
|
+
attr_writer signal_name(): ::String | ::Symbol
|
|
377
|
+
def clear_signal_name: () -> void
|
|
378
|
+
|
|
379
|
+
# Serialized value(s) to provide with the signal.
|
|
380
|
+
attr_accessor input(): ::Temporalio::Api::Common::V1::Payloads?
|
|
381
|
+
def has_input?: () -> bool
|
|
382
|
+
def clear_input: () -> void
|
|
383
|
+
|
|
384
|
+
# Deprecated
|
|
385
|
+
# @deprecated
|
|
386
|
+
attr_reader control(): ::String
|
|
387
|
+
attr_writer control(): ::String | ::Symbol
|
|
388
|
+
def clear_control: () -> void
|
|
389
|
+
|
|
390
|
+
# Set this to true if the workflow being cancelled is a child of the workflow originating this
|
|
391
|
+
# command. The request will be rejected if it is set to true and the target workflow is *not*
|
|
392
|
+
# a child of the requesting workflow.
|
|
393
|
+
attr_accessor child_workflow_only(): bool
|
|
394
|
+
def clear_child_workflow_only: () -> void
|
|
395
|
+
|
|
396
|
+
# Headers that are passed by the workflow that is sending a signal to the external
|
|
397
|
+
# workflow that is receiving this signal.
|
|
398
|
+
attr_accessor header(): ::Temporalio::Api::Common::V1::Header?
|
|
399
|
+
def has_header?: () -> bool
|
|
400
|
+
def clear_header: () -> void
|
|
401
|
+
|
|
402
|
+
type init_map = {
|
|
403
|
+
namespace: (::String | ::Symbol)?,
|
|
404
|
+
"namespace" => (::String | ::Symbol)?,
|
|
405
|
+
execution: (::Temporalio::Api::Common::V1::WorkflowExecution | ::Temporalio::Api::Common::V1::WorkflowExecution::init_map)?,
|
|
406
|
+
"execution" => (::Temporalio::Api::Common::V1::WorkflowExecution | ::Temporalio::Api::Common::V1::WorkflowExecution::init_map)?,
|
|
407
|
+
signal_name: (::String | ::Symbol)?,
|
|
408
|
+
"signal_name" => (::String | ::Symbol)?,
|
|
409
|
+
input: (::Temporalio::Api::Common::V1::Payloads | ::Temporalio::Api::Common::V1::Payloads::init_map)?,
|
|
410
|
+
"input" => (::Temporalio::Api::Common::V1::Payloads | ::Temporalio::Api::Common::V1::Payloads::init_map)?,
|
|
411
|
+
control: (::String | ::Symbol)?,
|
|
412
|
+
"control" => (::String | ::Symbol)?,
|
|
413
|
+
child_workflow_only: bool?,
|
|
414
|
+
"child_workflow_only" => bool?,
|
|
415
|
+
header: (::Temporalio::Api::Common::V1::Header | ::Temporalio::Api::Common::V1::Header::init_map)?,
|
|
416
|
+
"header" => (::Temporalio::Api::Common::V1::Header | ::Temporalio::Api::Common::V1::Header::init_map)?,
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
def initialize: (?init_map initial_value) -> void
|
|
420
|
+
|
|
421
|
+
def []:
|
|
422
|
+
("namespace" name) -> ::String
|
|
423
|
+
| ("execution" name) -> ::Temporalio::Api::Common::V1::WorkflowExecution?
|
|
424
|
+
| ("signal_name" name) -> ::String
|
|
425
|
+
| ("input" name) -> ::Temporalio::Api::Common::V1::Payloads?
|
|
426
|
+
| ("control" name) -> ::String
|
|
427
|
+
| ("child_workflow_only" name) -> bool
|
|
428
|
+
| ("header" name) -> ::Temporalio::Api::Common::V1::Header?
|
|
429
|
+
|
|
430
|
+
def []=:
|
|
431
|
+
("namespace" name, (::String | ::Symbol) value) -> void
|
|
432
|
+
| ("execution" name, ::Temporalio::Api::Common::V1::WorkflowExecution? value) -> void
|
|
433
|
+
| ("signal_name" name, (::String | ::Symbol) value) -> void
|
|
434
|
+
| ("input" name, ::Temporalio::Api::Common::V1::Payloads? value) -> void
|
|
435
|
+
| ("control" name, (::String | ::Symbol) value) -> void
|
|
436
|
+
| ("child_workflow_only" name, bool value) -> void
|
|
437
|
+
| ("header" name, ::Temporalio::Api::Common::V1::Header? value) -> void
|
|
438
|
+
end
|
|
439
|
+
|
|
440
|
+
class UpsertWorkflowSearchAttributesCommandAttributes < ::Google::Protobuf::AbstractMessage
|
|
441
|
+
|
|
442
|
+
attr_accessor search_attributes(): ::Temporalio::Api::Common::V1::SearchAttributes?
|
|
443
|
+
def has_search_attributes?: () -> bool
|
|
444
|
+
def clear_search_attributes: () -> void
|
|
445
|
+
|
|
446
|
+
type init_map = {
|
|
447
|
+
search_attributes: (::Temporalio::Api::Common::V1::SearchAttributes | ::Temporalio::Api::Common::V1::SearchAttributes::init_map)?,
|
|
448
|
+
"search_attributes" => (::Temporalio::Api::Common::V1::SearchAttributes | ::Temporalio::Api::Common::V1::SearchAttributes::init_map)?,
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
def initialize: (?init_map initial_value) -> void
|
|
452
|
+
|
|
453
|
+
def []:
|
|
454
|
+
("search_attributes" name) -> ::Temporalio::Api::Common::V1::SearchAttributes?
|
|
455
|
+
|
|
456
|
+
def []=:
|
|
457
|
+
("search_attributes" name, ::Temporalio::Api::Common::V1::SearchAttributes? value) -> void
|
|
458
|
+
end
|
|
459
|
+
|
|
460
|
+
class ModifyWorkflowPropertiesCommandAttributes < ::Google::Protobuf::AbstractMessage
|
|
461
|
+
|
|
462
|
+
# If set, update the workflow memo with the provided values. The values will be merged with
|
|
463
|
+
# the existing memo. If the user wants to delete values, a default/empty Payload should be
|
|
464
|
+
# used as the value for the key being deleted.
|
|
465
|
+
attr_accessor upserted_memo(): ::Temporalio::Api::Common::V1::Memo?
|
|
466
|
+
def has_upserted_memo?: () -> bool
|
|
467
|
+
def clear_upserted_memo: () -> void
|
|
468
|
+
|
|
469
|
+
type init_map = {
|
|
470
|
+
upserted_memo: (::Temporalio::Api::Common::V1::Memo | ::Temporalio::Api::Common::V1::Memo::init_map)?,
|
|
471
|
+
"upserted_memo" => (::Temporalio::Api::Common::V1::Memo | ::Temporalio::Api::Common::V1::Memo::init_map)?,
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
def initialize: (?init_map initial_value) -> void
|
|
475
|
+
|
|
476
|
+
def []:
|
|
477
|
+
("upserted_memo" name) -> ::Temporalio::Api::Common::V1::Memo?
|
|
478
|
+
|
|
479
|
+
def []=:
|
|
480
|
+
("upserted_memo" name, ::Temporalio::Api::Common::V1::Memo? value) -> void
|
|
481
|
+
end
|
|
482
|
+
|
|
483
|
+
class RecordMarkerCommandAttributes < ::Google::Protobuf::AbstractMessage
|
|
484
|
+
|
|
485
|
+
attr_reader marker_name(): ::String
|
|
486
|
+
attr_writer marker_name(): ::String | ::Symbol
|
|
487
|
+
def clear_marker_name: () -> void
|
|
488
|
+
|
|
489
|
+
attr_accessor details(): ::Google::Protobuf::Map[::String, ::Temporalio::Api::Common::V1::Payloads]
|
|
490
|
+
def clear_details: () -> void
|
|
491
|
+
|
|
492
|
+
attr_accessor header(): ::Temporalio::Api::Common::V1::Header?
|
|
493
|
+
def has_header?: () -> bool
|
|
494
|
+
def clear_header: () -> void
|
|
495
|
+
|
|
496
|
+
attr_accessor failure(): ::Temporalio::Api::Failure::V1::Failure?
|
|
497
|
+
def has_failure?: () -> bool
|
|
498
|
+
def clear_failure: () -> void
|
|
499
|
+
|
|
500
|
+
type init_map = {
|
|
501
|
+
marker_name: (::String | ::Symbol)?,
|
|
502
|
+
"marker_name" => (::String | ::Symbol)?,
|
|
503
|
+
details: ::Hash[::String | ::Symbol, ::Temporalio::Api::Common::V1::Payloads]?,
|
|
504
|
+
"details" => ::Hash[::String | ::Symbol, ::Temporalio::Api::Common::V1::Payloads]?,
|
|
505
|
+
header: (::Temporalio::Api::Common::V1::Header | ::Temporalio::Api::Common::V1::Header::init_map)?,
|
|
506
|
+
"header" => (::Temporalio::Api::Common::V1::Header | ::Temporalio::Api::Common::V1::Header::init_map)?,
|
|
507
|
+
failure: (::Temporalio::Api::Failure::V1::Failure | ::Temporalio::Api::Failure::V1::Failure::init_map)?,
|
|
508
|
+
"failure" => (::Temporalio::Api::Failure::V1::Failure | ::Temporalio::Api::Failure::V1::Failure::init_map)?,
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
def initialize: (?init_map initial_value) -> void
|
|
512
|
+
|
|
513
|
+
def []:
|
|
514
|
+
("marker_name" name) -> ::String
|
|
515
|
+
| ("details" name) -> (::Google::Protobuf::Map[::String, ::Temporalio::Api::Common::V1::Payloads])
|
|
516
|
+
| ("header" name) -> ::Temporalio::Api::Common::V1::Header?
|
|
517
|
+
| ("failure" name) -> ::Temporalio::Api::Failure::V1::Failure?
|
|
518
|
+
|
|
519
|
+
def []=:
|
|
520
|
+
("marker_name" name, (::String | ::Symbol) value) -> void
|
|
521
|
+
| ("details" name, (::Google::Protobuf::Map[::String, ::Temporalio::Api::Common::V1::Payloads]) value) -> void
|
|
522
|
+
| ("header" name, ::Temporalio::Api::Common::V1::Header? value) -> void
|
|
523
|
+
| ("failure" name, ::Temporalio::Api::Failure::V1::Failure? value) -> void
|
|
524
|
+
end
|
|
525
|
+
|
|
526
|
+
class ContinueAsNewWorkflowExecutionCommandAttributes < ::Google::Protobuf::AbstractMessage
|
|
527
|
+
|
|
528
|
+
attr_accessor workflow_type(): ::Temporalio::Api::Common::V1::WorkflowType?
|
|
529
|
+
def has_workflow_type?: () -> bool
|
|
530
|
+
def clear_workflow_type: () -> void
|
|
531
|
+
|
|
532
|
+
attr_accessor task_queue(): ::Temporalio::Api::TaskQueue::V1::TaskQueue?
|
|
533
|
+
def has_task_queue?: () -> bool
|
|
534
|
+
def clear_task_queue: () -> void
|
|
535
|
+
|
|
536
|
+
attr_accessor input(): ::Temporalio::Api::Common::V1::Payloads?
|
|
537
|
+
def has_input?: () -> bool
|
|
538
|
+
def clear_input: () -> void
|
|
539
|
+
|
|
540
|
+
# Timeout of a single workflow run.
|
|
541
|
+
attr_reader workflow_run_timeout(): ::Google::Protobuf::Duration?
|
|
542
|
+
attr_writer workflow_run_timeout(): (::Google::Protobuf::Duration | ::int)?
|
|
543
|
+
def has_workflow_run_timeout?: () -> bool
|
|
544
|
+
def clear_workflow_run_timeout: () -> void
|
|
545
|
+
|
|
546
|
+
# Timeout of a single workflow task.
|
|
547
|
+
attr_reader workflow_task_timeout(): ::Google::Protobuf::Duration?
|
|
548
|
+
attr_writer workflow_task_timeout(): (::Google::Protobuf::Duration | ::int)?
|
|
549
|
+
def has_workflow_task_timeout?: () -> bool
|
|
550
|
+
def clear_workflow_task_timeout: () -> void
|
|
551
|
+
|
|
552
|
+
# How long the workflow start will be delayed - not really a "backoff" in the traditional sense.
|
|
553
|
+
attr_reader backoff_start_interval(): ::Google::Protobuf::Duration?
|
|
554
|
+
attr_writer backoff_start_interval(): (::Google::Protobuf::Duration | ::int)?
|
|
555
|
+
def has_backoff_start_interval?: () -> bool
|
|
556
|
+
def clear_backoff_start_interval: () -> void
|
|
557
|
+
|
|
558
|
+
attr_accessor retry_policy(): ::Temporalio::Api::Common::V1::RetryPolicy?
|
|
559
|
+
def has_retry_policy?: () -> bool
|
|
560
|
+
def clear_retry_policy: () -> void
|
|
561
|
+
|
|
562
|
+
# Should be removed
|
|
563
|
+
attr_reader initiator(): ::Temporalio::Api::Enums::V1::ContinueAsNewInitiator::names | ::Integer
|
|
564
|
+
attr_writer initiator(): ::Temporalio::Api::Enums::V1::ContinueAsNewInitiator::names | ::Temporalio::Api::Enums::V1::ContinueAsNewInitiator::strings | ::Integer | ::Float
|
|
565
|
+
attr_reader initiator_const(): ::Integer
|
|
566
|
+
def clear_initiator: () -> void
|
|
567
|
+
|
|
568
|
+
# Should be removed
|
|
569
|
+
attr_accessor failure(): ::Temporalio::Api::Failure::V1::Failure?
|
|
570
|
+
def has_failure?: () -> bool
|
|
571
|
+
def clear_failure: () -> void
|
|
572
|
+
|
|
573
|
+
# Should be removed
|
|
574
|
+
attr_accessor last_completion_result(): ::Temporalio::Api::Common::V1::Payloads?
|
|
575
|
+
def has_last_completion_result?: () -> bool
|
|
576
|
+
def clear_last_completion_result: () -> void
|
|
577
|
+
|
|
578
|
+
# Should be removed. Not necessarily unused but unclear and not exposed by SDKs.
|
|
579
|
+
attr_reader cron_schedule(): ::String
|
|
580
|
+
attr_writer cron_schedule(): ::String | ::Symbol
|
|
581
|
+
def clear_cron_schedule: () -> void
|
|
582
|
+
|
|
583
|
+
attr_accessor header(): ::Temporalio::Api::Common::V1::Header?
|
|
584
|
+
def has_header?: () -> bool
|
|
585
|
+
def clear_header: () -> void
|
|
586
|
+
|
|
587
|
+
attr_accessor memo(): ::Temporalio::Api::Common::V1::Memo?
|
|
588
|
+
def has_memo?: () -> bool
|
|
589
|
+
def clear_memo: () -> void
|
|
590
|
+
|
|
591
|
+
attr_accessor search_attributes(): ::Temporalio::Api::Common::V1::SearchAttributes?
|
|
592
|
+
def has_search_attributes?: () -> bool
|
|
593
|
+
def clear_search_attributes: () -> void
|
|
594
|
+
|
|
595
|
+
# If this is set, the new execution inherits the Build ID of the current execution. Otherwise,
|
|
596
|
+
# the assignment rules will be used to independently assign a Build ID to the new execution.
|
|
597
|
+
# Deprecated. Only considered for versioning v0.2.
|
|
598
|
+
# @deprecated
|
|
599
|
+
attr_accessor inherit_build_id(): bool
|
|
600
|
+
def clear_inherit_build_id: () -> void
|
|
601
|
+
|
|
602
|
+
# Experimental. Optionally decide the versioning behavior that the first task of the new run should use.
|
|
603
|
+
# For example, choose to AutoUpgrade on continue-as-new instead of inheriting the pinned version
|
|
604
|
+
# of the previous run.
|
|
605
|
+
attr_reader initial_versioning_behavior(): ::Temporalio::Api::Enums::V1::ContinueAsNewVersioningBehavior::names | ::Integer
|
|
606
|
+
attr_writer initial_versioning_behavior(): ::Temporalio::Api::Enums::V1::ContinueAsNewVersioningBehavior::names | ::Temporalio::Api::Enums::V1::ContinueAsNewVersioningBehavior::strings | ::Integer | ::Float
|
|
607
|
+
attr_reader initial_versioning_behavior_const(): ::Integer
|
|
608
|
+
def clear_initial_versioning_behavior: () -> void
|
|
609
|
+
|
|
610
|
+
type init_map = {
|
|
611
|
+
workflow_type: (::Temporalio::Api::Common::V1::WorkflowType | ::Temporalio::Api::Common::V1::WorkflowType::init_map)?,
|
|
612
|
+
"workflow_type" => (::Temporalio::Api::Common::V1::WorkflowType | ::Temporalio::Api::Common::V1::WorkflowType::init_map)?,
|
|
613
|
+
task_queue: (::Temporalio::Api::TaskQueue::V1::TaskQueue | ::Temporalio::Api::TaskQueue::V1::TaskQueue::init_map)?,
|
|
614
|
+
"task_queue" => (::Temporalio::Api::TaskQueue::V1::TaskQueue | ::Temporalio::Api::TaskQueue::V1::TaskQueue::init_map)?,
|
|
615
|
+
input: (::Temporalio::Api::Common::V1::Payloads | ::Temporalio::Api::Common::V1::Payloads::init_map)?,
|
|
616
|
+
"input" => (::Temporalio::Api::Common::V1::Payloads | ::Temporalio::Api::Common::V1::Payloads::init_map)?,
|
|
617
|
+
workflow_run_timeout: (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?,
|
|
618
|
+
"workflow_run_timeout" => (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?,
|
|
619
|
+
workflow_task_timeout: (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?,
|
|
620
|
+
"workflow_task_timeout" => (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?,
|
|
621
|
+
backoff_start_interval: (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?,
|
|
622
|
+
"backoff_start_interval" => (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?,
|
|
623
|
+
retry_policy: (::Temporalio::Api::Common::V1::RetryPolicy | ::Temporalio::Api::Common::V1::RetryPolicy::init_map)?,
|
|
624
|
+
"retry_policy" => (::Temporalio::Api::Common::V1::RetryPolicy | ::Temporalio::Api::Common::V1::RetryPolicy::init_map)?,
|
|
625
|
+
initiator: (::Temporalio::Api::Enums::V1::ContinueAsNewInitiator::names | ::Temporalio::Api::Enums::V1::ContinueAsNewInitiator::strings | ::Integer | ::Float)?,
|
|
626
|
+
"initiator" => (::Temporalio::Api::Enums::V1::ContinueAsNewInitiator::names | ::Temporalio::Api::Enums::V1::ContinueAsNewInitiator::strings | ::Integer | ::Float)?,
|
|
627
|
+
failure: (::Temporalio::Api::Failure::V1::Failure | ::Temporalio::Api::Failure::V1::Failure::init_map)?,
|
|
628
|
+
"failure" => (::Temporalio::Api::Failure::V1::Failure | ::Temporalio::Api::Failure::V1::Failure::init_map)?,
|
|
629
|
+
last_completion_result: (::Temporalio::Api::Common::V1::Payloads | ::Temporalio::Api::Common::V1::Payloads::init_map)?,
|
|
630
|
+
"last_completion_result" => (::Temporalio::Api::Common::V1::Payloads | ::Temporalio::Api::Common::V1::Payloads::init_map)?,
|
|
631
|
+
cron_schedule: (::String | ::Symbol)?,
|
|
632
|
+
"cron_schedule" => (::String | ::Symbol)?,
|
|
633
|
+
header: (::Temporalio::Api::Common::V1::Header | ::Temporalio::Api::Common::V1::Header::init_map)?,
|
|
634
|
+
"header" => (::Temporalio::Api::Common::V1::Header | ::Temporalio::Api::Common::V1::Header::init_map)?,
|
|
635
|
+
memo: (::Temporalio::Api::Common::V1::Memo | ::Temporalio::Api::Common::V1::Memo::init_map)?,
|
|
636
|
+
"memo" => (::Temporalio::Api::Common::V1::Memo | ::Temporalio::Api::Common::V1::Memo::init_map)?,
|
|
637
|
+
search_attributes: (::Temporalio::Api::Common::V1::SearchAttributes | ::Temporalio::Api::Common::V1::SearchAttributes::init_map)?,
|
|
638
|
+
"search_attributes" => (::Temporalio::Api::Common::V1::SearchAttributes | ::Temporalio::Api::Common::V1::SearchAttributes::init_map)?,
|
|
639
|
+
inherit_build_id: bool?,
|
|
640
|
+
"inherit_build_id" => bool?,
|
|
641
|
+
initial_versioning_behavior: (::Temporalio::Api::Enums::V1::ContinueAsNewVersioningBehavior::names | ::Temporalio::Api::Enums::V1::ContinueAsNewVersioningBehavior::strings | ::Integer | ::Float)?,
|
|
642
|
+
"initial_versioning_behavior" => (::Temporalio::Api::Enums::V1::ContinueAsNewVersioningBehavior::names | ::Temporalio::Api::Enums::V1::ContinueAsNewVersioningBehavior::strings | ::Integer | ::Float)?,
|
|
643
|
+
}
|
|
644
|
+
|
|
645
|
+
def initialize: (?init_map initial_value) -> void
|
|
646
|
+
|
|
647
|
+
def []:
|
|
648
|
+
("workflow_type" name) -> ::Temporalio::Api::Common::V1::WorkflowType?
|
|
649
|
+
| ("task_queue" name) -> ::Temporalio::Api::TaskQueue::V1::TaskQueue?
|
|
650
|
+
| ("input" name) -> ::Temporalio::Api::Common::V1::Payloads?
|
|
651
|
+
| ("workflow_run_timeout" name) -> ::Google::Protobuf::Duration?
|
|
652
|
+
| ("workflow_task_timeout" name) -> ::Google::Protobuf::Duration?
|
|
653
|
+
| ("backoff_start_interval" name) -> ::Google::Protobuf::Duration?
|
|
654
|
+
| ("retry_policy" name) -> ::Temporalio::Api::Common::V1::RetryPolicy?
|
|
655
|
+
| ("initiator" name) -> (::Temporalio::Api::Enums::V1::ContinueAsNewInitiator::names | ::Integer)
|
|
656
|
+
| ("failure" name) -> ::Temporalio::Api::Failure::V1::Failure?
|
|
657
|
+
| ("last_completion_result" name) -> ::Temporalio::Api::Common::V1::Payloads?
|
|
658
|
+
| ("cron_schedule" name) -> ::String
|
|
659
|
+
| ("header" name) -> ::Temporalio::Api::Common::V1::Header?
|
|
660
|
+
| ("memo" name) -> ::Temporalio::Api::Common::V1::Memo?
|
|
661
|
+
| ("search_attributes" name) -> ::Temporalio::Api::Common::V1::SearchAttributes?
|
|
662
|
+
| ("inherit_build_id" name) -> bool
|
|
663
|
+
| ("initial_versioning_behavior" name) -> (::Temporalio::Api::Enums::V1::ContinueAsNewVersioningBehavior::names | ::Integer)
|
|
664
|
+
|
|
665
|
+
def []=:
|
|
666
|
+
("workflow_type" name, ::Temporalio::Api::Common::V1::WorkflowType? value) -> void
|
|
667
|
+
| ("task_queue" name, ::Temporalio::Api::TaskQueue::V1::TaskQueue? value) -> void
|
|
668
|
+
| ("input" name, ::Temporalio::Api::Common::V1::Payloads? value) -> void
|
|
669
|
+
| ("workflow_run_timeout" name, ((::Google::Protobuf::Duration | ::int)?) value) -> void
|
|
670
|
+
| ("workflow_task_timeout" name, ((::Google::Protobuf::Duration | ::int)?) value) -> void
|
|
671
|
+
| ("backoff_start_interval" name, ((::Google::Protobuf::Duration | ::int)?) value) -> void
|
|
672
|
+
| ("retry_policy" name, ::Temporalio::Api::Common::V1::RetryPolicy? value) -> void
|
|
673
|
+
| ("initiator" name, (::Temporalio::Api::Enums::V1::ContinueAsNewInitiator::names | ::Temporalio::Api::Enums::V1::ContinueAsNewInitiator::strings | ::Integer | ::Float) value) -> void
|
|
674
|
+
| ("failure" name, ::Temporalio::Api::Failure::V1::Failure? value) -> void
|
|
675
|
+
| ("last_completion_result" name, ::Temporalio::Api::Common::V1::Payloads? value) -> void
|
|
676
|
+
| ("cron_schedule" name, (::String | ::Symbol) value) -> void
|
|
677
|
+
| ("header" name, ::Temporalio::Api::Common::V1::Header? value) -> void
|
|
678
|
+
| ("memo" name, ::Temporalio::Api::Common::V1::Memo? value) -> void
|
|
679
|
+
| ("search_attributes" name, ::Temporalio::Api::Common::V1::SearchAttributes? value) -> void
|
|
680
|
+
| ("inherit_build_id" name, bool value) -> void
|
|
681
|
+
| ("initial_versioning_behavior" name, (::Temporalio::Api::Enums::V1::ContinueAsNewVersioningBehavior::names | ::Temporalio::Api::Enums::V1::ContinueAsNewVersioningBehavior::strings | ::Integer | ::Float) value) -> void
|
|
682
|
+
end
|
|
683
|
+
|
|
684
|
+
class StartChildWorkflowExecutionCommandAttributes < ::Google::Protobuf::AbstractMessage
|
|
685
|
+
|
|
686
|
+
# Deprecated. Cross-namespace operations are disabled by default as of server 1.30.1.
|
|
687
|
+
# @deprecated
|
|
688
|
+
attr_reader namespace(): ::String
|
|
689
|
+
attr_writer namespace(): ::String | ::Symbol
|
|
690
|
+
def clear_namespace: () -> void
|
|
691
|
+
|
|
692
|
+
attr_reader workflow_id(): ::String
|
|
693
|
+
attr_writer workflow_id(): ::String | ::Symbol
|
|
694
|
+
def clear_workflow_id: () -> void
|
|
695
|
+
|
|
696
|
+
attr_accessor workflow_type(): ::Temporalio::Api::Common::V1::WorkflowType?
|
|
697
|
+
def has_workflow_type?: () -> bool
|
|
698
|
+
def clear_workflow_type: () -> void
|
|
699
|
+
|
|
700
|
+
attr_accessor task_queue(): ::Temporalio::Api::TaskQueue::V1::TaskQueue?
|
|
701
|
+
def has_task_queue?: () -> bool
|
|
702
|
+
def clear_task_queue: () -> void
|
|
703
|
+
|
|
704
|
+
attr_accessor input(): ::Temporalio::Api::Common::V1::Payloads?
|
|
705
|
+
def has_input?: () -> bool
|
|
706
|
+
def clear_input: () -> void
|
|
707
|
+
|
|
708
|
+
# Total workflow execution timeout including retries and continue as new.
|
|
709
|
+
attr_reader workflow_execution_timeout(): ::Google::Protobuf::Duration?
|
|
710
|
+
attr_writer workflow_execution_timeout(): (::Google::Protobuf::Duration | ::int)?
|
|
711
|
+
def has_workflow_execution_timeout?: () -> bool
|
|
712
|
+
def clear_workflow_execution_timeout: () -> void
|
|
713
|
+
|
|
714
|
+
# Timeout of a single workflow run.
|
|
715
|
+
attr_reader workflow_run_timeout(): ::Google::Protobuf::Duration?
|
|
716
|
+
attr_writer workflow_run_timeout(): (::Google::Protobuf::Duration | ::int)?
|
|
717
|
+
def has_workflow_run_timeout?: () -> bool
|
|
718
|
+
def clear_workflow_run_timeout: () -> void
|
|
719
|
+
|
|
720
|
+
# Timeout of a single workflow task.
|
|
721
|
+
attr_reader workflow_task_timeout(): ::Google::Protobuf::Duration?
|
|
722
|
+
attr_writer workflow_task_timeout(): (::Google::Protobuf::Duration | ::int)?
|
|
723
|
+
def has_workflow_task_timeout?: () -> bool
|
|
724
|
+
def clear_workflow_task_timeout: () -> void
|
|
725
|
+
|
|
726
|
+
# Default: PARENT_CLOSE_POLICY_TERMINATE.
|
|
727
|
+
attr_reader parent_close_policy(): ::Temporalio::Api::Enums::V1::ParentClosePolicy::names | ::Integer
|
|
728
|
+
attr_writer parent_close_policy(): ::Temporalio::Api::Enums::V1::ParentClosePolicy::names | ::Temporalio::Api::Enums::V1::ParentClosePolicy::strings | ::Integer | ::Float
|
|
729
|
+
attr_reader parent_close_policy_const(): ::Integer
|
|
730
|
+
def clear_parent_close_policy: () -> void
|
|
731
|
+
|
|
732
|
+
attr_reader control(): ::String
|
|
733
|
+
attr_writer control(): ::String | ::Symbol
|
|
734
|
+
def clear_control: () -> void
|
|
735
|
+
|
|
736
|
+
# Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.
|
|
737
|
+
attr_reader workflow_id_reuse_policy(): ::Temporalio::Api::Enums::V1::WorkflowIdReusePolicy::names | ::Integer
|
|
738
|
+
attr_writer workflow_id_reuse_policy(): ::Temporalio::Api::Enums::V1::WorkflowIdReusePolicy::names | ::Temporalio::Api::Enums::V1::WorkflowIdReusePolicy::strings | ::Integer | ::Float
|
|
739
|
+
attr_reader workflow_id_reuse_policy_const(): ::Integer
|
|
740
|
+
def clear_workflow_id_reuse_policy: () -> void
|
|
741
|
+
|
|
742
|
+
attr_accessor retry_policy(): ::Temporalio::Api::Common::V1::RetryPolicy?
|
|
743
|
+
def has_retry_policy?: () -> bool
|
|
744
|
+
def clear_retry_policy: () -> void
|
|
745
|
+
|
|
746
|
+
# Establish a cron schedule for the child workflow.
|
|
747
|
+
attr_reader cron_schedule(): ::String
|
|
748
|
+
attr_writer cron_schedule(): ::String | ::Symbol
|
|
749
|
+
def clear_cron_schedule: () -> void
|
|
750
|
+
|
|
751
|
+
attr_accessor header(): ::Temporalio::Api::Common::V1::Header?
|
|
752
|
+
def has_header?: () -> bool
|
|
753
|
+
def clear_header: () -> void
|
|
754
|
+
|
|
755
|
+
attr_accessor memo(): ::Temporalio::Api::Common::V1::Memo?
|
|
756
|
+
def has_memo?: () -> bool
|
|
757
|
+
def clear_memo: () -> void
|
|
758
|
+
|
|
759
|
+
attr_accessor search_attributes(): ::Temporalio::Api::Common::V1::SearchAttributes?
|
|
760
|
+
def has_search_attributes?: () -> bool
|
|
761
|
+
def clear_search_attributes: () -> void
|
|
762
|
+
|
|
763
|
+
# If this is set, the child workflow inherits the Build ID of the parent. Otherwise, the assignment
|
|
764
|
+
# rules of the child's Task Queue will be used to independently assign a Build ID to it.
|
|
765
|
+
# Deprecated. Only considered for versioning v0.2.
|
|
766
|
+
# @deprecated
|
|
767
|
+
attr_accessor inherit_build_id(): bool
|
|
768
|
+
def clear_inherit_build_id: () -> void
|
|
769
|
+
|
|
770
|
+
# Priority metadata. If this message is not present, or any fields are not
|
|
771
|
+
# present, they inherit the values from the workflow.
|
|
772
|
+
attr_accessor priority(): ::Temporalio::Api::Common::V1::Priority?
|
|
773
|
+
def has_priority?: () -> bool
|
|
774
|
+
def clear_priority: () -> void
|
|
775
|
+
|
|
776
|
+
type init_map = {
|
|
777
|
+
namespace: (::String | ::Symbol)?,
|
|
778
|
+
"namespace" => (::String | ::Symbol)?,
|
|
779
|
+
workflow_id: (::String | ::Symbol)?,
|
|
780
|
+
"workflow_id" => (::String | ::Symbol)?,
|
|
781
|
+
workflow_type: (::Temporalio::Api::Common::V1::WorkflowType | ::Temporalio::Api::Common::V1::WorkflowType::init_map)?,
|
|
782
|
+
"workflow_type" => (::Temporalio::Api::Common::V1::WorkflowType | ::Temporalio::Api::Common::V1::WorkflowType::init_map)?,
|
|
783
|
+
task_queue: (::Temporalio::Api::TaskQueue::V1::TaskQueue | ::Temporalio::Api::TaskQueue::V1::TaskQueue::init_map)?,
|
|
784
|
+
"task_queue" => (::Temporalio::Api::TaskQueue::V1::TaskQueue | ::Temporalio::Api::TaskQueue::V1::TaskQueue::init_map)?,
|
|
785
|
+
input: (::Temporalio::Api::Common::V1::Payloads | ::Temporalio::Api::Common::V1::Payloads::init_map)?,
|
|
786
|
+
"input" => (::Temporalio::Api::Common::V1::Payloads | ::Temporalio::Api::Common::V1::Payloads::init_map)?,
|
|
787
|
+
workflow_execution_timeout: (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?,
|
|
788
|
+
"workflow_execution_timeout" => (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?,
|
|
789
|
+
workflow_run_timeout: (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?,
|
|
790
|
+
"workflow_run_timeout" => (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?,
|
|
791
|
+
workflow_task_timeout: (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?,
|
|
792
|
+
"workflow_task_timeout" => (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?,
|
|
793
|
+
parent_close_policy: (::Temporalio::Api::Enums::V1::ParentClosePolicy::names | ::Temporalio::Api::Enums::V1::ParentClosePolicy::strings | ::Integer | ::Float)?,
|
|
794
|
+
"parent_close_policy" => (::Temporalio::Api::Enums::V1::ParentClosePolicy::names | ::Temporalio::Api::Enums::V1::ParentClosePolicy::strings | ::Integer | ::Float)?,
|
|
795
|
+
control: (::String | ::Symbol)?,
|
|
796
|
+
"control" => (::String | ::Symbol)?,
|
|
797
|
+
workflow_id_reuse_policy: (::Temporalio::Api::Enums::V1::WorkflowIdReusePolicy::names | ::Temporalio::Api::Enums::V1::WorkflowIdReusePolicy::strings | ::Integer | ::Float)?,
|
|
798
|
+
"workflow_id_reuse_policy" => (::Temporalio::Api::Enums::V1::WorkflowIdReusePolicy::names | ::Temporalio::Api::Enums::V1::WorkflowIdReusePolicy::strings | ::Integer | ::Float)?,
|
|
799
|
+
retry_policy: (::Temporalio::Api::Common::V1::RetryPolicy | ::Temporalio::Api::Common::V1::RetryPolicy::init_map)?,
|
|
800
|
+
"retry_policy" => (::Temporalio::Api::Common::V1::RetryPolicy | ::Temporalio::Api::Common::V1::RetryPolicy::init_map)?,
|
|
801
|
+
cron_schedule: (::String | ::Symbol)?,
|
|
802
|
+
"cron_schedule" => (::String | ::Symbol)?,
|
|
803
|
+
header: (::Temporalio::Api::Common::V1::Header | ::Temporalio::Api::Common::V1::Header::init_map)?,
|
|
804
|
+
"header" => (::Temporalio::Api::Common::V1::Header | ::Temporalio::Api::Common::V1::Header::init_map)?,
|
|
805
|
+
memo: (::Temporalio::Api::Common::V1::Memo | ::Temporalio::Api::Common::V1::Memo::init_map)?,
|
|
806
|
+
"memo" => (::Temporalio::Api::Common::V1::Memo | ::Temporalio::Api::Common::V1::Memo::init_map)?,
|
|
807
|
+
search_attributes: (::Temporalio::Api::Common::V1::SearchAttributes | ::Temporalio::Api::Common::V1::SearchAttributes::init_map)?,
|
|
808
|
+
"search_attributes" => (::Temporalio::Api::Common::V1::SearchAttributes | ::Temporalio::Api::Common::V1::SearchAttributes::init_map)?,
|
|
809
|
+
inherit_build_id: bool?,
|
|
810
|
+
"inherit_build_id" => bool?,
|
|
811
|
+
priority: (::Temporalio::Api::Common::V1::Priority | ::Temporalio::Api::Common::V1::Priority::init_map)?,
|
|
812
|
+
"priority" => (::Temporalio::Api::Common::V1::Priority | ::Temporalio::Api::Common::V1::Priority::init_map)?,
|
|
813
|
+
}
|
|
814
|
+
|
|
815
|
+
def initialize: (?init_map initial_value) -> void
|
|
816
|
+
|
|
817
|
+
def []:
|
|
818
|
+
("namespace" name) -> ::String
|
|
819
|
+
| ("workflow_id" name) -> ::String
|
|
820
|
+
| ("workflow_type" name) -> ::Temporalio::Api::Common::V1::WorkflowType?
|
|
821
|
+
| ("task_queue" name) -> ::Temporalio::Api::TaskQueue::V1::TaskQueue?
|
|
822
|
+
| ("input" name) -> ::Temporalio::Api::Common::V1::Payloads?
|
|
823
|
+
| ("workflow_execution_timeout" name) -> ::Google::Protobuf::Duration?
|
|
824
|
+
| ("workflow_run_timeout" name) -> ::Google::Protobuf::Duration?
|
|
825
|
+
| ("workflow_task_timeout" name) -> ::Google::Protobuf::Duration?
|
|
826
|
+
| ("parent_close_policy" name) -> (::Temporalio::Api::Enums::V1::ParentClosePolicy::names | ::Integer)
|
|
827
|
+
| ("control" name) -> ::String
|
|
828
|
+
| ("workflow_id_reuse_policy" name) -> (::Temporalio::Api::Enums::V1::WorkflowIdReusePolicy::names | ::Integer)
|
|
829
|
+
| ("retry_policy" name) -> ::Temporalio::Api::Common::V1::RetryPolicy?
|
|
830
|
+
| ("cron_schedule" name) -> ::String
|
|
831
|
+
| ("header" name) -> ::Temporalio::Api::Common::V1::Header?
|
|
832
|
+
| ("memo" name) -> ::Temporalio::Api::Common::V1::Memo?
|
|
833
|
+
| ("search_attributes" name) -> ::Temporalio::Api::Common::V1::SearchAttributes?
|
|
834
|
+
| ("inherit_build_id" name) -> bool
|
|
835
|
+
| ("priority" name) -> ::Temporalio::Api::Common::V1::Priority?
|
|
836
|
+
|
|
837
|
+
def []=:
|
|
838
|
+
("namespace" name, (::String | ::Symbol) value) -> void
|
|
839
|
+
| ("workflow_id" name, (::String | ::Symbol) value) -> void
|
|
840
|
+
| ("workflow_type" name, ::Temporalio::Api::Common::V1::WorkflowType? value) -> void
|
|
841
|
+
| ("task_queue" name, ::Temporalio::Api::TaskQueue::V1::TaskQueue? value) -> void
|
|
842
|
+
| ("input" name, ::Temporalio::Api::Common::V1::Payloads? value) -> void
|
|
843
|
+
| ("workflow_execution_timeout" name, ((::Google::Protobuf::Duration | ::int)?) value) -> void
|
|
844
|
+
| ("workflow_run_timeout" name, ((::Google::Protobuf::Duration | ::int)?) value) -> void
|
|
845
|
+
| ("workflow_task_timeout" name, ((::Google::Protobuf::Duration | ::int)?) value) -> void
|
|
846
|
+
| ("parent_close_policy" name, (::Temporalio::Api::Enums::V1::ParentClosePolicy::names | ::Temporalio::Api::Enums::V1::ParentClosePolicy::strings | ::Integer | ::Float) value) -> void
|
|
847
|
+
| ("control" name, (::String | ::Symbol) value) -> void
|
|
848
|
+
| ("workflow_id_reuse_policy" name, (::Temporalio::Api::Enums::V1::WorkflowIdReusePolicy::names | ::Temporalio::Api::Enums::V1::WorkflowIdReusePolicy::strings | ::Integer | ::Float) value) -> void
|
|
849
|
+
| ("retry_policy" name, ::Temporalio::Api::Common::V1::RetryPolicy? value) -> void
|
|
850
|
+
| ("cron_schedule" name, (::String | ::Symbol) value) -> void
|
|
851
|
+
| ("header" name, ::Temporalio::Api::Common::V1::Header? value) -> void
|
|
852
|
+
| ("memo" name, ::Temporalio::Api::Common::V1::Memo? value) -> void
|
|
853
|
+
| ("search_attributes" name, ::Temporalio::Api::Common::V1::SearchAttributes? value) -> void
|
|
854
|
+
| ("inherit_build_id" name, bool value) -> void
|
|
855
|
+
| ("priority" name, ::Temporalio::Api::Common::V1::Priority? value) -> void
|
|
856
|
+
end
|
|
857
|
+
|
|
858
|
+
class ProtocolMessageCommandAttributes < ::Google::Protobuf::AbstractMessage
|
|
859
|
+
|
|
860
|
+
# The message ID of the message to which this command is a pointer.
|
|
861
|
+
attr_reader message_id(): ::String
|
|
862
|
+
attr_writer message_id(): ::String | ::Symbol
|
|
863
|
+
def clear_message_id: () -> void
|
|
864
|
+
|
|
865
|
+
type init_map = {
|
|
866
|
+
message_id: (::String | ::Symbol)?,
|
|
867
|
+
"message_id" => (::String | ::Symbol)?,
|
|
868
|
+
}
|
|
869
|
+
|
|
870
|
+
def initialize: (?init_map initial_value) -> void
|
|
871
|
+
|
|
872
|
+
def []:
|
|
873
|
+
("message_id" name) -> ::String
|
|
874
|
+
|
|
875
|
+
def []=:
|
|
876
|
+
("message_id" name, (::String | ::Symbol) value) -> void
|
|
877
|
+
end
|
|
878
|
+
|
|
879
|
+
class ScheduleNexusOperationCommandAttributes < ::Google::Protobuf::AbstractMessage
|
|
880
|
+
|
|
881
|
+
# Endpoint name, must exist in the endpoint registry or this command will fail.
|
|
882
|
+
attr_reader endpoint(): ::String
|
|
883
|
+
attr_writer endpoint(): ::String | ::Symbol
|
|
884
|
+
def clear_endpoint: () -> void
|
|
885
|
+
|
|
886
|
+
# Service name.
|
|
887
|
+
attr_reader service(): ::String
|
|
888
|
+
attr_writer service(): ::String | ::Symbol
|
|
889
|
+
def clear_service: () -> void
|
|
890
|
+
|
|
891
|
+
# Operation name.
|
|
892
|
+
attr_reader operation(): ::String
|
|
893
|
+
attr_writer operation(): ::String | ::Symbol
|
|
894
|
+
def clear_operation: () -> void
|
|
895
|
+
|
|
896
|
+
# Input for the operation. The server converts this into Nexus request content and the appropriate content headers
|
|
897
|
+
# internally when sending the StartOperation request. On the handler side, if it is also backed by Temporal, the
|
|
898
|
+
# content is transformed back to the original Payload sent in this command.
|
|
899
|
+
attr_accessor input(): ::Temporalio::Api::Common::V1::Payload?
|
|
900
|
+
def has_input?: () -> bool
|
|
901
|
+
def clear_input: () -> void
|
|
902
|
+
|
|
903
|
+
# Schedule-to-close timeout for this operation.
|
|
904
|
+
# Indicates how long the caller is willing to wait for operation completion.
|
|
905
|
+
# Calls are retried internally by the server.
|
|
906
|
+
# (-- api-linter: core::0140::prepositions=disabled
|
|
907
|
+
# aip.dev/not-precedent: "to" is used to indicate interval. --)
|
|
908
|
+
attr_reader schedule_to_close_timeout(): ::Google::Protobuf::Duration?
|
|
909
|
+
attr_writer schedule_to_close_timeout(): (::Google::Protobuf::Duration | ::int)?
|
|
910
|
+
def has_schedule_to_close_timeout?: () -> bool
|
|
911
|
+
def clear_schedule_to_close_timeout: () -> void
|
|
912
|
+
|
|
913
|
+
# Header to attach to the Nexus request.
|
|
914
|
+
# Users are responsible for encrypting sensitive data in this header as it is stored in workflow history and
|
|
915
|
+
# transmitted to external services as-is.
|
|
916
|
+
# This is useful for propagating tracing information.
|
|
917
|
+
# Note these headers are not the same as Temporal headers on internal activities and child workflows, these are
|
|
918
|
+
# transmitted to Nexus operations that may be external and are not traditional payloads.
|
|
919
|
+
attr_accessor nexus_header(): ::Google::Protobuf::Map[::String, ::String]
|
|
920
|
+
def clear_nexus_header: () -> void
|
|
921
|
+
|
|
922
|
+
# Schedule-to-start timeout for this operation.
|
|
923
|
+
# Indicates how long the caller is willing to wait for the operation to be started (or completed if synchronous)
|
|
924
|
+
# by the handler. If the operation is not started within this timeout, it will fail with
|
|
925
|
+
# TIMEOUT_TYPE_SCHEDULE_TO_START.
|
|
926
|
+
# If not set or zero, no schedule-to-start timeout is enforced.
|
|
927
|
+
# (-- api-linter: core::0140::prepositions=disabled
|
|
928
|
+
# aip.dev/not-precedent: "to" is used to indicate interval. --)
|
|
929
|
+
# Requires server version 1.31.0 or later.
|
|
930
|
+
attr_reader schedule_to_start_timeout(): ::Google::Protobuf::Duration?
|
|
931
|
+
attr_writer schedule_to_start_timeout(): (::Google::Protobuf::Duration | ::int)?
|
|
932
|
+
def has_schedule_to_start_timeout?: () -> bool
|
|
933
|
+
def clear_schedule_to_start_timeout: () -> void
|
|
934
|
+
|
|
935
|
+
# Start-to-close timeout for this operation.
|
|
936
|
+
# Indicates how long the caller is willing to wait for an asynchronous operation to complete after it has been
|
|
937
|
+
# started. If the operation does not complete within this timeout after starting, it will fail with
|
|
938
|
+
# TIMEOUT_TYPE_START_TO_CLOSE.
|
|
939
|
+
# Only applies to asynchronous operations. Synchronous operations ignore this timeout.
|
|
940
|
+
# If not set or zero, no start-to-close timeout is enforced.
|
|
941
|
+
# (-- api-linter: core::0140::prepositions=disabled
|
|
942
|
+
# aip.dev/not-precedent: "to" is used to indicate interval. --)
|
|
943
|
+
# Requires server version 1.31.0 or later.
|
|
944
|
+
attr_reader start_to_close_timeout(): ::Google::Protobuf::Duration?
|
|
945
|
+
attr_writer start_to_close_timeout(): (::Google::Protobuf::Duration | ::int)?
|
|
946
|
+
def has_start_to_close_timeout?: () -> bool
|
|
947
|
+
def clear_start_to_close_timeout: () -> void
|
|
948
|
+
|
|
949
|
+
type init_map = {
|
|
950
|
+
endpoint: (::String | ::Symbol)?,
|
|
951
|
+
"endpoint" => (::String | ::Symbol)?,
|
|
952
|
+
service: (::String | ::Symbol)?,
|
|
953
|
+
"service" => (::String | ::Symbol)?,
|
|
954
|
+
operation: (::String | ::Symbol)?,
|
|
955
|
+
"operation" => (::String | ::Symbol)?,
|
|
956
|
+
input: (::Temporalio::Api::Common::V1::Payload | ::Temporalio::Api::Common::V1::Payload::init_map)?,
|
|
957
|
+
"input" => (::Temporalio::Api::Common::V1::Payload | ::Temporalio::Api::Common::V1::Payload::init_map)?,
|
|
958
|
+
schedule_to_close_timeout: (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?,
|
|
959
|
+
"schedule_to_close_timeout" => (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?,
|
|
960
|
+
nexus_header: ::Hash[::String | ::Symbol, ::String | ::Symbol]?,
|
|
961
|
+
"nexus_header" => ::Hash[::String | ::Symbol, ::String | ::Symbol]?,
|
|
962
|
+
schedule_to_start_timeout: (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?,
|
|
963
|
+
"schedule_to_start_timeout" => (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?,
|
|
964
|
+
start_to_close_timeout: (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?,
|
|
965
|
+
"start_to_close_timeout" => (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?,
|
|
966
|
+
}
|
|
967
|
+
|
|
968
|
+
def initialize: (?init_map initial_value) -> void
|
|
969
|
+
|
|
970
|
+
def []:
|
|
971
|
+
("endpoint" name) -> ::String
|
|
972
|
+
| ("service" name) -> ::String
|
|
973
|
+
| ("operation" name) -> ::String
|
|
974
|
+
| ("input" name) -> ::Temporalio::Api::Common::V1::Payload?
|
|
975
|
+
| ("schedule_to_close_timeout" name) -> ::Google::Protobuf::Duration?
|
|
976
|
+
| ("nexus_header" name) -> (::Google::Protobuf::Map[::String, ::String])
|
|
977
|
+
| ("schedule_to_start_timeout" name) -> ::Google::Protobuf::Duration?
|
|
978
|
+
| ("start_to_close_timeout" name) -> ::Google::Protobuf::Duration?
|
|
979
|
+
|
|
980
|
+
def []=:
|
|
981
|
+
("endpoint" name, (::String | ::Symbol) value) -> void
|
|
982
|
+
| ("service" name, (::String | ::Symbol) value) -> void
|
|
983
|
+
| ("operation" name, (::String | ::Symbol) value) -> void
|
|
984
|
+
| ("input" name, ::Temporalio::Api::Common::V1::Payload? value) -> void
|
|
985
|
+
| ("schedule_to_close_timeout" name, ((::Google::Protobuf::Duration | ::int)?) value) -> void
|
|
986
|
+
| ("nexus_header" name, (::Google::Protobuf::Map[::String, ::String]) value) -> void
|
|
987
|
+
| ("schedule_to_start_timeout" name, ((::Google::Protobuf::Duration | ::int)?) value) -> void
|
|
988
|
+
| ("start_to_close_timeout" name, ((::Google::Protobuf::Duration | ::int)?) value) -> void
|
|
989
|
+
end
|
|
990
|
+
|
|
991
|
+
class RequestCancelNexusOperationCommandAttributes < ::Google::Protobuf::AbstractMessage
|
|
992
|
+
|
|
993
|
+
# The `NEXUS_OPERATION_SCHEDULED` event ID (a unique identifier) for the operation to be canceled.
|
|
994
|
+
# The operation may ignore cancellation and end up with any completion state.
|
|
995
|
+
attr_reader scheduled_event_id(): ::Integer
|
|
996
|
+
attr_writer scheduled_event_id(): ::Integer | ::Float
|
|
997
|
+
def clear_scheduled_event_id: () -> void
|
|
998
|
+
|
|
999
|
+
type init_map = {
|
|
1000
|
+
scheduled_event_id: (::Integer | ::Float)?,
|
|
1001
|
+
"scheduled_event_id" => (::Integer | ::Float)?,
|
|
1002
|
+
}
|
|
1003
|
+
|
|
1004
|
+
def initialize: (?init_map initial_value) -> void
|
|
1005
|
+
|
|
1006
|
+
def []:
|
|
1007
|
+
("scheduled_event_id" name) -> ::Integer
|
|
1008
|
+
|
|
1009
|
+
def []=:
|
|
1010
|
+
("scheduled_event_id" name, (::Integer | ::Float) value) -> void
|
|
1011
|
+
end
|
|
1012
|
+
|
|
1013
|
+
class Command < ::Google::Protobuf::AbstractMessage
|
|
1014
|
+
|
|
1015
|
+
attr_reader command_type(): ::Temporalio::Api::Enums::V1::CommandType::names | ::Integer
|
|
1016
|
+
attr_writer command_type(): ::Temporalio::Api::Enums::V1::CommandType::names | ::Temporalio::Api::Enums::V1::CommandType::strings | ::Integer | ::Float
|
|
1017
|
+
attr_reader command_type_const(): ::Integer
|
|
1018
|
+
def clear_command_type: () -> void
|
|
1019
|
+
|
|
1020
|
+
# Metadata on the command. This is sometimes carried over to the history event if one is
|
|
1021
|
+
# created as a result of the command. Most commands won't have this information, and how this
|
|
1022
|
+
# information is used is dependent upon the interface that reads it.
|
|
1023
|
+
# Current well-known uses:
|
|
1024
|
+
# * start_child_workflow_execution_command_attributes - populates
|
|
1025
|
+
# temporal.api.workflow.v1.WorkflowExecutionInfo.user_metadata where the summary and details
|
|
1026
|
+
# are used by user interfaces to show fixed as-of-start workflow summary and details.
|
|
1027
|
+
# * start_timer_command_attributes - populates temporal.api.history.v1.HistoryEvent for timer
|
|
1028
|
+
# started where the summary is used to identify the timer.
|
|
1029
|
+
attr_accessor user_metadata(): ::Temporalio::Api::Sdk::V1::UserMetadata?
|
|
1030
|
+
def has_user_metadata?: () -> bool
|
|
1031
|
+
def clear_user_metadata: () -> void
|
|
1032
|
+
|
|
1033
|
+
# Event Group Markers attached to the command by the workflow author.
|
|
1034
|
+
attr_accessor event_group_markers(): ::Google::Protobuf::RepeatedField
|
|
1035
|
+
def clear_event_group_markers: () -> void
|
|
1036
|
+
|
|
1037
|
+
attr_accessor schedule_activity_task_command_attributes(): ::Temporalio::Api::Command::V1::ScheduleActivityTaskCommandAttributes?
|
|
1038
|
+
def has_schedule_activity_task_command_attributes?: () -> bool
|
|
1039
|
+
def clear_schedule_activity_task_command_attributes: () -> void
|
|
1040
|
+
|
|
1041
|
+
attr_accessor start_timer_command_attributes(): ::Temporalio::Api::Command::V1::StartTimerCommandAttributes?
|
|
1042
|
+
def has_start_timer_command_attributes?: () -> bool
|
|
1043
|
+
def clear_start_timer_command_attributes: () -> void
|
|
1044
|
+
|
|
1045
|
+
attr_accessor complete_workflow_execution_command_attributes(): ::Temporalio::Api::Command::V1::CompleteWorkflowExecutionCommandAttributes?
|
|
1046
|
+
def has_complete_workflow_execution_command_attributes?: () -> bool
|
|
1047
|
+
def clear_complete_workflow_execution_command_attributes: () -> void
|
|
1048
|
+
|
|
1049
|
+
attr_accessor fail_workflow_execution_command_attributes(): ::Temporalio::Api::Command::V1::FailWorkflowExecutionCommandAttributes?
|
|
1050
|
+
def has_fail_workflow_execution_command_attributes?: () -> bool
|
|
1051
|
+
def clear_fail_workflow_execution_command_attributes: () -> void
|
|
1052
|
+
|
|
1053
|
+
attr_accessor request_cancel_activity_task_command_attributes(): ::Temporalio::Api::Command::V1::RequestCancelActivityTaskCommandAttributes?
|
|
1054
|
+
def has_request_cancel_activity_task_command_attributes?: () -> bool
|
|
1055
|
+
def clear_request_cancel_activity_task_command_attributes: () -> void
|
|
1056
|
+
|
|
1057
|
+
attr_accessor cancel_timer_command_attributes(): ::Temporalio::Api::Command::V1::CancelTimerCommandAttributes?
|
|
1058
|
+
def has_cancel_timer_command_attributes?: () -> bool
|
|
1059
|
+
def clear_cancel_timer_command_attributes: () -> void
|
|
1060
|
+
|
|
1061
|
+
attr_accessor cancel_workflow_execution_command_attributes(): ::Temporalio::Api::Command::V1::CancelWorkflowExecutionCommandAttributes?
|
|
1062
|
+
def has_cancel_workflow_execution_command_attributes?: () -> bool
|
|
1063
|
+
def clear_cancel_workflow_execution_command_attributes: () -> void
|
|
1064
|
+
|
|
1065
|
+
attr_accessor request_cancel_external_workflow_execution_command_attributes(): ::Temporalio::Api::Command::V1::RequestCancelExternalWorkflowExecutionCommandAttributes?
|
|
1066
|
+
def has_request_cancel_external_workflow_execution_command_attributes?: () -> bool
|
|
1067
|
+
def clear_request_cancel_external_workflow_execution_command_attributes: () -> void
|
|
1068
|
+
|
|
1069
|
+
attr_accessor record_marker_command_attributes(): ::Temporalio::Api::Command::V1::RecordMarkerCommandAttributes?
|
|
1070
|
+
def has_record_marker_command_attributes?: () -> bool
|
|
1071
|
+
def clear_record_marker_command_attributes: () -> void
|
|
1072
|
+
|
|
1073
|
+
attr_accessor continue_as_new_workflow_execution_command_attributes(): ::Temporalio::Api::Command::V1::ContinueAsNewWorkflowExecutionCommandAttributes?
|
|
1074
|
+
def has_continue_as_new_workflow_execution_command_attributes?: () -> bool
|
|
1075
|
+
def clear_continue_as_new_workflow_execution_command_attributes: () -> void
|
|
1076
|
+
|
|
1077
|
+
attr_accessor start_child_workflow_execution_command_attributes(): ::Temporalio::Api::Command::V1::StartChildWorkflowExecutionCommandAttributes?
|
|
1078
|
+
def has_start_child_workflow_execution_command_attributes?: () -> bool
|
|
1079
|
+
def clear_start_child_workflow_execution_command_attributes: () -> void
|
|
1080
|
+
|
|
1081
|
+
attr_accessor signal_external_workflow_execution_command_attributes(): ::Temporalio::Api::Command::V1::SignalExternalWorkflowExecutionCommandAttributes?
|
|
1082
|
+
def has_signal_external_workflow_execution_command_attributes?: () -> bool
|
|
1083
|
+
def clear_signal_external_workflow_execution_command_attributes: () -> void
|
|
1084
|
+
|
|
1085
|
+
attr_accessor upsert_workflow_search_attributes_command_attributes(): ::Temporalio::Api::Command::V1::UpsertWorkflowSearchAttributesCommandAttributes?
|
|
1086
|
+
def has_upsert_workflow_search_attributes_command_attributes?: () -> bool
|
|
1087
|
+
def clear_upsert_workflow_search_attributes_command_attributes: () -> void
|
|
1088
|
+
|
|
1089
|
+
attr_accessor protocol_message_command_attributes(): ::Temporalio::Api::Command::V1::ProtocolMessageCommandAttributes?
|
|
1090
|
+
def has_protocol_message_command_attributes?: () -> bool
|
|
1091
|
+
def clear_protocol_message_command_attributes: () -> void
|
|
1092
|
+
|
|
1093
|
+
# 16 is available for use - it was used as part of a prototype that never made it into a release
|
|
1094
|
+
attr_accessor modify_workflow_properties_command_attributes(): ::Temporalio::Api::Command::V1::ModifyWorkflowPropertiesCommandAttributes?
|
|
1095
|
+
def has_modify_workflow_properties_command_attributes?: () -> bool
|
|
1096
|
+
def clear_modify_workflow_properties_command_attributes: () -> void
|
|
1097
|
+
|
|
1098
|
+
attr_accessor schedule_nexus_operation_command_attributes(): ::Temporalio::Api::Command::V1::ScheduleNexusOperationCommandAttributes?
|
|
1099
|
+
def has_schedule_nexus_operation_command_attributes?: () -> bool
|
|
1100
|
+
def clear_schedule_nexus_operation_command_attributes: () -> void
|
|
1101
|
+
|
|
1102
|
+
attr_accessor request_cancel_nexus_operation_command_attributes(): ::Temporalio::Api::Command::V1::RequestCancelNexusOperationCommandAttributes?
|
|
1103
|
+
def has_request_cancel_nexus_operation_command_attributes?: () -> bool
|
|
1104
|
+
def clear_request_cancel_nexus_operation_command_attributes: () -> void
|
|
1105
|
+
|
|
1106
|
+
# The command details. The type must match that in `command_type`.
|
|
1107
|
+
attr_reader attributes(): (::Temporalio::Api::Command::V1::ScheduleActivityTaskCommandAttributes | ::Temporalio::Api::Command::V1::StartTimerCommandAttributes | ::Temporalio::Api::Command::V1::CompleteWorkflowExecutionCommandAttributes | ::Temporalio::Api::Command::V1::FailWorkflowExecutionCommandAttributes | ::Temporalio::Api::Command::V1::RequestCancelActivityTaskCommandAttributes | ::Temporalio::Api::Command::V1::CancelTimerCommandAttributes | ::Temporalio::Api::Command::V1::CancelWorkflowExecutionCommandAttributes | ::Temporalio::Api::Command::V1::RequestCancelExternalWorkflowExecutionCommandAttributes | ::Temporalio::Api::Command::V1::RecordMarkerCommandAttributes | ::Temporalio::Api::Command::V1::ContinueAsNewWorkflowExecutionCommandAttributes | ::Temporalio::Api::Command::V1::StartChildWorkflowExecutionCommandAttributes | ::Temporalio::Api::Command::V1::SignalExternalWorkflowExecutionCommandAttributes | ::Temporalio::Api::Command::V1::UpsertWorkflowSearchAttributesCommandAttributes | ::Temporalio::Api::Command::V1::ProtocolMessageCommandAttributes | ::Temporalio::Api::Command::V1::ModifyWorkflowPropertiesCommandAttributes | ::Temporalio::Api::Command::V1::ScheduleNexusOperationCommandAttributes | ::Temporalio::Api::Command::V1::RequestCancelNexusOperationCommandAttributes)?
|
|
1108
|
+
def has_attributes?: () -> bool
|
|
1109
|
+
def clear_attributes: () -> void
|
|
1110
|
+
|
|
1111
|
+
type init_map = {
|
|
1112
|
+
command_type: (::Temporalio::Api::Enums::V1::CommandType::names | ::Temporalio::Api::Enums::V1::CommandType::strings | ::Integer | ::Float)?,
|
|
1113
|
+
"command_type" => (::Temporalio::Api::Enums::V1::CommandType::names | ::Temporalio::Api::Enums::V1::CommandType::strings | ::Integer | ::Float)?,
|
|
1114
|
+
user_metadata: (::Temporalio::Api::Sdk::V1::UserMetadata | ::Temporalio::Api::Sdk::V1::UserMetadata::init_map)?,
|
|
1115
|
+
"user_metadata" => (::Temporalio::Api::Sdk::V1::UserMetadata | ::Temporalio::Api::Sdk::V1::UserMetadata::init_map)?,
|
|
1116
|
+
event_group_markers: ::Array[::Temporalio::Api::Sdk::V1::EventGroupMarker]?,
|
|
1117
|
+
"event_group_markers" => ::Array[::Temporalio::Api::Sdk::V1::EventGroupMarker]?,
|
|
1118
|
+
schedule_activity_task_command_attributes: (::Temporalio::Api::Command::V1::ScheduleActivityTaskCommandAttributes | ::Temporalio::Api::Command::V1::ScheduleActivityTaskCommandAttributes::init_map)?,
|
|
1119
|
+
"schedule_activity_task_command_attributes" => (::Temporalio::Api::Command::V1::ScheduleActivityTaskCommandAttributes | ::Temporalio::Api::Command::V1::ScheduleActivityTaskCommandAttributes::init_map)?,
|
|
1120
|
+
start_timer_command_attributes: (::Temporalio::Api::Command::V1::StartTimerCommandAttributes | ::Temporalio::Api::Command::V1::StartTimerCommandAttributes::init_map)?,
|
|
1121
|
+
"start_timer_command_attributes" => (::Temporalio::Api::Command::V1::StartTimerCommandAttributes | ::Temporalio::Api::Command::V1::StartTimerCommandAttributes::init_map)?,
|
|
1122
|
+
complete_workflow_execution_command_attributes: (::Temporalio::Api::Command::V1::CompleteWorkflowExecutionCommandAttributes | ::Temporalio::Api::Command::V1::CompleteWorkflowExecutionCommandAttributes::init_map)?,
|
|
1123
|
+
"complete_workflow_execution_command_attributes" => (::Temporalio::Api::Command::V1::CompleteWorkflowExecutionCommandAttributes | ::Temporalio::Api::Command::V1::CompleteWorkflowExecutionCommandAttributes::init_map)?,
|
|
1124
|
+
fail_workflow_execution_command_attributes: (::Temporalio::Api::Command::V1::FailWorkflowExecutionCommandAttributes | ::Temporalio::Api::Command::V1::FailWorkflowExecutionCommandAttributes::init_map)?,
|
|
1125
|
+
"fail_workflow_execution_command_attributes" => (::Temporalio::Api::Command::V1::FailWorkflowExecutionCommandAttributes | ::Temporalio::Api::Command::V1::FailWorkflowExecutionCommandAttributes::init_map)?,
|
|
1126
|
+
request_cancel_activity_task_command_attributes: (::Temporalio::Api::Command::V1::RequestCancelActivityTaskCommandAttributes | ::Temporalio::Api::Command::V1::RequestCancelActivityTaskCommandAttributes::init_map)?,
|
|
1127
|
+
"request_cancel_activity_task_command_attributes" => (::Temporalio::Api::Command::V1::RequestCancelActivityTaskCommandAttributes | ::Temporalio::Api::Command::V1::RequestCancelActivityTaskCommandAttributes::init_map)?,
|
|
1128
|
+
cancel_timer_command_attributes: (::Temporalio::Api::Command::V1::CancelTimerCommandAttributes | ::Temporalio::Api::Command::V1::CancelTimerCommandAttributes::init_map)?,
|
|
1129
|
+
"cancel_timer_command_attributes" => (::Temporalio::Api::Command::V1::CancelTimerCommandAttributes | ::Temporalio::Api::Command::V1::CancelTimerCommandAttributes::init_map)?,
|
|
1130
|
+
cancel_workflow_execution_command_attributes: (::Temporalio::Api::Command::V1::CancelWorkflowExecutionCommandAttributes | ::Temporalio::Api::Command::V1::CancelWorkflowExecutionCommandAttributes::init_map)?,
|
|
1131
|
+
"cancel_workflow_execution_command_attributes" => (::Temporalio::Api::Command::V1::CancelWorkflowExecutionCommandAttributes | ::Temporalio::Api::Command::V1::CancelWorkflowExecutionCommandAttributes::init_map)?,
|
|
1132
|
+
request_cancel_external_workflow_execution_command_attributes: (::Temporalio::Api::Command::V1::RequestCancelExternalWorkflowExecutionCommandAttributes | ::Temporalio::Api::Command::V1::RequestCancelExternalWorkflowExecutionCommandAttributes::init_map)?,
|
|
1133
|
+
"request_cancel_external_workflow_execution_command_attributes" => (::Temporalio::Api::Command::V1::RequestCancelExternalWorkflowExecutionCommandAttributes | ::Temporalio::Api::Command::V1::RequestCancelExternalWorkflowExecutionCommandAttributes::init_map)?,
|
|
1134
|
+
record_marker_command_attributes: (::Temporalio::Api::Command::V1::RecordMarkerCommandAttributes | ::Temporalio::Api::Command::V1::RecordMarkerCommandAttributes::init_map)?,
|
|
1135
|
+
"record_marker_command_attributes" => (::Temporalio::Api::Command::V1::RecordMarkerCommandAttributes | ::Temporalio::Api::Command::V1::RecordMarkerCommandAttributes::init_map)?,
|
|
1136
|
+
continue_as_new_workflow_execution_command_attributes: (::Temporalio::Api::Command::V1::ContinueAsNewWorkflowExecutionCommandAttributes | ::Temporalio::Api::Command::V1::ContinueAsNewWorkflowExecutionCommandAttributes::init_map)?,
|
|
1137
|
+
"continue_as_new_workflow_execution_command_attributes" => (::Temporalio::Api::Command::V1::ContinueAsNewWorkflowExecutionCommandAttributes | ::Temporalio::Api::Command::V1::ContinueAsNewWorkflowExecutionCommandAttributes::init_map)?,
|
|
1138
|
+
start_child_workflow_execution_command_attributes: (::Temporalio::Api::Command::V1::StartChildWorkflowExecutionCommandAttributes | ::Temporalio::Api::Command::V1::StartChildWorkflowExecutionCommandAttributes::init_map)?,
|
|
1139
|
+
"start_child_workflow_execution_command_attributes" => (::Temporalio::Api::Command::V1::StartChildWorkflowExecutionCommandAttributes | ::Temporalio::Api::Command::V1::StartChildWorkflowExecutionCommandAttributes::init_map)?,
|
|
1140
|
+
signal_external_workflow_execution_command_attributes: (::Temporalio::Api::Command::V1::SignalExternalWorkflowExecutionCommandAttributes | ::Temporalio::Api::Command::V1::SignalExternalWorkflowExecutionCommandAttributes::init_map)?,
|
|
1141
|
+
"signal_external_workflow_execution_command_attributes" => (::Temporalio::Api::Command::V1::SignalExternalWorkflowExecutionCommandAttributes | ::Temporalio::Api::Command::V1::SignalExternalWorkflowExecutionCommandAttributes::init_map)?,
|
|
1142
|
+
upsert_workflow_search_attributes_command_attributes: (::Temporalio::Api::Command::V1::UpsertWorkflowSearchAttributesCommandAttributes | ::Temporalio::Api::Command::V1::UpsertWorkflowSearchAttributesCommandAttributes::init_map)?,
|
|
1143
|
+
"upsert_workflow_search_attributes_command_attributes" => (::Temporalio::Api::Command::V1::UpsertWorkflowSearchAttributesCommandAttributes | ::Temporalio::Api::Command::V1::UpsertWorkflowSearchAttributesCommandAttributes::init_map)?,
|
|
1144
|
+
protocol_message_command_attributes: (::Temporalio::Api::Command::V1::ProtocolMessageCommandAttributes | ::Temporalio::Api::Command::V1::ProtocolMessageCommandAttributes::init_map)?,
|
|
1145
|
+
"protocol_message_command_attributes" => (::Temporalio::Api::Command::V1::ProtocolMessageCommandAttributes | ::Temporalio::Api::Command::V1::ProtocolMessageCommandAttributes::init_map)?,
|
|
1146
|
+
modify_workflow_properties_command_attributes: (::Temporalio::Api::Command::V1::ModifyWorkflowPropertiesCommandAttributes | ::Temporalio::Api::Command::V1::ModifyWorkflowPropertiesCommandAttributes::init_map)?,
|
|
1147
|
+
"modify_workflow_properties_command_attributes" => (::Temporalio::Api::Command::V1::ModifyWorkflowPropertiesCommandAttributes | ::Temporalio::Api::Command::V1::ModifyWorkflowPropertiesCommandAttributes::init_map)?,
|
|
1148
|
+
schedule_nexus_operation_command_attributes: (::Temporalio::Api::Command::V1::ScheduleNexusOperationCommandAttributes | ::Temporalio::Api::Command::V1::ScheduleNexusOperationCommandAttributes::init_map)?,
|
|
1149
|
+
"schedule_nexus_operation_command_attributes" => (::Temporalio::Api::Command::V1::ScheduleNexusOperationCommandAttributes | ::Temporalio::Api::Command::V1::ScheduleNexusOperationCommandAttributes::init_map)?,
|
|
1150
|
+
request_cancel_nexus_operation_command_attributes: (::Temporalio::Api::Command::V1::RequestCancelNexusOperationCommandAttributes | ::Temporalio::Api::Command::V1::RequestCancelNexusOperationCommandAttributes::init_map)?,
|
|
1151
|
+
"request_cancel_nexus_operation_command_attributes" => (::Temporalio::Api::Command::V1::RequestCancelNexusOperationCommandAttributes | ::Temporalio::Api::Command::V1::RequestCancelNexusOperationCommandAttributes::init_map)?,
|
|
1152
|
+
}
|
|
1153
|
+
|
|
1154
|
+
def initialize: (?init_map initial_value) -> void
|
|
1155
|
+
|
|
1156
|
+
def []:
|
|
1157
|
+
("command_type" name) -> (::Temporalio::Api::Enums::V1::CommandType::names | ::Integer)
|
|
1158
|
+
| ("user_metadata" name) -> ::Temporalio::Api::Sdk::V1::UserMetadata?
|
|
1159
|
+
| ("event_group_markers" name) -> ::Google::Protobuf::RepeatedField
|
|
1160
|
+
| ("schedule_activity_task_command_attributes" name) -> ::Temporalio::Api::Command::V1::ScheduleActivityTaskCommandAttributes?
|
|
1161
|
+
| ("start_timer_command_attributes" name) -> ::Temporalio::Api::Command::V1::StartTimerCommandAttributes?
|
|
1162
|
+
| ("complete_workflow_execution_command_attributes" name) -> ::Temporalio::Api::Command::V1::CompleteWorkflowExecutionCommandAttributes?
|
|
1163
|
+
| ("fail_workflow_execution_command_attributes" name) -> ::Temporalio::Api::Command::V1::FailWorkflowExecutionCommandAttributes?
|
|
1164
|
+
| ("request_cancel_activity_task_command_attributes" name) -> ::Temporalio::Api::Command::V1::RequestCancelActivityTaskCommandAttributes?
|
|
1165
|
+
| ("cancel_timer_command_attributes" name) -> ::Temporalio::Api::Command::V1::CancelTimerCommandAttributes?
|
|
1166
|
+
| ("cancel_workflow_execution_command_attributes" name) -> ::Temporalio::Api::Command::V1::CancelWorkflowExecutionCommandAttributes?
|
|
1167
|
+
| ("request_cancel_external_workflow_execution_command_attributes" name) -> ::Temporalio::Api::Command::V1::RequestCancelExternalWorkflowExecutionCommandAttributes?
|
|
1168
|
+
| ("record_marker_command_attributes" name) -> ::Temporalio::Api::Command::V1::RecordMarkerCommandAttributes?
|
|
1169
|
+
| ("continue_as_new_workflow_execution_command_attributes" name) -> ::Temporalio::Api::Command::V1::ContinueAsNewWorkflowExecutionCommandAttributes?
|
|
1170
|
+
| ("start_child_workflow_execution_command_attributes" name) -> ::Temporalio::Api::Command::V1::StartChildWorkflowExecutionCommandAttributes?
|
|
1171
|
+
| ("signal_external_workflow_execution_command_attributes" name) -> ::Temporalio::Api::Command::V1::SignalExternalWorkflowExecutionCommandAttributes?
|
|
1172
|
+
| ("upsert_workflow_search_attributes_command_attributes" name) -> ::Temporalio::Api::Command::V1::UpsertWorkflowSearchAttributesCommandAttributes?
|
|
1173
|
+
| ("protocol_message_command_attributes" name) -> ::Temporalio::Api::Command::V1::ProtocolMessageCommandAttributes?
|
|
1174
|
+
| ("modify_workflow_properties_command_attributes" name) -> ::Temporalio::Api::Command::V1::ModifyWorkflowPropertiesCommandAttributes?
|
|
1175
|
+
| ("schedule_nexus_operation_command_attributes" name) -> ::Temporalio::Api::Command::V1::ScheduleNexusOperationCommandAttributes?
|
|
1176
|
+
| ("request_cancel_nexus_operation_command_attributes" name) -> ::Temporalio::Api::Command::V1::RequestCancelNexusOperationCommandAttributes?
|
|
1177
|
+
|
|
1178
|
+
def []=:
|
|
1179
|
+
("command_type" name, (::Temporalio::Api::Enums::V1::CommandType::names | ::Temporalio::Api::Enums::V1::CommandType::strings | ::Integer | ::Float) value) -> void
|
|
1180
|
+
| ("user_metadata" name, ::Temporalio::Api::Sdk::V1::UserMetadata? value) -> void
|
|
1181
|
+
| ("event_group_markers" name, ::Google::Protobuf::RepeatedField value) -> void
|
|
1182
|
+
| ("schedule_activity_task_command_attributes" name, ::Temporalio::Api::Command::V1::ScheduleActivityTaskCommandAttributes? value) -> void
|
|
1183
|
+
| ("start_timer_command_attributes" name, ::Temporalio::Api::Command::V1::StartTimerCommandAttributes? value) -> void
|
|
1184
|
+
| ("complete_workflow_execution_command_attributes" name, ::Temporalio::Api::Command::V1::CompleteWorkflowExecutionCommandAttributes? value) -> void
|
|
1185
|
+
| ("fail_workflow_execution_command_attributes" name, ::Temporalio::Api::Command::V1::FailWorkflowExecutionCommandAttributes? value) -> void
|
|
1186
|
+
| ("request_cancel_activity_task_command_attributes" name, ::Temporalio::Api::Command::V1::RequestCancelActivityTaskCommandAttributes? value) -> void
|
|
1187
|
+
| ("cancel_timer_command_attributes" name, ::Temporalio::Api::Command::V1::CancelTimerCommandAttributes? value) -> void
|
|
1188
|
+
| ("cancel_workflow_execution_command_attributes" name, ::Temporalio::Api::Command::V1::CancelWorkflowExecutionCommandAttributes? value) -> void
|
|
1189
|
+
| ("request_cancel_external_workflow_execution_command_attributes" name, ::Temporalio::Api::Command::V1::RequestCancelExternalWorkflowExecutionCommandAttributes? value) -> void
|
|
1190
|
+
| ("record_marker_command_attributes" name, ::Temporalio::Api::Command::V1::RecordMarkerCommandAttributes? value) -> void
|
|
1191
|
+
| ("continue_as_new_workflow_execution_command_attributes" name, ::Temporalio::Api::Command::V1::ContinueAsNewWorkflowExecutionCommandAttributes? value) -> void
|
|
1192
|
+
| ("start_child_workflow_execution_command_attributes" name, ::Temporalio::Api::Command::V1::StartChildWorkflowExecutionCommandAttributes? value) -> void
|
|
1193
|
+
| ("signal_external_workflow_execution_command_attributes" name, ::Temporalio::Api::Command::V1::SignalExternalWorkflowExecutionCommandAttributes? value) -> void
|
|
1194
|
+
| ("upsert_workflow_search_attributes_command_attributes" name, ::Temporalio::Api::Command::V1::UpsertWorkflowSearchAttributesCommandAttributes? value) -> void
|
|
1195
|
+
| ("protocol_message_command_attributes" name, ::Temporalio::Api::Command::V1::ProtocolMessageCommandAttributes? value) -> void
|
|
1196
|
+
| ("modify_workflow_properties_command_attributes" name, ::Temporalio::Api::Command::V1::ModifyWorkflowPropertiesCommandAttributes? value) -> void
|
|
1197
|
+
| ("schedule_nexus_operation_command_attributes" name, ::Temporalio::Api::Command::V1::ScheduleNexusOperationCommandAttributes? value) -> void
|
|
1198
|
+
| ("request_cancel_nexus_operation_command_attributes" name, ::Temporalio::Api::Command::V1::RequestCancelNexusOperationCommandAttributes? value) -> void
|
|
1199
|
+
end
|
|
1200
|
+
end
|
|
1201
|
+
end
|
|
1202
|
+
end
|
|
1203
|
+
end
|
|
1204
|
+
|
|
1205
|
+
module Google
|
|
1206
|
+
module Protobuf
|
|
1207
|
+
class DescriptorPool
|
|
1208
|
+
def lookup: (::String name) -> ::Google::Protobuf::Descriptor
|
|
1209
|
+
end
|
|
1210
|
+
end
|
|
1211
|
+
end
|