temporalio 0.0.1
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 +7 -0
- data/Gemfile +3 -0
- data/LICENSE +20 -0
- data/README.md +130 -0
- data/bridge/Cargo.lock +2865 -0
- data/bridge/Cargo.toml +26 -0
- data/bridge/sdk-core/ARCHITECTURE.md +76 -0
- data/bridge/sdk-core/Cargo.lock +2606 -0
- data/bridge/sdk-core/Cargo.toml +2 -0
- data/bridge/sdk-core/LICENSE.txt +23 -0
- data/bridge/sdk-core/README.md +107 -0
- data/bridge/sdk-core/arch_docs/diagrams/README.md +10 -0
- data/bridge/sdk-core/arch_docs/diagrams/sticky_queues.puml +40 -0
- data/bridge/sdk-core/arch_docs/diagrams/workflow_internals.svg +1 -0
- data/bridge/sdk-core/arch_docs/sticky_queues.md +51 -0
- data/bridge/sdk-core/bridge-ffi/Cargo.toml +24 -0
- data/bridge/sdk-core/bridge-ffi/LICENSE.txt +23 -0
- data/bridge/sdk-core/bridge-ffi/build.rs +25 -0
- data/bridge/sdk-core/bridge-ffi/include/sdk-core-bridge.h +249 -0
- data/bridge/sdk-core/bridge-ffi/src/lib.rs +825 -0
- data/bridge/sdk-core/bridge-ffi/src/wrappers.rs +211 -0
- data/bridge/sdk-core/client/Cargo.toml +40 -0
- data/bridge/sdk-core/client/LICENSE.txt +23 -0
- data/bridge/sdk-core/client/src/lib.rs +1294 -0
- data/bridge/sdk-core/client/src/metrics.rs +165 -0
- data/bridge/sdk-core/client/src/raw.rs +931 -0
- data/bridge/sdk-core/client/src/retry.rs +674 -0
- data/bridge/sdk-core/client/src/workflow_handle/mod.rs +185 -0
- data/bridge/sdk-core/core/Cargo.toml +116 -0
- data/bridge/sdk-core/core/LICENSE.txt +23 -0
- data/bridge/sdk-core/core/benches/workflow_replay.rs +73 -0
- data/bridge/sdk-core/core/src/abstractions.rs +166 -0
- data/bridge/sdk-core/core/src/core_tests/activity_tasks.rs +911 -0
- data/bridge/sdk-core/core/src/core_tests/child_workflows.rs +221 -0
- data/bridge/sdk-core/core/src/core_tests/determinism.rs +107 -0
- data/bridge/sdk-core/core/src/core_tests/local_activities.rs +515 -0
- data/bridge/sdk-core/core/src/core_tests/mod.rs +100 -0
- data/bridge/sdk-core/core/src/core_tests/queries.rs +736 -0
- data/bridge/sdk-core/core/src/core_tests/replay_flag.rs +65 -0
- data/bridge/sdk-core/core/src/core_tests/workers.rs +259 -0
- data/bridge/sdk-core/core/src/core_tests/workflow_cancels.rs +124 -0
- data/bridge/sdk-core/core/src/core_tests/workflow_tasks.rs +2070 -0
- data/bridge/sdk-core/core/src/ephemeral_server/mod.rs +515 -0
- data/bridge/sdk-core/core/src/lib.rs +175 -0
- data/bridge/sdk-core/core/src/log_export.rs +62 -0
- data/bridge/sdk-core/core/src/pollers/mod.rs +54 -0
- data/bridge/sdk-core/core/src/pollers/poll_buffer.rs +297 -0
- data/bridge/sdk-core/core/src/protosext/mod.rs +428 -0
- data/bridge/sdk-core/core/src/replay/mod.rs +71 -0
- data/bridge/sdk-core/core/src/retry_logic.rs +202 -0
- data/bridge/sdk-core/core/src/telemetry/metrics.rs +383 -0
- data/bridge/sdk-core/core/src/telemetry/mod.rs +412 -0
- data/bridge/sdk-core/core/src/telemetry/prometheus_server.rs +77 -0
- data/bridge/sdk-core/core/src/test_help/mod.rs +875 -0
- data/bridge/sdk-core/core/src/worker/activities/activity_heartbeat_manager.rs +580 -0
- data/bridge/sdk-core/core/src/worker/activities/local_activities.rs +1042 -0
- data/bridge/sdk-core/core/src/worker/activities.rs +464 -0
- data/bridge/sdk-core/core/src/worker/client/mocks.rs +87 -0
- data/bridge/sdk-core/core/src/worker/client.rs +347 -0
- data/bridge/sdk-core/core/src/worker/mod.rs +566 -0
- data/bridge/sdk-core/core/src/worker/workflow/bridge.rs +37 -0
- data/bridge/sdk-core/core/src/worker/workflow/driven_workflow.rs +110 -0
- data/bridge/sdk-core/core/src/worker/workflow/history_update.rs +458 -0
- data/bridge/sdk-core/core/src/worker/workflow/machines/activity_state_machine.rs +911 -0
- data/bridge/sdk-core/core/src/worker/workflow/machines/cancel_external_state_machine.rs +298 -0
- data/bridge/sdk-core/core/src/worker/workflow/machines/cancel_workflow_state_machine.rs +171 -0
- data/bridge/sdk-core/core/src/worker/workflow/machines/child_workflow_state_machine.rs +860 -0
- data/bridge/sdk-core/core/src/worker/workflow/machines/complete_workflow_state_machine.rs +140 -0
- data/bridge/sdk-core/core/src/worker/workflow/machines/continue_as_new_workflow_state_machine.rs +161 -0
- data/bridge/sdk-core/core/src/worker/workflow/machines/fail_workflow_state_machine.rs +133 -0
- data/bridge/sdk-core/core/src/worker/workflow/machines/local_activity_state_machine.rs +1448 -0
- data/bridge/sdk-core/core/src/worker/workflow/machines/mod.rs +342 -0
- data/bridge/sdk-core/core/src/worker/workflow/machines/mutable_side_effect_state_machine.rs +127 -0
- data/bridge/sdk-core/core/src/worker/workflow/machines/patch_state_machine.rs +712 -0
- data/bridge/sdk-core/core/src/worker/workflow/machines/side_effect_state_machine.rs +71 -0
- data/bridge/sdk-core/core/src/worker/workflow/machines/signal_external_state_machine.rs +443 -0
- data/bridge/sdk-core/core/src/worker/workflow/machines/timer_state_machine.rs +439 -0
- data/bridge/sdk-core/core/src/worker/workflow/machines/transition_coverage.rs +169 -0
- data/bridge/sdk-core/core/src/worker/workflow/machines/upsert_search_attributes_state_machine.rs +246 -0
- data/bridge/sdk-core/core/src/worker/workflow/machines/workflow_machines/local_acts.rs +96 -0
- data/bridge/sdk-core/core/src/worker/workflow/machines/workflow_machines.rs +1184 -0
- data/bridge/sdk-core/core/src/worker/workflow/machines/workflow_task_state_machine.rs +277 -0
- data/bridge/sdk-core/core/src/worker/workflow/managed_run/managed_wf_test.rs +198 -0
- data/bridge/sdk-core/core/src/worker/workflow/managed_run.rs +647 -0
- data/bridge/sdk-core/core/src/worker/workflow/mod.rs +1143 -0
- data/bridge/sdk-core/core/src/worker/workflow/run_cache.rs +145 -0
- data/bridge/sdk-core/core/src/worker/workflow/wft_poller.rs +88 -0
- data/bridge/sdk-core/core/src/worker/workflow/workflow_stream.rs +940 -0
- data/bridge/sdk-core/core-api/Cargo.toml +31 -0
- data/bridge/sdk-core/core-api/LICENSE.txt +23 -0
- data/bridge/sdk-core/core-api/src/errors.rs +95 -0
- data/bridge/sdk-core/core-api/src/lib.rs +151 -0
- data/bridge/sdk-core/core-api/src/worker.rs +135 -0
- data/bridge/sdk-core/etc/deps.svg +187 -0
- data/bridge/sdk-core/etc/dynamic-config.yaml +2 -0
- data/bridge/sdk-core/etc/otel-collector-config.yaml +36 -0
- data/bridge/sdk-core/etc/prometheus.yaml +6 -0
- data/bridge/sdk-core/fsm/Cargo.toml +18 -0
- data/bridge/sdk-core/fsm/LICENSE.txt +23 -0
- data/bridge/sdk-core/fsm/README.md +3 -0
- data/bridge/sdk-core/fsm/rustfsm_procmacro/Cargo.toml +27 -0
- data/bridge/sdk-core/fsm/rustfsm_procmacro/LICENSE.txt +23 -0
- data/bridge/sdk-core/fsm/rustfsm_procmacro/src/lib.rs +647 -0
- data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/progress.rs +8 -0
- data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/trybuild/dupe_transitions_fail.rs +18 -0
- data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/trybuild/dupe_transitions_fail.stderr +12 -0
- data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/trybuild/dynamic_dest_pass.rs +41 -0
- data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/trybuild/forgot_name_fail.rs +14 -0
- data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/trybuild/forgot_name_fail.stderr +11 -0
- data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/trybuild/handler_arg_pass.rs +32 -0
- data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/trybuild/handler_pass.rs +31 -0
- data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/trybuild/medium_complex_pass.rs +46 -0
- data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/trybuild/no_handle_conversions_require_into_fail.rs +29 -0
- data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/trybuild/no_handle_conversions_require_into_fail.stderr +12 -0
- data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/trybuild/simple_pass.rs +32 -0
- data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/trybuild/struct_event_variant_fail.rs +18 -0
- data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/trybuild/struct_event_variant_fail.stderr +5 -0
- data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/trybuild/tuple_more_item_event_variant_fail.rs +11 -0
- data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/trybuild/tuple_more_item_event_variant_fail.stderr +5 -0
- data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/trybuild/tuple_zero_item_event_variant_fail.rs +11 -0
- data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/trybuild/tuple_zero_item_event_variant_fail.stderr +5 -0
- data/bridge/sdk-core/fsm/rustfsm_trait/Cargo.toml +14 -0
- data/bridge/sdk-core/fsm/rustfsm_trait/LICENSE.txt +23 -0
- data/bridge/sdk-core/fsm/rustfsm_trait/src/lib.rs +249 -0
- data/bridge/sdk-core/fsm/src/lib.rs +2 -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 +7 -0
- data/bridge/sdk-core/protos/api_upstream/README.md +9 -0
- data/bridge/sdk-core/protos/api_upstream/api-linter.yaml +40 -0
- data/bridge/sdk-core/protos/api_upstream/buf.yaml +12 -0
- data/bridge/sdk-core/protos/api_upstream/dependencies/gogoproto/gogo.proto +141 -0
- data/bridge/sdk-core/protos/api_upstream/temporal/api/batch/v1/message.proto +86 -0
- data/bridge/sdk-core/protos/api_upstream/temporal/api/cluster/v1/message.proto +83 -0
- data/bridge/sdk-core/protos/api_upstream/temporal/api/command/v1/message.proto +259 -0
- data/bridge/sdk-core/protos/api_upstream/temporal/api/common/v1/message.proto +112 -0
- data/bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/batch_operation.proto +46 -0
- data/bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/cluster.proto +40 -0
- data/bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/command_type.proto +57 -0
- data/bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/common.proto +55 -0
- data/bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/event_type.proto +168 -0
- data/bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/failed_cause.proto +97 -0
- data/bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/namespace.proto +51 -0
- data/bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/query.proto +50 -0
- data/bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/reset.proto +41 -0
- data/bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/schedule.proto +60 -0
- data/bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/task_queue.proto +59 -0
- data/bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/update.proto +51 -0
- data/bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/workflow.proto +122 -0
- data/bridge/sdk-core/protos/api_upstream/temporal/api/errordetails/v1/message.proto +108 -0
- data/bridge/sdk-core/protos/api_upstream/temporal/api/failure/v1/message.proto +114 -0
- data/bridge/sdk-core/protos/api_upstream/temporal/api/filter/v1/message.proto +56 -0
- data/bridge/sdk-core/protos/api_upstream/temporal/api/history/v1/message.proto +751 -0
- data/bridge/sdk-core/protos/api_upstream/temporal/api/namespace/v1/message.proto +97 -0
- data/bridge/sdk-core/protos/api_upstream/temporal/api/operatorservice/v1/request_response.proto +161 -0
- data/bridge/sdk-core/protos/api_upstream/temporal/api/operatorservice/v1/service.proto +99 -0
- data/bridge/sdk-core/protos/api_upstream/temporal/api/query/v1/message.proto +61 -0
- data/bridge/sdk-core/protos/api_upstream/temporal/api/replication/v1/message.proto +55 -0
- data/bridge/sdk-core/protos/api_upstream/temporal/api/schedule/v1/message.proto +300 -0
- data/bridge/sdk-core/protos/api_upstream/temporal/api/taskqueue/v1/message.proto +108 -0
- data/bridge/sdk-core/protos/api_upstream/temporal/api/update/v1/message.proto +46 -0
- data/bridge/sdk-core/protos/api_upstream/temporal/api/version/v1/message.proto +59 -0
- data/bridge/sdk-core/protos/api_upstream/temporal/api/workflow/v1/message.proto +145 -0
- data/bridge/sdk-core/protos/api_upstream/temporal/api/workflowservice/v1/request_response.proto +1124 -0
- data/bridge/sdk-core/protos/api_upstream/temporal/api/workflowservice/v1/service.proto +401 -0
- data/bridge/sdk-core/protos/grpc/health/v1/health.proto +63 -0
- data/bridge/sdk-core/protos/local/temporal/sdk/core/activity_result/activity_result.proto +78 -0
- data/bridge/sdk-core/protos/local/temporal/sdk/core/activity_task/activity_task.proto +79 -0
- data/bridge/sdk-core/protos/local/temporal/sdk/core/bridge/bridge.proto +210 -0
- data/bridge/sdk-core/protos/local/temporal/sdk/core/child_workflow/child_workflow.proto +77 -0
- data/bridge/sdk-core/protos/local/temporal/sdk/core/common/common.proto +15 -0
- data/bridge/sdk-core/protos/local/temporal/sdk/core/core_interface.proto +30 -0
- data/bridge/sdk-core/protos/local/temporal/sdk/core/external_data/external_data.proto +30 -0
- data/bridge/sdk-core/protos/local/temporal/sdk/core/workflow_activation/workflow_activation.proto +261 -0
- data/bridge/sdk-core/protos/local/temporal/sdk/core/workflow_commands/workflow_commands.proto +297 -0
- data/bridge/sdk-core/protos/local/temporal/sdk/core/workflow_completion/workflow_completion.proto +29 -0
- data/bridge/sdk-core/protos/testsrv_upstream/api-linter.yaml +38 -0
- data/bridge/sdk-core/protos/testsrv_upstream/buf.yaml +13 -0
- data/bridge/sdk-core/protos/testsrv_upstream/dependencies/gogoproto/gogo.proto +141 -0
- data/bridge/sdk-core/protos/testsrv_upstream/temporal/api/testservice/v1/request_response.proto +63 -0
- data/bridge/sdk-core/protos/testsrv_upstream/temporal/api/testservice/v1/service.proto +90 -0
- data/bridge/sdk-core/rustfmt.toml +1 -0
- data/bridge/sdk-core/sdk/Cargo.toml +47 -0
- data/bridge/sdk-core/sdk/LICENSE.txt +23 -0
- data/bridge/sdk-core/sdk/src/activity_context.rs +230 -0
- data/bridge/sdk-core/sdk/src/app_data.rs +37 -0
- data/bridge/sdk-core/sdk/src/conversions.rs +8 -0
- data/bridge/sdk-core/sdk/src/interceptors.rs +17 -0
- data/bridge/sdk-core/sdk/src/lib.rs +792 -0
- data/bridge/sdk-core/sdk/src/payload_converter.rs +11 -0
- data/bridge/sdk-core/sdk/src/workflow_context/options.rs +295 -0
- data/bridge/sdk-core/sdk/src/workflow_context.rs +683 -0
- data/bridge/sdk-core/sdk/src/workflow_future.rs +503 -0
- data/bridge/sdk-core/sdk-core-protos/Cargo.toml +30 -0
- data/bridge/sdk-core/sdk-core-protos/LICENSE.txt +23 -0
- data/bridge/sdk-core/sdk-core-protos/build.rs +108 -0
- data/bridge/sdk-core/sdk-core-protos/src/constants.rs +7 -0
- data/bridge/sdk-core/sdk-core-protos/src/history_builder.rs +497 -0
- data/bridge/sdk-core/sdk-core-protos/src/history_info.rs +230 -0
- data/bridge/sdk-core/sdk-core-protos/src/lib.rs +1910 -0
- data/bridge/sdk-core/sdk-core-protos/src/task_token.rs +38 -0
- data/bridge/sdk-core/sdk-core-protos/src/utilities.rs +14 -0
- data/bridge/sdk-core/test-utils/Cargo.toml +35 -0
- data/bridge/sdk-core/test-utils/src/canned_histories.rs +1579 -0
- data/bridge/sdk-core/test-utils/src/histfetch.rs +28 -0
- data/bridge/sdk-core/test-utils/src/lib.rs +598 -0
- data/bridge/sdk-core/tests/integ_tests/client_tests.rs +36 -0
- data/bridge/sdk-core/tests/integ_tests/ephemeral_server_tests.rs +128 -0
- data/bridge/sdk-core/tests/integ_tests/heartbeat_tests.rs +218 -0
- data/bridge/sdk-core/tests/integ_tests/polling_tests.rs +146 -0
- data/bridge/sdk-core/tests/integ_tests/queries_tests.rs +437 -0
- data/bridge/sdk-core/tests/integ_tests/visibility_tests.rs +93 -0
- data/bridge/sdk-core/tests/integ_tests/workflow_tests/activities.rs +878 -0
- data/bridge/sdk-core/tests/integ_tests/workflow_tests/appdata_propagation.rs +61 -0
- data/bridge/sdk-core/tests/integ_tests/workflow_tests/cancel_external.rs +59 -0
- data/bridge/sdk-core/tests/integ_tests/workflow_tests/cancel_wf.rs +58 -0
- data/bridge/sdk-core/tests/integ_tests/workflow_tests/child_workflows.rs +50 -0
- data/bridge/sdk-core/tests/integ_tests/workflow_tests/continue_as_new.rs +60 -0
- data/bridge/sdk-core/tests/integ_tests/workflow_tests/determinism.rs +54 -0
- data/bridge/sdk-core/tests/integ_tests/workflow_tests/local_activities.rs +634 -0
- data/bridge/sdk-core/tests/integ_tests/workflow_tests/patches.rs +113 -0
- data/bridge/sdk-core/tests/integ_tests/workflow_tests/replay.rs +137 -0
- data/bridge/sdk-core/tests/integ_tests/workflow_tests/resets.rs +93 -0
- data/bridge/sdk-core/tests/integ_tests/workflow_tests/signals.rs +167 -0
- data/bridge/sdk-core/tests/integ_tests/workflow_tests/stickyness.rs +99 -0
- data/bridge/sdk-core/tests/integ_tests/workflow_tests/timers.rs +131 -0
- data/bridge/sdk-core/tests/integ_tests/workflow_tests/upsert_search_attrs.rs +75 -0
- data/bridge/sdk-core/tests/integ_tests/workflow_tests.rs +587 -0
- data/bridge/sdk-core/tests/load_tests.rs +191 -0
- data/bridge/sdk-core/tests/main.rs +111 -0
- data/bridge/sdk-core/tests/runner.rs +93 -0
- data/bridge/src/connection.rs +167 -0
- data/bridge/src/lib.rs +180 -0
- data/bridge/src/runtime.rs +47 -0
- data/bridge/src/worker.rs +73 -0
- data/ext/Rakefile +9 -0
- data/lib/bridge.so +0 -0
- data/lib/gen/dependencies/gogoproto/gogo_pb.rb +14 -0
- data/lib/gen/temporal/api/batch/v1/message_pb.rb +48 -0
- data/lib/gen/temporal/api/cluster/v1/message_pb.rb +67 -0
- data/lib/gen/temporal/api/command/v1/message_pb.rb +166 -0
- data/lib/gen/temporal/api/common/v1/message_pb.rb +69 -0
- data/lib/gen/temporal/api/enums/v1/batch_operation_pb.rb +32 -0
- data/lib/gen/temporal/api/enums/v1/cluster_pb.rb +26 -0
- data/lib/gen/temporal/api/enums/v1/command_type_pb.rb +37 -0
- data/lib/gen/temporal/api/enums/v1/common_pb.rb +41 -0
- data/lib/gen/temporal/api/enums/v1/event_type_pb.rb +67 -0
- data/lib/gen/temporal/api/enums/v1/failed_cause_pb.rb +71 -0
- data/lib/gen/temporal/api/enums/v1/namespace_pb.rb +37 -0
- data/lib/gen/temporal/api/enums/v1/query_pb.rb +31 -0
- data/lib/gen/temporal/api/enums/v1/reset_pb.rb +24 -0
- data/lib/gen/temporal/api/enums/v1/schedule_pb.rb +28 -0
- data/lib/gen/temporal/api/enums/v1/task_queue_pb.rb +30 -0
- data/lib/gen/temporal/api/enums/v1/update_pb.rb +28 -0
- data/lib/gen/temporal/api/enums/v1/workflow_pb.rb +89 -0
- data/lib/gen/temporal/api/errordetails/v1/message_pb.rb +84 -0
- data/lib/gen/temporal/api/failure/v1/message_pb.rb +83 -0
- data/lib/gen/temporal/api/filter/v1/message_pb.rb +40 -0
- data/lib/gen/temporal/api/history/v1/message_pb.rb +489 -0
- data/lib/gen/temporal/api/namespace/v1/message_pb.rb +63 -0
- data/lib/gen/temporal/api/operatorservice/v1/request_response_pb.rb +125 -0
- data/lib/gen/temporal/api/operatorservice/v1/service_pb.rb +20 -0
- data/lib/gen/temporal/api/query/v1/message_pb.rb +38 -0
- data/lib/gen/temporal/api/replication/v1/message_pb.rb +37 -0
- data/lib/gen/temporal/api/schedule/v1/message_pb.rb +128 -0
- data/lib/gen/temporal/api/taskqueue/v1/message_pb.rb +73 -0
- data/lib/gen/temporal/api/update/v1/message_pb.rb +26 -0
- data/lib/gen/temporal/api/version/v1/message_pb.rb +41 -0
- data/lib/gen/temporal/api/workflow/v1/message_pb.rb +110 -0
- data/lib/gen/temporal/api/workflowservice/v1/request_response_pb.rb +771 -0
- data/lib/gen/temporal/api/workflowservice/v1/service_pb.rb +20 -0
- data/lib/gen/temporal/sdk/core/activity_result/activity_result_pb.rb +58 -0
- data/lib/gen/temporal/sdk/core/activity_task/activity_task_pb.rb +57 -0
- data/lib/gen/temporal/sdk/core/bridge/bridge_pb.rb +222 -0
- data/lib/gen/temporal/sdk/core/child_workflow/child_workflow_pb.rb +57 -0
- data/lib/gen/temporal/sdk/core/common/common_pb.rb +22 -0
- data/lib/gen/temporal/sdk/core/core_interface_pb.rb +34 -0
- data/lib/gen/temporal/sdk/core/external_data/external_data_pb.rb +27 -0
- data/lib/gen/temporal/sdk/core/workflow_activation/workflow_activation_pb.rb +164 -0
- data/lib/gen/temporal/sdk/core/workflow_commands/workflow_commands_pb.rb +192 -0
- data/lib/gen/temporal/sdk/core/workflow_completion/workflow_completion_pb.rb +34 -0
- data/lib/temporal/bridge.rb +14 -0
- data/lib/temporal/client/implementation.rb +339 -0
- data/lib/temporal/client/workflow_handle.rb +243 -0
- data/lib/temporal/client.rb +144 -0
- data/lib/temporal/connection.rb +736 -0
- data/lib/temporal/data_converter.rb +150 -0
- data/lib/temporal/error/failure.rb +194 -0
- data/lib/temporal/error/workflow_failure.rb +17 -0
- data/lib/temporal/errors.rb +22 -0
- data/lib/temporal/failure_converter/base.rb +26 -0
- data/lib/temporal/failure_converter/basic.rb +313 -0
- data/lib/temporal/failure_converter.rb +8 -0
- data/lib/temporal/interceptor/chain.rb +27 -0
- data/lib/temporal/interceptor/client.rb +102 -0
- data/lib/temporal/payload_codec/base.rb +32 -0
- data/lib/temporal/payload_converter/base.rb +24 -0
- data/lib/temporal/payload_converter/bytes.rb +26 -0
- data/lib/temporal/payload_converter/composite.rb +47 -0
- data/lib/temporal/payload_converter/encoding_base.rb +35 -0
- data/lib/temporal/payload_converter/json.rb +25 -0
- data/lib/temporal/payload_converter/nil.rb +25 -0
- data/lib/temporal/payload_converter.rb +14 -0
- data/lib/temporal/retry_policy.rb +82 -0
- data/lib/temporal/retry_state.rb +35 -0
- data/lib/temporal/runtime.rb +22 -0
- data/lib/temporal/timeout_type.rb +29 -0
- data/lib/temporal/version.rb +3 -0
- data/lib/temporal/workflow/execution_info.rb +54 -0
- data/lib/temporal/workflow/execution_status.rb +36 -0
- data/lib/temporal/workflow/id_reuse_policy.rb +36 -0
- data/lib/temporal/workflow/query_reject_condition.rb +33 -0
- data/lib/temporal.rb +8 -0
- data/lib/temporalio.rb +3 -0
- data/lib/thermite_patch.rb +23 -0
- data/temporalio.gemspec +41 -0
- metadata +583 -0
@@ -0,0 +1,489 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: temporal/api/history/v1/message.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'google/protobuf/duration_pb'
|
7
|
+
require 'google/protobuf/timestamp_pb'
|
8
|
+
require 'dependencies/gogoproto/gogo_pb'
|
9
|
+
require 'temporal/api/enums/v1/event_type_pb'
|
10
|
+
require 'temporal/api/enums/v1/failed_cause_pb'
|
11
|
+
require 'temporal/api/enums/v1/workflow_pb'
|
12
|
+
require 'temporal/api/common/v1/message_pb'
|
13
|
+
require 'temporal/api/failure/v1/message_pb'
|
14
|
+
require 'temporal/api/taskqueue/v1/message_pb'
|
15
|
+
require 'temporal/api/update/v1/message_pb'
|
16
|
+
require 'temporal/api/workflow/v1/message_pb'
|
17
|
+
|
18
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
19
|
+
add_file("temporal/api/history/v1/message.proto", :syntax => :proto3) do
|
20
|
+
add_message "temporal.api.history.v1.WorkflowExecutionStartedEventAttributes" do
|
21
|
+
optional :workflow_type, :message, 1, "temporal.api.common.v1.WorkflowType"
|
22
|
+
optional :parent_workflow_namespace, :string, 2
|
23
|
+
optional :parent_workflow_namespace_id, :string, 27
|
24
|
+
optional :parent_workflow_execution, :message, 3, "temporal.api.common.v1.WorkflowExecution"
|
25
|
+
optional :parent_initiated_event_id, :int64, 4
|
26
|
+
optional :task_queue, :message, 5, "temporal.api.taskqueue.v1.TaskQueue"
|
27
|
+
optional :input, :message, 6, "temporal.api.common.v1.Payloads"
|
28
|
+
optional :workflow_execution_timeout, :message, 7, "google.protobuf.Duration"
|
29
|
+
optional :workflow_run_timeout, :message, 8, "google.protobuf.Duration"
|
30
|
+
optional :workflow_task_timeout, :message, 9, "google.protobuf.Duration"
|
31
|
+
optional :continued_execution_run_id, :string, 10
|
32
|
+
optional :initiator, :enum, 11, "temporal.api.enums.v1.ContinueAsNewInitiator"
|
33
|
+
optional :continued_failure, :message, 12, "temporal.api.failure.v1.Failure"
|
34
|
+
optional :last_completion_result, :message, 13, "temporal.api.common.v1.Payloads"
|
35
|
+
optional :original_execution_run_id, :string, 14
|
36
|
+
optional :identity, :string, 15
|
37
|
+
optional :first_execution_run_id, :string, 16
|
38
|
+
optional :retry_policy, :message, 17, "temporal.api.common.v1.RetryPolicy"
|
39
|
+
optional :attempt, :int32, 18
|
40
|
+
optional :workflow_execution_expiration_time, :message, 19, "google.protobuf.Timestamp"
|
41
|
+
optional :cron_schedule, :string, 20
|
42
|
+
optional :first_workflow_task_backoff, :message, 21, "google.protobuf.Duration"
|
43
|
+
optional :memo, :message, 22, "temporal.api.common.v1.Memo"
|
44
|
+
optional :search_attributes, :message, 23, "temporal.api.common.v1.SearchAttributes"
|
45
|
+
optional :prev_auto_reset_points, :message, 24, "temporal.api.workflow.v1.ResetPoints"
|
46
|
+
optional :header, :message, 25, "temporal.api.common.v1.Header"
|
47
|
+
optional :parent_initiated_event_version, :int64, 26
|
48
|
+
end
|
49
|
+
add_message "temporal.api.history.v1.WorkflowExecutionCompletedEventAttributes" do
|
50
|
+
optional :result, :message, 1, "temporal.api.common.v1.Payloads"
|
51
|
+
optional :workflow_task_completed_event_id, :int64, 2
|
52
|
+
optional :new_execution_run_id, :string, 3
|
53
|
+
end
|
54
|
+
add_message "temporal.api.history.v1.WorkflowExecutionFailedEventAttributes" do
|
55
|
+
optional :failure, :message, 1, "temporal.api.failure.v1.Failure"
|
56
|
+
optional :retry_state, :enum, 2, "temporal.api.enums.v1.RetryState"
|
57
|
+
optional :workflow_task_completed_event_id, :int64, 3
|
58
|
+
optional :new_execution_run_id, :string, 4
|
59
|
+
end
|
60
|
+
add_message "temporal.api.history.v1.WorkflowExecutionTimedOutEventAttributes" do
|
61
|
+
optional :retry_state, :enum, 1, "temporal.api.enums.v1.RetryState"
|
62
|
+
optional :new_execution_run_id, :string, 2
|
63
|
+
end
|
64
|
+
add_message "temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes" do
|
65
|
+
optional :new_execution_run_id, :string, 1
|
66
|
+
optional :workflow_type, :message, 2, "temporal.api.common.v1.WorkflowType"
|
67
|
+
optional :task_queue, :message, 3, "temporal.api.taskqueue.v1.TaskQueue"
|
68
|
+
optional :input, :message, 4, "temporal.api.common.v1.Payloads"
|
69
|
+
optional :workflow_run_timeout, :message, 5, "google.protobuf.Duration"
|
70
|
+
optional :workflow_task_timeout, :message, 6, "google.protobuf.Duration"
|
71
|
+
optional :workflow_task_completed_event_id, :int64, 7
|
72
|
+
optional :backoff_start_interval, :message, 8, "google.protobuf.Duration"
|
73
|
+
optional :initiator, :enum, 9, "temporal.api.enums.v1.ContinueAsNewInitiator"
|
74
|
+
optional :failure, :message, 10, "temporal.api.failure.v1.Failure"
|
75
|
+
optional :last_completion_result, :message, 11, "temporal.api.common.v1.Payloads"
|
76
|
+
optional :header, :message, 12, "temporal.api.common.v1.Header"
|
77
|
+
optional :memo, :message, 13, "temporal.api.common.v1.Memo"
|
78
|
+
optional :search_attributes, :message, 14, "temporal.api.common.v1.SearchAttributes"
|
79
|
+
end
|
80
|
+
add_message "temporal.api.history.v1.WorkflowTaskScheduledEventAttributes" do
|
81
|
+
optional :task_queue, :message, 1, "temporal.api.taskqueue.v1.TaskQueue"
|
82
|
+
optional :start_to_close_timeout, :message, 2, "google.protobuf.Duration"
|
83
|
+
optional :attempt, :int32, 3
|
84
|
+
end
|
85
|
+
add_message "temporal.api.history.v1.WorkflowTaskStartedEventAttributes" do
|
86
|
+
optional :scheduled_event_id, :int64, 1
|
87
|
+
optional :identity, :string, 2
|
88
|
+
optional :request_id, :string, 3
|
89
|
+
optional :suggest_continue_as_new, :bool, 4
|
90
|
+
optional :history_size_bytes, :int64, 5
|
91
|
+
end
|
92
|
+
add_message "temporal.api.history.v1.WorkflowTaskCompletedEventAttributes" do
|
93
|
+
optional :scheduled_event_id, :int64, 1
|
94
|
+
optional :started_event_id, :int64, 2
|
95
|
+
optional :identity, :string, 3
|
96
|
+
optional :binary_checksum, :string, 4
|
97
|
+
end
|
98
|
+
add_message "temporal.api.history.v1.WorkflowTaskTimedOutEventAttributes" do
|
99
|
+
optional :scheduled_event_id, :int64, 1
|
100
|
+
optional :started_event_id, :int64, 2
|
101
|
+
optional :timeout_type, :enum, 3, "temporal.api.enums.v1.TimeoutType"
|
102
|
+
end
|
103
|
+
add_message "temporal.api.history.v1.WorkflowTaskFailedEventAttributes" do
|
104
|
+
optional :scheduled_event_id, :int64, 1
|
105
|
+
optional :started_event_id, :int64, 2
|
106
|
+
optional :cause, :enum, 3, "temporal.api.enums.v1.WorkflowTaskFailedCause"
|
107
|
+
optional :failure, :message, 4, "temporal.api.failure.v1.Failure"
|
108
|
+
optional :identity, :string, 5
|
109
|
+
optional :base_run_id, :string, 6
|
110
|
+
optional :new_run_id, :string, 7
|
111
|
+
optional :fork_event_version, :int64, 8
|
112
|
+
optional :binary_checksum, :string, 9
|
113
|
+
end
|
114
|
+
add_message "temporal.api.history.v1.ActivityTaskScheduledEventAttributes" do
|
115
|
+
optional :activity_id, :string, 1
|
116
|
+
optional :activity_type, :message, 2, "temporal.api.common.v1.ActivityType"
|
117
|
+
optional :task_queue, :message, 4, "temporal.api.taskqueue.v1.TaskQueue"
|
118
|
+
optional :header, :message, 5, "temporal.api.common.v1.Header"
|
119
|
+
optional :input, :message, 6, "temporal.api.common.v1.Payloads"
|
120
|
+
optional :schedule_to_close_timeout, :message, 7, "google.protobuf.Duration"
|
121
|
+
optional :schedule_to_start_timeout, :message, 8, "google.protobuf.Duration"
|
122
|
+
optional :start_to_close_timeout, :message, 9, "google.protobuf.Duration"
|
123
|
+
optional :heartbeat_timeout, :message, 10, "google.protobuf.Duration"
|
124
|
+
optional :workflow_task_completed_event_id, :int64, 11
|
125
|
+
optional :retry_policy, :message, 12, "temporal.api.common.v1.RetryPolicy"
|
126
|
+
end
|
127
|
+
add_message "temporal.api.history.v1.ActivityTaskStartedEventAttributes" do
|
128
|
+
optional :scheduled_event_id, :int64, 1
|
129
|
+
optional :identity, :string, 2
|
130
|
+
optional :request_id, :string, 3
|
131
|
+
optional :attempt, :int32, 4
|
132
|
+
optional :last_failure, :message, 5, "temporal.api.failure.v1.Failure"
|
133
|
+
end
|
134
|
+
add_message "temporal.api.history.v1.ActivityTaskCompletedEventAttributes" do
|
135
|
+
optional :result, :message, 1, "temporal.api.common.v1.Payloads"
|
136
|
+
optional :scheduled_event_id, :int64, 2
|
137
|
+
optional :started_event_id, :int64, 3
|
138
|
+
optional :identity, :string, 4
|
139
|
+
end
|
140
|
+
add_message "temporal.api.history.v1.ActivityTaskFailedEventAttributes" do
|
141
|
+
optional :failure, :message, 1, "temporal.api.failure.v1.Failure"
|
142
|
+
optional :scheduled_event_id, :int64, 2
|
143
|
+
optional :started_event_id, :int64, 3
|
144
|
+
optional :identity, :string, 4
|
145
|
+
optional :retry_state, :enum, 5, "temporal.api.enums.v1.RetryState"
|
146
|
+
end
|
147
|
+
add_message "temporal.api.history.v1.ActivityTaskTimedOutEventAttributes" do
|
148
|
+
optional :failure, :message, 1, "temporal.api.failure.v1.Failure"
|
149
|
+
optional :scheduled_event_id, :int64, 2
|
150
|
+
optional :started_event_id, :int64, 3
|
151
|
+
optional :retry_state, :enum, 4, "temporal.api.enums.v1.RetryState"
|
152
|
+
end
|
153
|
+
add_message "temporal.api.history.v1.ActivityTaskCancelRequestedEventAttributes" do
|
154
|
+
optional :scheduled_event_id, :int64, 1
|
155
|
+
optional :workflow_task_completed_event_id, :int64, 2
|
156
|
+
end
|
157
|
+
add_message "temporal.api.history.v1.ActivityTaskCanceledEventAttributes" do
|
158
|
+
optional :details, :message, 1, "temporal.api.common.v1.Payloads"
|
159
|
+
optional :latest_cancel_requested_event_id, :int64, 2
|
160
|
+
optional :scheduled_event_id, :int64, 3
|
161
|
+
optional :started_event_id, :int64, 4
|
162
|
+
optional :identity, :string, 5
|
163
|
+
end
|
164
|
+
add_message "temporal.api.history.v1.TimerStartedEventAttributes" do
|
165
|
+
optional :timer_id, :string, 1
|
166
|
+
optional :start_to_fire_timeout, :message, 2, "google.protobuf.Duration"
|
167
|
+
optional :workflow_task_completed_event_id, :int64, 3
|
168
|
+
end
|
169
|
+
add_message "temporal.api.history.v1.TimerFiredEventAttributes" do
|
170
|
+
optional :timer_id, :string, 1
|
171
|
+
optional :started_event_id, :int64, 2
|
172
|
+
end
|
173
|
+
add_message "temporal.api.history.v1.TimerCanceledEventAttributes" do
|
174
|
+
optional :timer_id, :string, 1
|
175
|
+
optional :started_event_id, :int64, 2
|
176
|
+
optional :workflow_task_completed_event_id, :int64, 3
|
177
|
+
optional :identity, :string, 4
|
178
|
+
end
|
179
|
+
add_message "temporal.api.history.v1.WorkflowExecutionCancelRequestedEventAttributes" do
|
180
|
+
optional :cause, :string, 1
|
181
|
+
optional :external_initiated_event_id, :int64, 2
|
182
|
+
optional :external_workflow_execution, :message, 3, "temporal.api.common.v1.WorkflowExecution"
|
183
|
+
optional :identity, :string, 4
|
184
|
+
end
|
185
|
+
add_message "temporal.api.history.v1.WorkflowExecutionCanceledEventAttributes" do
|
186
|
+
optional :workflow_task_completed_event_id, :int64, 1
|
187
|
+
optional :details, :message, 2, "temporal.api.common.v1.Payloads"
|
188
|
+
end
|
189
|
+
add_message "temporal.api.history.v1.MarkerRecordedEventAttributes" do
|
190
|
+
optional :marker_name, :string, 1
|
191
|
+
map :details, :string, :message, 2, "temporal.api.common.v1.Payloads"
|
192
|
+
optional :workflow_task_completed_event_id, :int64, 3
|
193
|
+
optional :header, :message, 4, "temporal.api.common.v1.Header"
|
194
|
+
optional :failure, :message, 5, "temporal.api.failure.v1.Failure"
|
195
|
+
end
|
196
|
+
add_message "temporal.api.history.v1.WorkflowExecutionSignaledEventAttributes" do
|
197
|
+
optional :signal_name, :string, 1
|
198
|
+
optional :input, :message, 2, "temporal.api.common.v1.Payloads"
|
199
|
+
optional :identity, :string, 3
|
200
|
+
optional :header, :message, 4, "temporal.api.common.v1.Header"
|
201
|
+
end
|
202
|
+
add_message "temporal.api.history.v1.WorkflowExecutionTerminatedEventAttributes" do
|
203
|
+
optional :reason, :string, 1
|
204
|
+
optional :details, :message, 2, "temporal.api.common.v1.Payloads"
|
205
|
+
optional :identity, :string, 3
|
206
|
+
end
|
207
|
+
add_message "temporal.api.history.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes" do
|
208
|
+
optional :workflow_task_completed_event_id, :int64, 1
|
209
|
+
optional :namespace, :string, 2
|
210
|
+
optional :namespace_id, :string, 7
|
211
|
+
optional :workflow_execution, :message, 3, "temporal.api.common.v1.WorkflowExecution"
|
212
|
+
optional :control, :string, 4
|
213
|
+
optional :child_workflow_only, :bool, 5
|
214
|
+
optional :reason, :string, 6
|
215
|
+
end
|
216
|
+
add_message "temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributes" do
|
217
|
+
optional :cause, :enum, 1, "temporal.api.enums.v1.CancelExternalWorkflowExecutionFailedCause"
|
218
|
+
optional :workflow_task_completed_event_id, :int64, 2
|
219
|
+
optional :namespace, :string, 3
|
220
|
+
optional :namespace_id, :string, 7
|
221
|
+
optional :workflow_execution, :message, 4, "temporal.api.common.v1.WorkflowExecution"
|
222
|
+
optional :initiated_event_id, :int64, 5
|
223
|
+
optional :control, :string, 6
|
224
|
+
end
|
225
|
+
add_message "temporal.api.history.v1.ExternalWorkflowExecutionCancelRequestedEventAttributes" do
|
226
|
+
optional :initiated_event_id, :int64, 1
|
227
|
+
optional :namespace, :string, 2
|
228
|
+
optional :namespace_id, :string, 4
|
229
|
+
optional :workflow_execution, :message, 3, "temporal.api.common.v1.WorkflowExecution"
|
230
|
+
end
|
231
|
+
add_message "temporal.api.history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributes" do
|
232
|
+
optional :workflow_task_completed_event_id, :int64, 1
|
233
|
+
optional :namespace, :string, 2
|
234
|
+
optional :namespace_id, :string, 9
|
235
|
+
optional :workflow_execution, :message, 3, "temporal.api.common.v1.WorkflowExecution"
|
236
|
+
optional :signal_name, :string, 4
|
237
|
+
optional :input, :message, 5, "temporal.api.common.v1.Payloads"
|
238
|
+
optional :control, :string, 6
|
239
|
+
optional :child_workflow_only, :bool, 7
|
240
|
+
optional :header, :message, 8, "temporal.api.common.v1.Header"
|
241
|
+
end
|
242
|
+
add_message "temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributes" do
|
243
|
+
optional :cause, :enum, 1, "temporal.api.enums.v1.SignalExternalWorkflowExecutionFailedCause"
|
244
|
+
optional :workflow_task_completed_event_id, :int64, 2
|
245
|
+
optional :namespace, :string, 3
|
246
|
+
optional :namespace_id, :string, 7
|
247
|
+
optional :workflow_execution, :message, 4, "temporal.api.common.v1.WorkflowExecution"
|
248
|
+
optional :initiated_event_id, :int64, 5
|
249
|
+
optional :control, :string, 6
|
250
|
+
end
|
251
|
+
add_message "temporal.api.history.v1.ExternalWorkflowExecutionSignaledEventAttributes" do
|
252
|
+
optional :initiated_event_id, :int64, 1
|
253
|
+
optional :namespace, :string, 2
|
254
|
+
optional :namespace_id, :string, 5
|
255
|
+
optional :workflow_execution, :message, 3, "temporal.api.common.v1.WorkflowExecution"
|
256
|
+
optional :control, :string, 4
|
257
|
+
end
|
258
|
+
add_message "temporal.api.history.v1.UpsertWorkflowSearchAttributesEventAttributes" do
|
259
|
+
optional :workflow_task_completed_event_id, :int64, 1
|
260
|
+
optional :search_attributes, :message, 2, "temporal.api.common.v1.SearchAttributes"
|
261
|
+
end
|
262
|
+
add_message "temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributes" do
|
263
|
+
optional :namespace, :string, 1
|
264
|
+
optional :namespace_id, :string, 18
|
265
|
+
optional :workflow_id, :string, 2
|
266
|
+
optional :workflow_type, :message, 3, "temporal.api.common.v1.WorkflowType"
|
267
|
+
optional :task_queue, :message, 4, "temporal.api.taskqueue.v1.TaskQueue"
|
268
|
+
optional :input, :message, 5, "temporal.api.common.v1.Payloads"
|
269
|
+
optional :workflow_execution_timeout, :message, 6, "google.protobuf.Duration"
|
270
|
+
optional :workflow_run_timeout, :message, 7, "google.protobuf.Duration"
|
271
|
+
optional :workflow_task_timeout, :message, 8, "google.protobuf.Duration"
|
272
|
+
optional :parent_close_policy, :enum, 9, "temporal.api.enums.v1.ParentClosePolicy"
|
273
|
+
optional :control, :string, 10
|
274
|
+
optional :workflow_task_completed_event_id, :int64, 11
|
275
|
+
optional :workflow_id_reuse_policy, :enum, 12, "temporal.api.enums.v1.WorkflowIdReusePolicy"
|
276
|
+
optional :retry_policy, :message, 13, "temporal.api.common.v1.RetryPolicy"
|
277
|
+
optional :cron_schedule, :string, 14
|
278
|
+
optional :header, :message, 15, "temporal.api.common.v1.Header"
|
279
|
+
optional :memo, :message, 16, "temporal.api.common.v1.Memo"
|
280
|
+
optional :search_attributes, :message, 17, "temporal.api.common.v1.SearchAttributes"
|
281
|
+
end
|
282
|
+
add_message "temporal.api.history.v1.StartChildWorkflowExecutionFailedEventAttributes" do
|
283
|
+
optional :namespace, :string, 1
|
284
|
+
optional :namespace_id, :string, 8
|
285
|
+
optional :workflow_id, :string, 2
|
286
|
+
optional :workflow_type, :message, 3, "temporal.api.common.v1.WorkflowType"
|
287
|
+
optional :cause, :enum, 4, "temporal.api.enums.v1.StartChildWorkflowExecutionFailedCause"
|
288
|
+
optional :control, :string, 5
|
289
|
+
optional :initiated_event_id, :int64, 6
|
290
|
+
optional :workflow_task_completed_event_id, :int64, 7
|
291
|
+
end
|
292
|
+
add_message "temporal.api.history.v1.ChildWorkflowExecutionStartedEventAttributes" do
|
293
|
+
optional :namespace, :string, 1
|
294
|
+
optional :namespace_id, :string, 6
|
295
|
+
optional :initiated_event_id, :int64, 2
|
296
|
+
optional :workflow_execution, :message, 3, "temporal.api.common.v1.WorkflowExecution"
|
297
|
+
optional :workflow_type, :message, 4, "temporal.api.common.v1.WorkflowType"
|
298
|
+
optional :header, :message, 5, "temporal.api.common.v1.Header"
|
299
|
+
end
|
300
|
+
add_message "temporal.api.history.v1.ChildWorkflowExecutionCompletedEventAttributes" do
|
301
|
+
optional :result, :message, 1, "temporal.api.common.v1.Payloads"
|
302
|
+
optional :namespace, :string, 2
|
303
|
+
optional :namespace_id, :string, 7
|
304
|
+
optional :workflow_execution, :message, 3, "temporal.api.common.v1.WorkflowExecution"
|
305
|
+
optional :workflow_type, :message, 4, "temporal.api.common.v1.WorkflowType"
|
306
|
+
optional :initiated_event_id, :int64, 5
|
307
|
+
optional :started_event_id, :int64, 6
|
308
|
+
end
|
309
|
+
add_message "temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributes" do
|
310
|
+
optional :failure, :message, 1, "temporal.api.failure.v1.Failure"
|
311
|
+
optional :namespace, :string, 2
|
312
|
+
optional :namespace_id, :string, 8
|
313
|
+
optional :workflow_execution, :message, 3, "temporal.api.common.v1.WorkflowExecution"
|
314
|
+
optional :workflow_type, :message, 4, "temporal.api.common.v1.WorkflowType"
|
315
|
+
optional :initiated_event_id, :int64, 5
|
316
|
+
optional :started_event_id, :int64, 6
|
317
|
+
optional :retry_state, :enum, 7, "temporal.api.enums.v1.RetryState"
|
318
|
+
end
|
319
|
+
add_message "temporal.api.history.v1.ChildWorkflowExecutionCanceledEventAttributes" do
|
320
|
+
optional :details, :message, 1, "temporal.api.common.v1.Payloads"
|
321
|
+
optional :namespace, :string, 2
|
322
|
+
optional :namespace_id, :string, 7
|
323
|
+
optional :workflow_execution, :message, 3, "temporal.api.common.v1.WorkflowExecution"
|
324
|
+
optional :workflow_type, :message, 4, "temporal.api.common.v1.WorkflowType"
|
325
|
+
optional :initiated_event_id, :int64, 5
|
326
|
+
optional :started_event_id, :int64, 6
|
327
|
+
end
|
328
|
+
add_message "temporal.api.history.v1.ChildWorkflowExecutionTimedOutEventAttributes" do
|
329
|
+
optional :namespace, :string, 1
|
330
|
+
optional :namespace_id, :string, 7
|
331
|
+
optional :workflow_execution, :message, 2, "temporal.api.common.v1.WorkflowExecution"
|
332
|
+
optional :workflow_type, :message, 3, "temporal.api.common.v1.WorkflowType"
|
333
|
+
optional :initiated_event_id, :int64, 4
|
334
|
+
optional :started_event_id, :int64, 5
|
335
|
+
optional :retry_state, :enum, 6, "temporal.api.enums.v1.RetryState"
|
336
|
+
end
|
337
|
+
add_message "temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes" do
|
338
|
+
optional :namespace, :string, 1
|
339
|
+
optional :namespace_id, :string, 6
|
340
|
+
optional :workflow_execution, :message, 2, "temporal.api.common.v1.WorkflowExecution"
|
341
|
+
optional :workflow_type, :message, 3, "temporal.api.common.v1.WorkflowType"
|
342
|
+
optional :initiated_event_id, :int64, 4
|
343
|
+
optional :started_event_id, :int64, 5
|
344
|
+
end
|
345
|
+
add_message "temporal.api.history.v1.WorkflowUpdateRequestedEventAttributes" do
|
346
|
+
optional :header, :message, 1, "temporal.api.common.v1.Header"
|
347
|
+
optional :request_id, :string, 2
|
348
|
+
optional :update_id, :string, 3
|
349
|
+
optional :update, :message, 4, "temporal.api.update.v1.WorkflowUpdate"
|
350
|
+
end
|
351
|
+
add_message "temporal.api.history.v1.WorkflowUpdateAcceptedEventAttributes" do
|
352
|
+
optional :header, :message, 1, "temporal.api.common.v1.Header"
|
353
|
+
optional :update_id, :string, 2
|
354
|
+
end
|
355
|
+
add_message "temporal.api.history.v1.WorkflowUpdateCompletedEventAttributes" do
|
356
|
+
optional :system_header, :message, 1, "temporal.api.common.v1.Header"
|
357
|
+
optional :update_id, :string, 3
|
358
|
+
oneof :result do
|
359
|
+
optional :success, :message, 4, "temporal.api.common.v1.Payloads"
|
360
|
+
optional :failure, :message, 5, "temporal.api.failure.v1.Failure"
|
361
|
+
end
|
362
|
+
end
|
363
|
+
add_message "temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributes" do
|
364
|
+
optional :new_task_queue, :string, 1
|
365
|
+
optional :new_workflow_task_timeout, :message, 2, "google.protobuf.Duration"
|
366
|
+
optional :new_workflow_run_timeout, :message, 3, "google.protobuf.Duration"
|
367
|
+
optional :new_workflow_execution_timeout, :message, 4, "google.protobuf.Duration"
|
368
|
+
optional :upserted_memo, :message, 5, "temporal.api.common.v1.Memo"
|
369
|
+
end
|
370
|
+
add_message "temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributes" do
|
371
|
+
optional :scheduled_event_id, :int64, 1
|
372
|
+
optional :new_retry_policy, :message, 2, "temporal.api.common.v1.RetryPolicy"
|
373
|
+
end
|
374
|
+
add_message "temporal.api.history.v1.HistoryEvent" do
|
375
|
+
optional :event_id, :int64, 1
|
376
|
+
optional :event_time, :message, 2, "google.protobuf.Timestamp"
|
377
|
+
optional :event_type, :enum, 3, "temporal.api.enums.v1.EventType"
|
378
|
+
optional :version, :int64, 4
|
379
|
+
optional :task_id, :int64, 5
|
380
|
+
optional :worker_may_ignore, :bool, 300
|
381
|
+
oneof :attributes do
|
382
|
+
optional :workflow_execution_started_event_attributes, :message, 6, "temporal.api.history.v1.WorkflowExecutionStartedEventAttributes"
|
383
|
+
optional :workflow_execution_completed_event_attributes, :message, 7, "temporal.api.history.v1.WorkflowExecutionCompletedEventAttributes"
|
384
|
+
optional :workflow_execution_failed_event_attributes, :message, 8, "temporal.api.history.v1.WorkflowExecutionFailedEventAttributes"
|
385
|
+
optional :workflow_execution_timed_out_event_attributes, :message, 9, "temporal.api.history.v1.WorkflowExecutionTimedOutEventAttributes"
|
386
|
+
optional :workflow_task_scheduled_event_attributes, :message, 10, "temporal.api.history.v1.WorkflowTaskScheduledEventAttributes"
|
387
|
+
optional :workflow_task_started_event_attributes, :message, 11, "temporal.api.history.v1.WorkflowTaskStartedEventAttributes"
|
388
|
+
optional :workflow_task_completed_event_attributes, :message, 12, "temporal.api.history.v1.WorkflowTaskCompletedEventAttributes"
|
389
|
+
optional :workflow_task_timed_out_event_attributes, :message, 13, "temporal.api.history.v1.WorkflowTaskTimedOutEventAttributes"
|
390
|
+
optional :workflow_task_failed_event_attributes, :message, 14, "temporal.api.history.v1.WorkflowTaskFailedEventAttributes"
|
391
|
+
optional :activity_task_scheduled_event_attributes, :message, 15, "temporal.api.history.v1.ActivityTaskScheduledEventAttributes"
|
392
|
+
optional :activity_task_started_event_attributes, :message, 16, "temporal.api.history.v1.ActivityTaskStartedEventAttributes"
|
393
|
+
optional :activity_task_completed_event_attributes, :message, 17, "temporal.api.history.v1.ActivityTaskCompletedEventAttributes"
|
394
|
+
optional :activity_task_failed_event_attributes, :message, 18, "temporal.api.history.v1.ActivityTaskFailedEventAttributes"
|
395
|
+
optional :activity_task_timed_out_event_attributes, :message, 19, "temporal.api.history.v1.ActivityTaskTimedOutEventAttributes"
|
396
|
+
optional :timer_started_event_attributes, :message, 20, "temporal.api.history.v1.TimerStartedEventAttributes"
|
397
|
+
optional :timer_fired_event_attributes, :message, 21, "temporal.api.history.v1.TimerFiredEventAttributes"
|
398
|
+
optional :activity_task_cancel_requested_event_attributes, :message, 22, "temporal.api.history.v1.ActivityTaskCancelRequestedEventAttributes"
|
399
|
+
optional :activity_task_canceled_event_attributes, :message, 23, "temporal.api.history.v1.ActivityTaskCanceledEventAttributes"
|
400
|
+
optional :timer_canceled_event_attributes, :message, 24, "temporal.api.history.v1.TimerCanceledEventAttributes"
|
401
|
+
optional :marker_recorded_event_attributes, :message, 25, "temporal.api.history.v1.MarkerRecordedEventAttributes"
|
402
|
+
optional :workflow_execution_signaled_event_attributes, :message, 26, "temporal.api.history.v1.WorkflowExecutionSignaledEventAttributes"
|
403
|
+
optional :workflow_execution_terminated_event_attributes, :message, 27, "temporal.api.history.v1.WorkflowExecutionTerminatedEventAttributes"
|
404
|
+
optional :workflow_execution_cancel_requested_event_attributes, :message, 28, "temporal.api.history.v1.WorkflowExecutionCancelRequestedEventAttributes"
|
405
|
+
optional :workflow_execution_canceled_event_attributes, :message, 29, "temporal.api.history.v1.WorkflowExecutionCanceledEventAttributes"
|
406
|
+
optional :request_cancel_external_workflow_execution_initiated_event_attributes, :message, 30, "temporal.api.history.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes"
|
407
|
+
optional :request_cancel_external_workflow_execution_failed_event_attributes, :message, 31, "temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributes"
|
408
|
+
optional :external_workflow_execution_cancel_requested_event_attributes, :message, 32, "temporal.api.history.v1.ExternalWorkflowExecutionCancelRequestedEventAttributes"
|
409
|
+
optional :workflow_execution_continued_as_new_event_attributes, :message, 33, "temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes"
|
410
|
+
optional :start_child_workflow_execution_initiated_event_attributes, :message, 34, "temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributes"
|
411
|
+
optional :start_child_workflow_execution_failed_event_attributes, :message, 35, "temporal.api.history.v1.StartChildWorkflowExecutionFailedEventAttributes"
|
412
|
+
optional :child_workflow_execution_started_event_attributes, :message, 36, "temporal.api.history.v1.ChildWorkflowExecutionStartedEventAttributes"
|
413
|
+
optional :child_workflow_execution_completed_event_attributes, :message, 37, "temporal.api.history.v1.ChildWorkflowExecutionCompletedEventAttributes"
|
414
|
+
optional :child_workflow_execution_failed_event_attributes, :message, 38, "temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributes"
|
415
|
+
optional :child_workflow_execution_canceled_event_attributes, :message, 39, "temporal.api.history.v1.ChildWorkflowExecutionCanceledEventAttributes"
|
416
|
+
optional :child_workflow_execution_timed_out_event_attributes, :message, 40, "temporal.api.history.v1.ChildWorkflowExecutionTimedOutEventAttributes"
|
417
|
+
optional :child_workflow_execution_terminated_event_attributes, :message, 41, "temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes"
|
418
|
+
optional :signal_external_workflow_execution_initiated_event_attributes, :message, 42, "temporal.api.history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributes"
|
419
|
+
optional :signal_external_workflow_execution_failed_event_attributes, :message, 43, "temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributes"
|
420
|
+
optional :external_workflow_execution_signaled_event_attributes, :message, 44, "temporal.api.history.v1.ExternalWorkflowExecutionSignaledEventAttributes"
|
421
|
+
optional :upsert_workflow_search_attributes_event_attributes, :message, 45, "temporal.api.history.v1.UpsertWorkflowSearchAttributesEventAttributes"
|
422
|
+
optional :workflow_update_requested_event_attributes, :message, 46, "temporal.api.history.v1.WorkflowUpdateRequestedEventAttributes"
|
423
|
+
optional :workflow_update_accepted_event_attributes, :message, 47, "temporal.api.history.v1.WorkflowUpdateAcceptedEventAttributes"
|
424
|
+
optional :workflow_update_completed_event_attributes, :message, 48, "temporal.api.history.v1.WorkflowUpdateCompletedEventAttributes"
|
425
|
+
optional :workflow_properties_modified_externally_event_attributes, :message, 49, "temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributes"
|
426
|
+
optional :activity_properties_modified_externally_event_attributes, :message, 50, "temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributes"
|
427
|
+
end
|
428
|
+
end
|
429
|
+
add_message "temporal.api.history.v1.History" do
|
430
|
+
repeated :events, :message, 1, "temporal.api.history.v1.HistoryEvent"
|
431
|
+
end
|
432
|
+
end
|
433
|
+
end
|
434
|
+
|
435
|
+
module Temporal
|
436
|
+
module Api
|
437
|
+
module History
|
438
|
+
module V1
|
439
|
+
WorkflowExecutionStartedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.WorkflowExecutionStartedEventAttributes").msgclass
|
440
|
+
WorkflowExecutionCompletedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.WorkflowExecutionCompletedEventAttributes").msgclass
|
441
|
+
WorkflowExecutionFailedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.WorkflowExecutionFailedEventAttributes").msgclass
|
442
|
+
WorkflowExecutionTimedOutEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.WorkflowExecutionTimedOutEventAttributes").msgclass
|
443
|
+
WorkflowExecutionContinuedAsNewEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes").msgclass
|
444
|
+
WorkflowTaskScheduledEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.WorkflowTaskScheduledEventAttributes").msgclass
|
445
|
+
WorkflowTaskStartedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.WorkflowTaskStartedEventAttributes").msgclass
|
446
|
+
WorkflowTaskCompletedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.WorkflowTaskCompletedEventAttributes").msgclass
|
447
|
+
WorkflowTaskTimedOutEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.WorkflowTaskTimedOutEventAttributes").msgclass
|
448
|
+
WorkflowTaskFailedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.WorkflowTaskFailedEventAttributes").msgclass
|
449
|
+
ActivityTaskScheduledEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.ActivityTaskScheduledEventAttributes").msgclass
|
450
|
+
ActivityTaskStartedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.ActivityTaskStartedEventAttributes").msgclass
|
451
|
+
ActivityTaskCompletedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.ActivityTaskCompletedEventAttributes").msgclass
|
452
|
+
ActivityTaskFailedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.ActivityTaskFailedEventAttributes").msgclass
|
453
|
+
ActivityTaskTimedOutEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.ActivityTaskTimedOutEventAttributes").msgclass
|
454
|
+
ActivityTaskCancelRequestedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.ActivityTaskCancelRequestedEventAttributes").msgclass
|
455
|
+
ActivityTaskCanceledEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.ActivityTaskCanceledEventAttributes").msgclass
|
456
|
+
TimerStartedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.TimerStartedEventAttributes").msgclass
|
457
|
+
TimerFiredEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.TimerFiredEventAttributes").msgclass
|
458
|
+
TimerCanceledEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.TimerCanceledEventAttributes").msgclass
|
459
|
+
WorkflowExecutionCancelRequestedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.WorkflowExecutionCancelRequestedEventAttributes").msgclass
|
460
|
+
WorkflowExecutionCanceledEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.WorkflowExecutionCanceledEventAttributes").msgclass
|
461
|
+
MarkerRecordedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.MarkerRecordedEventAttributes").msgclass
|
462
|
+
WorkflowExecutionSignaledEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.WorkflowExecutionSignaledEventAttributes").msgclass
|
463
|
+
WorkflowExecutionTerminatedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.WorkflowExecutionTerminatedEventAttributes").msgclass
|
464
|
+
RequestCancelExternalWorkflowExecutionInitiatedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes").msgclass
|
465
|
+
RequestCancelExternalWorkflowExecutionFailedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributes").msgclass
|
466
|
+
ExternalWorkflowExecutionCancelRequestedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.ExternalWorkflowExecutionCancelRequestedEventAttributes").msgclass
|
467
|
+
SignalExternalWorkflowExecutionInitiatedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributes").msgclass
|
468
|
+
SignalExternalWorkflowExecutionFailedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributes").msgclass
|
469
|
+
ExternalWorkflowExecutionSignaledEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.ExternalWorkflowExecutionSignaledEventAttributes").msgclass
|
470
|
+
UpsertWorkflowSearchAttributesEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.UpsertWorkflowSearchAttributesEventAttributes").msgclass
|
471
|
+
StartChildWorkflowExecutionInitiatedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributes").msgclass
|
472
|
+
StartChildWorkflowExecutionFailedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.StartChildWorkflowExecutionFailedEventAttributes").msgclass
|
473
|
+
ChildWorkflowExecutionStartedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.ChildWorkflowExecutionStartedEventAttributes").msgclass
|
474
|
+
ChildWorkflowExecutionCompletedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.ChildWorkflowExecutionCompletedEventAttributes").msgclass
|
475
|
+
ChildWorkflowExecutionFailedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributes").msgclass
|
476
|
+
ChildWorkflowExecutionCanceledEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.ChildWorkflowExecutionCanceledEventAttributes").msgclass
|
477
|
+
ChildWorkflowExecutionTimedOutEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.ChildWorkflowExecutionTimedOutEventAttributes").msgclass
|
478
|
+
ChildWorkflowExecutionTerminatedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes").msgclass
|
479
|
+
WorkflowUpdateRequestedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.WorkflowUpdateRequestedEventAttributes").msgclass
|
480
|
+
WorkflowUpdateAcceptedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.WorkflowUpdateAcceptedEventAttributes").msgclass
|
481
|
+
WorkflowUpdateCompletedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.WorkflowUpdateCompletedEventAttributes").msgclass
|
482
|
+
WorkflowPropertiesModifiedExternallyEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributes").msgclass
|
483
|
+
ActivityPropertiesModifiedExternallyEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributes").msgclass
|
484
|
+
HistoryEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.HistoryEvent").msgclass
|
485
|
+
History = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.History").msgclass
|
486
|
+
end
|
487
|
+
end
|
488
|
+
end
|
489
|
+
end
|
@@ -0,0 +1,63 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: temporal/api/namespace/v1/message.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'google/protobuf/duration_pb'
|
7
|
+
require 'google/protobuf/timestamp_pb'
|
8
|
+
require 'dependencies/gogoproto/gogo_pb'
|
9
|
+
require 'temporal/api/enums/v1/namespace_pb'
|
10
|
+
|
11
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
12
|
+
add_file("temporal/api/namespace/v1/message.proto", :syntax => :proto3) do
|
13
|
+
add_message "temporal.api.namespace.v1.NamespaceInfo" do
|
14
|
+
optional :name, :string, 1
|
15
|
+
optional :state, :enum, 2, "temporal.api.enums.v1.NamespaceState"
|
16
|
+
optional :description, :string, 3
|
17
|
+
optional :owner_email, :string, 4
|
18
|
+
map :data, :string, :string, 5
|
19
|
+
optional :id, :string, 6
|
20
|
+
optional :supports_schedules, :bool, 100
|
21
|
+
end
|
22
|
+
add_message "temporal.api.namespace.v1.NamespaceConfig" do
|
23
|
+
optional :workflow_execution_retention_ttl, :message, 1, "google.protobuf.Duration"
|
24
|
+
optional :bad_binaries, :message, 2, "temporal.api.namespace.v1.BadBinaries"
|
25
|
+
optional :history_archival_state, :enum, 3, "temporal.api.enums.v1.ArchivalState"
|
26
|
+
optional :history_archival_uri, :string, 4
|
27
|
+
optional :visibility_archival_state, :enum, 5, "temporal.api.enums.v1.ArchivalState"
|
28
|
+
optional :visibility_archival_uri, :string, 6
|
29
|
+
end
|
30
|
+
add_message "temporal.api.namespace.v1.BadBinaries" do
|
31
|
+
map :binaries, :string, :message, 1, "temporal.api.namespace.v1.BadBinaryInfo"
|
32
|
+
end
|
33
|
+
add_message "temporal.api.namespace.v1.BadBinaryInfo" do
|
34
|
+
optional :reason, :string, 1
|
35
|
+
optional :operator, :string, 2
|
36
|
+
optional :create_time, :message, 3, "google.protobuf.Timestamp"
|
37
|
+
end
|
38
|
+
add_message "temporal.api.namespace.v1.UpdateNamespaceInfo" do
|
39
|
+
optional :description, :string, 1
|
40
|
+
optional :owner_email, :string, 2
|
41
|
+
map :data, :string, :string, 3
|
42
|
+
optional :state, :enum, 4, "temporal.api.enums.v1.NamespaceState"
|
43
|
+
end
|
44
|
+
add_message "temporal.api.namespace.v1.NamespaceFilter" do
|
45
|
+
optional :include_deleted, :bool, 1
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
|
50
|
+
module Temporal
|
51
|
+
module Api
|
52
|
+
module Namespace
|
53
|
+
module V1
|
54
|
+
NamespaceInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.namespace.v1.NamespaceInfo").msgclass
|
55
|
+
NamespaceConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.namespace.v1.NamespaceConfig").msgclass
|
56
|
+
BadBinaries = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.namespace.v1.BadBinaries").msgclass
|
57
|
+
BadBinaryInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.namespace.v1.BadBinaryInfo").msgclass
|
58
|
+
UpdateNamespaceInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.namespace.v1.UpdateNamespaceInfo").msgclass
|
59
|
+
NamespaceFilter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.namespace.v1.NamespaceFilter").msgclass
|
60
|
+
end
|
61
|
+
end
|
62
|
+
end
|
63
|
+
end
|