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,5011 @@
|
|
|
1
|
+
# Code generated by protoc-gen-rbi. DO NOT EDIT.
|
|
2
|
+
# source: temporal/api/workflow/v1/message.proto
|
|
3
|
+
# typed: strict
|
|
4
|
+
|
|
5
|
+
# Hold basic information about a workflow execution.
|
|
6
|
+
# This structure is a part of visibility, and thus contain a limited subset of information.
|
|
7
|
+
class Temporalio::Api::Workflow::V1::WorkflowExecutionInfo
|
|
8
|
+
include ::Google::Protobuf::MessageExts
|
|
9
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
10
|
+
|
|
11
|
+
sig do
|
|
12
|
+
params(
|
|
13
|
+
execution: T.nilable(Temporalio::Api::Common::V1::WorkflowExecution),
|
|
14
|
+
type: T.nilable(Temporalio::Api::Common::V1::WorkflowType),
|
|
15
|
+
start_time: T.nilable(Google::Protobuf::Timestamp),
|
|
16
|
+
close_time: T.nilable(Google::Protobuf::Timestamp),
|
|
17
|
+
status: T.nilable(T.any(Symbol, String, Integer)),
|
|
18
|
+
history_length: T.nilable(Integer),
|
|
19
|
+
parent_namespace_id: T.nilable(String),
|
|
20
|
+
parent_execution: T.nilable(Temporalio::Api::Common::V1::WorkflowExecution),
|
|
21
|
+
execution_time: T.nilable(Google::Protobuf::Timestamp),
|
|
22
|
+
memo: T.nilable(Temporalio::Api::Common::V1::Memo),
|
|
23
|
+
search_attributes: T.nilable(Temporalio::Api::Common::V1::SearchAttributes),
|
|
24
|
+
auto_reset_points: T.nilable(Temporalio::Api::Workflow::V1::ResetPoints),
|
|
25
|
+
task_queue: T.nilable(String),
|
|
26
|
+
state_transition_count: T.nilable(Integer),
|
|
27
|
+
history_size_bytes: T.nilable(Integer),
|
|
28
|
+
most_recent_worker_version_stamp: T.nilable(Temporalio::Api::Common::V1::WorkerVersionStamp),
|
|
29
|
+
execution_duration: T.nilable(Google::Protobuf::Duration),
|
|
30
|
+
root_execution: T.nilable(Temporalio::Api::Common::V1::WorkflowExecution),
|
|
31
|
+
assigned_build_id: T.nilable(String),
|
|
32
|
+
inherited_build_id: T.nilable(String),
|
|
33
|
+
first_run_id: T.nilable(String),
|
|
34
|
+
versioning_info: T.nilable(Temporalio::Api::Workflow::V1::WorkflowExecutionVersioningInfo),
|
|
35
|
+
worker_deployment_name: T.nilable(String),
|
|
36
|
+
priority: T.nilable(Temporalio::Api::Common::V1::Priority),
|
|
37
|
+
external_payload_size_bytes: T.nilable(Integer),
|
|
38
|
+
external_payload_count: T.nilable(Integer)
|
|
39
|
+
).void
|
|
40
|
+
end
|
|
41
|
+
def initialize(
|
|
42
|
+
execution: nil,
|
|
43
|
+
type: nil,
|
|
44
|
+
start_time: nil,
|
|
45
|
+
close_time: nil,
|
|
46
|
+
status: :WORKFLOW_EXECUTION_STATUS_UNSPECIFIED,
|
|
47
|
+
history_length: 0,
|
|
48
|
+
parent_namespace_id: "",
|
|
49
|
+
parent_execution: nil,
|
|
50
|
+
execution_time: nil,
|
|
51
|
+
memo: nil,
|
|
52
|
+
search_attributes: nil,
|
|
53
|
+
auto_reset_points: nil,
|
|
54
|
+
task_queue: "",
|
|
55
|
+
state_transition_count: 0,
|
|
56
|
+
history_size_bytes: 0,
|
|
57
|
+
most_recent_worker_version_stamp: nil,
|
|
58
|
+
execution_duration: nil,
|
|
59
|
+
root_execution: nil,
|
|
60
|
+
assigned_build_id: "",
|
|
61
|
+
inherited_build_id: "",
|
|
62
|
+
first_run_id: "",
|
|
63
|
+
versioning_info: nil,
|
|
64
|
+
worker_deployment_name: "",
|
|
65
|
+
priority: nil,
|
|
66
|
+
external_payload_size_bytes: 0,
|
|
67
|
+
external_payload_count: 0
|
|
68
|
+
)
|
|
69
|
+
end
|
|
70
|
+
|
|
71
|
+
sig { returns(T.nilable(Temporalio::Api::Common::V1::WorkflowExecution)) }
|
|
72
|
+
def execution
|
|
73
|
+
end
|
|
74
|
+
|
|
75
|
+
sig { params(value: T.nilable(Temporalio::Api::Common::V1::WorkflowExecution)).void }
|
|
76
|
+
def execution=(value)
|
|
77
|
+
end
|
|
78
|
+
|
|
79
|
+
sig { void }
|
|
80
|
+
def clear_execution
|
|
81
|
+
end
|
|
82
|
+
|
|
83
|
+
sig { returns(T.nilable(Temporalio::Api::Common::V1::WorkflowType)) }
|
|
84
|
+
def type
|
|
85
|
+
end
|
|
86
|
+
|
|
87
|
+
sig { params(value: T.nilable(Temporalio::Api::Common::V1::WorkflowType)).void }
|
|
88
|
+
def type=(value)
|
|
89
|
+
end
|
|
90
|
+
|
|
91
|
+
sig { void }
|
|
92
|
+
def clear_type
|
|
93
|
+
end
|
|
94
|
+
|
|
95
|
+
sig { returns(T.nilable(Google::Protobuf::Timestamp)) }
|
|
96
|
+
def start_time
|
|
97
|
+
end
|
|
98
|
+
|
|
99
|
+
sig { params(value: T.nilable(Google::Protobuf::Timestamp)).void }
|
|
100
|
+
def start_time=(value)
|
|
101
|
+
end
|
|
102
|
+
|
|
103
|
+
sig { void }
|
|
104
|
+
def clear_start_time
|
|
105
|
+
end
|
|
106
|
+
|
|
107
|
+
sig { returns(T.nilable(Google::Protobuf::Timestamp)) }
|
|
108
|
+
def close_time
|
|
109
|
+
end
|
|
110
|
+
|
|
111
|
+
sig { params(value: T.nilable(Google::Protobuf::Timestamp)).void }
|
|
112
|
+
def close_time=(value)
|
|
113
|
+
end
|
|
114
|
+
|
|
115
|
+
sig { void }
|
|
116
|
+
def clear_close_time
|
|
117
|
+
end
|
|
118
|
+
|
|
119
|
+
sig { returns(T.any(Symbol, Integer)) }
|
|
120
|
+
def status
|
|
121
|
+
end
|
|
122
|
+
|
|
123
|
+
sig { params(value: T.any(Symbol, String, Integer)).void }
|
|
124
|
+
def status=(value)
|
|
125
|
+
end
|
|
126
|
+
|
|
127
|
+
sig { void }
|
|
128
|
+
def clear_status
|
|
129
|
+
end
|
|
130
|
+
|
|
131
|
+
sig { returns(Integer) }
|
|
132
|
+
def history_length
|
|
133
|
+
end
|
|
134
|
+
|
|
135
|
+
sig { params(value: Integer).void }
|
|
136
|
+
def history_length=(value)
|
|
137
|
+
end
|
|
138
|
+
|
|
139
|
+
sig { void }
|
|
140
|
+
def clear_history_length
|
|
141
|
+
end
|
|
142
|
+
|
|
143
|
+
sig { returns(String) }
|
|
144
|
+
def parent_namespace_id
|
|
145
|
+
end
|
|
146
|
+
|
|
147
|
+
sig { params(value: String).void }
|
|
148
|
+
def parent_namespace_id=(value)
|
|
149
|
+
end
|
|
150
|
+
|
|
151
|
+
sig { void }
|
|
152
|
+
def clear_parent_namespace_id
|
|
153
|
+
end
|
|
154
|
+
|
|
155
|
+
sig { returns(T.nilable(Temporalio::Api::Common::V1::WorkflowExecution)) }
|
|
156
|
+
def parent_execution
|
|
157
|
+
end
|
|
158
|
+
|
|
159
|
+
sig { params(value: T.nilable(Temporalio::Api::Common::V1::WorkflowExecution)).void }
|
|
160
|
+
def parent_execution=(value)
|
|
161
|
+
end
|
|
162
|
+
|
|
163
|
+
sig { void }
|
|
164
|
+
def clear_parent_execution
|
|
165
|
+
end
|
|
166
|
+
|
|
167
|
+
sig { returns(T.nilable(Google::Protobuf::Timestamp)) }
|
|
168
|
+
def execution_time
|
|
169
|
+
end
|
|
170
|
+
|
|
171
|
+
sig { params(value: T.nilable(Google::Protobuf::Timestamp)).void }
|
|
172
|
+
def execution_time=(value)
|
|
173
|
+
end
|
|
174
|
+
|
|
175
|
+
sig { void }
|
|
176
|
+
def clear_execution_time
|
|
177
|
+
end
|
|
178
|
+
|
|
179
|
+
sig { returns(T.nilable(Temporalio::Api::Common::V1::Memo)) }
|
|
180
|
+
def memo
|
|
181
|
+
end
|
|
182
|
+
|
|
183
|
+
sig { params(value: T.nilable(Temporalio::Api::Common::V1::Memo)).void }
|
|
184
|
+
def memo=(value)
|
|
185
|
+
end
|
|
186
|
+
|
|
187
|
+
sig { void }
|
|
188
|
+
def clear_memo
|
|
189
|
+
end
|
|
190
|
+
|
|
191
|
+
sig { returns(T.nilable(Temporalio::Api::Common::V1::SearchAttributes)) }
|
|
192
|
+
def search_attributes
|
|
193
|
+
end
|
|
194
|
+
|
|
195
|
+
sig { params(value: T.nilable(Temporalio::Api::Common::V1::SearchAttributes)).void }
|
|
196
|
+
def search_attributes=(value)
|
|
197
|
+
end
|
|
198
|
+
|
|
199
|
+
sig { void }
|
|
200
|
+
def clear_search_attributes
|
|
201
|
+
end
|
|
202
|
+
|
|
203
|
+
sig { returns(T.nilable(Temporalio::Api::Workflow::V1::ResetPoints)) }
|
|
204
|
+
def auto_reset_points
|
|
205
|
+
end
|
|
206
|
+
|
|
207
|
+
sig { params(value: T.nilable(Temporalio::Api::Workflow::V1::ResetPoints)).void }
|
|
208
|
+
def auto_reset_points=(value)
|
|
209
|
+
end
|
|
210
|
+
|
|
211
|
+
sig { void }
|
|
212
|
+
def clear_auto_reset_points
|
|
213
|
+
end
|
|
214
|
+
|
|
215
|
+
sig { returns(String) }
|
|
216
|
+
def task_queue
|
|
217
|
+
end
|
|
218
|
+
|
|
219
|
+
sig { params(value: String).void }
|
|
220
|
+
def task_queue=(value)
|
|
221
|
+
end
|
|
222
|
+
|
|
223
|
+
sig { void }
|
|
224
|
+
def clear_task_queue
|
|
225
|
+
end
|
|
226
|
+
|
|
227
|
+
sig { returns(Integer) }
|
|
228
|
+
def state_transition_count
|
|
229
|
+
end
|
|
230
|
+
|
|
231
|
+
sig { params(value: Integer).void }
|
|
232
|
+
def state_transition_count=(value)
|
|
233
|
+
end
|
|
234
|
+
|
|
235
|
+
sig { void }
|
|
236
|
+
def clear_state_transition_count
|
|
237
|
+
end
|
|
238
|
+
|
|
239
|
+
sig { returns(Integer) }
|
|
240
|
+
def history_size_bytes
|
|
241
|
+
end
|
|
242
|
+
|
|
243
|
+
sig { params(value: Integer).void }
|
|
244
|
+
def history_size_bytes=(value)
|
|
245
|
+
end
|
|
246
|
+
|
|
247
|
+
sig { void }
|
|
248
|
+
def clear_history_size_bytes
|
|
249
|
+
end
|
|
250
|
+
|
|
251
|
+
# If set, the most recent worker version stamp that appeared in a workflow task completion
|
|
252
|
+
# Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
|
|
253
|
+
sig { returns(T.nilable(Temporalio::Api::Common::V1::WorkerVersionStamp)) }
|
|
254
|
+
def most_recent_worker_version_stamp
|
|
255
|
+
end
|
|
256
|
+
|
|
257
|
+
# If set, the most recent worker version stamp that appeared in a workflow task completion
|
|
258
|
+
# Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
|
|
259
|
+
sig { params(value: T.nilable(Temporalio::Api::Common::V1::WorkerVersionStamp)).void }
|
|
260
|
+
def most_recent_worker_version_stamp=(value)
|
|
261
|
+
end
|
|
262
|
+
|
|
263
|
+
# If set, the most recent worker version stamp that appeared in a workflow task completion
|
|
264
|
+
# Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
|
|
265
|
+
sig { void }
|
|
266
|
+
def clear_most_recent_worker_version_stamp
|
|
267
|
+
end
|
|
268
|
+
|
|
269
|
+
# Workflow execution duration is defined as difference between close time and execution time.
|
|
270
|
+
# This field is only populated if the workflow is closed.
|
|
271
|
+
sig { returns(T.nilable(Google::Protobuf::Duration)) }
|
|
272
|
+
def execution_duration
|
|
273
|
+
end
|
|
274
|
+
|
|
275
|
+
# Workflow execution duration is defined as difference between close time and execution time.
|
|
276
|
+
# This field is only populated if the workflow is closed.
|
|
277
|
+
sig { params(value: T.nilable(Google::Protobuf::Duration)).void }
|
|
278
|
+
def execution_duration=(value)
|
|
279
|
+
end
|
|
280
|
+
|
|
281
|
+
# Workflow execution duration is defined as difference between close time and execution time.
|
|
282
|
+
# This field is only populated if the workflow is closed.
|
|
283
|
+
sig { void }
|
|
284
|
+
def clear_execution_duration
|
|
285
|
+
end
|
|
286
|
+
|
|
287
|
+
# Contains information about the root workflow execution.
|
|
288
|
+
# The root workflow execution is defined as follows:
|
|
289
|
+
# 1. A workflow without parent workflow is its own root workflow.
|
|
290
|
+
# 2. A workflow that has a parent workflow has the same root workflow as its parent workflow.
|
|
291
|
+
# Note: workflows continued as new or reseted may or may not have parents, check examples below.
|
|
292
|
+
#
|
|
293
|
+
# Examples:
|
|
294
|
+
# Scenario 1: Workflow W1 starts child workflow W2, and W2 starts child workflow W3.
|
|
295
|
+
# - The root workflow of all three workflows is W1.
|
|
296
|
+
# Scenario 2: Workflow W1 starts child workflow W2, and W2 continued as new W3.
|
|
297
|
+
# - The root workflow of all three workflows is W1.
|
|
298
|
+
# Scenario 3: Workflow W1 continued as new W2.
|
|
299
|
+
# - The root workflow of W1 is W1 and the root workflow of W2 is W2.
|
|
300
|
+
# Scenario 4: Workflow W1 starts child workflow W2, and W2 is reseted, creating W3
|
|
301
|
+
# - The root workflow of all three workflows is W1.
|
|
302
|
+
# Scenario 5: Workflow W1 is reseted, creating W2.
|
|
303
|
+
# - The root workflow of W1 is W1 and the root workflow of W2 is W2.
|
|
304
|
+
sig { returns(T.nilable(Temporalio::Api::Common::V1::WorkflowExecution)) }
|
|
305
|
+
def root_execution
|
|
306
|
+
end
|
|
307
|
+
|
|
308
|
+
# Contains information about the root workflow execution.
|
|
309
|
+
# The root workflow execution is defined as follows:
|
|
310
|
+
# 1. A workflow without parent workflow is its own root workflow.
|
|
311
|
+
# 2. A workflow that has a parent workflow has the same root workflow as its parent workflow.
|
|
312
|
+
# Note: workflows continued as new or reseted may or may not have parents, check examples below.
|
|
313
|
+
#
|
|
314
|
+
# Examples:
|
|
315
|
+
# Scenario 1: Workflow W1 starts child workflow W2, and W2 starts child workflow W3.
|
|
316
|
+
# - The root workflow of all three workflows is W1.
|
|
317
|
+
# Scenario 2: Workflow W1 starts child workflow W2, and W2 continued as new W3.
|
|
318
|
+
# - The root workflow of all three workflows is W1.
|
|
319
|
+
# Scenario 3: Workflow W1 continued as new W2.
|
|
320
|
+
# - The root workflow of W1 is W1 and the root workflow of W2 is W2.
|
|
321
|
+
# Scenario 4: Workflow W1 starts child workflow W2, and W2 is reseted, creating W3
|
|
322
|
+
# - The root workflow of all three workflows is W1.
|
|
323
|
+
# Scenario 5: Workflow W1 is reseted, creating W2.
|
|
324
|
+
# - The root workflow of W1 is W1 and the root workflow of W2 is W2.
|
|
325
|
+
sig { params(value: T.nilable(Temporalio::Api::Common::V1::WorkflowExecution)).void }
|
|
326
|
+
def root_execution=(value)
|
|
327
|
+
end
|
|
328
|
+
|
|
329
|
+
# Contains information about the root workflow execution.
|
|
330
|
+
# The root workflow execution is defined as follows:
|
|
331
|
+
# 1. A workflow without parent workflow is its own root workflow.
|
|
332
|
+
# 2. A workflow that has a parent workflow has the same root workflow as its parent workflow.
|
|
333
|
+
# Note: workflows continued as new or reseted may or may not have parents, check examples below.
|
|
334
|
+
#
|
|
335
|
+
# Examples:
|
|
336
|
+
# Scenario 1: Workflow W1 starts child workflow W2, and W2 starts child workflow W3.
|
|
337
|
+
# - The root workflow of all three workflows is W1.
|
|
338
|
+
# Scenario 2: Workflow W1 starts child workflow W2, and W2 continued as new W3.
|
|
339
|
+
# - The root workflow of all three workflows is W1.
|
|
340
|
+
# Scenario 3: Workflow W1 continued as new W2.
|
|
341
|
+
# - The root workflow of W1 is W1 and the root workflow of W2 is W2.
|
|
342
|
+
# Scenario 4: Workflow W1 starts child workflow W2, and W2 is reseted, creating W3
|
|
343
|
+
# - The root workflow of all three workflows is W1.
|
|
344
|
+
# Scenario 5: Workflow W1 is reseted, creating W2.
|
|
345
|
+
# - The root workflow of W1 is W1 and the root workflow of W2 is W2.
|
|
346
|
+
sig { void }
|
|
347
|
+
def clear_root_execution
|
|
348
|
+
end
|
|
349
|
+
|
|
350
|
+
# The currently assigned build ID for this execution. Presence of this value means worker versioning is used
|
|
351
|
+
# for this execution. Assigned build ID is selected based on Worker Versioning Assignment Rules
|
|
352
|
+
# when the first workflow task of the execution is scheduled. If the first workflow task fails and is scheduled
|
|
353
|
+
# again, the assigned build ID may change according to the latest versioning rules.
|
|
354
|
+
# Assigned build ID can also change in the middle of a execution if Compatible Redirect Rules are applied to
|
|
355
|
+
# this execution.
|
|
356
|
+
# Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
|
|
357
|
+
sig { returns(String) }
|
|
358
|
+
def assigned_build_id
|
|
359
|
+
end
|
|
360
|
+
|
|
361
|
+
# The currently assigned build ID for this execution. Presence of this value means worker versioning is used
|
|
362
|
+
# for this execution. Assigned build ID is selected based on Worker Versioning Assignment Rules
|
|
363
|
+
# when the first workflow task of the execution is scheduled. If the first workflow task fails and is scheduled
|
|
364
|
+
# again, the assigned build ID may change according to the latest versioning rules.
|
|
365
|
+
# Assigned build ID can also change in the middle of a execution if Compatible Redirect Rules are applied to
|
|
366
|
+
# this execution.
|
|
367
|
+
# Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
|
|
368
|
+
sig { params(value: String).void }
|
|
369
|
+
def assigned_build_id=(value)
|
|
370
|
+
end
|
|
371
|
+
|
|
372
|
+
# The currently assigned build ID for this execution. Presence of this value means worker versioning is used
|
|
373
|
+
# for this execution. Assigned build ID is selected based on Worker Versioning Assignment Rules
|
|
374
|
+
# when the first workflow task of the execution is scheduled. If the first workflow task fails and is scheduled
|
|
375
|
+
# again, the assigned build ID may change according to the latest versioning rules.
|
|
376
|
+
# Assigned build ID can also change in the middle of a execution if Compatible Redirect Rules are applied to
|
|
377
|
+
# this execution.
|
|
378
|
+
# Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
|
|
379
|
+
sig { void }
|
|
380
|
+
def clear_assigned_build_id
|
|
381
|
+
end
|
|
382
|
+
|
|
383
|
+
# Build ID inherited from a previous/parent execution. If present, assigned_build_id will be set to this, instead
|
|
384
|
+
# of using the assignment rules.
|
|
385
|
+
# Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
|
|
386
|
+
sig { returns(String) }
|
|
387
|
+
def inherited_build_id
|
|
388
|
+
end
|
|
389
|
+
|
|
390
|
+
# Build ID inherited from a previous/parent execution. If present, assigned_build_id will be set to this, instead
|
|
391
|
+
# of using the assignment rules.
|
|
392
|
+
# Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
|
|
393
|
+
sig { params(value: String).void }
|
|
394
|
+
def inherited_build_id=(value)
|
|
395
|
+
end
|
|
396
|
+
|
|
397
|
+
# Build ID inherited from a previous/parent execution. If present, assigned_build_id will be set to this, instead
|
|
398
|
+
# of using the assignment rules.
|
|
399
|
+
# Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
|
|
400
|
+
sig { void }
|
|
401
|
+
def clear_inherited_build_id
|
|
402
|
+
end
|
|
403
|
+
|
|
404
|
+
# The first run ID in the execution chain.
|
|
405
|
+
# Executions created via the following operations are considered to be in the same chain
|
|
406
|
+
# - ContinueAsNew
|
|
407
|
+
# - Workflow Retry
|
|
408
|
+
# - Workflow Reset
|
|
409
|
+
# - Cron Schedule
|
|
410
|
+
sig { returns(String) }
|
|
411
|
+
def first_run_id
|
|
412
|
+
end
|
|
413
|
+
|
|
414
|
+
# The first run ID in the execution chain.
|
|
415
|
+
# Executions created via the following operations are considered to be in the same chain
|
|
416
|
+
# - ContinueAsNew
|
|
417
|
+
# - Workflow Retry
|
|
418
|
+
# - Workflow Reset
|
|
419
|
+
# - Cron Schedule
|
|
420
|
+
sig { params(value: String).void }
|
|
421
|
+
def first_run_id=(value)
|
|
422
|
+
end
|
|
423
|
+
|
|
424
|
+
# The first run ID in the execution chain.
|
|
425
|
+
# Executions created via the following operations are considered to be in the same chain
|
|
426
|
+
# - ContinueAsNew
|
|
427
|
+
# - Workflow Retry
|
|
428
|
+
# - Workflow Reset
|
|
429
|
+
# - Cron Schedule
|
|
430
|
+
sig { void }
|
|
431
|
+
def clear_first_run_id
|
|
432
|
+
end
|
|
433
|
+
|
|
434
|
+
# Absent value means the workflow execution is not versioned. When present, the execution might
|
|
435
|
+
# be versioned or unversioned, depending on `versioning_info.behavior` and `versioning_info.versioning_override`.
|
|
436
|
+
# Experimental. Versioning info is experimental and might change in the future.
|
|
437
|
+
sig { returns(T.nilable(Temporalio::Api::Workflow::V1::WorkflowExecutionVersioningInfo)) }
|
|
438
|
+
def versioning_info
|
|
439
|
+
end
|
|
440
|
+
|
|
441
|
+
# Absent value means the workflow execution is not versioned. When present, the execution might
|
|
442
|
+
# be versioned or unversioned, depending on `versioning_info.behavior` and `versioning_info.versioning_override`.
|
|
443
|
+
# Experimental. Versioning info is experimental and might change in the future.
|
|
444
|
+
sig { params(value: T.nilable(Temporalio::Api::Workflow::V1::WorkflowExecutionVersioningInfo)).void }
|
|
445
|
+
def versioning_info=(value)
|
|
446
|
+
end
|
|
447
|
+
|
|
448
|
+
# Absent value means the workflow execution is not versioned. When present, the execution might
|
|
449
|
+
# be versioned or unversioned, depending on `versioning_info.behavior` and `versioning_info.versioning_override`.
|
|
450
|
+
# Experimental. Versioning info is experimental and might change in the future.
|
|
451
|
+
sig { void }
|
|
452
|
+
def clear_versioning_info
|
|
453
|
+
end
|
|
454
|
+
|
|
455
|
+
# The name of Worker Deployment that completed the most recent workflow task.
|
|
456
|
+
sig { returns(String) }
|
|
457
|
+
def worker_deployment_name
|
|
458
|
+
end
|
|
459
|
+
|
|
460
|
+
# The name of Worker Deployment that completed the most recent workflow task.
|
|
461
|
+
sig { params(value: String).void }
|
|
462
|
+
def worker_deployment_name=(value)
|
|
463
|
+
end
|
|
464
|
+
|
|
465
|
+
# The name of Worker Deployment that completed the most recent workflow task.
|
|
466
|
+
sig { void }
|
|
467
|
+
def clear_worker_deployment_name
|
|
468
|
+
end
|
|
469
|
+
|
|
470
|
+
# Priority metadata
|
|
471
|
+
sig { returns(T.nilable(Temporalio::Api::Common::V1::Priority)) }
|
|
472
|
+
def priority
|
|
473
|
+
end
|
|
474
|
+
|
|
475
|
+
# Priority metadata
|
|
476
|
+
sig { params(value: T.nilable(Temporalio::Api::Common::V1::Priority)).void }
|
|
477
|
+
def priority=(value)
|
|
478
|
+
end
|
|
479
|
+
|
|
480
|
+
# Priority metadata
|
|
481
|
+
sig { void }
|
|
482
|
+
def clear_priority
|
|
483
|
+
end
|
|
484
|
+
|
|
485
|
+
# Total size in bytes of all external payloads referenced in workflow history.
|
|
486
|
+
sig { returns(Integer) }
|
|
487
|
+
def external_payload_size_bytes
|
|
488
|
+
end
|
|
489
|
+
|
|
490
|
+
# Total size in bytes of all external payloads referenced in workflow history.
|
|
491
|
+
sig { params(value: Integer).void }
|
|
492
|
+
def external_payload_size_bytes=(value)
|
|
493
|
+
end
|
|
494
|
+
|
|
495
|
+
# Total size in bytes of all external payloads referenced in workflow history.
|
|
496
|
+
sig { void }
|
|
497
|
+
def clear_external_payload_size_bytes
|
|
498
|
+
end
|
|
499
|
+
|
|
500
|
+
# Count of external payloads referenced in workflow history.
|
|
501
|
+
sig { returns(Integer) }
|
|
502
|
+
def external_payload_count
|
|
503
|
+
end
|
|
504
|
+
|
|
505
|
+
# Count of external payloads referenced in workflow history.
|
|
506
|
+
sig { params(value: Integer).void }
|
|
507
|
+
def external_payload_count=(value)
|
|
508
|
+
end
|
|
509
|
+
|
|
510
|
+
# Count of external payloads referenced in workflow history.
|
|
511
|
+
sig { void }
|
|
512
|
+
def clear_external_payload_count
|
|
513
|
+
end
|
|
514
|
+
|
|
515
|
+
sig { params(field: String).returns(T.untyped) }
|
|
516
|
+
def [](field)
|
|
517
|
+
end
|
|
518
|
+
|
|
519
|
+
sig { params(field: String, value: T.untyped).void }
|
|
520
|
+
def []=(field, value)
|
|
521
|
+
end
|
|
522
|
+
|
|
523
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
524
|
+
def to_h
|
|
525
|
+
end
|
|
526
|
+
|
|
527
|
+
sig { params(str: String).returns(Temporalio::Api::Workflow::V1::WorkflowExecutionInfo) }
|
|
528
|
+
def self.decode(str)
|
|
529
|
+
end
|
|
530
|
+
|
|
531
|
+
sig { params(msg: Temporalio::Api::Workflow::V1::WorkflowExecutionInfo).returns(String) }
|
|
532
|
+
def self.encode(msg)
|
|
533
|
+
end
|
|
534
|
+
|
|
535
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Workflow::V1::WorkflowExecutionInfo) }
|
|
536
|
+
def self.decode_json(str, **kw)
|
|
537
|
+
end
|
|
538
|
+
|
|
539
|
+
sig { params(msg: Temporalio::Api::Workflow::V1::WorkflowExecutionInfo, kw: T.untyped).returns(String) }
|
|
540
|
+
def self.encode_json(msg, **kw)
|
|
541
|
+
end
|
|
542
|
+
|
|
543
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
544
|
+
def self.descriptor
|
|
545
|
+
end
|
|
546
|
+
end
|
|
547
|
+
|
|
548
|
+
# Holds all the extra information about workflow execution that is not part of Visibility.
|
|
549
|
+
class Temporalio::Api::Workflow::V1::WorkflowExecutionExtendedInfo
|
|
550
|
+
include ::Google::Protobuf::MessageExts
|
|
551
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
552
|
+
|
|
553
|
+
sig do
|
|
554
|
+
params(
|
|
555
|
+
execution_expiration_time: T.nilable(Google::Protobuf::Timestamp),
|
|
556
|
+
run_expiration_time: T.nilable(Google::Protobuf::Timestamp),
|
|
557
|
+
cancel_requested: T.nilable(T::Boolean),
|
|
558
|
+
last_reset_time: T.nilable(Google::Protobuf::Timestamp),
|
|
559
|
+
original_start_time: T.nilable(Google::Protobuf::Timestamp),
|
|
560
|
+
reset_run_id: T.nilable(String),
|
|
561
|
+
request_id_infos: T.nilable(T::Hash[String, T.nilable(Temporalio::Api::Workflow::V1::RequestIdInfo)]),
|
|
562
|
+
pause_info: T.nilable(Temporalio::Api::Workflow::V1::WorkflowExecutionPauseInfo)
|
|
563
|
+
).void
|
|
564
|
+
end
|
|
565
|
+
def initialize(
|
|
566
|
+
execution_expiration_time: nil,
|
|
567
|
+
run_expiration_time: nil,
|
|
568
|
+
cancel_requested: false,
|
|
569
|
+
last_reset_time: nil,
|
|
570
|
+
original_start_time: nil,
|
|
571
|
+
reset_run_id: "",
|
|
572
|
+
request_id_infos: ::Google::Protobuf::Map.new(:string, :message, Temporalio::Api::Workflow::V1::RequestIdInfo),
|
|
573
|
+
pause_info: nil
|
|
574
|
+
)
|
|
575
|
+
end
|
|
576
|
+
|
|
577
|
+
# Workflow execution expiration time is defined as workflow start time plus expiration timeout.
|
|
578
|
+
# Workflow start time may change after workflow reset.
|
|
579
|
+
sig { returns(T.nilable(Google::Protobuf::Timestamp)) }
|
|
580
|
+
def execution_expiration_time
|
|
581
|
+
end
|
|
582
|
+
|
|
583
|
+
# Workflow execution expiration time is defined as workflow start time plus expiration timeout.
|
|
584
|
+
# Workflow start time may change after workflow reset.
|
|
585
|
+
sig { params(value: T.nilable(Google::Protobuf::Timestamp)).void }
|
|
586
|
+
def execution_expiration_time=(value)
|
|
587
|
+
end
|
|
588
|
+
|
|
589
|
+
# Workflow execution expiration time is defined as workflow start time plus expiration timeout.
|
|
590
|
+
# Workflow start time may change after workflow reset.
|
|
591
|
+
sig { void }
|
|
592
|
+
def clear_execution_expiration_time
|
|
593
|
+
end
|
|
594
|
+
|
|
595
|
+
# Workflow run expiration time is defined as current workflow run start time plus workflow run timeout.
|
|
596
|
+
sig { returns(T.nilable(Google::Protobuf::Timestamp)) }
|
|
597
|
+
def run_expiration_time
|
|
598
|
+
end
|
|
599
|
+
|
|
600
|
+
# Workflow run expiration time is defined as current workflow run start time plus workflow run timeout.
|
|
601
|
+
sig { params(value: T.nilable(Google::Protobuf::Timestamp)).void }
|
|
602
|
+
def run_expiration_time=(value)
|
|
603
|
+
end
|
|
604
|
+
|
|
605
|
+
# Workflow run expiration time is defined as current workflow run start time plus workflow run timeout.
|
|
606
|
+
sig { void }
|
|
607
|
+
def clear_run_expiration_time
|
|
608
|
+
end
|
|
609
|
+
|
|
610
|
+
# indicates if the workflow received a cancel request
|
|
611
|
+
sig { returns(T::Boolean) }
|
|
612
|
+
def cancel_requested
|
|
613
|
+
end
|
|
614
|
+
|
|
615
|
+
# indicates if the workflow received a cancel request
|
|
616
|
+
sig { params(value: T::Boolean).void }
|
|
617
|
+
def cancel_requested=(value)
|
|
618
|
+
end
|
|
619
|
+
|
|
620
|
+
# indicates if the workflow received a cancel request
|
|
621
|
+
sig { void }
|
|
622
|
+
def clear_cancel_requested
|
|
623
|
+
end
|
|
624
|
+
|
|
625
|
+
# Last workflow reset time. Nil if the workflow was never reset.
|
|
626
|
+
sig { returns(T.nilable(Google::Protobuf::Timestamp)) }
|
|
627
|
+
def last_reset_time
|
|
628
|
+
end
|
|
629
|
+
|
|
630
|
+
# Last workflow reset time. Nil if the workflow was never reset.
|
|
631
|
+
sig { params(value: T.nilable(Google::Protobuf::Timestamp)).void }
|
|
632
|
+
def last_reset_time=(value)
|
|
633
|
+
end
|
|
634
|
+
|
|
635
|
+
# Last workflow reset time. Nil if the workflow was never reset.
|
|
636
|
+
sig { void }
|
|
637
|
+
def clear_last_reset_time
|
|
638
|
+
end
|
|
639
|
+
|
|
640
|
+
# Original workflow start time.
|
|
641
|
+
sig { returns(T.nilable(Google::Protobuf::Timestamp)) }
|
|
642
|
+
def original_start_time
|
|
643
|
+
end
|
|
644
|
+
|
|
645
|
+
# Original workflow start time.
|
|
646
|
+
sig { params(value: T.nilable(Google::Protobuf::Timestamp)).void }
|
|
647
|
+
def original_start_time=(value)
|
|
648
|
+
end
|
|
649
|
+
|
|
650
|
+
# Original workflow start time.
|
|
651
|
+
sig { void }
|
|
652
|
+
def clear_original_start_time
|
|
653
|
+
end
|
|
654
|
+
|
|
655
|
+
# Reset Run ID points to the new run when this execution is reset. If the execution is reset multiple times, it points to the latest run.
|
|
656
|
+
sig { returns(String) }
|
|
657
|
+
def reset_run_id
|
|
658
|
+
end
|
|
659
|
+
|
|
660
|
+
# Reset Run ID points to the new run when this execution is reset. If the execution is reset multiple times, it points to the latest run.
|
|
661
|
+
sig { params(value: String).void }
|
|
662
|
+
def reset_run_id=(value)
|
|
663
|
+
end
|
|
664
|
+
|
|
665
|
+
# Reset Run ID points to the new run when this execution is reset. If the execution is reset multiple times, it points to the latest run.
|
|
666
|
+
sig { void }
|
|
667
|
+
def clear_reset_run_id
|
|
668
|
+
end
|
|
669
|
+
|
|
670
|
+
# Request ID information (eg: history event information associated with the request ID).
|
|
671
|
+
# Note: It only contains request IDs from StartWorkflowExecution requests, including indirect
|
|
672
|
+
# calls (eg: if SignalWithStartWorkflowExecution starts a new workflow, then the request ID is
|
|
673
|
+
# used in the StartWorkflowExecution request).
|
|
674
|
+
sig { returns(T::Hash[String, T.nilable(Temporalio::Api::Workflow::V1::RequestIdInfo)]) }
|
|
675
|
+
def request_id_infos
|
|
676
|
+
end
|
|
677
|
+
|
|
678
|
+
# Request ID information (eg: history event information associated with the request ID).
|
|
679
|
+
# Note: It only contains request IDs from StartWorkflowExecution requests, including indirect
|
|
680
|
+
# calls (eg: if SignalWithStartWorkflowExecution starts a new workflow, then the request ID is
|
|
681
|
+
# used in the StartWorkflowExecution request).
|
|
682
|
+
sig { params(value: ::Google::Protobuf::Map).void }
|
|
683
|
+
def request_id_infos=(value)
|
|
684
|
+
end
|
|
685
|
+
|
|
686
|
+
# Request ID information (eg: history event information associated with the request ID).
|
|
687
|
+
# Note: It only contains request IDs from StartWorkflowExecution requests, including indirect
|
|
688
|
+
# calls (eg: if SignalWithStartWorkflowExecution starts a new workflow, then the request ID is
|
|
689
|
+
# used in the StartWorkflowExecution request).
|
|
690
|
+
sig { void }
|
|
691
|
+
def clear_request_id_infos
|
|
692
|
+
end
|
|
693
|
+
|
|
694
|
+
# Information about the workflow execution pause operation.
|
|
695
|
+
sig { returns(T.nilable(Temporalio::Api::Workflow::V1::WorkflowExecutionPauseInfo)) }
|
|
696
|
+
def pause_info
|
|
697
|
+
end
|
|
698
|
+
|
|
699
|
+
# Information about the workflow execution pause operation.
|
|
700
|
+
sig { params(value: T.nilable(Temporalio::Api::Workflow::V1::WorkflowExecutionPauseInfo)).void }
|
|
701
|
+
def pause_info=(value)
|
|
702
|
+
end
|
|
703
|
+
|
|
704
|
+
# Information about the workflow execution pause operation.
|
|
705
|
+
sig { void }
|
|
706
|
+
def clear_pause_info
|
|
707
|
+
end
|
|
708
|
+
|
|
709
|
+
sig { params(field: String).returns(T.untyped) }
|
|
710
|
+
def [](field)
|
|
711
|
+
end
|
|
712
|
+
|
|
713
|
+
sig { params(field: String, value: T.untyped).void }
|
|
714
|
+
def []=(field, value)
|
|
715
|
+
end
|
|
716
|
+
|
|
717
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
718
|
+
def to_h
|
|
719
|
+
end
|
|
720
|
+
|
|
721
|
+
sig { params(str: String).returns(Temporalio::Api::Workflow::V1::WorkflowExecutionExtendedInfo) }
|
|
722
|
+
def self.decode(str)
|
|
723
|
+
end
|
|
724
|
+
|
|
725
|
+
sig { params(msg: Temporalio::Api::Workflow::V1::WorkflowExecutionExtendedInfo).returns(String) }
|
|
726
|
+
def self.encode(msg)
|
|
727
|
+
end
|
|
728
|
+
|
|
729
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Workflow::V1::WorkflowExecutionExtendedInfo) }
|
|
730
|
+
def self.decode_json(str, **kw)
|
|
731
|
+
end
|
|
732
|
+
|
|
733
|
+
sig { params(msg: Temporalio::Api::Workflow::V1::WorkflowExecutionExtendedInfo, kw: T.untyped).returns(String) }
|
|
734
|
+
def self.encode_json(msg, **kw)
|
|
735
|
+
end
|
|
736
|
+
|
|
737
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
738
|
+
def self.descriptor
|
|
739
|
+
end
|
|
740
|
+
end
|
|
741
|
+
|
|
742
|
+
# Holds all the information about worker versioning for a particular workflow execution.
|
|
743
|
+
# Experimental. Versioning info is experimental and might change in the future.
|
|
744
|
+
class Temporalio::Api::Workflow::V1::WorkflowExecutionVersioningInfo
|
|
745
|
+
include ::Google::Protobuf::MessageExts
|
|
746
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
747
|
+
|
|
748
|
+
sig do
|
|
749
|
+
params(
|
|
750
|
+
behavior: T.nilable(T.any(Symbol, String, Integer)),
|
|
751
|
+
deployment: T.nilable(Temporalio::Api::Deployment::V1::Deployment),
|
|
752
|
+
version: T.nilable(String),
|
|
753
|
+
deployment_version: T.nilable(Temporalio::Api::Deployment::V1::WorkerDeploymentVersion),
|
|
754
|
+
versioning_override: T.nilable(Temporalio::Api::Workflow::V1::VersioningOverride),
|
|
755
|
+
deployment_transition: T.nilable(Temporalio::Api::Workflow::V1::DeploymentTransition),
|
|
756
|
+
version_transition: T.nilable(Temporalio::Api::Workflow::V1::DeploymentVersionTransition),
|
|
757
|
+
revision_number: T.nilable(Integer),
|
|
758
|
+
continue_as_new_initial_versioning_behavior: T.nilable(T.any(Symbol, String, Integer))
|
|
759
|
+
).void
|
|
760
|
+
end
|
|
761
|
+
def initialize(
|
|
762
|
+
behavior: :VERSIONING_BEHAVIOR_UNSPECIFIED,
|
|
763
|
+
deployment: nil,
|
|
764
|
+
version: "",
|
|
765
|
+
deployment_version: nil,
|
|
766
|
+
versioning_override: nil,
|
|
767
|
+
deployment_transition: nil,
|
|
768
|
+
version_transition: nil,
|
|
769
|
+
revision_number: 0,
|
|
770
|
+
continue_as_new_initial_versioning_behavior: :CONTINUE_AS_NEW_VERSIONING_BEHAVIOR_UNSPECIFIED
|
|
771
|
+
)
|
|
772
|
+
end
|
|
773
|
+
|
|
774
|
+
# Versioning behavior determines how the server should treat this execution when workers are
|
|
775
|
+
# upgraded. When present it means this workflow execution is versioned; UNSPECIFIED means
|
|
776
|
+
# unversioned. See the comments in `VersioningBehavior` enum for more info about different
|
|
777
|
+
# behaviors.
|
|
778
|
+
#
|
|
779
|
+
# Child workflows or CaN executions **inherit** their parent/previous run's effective Versioning
|
|
780
|
+
# Behavior and Version (except when the new execution runs on a task queue not belonging to the
|
|
781
|
+
# same deployment version as the parent/previous run's task queue). The first workflow task will
|
|
782
|
+
# be dispatched according to the inherited behavior (or to the current version of the task-queue's
|
|
783
|
+
# deployment in the case of AutoUpgrade.) After completion of their first workflow task the
|
|
784
|
+
# Deployment Version and Behavior of the execution will update according to configuration on the worker.
|
|
785
|
+
#
|
|
786
|
+
# Note that `behavior` is overridden by `versioning_override` if the latter is present.
|
|
787
|
+
sig { returns(T.any(Symbol, Integer)) }
|
|
788
|
+
def behavior
|
|
789
|
+
end
|
|
790
|
+
|
|
791
|
+
# Versioning behavior determines how the server should treat this execution when workers are
|
|
792
|
+
# upgraded. When present it means this workflow execution is versioned; UNSPECIFIED means
|
|
793
|
+
# unversioned. See the comments in `VersioningBehavior` enum for more info about different
|
|
794
|
+
# behaviors.
|
|
795
|
+
#
|
|
796
|
+
# Child workflows or CaN executions **inherit** their parent/previous run's effective Versioning
|
|
797
|
+
# Behavior and Version (except when the new execution runs on a task queue not belonging to the
|
|
798
|
+
# same deployment version as the parent/previous run's task queue). The first workflow task will
|
|
799
|
+
# be dispatched according to the inherited behavior (or to the current version of the task-queue's
|
|
800
|
+
# deployment in the case of AutoUpgrade.) After completion of their first workflow task the
|
|
801
|
+
# Deployment Version and Behavior of the execution will update according to configuration on the worker.
|
|
802
|
+
#
|
|
803
|
+
# Note that `behavior` is overridden by `versioning_override` if the latter is present.
|
|
804
|
+
sig { params(value: T.any(Symbol, String, Integer)).void }
|
|
805
|
+
def behavior=(value)
|
|
806
|
+
end
|
|
807
|
+
|
|
808
|
+
# Versioning behavior determines how the server should treat this execution when workers are
|
|
809
|
+
# upgraded. When present it means this workflow execution is versioned; UNSPECIFIED means
|
|
810
|
+
# unversioned. See the comments in `VersioningBehavior` enum for more info about different
|
|
811
|
+
# behaviors.
|
|
812
|
+
#
|
|
813
|
+
# Child workflows or CaN executions **inherit** their parent/previous run's effective Versioning
|
|
814
|
+
# Behavior and Version (except when the new execution runs on a task queue not belonging to the
|
|
815
|
+
# same deployment version as the parent/previous run's task queue). The first workflow task will
|
|
816
|
+
# be dispatched according to the inherited behavior (or to the current version of the task-queue's
|
|
817
|
+
# deployment in the case of AutoUpgrade.) After completion of their first workflow task the
|
|
818
|
+
# Deployment Version and Behavior of the execution will update according to configuration on the worker.
|
|
819
|
+
#
|
|
820
|
+
# Note that `behavior` is overridden by `versioning_override` if the latter is present.
|
|
821
|
+
sig { void }
|
|
822
|
+
def clear_behavior
|
|
823
|
+
end
|
|
824
|
+
|
|
825
|
+
# The worker deployment that completed the last workflow task of this workflow execution. Must
|
|
826
|
+
# be present if `behavior` is set. Absent value means no workflow task is completed, or the
|
|
827
|
+
# last workflow task was completed by an unversioned worker. Unversioned workers may still send
|
|
828
|
+
# a deployment value which will be stored here, so the right way to check if an execution is
|
|
829
|
+
# versioned if an execution is versioned or not is via the `behavior` field.
|
|
830
|
+
# Note that `deployment` is overridden by `versioning_override` if the latter is present.
|
|
831
|
+
# Deprecated. Use `deployment_version`.
|
|
832
|
+
sig { returns(T.nilable(Temporalio::Api::Deployment::V1::Deployment)) }
|
|
833
|
+
def deployment
|
|
834
|
+
end
|
|
835
|
+
|
|
836
|
+
# The worker deployment that completed the last workflow task of this workflow execution. Must
|
|
837
|
+
# be present if `behavior` is set. Absent value means no workflow task is completed, or the
|
|
838
|
+
# last workflow task was completed by an unversioned worker. Unversioned workers may still send
|
|
839
|
+
# a deployment value which will be stored here, so the right way to check if an execution is
|
|
840
|
+
# versioned if an execution is versioned or not is via the `behavior` field.
|
|
841
|
+
# Note that `deployment` is overridden by `versioning_override` if the latter is present.
|
|
842
|
+
# Deprecated. Use `deployment_version`.
|
|
843
|
+
sig { params(value: T.nilable(Temporalio::Api::Deployment::V1::Deployment)).void }
|
|
844
|
+
def deployment=(value)
|
|
845
|
+
end
|
|
846
|
+
|
|
847
|
+
# The worker deployment that completed the last workflow task of this workflow execution. Must
|
|
848
|
+
# be present if `behavior` is set. Absent value means no workflow task is completed, or the
|
|
849
|
+
# last workflow task was completed by an unversioned worker. Unversioned workers may still send
|
|
850
|
+
# a deployment value which will be stored here, so the right way to check if an execution is
|
|
851
|
+
# versioned if an execution is versioned or not is via the `behavior` field.
|
|
852
|
+
# Note that `deployment` is overridden by `versioning_override` if the latter is present.
|
|
853
|
+
# Deprecated. Use `deployment_version`.
|
|
854
|
+
sig { void }
|
|
855
|
+
def clear_deployment
|
|
856
|
+
end
|
|
857
|
+
|
|
858
|
+
# Deprecated. Use `deployment_version`.
|
|
859
|
+
sig { returns(String) }
|
|
860
|
+
def version
|
|
861
|
+
end
|
|
862
|
+
|
|
863
|
+
# Deprecated. Use `deployment_version`.
|
|
864
|
+
sig { params(value: String).void }
|
|
865
|
+
def version=(value)
|
|
866
|
+
end
|
|
867
|
+
|
|
868
|
+
# Deprecated. Use `deployment_version`.
|
|
869
|
+
sig { void }
|
|
870
|
+
def clear_version
|
|
871
|
+
end
|
|
872
|
+
|
|
873
|
+
# The Worker Deployment Version that completed the last workflow task of this workflow execution.
|
|
874
|
+
# An absent value means no workflow task is completed, or the workflow is unversioned.
|
|
875
|
+
# If present, and `behavior` is UNSPECIFIED, the last task of this workflow execution was completed
|
|
876
|
+
# by a worker that is not using versioning but _is_ passing Deployment Name and Build ID.
|
|
877
|
+
#
|
|
878
|
+
# Child workflows or CaN executions **inherit** their parent/previous run's effective Versioning
|
|
879
|
+
# Behavior and Version (except when the new execution runs on a task queue not belonging to the
|
|
880
|
+
# same deployment version as the parent/previous run's task queue). The first workflow task will
|
|
881
|
+
# be dispatched according to the inherited behavior (or to the current version of the task-queue's
|
|
882
|
+
# deployment in the case of AutoUpgrade.) After completion of their first workflow task the
|
|
883
|
+
# Deployment Version and Behavior of the execution will update according to configuration on the worker.
|
|
884
|
+
#
|
|
885
|
+
# Note that if `versioning_override.behavior` is PINNED then `versioning_override.pinned_version`
|
|
886
|
+
# will override this value.
|
|
887
|
+
sig { returns(T.nilable(Temporalio::Api::Deployment::V1::WorkerDeploymentVersion)) }
|
|
888
|
+
def deployment_version
|
|
889
|
+
end
|
|
890
|
+
|
|
891
|
+
# The Worker Deployment Version that completed the last workflow task of this workflow execution.
|
|
892
|
+
# An absent value means no workflow task is completed, or the workflow is unversioned.
|
|
893
|
+
# If present, and `behavior` is UNSPECIFIED, the last task of this workflow execution was completed
|
|
894
|
+
# by a worker that is not using versioning but _is_ passing Deployment Name and Build ID.
|
|
895
|
+
#
|
|
896
|
+
# Child workflows or CaN executions **inherit** their parent/previous run's effective Versioning
|
|
897
|
+
# Behavior and Version (except when the new execution runs on a task queue not belonging to the
|
|
898
|
+
# same deployment version as the parent/previous run's task queue). The first workflow task will
|
|
899
|
+
# be dispatched according to the inherited behavior (or to the current version of the task-queue's
|
|
900
|
+
# deployment in the case of AutoUpgrade.) After completion of their first workflow task the
|
|
901
|
+
# Deployment Version and Behavior of the execution will update according to configuration on the worker.
|
|
902
|
+
#
|
|
903
|
+
# Note that if `versioning_override.behavior` is PINNED then `versioning_override.pinned_version`
|
|
904
|
+
# will override this value.
|
|
905
|
+
sig { params(value: T.nilable(Temporalio::Api::Deployment::V1::WorkerDeploymentVersion)).void }
|
|
906
|
+
def deployment_version=(value)
|
|
907
|
+
end
|
|
908
|
+
|
|
909
|
+
# The Worker Deployment Version that completed the last workflow task of this workflow execution.
|
|
910
|
+
# An absent value means no workflow task is completed, or the workflow is unversioned.
|
|
911
|
+
# If present, and `behavior` is UNSPECIFIED, the last task of this workflow execution was completed
|
|
912
|
+
# by a worker that is not using versioning but _is_ passing Deployment Name and Build ID.
|
|
913
|
+
#
|
|
914
|
+
# Child workflows or CaN executions **inherit** their parent/previous run's effective Versioning
|
|
915
|
+
# Behavior and Version (except when the new execution runs on a task queue not belonging to the
|
|
916
|
+
# same deployment version as the parent/previous run's task queue). The first workflow task will
|
|
917
|
+
# be dispatched according to the inherited behavior (or to the current version of the task-queue's
|
|
918
|
+
# deployment in the case of AutoUpgrade.) After completion of their first workflow task the
|
|
919
|
+
# Deployment Version and Behavior of the execution will update according to configuration on the worker.
|
|
920
|
+
#
|
|
921
|
+
# Note that if `versioning_override.behavior` is PINNED then `versioning_override.pinned_version`
|
|
922
|
+
# will override this value.
|
|
923
|
+
sig { void }
|
|
924
|
+
def clear_deployment_version
|
|
925
|
+
end
|
|
926
|
+
|
|
927
|
+
# Present if user has set an execution-specific versioning override. This override takes
|
|
928
|
+
# precedence over SDK-sent `behavior` (and `version` when override is PINNED). An
|
|
929
|
+
# override can be set when starting a new execution, as well as afterwards by calling the
|
|
930
|
+
# `UpdateWorkflowExecutionOptions` API.
|
|
931
|
+
# Pinned overrides are automatically inherited by child workflows, continue-as-new workflows,
|
|
932
|
+
# workflow retries, and cron workflows.
|
|
933
|
+
sig { returns(T.nilable(Temporalio::Api::Workflow::V1::VersioningOverride)) }
|
|
934
|
+
def versioning_override
|
|
935
|
+
end
|
|
936
|
+
|
|
937
|
+
# Present if user has set an execution-specific versioning override. This override takes
|
|
938
|
+
# precedence over SDK-sent `behavior` (and `version` when override is PINNED). An
|
|
939
|
+
# override can be set when starting a new execution, as well as afterwards by calling the
|
|
940
|
+
# `UpdateWorkflowExecutionOptions` API.
|
|
941
|
+
# Pinned overrides are automatically inherited by child workflows, continue-as-new workflows,
|
|
942
|
+
# workflow retries, and cron workflows.
|
|
943
|
+
sig { params(value: T.nilable(Temporalio::Api::Workflow::V1::VersioningOverride)).void }
|
|
944
|
+
def versioning_override=(value)
|
|
945
|
+
end
|
|
946
|
+
|
|
947
|
+
# Present if user has set an execution-specific versioning override. This override takes
|
|
948
|
+
# precedence over SDK-sent `behavior` (and `version` when override is PINNED). An
|
|
949
|
+
# override can be set when starting a new execution, as well as afterwards by calling the
|
|
950
|
+
# `UpdateWorkflowExecutionOptions` API.
|
|
951
|
+
# Pinned overrides are automatically inherited by child workflows, continue-as-new workflows,
|
|
952
|
+
# workflow retries, and cron workflows.
|
|
953
|
+
sig { void }
|
|
954
|
+
def clear_versioning_override
|
|
955
|
+
end
|
|
956
|
+
|
|
957
|
+
# When present, indicates the workflow is transitioning to a different deployment. Can
|
|
958
|
+
# indicate one of the following transitions: unversioned -> versioned, versioned -> versioned
|
|
959
|
+
# on a different deployment, or versioned -> unversioned.
|
|
960
|
+
# Not applicable to workflows with PINNED behavior.
|
|
961
|
+
# When a workflow with AUTO_UPGRADE behavior creates a new workflow task, it will automatically
|
|
962
|
+
# start a transition to the task queue's current deployment if the task queue's current
|
|
963
|
+
# deployment is different from the workflow's deployment.
|
|
964
|
+
# If the AUTO_UPGRADE workflow is stuck due to backlogged activity or workflow tasks, those
|
|
965
|
+
# tasks will be redirected to the task queue's current deployment. As soon as a poller from
|
|
966
|
+
# that deployment is available to receive the task, the workflow will automatically start a
|
|
967
|
+
# transition to that deployment and continue execution there.
|
|
968
|
+
# A deployment transition can only exist while there is a pending or started workflow task.
|
|
969
|
+
# Once the pending workflow task completes on the transition's target deployment, the
|
|
970
|
+
# transition completes and the workflow's `deployment` and `behavior` fields are updated per
|
|
971
|
+
# the worker's task completion response.
|
|
972
|
+
# Pending activities will not start new attempts during a transition. Once the transition is
|
|
973
|
+
# completed, pending activities will start their next attempt on the new deployment.
|
|
974
|
+
# Deprecated. Use version_transition.
|
|
975
|
+
sig { returns(T.nilable(Temporalio::Api::Workflow::V1::DeploymentTransition)) }
|
|
976
|
+
def deployment_transition
|
|
977
|
+
end
|
|
978
|
+
|
|
979
|
+
# When present, indicates the workflow is transitioning to a different deployment. Can
|
|
980
|
+
# indicate one of the following transitions: unversioned -> versioned, versioned -> versioned
|
|
981
|
+
# on a different deployment, or versioned -> unversioned.
|
|
982
|
+
# Not applicable to workflows with PINNED behavior.
|
|
983
|
+
# When a workflow with AUTO_UPGRADE behavior creates a new workflow task, it will automatically
|
|
984
|
+
# start a transition to the task queue's current deployment if the task queue's current
|
|
985
|
+
# deployment is different from the workflow's deployment.
|
|
986
|
+
# If the AUTO_UPGRADE workflow is stuck due to backlogged activity or workflow tasks, those
|
|
987
|
+
# tasks will be redirected to the task queue's current deployment. As soon as a poller from
|
|
988
|
+
# that deployment is available to receive the task, the workflow will automatically start a
|
|
989
|
+
# transition to that deployment and continue execution there.
|
|
990
|
+
# A deployment transition can only exist while there is a pending or started workflow task.
|
|
991
|
+
# Once the pending workflow task completes on the transition's target deployment, the
|
|
992
|
+
# transition completes and the workflow's `deployment` and `behavior` fields are updated per
|
|
993
|
+
# the worker's task completion response.
|
|
994
|
+
# Pending activities will not start new attempts during a transition. Once the transition is
|
|
995
|
+
# completed, pending activities will start their next attempt on the new deployment.
|
|
996
|
+
# Deprecated. Use version_transition.
|
|
997
|
+
sig { params(value: T.nilable(Temporalio::Api::Workflow::V1::DeploymentTransition)).void }
|
|
998
|
+
def deployment_transition=(value)
|
|
999
|
+
end
|
|
1000
|
+
|
|
1001
|
+
# When present, indicates the workflow is transitioning to a different deployment. Can
|
|
1002
|
+
# indicate one of the following transitions: unversioned -> versioned, versioned -> versioned
|
|
1003
|
+
# on a different deployment, or versioned -> unversioned.
|
|
1004
|
+
# Not applicable to workflows with PINNED behavior.
|
|
1005
|
+
# When a workflow with AUTO_UPGRADE behavior creates a new workflow task, it will automatically
|
|
1006
|
+
# start a transition to the task queue's current deployment if the task queue's current
|
|
1007
|
+
# deployment is different from the workflow's deployment.
|
|
1008
|
+
# If the AUTO_UPGRADE workflow is stuck due to backlogged activity or workflow tasks, those
|
|
1009
|
+
# tasks will be redirected to the task queue's current deployment. As soon as a poller from
|
|
1010
|
+
# that deployment is available to receive the task, the workflow will automatically start a
|
|
1011
|
+
# transition to that deployment and continue execution there.
|
|
1012
|
+
# A deployment transition can only exist while there is a pending or started workflow task.
|
|
1013
|
+
# Once the pending workflow task completes on the transition's target deployment, the
|
|
1014
|
+
# transition completes and the workflow's `deployment` and `behavior` fields are updated per
|
|
1015
|
+
# the worker's task completion response.
|
|
1016
|
+
# Pending activities will not start new attempts during a transition. Once the transition is
|
|
1017
|
+
# completed, pending activities will start their next attempt on the new deployment.
|
|
1018
|
+
# Deprecated. Use version_transition.
|
|
1019
|
+
sig { void }
|
|
1020
|
+
def clear_deployment_transition
|
|
1021
|
+
end
|
|
1022
|
+
|
|
1023
|
+
# When present, indicates the workflow is transitioning to a different deployment version
|
|
1024
|
+
# (which may belong to the same deployment name or another). Can indicate one of the following
|
|
1025
|
+
# transitions: unversioned -> versioned, versioned -> versioned
|
|
1026
|
+
# on a different deployment version, or versioned -> unversioned.
|
|
1027
|
+
# Not applicable to workflows with PINNED behavior.
|
|
1028
|
+
# When a workflow with AUTO_UPGRADE behavior creates a new workflow task, it will automatically
|
|
1029
|
+
# start a transition to the task queue's current version if the task queue's current version is
|
|
1030
|
+
# different from the workflow's current deployment version.
|
|
1031
|
+
# If the AUTO_UPGRADE workflow is stuck due to backlogged activity or workflow tasks, those
|
|
1032
|
+
# tasks will be redirected to the task queue's current version. As soon as a poller from
|
|
1033
|
+
# that deployment version is available to receive the task, the workflow will automatically
|
|
1034
|
+
# start a transition to that version and continue execution there.
|
|
1035
|
+
# A version transition can only exist while there is a pending or started workflow task.
|
|
1036
|
+
# Once the pending workflow task completes on the transition's target version, the
|
|
1037
|
+
# transition completes and the workflow's `behavior`, and `deployment_version` fields are updated per the
|
|
1038
|
+
# worker's task completion response.
|
|
1039
|
+
# Pending activities will not start new attempts during a transition. Once the transition is
|
|
1040
|
+
# completed, pending activities will start their next attempt on the new version.
|
|
1041
|
+
sig { returns(T.nilable(Temporalio::Api::Workflow::V1::DeploymentVersionTransition)) }
|
|
1042
|
+
def version_transition
|
|
1043
|
+
end
|
|
1044
|
+
|
|
1045
|
+
# When present, indicates the workflow is transitioning to a different deployment version
|
|
1046
|
+
# (which may belong to the same deployment name or another). Can indicate one of the following
|
|
1047
|
+
# transitions: unversioned -> versioned, versioned -> versioned
|
|
1048
|
+
# on a different deployment version, or versioned -> unversioned.
|
|
1049
|
+
# Not applicable to workflows with PINNED behavior.
|
|
1050
|
+
# When a workflow with AUTO_UPGRADE behavior creates a new workflow task, it will automatically
|
|
1051
|
+
# start a transition to the task queue's current version if the task queue's current version is
|
|
1052
|
+
# different from the workflow's current deployment version.
|
|
1053
|
+
# If the AUTO_UPGRADE workflow is stuck due to backlogged activity or workflow tasks, those
|
|
1054
|
+
# tasks will be redirected to the task queue's current version. As soon as a poller from
|
|
1055
|
+
# that deployment version is available to receive the task, the workflow will automatically
|
|
1056
|
+
# start a transition to that version and continue execution there.
|
|
1057
|
+
# A version transition can only exist while there is a pending or started workflow task.
|
|
1058
|
+
# Once the pending workflow task completes on the transition's target version, the
|
|
1059
|
+
# transition completes and the workflow's `behavior`, and `deployment_version` fields are updated per the
|
|
1060
|
+
# worker's task completion response.
|
|
1061
|
+
# Pending activities will not start new attempts during a transition. Once the transition is
|
|
1062
|
+
# completed, pending activities will start their next attempt on the new version.
|
|
1063
|
+
sig { params(value: T.nilable(Temporalio::Api::Workflow::V1::DeploymentVersionTransition)).void }
|
|
1064
|
+
def version_transition=(value)
|
|
1065
|
+
end
|
|
1066
|
+
|
|
1067
|
+
# When present, indicates the workflow is transitioning to a different deployment version
|
|
1068
|
+
# (which may belong to the same deployment name or another). Can indicate one of the following
|
|
1069
|
+
# transitions: unversioned -> versioned, versioned -> versioned
|
|
1070
|
+
# on a different deployment version, or versioned -> unversioned.
|
|
1071
|
+
# Not applicable to workflows with PINNED behavior.
|
|
1072
|
+
# When a workflow with AUTO_UPGRADE behavior creates a new workflow task, it will automatically
|
|
1073
|
+
# start a transition to the task queue's current version if the task queue's current version is
|
|
1074
|
+
# different from the workflow's current deployment version.
|
|
1075
|
+
# If the AUTO_UPGRADE workflow is stuck due to backlogged activity or workflow tasks, those
|
|
1076
|
+
# tasks will be redirected to the task queue's current version. As soon as a poller from
|
|
1077
|
+
# that deployment version is available to receive the task, the workflow will automatically
|
|
1078
|
+
# start a transition to that version and continue execution there.
|
|
1079
|
+
# A version transition can only exist while there is a pending or started workflow task.
|
|
1080
|
+
# Once the pending workflow task completes on the transition's target version, the
|
|
1081
|
+
# transition completes and the workflow's `behavior`, and `deployment_version` fields are updated per the
|
|
1082
|
+
# worker's task completion response.
|
|
1083
|
+
# Pending activities will not start new attempts during a transition. Once the transition is
|
|
1084
|
+
# completed, pending activities will start their next attempt on the new version.
|
|
1085
|
+
sig { void }
|
|
1086
|
+
def clear_version_transition
|
|
1087
|
+
end
|
|
1088
|
+
|
|
1089
|
+
# Monotonic counter reflecting the latest routing decision for this workflow execution.
|
|
1090
|
+
# Used for staleness detection between history and matching when dispatching tasks to workers.
|
|
1091
|
+
# Incremented when a workflow execution routes to a new deployment version, which happens
|
|
1092
|
+
# when a worker of the new deployment version completes a workflow task.
|
|
1093
|
+
# Note: Pinned tasks and sticky tasks send a value of 0 for this field since these tasks do not
|
|
1094
|
+
# face the problem of inconsistent dispatching that arises from eventual consistency between
|
|
1095
|
+
# task queues and their partitions.
|
|
1096
|
+
sig { returns(Integer) }
|
|
1097
|
+
def revision_number
|
|
1098
|
+
end
|
|
1099
|
+
|
|
1100
|
+
# Monotonic counter reflecting the latest routing decision for this workflow execution.
|
|
1101
|
+
# Used for staleness detection between history and matching when dispatching tasks to workers.
|
|
1102
|
+
# Incremented when a workflow execution routes to a new deployment version, which happens
|
|
1103
|
+
# when a worker of the new deployment version completes a workflow task.
|
|
1104
|
+
# Note: Pinned tasks and sticky tasks send a value of 0 for this field since these tasks do not
|
|
1105
|
+
# face the problem of inconsistent dispatching that arises from eventual consistency between
|
|
1106
|
+
# task queues and their partitions.
|
|
1107
|
+
sig { params(value: Integer).void }
|
|
1108
|
+
def revision_number=(value)
|
|
1109
|
+
end
|
|
1110
|
+
|
|
1111
|
+
# Monotonic counter reflecting the latest routing decision for this workflow execution.
|
|
1112
|
+
# Used for staleness detection between history and matching when dispatching tasks to workers.
|
|
1113
|
+
# Incremented when a workflow execution routes to a new deployment version, which happens
|
|
1114
|
+
# when a worker of the new deployment version completes a workflow task.
|
|
1115
|
+
# Note: Pinned tasks and sticky tasks send a value of 0 for this field since these tasks do not
|
|
1116
|
+
# face the problem of inconsistent dispatching that arises from eventual consistency between
|
|
1117
|
+
# task queues and their partitions.
|
|
1118
|
+
sig { void }
|
|
1119
|
+
def clear_revision_number
|
|
1120
|
+
end
|
|
1121
|
+
|
|
1122
|
+
# Experimental.
|
|
1123
|
+
# If this workflow is the result of a continue-as-new, this field is set to the initial_versioning_behavior
|
|
1124
|
+
# specified in that command.
|
|
1125
|
+
# Only used for the initial task of this run and the initial task of any retries of this run.
|
|
1126
|
+
# Not passed to children or to future continue-as-new.
|
|
1127
|
+
#
|
|
1128
|
+
# Note: In the first release of Upgrade-on-CaN, when the only ContinueAsNewVersioningBehavior was AutoUpgrade,
|
|
1129
|
+
# a non-empty InheritedAutoUpgradeInfo meant that the workflow should start as AutoUpgrade. So for compatibility
|
|
1130
|
+
# with ContinueAsNew history commands generated during that time, know that an UNSPECIFIED value here is equivalent
|
|
1131
|
+
# to ContinueAsNewVersioningBehaviorAutoUpgrade if the behavior of the workflow is AutoUpgrade.
|
|
1132
|
+
sig { returns(T.any(Symbol, Integer)) }
|
|
1133
|
+
def continue_as_new_initial_versioning_behavior
|
|
1134
|
+
end
|
|
1135
|
+
|
|
1136
|
+
# Experimental.
|
|
1137
|
+
# If this workflow is the result of a continue-as-new, this field is set to the initial_versioning_behavior
|
|
1138
|
+
# specified in that command.
|
|
1139
|
+
# Only used for the initial task of this run and the initial task of any retries of this run.
|
|
1140
|
+
# Not passed to children or to future continue-as-new.
|
|
1141
|
+
#
|
|
1142
|
+
# Note: In the first release of Upgrade-on-CaN, when the only ContinueAsNewVersioningBehavior was AutoUpgrade,
|
|
1143
|
+
# a non-empty InheritedAutoUpgradeInfo meant that the workflow should start as AutoUpgrade. So for compatibility
|
|
1144
|
+
# with ContinueAsNew history commands generated during that time, know that an UNSPECIFIED value here is equivalent
|
|
1145
|
+
# to ContinueAsNewVersioningBehaviorAutoUpgrade if the behavior of the workflow is AutoUpgrade.
|
|
1146
|
+
sig { params(value: T.any(Symbol, String, Integer)).void }
|
|
1147
|
+
def continue_as_new_initial_versioning_behavior=(value)
|
|
1148
|
+
end
|
|
1149
|
+
|
|
1150
|
+
# Experimental.
|
|
1151
|
+
# If this workflow is the result of a continue-as-new, this field is set to the initial_versioning_behavior
|
|
1152
|
+
# specified in that command.
|
|
1153
|
+
# Only used for the initial task of this run and the initial task of any retries of this run.
|
|
1154
|
+
# Not passed to children or to future continue-as-new.
|
|
1155
|
+
#
|
|
1156
|
+
# Note: In the first release of Upgrade-on-CaN, when the only ContinueAsNewVersioningBehavior was AutoUpgrade,
|
|
1157
|
+
# a non-empty InheritedAutoUpgradeInfo meant that the workflow should start as AutoUpgrade. So for compatibility
|
|
1158
|
+
# with ContinueAsNew history commands generated during that time, know that an UNSPECIFIED value here is equivalent
|
|
1159
|
+
# to ContinueAsNewVersioningBehaviorAutoUpgrade if the behavior of the workflow is AutoUpgrade.
|
|
1160
|
+
sig { void }
|
|
1161
|
+
def clear_continue_as_new_initial_versioning_behavior
|
|
1162
|
+
end
|
|
1163
|
+
|
|
1164
|
+
sig { params(field: String).returns(T.untyped) }
|
|
1165
|
+
def [](field)
|
|
1166
|
+
end
|
|
1167
|
+
|
|
1168
|
+
sig { params(field: String, value: T.untyped).void }
|
|
1169
|
+
def []=(field, value)
|
|
1170
|
+
end
|
|
1171
|
+
|
|
1172
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
1173
|
+
def to_h
|
|
1174
|
+
end
|
|
1175
|
+
|
|
1176
|
+
sig { params(str: String).returns(Temporalio::Api::Workflow::V1::WorkflowExecutionVersioningInfo) }
|
|
1177
|
+
def self.decode(str)
|
|
1178
|
+
end
|
|
1179
|
+
|
|
1180
|
+
sig { params(msg: Temporalio::Api::Workflow::V1::WorkflowExecutionVersioningInfo).returns(String) }
|
|
1181
|
+
def self.encode(msg)
|
|
1182
|
+
end
|
|
1183
|
+
|
|
1184
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Workflow::V1::WorkflowExecutionVersioningInfo) }
|
|
1185
|
+
def self.decode_json(str, **kw)
|
|
1186
|
+
end
|
|
1187
|
+
|
|
1188
|
+
sig { params(msg: Temporalio::Api::Workflow::V1::WorkflowExecutionVersioningInfo, kw: T.untyped).returns(String) }
|
|
1189
|
+
def self.encode_json(msg, **kw)
|
|
1190
|
+
end
|
|
1191
|
+
|
|
1192
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
1193
|
+
def self.descriptor
|
|
1194
|
+
end
|
|
1195
|
+
end
|
|
1196
|
+
|
|
1197
|
+
# Holds information about ongoing transition of a workflow execution from one deployment to another.
|
|
1198
|
+
# Deprecated. Use DeploymentVersionTransition.
|
|
1199
|
+
class Temporalio::Api::Workflow::V1::DeploymentTransition
|
|
1200
|
+
include ::Google::Protobuf::MessageExts
|
|
1201
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1202
|
+
|
|
1203
|
+
sig do
|
|
1204
|
+
params(
|
|
1205
|
+
deployment: T.nilable(Temporalio::Api::Deployment::V1::Deployment)
|
|
1206
|
+
).void
|
|
1207
|
+
end
|
|
1208
|
+
def initialize(
|
|
1209
|
+
deployment: nil
|
|
1210
|
+
)
|
|
1211
|
+
end
|
|
1212
|
+
|
|
1213
|
+
# The target deployment of the transition. Null means a so-far-versioned workflow is
|
|
1214
|
+
# transitioning to unversioned workers.
|
|
1215
|
+
sig { returns(T.nilable(Temporalio::Api::Deployment::V1::Deployment)) }
|
|
1216
|
+
def deployment
|
|
1217
|
+
end
|
|
1218
|
+
|
|
1219
|
+
# The target deployment of the transition. Null means a so-far-versioned workflow is
|
|
1220
|
+
# transitioning to unversioned workers.
|
|
1221
|
+
sig { params(value: T.nilable(Temporalio::Api::Deployment::V1::Deployment)).void }
|
|
1222
|
+
def deployment=(value)
|
|
1223
|
+
end
|
|
1224
|
+
|
|
1225
|
+
# The target deployment of the transition. Null means a so-far-versioned workflow is
|
|
1226
|
+
# transitioning to unversioned workers.
|
|
1227
|
+
sig { void }
|
|
1228
|
+
def clear_deployment
|
|
1229
|
+
end
|
|
1230
|
+
|
|
1231
|
+
sig { params(field: String).returns(T.untyped) }
|
|
1232
|
+
def [](field)
|
|
1233
|
+
end
|
|
1234
|
+
|
|
1235
|
+
sig { params(field: String, value: T.untyped).void }
|
|
1236
|
+
def []=(field, value)
|
|
1237
|
+
end
|
|
1238
|
+
|
|
1239
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
1240
|
+
def to_h
|
|
1241
|
+
end
|
|
1242
|
+
|
|
1243
|
+
sig { params(str: String).returns(Temporalio::Api::Workflow::V1::DeploymentTransition) }
|
|
1244
|
+
def self.decode(str)
|
|
1245
|
+
end
|
|
1246
|
+
|
|
1247
|
+
sig { params(msg: Temporalio::Api::Workflow::V1::DeploymentTransition).returns(String) }
|
|
1248
|
+
def self.encode(msg)
|
|
1249
|
+
end
|
|
1250
|
+
|
|
1251
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Workflow::V1::DeploymentTransition) }
|
|
1252
|
+
def self.decode_json(str, **kw)
|
|
1253
|
+
end
|
|
1254
|
+
|
|
1255
|
+
sig { params(msg: Temporalio::Api::Workflow::V1::DeploymentTransition, kw: T.untyped).returns(String) }
|
|
1256
|
+
def self.encode_json(msg, **kw)
|
|
1257
|
+
end
|
|
1258
|
+
|
|
1259
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
1260
|
+
def self.descriptor
|
|
1261
|
+
end
|
|
1262
|
+
end
|
|
1263
|
+
|
|
1264
|
+
# Holds information about ongoing transition of a workflow execution from one worker
|
|
1265
|
+
# deployment version to another.
|
|
1266
|
+
# Experimental. Might change in the future.
|
|
1267
|
+
class Temporalio::Api::Workflow::V1::DeploymentVersionTransition
|
|
1268
|
+
include ::Google::Protobuf::MessageExts
|
|
1269
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1270
|
+
|
|
1271
|
+
sig do
|
|
1272
|
+
params(
|
|
1273
|
+
version: T.nilable(String),
|
|
1274
|
+
deployment_version: T.nilable(Temporalio::Api::Deployment::V1::WorkerDeploymentVersion)
|
|
1275
|
+
).void
|
|
1276
|
+
end
|
|
1277
|
+
def initialize(
|
|
1278
|
+
version: "",
|
|
1279
|
+
deployment_version: nil
|
|
1280
|
+
)
|
|
1281
|
+
end
|
|
1282
|
+
|
|
1283
|
+
# Deprecated. Use `deployment_version`.
|
|
1284
|
+
sig { returns(String) }
|
|
1285
|
+
def version
|
|
1286
|
+
end
|
|
1287
|
+
|
|
1288
|
+
# Deprecated. Use `deployment_version`.
|
|
1289
|
+
sig { params(value: String).void }
|
|
1290
|
+
def version=(value)
|
|
1291
|
+
end
|
|
1292
|
+
|
|
1293
|
+
# Deprecated. Use `deployment_version`.
|
|
1294
|
+
sig { void }
|
|
1295
|
+
def clear_version
|
|
1296
|
+
end
|
|
1297
|
+
|
|
1298
|
+
# The target Version of the transition.
|
|
1299
|
+
# If nil, a so-far-versioned workflow is transitioning to unversioned workers.
|
|
1300
|
+
sig { returns(T.nilable(Temporalio::Api::Deployment::V1::WorkerDeploymentVersion)) }
|
|
1301
|
+
def deployment_version
|
|
1302
|
+
end
|
|
1303
|
+
|
|
1304
|
+
# The target Version of the transition.
|
|
1305
|
+
# If nil, a so-far-versioned workflow is transitioning to unversioned workers.
|
|
1306
|
+
sig { params(value: T.nilable(Temporalio::Api::Deployment::V1::WorkerDeploymentVersion)).void }
|
|
1307
|
+
def deployment_version=(value)
|
|
1308
|
+
end
|
|
1309
|
+
|
|
1310
|
+
# The target Version of the transition.
|
|
1311
|
+
# If nil, a so-far-versioned workflow is transitioning to unversioned workers.
|
|
1312
|
+
sig { void }
|
|
1313
|
+
def clear_deployment_version
|
|
1314
|
+
end
|
|
1315
|
+
|
|
1316
|
+
sig { params(field: String).returns(T.untyped) }
|
|
1317
|
+
def [](field)
|
|
1318
|
+
end
|
|
1319
|
+
|
|
1320
|
+
sig { params(field: String, value: T.untyped).void }
|
|
1321
|
+
def []=(field, value)
|
|
1322
|
+
end
|
|
1323
|
+
|
|
1324
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
1325
|
+
def to_h
|
|
1326
|
+
end
|
|
1327
|
+
|
|
1328
|
+
sig { params(str: String).returns(Temporalio::Api::Workflow::V1::DeploymentVersionTransition) }
|
|
1329
|
+
def self.decode(str)
|
|
1330
|
+
end
|
|
1331
|
+
|
|
1332
|
+
sig { params(msg: Temporalio::Api::Workflow::V1::DeploymentVersionTransition).returns(String) }
|
|
1333
|
+
def self.encode(msg)
|
|
1334
|
+
end
|
|
1335
|
+
|
|
1336
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Workflow::V1::DeploymentVersionTransition) }
|
|
1337
|
+
def self.decode_json(str, **kw)
|
|
1338
|
+
end
|
|
1339
|
+
|
|
1340
|
+
sig { params(msg: Temporalio::Api::Workflow::V1::DeploymentVersionTransition, kw: T.untyped).returns(String) }
|
|
1341
|
+
def self.encode_json(msg, **kw)
|
|
1342
|
+
end
|
|
1343
|
+
|
|
1344
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
1345
|
+
def self.descriptor
|
|
1346
|
+
end
|
|
1347
|
+
end
|
|
1348
|
+
|
|
1349
|
+
class Temporalio::Api::Workflow::V1::WorkflowExecutionConfig
|
|
1350
|
+
include ::Google::Protobuf::MessageExts
|
|
1351
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1352
|
+
|
|
1353
|
+
sig do
|
|
1354
|
+
params(
|
|
1355
|
+
task_queue: T.nilable(Temporalio::Api::TaskQueue::V1::TaskQueue),
|
|
1356
|
+
workflow_execution_timeout: T.nilable(Google::Protobuf::Duration),
|
|
1357
|
+
workflow_run_timeout: T.nilable(Google::Protobuf::Duration),
|
|
1358
|
+
default_workflow_task_timeout: T.nilable(Google::Protobuf::Duration),
|
|
1359
|
+
user_metadata: T.nilable(Temporalio::Api::Sdk::V1::UserMetadata)
|
|
1360
|
+
).void
|
|
1361
|
+
end
|
|
1362
|
+
def initialize(
|
|
1363
|
+
task_queue: nil,
|
|
1364
|
+
workflow_execution_timeout: nil,
|
|
1365
|
+
workflow_run_timeout: nil,
|
|
1366
|
+
default_workflow_task_timeout: nil,
|
|
1367
|
+
user_metadata: nil
|
|
1368
|
+
)
|
|
1369
|
+
end
|
|
1370
|
+
|
|
1371
|
+
sig { returns(T.nilable(Temporalio::Api::TaskQueue::V1::TaskQueue)) }
|
|
1372
|
+
def task_queue
|
|
1373
|
+
end
|
|
1374
|
+
|
|
1375
|
+
sig { params(value: T.nilable(Temporalio::Api::TaskQueue::V1::TaskQueue)).void }
|
|
1376
|
+
def task_queue=(value)
|
|
1377
|
+
end
|
|
1378
|
+
|
|
1379
|
+
sig { void }
|
|
1380
|
+
def clear_task_queue
|
|
1381
|
+
end
|
|
1382
|
+
|
|
1383
|
+
sig { returns(T.nilable(Google::Protobuf::Duration)) }
|
|
1384
|
+
def workflow_execution_timeout
|
|
1385
|
+
end
|
|
1386
|
+
|
|
1387
|
+
sig { params(value: T.nilable(Google::Protobuf::Duration)).void }
|
|
1388
|
+
def workflow_execution_timeout=(value)
|
|
1389
|
+
end
|
|
1390
|
+
|
|
1391
|
+
sig { void }
|
|
1392
|
+
def clear_workflow_execution_timeout
|
|
1393
|
+
end
|
|
1394
|
+
|
|
1395
|
+
sig { returns(T.nilable(Google::Protobuf::Duration)) }
|
|
1396
|
+
def workflow_run_timeout
|
|
1397
|
+
end
|
|
1398
|
+
|
|
1399
|
+
sig { params(value: T.nilable(Google::Protobuf::Duration)).void }
|
|
1400
|
+
def workflow_run_timeout=(value)
|
|
1401
|
+
end
|
|
1402
|
+
|
|
1403
|
+
sig { void }
|
|
1404
|
+
def clear_workflow_run_timeout
|
|
1405
|
+
end
|
|
1406
|
+
|
|
1407
|
+
sig { returns(T.nilable(Google::Protobuf::Duration)) }
|
|
1408
|
+
def default_workflow_task_timeout
|
|
1409
|
+
end
|
|
1410
|
+
|
|
1411
|
+
sig { params(value: T.nilable(Google::Protobuf::Duration)).void }
|
|
1412
|
+
def default_workflow_task_timeout=(value)
|
|
1413
|
+
end
|
|
1414
|
+
|
|
1415
|
+
sig { void }
|
|
1416
|
+
def clear_default_workflow_task_timeout
|
|
1417
|
+
end
|
|
1418
|
+
|
|
1419
|
+
# User metadata provided on start workflow.
|
|
1420
|
+
sig { returns(T.nilable(Temporalio::Api::Sdk::V1::UserMetadata)) }
|
|
1421
|
+
def user_metadata
|
|
1422
|
+
end
|
|
1423
|
+
|
|
1424
|
+
# User metadata provided on start workflow.
|
|
1425
|
+
sig { params(value: T.nilable(Temporalio::Api::Sdk::V1::UserMetadata)).void }
|
|
1426
|
+
def user_metadata=(value)
|
|
1427
|
+
end
|
|
1428
|
+
|
|
1429
|
+
# User metadata provided on start workflow.
|
|
1430
|
+
sig { void }
|
|
1431
|
+
def clear_user_metadata
|
|
1432
|
+
end
|
|
1433
|
+
|
|
1434
|
+
sig { params(field: String).returns(T.untyped) }
|
|
1435
|
+
def [](field)
|
|
1436
|
+
end
|
|
1437
|
+
|
|
1438
|
+
sig { params(field: String, value: T.untyped).void }
|
|
1439
|
+
def []=(field, value)
|
|
1440
|
+
end
|
|
1441
|
+
|
|
1442
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
1443
|
+
def to_h
|
|
1444
|
+
end
|
|
1445
|
+
|
|
1446
|
+
sig { params(str: String).returns(Temporalio::Api::Workflow::V1::WorkflowExecutionConfig) }
|
|
1447
|
+
def self.decode(str)
|
|
1448
|
+
end
|
|
1449
|
+
|
|
1450
|
+
sig { params(msg: Temporalio::Api::Workflow::V1::WorkflowExecutionConfig).returns(String) }
|
|
1451
|
+
def self.encode(msg)
|
|
1452
|
+
end
|
|
1453
|
+
|
|
1454
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Workflow::V1::WorkflowExecutionConfig) }
|
|
1455
|
+
def self.decode_json(str, **kw)
|
|
1456
|
+
end
|
|
1457
|
+
|
|
1458
|
+
sig { params(msg: Temporalio::Api::Workflow::V1::WorkflowExecutionConfig, kw: T.untyped).returns(String) }
|
|
1459
|
+
def self.encode_json(msg, **kw)
|
|
1460
|
+
end
|
|
1461
|
+
|
|
1462
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
1463
|
+
def self.descriptor
|
|
1464
|
+
end
|
|
1465
|
+
end
|
|
1466
|
+
|
|
1467
|
+
class Temporalio::Api::Workflow::V1::PendingActivityInfo
|
|
1468
|
+
include ::Google::Protobuf::MessageExts
|
|
1469
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1470
|
+
|
|
1471
|
+
sig do
|
|
1472
|
+
params(
|
|
1473
|
+
activity_id: T.nilable(String),
|
|
1474
|
+
activity_type: T.nilable(Temporalio::Api::Common::V1::ActivityType),
|
|
1475
|
+
state: T.nilable(T.any(Symbol, String, Integer)),
|
|
1476
|
+
heartbeat_details: T.nilable(Temporalio::Api::Common::V1::Payloads),
|
|
1477
|
+
last_heartbeat_time: T.nilable(Google::Protobuf::Timestamp),
|
|
1478
|
+
last_started_time: T.nilable(Google::Protobuf::Timestamp),
|
|
1479
|
+
attempt: T.nilable(Integer),
|
|
1480
|
+
maximum_attempts: T.nilable(Integer),
|
|
1481
|
+
scheduled_time: T.nilable(Google::Protobuf::Timestamp),
|
|
1482
|
+
expiration_time: T.nilable(Google::Protobuf::Timestamp),
|
|
1483
|
+
last_failure: T.nilable(Temporalio::Api::Failure::V1::Failure),
|
|
1484
|
+
last_worker_identity: T.nilable(String),
|
|
1485
|
+
use_workflow_build_id: T.nilable(Google::Protobuf::Empty),
|
|
1486
|
+
last_independently_assigned_build_id: T.nilable(String),
|
|
1487
|
+
last_worker_version_stamp: T.nilable(Temporalio::Api::Common::V1::WorkerVersionStamp),
|
|
1488
|
+
current_retry_interval: T.nilable(Google::Protobuf::Duration),
|
|
1489
|
+
last_attempt_complete_time: T.nilable(Google::Protobuf::Timestamp),
|
|
1490
|
+
next_attempt_schedule_time: T.nilable(Google::Protobuf::Timestamp),
|
|
1491
|
+
paused: T.nilable(T::Boolean),
|
|
1492
|
+
last_deployment: T.nilable(Temporalio::Api::Deployment::V1::Deployment),
|
|
1493
|
+
last_worker_deployment_version: T.nilable(String),
|
|
1494
|
+
last_deployment_version: T.nilable(Temporalio::Api::Deployment::V1::WorkerDeploymentVersion),
|
|
1495
|
+
priority: T.nilable(Temporalio::Api::Common::V1::Priority),
|
|
1496
|
+
pause_info: T.nilable(Temporalio::Api::Workflow::V1::PendingActivityInfo::PauseInfo),
|
|
1497
|
+
activity_options: T.nilable(Temporalio::Api::Activity::V1::ActivityOptions)
|
|
1498
|
+
).void
|
|
1499
|
+
end
|
|
1500
|
+
def initialize(
|
|
1501
|
+
activity_id: "",
|
|
1502
|
+
activity_type: nil,
|
|
1503
|
+
state: :PENDING_ACTIVITY_STATE_UNSPECIFIED,
|
|
1504
|
+
heartbeat_details: nil,
|
|
1505
|
+
last_heartbeat_time: nil,
|
|
1506
|
+
last_started_time: nil,
|
|
1507
|
+
attempt: 0,
|
|
1508
|
+
maximum_attempts: 0,
|
|
1509
|
+
scheduled_time: nil,
|
|
1510
|
+
expiration_time: nil,
|
|
1511
|
+
last_failure: nil,
|
|
1512
|
+
last_worker_identity: "",
|
|
1513
|
+
use_workflow_build_id: nil,
|
|
1514
|
+
last_independently_assigned_build_id: "",
|
|
1515
|
+
last_worker_version_stamp: nil,
|
|
1516
|
+
current_retry_interval: nil,
|
|
1517
|
+
last_attempt_complete_time: nil,
|
|
1518
|
+
next_attempt_schedule_time: nil,
|
|
1519
|
+
paused: false,
|
|
1520
|
+
last_deployment: nil,
|
|
1521
|
+
last_worker_deployment_version: "",
|
|
1522
|
+
last_deployment_version: nil,
|
|
1523
|
+
priority: nil,
|
|
1524
|
+
pause_info: nil,
|
|
1525
|
+
activity_options: nil
|
|
1526
|
+
)
|
|
1527
|
+
end
|
|
1528
|
+
|
|
1529
|
+
sig { returns(String) }
|
|
1530
|
+
def activity_id
|
|
1531
|
+
end
|
|
1532
|
+
|
|
1533
|
+
sig { params(value: String).void }
|
|
1534
|
+
def activity_id=(value)
|
|
1535
|
+
end
|
|
1536
|
+
|
|
1537
|
+
sig { void }
|
|
1538
|
+
def clear_activity_id
|
|
1539
|
+
end
|
|
1540
|
+
|
|
1541
|
+
sig { returns(T.nilable(Temporalio::Api::Common::V1::ActivityType)) }
|
|
1542
|
+
def activity_type
|
|
1543
|
+
end
|
|
1544
|
+
|
|
1545
|
+
sig { params(value: T.nilable(Temporalio::Api::Common::V1::ActivityType)).void }
|
|
1546
|
+
def activity_type=(value)
|
|
1547
|
+
end
|
|
1548
|
+
|
|
1549
|
+
sig { void }
|
|
1550
|
+
def clear_activity_type
|
|
1551
|
+
end
|
|
1552
|
+
|
|
1553
|
+
sig { returns(T.any(Symbol, Integer)) }
|
|
1554
|
+
def state
|
|
1555
|
+
end
|
|
1556
|
+
|
|
1557
|
+
sig { params(value: T.any(Symbol, String, Integer)).void }
|
|
1558
|
+
def state=(value)
|
|
1559
|
+
end
|
|
1560
|
+
|
|
1561
|
+
sig { void }
|
|
1562
|
+
def clear_state
|
|
1563
|
+
end
|
|
1564
|
+
|
|
1565
|
+
sig { returns(T.nilable(Temporalio::Api::Common::V1::Payloads)) }
|
|
1566
|
+
def heartbeat_details
|
|
1567
|
+
end
|
|
1568
|
+
|
|
1569
|
+
sig { params(value: T.nilable(Temporalio::Api::Common::V1::Payloads)).void }
|
|
1570
|
+
def heartbeat_details=(value)
|
|
1571
|
+
end
|
|
1572
|
+
|
|
1573
|
+
sig { void }
|
|
1574
|
+
def clear_heartbeat_details
|
|
1575
|
+
end
|
|
1576
|
+
|
|
1577
|
+
sig { returns(T.nilable(Google::Protobuf::Timestamp)) }
|
|
1578
|
+
def last_heartbeat_time
|
|
1579
|
+
end
|
|
1580
|
+
|
|
1581
|
+
sig { params(value: T.nilable(Google::Protobuf::Timestamp)).void }
|
|
1582
|
+
def last_heartbeat_time=(value)
|
|
1583
|
+
end
|
|
1584
|
+
|
|
1585
|
+
sig { void }
|
|
1586
|
+
def clear_last_heartbeat_time
|
|
1587
|
+
end
|
|
1588
|
+
|
|
1589
|
+
sig { returns(T.nilable(Google::Protobuf::Timestamp)) }
|
|
1590
|
+
def last_started_time
|
|
1591
|
+
end
|
|
1592
|
+
|
|
1593
|
+
sig { params(value: T.nilable(Google::Protobuf::Timestamp)).void }
|
|
1594
|
+
def last_started_time=(value)
|
|
1595
|
+
end
|
|
1596
|
+
|
|
1597
|
+
sig { void }
|
|
1598
|
+
def clear_last_started_time
|
|
1599
|
+
end
|
|
1600
|
+
|
|
1601
|
+
sig { returns(Integer) }
|
|
1602
|
+
def attempt
|
|
1603
|
+
end
|
|
1604
|
+
|
|
1605
|
+
sig { params(value: Integer).void }
|
|
1606
|
+
def attempt=(value)
|
|
1607
|
+
end
|
|
1608
|
+
|
|
1609
|
+
sig { void }
|
|
1610
|
+
def clear_attempt
|
|
1611
|
+
end
|
|
1612
|
+
|
|
1613
|
+
sig { returns(Integer) }
|
|
1614
|
+
def maximum_attempts
|
|
1615
|
+
end
|
|
1616
|
+
|
|
1617
|
+
sig { params(value: Integer).void }
|
|
1618
|
+
def maximum_attempts=(value)
|
|
1619
|
+
end
|
|
1620
|
+
|
|
1621
|
+
sig { void }
|
|
1622
|
+
def clear_maximum_attempts
|
|
1623
|
+
end
|
|
1624
|
+
|
|
1625
|
+
sig { returns(T.nilable(Google::Protobuf::Timestamp)) }
|
|
1626
|
+
def scheduled_time
|
|
1627
|
+
end
|
|
1628
|
+
|
|
1629
|
+
sig { params(value: T.nilable(Google::Protobuf::Timestamp)).void }
|
|
1630
|
+
def scheduled_time=(value)
|
|
1631
|
+
end
|
|
1632
|
+
|
|
1633
|
+
sig { void }
|
|
1634
|
+
def clear_scheduled_time
|
|
1635
|
+
end
|
|
1636
|
+
|
|
1637
|
+
sig { returns(T.nilable(Google::Protobuf::Timestamp)) }
|
|
1638
|
+
def expiration_time
|
|
1639
|
+
end
|
|
1640
|
+
|
|
1641
|
+
sig { params(value: T.nilable(Google::Protobuf::Timestamp)).void }
|
|
1642
|
+
def expiration_time=(value)
|
|
1643
|
+
end
|
|
1644
|
+
|
|
1645
|
+
sig { void }
|
|
1646
|
+
def clear_expiration_time
|
|
1647
|
+
end
|
|
1648
|
+
|
|
1649
|
+
sig { returns(T.nilable(Temporalio::Api::Failure::V1::Failure)) }
|
|
1650
|
+
def last_failure
|
|
1651
|
+
end
|
|
1652
|
+
|
|
1653
|
+
sig { params(value: T.nilable(Temporalio::Api::Failure::V1::Failure)).void }
|
|
1654
|
+
def last_failure=(value)
|
|
1655
|
+
end
|
|
1656
|
+
|
|
1657
|
+
sig { void }
|
|
1658
|
+
def clear_last_failure
|
|
1659
|
+
end
|
|
1660
|
+
|
|
1661
|
+
sig { returns(String) }
|
|
1662
|
+
def last_worker_identity
|
|
1663
|
+
end
|
|
1664
|
+
|
|
1665
|
+
sig { params(value: String).void }
|
|
1666
|
+
def last_worker_identity=(value)
|
|
1667
|
+
end
|
|
1668
|
+
|
|
1669
|
+
sig { void }
|
|
1670
|
+
def clear_last_worker_identity
|
|
1671
|
+
end
|
|
1672
|
+
|
|
1673
|
+
# Deprecated. When present, it means this activity is assigned to the build ID of its workflow.
|
|
1674
|
+
sig { returns(T.nilable(Google::Protobuf::Empty)) }
|
|
1675
|
+
def use_workflow_build_id
|
|
1676
|
+
end
|
|
1677
|
+
|
|
1678
|
+
# Deprecated. When present, it means this activity is assigned to the build ID of its workflow.
|
|
1679
|
+
sig { params(value: T.nilable(Google::Protobuf::Empty)).void }
|
|
1680
|
+
def use_workflow_build_id=(value)
|
|
1681
|
+
end
|
|
1682
|
+
|
|
1683
|
+
# Deprecated. When present, it means this activity is assigned to the build ID of its workflow.
|
|
1684
|
+
sig { void }
|
|
1685
|
+
def clear_use_workflow_build_id
|
|
1686
|
+
end
|
|
1687
|
+
|
|
1688
|
+
# Deprecated. This means the activity is independently versioned and not bound to the build ID of its workflow.
|
|
1689
|
+
# The activity will use the build id in this field instead.
|
|
1690
|
+
# If the task fails and is scheduled again, the assigned build ID may change according to the latest versioning
|
|
1691
|
+
# rules.
|
|
1692
|
+
sig { returns(String) }
|
|
1693
|
+
def last_independently_assigned_build_id
|
|
1694
|
+
end
|
|
1695
|
+
|
|
1696
|
+
# Deprecated. This means the activity is independently versioned and not bound to the build ID of its workflow.
|
|
1697
|
+
# The activity will use the build id in this field instead.
|
|
1698
|
+
# If the task fails and is scheduled again, the assigned build ID may change according to the latest versioning
|
|
1699
|
+
# rules.
|
|
1700
|
+
sig { params(value: String).void }
|
|
1701
|
+
def last_independently_assigned_build_id=(value)
|
|
1702
|
+
end
|
|
1703
|
+
|
|
1704
|
+
# Deprecated. This means the activity is independently versioned and not bound to the build ID of its workflow.
|
|
1705
|
+
# The activity will use the build id in this field instead.
|
|
1706
|
+
# If the task fails and is scheduled again, the assigned build ID may change according to the latest versioning
|
|
1707
|
+
# rules.
|
|
1708
|
+
sig { void }
|
|
1709
|
+
def clear_last_independently_assigned_build_id
|
|
1710
|
+
end
|
|
1711
|
+
|
|
1712
|
+
# Deprecated. The version stamp of the worker to whom this activity was most recently dispatched
|
|
1713
|
+
# This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
|
|
1714
|
+
sig { returns(T.nilable(Temporalio::Api::Common::V1::WorkerVersionStamp)) }
|
|
1715
|
+
def last_worker_version_stamp
|
|
1716
|
+
end
|
|
1717
|
+
|
|
1718
|
+
# Deprecated. The version stamp of the worker to whom this activity was most recently dispatched
|
|
1719
|
+
# This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
|
|
1720
|
+
sig { params(value: T.nilable(Temporalio::Api::Common::V1::WorkerVersionStamp)).void }
|
|
1721
|
+
def last_worker_version_stamp=(value)
|
|
1722
|
+
end
|
|
1723
|
+
|
|
1724
|
+
# Deprecated. The version stamp of the worker to whom this activity was most recently dispatched
|
|
1725
|
+
# This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
|
|
1726
|
+
sig { void }
|
|
1727
|
+
def clear_last_worker_version_stamp
|
|
1728
|
+
end
|
|
1729
|
+
|
|
1730
|
+
# The time activity will wait until the next retry.
|
|
1731
|
+
# If activity is currently running it will be next retry interval if activity failed.
|
|
1732
|
+
# If activity is currently waiting it will be current retry interval.
|
|
1733
|
+
# If there will be no retry it will be null.
|
|
1734
|
+
sig { returns(T.nilable(Google::Protobuf::Duration)) }
|
|
1735
|
+
def current_retry_interval
|
|
1736
|
+
end
|
|
1737
|
+
|
|
1738
|
+
# The time activity will wait until the next retry.
|
|
1739
|
+
# If activity is currently running it will be next retry interval if activity failed.
|
|
1740
|
+
# If activity is currently waiting it will be current retry interval.
|
|
1741
|
+
# If there will be no retry it will be null.
|
|
1742
|
+
sig { params(value: T.nilable(Google::Protobuf::Duration)).void }
|
|
1743
|
+
def current_retry_interval=(value)
|
|
1744
|
+
end
|
|
1745
|
+
|
|
1746
|
+
# The time activity will wait until the next retry.
|
|
1747
|
+
# If activity is currently running it will be next retry interval if activity failed.
|
|
1748
|
+
# If activity is currently waiting it will be current retry interval.
|
|
1749
|
+
# If there will be no retry it will be null.
|
|
1750
|
+
sig { void }
|
|
1751
|
+
def clear_current_retry_interval
|
|
1752
|
+
end
|
|
1753
|
+
|
|
1754
|
+
# The time when the last activity attempt was completed. If activity has not been completed yet then it will be null.
|
|
1755
|
+
sig { returns(T.nilable(Google::Protobuf::Timestamp)) }
|
|
1756
|
+
def last_attempt_complete_time
|
|
1757
|
+
end
|
|
1758
|
+
|
|
1759
|
+
# The time when the last activity attempt was completed. If activity has not been completed yet then it will be null.
|
|
1760
|
+
sig { params(value: T.nilable(Google::Protobuf::Timestamp)).void }
|
|
1761
|
+
def last_attempt_complete_time=(value)
|
|
1762
|
+
end
|
|
1763
|
+
|
|
1764
|
+
# The time when the last activity attempt was completed. If activity has not been completed yet then it will be null.
|
|
1765
|
+
sig { void }
|
|
1766
|
+
def clear_last_attempt_complete_time
|
|
1767
|
+
end
|
|
1768
|
+
|
|
1769
|
+
# Next time when activity will be scheduled.
|
|
1770
|
+
# If activity is currently scheduled or started it will be null.
|
|
1771
|
+
sig { returns(T.nilable(Google::Protobuf::Timestamp)) }
|
|
1772
|
+
def next_attempt_schedule_time
|
|
1773
|
+
end
|
|
1774
|
+
|
|
1775
|
+
# Next time when activity will be scheduled.
|
|
1776
|
+
# If activity is currently scheduled or started it will be null.
|
|
1777
|
+
sig { params(value: T.nilable(Google::Protobuf::Timestamp)).void }
|
|
1778
|
+
def next_attempt_schedule_time=(value)
|
|
1779
|
+
end
|
|
1780
|
+
|
|
1781
|
+
# Next time when activity will be scheduled.
|
|
1782
|
+
# If activity is currently scheduled or started it will be null.
|
|
1783
|
+
sig { void }
|
|
1784
|
+
def clear_next_attempt_schedule_time
|
|
1785
|
+
end
|
|
1786
|
+
|
|
1787
|
+
# Indicates if activity is paused.
|
|
1788
|
+
sig { returns(T::Boolean) }
|
|
1789
|
+
def paused
|
|
1790
|
+
end
|
|
1791
|
+
|
|
1792
|
+
# Indicates if activity is paused.
|
|
1793
|
+
sig { params(value: T::Boolean).void }
|
|
1794
|
+
def paused=(value)
|
|
1795
|
+
end
|
|
1796
|
+
|
|
1797
|
+
# Indicates if activity is paused.
|
|
1798
|
+
sig { void }
|
|
1799
|
+
def clear_paused
|
|
1800
|
+
end
|
|
1801
|
+
|
|
1802
|
+
# The deployment this activity was dispatched to most recently. Present only if the activity
|
|
1803
|
+
# was dispatched to a versioned worker.
|
|
1804
|
+
# Deprecated. Use `last_deployment_version`.
|
|
1805
|
+
sig { returns(T.nilable(Temporalio::Api::Deployment::V1::Deployment)) }
|
|
1806
|
+
def last_deployment
|
|
1807
|
+
end
|
|
1808
|
+
|
|
1809
|
+
# The deployment this activity was dispatched to most recently. Present only if the activity
|
|
1810
|
+
# was dispatched to a versioned worker.
|
|
1811
|
+
# Deprecated. Use `last_deployment_version`.
|
|
1812
|
+
sig { params(value: T.nilable(Temporalio::Api::Deployment::V1::Deployment)).void }
|
|
1813
|
+
def last_deployment=(value)
|
|
1814
|
+
end
|
|
1815
|
+
|
|
1816
|
+
# The deployment this activity was dispatched to most recently. Present only if the activity
|
|
1817
|
+
# was dispatched to a versioned worker.
|
|
1818
|
+
# Deprecated. Use `last_deployment_version`.
|
|
1819
|
+
sig { void }
|
|
1820
|
+
def clear_last_deployment
|
|
1821
|
+
end
|
|
1822
|
+
|
|
1823
|
+
# The Worker Deployment Version this activity was dispatched to most recently.
|
|
1824
|
+
# Deprecated. Use `last_deployment_version`.
|
|
1825
|
+
sig { returns(String) }
|
|
1826
|
+
def last_worker_deployment_version
|
|
1827
|
+
end
|
|
1828
|
+
|
|
1829
|
+
# The Worker Deployment Version this activity was dispatched to most recently.
|
|
1830
|
+
# Deprecated. Use `last_deployment_version`.
|
|
1831
|
+
sig { params(value: String).void }
|
|
1832
|
+
def last_worker_deployment_version=(value)
|
|
1833
|
+
end
|
|
1834
|
+
|
|
1835
|
+
# The Worker Deployment Version this activity was dispatched to most recently.
|
|
1836
|
+
# Deprecated. Use `last_deployment_version`.
|
|
1837
|
+
sig { void }
|
|
1838
|
+
def clear_last_worker_deployment_version
|
|
1839
|
+
end
|
|
1840
|
+
|
|
1841
|
+
# The Worker Deployment Version this activity was dispatched to most recently.
|
|
1842
|
+
# If nil, the activity has not yet been dispatched or was last dispatched to an unversioned worker.
|
|
1843
|
+
sig { returns(T.nilable(Temporalio::Api::Deployment::V1::WorkerDeploymentVersion)) }
|
|
1844
|
+
def last_deployment_version
|
|
1845
|
+
end
|
|
1846
|
+
|
|
1847
|
+
# The Worker Deployment Version this activity was dispatched to most recently.
|
|
1848
|
+
# If nil, the activity has not yet been dispatched or was last dispatched to an unversioned worker.
|
|
1849
|
+
sig { params(value: T.nilable(Temporalio::Api::Deployment::V1::WorkerDeploymentVersion)).void }
|
|
1850
|
+
def last_deployment_version=(value)
|
|
1851
|
+
end
|
|
1852
|
+
|
|
1853
|
+
# The Worker Deployment Version this activity was dispatched to most recently.
|
|
1854
|
+
# If nil, the activity has not yet been dispatched or was last dispatched to an unversioned worker.
|
|
1855
|
+
sig { void }
|
|
1856
|
+
def clear_last_deployment_version
|
|
1857
|
+
end
|
|
1858
|
+
|
|
1859
|
+
# Priority metadata. If this message is not present, or any fields are not
|
|
1860
|
+
# present, they inherit the values from the workflow.
|
|
1861
|
+
sig { returns(T.nilable(Temporalio::Api::Common::V1::Priority)) }
|
|
1862
|
+
def priority
|
|
1863
|
+
end
|
|
1864
|
+
|
|
1865
|
+
# Priority metadata. If this message is not present, or any fields are not
|
|
1866
|
+
# present, they inherit the values from the workflow.
|
|
1867
|
+
sig { params(value: T.nilable(Temporalio::Api::Common::V1::Priority)).void }
|
|
1868
|
+
def priority=(value)
|
|
1869
|
+
end
|
|
1870
|
+
|
|
1871
|
+
# Priority metadata. If this message is not present, or any fields are not
|
|
1872
|
+
# present, they inherit the values from the workflow.
|
|
1873
|
+
sig { void }
|
|
1874
|
+
def clear_priority
|
|
1875
|
+
end
|
|
1876
|
+
|
|
1877
|
+
sig { returns(T.nilable(Temporalio::Api::Workflow::V1::PendingActivityInfo::PauseInfo)) }
|
|
1878
|
+
def pause_info
|
|
1879
|
+
end
|
|
1880
|
+
|
|
1881
|
+
sig { params(value: T.nilable(Temporalio::Api::Workflow::V1::PendingActivityInfo::PauseInfo)).void }
|
|
1882
|
+
def pause_info=(value)
|
|
1883
|
+
end
|
|
1884
|
+
|
|
1885
|
+
sig { void }
|
|
1886
|
+
def clear_pause_info
|
|
1887
|
+
end
|
|
1888
|
+
|
|
1889
|
+
# Current activity options. May be different from the one used to start the activity.
|
|
1890
|
+
sig { returns(T.nilable(Temporalio::Api::Activity::V1::ActivityOptions)) }
|
|
1891
|
+
def activity_options
|
|
1892
|
+
end
|
|
1893
|
+
|
|
1894
|
+
# Current activity options. May be different from the one used to start the activity.
|
|
1895
|
+
sig { params(value: T.nilable(Temporalio::Api::Activity::V1::ActivityOptions)).void }
|
|
1896
|
+
def activity_options=(value)
|
|
1897
|
+
end
|
|
1898
|
+
|
|
1899
|
+
# Current activity options. May be different from the one used to start the activity.
|
|
1900
|
+
sig { void }
|
|
1901
|
+
def clear_activity_options
|
|
1902
|
+
end
|
|
1903
|
+
|
|
1904
|
+
sig { returns(T.nilable(Symbol)) }
|
|
1905
|
+
def assigned_build_id
|
|
1906
|
+
end
|
|
1907
|
+
|
|
1908
|
+
sig { params(field: String).returns(T.untyped) }
|
|
1909
|
+
def [](field)
|
|
1910
|
+
end
|
|
1911
|
+
|
|
1912
|
+
sig { params(field: String, value: T.untyped).void }
|
|
1913
|
+
def []=(field, value)
|
|
1914
|
+
end
|
|
1915
|
+
|
|
1916
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
1917
|
+
def to_h
|
|
1918
|
+
end
|
|
1919
|
+
|
|
1920
|
+
sig { params(str: String).returns(Temporalio::Api::Workflow::V1::PendingActivityInfo) }
|
|
1921
|
+
def self.decode(str)
|
|
1922
|
+
end
|
|
1923
|
+
|
|
1924
|
+
sig { params(msg: Temporalio::Api::Workflow::V1::PendingActivityInfo).returns(String) }
|
|
1925
|
+
def self.encode(msg)
|
|
1926
|
+
end
|
|
1927
|
+
|
|
1928
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Workflow::V1::PendingActivityInfo) }
|
|
1929
|
+
def self.decode_json(str, **kw)
|
|
1930
|
+
end
|
|
1931
|
+
|
|
1932
|
+
sig { params(msg: Temporalio::Api::Workflow::V1::PendingActivityInfo, kw: T.untyped).returns(String) }
|
|
1933
|
+
def self.encode_json(msg, **kw)
|
|
1934
|
+
end
|
|
1935
|
+
|
|
1936
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
1937
|
+
def self.descriptor
|
|
1938
|
+
end
|
|
1939
|
+
end
|
|
1940
|
+
|
|
1941
|
+
class Temporalio::Api::Workflow::V1::PendingChildExecutionInfo
|
|
1942
|
+
include ::Google::Protobuf::MessageExts
|
|
1943
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1944
|
+
|
|
1945
|
+
sig do
|
|
1946
|
+
params(
|
|
1947
|
+
workflow_id: T.nilable(String),
|
|
1948
|
+
run_id: T.nilable(String),
|
|
1949
|
+
workflow_type_name: T.nilable(String),
|
|
1950
|
+
initiated_id: T.nilable(Integer),
|
|
1951
|
+
parent_close_policy: T.nilable(T.any(Symbol, String, Integer))
|
|
1952
|
+
).void
|
|
1953
|
+
end
|
|
1954
|
+
def initialize(
|
|
1955
|
+
workflow_id: "",
|
|
1956
|
+
run_id: "",
|
|
1957
|
+
workflow_type_name: "",
|
|
1958
|
+
initiated_id: 0,
|
|
1959
|
+
parent_close_policy: :PARENT_CLOSE_POLICY_UNSPECIFIED
|
|
1960
|
+
)
|
|
1961
|
+
end
|
|
1962
|
+
|
|
1963
|
+
sig { returns(String) }
|
|
1964
|
+
def workflow_id
|
|
1965
|
+
end
|
|
1966
|
+
|
|
1967
|
+
sig { params(value: String).void }
|
|
1968
|
+
def workflow_id=(value)
|
|
1969
|
+
end
|
|
1970
|
+
|
|
1971
|
+
sig { void }
|
|
1972
|
+
def clear_workflow_id
|
|
1973
|
+
end
|
|
1974
|
+
|
|
1975
|
+
sig { returns(String) }
|
|
1976
|
+
def run_id
|
|
1977
|
+
end
|
|
1978
|
+
|
|
1979
|
+
sig { params(value: String).void }
|
|
1980
|
+
def run_id=(value)
|
|
1981
|
+
end
|
|
1982
|
+
|
|
1983
|
+
sig { void }
|
|
1984
|
+
def clear_run_id
|
|
1985
|
+
end
|
|
1986
|
+
|
|
1987
|
+
sig { returns(String) }
|
|
1988
|
+
def workflow_type_name
|
|
1989
|
+
end
|
|
1990
|
+
|
|
1991
|
+
sig { params(value: String).void }
|
|
1992
|
+
def workflow_type_name=(value)
|
|
1993
|
+
end
|
|
1994
|
+
|
|
1995
|
+
sig { void }
|
|
1996
|
+
def clear_workflow_type_name
|
|
1997
|
+
end
|
|
1998
|
+
|
|
1999
|
+
sig { returns(Integer) }
|
|
2000
|
+
def initiated_id
|
|
2001
|
+
end
|
|
2002
|
+
|
|
2003
|
+
sig { params(value: Integer).void }
|
|
2004
|
+
def initiated_id=(value)
|
|
2005
|
+
end
|
|
2006
|
+
|
|
2007
|
+
sig { void }
|
|
2008
|
+
def clear_initiated_id
|
|
2009
|
+
end
|
|
2010
|
+
|
|
2011
|
+
# Default: PARENT_CLOSE_POLICY_TERMINATE.
|
|
2012
|
+
sig { returns(T.any(Symbol, Integer)) }
|
|
2013
|
+
def parent_close_policy
|
|
2014
|
+
end
|
|
2015
|
+
|
|
2016
|
+
# Default: PARENT_CLOSE_POLICY_TERMINATE.
|
|
2017
|
+
sig { params(value: T.any(Symbol, String, Integer)).void }
|
|
2018
|
+
def parent_close_policy=(value)
|
|
2019
|
+
end
|
|
2020
|
+
|
|
2021
|
+
# Default: PARENT_CLOSE_POLICY_TERMINATE.
|
|
2022
|
+
sig { void }
|
|
2023
|
+
def clear_parent_close_policy
|
|
2024
|
+
end
|
|
2025
|
+
|
|
2026
|
+
sig { params(field: String).returns(T.untyped) }
|
|
2027
|
+
def [](field)
|
|
2028
|
+
end
|
|
2029
|
+
|
|
2030
|
+
sig { params(field: String, value: T.untyped).void }
|
|
2031
|
+
def []=(field, value)
|
|
2032
|
+
end
|
|
2033
|
+
|
|
2034
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
2035
|
+
def to_h
|
|
2036
|
+
end
|
|
2037
|
+
|
|
2038
|
+
sig { params(str: String).returns(Temporalio::Api::Workflow::V1::PendingChildExecutionInfo) }
|
|
2039
|
+
def self.decode(str)
|
|
2040
|
+
end
|
|
2041
|
+
|
|
2042
|
+
sig { params(msg: Temporalio::Api::Workflow::V1::PendingChildExecutionInfo).returns(String) }
|
|
2043
|
+
def self.encode(msg)
|
|
2044
|
+
end
|
|
2045
|
+
|
|
2046
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Workflow::V1::PendingChildExecutionInfo) }
|
|
2047
|
+
def self.decode_json(str, **kw)
|
|
2048
|
+
end
|
|
2049
|
+
|
|
2050
|
+
sig { params(msg: Temporalio::Api::Workflow::V1::PendingChildExecutionInfo, kw: T.untyped).returns(String) }
|
|
2051
|
+
def self.encode_json(msg, **kw)
|
|
2052
|
+
end
|
|
2053
|
+
|
|
2054
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
2055
|
+
def self.descriptor
|
|
2056
|
+
end
|
|
2057
|
+
end
|
|
2058
|
+
|
|
2059
|
+
class Temporalio::Api::Workflow::V1::PendingWorkflowTaskInfo
|
|
2060
|
+
include ::Google::Protobuf::MessageExts
|
|
2061
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
2062
|
+
|
|
2063
|
+
sig do
|
|
2064
|
+
params(
|
|
2065
|
+
state: T.nilable(T.any(Symbol, String, Integer)),
|
|
2066
|
+
scheduled_time: T.nilable(Google::Protobuf::Timestamp),
|
|
2067
|
+
original_scheduled_time: T.nilable(Google::Protobuf::Timestamp),
|
|
2068
|
+
started_time: T.nilable(Google::Protobuf::Timestamp),
|
|
2069
|
+
attempt: T.nilable(Integer)
|
|
2070
|
+
).void
|
|
2071
|
+
end
|
|
2072
|
+
def initialize(
|
|
2073
|
+
state: :PENDING_WORKFLOW_TASK_STATE_UNSPECIFIED,
|
|
2074
|
+
scheduled_time: nil,
|
|
2075
|
+
original_scheduled_time: nil,
|
|
2076
|
+
started_time: nil,
|
|
2077
|
+
attempt: 0
|
|
2078
|
+
)
|
|
2079
|
+
end
|
|
2080
|
+
|
|
2081
|
+
sig { returns(T.any(Symbol, Integer)) }
|
|
2082
|
+
def state
|
|
2083
|
+
end
|
|
2084
|
+
|
|
2085
|
+
sig { params(value: T.any(Symbol, String, Integer)).void }
|
|
2086
|
+
def state=(value)
|
|
2087
|
+
end
|
|
2088
|
+
|
|
2089
|
+
sig { void }
|
|
2090
|
+
def clear_state
|
|
2091
|
+
end
|
|
2092
|
+
|
|
2093
|
+
sig { returns(T.nilable(Google::Protobuf::Timestamp)) }
|
|
2094
|
+
def scheduled_time
|
|
2095
|
+
end
|
|
2096
|
+
|
|
2097
|
+
sig { params(value: T.nilable(Google::Protobuf::Timestamp)).void }
|
|
2098
|
+
def scheduled_time=(value)
|
|
2099
|
+
end
|
|
2100
|
+
|
|
2101
|
+
sig { void }
|
|
2102
|
+
def clear_scheduled_time
|
|
2103
|
+
end
|
|
2104
|
+
|
|
2105
|
+
# original_scheduled_time is the scheduled time of the first workflow task during workflow task heartbeat.
|
|
2106
|
+
# Heartbeat workflow task is done by RespondWorkflowTaskComplete with ForceCreateNewWorkflowTask == true and no command
|
|
2107
|
+
# In this case, OriginalScheduledTime won't change. Then when current time - original_scheduled_time exceeds
|
|
2108
|
+
# some threshold, the workflow task will be forced timeout.
|
|
2109
|
+
sig { returns(T.nilable(Google::Protobuf::Timestamp)) }
|
|
2110
|
+
def original_scheduled_time
|
|
2111
|
+
end
|
|
2112
|
+
|
|
2113
|
+
# original_scheduled_time is the scheduled time of the first workflow task during workflow task heartbeat.
|
|
2114
|
+
# Heartbeat workflow task is done by RespondWorkflowTaskComplete with ForceCreateNewWorkflowTask == true and no command
|
|
2115
|
+
# In this case, OriginalScheduledTime won't change. Then when current time - original_scheduled_time exceeds
|
|
2116
|
+
# some threshold, the workflow task will be forced timeout.
|
|
2117
|
+
sig { params(value: T.nilable(Google::Protobuf::Timestamp)).void }
|
|
2118
|
+
def original_scheduled_time=(value)
|
|
2119
|
+
end
|
|
2120
|
+
|
|
2121
|
+
# original_scheduled_time is the scheduled time of the first workflow task during workflow task heartbeat.
|
|
2122
|
+
# Heartbeat workflow task is done by RespondWorkflowTaskComplete with ForceCreateNewWorkflowTask == true and no command
|
|
2123
|
+
# In this case, OriginalScheduledTime won't change. Then when current time - original_scheduled_time exceeds
|
|
2124
|
+
# some threshold, the workflow task will be forced timeout.
|
|
2125
|
+
sig { void }
|
|
2126
|
+
def clear_original_scheduled_time
|
|
2127
|
+
end
|
|
2128
|
+
|
|
2129
|
+
sig { returns(T.nilable(Google::Protobuf::Timestamp)) }
|
|
2130
|
+
def started_time
|
|
2131
|
+
end
|
|
2132
|
+
|
|
2133
|
+
sig { params(value: T.nilable(Google::Protobuf::Timestamp)).void }
|
|
2134
|
+
def started_time=(value)
|
|
2135
|
+
end
|
|
2136
|
+
|
|
2137
|
+
sig { void }
|
|
2138
|
+
def clear_started_time
|
|
2139
|
+
end
|
|
2140
|
+
|
|
2141
|
+
sig { returns(Integer) }
|
|
2142
|
+
def attempt
|
|
2143
|
+
end
|
|
2144
|
+
|
|
2145
|
+
sig { params(value: Integer).void }
|
|
2146
|
+
def attempt=(value)
|
|
2147
|
+
end
|
|
2148
|
+
|
|
2149
|
+
sig { void }
|
|
2150
|
+
def clear_attempt
|
|
2151
|
+
end
|
|
2152
|
+
|
|
2153
|
+
sig { params(field: String).returns(T.untyped) }
|
|
2154
|
+
def [](field)
|
|
2155
|
+
end
|
|
2156
|
+
|
|
2157
|
+
sig { params(field: String, value: T.untyped).void }
|
|
2158
|
+
def []=(field, value)
|
|
2159
|
+
end
|
|
2160
|
+
|
|
2161
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
2162
|
+
def to_h
|
|
2163
|
+
end
|
|
2164
|
+
|
|
2165
|
+
sig { params(str: String).returns(Temporalio::Api::Workflow::V1::PendingWorkflowTaskInfo) }
|
|
2166
|
+
def self.decode(str)
|
|
2167
|
+
end
|
|
2168
|
+
|
|
2169
|
+
sig { params(msg: Temporalio::Api::Workflow::V1::PendingWorkflowTaskInfo).returns(String) }
|
|
2170
|
+
def self.encode(msg)
|
|
2171
|
+
end
|
|
2172
|
+
|
|
2173
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Workflow::V1::PendingWorkflowTaskInfo) }
|
|
2174
|
+
def self.decode_json(str, **kw)
|
|
2175
|
+
end
|
|
2176
|
+
|
|
2177
|
+
sig { params(msg: Temporalio::Api::Workflow::V1::PendingWorkflowTaskInfo, kw: T.untyped).returns(String) }
|
|
2178
|
+
def self.encode_json(msg, **kw)
|
|
2179
|
+
end
|
|
2180
|
+
|
|
2181
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
2182
|
+
def self.descriptor
|
|
2183
|
+
end
|
|
2184
|
+
end
|
|
2185
|
+
|
|
2186
|
+
class Temporalio::Api::Workflow::V1::ResetPoints
|
|
2187
|
+
include ::Google::Protobuf::MessageExts
|
|
2188
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
2189
|
+
|
|
2190
|
+
sig do
|
|
2191
|
+
params(
|
|
2192
|
+
points: T.nilable(T::Array[T.nilable(Temporalio::Api::Workflow::V1::ResetPointInfo)])
|
|
2193
|
+
).void
|
|
2194
|
+
end
|
|
2195
|
+
def initialize(
|
|
2196
|
+
points: []
|
|
2197
|
+
)
|
|
2198
|
+
end
|
|
2199
|
+
|
|
2200
|
+
sig { returns(T::Array[T.nilable(Temporalio::Api::Workflow::V1::ResetPointInfo)]) }
|
|
2201
|
+
def points
|
|
2202
|
+
end
|
|
2203
|
+
|
|
2204
|
+
sig { params(value: ::Google::Protobuf::RepeatedField).void }
|
|
2205
|
+
def points=(value)
|
|
2206
|
+
end
|
|
2207
|
+
|
|
2208
|
+
sig { void }
|
|
2209
|
+
def clear_points
|
|
2210
|
+
end
|
|
2211
|
+
|
|
2212
|
+
sig { params(field: String).returns(T.untyped) }
|
|
2213
|
+
def [](field)
|
|
2214
|
+
end
|
|
2215
|
+
|
|
2216
|
+
sig { params(field: String, value: T.untyped).void }
|
|
2217
|
+
def []=(field, value)
|
|
2218
|
+
end
|
|
2219
|
+
|
|
2220
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
2221
|
+
def to_h
|
|
2222
|
+
end
|
|
2223
|
+
|
|
2224
|
+
sig { params(str: String).returns(Temporalio::Api::Workflow::V1::ResetPoints) }
|
|
2225
|
+
def self.decode(str)
|
|
2226
|
+
end
|
|
2227
|
+
|
|
2228
|
+
sig { params(msg: Temporalio::Api::Workflow::V1::ResetPoints).returns(String) }
|
|
2229
|
+
def self.encode(msg)
|
|
2230
|
+
end
|
|
2231
|
+
|
|
2232
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Workflow::V1::ResetPoints) }
|
|
2233
|
+
def self.decode_json(str, **kw)
|
|
2234
|
+
end
|
|
2235
|
+
|
|
2236
|
+
sig { params(msg: Temporalio::Api::Workflow::V1::ResetPoints, kw: T.untyped).returns(String) }
|
|
2237
|
+
def self.encode_json(msg, **kw)
|
|
2238
|
+
end
|
|
2239
|
+
|
|
2240
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
2241
|
+
def self.descriptor
|
|
2242
|
+
end
|
|
2243
|
+
end
|
|
2244
|
+
|
|
2245
|
+
# ResetPointInfo records the workflow event id that is the first one processed by a given
|
|
2246
|
+
# build id or binary checksum. A new reset point will be created if either build id or binary
|
|
2247
|
+
# checksum changes (although in general only one or the other will be used at a time).
|
|
2248
|
+
class Temporalio::Api::Workflow::V1::ResetPointInfo
|
|
2249
|
+
include ::Google::Protobuf::MessageExts
|
|
2250
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
2251
|
+
|
|
2252
|
+
sig do
|
|
2253
|
+
params(
|
|
2254
|
+
build_id: T.nilable(String),
|
|
2255
|
+
binary_checksum: T.nilable(String),
|
|
2256
|
+
run_id: T.nilable(String),
|
|
2257
|
+
first_workflow_task_completed_id: T.nilable(Integer),
|
|
2258
|
+
create_time: T.nilable(Google::Protobuf::Timestamp),
|
|
2259
|
+
expire_time: T.nilable(Google::Protobuf::Timestamp),
|
|
2260
|
+
resettable: T.nilable(T::Boolean)
|
|
2261
|
+
).void
|
|
2262
|
+
end
|
|
2263
|
+
def initialize(
|
|
2264
|
+
build_id: "",
|
|
2265
|
+
binary_checksum: "",
|
|
2266
|
+
run_id: "",
|
|
2267
|
+
first_workflow_task_completed_id: 0,
|
|
2268
|
+
create_time: nil,
|
|
2269
|
+
expire_time: nil,
|
|
2270
|
+
resettable: false
|
|
2271
|
+
)
|
|
2272
|
+
end
|
|
2273
|
+
|
|
2274
|
+
# Worker build id.
|
|
2275
|
+
sig { returns(String) }
|
|
2276
|
+
def build_id
|
|
2277
|
+
end
|
|
2278
|
+
|
|
2279
|
+
# Worker build id.
|
|
2280
|
+
sig { params(value: String).void }
|
|
2281
|
+
def build_id=(value)
|
|
2282
|
+
end
|
|
2283
|
+
|
|
2284
|
+
# Worker build id.
|
|
2285
|
+
sig { void }
|
|
2286
|
+
def clear_build_id
|
|
2287
|
+
end
|
|
2288
|
+
|
|
2289
|
+
# Deprecated. A worker binary version identifier.
|
|
2290
|
+
sig { returns(String) }
|
|
2291
|
+
def binary_checksum
|
|
2292
|
+
end
|
|
2293
|
+
|
|
2294
|
+
# Deprecated. A worker binary version identifier.
|
|
2295
|
+
sig { params(value: String).void }
|
|
2296
|
+
def binary_checksum=(value)
|
|
2297
|
+
end
|
|
2298
|
+
|
|
2299
|
+
# Deprecated. A worker binary version identifier.
|
|
2300
|
+
sig { void }
|
|
2301
|
+
def clear_binary_checksum
|
|
2302
|
+
end
|
|
2303
|
+
|
|
2304
|
+
# The first run ID in the execution chain that was touched by this worker build.
|
|
2305
|
+
sig { returns(String) }
|
|
2306
|
+
def run_id
|
|
2307
|
+
end
|
|
2308
|
+
|
|
2309
|
+
# The first run ID in the execution chain that was touched by this worker build.
|
|
2310
|
+
sig { params(value: String).void }
|
|
2311
|
+
def run_id=(value)
|
|
2312
|
+
end
|
|
2313
|
+
|
|
2314
|
+
# The first run ID in the execution chain that was touched by this worker build.
|
|
2315
|
+
sig { void }
|
|
2316
|
+
def clear_run_id
|
|
2317
|
+
end
|
|
2318
|
+
|
|
2319
|
+
# Event ID of the first WorkflowTaskCompleted event processed by this worker build.
|
|
2320
|
+
sig { returns(Integer) }
|
|
2321
|
+
def first_workflow_task_completed_id
|
|
2322
|
+
end
|
|
2323
|
+
|
|
2324
|
+
# Event ID of the first WorkflowTaskCompleted event processed by this worker build.
|
|
2325
|
+
sig { params(value: Integer).void }
|
|
2326
|
+
def first_workflow_task_completed_id=(value)
|
|
2327
|
+
end
|
|
2328
|
+
|
|
2329
|
+
# Event ID of the first WorkflowTaskCompleted event processed by this worker build.
|
|
2330
|
+
sig { void }
|
|
2331
|
+
def clear_first_workflow_task_completed_id
|
|
2332
|
+
end
|
|
2333
|
+
|
|
2334
|
+
sig { returns(T.nilable(Google::Protobuf::Timestamp)) }
|
|
2335
|
+
def create_time
|
|
2336
|
+
end
|
|
2337
|
+
|
|
2338
|
+
sig { params(value: T.nilable(Google::Protobuf::Timestamp)).void }
|
|
2339
|
+
def create_time=(value)
|
|
2340
|
+
end
|
|
2341
|
+
|
|
2342
|
+
sig { void }
|
|
2343
|
+
def clear_create_time
|
|
2344
|
+
end
|
|
2345
|
+
|
|
2346
|
+
# (-- api-linter: core::0214::resource-expiry=disabled
|
|
2347
|
+
# aip.dev/not-precedent: TTL is not defined for ResetPointInfo. --)
|
|
2348
|
+
# The time that the run is deleted due to retention.
|
|
2349
|
+
sig { returns(T.nilable(Google::Protobuf::Timestamp)) }
|
|
2350
|
+
def expire_time
|
|
2351
|
+
end
|
|
2352
|
+
|
|
2353
|
+
# (-- api-linter: core::0214::resource-expiry=disabled
|
|
2354
|
+
# aip.dev/not-precedent: TTL is not defined for ResetPointInfo. --)
|
|
2355
|
+
# The time that the run is deleted due to retention.
|
|
2356
|
+
sig { params(value: T.nilable(Google::Protobuf::Timestamp)).void }
|
|
2357
|
+
def expire_time=(value)
|
|
2358
|
+
end
|
|
2359
|
+
|
|
2360
|
+
# (-- api-linter: core::0214::resource-expiry=disabled
|
|
2361
|
+
# aip.dev/not-precedent: TTL is not defined for ResetPointInfo. --)
|
|
2362
|
+
# The time that the run is deleted due to retention.
|
|
2363
|
+
sig { void }
|
|
2364
|
+
def clear_expire_time
|
|
2365
|
+
end
|
|
2366
|
+
|
|
2367
|
+
# false if the reset point has pending childWFs/reqCancels/signalExternals.
|
|
2368
|
+
sig { returns(T::Boolean) }
|
|
2369
|
+
def resettable
|
|
2370
|
+
end
|
|
2371
|
+
|
|
2372
|
+
# false if the reset point has pending childWFs/reqCancels/signalExternals.
|
|
2373
|
+
sig { params(value: T::Boolean).void }
|
|
2374
|
+
def resettable=(value)
|
|
2375
|
+
end
|
|
2376
|
+
|
|
2377
|
+
# false if the reset point has pending childWFs/reqCancels/signalExternals.
|
|
2378
|
+
sig { void }
|
|
2379
|
+
def clear_resettable
|
|
2380
|
+
end
|
|
2381
|
+
|
|
2382
|
+
sig { params(field: String).returns(T.untyped) }
|
|
2383
|
+
def [](field)
|
|
2384
|
+
end
|
|
2385
|
+
|
|
2386
|
+
sig { params(field: String, value: T.untyped).void }
|
|
2387
|
+
def []=(field, value)
|
|
2388
|
+
end
|
|
2389
|
+
|
|
2390
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
2391
|
+
def to_h
|
|
2392
|
+
end
|
|
2393
|
+
|
|
2394
|
+
sig { params(str: String).returns(Temporalio::Api::Workflow::V1::ResetPointInfo) }
|
|
2395
|
+
def self.decode(str)
|
|
2396
|
+
end
|
|
2397
|
+
|
|
2398
|
+
sig { params(msg: Temporalio::Api::Workflow::V1::ResetPointInfo).returns(String) }
|
|
2399
|
+
def self.encode(msg)
|
|
2400
|
+
end
|
|
2401
|
+
|
|
2402
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Workflow::V1::ResetPointInfo) }
|
|
2403
|
+
def self.decode_json(str, **kw)
|
|
2404
|
+
end
|
|
2405
|
+
|
|
2406
|
+
sig { params(msg: Temporalio::Api::Workflow::V1::ResetPointInfo, kw: T.untyped).returns(String) }
|
|
2407
|
+
def self.encode_json(msg, **kw)
|
|
2408
|
+
end
|
|
2409
|
+
|
|
2410
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
2411
|
+
def self.descriptor
|
|
2412
|
+
end
|
|
2413
|
+
end
|
|
2414
|
+
|
|
2415
|
+
# NewWorkflowExecutionInfo is a shared message that encapsulates all the
|
|
2416
|
+
# required arguments to starting a workflow in different contexts.
|
|
2417
|
+
class Temporalio::Api::Workflow::V1::NewWorkflowExecutionInfo
|
|
2418
|
+
include ::Google::Protobuf::MessageExts
|
|
2419
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
2420
|
+
|
|
2421
|
+
sig do
|
|
2422
|
+
params(
|
|
2423
|
+
workflow_id: T.nilable(String),
|
|
2424
|
+
workflow_type: T.nilable(Temporalio::Api::Common::V1::WorkflowType),
|
|
2425
|
+
task_queue: T.nilable(Temporalio::Api::TaskQueue::V1::TaskQueue),
|
|
2426
|
+
input: T.nilable(Temporalio::Api::Common::V1::Payloads),
|
|
2427
|
+
workflow_execution_timeout: T.nilable(Google::Protobuf::Duration),
|
|
2428
|
+
workflow_run_timeout: T.nilable(Google::Protobuf::Duration),
|
|
2429
|
+
workflow_task_timeout: T.nilable(Google::Protobuf::Duration),
|
|
2430
|
+
workflow_id_reuse_policy: T.nilable(T.any(Symbol, String, Integer)),
|
|
2431
|
+
retry_policy: T.nilable(Temporalio::Api::Common::V1::RetryPolicy),
|
|
2432
|
+
cron_schedule: T.nilable(String),
|
|
2433
|
+
memo: T.nilable(Temporalio::Api::Common::V1::Memo),
|
|
2434
|
+
search_attributes: T.nilable(Temporalio::Api::Common::V1::SearchAttributes),
|
|
2435
|
+
header: T.nilable(Temporalio::Api::Common::V1::Header),
|
|
2436
|
+
user_metadata: T.nilable(Temporalio::Api::Sdk::V1::UserMetadata),
|
|
2437
|
+
versioning_override: T.nilable(Temporalio::Api::Workflow::V1::VersioningOverride),
|
|
2438
|
+
priority: T.nilable(Temporalio::Api::Common::V1::Priority)
|
|
2439
|
+
).void
|
|
2440
|
+
end
|
|
2441
|
+
def initialize(
|
|
2442
|
+
workflow_id: "",
|
|
2443
|
+
workflow_type: nil,
|
|
2444
|
+
task_queue: nil,
|
|
2445
|
+
input: nil,
|
|
2446
|
+
workflow_execution_timeout: nil,
|
|
2447
|
+
workflow_run_timeout: nil,
|
|
2448
|
+
workflow_task_timeout: nil,
|
|
2449
|
+
workflow_id_reuse_policy: :WORKFLOW_ID_REUSE_POLICY_UNSPECIFIED,
|
|
2450
|
+
retry_policy: nil,
|
|
2451
|
+
cron_schedule: "",
|
|
2452
|
+
memo: nil,
|
|
2453
|
+
search_attributes: nil,
|
|
2454
|
+
header: nil,
|
|
2455
|
+
user_metadata: nil,
|
|
2456
|
+
versioning_override: nil,
|
|
2457
|
+
priority: nil
|
|
2458
|
+
)
|
|
2459
|
+
end
|
|
2460
|
+
|
|
2461
|
+
sig { returns(String) }
|
|
2462
|
+
def workflow_id
|
|
2463
|
+
end
|
|
2464
|
+
|
|
2465
|
+
sig { params(value: String).void }
|
|
2466
|
+
def workflow_id=(value)
|
|
2467
|
+
end
|
|
2468
|
+
|
|
2469
|
+
sig { void }
|
|
2470
|
+
def clear_workflow_id
|
|
2471
|
+
end
|
|
2472
|
+
|
|
2473
|
+
sig { returns(T.nilable(Temporalio::Api::Common::V1::WorkflowType)) }
|
|
2474
|
+
def workflow_type
|
|
2475
|
+
end
|
|
2476
|
+
|
|
2477
|
+
sig { params(value: T.nilable(Temporalio::Api::Common::V1::WorkflowType)).void }
|
|
2478
|
+
def workflow_type=(value)
|
|
2479
|
+
end
|
|
2480
|
+
|
|
2481
|
+
sig { void }
|
|
2482
|
+
def clear_workflow_type
|
|
2483
|
+
end
|
|
2484
|
+
|
|
2485
|
+
sig { returns(T.nilable(Temporalio::Api::TaskQueue::V1::TaskQueue)) }
|
|
2486
|
+
def task_queue
|
|
2487
|
+
end
|
|
2488
|
+
|
|
2489
|
+
sig { params(value: T.nilable(Temporalio::Api::TaskQueue::V1::TaskQueue)).void }
|
|
2490
|
+
def task_queue=(value)
|
|
2491
|
+
end
|
|
2492
|
+
|
|
2493
|
+
sig { void }
|
|
2494
|
+
def clear_task_queue
|
|
2495
|
+
end
|
|
2496
|
+
|
|
2497
|
+
# Serialized arguments to the workflow.
|
|
2498
|
+
sig { returns(T.nilable(Temporalio::Api::Common::V1::Payloads)) }
|
|
2499
|
+
def input
|
|
2500
|
+
end
|
|
2501
|
+
|
|
2502
|
+
# Serialized arguments to the workflow.
|
|
2503
|
+
sig { params(value: T.nilable(Temporalio::Api::Common::V1::Payloads)).void }
|
|
2504
|
+
def input=(value)
|
|
2505
|
+
end
|
|
2506
|
+
|
|
2507
|
+
# Serialized arguments to the workflow.
|
|
2508
|
+
sig { void }
|
|
2509
|
+
def clear_input
|
|
2510
|
+
end
|
|
2511
|
+
|
|
2512
|
+
# Total workflow execution timeout including retries and continue as new.
|
|
2513
|
+
sig { returns(T.nilable(Google::Protobuf::Duration)) }
|
|
2514
|
+
def workflow_execution_timeout
|
|
2515
|
+
end
|
|
2516
|
+
|
|
2517
|
+
# Total workflow execution timeout including retries and continue as new.
|
|
2518
|
+
sig { params(value: T.nilable(Google::Protobuf::Duration)).void }
|
|
2519
|
+
def workflow_execution_timeout=(value)
|
|
2520
|
+
end
|
|
2521
|
+
|
|
2522
|
+
# Total workflow execution timeout including retries and continue as new.
|
|
2523
|
+
sig { void }
|
|
2524
|
+
def clear_workflow_execution_timeout
|
|
2525
|
+
end
|
|
2526
|
+
|
|
2527
|
+
# Timeout of a single workflow run.
|
|
2528
|
+
sig { returns(T.nilable(Google::Protobuf::Duration)) }
|
|
2529
|
+
def workflow_run_timeout
|
|
2530
|
+
end
|
|
2531
|
+
|
|
2532
|
+
# Timeout of a single workflow run.
|
|
2533
|
+
sig { params(value: T.nilable(Google::Protobuf::Duration)).void }
|
|
2534
|
+
def workflow_run_timeout=(value)
|
|
2535
|
+
end
|
|
2536
|
+
|
|
2537
|
+
# Timeout of a single workflow run.
|
|
2538
|
+
sig { void }
|
|
2539
|
+
def clear_workflow_run_timeout
|
|
2540
|
+
end
|
|
2541
|
+
|
|
2542
|
+
# Timeout of a single workflow task.
|
|
2543
|
+
sig { returns(T.nilable(Google::Protobuf::Duration)) }
|
|
2544
|
+
def workflow_task_timeout
|
|
2545
|
+
end
|
|
2546
|
+
|
|
2547
|
+
# Timeout of a single workflow task.
|
|
2548
|
+
sig { params(value: T.nilable(Google::Protobuf::Duration)).void }
|
|
2549
|
+
def workflow_task_timeout=(value)
|
|
2550
|
+
end
|
|
2551
|
+
|
|
2552
|
+
# Timeout of a single workflow task.
|
|
2553
|
+
sig { void }
|
|
2554
|
+
def clear_workflow_task_timeout
|
|
2555
|
+
end
|
|
2556
|
+
|
|
2557
|
+
# Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.
|
|
2558
|
+
sig { returns(T.any(Symbol, Integer)) }
|
|
2559
|
+
def workflow_id_reuse_policy
|
|
2560
|
+
end
|
|
2561
|
+
|
|
2562
|
+
# Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.
|
|
2563
|
+
sig { params(value: T.any(Symbol, String, Integer)).void }
|
|
2564
|
+
def workflow_id_reuse_policy=(value)
|
|
2565
|
+
end
|
|
2566
|
+
|
|
2567
|
+
# Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.
|
|
2568
|
+
sig { void }
|
|
2569
|
+
def clear_workflow_id_reuse_policy
|
|
2570
|
+
end
|
|
2571
|
+
|
|
2572
|
+
# The retry policy for the workflow. Will never exceed `workflow_execution_timeout`.
|
|
2573
|
+
sig { returns(T.nilable(Temporalio::Api::Common::V1::RetryPolicy)) }
|
|
2574
|
+
def retry_policy
|
|
2575
|
+
end
|
|
2576
|
+
|
|
2577
|
+
# The retry policy for the workflow. Will never exceed `workflow_execution_timeout`.
|
|
2578
|
+
sig { params(value: T.nilable(Temporalio::Api::Common::V1::RetryPolicy)).void }
|
|
2579
|
+
def retry_policy=(value)
|
|
2580
|
+
end
|
|
2581
|
+
|
|
2582
|
+
# The retry policy for the workflow. Will never exceed `workflow_execution_timeout`.
|
|
2583
|
+
sig { void }
|
|
2584
|
+
def clear_retry_policy
|
|
2585
|
+
end
|
|
2586
|
+
|
|
2587
|
+
# See https://docs.temporal.io/docs/content/what-is-a-temporal-cron-job/
|
|
2588
|
+
sig { returns(String) }
|
|
2589
|
+
def cron_schedule
|
|
2590
|
+
end
|
|
2591
|
+
|
|
2592
|
+
# See https://docs.temporal.io/docs/content/what-is-a-temporal-cron-job/
|
|
2593
|
+
sig { params(value: String).void }
|
|
2594
|
+
def cron_schedule=(value)
|
|
2595
|
+
end
|
|
2596
|
+
|
|
2597
|
+
# See https://docs.temporal.io/docs/content/what-is-a-temporal-cron-job/
|
|
2598
|
+
sig { void }
|
|
2599
|
+
def clear_cron_schedule
|
|
2600
|
+
end
|
|
2601
|
+
|
|
2602
|
+
sig { returns(T.nilable(Temporalio::Api::Common::V1::Memo)) }
|
|
2603
|
+
def memo
|
|
2604
|
+
end
|
|
2605
|
+
|
|
2606
|
+
sig { params(value: T.nilable(Temporalio::Api::Common::V1::Memo)).void }
|
|
2607
|
+
def memo=(value)
|
|
2608
|
+
end
|
|
2609
|
+
|
|
2610
|
+
sig { void }
|
|
2611
|
+
def clear_memo
|
|
2612
|
+
end
|
|
2613
|
+
|
|
2614
|
+
sig { returns(T.nilable(Temporalio::Api::Common::V1::SearchAttributes)) }
|
|
2615
|
+
def search_attributes
|
|
2616
|
+
end
|
|
2617
|
+
|
|
2618
|
+
sig { params(value: T.nilable(Temporalio::Api::Common::V1::SearchAttributes)).void }
|
|
2619
|
+
def search_attributes=(value)
|
|
2620
|
+
end
|
|
2621
|
+
|
|
2622
|
+
sig { void }
|
|
2623
|
+
def clear_search_attributes
|
|
2624
|
+
end
|
|
2625
|
+
|
|
2626
|
+
sig { returns(T.nilable(Temporalio::Api::Common::V1::Header)) }
|
|
2627
|
+
def header
|
|
2628
|
+
end
|
|
2629
|
+
|
|
2630
|
+
sig { params(value: T.nilable(Temporalio::Api::Common::V1::Header)).void }
|
|
2631
|
+
def header=(value)
|
|
2632
|
+
end
|
|
2633
|
+
|
|
2634
|
+
sig { void }
|
|
2635
|
+
def clear_header
|
|
2636
|
+
end
|
|
2637
|
+
|
|
2638
|
+
# Metadata on the workflow if it is started. This is carried over to the WorkflowExecutionConfig
|
|
2639
|
+
# for use by user interfaces to display the fixed as-of-start summary and details of the
|
|
2640
|
+
# workflow.
|
|
2641
|
+
sig { returns(T.nilable(Temporalio::Api::Sdk::V1::UserMetadata)) }
|
|
2642
|
+
def user_metadata
|
|
2643
|
+
end
|
|
2644
|
+
|
|
2645
|
+
# Metadata on the workflow if it is started. This is carried over to the WorkflowExecutionConfig
|
|
2646
|
+
# for use by user interfaces to display the fixed as-of-start summary and details of the
|
|
2647
|
+
# workflow.
|
|
2648
|
+
sig { params(value: T.nilable(Temporalio::Api::Sdk::V1::UserMetadata)).void }
|
|
2649
|
+
def user_metadata=(value)
|
|
2650
|
+
end
|
|
2651
|
+
|
|
2652
|
+
# Metadata on the workflow if it is started. This is carried over to the WorkflowExecutionConfig
|
|
2653
|
+
# for use by user interfaces to display the fixed as-of-start summary and details of the
|
|
2654
|
+
# workflow.
|
|
2655
|
+
sig { void }
|
|
2656
|
+
def clear_user_metadata
|
|
2657
|
+
end
|
|
2658
|
+
|
|
2659
|
+
# If set, takes precedence over the Versioning Behavior sent by the SDK on Workflow Task completion.
|
|
2660
|
+
# To unset the override after the workflow is running, use UpdateWorkflowExecutionOptions.
|
|
2661
|
+
sig { returns(T.nilable(Temporalio::Api::Workflow::V1::VersioningOverride)) }
|
|
2662
|
+
def versioning_override
|
|
2663
|
+
end
|
|
2664
|
+
|
|
2665
|
+
# If set, takes precedence over the Versioning Behavior sent by the SDK on Workflow Task completion.
|
|
2666
|
+
# To unset the override after the workflow is running, use UpdateWorkflowExecutionOptions.
|
|
2667
|
+
sig { params(value: T.nilable(Temporalio::Api::Workflow::V1::VersioningOverride)).void }
|
|
2668
|
+
def versioning_override=(value)
|
|
2669
|
+
end
|
|
2670
|
+
|
|
2671
|
+
# If set, takes precedence over the Versioning Behavior sent by the SDK on Workflow Task completion.
|
|
2672
|
+
# To unset the override after the workflow is running, use UpdateWorkflowExecutionOptions.
|
|
2673
|
+
sig { void }
|
|
2674
|
+
def clear_versioning_override
|
|
2675
|
+
end
|
|
2676
|
+
|
|
2677
|
+
# Priority metadata
|
|
2678
|
+
sig { returns(T.nilable(Temporalio::Api::Common::V1::Priority)) }
|
|
2679
|
+
def priority
|
|
2680
|
+
end
|
|
2681
|
+
|
|
2682
|
+
# Priority metadata
|
|
2683
|
+
sig { params(value: T.nilable(Temporalio::Api::Common::V1::Priority)).void }
|
|
2684
|
+
def priority=(value)
|
|
2685
|
+
end
|
|
2686
|
+
|
|
2687
|
+
# Priority metadata
|
|
2688
|
+
sig { void }
|
|
2689
|
+
def clear_priority
|
|
2690
|
+
end
|
|
2691
|
+
|
|
2692
|
+
sig { params(field: String).returns(T.untyped) }
|
|
2693
|
+
def [](field)
|
|
2694
|
+
end
|
|
2695
|
+
|
|
2696
|
+
sig { params(field: String, value: T.untyped).void }
|
|
2697
|
+
def []=(field, value)
|
|
2698
|
+
end
|
|
2699
|
+
|
|
2700
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
2701
|
+
def to_h
|
|
2702
|
+
end
|
|
2703
|
+
|
|
2704
|
+
sig { params(str: String).returns(Temporalio::Api::Workflow::V1::NewWorkflowExecutionInfo) }
|
|
2705
|
+
def self.decode(str)
|
|
2706
|
+
end
|
|
2707
|
+
|
|
2708
|
+
sig { params(msg: Temporalio::Api::Workflow::V1::NewWorkflowExecutionInfo).returns(String) }
|
|
2709
|
+
def self.encode(msg)
|
|
2710
|
+
end
|
|
2711
|
+
|
|
2712
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Workflow::V1::NewWorkflowExecutionInfo) }
|
|
2713
|
+
def self.decode_json(str, **kw)
|
|
2714
|
+
end
|
|
2715
|
+
|
|
2716
|
+
sig { params(msg: Temporalio::Api::Workflow::V1::NewWorkflowExecutionInfo, kw: T.untyped).returns(String) }
|
|
2717
|
+
def self.encode_json(msg, **kw)
|
|
2718
|
+
end
|
|
2719
|
+
|
|
2720
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
2721
|
+
def self.descriptor
|
|
2722
|
+
end
|
|
2723
|
+
end
|
|
2724
|
+
|
|
2725
|
+
# CallbackInfo contains the state of an attached workflow callback.
|
|
2726
|
+
class Temporalio::Api::Workflow::V1::CallbackInfo
|
|
2727
|
+
include ::Google::Protobuf::MessageExts
|
|
2728
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
2729
|
+
|
|
2730
|
+
sig do
|
|
2731
|
+
params(
|
|
2732
|
+
callback: T.nilable(Temporalio::Api::Common::V1::Callback),
|
|
2733
|
+
trigger: T.nilable(Temporalio::Api::Workflow::V1::CallbackInfo::Trigger),
|
|
2734
|
+
registration_time: T.nilable(Google::Protobuf::Timestamp),
|
|
2735
|
+
state: T.nilable(T.any(Symbol, String, Integer)),
|
|
2736
|
+
attempt: T.nilable(Integer),
|
|
2737
|
+
last_attempt_complete_time: T.nilable(Google::Protobuf::Timestamp),
|
|
2738
|
+
last_attempt_failure: T.nilable(Temporalio::Api::Failure::V1::Failure),
|
|
2739
|
+
next_attempt_schedule_time: T.nilable(Google::Protobuf::Timestamp),
|
|
2740
|
+
blocked_reason: T.nilable(String)
|
|
2741
|
+
).void
|
|
2742
|
+
end
|
|
2743
|
+
def initialize(
|
|
2744
|
+
callback: nil,
|
|
2745
|
+
trigger: nil,
|
|
2746
|
+
registration_time: nil,
|
|
2747
|
+
state: :CALLBACK_STATE_UNSPECIFIED,
|
|
2748
|
+
attempt: 0,
|
|
2749
|
+
last_attempt_complete_time: nil,
|
|
2750
|
+
last_attempt_failure: nil,
|
|
2751
|
+
next_attempt_schedule_time: nil,
|
|
2752
|
+
blocked_reason: ""
|
|
2753
|
+
)
|
|
2754
|
+
end
|
|
2755
|
+
|
|
2756
|
+
# Information on how this callback should be invoked (e.g. its URL and type).
|
|
2757
|
+
sig { returns(T.nilable(Temporalio::Api::Common::V1::Callback)) }
|
|
2758
|
+
def callback
|
|
2759
|
+
end
|
|
2760
|
+
|
|
2761
|
+
# Information on how this callback should be invoked (e.g. its URL and type).
|
|
2762
|
+
sig { params(value: T.nilable(Temporalio::Api::Common::V1::Callback)).void }
|
|
2763
|
+
def callback=(value)
|
|
2764
|
+
end
|
|
2765
|
+
|
|
2766
|
+
# Information on how this callback should be invoked (e.g. its URL and type).
|
|
2767
|
+
sig { void }
|
|
2768
|
+
def clear_callback
|
|
2769
|
+
end
|
|
2770
|
+
|
|
2771
|
+
# Trigger for this callback.
|
|
2772
|
+
sig { returns(T.nilable(Temporalio::Api::Workflow::V1::CallbackInfo::Trigger)) }
|
|
2773
|
+
def trigger
|
|
2774
|
+
end
|
|
2775
|
+
|
|
2776
|
+
# Trigger for this callback.
|
|
2777
|
+
sig { params(value: T.nilable(Temporalio::Api::Workflow::V1::CallbackInfo::Trigger)).void }
|
|
2778
|
+
def trigger=(value)
|
|
2779
|
+
end
|
|
2780
|
+
|
|
2781
|
+
# Trigger for this callback.
|
|
2782
|
+
sig { void }
|
|
2783
|
+
def clear_trigger
|
|
2784
|
+
end
|
|
2785
|
+
|
|
2786
|
+
# The time when the callback was registered.
|
|
2787
|
+
sig { returns(T.nilable(Google::Protobuf::Timestamp)) }
|
|
2788
|
+
def registration_time
|
|
2789
|
+
end
|
|
2790
|
+
|
|
2791
|
+
# The time when the callback was registered.
|
|
2792
|
+
sig { params(value: T.nilable(Google::Protobuf::Timestamp)).void }
|
|
2793
|
+
def registration_time=(value)
|
|
2794
|
+
end
|
|
2795
|
+
|
|
2796
|
+
# The time when the callback was registered.
|
|
2797
|
+
sig { void }
|
|
2798
|
+
def clear_registration_time
|
|
2799
|
+
end
|
|
2800
|
+
|
|
2801
|
+
sig { returns(T.any(Symbol, Integer)) }
|
|
2802
|
+
def state
|
|
2803
|
+
end
|
|
2804
|
+
|
|
2805
|
+
sig { params(value: T.any(Symbol, String, Integer)).void }
|
|
2806
|
+
def state=(value)
|
|
2807
|
+
end
|
|
2808
|
+
|
|
2809
|
+
sig { void }
|
|
2810
|
+
def clear_state
|
|
2811
|
+
end
|
|
2812
|
+
|
|
2813
|
+
# The number of attempts made to deliver the callback.
|
|
2814
|
+
# This number represents a minimum bound since the attempt is incremented after the callback request completes.
|
|
2815
|
+
sig { returns(Integer) }
|
|
2816
|
+
def attempt
|
|
2817
|
+
end
|
|
2818
|
+
|
|
2819
|
+
# The number of attempts made to deliver the callback.
|
|
2820
|
+
# This number represents a minimum bound since the attempt is incremented after the callback request completes.
|
|
2821
|
+
sig { params(value: Integer).void }
|
|
2822
|
+
def attempt=(value)
|
|
2823
|
+
end
|
|
2824
|
+
|
|
2825
|
+
# The number of attempts made to deliver the callback.
|
|
2826
|
+
# This number represents a minimum bound since the attempt is incremented after the callback request completes.
|
|
2827
|
+
sig { void }
|
|
2828
|
+
def clear_attempt
|
|
2829
|
+
end
|
|
2830
|
+
|
|
2831
|
+
# The time when the last attempt completed.
|
|
2832
|
+
sig { returns(T.nilable(Google::Protobuf::Timestamp)) }
|
|
2833
|
+
def last_attempt_complete_time
|
|
2834
|
+
end
|
|
2835
|
+
|
|
2836
|
+
# The time when the last attempt completed.
|
|
2837
|
+
sig { params(value: T.nilable(Google::Protobuf::Timestamp)).void }
|
|
2838
|
+
def last_attempt_complete_time=(value)
|
|
2839
|
+
end
|
|
2840
|
+
|
|
2841
|
+
# The time when the last attempt completed.
|
|
2842
|
+
sig { void }
|
|
2843
|
+
def clear_last_attempt_complete_time
|
|
2844
|
+
end
|
|
2845
|
+
|
|
2846
|
+
# The last attempt's failure, if any.
|
|
2847
|
+
sig { returns(T.nilable(Temporalio::Api::Failure::V1::Failure)) }
|
|
2848
|
+
def last_attempt_failure
|
|
2849
|
+
end
|
|
2850
|
+
|
|
2851
|
+
# The last attempt's failure, if any.
|
|
2852
|
+
sig { params(value: T.nilable(Temporalio::Api::Failure::V1::Failure)).void }
|
|
2853
|
+
def last_attempt_failure=(value)
|
|
2854
|
+
end
|
|
2855
|
+
|
|
2856
|
+
# The last attempt's failure, if any.
|
|
2857
|
+
sig { void }
|
|
2858
|
+
def clear_last_attempt_failure
|
|
2859
|
+
end
|
|
2860
|
+
|
|
2861
|
+
# The time when the next attempt is scheduled.
|
|
2862
|
+
sig { returns(T.nilable(Google::Protobuf::Timestamp)) }
|
|
2863
|
+
def next_attempt_schedule_time
|
|
2864
|
+
end
|
|
2865
|
+
|
|
2866
|
+
# The time when the next attempt is scheduled.
|
|
2867
|
+
sig { params(value: T.nilable(Google::Protobuf::Timestamp)).void }
|
|
2868
|
+
def next_attempt_schedule_time=(value)
|
|
2869
|
+
end
|
|
2870
|
+
|
|
2871
|
+
# The time when the next attempt is scheduled.
|
|
2872
|
+
sig { void }
|
|
2873
|
+
def clear_next_attempt_schedule_time
|
|
2874
|
+
end
|
|
2875
|
+
|
|
2876
|
+
# If the state is BLOCKED, blocked reason provides additional information.
|
|
2877
|
+
sig { returns(String) }
|
|
2878
|
+
def blocked_reason
|
|
2879
|
+
end
|
|
2880
|
+
|
|
2881
|
+
# If the state is BLOCKED, blocked reason provides additional information.
|
|
2882
|
+
sig { params(value: String).void }
|
|
2883
|
+
def blocked_reason=(value)
|
|
2884
|
+
end
|
|
2885
|
+
|
|
2886
|
+
# If the state is BLOCKED, blocked reason provides additional information.
|
|
2887
|
+
sig { void }
|
|
2888
|
+
def clear_blocked_reason
|
|
2889
|
+
end
|
|
2890
|
+
|
|
2891
|
+
sig { params(field: String).returns(T.untyped) }
|
|
2892
|
+
def [](field)
|
|
2893
|
+
end
|
|
2894
|
+
|
|
2895
|
+
sig { params(field: String, value: T.untyped).void }
|
|
2896
|
+
def []=(field, value)
|
|
2897
|
+
end
|
|
2898
|
+
|
|
2899
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
2900
|
+
def to_h
|
|
2901
|
+
end
|
|
2902
|
+
|
|
2903
|
+
sig { params(str: String).returns(Temporalio::Api::Workflow::V1::CallbackInfo) }
|
|
2904
|
+
def self.decode(str)
|
|
2905
|
+
end
|
|
2906
|
+
|
|
2907
|
+
sig { params(msg: Temporalio::Api::Workflow::V1::CallbackInfo).returns(String) }
|
|
2908
|
+
def self.encode(msg)
|
|
2909
|
+
end
|
|
2910
|
+
|
|
2911
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Workflow::V1::CallbackInfo) }
|
|
2912
|
+
def self.decode_json(str, **kw)
|
|
2913
|
+
end
|
|
2914
|
+
|
|
2915
|
+
sig { params(msg: Temporalio::Api::Workflow::V1::CallbackInfo, kw: T.untyped).returns(String) }
|
|
2916
|
+
def self.encode_json(msg, **kw)
|
|
2917
|
+
end
|
|
2918
|
+
|
|
2919
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
2920
|
+
def self.descriptor
|
|
2921
|
+
end
|
|
2922
|
+
end
|
|
2923
|
+
|
|
2924
|
+
# PendingNexusOperationInfo contains the state of a pending Nexus operation.
|
|
2925
|
+
class Temporalio::Api::Workflow::V1::PendingNexusOperationInfo
|
|
2926
|
+
include ::Google::Protobuf::MessageExts
|
|
2927
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
2928
|
+
|
|
2929
|
+
sig do
|
|
2930
|
+
params(
|
|
2931
|
+
endpoint: T.nilable(String),
|
|
2932
|
+
service: T.nilable(String),
|
|
2933
|
+
operation: T.nilable(String),
|
|
2934
|
+
operation_id: T.nilable(String),
|
|
2935
|
+
schedule_to_close_timeout: T.nilable(Google::Protobuf::Duration),
|
|
2936
|
+
scheduled_time: T.nilable(Google::Protobuf::Timestamp),
|
|
2937
|
+
state: T.nilable(T.any(Symbol, String, Integer)),
|
|
2938
|
+
attempt: T.nilable(Integer),
|
|
2939
|
+
last_attempt_complete_time: T.nilable(Google::Protobuf::Timestamp),
|
|
2940
|
+
last_attempt_failure: T.nilable(Temporalio::Api::Failure::V1::Failure),
|
|
2941
|
+
next_attempt_schedule_time: T.nilable(Google::Protobuf::Timestamp),
|
|
2942
|
+
cancellation_info: T.nilable(Temporalio::Api::Workflow::V1::NexusOperationCancellationInfo),
|
|
2943
|
+
scheduled_event_id: T.nilable(Integer),
|
|
2944
|
+
blocked_reason: T.nilable(String),
|
|
2945
|
+
operation_token: T.nilable(String),
|
|
2946
|
+
schedule_to_start_timeout: T.nilable(Google::Protobuf::Duration),
|
|
2947
|
+
start_to_close_timeout: T.nilable(Google::Protobuf::Duration)
|
|
2948
|
+
).void
|
|
2949
|
+
end
|
|
2950
|
+
def initialize(
|
|
2951
|
+
endpoint: "",
|
|
2952
|
+
service: "",
|
|
2953
|
+
operation: "",
|
|
2954
|
+
operation_id: "",
|
|
2955
|
+
schedule_to_close_timeout: nil,
|
|
2956
|
+
scheduled_time: nil,
|
|
2957
|
+
state: :PENDING_NEXUS_OPERATION_STATE_UNSPECIFIED,
|
|
2958
|
+
attempt: 0,
|
|
2959
|
+
last_attempt_complete_time: nil,
|
|
2960
|
+
last_attempt_failure: nil,
|
|
2961
|
+
next_attempt_schedule_time: nil,
|
|
2962
|
+
cancellation_info: nil,
|
|
2963
|
+
scheduled_event_id: 0,
|
|
2964
|
+
blocked_reason: "",
|
|
2965
|
+
operation_token: "",
|
|
2966
|
+
schedule_to_start_timeout: nil,
|
|
2967
|
+
start_to_close_timeout: nil
|
|
2968
|
+
)
|
|
2969
|
+
end
|
|
2970
|
+
|
|
2971
|
+
# Endpoint name.
|
|
2972
|
+
# Resolved to a URL via the cluster's endpoint registry.
|
|
2973
|
+
sig { returns(String) }
|
|
2974
|
+
def endpoint
|
|
2975
|
+
end
|
|
2976
|
+
|
|
2977
|
+
# Endpoint name.
|
|
2978
|
+
# Resolved to a URL via the cluster's endpoint registry.
|
|
2979
|
+
sig { params(value: String).void }
|
|
2980
|
+
def endpoint=(value)
|
|
2981
|
+
end
|
|
2982
|
+
|
|
2983
|
+
# Endpoint name.
|
|
2984
|
+
# Resolved to a URL via the cluster's endpoint registry.
|
|
2985
|
+
sig { void }
|
|
2986
|
+
def clear_endpoint
|
|
2987
|
+
end
|
|
2988
|
+
|
|
2989
|
+
# Service name.
|
|
2990
|
+
sig { returns(String) }
|
|
2991
|
+
def service
|
|
2992
|
+
end
|
|
2993
|
+
|
|
2994
|
+
# Service name.
|
|
2995
|
+
sig { params(value: String).void }
|
|
2996
|
+
def service=(value)
|
|
2997
|
+
end
|
|
2998
|
+
|
|
2999
|
+
# Service name.
|
|
3000
|
+
sig { void }
|
|
3001
|
+
def clear_service
|
|
3002
|
+
end
|
|
3003
|
+
|
|
3004
|
+
# Operation name.
|
|
3005
|
+
sig { returns(String) }
|
|
3006
|
+
def operation
|
|
3007
|
+
end
|
|
3008
|
+
|
|
3009
|
+
# Operation name.
|
|
3010
|
+
sig { params(value: String).void }
|
|
3011
|
+
def operation=(value)
|
|
3012
|
+
end
|
|
3013
|
+
|
|
3014
|
+
# Operation name.
|
|
3015
|
+
sig { void }
|
|
3016
|
+
def clear_operation
|
|
3017
|
+
end
|
|
3018
|
+
|
|
3019
|
+
# Operation ID. Only set for asynchronous operations after a successful StartOperation call.
|
|
3020
|
+
#
|
|
3021
|
+
# Deprecated. Renamed to operation_token.
|
|
3022
|
+
sig { returns(String) }
|
|
3023
|
+
def operation_id
|
|
3024
|
+
end
|
|
3025
|
+
|
|
3026
|
+
# Operation ID. Only set for asynchronous operations after a successful StartOperation call.
|
|
3027
|
+
#
|
|
3028
|
+
# Deprecated. Renamed to operation_token.
|
|
3029
|
+
sig { params(value: String).void }
|
|
3030
|
+
def operation_id=(value)
|
|
3031
|
+
end
|
|
3032
|
+
|
|
3033
|
+
# Operation ID. Only set for asynchronous operations after a successful StartOperation call.
|
|
3034
|
+
#
|
|
3035
|
+
# Deprecated. Renamed to operation_token.
|
|
3036
|
+
sig { void }
|
|
3037
|
+
def clear_operation_id
|
|
3038
|
+
end
|
|
3039
|
+
|
|
3040
|
+
# Schedule-to-close timeout for this operation.
|
|
3041
|
+
# This is the only timeout settable by a workflow.
|
|
3042
|
+
# (-- api-linter: core::0140::prepositions=disabled
|
|
3043
|
+
# aip.dev/not-precedent: "to" is used to indicate interval. --)
|
|
3044
|
+
sig { returns(T.nilable(Google::Protobuf::Duration)) }
|
|
3045
|
+
def schedule_to_close_timeout
|
|
3046
|
+
end
|
|
3047
|
+
|
|
3048
|
+
# Schedule-to-close timeout for this operation.
|
|
3049
|
+
# This is the only timeout settable by a workflow.
|
|
3050
|
+
# (-- api-linter: core::0140::prepositions=disabled
|
|
3051
|
+
# aip.dev/not-precedent: "to" is used to indicate interval. --)
|
|
3052
|
+
sig { params(value: T.nilable(Google::Protobuf::Duration)).void }
|
|
3053
|
+
def schedule_to_close_timeout=(value)
|
|
3054
|
+
end
|
|
3055
|
+
|
|
3056
|
+
# Schedule-to-close timeout for this operation.
|
|
3057
|
+
# This is the only timeout settable by a workflow.
|
|
3058
|
+
# (-- api-linter: core::0140::prepositions=disabled
|
|
3059
|
+
# aip.dev/not-precedent: "to" is used to indicate interval. --)
|
|
3060
|
+
sig { void }
|
|
3061
|
+
def clear_schedule_to_close_timeout
|
|
3062
|
+
end
|
|
3063
|
+
|
|
3064
|
+
# The time when the operation was scheduled.
|
|
3065
|
+
sig { returns(T.nilable(Google::Protobuf::Timestamp)) }
|
|
3066
|
+
def scheduled_time
|
|
3067
|
+
end
|
|
3068
|
+
|
|
3069
|
+
# The time when the operation was scheduled.
|
|
3070
|
+
sig { params(value: T.nilable(Google::Protobuf::Timestamp)).void }
|
|
3071
|
+
def scheduled_time=(value)
|
|
3072
|
+
end
|
|
3073
|
+
|
|
3074
|
+
# The time when the operation was scheduled.
|
|
3075
|
+
sig { void }
|
|
3076
|
+
def clear_scheduled_time
|
|
3077
|
+
end
|
|
3078
|
+
|
|
3079
|
+
sig { returns(T.any(Symbol, Integer)) }
|
|
3080
|
+
def state
|
|
3081
|
+
end
|
|
3082
|
+
|
|
3083
|
+
sig { params(value: T.any(Symbol, String, Integer)).void }
|
|
3084
|
+
def state=(value)
|
|
3085
|
+
end
|
|
3086
|
+
|
|
3087
|
+
sig { void }
|
|
3088
|
+
def clear_state
|
|
3089
|
+
end
|
|
3090
|
+
|
|
3091
|
+
# The number of attempts made to deliver the start operation request.
|
|
3092
|
+
# This number is approximate, it is incremented when a task is added to the history queue.
|
|
3093
|
+
# In practice, there could be more attempts if a task is executed but fails to commit, or less attempts if a task
|
|
3094
|
+
# was never executed.
|
|
3095
|
+
sig { returns(Integer) }
|
|
3096
|
+
def attempt
|
|
3097
|
+
end
|
|
3098
|
+
|
|
3099
|
+
# The number of attempts made to deliver the start operation request.
|
|
3100
|
+
# This number is approximate, it is incremented when a task is added to the history queue.
|
|
3101
|
+
# In practice, there could be more attempts if a task is executed but fails to commit, or less attempts if a task
|
|
3102
|
+
# was never executed.
|
|
3103
|
+
sig { params(value: Integer).void }
|
|
3104
|
+
def attempt=(value)
|
|
3105
|
+
end
|
|
3106
|
+
|
|
3107
|
+
# The number of attempts made to deliver the start operation request.
|
|
3108
|
+
# This number is approximate, it is incremented when a task is added to the history queue.
|
|
3109
|
+
# In practice, there could be more attempts if a task is executed but fails to commit, or less attempts if a task
|
|
3110
|
+
# was never executed.
|
|
3111
|
+
sig { void }
|
|
3112
|
+
def clear_attempt
|
|
3113
|
+
end
|
|
3114
|
+
|
|
3115
|
+
# The time when the last attempt completed.
|
|
3116
|
+
sig { returns(T.nilable(Google::Protobuf::Timestamp)) }
|
|
3117
|
+
def last_attempt_complete_time
|
|
3118
|
+
end
|
|
3119
|
+
|
|
3120
|
+
# The time when the last attempt completed.
|
|
3121
|
+
sig { params(value: T.nilable(Google::Protobuf::Timestamp)).void }
|
|
3122
|
+
def last_attempt_complete_time=(value)
|
|
3123
|
+
end
|
|
3124
|
+
|
|
3125
|
+
# The time when the last attempt completed.
|
|
3126
|
+
sig { void }
|
|
3127
|
+
def clear_last_attempt_complete_time
|
|
3128
|
+
end
|
|
3129
|
+
|
|
3130
|
+
# The last attempt's failure, if any.
|
|
3131
|
+
sig { returns(T.nilable(Temporalio::Api::Failure::V1::Failure)) }
|
|
3132
|
+
def last_attempt_failure
|
|
3133
|
+
end
|
|
3134
|
+
|
|
3135
|
+
# The last attempt's failure, if any.
|
|
3136
|
+
sig { params(value: T.nilable(Temporalio::Api::Failure::V1::Failure)).void }
|
|
3137
|
+
def last_attempt_failure=(value)
|
|
3138
|
+
end
|
|
3139
|
+
|
|
3140
|
+
# The last attempt's failure, if any.
|
|
3141
|
+
sig { void }
|
|
3142
|
+
def clear_last_attempt_failure
|
|
3143
|
+
end
|
|
3144
|
+
|
|
3145
|
+
# The time when the next attempt is scheduled.
|
|
3146
|
+
sig { returns(T.nilable(Google::Protobuf::Timestamp)) }
|
|
3147
|
+
def next_attempt_schedule_time
|
|
3148
|
+
end
|
|
3149
|
+
|
|
3150
|
+
# The time when the next attempt is scheduled.
|
|
3151
|
+
sig { params(value: T.nilable(Google::Protobuf::Timestamp)).void }
|
|
3152
|
+
def next_attempt_schedule_time=(value)
|
|
3153
|
+
end
|
|
3154
|
+
|
|
3155
|
+
# The time when the next attempt is scheduled.
|
|
3156
|
+
sig { void }
|
|
3157
|
+
def clear_next_attempt_schedule_time
|
|
3158
|
+
end
|
|
3159
|
+
|
|
3160
|
+
sig { returns(T.nilable(Temporalio::Api::Workflow::V1::NexusOperationCancellationInfo)) }
|
|
3161
|
+
def cancellation_info
|
|
3162
|
+
end
|
|
3163
|
+
|
|
3164
|
+
sig { params(value: T.nilable(Temporalio::Api::Workflow::V1::NexusOperationCancellationInfo)).void }
|
|
3165
|
+
def cancellation_info=(value)
|
|
3166
|
+
end
|
|
3167
|
+
|
|
3168
|
+
sig { void }
|
|
3169
|
+
def clear_cancellation_info
|
|
3170
|
+
end
|
|
3171
|
+
|
|
3172
|
+
# The event ID of the NexusOperationScheduled event. Can be used to correlate an operation in the
|
|
3173
|
+
# DescribeWorkflowExecution response with workflow history.
|
|
3174
|
+
sig { returns(Integer) }
|
|
3175
|
+
def scheduled_event_id
|
|
3176
|
+
end
|
|
3177
|
+
|
|
3178
|
+
# The event ID of the NexusOperationScheduled event. Can be used to correlate an operation in the
|
|
3179
|
+
# DescribeWorkflowExecution response with workflow history.
|
|
3180
|
+
sig { params(value: Integer).void }
|
|
3181
|
+
def scheduled_event_id=(value)
|
|
3182
|
+
end
|
|
3183
|
+
|
|
3184
|
+
# The event ID of the NexusOperationScheduled event. Can be used to correlate an operation in the
|
|
3185
|
+
# DescribeWorkflowExecution response with workflow history.
|
|
3186
|
+
sig { void }
|
|
3187
|
+
def clear_scheduled_event_id
|
|
3188
|
+
end
|
|
3189
|
+
|
|
3190
|
+
# If the state is BLOCKED, blocked reason provides additional information.
|
|
3191
|
+
sig { returns(String) }
|
|
3192
|
+
def blocked_reason
|
|
3193
|
+
end
|
|
3194
|
+
|
|
3195
|
+
# If the state is BLOCKED, blocked reason provides additional information.
|
|
3196
|
+
sig { params(value: String).void }
|
|
3197
|
+
def blocked_reason=(value)
|
|
3198
|
+
end
|
|
3199
|
+
|
|
3200
|
+
# If the state is BLOCKED, blocked reason provides additional information.
|
|
3201
|
+
sig { void }
|
|
3202
|
+
def clear_blocked_reason
|
|
3203
|
+
end
|
|
3204
|
+
|
|
3205
|
+
# Operation token. Only set for asynchronous operations after a successful StartOperation call.
|
|
3206
|
+
sig { returns(String) }
|
|
3207
|
+
def operation_token
|
|
3208
|
+
end
|
|
3209
|
+
|
|
3210
|
+
# Operation token. Only set for asynchronous operations after a successful StartOperation call.
|
|
3211
|
+
sig { params(value: String).void }
|
|
3212
|
+
def operation_token=(value)
|
|
3213
|
+
end
|
|
3214
|
+
|
|
3215
|
+
# Operation token. Only set for asynchronous operations after a successful StartOperation call.
|
|
3216
|
+
sig { void }
|
|
3217
|
+
def clear_operation_token
|
|
3218
|
+
end
|
|
3219
|
+
|
|
3220
|
+
# Schedule-to-start timeout for this operation.
|
|
3221
|
+
# (-- api-linter: core::0140::prepositions=disabled
|
|
3222
|
+
# aip.dev/not-precedent: "to" is used to indicate interval. --)
|
|
3223
|
+
sig { returns(T.nilable(Google::Protobuf::Duration)) }
|
|
3224
|
+
def schedule_to_start_timeout
|
|
3225
|
+
end
|
|
3226
|
+
|
|
3227
|
+
# Schedule-to-start timeout for this operation.
|
|
3228
|
+
# (-- api-linter: core::0140::prepositions=disabled
|
|
3229
|
+
# aip.dev/not-precedent: "to" is used to indicate interval. --)
|
|
3230
|
+
sig { params(value: T.nilable(Google::Protobuf::Duration)).void }
|
|
3231
|
+
def schedule_to_start_timeout=(value)
|
|
3232
|
+
end
|
|
3233
|
+
|
|
3234
|
+
# Schedule-to-start timeout for this operation.
|
|
3235
|
+
# (-- api-linter: core::0140::prepositions=disabled
|
|
3236
|
+
# aip.dev/not-precedent: "to" is used to indicate interval. --)
|
|
3237
|
+
sig { void }
|
|
3238
|
+
def clear_schedule_to_start_timeout
|
|
3239
|
+
end
|
|
3240
|
+
|
|
3241
|
+
# Start-to-close timeout for this operation.
|
|
3242
|
+
# (-- api-linter: core::0140::prepositions=disabled
|
|
3243
|
+
# aip.dev/not-precedent: "to" is used to indicate interval. --)
|
|
3244
|
+
sig { returns(T.nilable(Google::Protobuf::Duration)) }
|
|
3245
|
+
def start_to_close_timeout
|
|
3246
|
+
end
|
|
3247
|
+
|
|
3248
|
+
# Start-to-close timeout for this operation.
|
|
3249
|
+
# (-- api-linter: core::0140::prepositions=disabled
|
|
3250
|
+
# aip.dev/not-precedent: "to" is used to indicate interval. --)
|
|
3251
|
+
sig { params(value: T.nilable(Google::Protobuf::Duration)).void }
|
|
3252
|
+
def start_to_close_timeout=(value)
|
|
3253
|
+
end
|
|
3254
|
+
|
|
3255
|
+
# Start-to-close timeout for this operation.
|
|
3256
|
+
# (-- api-linter: core::0140::prepositions=disabled
|
|
3257
|
+
# aip.dev/not-precedent: "to" is used to indicate interval. --)
|
|
3258
|
+
sig { void }
|
|
3259
|
+
def clear_start_to_close_timeout
|
|
3260
|
+
end
|
|
3261
|
+
|
|
3262
|
+
sig { params(field: String).returns(T.untyped) }
|
|
3263
|
+
def [](field)
|
|
3264
|
+
end
|
|
3265
|
+
|
|
3266
|
+
sig { params(field: String, value: T.untyped).void }
|
|
3267
|
+
def []=(field, value)
|
|
3268
|
+
end
|
|
3269
|
+
|
|
3270
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
3271
|
+
def to_h
|
|
3272
|
+
end
|
|
3273
|
+
|
|
3274
|
+
sig { params(str: String).returns(Temporalio::Api::Workflow::V1::PendingNexusOperationInfo) }
|
|
3275
|
+
def self.decode(str)
|
|
3276
|
+
end
|
|
3277
|
+
|
|
3278
|
+
sig { params(msg: Temporalio::Api::Workflow::V1::PendingNexusOperationInfo).returns(String) }
|
|
3279
|
+
def self.encode(msg)
|
|
3280
|
+
end
|
|
3281
|
+
|
|
3282
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Workflow::V1::PendingNexusOperationInfo) }
|
|
3283
|
+
def self.decode_json(str, **kw)
|
|
3284
|
+
end
|
|
3285
|
+
|
|
3286
|
+
sig { params(msg: Temporalio::Api::Workflow::V1::PendingNexusOperationInfo, kw: T.untyped).returns(String) }
|
|
3287
|
+
def self.encode_json(msg, **kw)
|
|
3288
|
+
end
|
|
3289
|
+
|
|
3290
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
3291
|
+
def self.descriptor
|
|
3292
|
+
end
|
|
3293
|
+
end
|
|
3294
|
+
|
|
3295
|
+
# NexusOperationCancellationInfo contains the state of a nexus operation cancellation.
|
|
3296
|
+
class Temporalio::Api::Workflow::V1::NexusOperationCancellationInfo
|
|
3297
|
+
include ::Google::Protobuf::MessageExts
|
|
3298
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
3299
|
+
|
|
3300
|
+
sig do
|
|
3301
|
+
params(
|
|
3302
|
+
requested_time: T.nilable(Google::Protobuf::Timestamp),
|
|
3303
|
+
state: T.nilable(T.any(Symbol, String, Integer)),
|
|
3304
|
+
attempt: T.nilable(Integer),
|
|
3305
|
+
last_attempt_complete_time: T.nilable(Google::Protobuf::Timestamp),
|
|
3306
|
+
last_attempt_failure: T.nilable(Temporalio::Api::Failure::V1::Failure),
|
|
3307
|
+
next_attempt_schedule_time: T.nilable(Google::Protobuf::Timestamp),
|
|
3308
|
+
blocked_reason: T.nilable(String)
|
|
3309
|
+
).void
|
|
3310
|
+
end
|
|
3311
|
+
def initialize(
|
|
3312
|
+
requested_time: nil,
|
|
3313
|
+
state: :NEXUS_OPERATION_CANCELLATION_STATE_UNSPECIFIED,
|
|
3314
|
+
attempt: 0,
|
|
3315
|
+
last_attempt_complete_time: nil,
|
|
3316
|
+
last_attempt_failure: nil,
|
|
3317
|
+
next_attempt_schedule_time: nil,
|
|
3318
|
+
blocked_reason: ""
|
|
3319
|
+
)
|
|
3320
|
+
end
|
|
3321
|
+
|
|
3322
|
+
# The time when cancellation was requested.
|
|
3323
|
+
sig { returns(T.nilable(Google::Protobuf::Timestamp)) }
|
|
3324
|
+
def requested_time
|
|
3325
|
+
end
|
|
3326
|
+
|
|
3327
|
+
# The time when cancellation was requested.
|
|
3328
|
+
sig { params(value: T.nilable(Google::Protobuf::Timestamp)).void }
|
|
3329
|
+
def requested_time=(value)
|
|
3330
|
+
end
|
|
3331
|
+
|
|
3332
|
+
# The time when cancellation was requested.
|
|
3333
|
+
sig { void }
|
|
3334
|
+
def clear_requested_time
|
|
3335
|
+
end
|
|
3336
|
+
|
|
3337
|
+
sig { returns(T.any(Symbol, Integer)) }
|
|
3338
|
+
def state
|
|
3339
|
+
end
|
|
3340
|
+
|
|
3341
|
+
sig { params(value: T.any(Symbol, String, Integer)).void }
|
|
3342
|
+
def state=(value)
|
|
3343
|
+
end
|
|
3344
|
+
|
|
3345
|
+
sig { void }
|
|
3346
|
+
def clear_state
|
|
3347
|
+
end
|
|
3348
|
+
|
|
3349
|
+
# The number of attempts made to deliver the cancel operation request.
|
|
3350
|
+
# This number represents a minimum bound since the attempt is incremented after the request completes.
|
|
3351
|
+
sig { returns(Integer) }
|
|
3352
|
+
def attempt
|
|
3353
|
+
end
|
|
3354
|
+
|
|
3355
|
+
# The number of attempts made to deliver the cancel operation request.
|
|
3356
|
+
# This number represents a minimum bound since the attempt is incremented after the request completes.
|
|
3357
|
+
sig { params(value: Integer).void }
|
|
3358
|
+
def attempt=(value)
|
|
3359
|
+
end
|
|
3360
|
+
|
|
3361
|
+
# The number of attempts made to deliver the cancel operation request.
|
|
3362
|
+
# This number represents a minimum bound since the attempt is incremented after the request completes.
|
|
3363
|
+
sig { void }
|
|
3364
|
+
def clear_attempt
|
|
3365
|
+
end
|
|
3366
|
+
|
|
3367
|
+
# The time when the last attempt completed.
|
|
3368
|
+
sig { returns(T.nilable(Google::Protobuf::Timestamp)) }
|
|
3369
|
+
def last_attempt_complete_time
|
|
3370
|
+
end
|
|
3371
|
+
|
|
3372
|
+
# The time when the last attempt completed.
|
|
3373
|
+
sig { params(value: T.nilable(Google::Protobuf::Timestamp)).void }
|
|
3374
|
+
def last_attempt_complete_time=(value)
|
|
3375
|
+
end
|
|
3376
|
+
|
|
3377
|
+
# The time when the last attempt completed.
|
|
3378
|
+
sig { void }
|
|
3379
|
+
def clear_last_attempt_complete_time
|
|
3380
|
+
end
|
|
3381
|
+
|
|
3382
|
+
# The last attempt's failure, if any.
|
|
3383
|
+
sig { returns(T.nilable(Temporalio::Api::Failure::V1::Failure)) }
|
|
3384
|
+
def last_attempt_failure
|
|
3385
|
+
end
|
|
3386
|
+
|
|
3387
|
+
# The last attempt's failure, if any.
|
|
3388
|
+
sig { params(value: T.nilable(Temporalio::Api::Failure::V1::Failure)).void }
|
|
3389
|
+
def last_attempt_failure=(value)
|
|
3390
|
+
end
|
|
3391
|
+
|
|
3392
|
+
# The last attempt's failure, if any.
|
|
3393
|
+
sig { void }
|
|
3394
|
+
def clear_last_attempt_failure
|
|
3395
|
+
end
|
|
3396
|
+
|
|
3397
|
+
# The time when the next attempt is scheduled.
|
|
3398
|
+
sig { returns(T.nilable(Google::Protobuf::Timestamp)) }
|
|
3399
|
+
def next_attempt_schedule_time
|
|
3400
|
+
end
|
|
3401
|
+
|
|
3402
|
+
# The time when the next attempt is scheduled.
|
|
3403
|
+
sig { params(value: T.nilable(Google::Protobuf::Timestamp)).void }
|
|
3404
|
+
def next_attempt_schedule_time=(value)
|
|
3405
|
+
end
|
|
3406
|
+
|
|
3407
|
+
# The time when the next attempt is scheduled.
|
|
3408
|
+
sig { void }
|
|
3409
|
+
def clear_next_attempt_schedule_time
|
|
3410
|
+
end
|
|
3411
|
+
|
|
3412
|
+
# If the state is BLOCKED, blocked reason provides additional information.
|
|
3413
|
+
sig { returns(String) }
|
|
3414
|
+
def blocked_reason
|
|
3415
|
+
end
|
|
3416
|
+
|
|
3417
|
+
# If the state is BLOCKED, blocked reason provides additional information.
|
|
3418
|
+
sig { params(value: String).void }
|
|
3419
|
+
def blocked_reason=(value)
|
|
3420
|
+
end
|
|
3421
|
+
|
|
3422
|
+
# If the state is BLOCKED, blocked reason provides additional information.
|
|
3423
|
+
sig { void }
|
|
3424
|
+
def clear_blocked_reason
|
|
3425
|
+
end
|
|
3426
|
+
|
|
3427
|
+
sig { params(field: String).returns(T.untyped) }
|
|
3428
|
+
def [](field)
|
|
3429
|
+
end
|
|
3430
|
+
|
|
3431
|
+
sig { params(field: String, value: T.untyped).void }
|
|
3432
|
+
def []=(field, value)
|
|
3433
|
+
end
|
|
3434
|
+
|
|
3435
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
3436
|
+
def to_h
|
|
3437
|
+
end
|
|
3438
|
+
|
|
3439
|
+
sig { params(str: String).returns(Temporalio::Api::Workflow::V1::NexusOperationCancellationInfo) }
|
|
3440
|
+
def self.decode(str)
|
|
3441
|
+
end
|
|
3442
|
+
|
|
3443
|
+
sig { params(msg: Temporalio::Api::Workflow::V1::NexusOperationCancellationInfo).returns(String) }
|
|
3444
|
+
def self.encode(msg)
|
|
3445
|
+
end
|
|
3446
|
+
|
|
3447
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Workflow::V1::NexusOperationCancellationInfo) }
|
|
3448
|
+
def self.decode_json(str, **kw)
|
|
3449
|
+
end
|
|
3450
|
+
|
|
3451
|
+
sig { params(msg: Temporalio::Api::Workflow::V1::NexusOperationCancellationInfo, kw: T.untyped).returns(String) }
|
|
3452
|
+
def self.encode_json(msg, **kw)
|
|
3453
|
+
end
|
|
3454
|
+
|
|
3455
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
3456
|
+
def self.descriptor
|
|
3457
|
+
end
|
|
3458
|
+
end
|
|
3459
|
+
|
|
3460
|
+
class Temporalio::Api::Workflow::V1::WorkflowExecutionOptions
|
|
3461
|
+
include ::Google::Protobuf::MessageExts
|
|
3462
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
3463
|
+
|
|
3464
|
+
sig do
|
|
3465
|
+
params(
|
|
3466
|
+
versioning_override: T.nilable(Temporalio::Api::Workflow::V1::VersioningOverride),
|
|
3467
|
+
priority: T.nilable(Temporalio::Api::Common::V1::Priority),
|
|
3468
|
+
time_skipping_config: T.nilable(Temporalio::Api::Common::V1::TimeSkippingConfig)
|
|
3469
|
+
).void
|
|
3470
|
+
end
|
|
3471
|
+
def initialize(
|
|
3472
|
+
versioning_override: nil,
|
|
3473
|
+
priority: nil,
|
|
3474
|
+
time_skipping_config: nil
|
|
3475
|
+
)
|
|
3476
|
+
end
|
|
3477
|
+
|
|
3478
|
+
# If set, takes precedence over the Versioning Behavior sent by the SDK on Workflow Task completion.
|
|
3479
|
+
sig { returns(T.nilable(Temporalio::Api::Workflow::V1::VersioningOverride)) }
|
|
3480
|
+
def versioning_override
|
|
3481
|
+
end
|
|
3482
|
+
|
|
3483
|
+
# If set, takes precedence over the Versioning Behavior sent by the SDK on Workflow Task completion.
|
|
3484
|
+
sig { params(value: T.nilable(Temporalio::Api::Workflow::V1::VersioningOverride)).void }
|
|
3485
|
+
def versioning_override=(value)
|
|
3486
|
+
end
|
|
3487
|
+
|
|
3488
|
+
# If set, takes precedence over the Versioning Behavior sent by the SDK on Workflow Task completion.
|
|
3489
|
+
sig { void }
|
|
3490
|
+
def clear_versioning_override
|
|
3491
|
+
end
|
|
3492
|
+
|
|
3493
|
+
# If set, overrides the workflow's priority sent by the SDK.
|
|
3494
|
+
sig { returns(T.nilable(Temporalio::Api::Common::V1::Priority)) }
|
|
3495
|
+
def priority
|
|
3496
|
+
end
|
|
3497
|
+
|
|
3498
|
+
# If set, overrides the workflow's priority sent by the SDK.
|
|
3499
|
+
sig { params(value: T.nilable(Temporalio::Api::Common::V1::Priority)).void }
|
|
3500
|
+
def priority=(value)
|
|
3501
|
+
end
|
|
3502
|
+
|
|
3503
|
+
# If set, overrides the workflow's priority sent by the SDK.
|
|
3504
|
+
sig { void }
|
|
3505
|
+
def clear_priority
|
|
3506
|
+
end
|
|
3507
|
+
|
|
3508
|
+
# The time-skipping configuration for this workflow execution.
|
|
3509
|
+
# When `fast_forward` is set, time will be fast-forwarded to a future point relative
|
|
3510
|
+
# to the current workflow timestamp. Each call takes effect, even if
|
|
3511
|
+
# `fast_forward` is set to the same duration, since the target time is recalculated
|
|
3512
|
+
# from the current timestamp on every call.
|
|
3513
|
+
#
|
|
3514
|
+
# This field must be updated as a whole; updating individual sub-fields is not supported.
|
|
3515
|
+
# When setting the update mask in `UpdateWorkflowExecutionOptionsRequest`,
|
|
3516
|
+
# `BatchOperationUpdateWorkflowExecutionOptions`, etc., use a mask that covers the entire field.
|
|
3517
|
+
sig { returns(T.nilable(Temporalio::Api::Common::V1::TimeSkippingConfig)) }
|
|
3518
|
+
def time_skipping_config
|
|
3519
|
+
end
|
|
3520
|
+
|
|
3521
|
+
# The time-skipping configuration for this workflow execution.
|
|
3522
|
+
# When `fast_forward` is set, time will be fast-forwarded to a future point relative
|
|
3523
|
+
# to the current workflow timestamp. Each call takes effect, even if
|
|
3524
|
+
# `fast_forward` is set to the same duration, since the target time is recalculated
|
|
3525
|
+
# from the current timestamp on every call.
|
|
3526
|
+
#
|
|
3527
|
+
# This field must be updated as a whole; updating individual sub-fields is not supported.
|
|
3528
|
+
# When setting the update mask in `UpdateWorkflowExecutionOptionsRequest`,
|
|
3529
|
+
# `BatchOperationUpdateWorkflowExecutionOptions`, etc., use a mask that covers the entire field.
|
|
3530
|
+
sig { params(value: T.nilable(Temporalio::Api::Common::V1::TimeSkippingConfig)).void }
|
|
3531
|
+
def time_skipping_config=(value)
|
|
3532
|
+
end
|
|
3533
|
+
|
|
3534
|
+
# The time-skipping configuration for this workflow execution.
|
|
3535
|
+
# When `fast_forward` is set, time will be fast-forwarded to a future point relative
|
|
3536
|
+
# to the current workflow timestamp. Each call takes effect, even if
|
|
3537
|
+
# `fast_forward` is set to the same duration, since the target time is recalculated
|
|
3538
|
+
# from the current timestamp on every call.
|
|
3539
|
+
#
|
|
3540
|
+
# This field must be updated as a whole; updating individual sub-fields is not supported.
|
|
3541
|
+
# When setting the update mask in `UpdateWorkflowExecutionOptionsRequest`,
|
|
3542
|
+
# `BatchOperationUpdateWorkflowExecutionOptions`, etc., use a mask that covers the entire field.
|
|
3543
|
+
sig { void }
|
|
3544
|
+
def clear_time_skipping_config
|
|
3545
|
+
end
|
|
3546
|
+
|
|
3547
|
+
sig { params(field: String).returns(T.untyped) }
|
|
3548
|
+
def [](field)
|
|
3549
|
+
end
|
|
3550
|
+
|
|
3551
|
+
sig { params(field: String, value: T.untyped).void }
|
|
3552
|
+
def []=(field, value)
|
|
3553
|
+
end
|
|
3554
|
+
|
|
3555
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
3556
|
+
def to_h
|
|
3557
|
+
end
|
|
3558
|
+
|
|
3559
|
+
sig { params(str: String).returns(Temporalio::Api::Workflow::V1::WorkflowExecutionOptions) }
|
|
3560
|
+
def self.decode(str)
|
|
3561
|
+
end
|
|
3562
|
+
|
|
3563
|
+
sig { params(msg: Temporalio::Api::Workflow::V1::WorkflowExecutionOptions).returns(String) }
|
|
3564
|
+
def self.encode(msg)
|
|
3565
|
+
end
|
|
3566
|
+
|
|
3567
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Workflow::V1::WorkflowExecutionOptions) }
|
|
3568
|
+
def self.decode_json(str, **kw)
|
|
3569
|
+
end
|
|
3570
|
+
|
|
3571
|
+
sig { params(msg: Temporalio::Api::Workflow::V1::WorkflowExecutionOptions, kw: T.untyped).returns(String) }
|
|
3572
|
+
def self.encode_json(msg, **kw)
|
|
3573
|
+
end
|
|
3574
|
+
|
|
3575
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
3576
|
+
def self.descriptor
|
|
3577
|
+
end
|
|
3578
|
+
end
|
|
3579
|
+
|
|
3580
|
+
# Used to override the versioning behavior (and pinned deployment version, if applicable) of a
|
|
3581
|
+
# specific workflow execution. If set, this override takes precedence over worker-sent values.
|
|
3582
|
+
# See `WorkflowExecutionInfo.VersioningInfo` for more information.
|
|
3583
|
+
#
|
|
3584
|
+
# To remove the override, call `UpdateWorkflowExecutionOptions` with a null
|
|
3585
|
+
# `VersioningOverride`, and use the `update_mask` to indicate that it should be mutated.
|
|
3586
|
+
#
|
|
3587
|
+
# Pinned behavior overrides are automatically inherited by child workflows, workflow retries, continue-as-new
|
|
3588
|
+
# workflows, and cron workflows.
|
|
3589
|
+
class Temporalio::Api::Workflow::V1::VersioningOverride
|
|
3590
|
+
include ::Google::Protobuf::MessageExts
|
|
3591
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
3592
|
+
|
|
3593
|
+
sig do
|
|
3594
|
+
params(
|
|
3595
|
+
pinned: T.nilable(Temporalio::Api::Workflow::V1::VersioningOverride::PinnedOverride),
|
|
3596
|
+
auto_upgrade: T.nilable(T::Boolean),
|
|
3597
|
+
one_time: T.nilable(Temporalio::Api::Workflow::V1::VersioningOverride::OneTimeOverride),
|
|
3598
|
+
behavior: T.nilable(T.any(Symbol, String, Integer)),
|
|
3599
|
+
deployment: T.nilable(Temporalio::Api::Deployment::V1::Deployment),
|
|
3600
|
+
pinned_version: T.nilable(String)
|
|
3601
|
+
).void
|
|
3602
|
+
end
|
|
3603
|
+
def initialize(
|
|
3604
|
+
pinned: nil,
|
|
3605
|
+
auto_upgrade: false,
|
|
3606
|
+
one_time: nil,
|
|
3607
|
+
behavior: :VERSIONING_BEHAVIOR_UNSPECIFIED,
|
|
3608
|
+
deployment: nil,
|
|
3609
|
+
pinned_version: ""
|
|
3610
|
+
)
|
|
3611
|
+
end
|
|
3612
|
+
|
|
3613
|
+
# Override the workflow to have Pinned behavior. This is a sticky override:
|
|
3614
|
+
# Workflow Tasks continue to route according to this override until it is
|
|
3615
|
+
# explicitly removed.
|
|
3616
|
+
sig { returns(T.nilable(Temporalio::Api::Workflow::V1::VersioningOverride::PinnedOverride)) }
|
|
3617
|
+
def pinned
|
|
3618
|
+
end
|
|
3619
|
+
|
|
3620
|
+
# Override the workflow to have Pinned behavior. This is a sticky override:
|
|
3621
|
+
# Workflow Tasks continue to route according to this override until it is
|
|
3622
|
+
# explicitly removed.
|
|
3623
|
+
sig { params(value: T.nilable(Temporalio::Api::Workflow::V1::VersioningOverride::PinnedOverride)).void }
|
|
3624
|
+
def pinned=(value)
|
|
3625
|
+
end
|
|
3626
|
+
|
|
3627
|
+
# Override the workflow to have Pinned behavior. This is a sticky override:
|
|
3628
|
+
# Workflow Tasks continue to route according to this override until it is
|
|
3629
|
+
# explicitly removed.
|
|
3630
|
+
sig { void }
|
|
3631
|
+
def clear_pinned
|
|
3632
|
+
end
|
|
3633
|
+
|
|
3634
|
+
# Override the workflow to have AutoUpgrade behavior.
|
|
3635
|
+
sig { returns(T::Boolean) }
|
|
3636
|
+
def auto_upgrade
|
|
3637
|
+
end
|
|
3638
|
+
|
|
3639
|
+
# Override the workflow to have AutoUpgrade behavior.
|
|
3640
|
+
sig { params(value: T::Boolean).void }
|
|
3641
|
+
def auto_upgrade=(value)
|
|
3642
|
+
end
|
|
3643
|
+
|
|
3644
|
+
# Override the workflow to have AutoUpgrade behavior.
|
|
3645
|
+
sig { void }
|
|
3646
|
+
def clear_auto_upgrade
|
|
3647
|
+
end
|
|
3648
|
+
|
|
3649
|
+
# Override Workflow Task routing to a specific Worker Deployment Version until
|
|
3650
|
+
# one Workflow Task completes there. After completion, the workflow execution's
|
|
3651
|
+
# Versioning Behavior and Deployment Version come from the worker's completion
|
|
3652
|
+
# response.
|
|
3653
|
+
# (-- api-linter: core::0142::time-field-type=disabled
|
|
3654
|
+
# aip.dev/not-precedent: one_time describes one-time routing semantics, not a timestamp or duration. --)
|
|
3655
|
+
sig { returns(T.nilable(Temporalio::Api::Workflow::V1::VersioningOverride::OneTimeOverride)) }
|
|
3656
|
+
def one_time
|
|
3657
|
+
end
|
|
3658
|
+
|
|
3659
|
+
# Override Workflow Task routing to a specific Worker Deployment Version until
|
|
3660
|
+
# one Workflow Task completes there. After completion, the workflow execution's
|
|
3661
|
+
# Versioning Behavior and Deployment Version come from the worker's completion
|
|
3662
|
+
# response.
|
|
3663
|
+
# (-- api-linter: core::0142::time-field-type=disabled
|
|
3664
|
+
# aip.dev/not-precedent: one_time describes one-time routing semantics, not a timestamp or duration. --)
|
|
3665
|
+
sig { params(value: T.nilable(Temporalio::Api::Workflow::V1::VersioningOverride::OneTimeOverride)).void }
|
|
3666
|
+
def one_time=(value)
|
|
3667
|
+
end
|
|
3668
|
+
|
|
3669
|
+
# Override Workflow Task routing to a specific Worker Deployment Version until
|
|
3670
|
+
# one Workflow Task completes there. After completion, the workflow execution's
|
|
3671
|
+
# Versioning Behavior and Deployment Version come from the worker's completion
|
|
3672
|
+
# response.
|
|
3673
|
+
# (-- api-linter: core::0142::time-field-type=disabled
|
|
3674
|
+
# aip.dev/not-precedent: one_time describes one-time routing semantics, not a timestamp or duration. --)
|
|
3675
|
+
sig { void }
|
|
3676
|
+
def clear_one_time
|
|
3677
|
+
end
|
|
3678
|
+
|
|
3679
|
+
# Required.
|
|
3680
|
+
# Deprecated. Use `override`.
|
|
3681
|
+
sig { returns(T.any(Symbol, Integer)) }
|
|
3682
|
+
def behavior
|
|
3683
|
+
end
|
|
3684
|
+
|
|
3685
|
+
# Required.
|
|
3686
|
+
# Deprecated. Use `override`.
|
|
3687
|
+
sig { params(value: T.any(Symbol, String, Integer)).void }
|
|
3688
|
+
def behavior=(value)
|
|
3689
|
+
end
|
|
3690
|
+
|
|
3691
|
+
# Required.
|
|
3692
|
+
# Deprecated. Use `override`.
|
|
3693
|
+
sig { void }
|
|
3694
|
+
def clear_behavior
|
|
3695
|
+
end
|
|
3696
|
+
|
|
3697
|
+
# Required if behavior is `PINNED`. Must be null if behavior is `AUTO_UPGRADE`.
|
|
3698
|
+
# Identifies the worker deployment to pin the workflow to.
|
|
3699
|
+
# Deprecated. Use `override.pinned.version`.
|
|
3700
|
+
sig { returns(T.nilable(Temporalio::Api::Deployment::V1::Deployment)) }
|
|
3701
|
+
def deployment
|
|
3702
|
+
end
|
|
3703
|
+
|
|
3704
|
+
# Required if behavior is `PINNED`. Must be null if behavior is `AUTO_UPGRADE`.
|
|
3705
|
+
# Identifies the worker deployment to pin the workflow to.
|
|
3706
|
+
# Deprecated. Use `override.pinned.version`.
|
|
3707
|
+
sig { params(value: T.nilable(Temporalio::Api::Deployment::V1::Deployment)).void }
|
|
3708
|
+
def deployment=(value)
|
|
3709
|
+
end
|
|
3710
|
+
|
|
3711
|
+
# Required if behavior is `PINNED`. Must be null if behavior is `AUTO_UPGRADE`.
|
|
3712
|
+
# Identifies the worker deployment to pin the workflow to.
|
|
3713
|
+
# Deprecated. Use `override.pinned.version`.
|
|
3714
|
+
sig { void }
|
|
3715
|
+
def clear_deployment
|
|
3716
|
+
end
|
|
3717
|
+
|
|
3718
|
+
# Required if behavior is `PINNED`. Must be absent if behavior is not `PINNED`.
|
|
3719
|
+
# Identifies the worker deployment version to pin the workflow to, in the format
|
|
3720
|
+
# "<deployment_name>.<build_id>".
|
|
3721
|
+
# Deprecated. Use `override.pinned.version`.
|
|
3722
|
+
sig { returns(String) }
|
|
3723
|
+
def pinned_version
|
|
3724
|
+
end
|
|
3725
|
+
|
|
3726
|
+
# Required if behavior is `PINNED`. Must be absent if behavior is not `PINNED`.
|
|
3727
|
+
# Identifies the worker deployment version to pin the workflow to, in the format
|
|
3728
|
+
# "<deployment_name>.<build_id>".
|
|
3729
|
+
# Deprecated. Use `override.pinned.version`.
|
|
3730
|
+
sig { params(value: String).void }
|
|
3731
|
+
def pinned_version=(value)
|
|
3732
|
+
end
|
|
3733
|
+
|
|
3734
|
+
# Required if behavior is `PINNED`. Must be absent if behavior is not `PINNED`.
|
|
3735
|
+
# Identifies the worker deployment version to pin the workflow to, in the format
|
|
3736
|
+
# "<deployment_name>.<build_id>".
|
|
3737
|
+
# Deprecated. Use `override.pinned.version`.
|
|
3738
|
+
sig { void }
|
|
3739
|
+
def clear_pinned_version
|
|
3740
|
+
end
|
|
3741
|
+
|
|
3742
|
+
sig { returns(T.nilable(Symbol)) }
|
|
3743
|
+
def override
|
|
3744
|
+
end
|
|
3745
|
+
|
|
3746
|
+
sig { params(field: String).returns(T.untyped) }
|
|
3747
|
+
def [](field)
|
|
3748
|
+
end
|
|
3749
|
+
|
|
3750
|
+
sig { params(field: String, value: T.untyped).void }
|
|
3751
|
+
def []=(field, value)
|
|
3752
|
+
end
|
|
3753
|
+
|
|
3754
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
3755
|
+
def to_h
|
|
3756
|
+
end
|
|
3757
|
+
|
|
3758
|
+
sig { params(str: String).returns(Temporalio::Api::Workflow::V1::VersioningOverride) }
|
|
3759
|
+
def self.decode(str)
|
|
3760
|
+
end
|
|
3761
|
+
|
|
3762
|
+
sig { params(msg: Temporalio::Api::Workflow::V1::VersioningOverride).returns(String) }
|
|
3763
|
+
def self.encode(msg)
|
|
3764
|
+
end
|
|
3765
|
+
|
|
3766
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Workflow::V1::VersioningOverride) }
|
|
3767
|
+
def self.decode_json(str, **kw)
|
|
3768
|
+
end
|
|
3769
|
+
|
|
3770
|
+
sig { params(msg: Temporalio::Api::Workflow::V1::VersioningOverride, kw: T.untyped).returns(String) }
|
|
3771
|
+
def self.encode_json(msg, **kw)
|
|
3772
|
+
end
|
|
3773
|
+
|
|
3774
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
3775
|
+
def self.descriptor
|
|
3776
|
+
end
|
|
3777
|
+
end
|
|
3778
|
+
|
|
3779
|
+
# When StartWorkflowExecution uses the conflict policy WORKFLOW_ID_CONFLICT_POLICY_USE_EXISTING and
|
|
3780
|
+
# there is already an existing running workflow, OnConflictOptions defines actions to be taken on
|
|
3781
|
+
# the existing running workflow. In this case, it will create a WorkflowExecutionOptionsUpdatedEvent
|
|
3782
|
+
# history event in the running workflow with the changes requested in this object.
|
|
3783
|
+
class Temporalio::Api::Workflow::V1::OnConflictOptions
|
|
3784
|
+
include ::Google::Protobuf::MessageExts
|
|
3785
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
3786
|
+
|
|
3787
|
+
sig do
|
|
3788
|
+
params(
|
|
3789
|
+
attach_request_id: T.nilable(T::Boolean),
|
|
3790
|
+
attach_completion_callbacks: T.nilable(T::Boolean),
|
|
3791
|
+
attach_links: T.nilable(T::Boolean)
|
|
3792
|
+
).void
|
|
3793
|
+
end
|
|
3794
|
+
def initialize(
|
|
3795
|
+
attach_request_id: false,
|
|
3796
|
+
attach_completion_callbacks: false,
|
|
3797
|
+
attach_links: false
|
|
3798
|
+
)
|
|
3799
|
+
end
|
|
3800
|
+
|
|
3801
|
+
# Attaches the request ID to the running workflow.
|
|
3802
|
+
sig { returns(T::Boolean) }
|
|
3803
|
+
def attach_request_id
|
|
3804
|
+
end
|
|
3805
|
+
|
|
3806
|
+
# Attaches the request ID to the running workflow.
|
|
3807
|
+
sig { params(value: T::Boolean).void }
|
|
3808
|
+
def attach_request_id=(value)
|
|
3809
|
+
end
|
|
3810
|
+
|
|
3811
|
+
# Attaches the request ID to the running workflow.
|
|
3812
|
+
sig { void }
|
|
3813
|
+
def clear_attach_request_id
|
|
3814
|
+
end
|
|
3815
|
+
|
|
3816
|
+
# Attaches the completion callbacks to the running workflow.
|
|
3817
|
+
sig { returns(T::Boolean) }
|
|
3818
|
+
def attach_completion_callbacks
|
|
3819
|
+
end
|
|
3820
|
+
|
|
3821
|
+
# Attaches the completion callbacks to the running workflow.
|
|
3822
|
+
sig { params(value: T::Boolean).void }
|
|
3823
|
+
def attach_completion_callbacks=(value)
|
|
3824
|
+
end
|
|
3825
|
+
|
|
3826
|
+
# Attaches the completion callbacks to the running workflow.
|
|
3827
|
+
sig { void }
|
|
3828
|
+
def clear_attach_completion_callbacks
|
|
3829
|
+
end
|
|
3830
|
+
|
|
3831
|
+
# Attaches the links to the WorkflowExecutionOptionsUpdatedEvent history event.
|
|
3832
|
+
sig { returns(T::Boolean) }
|
|
3833
|
+
def attach_links
|
|
3834
|
+
end
|
|
3835
|
+
|
|
3836
|
+
# Attaches the links to the WorkflowExecutionOptionsUpdatedEvent history event.
|
|
3837
|
+
sig { params(value: T::Boolean).void }
|
|
3838
|
+
def attach_links=(value)
|
|
3839
|
+
end
|
|
3840
|
+
|
|
3841
|
+
# Attaches the links to the WorkflowExecutionOptionsUpdatedEvent history event.
|
|
3842
|
+
sig { void }
|
|
3843
|
+
def clear_attach_links
|
|
3844
|
+
end
|
|
3845
|
+
|
|
3846
|
+
sig { params(field: String).returns(T.untyped) }
|
|
3847
|
+
def [](field)
|
|
3848
|
+
end
|
|
3849
|
+
|
|
3850
|
+
sig { params(field: String, value: T.untyped).void }
|
|
3851
|
+
def []=(field, value)
|
|
3852
|
+
end
|
|
3853
|
+
|
|
3854
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
3855
|
+
def to_h
|
|
3856
|
+
end
|
|
3857
|
+
|
|
3858
|
+
sig { params(str: String).returns(Temporalio::Api::Workflow::V1::OnConflictOptions) }
|
|
3859
|
+
def self.decode(str)
|
|
3860
|
+
end
|
|
3861
|
+
|
|
3862
|
+
sig { params(msg: Temporalio::Api::Workflow::V1::OnConflictOptions).returns(String) }
|
|
3863
|
+
def self.encode(msg)
|
|
3864
|
+
end
|
|
3865
|
+
|
|
3866
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Workflow::V1::OnConflictOptions) }
|
|
3867
|
+
def self.decode_json(str, **kw)
|
|
3868
|
+
end
|
|
3869
|
+
|
|
3870
|
+
sig { params(msg: Temporalio::Api::Workflow::V1::OnConflictOptions, kw: T.untyped).returns(String) }
|
|
3871
|
+
def self.encode_json(msg, **kw)
|
|
3872
|
+
end
|
|
3873
|
+
|
|
3874
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
3875
|
+
def self.descriptor
|
|
3876
|
+
end
|
|
3877
|
+
end
|
|
3878
|
+
|
|
3879
|
+
# RequestIdInfo contains details of a request ID.
|
|
3880
|
+
class Temporalio::Api::Workflow::V1::RequestIdInfo
|
|
3881
|
+
include ::Google::Protobuf::MessageExts
|
|
3882
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
3883
|
+
|
|
3884
|
+
sig do
|
|
3885
|
+
params(
|
|
3886
|
+
event_type: T.nilable(T.any(Symbol, String, Integer)),
|
|
3887
|
+
event_id: T.nilable(Integer),
|
|
3888
|
+
buffered: T.nilable(T::Boolean)
|
|
3889
|
+
).void
|
|
3890
|
+
end
|
|
3891
|
+
def initialize(
|
|
3892
|
+
event_type: :EVENT_TYPE_UNSPECIFIED,
|
|
3893
|
+
event_id: 0,
|
|
3894
|
+
buffered: false
|
|
3895
|
+
)
|
|
3896
|
+
end
|
|
3897
|
+
|
|
3898
|
+
# The event type of the history event generated by the request.
|
|
3899
|
+
sig { returns(T.any(Symbol, Integer)) }
|
|
3900
|
+
def event_type
|
|
3901
|
+
end
|
|
3902
|
+
|
|
3903
|
+
# The event type of the history event generated by the request.
|
|
3904
|
+
sig { params(value: T.any(Symbol, String, Integer)).void }
|
|
3905
|
+
def event_type=(value)
|
|
3906
|
+
end
|
|
3907
|
+
|
|
3908
|
+
# The event type of the history event generated by the request.
|
|
3909
|
+
sig { void }
|
|
3910
|
+
def clear_event_type
|
|
3911
|
+
end
|
|
3912
|
+
|
|
3913
|
+
# The event id of the history event generated by the request. It's possible the event ID is not
|
|
3914
|
+
# known (unflushed buffered event). In this case, the value will be zero or a negative value,
|
|
3915
|
+
# representing an invalid ID.
|
|
3916
|
+
sig { returns(Integer) }
|
|
3917
|
+
def event_id
|
|
3918
|
+
end
|
|
3919
|
+
|
|
3920
|
+
# The event id of the history event generated by the request. It's possible the event ID is not
|
|
3921
|
+
# known (unflushed buffered event). In this case, the value will be zero or a negative value,
|
|
3922
|
+
# representing an invalid ID.
|
|
3923
|
+
sig { params(value: Integer).void }
|
|
3924
|
+
def event_id=(value)
|
|
3925
|
+
end
|
|
3926
|
+
|
|
3927
|
+
# The event id of the history event generated by the request. It's possible the event ID is not
|
|
3928
|
+
# known (unflushed buffered event). In this case, the value will be zero or a negative value,
|
|
3929
|
+
# representing an invalid ID.
|
|
3930
|
+
sig { void }
|
|
3931
|
+
def clear_event_id
|
|
3932
|
+
end
|
|
3933
|
+
|
|
3934
|
+
# Indicate if the request is still buffered. If so, the event ID is not known and its value
|
|
3935
|
+
# will be an invalid event ID.
|
|
3936
|
+
sig { returns(T::Boolean) }
|
|
3937
|
+
def buffered
|
|
3938
|
+
end
|
|
3939
|
+
|
|
3940
|
+
# Indicate if the request is still buffered. If so, the event ID is not known and its value
|
|
3941
|
+
# will be an invalid event ID.
|
|
3942
|
+
sig { params(value: T::Boolean).void }
|
|
3943
|
+
def buffered=(value)
|
|
3944
|
+
end
|
|
3945
|
+
|
|
3946
|
+
# Indicate if the request is still buffered. If so, the event ID is not known and its value
|
|
3947
|
+
# will be an invalid event ID.
|
|
3948
|
+
sig { void }
|
|
3949
|
+
def clear_buffered
|
|
3950
|
+
end
|
|
3951
|
+
|
|
3952
|
+
sig { params(field: String).returns(T.untyped) }
|
|
3953
|
+
def [](field)
|
|
3954
|
+
end
|
|
3955
|
+
|
|
3956
|
+
sig { params(field: String, value: T.untyped).void }
|
|
3957
|
+
def []=(field, value)
|
|
3958
|
+
end
|
|
3959
|
+
|
|
3960
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
3961
|
+
def to_h
|
|
3962
|
+
end
|
|
3963
|
+
|
|
3964
|
+
sig { params(str: String).returns(Temporalio::Api::Workflow::V1::RequestIdInfo) }
|
|
3965
|
+
def self.decode(str)
|
|
3966
|
+
end
|
|
3967
|
+
|
|
3968
|
+
sig { params(msg: Temporalio::Api::Workflow::V1::RequestIdInfo).returns(String) }
|
|
3969
|
+
def self.encode(msg)
|
|
3970
|
+
end
|
|
3971
|
+
|
|
3972
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Workflow::V1::RequestIdInfo) }
|
|
3973
|
+
def self.decode_json(str, **kw)
|
|
3974
|
+
end
|
|
3975
|
+
|
|
3976
|
+
sig { params(msg: Temporalio::Api::Workflow::V1::RequestIdInfo, kw: T.untyped).returns(String) }
|
|
3977
|
+
def self.encode_json(msg, **kw)
|
|
3978
|
+
end
|
|
3979
|
+
|
|
3980
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
3981
|
+
def self.descriptor
|
|
3982
|
+
end
|
|
3983
|
+
end
|
|
3984
|
+
|
|
3985
|
+
# PostResetOperation represents an operation to be performed on the new workflow execution after a workflow reset.
|
|
3986
|
+
class Temporalio::Api::Workflow::V1::PostResetOperation
|
|
3987
|
+
include ::Google::Protobuf::MessageExts
|
|
3988
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
3989
|
+
|
|
3990
|
+
sig do
|
|
3991
|
+
params(
|
|
3992
|
+
signal_workflow: T.nilable(Temporalio::Api::Workflow::V1::PostResetOperation::SignalWorkflow),
|
|
3993
|
+
update_workflow_options: T.nilable(Temporalio::Api::Workflow::V1::PostResetOperation::UpdateWorkflowOptions)
|
|
3994
|
+
).void
|
|
3995
|
+
end
|
|
3996
|
+
def initialize(
|
|
3997
|
+
signal_workflow: nil,
|
|
3998
|
+
update_workflow_options: nil
|
|
3999
|
+
)
|
|
4000
|
+
end
|
|
4001
|
+
|
|
4002
|
+
sig { returns(T.nilable(Temporalio::Api::Workflow::V1::PostResetOperation::SignalWorkflow)) }
|
|
4003
|
+
def signal_workflow
|
|
4004
|
+
end
|
|
4005
|
+
|
|
4006
|
+
sig { params(value: T.nilable(Temporalio::Api::Workflow::V1::PostResetOperation::SignalWorkflow)).void }
|
|
4007
|
+
def signal_workflow=(value)
|
|
4008
|
+
end
|
|
4009
|
+
|
|
4010
|
+
sig { void }
|
|
4011
|
+
def clear_signal_workflow
|
|
4012
|
+
end
|
|
4013
|
+
|
|
4014
|
+
sig { returns(T.nilable(Temporalio::Api::Workflow::V1::PostResetOperation::UpdateWorkflowOptions)) }
|
|
4015
|
+
def update_workflow_options
|
|
4016
|
+
end
|
|
4017
|
+
|
|
4018
|
+
sig { params(value: T.nilable(Temporalio::Api::Workflow::V1::PostResetOperation::UpdateWorkflowOptions)).void }
|
|
4019
|
+
def update_workflow_options=(value)
|
|
4020
|
+
end
|
|
4021
|
+
|
|
4022
|
+
sig { void }
|
|
4023
|
+
def clear_update_workflow_options
|
|
4024
|
+
end
|
|
4025
|
+
|
|
4026
|
+
sig { returns(T.nilable(Symbol)) }
|
|
4027
|
+
def variant
|
|
4028
|
+
end
|
|
4029
|
+
|
|
4030
|
+
sig { params(field: String).returns(T.untyped) }
|
|
4031
|
+
def [](field)
|
|
4032
|
+
end
|
|
4033
|
+
|
|
4034
|
+
sig { params(field: String, value: T.untyped).void }
|
|
4035
|
+
def []=(field, value)
|
|
4036
|
+
end
|
|
4037
|
+
|
|
4038
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
4039
|
+
def to_h
|
|
4040
|
+
end
|
|
4041
|
+
|
|
4042
|
+
sig { params(str: String).returns(Temporalio::Api::Workflow::V1::PostResetOperation) }
|
|
4043
|
+
def self.decode(str)
|
|
4044
|
+
end
|
|
4045
|
+
|
|
4046
|
+
sig { params(msg: Temporalio::Api::Workflow::V1::PostResetOperation).returns(String) }
|
|
4047
|
+
def self.encode(msg)
|
|
4048
|
+
end
|
|
4049
|
+
|
|
4050
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Workflow::V1::PostResetOperation) }
|
|
4051
|
+
def self.decode_json(str, **kw)
|
|
4052
|
+
end
|
|
4053
|
+
|
|
4054
|
+
sig { params(msg: Temporalio::Api::Workflow::V1::PostResetOperation, kw: T.untyped).returns(String) }
|
|
4055
|
+
def self.encode_json(msg, **kw)
|
|
4056
|
+
end
|
|
4057
|
+
|
|
4058
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
4059
|
+
def self.descriptor
|
|
4060
|
+
end
|
|
4061
|
+
end
|
|
4062
|
+
|
|
4063
|
+
# WorkflowExecutionPauseInfo contains the information about a workflow execution pause.
|
|
4064
|
+
class Temporalio::Api::Workflow::V1::WorkflowExecutionPauseInfo
|
|
4065
|
+
include ::Google::Protobuf::MessageExts
|
|
4066
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
4067
|
+
|
|
4068
|
+
sig do
|
|
4069
|
+
params(
|
|
4070
|
+
identity: T.nilable(String),
|
|
4071
|
+
paused_time: T.nilable(Google::Protobuf::Timestamp),
|
|
4072
|
+
reason: T.nilable(String)
|
|
4073
|
+
).void
|
|
4074
|
+
end
|
|
4075
|
+
def initialize(
|
|
4076
|
+
identity: "",
|
|
4077
|
+
paused_time: nil,
|
|
4078
|
+
reason: ""
|
|
4079
|
+
)
|
|
4080
|
+
end
|
|
4081
|
+
|
|
4082
|
+
# The identity of the client who paused the workflow execution.
|
|
4083
|
+
sig { returns(String) }
|
|
4084
|
+
def identity
|
|
4085
|
+
end
|
|
4086
|
+
|
|
4087
|
+
# The identity of the client who paused the workflow execution.
|
|
4088
|
+
sig { params(value: String).void }
|
|
4089
|
+
def identity=(value)
|
|
4090
|
+
end
|
|
4091
|
+
|
|
4092
|
+
# The identity of the client who paused the workflow execution.
|
|
4093
|
+
sig { void }
|
|
4094
|
+
def clear_identity
|
|
4095
|
+
end
|
|
4096
|
+
|
|
4097
|
+
# The time when the workflow execution was paused.
|
|
4098
|
+
sig { returns(T.nilable(Google::Protobuf::Timestamp)) }
|
|
4099
|
+
def paused_time
|
|
4100
|
+
end
|
|
4101
|
+
|
|
4102
|
+
# The time when the workflow execution was paused.
|
|
4103
|
+
sig { params(value: T.nilable(Google::Protobuf::Timestamp)).void }
|
|
4104
|
+
def paused_time=(value)
|
|
4105
|
+
end
|
|
4106
|
+
|
|
4107
|
+
# The time when the workflow execution was paused.
|
|
4108
|
+
sig { void }
|
|
4109
|
+
def clear_paused_time
|
|
4110
|
+
end
|
|
4111
|
+
|
|
4112
|
+
# The reason for pausing the workflow execution.
|
|
4113
|
+
sig { returns(String) }
|
|
4114
|
+
def reason
|
|
4115
|
+
end
|
|
4116
|
+
|
|
4117
|
+
# The reason for pausing the workflow execution.
|
|
4118
|
+
sig { params(value: String).void }
|
|
4119
|
+
def reason=(value)
|
|
4120
|
+
end
|
|
4121
|
+
|
|
4122
|
+
# The reason for pausing the workflow execution.
|
|
4123
|
+
sig { void }
|
|
4124
|
+
def clear_reason
|
|
4125
|
+
end
|
|
4126
|
+
|
|
4127
|
+
sig { params(field: String).returns(T.untyped) }
|
|
4128
|
+
def [](field)
|
|
4129
|
+
end
|
|
4130
|
+
|
|
4131
|
+
sig { params(field: String, value: T.untyped).void }
|
|
4132
|
+
def []=(field, value)
|
|
4133
|
+
end
|
|
4134
|
+
|
|
4135
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
4136
|
+
def to_h
|
|
4137
|
+
end
|
|
4138
|
+
|
|
4139
|
+
sig { params(str: String).returns(Temporalio::Api::Workflow::V1::WorkflowExecutionPauseInfo) }
|
|
4140
|
+
def self.decode(str)
|
|
4141
|
+
end
|
|
4142
|
+
|
|
4143
|
+
sig { params(msg: Temporalio::Api::Workflow::V1::WorkflowExecutionPauseInfo).returns(String) }
|
|
4144
|
+
def self.encode(msg)
|
|
4145
|
+
end
|
|
4146
|
+
|
|
4147
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Workflow::V1::WorkflowExecutionPauseInfo) }
|
|
4148
|
+
def self.decode_json(str, **kw)
|
|
4149
|
+
end
|
|
4150
|
+
|
|
4151
|
+
sig { params(msg: Temporalio::Api::Workflow::V1::WorkflowExecutionPauseInfo, kw: T.untyped).returns(String) }
|
|
4152
|
+
def self.encode_json(msg, **kw)
|
|
4153
|
+
end
|
|
4154
|
+
|
|
4155
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
4156
|
+
def self.descriptor
|
|
4157
|
+
end
|
|
4158
|
+
end
|
|
4159
|
+
|
|
4160
|
+
class Temporalio::Api::Workflow::V1::PendingActivityInfo::PauseInfo
|
|
4161
|
+
include ::Google::Protobuf::MessageExts
|
|
4162
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
4163
|
+
|
|
4164
|
+
sig do
|
|
4165
|
+
params(
|
|
4166
|
+
pause_time: T.nilable(Google::Protobuf::Timestamp),
|
|
4167
|
+
manual: T.nilable(Temporalio::Api::Workflow::V1::PendingActivityInfo::PauseInfo::Manual),
|
|
4168
|
+
rule: T.nilable(Temporalio::Api::Workflow::V1::PendingActivityInfo::PauseInfo::Rule)
|
|
4169
|
+
).void
|
|
4170
|
+
end
|
|
4171
|
+
def initialize(
|
|
4172
|
+
pause_time: nil,
|
|
4173
|
+
manual: nil,
|
|
4174
|
+
rule: nil
|
|
4175
|
+
)
|
|
4176
|
+
end
|
|
4177
|
+
|
|
4178
|
+
# The time when the activity was paused.
|
|
4179
|
+
sig { returns(T.nilable(Google::Protobuf::Timestamp)) }
|
|
4180
|
+
def pause_time
|
|
4181
|
+
end
|
|
4182
|
+
|
|
4183
|
+
# The time when the activity was paused.
|
|
4184
|
+
sig { params(value: T.nilable(Google::Protobuf::Timestamp)).void }
|
|
4185
|
+
def pause_time=(value)
|
|
4186
|
+
end
|
|
4187
|
+
|
|
4188
|
+
# The time when the activity was paused.
|
|
4189
|
+
sig { void }
|
|
4190
|
+
def clear_pause_time
|
|
4191
|
+
end
|
|
4192
|
+
|
|
4193
|
+
# activity was paused by the manual intervention
|
|
4194
|
+
sig { returns(T.nilable(Temporalio::Api::Workflow::V1::PendingActivityInfo::PauseInfo::Manual)) }
|
|
4195
|
+
def manual
|
|
4196
|
+
end
|
|
4197
|
+
|
|
4198
|
+
# activity was paused by the manual intervention
|
|
4199
|
+
sig { params(value: T.nilable(Temporalio::Api::Workflow::V1::PendingActivityInfo::PauseInfo::Manual)).void }
|
|
4200
|
+
def manual=(value)
|
|
4201
|
+
end
|
|
4202
|
+
|
|
4203
|
+
# activity was paused by the manual intervention
|
|
4204
|
+
sig { void }
|
|
4205
|
+
def clear_manual
|
|
4206
|
+
end
|
|
4207
|
+
|
|
4208
|
+
# activity was paused by the rule
|
|
4209
|
+
sig { returns(T.nilable(Temporalio::Api::Workflow::V1::PendingActivityInfo::PauseInfo::Rule)) }
|
|
4210
|
+
def rule
|
|
4211
|
+
end
|
|
4212
|
+
|
|
4213
|
+
# activity was paused by the rule
|
|
4214
|
+
sig { params(value: T.nilable(Temporalio::Api::Workflow::V1::PendingActivityInfo::PauseInfo::Rule)).void }
|
|
4215
|
+
def rule=(value)
|
|
4216
|
+
end
|
|
4217
|
+
|
|
4218
|
+
# activity was paused by the rule
|
|
4219
|
+
sig { void }
|
|
4220
|
+
def clear_rule
|
|
4221
|
+
end
|
|
4222
|
+
|
|
4223
|
+
sig { returns(T.nilable(Symbol)) }
|
|
4224
|
+
def paused_by
|
|
4225
|
+
end
|
|
4226
|
+
|
|
4227
|
+
sig { params(field: String).returns(T.untyped) }
|
|
4228
|
+
def [](field)
|
|
4229
|
+
end
|
|
4230
|
+
|
|
4231
|
+
sig { params(field: String, value: T.untyped).void }
|
|
4232
|
+
def []=(field, value)
|
|
4233
|
+
end
|
|
4234
|
+
|
|
4235
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
4236
|
+
def to_h
|
|
4237
|
+
end
|
|
4238
|
+
|
|
4239
|
+
sig { params(str: String).returns(Temporalio::Api::Workflow::V1::PendingActivityInfo::PauseInfo) }
|
|
4240
|
+
def self.decode(str)
|
|
4241
|
+
end
|
|
4242
|
+
|
|
4243
|
+
sig { params(msg: Temporalio::Api::Workflow::V1::PendingActivityInfo::PauseInfo).returns(String) }
|
|
4244
|
+
def self.encode(msg)
|
|
4245
|
+
end
|
|
4246
|
+
|
|
4247
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Workflow::V1::PendingActivityInfo::PauseInfo) }
|
|
4248
|
+
def self.decode_json(str, **kw)
|
|
4249
|
+
end
|
|
4250
|
+
|
|
4251
|
+
sig { params(msg: Temporalio::Api::Workflow::V1::PendingActivityInfo::PauseInfo, kw: T.untyped).returns(String) }
|
|
4252
|
+
def self.encode_json(msg, **kw)
|
|
4253
|
+
end
|
|
4254
|
+
|
|
4255
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
4256
|
+
def self.descriptor
|
|
4257
|
+
end
|
|
4258
|
+
end
|
|
4259
|
+
|
|
4260
|
+
class Temporalio::Api::Workflow::V1::PendingActivityInfo::PauseInfo::Manual
|
|
4261
|
+
include ::Google::Protobuf::MessageExts
|
|
4262
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
4263
|
+
|
|
4264
|
+
sig do
|
|
4265
|
+
params(
|
|
4266
|
+
identity: T.nilable(String),
|
|
4267
|
+
reason: T.nilable(String)
|
|
4268
|
+
).void
|
|
4269
|
+
end
|
|
4270
|
+
def initialize(
|
|
4271
|
+
identity: "",
|
|
4272
|
+
reason: ""
|
|
4273
|
+
)
|
|
4274
|
+
end
|
|
4275
|
+
|
|
4276
|
+
# The identity of the actor that paused the activity.
|
|
4277
|
+
sig { returns(String) }
|
|
4278
|
+
def identity
|
|
4279
|
+
end
|
|
4280
|
+
|
|
4281
|
+
# The identity of the actor that paused the activity.
|
|
4282
|
+
sig { params(value: String).void }
|
|
4283
|
+
def identity=(value)
|
|
4284
|
+
end
|
|
4285
|
+
|
|
4286
|
+
# The identity of the actor that paused the activity.
|
|
4287
|
+
sig { void }
|
|
4288
|
+
def clear_identity
|
|
4289
|
+
end
|
|
4290
|
+
|
|
4291
|
+
# Reason for pausing the activity.
|
|
4292
|
+
sig { returns(String) }
|
|
4293
|
+
def reason
|
|
4294
|
+
end
|
|
4295
|
+
|
|
4296
|
+
# Reason for pausing the activity.
|
|
4297
|
+
sig { params(value: String).void }
|
|
4298
|
+
def reason=(value)
|
|
4299
|
+
end
|
|
4300
|
+
|
|
4301
|
+
# Reason for pausing the activity.
|
|
4302
|
+
sig { void }
|
|
4303
|
+
def clear_reason
|
|
4304
|
+
end
|
|
4305
|
+
|
|
4306
|
+
sig { params(field: String).returns(T.untyped) }
|
|
4307
|
+
def [](field)
|
|
4308
|
+
end
|
|
4309
|
+
|
|
4310
|
+
sig { params(field: String, value: T.untyped).void }
|
|
4311
|
+
def []=(field, value)
|
|
4312
|
+
end
|
|
4313
|
+
|
|
4314
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
4315
|
+
def to_h
|
|
4316
|
+
end
|
|
4317
|
+
|
|
4318
|
+
sig { params(str: String).returns(Temporalio::Api::Workflow::V1::PendingActivityInfo::PauseInfo::Manual) }
|
|
4319
|
+
def self.decode(str)
|
|
4320
|
+
end
|
|
4321
|
+
|
|
4322
|
+
sig { params(msg: Temporalio::Api::Workflow::V1::PendingActivityInfo::PauseInfo::Manual).returns(String) }
|
|
4323
|
+
def self.encode(msg)
|
|
4324
|
+
end
|
|
4325
|
+
|
|
4326
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Workflow::V1::PendingActivityInfo::PauseInfo::Manual) }
|
|
4327
|
+
def self.decode_json(str, **kw)
|
|
4328
|
+
end
|
|
4329
|
+
|
|
4330
|
+
sig { params(msg: Temporalio::Api::Workflow::V1::PendingActivityInfo::PauseInfo::Manual, kw: T.untyped).returns(String) }
|
|
4331
|
+
def self.encode_json(msg, **kw)
|
|
4332
|
+
end
|
|
4333
|
+
|
|
4334
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
4335
|
+
def self.descriptor
|
|
4336
|
+
end
|
|
4337
|
+
end
|
|
4338
|
+
|
|
4339
|
+
class Temporalio::Api::Workflow::V1::PendingActivityInfo::PauseInfo::Rule
|
|
4340
|
+
include ::Google::Protobuf::MessageExts
|
|
4341
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
4342
|
+
|
|
4343
|
+
sig do
|
|
4344
|
+
params(
|
|
4345
|
+
rule_id: T.nilable(String),
|
|
4346
|
+
identity: T.nilable(String),
|
|
4347
|
+
reason: T.nilable(String)
|
|
4348
|
+
).void
|
|
4349
|
+
end
|
|
4350
|
+
def initialize(
|
|
4351
|
+
rule_id: "",
|
|
4352
|
+
identity: "",
|
|
4353
|
+
reason: ""
|
|
4354
|
+
)
|
|
4355
|
+
end
|
|
4356
|
+
|
|
4357
|
+
# The rule that paused the activity.
|
|
4358
|
+
sig { returns(String) }
|
|
4359
|
+
def rule_id
|
|
4360
|
+
end
|
|
4361
|
+
|
|
4362
|
+
# The rule that paused the activity.
|
|
4363
|
+
sig { params(value: String).void }
|
|
4364
|
+
def rule_id=(value)
|
|
4365
|
+
end
|
|
4366
|
+
|
|
4367
|
+
# The rule that paused the activity.
|
|
4368
|
+
sig { void }
|
|
4369
|
+
def clear_rule_id
|
|
4370
|
+
end
|
|
4371
|
+
|
|
4372
|
+
# The identity of the actor that created the rule.
|
|
4373
|
+
sig { returns(String) }
|
|
4374
|
+
def identity
|
|
4375
|
+
end
|
|
4376
|
+
|
|
4377
|
+
# The identity of the actor that created the rule.
|
|
4378
|
+
sig { params(value: String).void }
|
|
4379
|
+
def identity=(value)
|
|
4380
|
+
end
|
|
4381
|
+
|
|
4382
|
+
# The identity of the actor that created the rule.
|
|
4383
|
+
sig { void }
|
|
4384
|
+
def clear_identity
|
|
4385
|
+
end
|
|
4386
|
+
|
|
4387
|
+
# Reason why rule was created. Populated from rule description.
|
|
4388
|
+
sig { returns(String) }
|
|
4389
|
+
def reason
|
|
4390
|
+
end
|
|
4391
|
+
|
|
4392
|
+
# Reason why rule was created. Populated from rule description.
|
|
4393
|
+
sig { params(value: String).void }
|
|
4394
|
+
def reason=(value)
|
|
4395
|
+
end
|
|
4396
|
+
|
|
4397
|
+
# Reason why rule was created. Populated from rule description.
|
|
4398
|
+
sig { void }
|
|
4399
|
+
def clear_reason
|
|
4400
|
+
end
|
|
4401
|
+
|
|
4402
|
+
sig { params(field: String).returns(T.untyped) }
|
|
4403
|
+
def [](field)
|
|
4404
|
+
end
|
|
4405
|
+
|
|
4406
|
+
sig { params(field: String, value: T.untyped).void }
|
|
4407
|
+
def []=(field, value)
|
|
4408
|
+
end
|
|
4409
|
+
|
|
4410
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
4411
|
+
def to_h
|
|
4412
|
+
end
|
|
4413
|
+
|
|
4414
|
+
sig { params(str: String).returns(Temporalio::Api::Workflow::V1::PendingActivityInfo::PauseInfo::Rule) }
|
|
4415
|
+
def self.decode(str)
|
|
4416
|
+
end
|
|
4417
|
+
|
|
4418
|
+
sig { params(msg: Temporalio::Api::Workflow::V1::PendingActivityInfo::PauseInfo::Rule).returns(String) }
|
|
4419
|
+
def self.encode(msg)
|
|
4420
|
+
end
|
|
4421
|
+
|
|
4422
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Workflow::V1::PendingActivityInfo::PauseInfo::Rule) }
|
|
4423
|
+
def self.decode_json(str, **kw)
|
|
4424
|
+
end
|
|
4425
|
+
|
|
4426
|
+
sig { params(msg: Temporalio::Api::Workflow::V1::PendingActivityInfo::PauseInfo::Rule, kw: T.untyped).returns(String) }
|
|
4427
|
+
def self.encode_json(msg, **kw)
|
|
4428
|
+
end
|
|
4429
|
+
|
|
4430
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
4431
|
+
def self.descriptor
|
|
4432
|
+
end
|
|
4433
|
+
end
|
|
4434
|
+
|
|
4435
|
+
# Trigger for when the workflow is closed.
|
|
4436
|
+
class Temporalio::Api::Workflow::V1::CallbackInfo::WorkflowClosed
|
|
4437
|
+
include ::Google::Protobuf::MessageExts
|
|
4438
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
4439
|
+
|
|
4440
|
+
sig {void}
|
|
4441
|
+
def initialize; end
|
|
4442
|
+
|
|
4443
|
+
sig { params(field: String).returns(T.untyped) }
|
|
4444
|
+
def [](field)
|
|
4445
|
+
end
|
|
4446
|
+
|
|
4447
|
+
sig { params(field: String, value: T.untyped).void }
|
|
4448
|
+
def []=(field, value)
|
|
4449
|
+
end
|
|
4450
|
+
|
|
4451
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
4452
|
+
def to_h
|
|
4453
|
+
end
|
|
4454
|
+
|
|
4455
|
+
sig { params(str: String).returns(Temporalio::Api::Workflow::V1::CallbackInfo::WorkflowClosed) }
|
|
4456
|
+
def self.decode(str)
|
|
4457
|
+
end
|
|
4458
|
+
|
|
4459
|
+
sig { params(msg: Temporalio::Api::Workflow::V1::CallbackInfo::WorkflowClosed).returns(String) }
|
|
4460
|
+
def self.encode(msg)
|
|
4461
|
+
end
|
|
4462
|
+
|
|
4463
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Workflow::V1::CallbackInfo::WorkflowClosed) }
|
|
4464
|
+
def self.decode_json(str, **kw)
|
|
4465
|
+
end
|
|
4466
|
+
|
|
4467
|
+
sig { params(msg: Temporalio::Api::Workflow::V1::CallbackInfo::WorkflowClosed, kw: T.untyped).returns(String) }
|
|
4468
|
+
def self.encode_json(msg, **kw)
|
|
4469
|
+
end
|
|
4470
|
+
|
|
4471
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
4472
|
+
def self.descriptor
|
|
4473
|
+
end
|
|
4474
|
+
end
|
|
4475
|
+
|
|
4476
|
+
# Trigger for when a workflow update is completed.
|
|
4477
|
+
class Temporalio::Api::Workflow::V1::CallbackInfo::UpdateWorkflowExecutionCompleted
|
|
4478
|
+
include ::Google::Protobuf::MessageExts
|
|
4479
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
4480
|
+
|
|
4481
|
+
sig do
|
|
4482
|
+
params(
|
|
4483
|
+
update_id: T.nilable(String)
|
|
4484
|
+
).void
|
|
4485
|
+
end
|
|
4486
|
+
def initialize(
|
|
4487
|
+
update_id: ""
|
|
4488
|
+
)
|
|
4489
|
+
end
|
|
4490
|
+
|
|
4491
|
+
sig { returns(String) }
|
|
4492
|
+
def update_id
|
|
4493
|
+
end
|
|
4494
|
+
|
|
4495
|
+
sig { params(value: String).void }
|
|
4496
|
+
def update_id=(value)
|
|
4497
|
+
end
|
|
4498
|
+
|
|
4499
|
+
sig { void }
|
|
4500
|
+
def clear_update_id
|
|
4501
|
+
end
|
|
4502
|
+
|
|
4503
|
+
sig { params(field: String).returns(T.untyped) }
|
|
4504
|
+
def [](field)
|
|
4505
|
+
end
|
|
4506
|
+
|
|
4507
|
+
sig { params(field: String, value: T.untyped).void }
|
|
4508
|
+
def []=(field, value)
|
|
4509
|
+
end
|
|
4510
|
+
|
|
4511
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
4512
|
+
def to_h
|
|
4513
|
+
end
|
|
4514
|
+
|
|
4515
|
+
sig { params(str: String).returns(Temporalio::Api::Workflow::V1::CallbackInfo::UpdateWorkflowExecutionCompleted) }
|
|
4516
|
+
def self.decode(str)
|
|
4517
|
+
end
|
|
4518
|
+
|
|
4519
|
+
sig { params(msg: Temporalio::Api::Workflow::V1::CallbackInfo::UpdateWorkflowExecutionCompleted).returns(String) }
|
|
4520
|
+
def self.encode(msg)
|
|
4521
|
+
end
|
|
4522
|
+
|
|
4523
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Workflow::V1::CallbackInfo::UpdateWorkflowExecutionCompleted) }
|
|
4524
|
+
def self.decode_json(str, **kw)
|
|
4525
|
+
end
|
|
4526
|
+
|
|
4527
|
+
sig { params(msg: Temporalio::Api::Workflow::V1::CallbackInfo::UpdateWorkflowExecutionCompleted, kw: T.untyped).returns(String) }
|
|
4528
|
+
def self.encode_json(msg, **kw)
|
|
4529
|
+
end
|
|
4530
|
+
|
|
4531
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
4532
|
+
def self.descriptor
|
|
4533
|
+
end
|
|
4534
|
+
end
|
|
4535
|
+
|
|
4536
|
+
class Temporalio::Api::Workflow::V1::CallbackInfo::Trigger
|
|
4537
|
+
include ::Google::Protobuf::MessageExts
|
|
4538
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
4539
|
+
|
|
4540
|
+
sig do
|
|
4541
|
+
params(
|
|
4542
|
+
workflow_closed: T.nilable(Temporalio::Api::Workflow::V1::CallbackInfo::WorkflowClosed),
|
|
4543
|
+
update_workflow_execution_completed: T.nilable(Temporalio::Api::Workflow::V1::CallbackInfo::UpdateWorkflowExecutionCompleted)
|
|
4544
|
+
).void
|
|
4545
|
+
end
|
|
4546
|
+
def initialize(
|
|
4547
|
+
workflow_closed: nil,
|
|
4548
|
+
update_workflow_execution_completed: nil
|
|
4549
|
+
)
|
|
4550
|
+
end
|
|
4551
|
+
|
|
4552
|
+
sig { returns(T.nilable(Temporalio::Api::Workflow::V1::CallbackInfo::WorkflowClosed)) }
|
|
4553
|
+
def workflow_closed
|
|
4554
|
+
end
|
|
4555
|
+
|
|
4556
|
+
sig { params(value: T.nilable(Temporalio::Api::Workflow::V1::CallbackInfo::WorkflowClosed)).void }
|
|
4557
|
+
def workflow_closed=(value)
|
|
4558
|
+
end
|
|
4559
|
+
|
|
4560
|
+
sig { void }
|
|
4561
|
+
def clear_workflow_closed
|
|
4562
|
+
end
|
|
4563
|
+
|
|
4564
|
+
sig { returns(T.nilable(Temporalio::Api::Workflow::V1::CallbackInfo::UpdateWorkflowExecutionCompleted)) }
|
|
4565
|
+
def update_workflow_execution_completed
|
|
4566
|
+
end
|
|
4567
|
+
|
|
4568
|
+
sig { params(value: T.nilable(Temporalio::Api::Workflow::V1::CallbackInfo::UpdateWorkflowExecutionCompleted)).void }
|
|
4569
|
+
def update_workflow_execution_completed=(value)
|
|
4570
|
+
end
|
|
4571
|
+
|
|
4572
|
+
sig { void }
|
|
4573
|
+
def clear_update_workflow_execution_completed
|
|
4574
|
+
end
|
|
4575
|
+
|
|
4576
|
+
sig { returns(T.nilable(Symbol)) }
|
|
4577
|
+
def variant
|
|
4578
|
+
end
|
|
4579
|
+
|
|
4580
|
+
sig { params(field: String).returns(T.untyped) }
|
|
4581
|
+
def [](field)
|
|
4582
|
+
end
|
|
4583
|
+
|
|
4584
|
+
sig { params(field: String, value: T.untyped).void }
|
|
4585
|
+
def []=(field, value)
|
|
4586
|
+
end
|
|
4587
|
+
|
|
4588
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
4589
|
+
def to_h
|
|
4590
|
+
end
|
|
4591
|
+
|
|
4592
|
+
sig { params(str: String).returns(Temporalio::Api::Workflow::V1::CallbackInfo::Trigger) }
|
|
4593
|
+
def self.decode(str)
|
|
4594
|
+
end
|
|
4595
|
+
|
|
4596
|
+
sig { params(msg: Temporalio::Api::Workflow::V1::CallbackInfo::Trigger).returns(String) }
|
|
4597
|
+
def self.encode(msg)
|
|
4598
|
+
end
|
|
4599
|
+
|
|
4600
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Workflow::V1::CallbackInfo::Trigger) }
|
|
4601
|
+
def self.decode_json(str, **kw)
|
|
4602
|
+
end
|
|
4603
|
+
|
|
4604
|
+
sig { params(msg: Temporalio::Api::Workflow::V1::CallbackInfo::Trigger, kw: T.untyped).returns(String) }
|
|
4605
|
+
def self.encode_json(msg, **kw)
|
|
4606
|
+
end
|
|
4607
|
+
|
|
4608
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
4609
|
+
def self.descriptor
|
|
4610
|
+
end
|
|
4611
|
+
end
|
|
4612
|
+
|
|
4613
|
+
class Temporalio::Api::Workflow::V1::VersioningOverride::PinnedOverride
|
|
4614
|
+
include ::Google::Protobuf::MessageExts
|
|
4615
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
4616
|
+
|
|
4617
|
+
sig do
|
|
4618
|
+
params(
|
|
4619
|
+
behavior: T.nilable(T.any(Symbol, String, Integer)),
|
|
4620
|
+
version: T.nilable(Temporalio::Api::Deployment::V1::WorkerDeploymentVersion)
|
|
4621
|
+
).void
|
|
4622
|
+
end
|
|
4623
|
+
def initialize(
|
|
4624
|
+
behavior: :PINNED_OVERRIDE_BEHAVIOR_UNSPECIFIED,
|
|
4625
|
+
version: nil
|
|
4626
|
+
)
|
|
4627
|
+
end
|
|
4628
|
+
|
|
4629
|
+
# Defaults to PINNED_OVERRIDE_BEHAVIOR_UNSPECIFIED.
|
|
4630
|
+
# See `PinnedOverrideBehavior` for details.
|
|
4631
|
+
sig { returns(T.any(Symbol, Integer)) }
|
|
4632
|
+
def behavior
|
|
4633
|
+
end
|
|
4634
|
+
|
|
4635
|
+
# Defaults to PINNED_OVERRIDE_BEHAVIOR_UNSPECIFIED.
|
|
4636
|
+
# See `PinnedOverrideBehavior` for details.
|
|
4637
|
+
sig { params(value: T.any(Symbol, String, Integer)).void }
|
|
4638
|
+
def behavior=(value)
|
|
4639
|
+
end
|
|
4640
|
+
|
|
4641
|
+
# Defaults to PINNED_OVERRIDE_BEHAVIOR_UNSPECIFIED.
|
|
4642
|
+
# See `PinnedOverrideBehavior` for details.
|
|
4643
|
+
sig { void }
|
|
4644
|
+
def clear_behavior
|
|
4645
|
+
end
|
|
4646
|
+
|
|
4647
|
+
# Specifies the Worker Deployment Version to pin this workflow to.
|
|
4648
|
+
# Required if the target workflow is not already pinned to a version.
|
|
4649
|
+
#
|
|
4650
|
+
# If omitted and the target workflow is already pinned, the effective
|
|
4651
|
+
# pinned version will be the existing pinned version.
|
|
4652
|
+
#
|
|
4653
|
+
# If omitted and the target workflow is not pinned, the override request
|
|
4654
|
+
# will be rejected with a PreconditionFailed error.
|
|
4655
|
+
sig { returns(T.nilable(Temporalio::Api::Deployment::V1::WorkerDeploymentVersion)) }
|
|
4656
|
+
def version
|
|
4657
|
+
end
|
|
4658
|
+
|
|
4659
|
+
# Specifies the Worker Deployment Version to pin this workflow to.
|
|
4660
|
+
# Required if the target workflow is not already pinned to a version.
|
|
4661
|
+
#
|
|
4662
|
+
# If omitted and the target workflow is already pinned, the effective
|
|
4663
|
+
# pinned version will be the existing pinned version.
|
|
4664
|
+
#
|
|
4665
|
+
# If omitted and the target workflow is not pinned, the override request
|
|
4666
|
+
# will be rejected with a PreconditionFailed error.
|
|
4667
|
+
sig { params(value: T.nilable(Temporalio::Api::Deployment::V1::WorkerDeploymentVersion)).void }
|
|
4668
|
+
def version=(value)
|
|
4669
|
+
end
|
|
4670
|
+
|
|
4671
|
+
# Specifies the Worker Deployment Version to pin this workflow to.
|
|
4672
|
+
# Required if the target workflow is not already pinned to a version.
|
|
4673
|
+
#
|
|
4674
|
+
# If omitted and the target workflow is already pinned, the effective
|
|
4675
|
+
# pinned version will be the existing pinned version.
|
|
4676
|
+
#
|
|
4677
|
+
# If omitted and the target workflow is not pinned, the override request
|
|
4678
|
+
# will be rejected with a PreconditionFailed error.
|
|
4679
|
+
sig { void }
|
|
4680
|
+
def clear_version
|
|
4681
|
+
end
|
|
4682
|
+
|
|
4683
|
+
sig { params(field: String).returns(T.untyped) }
|
|
4684
|
+
def [](field)
|
|
4685
|
+
end
|
|
4686
|
+
|
|
4687
|
+
sig { params(field: String, value: T.untyped).void }
|
|
4688
|
+
def []=(field, value)
|
|
4689
|
+
end
|
|
4690
|
+
|
|
4691
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
4692
|
+
def to_h
|
|
4693
|
+
end
|
|
4694
|
+
|
|
4695
|
+
sig { params(str: String).returns(Temporalio::Api::Workflow::V1::VersioningOverride::PinnedOverride) }
|
|
4696
|
+
def self.decode(str)
|
|
4697
|
+
end
|
|
4698
|
+
|
|
4699
|
+
sig { params(msg: Temporalio::Api::Workflow::V1::VersioningOverride::PinnedOverride).returns(String) }
|
|
4700
|
+
def self.encode(msg)
|
|
4701
|
+
end
|
|
4702
|
+
|
|
4703
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Workflow::V1::VersioningOverride::PinnedOverride) }
|
|
4704
|
+
def self.decode_json(str, **kw)
|
|
4705
|
+
end
|
|
4706
|
+
|
|
4707
|
+
sig { params(msg: Temporalio::Api::Workflow::V1::VersioningOverride::PinnedOverride, kw: T.untyped).returns(String) }
|
|
4708
|
+
def self.encode_json(msg, **kw)
|
|
4709
|
+
end
|
|
4710
|
+
|
|
4711
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
4712
|
+
def self.descriptor
|
|
4713
|
+
end
|
|
4714
|
+
end
|
|
4715
|
+
|
|
4716
|
+
# Routes Workflow Tasks for this execution to `target_deployment_version`
|
|
4717
|
+
# until a Workflow Task completes on that version, then clears the override.
|
|
4718
|
+
#
|
|
4719
|
+
# This does not force the workflow's normal Versioning Behavior to become
|
|
4720
|
+
# Pinned. After the Workflow Task completes on `target_deployment_version`,
|
|
4721
|
+
# the workflow execution's normal Versioning Behavior and Deployment Version
|
|
4722
|
+
# are taken from the worker's completion response.
|
|
4723
|
+
#
|
|
4724
|
+
# Example: if an execution is one-time moved from version X to version Y, and
|
|
4725
|
+
# version Z later becomes current:
|
|
4726
|
+
# - if worker Y reports Pinned, the execution stays on Y;
|
|
4727
|
+
# - if worker Y reports AutoUpgrade, the execution routes to Z on a future
|
|
4728
|
+
# Workflow Task;
|
|
4729
|
+
# - if worker Y reports Pinned and the workflow uses upgrade-on-continue-as-new,
|
|
4730
|
+
# the current run stays on Y and the execution can route to Z after
|
|
4731
|
+
# continue-as-new.
|
|
4732
|
+
#
|
|
4733
|
+
# If no Workflow Task completes on `target_deployment_version`, this override
|
|
4734
|
+
# remains pending.
|
|
4735
|
+
class Temporalio::Api::Workflow::V1::VersioningOverride::OneTimeOverride
|
|
4736
|
+
include ::Google::Protobuf::MessageExts
|
|
4737
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
4738
|
+
|
|
4739
|
+
sig do
|
|
4740
|
+
params(
|
|
4741
|
+
target_deployment_version: T.nilable(Temporalio::Api::Deployment::V1::WorkerDeploymentVersion)
|
|
4742
|
+
).void
|
|
4743
|
+
end
|
|
4744
|
+
def initialize(
|
|
4745
|
+
target_deployment_version: nil
|
|
4746
|
+
)
|
|
4747
|
+
end
|
|
4748
|
+
|
|
4749
|
+
# Required. Worker Deployment Version to receive the one-time Workflow Task.
|
|
4750
|
+
sig { returns(T.nilable(Temporalio::Api::Deployment::V1::WorkerDeploymentVersion)) }
|
|
4751
|
+
def target_deployment_version
|
|
4752
|
+
end
|
|
4753
|
+
|
|
4754
|
+
# Required. Worker Deployment Version to receive the one-time Workflow Task.
|
|
4755
|
+
sig { params(value: T.nilable(Temporalio::Api::Deployment::V1::WorkerDeploymentVersion)).void }
|
|
4756
|
+
def target_deployment_version=(value)
|
|
4757
|
+
end
|
|
4758
|
+
|
|
4759
|
+
# Required. Worker Deployment Version to receive the one-time Workflow Task.
|
|
4760
|
+
sig { void }
|
|
4761
|
+
def clear_target_deployment_version
|
|
4762
|
+
end
|
|
4763
|
+
|
|
4764
|
+
sig { params(field: String).returns(T.untyped) }
|
|
4765
|
+
def [](field)
|
|
4766
|
+
end
|
|
4767
|
+
|
|
4768
|
+
sig { params(field: String, value: T.untyped).void }
|
|
4769
|
+
def []=(field, value)
|
|
4770
|
+
end
|
|
4771
|
+
|
|
4772
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
4773
|
+
def to_h
|
|
4774
|
+
end
|
|
4775
|
+
|
|
4776
|
+
sig { params(str: String).returns(Temporalio::Api::Workflow::V1::VersioningOverride::OneTimeOverride) }
|
|
4777
|
+
def self.decode(str)
|
|
4778
|
+
end
|
|
4779
|
+
|
|
4780
|
+
sig { params(msg: Temporalio::Api::Workflow::V1::VersioningOverride::OneTimeOverride).returns(String) }
|
|
4781
|
+
def self.encode(msg)
|
|
4782
|
+
end
|
|
4783
|
+
|
|
4784
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Workflow::V1::VersioningOverride::OneTimeOverride) }
|
|
4785
|
+
def self.decode_json(str, **kw)
|
|
4786
|
+
end
|
|
4787
|
+
|
|
4788
|
+
sig { params(msg: Temporalio::Api::Workflow::V1::VersioningOverride::OneTimeOverride, kw: T.untyped).returns(String) }
|
|
4789
|
+
def self.encode_json(msg, **kw)
|
|
4790
|
+
end
|
|
4791
|
+
|
|
4792
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
4793
|
+
def self.descriptor
|
|
4794
|
+
end
|
|
4795
|
+
end
|
|
4796
|
+
|
|
4797
|
+
# SignalWorkflow represents sending a signal after a workflow reset.
|
|
4798
|
+
# Keep the parameter in sync with temporal.api.workflowservice.v1.SignalWorkflowExecutionRequest.
|
|
4799
|
+
class Temporalio::Api::Workflow::V1::PostResetOperation::SignalWorkflow
|
|
4800
|
+
include ::Google::Protobuf::MessageExts
|
|
4801
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
4802
|
+
|
|
4803
|
+
sig do
|
|
4804
|
+
params(
|
|
4805
|
+
signal_name: T.nilable(String),
|
|
4806
|
+
input: T.nilable(Temporalio::Api::Common::V1::Payloads),
|
|
4807
|
+
header: T.nilable(Temporalio::Api::Common::V1::Header),
|
|
4808
|
+
links: T.nilable(T::Array[T.nilable(Temporalio::Api::Common::V1::Link)])
|
|
4809
|
+
).void
|
|
4810
|
+
end
|
|
4811
|
+
def initialize(
|
|
4812
|
+
signal_name: "",
|
|
4813
|
+
input: nil,
|
|
4814
|
+
header: nil,
|
|
4815
|
+
links: []
|
|
4816
|
+
)
|
|
4817
|
+
end
|
|
4818
|
+
|
|
4819
|
+
# The workflow author-defined name of the signal to send to the workflow.
|
|
4820
|
+
sig { returns(String) }
|
|
4821
|
+
def signal_name
|
|
4822
|
+
end
|
|
4823
|
+
|
|
4824
|
+
# The workflow author-defined name of the signal to send to the workflow.
|
|
4825
|
+
sig { params(value: String).void }
|
|
4826
|
+
def signal_name=(value)
|
|
4827
|
+
end
|
|
4828
|
+
|
|
4829
|
+
# The workflow author-defined name of the signal to send to the workflow.
|
|
4830
|
+
sig { void }
|
|
4831
|
+
def clear_signal_name
|
|
4832
|
+
end
|
|
4833
|
+
|
|
4834
|
+
# Serialized value(s) to provide with the signal.
|
|
4835
|
+
sig { returns(T.nilable(Temporalio::Api::Common::V1::Payloads)) }
|
|
4836
|
+
def input
|
|
4837
|
+
end
|
|
4838
|
+
|
|
4839
|
+
# Serialized value(s) to provide with the signal.
|
|
4840
|
+
sig { params(value: T.nilable(Temporalio::Api::Common::V1::Payloads)).void }
|
|
4841
|
+
def input=(value)
|
|
4842
|
+
end
|
|
4843
|
+
|
|
4844
|
+
# Serialized value(s) to provide with the signal.
|
|
4845
|
+
sig { void }
|
|
4846
|
+
def clear_input
|
|
4847
|
+
end
|
|
4848
|
+
|
|
4849
|
+
# Headers that are passed with the signal to the processing workflow.
|
|
4850
|
+
sig { returns(T.nilable(Temporalio::Api::Common::V1::Header)) }
|
|
4851
|
+
def header
|
|
4852
|
+
end
|
|
4853
|
+
|
|
4854
|
+
# Headers that are passed with the signal to the processing workflow.
|
|
4855
|
+
sig { params(value: T.nilable(Temporalio::Api::Common::V1::Header)).void }
|
|
4856
|
+
def header=(value)
|
|
4857
|
+
end
|
|
4858
|
+
|
|
4859
|
+
# Headers that are passed with the signal to the processing workflow.
|
|
4860
|
+
sig { void }
|
|
4861
|
+
def clear_header
|
|
4862
|
+
end
|
|
4863
|
+
|
|
4864
|
+
# Links to be associated with the WorkflowExecutionSignaled event.
|
|
4865
|
+
sig { returns(T::Array[T.nilable(Temporalio::Api::Common::V1::Link)]) }
|
|
4866
|
+
def links
|
|
4867
|
+
end
|
|
4868
|
+
|
|
4869
|
+
# Links to be associated with the WorkflowExecutionSignaled event.
|
|
4870
|
+
sig { params(value: ::Google::Protobuf::RepeatedField).void }
|
|
4871
|
+
def links=(value)
|
|
4872
|
+
end
|
|
4873
|
+
|
|
4874
|
+
# Links to be associated with the WorkflowExecutionSignaled event.
|
|
4875
|
+
sig { void }
|
|
4876
|
+
def clear_links
|
|
4877
|
+
end
|
|
4878
|
+
|
|
4879
|
+
sig { params(field: String).returns(T.untyped) }
|
|
4880
|
+
def [](field)
|
|
4881
|
+
end
|
|
4882
|
+
|
|
4883
|
+
sig { params(field: String, value: T.untyped).void }
|
|
4884
|
+
def []=(field, value)
|
|
4885
|
+
end
|
|
4886
|
+
|
|
4887
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
4888
|
+
def to_h
|
|
4889
|
+
end
|
|
4890
|
+
|
|
4891
|
+
sig { params(str: String).returns(Temporalio::Api::Workflow::V1::PostResetOperation::SignalWorkflow) }
|
|
4892
|
+
def self.decode(str)
|
|
4893
|
+
end
|
|
4894
|
+
|
|
4895
|
+
sig { params(msg: Temporalio::Api::Workflow::V1::PostResetOperation::SignalWorkflow).returns(String) }
|
|
4896
|
+
def self.encode(msg)
|
|
4897
|
+
end
|
|
4898
|
+
|
|
4899
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Workflow::V1::PostResetOperation::SignalWorkflow) }
|
|
4900
|
+
def self.decode_json(str, **kw)
|
|
4901
|
+
end
|
|
4902
|
+
|
|
4903
|
+
sig { params(msg: Temporalio::Api::Workflow::V1::PostResetOperation::SignalWorkflow, kw: T.untyped).returns(String) }
|
|
4904
|
+
def self.encode_json(msg, **kw)
|
|
4905
|
+
end
|
|
4906
|
+
|
|
4907
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
4908
|
+
def self.descriptor
|
|
4909
|
+
end
|
|
4910
|
+
end
|
|
4911
|
+
|
|
4912
|
+
# UpdateWorkflowOptions represents updating workflow execution options after a workflow reset.
|
|
4913
|
+
# Keep the parameters in sync with temporal.api.workflowservice.v1.UpdateWorkflowExecutionOptionsRequest.
|
|
4914
|
+
class Temporalio::Api::Workflow::V1::PostResetOperation::UpdateWorkflowOptions
|
|
4915
|
+
include ::Google::Protobuf::MessageExts
|
|
4916
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
4917
|
+
|
|
4918
|
+
sig do
|
|
4919
|
+
params(
|
|
4920
|
+
workflow_execution_options: T.nilable(Temporalio::Api::Workflow::V1::WorkflowExecutionOptions),
|
|
4921
|
+
update_mask: T.nilable(Google::Protobuf::FieldMask)
|
|
4922
|
+
).void
|
|
4923
|
+
end
|
|
4924
|
+
def initialize(
|
|
4925
|
+
workflow_execution_options: nil,
|
|
4926
|
+
update_mask: nil
|
|
4927
|
+
)
|
|
4928
|
+
end
|
|
4929
|
+
|
|
4930
|
+
# Update Workflow options that were originally specified via StartWorkflowExecution. Partial updates are accepted and controlled by update_mask.
|
|
4931
|
+
sig { returns(T.nilable(Temporalio::Api::Workflow::V1::WorkflowExecutionOptions)) }
|
|
4932
|
+
def workflow_execution_options
|
|
4933
|
+
end
|
|
4934
|
+
|
|
4935
|
+
# Update Workflow options that were originally specified via StartWorkflowExecution. Partial updates are accepted and controlled by update_mask.
|
|
4936
|
+
sig { params(value: T.nilable(Temporalio::Api::Workflow::V1::WorkflowExecutionOptions)).void }
|
|
4937
|
+
def workflow_execution_options=(value)
|
|
4938
|
+
end
|
|
4939
|
+
|
|
4940
|
+
# Update Workflow options that were originally specified via StartWorkflowExecution. Partial updates are accepted and controlled by update_mask.
|
|
4941
|
+
sig { void }
|
|
4942
|
+
def clear_workflow_execution_options
|
|
4943
|
+
end
|
|
4944
|
+
|
|
4945
|
+
# Controls which fields from `workflow_execution_options` will be applied.
|
|
4946
|
+
# To unset a field, set it to null and use the update mask to indicate that it should be mutated.
|
|
4947
|
+
sig { returns(T.nilable(Google::Protobuf::FieldMask)) }
|
|
4948
|
+
def update_mask
|
|
4949
|
+
end
|
|
4950
|
+
|
|
4951
|
+
# Controls which fields from `workflow_execution_options` will be applied.
|
|
4952
|
+
# To unset a field, set it to null and use the update mask to indicate that it should be mutated.
|
|
4953
|
+
sig { params(value: T.nilable(Google::Protobuf::FieldMask)).void }
|
|
4954
|
+
def update_mask=(value)
|
|
4955
|
+
end
|
|
4956
|
+
|
|
4957
|
+
# Controls which fields from `workflow_execution_options` will be applied.
|
|
4958
|
+
# To unset a field, set it to null and use the update mask to indicate that it should be mutated.
|
|
4959
|
+
sig { void }
|
|
4960
|
+
def clear_update_mask
|
|
4961
|
+
end
|
|
4962
|
+
|
|
4963
|
+
sig { params(field: String).returns(T.untyped) }
|
|
4964
|
+
def [](field)
|
|
4965
|
+
end
|
|
4966
|
+
|
|
4967
|
+
sig { params(field: String, value: T.untyped).void }
|
|
4968
|
+
def []=(field, value)
|
|
4969
|
+
end
|
|
4970
|
+
|
|
4971
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
4972
|
+
def to_h
|
|
4973
|
+
end
|
|
4974
|
+
|
|
4975
|
+
sig { params(str: String).returns(Temporalio::Api::Workflow::V1::PostResetOperation::UpdateWorkflowOptions) }
|
|
4976
|
+
def self.decode(str)
|
|
4977
|
+
end
|
|
4978
|
+
|
|
4979
|
+
sig { params(msg: Temporalio::Api::Workflow::V1::PostResetOperation::UpdateWorkflowOptions).returns(String) }
|
|
4980
|
+
def self.encode(msg)
|
|
4981
|
+
end
|
|
4982
|
+
|
|
4983
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Workflow::V1::PostResetOperation::UpdateWorkflowOptions) }
|
|
4984
|
+
def self.decode_json(str, **kw)
|
|
4985
|
+
end
|
|
4986
|
+
|
|
4987
|
+
sig { params(msg: Temporalio::Api::Workflow::V1::PostResetOperation::UpdateWorkflowOptions, kw: T.untyped).returns(String) }
|
|
4988
|
+
def self.encode_json(msg, **kw)
|
|
4989
|
+
end
|
|
4990
|
+
|
|
4991
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
4992
|
+
def self.descriptor
|
|
4993
|
+
end
|
|
4994
|
+
end
|
|
4995
|
+
|
|
4996
|
+
module Temporalio::Api::Workflow::V1::VersioningOverride::PinnedOverrideBehavior
|
|
4997
|
+
self::PINNED_OVERRIDE_BEHAVIOR_UNSPECIFIED = T.let(0, Integer)
|
|
4998
|
+
self::PINNED_OVERRIDE_BEHAVIOR_PINNED = T.let(1, Integer)
|
|
4999
|
+
|
|
5000
|
+
sig { params(value: Integer).returns(T.nilable(Symbol)) }
|
|
5001
|
+
def self.lookup(value)
|
|
5002
|
+
end
|
|
5003
|
+
|
|
5004
|
+
sig { params(value: Symbol).returns(T.nilable(Integer)) }
|
|
5005
|
+
def self.resolve(value)
|
|
5006
|
+
end
|
|
5007
|
+
|
|
5008
|
+
sig { returns(::Google::Protobuf::EnumDescriptor) }
|
|
5009
|
+
def self.descriptor
|
|
5010
|
+
end
|
|
5011
|
+
end
|