temporalio 0.1.1 → 0.2.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 +4035 -0
- data/Cargo.toml +25 -0
- data/Gemfile +20 -0
- data/LICENSE +16 -15
- data/README.md +455 -195
- data/Rakefile +387 -0
- data/ext/Cargo.toml +25 -0
- data/lib/temporalio/activity/complete_async_error.rb +11 -0
- data/lib/temporalio/activity/context.rb +82 -77
- data/lib/temporalio/activity/definition.rb +77 -0
- data/lib/temporalio/activity/info.rb +42 -46
- data/lib/temporalio/activity.rb +49 -65
- data/lib/temporalio/api/batch/v1/message.rb +31 -0
- data/lib/temporalio/api/cloud/cloudservice/v1/request_response.rb +93 -0
- data/lib/temporalio/api/cloud/cloudservice/v1/service.rb +25 -0
- data/lib/temporalio/api/cloud/cloudservice.rb +3 -0
- data/lib/temporalio/api/cloud/identity/v1/message.rb +36 -0
- data/lib/temporalio/api/cloud/namespace/v1/message.rb +35 -0
- data/lib/temporalio/api/cloud/operation/v1/message.rb +27 -0
- data/lib/temporalio/api/cloud/region/v1/message.rb +23 -0
- data/lib/temporalio/api/command/v1/message.rb +46 -0
- data/lib/temporalio/api/common/v1/grpc_status.rb +23 -0
- data/lib/temporalio/api/common/v1/message.rb +41 -0
- data/lib/temporalio/api/enums/v1/batch_operation.rb +22 -0
- data/lib/temporalio/api/enums/v1/command_type.rb +21 -0
- data/lib/temporalio/api/enums/v1/common.rb +26 -0
- data/lib/temporalio/api/enums/v1/event_type.rb +21 -0
- data/lib/temporalio/api/enums/v1/failed_cause.rb +26 -0
- data/lib/temporalio/api/enums/v1/namespace.rb +23 -0
- data/lib/temporalio/api/enums/v1/query.rb +22 -0
- data/lib/temporalio/api/enums/v1/reset.rb +23 -0
- data/lib/temporalio/api/enums/v1/schedule.rb +21 -0
- data/lib/temporalio/api/enums/v1/task_queue.rb +25 -0
- data/lib/temporalio/api/enums/v1/update.rb +22 -0
- data/lib/temporalio/api/enums/v1/workflow.rb +30 -0
- data/lib/temporalio/api/errordetails/v1/message.rb +42 -0
- data/lib/temporalio/api/export/v1/message.rb +24 -0
- data/lib/temporalio/api/failure/v1/message.rb +35 -0
- data/lib/temporalio/api/filter/v1/message.rb +27 -0
- data/lib/temporalio/api/history/v1/message.rb +90 -0
- data/lib/temporalio/api/namespace/v1/message.rb +31 -0
- data/lib/temporalio/api/nexus/v1/message.rb +40 -0
- data/lib/temporalio/api/operatorservice/v1/request_response.rb +49 -0
- data/lib/temporalio/api/operatorservice/v1/service.rb +23 -0
- data/lib/temporalio/api/operatorservice.rb +3 -0
- data/lib/temporalio/api/protocol/v1/message.rb +23 -0
- data/lib/temporalio/api/query/v1/message.rb +27 -0
- data/lib/temporalio/api/replication/v1/message.rb +26 -0
- data/lib/temporalio/api/schedule/v1/message.rb +42 -0
- data/lib/temporalio/api/sdk/v1/enhanced_stack_trace.rb +25 -0
- data/lib/temporalio/api/sdk/v1/task_complete_metadata.rb +21 -0
- data/lib/temporalio/api/sdk/v1/user_metadata.rb +23 -0
- data/lib/temporalio/api/sdk/v1/workflow_metadata.rb +23 -0
- data/lib/temporalio/api/taskqueue/v1/message.rb +45 -0
- data/lib/temporalio/api/update/v1/message.rb +33 -0
- data/lib/temporalio/api/version/v1/message.rb +26 -0
- data/lib/temporalio/api/workflow/v1/message.rb +43 -0
- data/lib/temporalio/api/workflowservice/v1/request_response.rb +189 -0
- data/lib/temporalio/api/workflowservice/v1/service.rb +23 -0
- data/lib/temporalio/api/workflowservice.rb +3 -0
- data/lib/temporalio/api.rb +13 -0
- data/lib/temporalio/cancellation.rb +150 -0
- data/lib/temporalio/client/activity_id_reference.rb +32 -0
- data/lib/temporalio/client/async_activity_handle.rb +110 -0
- data/lib/temporalio/client/connection/cloud_service.rb +648 -0
- data/lib/temporalio/client/connection/operator_service.rb +249 -0
- data/lib/temporalio/client/connection/service.rb +41 -0
- data/lib/temporalio/client/connection/workflow_service.rb +1218 -0
- data/lib/temporalio/client/connection.rb +270 -0
- data/lib/temporalio/client/interceptor.rb +316 -0
- data/lib/temporalio/client/workflow_execution.rb +103 -0
- data/lib/temporalio/client/workflow_execution_count.rb +36 -0
- data/lib/temporalio/client/workflow_execution_status.rb +18 -0
- data/lib/temporalio/client/workflow_handle.rb +380 -177
- data/lib/temporalio/client/workflow_query_reject_condition.rb +14 -0
- data/lib/temporalio/client/workflow_update_handle.rb +67 -0
- data/lib/temporalio/client/workflow_update_wait_stage.rb +17 -0
- data/lib/temporalio/client.rb +366 -93
- data/lib/temporalio/common_enums.rb +24 -0
- data/lib/temporalio/converters/data_converter.rb +102 -0
- data/lib/temporalio/converters/failure_converter.rb +200 -0
- data/lib/temporalio/converters/payload_codec.rb +26 -0
- data/lib/temporalio/converters/payload_converter/binary_null.rb +34 -0
- data/lib/temporalio/converters/payload_converter/binary_plain.rb +35 -0
- data/lib/temporalio/converters/payload_converter/binary_protobuf.rb +42 -0
- data/lib/temporalio/converters/payload_converter/composite.rb +62 -0
- data/lib/temporalio/converters/payload_converter/encoding.rb +35 -0
- data/lib/temporalio/converters/payload_converter/json_plain.rb +44 -0
- data/lib/temporalio/converters/payload_converter/json_protobuf.rb +41 -0
- data/lib/temporalio/converters/payload_converter.rb +73 -0
- data/lib/temporalio/converters.rb +9 -0
- data/lib/temporalio/error/failure.rb +119 -94
- data/lib/temporalio/error.rb +147 -0
- data/lib/temporalio/internal/bridge/api/activity_result/activity_result.rb +34 -0
- data/lib/temporalio/internal/bridge/api/activity_task/activity_task.rb +31 -0
- data/lib/temporalio/internal/bridge/api/child_workflow/child_workflow.rb +33 -0
- data/lib/temporalio/internal/bridge/api/common/common.rb +26 -0
- data/lib/temporalio/internal/bridge/api/core_interface.rb +36 -0
- data/lib/temporalio/internal/bridge/api/external_data/external_data.rb +27 -0
- data/lib/temporalio/internal/bridge/api/workflow_activation/workflow_activation.rb +52 -0
- data/lib/temporalio/internal/bridge/api/workflow_commands/workflow_commands.rb +54 -0
- data/lib/temporalio/internal/bridge/api/workflow_completion/workflow_completion.rb +30 -0
- data/lib/temporalio/internal/bridge/api.rb +3 -0
- data/lib/temporalio/internal/bridge/client.rb +90 -0
- data/lib/temporalio/internal/bridge/runtime.rb +53 -0
- data/lib/temporalio/internal/bridge/testing.rb +46 -0
- data/lib/temporalio/internal/bridge/worker.rb +83 -0
- data/lib/temporalio/internal/bridge.rb +36 -0
- data/lib/temporalio/internal/client/implementation.rb +525 -0
- data/lib/temporalio/internal/proto_utils.rb +54 -0
- data/lib/temporalio/internal/worker/activity_worker.rb +345 -0
- data/lib/temporalio/internal/worker/multi_runner.rb +169 -0
- data/lib/temporalio/internal.rb +7 -0
- data/lib/temporalio/retry_policy.rb +39 -80
- data/lib/temporalio/runtime.rb +259 -13
- data/lib/temporalio/scoped_logger.rb +96 -0
- data/lib/temporalio/search_attributes.rb +300 -0
- data/lib/temporalio/testing/activity_environment.rb +132 -0
- data/lib/temporalio/testing/workflow_environment.rb +113 -88
- data/lib/temporalio/testing.rb +4 -169
- data/lib/temporalio/version.rb +3 -1
- data/lib/temporalio/worker/activity_executor/fiber.rb +49 -0
- data/lib/temporalio/worker/activity_executor/thread_pool.rb +254 -0
- data/lib/temporalio/worker/activity_executor.rb +55 -0
- data/lib/temporalio/worker/interceptor.rb +88 -0
- data/lib/temporalio/worker/tuner.rb +151 -0
- data/lib/temporalio/worker.rb +385 -163
- data/lib/temporalio/workflow_history.rb +22 -0
- data/lib/temporalio.rb +2 -7
- data/temporalio.gemspec +20 -39
- metadata +131 -712
- data/bridge/Cargo.lock +0 -2997
- data/bridge/Cargo.toml +0 -29
- data/bridge/sdk-core/ARCHITECTURE.md +0 -76
- data/bridge/sdk-core/Cargo.toml +0 -2
- data/bridge/sdk-core/LICENSE.txt +0 -23
- data/bridge/sdk-core/README.md +0 -117
- data/bridge/sdk-core/arch_docs/diagrams/README.md +0 -10
- data/bridge/sdk-core/arch_docs/diagrams/sticky_queues.puml +0 -40
- data/bridge/sdk-core/arch_docs/diagrams/workflow_internals.svg +0 -1
- data/bridge/sdk-core/arch_docs/sticky_queues.md +0 -51
- data/bridge/sdk-core/client/Cargo.toml +0 -40
- data/bridge/sdk-core/client/LICENSE.txt +0 -23
- data/bridge/sdk-core/client/src/lib.rs +0 -1462
- data/bridge/sdk-core/client/src/metrics.rs +0 -174
- data/bridge/sdk-core/client/src/raw.rs +0 -932
- data/bridge/sdk-core/client/src/retry.rs +0 -763
- data/bridge/sdk-core/client/src/workflow_handle/mod.rs +0 -185
- data/bridge/sdk-core/core/Cargo.toml +0 -129
- data/bridge/sdk-core/core/LICENSE.txt +0 -23
- data/bridge/sdk-core/core/benches/workflow_replay.rs +0 -76
- data/bridge/sdk-core/core/src/abstractions.rs +0 -355
- data/bridge/sdk-core/core/src/core_tests/activity_tasks.rs +0 -1049
- data/bridge/sdk-core/core/src/core_tests/child_workflows.rs +0 -221
- data/bridge/sdk-core/core/src/core_tests/determinism.rs +0 -270
- data/bridge/sdk-core/core/src/core_tests/local_activities.rs +0 -1046
- data/bridge/sdk-core/core/src/core_tests/mod.rs +0 -100
- data/bridge/sdk-core/core/src/core_tests/queries.rs +0 -893
- data/bridge/sdk-core/core/src/core_tests/replay_flag.rs +0 -65
- data/bridge/sdk-core/core/src/core_tests/workers.rs +0 -257
- data/bridge/sdk-core/core/src/core_tests/workflow_cancels.rs +0 -124
- data/bridge/sdk-core/core/src/core_tests/workflow_tasks.rs +0 -2433
- data/bridge/sdk-core/core/src/ephemeral_server/mod.rs +0 -609
- data/bridge/sdk-core/core/src/internal_flags.rs +0 -136
- data/bridge/sdk-core/core/src/lib.rs +0 -289
- data/bridge/sdk-core/core/src/pollers/mod.rs +0 -54
- data/bridge/sdk-core/core/src/pollers/poll_buffer.rs +0 -297
- data/bridge/sdk-core/core/src/protosext/mod.rs +0 -428
- data/bridge/sdk-core/core/src/replay/mod.rs +0 -215
- data/bridge/sdk-core/core/src/retry_logic.rs +0 -202
- data/bridge/sdk-core/core/src/telemetry/log_export.rs +0 -190
- data/bridge/sdk-core/core/src/telemetry/metrics.rs +0 -462
- data/bridge/sdk-core/core/src/telemetry/mod.rs +0 -423
- data/bridge/sdk-core/core/src/telemetry/prometheus_server.rs +0 -83
- data/bridge/sdk-core/core/src/test_help/mod.rs +0 -939
- data/bridge/sdk-core/core/src/worker/activities/activity_heartbeat_manager.rs +0 -536
- data/bridge/sdk-core/core/src/worker/activities/activity_task_poller_stream.rs +0 -89
- data/bridge/sdk-core/core/src/worker/activities/local_activities.rs +0 -1278
- data/bridge/sdk-core/core/src/worker/activities.rs +0 -557
- data/bridge/sdk-core/core/src/worker/client/mocks.rs +0 -107
- data/bridge/sdk-core/core/src/worker/client.rs +0 -389
- data/bridge/sdk-core/core/src/worker/mod.rs +0 -677
- data/bridge/sdk-core/core/src/worker/workflow/bridge.rs +0 -35
- data/bridge/sdk-core/core/src/worker/workflow/driven_workflow.rs +0 -99
- data/bridge/sdk-core/core/src/worker/workflow/history_update.rs +0 -1111
- data/bridge/sdk-core/core/src/worker/workflow/machines/activity_state_machine.rs +0 -964
- data/bridge/sdk-core/core/src/worker/workflow/machines/cancel_external_state_machine.rs +0 -294
- data/bridge/sdk-core/core/src/worker/workflow/machines/cancel_workflow_state_machine.rs +0 -168
- data/bridge/sdk-core/core/src/worker/workflow/machines/child_workflow_state_machine.rs +0 -918
- data/bridge/sdk-core/core/src/worker/workflow/machines/complete_workflow_state_machine.rs +0 -137
- data/bridge/sdk-core/core/src/worker/workflow/machines/continue_as_new_workflow_state_machine.rs +0 -158
- data/bridge/sdk-core/core/src/worker/workflow/machines/fail_workflow_state_machine.rs +0 -130
- data/bridge/sdk-core/core/src/worker/workflow/machines/local_activity_state_machine.rs +0 -1525
- data/bridge/sdk-core/core/src/worker/workflow/machines/mod.rs +0 -324
- data/bridge/sdk-core/core/src/worker/workflow/machines/modify_workflow_properties_state_machine.rs +0 -179
- data/bridge/sdk-core/core/src/worker/workflow/machines/patch_state_machine.rs +0 -659
- data/bridge/sdk-core/core/src/worker/workflow/machines/signal_external_state_machine.rs +0 -439
- data/bridge/sdk-core/core/src/worker/workflow/machines/timer_state_machine.rs +0 -435
- data/bridge/sdk-core/core/src/worker/workflow/machines/transition_coverage.rs +0 -175
- data/bridge/sdk-core/core/src/worker/workflow/machines/upsert_search_attributes_state_machine.rs +0 -249
- data/bridge/sdk-core/core/src/worker/workflow/machines/workflow_machines/local_acts.rs +0 -85
- data/bridge/sdk-core/core/src/worker/workflow/machines/workflow_machines.rs +0 -1280
- data/bridge/sdk-core/core/src/worker/workflow/machines/workflow_task_state_machine.rs +0 -269
- data/bridge/sdk-core/core/src/worker/workflow/managed_run/managed_wf_test.rs +0 -213
- data/bridge/sdk-core/core/src/worker/workflow/managed_run.rs +0 -1305
- data/bridge/sdk-core/core/src/worker/workflow/mod.rs +0 -1276
- data/bridge/sdk-core/core/src/worker/workflow/run_cache.rs +0 -128
- data/bridge/sdk-core/core/src/worker/workflow/wft_extraction.rs +0 -125
- data/bridge/sdk-core/core/src/worker/workflow/wft_poller.rs +0 -85
- data/bridge/sdk-core/core/src/worker/workflow/workflow_stream/saved_wf_inputs.rs +0 -117
- data/bridge/sdk-core/core/src/worker/workflow/workflow_stream/tonic_status_serde.rs +0 -24
- data/bridge/sdk-core/core/src/worker/workflow/workflow_stream.rs +0 -715
- data/bridge/sdk-core/core-api/Cargo.toml +0 -33
- data/bridge/sdk-core/core-api/LICENSE.txt +0 -23
- data/bridge/sdk-core/core-api/src/errors.rs +0 -62
- data/bridge/sdk-core/core-api/src/lib.rs +0 -113
- data/bridge/sdk-core/core-api/src/telemetry.rs +0 -141
- data/bridge/sdk-core/core-api/src/worker.rs +0 -161
- data/bridge/sdk-core/etc/deps.svg +0 -162
- data/bridge/sdk-core/etc/dynamic-config.yaml +0 -2
- data/bridge/sdk-core/etc/otel-collector-config.yaml +0 -36
- data/bridge/sdk-core/etc/prometheus.yaml +0 -6
- data/bridge/sdk-core/etc/regen-depgraph.sh +0 -5
- data/bridge/sdk-core/fsm/Cargo.toml +0 -18
- data/bridge/sdk-core/fsm/LICENSE.txt +0 -23
- data/bridge/sdk-core/fsm/README.md +0 -3
- data/bridge/sdk-core/fsm/rustfsm_procmacro/Cargo.toml +0 -27
- data/bridge/sdk-core/fsm/rustfsm_procmacro/LICENSE.txt +0 -23
- data/bridge/sdk-core/fsm/rustfsm_procmacro/src/lib.rs +0 -650
- data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/progress.rs +0 -8
- data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/trybuild/dupe_transitions_fail.rs +0 -18
- data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/trybuild/dupe_transitions_fail.stderr +0 -12
- data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/trybuild/dynamic_dest_pass.rs +0 -41
- data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/trybuild/forgot_name_fail.rs +0 -14
- data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/trybuild/forgot_name_fail.stderr +0 -11
- data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/trybuild/handler_arg_pass.rs +0 -32
- data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/trybuild/handler_pass.rs +0 -31
- data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/trybuild/medium_complex_pass.rs +0 -46
- data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/trybuild/no_handle_conversions_require_into_fail.rs +0 -29
- data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/trybuild/no_handle_conversions_require_into_fail.stderr +0 -12
- data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/trybuild/simple_pass.rs +0 -32
- data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/trybuild/struct_event_variant_fail.rs +0 -18
- data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/trybuild/struct_event_variant_fail.stderr +0 -5
- data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/trybuild/tuple_more_item_event_variant_fail.rs +0 -11
- data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/trybuild/tuple_more_item_event_variant_fail.stderr +0 -5
- data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/trybuild/tuple_zero_item_event_variant_fail.rs +0 -11
- data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/trybuild/tuple_zero_item_event_variant_fail.stderr +0 -5
- data/bridge/sdk-core/fsm/rustfsm_trait/Cargo.toml +0 -14
- data/bridge/sdk-core/fsm/rustfsm_trait/LICENSE.txt +0 -23
- data/bridge/sdk-core/fsm/rustfsm_trait/src/lib.rs +0 -254
- data/bridge/sdk-core/fsm/src/lib.rs +0 -2
- data/bridge/sdk-core/histories/evict_while_la_running_no_interference-16_history.bin +0 -0
- data/bridge/sdk-core/histories/evict_while_la_running_no_interference-23_history.bin +0 -0
- data/bridge/sdk-core/histories/evict_while_la_running_no_interference-85_history.bin +0 -0
- data/bridge/sdk-core/histories/fail_wf_task.bin +0 -0
- data/bridge/sdk-core/histories/timer_workflow_history.bin +0 -0
- data/bridge/sdk-core/integ-with-otel.sh +0 -7
- data/bridge/sdk-core/protos/api_upstream/README.md +0 -9
- data/bridge/sdk-core/protos/api_upstream/api-linter.yaml +0 -40
- data/bridge/sdk-core/protos/api_upstream/buf.yaml +0 -9
- data/bridge/sdk-core/protos/api_upstream/build/go.mod +0 -7
- data/bridge/sdk-core/protos/api_upstream/build/go.sum +0 -5
- data/bridge/sdk-core/protos/api_upstream/build/tools.go +0 -29
- data/bridge/sdk-core/protos/api_upstream/dependencies/gogoproto/gogo.proto +0 -141
- data/bridge/sdk-core/protos/api_upstream/go.mod +0 -6
- data/bridge/sdk-core/protos/api_upstream/temporal/api/batch/v1/message.proto +0 -89
- data/bridge/sdk-core/protos/api_upstream/temporal/api/command/v1/message.proto +0 -248
- data/bridge/sdk-core/protos/api_upstream/temporal/api/common/v1/message.proto +0 -123
- data/bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/batch_operation.proto +0 -47
- data/bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/command_type.proto +0 -52
- data/bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/common.proto +0 -56
- data/bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/event_type.proto +0 -170
- data/bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/failed_cause.proto +0 -123
- data/bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/namespace.proto +0 -51
- data/bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/query.proto +0 -50
- data/bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/reset.proto +0 -41
- data/bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/schedule.proto +0 -60
- data/bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/task_queue.proto +0 -59
- data/bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/update.proto +0 -56
- data/bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/workflow.proto +0 -122
- data/bridge/sdk-core/protos/api_upstream/temporal/api/errordetails/v1/message.proto +0 -108
- data/bridge/sdk-core/protos/api_upstream/temporal/api/failure/v1/message.proto +0 -114
- data/bridge/sdk-core/protos/api_upstream/temporal/api/filter/v1/message.proto +0 -56
- data/bridge/sdk-core/protos/api_upstream/temporal/api/history/v1/message.proto +0 -787
- data/bridge/sdk-core/protos/api_upstream/temporal/api/namespace/v1/message.proto +0 -99
- data/bridge/sdk-core/protos/api_upstream/temporal/api/operatorservice/v1/request_response.proto +0 -124
- data/bridge/sdk-core/protos/api_upstream/temporal/api/operatorservice/v1/service.proto +0 -80
- data/bridge/sdk-core/protos/api_upstream/temporal/api/protocol/v1/message.proto +0 -57
- data/bridge/sdk-core/protos/api_upstream/temporal/api/query/v1/message.proto +0 -61
- data/bridge/sdk-core/protos/api_upstream/temporal/api/replication/v1/message.proto +0 -55
- data/bridge/sdk-core/protos/api_upstream/temporal/api/schedule/v1/message.proto +0 -379
- data/bridge/sdk-core/protos/api_upstream/temporal/api/sdk/v1/task_complete_metadata.proto +0 -63
- data/bridge/sdk-core/protos/api_upstream/temporal/api/taskqueue/v1/message.proto +0 -108
- data/bridge/sdk-core/protos/api_upstream/temporal/api/update/v1/message.proto +0 -111
- data/bridge/sdk-core/protos/api_upstream/temporal/api/version/v1/message.proto +0 -59
- data/bridge/sdk-core/protos/api_upstream/temporal/api/workflow/v1/message.proto +0 -146
- data/bridge/sdk-core/protos/api_upstream/temporal/api/workflowservice/v1/request_response.proto +0 -1199
- data/bridge/sdk-core/protos/api_upstream/temporal/api/workflowservice/v1/service.proto +0 -415
- data/bridge/sdk-core/protos/grpc/health/v1/health.proto +0 -63
- data/bridge/sdk-core/protos/local/temporal/sdk/core/activity_result/activity_result.proto +0 -79
- data/bridge/sdk-core/protos/local/temporal/sdk/core/activity_task/activity_task.proto +0 -80
- data/bridge/sdk-core/protos/local/temporal/sdk/core/child_workflow/child_workflow.proto +0 -78
- data/bridge/sdk-core/protos/local/temporal/sdk/core/common/common.proto +0 -16
- data/bridge/sdk-core/protos/local/temporal/sdk/core/core_interface.proto +0 -31
- data/bridge/sdk-core/protos/local/temporal/sdk/core/external_data/external_data.proto +0 -31
- data/bridge/sdk-core/protos/local/temporal/sdk/core/workflow_activation/workflow_activation.proto +0 -270
- data/bridge/sdk-core/protos/local/temporal/sdk/core/workflow_commands/workflow_commands.proto +0 -305
- data/bridge/sdk-core/protos/local/temporal/sdk/core/workflow_completion/workflow_completion.proto +0 -35
- data/bridge/sdk-core/protos/testsrv_upstream/api-linter.yaml +0 -38
- data/bridge/sdk-core/protos/testsrv_upstream/buf.yaml +0 -13
- data/bridge/sdk-core/protos/testsrv_upstream/dependencies/gogoproto/gogo.proto +0 -141
- data/bridge/sdk-core/protos/testsrv_upstream/temporal/api/testservice/v1/request_response.proto +0 -63
- data/bridge/sdk-core/protos/testsrv_upstream/temporal/api/testservice/v1/service.proto +0 -90
- data/bridge/sdk-core/rustfmt.toml +0 -1
- data/bridge/sdk-core/sdk/Cargo.toml +0 -48
- data/bridge/sdk-core/sdk/LICENSE.txt +0 -23
- data/bridge/sdk-core/sdk/src/activity_context.rs +0 -230
- data/bridge/sdk-core/sdk/src/app_data.rs +0 -37
- data/bridge/sdk-core/sdk/src/interceptors.rs +0 -50
- data/bridge/sdk-core/sdk/src/lib.rs +0 -861
- data/bridge/sdk-core/sdk/src/payload_converter.rs +0 -11
- data/bridge/sdk-core/sdk/src/workflow_context/options.rs +0 -295
- data/bridge/sdk-core/sdk/src/workflow_context.rs +0 -694
- data/bridge/sdk-core/sdk/src/workflow_future.rs +0 -500
- data/bridge/sdk-core/sdk-core-protos/Cargo.toml +0 -33
- data/bridge/sdk-core/sdk-core-protos/LICENSE.txt +0 -23
- data/bridge/sdk-core/sdk-core-protos/build.rs +0 -142
- data/bridge/sdk-core/sdk-core-protos/src/constants.rs +0 -7
- data/bridge/sdk-core/sdk-core-protos/src/history_builder.rs +0 -557
- data/bridge/sdk-core/sdk-core-protos/src/history_info.rs +0 -234
- data/bridge/sdk-core/sdk-core-protos/src/lib.rs +0 -2088
- data/bridge/sdk-core/sdk-core-protos/src/task_token.rs +0 -48
- data/bridge/sdk-core/sdk-core-protos/src/utilities.rs +0 -14
- data/bridge/sdk-core/test-utils/Cargo.toml +0 -38
- data/bridge/sdk-core/test-utils/src/canned_histories.rs +0 -1389
- data/bridge/sdk-core/test-utils/src/histfetch.rs +0 -28
- data/bridge/sdk-core/test-utils/src/lib.rs +0 -709
- data/bridge/sdk-core/test-utils/src/wf_input_saver.rs +0 -50
- data/bridge/sdk-core/test-utils/src/workflows.rs +0 -29
- data/bridge/sdk-core/tests/fuzzy_workflow.rs +0 -130
- data/bridge/sdk-core/tests/heavy_tests.rs +0 -265
- data/bridge/sdk-core/tests/integ_tests/client_tests.rs +0 -36
- data/bridge/sdk-core/tests/integ_tests/ephemeral_server_tests.rs +0 -150
- data/bridge/sdk-core/tests/integ_tests/heartbeat_tests.rs +0 -223
- data/bridge/sdk-core/tests/integ_tests/metrics_tests.rs +0 -239
- data/bridge/sdk-core/tests/integ_tests/polling_tests.rs +0 -90
- data/bridge/sdk-core/tests/integ_tests/queries_tests.rs +0 -314
- data/bridge/sdk-core/tests/integ_tests/visibility_tests.rs +0 -151
- data/bridge/sdk-core/tests/integ_tests/workflow_tests/activities.rs +0 -902
- data/bridge/sdk-core/tests/integ_tests/workflow_tests/appdata_propagation.rs +0 -61
- data/bridge/sdk-core/tests/integ_tests/workflow_tests/cancel_external.rs +0 -60
- data/bridge/sdk-core/tests/integ_tests/workflow_tests/cancel_wf.rs +0 -51
- data/bridge/sdk-core/tests/integ_tests/workflow_tests/child_workflows.rs +0 -51
- data/bridge/sdk-core/tests/integ_tests/workflow_tests/continue_as_new.rs +0 -64
- data/bridge/sdk-core/tests/integ_tests/workflow_tests/determinism.rs +0 -47
- data/bridge/sdk-core/tests/integ_tests/workflow_tests/local_activities.rs +0 -669
- data/bridge/sdk-core/tests/integ_tests/workflow_tests/modify_wf_properties.rs +0 -54
- data/bridge/sdk-core/tests/integ_tests/workflow_tests/patches.rs +0 -92
- data/bridge/sdk-core/tests/integ_tests/workflow_tests/replay.rs +0 -228
- data/bridge/sdk-core/tests/integ_tests/workflow_tests/resets.rs +0 -94
- data/bridge/sdk-core/tests/integ_tests/workflow_tests/signals.rs +0 -171
- data/bridge/sdk-core/tests/integ_tests/workflow_tests/stickyness.rs +0 -85
- data/bridge/sdk-core/tests/integ_tests/workflow_tests/timers.rs +0 -120
- data/bridge/sdk-core/tests/integ_tests/workflow_tests/upsert_search_attrs.rs +0 -77
- data/bridge/sdk-core/tests/integ_tests/workflow_tests.rs +0 -596
- data/bridge/sdk-core/tests/main.rs +0 -103
- data/bridge/sdk-core/tests/runner.rs +0 -132
- data/bridge/sdk-core/tests/wf_input_replay.rs +0 -32
- data/bridge/src/connection.rs +0 -202
- data/bridge/src/lib.rs +0 -494
- data/bridge/src/runtime.rs +0 -54
- data/bridge/src/test_server.rs +0 -153
- data/bridge/src/worker.rs +0 -197
- data/ext/Rakefile +0 -9
- data/lib/gen/dependencies/gogoproto/gogo_pb.rb +0 -14
- data/lib/gen/temporal/api/batch/v1/message_pb.rb +0 -50
- data/lib/gen/temporal/api/command/v1/message_pb.rb +0 -160
- data/lib/gen/temporal/api/common/v1/message_pb.rb +0 -73
- data/lib/gen/temporal/api/enums/v1/batch_operation_pb.rb +0 -33
- data/lib/gen/temporal/api/enums/v1/command_type_pb.rb +0 -37
- data/lib/gen/temporal/api/enums/v1/common_pb.rb +0 -42
- data/lib/gen/temporal/api/enums/v1/event_type_pb.rb +0 -68
- data/lib/gen/temporal/api/enums/v1/failed_cause_pb.rb +0 -79
- data/lib/gen/temporal/api/enums/v1/namespace_pb.rb +0 -37
- data/lib/gen/temporal/api/enums/v1/query_pb.rb +0 -31
- data/lib/gen/temporal/api/enums/v1/reset_pb.rb +0 -24
- data/lib/gen/temporal/api/enums/v1/schedule_pb.rb +0 -28
- data/lib/gen/temporal/api/enums/v1/task_queue_pb.rb +0 -30
- data/lib/gen/temporal/api/enums/v1/update_pb.rb +0 -25
- data/lib/gen/temporal/api/enums/v1/workflow_pb.rb +0 -89
- data/lib/gen/temporal/api/errordetails/v1/message_pb.rb +0 -84
- data/lib/gen/temporal/api/failure/v1/message_pb.rb +0 -83
- data/lib/gen/temporal/api/filter/v1/message_pb.rb +0 -40
- data/lib/gen/temporal/api/history/v1/message_pb.rb +0 -498
- data/lib/gen/temporal/api/namespace/v1/message_pb.rb +0 -64
- data/lib/gen/temporal/api/operatorservice/v1/request_response_pb.rb +0 -88
- data/lib/gen/temporal/api/operatorservice/v1/service_pb.rb +0 -20
- data/lib/gen/temporal/api/protocol/v1/message_pb.rb +0 -30
- data/lib/gen/temporal/api/query/v1/message_pb.rb +0 -38
- data/lib/gen/temporal/api/replication/v1/message_pb.rb +0 -37
- data/lib/gen/temporal/api/schedule/v1/message_pb.rb +0 -149
- data/lib/gen/temporal/api/sdk/v1/task_complete_metadata_pb.rb +0 -23
- data/lib/gen/temporal/api/taskqueue/v1/message_pb.rb +0 -73
- data/lib/gen/temporal/api/testservice/v1/request_response_pb.rb +0 -49
- data/lib/gen/temporal/api/testservice/v1/service_pb.rb +0 -21
- data/lib/gen/temporal/api/update/v1/message_pb.rb +0 -72
- data/lib/gen/temporal/api/version/v1/message_pb.rb +0 -41
- data/lib/gen/temporal/api/workflow/v1/message_pb.rb +0 -111
- data/lib/gen/temporal/api/workflowservice/v1/request_response_pb.rb +0 -798
- data/lib/gen/temporal/api/workflowservice/v1/service_pb.rb +0 -20
- data/lib/gen/temporal/sdk/core/activity_result/activity_result_pb.rb +0 -62
- data/lib/gen/temporal/sdk/core/activity_task/activity_task_pb.rb +0 -61
- data/lib/gen/temporal/sdk/core/child_workflow/child_workflow_pb.rb +0 -61
- data/lib/gen/temporal/sdk/core/common/common_pb.rb +0 -26
- data/lib/gen/temporal/sdk/core/core_interface_pb.rb +0 -40
- data/lib/gen/temporal/sdk/core/external_data/external_data_pb.rb +0 -31
- data/lib/gen/temporal/sdk/core/workflow_activation/workflow_activation_pb.rb +0 -171
- data/lib/gen/temporal/sdk/core/workflow_commands/workflow_commands_pb.rb +0 -200
- data/lib/gen/temporal/sdk/core/workflow_completion/workflow_completion_pb.rb +0 -41
- data/lib/temporalio/bridge/connect_options.rb +0 -15
- data/lib/temporalio/bridge/error.rb +0 -8
- data/lib/temporalio/bridge/retry_config.rb +0 -24
- data/lib/temporalio/bridge/tls_options.rb +0 -19
- data/lib/temporalio/bridge.rb +0 -14
- data/lib/temporalio/client/implementation.rb +0 -340
- data/lib/temporalio/connection/retry_config.rb +0 -44
- data/lib/temporalio/connection/service.rb +0 -20
- data/lib/temporalio/connection/test_service.rb +0 -92
- data/lib/temporalio/connection/tls_options.rb +0 -51
- data/lib/temporalio/connection/workflow_service.rb +0 -731
- data/lib/temporalio/connection.rb +0 -86
- data/lib/temporalio/data_converter.rb +0 -191
- data/lib/temporalio/error/workflow_failure.rb +0 -19
- data/lib/temporalio/errors.rb +0 -40
- data/lib/temporalio/failure_converter/base.rb +0 -26
- data/lib/temporalio/failure_converter/basic.rb +0 -319
- data/lib/temporalio/failure_converter.rb +0 -7
- data/lib/temporalio/interceptor/activity_inbound.rb +0 -22
- data/lib/temporalio/interceptor/activity_outbound.rb +0 -24
- data/lib/temporalio/interceptor/chain.rb +0 -28
- data/lib/temporalio/interceptor/client.rb +0 -127
- data/lib/temporalio/interceptor.rb +0 -22
- data/lib/temporalio/payload_codec/base.rb +0 -32
- data/lib/temporalio/payload_converter/base.rb +0 -24
- data/lib/temporalio/payload_converter/bytes.rb +0 -27
- data/lib/temporalio/payload_converter/composite.rb +0 -49
- data/lib/temporalio/payload_converter/encoding_base.rb +0 -35
- data/lib/temporalio/payload_converter/json.rb +0 -26
- data/lib/temporalio/payload_converter/nil.rb +0 -26
- data/lib/temporalio/payload_converter.rb +0 -14
- data/lib/temporalio/retry_state.rb +0 -35
- data/lib/temporalio/testing/time_skipping_handle.rb +0 -32
- data/lib/temporalio/testing/time_skipping_interceptor.rb +0 -23
- data/lib/temporalio/timeout_type.rb +0 -29
- data/lib/temporalio/worker/activity_runner.rb +0 -114
- data/lib/temporalio/worker/activity_worker.rb +0 -164
- data/lib/temporalio/worker/reactor.rb +0 -46
- data/lib/temporalio/worker/runner.rb +0 -63
- data/lib/temporalio/worker/sync_worker.rb +0 -124
- data/lib/temporalio/worker/thread_pool_executor.rb +0 -51
- data/lib/temporalio/workflow/async.rb +0 -46
- data/lib/temporalio/workflow/execution_info.rb +0 -54
- data/lib/temporalio/workflow/execution_status.rb +0 -36
- data/lib/temporalio/workflow/future.rb +0 -138
- data/lib/temporalio/workflow/id_reuse_policy.rb +0 -36
- data/lib/temporalio/workflow/info.rb +0 -76
- data/lib/temporalio/workflow/query_reject_condition.rb +0 -33
- data/lib/thermite_patch.rb +0 -33
- data/sig/async.rbs +0 -17
- data/sig/protobuf.rbs +0 -16
- data/sig/protos/dependencies/gogoproto/gogo.rbs +0 -914
- data/sig/protos/google/protobuf/any.rbs +0 -157
- data/sig/protos/google/protobuf/descriptor.rbs +0 -2825
- data/sig/protos/google/protobuf/duration.rbs +0 -114
- data/sig/protos/google/protobuf/empty.rbs +0 -36
- data/sig/protos/google/protobuf/timestamp.rbs +0 -145
- data/sig/protos/google/protobuf/wrappers.rbs +0 -358
- data/sig/protos/temporal/api/batch/v1/message.rbs +0 -300
- data/sig/protos/temporal/api/command/v1/message.rbs +0 -1399
- data/sig/protos/temporal/api/common/v1/message.rbs +0 -528
- data/sig/protos/temporal/api/enums/v1/batch_operation.rbs +0 -79
- data/sig/protos/temporal/api/enums/v1/command_type.rbs +0 -68
- data/sig/protos/temporal/api/enums/v1/common.rbs +0 -118
- data/sig/protos/temporal/api/enums/v1/event_type.rbs +0 -264
- data/sig/protos/temporal/api/enums/v1/failed_cause.rbs +0 -277
- data/sig/protos/temporal/api/enums/v1/namespace.rbs +0 -108
- data/sig/protos/temporal/api/enums/v1/query.rbs +0 -81
- data/sig/protos/temporal/api/enums/v1/reset.rbs +0 -44
- data/sig/protos/temporal/api/enums/v1/schedule.rbs +0 -72
- data/sig/protos/temporal/api/enums/v1/task_queue.rbs +0 -92
- data/sig/protos/temporal/api/enums/v1/update.rbs +0 -64
- data/sig/protos/temporal/api/enums/v1/workflow.rbs +0 -371
- data/sig/protos/temporal/api/errordetails/v1/message.rbs +0 -551
- data/sig/protos/temporal/api/failure/v1/message.rbs +0 -581
- data/sig/protos/temporal/api/filter/v1/message.rbs +0 -171
- data/sig/protos/temporal/api/history/v1/message.rbs +0 -4609
- data/sig/protos/temporal/api/namespace/v1/message.rbs +0 -410
- data/sig/protos/temporal/api/operatorservice/v1/request_response.rbs +0 -643
- data/sig/protos/temporal/api/operatorservice/v1/service.rbs +0 -17
- data/sig/protos/temporal/api/protocol/v1/message.rbs +0 -84
- data/sig/protos/temporal/api/query/v1/message.rbs +0 -182
- data/sig/protos/temporal/api/replication/v1/message.rbs +0 -148
- data/sig/protos/temporal/api/schedule/v1/message.rbs +0 -1488
- data/sig/protos/temporal/api/sdk/v1/task_complete_metadata.rbs +0 -110
- data/sig/protos/temporal/api/taskqueue/v1/message.rbs +0 -486
- data/sig/protos/temporal/api/testservice/v1/request_response.rbs +0 -249
- data/sig/protos/temporal/api/testservice/v1/service.rbs +0 -15
- data/sig/protos/temporal/api/update/v1/message.rbs +0 -489
- data/sig/protos/temporal/api/version/v1/message.rbs +0 -184
- data/sig/protos/temporal/api/workflow/v1/message.rbs +0 -824
- data/sig/protos/temporal/api/workflowservice/v1/request_response.rbs +0 -7250
- data/sig/protos/temporal/api/workflowservice/v1/service.rbs +0 -22
- data/sig/protos/temporal/sdk/core/activity_result/activity_result.rbs +0 -380
- data/sig/protos/temporal/sdk/core/activity_task/activity_task.rbs +0 -386
- data/sig/protos/temporal/sdk/core/child_workflow/child_workflow.rbs +0 -323
- data/sig/protos/temporal/sdk/core/common/common.rbs +0 -62
- data/sig/protos/temporal/sdk/core/core_interface.rbs +0 -101
- data/sig/protos/temporal/sdk/core/external_data/external_data.rbs +0 -119
- data/sig/protos/temporal/sdk/core/workflow_activation/workflow_activation.rbs +0 -1473
- data/sig/protos/temporal/sdk/core/workflow_commands/workflow_commands.rbs +0 -1784
- data/sig/protos/temporal/sdk/core/workflow_completion/workflow_completion.rbs +0 -180
- data/sig/ruby.rbs +0 -12
- data/sig/temporalio/activity/context.rbs +0 -29
- data/sig/temporalio/activity/info.rbs +0 -43
- data/sig/temporalio/activity.rbs +0 -19
- data/sig/temporalio/bridge/connect_options.rbs +0 -19
- data/sig/temporalio/bridge/error.rbs +0 -8
- data/sig/temporalio/bridge/retry_config.rbs +0 -21
- data/sig/temporalio/bridge/tls_options.rbs +0 -17
- data/sig/temporalio/bridge.rbs +0 -71
- data/sig/temporalio/client/implementation.rbs +0 -38
- data/sig/temporalio/client/workflow_handle.rbs +0 -41
- data/sig/temporalio/client.rbs +0 -35
- data/sig/temporalio/connection/retry_config.rbs +0 -37
- data/sig/temporalio/connection/service.rbs +0 -14
- data/sig/temporalio/connection/test_service.rbs +0 -13
- data/sig/temporalio/connection/tls_options.rbs +0 -43
- data/sig/temporalio/connection/workflow_service.rbs +0 -48
- data/sig/temporalio/connection.rbs +0 -30
- data/sig/temporalio/data_converter.rbs +0 -35
- data/sig/temporalio/error/failure.rbs +0 -121
- data/sig/temporalio/error/workflow_failure.rbs +0 -9
- data/sig/temporalio/errors.rbs +0 -36
- data/sig/temporalio/failure_converter/base.rbs +0 -12
- data/sig/temporalio/failure_converter/basic.rbs +0 -86
- data/sig/temporalio/failure_converter.rbs +0 -5
- data/sig/temporalio/interceptor/activity_inbound.rbs +0 -21
- data/sig/temporalio/interceptor/activity_outbound.rbs +0 -10
- data/sig/temporalio/interceptor/chain.rbs +0 -24
- data/sig/temporalio/interceptor/client.rbs +0 -148
- data/sig/temporalio/interceptor.rbs +0 -6
- data/sig/temporalio/payload_codec/base.rbs +0 -12
- data/sig/temporalio/payload_converter/base.rbs +0 -12
- data/sig/temporalio/payload_converter/bytes.rbs +0 -9
- data/sig/temporalio/payload_converter/composite.rbs +0 -19
- data/sig/temporalio/payload_converter/encoding_base.rbs +0 -14
- data/sig/temporalio/payload_converter/json.rbs +0 -9
- data/sig/temporalio/payload_converter/nil.rbs +0 -9
- data/sig/temporalio/payload_converter.rbs +0 -5
- data/sig/temporalio/retry_policy.rbs +0 -25
- data/sig/temporalio/retry_state.rbs +0 -20
- data/sig/temporalio/runtime.rbs +0 -12
- data/sig/temporalio/testing/time_skipping_handle.rbs +0 -15
- data/sig/temporalio/testing/time_skipping_interceptor.rbs +0 -13
- data/sig/temporalio/testing/workflow_environment.rbs +0 -22
- data/sig/temporalio/testing.rbs +0 -35
- data/sig/temporalio/timeout_type.rbs +0 -15
- data/sig/temporalio/version.rbs +0 -3
- data/sig/temporalio/worker/activity_runner.rbs +0 -35
- data/sig/temporalio/worker/activity_worker.rbs +0 -44
- data/sig/temporalio/worker/reactor.rbs +0 -22
- data/sig/temporalio/worker/runner.rbs +0 -21
- data/sig/temporalio/worker/sync_worker.rbs +0 -23
- data/sig/temporalio/worker/thread_pool_executor.rbs +0 -23
- data/sig/temporalio/worker.rbs +0 -46
- data/sig/temporalio/workflow/async.rbs +0 -9
- data/sig/temporalio/workflow/execution_info.rbs +0 -55
- data/sig/temporalio/workflow/execution_status.rbs +0 -21
- data/sig/temporalio/workflow/future.rbs +0 -40
- data/sig/temporalio/workflow/id_reuse_policy.rbs +0 -15
- data/sig/temporalio/workflow/info.rbs +0 -55
- data/sig/temporalio/workflow/query_reject_condition.rbs +0 -14
- data/sig/temporalio.rbs +0 -2
- data/sig/thermite_patch.rbs +0 -15
|
@@ -1,1473 +0,0 @@
|
|
|
1
|
-
module Temporalio
|
|
2
|
-
module Bridge
|
|
3
|
-
module Api
|
|
4
|
-
module WorkflowActivation
|
|
5
|
-
# / An instruction to the lang sdk to run some workflow code, whether for the first time or from
|
|
6
|
-
# / a cached state.
|
|
7
|
-
#
|
|
8
|
-
class WorkflowActivation < ::Protobuf::Message
|
|
9
|
-
# Encode the message to a binary string
|
|
10
|
-
#
|
|
11
|
-
def self.encode: (WorkflowActivation) -> String
|
|
12
|
-
|
|
13
|
-
# / The id of the currently active run of the workflow. Also used as a cache key. There may
|
|
14
|
-
# / only ever be one active workflow task (and hence activation) of a run at one time.
|
|
15
|
-
#
|
|
16
|
-
attr_accessor run_id(): ::String
|
|
17
|
-
|
|
18
|
-
def run_id!: () -> ::String?
|
|
19
|
-
|
|
20
|
-
# / The current time as understood by the workflow, which is set by workflow task started events
|
|
21
|
-
#
|
|
22
|
-
attr_accessor timestamp(): ::Google::Protobuf::Timestamp?
|
|
23
|
-
|
|
24
|
-
# / The current time as understood by the workflow, which is set by workflow task started events
|
|
25
|
-
#
|
|
26
|
-
def timestamp=: [M < ::Google::Protobuf::Timestamp::_ToProto] (M?) -> M?
|
|
27
|
-
| ...
|
|
28
|
-
|
|
29
|
-
def timestamp!: () -> ::Google::Protobuf::Timestamp?
|
|
30
|
-
|
|
31
|
-
# / Whether or not the activation is replaying past events
|
|
32
|
-
#
|
|
33
|
-
attr_accessor is_replaying(): bool
|
|
34
|
-
|
|
35
|
-
def is_replaying!: () -> bool?
|
|
36
|
-
|
|
37
|
-
# / Current history length as determined by the event id of the most recently processed event.
|
|
38
|
-
# / This ensures that the number is always deterministic
|
|
39
|
-
#
|
|
40
|
-
attr_accessor history_length(): ::Integer
|
|
41
|
-
|
|
42
|
-
def history_length!: () -> ::Integer?
|
|
43
|
-
|
|
44
|
-
# / The things to do upon activating the workflow
|
|
45
|
-
#
|
|
46
|
-
attr_accessor jobs(): ::Temporalio::Bridge::Api::WorkflowActivation::WorkflowActivationJob::field_array
|
|
47
|
-
|
|
48
|
-
# / The things to do upon activating the workflow
|
|
49
|
-
#
|
|
50
|
-
def jobs=: (::Temporalio::Bridge::Api::WorkflowActivation::WorkflowActivationJob::array) -> ::Temporalio::Bridge::Api::WorkflowActivation::WorkflowActivationJob::array
|
|
51
|
-
| ...
|
|
52
|
-
|
|
53
|
-
def jobs!: () -> ::Temporalio::Bridge::Api::WorkflowActivation::WorkflowActivationJob::field_array?
|
|
54
|
-
|
|
55
|
-
# Internal flags which are available for use by lang. If `is_replaying` is false, all
|
|
56
|
-
# internal flags may be used. This is not a delta - all previously used flags always
|
|
57
|
-
# appear since this representation is cheap.
|
|
58
|
-
#
|
|
59
|
-
attr_accessor available_internal_flags(): ::Protobuf::field_array[::Integer]
|
|
60
|
-
|
|
61
|
-
# Internal flags which are available for use by lang. If `is_replaying` is false, all
|
|
62
|
-
# internal flags may be used. This is not a delta - all previously used flags always
|
|
63
|
-
# appear since this representation is cheap.
|
|
64
|
-
#
|
|
65
|
-
def available_internal_flags=: (::Array[::Integer]) -> ::Array[::Integer]
|
|
66
|
-
| ...
|
|
67
|
-
|
|
68
|
-
def available_internal_flags!: () -> ::Protobuf::field_array[::Integer]?
|
|
69
|
-
|
|
70
|
-
def initialize: (?run_id: ::String, ?timestamp: ::Google::Protobuf::Timestamp::init?, ?is_replaying: bool, ?history_length: ::Integer, ?jobs: ::Temporalio::Bridge::Api::WorkflowActivation::WorkflowActivationJob::array, ?available_internal_flags: ::Array[::Integer]) -> void
|
|
71
|
-
|
|
72
|
-
def []: (:run_id) -> ::String
|
|
73
|
-
| (:timestamp) -> ::Google::Protobuf::Timestamp?
|
|
74
|
-
| (:is_replaying) -> bool
|
|
75
|
-
| (:history_length) -> ::Integer
|
|
76
|
-
| (:jobs) -> ::Temporalio::Bridge::Api::WorkflowActivation::WorkflowActivationJob::field_array
|
|
77
|
-
| (:available_internal_flags) -> ::Protobuf::field_array[::Integer]
|
|
78
|
-
| (::Symbol) -> untyped
|
|
79
|
-
|
|
80
|
-
def []=: (:run_id, ::String) -> ::String
|
|
81
|
-
| (:timestamp, ::Google::Protobuf::Timestamp?) -> ::Google::Protobuf::Timestamp?
|
|
82
|
-
| [M < ::Google::Protobuf::Timestamp::_ToProto] (:timestamp, M?) -> M?
|
|
83
|
-
| (:is_replaying, bool) -> bool
|
|
84
|
-
| (:history_length, ::Integer) -> ::Integer
|
|
85
|
-
| (:jobs, ::Temporalio::Bridge::Api::WorkflowActivation::WorkflowActivationJob::field_array) -> ::Temporalio::Bridge::Api::WorkflowActivation::WorkflowActivationJob::field_array
|
|
86
|
-
| (:jobs, ::Temporalio::Bridge::Api::WorkflowActivation::WorkflowActivationJob::array) -> ::Temporalio::Bridge::Api::WorkflowActivation::WorkflowActivationJob::array
|
|
87
|
-
| (:available_internal_flags, ::Protobuf::field_array[::Integer]) -> ::Protobuf::field_array[::Integer]
|
|
88
|
-
| (:available_internal_flags, ::Array[::Integer]) -> ::Array[::Integer]
|
|
89
|
-
| (::Symbol, untyped) -> untyped
|
|
90
|
-
|
|
91
|
-
def is_replaying?: () -> bool
|
|
92
|
-
|
|
93
|
-
interface _ToProto
|
|
94
|
-
def to_proto: () -> WorkflowActivation
|
|
95
|
-
end
|
|
96
|
-
|
|
97
|
-
# The type of `#initialize` parameter.
|
|
98
|
-
type init = WorkflowActivation | _ToProto
|
|
99
|
-
|
|
100
|
-
# The type of `repeated` field.
|
|
101
|
-
type field_array = ::Protobuf::Field::FieldArray[WorkflowActivation, WorkflowActivation | _ToProto]
|
|
102
|
-
|
|
103
|
-
# The type of `map` field.
|
|
104
|
-
type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, WorkflowActivation, WorkflowActivation | _ToProto]
|
|
105
|
-
|
|
106
|
-
type array = ::Array[WorkflowActivation | _ToProto]
|
|
107
|
-
|
|
108
|
-
type hash[KEY] = ::Hash[KEY, WorkflowActivation | _ToProto]
|
|
109
|
-
end
|
|
110
|
-
|
|
111
|
-
class WorkflowActivationJob < ::Protobuf::Message
|
|
112
|
-
# Encode the message to a binary string
|
|
113
|
-
#
|
|
114
|
-
def self.encode: (WorkflowActivationJob) -> String
|
|
115
|
-
|
|
116
|
-
# / Begin a workflow for the first time
|
|
117
|
-
#
|
|
118
|
-
attr_accessor start_workflow(): ::Temporalio::Bridge::Api::WorkflowActivation::StartWorkflow?
|
|
119
|
-
|
|
120
|
-
# / Begin a workflow for the first time
|
|
121
|
-
#
|
|
122
|
-
def start_workflow=: [M < ::Temporalio::Bridge::Api::WorkflowActivation::StartWorkflow::_ToProto] (M?) -> M?
|
|
123
|
-
| ...
|
|
124
|
-
|
|
125
|
-
def start_workflow!: () -> ::Temporalio::Bridge::Api::WorkflowActivation::StartWorkflow?
|
|
126
|
-
|
|
127
|
-
# / A timer has fired, allowing whatever was waiting on it (if anything) to proceed
|
|
128
|
-
#
|
|
129
|
-
attr_accessor fire_timer(): ::Temporalio::Bridge::Api::WorkflowActivation::FireTimer?
|
|
130
|
-
|
|
131
|
-
# / A timer has fired, allowing whatever was waiting on it (if anything) to proceed
|
|
132
|
-
#
|
|
133
|
-
def fire_timer=: [M < ::Temporalio::Bridge::Api::WorkflowActivation::FireTimer::_ToProto] (M?) -> M?
|
|
134
|
-
| ...
|
|
135
|
-
|
|
136
|
-
def fire_timer!: () -> ::Temporalio::Bridge::Api::WorkflowActivation::FireTimer?
|
|
137
|
-
|
|
138
|
-
# / Workflow was reset. The randomness seed must be updated.
|
|
139
|
-
#
|
|
140
|
-
attr_accessor update_random_seed(): ::Temporalio::Bridge::Api::WorkflowActivation::UpdateRandomSeed?
|
|
141
|
-
|
|
142
|
-
# / Workflow was reset. The randomness seed must be updated.
|
|
143
|
-
#
|
|
144
|
-
def update_random_seed=: [M < ::Temporalio::Bridge::Api::WorkflowActivation::UpdateRandomSeed::_ToProto] (M?) -> M?
|
|
145
|
-
| ...
|
|
146
|
-
|
|
147
|
-
def update_random_seed!: () -> ::Temporalio::Bridge::Api::WorkflowActivation::UpdateRandomSeed?
|
|
148
|
-
|
|
149
|
-
# / A request to query the workflow was received.
|
|
150
|
-
#
|
|
151
|
-
attr_accessor query_workflow(): ::Temporalio::Bridge::Api::WorkflowActivation::QueryWorkflow?
|
|
152
|
-
|
|
153
|
-
# / A request to query the workflow was received.
|
|
154
|
-
#
|
|
155
|
-
def query_workflow=: [M < ::Temporalio::Bridge::Api::WorkflowActivation::QueryWorkflow::_ToProto] (M?) -> M?
|
|
156
|
-
| ...
|
|
157
|
-
|
|
158
|
-
def query_workflow!: () -> ::Temporalio::Bridge::Api::WorkflowActivation::QueryWorkflow?
|
|
159
|
-
|
|
160
|
-
# / A request to cancel the workflow was received.
|
|
161
|
-
#
|
|
162
|
-
attr_accessor cancel_workflow(): ::Temporalio::Bridge::Api::WorkflowActivation::CancelWorkflow?
|
|
163
|
-
|
|
164
|
-
# / A request to cancel the workflow was received.
|
|
165
|
-
#
|
|
166
|
-
def cancel_workflow=: [M < ::Temporalio::Bridge::Api::WorkflowActivation::CancelWorkflow::_ToProto] (M?) -> M?
|
|
167
|
-
| ...
|
|
168
|
-
|
|
169
|
-
def cancel_workflow!: () -> ::Temporalio::Bridge::Api::WorkflowActivation::CancelWorkflow?
|
|
170
|
-
|
|
171
|
-
# / A request to signal the workflow was received.
|
|
172
|
-
#
|
|
173
|
-
attr_accessor signal_workflow(): ::Temporalio::Bridge::Api::WorkflowActivation::SignalWorkflow?
|
|
174
|
-
|
|
175
|
-
# / A request to signal the workflow was received.
|
|
176
|
-
#
|
|
177
|
-
def signal_workflow=: [M < ::Temporalio::Bridge::Api::WorkflowActivation::SignalWorkflow::_ToProto] (M?) -> M?
|
|
178
|
-
| ...
|
|
179
|
-
|
|
180
|
-
def signal_workflow!: () -> ::Temporalio::Bridge::Api::WorkflowActivation::SignalWorkflow?
|
|
181
|
-
|
|
182
|
-
# / An activity was resolved, result could be completed, failed or cancelled
|
|
183
|
-
#
|
|
184
|
-
attr_accessor resolve_activity(): ::Temporalio::Bridge::Api::WorkflowActivation::ResolveActivity?
|
|
185
|
-
|
|
186
|
-
# / An activity was resolved, result could be completed, failed or cancelled
|
|
187
|
-
#
|
|
188
|
-
def resolve_activity=: [M < ::Temporalio::Bridge::Api::WorkflowActivation::ResolveActivity::_ToProto] (M?) -> M?
|
|
189
|
-
| ...
|
|
190
|
-
|
|
191
|
-
def resolve_activity!: () -> ::Temporalio::Bridge::Api::WorkflowActivation::ResolveActivity?
|
|
192
|
-
|
|
193
|
-
# / A patch marker has been detected and lang is being told that change exists. This
|
|
194
|
-
# / job is strange in that it is sent pre-emptively to lang without any corresponding
|
|
195
|
-
# / command being sent first.
|
|
196
|
-
#
|
|
197
|
-
attr_accessor notify_has_patch(): ::Temporalio::Bridge::Api::WorkflowActivation::NotifyHasPatch?
|
|
198
|
-
|
|
199
|
-
# / A patch marker has been detected and lang is being told that change exists. This
|
|
200
|
-
# / job is strange in that it is sent pre-emptively to lang without any corresponding
|
|
201
|
-
# / command being sent first.
|
|
202
|
-
#
|
|
203
|
-
def notify_has_patch=: [M < ::Temporalio::Bridge::Api::WorkflowActivation::NotifyHasPatch::_ToProto] (M?) -> M?
|
|
204
|
-
| ...
|
|
205
|
-
|
|
206
|
-
def notify_has_patch!: () -> ::Temporalio::Bridge::Api::WorkflowActivation::NotifyHasPatch?
|
|
207
|
-
|
|
208
|
-
# / A child workflow execution has started or failed to start
|
|
209
|
-
#
|
|
210
|
-
attr_accessor resolve_child_workflow_execution_start(): ::Temporalio::Bridge::Api::WorkflowActivation::ResolveChildWorkflowExecutionStart?
|
|
211
|
-
|
|
212
|
-
# / A child workflow execution has started or failed to start
|
|
213
|
-
#
|
|
214
|
-
def resolve_child_workflow_execution_start=: [M < ::Temporalio::Bridge::Api::WorkflowActivation::ResolveChildWorkflowExecutionStart::_ToProto] (M?) -> M?
|
|
215
|
-
| ...
|
|
216
|
-
|
|
217
|
-
def resolve_child_workflow_execution_start!: () -> ::Temporalio::Bridge::Api::WorkflowActivation::ResolveChildWorkflowExecutionStart?
|
|
218
|
-
|
|
219
|
-
# / A child workflow was resolved, result could be completed or failed
|
|
220
|
-
#
|
|
221
|
-
attr_accessor resolve_child_workflow_execution(): ::Temporalio::Bridge::Api::WorkflowActivation::ResolveChildWorkflowExecution?
|
|
222
|
-
|
|
223
|
-
# / A child workflow was resolved, result could be completed or failed
|
|
224
|
-
#
|
|
225
|
-
def resolve_child_workflow_execution=: [M < ::Temporalio::Bridge::Api::WorkflowActivation::ResolveChildWorkflowExecution::_ToProto] (M?) -> M?
|
|
226
|
-
| ...
|
|
227
|
-
|
|
228
|
-
def resolve_child_workflow_execution!: () -> ::Temporalio::Bridge::Api::WorkflowActivation::ResolveChildWorkflowExecution?
|
|
229
|
-
|
|
230
|
-
# / An attempt to signal an external workflow resolved
|
|
231
|
-
#
|
|
232
|
-
attr_accessor resolve_signal_external_workflow(): ::Temporalio::Bridge::Api::WorkflowActivation::ResolveSignalExternalWorkflow?
|
|
233
|
-
|
|
234
|
-
# / An attempt to signal an external workflow resolved
|
|
235
|
-
#
|
|
236
|
-
def resolve_signal_external_workflow=: [M < ::Temporalio::Bridge::Api::WorkflowActivation::ResolveSignalExternalWorkflow::_ToProto] (M?) -> M?
|
|
237
|
-
| ...
|
|
238
|
-
|
|
239
|
-
def resolve_signal_external_workflow!: () -> ::Temporalio::Bridge::Api::WorkflowActivation::ResolveSignalExternalWorkflow?
|
|
240
|
-
|
|
241
|
-
# / An attempt to cancel an external workflow resolved
|
|
242
|
-
#
|
|
243
|
-
attr_accessor resolve_request_cancel_external_workflow(): ::Temporalio::Bridge::Api::WorkflowActivation::ResolveRequestCancelExternalWorkflow?
|
|
244
|
-
|
|
245
|
-
# / An attempt to cancel an external workflow resolved
|
|
246
|
-
#
|
|
247
|
-
def resolve_request_cancel_external_workflow=: [M < ::Temporalio::Bridge::Api::WorkflowActivation::ResolveRequestCancelExternalWorkflow::_ToProto] (M?) -> M?
|
|
248
|
-
| ...
|
|
249
|
-
|
|
250
|
-
def resolve_request_cancel_external_workflow!: () -> ::Temporalio::Bridge::Api::WorkflowActivation::ResolveRequestCancelExternalWorkflow?
|
|
251
|
-
|
|
252
|
-
# / Remove the workflow identified by the [WorkflowActivation] containing this job from the cache
|
|
253
|
-
# / after performing the activation.
|
|
254
|
-
# /
|
|
255
|
-
# / If other job variant are present in the list, this variant will be the last job in the
|
|
256
|
-
# / job list. The string value is a reason for eviction.
|
|
257
|
-
#
|
|
258
|
-
attr_accessor remove_from_cache(): ::Temporalio::Bridge::Api::WorkflowActivation::RemoveFromCache?
|
|
259
|
-
|
|
260
|
-
# / Remove the workflow identified by the [WorkflowActivation] containing this job from the cache
|
|
261
|
-
# / after performing the activation.
|
|
262
|
-
# /
|
|
263
|
-
# / If other job variant are present in the list, this variant will be the last job in the
|
|
264
|
-
# / job list. The string value is a reason for eviction.
|
|
265
|
-
#
|
|
266
|
-
def remove_from_cache=: [M < ::Temporalio::Bridge::Api::WorkflowActivation::RemoveFromCache::_ToProto] (M?) -> M?
|
|
267
|
-
| ...
|
|
268
|
-
|
|
269
|
-
def remove_from_cache!: () -> ::Temporalio::Bridge::Api::WorkflowActivation::RemoveFromCache?
|
|
270
|
-
|
|
271
|
-
def initialize: (?start_workflow: ::Temporalio::Bridge::Api::WorkflowActivation::StartWorkflow::init?, ?fire_timer: ::Temporalio::Bridge::Api::WorkflowActivation::FireTimer::init?, ?update_random_seed: ::Temporalio::Bridge::Api::WorkflowActivation::UpdateRandomSeed::init?, ?query_workflow: ::Temporalio::Bridge::Api::WorkflowActivation::QueryWorkflow::init?, ?cancel_workflow: ::Temporalio::Bridge::Api::WorkflowActivation::CancelWorkflow::init?, ?signal_workflow: ::Temporalio::Bridge::Api::WorkflowActivation::SignalWorkflow::init?, ?resolve_activity: ::Temporalio::Bridge::Api::WorkflowActivation::ResolveActivity::init?, ?notify_has_patch: ::Temporalio::Bridge::Api::WorkflowActivation::NotifyHasPatch::init?, ?resolve_child_workflow_execution_start: ::Temporalio::Bridge::Api::WorkflowActivation::ResolveChildWorkflowExecutionStart::init?, ?resolve_child_workflow_execution: ::Temporalio::Bridge::Api::WorkflowActivation::ResolveChildWorkflowExecution::init?, ?resolve_signal_external_workflow: ::Temporalio::Bridge::Api::WorkflowActivation::ResolveSignalExternalWorkflow::init?, ?resolve_request_cancel_external_workflow: ::Temporalio::Bridge::Api::WorkflowActivation::ResolveRequestCancelExternalWorkflow::init?, ?remove_from_cache: ::Temporalio::Bridge::Api::WorkflowActivation::RemoveFromCache::init?) -> void
|
|
272
|
-
|
|
273
|
-
def []: (:start_workflow) -> ::Temporalio::Bridge::Api::WorkflowActivation::StartWorkflow?
|
|
274
|
-
| (:fire_timer) -> ::Temporalio::Bridge::Api::WorkflowActivation::FireTimer?
|
|
275
|
-
| (:update_random_seed) -> ::Temporalio::Bridge::Api::WorkflowActivation::UpdateRandomSeed?
|
|
276
|
-
| (:query_workflow) -> ::Temporalio::Bridge::Api::WorkflowActivation::QueryWorkflow?
|
|
277
|
-
| (:cancel_workflow) -> ::Temporalio::Bridge::Api::WorkflowActivation::CancelWorkflow?
|
|
278
|
-
| (:signal_workflow) -> ::Temporalio::Bridge::Api::WorkflowActivation::SignalWorkflow?
|
|
279
|
-
| (:resolve_activity) -> ::Temporalio::Bridge::Api::WorkflowActivation::ResolveActivity?
|
|
280
|
-
| (:notify_has_patch) -> ::Temporalio::Bridge::Api::WorkflowActivation::NotifyHasPatch?
|
|
281
|
-
| (:resolve_child_workflow_execution_start) -> ::Temporalio::Bridge::Api::WorkflowActivation::ResolveChildWorkflowExecutionStart?
|
|
282
|
-
| (:resolve_child_workflow_execution) -> ::Temporalio::Bridge::Api::WorkflowActivation::ResolveChildWorkflowExecution?
|
|
283
|
-
| (:resolve_signal_external_workflow) -> ::Temporalio::Bridge::Api::WorkflowActivation::ResolveSignalExternalWorkflow?
|
|
284
|
-
| (:resolve_request_cancel_external_workflow) -> ::Temporalio::Bridge::Api::WorkflowActivation::ResolveRequestCancelExternalWorkflow?
|
|
285
|
-
| (:remove_from_cache) -> ::Temporalio::Bridge::Api::WorkflowActivation::RemoveFromCache?
|
|
286
|
-
| (::Symbol) -> untyped
|
|
287
|
-
|
|
288
|
-
def []=: (:start_workflow, ::Temporalio::Bridge::Api::WorkflowActivation::StartWorkflow?) -> ::Temporalio::Bridge::Api::WorkflowActivation::StartWorkflow?
|
|
289
|
-
| [M < ::Temporalio::Bridge::Api::WorkflowActivation::StartWorkflow::_ToProto] (:start_workflow, M?) -> M?
|
|
290
|
-
| (:fire_timer, ::Temporalio::Bridge::Api::WorkflowActivation::FireTimer?) -> ::Temporalio::Bridge::Api::WorkflowActivation::FireTimer?
|
|
291
|
-
| [M < ::Temporalio::Bridge::Api::WorkflowActivation::FireTimer::_ToProto] (:fire_timer, M?) -> M?
|
|
292
|
-
| (:update_random_seed, ::Temporalio::Bridge::Api::WorkflowActivation::UpdateRandomSeed?) -> ::Temporalio::Bridge::Api::WorkflowActivation::UpdateRandomSeed?
|
|
293
|
-
| [M < ::Temporalio::Bridge::Api::WorkflowActivation::UpdateRandomSeed::_ToProto] (:update_random_seed, M?) -> M?
|
|
294
|
-
| (:query_workflow, ::Temporalio::Bridge::Api::WorkflowActivation::QueryWorkflow?) -> ::Temporalio::Bridge::Api::WorkflowActivation::QueryWorkflow?
|
|
295
|
-
| [M < ::Temporalio::Bridge::Api::WorkflowActivation::QueryWorkflow::_ToProto] (:query_workflow, M?) -> M?
|
|
296
|
-
| (:cancel_workflow, ::Temporalio::Bridge::Api::WorkflowActivation::CancelWorkflow?) -> ::Temporalio::Bridge::Api::WorkflowActivation::CancelWorkflow?
|
|
297
|
-
| [M < ::Temporalio::Bridge::Api::WorkflowActivation::CancelWorkflow::_ToProto] (:cancel_workflow, M?) -> M?
|
|
298
|
-
| (:signal_workflow, ::Temporalio::Bridge::Api::WorkflowActivation::SignalWorkflow?) -> ::Temporalio::Bridge::Api::WorkflowActivation::SignalWorkflow?
|
|
299
|
-
| [M < ::Temporalio::Bridge::Api::WorkflowActivation::SignalWorkflow::_ToProto] (:signal_workflow, M?) -> M?
|
|
300
|
-
| (:resolve_activity, ::Temporalio::Bridge::Api::WorkflowActivation::ResolveActivity?) -> ::Temporalio::Bridge::Api::WorkflowActivation::ResolveActivity?
|
|
301
|
-
| [M < ::Temporalio::Bridge::Api::WorkflowActivation::ResolveActivity::_ToProto] (:resolve_activity, M?) -> M?
|
|
302
|
-
| (:notify_has_patch, ::Temporalio::Bridge::Api::WorkflowActivation::NotifyHasPatch?) -> ::Temporalio::Bridge::Api::WorkflowActivation::NotifyHasPatch?
|
|
303
|
-
| [M < ::Temporalio::Bridge::Api::WorkflowActivation::NotifyHasPatch::_ToProto] (:notify_has_patch, M?) -> M?
|
|
304
|
-
| (:resolve_child_workflow_execution_start, ::Temporalio::Bridge::Api::WorkflowActivation::ResolveChildWorkflowExecutionStart?) -> ::Temporalio::Bridge::Api::WorkflowActivation::ResolveChildWorkflowExecutionStart?
|
|
305
|
-
| [M < ::Temporalio::Bridge::Api::WorkflowActivation::ResolveChildWorkflowExecutionStart::_ToProto] (:resolve_child_workflow_execution_start, M?) -> M?
|
|
306
|
-
| (:resolve_child_workflow_execution, ::Temporalio::Bridge::Api::WorkflowActivation::ResolveChildWorkflowExecution?) -> ::Temporalio::Bridge::Api::WorkflowActivation::ResolveChildWorkflowExecution?
|
|
307
|
-
| [M < ::Temporalio::Bridge::Api::WorkflowActivation::ResolveChildWorkflowExecution::_ToProto] (:resolve_child_workflow_execution, M?) -> M?
|
|
308
|
-
| (:resolve_signal_external_workflow, ::Temporalio::Bridge::Api::WorkflowActivation::ResolveSignalExternalWorkflow?) -> ::Temporalio::Bridge::Api::WorkflowActivation::ResolveSignalExternalWorkflow?
|
|
309
|
-
| [M < ::Temporalio::Bridge::Api::WorkflowActivation::ResolveSignalExternalWorkflow::_ToProto] (:resolve_signal_external_workflow, M?) -> M?
|
|
310
|
-
| (:resolve_request_cancel_external_workflow, ::Temporalio::Bridge::Api::WorkflowActivation::ResolveRequestCancelExternalWorkflow?) -> ::Temporalio::Bridge::Api::WorkflowActivation::ResolveRequestCancelExternalWorkflow?
|
|
311
|
-
| [M < ::Temporalio::Bridge::Api::WorkflowActivation::ResolveRequestCancelExternalWorkflow::_ToProto] (:resolve_request_cancel_external_workflow, M?) -> M?
|
|
312
|
-
| (:remove_from_cache, ::Temporalio::Bridge::Api::WorkflowActivation::RemoveFromCache?) -> ::Temporalio::Bridge::Api::WorkflowActivation::RemoveFromCache?
|
|
313
|
-
| [M < ::Temporalio::Bridge::Api::WorkflowActivation::RemoveFromCache::_ToProto] (:remove_from_cache, M?) -> M?
|
|
314
|
-
| (::Symbol, untyped) -> untyped
|
|
315
|
-
|
|
316
|
-
interface _ToProto
|
|
317
|
-
def to_proto: () -> WorkflowActivationJob
|
|
318
|
-
end
|
|
319
|
-
|
|
320
|
-
# The type of `#initialize` parameter.
|
|
321
|
-
type init = WorkflowActivationJob | _ToProto
|
|
322
|
-
|
|
323
|
-
# The type of `repeated` field.
|
|
324
|
-
type field_array = ::Protobuf::Field::FieldArray[WorkflowActivationJob, WorkflowActivationJob | _ToProto]
|
|
325
|
-
|
|
326
|
-
# The type of `map` field.
|
|
327
|
-
type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, WorkflowActivationJob, WorkflowActivationJob | _ToProto]
|
|
328
|
-
|
|
329
|
-
type array = ::Array[WorkflowActivationJob | _ToProto]
|
|
330
|
-
|
|
331
|
-
type hash[KEY] = ::Hash[KEY, WorkflowActivationJob | _ToProto]
|
|
332
|
-
end
|
|
333
|
-
|
|
334
|
-
# Start a new workflow
|
|
335
|
-
#
|
|
336
|
-
class StartWorkflow < ::Protobuf::Message
|
|
337
|
-
# Encode the message to a binary string
|
|
338
|
-
#
|
|
339
|
-
def self.encode: (StartWorkflow) -> String
|
|
340
|
-
|
|
341
|
-
# The identifier the lang-specific sdk uses to execute workflow code
|
|
342
|
-
#
|
|
343
|
-
attr_accessor workflow_type(): ::String
|
|
344
|
-
|
|
345
|
-
def workflow_type!: () -> ::String?
|
|
346
|
-
|
|
347
|
-
# The workflow id used on the temporal server
|
|
348
|
-
#
|
|
349
|
-
attr_accessor workflow_id(): ::String
|
|
350
|
-
|
|
351
|
-
def workflow_id!: () -> ::String?
|
|
352
|
-
|
|
353
|
-
# Inputs to the workflow code
|
|
354
|
-
#
|
|
355
|
-
attr_accessor arguments(): ::Temporalio::Api::Common::V1::Payload::field_array
|
|
356
|
-
|
|
357
|
-
# Inputs to the workflow code
|
|
358
|
-
#
|
|
359
|
-
def arguments=: (::Temporalio::Api::Common::V1::Payload::array) -> ::Temporalio::Api::Common::V1::Payload::array
|
|
360
|
-
| ...
|
|
361
|
-
|
|
362
|
-
def arguments!: () -> ::Temporalio::Api::Common::V1::Payload::field_array?
|
|
363
|
-
|
|
364
|
-
# The seed must be used to initialize the random generator used by SDK.
|
|
365
|
-
# RandomSeedUpdatedAttributes are used to deliver seed updates.
|
|
366
|
-
#
|
|
367
|
-
attr_accessor randomness_seed(): ::Integer
|
|
368
|
-
|
|
369
|
-
def randomness_seed!: () -> ::Integer?
|
|
370
|
-
|
|
371
|
-
# Used to add metadata e.g. for tracing and auth, meant to be read and written to by interceptors.
|
|
372
|
-
#
|
|
373
|
-
attr_accessor headers(): ::Temporalio::Api::Common::V1::Payload::field_hash[::String]
|
|
374
|
-
|
|
375
|
-
# Used to add metadata e.g. for tracing and auth, meant to be read and written to by interceptors.
|
|
376
|
-
#
|
|
377
|
-
def headers=: (::Temporalio::Api::Common::V1::Payload::hash[::String]) -> ::Temporalio::Api::Common::V1::Payload::hash[::String]
|
|
378
|
-
| ...
|
|
379
|
-
|
|
380
|
-
def headers!: () -> ::Temporalio::Api::Common::V1::Payload::field_hash[::String]?
|
|
381
|
-
|
|
382
|
-
# Identity of the client who requested this execution
|
|
383
|
-
#
|
|
384
|
-
attr_accessor identity(): ::String
|
|
385
|
-
|
|
386
|
-
def identity!: () -> ::String?
|
|
387
|
-
|
|
388
|
-
# If this workflow is a child, information about the parent
|
|
389
|
-
#
|
|
390
|
-
attr_accessor parent_workflow_info(): ::Temporalio::Bridge::Api::Common::NamespacedWorkflowExecution?
|
|
391
|
-
|
|
392
|
-
# If this workflow is a child, information about the parent
|
|
393
|
-
#
|
|
394
|
-
def parent_workflow_info=: [M < ::Temporalio::Bridge::Api::Common::NamespacedWorkflowExecution::_ToProto] (M?) -> M?
|
|
395
|
-
| ...
|
|
396
|
-
|
|
397
|
-
def parent_workflow_info!: () -> ::Temporalio::Bridge::Api::Common::NamespacedWorkflowExecution?
|
|
398
|
-
|
|
399
|
-
# Total workflow execution timeout including retries and continue as new.
|
|
400
|
-
#
|
|
401
|
-
attr_accessor workflow_execution_timeout(): ::Google::Protobuf::Duration?
|
|
402
|
-
|
|
403
|
-
# Total workflow execution timeout including retries and continue as new.
|
|
404
|
-
#
|
|
405
|
-
def workflow_execution_timeout=: [M < ::Google::Protobuf::Duration::_ToProto] (M?) -> M?
|
|
406
|
-
| ...
|
|
407
|
-
|
|
408
|
-
def workflow_execution_timeout!: () -> ::Google::Protobuf::Duration?
|
|
409
|
-
|
|
410
|
-
# Timeout of a single workflow run.
|
|
411
|
-
#
|
|
412
|
-
attr_accessor workflow_run_timeout(): ::Google::Protobuf::Duration?
|
|
413
|
-
|
|
414
|
-
# Timeout of a single workflow run.
|
|
415
|
-
#
|
|
416
|
-
def workflow_run_timeout=: [M < ::Google::Protobuf::Duration::_ToProto] (M?) -> M?
|
|
417
|
-
| ...
|
|
418
|
-
|
|
419
|
-
def workflow_run_timeout!: () -> ::Google::Protobuf::Duration?
|
|
420
|
-
|
|
421
|
-
# Timeout of a single workflow task.
|
|
422
|
-
#
|
|
423
|
-
attr_accessor workflow_task_timeout(): ::Google::Protobuf::Duration?
|
|
424
|
-
|
|
425
|
-
# Timeout of a single workflow task.
|
|
426
|
-
#
|
|
427
|
-
def workflow_task_timeout=: [M < ::Google::Protobuf::Duration::_ToProto] (M?) -> M?
|
|
428
|
-
| ...
|
|
429
|
-
|
|
430
|
-
def workflow_task_timeout!: () -> ::Google::Protobuf::Duration?
|
|
431
|
-
|
|
432
|
-
# Run id of the previous workflow which continued-as-new or retired or cron executed into this
|
|
433
|
-
# workflow, if any.
|
|
434
|
-
#
|
|
435
|
-
attr_accessor continued_from_execution_run_id(): ::String
|
|
436
|
-
|
|
437
|
-
def continued_from_execution_run_id!: () -> ::String?
|
|
438
|
-
|
|
439
|
-
# If this workflow was a continuation, indicates the type of continuation.
|
|
440
|
-
#
|
|
441
|
-
attr_accessor continued_initiator(): ::Temporalio::Api::Enums::V1::ContinueAsNewInitiator
|
|
442
|
-
|
|
443
|
-
# If this workflow was a continuation, indicates the type of continuation.
|
|
444
|
-
#
|
|
445
|
-
def continued_initiator=: (::Temporalio::Api::Enums::V1::ContinueAsNewInitiator::values) -> ::Temporalio::Api::Enums::V1::ContinueAsNewInitiator::values
|
|
446
|
-
| ...
|
|
447
|
-
|
|
448
|
-
def continued_initiator!: () -> ::Temporalio::Api::Enums::V1::ContinueAsNewInitiator?
|
|
449
|
-
|
|
450
|
-
# If this workflow was a continuation and that continuation failed, the details of that.
|
|
451
|
-
#
|
|
452
|
-
attr_accessor continued_failure(): ::Temporalio::Api::Failure::V1::Failure?
|
|
453
|
-
|
|
454
|
-
# If this workflow was a continuation and that continuation failed, the details of that.
|
|
455
|
-
#
|
|
456
|
-
def continued_failure=: [M < ::Temporalio::Api::Failure::V1::Failure::_ToProto] (M?) -> M?
|
|
457
|
-
| ...
|
|
458
|
-
|
|
459
|
-
def continued_failure!: () -> ::Temporalio::Api::Failure::V1::Failure?
|
|
460
|
-
|
|
461
|
-
# If this workflow was a continuation and that continuation completed, the details of that.
|
|
462
|
-
#
|
|
463
|
-
attr_accessor last_completion_result(): ::Temporalio::Api::Common::V1::Payloads?
|
|
464
|
-
|
|
465
|
-
# If this workflow was a continuation and that continuation completed, the details of that.
|
|
466
|
-
#
|
|
467
|
-
def last_completion_result=: [M < ::Temporalio::Api::Common::V1::Payloads::_ToProto] (M?) -> M?
|
|
468
|
-
| ...
|
|
469
|
-
|
|
470
|
-
def last_completion_result!: () -> ::Temporalio::Api::Common::V1::Payloads?
|
|
471
|
-
|
|
472
|
-
# This is the very first run id the workflow ever had, following continuation chains.
|
|
473
|
-
#
|
|
474
|
-
attr_accessor first_execution_run_id(): ::String
|
|
475
|
-
|
|
476
|
-
def first_execution_run_id!: () -> ::String?
|
|
477
|
-
|
|
478
|
-
# This workflow's retry policy
|
|
479
|
-
#
|
|
480
|
-
attr_accessor retry_policy(): ::Temporalio::Api::Common::V1::RetryPolicy?
|
|
481
|
-
|
|
482
|
-
# This workflow's retry policy
|
|
483
|
-
#
|
|
484
|
-
def retry_policy=: [M < ::Temporalio::Api::Common::V1::RetryPolicy::_ToProto] (M?) -> M?
|
|
485
|
-
| ...
|
|
486
|
-
|
|
487
|
-
def retry_policy!: () -> ::Temporalio::Api::Common::V1::RetryPolicy?
|
|
488
|
-
|
|
489
|
-
# Starting at 1, the number of times we have tried to execute this workflow
|
|
490
|
-
#
|
|
491
|
-
attr_accessor attempt(): ::Integer
|
|
492
|
-
|
|
493
|
-
def attempt!: () -> ::Integer?
|
|
494
|
-
|
|
495
|
-
# If this workflow runs on a cron schedule, it will appear here
|
|
496
|
-
#
|
|
497
|
-
attr_accessor cron_schedule(): ::String
|
|
498
|
-
|
|
499
|
-
def cron_schedule!: () -> ::String?
|
|
500
|
-
|
|
501
|
-
# The absolute time at which the workflow will be timed out.
|
|
502
|
-
# This is passed without change to the next run/retry of a workflow.
|
|
503
|
-
#
|
|
504
|
-
attr_accessor workflow_execution_expiration_time(): ::Google::Protobuf::Timestamp?
|
|
505
|
-
|
|
506
|
-
# The absolute time at which the workflow will be timed out.
|
|
507
|
-
# This is passed without change to the next run/retry of a workflow.
|
|
508
|
-
#
|
|
509
|
-
def workflow_execution_expiration_time=: [M < ::Google::Protobuf::Timestamp::_ToProto] (M?) -> M?
|
|
510
|
-
| ...
|
|
511
|
-
|
|
512
|
-
def workflow_execution_expiration_time!: () -> ::Google::Protobuf::Timestamp?
|
|
513
|
-
|
|
514
|
-
# For a cron workflow, this contains the amount of time between when this iteration of
|
|
515
|
-
# the cron workflow was scheduled and when it should run next per its cron_schedule.
|
|
516
|
-
#
|
|
517
|
-
attr_accessor cron_schedule_to_schedule_interval(): ::Google::Protobuf::Duration?
|
|
518
|
-
|
|
519
|
-
# For a cron workflow, this contains the amount of time between when this iteration of
|
|
520
|
-
# the cron workflow was scheduled and when it should run next per its cron_schedule.
|
|
521
|
-
#
|
|
522
|
-
def cron_schedule_to_schedule_interval=: [M < ::Google::Protobuf::Duration::_ToProto] (M?) -> M?
|
|
523
|
-
| ...
|
|
524
|
-
|
|
525
|
-
def cron_schedule_to_schedule_interval!: () -> ::Google::Protobuf::Duration?
|
|
526
|
-
|
|
527
|
-
# User-defined memo
|
|
528
|
-
#
|
|
529
|
-
attr_accessor memo(): ::Temporalio::Api::Common::V1::Memo?
|
|
530
|
-
|
|
531
|
-
# User-defined memo
|
|
532
|
-
#
|
|
533
|
-
def memo=: [M < ::Temporalio::Api::Common::V1::Memo::_ToProto] (M?) -> M?
|
|
534
|
-
| ...
|
|
535
|
-
|
|
536
|
-
def memo!: () -> ::Temporalio::Api::Common::V1::Memo?
|
|
537
|
-
|
|
538
|
-
# Search attributes created/updated when this workflow was started
|
|
539
|
-
#
|
|
540
|
-
attr_accessor search_attributes(): ::Temporalio::Api::Common::V1::SearchAttributes?
|
|
541
|
-
|
|
542
|
-
# Search attributes created/updated when this workflow was started
|
|
543
|
-
#
|
|
544
|
-
def search_attributes=: [M < ::Temporalio::Api::Common::V1::SearchAttributes::_ToProto] (M?) -> M?
|
|
545
|
-
| ...
|
|
546
|
-
|
|
547
|
-
def search_attributes!: () -> ::Temporalio::Api::Common::V1::SearchAttributes?
|
|
548
|
-
|
|
549
|
-
# When the workflow execution started event was first written
|
|
550
|
-
#
|
|
551
|
-
attr_accessor start_time(): ::Google::Protobuf::Timestamp?
|
|
552
|
-
|
|
553
|
-
# When the workflow execution started event was first written
|
|
554
|
-
#
|
|
555
|
-
def start_time=: [M < ::Google::Protobuf::Timestamp::_ToProto] (M?) -> M?
|
|
556
|
-
| ...
|
|
557
|
-
|
|
558
|
-
def start_time!: () -> ::Google::Protobuf::Timestamp?
|
|
559
|
-
|
|
560
|
-
def initialize: (?workflow_type: ::String, ?workflow_id: ::String, ?arguments: ::Temporalio::Api::Common::V1::Payload::array, ?randomness_seed: ::Integer, ?headers: ::Temporalio::Api::Common::V1::Payload::hash[::String], ?identity: ::String, ?parent_workflow_info: ::Temporalio::Bridge::Api::Common::NamespacedWorkflowExecution::init?, ?workflow_execution_timeout: ::Google::Protobuf::Duration::init?, ?workflow_run_timeout: ::Google::Protobuf::Duration::init?, ?workflow_task_timeout: ::Google::Protobuf::Duration::init?, ?continued_from_execution_run_id: ::String, ?continued_initiator: ::Temporalio::Api::Enums::V1::ContinueAsNewInitiator::init, ?continued_failure: ::Temporalio::Api::Failure::V1::Failure::init?, ?last_completion_result: ::Temporalio::Api::Common::V1::Payloads::init?, ?first_execution_run_id: ::String, ?retry_policy: ::Temporalio::Api::Common::V1::RetryPolicy::init?, ?attempt: ::Integer, ?cron_schedule: ::String, ?workflow_execution_expiration_time: ::Google::Protobuf::Timestamp::init?, ?cron_schedule_to_schedule_interval: ::Google::Protobuf::Duration::init?, ?memo: ::Temporalio::Api::Common::V1::Memo::init?, ?search_attributes: ::Temporalio::Api::Common::V1::SearchAttributes::init?, ?start_time: ::Google::Protobuf::Timestamp::init?) -> void
|
|
561
|
-
|
|
562
|
-
def []: (:workflow_type) -> ::String
|
|
563
|
-
| (:workflow_id) -> ::String
|
|
564
|
-
| (:arguments) -> ::Temporalio::Api::Common::V1::Payload::field_array
|
|
565
|
-
| (:randomness_seed) -> ::Integer
|
|
566
|
-
| (:headers) -> ::Temporalio::Api::Common::V1::Payload::field_hash[::String]
|
|
567
|
-
| (:identity) -> ::String
|
|
568
|
-
| (:parent_workflow_info) -> ::Temporalio::Bridge::Api::Common::NamespacedWorkflowExecution?
|
|
569
|
-
| (:workflow_execution_timeout) -> ::Google::Protobuf::Duration?
|
|
570
|
-
| (:workflow_run_timeout) -> ::Google::Protobuf::Duration?
|
|
571
|
-
| (:workflow_task_timeout) -> ::Google::Protobuf::Duration?
|
|
572
|
-
| (:continued_from_execution_run_id) -> ::String
|
|
573
|
-
| (:continued_initiator) -> ::Temporalio::Api::Enums::V1::ContinueAsNewInitiator
|
|
574
|
-
| (:continued_failure) -> ::Temporalio::Api::Failure::V1::Failure?
|
|
575
|
-
| (:last_completion_result) -> ::Temporalio::Api::Common::V1::Payloads?
|
|
576
|
-
| (:first_execution_run_id) -> ::String
|
|
577
|
-
| (:retry_policy) -> ::Temporalio::Api::Common::V1::RetryPolicy?
|
|
578
|
-
| (:attempt) -> ::Integer
|
|
579
|
-
| (:cron_schedule) -> ::String
|
|
580
|
-
| (:workflow_execution_expiration_time) -> ::Google::Protobuf::Timestamp?
|
|
581
|
-
| (:cron_schedule_to_schedule_interval) -> ::Google::Protobuf::Duration?
|
|
582
|
-
| (:memo) -> ::Temporalio::Api::Common::V1::Memo?
|
|
583
|
-
| (:search_attributes) -> ::Temporalio::Api::Common::V1::SearchAttributes?
|
|
584
|
-
| (:start_time) -> ::Google::Protobuf::Timestamp?
|
|
585
|
-
| (::Symbol) -> untyped
|
|
586
|
-
|
|
587
|
-
def []=: (:workflow_type, ::String) -> ::String
|
|
588
|
-
| (:workflow_id, ::String) -> ::String
|
|
589
|
-
| (:arguments, ::Temporalio::Api::Common::V1::Payload::field_array) -> ::Temporalio::Api::Common::V1::Payload::field_array
|
|
590
|
-
| (:arguments, ::Temporalio::Api::Common::V1::Payload::array) -> ::Temporalio::Api::Common::V1::Payload::array
|
|
591
|
-
| (:randomness_seed, ::Integer) -> ::Integer
|
|
592
|
-
| (:headers, ::Temporalio::Api::Common::V1::Payload::field_hash[::String]) -> ::Temporalio::Api::Common::V1::Payload::field_hash[::String]
|
|
593
|
-
| (:headers, ::Temporalio::Api::Common::V1::Payload::hash[::String]) -> ::Temporalio::Api::Common::V1::Payload::hash[::String]
|
|
594
|
-
| (:identity, ::String) -> ::String
|
|
595
|
-
| (:parent_workflow_info, ::Temporalio::Bridge::Api::Common::NamespacedWorkflowExecution?) -> ::Temporalio::Bridge::Api::Common::NamespacedWorkflowExecution?
|
|
596
|
-
| [M < ::Temporalio::Bridge::Api::Common::NamespacedWorkflowExecution::_ToProto] (:parent_workflow_info, M?) -> M?
|
|
597
|
-
| (:workflow_execution_timeout, ::Google::Protobuf::Duration?) -> ::Google::Protobuf::Duration?
|
|
598
|
-
| [M < ::Google::Protobuf::Duration::_ToProto] (:workflow_execution_timeout, M?) -> M?
|
|
599
|
-
| (:workflow_run_timeout, ::Google::Protobuf::Duration?) -> ::Google::Protobuf::Duration?
|
|
600
|
-
| [M < ::Google::Protobuf::Duration::_ToProto] (:workflow_run_timeout, M?) -> M?
|
|
601
|
-
| (:workflow_task_timeout, ::Google::Protobuf::Duration?) -> ::Google::Protobuf::Duration?
|
|
602
|
-
| [M < ::Google::Protobuf::Duration::_ToProto] (:workflow_task_timeout, M?) -> M?
|
|
603
|
-
| (:continued_from_execution_run_id, ::String) -> ::String
|
|
604
|
-
| (:continued_initiator, ::Temporalio::Api::Enums::V1::ContinueAsNewInitiator) -> ::Temporalio::Api::Enums::V1::ContinueAsNewInitiator
|
|
605
|
-
| (:continued_initiator, ::Temporalio::Api::Enums::V1::ContinueAsNewInitiator::values) -> ::Temporalio::Api::Enums::V1::ContinueAsNewInitiator::values
|
|
606
|
-
| (:continued_failure, ::Temporalio::Api::Failure::V1::Failure?) -> ::Temporalio::Api::Failure::V1::Failure?
|
|
607
|
-
| [M < ::Temporalio::Api::Failure::V1::Failure::_ToProto] (:continued_failure, M?) -> M?
|
|
608
|
-
| (:last_completion_result, ::Temporalio::Api::Common::V1::Payloads?) -> ::Temporalio::Api::Common::V1::Payloads?
|
|
609
|
-
| [M < ::Temporalio::Api::Common::V1::Payloads::_ToProto] (:last_completion_result, M?) -> M?
|
|
610
|
-
| (:first_execution_run_id, ::String) -> ::String
|
|
611
|
-
| (:retry_policy, ::Temporalio::Api::Common::V1::RetryPolicy?) -> ::Temporalio::Api::Common::V1::RetryPolicy?
|
|
612
|
-
| [M < ::Temporalio::Api::Common::V1::RetryPolicy::_ToProto] (:retry_policy, M?) -> M?
|
|
613
|
-
| (:attempt, ::Integer) -> ::Integer
|
|
614
|
-
| (:cron_schedule, ::String) -> ::String
|
|
615
|
-
| (:workflow_execution_expiration_time, ::Google::Protobuf::Timestamp?) -> ::Google::Protobuf::Timestamp?
|
|
616
|
-
| [M < ::Google::Protobuf::Timestamp::_ToProto] (:workflow_execution_expiration_time, M?) -> M?
|
|
617
|
-
| (:cron_schedule_to_schedule_interval, ::Google::Protobuf::Duration?) -> ::Google::Protobuf::Duration?
|
|
618
|
-
| [M < ::Google::Protobuf::Duration::_ToProto] (:cron_schedule_to_schedule_interval, M?) -> M?
|
|
619
|
-
| (:memo, ::Temporalio::Api::Common::V1::Memo?) -> ::Temporalio::Api::Common::V1::Memo?
|
|
620
|
-
| [M < ::Temporalio::Api::Common::V1::Memo::_ToProto] (:memo, M?) -> M?
|
|
621
|
-
| (:search_attributes, ::Temporalio::Api::Common::V1::SearchAttributes?) -> ::Temporalio::Api::Common::V1::SearchAttributes?
|
|
622
|
-
| [M < ::Temporalio::Api::Common::V1::SearchAttributes::_ToProto] (:search_attributes, M?) -> M?
|
|
623
|
-
| (:start_time, ::Google::Protobuf::Timestamp?) -> ::Google::Protobuf::Timestamp?
|
|
624
|
-
| [M < ::Google::Protobuf::Timestamp::_ToProto] (:start_time, M?) -> M?
|
|
625
|
-
| (::Symbol, untyped) -> untyped
|
|
626
|
-
|
|
627
|
-
interface _ToProto
|
|
628
|
-
def to_proto: () -> StartWorkflow
|
|
629
|
-
end
|
|
630
|
-
|
|
631
|
-
# The type of `#initialize` parameter.
|
|
632
|
-
type init = StartWorkflow | _ToProto
|
|
633
|
-
|
|
634
|
-
# The type of `repeated` field.
|
|
635
|
-
type field_array = ::Protobuf::Field::FieldArray[StartWorkflow, StartWorkflow | _ToProto]
|
|
636
|
-
|
|
637
|
-
# The type of `map` field.
|
|
638
|
-
type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, StartWorkflow, StartWorkflow | _ToProto]
|
|
639
|
-
|
|
640
|
-
type array = ::Array[StartWorkflow | _ToProto]
|
|
641
|
-
|
|
642
|
-
type hash[KEY] = ::Hash[KEY, StartWorkflow | _ToProto]
|
|
643
|
-
end
|
|
644
|
-
|
|
645
|
-
# / Notify a workflow that a timer has fired
|
|
646
|
-
#
|
|
647
|
-
class FireTimer < ::Protobuf::Message
|
|
648
|
-
# Encode the message to a binary string
|
|
649
|
-
#
|
|
650
|
-
def self.encode: (FireTimer) -> String
|
|
651
|
-
|
|
652
|
-
# / Sequence number as provided by lang in the corresponding StartTimer command
|
|
653
|
-
#
|
|
654
|
-
attr_accessor seq(): ::Integer
|
|
655
|
-
|
|
656
|
-
def seq!: () -> ::Integer?
|
|
657
|
-
|
|
658
|
-
def initialize: (?seq: ::Integer) -> void
|
|
659
|
-
|
|
660
|
-
def []: (:seq) -> ::Integer
|
|
661
|
-
| (::Symbol) -> untyped
|
|
662
|
-
|
|
663
|
-
def []=: (:seq, ::Integer) -> ::Integer
|
|
664
|
-
| (::Symbol, untyped) -> untyped
|
|
665
|
-
|
|
666
|
-
interface _ToProto
|
|
667
|
-
def to_proto: () -> FireTimer
|
|
668
|
-
end
|
|
669
|
-
|
|
670
|
-
# The type of `#initialize` parameter.
|
|
671
|
-
type init = FireTimer | _ToProto
|
|
672
|
-
|
|
673
|
-
# The type of `repeated` field.
|
|
674
|
-
type field_array = ::Protobuf::Field::FieldArray[FireTimer, FireTimer | _ToProto]
|
|
675
|
-
|
|
676
|
-
# The type of `map` field.
|
|
677
|
-
type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, FireTimer, FireTimer | _ToProto]
|
|
678
|
-
|
|
679
|
-
type array = ::Array[FireTimer | _ToProto]
|
|
680
|
-
|
|
681
|
-
type hash[KEY] = ::Hash[KEY, FireTimer | _ToProto]
|
|
682
|
-
end
|
|
683
|
-
|
|
684
|
-
# / Notify a workflow that an activity has been resolved
|
|
685
|
-
#
|
|
686
|
-
class ResolveActivity < ::Protobuf::Message
|
|
687
|
-
# Encode the message to a binary string
|
|
688
|
-
#
|
|
689
|
-
def self.encode: (ResolveActivity) -> String
|
|
690
|
-
|
|
691
|
-
# / Sequence number as provided by lang in the corresponding ScheduleActivity command
|
|
692
|
-
#
|
|
693
|
-
attr_accessor seq(): ::Integer
|
|
694
|
-
|
|
695
|
-
def seq!: () -> ::Integer?
|
|
696
|
-
|
|
697
|
-
attr_accessor result(): ::Temporalio::Bridge::Api::ActivityResult::ActivityResolution?
|
|
698
|
-
|
|
699
|
-
def result=: [M < ::Temporalio::Bridge::Api::ActivityResult::ActivityResolution::_ToProto] (M?) -> M?
|
|
700
|
-
| ...
|
|
701
|
-
|
|
702
|
-
def result!: () -> ::Temporalio::Bridge::Api::ActivityResult::ActivityResolution?
|
|
703
|
-
|
|
704
|
-
def initialize: (?seq: ::Integer, ?result: ::Temporalio::Bridge::Api::ActivityResult::ActivityResolution::init?) -> void
|
|
705
|
-
|
|
706
|
-
def []: (:seq) -> ::Integer
|
|
707
|
-
| (:result) -> ::Temporalio::Bridge::Api::ActivityResult::ActivityResolution?
|
|
708
|
-
| (::Symbol) -> untyped
|
|
709
|
-
|
|
710
|
-
def []=: (:seq, ::Integer) -> ::Integer
|
|
711
|
-
| (:result, ::Temporalio::Bridge::Api::ActivityResult::ActivityResolution?) -> ::Temporalio::Bridge::Api::ActivityResult::ActivityResolution?
|
|
712
|
-
| [M < ::Temporalio::Bridge::Api::ActivityResult::ActivityResolution::_ToProto] (:result, M?) -> M?
|
|
713
|
-
| (::Symbol, untyped) -> untyped
|
|
714
|
-
|
|
715
|
-
interface _ToProto
|
|
716
|
-
def to_proto: () -> ResolveActivity
|
|
717
|
-
end
|
|
718
|
-
|
|
719
|
-
# The type of `#initialize` parameter.
|
|
720
|
-
type init = ResolveActivity | _ToProto
|
|
721
|
-
|
|
722
|
-
# The type of `repeated` field.
|
|
723
|
-
type field_array = ::Protobuf::Field::FieldArray[ResolveActivity, ResolveActivity | _ToProto]
|
|
724
|
-
|
|
725
|
-
# The type of `map` field.
|
|
726
|
-
type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, ResolveActivity, ResolveActivity | _ToProto]
|
|
727
|
-
|
|
728
|
-
type array = ::Array[ResolveActivity | _ToProto]
|
|
729
|
-
|
|
730
|
-
type hash[KEY] = ::Hash[KEY, ResolveActivity | _ToProto]
|
|
731
|
-
end
|
|
732
|
-
|
|
733
|
-
# / Notify a workflow that a start child workflow execution request has succeeded, failed or was
|
|
734
|
-
# / cancelled.
|
|
735
|
-
#
|
|
736
|
-
class ResolveChildWorkflowExecutionStart < ::Protobuf::Message
|
|
737
|
-
# Encode the message to a binary string
|
|
738
|
-
#
|
|
739
|
-
def self.encode: (ResolveChildWorkflowExecutionStart) -> String
|
|
740
|
-
|
|
741
|
-
# / Sequence number as provided by lang in the corresponding StartChildWorkflowExecution command
|
|
742
|
-
#
|
|
743
|
-
attr_accessor seq(): ::Integer
|
|
744
|
-
|
|
745
|
-
def seq!: () -> ::Integer?
|
|
746
|
-
|
|
747
|
-
attr_accessor succeeded(): ::Temporalio::Bridge::Api::WorkflowActivation::ResolveChildWorkflowExecutionStartSuccess?
|
|
748
|
-
|
|
749
|
-
def succeeded=: [M < ::Temporalio::Bridge::Api::WorkflowActivation::ResolveChildWorkflowExecutionStartSuccess::_ToProto] (M?) -> M?
|
|
750
|
-
| ...
|
|
751
|
-
|
|
752
|
-
def succeeded!: () -> ::Temporalio::Bridge::Api::WorkflowActivation::ResolveChildWorkflowExecutionStartSuccess?
|
|
753
|
-
|
|
754
|
-
attr_accessor failed(): ::Temporalio::Bridge::Api::WorkflowActivation::ResolveChildWorkflowExecutionStartFailure?
|
|
755
|
-
|
|
756
|
-
def failed=: [M < ::Temporalio::Bridge::Api::WorkflowActivation::ResolveChildWorkflowExecutionStartFailure::_ToProto] (M?) -> M?
|
|
757
|
-
| ...
|
|
758
|
-
|
|
759
|
-
def failed!: () -> ::Temporalio::Bridge::Api::WorkflowActivation::ResolveChildWorkflowExecutionStartFailure?
|
|
760
|
-
|
|
761
|
-
attr_accessor cancelled(): ::Temporalio::Bridge::Api::WorkflowActivation::ResolveChildWorkflowExecutionStartCancelled?
|
|
762
|
-
|
|
763
|
-
def cancelled=: [M < ::Temporalio::Bridge::Api::WorkflowActivation::ResolveChildWorkflowExecutionStartCancelled::_ToProto] (M?) -> M?
|
|
764
|
-
| ...
|
|
765
|
-
|
|
766
|
-
def cancelled!: () -> ::Temporalio::Bridge::Api::WorkflowActivation::ResolveChildWorkflowExecutionStartCancelled?
|
|
767
|
-
|
|
768
|
-
def initialize: (?seq: ::Integer, ?succeeded: ::Temporalio::Bridge::Api::WorkflowActivation::ResolveChildWorkflowExecutionStartSuccess::init?, ?failed: ::Temporalio::Bridge::Api::WorkflowActivation::ResolveChildWorkflowExecutionStartFailure::init?, ?cancelled: ::Temporalio::Bridge::Api::WorkflowActivation::ResolveChildWorkflowExecutionStartCancelled::init?) -> void
|
|
769
|
-
|
|
770
|
-
def []: (:seq) -> ::Integer
|
|
771
|
-
| (:succeeded) -> ::Temporalio::Bridge::Api::WorkflowActivation::ResolveChildWorkflowExecutionStartSuccess?
|
|
772
|
-
| (:failed) -> ::Temporalio::Bridge::Api::WorkflowActivation::ResolveChildWorkflowExecutionStartFailure?
|
|
773
|
-
| (:cancelled) -> ::Temporalio::Bridge::Api::WorkflowActivation::ResolveChildWorkflowExecutionStartCancelled?
|
|
774
|
-
| (::Symbol) -> untyped
|
|
775
|
-
|
|
776
|
-
def []=: (:seq, ::Integer) -> ::Integer
|
|
777
|
-
| (:succeeded, ::Temporalio::Bridge::Api::WorkflowActivation::ResolveChildWorkflowExecutionStartSuccess?) -> ::Temporalio::Bridge::Api::WorkflowActivation::ResolveChildWorkflowExecutionStartSuccess?
|
|
778
|
-
| [M < ::Temporalio::Bridge::Api::WorkflowActivation::ResolveChildWorkflowExecutionStartSuccess::_ToProto] (:succeeded, M?) -> M?
|
|
779
|
-
| (:failed, ::Temporalio::Bridge::Api::WorkflowActivation::ResolveChildWorkflowExecutionStartFailure?) -> ::Temporalio::Bridge::Api::WorkflowActivation::ResolveChildWorkflowExecutionStartFailure?
|
|
780
|
-
| [M < ::Temporalio::Bridge::Api::WorkflowActivation::ResolveChildWorkflowExecutionStartFailure::_ToProto] (:failed, M?) -> M?
|
|
781
|
-
| (:cancelled, ::Temporalio::Bridge::Api::WorkflowActivation::ResolveChildWorkflowExecutionStartCancelled?) -> ::Temporalio::Bridge::Api::WorkflowActivation::ResolveChildWorkflowExecutionStartCancelled?
|
|
782
|
-
| [M < ::Temporalio::Bridge::Api::WorkflowActivation::ResolveChildWorkflowExecutionStartCancelled::_ToProto] (:cancelled, M?) -> M?
|
|
783
|
-
| (::Symbol, untyped) -> untyped
|
|
784
|
-
|
|
785
|
-
interface _ToProto
|
|
786
|
-
def to_proto: () -> ResolveChildWorkflowExecutionStart
|
|
787
|
-
end
|
|
788
|
-
|
|
789
|
-
# The type of `#initialize` parameter.
|
|
790
|
-
type init = ResolveChildWorkflowExecutionStart | _ToProto
|
|
791
|
-
|
|
792
|
-
# The type of `repeated` field.
|
|
793
|
-
type field_array = ::Protobuf::Field::FieldArray[ResolveChildWorkflowExecutionStart, ResolveChildWorkflowExecutionStart | _ToProto]
|
|
794
|
-
|
|
795
|
-
# The type of `map` field.
|
|
796
|
-
type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, ResolveChildWorkflowExecutionStart, ResolveChildWorkflowExecutionStart | _ToProto]
|
|
797
|
-
|
|
798
|
-
type array = ::Array[ResolveChildWorkflowExecutionStart | _ToProto]
|
|
799
|
-
|
|
800
|
-
type hash[KEY] = ::Hash[KEY, ResolveChildWorkflowExecutionStart | _ToProto]
|
|
801
|
-
end
|
|
802
|
-
|
|
803
|
-
# / Simply pass the run_id to lang
|
|
804
|
-
#
|
|
805
|
-
class ResolveChildWorkflowExecutionStartSuccess < ::Protobuf::Message
|
|
806
|
-
# Encode the message to a binary string
|
|
807
|
-
#
|
|
808
|
-
def self.encode: (ResolveChildWorkflowExecutionStartSuccess) -> String
|
|
809
|
-
|
|
810
|
-
attr_accessor run_id(): ::String
|
|
811
|
-
|
|
812
|
-
def run_id!: () -> ::String?
|
|
813
|
-
|
|
814
|
-
def initialize: (?run_id: ::String) -> void
|
|
815
|
-
|
|
816
|
-
def []: (:run_id) -> ::String
|
|
817
|
-
| (::Symbol) -> untyped
|
|
818
|
-
|
|
819
|
-
def []=: (:run_id, ::String) -> ::String
|
|
820
|
-
| (::Symbol, untyped) -> untyped
|
|
821
|
-
|
|
822
|
-
interface _ToProto
|
|
823
|
-
def to_proto: () -> ResolveChildWorkflowExecutionStartSuccess
|
|
824
|
-
end
|
|
825
|
-
|
|
826
|
-
# The type of `#initialize` parameter.
|
|
827
|
-
type init = ResolveChildWorkflowExecutionStartSuccess | _ToProto
|
|
828
|
-
|
|
829
|
-
# The type of `repeated` field.
|
|
830
|
-
type field_array = ::Protobuf::Field::FieldArray[ResolveChildWorkflowExecutionStartSuccess, ResolveChildWorkflowExecutionStartSuccess | _ToProto]
|
|
831
|
-
|
|
832
|
-
# The type of `map` field.
|
|
833
|
-
type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, ResolveChildWorkflowExecutionStartSuccess, ResolveChildWorkflowExecutionStartSuccess | _ToProto]
|
|
834
|
-
|
|
835
|
-
type array = ::Array[ResolveChildWorkflowExecutionStartSuccess | _ToProto]
|
|
836
|
-
|
|
837
|
-
type hash[KEY] = ::Hash[KEY, ResolveChildWorkflowExecutionStartSuccess | _ToProto]
|
|
838
|
-
end
|
|
839
|
-
|
|
840
|
-
# / Provide lang the cause of failure
|
|
841
|
-
#
|
|
842
|
-
class ResolveChildWorkflowExecutionStartFailure < ::Protobuf::Message
|
|
843
|
-
# Encode the message to a binary string
|
|
844
|
-
#
|
|
845
|
-
def self.encode: (ResolveChildWorkflowExecutionStartFailure) -> String
|
|
846
|
-
|
|
847
|
-
# / Lang should have this information but it's more convenient to pass it back
|
|
848
|
-
# / for error construction on the lang side.
|
|
849
|
-
#
|
|
850
|
-
attr_accessor workflow_id(): ::String
|
|
851
|
-
|
|
852
|
-
def workflow_id!: () -> ::String?
|
|
853
|
-
|
|
854
|
-
attr_accessor workflow_type(): ::String
|
|
855
|
-
|
|
856
|
-
def workflow_type!: () -> ::String?
|
|
857
|
-
|
|
858
|
-
attr_accessor cause(): ::Temporalio::Bridge::Api::ChildWorkflow::StartChildWorkflowExecutionFailedCause
|
|
859
|
-
|
|
860
|
-
def cause=: (::Temporalio::Bridge::Api::ChildWorkflow::StartChildWorkflowExecutionFailedCause::values) -> ::Temporalio::Bridge::Api::ChildWorkflow::StartChildWorkflowExecutionFailedCause::values
|
|
861
|
-
| ...
|
|
862
|
-
|
|
863
|
-
def cause!: () -> ::Temporalio::Bridge::Api::ChildWorkflow::StartChildWorkflowExecutionFailedCause?
|
|
864
|
-
|
|
865
|
-
def initialize: (?workflow_id: ::String, ?workflow_type: ::String, ?cause: ::Temporalio::Bridge::Api::ChildWorkflow::StartChildWorkflowExecutionFailedCause::init) -> void
|
|
866
|
-
|
|
867
|
-
def []: (:workflow_id) -> ::String
|
|
868
|
-
| (:workflow_type) -> ::String
|
|
869
|
-
| (:cause) -> ::Temporalio::Bridge::Api::ChildWorkflow::StartChildWorkflowExecutionFailedCause
|
|
870
|
-
| (::Symbol) -> untyped
|
|
871
|
-
|
|
872
|
-
def []=: (:workflow_id, ::String) -> ::String
|
|
873
|
-
| (:workflow_type, ::String) -> ::String
|
|
874
|
-
| (:cause, ::Temporalio::Bridge::Api::ChildWorkflow::StartChildWorkflowExecutionFailedCause) -> ::Temporalio::Bridge::Api::ChildWorkflow::StartChildWorkflowExecutionFailedCause
|
|
875
|
-
| (:cause, ::Temporalio::Bridge::Api::ChildWorkflow::StartChildWorkflowExecutionFailedCause::values) -> ::Temporalio::Bridge::Api::ChildWorkflow::StartChildWorkflowExecutionFailedCause::values
|
|
876
|
-
| (::Symbol, untyped) -> untyped
|
|
877
|
-
|
|
878
|
-
interface _ToProto
|
|
879
|
-
def to_proto: () -> ResolveChildWorkflowExecutionStartFailure
|
|
880
|
-
end
|
|
881
|
-
|
|
882
|
-
# The type of `#initialize` parameter.
|
|
883
|
-
type init = ResolveChildWorkflowExecutionStartFailure | _ToProto
|
|
884
|
-
|
|
885
|
-
# The type of `repeated` field.
|
|
886
|
-
type field_array = ::Protobuf::Field::FieldArray[ResolveChildWorkflowExecutionStartFailure, ResolveChildWorkflowExecutionStartFailure | _ToProto]
|
|
887
|
-
|
|
888
|
-
# The type of `map` field.
|
|
889
|
-
type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, ResolveChildWorkflowExecutionStartFailure, ResolveChildWorkflowExecutionStartFailure | _ToProto]
|
|
890
|
-
|
|
891
|
-
type array = ::Array[ResolveChildWorkflowExecutionStartFailure | _ToProto]
|
|
892
|
-
|
|
893
|
-
type hash[KEY] = ::Hash[KEY, ResolveChildWorkflowExecutionStartFailure | _ToProto]
|
|
894
|
-
end
|
|
895
|
-
|
|
896
|
-
# / `failure` should be ChildWorkflowFailure with cause set to CancelledFailure.
|
|
897
|
-
# / The failure is constructed in core for lang's convenience.
|
|
898
|
-
#
|
|
899
|
-
class ResolveChildWorkflowExecutionStartCancelled < ::Protobuf::Message
|
|
900
|
-
# Encode the message to a binary string
|
|
901
|
-
#
|
|
902
|
-
def self.encode: (ResolveChildWorkflowExecutionStartCancelled) -> String
|
|
903
|
-
|
|
904
|
-
attr_accessor failure(): ::Temporalio::Api::Failure::V1::Failure?
|
|
905
|
-
|
|
906
|
-
def failure=: [M < ::Temporalio::Api::Failure::V1::Failure::_ToProto] (M?) -> M?
|
|
907
|
-
| ...
|
|
908
|
-
|
|
909
|
-
def failure!: () -> ::Temporalio::Api::Failure::V1::Failure?
|
|
910
|
-
|
|
911
|
-
def initialize: (?failure: ::Temporalio::Api::Failure::V1::Failure::init?) -> void
|
|
912
|
-
|
|
913
|
-
def []: (:failure) -> ::Temporalio::Api::Failure::V1::Failure?
|
|
914
|
-
| (::Symbol) -> untyped
|
|
915
|
-
|
|
916
|
-
def []=: (:failure, ::Temporalio::Api::Failure::V1::Failure?) -> ::Temporalio::Api::Failure::V1::Failure?
|
|
917
|
-
| [M < ::Temporalio::Api::Failure::V1::Failure::_ToProto] (:failure, M?) -> M?
|
|
918
|
-
| (::Symbol, untyped) -> untyped
|
|
919
|
-
|
|
920
|
-
interface _ToProto
|
|
921
|
-
def to_proto: () -> ResolveChildWorkflowExecutionStartCancelled
|
|
922
|
-
end
|
|
923
|
-
|
|
924
|
-
# The type of `#initialize` parameter.
|
|
925
|
-
type init = ResolveChildWorkflowExecutionStartCancelled | _ToProto
|
|
926
|
-
|
|
927
|
-
# The type of `repeated` field.
|
|
928
|
-
type field_array = ::Protobuf::Field::FieldArray[ResolveChildWorkflowExecutionStartCancelled, ResolveChildWorkflowExecutionStartCancelled | _ToProto]
|
|
929
|
-
|
|
930
|
-
# The type of `map` field.
|
|
931
|
-
type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, ResolveChildWorkflowExecutionStartCancelled, ResolveChildWorkflowExecutionStartCancelled | _ToProto]
|
|
932
|
-
|
|
933
|
-
type array = ::Array[ResolveChildWorkflowExecutionStartCancelled | _ToProto]
|
|
934
|
-
|
|
935
|
-
type hash[KEY] = ::Hash[KEY, ResolveChildWorkflowExecutionStartCancelled | _ToProto]
|
|
936
|
-
end
|
|
937
|
-
|
|
938
|
-
# / Notify a workflow that a child workflow execution has been resolved
|
|
939
|
-
#
|
|
940
|
-
class ResolveChildWorkflowExecution < ::Protobuf::Message
|
|
941
|
-
# Encode the message to a binary string
|
|
942
|
-
#
|
|
943
|
-
def self.encode: (ResolveChildWorkflowExecution) -> String
|
|
944
|
-
|
|
945
|
-
# / Sequence number as provided by lang in the corresponding StartChildWorkflowExecution command
|
|
946
|
-
#
|
|
947
|
-
attr_accessor seq(): ::Integer
|
|
948
|
-
|
|
949
|
-
def seq!: () -> ::Integer?
|
|
950
|
-
|
|
951
|
-
attr_accessor result(): ::Temporalio::Bridge::Api::ChildWorkflow::ChildWorkflowResult?
|
|
952
|
-
|
|
953
|
-
def result=: [M < ::Temporalio::Bridge::Api::ChildWorkflow::ChildWorkflowResult::_ToProto] (M?) -> M?
|
|
954
|
-
| ...
|
|
955
|
-
|
|
956
|
-
def result!: () -> ::Temporalio::Bridge::Api::ChildWorkflow::ChildWorkflowResult?
|
|
957
|
-
|
|
958
|
-
def initialize: (?seq: ::Integer, ?result: ::Temporalio::Bridge::Api::ChildWorkflow::ChildWorkflowResult::init?) -> void
|
|
959
|
-
|
|
960
|
-
def []: (:seq) -> ::Integer
|
|
961
|
-
| (:result) -> ::Temporalio::Bridge::Api::ChildWorkflow::ChildWorkflowResult?
|
|
962
|
-
| (::Symbol) -> untyped
|
|
963
|
-
|
|
964
|
-
def []=: (:seq, ::Integer) -> ::Integer
|
|
965
|
-
| (:result, ::Temporalio::Bridge::Api::ChildWorkflow::ChildWorkflowResult?) -> ::Temporalio::Bridge::Api::ChildWorkflow::ChildWorkflowResult?
|
|
966
|
-
| [M < ::Temporalio::Bridge::Api::ChildWorkflow::ChildWorkflowResult::_ToProto] (:result, M?) -> M?
|
|
967
|
-
| (::Symbol, untyped) -> untyped
|
|
968
|
-
|
|
969
|
-
interface _ToProto
|
|
970
|
-
def to_proto: () -> ResolveChildWorkflowExecution
|
|
971
|
-
end
|
|
972
|
-
|
|
973
|
-
# The type of `#initialize` parameter.
|
|
974
|
-
type init = ResolveChildWorkflowExecution | _ToProto
|
|
975
|
-
|
|
976
|
-
# The type of `repeated` field.
|
|
977
|
-
type field_array = ::Protobuf::Field::FieldArray[ResolveChildWorkflowExecution, ResolveChildWorkflowExecution | _ToProto]
|
|
978
|
-
|
|
979
|
-
# The type of `map` field.
|
|
980
|
-
type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, ResolveChildWorkflowExecution, ResolveChildWorkflowExecution | _ToProto]
|
|
981
|
-
|
|
982
|
-
type array = ::Array[ResolveChildWorkflowExecution | _ToProto]
|
|
983
|
-
|
|
984
|
-
type hash[KEY] = ::Hash[KEY, ResolveChildWorkflowExecution | _ToProto]
|
|
985
|
-
end
|
|
986
|
-
|
|
987
|
-
# / Update the workflow's random seed
|
|
988
|
-
#
|
|
989
|
-
class UpdateRandomSeed < ::Protobuf::Message
|
|
990
|
-
# Encode the message to a binary string
|
|
991
|
-
#
|
|
992
|
-
def self.encode: (UpdateRandomSeed) -> String
|
|
993
|
-
|
|
994
|
-
attr_accessor randomness_seed(): ::Integer
|
|
995
|
-
|
|
996
|
-
def randomness_seed!: () -> ::Integer?
|
|
997
|
-
|
|
998
|
-
def initialize: (?randomness_seed: ::Integer) -> void
|
|
999
|
-
|
|
1000
|
-
def []: (:randomness_seed) -> ::Integer
|
|
1001
|
-
| (::Symbol) -> untyped
|
|
1002
|
-
|
|
1003
|
-
def []=: (:randomness_seed, ::Integer) -> ::Integer
|
|
1004
|
-
| (::Symbol, untyped) -> untyped
|
|
1005
|
-
|
|
1006
|
-
interface _ToProto
|
|
1007
|
-
def to_proto: () -> UpdateRandomSeed
|
|
1008
|
-
end
|
|
1009
|
-
|
|
1010
|
-
# The type of `#initialize` parameter.
|
|
1011
|
-
type init = UpdateRandomSeed | _ToProto
|
|
1012
|
-
|
|
1013
|
-
# The type of `repeated` field.
|
|
1014
|
-
type field_array = ::Protobuf::Field::FieldArray[UpdateRandomSeed, UpdateRandomSeed | _ToProto]
|
|
1015
|
-
|
|
1016
|
-
# The type of `map` field.
|
|
1017
|
-
type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, UpdateRandomSeed, UpdateRandomSeed | _ToProto]
|
|
1018
|
-
|
|
1019
|
-
type array = ::Array[UpdateRandomSeed | _ToProto]
|
|
1020
|
-
|
|
1021
|
-
type hash[KEY] = ::Hash[KEY, UpdateRandomSeed | _ToProto]
|
|
1022
|
-
end
|
|
1023
|
-
|
|
1024
|
-
# / Query a workflow
|
|
1025
|
-
#
|
|
1026
|
-
class QueryWorkflow < ::Protobuf::Message
|
|
1027
|
-
# Encode the message to a binary string
|
|
1028
|
-
#
|
|
1029
|
-
def self.encode: (QueryWorkflow) -> String
|
|
1030
|
-
|
|
1031
|
-
# / For PollWFTResp `query` field, this will be set to the special value `legacy`. For the
|
|
1032
|
-
# / `queries` field, the server provides a unique identifier. If it is a `legacy` query,
|
|
1033
|
-
# / lang cannot issue any commands in response other than to answer the query.
|
|
1034
|
-
#
|
|
1035
|
-
attr_accessor query_id(): ::String
|
|
1036
|
-
|
|
1037
|
-
def query_id!: () -> ::String?
|
|
1038
|
-
|
|
1039
|
-
# / The query's function/method/etc name
|
|
1040
|
-
#
|
|
1041
|
-
attr_accessor query_type(): ::String
|
|
1042
|
-
|
|
1043
|
-
def query_type!: () -> ::String?
|
|
1044
|
-
|
|
1045
|
-
attr_accessor arguments(): ::Temporalio::Api::Common::V1::Payload::field_array
|
|
1046
|
-
|
|
1047
|
-
def arguments=: (::Temporalio::Api::Common::V1::Payload::array) -> ::Temporalio::Api::Common::V1::Payload::array
|
|
1048
|
-
| ...
|
|
1049
|
-
|
|
1050
|
-
def arguments!: () -> ::Temporalio::Api::Common::V1::Payload::field_array?
|
|
1051
|
-
|
|
1052
|
-
# / Headers attached to the query
|
|
1053
|
-
#
|
|
1054
|
-
attr_accessor headers(): ::Temporalio::Api::Common::V1::Payload::field_hash[::String]
|
|
1055
|
-
|
|
1056
|
-
# / Headers attached to the query
|
|
1057
|
-
#
|
|
1058
|
-
def headers=: (::Temporalio::Api::Common::V1::Payload::hash[::String]) -> ::Temporalio::Api::Common::V1::Payload::hash[::String]
|
|
1059
|
-
| ...
|
|
1060
|
-
|
|
1061
|
-
def headers!: () -> ::Temporalio::Api::Common::V1::Payload::field_hash[::String]?
|
|
1062
|
-
|
|
1063
|
-
def initialize: (?query_id: ::String, ?query_type: ::String, ?arguments: ::Temporalio::Api::Common::V1::Payload::array, ?headers: ::Temporalio::Api::Common::V1::Payload::hash[::String]) -> void
|
|
1064
|
-
|
|
1065
|
-
def []: (:query_id) -> ::String
|
|
1066
|
-
| (:query_type) -> ::String
|
|
1067
|
-
| (:arguments) -> ::Temporalio::Api::Common::V1::Payload::field_array
|
|
1068
|
-
| (:headers) -> ::Temporalio::Api::Common::V1::Payload::field_hash[::String]
|
|
1069
|
-
| (::Symbol) -> untyped
|
|
1070
|
-
|
|
1071
|
-
def []=: (:query_id, ::String) -> ::String
|
|
1072
|
-
| (:query_type, ::String) -> ::String
|
|
1073
|
-
| (:arguments, ::Temporalio::Api::Common::V1::Payload::field_array) -> ::Temporalio::Api::Common::V1::Payload::field_array
|
|
1074
|
-
| (:arguments, ::Temporalio::Api::Common::V1::Payload::array) -> ::Temporalio::Api::Common::V1::Payload::array
|
|
1075
|
-
| (:headers, ::Temporalio::Api::Common::V1::Payload::field_hash[::String]) -> ::Temporalio::Api::Common::V1::Payload::field_hash[::String]
|
|
1076
|
-
| (:headers, ::Temporalio::Api::Common::V1::Payload::hash[::String]) -> ::Temporalio::Api::Common::V1::Payload::hash[::String]
|
|
1077
|
-
| (::Symbol, untyped) -> untyped
|
|
1078
|
-
|
|
1079
|
-
interface _ToProto
|
|
1080
|
-
def to_proto: () -> QueryWorkflow
|
|
1081
|
-
end
|
|
1082
|
-
|
|
1083
|
-
# The type of `#initialize` parameter.
|
|
1084
|
-
type init = QueryWorkflow | _ToProto
|
|
1085
|
-
|
|
1086
|
-
# The type of `repeated` field.
|
|
1087
|
-
type field_array = ::Protobuf::Field::FieldArray[QueryWorkflow, QueryWorkflow | _ToProto]
|
|
1088
|
-
|
|
1089
|
-
# The type of `map` field.
|
|
1090
|
-
type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, QueryWorkflow, QueryWorkflow | _ToProto]
|
|
1091
|
-
|
|
1092
|
-
type array = ::Array[QueryWorkflow | _ToProto]
|
|
1093
|
-
|
|
1094
|
-
type hash[KEY] = ::Hash[KEY, QueryWorkflow | _ToProto]
|
|
1095
|
-
end
|
|
1096
|
-
|
|
1097
|
-
# / Cancel a running workflow
|
|
1098
|
-
#
|
|
1099
|
-
class CancelWorkflow < ::Protobuf::Message
|
|
1100
|
-
# Encode the message to a binary string
|
|
1101
|
-
#
|
|
1102
|
-
def self.encode: (CancelWorkflow) -> String
|
|
1103
|
-
|
|
1104
|
-
# / Information from the cancellation request
|
|
1105
|
-
#
|
|
1106
|
-
attr_accessor details(): ::Temporalio::Api::Common::V1::Payload::field_array
|
|
1107
|
-
|
|
1108
|
-
# / Information from the cancellation request
|
|
1109
|
-
#
|
|
1110
|
-
def details=: (::Temporalio::Api::Common::V1::Payload::array) -> ::Temporalio::Api::Common::V1::Payload::array
|
|
1111
|
-
| ...
|
|
1112
|
-
|
|
1113
|
-
def details!: () -> ::Temporalio::Api::Common::V1::Payload::field_array?
|
|
1114
|
-
|
|
1115
|
-
def initialize: (?details: ::Temporalio::Api::Common::V1::Payload::array) -> void
|
|
1116
|
-
|
|
1117
|
-
def []: (:details) -> ::Temporalio::Api::Common::V1::Payload::field_array
|
|
1118
|
-
| (::Symbol) -> untyped
|
|
1119
|
-
|
|
1120
|
-
def []=: (:details, ::Temporalio::Api::Common::V1::Payload::field_array) -> ::Temporalio::Api::Common::V1::Payload::field_array
|
|
1121
|
-
| (:details, ::Temporalio::Api::Common::V1::Payload::array) -> ::Temporalio::Api::Common::V1::Payload::array
|
|
1122
|
-
| (::Symbol, untyped) -> untyped
|
|
1123
|
-
|
|
1124
|
-
interface _ToProto
|
|
1125
|
-
def to_proto: () -> CancelWorkflow
|
|
1126
|
-
end
|
|
1127
|
-
|
|
1128
|
-
# The type of `#initialize` parameter.
|
|
1129
|
-
type init = CancelWorkflow | _ToProto
|
|
1130
|
-
|
|
1131
|
-
# The type of `repeated` field.
|
|
1132
|
-
type field_array = ::Protobuf::Field::FieldArray[CancelWorkflow, CancelWorkflow | _ToProto]
|
|
1133
|
-
|
|
1134
|
-
# The type of `map` field.
|
|
1135
|
-
type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, CancelWorkflow, CancelWorkflow | _ToProto]
|
|
1136
|
-
|
|
1137
|
-
type array = ::Array[CancelWorkflow | _ToProto]
|
|
1138
|
-
|
|
1139
|
-
type hash[KEY] = ::Hash[KEY, CancelWorkflow | _ToProto]
|
|
1140
|
-
end
|
|
1141
|
-
|
|
1142
|
-
# Send a signal to a workflow
|
|
1143
|
-
#
|
|
1144
|
-
class SignalWorkflow < ::Protobuf::Message
|
|
1145
|
-
# Encode the message to a binary string
|
|
1146
|
-
#
|
|
1147
|
-
def self.encode: (SignalWorkflow) -> String
|
|
1148
|
-
|
|
1149
|
-
attr_accessor signal_name(): ::String
|
|
1150
|
-
|
|
1151
|
-
def signal_name!: () -> ::String?
|
|
1152
|
-
|
|
1153
|
-
attr_accessor input(): ::Temporalio::Api::Common::V1::Payload::field_array
|
|
1154
|
-
|
|
1155
|
-
def input=: (::Temporalio::Api::Common::V1::Payload::array) -> ::Temporalio::Api::Common::V1::Payload::array
|
|
1156
|
-
| ...
|
|
1157
|
-
|
|
1158
|
-
def input!: () -> ::Temporalio::Api::Common::V1::Payload::field_array?
|
|
1159
|
-
|
|
1160
|
-
# Identity of the sender of the signal
|
|
1161
|
-
#
|
|
1162
|
-
attr_accessor identity(): ::String
|
|
1163
|
-
|
|
1164
|
-
def identity!: () -> ::String?
|
|
1165
|
-
|
|
1166
|
-
# Headers attached to the signal
|
|
1167
|
-
#
|
|
1168
|
-
attr_accessor headers(): ::Temporalio::Api::Common::V1::Payload::field_hash[::String]
|
|
1169
|
-
|
|
1170
|
-
# Headers attached to the signal
|
|
1171
|
-
#
|
|
1172
|
-
def headers=: (::Temporalio::Api::Common::V1::Payload::hash[::String]) -> ::Temporalio::Api::Common::V1::Payload::hash[::String]
|
|
1173
|
-
| ...
|
|
1174
|
-
|
|
1175
|
-
def headers!: () -> ::Temporalio::Api::Common::V1::Payload::field_hash[::String]?
|
|
1176
|
-
|
|
1177
|
-
def initialize: (?signal_name: ::String, ?input: ::Temporalio::Api::Common::V1::Payload::array, ?identity: ::String, ?headers: ::Temporalio::Api::Common::V1::Payload::hash[::String]) -> void
|
|
1178
|
-
|
|
1179
|
-
def []: (:signal_name) -> ::String
|
|
1180
|
-
| (:input) -> ::Temporalio::Api::Common::V1::Payload::field_array
|
|
1181
|
-
| (:identity) -> ::String
|
|
1182
|
-
| (:headers) -> ::Temporalio::Api::Common::V1::Payload::field_hash[::String]
|
|
1183
|
-
| (::Symbol) -> untyped
|
|
1184
|
-
|
|
1185
|
-
def []=: (:signal_name, ::String) -> ::String
|
|
1186
|
-
| (:input, ::Temporalio::Api::Common::V1::Payload::field_array) -> ::Temporalio::Api::Common::V1::Payload::field_array
|
|
1187
|
-
| (:input, ::Temporalio::Api::Common::V1::Payload::array) -> ::Temporalio::Api::Common::V1::Payload::array
|
|
1188
|
-
| (:identity, ::String) -> ::String
|
|
1189
|
-
| (:headers, ::Temporalio::Api::Common::V1::Payload::field_hash[::String]) -> ::Temporalio::Api::Common::V1::Payload::field_hash[::String]
|
|
1190
|
-
| (:headers, ::Temporalio::Api::Common::V1::Payload::hash[::String]) -> ::Temporalio::Api::Common::V1::Payload::hash[::String]
|
|
1191
|
-
| (::Symbol, untyped) -> untyped
|
|
1192
|
-
|
|
1193
|
-
interface _ToProto
|
|
1194
|
-
def to_proto: () -> SignalWorkflow
|
|
1195
|
-
end
|
|
1196
|
-
|
|
1197
|
-
# The type of `#initialize` parameter.
|
|
1198
|
-
type init = SignalWorkflow | _ToProto
|
|
1199
|
-
|
|
1200
|
-
# The type of `repeated` field.
|
|
1201
|
-
type field_array = ::Protobuf::Field::FieldArray[SignalWorkflow, SignalWorkflow | _ToProto]
|
|
1202
|
-
|
|
1203
|
-
# The type of `map` field.
|
|
1204
|
-
type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, SignalWorkflow, SignalWorkflow | _ToProto]
|
|
1205
|
-
|
|
1206
|
-
type array = ::Array[SignalWorkflow | _ToProto]
|
|
1207
|
-
|
|
1208
|
-
type hash[KEY] = ::Hash[KEY, SignalWorkflow | _ToProto]
|
|
1209
|
-
end
|
|
1210
|
-
|
|
1211
|
-
# Inform lang what the result of a call to `patched` or similar API should be -- this is always
|
|
1212
|
-
# sent pre-emptively, so any time it is sent the change is present
|
|
1213
|
-
#
|
|
1214
|
-
class NotifyHasPatch < ::Protobuf::Message
|
|
1215
|
-
# Encode the message to a binary string
|
|
1216
|
-
#
|
|
1217
|
-
def self.encode: (NotifyHasPatch) -> String
|
|
1218
|
-
|
|
1219
|
-
attr_accessor patch_id(): ::String
|
|
1220
|
-
|
|
1221
|
-
def patch_id!: () -> ::String?
|
|
1222
|
-
|
|
1223
|
-
def initialize: (?patch_id: ::String) -> void
|
|
1224
|
-
|
|
1225
|
-
def []: (:patch_id) -> ::String
|
|
1226
|
-
| (::Symbol) -> untyped
|
|
1227
|
-
|
|
1228
|
-
def []=: (:patch_id, ::String) -> ::String
|
|
1229
|
-
| (::Symbol, untyped) -> untyped
|
|
1230
|
-
|
|
1231
|
-
interface _ToProto
|
|
1232
|
-
def to_proto: () -> NotifyHasPatch
|
|
1233
|
-
end
|
|
1234
|
-
|
|
1235
|
-
# The type of `#initialize` parameter.
|
|
1236
|
-
type init = NotifyHasPatch | _ToProto
|
|
1237
|
-
|
|
1238
|
-
# The type of `repeated` field.
|
|
1239
|
-
type field_array = ::Protobuf::Field::FieldArray[NotifyHasPatch, NotifyHasPatch | _ToProto]
|
|
1240
|
-
|
|
1241
|
-
# The type of `map` field.
|
|
1242
|
-
type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, NotifyHasPatch, NotifyHasPatch | _ToProto]
|
|
1243
|
-
|
|
1244
|
-
type array = ::Array[NotifyHasPatch | _ToProto]
|
|
1245
|
-
|
|
1246
|
-
type hash[KEY] = ::Hash[KEY, NotifyHasPatch | _ToProto]
|
|
1247
|
-
end
|
|
1248
|
-
|
|
1249
|
-
class ResolveSignalExternalWorkflow < ::Protobuf::Message
|
|
1250
|
-
# Encode the message to a binary string
|
|
1251
|
-
#
|
|
1252
|
-
def self.encode: (ResolveSignalExternalWorkflow) -> String
|
|
1253
|
-
|
|
1254
|
-
# / Sequence number as provided by lang in the corresponding SignalExternalWorkflowExecution
|
|
1255
|
-
# / command
|
|
1256
|
-
#
|
|
1257
|
-
attr_accessor seq(): ::Integer
|
|
1258
|
-
|
|
1259
|
-
def seq!: () -> ::Integer?
|
|
1260
|
-
|
|
1261
|
-
# / If populated, this signal either failed to be sent or was cancelled depending on failure
|
|
1262
|
-
# / type / info.
|
|
1263
|
-
#
|
|
1264
|
-
attr_accessor failure(): ::Temporalio::Api::Failure::V1::Failure?
|
|
1265
|
-
|
|
1266
|
-
# / If populated, this signal either failed to be sent or was cancelled depending on failure
|
|
1267
|
-
# / type / info.
|
|
1268
|
-
#
|
|
1269
|
-
def failure=: [M < ::Temporalio::Api::Failure::V1::Failure::_ToProto] (M?) -> M?
|
|
1270
|
-
| ...
|
|
1271
|
-
|
|
1272
|
-
def failure!: () -> ::Temporalio::Api::Failure::V1::Failure?
|
|
1273
|
-
|
|
1274
|
-
def initialize: (?seq: ::Integer, ?failure: ::Temporalio::Api::Failure::V1::Failure::init?) -> void
|
|
1275
|
-
|
|
1276
|
-
def []: (:seq) -> ::Integer
|
|
1277
|
-
| (:failure) -> ::Temporalio::Api::Failure::V1::Failure?
|
|
1278
|
-
| (::Symbol) -> untyped
|
|
1279
|
-
|
|
1280
|
-
def []=: (:seq, ::Integer) -> ::Integer
|
|
1281
|
-
| (:failure, ::Temporalio::Api::Failure::V1::Failure?) -> ::Temporalio::Api::Failure::V1::Failure?
|
|
1282
|
-
| [M < ::Temporalio::Api::Failure::V1::Failure::_ToProto] (:failure, M?) -> M?
|
|
1283
|
-
| (::Symbol, untyped) -> untyped
|
|
1284
|
-
|
|
1285
|
-
interface _ToProto
|
|
1286
|
-
def to_proto: () -> ResolveSignalExternalWorkflow
|
|
1287
|
-
end
|
|
1288
|
-
|
|
1289
|
-
# The type of `#initialize` parameter.
|
|
1290
|
-
type init = ResolveSignalExternalWorkflow | _ToProto
|
|
1291
|
-
|
|
1292
|
-
# The type of `repeated` field.
|
|
1293
|
-
type field_array = ::Protobuf::Field::FieldArray[ResolveSignalExternalWorkflow, ResolveSignalExternalWorkflow | _ToProto]
|
|
1294
|
-
|
|
1295
|
-
# The type of `map` field.
|
|
1296
|
-
type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, ResolveSignalExternalWorkflow, ResolveSignalExternalWorkflow | _ToProto]
|
|
1297
|
-
|
|
1298
|
-
type array = ::Array[ResolveSignalExternalWorkflow | _ToProto]
|
|
1299
|
-
|
|
1300
|
-
type hash[KEY] = ::Hash[KEY, ResolveSignalExternalWorkflow | _ToProto]
|
|
1301
|
-
end
|
|
1302
|
-
|
|
1303
|
-
class ResolveRequestCancelExternalWorkflow < ::Protobuf::Message
|
|
1304
|
-
# Encode the message to a binary string
|
|
1305
|
-
#
|
|
1306
|
-
def self.encode: (ResolveRequestCancelExternalWorkflow) -> String
|
|
1307
|
-
|
|
1308
|
-
# / Sequence number as provided by lang in the corresponding
|
|
1309
|
-
# / RequestCancelExternalWorkflowExecution command
|
|
1310
|
-
#
|
|
1311
|
-
attr_accessor seq(): ::Integer
|
|
1312
|
-
|
|
1313
|
-
def seq!: () -> ::Integer?
|
|
1314
|
-
|
|
1315
|
-
# / If populated, this signal either failed to be sent or was cancelled depending on failure
|
|
1316
|
-
# / type / info.
|
|
1317
|
-
#
|
|
1318
|
-
attr_accessor failure(): ::Temporalio::Api::Failure::V1::Failure?
|
|
1319
|
-
|
|
1320
|
-
# / If populated, this signal either failed to be sent or was cancelled depending on failure
|
|
1321
|
-
# / type / info.
|
|
1322
|
-
#
|
|
1323
|
-
def failure=: [M < ::Temporalio::Api::Failure::V1::Failure::_ToProto] (M?) -> M?
|
|
1324
|
-
| ...
|
|
1325
|
-
|
|
1326
|
-
def failure!: () -> ::Temporalio::Api::Failure::V1::Failure?
|
|
1327
|
-
|
|
1328
|
-
def initialize: (?seq: ::Integer, ?failure: ::Temporalio::Api::Failure::V1::Failure::init?) -> void
|
|
1329
|
-
|
|
1330
|
-
def []: (:seq) -> ::Integer
|
|
1331
|
-
| (:failure) -> ::Temporalio::Api::Failure::V1::Failure?
|
|
1332
|
-
| (::Symbol) -> untyped
|
|
1333
|
-
|
|
1334
|
-
def []=: (:seq, ::Integer) -> ::Integer
|
|
1335
|
-
| (:failure, ::Temporalio::Api::Failure::V1::Failure?) -> ::Temporalio::Api::Failure::V1::Failure?
|
|
1336
|
-
| [M < ::Temporalio::Api::Failure::V1::Failure::_ToProto] (:failure, M?) -> M?
|
|
1337
|
-
| (::Symbol, untyped) -> untyped
|
|
1338
|
-
|
|
1339
|
-
interface _ToProto
|
|
1340
|
-
def to_proto: () -> ResolveRequestCancelExternalWorkflow
|
|
1341
|
-
end
|
|
1342
|
-
|
|
1343
|
-
# The type of `#initialize` parameter.
|
|
1344
|
-
type init = ResolveRequestCancelExternalWorkflow | _ToProto
|
|
1345
|
-
|
|
1346
|
-
# The type of `repeated` field.
|
|
1347
|
-
type field_array = ::Protobuf::Field::FieldArray[ResolveRequestCancelExternalWorkflow, ResolveRequestCancelExternalWorkflow | _ToProto]
|
|
1348
|
-
|
|
1349
|
-
# The type of `map` field.
|
|
1350
|
-
type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, ResolveRequestCancelExternalWorkflow, ResolveRequestCancelExternalWorkflow | _ToProto]
|
|
1351
|
-
|
|
1352
|
-
type array = ::Array[ResolveRequestCancelExternalWorkflow | _ToProto]
|
|
1353
|
-
|
|
1354
|
-
type hash[KEY] = ::Hash[KEY, ResolveRequestCancelExternalWorkflow | _ToProto]
|
|
1355
|
-
end
|
|
1356
|
-
|
|
1357
|
-
class RemoveFromCache < ::Protobuf::Message
|
|
1358
|
-
# Encode the message to a binary string
|
|
1359
|
-
#
|
|
1360
|
-
def self.encode: (RemoveFromCache) -> String
|
|
1361
|
-
|
|
1362
|
-
class EvictionReason < ::Protobuf::Enum
|
|
1363
|
-
type names = :UNSPECIFIED | :CACHE_FULL | :CACHE_MISS | :NONDETERMINISM | :LANG_FAIL | :LANG_REQUESTED | :TASK_NOT_FOUND | :UNHANDLED_COMMAND | :FATAL | :PAGINATION_OR_HISTORY_FETCH
|
|
1364
|
-
|
|
1365
|
-
type strings = "UNSPECIFIED" | "CACHE_FULL" | "CACHE_MISS" | "NONDETERMINISM" | "LANG_FAIL" | "LANG_REQUESTED" | "TASK_NOT_FOUND" | "UNHANDLED_COMMAND" | "FATAL" | "PAGINATION_OR_HISTORY_FETCH"
|
|
1366
|
-
|
|
1367
|
-
type tags = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9
|
|
1368
|
-
|
|
1369
|
-
type values = names | strings | tags
|
|
1370
|
-
|
|
1371
|
-
attr_reader name(): names
|
|
1372
|
-
|
|
1373
|
-
attr_reader tag(): tags
|
|
1374
|
-
|
|
1375
|
-
UNSPECIFIED: EvictionReason
|
|
1376
|
-
|
|
1377
|
-
# Workflow cache is full
|
|
1378
|
-
#
|
|
1379
|
-
CACHE_FULL: EvictionReason
|
|
1380
|
-
|
|
1381
|
-
# Workflow received a partial task but was not in the cache. Typically it won't be in the
|
|
1382
|
-
# lang cache either at this point, but we send an eviction to be sure.
|
|
1383
|
-
#
|
|
1384
|
-
CACHE_MISS: EvictionReason
|
|
1385
|
-
|
|
1386
|
-
# The workflow produced results inconsistent with history.
|
|
1387
|
-
#
|
|
1388
|
-
NONDETERMINISM: EvictionReason
|
|
1389
|
-
|
|
1390
|
-
# The lang side completed the workflow activation with a failure.
|
|
1391
|
-
#
|
|
1392
|
-
LANG_FAIL: EvictionReason
|
|
1393
|
-
|
|
1394
|
-
# The lang side explicitly requested this workflow be evicted.
|
|
1395
|
-
#
|
|
1396
|
-
LANG_REQUESTED: EvictionReason
|
|
1397
|
-
|
|
1398
|
-
# The workflow task we tried to respond to didn't exist. The workflow might have already
|
|
1399
|
-
# finished, or the WFT timed out but we didn't learn about that yet.
|
|
1400
|
-
#
|
|
1401
|
-
TASK_NOT_FOUND: EvictionReason
|
|
1402
|
-
|
|
1403
|
-
# There was new work that must be handled while we attempted to complete the WFT. Ex:
|
|
1404
|
-
# a new signal came in while trying to complete the workflow.
|
|
1405
|
-
#
|
|
1406
|
-
UNHANDLED_COMMAND: EvictionReason
|
|
1407
|
-
|
|
1408
|
-
# There was some fatal error processing the workflow, typically an internal error, but
|
|
1409
|
-
# can also happen if then network drops out while paginating. Check message string.
|
|
1410
|
-
#
|
|
1411
|
-
FATAL: EvictionReason
|
|
1412
|
-
|
|
1413
|
-
# Something went wrong attempting to fetch more history events.
|
|
1414
|
-
#
|
|
1415
|
-
PAGINATION_OR_HISTORY_FETCH: EvictionReason
|
|
1416
|
-
|
|
1417
|
-
# The type of `#initialize` parameter.
|
|
1418
|
-
type init = EvictionReason | values
|
|
1419
|
-
|
|
1420
|
-
# The type of `repeated` field.
|
|
1421
|
-
type field_array = ::Protobuf::Field::FieldArray[EvictionReason, EvictionReason | values]
|
|
1422
|
-
|
|
1423
|
-
# The type of `map` field.
|
|
1424
|
-
type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, EvictionReason, EvictionReason | values]
|
|
1425
|
-
|
|
1426
|
-
type array = ::Array[EvictionReason | values]
|
|
1427
|
-
|
|
1428
|
-
type hash[KEY] = ::Hash[KEY, EvictionReason | values]
|
|
1429
|
-
end
|
|
1430
|
-
|
|
1431
|
-
attr_accessor message(): ::String
|
|
1432
|
-
|
|
1433
|
-
def message!: () -> ::String?
|
|
1434
|
-
|
|
1435
|
-
attr_accessor reason(): ::Temporalio::Bridge::Api::WorkflowActivation::RemoveFromCache::EvictionReason
|
|
1436
|
-
|
|
1437
|
-
def reason=: (::Temporalio::Bridge::Api::WorkflowActivation::RemoveFromCache::EvictionReason::values) -> ::Temporalio::Bridge::Api::WorkflowActivation::RemoveFromCache::EvictionReason::values
|
|
1438
|
-
| ...
|
|
1439
|
-
|
|
1440
|
-
def reason!: () -> ::Temporalio::Bridge::Api::WorkflowActivation::RemoveFromCache::EvictionReason?
|
|
1441
|
-
|
|
1442
|
-
def initialize: (?message: ::String, ?reason: ::Temporalio::Bridge::Api::WorkflowActivation::RemoveFromCache::EvictionReason::init) -> void
|
|
1443
|
-
|
|
1444
|
-
def []: (:message) -> ::String
|
|
1445
|
-
| (:reason) -> ::Temporalio::Bridge::Api::WorkflowActivation::RemoveFromCache::EvictionReason
|
|
1446
|
-
| (::Symbol) -> untyped
|
|
1447
|
-
|
|
1448
|
-
def []=: (:message, ::String) -> ::String
|
|
1449
|
-
| (:reason, ::Temporalio::Bridge::Api::WorkflowActivation::RemoveFromCache::EvictionReason) -> ::Temporalio::Bridge::Api::WorkflowActivation::RemoveFromCache::EvictionReason
|
|
1450
|
-
| (:reason, ::Temporalio::Bridge::Api::WorkflowActivation::RemoveFromCache::EvictionReason::values) -> ::Temporalio::Bridge::Api::WorkflowActivation::RemoveFromCache::EvictionReason::values
|
|
1451
|
-
| (::Symbol, untyped) -> untyped
|
|
1452
|
-
|
|
1453
|
-
interface _ToProto
|
|
1454
|
-
def to_proto: () -> RemoveFromCache
|
|
1455
|
-
end
|
|
1456
|
-
|
|
1457
|
-
# The type of `#initialize` parameter.
|
|
1458
|
-
type init = RemoveFromCache | _ToProto
|
|
1459
|
-
|
|
1460
|
-
# The type of `repeated` field.
|
|
1461
|
-
type field_array = ::Protobuf::Field::FieldArray[RemoveFromCache, RemoveFromCache | _ToProto]
|
|
1462
|
-
|
|
1463
|
-
# The type of `map` field.
|
|
1464
|
-
type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, RemoveFromCache, RemoveFromCache | _ToProto]
|
|
1465
|
-
|
|
1466
|
-
type array = ::Array[RemoveFromCache | _ToProto]
|
|
1467
|
-
|
|
1468
|
-
type hash[KEY] = ::Hash[KEY, RemoveFromCache | _ToProto]
|
|
1469
|
-
end
|
|
1470
|
-
end
|
|
1471
|
-
end
|
|
1472
|
-
end
|
|
1473
|
-
end
|