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,90 @@
|
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
|
+
# This RBS interface is provided for convenience, on a best-effort basis.
|
|
3
|
+
# The library is the definitive source for the API contract; if the RBS file
|
|
4
|
+
# and the library's behavior differ, the library behavior is authoritative.
|
|
5
|
+
# We welcome fixes to change the RBS file to match.
|
|
6
|
+
# source: temporal/api/protocol/v1/message.proto
|
|
7
|
+
|
|
8
|
+
module Temporalio
|
|
9
|
+
module Api
|
|
10
|
+
module Protocol
|
|
11
|
+
module V1
|
|
12
|
+
# (-- api-linter: core::0146::any=disabled
|
|
13
|
+
# aip.dev/not-precedent: We want runtime extensibility for the body field --)
|
|
14
|
+
class Message < ::Google::Protobuf::AbstractMessage
|
|
15
|
+
|
|
16
|
+
# An ID for this specific message.
|
|
17
|
+
attr_reader id(): ::String
|
|
18
|
+
attr_writer id(): ::String | ::Symbol
|
|
19
|
+
def clear_id: () -> void
|
|
20
|
+
|
|
21
|
+
# Identifies the specific instance of a protocol to which this message
|
|
22
|
+
# belongs.
|
|
23
|
+
attr_reader protocol_instance_id(): ::String
|
|
24
|
+
attr_writer protocol_instance_id(): ::String | ::Symbol
|
|
25
|
+
def clear_protocol_instance_id: () -> void
|
|
26
|
+
|
|
27
|
+
attr_reader event_id(): ::Integer
|
|
28
|
+
attr_writer event_id(): (::Integer | ::Float)?
|
|
29
|
+
def has_event_id?: () -> bool
|
|
30
|
+
def clear_event_id: () -> void
|
|
31
|
+
|
|
32
|
+
attr_reader command_index(): ::Integer
|
|
33
|
+
attr_writer command_index(): (::Integer | ::Float)?
|
|
34
|
+
def has_command_index?: () -> bool
|
|
35
|
+
def clear_command_index: () -> void
|
|
36
|
+
|
|
37
|
+
# The opaque data carried by this message. The protocol type can be
|
|
38
|
+
# extracted from the package name of the message carried inside the Any.
|
|
39
|
+
attr_accessor body(): ::Google::Protobuf::Any?
|
|
40
|
+
def has_body?: () -> bool
|
|
41
|
+
def clear_body: () -> void
|
|
42
|
+
|
|
43
|
+
# The event ID or command ID after which this message can be delivered. The
|
|
44
|
+
# effects of history up to and including this event ID should be visible to
|
|
45
|
+
# the code that handles this message. Omit to opt out of sequencing.
|
|
46
|
+
attr_reader sequencing_id(): ::Integer?
|
|
47
|
+
def has_sequencing_id?: () -> bool
|
|
48
|
+
def clear_sequencing_id: () -> void
|
|
49
|
+
|
|
50
|
+
type init_map = {
|
|
51
|
+
id: (::String | ::Symbol)?,
|
|
52
|
+
"id" => (::String | ::Symbol)?,
|
|
53
|
+
protocol_instance_id: (::String | ::Symbol)?,
|
|
54
|
+
"protocol_instance_id" => (::String | ::Symbol)?,
|
|
55
|
+
event_id: (::Integer | ::Float)?,
|
|
56
|
+
"event_id" => (::Integer | ::Float)?,
|
|
57
|
+
command_index: (::Integer | ::Float)?,
|
|
58
|
+
"command_index" => (::Integer | ::Float)?,
|
|
59
|
+
body: (::Google::Protobuf::Any | ::Google::Protobuf::Any)?,
|
|
60
|
+
"body" => (::Google::Protobuf::Any | ::Google::Protobuf::Any)?,
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
def initialize: (?init_map initial_value) -> void
|
|
64
|
+
|
|
65
|
+
def []:
|
|
66
|
+
("id" name) -> ::String
|
|
67
|
+
| ("protocol_instance_id" name) -> ::String
|
|
68
|
+
| ("event_id" name) -> ::Integer
|
|
69
|
+
| ("command_index" name) -> ::Integer
|
|
70
|
+
| ("body" name) -> ::Google::Protobuf::Any?
|
|
71
|
+
|
|
72
|
+
def []=:
|
|
73
|
+
("id" name, (::String | ::Symbol) value) -> void
|
|
74
|
+
| ("protocol_instance_id" name, (::String | ::Symbol) value) -> void
|
|
75
|
+
| ("event_id" name, ((::Integer | ::Float)?) value) -> void
|
|
76
|
+
| ("command_index" name, ((::Integer | ::Float)?) value) -> void
|
|
77
|
+
| ("body" name, ::Google::Protobuf::Any? value) -> void
|
|
78
|
+
end
|
|
79
|
+
end
|
|
80
|
+
end
|
|
81
|
+
end
|
|
82
|
+
end
|
|
83
|
+
|
|
84
|
+
module Google
|
|
85
|
+
module Protobuf
|
|
86
|
+
class DescriptorPool
|
|
87
|
+
def lookup: (::String name) -> ::Google::Protobuf::Descriptor
|
|
88
|
+
end
|
|
89
|
+
end
|
|
90
|
+
end
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
|
+
# This RBS interface is provided for convenience, on a best-effort basis.
|
|
3
|
+
# The library is the definitive source for the API contract; if the RBS file
|
|
4
|
+
# and the library's behavior differ, the library behavior is authoritative.
|
|
5
|
+
# We welcome fixes to change the RBS file to match.
|
|
6
|
+
# source: temporal/api/protometa/v1/annotations.proto
|
|
7
|
+
|
|
8
|
+
module Temporalio
|
|
9
|
+
module Api
|
|
10
|
+
module Protometa
|
|
11
|
+
module V1
|
|
12
|
+
# RequestHeaderAnnotation allows specifying that field values from a request
|
|
13
|
+
# should be propagated as outbound headers.
|
|
14
|
+
# The value field supports template interpolation where field paths enclosed
|
|
15
|
+
# in braces will be replaced with the actual field values from the request.
|
|
16
|
+
# For example:
|
|
17
|
+
# value: "{workflow_execution.workflow_id}"
|
|
18
|
+
# value: "workflow-{workflow_execution.workflow_id}"
|
|
19
|
+
# value: "{namespace}/{workflow_execution.workflow_id}"
|
|
20
|
+
class RequestHeaderAnnotation < ::Google::Protobuf::AbstractMessage
|
|
21
|
+
|
|
22
|
+
# The name of the header to set (e.g., "temporal-resource-id")
|
|
23
|
+
attr_reader header(): ::String
|
|
24
|
+
attr_writer header(): ::String | ::Symbol
|
|
25
|
+
def clear_header: () -> void
|
|
26
|
+
|
|
27
|
+
# A template string that may contain field paths in braces.
|
|
28
|
+
# Field paths use dot notation to traverse nested messages.
|
|
29
|
+
# Example: "{workflow_execution.workflow_id}"
|
|
30
|
+
attr_reader value(): ::String
|
|
31
|
+
attr_writer value(): ::String | ::Symbol
|
|
32
|
+
def clear_value: () -> void
|
|
33
|
+
|
|
34
|
+
type init_map = {
|
|
35
|
+
header: (::String | ::Symbol)?,
|
|
36
|
+
"header" => (::String | ::Symbol)?,
|
|
37
|
+
value: (::String | ::Symbol)?,
|
|
38
|
+
"value" => (::String | ::Symbol)?,
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
def initialize: (?init_map initial_value) -> void
|
|
42
|
+
|
|
43
|
+
def []:
|
|
44
|
+
("header" name) -> ::String
|
|
45
|
+
| ("value" name) -> ::String
|
|
46
|
+
|
|
47
|
+
def []=:
|
|
48
|
+
("header" name, (::String | ::Symbol) value) -> void
|
|
49
|
+
| ("value" name, (::String | ::Symbol) value) -> void
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
end
|
|
54
|
+
end
|
|
55
|
+
|
|
56
|
+
module Google
|
|
57
|
+
module Protobuf
|
|
58
|
+
class DescriptorPool
|
|
59
|
+
def lookup: (::String name) -> ::Google::Protobuf::Descriptor
|
|
60
|
+
end
|
|
61
|
+
end
|
|
62
|
+
end
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
|
+
# This RBS interface is provided for convenience, on a best-effort basis.
|
|
3
|
+
# The library is the definitive source for the API contract; if the RBS file
|
|
4
|
+
# and the library's behavior differ, the library behavior is authoritative.
|
|
5
|
+
# We welcome fixes to change the RBS file to match.
|
|
6
|
+
# source: temporal/api/query/v1/message.proto
|
|
7
|
+
|
|
8
|
+
module Temporalio
|
|
9
|
+
module Api
|
|
10
|
+
module Query
|
|
11
|
+
module V1
|
|
12
|
+
# See https://docs.temporal.io/docs/concepts/queries/
|
|
13
|
+
class WorkflowQuery < ::Google::Protobuf::AbstractMessage
|
|
14
|
+
|
|
15
|
+
# The workflow-author-defined identifier of the query. Typically a function name.
|
|
16
|
+
attr_reader query_type(): ::String
|
|
17
|
+
attr_writer query_type(): ::String | ::Symbol
|
|
18
|
+
def clear_query_type: () -> void
|
|
19
|
+
|
|
20
|
+
# Serialized arguments that will be provided to the query handler.
|
|
21
|
+
attr_accessor query_args(): ::Temporalio::Api::Common::V1::Payloads?
|
|
22
|
+
def has_query_args?: () -> bool
|
|
23
|
+
def clear_query_args: () -> void
|
|
24
|
+
|
|
25
|
+
# Headers that were passed by the caller of the query and copied by temporal
|
|
26
|
+
# server into the workflow task.
|
|
27
|
+
attr_accessor header(): ::Temporalio::Api::Common::V1::Header?
|
|
28
|
+
def has_header?: () -> bool
|
|
29
|
+
def clear_header: () -> void
|
|
30
|
+
|
|
31
|
+
type init_map = {
|
|
32
|
+
query_type: (::String | ::Symbol)?,
|
|
33
|
+
"query_type" => (::String | ::Symbol)?,
|
|
34
|
+
query_args: (::Temporalio::Api::Common::V1::Payloads | ::Temporalio::Api::Common::V1::Payloads::init_map)?,
|
|
35
|
+
"query_args" => (::Temporalio::Api::Common::V1::Payloads | ::Temporalio::Api::Common::V1::Payloads::init_map)?,
|
|
36
|
+
header: (::Temporalio::Api::Common::V1::Header | ::Temporalio::Api::Common::V1::Header::init_map)?,
|
|
37
|
+
"header" => (::Temporalio::Api::Common::V1::Header | ::Temporalio::Api::Common::V1::Header::init_map)?,
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
def initialize: (?init_map initial_value) -> void
|
|
41
|
+
|
|
42
|
+
def []:
|
|
43
|
+
("query_type" name) -> ::String
|
|
44
|
+
| ("query_args" name) -> ::Temporalio::Api::Common::V1::Payloads?
|
|
45
|
+
| ("header" name) -> ::Temporalio::Api::Common::V1::Header?
|
|
46
|
+
|
|
47
|
+
def []=:
|
|
48
|
+
("query_type" name, (::String | ::Symbol) value) -> void
|
|
49
|
+
| ("query_args" name, ::Temporalio::Api::Common::V1::Payloads? value) -> void
|
|
50
|
+
| ("header" name, ::Temporalio::Api::Common::V1::Header? value) -> void
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
# Answer to a `WorkflowQuery`
|
|
54
|
+
class WorkflowQueryResult < ::Google::Protobuf::AbstractMessage
|
|
55
|
+
|
|
56
|
+
# Did the query succeed or fail?
|
|
57
|
+
attr_reader result_type(): ::Temporalio::Api::Enums::V1::QueryResultType::names | ::Integer
|
|
58
|
+
attr_writer result_type(): ::Temporalio::Api::Enums::V1::QueryResultType::names | ::Temporalio::Api::Enums::V1::QueryResultType::strings | ::Integer | ::Float
|
|
59
|
+
attr_reader result_type_const(): ::Integer
|
|
60
|
+
def clear_result_type: () -> void
|
|
61
|
+
|
|
62
|
+
# Set when the query succeeds with the results.
|
|
63
|
+
# Mutually exclusive with `error_message` and `failure`.
|
|
64
|
+
attr_accessor answer(): ::Temporalio::Api::Common::V1::Payloads?
|
|
65
|
+
def has_answer?: () -> bool
|
|
66
|
+
def clear_answer: () -> void
|
|
67
|
+
|
|
68
|
+
# Mutually exclusive with `answer`. Set when the query fails.
|
|
69
|
+
# See also the newer `failure` field.
|
|
70
|
+
attr_reader error_message(): ::String
|
|
71
|
+
attr_writer error_message(): ::String | ::Symbol
|
|
72
|
+
def clear_error_message: () -> void
|
|
73
|
+
|
|
74
|
+
# The full reason for this query failure. This field is newer than `error_message` and can be encoded by the SDK's
|
|
75
|
+
# failure converter to support E2E encryption of messages and stack traces.
|
|
76
|
+
# Mutually exclusive with `answer`. Set when the query fails.
|
|
77
|
+
attr_accessor failure(): ::Temporalio::Api::Failure::V1::Failure?
|
|
78
|
+
def has_failure?: () -> bool
|
|
79
|
+
def clear_failure: () -> void
|
|
80
|
+
|
|
81
|
+
type init_map = {
|
|
82
|
+
result_type: (::Temporalio::Api::Enums::V1::QueryResultType::names | ::Temporalio::Api::Enums::V1::QueryResultType::strings | ::Integer | ::Float)?,
|
|
83
|
+
"result_type" => (::Temporalio::Api::Enums::V1::QueryResultType::names | ::Temporalio::Api::Enums::V1::QueryResultType::strings | ::Integer | ::Float)?,
|
|
84
|
+
answer: (::Temporalio::Api::Common::V1::Payloads | ::Temporalio::Api::Common::V1::Payloads::init_map)?,
|
|
85
|
+
"answer" => (::Temporalio::Api::Common::V1::Payloads | ::Temporalio::Api::Common::V1::Payloads::init_map)?,
|
|
86
|
+
error_message: (::String | ::Symbol)?,
|
|
87
|
+
"error_message" => (::String | ::Symbol)?,
|
|
88
|
+
failure: (::Temporalio::Api::Failure::V1::Failure | ::Temporalio::Api::Failure::V1::Failure::init_map)?,
|
|
89
|
+
"failure" => (::Temporalio::Api::Failure::V1::Failure | ::Temporalio::Api::Failure::V1::Failure::init_map)?,
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
def initialize: (?init_map initial_value) -> void
|
|
93
|
+
|
|
94
|
+
def []:
|
|
95
|
+
("result_type" name) -> (::Temporalio::Api::Enums::V1::QueryResultType::names | ::Integer)
|
|
96
|
+
| ("answer" name) -> ::Temporalio::Api::Common::V1::Payloads?
|
|
97
|
+
| ("error_message" name) -> ::String
|
|
98
|
+
| ("failure" name) -> ::Temporalio::Api::Failure::V1::Failure?
|
|
99
|
+
|
|
100
|
+
def []=:
|
|
101
|
+
("result_type" name, (::Temporalio::Api::Enums::V1::QueryResultType::names | ::Temporalio::Api::Enums::V1::QueryResultType::strings | ::Integer | ::Float) value) -> void
|
|
102
|
+
| ("answer" name, ::Temporalio::Api::Common::V1::Payloads? value) -> void
|
|
103
|
+
| ("error_message" name, (::String | ::Symbol) value) -> void
|
|
104
|
+
| ("failure" name, ::Temporalio::Api::Failure::V1::Failure? value) -> void
|
|
105
|
+
end
|
|
106
|
+
|
|
107
|
+
class QueryRejected < ::Google::Protobuf::AbstractMessage
|
|
108
|
+
|
|
109
|
+
attr_reader status(): ::Temporalio::Api::Enums::V1::WorkflowExecutionStatus::names | ::Integer
|
|
110
|
+
attr_writer status(): ::Temporalio::Api::Enums::V1::WorkflowExecutionStatus::names | ::Temporalio::Api::Enums::V1::WorkflowExecutionStatus::strings | ::Integer | ::Float
|
|
111
|
+
attr_reader status_const(): ::Integer
|
|
112
|
+
def clear_status: () -> void
|
|
113
|
+
|
|
114
|
+
type init_map = {
|
|
115
|
+
status: (::Temporalio::Api::Enums::V1::WorkflowExecutionStatus::names | ::Temporalio::Api::Enums::V1::WorkflowExecutionStatus::strings | ::Integer | ::Float)?,
|
|
116
|
+
"status" => (::Temporalio::Api::Enums::V1::WorkflowExecutionStatus::names | ::Temporalio::Api::Enums::V1::WorkflowExecutionStatus::strings | ::Integer | ::Float)?,
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
def initialize: (?init_map initial_value) -> void
|
|
120
|
+
|
|
121
|
+
def []:
|
|
122
|
+
("status" name) -> (::Temporalio::Api::Enums::V1::WorkflowExecutionStatus::names | ::Integer)
|
|
123
|
+
|
|
124
|
+
def []=:
|
|
125
|
+
("status" name, (::Temporalio::Api::Enums::V1::WorkflowExecutionStatus::names | ::Temporalio::Api::Enums::V1::WorkflowExecutionStatus::strings | ::Integer | ::Float) value) -> void
|
|
126
|
+
end
|
|
127
|
+
end
|
|
128
|
+
end
|
|
129
|
+
end
|
|
130
|
+
end
|
|
131
|
+
|
|
132
|
+
module Google
|
|
133
|
+
module Protobuf
|
|
134
|
+
class DescriptorPool
|
|
135
|
+
def lookup: (::String name) -> ::Google::Protobuf::Descriptor
|
|
136
|
+
end
|
|
137
|
+
end
|
|
138
|
+
end
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
|
+
# This RBS interface is provided for convenience, on a best-effort basis.
|
|
3
|
+
# The library is the definitive source for the API contract; if the RBS file
|
|
4
|
+
# and the library's behavior differ, the library behavior is authoritative.
|
|
5
|
+
# We welcome fixes to change the RBS file to match.
|
|
6
|
+
# source: temporal/api/replication/v1/message.proto
|
|
7
|
+
|
|
8
|
+
module Temporalio
|
|
9
|
+
module Api
|
|
10
|
+
module Replication
|
|
11
|
+
module V1
|
|
12
|
+
class ClusterReplicationConfig < ::Google::Protobuf::AbstractMessage
|
|
13
|
+
|
|
14
|
+
attr_reader cluster_name(): ::String
|
|
15
|
+
attr_writer cluster_name(): ::String | ::Symbol
|
|
16
|
+
def clear_cluster_name: () -> void
|
|
17
|
+
|
|
18
|
+
type init_map = {
|
|
19
|
+
cluster_name: (::String | ::Symbol)?,
|
|
20
|
+
"cluster_name" => (::String | ::Symbol)?,
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
def initialize: (?init_map initial_value) -> void
|
|
24
|
+
|
|
25
|
+
def []:
|
|
26
|
+
("cluster_name" name) -> ::String
|
|
27
|
+
|
|
28
|
+
def []=:
|
|
29
|
+
("cluster_name" name, (::String | ::Symbol) value) -> void
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
class NamespaceReplicationConfig < ::Google::Protobuf::AbstractMessage
|
|
33
|
+
|
|
34
|
+
attr_reader active_cluster_name(): ::String
|
|
35
|
+
attr_writer active_cluster_name(): ::String | ::Symbol
|
|
36
|
+
def clear_active_cluster_name: () -> void
|
|
37
|
+
|
|
38
|
+
attr_accessor clusters(): ::Google::Protobuf::RepeatedField
|
|
39
|
+
def clear_clusters: () -> void
|
|
40
|
+
|
|
41
|
+
attr_reader state(): ::Temporalio::Api::Enums::V1::ReplicationState::names | ::Integer
|
|
42
|
+
attr_writer state(): ::Temporalio::Api::Enums::V1::ReplicationState::names | ::Temporalio::Api::Enums::V1::ReplicationState::strings | ::Integer | ::Float
|
|
43
|
+
attr_reader state_const(): ::Integer
|
|
44
|
+
def clear_state: () -> void
|
|
45
|
+
|
|
46
|
+
type init_map = {
|
|
47
|
+
active_cluster_name: (::String | ::Symbol)?,
|
|
48
|
+
"active_cluster_name" => (::String | ::Symbol)?,
|
|
49
|
+
clusters: ::Array[::Temporalio::Api::Replication::V1::ClusterReplicationConfig]?,
|
|
50
|
+
"clusters" => ::Array[::Temporalio::Api::Replication::V1::ClusterReplicationConfig]?,
|
|
51
|
+
state: (::Temporalio::Api::Enums::V1::ReplicationState::names | ::Temporalio::Api::Enums::V1::ReplicationState::strings | ::Integer | ::Float)?,
|
|
52
|
+
"state" => (::Temporalio::Api::Enums::V1::ReplicationState::names | ::Temporalio::Api::Enums::V1::ReplicationState::strings | ::Integer | ::Float)?,
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
def initialize: (?init_map initial_value) -> void
|
|
56
|
+
|
|
57
|
+
def []:
|
|
58
|
+
("active_cluster_name" name) -> ::String
|
|
59
|
+
| ("clusters" name) -> ::Google::Protobuf::RepeatedField
|
|
60
|
+
| ("state" name) -> (::Temporalio::Api::Enums::V1::ReplicationState::names | ::Integer)
|
|
61
|
+
|
|
62
|
+
def []=:
|
|
63
|
+
("active_cluster_name" name, (::String | ::Symbol) value) -> void
|
|
64
|
+
| ("clusters" name, ::Google::Protobuf::RepeatedField value) -> void
|
|
65
|
+
| ("state" name, (::Temporalio::Api::Enums::V1::ReplicationState::names | ::Temporalio::Api::Enums::V1::ReplicationState::strings | ::Integer | ::Float) value) -> void
|
|
66
|
+
end
|
|
67
|
+
|
|
68
|
+
# Represents a historical replication status of a Namespace
|
|
69
|
+
class FailoverStatus < ::Google::Protobuf::AbstractMessage
|
|
70
|
+
|
|
71
|
+
# Timestamp when the Cluster switched to the following failover_version
|
|
72
|
+
attr_reader failover_time(): ::Google::Protobuf::Timestamp?
|
|
73
|
+
attr_writer failover_time(): (::Google::Protobuf::Timestamp | ::Time)?
|
|
74
|
+
def has_failover_time?: () -> bool
|
|
75
|
+
def clear_failover_time: () -> void
|
|
76
|
+
|
|
77
|
+
attr_reader failover_version(): ::Integer
|
|
78
|
+
attr_writer failover_version(): ::Integer | ::Float
|
|
79
|
+
def clear_failover_version: () -> void
|
|
80
|
+
|
|
81
|
+
type init_map = {
|
|
82
|
+
failover_time: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
83
|
+
"failover_time" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
84
|
+
failover_version: (::Integer | ::Float)?,
|
|
85
|
+
"failover_version" => (::Integer | ::Float)?,
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
def initialize: (?init_map initial_value) -> void
|
|
89
|
+
|
|
90
|
+
def []:
|
|
91
|
+
("failover_time" name) -> ::Google::Protobuf::Timestamp?
|
|
92
|
+
| ("failover_version" name) -> ::Integer
|
|
93
|
+
|
|
94
|
+
def []=:
|
|
95
|
+
("failover_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void
|
|
96
|
+
| ("failover_version" name, (::Integer | ::Float) value) -> void
|
|
97
|
+
end
|
|
98
|
+
end
|
|
99
|
+
end
|
|
100
|
+
end
|
|
101
|
+
end
|
|
102
|
+
|
|
103
|
+
module Google
|
|
104
|
+
module Protobuf
|
|
105
|
+
class DescriptorPool
|
|
106
|
+
def lookup: (::String name) -> ::Google::Protobuf::Descriptor
|
|
107
|
+
end
|
|
108
|
+
end
|
|
109
|
+
end
|
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
|
+
# This RBS interface is provided for convenience, on a best-effort basis.
|
|
3
|
+
# The library is the definitive source for the API contract; if the RBS file
|
|
4
|
+
# and the library's behavior differ, the library behavior is authoritative.
|
|
5
|
+
# We welcome fixes to change the RBS file to match.
|
|
6
|
+
# source: temporal/api/rules/v1/message.proto
|
|
7
|
+
|
|
8
|
+
module Temporalio
|
|
9
|
+
module Api
|
|
10
|
+
module Rules
|
|
11
|
+
module V1
|
|
12
|
+
class WorkflowRuleAction < ::Google::Protobuf::AbstractMessage
|
|
13
|
+
class ActionActivityPause < ::Google::Protobuf::AbstractMessage
|
|
14
|
+
|
|
15
|
+
type init_map = {
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
def initialize: (?init_map initial_value) -> void
|
|
19
|
+
end
|
|
20
|
+
|
|
21
|
+
attr_accessor activity_pause(): ::Temporalio::Api::Rules::V1::WorkflowRuleAction::ActionActivityPause?
|
|
22
|
+
def has_activity_pause?: () -> bool
|
|
23
|
+
def clear_activity_pause: () -> void
|
|
24
|
+
|
|
25
|
+
# Supported actions.
|
|
26
|
+
attr_reader variant(): ::Temporalio::Api::Rules::V1::WorkflowRuleAction::ActionActivityPause?
|
|
27
|
+
def has_variant?: () -> bool
|
|
28
|
+
def clear_variant: () -> void
|
|
29
|
+
|
|
30
|
+
type init_map = {
|
|
31
|
+
activity_pause: (::Temporalio::Api::Rules::V1::WorkflowRuleAction::ActionActivityPause | ::Temporalio::Api::Rules::V1::WorkflowRuleAction::ActionActivityPause::init_map)?,
|
|
32
|
+
"activity_pause" => (::Temporalio::Api::Rules::V1::WorkflowRuleAction::ActionActivityPause | ::Temporalio::Api::Rules::V1::WorkflowRuleAction::ActionActivityPause::init_map)?,
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
def initialize: (?init_map initial_value) -> void
|
|
36
|
+
|
|
37
|
+
def []:
|
|
38
|
+
("activity_pause" name) -> ::Temporalio::Api::Rules::V1::WorkflowRuleAction::ActionActivityPause?
|
|
39
|
+
|
|
40
|
+
def []=:
|
|
41
|
+
("activity_pause" name, ::Temporalio::Api::Rules::V1::WorkflowRuleAction::ActionActivityPause? value) -> void
|
|
42
|
+
end
|
|
43
|
+
|
|
44
|
+
class WorkflowRuleSpec < ::Google::Protobuf::AbstractMessage
|
|
45
|
+
# Activity trigger will be triggered when an activity is about to start.
|
|
46
|
+
class ActivityStartingTrigger < ::Google::Protobuf::AbstractMessage
|
|
47
|
+
|
|
48
|
+
# Activity predicate is a SQL-like string filter parameter.
|
|
49
|
+
# It is used to match against workflow data.
|
|
50
|
+
# The following activity attributes are supported as part of the predicate:
|
|
51
|
+
# - ActivityType: An Activity Type is the mapping of a name to an Activity Definition..
|
|
52
|
+
# - ActivityId: The ID of the activity.
|
|
53
|
+
# - ActivityAttempt: The number attempts of the activity.
|
|
54
|
+
# - BackoffInterval: The current amount of time between scheduled attempts of the activity.
|
|
55
|
+
# - ActivityStatus: The status of the activity. Can be one of "Scheduled", "Started", "Paused".
|
|
56
|
+
# - TaskQueue: The name of the task queue the workflow specified that the activity should run on.
|
|
57
|
+
# Activity predicate support the following operators:
|
|
58
|
+
# * =, !=, >, >=, <, <=
|
|
59
|
+
# * AND, OR, ()
|
|
60
|
+
# * BETWEEN ... AND
|
|
61
|
+
# STARTS_WITH
|
|
62
|
+
attr_reader predicate(): ::String
|
|
63
|
+
attr_writer predicate(): ::String | ::Symbol
|
|
64
|
+
def clear_predicate: () -> void
|
|
65
|
+
|
|
66
|
+
type init_map = {
|
|
67
|
+
predicate: (::String | ::Symbol)?,
|
|
68
|
+
"predicate" => (::String | ::Symbol)?,
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
def initialize: (?init_map initial_value) -> void
|
|
72
|
+
|
|
73
|
+
def []:
|
|
74
|
+
("predicate" name) -> ::String
|
|
75
|
+
|
|
76
|
+
def []=:
|
|
77
|
+
("predicate" name, (::String | ::Symbol) value) -> void
|
|
78
|
+
end
|
|
79
|
+
|
|
80
|
+
# The id of the new workflow rule. Must be unique within the namespace.
|
|
81
|
+
# Can be set by the user, and can have business meaning.
|
|
82
|
+
attr_reader id(): ::String
|
|
83
|
+
attr_writer id(): ::String | ::Symbol
|
|
84
|
+
def clear_id: () -> void
|
|
85
|
+
|
|
86
|
+
attr_accessor activity_start(): ::Temporalio::Api::Rules::V1::WorkflowRuleSpec::ActivityStartingTrigger?
|
|
87
|
+
def has_activity_start?: () -> bool
|
|
88
|
+
def clear_activity_start: () -> void
|
|
89
|
+
|
|
90
|
+
# Restricted Visibility query.
|
|
91
|
+
# This query is used to filter workflows in this namespace to which this rule should apply.
|
|
92
|
+
# It is applied to any running workflow each time a triggering event occurs, before the trigger predicate is evaluated.
|
|
93
|
+
# The following workflow attributes are supported:
|
|
94
|
+
# - WorkflowType
|
|
95
|
+
# - WorkflowId
|
|
96
|
+
# - StartTime
|
|
97
|
+
# - ExecutionStatus
|
|
98
|
+
attr_reader visibility_query(): ::String
|
|
99
|
+
attr_writer visibility_query(): ::String | ::Symbol
|
|
100
|
+
def clear_visibility_query: () -> void
|
|
101
|
+
|
|
102
|
+
# WorkflowRuleAction to be taken when the rule is triggered and predicate is matched.
|
|
103
|
+
attr_accessor actions(): ::Google::Protobuf::RepeatedField
|
|
104
|
+
def clear_actions: () -> void
|
|
105
|
+
|
|
106
|
+
# Expiration time of the rule. After this time, the rule will be deleted.
|
|
107
|
+
# Can be empty if the rule should never expire.
|
|
108
|
+
attr_reader expiration_time(): ::Google::Protobuf::Timestamp?
|
|
109
|
+
attr_writer expiration_time(): (::Google::Protobuf::Timestamp | ::Time)?
|
|
110
|
+
def has_expiration_time?: () -> bool
|
|
111
|
+
def clear_expiration_time: () -> void
|
|
112
|
+
|
|
113
|
+
# Specifies how the rule should be triggered and evaluated.
|
|
114
|
+
# Currently, only "activity start" type is supported.
|
|
115
|
+
attr_reader trigger(): ::Temporalio::Api::Rules::V1::WorkflowRuleSpec::ActivityStartingTrigger?
|
|
116
|
+
def has_trigger?: () -> bool
|
|
117
|
+
def clear_trigger: () -> void
|
|
118
|
+
|
|
119
|
+
type init_map = {
|
|
120
|
+
id: (::String | ::Symbol)?,
|
|
121
|
+
"id" => (::String | ::Symbol)?,
|
|
122
|
+
activity_start: (::Temporalio::Api::Rules::V1::WorkflowRuleSpec::ActivityStartingTrigger | ::Temporalio::Api::Rules::V1::WorkflowRuleSpec::ActivityStartingTrigger::init_map)?,
|
|
123
|
+
"activity_start" => (::Temporalio::Api::Rules::V1::WorkflowRuleSpec::ActivityStartingTrigger | ::Temporalio::Api::Rules::V1::WorkflowRuleSpec::ActivityStartingTrigger::init_map)?,
|
|
124
|
+
visibility_query: (::String | ::Symbol)?,
|
|
125
|
+
"visibility_query" => (::String | ::Symbol)?,
|
|
126
|
+
actions: ::Array[::Temporalio::Api::Rules::V1::WorkflowRuleAction]?,
|
|
127
|
+
"actions" => ::Array[::Temporalio::Api::Rules::V1::WorkflowRuleAction]?,
|
|
128
|
+
expiration_time: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
129
|
+
"expiration_time" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
def initialize: (?init_map initial_value) -> void
|
|
133
|
+
|
|
134
|
+
def []:
|
|
135
|
+
("id" name) -> ::String
|
|
136
|
+
| ("activity_start" name) -> ::Temporalio::Api::Rules::V1::WorkflowRuleSpec::ActivityStartingTrigger?
|
|
137
|
+
| ("visibility_query" name) -> ::String
|
|
138
|
+
| ("actions" name) -> ::Google::Protobuf::RepeatedField
|
|
139
|
+
| ("expiration_time" name) -> ::Google::Protobuf::Timestamp?
|
|
140
|
+
|
|
141
|
+
def []=:
|
|
142
|
+
("id" name, (::String | ::Symbol) value) -> void
|
|
143
|
+
| ("activity_start" name, ::Temporalio::Api::Rules::V1::WorkflowRuleSpec::ActivityStartingTrigger? value) -> void
|
|
144
|
+
| ("visibility_query" name, (::String | ::Symbol) value) -> void
|
|
145
|
+
| ("actions" name, ::Google::Protobuf::RepeatedField value) -> void
|
|
146
|
+
| ("expiration_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void
|
|
147
|
+
end
|
|
148
|
+
|
|
149
|
+
# WorkflowRule describes a rule that can be applied to any workflow in this namespace.
|
|
150
|
+
class WorkflowRule < ::Google::Protobuf::AbstractMessage
|
|
151
|
+
|
|
152
|
+
# Rule creation time.
|
|
153
|
+
attr_reader create_time(): ::Google::Protobuf::Timestamp?
|
|
154
|
+
attr_writer create_time(): (::Google::Protobuf::Timestamp | ::Time)?
|
|
155
|
+
def has_create_time?: () -> bool
|
|
156
|
+
def clear_create_time: () -> void
|
|
157
|
+
|
|
158
|
+
# Rule specification
|
|
159
|
+
attr_accessor spec(): ::Temporalio::Api::Rules::V1::WorkflowRuleSpec?
|
|
160
|
+
def has_spec?: () -> bool
|
|
161
|
+
def clear_spec: () -> void
|
|
162
|
+
|
|
163
|
+
# Identity of the actor that created the rule
|
|
164
|
+
# (-- api-linter: core::0140::prepositions=disabled
|
|
165
|
+
# aip.dev/not-precedent: It is better reflect the intent this way, we will also have updated_by. --)
|
|
166
|
+
# (-- api-linter: core::0142::time-field-names=disabled
|
|
167
|
+
# aip.dev/not-precedent: Same as above. All other options sounds clumsy --)
|
|
168
|
+
attr_reader created_by_identity(): ::String
|
|
169
|
+
attr_writer created_by_identity(): ::String | ::Symbol
|
|
170
|
+
def clear_created_by_identity: () -> void
|
|
171
|
+
|
|
172
|
+
# Rule description.
|
|
173
|
+
attr_reader description(): ::String
|
|
174
|
+
attr_writer description(): ::String | ::Symbol
|
|
175
|
+
def clear_description: () -> void
|
|
176
|
+
|
|
177
|
+
type init_map = {
|
|
178
|
+
create_time: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
179
|
+
"create_time" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
180
|
+
spec: (::Temporalio::Api::Rules::V1::WorkflowRuleSpec | ::Temporalio::Api::Rules::V1::WorkflowRuleSpec::init_map)?,
|
|
181
|
+
"spec" => (::Temporalio::Api::Rules::V1::WorkflowRuleSpec | ::Temporalio::Api::Rules::V1::WorkflowRuleSpec::init_map)?,
|
|
182
|
+
created_by_identity: (::String | ::Symbol)?,
|
|
183
|
+
"created_by_identity" => (::String | ::Symbol)?,
|
|
184
|
+
description: (::String | ::Symbol)?,
|
|
185
|
+
"description" => (::String | ::Symbol)?,
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
def initialize: (?init_map initial_value) -> void
|
|
189
|
+
|
|
190
|
+
def []:
|
|
191
|
+
("create_time" name) -> ::Google::Protobuf::Timestamp?
|
|
192
|
+
| ("spec" name) -> ::Temporalio::Api::Rules::V1::WorkflowRuleSpec?
|
|
193
|
+
| ("created_by_identity" name) -> ::String
|
|
194
|
+
| ("description" name) -> ::String
|
|
195
|
+
|
|
196
|
+
def []=:
|
|
197
|
+
("create_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void
|
|
198
|
+
| ("spec" name, ::Temporalio::Api::Rules::V1::WorkflowRuleSpec? value) -> void
|
|
199
|
+
| ("created_by_identity" name, (::String | ::Symbol) value) -> void
|
|
200
|
+
| ("description" name, (::String | ::Symbol) value) -> void
|
|
201
|
+
end
|
|
202
|
+
end
|
|
203
|
+
end
|
|
204
|
+
end
|
|
205
|
+
end
|
|
206
|
+
|
|
207
|
+
module Google
|
|
208
|
+
module Protobuf
|
|
209
|
+
class DescriptorPool
|
|
210
|
+
def lookup: (::String name) -> ::Google::Protobuf::Descriptor
|
|
211
|
+
end
|
|
212
|
+
end
|
|
213
|
+
end
|