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,1044 @@
|
|
|
1
|
+
# Code generated by protoc-gen-rbi. DO NOT EDIT.
|
|
2
|
+
# source: temporal/api/namespace/v1/message.proto
|
|
3
|
+
# typed: strict
|
|
4
|
+
|
|
5
|
+
class Temporalio::Api::Namespace::V1::NamespaceInfo
|
|
6
|
+
include ::Google::Protobuf::MessageExts
|
|
7
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
8
|
+
|
|
9
|
+
sig do
|
|
10
|
+
params(
|
|
11
|
+
name: T.nilable(String),
|
|
12
|
+
state: T.nilable(T.any(Symbol, String, Integer)),
|
|
13
|
+
description: T.nilable(String),
|
|
14
|
+
owner_email: T.nilable(String),
|
|
15
|
+
data: T.nilable(T::Hash[String, String]),
|
|
16
|
+
id: T.nilable(String),
|
|
17
|
+
capabilities: T.nilable(Temporalio::Api::Namespace::V1::NamespaceInfo::Capabilities),
|
|
18
|
+
limits: T.nilable(Temporalio::Api::Namespace::V1::NamespaceInfo::Limits),
|
|
19
|
+
supports_schedules: T.nilable(T::Boolean)
|
|
20
|
+
).void
|
|
21
|
+
end
|
|
22
|
+
def initialize(
|
|
23
|
+
name: "",
|
|
24
|
+
state: :NAMESPACE_STATE_UNSPECIFIED,
|
|
25
|
+
description: "",
|
|
26
|
+
owner_email: "",
|
|
27
|
+
data: ::Google::Protobuf::Map.new(:string, :string),
|
|
28
|
+
id: "",
|
|
29
|
+
capabilities: nil,
|
|
30
|
+
limits: nil,
|
|
31
|
+
supports_schedules: false
|
|
32
|
+
)
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
sig { returns(String) }
|
|
36
|
+
def name
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
sig { params(value: String).void }
|
|
40
|
+
def name=(value)
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
sig { void }
|
|
44
|
+
def clear_name
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
sig { returns(T.any(Symbol, Integer)) }
|
|
48
|
+
def state
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
sig { params(value: T.any(Symbol, String, Integer)).void }
|
|
52
|
+
def state=(value)
|
|
53
|
+
end
|
|
54
|
+
|
|
55
|
+
sig { void }
|
|
56
|
+
def clear_state
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
sig { returns(String) }
|
|
60
|
+
def description
|
|
61
|
+
end
|
|
62
|
+
|
|
63
|
+
sig { params(value: String).void }
|
|
64
|
+
def description=(value)
|
|
65
|
+
end
|
|
66
|
+
|
|
67
|
+
sig { void }
|
|
68
|
+
def clear_description
|
|
69
|
+
end
|
|
70
|
+
|
|
71
|
+
sig { returns(String) }
|
|
72
|
+
def owner_email
|
|
73
|
+
end
|
|
74
|
+
|
|
75
|
+
sig { params(value: String).void }
|
|
76
|
+
def owner_email=(value)
|
|
77
|
+
end
|
|
78
|
+
|
|
79
|
+
sig { void }
|
|
80
|
+
def clear_owner_email
|
|
81
|
+
end
|
|
82
|
+
|
|
83
|
+
# A key-value map for any customized purpose.
|
|
84
|
+
sig { returns(T::Hash[String, String]) }
|
|
85
|
+
def data
|
|
86
|
+
end
|
|
87
|
+
|
|
88
|
+
# A key-value map for any customized purpose.
|
|
89
|
+
sig { params(value: ::Google::Protobuf::Map).void }
|
|
90
|
+
def data=(value)
|
|
91
|
+
end
|
|
92
|
+
|
|
93
|
+
# A key-value map for any customized purpose.
|
|
94
|
+
sig { void }
|
|
95
|
+
def clear_data
|
|
96
|
+
end
|
|
97
|
+
|
|
98
|
+
sig { returns(String) }
|
|
99
|
+
def id
|
|
100
|
+
end
|
|
101
|
+
|
|
102
|
+
sig { params(value: String).void }
|
|
103
|
+
def id=(value)
|
|
104
|
+
end
|
|
105
|
+
|
|
106
|
+
sig { void }
|
|
107
|
+
def clear_id
|
|
108
|
+
end
|
|
109
|
+
|
|
110
|
+
# All capabilities the namespace supports.
|
|
111
|
+
sig { returns(T.nilable(Temporalio::Api::Namespace::V1::NamespaceInfo::Capabilities)) }
|
|
112
|
+
def capabilities
|
|
113
|
+
end
|
|
114
|
+
|
|
115
|
+
# All capabilities the namespace supports.
|
|
116
|
+
sig { params(value: T.nilable(Temporalio::Api::Namespace::V1::NamespaceInfo::Capabilities)).void }
|
|
117
|
+
def capabilities=(value)
|
|
118
|
+
end
|
|
119
|
+
|
|
120
|
+
# All capabilities the namespace supports.
|
|
121
|
+
sig { void }
|
|
122
|
+
def clear_capabilities
|
|
123
|
+
end
|
|
124
|
+
|
|
125
|
+
# Namespace configured limits
|
|
126
|
+
sig { returns(T.nilable(Temporalio::Api::Namespace::V1::NamespaceInfo::Limits)) }
|
|
127
|
+
def limits
|
|
128
|
+
end
|
|
129
|
+
|
|
130
|
+
# Namespace configured limits
|
|
131
|
+
sig { params(value: T.nilable(Temporalio::Api::Namespace::V1::NamespaceInfo::Limits)).void }
|
|
132
|
+
def limits=(value)
|
|
133
|
+
end
|
|
134
|
+
|
|
135
|
+
# Namespace configured limits
|
|
136
|
+
sig { void }
|
|
137
|
+
def clear_limits
|
|
138
|
+
end
|
|
139
|
+
|
|
140
|
+
# Whether scheduled workflows are supported on this namespace. This is only needed
|
|
141
|
+
# temporarily while the feature is experimental, so we can give it a high tag.
|
|
142
|
+
sig { returns(T::Boolean) }
|
|
143
|
+
def supports_schedules
|
|
144
|
+
end
|
|
145
|
+
|
|
146
|
+
# Whether scheduled workflows are supported on this namespace. This is only needed
|
|
147
|
+
# temporarily while the feature is experimental, so we can give it a high tag.
|
|
148
|
+
sig { params(value: T::Boolean).void }
|
|
149
|
+
def supports_schedules=(value)
|
|
150
|
+
end
|
|
151
|
+
|
|
152
|
+
# Whether scheduled workflows are supported on this namespace. This is only needed
|
|
153
|
+
# temporarily while the feature is experimental, so we can give it a high tag.
|
|
154
|
+
sig { void }
|
|
155
|
+
def clear_supports_schedules
|
|
156
|
+
end
|
|
157
|
+
|
|
158
|
+
sig { params(field: String).returns(T.untyped) }
|
|
159
|
+
def [](field)
|
|
160
|
+
end
|
|
161
|
+
|
|
162
|
+
sig { params(field: String, value: T.untyped).void }
|
|
163
|
+
def []=(field, value)
|
|
164
|
+
end
|
|
165
|
+
|
|
166
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
167
|
+
def to_h
|
|
168
|
+
end
|
|
169
|
+
|
|
170
|
+
sig { params(str: String).returns(Temporalio::Api::Namespace::V1::NamespaceInfo) }
|
|
171
|
+
def self.decode(str)
|
|
172
|
+
end
|
|
173
|
+
|
|
174
|
+
sig { params(msg: Temporalio::Api::Namespace::V1::NamespaceInfo).returns(String) }
|
|
175
|
+
def self.encode(msg)
|
|
176
|
+
end
|
|
177
|
+
|
|
178
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Namespace::V1::NamespaceInfo) }
|
|
179
|
+
def self.decode_json(str, **kw)
|
|
180
|
+
end
|
|
181
|
+
|
|
182
|
+
sig { params(msg: Temporalio::Api::Namespace::V1::NamespaceInfo, kw: T.untyped).returns(String) }
|
|
183
|
+
def self.encode_json(msg, **kw)
|
|
184
|
+
end
|
|
185
|
+
|
|
186
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
187
|
+
def self.descriptor
|
|
188
|
+
end
|
|
189
|
+
end
|
|
190
|
+
|
|
191
|
+
class Temporalio::Api::Namespace::V1::NamespaceConfig
|
|
192
|
+
include ::Google::Protobuf::MessageExts
|
|
193
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
194
|
+
|
|
195
|
+
sig do
|
|
196
|
+
params(
|
|
197
|
+
workflow_execution_retention_ttl: T.nilable(Google::Protobuf::Duration),
|
|
198
|
+
bad_binaries: T.nilable(Temporalio::Api::Namespace::V1::BadBinaries),
|
|
199
|
+
history_archival_state: T.nilable(T.any(Symbol, String, Integer)),
|
|
200
|
+
history_archival_uri: T.nilable(String),
|
|
201
|
+
visibility_archival_state: T.nilable(T.any(Symbol, String, Integer)),
|
|
202
|
+
visibility_archival_uri: T.nilable(String),
|
|
203
|
+
custom_search_attribute_aliases: T.nilable(T::Hash[String, String])
|
|
204
|
+
).void
|
|
205
|
+
end
|
|
206
|
+
def initialize(
|
|
207
|
+
workflow_execution_retention_ttl: nil,
|
|
208
|
+
bad_binaries: nil,
|
|
209
|
+
history_archival_state: :ARCHIVAL_STATE_UNSPECIFIED,
|
|
210
|
+
history_archival_uri: "",
|
|
211
|
+
visibility_archival_state: :ARCHIVAL_STATE_UNSPECIFIED,
|
|
212
|
+
visibility_archival_uri: "",
|
|
213
|
+
custom_search_attribute_aliases: ::Google::Protobuf::Map.new(:string, :string)
|
|
214
|
+
)
|
|
215
|
+
end
|
|
216
|
+
|
|
217
|
+
sig { returns(T.nilable(Google::Protobuf::Duration)) }
|
|
218
|
+
def workflow_execution_retention_ttl
|
|
219
|
+
end
|
|
220
|
+
|
|
221
|
+
sig { params(value: T.nilable(Google::Protobuf::Duration)).void }
|
|
222
|
+
def workflow_execution_retention_ttl=(value)
|
|
223
|
+
end
|
|
224
|
+
|
|
225
|
+
sig { void }
|
|
226
|
+
def clear_workflow_execution_retention_ttl
|
|
227
|
+
end
|
|
228
|
+
|
|
229
|
+
sig { returns(T.nilable(Temporalio::Api::Namespace::V1::BadBinaries)) }
|
|
230
|
+
def bad_binaries
|
|
231
|
+
end
|
|
232
|
+
|
|
233
|
+
sig { params(value: T.nilable(Temporalio::Api::Namespace::V1::BadBinaries)).void }
|
|
234
|
+
def bad_binaries=(value)
|
|
235
|
+
end
|
|
236
|
+
|
|
237
|
+
sig { void }
|
|
238
|
+
def clear_bad_binaries
|
|
239
|
+
end
|
|
240
|
+
|
|
241
|
+
# If unspecified (ARCHIVAL_STATE_UNSPECIFIED) then default server configuration is used.
|
|
242
|
+
sig { returns(T.any(Symbol, Integer)) }
|
|
243
|
+
def history_archival_state
|
|
244
|
+
end
|
|
245
|
+
|
|
246
|
+
# If unspecified (ARCHIVAL_STATE_UNSPECIFIED) then default server configuration is used.
|
|
247
|
+
sig { params(value: T.any(Symbol, String, Integer)).void }
|
|
248
|
+
def history_archival_state=(value)
|
|
249
|
+
end
|
|
250
|
+
|
|
251
|
+
# If unspecified (ARCHIVAL_STATE_UNSPECIFIED) then default server configuration is used.
|
|
252
|
+
sig { void }
|
|
253
|
+
def clear_history_archival_state
|
|
254
|
+
end
|
|
255
|
+
|
|
256
|
+
sig { returns(String) }
|
|
257
|
+
def history_archival_uri
|
|
258
|
+
end
|
|
259
|
+
|
|
260
|
+
sig { params(value: String).void }
|
|
261
|
+
def history_archival_uri=(value)
|
|
262
|
+
end
|
|
263
|
+
|
|
264
|
+
sig { void }
|
|
265
|
+
def clear_history_archival_uri
|
|
266
|
+
end
|
|
267
|
+
|
|
268
|
+
# If unspecified (ARCHIVAL_STATE_UNSPECIFIED) then default server configuration is used.
|
|
269
|
+
sig { returns(T.any(Symbol, Integer)) }
|
|
270
|
+
def visibility_archival_state
|
|
271
|
+
end
|
|
272
|
+
|
|
273
|
+
# If unspecified (ARCHIVAL_STATE_UNSPECIFIED) then default server configuration is used.
|
|
274
|
+
sig { params(value: T.any(Symbol, String, Integer)).void }
|
|
275
|
+
def visibility_archival_state=(value)
|
|
276
|
+
end
|
|
277
|
+
|
|
278
|
+
# If unspecified (ARCHIVAL_STATE_UNSPECIFIED) then default server configuration is used.
|
|
279
|
+
sig { void }
|
|
280
|
+
def clear_visibility_archival_state
|
|
281
|
+
end
|
|
282
|
+
|
|
283
|
+
sig { returns(String) }
|
|
284
|
+
def visibility_archival_uri
|
|
285
|
+
end
|
|
286
|
+
|
|
287
|
+
sig { params(value: String).void }
|
|
288
|
+
def visibility_archival_uri=(value)
|
|
289
|
+
end
|
|
290
|
+
|
|
291
|
+
sig { void }
|
|
292
|
+
def clear_visibility_archival_uri
|
|
293
|
+
end
|
|
294
|
+
|
|
295
|
+
# Map from field name to alias.
|
|
296
|
+
sig { returns(T::Hash[String, String]) }
|
|
297
|
+
def custom_search_attribute_aliases
|
|
298
|
+
end
|
|
299
|
+
|
|
300
|
+
# Map from field name to alias.
|
|
301
|
+
sig { params(value: ::Google::Protobuf::Map).void }
|
|
302
|
+
def custom_search_attribute_aliases=(value)
|
|
303
|
+
end
|
|
304
|
+
|
|
305
|
+
# Map from field name to alias.
|
|
306
|
+
sig { void }
|
|
307
|
+
def clear_custom_search_attribute_aliases
|
|
308
|
+
end
|
|
309
|
+
|
|
310
|
+
sig { params(field: String).returns(T.untyped) }
|
|
311
|
+
def [](field)
|
|
312
|
+
end
|
|
313
|
+
|
|
314
|
+
sig { params(field: String, value: T.untyped).void }
|
|
315
|
+
def []=(field, value)
|
|
316
|
+
end
|
|
317
|
+
|
|
318
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
319
|
+
def to_h
|
|
320
|
+
end
|
|
321
|
+
|
|
322
|
+
sig { params(str: String).returns(Temporalio::Api::Namespace::V1::NamespaceConfig) }
|
|
323
|
+
def self.decode(str)
|
|
324
|
+
end
|
|
325
|
+
|
|
326
|
+
sig { params(msg: Temporalio::Api::Namespace::V1::NamespaceConfig).returns(String) }
|
|
327
|
+
def self.encode(msg)
|
|
328
|
+
end
|
|
329
|
+
|
|
330
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Namespace::V1::NamespaceConfig) }
|
|
331
|
+
def self.decode_json(str, **kw)
|
|
332
|
+
end
|
|
333
|
+
|
|
334
|
+
sig { params(msg: Temporalio::Api::Namespace::V1::NamespaceConfig, kw: T.untyped).returns(String) }
|
|
335
|
+
def self.encode_json(msg, **kw)
|
|
336
|
+
end
|
|
337
|
+
|
|
338
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
339
|
+
def self.descriptor
|
|
340
|
+
end
|
|
341
|
+
end
|
|
342
|
+
|
|
343
|
+
class Temporalio::Api::Namespace::V1::BadBinaries
|
|
344
|
+
include ::Google::Protobuf::MessageExts
|
|
345
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
346
|
+
|
|
347
|
+
sig do
|
|
348
|
+
params(
|
|
349
|
+
binaries: T.nilable(T::Hash[String, T.nilable(Temporalio::Api::Namespace::V1::BadBinaryInfo)])
|
|
350
|
+
).void
|
|
351
|
+
end
|
|
352
|
+
def initialize(
|
|
353
|
+
binaries: ::Google::Protobuf::Map.new(:string, :message, Temporalio::Api::Namespace::V1::BadBinaryInfo)
|
|
354
|
+
)
|
|
355
|
+
end
|
|
356
|
+
|
|
357
|
+
sig { returns(T::Hash[String, T.nilable(Temporalio::Api::Namespace::V1::BadBinaryInfo)]) }
|
|
358
|
+
def binaries
|
|
359
|
+
end
|
|
360
|
+
|
|
361
|
+
sig { params(value: ::Google::Protobuf::Map).void }
|
|
362
|
+
def binaries=(value)
|
|
363
|
+
end
|
|
364
|
+
|
|
365
|
+
sig { void }
|
|
366
|
+
def clear_binaries
|
|
367
|
+
end
|
|
368
|
+
|
|
369
|
+
sig { params(field: String).returns(T.untyped) }
|
|
370
|
+
def [](field)
|
|
371
|
+
end
|
|
372
|
+
|
|
373
|
+
sig { params(field: String, value: T.untyped).void }
|
|
374
|
+
def []=(field, value)
|
|
375
|
+
end
|
|
376
|
+
|
|
377
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
378
|
+
def to_h
|
|
379
|
+
end
|
|
380
|
+
|
|
381
|
+
sig { params(str: String).returns(Temporalio::Api::Namespace::V1::BadBinaries) }
|
|
382
|
+
def self.decode(str)
|
|
383
|
+
end
|
|
384
|
+
|
|
385
|
+
sig { params(msg: Temporalio::Api::Namespace::V1::BadBinaries).returns(String) }
|
|
386
|
+
def self.encode(msg)
|
|
387
|
+
end
|
|
388
|
+
|
|
389
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Namespace::V1::BadBinaries) }
|
|
390
|
+
def self.decode_json(str, **kw)
|
|
391
|
+
end
|
|
392
|
+
|
|
393
|
+
sig { params(msg: Temporalio::Api::Namespace::V1::BadBinaries, kw: T.untyped).returns(String) }
|
|
394
|
+
def self.encode_json(msg, **kw)
|
|
395
|
+
end
|
|
396
|
+
|
|
397
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
398
|
+
def self.descriptor
|
|
399
|
+
end
|
|
400
|
+
end
|
|
401
|
+
|
|
402
|
+
class Temporalio::Api::Namespace::V1::BadBinaryInfo
|
|
403
|
+
include ::Google::Protobuf::MessageExts
|
|
404
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
405
|
+
|
|
406
|
+
sig do
|
|
407
|
+
params(
|
|
408
|
+
reason: T.nilable(String),
|
|
409
|
+
operator: T.nilable(String),
|
|
410
|
+
create_time: T.nilable(Google::Protobuf::Timestamp)
|
|
411
|
+
).void
|
|
412
|
+
end
|
|
413
|
+
def initialize(
|
|
414
|
+
reason: "",
|
|
415
|
+
operator: "",
|
|
416
|
+
create_time: nil
|
|
417
|
+
)
|
|
418
|
+
end
|
|
419
|
+
|
|
420
|
+
sig { returns(String) }
|
|
421
|
+
def reason
|
|
422
|
+
end
|
|
423
|
+
|
|
424
|
+
sig { params(value: String).void }
|
|
425
|
+
def reason=(value)
|
|
426
|
+
end
|
|
427
|
+
|
|
428
|
+
sig { void }
|
|
429
|
+
def clear_reason
|
|
430
|
+
end
|
|
431
|
+
|
|
432
|
+
sig { returns(String) }
|
|
433
|
+
def operator
|
|
434
|
+
end
|
|
435
|
+
|
|
436
|
+
sig { params(value: String).void }
|
|
437
|
+
def operator=(value)
|
|
438
|
+
end
|
|
439
|
+
|
|
440
|
+
sig { void }
|
|
441
|
+
def clear_operator
|
|
442
|
+
end
|
|
443
|
+
|
|
444
|
+
sig { returns(T.nilable(Google::Protobuf::Timestamp)) }
|
|
445
|
+
def create_time
|
|
446
|
+
end
|
|
447
|
+
|
|
448
|
+
sig { params(value: T.nilable(Google::Protobuf::Timestamp)).void }
|
|
449
|
+
def create_time=(value)
|
|
450
|
+
end
|
|
451
|
+
|
|
452
|
+
sig { void }
|
|
453
|
+
def clear_create_time
|
|
454
|
+
end
|
|
455
|
+
|
|
456
|
+
sig { params(field: String).returns(T.untyped) }
|
|
457
|
+
def [](field)
|
|
458
|
+
end
|
|
459
|
+
|
|
460
|
+
sig { params(field: String, value: T.untyped).void }
|
|
461
|
+
def []=(field, value)
|
|
462
|
+
end
|
|
463
|
+
|
|
464
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
465
|
+
def to_h
|
|
466
|
+
end
|
|
467
|
+
|
|
468
|
+
sig { params(str: String).returns(Temporalio::Api::Namespace::V1::BadBinaryInfo) }
|
|
469
|
+
def self.decode(str)
|
|
470
|
+
end
|
|
471
|
+
|
|
472
|
+
sig { params(msg: Temporalio::Api::Namespace::V1::BadBinaryInfo).returns(String) }
|
|
473
|
+
def self.encode(msg)
|
|
474
|
+
end
|
|
475
|
+
|
|
476
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Namespace::V1::BadBinaryInfo) }
|
|
477
|
+
def self.decode_json(str, **kw)
|
|
478
|
+
end
|
|
479
|
+
|
|
480
|
+
sig { params(msg: Temporalio::Api::Namespace::V1::BadBinaryInfo, kw: T.untyped).returns(String) }
|
|
481
|
+
def self.encode_json(msg, **kw)
|
|
482
|
+
end
|
|
483
|
+
|
|
484
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
485
|
+
def self.descriptor
|
|
486
|
+
end
|
|
487
|
+
end
|
|
488
|
+
|
|
489
|
+
class Temporalio::Api::Namespace::V1::UpdateNamespaceInfo
|
|
490
|
+
include ::Google::Protobuf::MessageExts
|
|
491
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
492
|
+
|
|
493
|
+
sig do
|
|
494
|
+
params(
|
|
495
|
+
description: T.nilable(String),
|
|
496
|
+
owner_email: T.nilable(String),
|
|
497
|
+
data: T.nilable(T::Hash[String, String]),
|
|
498
|
+
state: T.nilable(T.any(Symbol, String, Integer))
|
|
499
|
+
).void
|
|
500
|
+
end
|
|
501
|
+
def initialize(
|
|
502
|
+
description: "",
|
|
503
|
+
owner_email: "",
|
|
504
|
+
data: ::Google::Protobuf::Map.new(:string, :string),
|
|
505
|
+
state: :NAMESPACE_STATE_UNSPECIFIED
|
|
506
|
+
)
|
|
507
|
+
end
|
|
508
|
+
|
|
509
|
+
sig { returns(String) }
|
|
510
|
+
def description
|
|
511
|
+
end
|
|
512
|
+
|
|
513
|
+
sig { params(value: String).void }
|
|
514
|
+
def description=(value)
|
|
515
|
+
end
|
|
516
|
+
|
|
517
|
+
sig { void }
|
|
518
|
+
def clear_description
|
|
519
|
+
end
|
|
520
|
+
|
|
521
|
+
sig { returns(String) }
|
|
522
|
+
def owner_email
|
|
523
|
+
end
|
|
524
|
+
|
|
525
|
+
sig { params(value: String).void }
|
|
526
|
+
def owner_email=(value)
|
|
527
|
+
end
|
|
528
|
+
|
|
529
|
+
sig { void }
|
|
530
|
+
def clear_owner_email
|
|
531
|
+
end
|
|
532
|
+
|
|
533
|
+
# A key-value map for any customized purpose.
|
|
534
|
+
# If data already exists on the namespace,
|
|
535
|
+
# this will merge with the existing key values.
|
|
536
|
+
sig { returns(T::Hash[String, String]) }
|
|
537
|
+
def data
|
|
538
|
+
end
|
|
539
|
+
|
|
540
|
+
# A key-value map for any customized purpose.
|
|
541
|
+
# If data already exists on the namespace,
|
|
542
|
+
# this will merge with the existing key values.
|
|
543
|
+
sig { params(value: ::Google::Protobuf::Map).void }
|
|
544
|
+
def data=(value)
|
|
545
|
+
end
|
|
546
|
+
|
|
547
|
+
# A key-value map for any customized purpose.
|
|
548
|
+
# If data already exists on the namespace,
|
|
549
|
+
# this will merge with the existing key values.
|
|
550
|
+
sig { void }
|
|
551
|
+
def clear_data
|
|
552
|
+
end
|
|
553
|
+
|
|
554
|
+
# New namespace state, server will reject if transition is not allowed.
|
|
555
|
+
# Allowed transitions are:
|
|
556
|
+
# Registered -> [ Deleted | Deprecated | Handover ]
|
|
557
|
+
# Handover -> [ Registered ]
|
|
558
|
+
# Default is NAMESPACE_STATE_UNSPECIFIED which is do not change state.
|
|
559
|
+
sig { returns(T.any(Symbol, Integer)) }
|
|
560
|
+
def state
|
|
561
|
+
end
|
|
562
|
+
|
|
563
|
+
# New namespace state, server will reject if transition is not allowed.
|
|
564
|
+
# Allowed transitions are:
|
|
565
|
+
# Registered -> [ Deleted | Deprecated | Handover ]
|
|
566
|
+
# Handover -> [ Registered ]
|
|
567
|
+
# Default is NAMESPACE_STATE_UNSPECIFIED which is do not change state.
|
|
568
|
+
sig { params(value: T.any(Symbol, String, Integer)).void }
|
|
569
|
+
def state=(value)
|
|
570
|
+
end
|
|
571
|
+
|
|
572
|
+
# New namespace state, server will reject if transition is not allowed.
|
|
573
|
+
# Allowed transitions are:
|
|
574
|
+
# Registered -> [ Deleted | Deprecated | Handover ]
|
|
575
|
+
# Handover -> [ Registered ]
|
|
576
|
+
# Default is NAMESPACE_STATE_UNSPECIFIED which is do not change state.
|
|
577
|
+
sig { void }
|
|
578
|
+
def clear_state
|
|
579
|
+
end
|
|
580
|
+
|
|
581
|
+
sig { params(field: String).returns(T.untyped) }
|
|
582
|
+
def [](field)
|
|
583
|
+
end
|
|
584
|
+
|
|
585
|
+
sig { params(field: String, value: T.untyped).void }
|
|
586
|
+
def []=(field, value)
|
|
587
|
+
end
|
|
588
|
+
|
|
589
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
590
|
+
def to_h
|
|
591
|
+
end
|
|
592
|
+
|
|
593
|
+
sig { params(str: String).returns(Temporalio::Api::Namespace::V1::UpdateNamespaceInfo) }
|
|
594
|
+
def self.decode(str)
|
|
595
|
+
end
|
|
596
|
+
|
|
597
|
+
sig { params(msg: Temporalio::Api::Namespace::V1::UpdateNamespaceInfo).returns(String) }
|
|
598
|
+
def self.encode(msg)
|
|
599
|
+
end
|
|
600
|
+
|
|
601
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Namespace::V1::UpdateNamespaceInfo) }
|
|
602
|
+
def self.decode_json(str, **kw)
|
|
603
|
+
end
|
|
604
|
+
|
|
605
|
+
sig { params(msg: Temporalio::Api::Namespace::V1::UpdateNamespaceInfo, kw: T.untyped).returns(String) }
|
|
606
|
+
def self.encode_json(msg, **kw)
|
|
607
|
+
end
|
|
608
|
+
|
|
609
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
610
|
+
def self.descriptor
|
|
611
|
+
end
|
|
612
|
+
end
|
|
613
|
+
|
|
614
|
+
class Temporalio::Api::Namespace::V1::NamespaceFilter
|
|
615
|
+
include ::Google::Protobuf::MessageExts
|
|
616
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
617
|
+
|
|
618
|
+
sig do
|
|
619
|
+
params(
|
|
620
|
+
include_deleted: T.nilable(T::Boolean)
|
|
621
|
+
).void
|
|
622
|
+
end
|
|
623
|
+
def initialize(
|
|
624
|
+
include_deleted: false
|
|
625
|
+
)
|
|
626
|
+
end
|
|
627
|
+
|
|
628
|
+
# By default namespaces in NAMESPACE_STATE_DELETED state are not included.
|
|
629
|
+
# Setting include_deleted to true will include deleted namespaces.
|
|
630
|
+
# Note: Namespace is in NAMESPACE_STATE_DELETED state when it was deleted from the system but associated data is not deleted yet.
|
|
631
|
+
sig { returns(T::Boolean) }
|
|
632
|
+
def include_deleted
|
|
633
|
+
end
|
|
634
|
+
|
|
635
|
+
# By default namespaces in NAMESPACE_STATE_DELETED state are not included.
|
|
636
|
+
# Setting include_deleted to true will include deleted namespaces.
|
|
637
|
+
# Note: Namespace is in NAMESPACE_STATE_DELETED state when it was deleted from the system but associated data is not deleted yet.
|
|
638
|
+
sig { params(value: T::Boolean).void }
|
|
639
|
+
def include_deleted=(value)
|
|
640
|
+
end
|
|
641
|
+
|
|
642
|
+
# By default namespaces in NAMESPACE_STATE_DELETED state are not included.
|
|
643
|
+
# Setting include_deleted to true will include deleted namespaces.
|
|
644
|
+
# Note: Namespace is in NAMESPACE_STATE_DELETED state when it was deleted from the system but associated data is not deleted yet.
|
|
645
|
+
sig { void }
|
|
646
|
+
def clear_include_deleted
|
|
647
|
+
end
|
|
648
|
+
|
|
649
|
+
sig { params(field: String).returns(T.untyped) }
|
|
650
|
+
def [](field)
|
|
651
|
+
end
|
|
652
|
+
|
|
653
|
+
sig { params(field: String, value: T.untyped).void }
|
|
654
|
+
def []=(field, value)
|
|
655
|
+
end
|
|
656
|
+
|
|
657
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
658
|
+
def to_h
|
|
659
|
+
end
|
|
660
|
+
|
|
661
|
+
sig { params(str: String).returns(Temporalio::Api::Namespace::V1::NamespaceFilter) }
|
|
662
|
+
def self.decode(str)
|
|
663
|
+
end
|
|
664
|
+
|
|
665
|
+
sig { params(msg: Temporalio::Api::Namespace::V1::NamespaceFilter).returns(String) }
|
|
666
|
+
def self.encode(msg)
|
|
667
|
+
end
|
|
668
|
+
|
|
669
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Namespace::V1::NamespaceFilter) }
|
|
670
|
+
def self.decode_json(str, **kw)
|
|
671
|
+
end
|
|
672
|
+
|
|
673
|
+
sig { params(msg: Temporalio::Api::Namespace::V1::NamespaceFilter, kw: T.untyped).returns(String) }
|
|
674
|
+
def self.encode_json(msg, **kw)
|
|
675
|
+
end
|
|
676
|
+
|
|
677
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
678
|
+
def self.descriptor
|
|
679
|
+
end
|
|
680
|
+
end
|
|
681
|
+
|
|
682
|
+
# Namespace capability details. Should contain what features are enabled in a namespace.
|
|
683
|
+
class Temporalio::Api::Namespace::V1::NamespaceInfo::Capabilities
|
|
684
|
+
include ::Google::Protobuf::MessageExts
|
|
685
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
686
|
+
|
|
687
|
+
sig do
|
|
688
|
+
params(
|
|
689
|
+
eager_workflow_start: T.nilable(T::Boolean),
|
|
690
|
+
sync_update: T.nilable(T::Boolean),
|
|
691
|
+
async_update: T.nilable(T::Boolean),
|
|
692
|
+
worker_heartbeats: T.nilable(T::Boolean),
|
|
693
|
+
reported_problems_search_attribute: T.nilable(T::Boolean),
|
|
694
|
+
workflow_pause: T.nilable(T::Boolean),
|
|
695
|
+
standalone_activities: T.nilable(T::Boolean),
|
|
696
|
+
worker_poll_complete_on_shutdown: T.nilable(T::Boolean),
|
|
697
|
+
poller_autoscaling: T.nilable(T::Boolean),
|
|
698
|
+
worker_commands: T.nilable(T::Boolean),
|
|
699
|
+
standalone_nexus_operation: T.nilable(T::Boolean),
|
|
700
|
+
workflow_update_callbacks: T.nilable(T::Boolean),
|
|
701
|
+
poller_autoscaling_auto_enroll: T.nilable(T::Boolean)
|
|
702
|
+
).void
|
|
703
|
+
end
|
|
704
|
+
def initialize(
|
|
705
|
+
eager_workflow_start: false,
|
|
706
|
+
sync_update: false,
|
|
707
|
+
async_update: false,
|
|
708
|
+
worker_heartbeats: false,
|
|
709
|
+
reported_problems_search_attribute: false,
|
|
710
|
+
workflow_pause: false,
|
|
711
|
+
standalone_activities: false,
|
|
712
|
+
worker_poll_complete_on_shutdown: false,
|
|
713
|
+
poller_autoscaling: false,
|
|
714
|
+
worker_commands: false,
|
|
715
|
+
standalone_nexus_operation: false,
|
|
716
|
+
workflow_update_callbacks: false,
|
|
717
|
+
poller_autoscaling_auto_enroll: false
|
|
718
|
+
)
|
|
719
|
+
end
|
|
720
|
+
|
|
721
|
+
# True if the namespace supports eager workflow start.
|
|
722
|
+
sig { returns(T::Boolean) }
|
|
723
|
+
def eager_workflow_start
|
|
724
|
+
end
|
|
725
|
+
|
|
726
|
+
# True if the namespace supports eager workflow start.
|
|
727
|
+
sig { params(value: T::Boolean).void }
|
|
728
|
+
def eager_workflow_start=(value)
|
|
729
|
+
end
|
|
730
|
+
|
|
731
|
+
# True if the namespace supports eager workflow start.
|
|
732
|
+
sig { void }
|
|
733
|
+
def clear_eager_workflow_start
|
|
734
|
+
end
|
|
735
|
+
|
|
736
|
+
# True if the namespace supports sync update
|
|
737
|
+
sig { returns(T::Boolean) }
|
|
738
|
+
def sync_update
|
|
739
|
+
end
|
|
740
|
+
|
|
741
|
+
# True if the namespace supports sync update
|
|
742
|
+
sig { params(value: T::Boolean).void }
|
|
743
|
+
def sync_update=(value)
|
|
744
|
+
end
|
|
745
|
+
|
|
746
|
+
# True if the namespace supports sync update
|
|
747
|
+
sig { void }
|
|
748
|
+
def clear_sync_update
|
|
749
|
+
end
|
|
750
|
+
|
|
751
|
+
# True if the namespace supports async update
|
|
752
|
+
sig { returns(T::Boolean) }
|
|
753
|
+
def async_update
|
|
754
|
+
end
|
|
755
|
+
|
|
756
|
+
# True if the namespace supports async update
|
|
757
|
+
sig { params(value: T::Boolean).void }
|
|
758
|
+
def async_update=(value)
|
|
759
|
+
end
|
|
760
|
+
|
|
761
|
+
# True if the namespace supports async update
|
|
762
|
+
sig { void }
|
|
763
|
+
def clear_async_update
|
|
764
|
+
end
|
|
765
|
+
|
|
766
|
+
# True if the namespace supports worker heartbeats
|
|
767
|
+
sig { returns(T::Boolean) }
|
|
768
|
+
def worker_heartbeats
|
|
769
|
+
end
|
|
770
|
+
|
|
771
|
+
# True if the namespace supports worker heartbeats
|
|
772
|
+
sig { params(value: T::Boolean).void }
|
|
773
|
+
def worker_heartbeats=(value)
|
|
774
|
+
end
|
|
775
|
+
|
|
776
|
+
# True if the namespace supports worker heartbeats
|
|
777
|
+
sig { void }
|
|
778
|
+
def clear_worker_heartbeats
|
|
779
|
+
end
|
|
780
|
+
|
|
781
|
+
# True if the namespace supports reported problems search attribute
|
|
782
|
+
sig { returns(T::Boolean) }
|
|
783
|
+
def reported_problems_search_attribute
|
|
784
|
+
end
|
|
785
|
+
|
|
786
|
+
# True if the namespace supports reported problems search attribute
|
|
787
|
+
sig { params(value: T::Boolean).void }
|
|
788
|
+
def reported_problems_search_attribute=(value)
|
|
789
|
+
end
|
|
790
|
+
|
|
791
|
+
# True if the namespace supports reported problems search attribute
|
|
792
|
+
sig { void }
|
|
793
|
+
def clear_reported_problems_search_attribute
|
|
794
|
+
end
|
|
795
|
+
|
|
796
|
+
# True if the namespace supports pausing workflows
|
|
797
|
+
sig { returns(T::Boolean) }
|
|
798
|
+
def workflow_pause
|
|
799
|
+
end
|
|
800
|
+
|
|
801
|
+
# True if the namespace supports pausing workflows
|
|
802
|
+
sig { params(value: T::Boolean).void }
|
|
803
|
+
def workflow_pause=(value)
|
|
804
|
+
end
|
|
805
|
+
|
|
806
|
+
# True if the namespace supports pausing workflows
|
|
807
|
+
sig { void }
|
|
808
|
+
def clear_workflow_pause
|
|
809
|
+
end
|
|
810
|
+
|
|
811
|
+
# True if the namespace supports standalone activities
|
|
812
|
+
sig { returns(T::Boolean) }
|
|
813
|
+
def standalone_activities
|
|
814
|
+
end
|
|
815
|
+
|
|
816
|
+
# True if the namespace supports standalone activities
|
|
817
|
+
sig { params(value: T::Boolean).void }
|
|
818
|
+
def standalone_activities=(value)
|
|
819
|
+
end
|
|
820
|
+
|
|
821
|
+
# True if the namespace supports standalone activities
|
|
822
|
+
sig { void }
|
|
823
|
+
def clear_standalone_activities
|
|
824
|
+
end
|
|
825
|
+
|
|
826
|
+
# True if the namespace supports server-side completion of outstanding worker polls on shutdown.
|
|
827
|
+
# When enabled, the server will complete polls for workers that send WorkerInstanceKey in their
|
|
828
|
+
# poll requests and call ShutdownWorker with the same WorkerInstanceKey. The poll will return
|
|
829
|
+
# an empty response. When this flag is true, workers should allow polls to return gracefully
|
|
830
|
+
# rather than terminating any open polls on shutdown.
|
|
831
|
+
sig { returns(T::Boolean) }
|
|
832
|
+
def worker_poll_complete_on_shutdown
|
|
833
|
+
end
|
|
834
|
+
|
|
835
|
+
# True if the namespace supports server-side completion of outstanding worker polls on shutdown.
|
|
836
|
+
# When enabled, the server will complete polls for workers that send WorkerInstanceKey in their
|
|
837
|
+
# poll requests and call ShutdownWorker with the same WorkerInstanceKey. The poll will return
|
|
838
|
+
# an empty response. When this flag is true, workers should allow polls to return gracefully
|
|
839
|
+
# rather than terminating any open polls on shutdown.
|
|
840
|
+
sig { params(value: T::Boolean).void }
|
|
841
|
+
def worker_poll_complete_on_shutdown=(value)
|
|
842
|
+
end
|
|
843
|
+
|
|
844
|
+
# True if the namespace supports server-side completion of outstanding worker polls on shutdown.
|
|
845
|
+
# When enabled, the server will complete polls for workers that send WorkerInstanceKey in their
|
|
846
|
+
# poll requests and call ShutdownWorker with the same WorkerInstanceKey. The poll will return
|
|
847
|
+
# an empty response. When this flag is true, workers should allow polls to return gracefully
|
|
848
|
+
# rather than terminating any open polls on shutdown.
|
|
849
|
+
sig { void }
|
|
850
|
+
def clear_worker_poll_complete_on_shutdown
|
|
851
|
+
end
|
|
852
|
+
|
|
853
|
+
# True if the namespace supports poller autoscaling
|
|
854
|
+
sig { returns(T::Boolean) }
|
|
855
|
+
def poller_autoscaling
|
|
856
|
+
end
|
|
857
|
+
|
|
858
|
+
# True if the namespace supports poller autoscaling
|
|
859
|
+
sig { params(value: T::Boolean).void }
|
|
860
|
+
def poller_autoscaling=(value)
|
|
861
|
+
end
|
|
862
|
+
|
|
863
|
+
# True if the namespace supports poller autoscaling
|
|
864
|
+
sig { void }
|
|
865
|
+
def clear_poller_autoscaling
|
|
866
|
+
end
|
|
867
|
+
|
|
868
|
+
# True if the namespace supports worker commands (server-to-worker communication via control queues).
|
|
869
|
+
sig { returns(T::Boolean) }
|
|
870
|
+
def worker_commands
|
|
871
|
+
end
|
|
872
|
+
|
|
873
|
+
# True if the namespace supports worker commands (server-to-worker communication via control queues).
|
|
874
|
+
sig { params(value: T::Boolean).void }
|
|
875
|
+
def worker_commands=(value)
|
|
876
|
+
end
|
|
877
|
+
|
|
878
|
+
# True if the namespace supports worker commands (server-to-worker communication via control queues).
|
|
879
|
+
sig { void }
|
|
880
|
+
def clear_worker_commands
|
|
881
|
+
end
|
|
882
|
+
|
|
883
|
+
# True if the namespace supports standalone Nexus operations.
|
|
884
|
+
sig { returns(T::Boolean) }
|
|
885
|
+
def standalone_nexus_operation
|
|
886
|
+
end
|
|
887
|
+
|
|
888
|
+
# True if the namespace supports standalone Nexus operations.
|
|
889
|
+
sig { params(value: T::Boolean).void }
|
|
890
|
+
def standalone_nexus_operation=(value)
|
|
891
|
+
end
|
|
892
|
+
|
|
893
|
+
# True if the namespace supports standalone Nexus operations.
|
|
894
|
+
sig { void }
|
|
895
|
+
def clear_standalone_nexus_operation
|
|
896
|
+
end
|
|
897
|
+
|
|
898
|
+
# True if the namespace supports attaching callbacks on workflow updates
|
|
899
|
+
sig { returns(T::Boolean) }
|
|
900
|
+
def workflow_update_callbacks
|
|
901
|
+
end
|
|
902
|
+
|
|
903
|
+
# True if the namespace supports attaching callbacks on workflow updates
|
|
904
|
+
sig { params(value: T::Boolean).void }
|
|
905
|
+
def workflow_update_callbacks=(value)
|
|
906
|
+
end
|
|
907
|
+
|
|
908
|
+
# True if the namespace supports attaching callbacks on workflow updates
|
|
909
|
+
sig { void }
|
|
910
|
+
def clear_workflow_update_callbacks
|
|
911
|
+
end
|
|
912
|
+
|
|
913
|
+
# When true, workers should use poller autoscaling by default unless explicitly configured otherwise.
|
|
914
|
+
sig { returns(T::Boolean) }
|
|
915
|
+
def poller_autoscaling_auto_enroll
|
|
916
|
+
end
|
|
917
|
+
|
|
918
|
+
# When true, workers should use poller autoscaling by default unless explicitly configured otherwise.
|
|
919
|
+
sig { params(value: T::Boolean).void }
|
|
920
|
+
def poller_autoscaling_auto_enroll=(value)
|
|
921
|
+
end
|
|
922
|
+
|
|
923
|
+
# When true, workers should use poller autoscaling by default unless explicitly configured otherwise.
|
|
924
|
+
sig { void }
|
|
925
|
+
def clear_poller_autoscaling_auto_enroll
|
|
926
|
+
end
|
|
927
|
+
|
|
928
|
+
sig { params(field: String).returns(T.untyped) }
|
|
929
|
+
def [](field)
|
|
930
|
+
end
|
|
931
|
+
|
|
932
|
+
sig { params(field: String, value: T.untyped).void }
|
|
933
|
+
def []=(field, value)
|
|
934
|
+
end
|
|
935
|
+
|
|
936
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
937
|
+
def to_h
|
|
938
|
+
end
|
|
939
|
+
|
|
940
|
+
sig { params(str: String).returns(Temporalio::Api::Namespace::V1::NamespaceInfo::Capabilities) }
|
|
941
|
+
def self.decode(str)
|
|
942
|
+
end
|
|
943
|
+
|
|
944
|
+
sig { params(msg: Temporalio::Api::Namespace::V1::NamespaceInfo::Capabilities).returns(String) }
|
|
945
|
+
def self.encode(msg)
|
|
946
|
+
end
|
|
947
|
+
|
|
948
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Namespace::V1::NamespaceInfo::Capabilities) }
|
|
949
|
+
def self.decode_json(str, **kw)
|
|
950
|
+
end
|
|
951
|
+
|
|
952
|
+
sig { params(msg: Temporalio::Api::Namespace::V1::NamespaceInfo::Capabilities, kw: T.untyped).returns(String) }
|
|
953
|
+
def self.encode_json(msg, **kw)
|
|
954
|
+
end
|
|
955
|
+
|
|
956
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
957
|
+
def self.descriptor
|
|
958
|
+
end
|
|
959
|
+
end
|
|
960
|
+
|
|
961
|
+
class Temporalio::Api::Namespace::V1::NamespaceInfo::Limits
|
|
962
|
+
include ::Google::Protobuf::MessageExts
|
|
963
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
964
|
+
|
|
965
|
+
sig do
|
|
966
|
+
params(
|
|
967
|
+
blob_size_limit_error: T.nilable(Integer),
|
|
968
|
+
memo_size_limit_error: T.nilable(Integer)
|
|
969
|
+
).void
|
|
970
|
+
end
|
|
971
|
+
def initialize(
|
|
972
|
+
blob_size_limit_error: 0,
|
|
973
|
+
memo_size_limit_error: 0
|
|
974
|
+
)
|
|
975
|
+
end
|
|
976
|
+
|
|
977
|
+
# Maximum size in bytes for payload fields in workflow history events
|
|
978
|
+
# (e.g., workflow/activity inputs and results, failure details, signal payloads).
|
|
979
|
+
# When exceeded, the server will reject the operation with an error.
|
|
980
|
+
sig { returns(Integer) }
|
|
981
|
+
def blob_size_limit_error
|
|
982
|
+
end
|
|
983
|
+
|
|
984
|
+
# Maximum size in bytes for payload fields in workflow history events
|
|
985
|
+
# (e.g., workflow/activity inputs and results, failure details, signal payloads).
|
|
986
|
+
# When exceeded, the server will reject the operation with an error.
|
|
987
|
+
sig { params(value: Integer).void }
|
|
988
|
+
def blob_size_limit_error=(value)
|
|
989
|
+
end
|
|
990
|
+
|
|
991
|
+
# Maximum size in bytes for payload fields in workflow history events
|
|
992
|
+
# (e.g., workflow/activity inputs and results, failure details, signal payloads).
|
|
993
|
+
# When exceeded, the server will reject the operation with an error.
|
|
994
|
+
sig { void }
|
|
995
|
+
def clear_blob_size_limit_error
|
|
996
|
+
end
|
|
997
|
+
|
|
998
|
+
# Maximum total memo size in bytes per workflow execution.
|
|
999
|
+
sig { returns(Integer) }
|
|
1000
|
+
def memo_size_limit_error
|
|
1001
|
+
end
|
|
1002
|
+
|
|
1003
|
+
# Maximum total memo size in bytes per workflow execution.
|
|
1004
|
+
sig { params(value: Integer).void }
|
|
1005
|
+
def memo_size_limit_error=(value)
|
|
1006
|
+
end
|
|
1007
|
+
|
|
1008
|
+
# Maximum total memo size in bytes per workflow execution.
|
|
1009
|
+
sig { void }
|
|
1010
|
+
def clear_memo_size_limit_error
|
|
1011
|
+
end
|
|
1012
|
+
|
|
1013
|
+
sig { params(field: String).returns(T.untyped) }
|
|
1014
|
+
def [](field)
|
|
1015
|
+
end
|
|
1016
|
+
|
|
1017
|
+
sig { params(field: String, value: T.untyped).void }
|
|
1018
|
+
def []=(field, value)
|
|
1019
|
+
end
|
|
1020
|
+
|
|
1021
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
1022
|
+
def to_h
|
|
1023
|
+
end
|
|
1024
|
+
|
|
1025
|
+
sig { params(str: String).returns(Temporalio::Api::Namespace::V1::NamespaceInfo::Limits) }
|
|
1026
|
+
def self.decode(str)
|
|
1027
|
+
end
|
|
1028
|
+
|
|
1029
|
+
sig { params(msg: Temporalio::Api::Namespace::V1::NamespaceInfo::Limits).returns(String) }
|
|
1030
|
+
def self.encode(msg)
|
|
1031
|
+
end
|
|
1032
|
+
|
|
1033
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Namespace::V1::NamespaceInfo::Limits) }
|
|
1034
|
+
def self.decode_json(str, **kw)
|
|
1035
|
+
end
|
|
1036
|
+
|
|
1037
|
+
sig { params(msg: Temporalio::Api::Namespace::V1::NamespaceInfo::Limits, kw: T.untyped).returns(String) }
|
|
1038
|
+
def self.encode_json(msg, **kw)
|
|
1039
|
+
end
|
|
1040
|
+
|
|
1041
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
1042
|
+
def self.descriptor
|
|
1043
|
+
end
|
|
1044
|
+
end
|