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,226 @@
|
|
|
1
|
+
# Code generated by protoc-gen-rbi. DO NOT EDIT.
|
|
2
|
+
# source: temporal/api/replication/v1/message.proto
|
|
3
|
+
# typed: strict
|
|
4
|
+
|
|
5
|
+
class Temporalio::Api::Replication::V1::ClusterReplicationConfig
|
|
6
|
+
include ::Google::Protobuf::MessageExts
|
|
7
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
8
|
+
|
|
9
|
+
sig do
|
|
10
|
+
params(
|
|
11
|
+
cluster_name: T.nilable(String)
|
|
12
|
+
).void
|
|
13
|
+
end
|
|
14
|
+
def initialize(
|
|
15
|
+
cluster_name: ""
|
|
16
|
+
)
|
|
17
|
+
end
|
|
18
|
+
|
|
19
|
+
sig { returns(String) }
|
|
20
|
+
def cluster_name
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
sig { params(value: String).void }
|
|
24
|
+
def cluster_name=(value)
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
sig { void }
|
|
28
|
+
def clear_cluster_name
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
sig { params(field: String).returns(T.untyped) }
|
|
32
|
+
def [](field)
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
sig { params(field: String, value: T.untyped).void }
|
|
36
|
+
def []=(field, value)
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
40
|
+
def to_h
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
sig { params(str: String).returns(Temporalio::Api::Replication::V1::ClusterReplicationConfig) }
|
|
44
|
+
def self.decode(str)
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
sig { params(msg: Temporalio::Api::Replication::V1::ClusterReplicationConfig).returns(String) }
|
|
48
|
+
def self.encode(msg)
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Replication::V1::ClusterReplicationConfig) }
|
|
52
|
+
def self.decode_json(str, **kw)
|
|
53
|
+
end
|
|
54
|
+
|
|
55
|
+
sig { params(msg: Temporalio::Api::Replication::V1::ClusterReplicationConfig, kw: T.untyped).returns(String) }
|
|
56
|
+
def self.encode_json(msg, **kw)
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
60
|
+
def self.descriptor
|
|
61
|
+
end
|
|
62
|
+
end
|
|
63
|
+
|
|
64
|
+
class Temporalio::Api::Replication::V1::NamespaceReplicationConfig
|
|
65
|
+
include ::Google::Protobuf::MessageExts
|
|
66
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
67
|
+
|
|
68
|
+
sig do
|
|
69
|
+
params(
|
|
70
|
+
active_cluster_name: T.nilable(String),
|
|
71
|
+
clusters: T.nilable(T::Array[T.nilable(Temporalio::Api::Replication::V1::ClusterReplicationConfig)]),
|
|
72
|
+
state: T.nilable(T.any(Symbol, String, Integer))
|
|
73
|
+
).void
|
|
74
|
+
end
|
|
75
|
+
def initialize(
|
|
76
|
+
active_cluster_name: "",
|
|
77
|
+
clusters: [],
|
|
78
|
+
state: :REPLICATION_STATE_UNSPECIFIED
|
|
79
|
+
)
|
|
80
|
+
end
|
|
81
|
+
|
|
82
|
+
sig { returns(String) }
|
|
83
|
+
def active_cluster_name
|
|
84
|
+
end
|
|
85
|
+
|
|
86
|
+
sig { params(value: String).void }
|
|
87
|
+
def active_cluster_name=(value)
|
|
88
|
+
end
|
|
89
|
+
|
|
90
|
+
sig { void }
|
|
91
|
+
def clear_active_cluster_name
|
|
92
|
+
end
|
|
93
|
+
|
|
94
|
+
sig { returns(T::Array[T.nilable(Temporalio::Api::Replication::V1::ClusterReplicationConfig)]) }
|
|
95
|
+
def clusters
|
|
96
|
+
end
|
|
97
|
+
|
|
98
|
+
sig { params(value: ::Google::Protobuf::RepeatedField).void }
|
|
99
|
+
def clusters=(value)
|
|
100
|
+
end
|
|
101
|
+
|
|
102
|
+
sig { void }
|
|
103
|
+
def clear_clusters
|
|
104
|
+
end
|
|
105
|
+
|
|
106
|
+
sig { returns(T.any(Symbol, Integer)) }
|
|
107
|
+
def state
|
|
108
|
+
end
|
|
109
|
+
|
|
110
|
+
sig { params(value: T.any(Symbol, String, Integer)).void }
|
|
111
|
+
def state=(value)
|
|
112
|
+
end
|
|
113
|
+
|
|
114
|
+
sig { void }
|
|
115
|
+
def clear_state
|
|
116
|
+
end
|
|
117
|
+
|
|
118
|
+
sig { params(field: String).returns(T.untyped) }
|
|
119
|
+
def [](field)
|
|
120
|
+
end
|
|
121
|
+
|
|
122
|
+
sig { params(field: String, value: T.untyped).void }
|
|
123
|
+
def []=(field, value)
|
|
124
|
+
end
|
|
125
|
+
|
|
126
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
127
|
+
def to_h
|
|
128
|
+
end
|
|
129
|
+
|
|
130
|
+
sig { params(str: String).returns(Temporalio::Api::Replication::V1::NamespaceReplicationConfig) }
|
|
131
|
+
def self.decode(str)
|
|
132
|
+
end
|
|
133
|
+
|
|
134
|
+
sig { params(msg: Temporalio::Api::Replication::V1::NamespaceReplicationConfig).returns(String) }
|
|
135
|
+
def self.encode(msg)
|
|
136
|
+
end
|
|
137
|
+
|
|
138
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Replication::V1::NamespaceReplicationConfig) }
|
|
139
|
+
def self.decode_json(str, **kw)
|
|
140
|
+
end
|
|
141
|
+
|
|
142
|
+
sig { params(msg: Temporalio::Api::Replication::V1::NamespaceReplicationConfig, kw: T.untyped).returns(String) }
|
|
143
|
+
def self.encode_json(msg, **kw)
|
|
144
|
+
end
|
|
145
|
+
|
|
146
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
147
|
+
def self.descriptor
|
|
148
|
+
end
|
|
149
|
+
end
|
|
150
|
+
|
|
151
|
+
# Represents a historical replication status of a Namespace
|
|
152
|
+
class Temporalio::Api::Replication::V1::FailoverStatus
|
|
153
|
+
include ::Google::Protobuf::MessageExts
|
|
154
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
155
|
+
|
|
156
|
+
sig do
|
|
157
|
+
params(
|
|
158
|
+
failover_time: T.nilable(Google::Protobuf::Timestamp),
|
|
159
|
+
failover_version: T.nilable(Integer)
|
|
160
|
+
).void
|
|
161
|
+
end
|
|
162
|
+
def initialize(
|
|
163
|
+
failover_time: nil,
|
|
164
|
+
failover_version: 0
|
|
165
|
+
)
|
|
166
|
+
end
|
|
167
|
+
|
|
168
|
+
# Timestamp when the Cluster switched to the following failover_version
|
|
169
|
+
sig { returns(T.nilable(Google::Protobuf::Timestamp)) }
|
|
170
|
+
def failover_time
|
|
171
|
+
end
|
|
172
|
+
|
|
173
|
+
# Timestamp when the Cluster switched to the following failover_version
|
|
174
|
+
sig { params(value: T.nilable(Google::Protobuf::Timestamp)).void }
|
|
175
|
+
def failover_time=(value)
|
|
176
|
+
end
|
|
177
|
+
|
|
178
|
+
# Timestamp when the Cluster switched to the following failover_version
|
|
179
|
+
sig { void }
|
|
180
|
+
def clear_failover_time
|
|
181
|
+
end
|
|
182
|
+
|
|
183
|
+
sig { returns(Integer) }
|
|
184
|
+
def failover_version
|
|
185
|
+
end
|
|
186
|
+
|
|
187
|
+
sig { params(value: Integer).void }
|
|
188
|
+
def failover_version=(value)
|
|
189
|
+
end
|
|
190
|
+
|
|
191
|
+
sig { void }
|
|
192
|
+
def clear_failover_version
|
|
193
|
+
end
|
|
194
|
+
|
|
195
|
+
sig { params(field: String).returns(T.untyped) }
|
|
196
|
+
def [](field)
|
|
197
|
+
end
|
|
198
|
+
|
|
199
|
+
sig { params(field: String, value: T.untyped).void }
|
|
200
|
+
def []=(field, value)
|
|
201
|
+
end
|
|
202
|
+
|
|
203
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
204
|
+
def to_h
|
|
205
|
+
end
|
|
206
|
+
|
|
207
|
+
sig { params(str: String).returns(Temporalio::Api::Replication::V1::FailoverStatus) }
|
|
208
|
+
def self.decode(str)
|
|
209
|
+
end
|
|
210
|
+
|
|
211
|
+
sig { params(msg: Temporalio::Api::Replication::V1::FailoverStatus).returns(String) }
|
|
212
|
+
def self.encode(msg)
|
|
213
|
+
end
|
|
214
|
+
|
|
215
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Replication::V1::FailoverStatus) }
|
|
216
|
+
def self.decode_json(str, **kw)
|
|
217
|
+
end
|
|
218
|
+
|
|
219
|
+
sig { params(msg: Temporalio::Api::Replication::V1::FailoverStatus, kw: T.untyped).returns(String) }
|
|
220
|
+
def self.encode_json(msg, **kw)
|
|
221
|
+
end
|
|
222
|
+
|
|
223
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
224
|
+
def self.descriptor
|
|
225
|
+
end
|
|
226
|
+
end
|
|
@@ -0,0 +1,492 @@
|
|
|
1
|
+
# Code generated by protoc-gen-rbi. DO NOT EDIT.
|
|
2
|
+
# source: temporal/api/rules/v1/message.proto
|
|
3
|
+
# typed: strict
|
|
4
|
+
|
|
5
|
+
class Temporalio::Api::Rules::V1::WorkflowRuleAction
|
|
6
|
+
include ::Google::Protobuf::MessageExts
|
|
7
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
8
|
+
|
|
9
|
+
sig do
|
|
10
|
+
params(
|
|
11
|
+
activity_pause: T.nilable(Temporalio::Api::Rules::V1::WorkflowRuleAction::ActionActivityPause)
|
|
12
|
+
).void
|
|
13
|
+
end
|
|
14
|
+
def initialize(
|
|
15
|
+
activity_pause: nil
|
|
16
|
+
)
|
|
17
|
+
end
|
|
18
|
+
|
|
19
|
+
sig { returns(T.nilable(Temporalio::Api::Rules::V1::WorkflowRuleAction::ActionActivityPause)) }
|
|
20
|
+
def activity_pause
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
sig { params(value: T.nilable(Temporalio::Api::Rules::V1::WorkflowRuleAction::ActionActivityPause)).void }
|
|
24
|
+
def activity_pause=(value)
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
sig { void }
|
|
28
|
+
def clear_activity_pause
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
sig { returns(T.nilable(Symbol)) }
|
|
32
|
+
def variant
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
sig { params(field: String).returns(T.untyped) }
|
|
36
|
+
def [](field)
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
sig { params(field: String, value: T.untyped).void }
|
|
40
|
+
def []=(field, value)
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
44
|
+
def to_h
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
sig { params(str: String).returns(Temporalio::Api::Rules::V1::WorkflowRuleAction) }
|
|
48
|
+
def self.decode(str)
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
sig { params(msg: Temporalio::Api::Rules::V1::WorkflowRuleAction).returns(String) }
|
|
52
|
+
def self.encode(msg)
|
|
53
|
+
end
|
|
54
|
+
|
|
55
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Rules::V1::WorkflowRuleAction) }
|
|
56
|
+
def self.decode_json(str, **kw)
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
sig { params(msg: Temporalio::Api::Rules::V1::WorkflowRuleAction, kw: T.untyped).returns(String) }
|
|
60
|
+
def self.encode_json(msg, **kw)
|
|
61
|
+
end
|
|
62
|
+
|
|
63
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
64
|
+
def self.descriptor
|
|
65
|
+
end
|
|
66
|
+
end
|
|
67
|
+
|
|
68
|
+
class Temporalio::Api::Rules::V1::WorkflowRuleSpec
|
|
69
|
+
include ::Google::Protobuf::MessageExts
|
|
70
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
71
|
+
|
|
72
|
+
sig do
|
|
73
|
+
params(
|
|
74
|
+
id: T.nilable(String),
|
|
75
|
+
activity_start: T.nilable(Temporalio::Api::Rules::V1::WorkflowRuleSpec::ActivityStartingTrigger),
|
|
76
|
+
visibility_query: T.nilable(String),
|
|
77
|
+
actions: T.nilable(T::Array[T.nilable(Temporalio::Api::Rules::V1::WorkflowRuleAction)]),
|
|
78
|
+
expiration_time: T.nilable(Google::Protobuf::Timestamp)
|
|
79
|
+
).void
|
|
80
|
+
end
|
|
81
|
+
def initialize(
|
|
82
|
+
id: "",
|
|
83
|
+
activity_start: nil,
|
|
84
|
+
visibility_query: "",
|
|
85
|
+
actions: [],
|
|
86
|
+
expiration_time: nil
|
|
87
|
+
)
|
|
88
|
+
end
|
|
89
|
+
|
|
90
|
+
# The id of the new workflow rule. Must be unique within the namespace.
|
|
91
|
+
# Can be set by the user, and can have business meaning.
|
|
92
|
+
sig { returns(String) }
|
|
93
|
+
def id
|
|
94
|
+
end
|
|
95
|
+
|
|
96
|
+
# The id of the new workflow rule. Must be unique within the namespace.
|
|
97
|
+
# Can be set by the user, and can have business meaning.
|
|
98
|
+
sig { params(value: String).void }
|
|
99
|
+
def id=(value)
|
|
100
|
+
end
|
|
101
|
+
|
|
102
|
+
# The id of the new workflow rule. Must be unique within the namespace.
|
|
103
|
+
# Can be set by the user, and can have business meaning.
|
|
104
|
+
sig { void }
|
|
105
|
+
def clear_id
|
|
106
|
+
end
|
|
107
|
+
|
|
108
|
+
sig { returns(T.nilable(Temporalio::Api::Rules::V1::WorkflowRuleSpec::ActivityStartingTrigger)) }
|
|
109
|
+
def activity_start
|
|
110
|
+
end
|
|
111
|
+
|
|
112
|
+
sig { params(value: T.nilable(Temporalio::Api::Rules::V1::WorkflowRuleSpec::ActivityStartingTrigger)).void }
|
|
113
|
+
def activity_start=(value)
|
|
114
|
+
end
|
|
115
|
+
|
|
116
|
+
sig { void }
|
|
117
|
+
def clear_activity_start
|
|
118
|
+
end
|
|
119
|
+
|
|
120
|
+
# Restricted Visibility query.
|
|
121
|
+
# This query is used to filter workflows in this namespace to which this rule should apply.
|
|
122
|
+
# It is applied to any running workflow each time a triggering event occurs, before the trigger predicate is evaluated.
|
|
123
|
+
# The following workflow attributes are supported:
|
|
124
|
+
# - WorkflowType
|
|
125
|
+
# - WorkflowId
|
|
126
|
+
# - StartTime
|
|
127
|
+
# - ExecutionStatus
|
|
128
|
+
sig { returns(String) }
|
|
129
|
+
def visibility_query
|
|
130
|
+
end
|
|
131
|
+
|
|
132
|
+
# Restricted Visibility query.
|
|
133
|
+
# This query is used to filter workflows in this namespace to which this rule should apply.
|
|
134
|
+
# It is applied to any running workflow each time a triggering event occurs, before the trigger predicate is evaluated.
|
|
135
|
+
# The following workflow attributes are supported:
|
|
136
|
+
# - WorkflowType
|
|
137
|
+
# - WorkflowId
|
|
138
|
+
# - StartTime
|
|
139
|
+
# - ExecutionStatus
|
|
140
|
+
sig { params(value: String).void }
|
|
141
|
+
def visibility_query=(value)
|
|
142
|
+
end
|
|
143
|
+
|
|
144
|
+
# Restricted Visibility query.
|
|
145
|
+
# This query is used to filter workflows in this namespace to which this rule should apply.
|
|
146
|
+
# It is applied to any running workflow each time a triggering event occurs, before the trigger predicate is evaluated.
|
|
147
|
+
# The following workflow attributes are supported:
|
|
148
|
+
# - WorkflowType
|
|
149
|
+
# - WorkflowId
|
|
150
|
+
# - StartTime
|
|
151
|
+
# - ExecutionStatus
|
|
152
|
+
sig { void }
|
|
153
|
+
def clear_visibility_query
|
|
154
|
+
end
|
|
155
|
+
|
|
156
|
+
# WorkflowRuleAction to be taken when the rule is triggered and predicate is matched.
|
|
157
|
+
sig { returns(T::Array[T.nilable(Temporalio::Api::Rules::V1::WorkflowRuleAction)]) }
|
|
158
|
+
def actions
|
|
159
|
+
end
|
|
160
|
+
|
|
161
|
+
# WorkflowRuleAction to be taken when the rule is triggered and predicate is matched.
|
|
162
|
+
sig { params(value: ::Google::Protobuf::RepeatedField).void }
|
|
163
|
+
def actions=(value)
|
|
164
|
+
end
|
|
165
|
+
|
|
166
|
+
# WorkflowRuleAction to be taken when the rule is triggered and predicate is matched.
|
|
167
|
+
sig { void }
|
|
168
|
+
def clear_actions
|
|
169
|
+
end
|
|
170
|
+
|
|
171
|
+
# Expiration time of the rule. After this time, the rule will be deleted.
|
|
172
|
+
# Can be empty if the rule should never expire.
|
|
173
|
+
sig { returns(T.nilable(Google::Protobuf::Timestamp)) }
|
|
174
|
+
def expiration_time
|
|
175
|
+
end
|
|
176
|
+
|
|
177
|
+
# Expiration time of the rule. After this time, the rule will be deleted.
|
|
178
|
+
# Can be empty if the rule should never expire.
|
|
179
|
+
sig { params(value: T.nilable(Google::Protobuf::Timestamp)).void }
|
|
180
|
+
def expiration_time=(value)
|
|
181
|
+
end
|
|
182
|
+
|
|
183
|
+
# Expiration time of the rule. After this time, the rule will be deleted.
|
|
184
|
+
# Can be empty if the rule should never expire.
|
|
185
|
+
sig { void }
|
|
186
|
+
def clear_expiration_time
|
|
187
|
+
end
|
|
188
|
+
|
|
189
|
+
sig { returns(T.nilable(Symbol)) }
|
|
190
|
+
def trigger
|
|
191
|
+
end
|
|
192
|
+
|
|
193
|
+
sig { params(field: String).returns(T.untyped) }
|
|
194
|
+
def [](field)
|
|
195
|
+
end
|
|
196
|
+
|
|
197
|
+
sig { params(field: String, value: T.untyped).void }
|
|
198
|
+
def []=(field, value)
|
|
199
|
+
end
|
|
200
|
+
|
|
201
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
202
|
+
def to_h
|
|
203
|
+
end
|
|
204
|
+
|
|
205
|
+
sig { params(str: String).returns(Temporalio::Api::Rules::V1::WorkflowRuleSpec) }
|
|
206
|
+
def self.decode(str)
|
|
207
|
+
end
|
|
208
|
+
|
|
209
|
+
sig { params(msg: Temporalio::Api::Rules::V1::WorkflowRuleSpec).returns(String) }
|
|
210
|
+
def self.encode(msg)
|
|
211
|
+
end
|
|
212
|
+
|
|
213
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Rules::V1::WorkflowRuleSpec) }
|
|
214
|
+
def self.decode_json(str, **kw)
|
|
215
|
+
end
|
|
216
|
+
|
|
217
|
+
sig { params(msg: Temporalio::Api::Rules::V1::WorkflowRuleSpec, kw: T.untyped).returns(String) }
|
|
218
|
+
def self.encode_json(msg, **kw)
|
|
219
|
+
end
|
|
220
|
+
|
|
221
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
222
|
+
def self.descriptor
|
|
223
|
+
end
|
|
224
|
+
end
|
|
225
|
+
|
|
226
|
+
# WorkflowRule describes a rule that can be applied to any workflow in this namespace.
|
|
227
|
+
class Temporalio::Api::Rules::V1::WorkflowRule
|
|
228
|
+
include ::Google::Protobuf::MessageExts
|
|
229
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
230
|
+
|
|
231
|
+
sig do
|
|
232
|
+
params(
|
|
233
|
+
create_time: T.nilable(Google::Protobuf::Timestamp),
|
|
234
|
+
spec: T.nilable(Temporalio::Api::Rules::V1::WorkflowRuleSpec),
|
|
235
|
+
created_by_identity: T.nilable(String),
|
|
236
|
+
description: T.nilable(String)
|
|
237
|
+
).void
|
|
238
|
+
end
|
|
239
|
+
def initialize(
|
|
240
|
+
create_time: nil,
|
|
241
|
+
spec: nil,
|
|
242
|
+
created_by_identity: "",
|
|
243
|
+
description: ""
|
|
244
|
+
)
|
|
245
|
+
end
|
|
246
|
+
|
|
247
|
+
# Rule creation time.
|
|
248
|
+
sig { returns(T.nilable(Google::Protobuf::Timestamp)) }
|
|
249
|
+
def create_time
|
|
250
|
+
end
|
|
251
|
+
|
|
252
|
+
# Rule creation time.
|
|
253
|
+
sig { params(value: T.nilable(Google::Protobuf::Timestamp)).void }
|
|
254
|
+
def create_time=(value)
|
|
255
|
+
end
|
|
256
|
+
|
|
257
|
+
# Rule creation time.
|
|
258
|
+
sig { void }
|
|
259
|
+
def clear_create_time
|
|
260
|
+
end
|
|
261
|
+
|
|
262
|
+
# Rule specification
|
|
263
|
+
sig { returns(T.nilable(Temporalio::Api::Rules::V1::WorkflowRuleSpec)) }
|
|
264
|
+
def spec
|
|
265
|
+
end
|
|
266
|
+
|
|
267
|
+
# Rule specification
|
|
268
|
+
sig { params(value: T.nilable(Temporalio::Api::Rules::V1::WorkflowRuleSpec)).void }
|
|
269
|
+
def spec=(value)
|
|
270
|
+
end
|
|
271
|
+
|
|
272
|
+
# Rule specification
|
|
273
|
+
sig { void }
|
|
274
|
+
def clear_spec
|
|
275
|
+
end
|
|
276
|
+
|
|
277
|
+
# Identity of the actor that created the rule
|
|
278
|
+
# (-- api-linter: core::0140::prepositions=disabled
|
|
279
|
+
# aip.dev/not-precedent: It is better reflect the intent this way, we will also have updated_by. --)
|
|
280
|
+
# (-- api-linter: core::0142::time-field-names=disabled
|
|
281
|
+
# aip.dev/not-precedent: Same as above. All other options sounds clumsy --)
|
|
282
|
+
sig { returns(String) }
|
|
283
|
+
def created_by_identity
|
|
284
|
+
end
|
|
285
|
+
|
|
286
|
+
# Identity of the actor that created the rule
|
|
287
|
+
# (-- api-linter: core::0140::prepositions=disabled
|
|
288
|
+
# aip.dev/not-precedent: It is better reflect the intent this way, we will also have updated_by. --)
|
|
289
|
+
# (-- api-linter: core::0142::time-field-names=disabled
|
|
290
|
+
# aip.dev/not-precedent: Same as above. All other options sounds clumsy --)
|
|
291
|
+
sig { params(value: String).void }
|
|
292
|
+
def created_by_identity=(value)
|
|
293
|
+
end
|
|
294
|
+
|
|
295
|
+
# Identity of the actor that created the rule
|
|
296
|
+
# (-- api-linter: core::0140::prepositions=disabled
|
|
297
|
+
# aip.dev/not-precedent: It is better reflect the intent this way, we will also have updated_by. --)
|
|
298
|
+
# (-- api-linter: core::0142::time-field-names=disabled
|
|
299
|
+
# aip.dev/not-precedent: Same as above. All other options sounds clumsy --)
|
|
300
|
+
sig { void }
|
|
301
|
+
def clear_created_by_identity
|
|
302
|
+
end
|
|
303
|
+
|
|
304
|
+
# Rule description.
|
|
305
|
+
sig { returns(String) }
|
|
306
|
+
def description
|
|
307
|
+
end
|
|
308
|
+
|
|
309
|
+
# Rule description.
|
|
310
|
+
sig { params(value: String).void }
|
|
311
|
+
def description=(value)
|
|
312
|
+
end
|
|
313
|
+
|
|
314
|
+
# Rule description.
|
|
315
|
+
sig { void }
|
|
316
|
+
def clear_description
|
|
317
|
+
end
|
|
318
|
+
|
|
319
|
+
sig { params(field: String).returns(T.untyped) }
|
|
320
|
+
def [](field)
|
|
321
|
+
end
|
|
322
|
+
|
|
323
|
+
sig { params(field: String, value: T.untyped).void }
|
|
324
|
+
def []=(field, value)
|
|
325
|
+
end
|
|
326
|
+
|
|
327
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
328
|
+
def to_h
|
|
329
|
+
end
|
|
330
|
+
|
|
331
|
+
sig { params(str: String).returns(Temporalio::Api::Rules::V1::WorkflowRule) }
|
|
332
|
+
def self.decode(str)
|
|
333
|
+
end
|
|
334
|
+
|
|
335
|
+
sig { params(msg: Temporalio::Api::Rules::V1::WorkflowRule).returns(String) }
|
|
336
|
+
def self.encode(msg)
|
|
337
|
+
end
|
|
338
|
+
|
|
339
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Rules::V1::WorkflowRule) }
|
|
340
|
+
def self.decode_json(str, **kw)
|
|
341
|
+
end
|
|
342
|
+
|
|
343
|
+
sig { params(msg: Temporalio::Api::Rules::V1::WorkflowRule, kw: T.untyped).returns(String) }
|
|
344
|
+
def self.encode_json(msg, **kw)
|
|
345
|
+
end
|
|
346
|
+
|
|
347
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
348
|
+
def self.descriptor
|
|
349
|
+
end
|
|
350
|
+
end
|
|
351
|
+
|
|
352
|
+
class Temporalio::Api::Rules::V1::WorkflowRuleAction::ActionActivityPause
|
|
353
|
+
include ::Google::Protobuf::MessageExts
|
|
354
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
355
|
+
|
|
356
|
+
sig {void}
|
|
357
|
+
def initialize; end
|
|
358
|
+
|
|
359
|
+
sig { params(field: String).returns(T.untyped) }
|
|
360
|
+
def [](field)
|
|
361
|
+
end
|
|
362
|
+
|
|
363
|
+
sig { params(field: String, value: T.untyped).void }
|
|
364
|
+
def []=(field, value)
|
|
365
|
+
end
|
|
366
|
+
|
|
367
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
368
|
+
def to_h
|
|
369
|
+
end
|
|
370
|
+
|
|
371
|
+
sig { params(str: String).returns(Temporalio::Api::Rules::V1::WorkflowRuleAction::ActionActivityPause) }
|
|
372
|
+
def self.decode(str)
|
|
373
|
+
end
|
|
374
|
+
|
|
375
|
+
sig { params(msg: Temporalio::Api::Rules::V1::WorkflowRuleAction::ActionActivityPause).returns(String) }
|
|
376
|
+
def self.encode(msg)
|
|
377
|
+
end
|
|
378
|
+
|
|
379
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Rules::V1::WorkflowRuleAction::ActionActivityPause) }
|
|
380
|
+
def self.decode_json(str, **kw)
|
|
381
|
+
end
|
|
382
|
+
|
|
383
|
+
sig { params(msg: Temporalio::Api::Rules::V1::WorkflowRuleAction::ActionActivityPause, kw: T.untyped).returns(String) }
|
|
384
|
+
def self.encode_json(msg, **kw)
|
|
385
|
+
end
|
|
386
|
+
|
|
387
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
388
|
+
def self.descriptor
|
|
389
|
+
end
|
|
390
|
+
end
|
|
391
|
+
|
|
392
|
+
# Activity trigger will be triggered when an activity is about to start.
|
|
393
|
+
class Temporalio::Api::Rules::V1::WorkflowRuleSpec::ActivityStartingTrigger
|
|
394
|
+
include ::Google::Protobuf::MessageExts
|
|
395
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
396
|
+
|
|
397
|
+
sig do
|
|
398
|
+
params(
|
|
399
|
+
predicate: T.nilable(String)
|
|
400
|
+
).void
|
|
401
|
+
end
|
|
402
|
+
def initialize(
|
|
403
|
+
predicate: ""
|
|
404
|
+
)
|
|
405
|
+
end
|
|
406
|
+
|
|
407
|
+
# Activity predicate is a SQL-like string filter parameter.
|
|
408
|
+
# It is used to match against workflow data.
|
|
409
|
+
# The following activity attributes are supported as part of the predicate:
|
|
410
|
+
# - ActivityType: An Activity Type is the mapping of a name to an Activity Definition..
|
|
411
|
+
# - ActivityId: The ID of the activity.
|
|
412
|
+
# - ActivityAttempt: The number attempts of the activity.
|
|
413
|
+
# - BackoffInterval: The current amount of time between scheduled attempts of the activity.
|
|
414
|
+
# - ActivityStatus: The status of the activity. Can be one of "Scheduled", "Started", "Paused".
|
|
415
|
+
# - TaskQueue: The name of the task queue the workflow specified that the activity should run on.
|
|
416
|
+
# Activity predicate support the following operators:
|
|
417
|
+
# * =, !=, >, >=, <, <=
|
|
418
|
+
# * AND, OR, ()
|
|
419
|
+
# * BETWEEN ... AND
|
|
420
|
+
# STARTS_WITH
|
|
421
|
+
sig { returns(String) }
|
|
422
|
+
def predicate
|
|
423
|
+
end
|
|
424
|
+
|
|
425
|
+
# Activity predicate is a SQL-like string filter parameter.
|
|
426
|
+
# It is used to match against workflow data.
|
|
427
|
+
# The following activity attributes are supported as part of the predicate:
|
|
428
|
+
# - ActivityType: An Activity Type is the mapping of a name to an Activity Definition..
|
|
429
|
+
# - ActivityId: The ID of the activity.
|
|
430
|
+
# - ActivityAttempt: The number attempts of the activity.
|
|
431
|
+
# - BackoffInterval: The current amount of time between scheduled attempts of the activity.
|
|
432
|
+
# - ActivityStatus: The status of the activity. Can be one of "Scheduled", "Started", "Paused".
|
|
433
|
+
# - TaskQueue: The name of the task queue the workflow specified that the activity should run on.
|
|
434
|
+
# Activity predicate support the following operators:
|
|
435
|
+
# * =, !=, >, >=, <, <=
|
|
436
|
+
# * AND, OR, ()
|
|
437
|
+
# * BETWEEN ... AND
|
|
438
|
+
# STARTS_WITH
|
|
439
|
+
sig { params(value: String).void }
|
|
440
|
+
def predicate=(value)
|
|
441
|
+
end
|
|
442
|
+
|
|
443
|
+
# Activity predicate is a SQL-like string filter parameter.
|
|
444
|
+
# It is used to match against workflow data.
|
|
445
|
+
# The following activity attributes are supported as part of the predicate:
|
|
446
|
+
# - ActivityType: An Activity Type is the mapping of a name to an Activity Definition..
|
|
447
|
+
# - ActivityId: The ID of the activity.
|
|
448
|
+
# - ActivityAttempt: The number attempts of the activity.
|
|
449
|
+
# - BackoffInterval: The current amount of time between scheduled attempts of the activity.
|
|
450
|
+
# - ActivityStatus: The status of the activity. Can be one of "Scheduled", "Started", "Paused".
|
|
451
|
+
# - TaskQueue: The name of the task queue the workflow specified that the activity should run on.
|
|
452
|
+
# Activity predicate support the following operators:
|
|
453
|
+
# * =, !=, >, >=, <, <=
|
|
454
|
+
# * AND, OR, ()
|
|
455
|
+
# * BETWEEN ... AND
|
|
456
|
+
# STARTS_WITH
|
|
457
|
+
sig { void }
|
|
458
|
+
def clear_predicate
|
|
459
|
+
end
|
|
460
|
+
|
|
461
|
+
sig { params(field: String).returns(T.untyped) }
|
|
462
|
+
def [](field)
|
|
463
|
+
end
|
|
464
|
+
|
|
465
|
+
sig { params(field: String, value: T.untyped).void }
|
|
466
|
+
def []=(field, value)
|
|
467
|
+
end
|
|
468
|
+
|
|
469
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
470
|
+
def to_h
|
|
471
|
+
end
|
|
472
|
+
|
|
473
|
+
sig { params(str: String).returns(Temporalio::Api::Rules::V1::WorkflowRuleSpec::ActivityStartingTrigger) }
|
|
474
|
+
def self.decode(str)
|
|
475
|
+
end
|
|
476
|
+
|
|
477
|
+
sig { params(msg: Temporalio::Api::Rules::V1::WorkflowRuleSpec::ActivityStartingTrigger).returns(String) }
|
|
478
|
+
def self.encode(msg)
|
|
479
|
+
end
|
|
480
|
+
|
|
481
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Rules::V1::WorkflowRuleSpec::ActivityStartingTrigger) }
|
|
482
|
+
def self.decode_json(str, **kw)
|
|
483
|
+
end
|
|
484
|
+
|
|
485
|
+
sig { params(msg: Temporalio::Api::Rules::V1::WorkflowRuleSpec::ActivityStartingTrigger, kw: T.untyped).returns(String) }
|
|
486
|
+
def self.encode_json(msg, **kw)
|
|
487
|
+
end
|
|
488
|
+
|
|
489
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
490
|
+
def self.descriptor
|
|
491
|
+
end
|
|
492
|
+
end
|