From 8c315b1101599d2a83adc627f0b825ae9764c914 Mon Sep 17 00:00:00 2001 From: Jarred Hawkins Date: Tue, 16 Jun 2026 18:42:51 +0000 Subject: [PATCH 1/2] Regenerate protobuf bindings for protobuf 4.x / Ruby 3.4 The generated *_pb.rb files used the protobuf 3.x DSL (DescriptorPool.generated_pool.build do ... end), which protobuf 4.x removed. Regenerated all bindings with grpc-tools 1.81.1, which emits the add_serialized_file format that protobuf 4.x requires. - Regenerate all 22 temporal/* message + service stubs (build DSL -> add_serialized_file) - Add lib/gen/dependencies/gogoproto/gogo_pb.rb (temporal protos import gogo annotations; the new codegen emits a require for it, so it must be generated) - Makefile: PROTO_ROOT proto/temporal -> proto so `make proto` reproduces the full generation (including the gogoproto dependency) Unblocks the Found api-backend Ruby 3.4.8 upgrade (protobuf 3.25.x caps at ruby < 3.4). Co-Authored-By: Claude Opus 4.8 --- Makefile | 2 +- lib/gen/dependencies/gogoproto/gogo_pb.rb | 16 + lib/gen/temporal/api/command/v1/message_pb.rb | 120 +---- lib/gen/temporal/api/common/v1/message_pb.rb | 49 +- .../temporal/api/enums/v1/command_type_pb.rb | 26 +- lib/gen/temporal/api/enums/v1/common_pb.rb | 30 +- .../temporal/api/enums/v1/event_type_pb.rb | 53 +-- .../temporal/api/enums/v1/failed_cause_pb.rb | 48 +- lib/gen/temporal/api/enums/v1/namespace_pb.rb | 21 +- lib/gen/temporal/api/enums/v1/query_pb.rb | 21 +- .../temporal/api/enums/v1/task_queue_pb.rb | 20 +- lib/gen/temporal/api/enums/v1/workflow_pb.rb | 66 +-- .../api/errordetails/v1/message_pb.rb | 38 +- lib/gen/temporal/api/failure/v1/message_pb.rb | 63 +-- lib/gen/temporal/api/filter/v1/message_pb.rb | 26 +- lib/gen/temporal/api/history/v1/message_pb.rb | 366 +------------- .../temporal/api/namespace/v1/message_pb.rb | 41 +- lib/gen/temporal/api/query/v1/message_pb.rb | 23 +- .../temporal/api/replication/v1/message_pb.rb | 17 +- .../temporal/api/taskqueue/v1/message_pb.rb | 43 +- lib/gen/temporal/api/version/v1/message_pb.rb | 28 +- .../temporal/api/workflow/v1/message_pb.rb | 65 +-- .../workflowservice/v1/request_response_pb.rb | 448 +----------------- .../api/workflowservice/v1/service_pb.rb | 11 +- .../workflowservice/v1/service_services_pb.rb | 2 +- 25 files changed, 171 insertions(+), 1472 deletions(-) create mode 100644 lib/gen/dependencies/gogoproto/gogo_pb.rb diff --git a/Makefile b/Makefile index 078e4e0d..fb69bea1 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -PROTO_ROOT := proto/temporal +PROTO_ROOT := proto PROTO_FILES = $(shell find $(PROTO_ROOT) -name "*.proto") PROTO_DIRS = $(sort $(dir $(PROTO_FILES))) PROTO_OUT := lib/gen diff --git a/lib/gen/dependencies/gogoproto/gogo_pb.rb b/lib/gen/dependencies/gogoproto/gogo_pb.rb new file mode 100644 index 00000000..a79b6f4d --- /dev/null +++ b/lib/gen/dependencies/gogoproto/gogo_pb.rb @@ -0,0 +1,16 @@ +# frozen_string_literal: true +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: dependencies/gogoproto/gogo.proto + +require 'google/protobuf' + +require 'google/protobuf/descriptor_pb' + + +descriptor_data = "\n!dependencies/gogoproto/gogo.proto\x12\tgogoproto\x1a google/protobuf/descriptor.proto:;\n\x13goproto_enum_prefix\x12\x1c.google.protobuf.EnumOptions\x18\xb1\xe4\x03 \x01(\x08:=\n\x15goproto_enum_stringer\x12\x1c.google.protobuf.EnumOptions\x18\xc5\xe4\x03 \x01(\x08:5\n\renum_stringer\x12\x1c.google.protobuf.EnumOptions\x18\xc6\xe4\x03 \x01(\x08:7\n\x0f\x65num_customname\x12\x1c.google.protobuf.EnumOptions\x18\xc7\xe4\x03 \x01(\t:0\n\x08\x65numdecl\x12\x1c.google.protobuf.EnumOptions\x18\xc8\xe4\x03 \x01(\x08:A\n\x14\x65numvalue_customname\x12!.google.protobuf.EnumValueOptions\x18\xd1\x83\x04 \x01(\t:;\n\x13goproto_getters_all\x12\x1c.google.protobuf.FileOptions\x18\x99\xec\x03 \x01(\x08:?\n\x17goproto_enum_prefix_all\x12\x1c.google.protobuf.FileOptions\x18\x9a\xec\x03 \x01(\x08:<\n\x14goproto_stringer_all\x12\x1c.google.protobuf.FileOptions\x18\x9b\xec\x03 \x01(\x08:9\n\x11verbose_equal_all\x12\x1c.google.protobuf.FileOptions\x18\x9c\xec\x03 \x01(\x08:0\n\x08\x66\x61\x63\x65_all\x12\x1c.google.protobuf.FileOptions\x18\x9d\xec\x03 \x01(\x08:4\n\x0cgostring_all\x12\x1c.google.protobuf.FileOptions\x18\x9e\xec\x03 \x01(\x08:4\n\x0cpopulate_all\x12\x1c.google.protobuf.FileOptions\x18\x9f\xec\x03 \x01(\x08:4\n\x0cstringer_all\x12\x1c.google.protobuf.FileOptions\x18\xa0\xec\x03 \x01(\x08:3\n\x0bonlyone_all\x12\x1c.google.protobuf.FileOptions\x18\xa1\xec\x03 \x01(\x08:1\n\tequal_all\x12\x1c.google.protobuf.FileOptions\x18\xa5\xec\x03 \x01(\x08:7\n\x0f\x64\x65scription_all\x12\x1c.google.protobuf.FileOptions\x18\xa6\xec\x03 \x01(\x08:3\n\x0btestgen_all\x12\x1c.google.protobuf.FileOptions\x18\xa7\xec\x03 \x01(\x08:4\n\x0c\x62\x65nchgen_all\x12\x1c.google.protobuf.FileOptions\x18\xa8\xec\x03 \x01(\x08:5\n\rmarshaler_all\x12\x1c.google.protobuf.FileOptions\x18\xa9\xec\x03 \x01(\x08:7\n\x0funmarshaler_all\x12\x1c.google.protobuf.FileOptions\x18\xaa\xec\x03 \x01(\x08:<\n\x14stable_marshaler_all\x12\x1c.google.protobuf.FileOptions\x18\xab\xec\x03 \x01(\x08:1\n\tsizer_all\x12\x1c.google.protobuf.FileOptions\x18\xac\xec\x03 \x01(\x08:A\n\x19goproto_enum_stringer_all\x12\x1c.google.protobuf.FileOptions\x18\xad\xec\x03 \x01(\x08:9\n\x11\x65num_stringer_all\x12\x1c.google.protobuf.FileOptions\x18\xae\xec\x03 \x01(\x08:<\n\x14unsafe_marshaler_all\x12\x1c.google.protobuf.FileOptions\x18\xaf\xec\x03 \x01(\x08:>\n\x16unsafe_unmarshaler_all\x12\x1c.google.protobuf.FileOptions\x18\xb0\xec\x03 \x01(\x08:B\n\x1agoproto_extensions_map_all\x12\x1c.google.protobuf.FileOptions\x18\xb1\xec\x03 \x01(\x08:@\n\x18goproto_unrecognized_all\x12\x1c.google.protobuf.FileOptions\x18\xb2\xec\x03 \x01(\x08:8\n\x10gogoproto_import\x12\x1c.google.protobuf.FileOptions\x18\xb3\xec\x03 \x01(\x08:6\n\x0eprotosizer_all\x12\x1c.google.protobuf.FileOptions\x18\xb4\xec\x03 \x01(\x08:3\n\x0b\x63ompare_all\x12\x1c.google.protobuf.FileOptions\x18\xb5\xec\x03 \x01(\x08:4\n\x0ctypedecl_all\x12\x1c.google.protobuf.FileOptions\x18\xb6\xec\x03 \x01(\x08:4\n\x0c\x65numdecl_all\x12\x1c.google.protobuf.FileOptions\x18\xb7\xec\x03 \x01(\x08:<\n\x14goproto_registration\x12\x1c.google.protobuf.FileOptions\x18\xb8\xec\x03 \x01(\x08:7\n\x0fmessagename_all\x12\x1c.google.protobuf.FileOptions\x18\xb9\xec\x03 \x01(\x08:=\n\x15goproto_sizecache_all\x12\x1c.google.protobuf.FileOptions\x18\xba\xec\x03 \x01(\x08:;\n\x13goproto_unkeyed_all\x12\x1c.google.protobuf.FileOptions\x18\xbb\xec\x03 \x01(\x08::\n\x0fgoproto_getters\x12\x1f.google.protobuf.MessageOptions\x18\x81\xf4\x03 \x01(\x08:;\n\x10goproto_stringer\x12\x1f.google.protobuf.MessageOptions\x18\x83\xf4\x03 \x01(\x08:8\n\rverbose_equal\x12\x1f.google.protobuf.MessageOptions\x18\x84\xf4\x03 \x01(\x08:/\n\x04\x66\x61\x63\x65\x12\x1f.google.protobuf.MessageOptions\x18\x85\xf4\x03 \x01(\x08:3\n\x08gostring\x12\x1f.google.protobuf.MessageOptions\x18\x86\xf4\x03 \x01(\x08:3\n\x08populate\x12\x1f.google.protobuf.MessageOptions\x18\x87\xf4\x03 \x01(\x08:3\n\x08stringer\x12\x1f.google.protobuf.MessageOptions\x18\xc0\x8b\x04 \x01(\x08:2\n\x07onlyone\x12\x1f.google.protobuf.MessageOptions\x18\x89\xf4\x03 \x01(\x08:0\n\x05\x65qual\x12\x1f.google.protobuf.MessageOptions\x18\x8d\xf4\x03 \x01(\x08:6\n\x0b\x64\x65scription\x12\x1f.google.protobuf.MessageOptions\x18\x8e\xf4\x03 \x01(\x08:2\n\x07testgen\x12\x1f.google.protobuf.MessageOptions\x18\x8f\xf4\x03 \x01(\x08:3\n\x08\x62\x65nchgen\x12\x1f.google.protobuf.MessageOptions\x18\x90\xf4\x03 \x01(\x08:4\n\tmarshaler\x12\x1f.google.protobuf.MessageOptions\x18\x91\xf4\x03 \x01(\x08:6\n\x0bunmarshaler\x12\x1f.google.protobuf.MessageOptions\x18\x92\xf4\x03 \x01(\x08:;\n\x10stable_marshaler\x12\x1f.google.protobuf.MessageOptions\x18\x93\xf4\x03 \x01(\x08:0\n\x05sizer\x12\x1f.google.protobuf.MessageOptions\x18\x94\xf4\x03 \x01(\x08:;\n\x10unsafe_marshaler\x12\x1f.google.protobuf.MessageOptions\x18\x97\xf4\x03 \x01(\x08:=\n\x12unsafe_unmarshaler\x12\x1f.google.protobuf.MessageOptions\x18\x98\xf4\x03 \x01(\x08:A\n\x16goproto_extensions_map\x12\x1f.google.protobuf.MessageOptions\x18\x99\xf4\x03 \x01(\x08:?\n\x14goproto_unrecognized\x12\x1f.google.protobuf.MessageOptions\x18\x9a\xf4\x03 \x01(\x08:5\n\nprotosizer\x12\x1f.google.protobuf.MessageOptions\x18\x9c\xf4\x03 \x01(\x08:2\n\x07\x63ompare\x12\x1f.google.protobuf.MessageOptions\x18\x9d\xf4\x03 \x01(\x08:3\n\x08typedecl\x12\x1f.google.protobuf.MessageOptions\x18\x9e\xf4\x03 \x01(\x08:6\n\x0bmessagename\x12\x1f.google.protobuf.MessageOptions\x18\xa1\xf4\x03 \x01(\x08:<\n\x11goproto_sizecache\x12\x1f.google.protobuf.MessageOptions\x18\xa2\xf4\x03 \x01(\x08::\n\x0fgoproto_unkeyed\x12\x1f.google.protobuf.MessageOptions\x18\xa3\xf4\x03 \x01(\x08:1\n\x08nullable\x12\x1d.google.protobuf.FieldOptions\x18\xe9\xfb\x03 \x01(\x08:.\n\x05\x65mbed\x12\x1d.google.protobuf.FieldOptions\x18\xea\xfb\x03 \x01(\x08:3\n\ncustomtype\x12\x1d.google.protobuf.FieldOptions\x18\xeb\xfb\x03 \x01(\t:3\n\ncustomname\x12\x1d.google.protobuf.FieldOptions\x18\xec\xfb\x03 \x01(\t:0\n\x07jsontag\x12\x1d.google.protobuf.FieldOptions\x18\xed\xfb\x03 \x01(\t:1\n\x08moretags\x12\x1d.google.protobuf.FieldOptions\x18\xee\xfb\x03 \x01(\t:1\n\x08\x63\x61sttype\x12\x1d.google.protobuf.FieldOptions\x18\xef\xfb\x03 \x01(\t:0\n\x07\x63\x61stkey\x12\x1d.google.protobuf.FieldOptions\x18\xf0\xfb\x03 \x01(\t:2\n\tcastvalue\x12\x1d.google.protobuf.FieldOptions\x18\xf1\xfb\x03 \x01(\t:0\n\x07stdtime\x12\x1d.google.protobuf.FieldOptions\x18\xf2\xfb\x03 \x01(\x08:4\n\x0bstdduration\x12\x1d.google.protobuf.FieldOptions\x18\xf3\xfb\x03 \x01(\x08:3\n\nwktpointer\x12\x1d.google.protobuf.FieldOptions\x18\xf4\xfb\x03 \x01(\x08\x42$Z\"github.com/gogo/protobuf/gogoproto" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) + +module Gogoproto +end diff --git a/lib/gen/temporal/api/command/v1/message_pb.rb b/lib/gen/temporal/api/command/v1/message_pb.rb index fa13cc7a..4f47a6e0 100644 --- a/lib/gen/temporal/api/command/v1/message_pb.rb +++ b/lib/gen/temporal/api/command/v1/message_pb.rb @@ -1,126 +1,22 @@ +# frozen_string_literal: true # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/command/v1/message.proto require 'google/protobuf' require 'google/protobuf/duration_pb' +require 'dependencies/gogoproto/gogo_pb' require 'temporal/api/enums/v1/workflow_pb' require 'temporal/api/enums/v1/command_type_pb' require 'temporal/api/common/v1/message_pb' require 'temporal/api/failure/v1/message_pb' require 'temporal/api/taskqueue/v1/message_pb' -Google::Protobuf::DescriptorPool.generated_pool.build do - add_file("temporal/api/command/v1/message.proto", :syntax => :proto3) do - add_message "temporal.api.command.v1.ScheduleActivityTaskCommandAttributes" do - optional :activity_id, :string, 1 - optional :activity_type, :message, 2, "temporal.api.common.v1.ActivityType" - optional :namespace, :string, 3 - optional :task_queue, :message, 4, "temporal.api.taskqueue.v1.TaskQueue" - optional :header, :message, 5, "temporal.api.common.v1.Header" - optional :input, :message, 6, "temporal.api.common.v1.Payloads" - optional :schedule_to_close_timeout, :message, 7, "google.protobuf.Duration" - optional :schedule_to_start_timeout, :message, 8, "google.protobuf.Duration" - optional :start_to_close_timeout, :message, 9, "google.protobuf.Duration" - optional :heartbeat_timeout, :message, 10, "google.protobuf.Duration" - optional :retry_policy, :message, 11, "temporal.api.common.v1.RetryPolicy" - end - add_message "temporal.api.command.v1.RequestCancelActivityTaskCommandAttributes" do - optional :scheduled_event_id, :int64, 1 - end - add_message "temporal.api.command.v1.StartTimerCommandAttributes" do - optional :timer_id, :string, 1 - optional :start_to_fire_timeout, :message, 2, "google.protobuf.Duration" - end - add_message "temporal.api.command.v1.CompleteWorkflowExecutionCommandAttributes" do - optional :result, :message, 1, "temporal.api.common.v1.Payloads" - end - add_message "temporal.api.command.v1.FailWorkflowExecutionCommandAttributes" do - optional :failure, :message, 1, "temporal.api.failure.v1.Failure" - end - add_message "temporal.api.command.v1.CancelTimerCommandAttributes" do - optional :timer_id, :string, 1 - end - add_message "temporal.api.command.v1.CancelWorkflowExecutionCommandAttributes" do - optional :details, :message, 1, "temporal.api.common.v1.Payloads" - end - add_message "temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributes" do - optional :namespace, :string, 1 - optional :workflow_id, :string, 2 - optional :run_id, :string, 3 - optional :control, :string, 4 - optional :child_workflow_only, :bool, 5 - end - add_message "temporal.api.command.v1.SignalExternalWorkflowExecutionCommandAttributes" do - optional :namespace, :string, 1 - optional :execution, :message, 2, "temporal.api.common.v1.WorkflowExecution" - optional :signal_name, :string, 3 - optional :input, :message, 4, "temporal.api.common.v1.Payloads" - optional :control, :string, 5 - optional :child_workflow_only, :bool, 6 - end - add_message "temporal.api.command.v1.UpsertWorkflowSearchAttributesCommandAttributes" do - optional :search_attributes, :message, 1, "temporal.api.common.v1.SearchAttributes" - end - add_message "temporal.api.command.v1.RecordMarkerCommandAttributes" do - optional :marker_name, :string, 1 - map :details, :string, :message, 2, "temporal.api.common.v1.Payloads" - optional :header, :message, 3, "temporal.api.common.v1.Header" - optional :failure, :message, 4, "temporal.api.failure.v1.Failure" - end - add_message "temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributes" do - optional :workflow_type, :message, 1, "temporal.api.common.v1.WorkflowType" - optional :task_queue, :message, 2, "temporal.api.taskqueue.v1.TaskQueue" - optional :input, :message, 3, "temporal.api.common.v1.Payloads" - optional :workflow_run_timeout, :message, 4, "google.protobuf.Duration" - optional :workflow_task_timeout, :message, 5, "google.protobuf.Duration" - optional :backoff_start_interval, :message, 6, "google.protobuf.Duration" - optional :retry_policy, :message, 7, "temporal.api.common.v1.RetryPolicy" - optional :initiator, :enum, 8, "temporal.api.enums.v1.ContinueAsNewInitiator" - optional :failure, :message, 9, "temporal.api.failure.v1.Failure" - optional :last_completion_result, :message, 10, "temporal.api.common.v1.Payloads" - optional :cron_schedule, :string, 11 - optional :header, :message, 12, "temporal.api.common.v1.Header" - optional :memo, :message, 13, "temporal.api.common.v1.Memo" - optional :search_attributes, :message, 14, "temporal.api.common.v1.SearchAttributes" - end - add_message "temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributes" do - optional :namespace, :string, 1 - optional :workflow_id, :string, 2 - optional :workflow_type, :message, 3, "temporal.api.common.v1.WorkflowType" - optional :task_queue, :message, 4, "temporal.api.taskqueue.v1.TaskQueue" - optional :input, :message, 5, "temporal.api.common.v1.Payloads" - optional :workflow_execution_timeout, :message, 6, "google.protobuf.Duration" - optional :workflow_run_timeout, :message, 7, "google.protobuf.Duration" - optional :workflow_task_timeout, :message, 8, "google.protobuf.Duration" - optional :parent_close_policy, :enum, 9, "temporal.api.enums.v1.ParentClosePolicy" - optional :control, :string, 10 - optional :workflow_id_reuse_policy, :enum, 11, "temporal.api.enums.v1.WorkflowIdReusePolicy" - optional :retry_policy, :message, 12, "temporal.api.common.v1.RetryPolicy" - optional :cron_schedule, :string, 13 - optional :header, :message, 14, "temporal.api.common.v1.Header" - optional :memo, :message, 15, "temporal.api.common.v1.Memo" - optional :search_attributes, :message, 16, "temporal.api.common.v1.SearchAttributes" - end - add_message "temporal.api.command.v1.Command" do - optional :command_type, :enum, 1, "temporal.api.enums.v1.CommandType" - oneof :attributes do - optional :schedule_activity_task_command_attributes, :message, 2, "temporal.api.command.v1.ScheduleActivityTaskCommandAttributes" - optional :start_timer_command_attributes, :message, 3, "temporal.api.command.v1.StartTimerCommandAttributes" - optional :complete_workflow_execution_command_attributes, :message, 4, "temporal.api.command.v1.CompleteWorkflowExecutionCommandAttributes" - optional :fail_workflow_execution_command_attributes, :message, 5, "temporal.api.command.v1.FailWorkflowExecutionCommandAttributes" - optional :request_cancel_activity_task_command_attributes, :message, 6, "temporal.api.command.v1.RequestCancelActivityTaskCommandAttributes" - optional :cancel_timer_command_attributes, :message, 7, "temporal.api.command.v1.CancelTimerCommandAttributes" - optional :cancel_workflow_execution_command_attributes, :message, 8, "temporal.api.command.v1.CancelWorkflowExecutionCommandAttributes" - optional :request_cancel_external_workflow_execution_command_attributes, :message, 9, "temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributes" - optional :record_marker_command_attributes, :message, 10, "temporal.api.command.v1.RecordMarkerCommandAttributes" - optional :continue_as_new_workflow_execution_command_attributes, :message, 11, "temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributes" - optional :start_child_workflow_execution_command_attributes, :message, 12, "temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributes" - optional :signal_external_workflow_execution_command_attributes, :message, 13, "temporal.api.command.v1.SignalExternalWorkflowExecutionCommandAttributes" - optional :upsert_workflow_search_attributes_command_attributes, :message, 14, "temporal.api.command.v1.UpsertWorkflowSearchAttributesCommandAttributes" - end - end - end -end + + +descriptor_data = "\n%temporal/api/command/v1/message.proto\x12\x17temporal.api.command.v1\x1a\x1egoogle/protobuf/duration.proto\x1a!dependencies/gogoproto/gogo.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a(temporal/api/enums/v1/command_type.proto\x1a$temporal/api/common/v1/message.proto\x1a%temporal/api/failure/v1/message.proto\x1a\'temporal/api/taskqueue/v1/message.proto\"\xe7\x04\n%ScheduleActivityTaskCommandAttributes\x12\x13\n\x0b\x61\x63tivity_id\x18\x01 \x01(\t\x12;\n\ractivity_type\x18\x02 \x01(\x0b\x32$.temporal.api.common.v1.ActivityType\x12\x11\n\tnamespace\x18\x03 \x01(\t\x12\x38\n\ntask_queue\x18\x04 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12.\n\x06header\x18\x05 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12/\n\x05input\x18\x06 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x42\n\x19schedule_to_close_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\x98\xdf\x1f\x01\x12\x42\n\x19schedule_to_start_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\x98\xdf\x1f\x01\x12?\n\x16start_to_close_timeout\x18\t \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\x98\xdf\x1f\x01\x12:\n\x11heartbeat_timeout\x18\n \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\x98\xdf\x1f\x01\x12\x39\n\x0cretry_policy\x18\x0b \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\"H\n*RequestCancelActivityTaskCommandAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\"o\n\x1bStartTimerCommandAttributes\x12\x10\n\x08timer_id\x18\x01 \x01(\t\x12>\n\x15start_to_fire_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\x98\xdf\x1f\x01\"^\n*CompleteWorkflowExecutionCommandAttributes\x12\x30\n\x06result\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\"[\n&FailWorkflowExecutionCommandAttributes\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\"0\n\x1c\x43\x61ncelTimerCommandAttributes\x12\x10\n\x08timer_id\x18\x01 \x01(\t\"]\n(CancelWorkflowExecutionCommandAttributes\x12\x31\n\x07\x64\x65tails\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\"\x9f\x01\n7RequestCancelExternalWorkflowExecutionCommandAttributes\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x0f\n\x07\x63ontrol\x18\x04 \x01(\t\x12\x1b\n\x13\x63hild_workflow_only\x18\x05 \x01(\x08\"\xf7\x01\n0SignalExternalWorkflowExecutionCommandAttributes\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x13\n\x0bsignal_name\x18\x03 \x01(\t\x12/\n\x05input\x18\x04 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x0f\n\x07\x63ontrol\x18\x05 \x01(\t\x12\x1b\n\x13\x63hild_workflow_only\x18\x06 \x01(\x08\"v\n/UpsertWorkflowSearchAttributesCommandAttributes\x12\x43\n\x11search_attributes\x18\x01 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\"\xbf\x02\n\x1dRecordMarkerCommandAttributes\x12\x13\n\x0bmarker_name\x18\x01 \x01(\t\x12T\n\x07\x64\x65tails\x18\x02 \x03(\x0b\x32\x43.temporal.api.command.v1.RecordMarkerCommandAttributes.DetailsEntry\x12.\n\x06header\x18\x03 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12\x31\n\x07\x66\x61ilure\x18\x04 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x1aP\n\x0c\x44\x65tailsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12/\n\x05value\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads:\x02\x38\x01\"\xc3\x06\n/ContinueAsNewWorkflowExecutionCommandAttributes\x12;\n\rworkflow_type\x18\x01 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x38\n\ntask_queue\x18\x02 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12/\n\x05input\x18\x03 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12=\n\x14workflow_run_timeout\x18\x04 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\x98\xdf\x1f\x01\x12>\n\x15workflow_task_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\x98\xdf\x1f\x01\x12?\n\x16\x62\x61\x63koff_start_interval\x18\x06 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\x98\xdf\x1f\x01\x12\x39\n\x0cretry_policy\x18\x07 \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12@\n\tinitiator\x18\x08 \x01(\x0e\x32-.temporal.api.enums.v1.ContinueAsNewInitiator\x12\x31\n\x07\x66\x61ilure\x18\t \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12@\n\x16last_completion_result\x18\n \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x15\n\rcron_schedule\x18\x0b \x01(\t\x12.\n\x06header\x18\x0c \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12*\n\x04memo\x18\r \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x0e \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\"\xdd\x06\n,StartChildWorkflowExecutionCommandAttributes\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x38\n\ntask_queue\x18\x04 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12/\n\x05input\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x43\n\x1aworkflow_execution_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\x98\xdf\x1f\x01\x12=\n\x14workflow_run_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\x98\xdf\x1f\x01\x12>\n\x15workflow_task_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\x98\xdf\x1f\x01\x12\x45\n\x13parent_close_policy\x18\t \x01(\x0e\x32(.temporal.api.enums.v1.ParentClosePolicy\x12\x0f\n\x07\x63ontrol\x18\n \x01(\t\x12N\n\x18workflow_id_reuse_policy\x18\x0b \x01(\x0e\x32,.temporal.api.enums.v1.WorkflowIdReusePolicy\x12\x39\n\x0cretry_policy\x18\x0c \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x15\n\rcron_schedule\x18\r \x01(\t\x12.\n\x06header\x18\x0e \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12*\n\x04memo\x18\x0f \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x10 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\"\xa2\r\n\x07\x43ommand\x12\x38\n\x0c\x63ommand_type\x18\x01 \x01(\x0e\x32\".temporal.api.enums.v1.CommandType\x12s\n)schedule_activity_task_command_attributes\x18\x02 \x01(\x0b\x32>.temporal.api.command.v1.ScheduleActivityTaskCommandAttributesH\x00\x12^\n\x1estart_timer_command_attributes\x18\x03 \x01(\x0b\x32\x34.temporal.api.command.v1.StartTimerCommandAttributesH\x00\x12}\n.complete_workflow_execution_command_attributes\x18\x04 \x01(\x0b\x32\x43.temporal.api.command.v1.CompleteWorkflowExecutionCommandAttributesH\x00\x12u\n*fail_workflow_execution_command_attributes\x18\x05 \x01(\x0b\x32?.temporal.api.command.v1.FailWorkflowExecutionCommandAttributesH\x00\x12~\n/request_cancel_activity_task_command_attributes\x18\x06 \x01(\x0b\x32\x43.temporal.api.command.v1.RequestCancelActivityTaskCommandAttributesH\x00\x12`\n\x1f\x63\x61ncel_timer_command_attributes\x18\x07 \x01(\x0b\x32\x35.temporal.api.command.v1.CancelTimerCommandAttributesH\x00\x12y\n,cancel_workflow_execution_command_attributes\x18\x08 \x01(\x0b\x32\x41.temporal.api.command.v1.CancelWorkflowExecutionCommandAttributesH\x00\x12\x99\x01\n=request_cancel_external_workflow_execution_command_attributes\x18\t \x01(\x0b\x32P.temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributesH\x00\x12\x62\n record_marker_command_attributes\x18\n \x01(\x0b\x32\x36.temporal.api.command.v1.RecordMarkerCommandAttributesH\x00\x12\x89\x01\n5continue_as_new_workflow_execution_command_attributes\x18\x0b \x01(\x0b\x32H.temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributesH\x00\x12\x82\x01\n1start_child_workflow_execution_command_attributes\x18\x0c \x01(\x0b\x32\x45.temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributesH\x00\x12\x8a\x01\n5signal_external_workflow_execution_command_attributes\x18\r \x01(\x0b\x32I.temporal.api.command.v1.SignalExternalWorkflowExecutionCommandAttributesH\x00\x12\x88\x01\n4upsert_workflow_search_attributes_command_attributes\x18\x0e \x01(\x0b\x32H.temporal.api.command.v1.UpsertWorkflowSearchAttributesCommandAttributesH\x00\x42\x0c\n\nattributesB\x8a\x01\n\x1aio.temporal.api.command.v1B\x0cMessageProtoP\x01Z%go.temporal.io/api/command/v1;command\xaa\x02\x17Temporal.Api.Command.V1\xea\x02\x1aTemporal::Api::Command::V1b\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Temporal module Api diff --git a/lib/gen/temporal/api/common/v1/message_pb.rb b/lib/gen/temporal/api/common/v1/message_pb.rb index 281878d8..460ce76f 100644 --- a/lib/gen/temporal/api/common/v1/message_pb.rb +++ b/lib/gen/temporal/api/common/v1/message_pb.rb @@ -1,51 +1,18 @@ +# frozen_string_literal: true # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/common/v1/message.proto require 'google/protobuf' require 'google/protobuf/duration_pb' +require 'dependencies/gogoproto/gogo_pb' require 'temporal/api/enums/v1/common_pb' -Google::Protobuf::DescriptorPool.generated_pool.build do - add_file("temporal/api/common/v1/message.proto", :syntax => :proto3) do - add_message "temporal.api.common.v1.DataBlob" do - optional :encoding_type, :enum, 1, "temporal.api.enums.v1.EncodingType" - optional :data, :bytes, 2 - end - add_message "temporal.api.common.v1.Payloads" do - repeated :payloads, :message, 1, "temporal.api.common.v1.Payload" - end - add_message "temporal.api.common.v1.Payload" do - map :metadata, :string, :bytes, 1 - optional :data, :bytes, 2 - end - add_message "temporal.api.common.v1.SearchAttributes" do - map :indexed_fields, :string, :message, 1, "temporal.api.common.v1.Payload" - end - add_message "temporal.api.common.v1.Memo" do - map :fields, :string, :message, 1, "temporal.api.common.v1.Payload" - end - add_message "temporal.api.common.v1.Header" do - map :fields, :string, :message, 1, "temporal.api.common.v1.Payload" - end - add_message "temporal.api.common.v1.WorkflowExecution" do - optional :workflow_id, :string, 1 - optional :run_id, :string, 2 - end - add_message "temporal.api.common.v1.WorkflowType" do - optional :name, :string, 1 - end - add_message "temporal.api.common.v1.ActivityType" do - optional :name, :string, 1 - end - add_message "temporal.api.common.v1.RetryPolicy" do - optional :initial_interval, :message, 1, "google.protobuf.Duration" - optional :backoff_coefficient, :double, 2 - optional :maximum_interval, :message, 3, "google.protobuf.Duration" - optional :maximum_attempts, :int32, 4 - repeated :non_retryable_error_types, :string, 5 - end - end -end + + +descriptor_data = "\n$temporal/api/common/v1/message.proto\x12\x16temporal.api.common.v1\x1a\x1egoogle/protobuf/duration.proto\x1a!dependencies/gogoproto/gogo.proto\x1a\"temporal/api/enums/v1/common.proto\"T\n\x08\x44\x61taBlob\x12:\n\rencoding_type\x18\x01 \x01(\x0e\x32#.temporal.api.enums.v1.EncodingType\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\"=\n\x08Payloads\x12\x31\n\x08payloads\x18\x01 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\"\x89\x01\n\x07Payload\x12?\n\x08metadata\x18\x01 \x03(\x0b\x32-.temporal.api.common.v1.Payload.MetadataEntry\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\"\xbe\x01\n\x10SearchAttributes\x12S\n\x0eindexed_fields\x18\x01 \x03(\x0b\x32;.temporal.api.common.v1.SearchAttributes.IndexedFieldsEntry\x1aU\n\x12IndexedFieldsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01\"\x90\x01\n\x04Memo\x12\x38\n\x06\x66ields\x18\x01 \x03(\x0b\x32(.temporal.api.common.v1.Memo.FieldsEntry\x1aN\n\x0b\x46ieldsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01\"\x94\x01\n\x06Header\x12:\n\x06\x66ields\x18\x01 \x03(\x0b\x32*.temporal.api.common.v1.Header.FieldsEntry\x1aN\n\x0b\x46ieldsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01\"8\n\x11WorkflowExecution\x12\x13\n\x0bworkflow_id\x18\x01 \x01(\t\x12\x0e\n\x06run_id\x18\x02 \x01(\t\"\x1c\n\x0cWorkflowType\x12\x0c\n\x04name\x18\x01 \x01(\t\"\x1c\n\x0c\x41\x63tivityType\x12\x0c\n\x04name\x18\x01 \x01(\t\"\xdd\x01\n\x0bRetryPolicy\x12\x39\n\x10initial_interval\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\x98\xdf\x1f\x01\x12\x1b\n\x13\x62\x61\x63koff_coefficient\x18\x02 \x01(\x01\x12\x39\n\x10maximum_interval\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\x98\xdf\x1f\x01\x12\x18\n\x10maximum_attempts\x18\x04 \x01(\x05\x12!\n\x19non_retryable_error_types\x18\x05 \x03(\tB\x85\x01\n\x19io.temporal.api.common.v1B\x0cMessageProtoP\x01Z#go.temporal.io/api/common/v1;common\xaa\x02\x16Temporal.Api.Common.V1\xea\x02\x19Temporal::Api::Common::V1b\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Temporal module Api diff --git a/lib/gen/temporal/api/enums/v1/command_type_pb.rb b/lib/gen/temporal/api/enums/v1/command_type_pb.rb index d77269e0..0614639d 100644 --- a/lib/gen/temporal/api/enums/v1/command_type_pb.rb +++ b/lib/gen/temporal/api/enums/v1/command_type_pb.rb @@ -1,28 +1,14 @@ +# frozen_string_literal: true # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/enums/v1/command_type.proto require 'google/protobuf' -Google::Protobuf::DescriptorPool.generated_pool.build do - add_file("temporal/api/enums/v1/command_type.proto", :syntax => :proto3) do - add_enum "temporal.api.enums.v1.CommandType" do - value :COMMAND_TYPE_UNSPECIFIED, 0 - value :COMMAND_TYPE_SCHEDULE_ACTIVITY_TASK, 1 - value :COMMAND_TYPE_REQUEST_CANCEL_ACTIVITY_TASK, 2 - value :COMMAND_TYPE_START_TIMER, 3 - value :COMMAND_TYPE_COMPLETE_WORKFLOW_EXECUTION, 4 - value :COMMAND_TYPE_FAIL_WORKFLOW_EXECUTION, 5 - value :COMMAND_TYPE_CANCEL_TIMER, 6 - value :COMMAND_TYPE_CANCEL_WORKFLOW_EXECUTION, 7 - value :COMMAND_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION, 8 - value :COMMAND_TYPE_RECORD_MARKER, 9 - value :COMMAND_TYPE_CONTINUE_AS_NEW_WORKFLOW_EXECUTION, 10 - value :COMMAND_TYPE_START_CHILD_WORKFLOW_EXECUTION, 11 - value :COMMAND_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION, 12 - value :COMMAND_TYPE_UPSERT_WORKFLOW_SEARCH_ATTRIBUTES, 13 - end - end -end + +descriptor_data = "\n(temporal/api/enums/v1/command_type.proto\x12\x15temporal.api.enums.v1*\xf0\x04\n\x0b\x43ommandType\x12\x1c\n\x18\x43OMMAND_TYPE_UNSPECIFIED\x10\x00\x12\'\n#COMMAND_TYPE_SCHEDULE_ACTIVITY_TASK\x10\x01\x12-\n)COMMAND_TYPE_REQUEST_CANCEL_ACTIVITY_TASK\x10\x02\x12\x1c\n\x18\x43OMMAND_TYPE_START_TIMER\x10\x03\x12,\n(COMMAND_TYPE_COMPLETE_WORKFLOW_EXECUTION\x10\x04\x12(\n$COMMAND_TYPE_FAIL_WORKFLOW_EXECUTION\x10\x05\x12\x1d\n\x19\x43OMMAND_TYPE_CANCEL_TIMER\x10\x06\x12*\n&COMMAND_TYPE_CANCEL_WORKFLOW_EXECUTION\x10\x07\x12;\n7COMMAND_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION\x10\x08\x12\x1e\n\x1a\x43OMMAND_TYPE_RECORD_MARKER\x10\t\x12\x33\n/COMMAND_TYPE_CONTINUE_AS_NEW_WORKFLOW_EXECUTION\x10\n\x12/\n+COMMAND_TYPE_START_CHILD_WORKFLOW_EXECUTION\x10\x0b\x12\x33\n/COMMAND_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION\x10\x0c\x12\x32\n.COMMAND_TYPE_UPSERT_WORKFLOW_SEARCH_ATTRIBUTES\x10\rB\x84\x01\n\x18io.temporal.api.enums.v1B\x10\x43ommandTypeProtoP\x01Z!go.temporal.io/api/enums/v1;enums\xaa\x02\x15Temporal.Api.Enums.V1\xea\x02\x18Temporal::Api::Enums::V1b\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Temporal module Api diff --git a/lib/gen/temporal/api/enums/v1/common_pb.rb b/lib/gen/temporal/api/enums/v1/common_pb.rb index 3b1ca3b6..60c5bb1a 100644 --- a/lib/gen/temporal/api/enums/v1/common_pb.rb +++ b/lib/gen/temporal/api/enums/v1/common_pb.rb @@ -1,32 +1,14 @@ +# frozen_string_literal: true # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/enums/v1/common.proto require 'google/protobuf' -Google::Protobuf::DescriptorPool.generated_pool.build do - add_file("temporal/api/enums/v1/common.proto", :syntax => :proto3) do - add_enum "temporal.api.enums.v1.EncodingType" do - value :ENCODING_TYPE_UNSPECIFIED, 0 - value :ENCODING_TYPE_PROTO3, 1 - value :ENCODING_TYPE_JSON, 2 - end - add_enum "temporal.api.enums.v1.IndexedValueType" do - value :INDEXED_VALUE_TYPE_UNSPECIFIED, 0 - value :INDEXED_VALUE_TYPE_STRING, 1 - value :INDEXED_VALUE_TYPE_KEYWORD, 2 - value :INDEXED_VALUE_TYPE_INT, 3 - value :INDEXED_VALUE_TYPE_DOUBLE, 4 - value :INDEXED_VALUE_TYPE_BOOL, 5 - value :INDEXED_VALUE_TYPE_DATETIME, 6 - end - add_enum "temporal.api.enums.v1.Severity" do - value :SEVERITY_UNSPECIFIED, 0 - value :SEVERITY_HIGH, 1 - value :SEVERITY_MEDIUM, 2 - value :SEVERITY_LOW, 3 - end - end -end + +descriptor_data = "\n\"temporal/api/enums/v1/common.proto\x12\x15temporal.api.enums.v1*_\n\x0c\x45ncodingType\x12\x1d\n\x19\x45NCODING_TYPE_UNSPECIFIED\x10\x00\x12\x18\n\x14\x45NCODING_TYPE_PROTO3\x10\x01\x12\x16\n\x12\x45NCODING_TYPE_JSON\x10\x02*\xee\x01\n\x10IndexedValueType\x12\"\n\x1eINDEXED_VALUE_TYPE_UNSPECIFIED\x10\x00\x12\x1d\n\x19INDEXED_VALUE_TYPE_STRING\x10\x01\x12\x1e\n\x1aINDEXED_VALUE_TYPE_KEYWORD\x10\x02\x12\x1a\n\x16INDEXED_VALUE_TYPE_INT\x10\x03\x12\x1d\n\x19INDEXED_VALUE_TYPE_DOUBLE\x10\x04\x12\x1b\n\x17INDEXED_VALUE_TYPE_BOOL\x10\x05\x12\x1f\n\x1bINDEXED_VALUE_TYPE_DATETIME\x10\x06*^\n\x08Severity\x12\x18\n\x14SEVERITY_UNSPECIFIED\x10\x00\x12\x11\n\rSEVERITY_HIGH\x10\x01\x12\x13\n\x0fSEVERITY_MEDIUM\x10\x02\x12\x10\n\x0cSEVERITY_LOW\x10\x03\x42\x7f\n\x18io.temporal.api.enums.v1B\x0b\x43ommonProtoP\x01Z!go.temporal.io/api/enums/v1;enums\xaa\x02\x15Temporal.Api.Enums.V1\xea\x02\x18Temporal::Api::Enums::V1b\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Temporal module Api diff --git a/lib/gen/temporal/api/enums/v1/event_type_pb.rb b/lib/gen/temporal/api/enums/v1/event_type_pb.rb index d1fa17b7..9b82f8cd 100644 --- a/lib/gen/temporal/api/enums/v1/event_type_pb.rb +++ b/lib/gen/temporal/api/enums/v1/event_type_pb.rb @@ -1,55 +1,14 @@ +# frozen_string_literal: true # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/enums/v1/event_type.proto require 'google/protobuf' -Google::Protobuf::DescriptorPool.generated_pool.build do - add_file("temporal/api/enums/v1/event_type.proto", :syntax => :proto3) do - add_enum "temporal.api.enums.v1.EventType" do - value :EVENT_TYPE_UNSPECIFIED, 0 - value :EVENT_TYPE_WORKFLOW_EXECUTION_STARTED, 1 - value :EVENT_TYPE_WORKFLOW_EXECUTION_COMPLETED, 2 - value :EVENT_TYPE_WORKFLOW_EXECUTION_FAILED, 3 - value :EVENT_TYPE_WORKFLOW_EXECUTION_TIMED_OUT, 4 - value :EVENT_TYPE_WORKFLOW_TASK_SCHEDULED, 5 - value :EVENT_TYPE_WORKFLOW_TASK_STARTED, 6 - value :EVENT_TYPE_WORKFLOW_TASK_COMPLETED, 7 - value :EVENT_TYPE_WORKFLOW_TASK_TIMED_OUT, 8 - value :EVENT_TYPE_WORKFLOW_TASK_FAILED, 9 - value :EVENT_TYPE_ACTIVITY_TASK_SCHEDULED, 10 - value :EVENT_TYPE_ACTIVITY_TASK_STARTED, 11 - value :EVENT_TYPE_ACTIVITY_TASK_COMPLETED, 12 - value :EVENT_TYPE_ACTIVITY_TASK_FAILED, 13 - value :EVENT_TYPE_ACTIVITY_TASK_TIMED_OUT, 14 - value :EVENT_TYPE_ACTIVITY_TASK_CANCEL_REQUESTED, 15 - value :EVENT_TYPE_ACTIVITY_TASK_CANCELED, 16 - value :EVENT_TYPE_TIMER_STARTED, 17 - value :EVENT_TYPE_TIMER_FIRED, 18 - value :EVENT_TYPE_TIMER_CANCELED, 19 - value :EVENT_TYPE_WORKFLOW_EXECUTION_CANCEL_REQUESTED, 20 - value :EVENT_TYPE_WORKFLOW_EXECUTION_CANCELED, 21 - value :EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED, 22 - value :EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED, 23 - value :EVENT_TYPE_EXTERNAL_WORKFLOW_EXECUTION_CANCEL_REQUESTED, 24 - value :EVENT_TYPE_MARKER_RECORDED, 25 - value :EVENT_TYPE_WORKFLOW_EXECUTION_SIGNALED, 26 - value :EVENT_TYPE_WORKFLOW_EXECUTION_TERMINATED, 27 - value :EVENT_TYPE_WORKFLOW_EXECUTION_CONTINUED_AS_NEW, 28 - value :EVENT_TYPE_START_CHILD_WORKFLOW_EXECUTION_INITIATED, 29 - value :EVENT_TYPE_START_CHILD_WORKFLOW_EXECUTION_FAILED, 30 - value :EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_STARTED, 31 - value :EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_COMPLETED, 32 - value :EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_FAILED, 33 - value :EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_CANCELED, 34 - value :EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_TIMED_OUT, 35 - value :EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_TERMINATED, 36 - value :EVENT_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED, 37 - value :EVENT_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED, 38 - value :EVENT_TYPE_EXTERNAL_WORKFLOW_EXECUTION_SIGNALED, 39 - value :EVENT_TYPE_UPSERT_WORKFLOW_SEARCH_ATTRIBUTES, 40 - end - end -end + +descriptor_data = "\n&temporal/api/enums/v1/event_type.proto\x12\x15temporal.api.enums.v1*\xd7\x0e\n\tEventType\x12\x1a\n\x16\x45VENT_TYPE_UNSPECIFIED\x10\x00\x12)\n%EVENT_TYPE_WORKFLOW_EXECUTION_STARTED\x10\x01\x12+\n\'EVENT_TYPE_WORKFLOW_EXECUTION_COMPLETED\x10\x02\x12(\n$EVENT_TYPE_WORKFLOW_EXECUTION_FAILED\x10\x03\x12+\n\'EVENT_TYPE_WORKFLOW_EXECUTION_TIMED_OUT\x10\x04\x12&\n\"EVENT_TYPE_WORKFLOW_TASK_SCHEDULED\x10\x05\x12$\n EVENT_TYPE_WORKFLOW_TASK_STARTED\x10\x06\x12&\n\"EVENT_TYPE_WORKFLOW_TASK_COMPLETED\x10\x07\x12&\n\"EVENT_TYPE_WORKFLOW_TASK_TIMED_OUT\x10\x08\x12#\n\x1f\x45VENT_TYPE_WORKFLOW_TASK_FAILED\x10\t\x12&\n\"EVENT_TYPE_ACTIVITY_TASK_SCHEDULED\x10\n\x12$\n EVENT_TYPE_ACTIVITY_TASK_STARTED\x10\x0b\x12&\n\"EVENT_TYPE_ACTIVITY_TASK_COMPLETED\x10\x0c\x12#\n\x1f\x45VENT_TYPE_ACTIVITY_TASK_FAILED\x10\r\x12&\n\"EVENT_TYPE_ACTIVITY_TASK_TIMED_OUT\x10\x0e\x12-\n)EVENT_TYPE_ACTIVITY_TASK_CANCEL_REQUESTED\x10\x0f\x12%\n!EVENT_TYPE_ACTIVITY_TASK_CANCELED\x10\x10\x12\x1c\n\x18\x45VENT_TYPE_TIMER_STARTED\x10\x11\x12\x1a\n\x16\x45VENT_TYPE_TIMER_FIRED\x10\x12\x12\x1d\n\x19\x45VENT_TYPE_TIMER_CANCELED\x10\x13\x12\x32\n.EVENT_TYPE_WORKFLOW_EXECUTION_CANCEL_REQUESTED\x10\x14\x12*\n&EVENT_TYPE_WORKFLOW_EXECUTION_CANCELED\x10\x15\x12\x43\n?EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED\x10\x16\x12@\n :proto3) do - add_enum "temporal.api.enums.v1.WorkflowTaskFailedCause" do - value :WORKFLOW_TASK_FAILED_CAUSE_UNSPECIFIED, 0 - value :WORKFLOW_TASK_FAILED_CAUSE_UNHANDLED_COMMAND, 1 - value :WORKFLOW_TASK_FAILED_CAUSE_BAD_SCHEDULE_ACTIVITY_ATTRIBUTES, 2 - value :WORKFLOW_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_ACTIVITY_ATTRIBUTES, 3 - value :WORKFLOW_TASK_FAILED_CAUSE_BAD_START_TIMER_ATTRIBUTES, 4 - value :WORKFLOW_TASK_FAILED_CAUSE_BAD_CANCEL_TIMER_ATTRIBUTES, 5 - value :WORKFLOW_TASK_FAILED_CAUSE_BAD_RECORD_MARKER_ATTRIBUTES, 6 - value :WORKFLOW_TASK_FAILED_CAUSE_BAD_COMPLETE_WORKFLOW_EXECUTION_ATTRIBUTES, 7 - value :WORKFLOW_TASK_FAILED_CAUSE_BAD_FAIL_WORKFLOW_EXECUTION_ATTRIBUTES, 8 - value :WORKFLOW_TASK_FAILED_CAUSE_BAD_CANCEL_WORKFLOW_EXECUTION_ATTRIBUTES, 9 - value :WORKFLOW_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_ATTRIBUTES, 10 - value :WORKFLOW_TASK_FAILED_CAUSE_BAD_CONTINUE_AS_NEW_ATTRIBUTES, 11 - value :WORKFLOW_TASK_FAILED_CAUSE_START_TIMER_DUPLICATE_ID, 12 - value :WORKFLOW_TASK_FAILED_CAUSE_RESET_STICKY_TASK_QUEUE, 13 - value :WORKFLOW_TASK_FAILED_CAUSE_WORKFLOW_WORKER_UNHANDLED_FAILURE, 14 - value :WORKFLOW_TASK_FAILED_CAUSE_BAD_SIGNAL_WORKFLOW_EXECUTION_ATTRIBUTES, 15 - value :WORKFLOW_TASK_FAILED_CAUSE_BAD_START_CHILD_EXECUTION_ATTRIBUTES, 16 - value :WORKFLOW_TASK_FAILED_CAUSE_FORCE_CLOSE_COMMAND, 17 - value :WORKFLOW_TASK_FAILED_CAUSE_FAILOVER_CLOSE_COMMAND, 18 - value :WORKFLOW_TASK_FAILED_CAUSE_BAD_SIGNAL_INPUT_SIZE, 19 - value :WORKFLOW_TASK_FAILED_CAUSE_RESET_WORKFLOW, 20 - value :WORKFLOW_TASK_FAILED_CAUSE_BAD_BINARY, 21 - value :WORKFLOW_TASK_FAILED_CAUSE_SCHEDULE_ACTIVITY_DUPLICATE_ID, 22 - value :WORKFLOW_TASK_FAILED_CAUSE_BAD_SEARCH_ATTRIBUTES, 23 - end - add_enum "temporal.api.enums.v1.StartChildWorkflowExecutionFailedCause" do - value :START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED, 0 - value :START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_WORKFLOW_ALREADY_EXISTS, 1 - end - add_enum "temporal.api.enums.v1.CancelExternalWorkflowExecutionFailedCause" do - value :CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED, 0 - value :CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_EXTERNAL_WORKFLOW_EXECUTION_NOT_FOUND, 1 - end - add_enum "temporal.api.enums.v1.SignalExternalWorkflowExecutionFailedCause" do - value :SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED, 0 - value :SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_EXTERNAL_WORKFLOW_EXECUTION_NOT_FOUND, 1 - end - end -end + +descriptor_data = "\n(temporal/api/enums/v1/failed_cause.proto\x12\x15temporal.api.enums.v1*\xd8\x0b\n\x17WorkflowTaskFailedCause\x12*\n&WORKFLOW_TASK_FAILED_CAUSE_UNSPECIFIED\x10\x00\x12\x30\n,WORKFLOW_TASK_FAILED_CAUSE_UNHANDLED_COMMAND\x10\x01\x12?\n;WORKFLOW_TASK_FAILED_CAUSE_BAD_SCHEDULE_ACTIVITY_ATTRIBUTES\x10\x02\x12\x45\nAWORKFLOW_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_ACTIVITY_ATTRIBUTES\x10\x03\x12\x39\n5WORKFLOW_TASK_FAILED_CAUSE_BAD_START_TIMER_ATTRIBUTES\x10\x04\x12:\n6WORKFLOW_TASK_FAILED_CAUSE_BAD_CANCEL_TIMER_ATTRIBUTES\x10\x05\x12;\n7WORKFLOW_TASK_FAILED_CAUSE_BAD_RECORD_MARKER_ATTRIBUTES\x10\x06\x12I\nEWORKFLOW_TASK_FAILED_CAUSE_BAD_COMPLETE_WORKFLOW_EXECUTION_ATTRIBUTES\x10\x07\x12\x45\nAWORKFLOW_TASK_FAILED_CAUSE_BAD_FAIL_WORKFLOW_EXECUTION_ATTRIBUTES\x10\x08\x12G\nCWORKFLOW_TASK_FAILED_CAUSE_BAD_CANCEL_WORKFLOW_EXECUTION_ATTRIBUTES\x10\t\x12X\nTWORKFLOW_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_ATTRIBUTES\x10\n\x12=\n9WORKFLOW_TASK_FAILED_CAUSE_BAD_CONTINUE_AS_NEW_ATTRIBUTES\x10\x0b\x12\x37\n3WORKFLOW_TASK_FAILED_CAUSE_START_TIMER_DUPLICATE_ID\x10\x0c\x12\x36\n2WORKFLOW_TASK_FAILED_CAUSE_RESET_STICKY_TASK_QUEUE\x10\r\x12@\n :proto3) do - add_enum "temporal.api.enums.v1.NamespaceState" do - value :NAMESPACE_STATE_UNSPECIFIED, 0 - value :NAMESPACE_STATE_REGISTERED, 1 - value :NAMESPACE_STATE_DEPRECATED, 2 - value :NAMESPACE_STATE_DELETED, 3 - end - add_enum "temporal.api.enums.v1.ArchivalState" do - value :ARCHIVAL_STATE_UNSPECIFIED, 0 - value :ARCHIVAL_STATE_DISABLED, 1 - value :ARCHIVAL_STATE_ENABLED, 2 - end - end -end + +descriptor_data = "\n%temporal/api/enums/v1/namespace.proto\x12\x15temporal.api.enums.v1*\x8e\x01\n\x0eNamespaceState\x12\x1f\n\x1bNAMESPACE_STATE_UNSPECIFIED\x10\x00\x12\x1e\n\x1aNAMESPACE_STATE_REGISTERED\x10\x01\x12\x1e\n\x1aNAMESPACE_STATE_DEPRECATED\x10\x02\x12\x1b\n\x17NAMESPACE_STATE_DELETED\x10\x03*h\n\rArchivalState\x12\x1e\n\x1a\x41RCHIVAL_STATE_UNSPECIFIED\x10\x00\x12\x1b\n\x17\x41RCHIVAL_STATE_DISABLED\x10\x01\x12\x1a\n\x16\x41RCHIVAL_STATE_ENABLED\x10\x02\x42\x82\x01\n\x18io.temporal.api.enums.v1B\x0eNamespaceProtoP\x01Z!go.temporal.io/api/enums/v1;enums\xaa\x02\x15Temporal.Api.Enums.V1\xea\x02\x18Temporal::Api::Enums::V1b\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Temporal module Api diff --git a/lib/gen/temporal/api/enums/v1/query_pb.rb b/lib/gen/temporal/api/enums/v1/query_pb.rb index d6eaabb2..9d01e82d 100644 --- a/lib/gen/temporal/api/enums/v1/query_pb.rb +++ b/lib/gen/temporal/api/enums/v1/query_pb.rb @@ -1,23 +1,14 @@ +# frozen_string_literal: true # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/enums/v1/query.proto require 'google/protobuf' -Google::Protobuf::DescriptorPool.generated_pool.build do - add_file("temporal/api/enums/v1/query.proto", :syntax => :proto3) do - add_enum "temporal.api.enums.v1.QueryResultType" do - value :QUERY_RESULT_TYPE_UNSPECIFIED, 0 - value :QUERY_RESULT_TYPE_ANSWERED, 1 - value :QUERY_RESULT_TYPE_FAILED, 2 - end - add_enum "temporal.api.enums.v1.QueryRejectCondition" do - value :QUERY_REJECT_CONDITION_UNSPECIFIED, 0 - value :QUERY_REJECT_CONDITION_NONE, 1 - value :QUERY_REJECT_CONDITION_NOT_OPEN, 2 - value :QUERY_REJECT_CONDITION_NOT_COMPLETED_CLEANLY, 3 - end - end -end + +descriptor_data = "\n!temporal/api/enums/v1/query.proto\x12\x15temporal.api.enums.v1*r\n\x0fQueryResultType\x12!\n\x1dQUERY_RESULT_TYPE_UNSPECIFIED\x10\x00\x12\x1e\n\x1aQUERY_RESULT_TYPE_ANSWERED\x10\x01\x12\x1c\n\x18QUERY_RESULT_TYPE_FAILED\x10\x02*\xb6\x01\n\x14QueryRejectCondition\x12&\n\"QUERY_REJECT_CONDITION_UNSPECIFIED\x10\x00\x12\x1f\n\x1bQUERY_REJECT_CONDITION_NONE\x10\x01\x12#\n\x1fQUERY_REJECT_CONDITION_NOT_OPEN\x10\x02\x12\x30\n,QUERY_REJECT_CONDITION_NOT_COMPLETED_CLEANLY\x10\x03\x42~\n\x18io.temporal.api.enums.v1B\nQueryProtoP\x01Z!go.temporal.io/api/enums/v1;enums\xaa\x02\x15Temporal.Api.Enums.V1\xea\x02\x18Temporal::Api::Enums::V1b\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Temporal module Api diff --git a/lib/gen/temporal/api/enums/v1/task_queue_pb.rb b/lib/gen/temporal/api/enums/v1/task_queue_pb.rb index bc0a59f6..08d417bc 100644 --- a/lib/gen/temporal/api/enums/v1/task_queue_pb.rb +++ b/lib/gen/temporal/api/enums/v1/task_queue_pb.rb @@ -1,22 +1,14 @@ +# frozen_string_literal: true # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/enums/v1/task_queue.proto require 'google/protobuf' -Google::Protobuf::DescriptorPool.generated_pool.build do - add_file("temporal/api/enums/v1/task_queue.proto", :syntax => :proto3) do - add_enum "temporal.api.enums.v1.TaskQueueKind" do - value :TASK_QUEUE_KIND_UNSPECIFIED, 0 - value :TASK_QUEUE_KIND_NORMAL, 1 - value :TASK_QUEUE_KIND_STICKY, 2 - end - add_enum "temporal.api.enums.v1.TaskQueueType" do - value :TASK_QUEUE_TYPE_UNSPECIFIED, 0 - value :TASK_QUEUE_TYPE_WORKFLOW, 1 - value :TASK_QUEUE_TYPE_ACTIVITY, 2 - end - end -end + +descriptor_data = "\n&temporal/api/enums/v1/task_queue.proto\x12\x15temporal.api.enums.v1*h\n\rTaskQueueKind\x12\x1f\n\x1bTASK_QUEUE_KIND_UNSPECIFIED\x10\x00\x12\x1a\n\x16TASK_QUEUE_KIND_NORMAL\x10\x01\x12\x1a\n\x16TASK_QUEUE_KIND_STICKY\x10\x02*l\n\rTaskQueueType\x12\x1f\n\x1bTASK_QUEUE_TYPE_UNSPECIFIED\x10\x00\x12\x1c\n\x18TASK_QUEUE_TYPE_WORKFLOW\x10\x01\x12\x1c\n\x18TASK_QUEUE_TYPE_ACTIVITY\x10\x02\x42\x82\x01\n\x18io.temporal.api.enums.v1B\x0eTaskQueueProtoP\x01Z!go.temporal.io/api/enums/v1;enums\xaa\x02\x15Temporal.Api.Enums.V1\xea\x02\x18Temporal::Api::Enums::V1b\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Temporal module Api diff --git a/lib/gen/temporal/api/enums/v1/workflow_pb.rb b/lib/gen/temporal/api/enums/v1/workflow_pb.rb index e65f3cd9..2fd28e1e 100644 --- a/lib/gen/temporal/api/enums/v1/workflow_pb.rb +++ b/lib/gen/temporal/api/enums/v1/workflow_pb.rb @@ -1,68 +1,14 @@ +# frozen_string_literal: true # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/enums/v1/workflow.proto require 'google/protobuf' -Google::Protobuf::DescriptorPool.generated_pool.build do - add_file("temporal/api/enums/v1/workflow.proto", :syntax => :proto3) do - add_enum "temporal.api.enums.v1.WorkflowIdReusePolicy" do - value :WORKFLOW_ID_REUSE_POLICY_UNSPECIFIED, 0 - value :WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE, 1 - value :WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE_FAILED_ONLY, 2 - value :WORKFLOW_ID_REUSE_POLICY_REJECT_DUPLICATE, 3 - end - add_enum "temporal.api.enums.v1.ParentClosePolicy" do - value :PARENT_CLOSE_POLICY_UNSPECIFIED, 0 - value :PARENT_CLOSE_POLICY_TERMINATE, 1 - value :PARENT_CLOSE_POLICY_ABANDON, 2 - value :PARENT_CLOSE_POLICY_REQUEST_CANCEL, 3 - end - add_enum "temporal.api.enums.v1.ContinueAsNewInitiator" do - value :CONTINUE_AS_NEW_INITIATOR_UNSPECIFIED, 0 - value :CONTINUE_AS_NEW_INITIATOR_WORKFLOW, 1 - value :CONTINUE_AS_NEW_INITIATOR_RETRY, 2 - value :CONTINUE_AS_NEW_INITIATOR_CRON_SCHEDULE, 3 - end - add_enum "temporal.api.enums.v1.WorkflowExecutionStatus" do - value :WORKFLOW_EXECUTION_STATUS_UNSPECIFIED, 0 - value :WORKFLOW_EXECUTION_STATUS_RUNNING, 1 - value :WORKFLOW_EXECUTION_STATUS_COMPLETED, 2 - value :WORKFLOW_EXECUTION_STATUS_FAILED, 3 - value :WORKFLOW_EXECUTION_STATUS_CANCELED, 4 - value :WORKFLOW_EXECUTION_STATUS_TERMINATED, 5 - value :WORKFLOW_EXECUTION_STATUS_CONTINUED_AS_NEW, 6 - value :WORKFLOW_EXECUTION_STATUS_TIMED_OUT, 7 - end - add_enum "temporal.api.enums.v1.PendingActivityState" do - value :PENDING_ACTIVITY_STATE_UNSPECIFIED, 0 - value :PENDING_ACTIVITY_STATE_SCHEDULED, 1 - value :PENDING_ACTIVITY_STATE_STARTED, 2 - value :PENDING_ACTIVITY_STATE_CANCEL_REQUESTED, 3 - end - add_enum "temporal.api.enums.v1.HistoryEventFilterType" do - value :HISTORY_EVENT_FILTER_TYPE_UNSPECIFIED, 0 - value :HISTORY_EVENT_FILTER_TYPE_ALL_EVENT, 1 - value :HISTORY_EVENT_FILTER_TYPE_CLOSE_EVENT, 2 - end - add_enum "temporal.api.enums.v1.RetryState" do - value :RETRY_STATE_UNSPECIFIED, 0 - value :RETRY_STATE_IN_PROGRESS, 1 - value :RETRY_STATE_NON_RETRYABLE_FAILURE, 2 - value :RETRY_STATE_TIMEOUT, 3 - value :RETRY_STATE_MAXIMUM_ATTEMPTS_REACHED, 4 - value :RETRY_STATE_RETRY_POLICY_NOT_SET, 5 - value :RETRY_STATE_INTERNAL_SERVER_ERROR, 6 - value :RETRY_STATE_CANCEL_REQUESTED, 7 - end - add_enum "temporal.api.enums.v1.TimeoutType" do - value :TIMEOUT_TYPE_UNSPECIFIED, 0 - value :TIMEOUT_TYPE_START_TO_CLOSE, 1 - value :TIMEOUT_TYPE_SCHEDULE_TO_START, 2 - value :TIMEOUT_TYPE_SCHEDULE_TO_CLOSE, 3 - value :TIMEOUT_TYPE_HEARTBEAT, 4 - end - end -end + +descriptor_data = "\n$temporal/api/enums/v1/workflow.proto\x12\x15temporal.api.enums.v1*\xd8\x01\n\x15WorkflowIdReusePolicy\x12(\n$WORKFLOW_ID_REUSE_POLICY_UNSPECIFIED\x10\x00\x12,\n(WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE\x10\x01\x12\x38\n4WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE_FAILED_ONLY\x10\x02\x12-\n)WORKFLOW_ID_REUSE_POLICY_REJECT_DUPLICATE\x10\x03*\xa4\x01\n\x11ParentClosePolicy\x12#\n\x1fPARENT_CLOSE_POLICY_UNSPECIFIED\x10\x00\x12!\n\x1dPARENT_CLOSE_POLICY_TERMINATE\x10\x01\x12\x1f\n\x1bPARENT_CLOSE_POLICY_ABANDON\x10\x02\x12&\n\"PARENT_CLOSE_POLICY_REQUEST_CANCEL\x10\x03*\xbd\x01\n\x16\x43ontinueAsNewInitiator\x12)\n%CONTINUE_AS_NEW_INITIATOR_UNSPECIFIED\x10\x00\x12&\n\"CONTINUE_AS_NEW_INITIATOR_WORKFLOW\x10\x01\x12#\n\x1f\x43ONTINUE_AS_NEW_INITIATOR_RETRY\x10\x02\x12+\n\'CONTINUE_AS_NEW_INITIATOR_CRON_SCHEDULE\x10\x03*\xe5\x02\n\x17WorkflowExecutionStatus\x12)\n%WORKFLOW_EXECUTION_STATUS_UNSPECIFIED\x10\x00\x12%\n!WORKFLOW_EXECUTION_STATUS_RUNNING\x10\x01\x12\'\n#WORKFLOW_EXECUTION_STATUS_COMPLETED\x10\x02\x12$\n WORKFLOW_EXECUTION_STATUS_FAILED\x10\x03\x12&\n\"WORKFLOW_EXECUTION_STATUS_CANCELED\x10\x04\x12(\n$WORKFLOW_EXECUTION_STATUS_TERMINATED\x10\x05\x12.\n*WORKFLOW_EXECUTION_STATUS_CONTINUED_AS_NEW\x10\x06\x12\'\n#WORKFLOW_EXECUTION_STATUS_TIMED_OUT\x10\x07*\xb5\x01\n\x14PendingActivityState\x12&\n\"PENDING_ACTIVITY_STATE_UNSPECIFIED\x10\x00\x12$\n PENDING_ACTIVITY_STATE_SCHEDULED\x10\x01\x12\"\n\x1ePENDING_ACTIVITY_STATE_STARTED\x10\x02\x12+\n\'PENDING_ACTIVITY_STATE_CANCEL_REQUESTED\x10\x03*\x97\x01\n\x16HistoryEventFilterType\x12)\n%HISTORY_EVENT_FILTER_TYPE_UNSPECIFIED\x10\x00\x12\'\n#HISTORY_EVENT_FILTER_TYPE_ALL_EVENT\x10\x01\x12)\n%HISTORY_EVENT_FILTER_TYPE_CLOSE_EVENT\x10\x02*\x9f\x02\n\nRetryState\x12\x1b\n\x17RETRY_STATE_UNSPECIFIED\x10\x00\x12\x1b\n\x17RETRY_STATE_IN_PROGRESS\x10\x01\x12%\n!RETRY_STATE_NON_RETRYABLE_FAILURE\x10\x02\x12\x17\n\x13RETRY_STATE_TIMEOUT\x10\x03\x12(\n$RETRY_STATE_MAXIMUM_ATTEMPTS_REACHED\x10\x04\x12$\n RETRY_STATE_RETRY_POLICY_NOT_SET\x10\x05\x12%\n!RETRY_STATE_INTERNAL_SERVER_ERROR\x10\x06\x12 \n\x1cRETRY_STATE_CANCEL_REQUESTED\x10\x07*\xb0\x01\n\x0bTimeoutType\x12\x1c\n\x18TIMEOUT_TYPE_UNSPECIFIED\x10\x00\x12\x1f\n\x1bTIMEOUT_TYPE_START_TO_CLOSE\x10\x01\x12\"\n\x1eTIMEOUT_TYPE_SCHEDULE_TO_START\x10\x02\x12\"\n\x1eTIMEOUT_TYPE_SCHEDULE_TO_CLOSE\x10\x03\x12\x1a\n\x16TIMEOUT_TYPE_HEARTBEAT\x10\x04\x42\x81\x01\n\x18io.temporal.api.enums.v1B\rWorkflowProtoP\x01Z!go.temporal.io/api/enums/v1;enums\xaa\x02\x15Temporal.Api.Enums.V1\xea\x02\x18Temporal::Api::Enums::V1b\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Temporal module Api diff --git a/lib/gen/temporal/api/errordetails/v1/message_pb.rb b/lib/gen/temporal/api/errordetails/v1/message_pb.rb index 64cf7725..771b8b19 100644 --- a/lib/gen/temporal/api/errordetails/v1/message_pb.rb +++ b/lib/gen/temporal/api/errordetails/v1/message_pb.rb @@ -1,40 +1,14 @@ +# frozen_string_literal: true # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/errordetails/v1/message.proto require 'google/protobuf' -Google::Protobuf::DescriptorPool.generated_pool.build do - add_file("temporal/api/errordetails/v1/message.proto", :syntax => :proto3) do - add_message "temporal.api.errordetails.v1.NotFoundFailure" do - optional :current_cluster, :string, 1 - optional :active_cluster, :string, 2 - end - add_message "temporal.api.errordetails.v1.WorkflowExecutionAlreadyStartedFailure" do - optional :start_request_id, :string, 1 - optional :run_id, :string, 2 - end - add_message "temporal.api.errordetails.v1.NamespaceNotActiveFailure" do - optional :namespace, :string, 1 - optional :current_cluster, :string, 2 - optional :active_cluster, :string, 3 - end - add_message "temporal.api.errordetails.v1.ClientVersionNotSupportedFailure" do - optional :client_version, :string, 1 - optional :client_name, :string, 2 - optional :supported_versions, :string, 3 - end - add_message "temporal.api.errordetails.v1.ServerVersionNotSupportedFailure" do - optional :server_version, :string, 1 - optional :client_supported_server_versions, :string, 2 - end - add_message "temporal.api.errordetails.v1.NamespaceAlreadyExistsFailure" do - end - add_message "temporal.api.errordetails.v1.CancellationAlreadyRequestedFailure" do - end - add_message "temporal.api.errordetails.v1.QueryFailedFailure" do - end - end -end + +descriptor_data = "\n*temporal/api/errordetails/v1/message.proto\x12\x1ctemporal.api.errordetails.v1\"B\n\x0fNotFoundFailure\x12\x17\n\x0f\x63urrent_cluster\x18\x01 \x01(\t\x12\x16\n\x0e\x61\x63tive_cluster\x18\x02 \x01(\t\"R\n&WorkflowExecutionAlreadyStartedFailure\x12\x18\n\x10start_request_id\x18\x01 \x01(\t\x12\x0e\n\x06run_id\x18\x02 \x01(\t\"_\n\x19NamespaceNotActiveFailure\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x17\n\x0f\x63urrent_cluster\x18\x02 \x01(\t\x12\x16\n\x0e\x61\x63tive_cluster\x18\x03 \x01(\t\"k\n ClientVersionNotSupportedFailure\x12\x16\n\x0e\x63lient_version\x18\x01 \x01(\t\x12\x13\n\x0b\x63lient_name\x18\x02 \x01(\t\x12\x1a\n\x12supported_versions\x18\x03 \x01(\t\"d\n ServerVersionNotSupportedFailure\x12\x16\n\x0eserver_version\x18\x01 \x01(\t\x12(\n client_supported_server_versions\x18\x02 \x01(\t\"\x1f\n\x1dNamespaceAlreadyExistsFailure\"%\n#CancellationAlreadyRequestedFailure\"\x14\n\x12QueryFailedFailureB\xa3\x01\n\x1fio.temporal.api.errordetails.v1B\x0cMessageProtoP\x01Z/go.temporal.io/api/errordetails/v1;errordetails\xaa\x02\x1cTemporal.Api.ErrorDetails.V1\xea\x02\x1fTemporal::Api::ErrorDetails::V1b\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Temporal module Api diff --git a/lib/gen/temporal/api/failure/v1/message_pb.rb b/lib/gen/temporal/api/failure/v1/message_pb.rb index 757b4693..3aa9593b 100644 --- a/lib/gen/temporal/api/failure/v1/message_pb.rb +++ b/lib/gen/temporal/api/failure/v1/message_pb.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/failure/v1/message.proto @@ -5,62 +6,12 @@ require 'temporal/api/common/v1/message_pb' require 'temporal/api/enums/v1/workflow_pb' -Google::Protobuf::DescriptorPool.generated_pool.build do - add_file("temporal/api/failure/v1/message.proto", :syntax => :proto3) do - add_message "temporal.api.failure.v1.ApplicationFailureInfo" do - optional :type, :string, 1 - optional :non_retryable, :bool, 2 - optional :details, :message, 3, "temporal.api.common.v1.Payloads" - end - add_message "temporal.api.failure.v1.TimeoutFailureInfo" do - optional :timeout_type, :enum, 1, "temporal.api.enums.v1.TimeoutType" - optional :last_heartbeat_details, :message, 2, "temporal.api.common.v1.Payloads" - end - add_message "temporal.api.failure.v1.CanceledFailureInfo" do - optional :details, :message, 1, "temporal.api.common.v1.Payloads" - end - add_message "temporal.api.failure.v1.TerminatedFailureInfo" do - end - add_message "temporal.api.failure.v1.ServerFailureInfo" do - optional :non_retryable, :bool, 1 - end - add_message "temporal.api.failure.v1.ResetWorkflowFailureInfo" do - optional :last_heartbeat_details, :message, 1, "temporal.api.common.v1.Payloads" - end - add_message "temporal.api.failure.v1.ActivityFailureInfo" do - optional :scheduled_event_id, :int64, 1 - optional :started_event_id, :int64, 2 - optional :identity, :string, 3 - optional :activity_type, :message, 4, "temporal.api.common.v1.ActivityType" - optional :activity_id, :string, 5 - optional :retry_state, :enum, 6, "temporal.api.enums.v1.RetryState" - end - add_message "temporal.api.failure.v1.ChildWorkflowExecutionFailureInfo" do - optional :namespace, :string, 1 - optional :workflow_execution, :message, 2, "temporal.api.common.v1.WorkflowExecution" - optional :workflow_type, :message, 3, "temporal.api.common.v1.WorkflowType" - optional :initiated_event_id, :int64, 4 - optional :started_event_id, :int64, 5 - optional :retry_state, :enum, 6, "temporal.api.enums.v1.RetryState" - end - add_message "temporal.api.failure.v1.Failure" do - optional :message, :string, 1 - optional :source, :string, 2 - optional :stack_trace, :string, 3 - optional :cause, :message, 4, "temporal.api.failure.v1.Failure" - oneof :failure_info do - optional :application_failure_info, :message, 5, "temporal.api.failure.v1.ApplicationFailureInfo" - optional :timeout_failure_info, :message, 6, "temporal.api.failure.v1.TimeoutFailureInfo" - optional :canceled_failure_info, :message, 7, "temporal.api.failure.v1.CanceledFailureInfo" - optional :terminated_failure_info, :message, 8, "temporal.api.failure.v1.TerminatedFailureInfo" - optional :server_failure_info, :message, 9, "temporal.api.failure.v1.ServerFailureInfo" - optional :reset_workflow_failure_info, :message, 10, "temporal.api.failure.v1.ResetWorkflowFailureInfo" - optional :activity_failure_info, :message, 11, "temporal.api.failure.v1.ActivityFailureInfo" - optional :child_workflow_execution_failure_info, :message, 12, "temporal.api.failure.v1.ChildWorkflowExecutionFailureInfo" - end - end - end -end + + +descriptor_data = "\n%temporal/api/failure/v1/message.proto\x12\x17temporal.api.failure.v1\x1a$temporal/api/common/v1/message.proto\x1a$temporal/api/enums/v1/workflow.proto\"p\n\x16\x41pplicationFailureInfo\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x15\n\rnon_retryable\x18\x02 \x01(\x08\x12\x31\n\x07\x64\x65tails\x18\x03 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\"\x90\x01\n\x12TimeoutFailureInfo\x12\x38\n\x0ctimeout_type\x18\x01 \x01(\x0e\x32\".temporal.api.enums.v1.TimeoutType\x12@\n\x16last_heartbeat_details\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\"H\n\x13\x43\x61nceledFailureInfo\x12\x31\n\x07\x64\x65tails\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\"\x17\n\x15TerminatedFailureInfo\"*\n\x11ServerFailureInfo\x12\x15\n\rnon_retryable\x18\x01 \x01(\x08\"\\\n\x18ResetWorkflowFailureInfo\x12@\n\x16last_heartbeat_details\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\"\xe7\x01\n\x13\x41\x63tivityFailureInfo\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x18\n\x10started_event_id\x18\x02 \x01(\x03\x12\x10\n\x08identity\x18\x03 \x01(\t\x12;\n\ractivity_type\x18\x04 \x01(\x0b\x32$.temporal.api.common.v1.ActivityType\x12\x13\n\x0b\x61\x63tivity_id\x18\x05 \x01(\t\x12\x36\n\x0bretry_state\x18\x06 \x01(\x0e\x32!.temporal.api.enums.v1.RetryState\"\xa8\x02\n!ChildWorkflowExecutionFailureInfo\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x1a\n\x12initiated_event_id\x18\x04 \x01(\x03\x12\x18\n\x10started_event_id\x18\x05 \x01(\x03\x12\x36\n\x0bretry_state\x18\x06 \x01(\x0e\x32!.temporal.api.enums.v1.RetryState\"\xa5\x06\n\x07\x46\x61ilure\x12\x0f\n\x07message\x18\x01 \x01(\t\x12\x0e\n\x06source\x18\x02 \x01(\t\x12\x13\n\x0bstack_trace\x18\x03 \x01(\t\x12/\n\x05\x63\x61use\x18\x04 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12S\n\x18\x61pplication_failure_info\x18\x05 \x01(\x0b\x32/.temporal.api.failure.v1.ApplicationFailureInfoH\x00\x12K\n\x14timeout_failure_info\x18\x06 \x01(\x0b\x32+.temporal.api.failure.v1.TimeoutFailureInfoH\x00\x12M\n\x15\x63\x61nceled_failure_info\x18\x07 \x01(\x0b\x32,.temporal.api.failure.v1.CanceledFailureInfoH\x00\x12Q\n\x17terminated_failure_info\x18\x08 \x01(\x0b\x32..temporal.api.failure.v1.TerminatedFailureInfoH\x00\x12I\n\x13server_failure_info\x18\t \x01(\x0b\x32*.temporal.api.failure.v1.ServerFailureInfoH\x00\x12X\n\x1breset_workflow_failure_info\x18\n \x01(\x0b\x32\x31.temporal.api.failure.v1.ResetWorkflowFailureInfoH\x00\x12M\n\x15\x61\x63tivity_failure_info\x18\x0b \x01(\x0b\x32,.temporal.api.failure.v1.ActivityFailureInfoH\x00\x12k\n%child_workflow_execution_failure_info\x18\x0c \x01(\x0b\x32:.temporal.api.failure.v1.ChildWorkflowExecutionFailureInfoH\x00\x42\x0e\n\x0c\x66\x61ilure_infoB\x8a\x01\n\x1aio.temporal.api.failure.v1B\x0cMessageProtoP\x01Z%go.temporal.io/api/failure/v1;failure\xaa\x02\x17Temporal.Api.Failure.V1\xea\x02\x1aTemporal::Api::Failure::V1b\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Temporal module Api diff --git a/lib/gen/temporal/api/filter/v1/message_pb.rb b/lib/gen/temporal/api/filter/v1/message_pb.rb index 5a440018..1ccee5f8 100644 --- a/lib/gen/temporal/api/filter/v1/message_pb.rb +++ b/lib/gen/temporal/api/filter/v1/message_pb.rb @@ -1,28 +1,18 @@ +# frozen_string_literal: true # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/filter/v1/message.proto require 'google/protobuf' require 'google/protobuf/timestamp_pb' +require 'dependencies/gogoproto/gogo_pb' require 'temporal/api/enums/v1/workflow_pb' -Google::Protobuf::DescriptorPool.generated_pool.build do - add_file("temporal/api/filter/v1/message.proto", :syntax => :proto3) do - add_message "temporal.api.filter.v1.WorkflowExecutionFilter" do - optional :workflow_id, :string, 1 - optional :run_id, :string, 2 - end - add_message "temporal.api.filter.v1.WorkflowTypeFilter" do - optional :name, :string, 1 - end - add_message "temporal.api.filter.v1.StartTimeFilter" do - optional :earliest_time, :message, 1, "google.protobuf.Timestamp" - optional :latest_time, :message, 2, "google.protobuf.Timestamp" - end - add_message "temporal.api.filter.v1.StatusFilter" do - optional :status, :enum, 1, "temporal.api.enums.v1.WorkflowExecutionStatus" - end - end -end + + +descriptor_data = "\n$temporal/api/filter/v1/message.proto\x12\x16temporal.api.filter.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a!dependencies/gogoproto/gogo.proto\x1a$temporal/api/enums/v1/workflow.proto\">\n\x17WorkflowExecutionFilter\x12\x13\n\x0bworkflow_id\x18\x01 \x01(\t\x12\x0e\n\x06run_id\x18\x02 \x01(\t\"\"\n\x12WorkflowTypeFilter\x12\x0c\n\x04name\x18\x01 \x01(\t\"\x81\x01\n\x0fStartTimeFilter\x12\x37\n\rearliest_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\x90\xdf\x1f\x01\x12\x35\n\x0blatest_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\x90\xdf\x1f\x01\"N\n\x0cStatusFilter\x12>\n\x06status\x18\x01 \x01(\x0e\x32..temporal.api.enums.v1.WorkflowExecutionStatusB\x85\x01\n\x19io.temporal.api.filter.v1B\x0cMessageProtoP\x01Z#go.temporal.io/api/filter/v1;filter\xaa\x02\x16Temporal.Api.Filter.V1\xea\x02\x19Temporal::Api::Filter::V1b\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Temporal module Api diff --git a/lib/gen/temporal/api/history/v1/message_pb.rb b/lib/gen/temporal/api/history/v1/message_pb.rb index bc3586ae..3c1794bc 100644 --- a/lib/gen/temporal/api/history/v1/message_pb.rb +++ b/lib/gen/temporal/api/history/v1/message_pb.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/history/v1/message.proto @@ -5,6 +6,7 @@ require 'google/protobuf/duration_pb' require 'google/protobuf/timestamp_pb' +require 'dependencies/gogoproto/gogo_pb' require 'temporal/api/enums/v1/event_type_pb' require 'temporal/api/enums/v1/failed_cause_pb' require 'temporal/api/enums/v1/workflow_pb' @@ -12,364 +14,12 @@ require 'temporal/api/failure/v1/message_pb' require 'temporal/api/workflow/v1/message_pb' require 'temporal/api/taskqueue/v1/message_pb' -Google::Protobuf::DescriptorPool.generated_pool.build do - add_file("temporal/api/history/v1/message.proto", :syntax => :proto3) do - add_message "temporal.api.history.v1.WorkflowExecutionStartedEventAttributes" do - optional :workflow_type, :message, 1, "temporal.api.common.v1.WorkflowType" - optional :parent_workflow_namespace, :string, 2 - optional :parent_workflow_execution, :message, 3, "temporal.api.common.v1.WorkflowExecution" - optional :parent_initiated_event_id, :int64, 4 - optional :task_queue, :message, 5, "temporal.api.taskqueue.v1.TaskQueue" - optional :input, :message, 6, "temporal.api.common.v1.Payloads" - optional :workflow_execution_timeout, :message, 7, "google.protobuf.Duration" - optional :workflow_run_timeout, :message, 8, "google.protobuf.Duration" - optional :workflow_task_timeout, :message, 9, "google.protobuf.Duration" - optional :continued_execution_run_id, :string, 10 - optional :initiator, :enum, 11, "temporal.api.enums.v1.ContinueAsNewInitiator" - optional :continued_failure, :message, 12, "temporal.api.failure.v1.Failure" - optional :last_completion_result, :message, 13, "temporal.api.common.v1.Payloads" - optional :original_execution_run_id, :string, 14 - optional :identity, :string, 15 - optional :first_execution_run_id, :string, 16 - optional :retry_policy, :message, 17, "temporal.api.common.v1.RetryPolicy" - optional :attempt, :int32, 18 - optional :workflow_execution_expiration_time, :message, 19, "google.protobuf.Timestamp" - optional :cron_schedule, :string, 20 - optional :first_workflow_task_backoff, :message, 21, "google.protobuf.Duration" - optional :memo, :message, 22, "temporal.api.common.v1.Memo" - optional :search_attributes, :message, 23, "temporal.api.common.v1.SearchAttributes" - optional :prev_auto_reset_points, :message, 24, "temporal.api.workflow.v1.ResetPoints" - optional :header, :message, 25, "temporal.api.common.v1.Header" - end - add_message "temporal.api.history.v1.WorkflowExecutionCompletedEventAttributes" do - optional :result, :message, 1, "temporal.api.common.v1.Payloads" - optional :workflow_task_completed_event_id, :int64, 2 - end - add_message "temporal.api.history.v1.WorkflowExecutionFailedEventAttributes" do - optional :failure, :message, 1, "temporal.api.failure.v1.Failure" - optional :retry_state, :enum, 2, "temporal.api.enums.v1.RetryState" - optional :workflow_task_completed_event_id, :int64, 3 - end - add_message "temporal.api.history.v1.WorkflowExecutionTimedOutEventAttributes" do - optional :retry_state, :enum, 1, "temporal.api.enums.v1.RetryState" - end - add_message "temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes" do - optional :new_execution_run_id, :string, 1 - optional :workflow_type, :message, 2, "temporal.api.common.v1.WorkflowType" - optional :task_queue, :message, 3, "temporal.api.taskqueue.v1.TaskQueue" - optional :input, :message, 4, "temporal.api.common.v1.Payloads" - optional :workflow_run_timeout, :message, 5, "google.protobuf.Duration" - optional :workflow_task_timeout, :message, 6, "google.protobuf.Duration" - optional :workflow_task_completed_event_id, :int64, 7 - optional :backoff_start_interval, :message, 8, "google.protobuf.Duration" - optional :initiator, :enum, 9, "temporal.api.enums.v1.ContinueAsNewInitiator" - optional :failure, :message, 10, "temporal.api.failure.v1.Failure" - optional :last_completion_result, :message, 11, "temporal.api.common.v1.Payloads" - optional :header, :message, 12, "temporal.api.common.v1.Header" - optional :memo, :message, 13, "temporal.api.common.v1.Memo" - optional :search_attributes, :message, 14, "temporal.api.common.v1.SearchAttributes" - end - add_message "temporal.api.history.v1.WorkflowTaskScheduledEventAttributes" do - optional :task_queue, :message, 1, "temporal.api.taskqueue.v1.TaskQueue" - optional :start_to_close_timeout, :message, 2, "google.protobuf.Duration" - optional :attempt, :int32, 3 - end - add_message "temporal.api.history.v1.WorkflowTaskStartedEventAttributes" do - optional :scheduled_event_id, :int64, 1 - optional :identity, :string, 2 - optional :request_id, :string, 3 - end - add_message "temporal.api.history.v1.WorkflowTaskCompletedEventAttributes" do - optional :scheduled_event_id, :int64, 1 - optional :started_event_id, :int64, 2 - optional :identity, :string, 3 - optional :binary_checksum, :string, 4 - end - add_message "temporal.api.history.v1.WorkflowTaskTimedOutEventAttributes" do - optional :scheduled_event_id, :int64, 1 - optional :started_event_id, :int64, 2 - optional :timeout_type, :enum, 3, "temporal.api.enums.v1.TimeoutType" - end - add_message "temporal.api.history.v1.WorkflowTaskFailedEventAttributes" do - optional :scheduled_event_id, :int64, 1 - optional :started_event_id, :int64, 2 - optional :cause, :enum, 3, "temporal.api.enums.v1.WorkflowTaskFailedCause" - optional :failure, :message, 4, "temporal.api.failure.v1.Failure" - optional :identity, :string, 5 - optional :base_run_id, :string, 6 - optional :new_run_id, :string, 7 - optional :fork_event_version, :int64, 8 - optional :binary_checksum, :string, 9 - end - add_message "temporal.api.history.v1.ActivityTaskScheduledEventAttributes" do - optional :activity_id, :string, 1 - optional :activity_type, :message, 2, "temporal.api.common.v1.ActivityType" - optional :namespace, :string, 3 - optional :task_queue, :message, 4, "temporal.api.taskqueue.v1.TaskQueue" - optional :header, :message, 5, "temporal.api.common.v1.Header" - optional :input, :message, 6, "temporal.api.common.v1.Payloads" - optional :schedule_to_close_timeout, :message, 7, "google.protobuf.Duration" - optional :schedule_to_start_timeout, :message, 8, "google.protobuf.Duration" - optional :start_to_close_timeout, :message, 9, "google.protobuf.Duration" - optional :heartbeat_timeout, :message, 10, "google.protobuf.Duration" - optional :workflow_task_completed_event_id, :int64, 11 - optional :retry_policy, :message, 12, "temporal.api.common.v1.RetryPolicy" - end - add_message "temporal.api.history.v1.ActivityTaskStartedEventAttributes" do - optional :scheduled_event_id, :int64, 1 - optional :identity, :string, 2 - optional :request_id, :string, 3 - optional :attempt, :int32, 4 - optional :last_failure, :message, 5, "temporal.api.failure.v1.Failure" - end - add_message "temporal.api.history.v1.ActivityTaskCompletedEventAttributes" do - optional :result, :message, 1, "temporal.api.common.v1.Payloads" - optional :scheduled_event_id, :int64, 2 - optional :started_event_id, :int64, 3 - optional :identity, :string, 4 - end - add_message "temporal.api.history.v1.ActivityTaskFailedEventAttributes" do - optional :failure, :message, 1, "temporal.api.failure.v1.Failure" - optional :scheduled_event_id, :int64, 2 - optional :started_event_id, :int64, 3 - optional :identity, :string, 4 - optional :retry_state, :enum, 5, "temporal.api.enums.v1.RetryState" - end - add_message "temporal.api.history.v1.ActivityTaskTimedOutEventAttributes" do - optional :failure, :message, 1, "temporal.api.failure.v1.Failure" - optional :scheduled_event_id, :int64, 2 - optional :started_event_id, :int64, 3 - optional :retry_state, :enum, 4, "temporal.api.enums.v1.RetryState" - end - add_message "temporal.api.history.v1.ActivityTaskCancelRequestedEventAttributes" do - optional :scheduled_event_id, :int64, 1 - optional :workflow_task_completed_event_id, :int64, 2 - end - add_message "temporal.api.history.v1.ActivityTaskCanceledEventAttributes" do - optional :details, :message, 1, "temporal.api.common.v1.Payloads" - optional :latest_cancel_requested_event_id, :int64, 2 - optional :scheduled_event_id, :int64, 3 - optional :started_event_id, :int64, 4 - optional :identity, :string, 5 - end - add_message "temporal.api.history.v1.TimerStartedEventAttributes" do - optional :timer_id, :string, 1 - optional :start_to_fire_timeout, :message, 2, "google.protobuf.Duration" - optional :workflow_task_completed_event_id, :int64, 3 - end - add_message "temporal.api.history.v1.TimerFiredEventAttributes" do - optional :timer_id, :string, 1 - optional :started_event_id, :int64, 2 - end - add_message "temporal.api.history.v1.TimerCanceledEventAttributes" do - optional :timer_id, :string, 1 - optional :started_event_id, :int64, 2 - optional :workflow_task_completed_event_id, :int64, 3 - optional :identity, :string, 4 - end - add_message "temporal.api.history.v1.WorkflowExecutionCancelRequestedEventAttributes" do - optional :cause, :string, 1 - optional :external_initiated_event_id, :int64, 2 - optional :external_workflow_execution, :message, 3, "temporal.api.common.v1.WorkflowExecution" - optional :identity, :string, 4 - end - add_message "temporal.api.history.v1.WorkflowExecutionCanceledEventAttributes" do - optional :workflow_task_completed_event_id, :int64, 1 - optional :details, :message, 2, "temporal.api.common.v1.Payloads" - end - add_message "temporal.api.history.v1.MarkerRecordedEventAttributes" do - optional :marker_name, :string, 1 - map :details, :string, :message, 2, "temporal.api.common.v1.Payloads" - optional :workflow_task_completed_event_id, :int64, 3 - optional :header, :message, 4, "temporal.api.common.v1.Header" - optional :failure, :message, 5, "temporal.api.failure.v1.Failure" - end - add_message "temporal.api.history.v1.WorkflowExecutionSignaledEventAttributes" do - optional :signal_name, :string, 1 - optional :input, :message, 2, "temporal.api.common.v1.Payloads" - optional :identity, :string, 3 - end - add_message "temporal.api.history.v1.WorkflowExecutionTerminatedEventAttributes" do - optional :reason, :string, 1 - optional :details, :message, 2, "temporal.api.common.v1.Payloads" - optional :identity, :string, 3 - end - add_message "temporal.api.history.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes" do - optional :workflow_task_completed_event_id, :int64, 1 - optional :namespace, :string, 2 - optional :workflow_execution, :message, 3, "temporal.api.common.v1.WorkflowExecution" - optional :control, :string, 4 - optional :child_workflow_only, :bool, 5 - end - add_message "temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributes" do - optional :cause, :enum, 1, "temporal.api.enums.v1.CancelExternalWorkflowExecutionFailedCause" - optional :workflow_task_completed_event_id, :int64, 2 - optional :namespace, :string, 3 - optional :workflow_execution, :message, 4, "temporal.api.common.v1.WorkflowExecution" - optional :initiated_event_id, :int64, 5 - optional :control, :string, 6 - end - add_message "temporal.api.history.v1.ExternalWorkflowExecutionCancelRequestedEventAttributes" do - optional :initiated_event_id, :int64, 1 - optional :namespace, :string, 2 - optional :workflow_execution, :message, 3, "temporal.api.common.v1.WorkflowExecution" - end - add_message "temporal.api.history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributes" do - optional :workflow_task_completed_event_id, :int64, 1 - optional :namespace, :string, 2 - optional :workflow_execution, :message, 3, "temporal.api.common.v1.WorkflowExecution" - optional :signal_name, :string, 4 - optional :input, :message, 5, "temporal.api.common.v1.Payloads" - optional :control, :string, 6 - optional :child_workflow_only, :bool, 7 - end - add_message "temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributes" do - optional :cause, :enum, 1, "temporal.api.enums.v1.SignalExternalWorkflowExecutionFailedCause" - optional :workflow_task_completed_event_id, :int64, 2 - optional :namespace, :string, 3 - optional :workflow_execution, :message, 4, "temporal.api.common.v1.WorkflowExecution" - optional :initiated_event_id, :int64, 5 - optional :control, :string, 6 - end - add_message "temporal.api.history.v1.ExternalWorkflowExecutionSignaledEventAttributes" do - optional :initiated_event_id, :int64, 1 - optional :namespace, :string, 2 - optional :workflow_execution, :message, 3, "temporal.api.common.v1.WorkflowExecution" - optional :control, :string, 4 - end - add_message "temporal.api.history.v1.UpsertWorkflowSearchAttributesEventAttributes" do - optional :workflow_task_completed_event_id, :int64, 1 - optional :search_attributes, :message, 2, "temporal.api.common.v1.SearchAttributes" - end - add_message "temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributes" do - optional :namespace, :string, 1 - optional :workflow_id, :string, 2 - optional :workflow_type, :message, 3, "temporal.api.common.v1.WorkflowType" - optional :task_queue, :message, 4, "temporal.api.taskqueue.v1.TaskQueue" - optional :input, :message, 5, "temporal.api.common.v1.Payloads" - optional :workflow_execution_timeout, :message, 6, "google.protobuf.Duration" - optional :workflow_run_timeout, :message, 7, "google.protobuf.Duration" - optional :workflow_task_timeout, :message, 8, "google.protobuf.Duration" - optional :parent_close_policy, :enum, 9, "temporal.api.enums.v1.ParentClosePolicy" - optional :control, :string, 10 - optional :workflow_task_completed_event_id, :int64, 11 - optional :workflow_id_reuse_policy, :enum, 12, "temporal.api.enums.v1.WorkflowIdReusePolicy" - optional :retry_policy, :message, 13, "temporal.api.common.v1.RetryPolicy" - optional :cron_schedule, :string, 14 - optional :header, :message, 15, "temporal.api.common.v1.Header" - optional :memo, :message, 16, "temporal.api.common.v1.Memo" - optional :search_attributes, :message, 17, "temporal.api.common.v1.SearchAttributes" - end - add_message "temporal.api.history.v1.StartChildWorkflowExecutionFailedEventAttributes" do - optional :namespace, :string, 1 - optional :workflow_id, :string, 2 - optional :workflow_type, :message, 3, "temporal.api.common.v1.WorkflowType" - optional :cause, :enum, 4, "temporal.api.enums.v1.StartChildWorkflowExecutionFailedCause" - optional :control, :string, 5 - optional :initiated_event_id, :int64, 6 - optional :workflow_task_completed_event_id, :int64, 7 - end - add_message "temporal.api.history.v1.ChildWorkflowExecutionStartedEventAttributes" do - optional :namespace, :string, 1 - optional :initiated_event_id, :int64, 2 - optional :workflow_execution, :message, 3, "temporal.api.common.v1.WorkflowExecution" - optional :workflow_type, :message, 4, "temporal.api.common.v1.WorkflowType" - optional :header, :message, 5, "temporal.api.common.v1.Header" - end - add_message "temporal.api.history.v1.ChildWorkflowExecutionCompletedEventAttributes" do - optional :result, :message, 1, "temporal.api.common.v1.Payloads" - optional :namespace, :string, 2 - optional :workflow_execution, :message, 3, "temporal.api.common.v1.WorkflowExecution" - optional :workflow_type, :message, 4, "temporal.api.common.v1.WorkflowType" - optional :initiated_event_id, :int64, 5 - optional :started_event_id, :int64, 6 - end - add_message "temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributes" do - optional :failure, :message, 1, "temporal.api.failure.v1.Failure" - optional :namespace, :string, 2 - optional :workflow_execution, :message, 3, "temporal.api.common.v1.WorkflowExecution" - optional :workflow_type, :message, 4, "temporal.api.common.v1.WorkflowType" - optional :initiated_event_id, :int64, 5 - optional :started_event_id, :int64, 6 - optional :retry_state, :enum, 7, "temporal.api.enums.v1.RetryState" - end - add_message "temporal.api.history.v1.ChildWorkflowExecutionCanceledEventAttributes" do - optional :details, :message, 1, "temporal.api.common.v1.Payloads" - optional :namespace, :string, 2 - optional :workflow_execution, :message, 3, "temporal.api.common.v1.WorkflowExecution" - optional :workflow_type, :message, 4, "temporal.api.common.v1.WorkflowType" - optional :initiated_event_id, :int64, 5 - optional :started_event_id, :int64, 6 - end - add_message "temporal.api.history.v1.ChildWorkflowExecutionTimedOutEventAttributes" do - optional :namespace, :string, 1 - optional :workflow_execution, :message, 2, "temporal.api.common.v1.WorkflowExecution" - optional :workflow_type, :message, 3, "temporal.api.common.v1.WorkflowType" - optional :initiated_event_id, :int64, 4 - optional :started_event_id, :int64, 5 - optional :retry_state, :enum, 6, "temporal.api.enums.v1.RetryState" - end - add_message "temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes" do - optional :namespace, :string, 1 - optional :workflow_execution, :message, 2, "temporal.api.common.v1.WorkflowExecution" - optional :workflow_type, :message, 3, "temporal.api.common.v1.WorkflowType" - optional :initiated_event_id, :int64, 4 - optional :started_event_id, :int64, 5 - end - add_message "temporal.api.history.v1.HistoryEvent" do - optional :event_id, :int64, 1 - optional :event_time, :message, 2, "google.protobuf.Timestamp" - optional :event_type, :enum, 3, "temporal.api.enums.v1.EventType" - optional :version, :int64, 4 - optional :task_id, :int64, 5 - oneof :attributes do - optional :workflow_execution_started_event_attributes, :message, 6, "temporal.api.history.v1.WorkflowExecutionStartedEventAttributes" - optional :workflow_execution_completed_event_attributes, :message, 7, "temporal.api.history.v1.WorkflowExecutionCompletedEventAttributes" - optional :workflow_execution_failed_event_attributes, :message, 8, "temporal.api.history.v1.WorkflowExecutionFailedEventAttributes" - optional :workflow_execution_timed_out_event_attributes, :message, 9, "temporal.api.history.v1.WorkflowExecutionTimedOutEventAttributes" - optional :workflow_task_scheduled_event_attributes, :message, 10, "temporal.api.history.v1.WorkflowTaskScheduledEventAttributes" - optional :workflow_task_started_event_attributes, :message, 11, "temporal.api.history.v1.WorkflowTaskStartedEventAttributes" - optional :workflow_task_completed_event_attributes, :message, 12, "temporal.api.history.v1.WorkflowTaskCompletedEventAttributes" - optional :workflow_task_timed_out_event_attributes, :message, 13, "temporal.api.history.v1.WorkflowTaskTimedOutEventAttributes" - optional :workflow_task_failed_event_attributes, :message, 14, "temporal.api.history.v1.WorkflowTaskFailedEventAttributes" - optional :activity_task_scheduled_event_attributes, :message, 15, "temporal.api.history.v1.ActivityTaskScheduledEventAttributes" - optional :activity_task_started_event_attributes, :message, 16, "temporal.api.history.v1.ActivityTaskStartedEventAttributes" - optional :activity_task_completed_event_attributes, :message, 17, "temporal.api.history.v1.ActivityTaskCompletedEventAttributes" - optional :activity_task_failed_event_attributes, :message, 18, "temporal.api.history.v1.ActivityTaskFailedEventAttributes" - optional :activity_task_timed_out_event_attributes, :message, 19, "temporal.api.history.v1.ActivityTaskTimedOutEventAttributes" - optional :timer_started_event_attributes, :message, 20, "temporal.api.history.v1.TimerStartedEventAttributes" - optional :timer_fired_event_attributes, :message, 21, "temporal.api.history.v1.TimerFiredEventAttributes" - optional :activity_task_cancel_requested_event_attributes, :message, 22, "temporal.api.history.v1.ActivityTaskCancelRequestedEventAttributes" - optional :activity_task_canceled_event_attributes, :message, 23, "temporal.api.history.v1.ActivityTaskCanceledEventAttributes" - optional :timer_canceled_event_attributes, :message, 24, "temporal.api.history.v1.TimerCanceledEventAttributes" - optional :marker_recorded_event_attributes, :message, 25, "temporal.api.history.v1.MarkerRecordedEventAttributes" - optional :workflow_execution_signaled_event_attributes, :message, 26, "temporal.api.history.v1.WorkflowExecutionSignaledEventAttributes" - optional :workflow_execution_terminated_event_attributes, :message, 27, "temporal.api.history.v1.WorkflowExecutionTerminatedEventAttributes" - optional :workflow_execution_cancel_requested_event_attributes, :message, 28, "temporal.api.history.v1.WorkflowExecutionCancelRequestedEventAttributes" - optional :workflow_execution_canceled_event_attributes, :message, 29, "temporal.api.history.v1.WorkflowExecutionCanceledEventAttributes" - optional :request_cancel_external_workflow_execution_initiated_event_attributes, :message, 30, "temporal.api.history.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes" - optional :request_cancel_external_workflow_execution_failed_event_attributes, :message, 31, "temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributes" - optional :external_workflow_execution_cancel_requested_event_attributes, :message, 32, "temporal.api.history.v1.ExternalWorkflowExecutionCancelRequestedEventAttributes" - optional :workflow_execution_continued_as_new_event_attributes, :message, 33, "temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes" - optional :start_child_workflow_execution_initiated_event_attributes, :message, 34, "temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributes" - optional :start_child_workflow_execution_failed_event_attributes, :message, 35, "temporal.api.history.v1.StartChildWorkflowExecutionFailedEventAttributes" - optional :child_workflow_execution_started_event_attributes, :message, 36, "temporal.api.history.v1.ChildWorkflowExecutionStartedEventAttributes" - optional :child_workflow_execution_completed_event_attributes, :message, 37, "temporal.api.history.v1.ChildWorkflowExecutionCompletedEventAttributes" - optional :child_workflow_execution_failed_event_attributes, :message, 38, "temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributes" - optional :child_workflow_execution_canceled_event_attributes, :message, 39, "temporal.api.history.v1.ChildWorkflowExecutionCanceledEventAttributes" - optional :child_workflow_execution_timed_out_event_attributes, :message, 40, "temporal.api.history.v1.ChildWorkflowExecutionTimedOutEventAttributes" - optional :child_workflow_execution_terminated_event_attributes, :message, 41, "temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes" - optional :signal_external_workflow_execution_initiated_event_attributes, :message, 42, "temporal.api.history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributes" - optional :signal_external_workflow_execution_failed_event_attributes, :message, 43, "temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributes" - optional :external_workflow_execution_signaled_event_attributes, :message, 44, "temporal.api.history.v1.ExternalWorkflowExecutionSignaledEventAttributes" - optional :upsert_workflow_search_attributes_event_attributes, :message, 45, "temporal.api.history.v1.UpsertWorkflowSearchAttributesEventAttributes" - end - end - add_message "temporal.api.history.v1.History" do - repeated :events, :message, 1, "temporal.api.history.v1.HistoryEvent" - end - end -end + + +descriptor_data = "\n%temporal/api/history/v1/message.proto\x12\x17temporal.api.history.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a!dependencies/gogoproto/gogo.proto\x1a&temporal/api/enums/v1/event_type.proto\x1a(temporal/api/enums/v1/failed_cause.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a$temporal/api/common/v1/message.proto\x1a%temporal/api/failure/v1/message.proto\x1a&temporal/api/workflow/v1/message.proto\x1a\'temporal/api/taskqueue/v1/message.proto\"\xc2\n\n\'WorkflowExecutionStartedEventAttributes\x12;\n\rworkflow_type\x18\x01 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12!\n\x19parent_workflow_namespace\x18\x02 \x01(\t\x12L\n\x19parent_workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12!\n\x19parent_initiated_event_id\x18\x04 \x01(\x03\x12\x38\n\ntask_queue\x18\x05 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12/\n\x05input\x18\x06 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x43\n\x1aworkflow_execution_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\x98\xdf\x1f\x01\x12=\n\x14workflow_run_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\x98\xdf\x1f\x01\x12>\n\x15workflow_task_timeout\x18\t \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\x98\xdf\x1f\x01\x12\"\n\x1a\x63ontinued_execution_run_id\x18\n \x01(\t\x12@\n\tinitiator\x18\x0b \x01(\x0e\x32-.temporal.api.enums.v1.ContinueAsNewInitiator\x12;\n\x11\x63ontinued_failure\x18\x0c \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12@\n\x16last_completion_result\x18\r \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12!\n\x19original_execution_run_id\x18\x0e \x01(\t\x12\x10\n\x08identity\x18\x0f \x01(\t\x12\x1e\n\x16\x66irst_execution_run_id\x18\x10 \x01(\t\x12\x39\n\x0cretry_policy\x18\x11 \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x0f\n\x07\x61ttempt\x18\x12 \x01(\x05\x12L\n\"workflow_execution_expiration_time\x18\x13 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\x90\xdf\x1f\x01\x12\x15\n\rcron_schedule\x18\x14 \x01(\t\x12\x44\n\x1b\x66irst_workflow_task_backoff\x18\x15 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\x98\xdf\x1f\x01\x12*\n\x04memo\x18\x16 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x17 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12\x45\n\x16prev_auto_reset_points\x18\x18 \x01(\x0b\x32%.temporal.api.workflow.v1.ResetPoints\x12.\n\x06header\x18\x19 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\"\x87\x01\n)WorkflowExecutionCompletedEventAttributes\x12\x30\n\x06result\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12(\n workflow_task_completed_event_id\x18\x02 \x01(\x03\"\xbd\x01\n&WorkflowExecutionFailedEventAttributes\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x36\n\x0bretry_state\x18\x02 \x01(\x0e\x32!.temporal.api.enums.v1.RetryState\x12(\n workflow_task_completed_event_id\x18\x03 \x01(\x03\"b\n(WorkflowExecutionTimedOutEventAttributes\x12\x36\n\x0bretry_state\x18\x01 \x01(\x0e\x32!.temporal.api.enums.v1.RetryState\"\xb8\x06\n.WorkflowExecutionContinuedAsNewEventAttributes\x12\x1c\n\x14new_execution_run_id\x18\x01 \x01(\t\x12;\n\rworkflow_type\x18\x02 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x38\n\ntask_queue\x18\x03 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12/\n\x05input\x18\x04 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12=\n\x14workflow_run_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\x98\xdf\x1f\x01\x12>\n\x15workflow_task_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\x98\xdf\x1f\x01\x12(\n workflow_task_completed_event_id\x18\x07 \x01(\x03\x12?\n\x16\x62\x61\x63koff_start_interval\x18\x08 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\x98\xdf\x1f\x01\x12@\n\tinitiator\x18\t \x01(\x0e\x32-.temporal.api.enums.v1.ContinueAsNewInitiator\x12\x31\n\x07\x66\x61ilure\x18\n \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12@\n\x16last_completion_result\x18\x0b \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12.\n\x06header\x18\x0c \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12*\n\x04memo\x18\r \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x0e \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\"\xb2\x01\n$WorkflowTaskScheduledEventAttributes\x12\x38\n\ntask_queue\x18\x01 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12?\n\x16start_to_close_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\x98\xdf\x1f\x01\x12\x0f\n\x07\x61ttempt\x18\x03 \x01(\x05\"f\n\"WorkflowTaskStartedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x12\n\nrequest_id\x18\x03 \x01(\t\"\x87\x01\n$WorkflowTaskCompletedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x18\n\x10started_event_id\x18\x02 \x01(\x03\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x17\n\x0f\x62inary_checksum\x18\x04 \x01(\t\"\x95\x01\n#WorkflowTaskTimedOutEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x18\n\x10started_event_id\x18\x02 \x01(\x03\x12\x38\n\x0ctimeout_type\x18\x03 \x01(\x0e\x32\".temporal.api.enums.v1.TimeoutType\"\xbb\x02\n!WorkflowTaskFailedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x18\n\x10started_event_id\x18\x02 \x01(\x03\x12=\n\x05\x63\x61use\x18\x03 \x01(\x0e\x32..temporal.api.enums.v1.WorkflowTaskFailedCause\x12\x31\n\x07\x66\x61ilure\x18\x04 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x13\n\x0b\x62\x61se_run_id\x18\x06 \x01(\t\x12\x12\n\nnew_run_id\x18\x07 \x01(\t\x12\x1a\n\x12\x66ork_event_version\x18\x08 \x01(\x03\x12\x17\n\x0f\x62inary_checksum\x18\t \x01(\t\"\x90\x05\n$ActivityTaskScheduledEventAttributes\x12\x13\n\x0b\x61\x63tivity_id\x18\x01 \x01(\t\x12;\n\ractivity_type\x18\x02 \x01(\x0b\x32$.temporal.api.common.v1.ActivityType\x12\x11\n\tnamespace\x18\x03 \x01(\t\x12\x38\n\ntask_queue\x18\x04 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12.\n\x06header\x18\x05 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12/\n\x05input\x18\x06 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x42\n\x19schedule_to_close_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\x98\xdf\x1f\x01\x12\x42\n\x19schedule_to_start_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\x98\xdf\x1f\x01\x12?\n\x16start_to_close_timeout\x18\t \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\x98\xdf\x1f\x01\x12:\n\x11heartbeat_timeout\x18\n \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\x98\xdf\x1f\x01\x12(\n workflow_task_completed_event_id\x18\x0b \x01(\x03\x12\x39\n\x0cretry_policy\x18\x0c \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\"\xaf\x01\n\"ActivityTaskStartedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x12\n\nrequest_id\x18\x03 \x01(\t\x12\x0f\n\x07\x61ttempt\x18\x04 \x01(\x05\x12\x36\n\x0clast_failure\x18\x05 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\"\xa0\x01\n$ActivityTaskCompletedEventAttributes\x12\x30\n\x06result\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x1a\n\x12scheduled_event_id\x18\x02 \x01(\x03\x12\x18\n\x10started_event_id\x18\x03 \x01(\x03\x12\x10\n\x08identity\x18\x04 \x01(\t\"\xd6\x01\n!ActivityTaskFailedEventAttributes\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x1a\n\x12scheduled_event_id\x18\x02 \x01(\x03\x12\x18\n\x10started_event_id\x18\x03 \x01(\x03\x12\x10\n\x08identity\x18\x04 \x01(\t\x12\x36\n\x0bretry_state\x18\x05 \x01(\x0e\x32!.temporal.api.enums.v1.RetryState\"\xc6\x01\n#ActivityTaskTimedOutEventAttributes\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x1a\n\x12scheduled_event_id\x18\x02 \x01(\x03\x12\x18\n\x10started_event_id\x18\x03 \x01(\x03\x12\x36\n\x0bretry_state\x18\x04 \x01(\x0e\x32!.temporal.api.enums.v1.RetryState\"r\n*ActivityTaskCancelRequestedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12(\n workflow_task_completed_event_id\x18\x02 \x01(\x03\"\xca\x01\n#ActivityTaskCanceledEventAttributes\x12\x31\n\x07\x64\x65tails\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12(\n latest_cancel_requested_event_id\x18\x02 \x01(\x03\x12\x1a\n\x12scheduled_event_id\x18\x03 \x01(\x03\x12\x18\n\x10started_event_id\x18\x04 \x01(\x03\x12\x10\n\x08identity\x18\x05 \x01(\t\"\x99\x01\n\x1bTimerStartedEventAttributes\x12\x10\n\x08timer_id\x18\x01 \x01(\t\x12>\n\x15start_to_fire_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\x98\xdf\x1f\x01\x12(\n workflow_task_completed_event_id\x18\x03 \x01(\x03\"G\n\x19TimerFiredEventAttributes\x12\x10\n\x08timer_id\x18\x01 \x01(\t\x12\x18\n\x10started_event_id\x18\x02 \x01(\x03\"\x86\x01\n\x1cTimerCanceledEventAttributes\x12\x10\n\x08timer_id\x18\x01 \x01(\t\x12\x18\n\x10started_event_id\x18\x02 \x01(\x03\x12(\n workflow_task_completed_event_id\x18\x03 \x01(\x03\x12\x10\n\x08identity\x18\x04 \x01(\t\"\xc7\x01\n/WorkflowExecutionCancelRequestedEventAttributes\x12\r\n\x05\x63\x61use\x18\x01 \x01(\t\x12#\n\x1b\x65xternal_initiated_event_id\x18\x02 \x01(\x03\x12N\n\x1b\x65xternal_workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x10\n\x08identity\x18\x04 \x01(\t\"\x87\x01\n(WorkflowExecutionCanceledEventAttributes\x12(\n workflow_task_completed_event_id\x18\x01 \x01(\x03\x12\x31\n\x07\x64\x65tails\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\"\xe9\x02\n\x1dMarkerRecordedEventAttributes\x12\x13\n\x0bmarker_name\x18\x01 \x01(\t\x12T\n\x07\x64\x65tails\x18\x02 \x03(\x0b\x32\x43.temporal.api.history.v1.MarkerRecordedEventAttributes.DetailsEntry\x12(\n workflow_task_completed_event_id\x18\x03 \x01(\x03\x12.\n\x06header\x18\x04 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12\x31\n\x07\x66\x61ilure\x18\x05 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x1aP\n\x0c\x44\x65tailsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12/\n\x05value\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads:\x02\x38\x01\"\x82\x01\n(WorkflowExecutionSignaledEventAttributes\x12\x13\n\x0bsignal_name\x18\x01 \x01(\t\x12/\n\x05input\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x03 \x01(\t\"\x81\x01\n*WorkflowExecutionTerminatedEventAttributes\x12\x0e\n\x06reason\x18\x01 \x01(\t\x12\x31\n\x07\x64\x65tails\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x03 \x01(\t\"\xf2\x01\n>RequestCancelExternalWorkflowExecutionInitiatedEventAttributes\x12(\n workflow_task_completed_event_id\x18\x01 \x01(\x03\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x0f\n\x07\x63ontrol\x18\x04 \x01(\t\x12\x1b\n\x13\x63hild_workflow_only\x18\x05 \x01(\x08\"\xc0\x02\n;RequestCancelExternalWorkflowExecutionFailedEventAttributes\x12P\n\x05\x63\x61use\x18\x01 \x01(\x0e\x32\x41.temporal.api.enums.v1.CancelExternalWorkflowExecutionFailedCause\x12(\n workflow_task_completed_event_id\x18\x02 \x01(\x03\x12\x11\n\tnamespace\x18\x03 \x01(\t\x12\x45\n\x12workflow_execution\x18\x04 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x1a\n\x12initiated_event_id\x18\x05 \x01(\x03\x12\x0f\n\x07\x63ontrol\x18\x06 \x01(\t\"\xaf\x01\n7ExternalWorkflowExecutionCancelRequestedEventAttributes\x12\x1a\n\x12initiated_event_id\x18\x01 \x01(\x03\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\"\xb1\x02\n7SignalExternalWorkflowExecutionInitiatedEventAttributes\x12(\n workflow_task_completed_event_id\x18\x01 \x01(\x03\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x13\n\x0bsignal_name\x18\x04 \x01(\t\x12/\n\x05input\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x0f\n\x07\x63ontrol\x18\x06 \x01(\t\x12\x1b\n\x13\x63hild_workflow_only\x18\x07 \x01(\x08\"\xb9\x02\n4SignalExternalWorkflowExecutionFailedEventAttributes\x12P\n\x05\x63\x61use\x18\x01 \x01(\x0e\x32\x41.temporal.api.enums.v1.SignalExternalWorkflowExecutionFailedCause\x12(\n workflow_task_completed_event_id\x18\x02 \x01(\x03\x12\x11\n\tnamespace\x18\x03 \x01(\t\x12\x45\n\x12workflow_execution\x18\x04 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x1a\n\x12initiated_event_id\x18\x05 \x01(\x03\x12\x0f\n\x07\x63ontrol\x18\x06 \x01(\t\"\xb9\x01\n0ExternalWorkflowExecutionSignaledEventAttributes\x12\x1a\n\x12initiated_event_id\x18\x01 \x01(\x03\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x0f\n\x07\x63ontrol\x18\x04 \x01(\t\"\x9e\x01\n-UpsertWorkflowSearchAttributesEventAttributes\x12(\n workflow_task_completed_event_id\x18\x01 \x01(\x03\x12\x43\n\x11search_attributes\x18\x02 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\"\x8e\x07\n3StartChildWorkflowExecutionInitiatedEventAttributes\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x38\n\ntask_queue\x18\x04 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12/\n\x05input\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x43\n\x1aworkflow_execution_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\x98\xdf\x1f\x01\x12=\n\x14workflow_run_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\x98\xdf\x1f\x01\x12>\n\x15workflow_task_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\x98\xdf\x1f\x01\x12\x45\n\x13parent_close_policy\x18\t \x01(\x0e\x32(.temporal.api.enums.v1.ParentClosePolicy\x12\x0f\n\x07\x63ontrol\x18\n \x01(\t\x12(\n workflow_task_completed_event_id\x18\x0b \x01(\x03\x12N\n\x18workflow_id_reuse_policy\x18\x0c \x01(\x0e\x32,.temporal.api.enums.v1.WorkflowIdReusePolicy\x12\x39\n\x0cretry_policy\x18\r \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x15\n\rcron_schedule\x18\x0e \x01(\t\x12.\n\x06header\x18\x0f \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12*\n\x04memo\x18\x10 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x11 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\"\xbc\x02\n0StartChildWorkflowExecutionFailedEventAttributes\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12L\n\x05\x63\x61use\x18\x04 \x01(\x0e\x32=.temporal.api.enums.v1.StartChildWorkflowExecutionFailedCause\x12\x0f\n\x07\x63ontrol\x18\x05 \x01(\t\x12\x1a\n\x12initiated_event_id\x18\x06 \x01(\x03\x12(\n workflow_task_completed_event_id\x18\x07 \x01(\x03\"\x91\x02\n,ChildWorkflowExecutionStartedEventAttributes\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x1a\n\x12initiated_event_id\x18\x02 \x01(\x03\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\rworkflow_type\x18\x04 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12.\n\x06header\x18\x05 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\"\xaf\x02\n.ChildWorkflowExecutionCompletedEventAttributes\x12\x30\n\x06result\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\rworkflow_type\x18\x04 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x1a\n\x12initiated_event_id\x18\x05 \x01(\x03\x12\x18\n\x10started_event_id\x18\x06 \x01(\x03\"\xe5\x02\n+ChildWorkflowExecutionFailedEventAttributes\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\rworkflow_type\x18\x04 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x1a\n\x12initiated_event_id\x18\x05 \x01(\x03\x12\x18\n\x10started_event_id\x18\x06 \x01(\x03\x12\x36\n\x0bretry_state\x18\x07 \x01(\x0e\x32!.temporal.api.enums.v1.RetryState\"\xaf\x02\n-ChildWorkflowExecutionCanceledEventAttributes\x12\x31\n\x07\x64\x65tails\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\rworkflow_type\x18\x04 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x1a\n\x12initiated_event_id\x18\x05 \x01(\x03\x12\x18\n\x10started_event_id\x18\x06 \x01(\x03\"\xb4\x02\n-ChildWorkflowExecutionTimedOutEventAttributes\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x1a\n\x12initiated_event_id\x18\x04 \x01(\x03\x12\x18\n\x10started_event_id\x18\x05 \x01(\x03\x12\x36\n\x0bretry_state\x18\x06 \x01(\x0e\x32!.temporal.api.enums.v1.RetryState\"\xfe\x01\n/ChildWorkflowExecutionTerminatedEventAttributes\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x1a\n\x12initiated_event_id\x18\x04 \x01(\x03\x12\x18\n\x10started_event_id\x18\x05 \x01(\x03\"\x89)\n\x0cHistoryEvent\x12\x10\n\x08\x65vent_id\x18\x01 \x01(\x03\x12\x34\n\nevent_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\x90\xdf\x1f\x01\x12\x34\n\nevent_type\x18\x03 \x01(\x0e\x32 .temporal.api.enums.v1.EventType\x12\x0f\n\x07version\x18\x04 \x01(\x03\x12\x0f\n\x07task_id\x18\x05 \x01(\x03\x12w\n+workflow_execution_started_event_attributes\x18\x06 \x01(\x0b\x32@.temporal.api.history.v1.WorkflowExecutionStartedEventAttributesH\x00\x12{\n-workflow_execution_completed_event_attributes\x18\x07 \x01(\x0b\x32\x42.temporal.api.history.v1.WorkflowExecutionCompletedEventAttributesH\x00\x12u\n*workflow_execution_failed_event_attributes\x18\x08 \x01(\x0b\x32?.temporal.api.history.v1.WorkflowExecutionFailedEventAttributesH\x00\x12z\n-workflow_execution_timed_out_event_attributes\x18\t \x01(\x0b\x32\x41.temporal.api.history.v1.WorkflowExecutionTimedOutEventAttributesH\x00\x12q\n(workflow_task_scheduled_event_attributes\x18\n \x01(\x0b\x32=.temporal.api.history.v1.WorkflowTaskScheduledEventAttributesH\x00\x12m\n&workflow_task_started_event_attributes\x18\x0b \x01(\x0b\x32;.temporal.api.history.v1.WorkflowTaskStartedEventAttributesH\x00\x12q\n(workflow_task_completed_event_attributes\x18\x0c \x01(\x0b\x32=.temporal.api.history.v1.WorkflowTaskCompletedEventAttributesH\x00\x12p\n(workflow_task_timed_out_event_attributes\x18\r \x01(\x0b\x32<.temporal.api.history.v1.WorkflowTaskTimedOutEventAttributesH\x00\x12k\n%workflow_task_failed_event_attributes\x18\x0e \x01(\x0b\x32:.temporal.api.history.v1.WorkflowTaskFailedEventAttributesH\x00\x12q\n(activity_task_scheduled_event_attributes\x18\x0f \x01(\x0b\x32=.temporal.api.history.v1.ActivityTaskScheduledEventAttributesH\x00\x12m\n&activity_task_started_event_attributes\x18\x10 \x01(\x0b\x32;.temporal.api.history.v1.ActivityTaskStartedEventAttributesH\x00\x12q\n(activity_task_completed_event_attributes\x18\x11 \x01(\x0b\x32=.temporal.api.history.v1.ActivityTaskCompletedEventAttributesH\x00\x12k\n%activity_task_failed_event_attributes\x18\x12 \x01(\x0b\x32:.temporal.api.history.v1.ActivityTaskFailedEventAttributesH\x00\x12p\n(activity_task_timed_out_event_attributes\x18\x13 \x01(\x0b\x32<.temporal.api.history.v1.ActivityTaskTimedOutEventAttributesH\x00\x12^\n\x1etimer_started_event_attributes\x18\x14 \x01(\x0b\x32\x34.temporal.api.history.v1.TimerStartedEventAttributesH\x00\x12Z\n\x1ctimer_fired_event_attributes\x18\x15 \x01(\x0b\x32\x32.temporal.api.history.v1.TimerFiredEventAttributesH\x00\x12~\n/activity_task_cancel_requested_event_attributes\x18\x16 \x01(\x0b\x32\x43.temporal.api.history.v1.ActivityTaskCancelRequestedEventAttributesH\x00\x12o\n\'activity_task_canceled_event_attributes\x18\x17 \x01(\x0b\x32<.temporal.api.history.v1.ActivityTaskCanceledEventAttributesH\x00\x12`\n\x1ftimer_canceled_event_attributes\x18\x18 \x01(\x0b\x32\x35.temporal.api.history.v1.TimerCanceledEventAttributesH\x00\x12\x62\n marker_recorded_event_attributes\x18\x19 \x01(\x0b\x32\x36.temporal.api.history.v1.MarkerRecordedEventAttributesH\x00\x12y\n,workflow_execution_signaled_event_attributes\x18\x1a \x01(\x0b\x32\x41.temporal.api.history.v1.WorkflowExecutionSignaledEventAttributesH\x00\x12}\n.workflow_execution_terminated_event_attributes\x18\x1b \x01(\x0b\x32\x43.temporal.api.history.v1.WorkflowExecutionTerminatedEventAttributesH\x00\x12\x88\x01\n4workflow_execution_cancel_requested_event_attributes\x18\x1c \x01(\x0b\x32H.temporal.api.history.v1.WorkflowExecutionCancelRequestedEventAttributesH\x00\x12y\n,workflow_execution_canceled_event_attributes\x18\x1d \x01(\x0b\x32\x41.temporal.api.history.v1.WorkflowExecutionCanceledEventAttributesH\x00\x12\xa8\x01\nErequest_cancel_external_workflow_execution_initiated_event_attributes\x18\x1e \x01(\x0b\x32W.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributesH\x00\x12\xa2\x01\nBrequest_cancel_external_workflow_execution_failed_event_attributes\x18\x1f \x01(\x0b\x32T.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributesH\x00\x12\x99\x01\n=external_workflow_execution_cancel_requested_event_attributes\x18 \x01(\x0b\x32P.temporal.api.history.v1.ExternalWorkflowExecutionCancelRequestedEventAttributesH\x00\x12\x87\x01\n4workflow_execution_continued_as_new_event_attributes\x18! \x01(\x0b\x32G.temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributesH\x00\x12\x91\x01\n9start_child_workflow_execution_initiated_event_attributes\x18\" \x01(\x0b\x32L.temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributesH\x00\x12\x8b\x01\n6start_child_workflow_execution_failed_event_attributes\x18# \x01(\x0b\x32I.temporal.api.history.v1.StartChildWorkflowExecutionFailedEventAttributesH\x00\x12\x82\x01\n1child_workflow_execution_started_event_attributes\x18$ \x01(\x0b\x32\x45.temporal.api.history.v1.ChildWorkflowExecutionStartedEventAttributesH\x00\x12\x86\x01\n3child_workflow_execution_completed_event_attributes\x18% \x01(\x0b\x32G.temporal.api.history.v1.ChildWorkflowExecutionCompletedEventAttributesH\x00\x12\x80\x01\n0child_workflow_execution_failed_event_attributes\x18& \x01(\x0b\x32\x44.temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributesH\x00\x12\x84\x01\n2child_workflow_execution_canceled_event_attributes\x18\' \x01(\x0b\x32\x46.temporal.api.history.v1.ChildWorkflowExecutionCanceledEventAttributesH\x00\x12\x85\x01\n3child_workflow_execution_timed_out_event_attributes\x18( \x01(\x0b\x32\x46.temporal.api.history.v1.ChildWorkflowExecutionTimedOutEventAttributesH\x00\x12\x88\x01\n4child_workflow_execution_terminated_event_attributes\x18) \x01(\x0b\x32H.temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributesH\x00\x12\x99\x01\n=signal_external_workflow_execution_initiated_event_attributes\x18* \x01(\x0b\x32P.temporal.api.history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributesH\x00\x12\x93\x01\n:signal_external_workflow_execution_failed_event_attributes\x18+ \x01(\x0b\x32M.temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributesH\x00\x12\x8a\x01\n5external_workflow_execution_signaled_event_attributes\x18, \x01(\x0b\x32I.temporal.api.history.v1.ExternalWorkflowExecutionSignaledEventAttributesH\x00\x12\x84\x01\n2upsert_workflow_search_attributes_event_attributes\x18- \x01(\x0b\x32\x46.temporal.api.history.v1.UpsertWorkflowSearchAttributesEventAttributesH\x00\x42\x0c\n\nattributes\"@\n\x07History\x12\x35\n\x06\x65vents\x18\x01 \x03(\x0b\x32%.temporal.api.history.v1.HistoryEventB\x8a\x01\n\x1aio.temporal.api.history.v1B\x0cMessageProtoP\x01Z%go.temporal.io/api/history/v1;history\xaa\x02\x17Temporal.Api.History.V1\xea\x02\x1aTemporal::Api::History::V1b\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Temporal module Api diff --git a/lib/gen/temporal/api/namespace/v1/message_pb.rb b/lib/gen/temporal/api/namespace/v1/message_pb.rb index cea6262d..04058e43 100644 --- a/lib/gen/temporal/api/namespace/v1/message_pb.rb +++ b/lib/gen/temporal/api/namespace/v1/message_pb.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/namespace/v1/message.proto @@ -5,40 +6,14 @@ require 'google/protobuf/duration_pb' require 'google/protobuf/timestamp_pb' +require 'dependencies/gogoproto/gogo_pb' require 'temporal/api/enums/v1/namespace_pb' -Google::Protobuf::DescriptorPool.generated_pool.build do - add_file("temporal/api/namespace/v1/message.proto", :syntax => :proto3) do - add_message "temporal.api.namespace.v1.NamespaceInfo" do - optional :name, :string, 1 - optional :state, :enum, 2, "temporal.api.enums.v1.NamespaceState" - optional :description, :string, 3 - optional :owner_email, :string, 4 - map :data, :string, :string, 5 - optional :id, :string, 6 - end - add_message "temporal.api.namespace.v1.NamespaceConfig" do - optional :workflow_execution_retention_ttl, :message, 1, "google.protobuf.Duration" - optional :bad_binaries, :message, 2, "temporal.api.namespace.v1.BadBinaries" - optional :history_archival_state, :enum, 3, "temporal.api.enums.v1.ArchivalState" - optional :history_archival_uri, :string, 4 - optional :visibility_archival_state, :enum, 5, "temporal.api.enums.v1.ArchivalState" - optional :visibility_archival_uri, :string, 6 - end - add_message "temporal.api.namespace.v1.BadBinaries" do - map :binaries, :string, :message, 1, "temporal.api.namespace.v1.BadBinaryInfo" - end - add_message "temporal.api.namespace.v1.BadBinaryInfo" do - optional :reason, :string, 1 - optional :operator, :string, 2 - optional :create_time, :message, 3, "google.protobuf.Timestamp" - end - add_message "temporal.api.namespace.v1.UpdateNamespaceInfo" do - optional :description, :string, 1 - optional :owner_email, :string, 2 - map :data, :string, :string, 3 - end - end -end + + +descriptor_data = "\n\'temporal/api/namespace/v1/message.proto\x12\x19temporal.api.namespace.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a!dependencies/gogoproto/gogo.proto\x1a%temporal/api/enums/v1/namespace.proto\"\xf8\x01\n\rNamespaceInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x34\n\x05state\x18\x02 \x01(\x0e\x32%.temporal.api.enums.v1.NamespaceState\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x13\n\x0bowner_email\x18\x04 \x01(\t\x12@\n\x04\x64\x61ta\x18\x05 \x03(\x0b\x32\x32.temporal.api.namespace.v1.NamespaceInfo.DataEntry\x12\n\n\x02id\x18\x06 \x01(\t\x1a+\n\tDataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xe8\x02\n\x0fNamespaceConfig\x12I\n workflow_execution_retention_ttl\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\x98\xdf\x1f\x01\x12<\n\x0c\x62\x61\x64_binaries\x18\x02 \x01(\x0b\x32&.temporal.api.namespace.v1.BadBinaries\x12\x44\n\x16history_archival_state\x18\x03 \x01(\x0e\x32$.temporal.api.enums.v1.ArchivalState\x12\x1c\n\x14history_archival_uri\x18\x04 \x01(\t\x12G\n\x19visibility_archival_state\x18\x05 \x01(\x0e\x32$.temporal.api.enums.v1.ArchivalState\x12\x1f\n\x17visibility_archival_uri\x18\x06 \x01(\t\"\xb0\x01\n\x0b\x42\x61\x64\x42inaries\x12\x46\n\x08\x62inaries\x18\x01 \x03(\x0b\x32\x34.temporal.api.namespace.v1.BadBinaries.BinariesEntry\x1aY\n\rBinariesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x37\n\x05value\x18\x02 \x01(\x0b\x32(.temporal.api.namespace.v1.BadBinaryInfo:\x02\x38\x01\"h\n\rBadBinaryInfo\x12\x0e\n\x06reason\x18\x01 \x01(\t\x12\x10\n\x08operator\x18\x02 \x01(\t\x12\x35\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\x90\xdf\x1f\x01\"\xb4\x01\n\x13UpdateNamespaceInfo\x12\x13\n\x0b\x64\x65scription\x18\x01 \x01(\t\x12\x13\n\x0bowner_email\x18\x02 \x01(\t\x12\x46\n\x04\x64\x61ta\x18\x03 \x03(\x0b\x32\x38.temporal.api.namespace.v1.UpdateNamespaceInfo.DataEntry\x1a+\n\tDataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x94\x01\n\x1cio.temporal.api.namespace.v1B\x0cMessageProtoP\x01Z)go.temporal.io/api/namespace/v1;namespace\xaa\x02\x19Temporal.Api.Namespace.V1\xea\x02\x1cTemporal::Api::Namespace::V1b\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Temporal module Api diff --git a/lib/gen/temporal/api/query/v1/message_pb.rb b/lib/gen/temporal/api/query/v1/message_pb.rb index b3848ce5..f07d374b 100644 --- a/lib/gen/temporal/api/query/v1/message_pb.rb +++ b/lib/gen/temporal/api/query/v1/message_pb.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/query/v1/message.proto @@ -6,22 +7,12 @@ require 'temporal/api/enums/v1/query_pb' require 'temporal/api/enums/v1/workflow_pb' require 'temporal/api/common/v1/message_pb' -Google::Protobuf::DescriptorPool.generated_pool.build do - add_file("temporal/api/query/v1/message.proto", :syntax => :proto3) do - add_message "temporal.api.query.v1.WorkflowQuery" do - optional :query_type, :string, 1 - optional :query_args, :message, 2, "temporal.api.common.v1.Payloads" - end - add_message "temporal.api.query.v1.WorkflowQueryResult" do - optional :result_type, :enum, 1, "temporal.api.enums.v1.QueryResultType" - optional :answer, :message, 2, "temporal.api.common.v1.Payloads" - optional :error_message, :string, 3 - end - add_message "temporal.api.query.v1.QueryRejected" do - optional :status, :enum, 1, "temporal.api.enums.v1.WorkflowExecutionStatus" - end - end -end + + +descriptor_data = "\n#temporal/api/query/v1/message.proto\x12\x15temporal.api.query.v1\x1a!temporal/api/enums/v1/query.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a$temporal/api/common/v1/message.proto\"Y\n\rWorkflowQuery\x12\x12\n\nquery_type\x18\x01 \x01(\t\x12\x34\n\nquery_args\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\"\x9b\x01\n\x13WorkflowQueryResult\x12;\n\x0bresult_type\x18\x01 \x01(\x0e\x32&.temporal.api.enums.v1.QueryResultType\x12\x30\n\x06\x61nswer\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x15\n\rerror_message\x18\x03 \x01(\t\"O\n\rQueryRejected\x12>\n\x06status\x18\x01 \x01(\x0e\x32..temporal.api.enums.v1.WorkflowExecutionStatusB\x80\x01\n\x18io.temporal.api.query.v1B\x0cMessageProtoP\x01Z!go.temporal.io/api/query/v1;query\xaa\x02\x15Temporal.Api.Query.V1\xea\x02\x18Temporal::Api::Query::V1b\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Temporal module Api diff --git a/lib/gen/temporal/api/replication/v1/message_pb.rb b/lib/gen/temporal/api/replication/v1/message_pb.rb index 6e964bc2..24c94de8 100644 --- a/lib/gen/temporal/api/replication/v1/message_pb.rb +++ b/lib/gen/temporal/api/replication/v1/message_pb.rb @@ -1,19 +1,14 @@ +# frozen_string_literal: true # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/replication/v1/message.proto require 'google/protobuf' -Google::Protobuf::DescriptorPool.generated_pool.build do - add_file("temporal/api/replication/v1/message.proto", :syntax => :proto3) do - add_message "temporal.api.replication.v1.ClusterReplicationConfig" do - optional :cluster_name, :string, 1 - end - add_message "temporal.api.replication.v1.NamespaceReplicationConfig" do - optional :active_cluster_name, :string, 1 - repeated :clusters, :message, 2, "temporal.api.replication.v1.ClusterReplicationConfig" - end - end -end + +descriptor_data = "\n)temporal/api/replication/v1/message.proto\x12\x1btemporal.api.replication.v1\"0\n\x18\x43lusterReplicationConfig\x12\x14\n\x0c\x63luster_name\x18\x01 \x01(\t\"\x82\x01\n\x1aNamespaceReplicationConfig\x12\x1b\n\x13\x61\x63tive_cluster_name\x18\x01 \x01(\t\x12G\n\x08\x63lusters\x18\x02 \x03(\x0b\x32\x35.temporal.api.replication.v1.ClusterReplicationConfigB\x9e\x01\n\x1eio.temporal.api.replication.v1B\x0cMessageProtoP\x01Z-go.temporal.io/api/replication/v1;replication\xaa\x02\x1bTemporal.Api.Replication.V1\xea\x02\x1eTemporal::Api::Replication::V1b\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Temporal module Api diff --git a/lib/gen/temporal/api/taskqueue/v1/message_pb.rb b/lib/gen/temporal/api/taskqueue/v1/message_pb.rb index 839cd994..73d097c4 100644 --- a/lib/gen/temporal/api/taskqueue/v1/message_pb.rb +++ b/lib/gen/temporal/api/taskqueue/v1/message_pb.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/taskqueue/v1/message.proto @@ -6,42 +7,14 @@ require 'google/protobuf/duration_pb' require 'google/protobuf/timestamp_pb' require 'google/protobuf/wrappers_pb' +require 'dependencies/gogoproto/gogo_pb' require 'temporal/api/enums/v1/task_queue_pb' -Google::Protobuf::DescriptorPool.generated_pool.build do - add_file("temporal/api/taskqueue/v1/message.proto", :syntax => :proto3) do - add_message "temporal.api.taskqueue.v1.TaskQueue" do - optional :name, :string, 1 - optional :kind, :enum, 2, "temporal.api.enums.v1.TaskQueueKind" - end - add_message "temporal.api.taskqueue.v1.TaskQueueMetadata" do - optional :max_tasks_per_second, :message, 1, "google.protobuf.DoubleValue" - end - add_message "temporal.api.taskqueue.v1.TaskQueueStatus" do - optional :backlog_count_hint, :int64, 1 - optional :read_level, :int64, 2 - optional :ack_level, :int64, 3 - optional :rate_per_second, :double, 4 - optional :task_id_block, :message, 5, "temporal.api.taskqueue.v1.TaskIdBlock" - end - add_message "temporal.api.taskqueue.v1.TaskIdBlock" do - optional :start_id, :int64, 1 - optional :end_id, :int64, 2 - end - add_message "temporal.api.taskqueue.v1.TaskQueuePartitionMetadata" do - optional :key, :string, 1 - optional :owner_host_name, :string, 2 - end - add_message "temporal.api.taskqueue.v1.PollerInfo" do - optional :last_access_time, :message, 1, "google.protobuf.Timestamp" - optional :identity, :string, 2 - optional :rate_per_second, :double, 3 - end - add_message "temporal.api.taskqueue.v1.StickyExecutionAttributes" do - optional :worker_task_queue, :message, 1, "temporal.api.taskqueue.v1.TaskQueue" - optional :schedule_to_start_timeout, :message, 2, "google.protobuf.Duration" - end - end -end + + +descriptor_data = "\n\'temporal/api/taskqueue/v1/message.proto\x12\x19temporal.api.taskqueue.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a!dependencies/gogoproto/gogo.proto\x1a&temporal/api/enums/v1/task_queue.proto\"M\n\tTaskQueue\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x32\n\x04kind\x18\x02 \x01(\x0e\x32$.temporal.api.enums.v1.TaskQueueKind\"O\n\x11TaskQueueMetadata\x12:\n\x14max_tasks_per_second\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\"\xac\x01\n\x0fTaskQueueStatus\x12\x1a\n\x12\x62\x61\x63klog_count_hint\x18\x01 \x01(\x03\x12\x12\n\nread_level\x18\x02 \x01(\x03\x12\x11\n\tack_level\x18\x03 \x01(\x03\x12\x17\n\x0frate_per_second\x18\x04 \x01(\x01\x12=\n\rtask_id_block\x18\x05 \x01(\x0b\x32&.temporal.api.taskqueue.v1.TaskIdBlock\"/\n\x0bTaskIdBlock\x12\x10\n\x08start_id\x18\x01 \x01(\x03\x12\x0e\n\x06\x65nd_id\x18\x02 \x01(\x03\"B\n\x1aTaskQueuePartitionMetadata\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x17\n\x0fowner_host_name\x18\x02 \x01(\t\"s\n\nPollerInfo\x12:\n\x10last_access_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\x90\xdf\x1f\x01\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x17\n\x0frate_per_second\x18\x03 \x01(\x01\"\xa0\x01\n\x19StickyExecutionAttributes\x12?\n\x11worker_task_queue\x18\x01 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12\x42\n\x19schedule_to_start_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\x98\xdf\x1f\x01\x42\x94\x01\n\x1cio.temporal.api.taskqueue.v1B\x0cMessageProtoP\x01Z)go.temporal.io/api/taskqueue/v1;taskqueue\xaa\x02\x19Temporal.Api.TaskQueue.V1\xea\x02\x1cTemporal::Api::TaskQueue::V1b\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Temporal module Api diff --git a/lib/gen/temporal/api/version/v1/message_pb.rb b/lib/gen/temporal/api/version/v1/message_pb.rb index f166d07d..72a381ed 100644 --- a/lib/gen/temporal/api/version/v1/message_pb.rb +++ b/lib/gen/temporal/api/version/v1/message_pb.rb @@ -1,30 +1,18 @@ +# frozen_string_literal: true # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/version/v1/message.proto require 'google/protobuf' require 'google/protobuf/timestamp_pb' +require 'dependencies/gogoproto/gogo_pb' require 'temporal/api/enums/v1/common_pb' -Google::Protobuf::DescriptorPool.generated_pool.build do - add_file("temporal/api/version/v1/message.proto", :syntax => :proto3) do - add_message "temporal.api.version.v1.ReleaseInfo" do - optional :version, :string, 1 - optional :release_time, :message, 2, "google.protobuf.Timestamp" - optional :notes, :string, 3 - end - add_message "temporal.api.version.v1.Alert" do - optional :message, :string, 1 - optional :severity, :enum, 2, "temporal.api.enums.v1.Severity" - end - add_message "temporal.api.version.v1.VersionInfo" do - optional :current, :message, 1, "temporal.api.version.v1.ReleaseInfo" - optional :recommended, :message, 2, "temporal.api.version.v1.ReleaseInfo" - optional :instructions, :string, 3 - repeated :alerts, :message, 4, "temporal.api.version.v1.Alert" - optional :last_update_time, :message, 5, "google.protobuf.Timestamp" - end - end -end + + +descriptor_data = "\n%temporal/api/version/v1/message.proto\x12\x17temporal.api.version.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a!dependencies/gogoproto/gogo.proto\x1a\"temporal/api/enums/v1/common.proto\"e\n\x0bReleaseInfo\x12\x0f\n\x07version\x18\x01 \x01(\t\x12\x36\n\x0crelease_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\x90\xdf\x1f\x01\x12\r\n\x05notes\x18\x03 \x01(\t\"K\n\x05\x41lert\x12\x0f\n\x07message\x18\x01 \x01(\t\x12\x31\n\x08severity\x18\x02 \x01(\x0e\x32\x1f.temporal.api.enums.v1.Severity\"\x81\x02\n\x0bVersionInfo\x12\x35\n\x07\x63urrent\x18\x01 \x01(\x0b\x32$.temporal.api.version.v1.ReleaseInfo\x12\x39\n\x0brecommended\x18\x02 \x01(\x0b\x32$.temporal.api.version.v1.ReleaseInfo\x12\x14\n\x0cinstructions\x18\x03 \x01(\t\x12.\n\x06\x61lerts\x18\x04 \x03(\x0b\x32\x1e.temporal.api.version.v1.Alert\x12:\n\x10last_update_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\x90\xdf\x1f\x01\x42\x8a\x01\n\x1aio.temporal.api.version.v1B\x0cMessageProtoP\x01Z%go.temporal.io/api/version/v1;version\xaa\x02\x17Temporal.Api.Version.V1\xea\x02\x1aTemporal::Api::Version::V1b\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Temporal module Api diff --git a/lib/gen/temporal/api/workflow/v1/message_pb.rb b/lib/gen/temporal/api/workflow/v1/message_pb.rb index c02b89ca..b07e6b29 100644 --- a/lib/gen/temporal/api/workflow/v1/message_pb.rb +++ b/lib/gen/temporal/api/workflow/v1/message_pb.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/workflow/v1/message.proto @@ -5,67 +6,17 @@ require 'google/protobuf/duration_pb' require 'google/protobuf/timestamp_pb' +require 'dependencies/gogoproto/gogo_pb' require 'temporal/api/enums/v1/workflow_pb' require 'temporal/api/common/v1/message_pb' require 'temporal/api/failure/v1/message_pb' require 'temporal/api/taskqueue/v1/message_pb' -Google::Protobuf::DescriptorPool.generated_pool.build do - add_file("temporal/api/workflow/v1/message.proto", :syntax => :proto3) do - add_message "temporal.api.workflow.v1.WorkflowExecutionInfo" do - optional :execution, :message, 1, "temporal.api.common.v1.WorkflowExecution" - optional :type, :message, 2, "temporal.api.common.v1.WorkflowType" - optional :start_time, :message, 3, "google.protobuf.Timestamp" - optional :close_time, :message, 4, "google.protobuf.Timestamp" - optional :status, :enum, 5, "temporal.api.enums.v1.WorkflowExecutionStatus" - optional :history_length, :int64, 6 - optional :parent_namespace_id, :string, 7 - optional :parent_execution, :message, 8, "temporal.api.common.v1.WorkflowExecution" - optional :execution_time, :message, 9, "google.protobuf.Timestamp" - optional :memo, :message, 10, "temporal.api.common.v1.Memo" - optional :search_attributes, :message, 11, "temporal.api.common.v1.SearchAttributes" - optional :auto_reset_points, :message, 12, "temporal.api.workflow.v1.ResetPoints" - optional :task_queue, :string, 13 - end - add_message "temporal.api.workflow.v1.WorkflowExecutionConfig" do - optional :task_queue, :message, 1, "temporal.api.taskqueue.v1.TaskQueue" - optional :workflow_execution_timeout, :message, 2, "google.protobuf.Duration" - optional :workflow_run_timeout, :message, 3, "google.protobuf.Duration" - optional :default_workflow_task_timeout, :message, 4, "google.protobuf.Duration" - end - add_message "temporal.api.workflow.v1.PendingActivityInfo" do - optional :activity_id, :string, 1 - optional :activity_type, :message, 2, "temporal.api.common.v1.ActivityType" - optional :state, :enum, 3, "temporal.api.enums.v1.PendingActivityState" - optional :heartbeat_details, :message, 4, "temporal.api.common.v1.Payloads" - optional :last_heartbeat_time, :message, 5, "google.protobuf.Timestamp" - optional :last_started_time, :message, 6, "google.protobuf.Timestamp" - optional :attempt, :int32, 7 - optional :maximum_attempts, :int32, 8 - optional :scheduled_time, :message, 9, "google.protobuf.Timestamp" - optional :expiration_time, :message, 10, "google.protobuf.Timestamp" - optional :last_failure, :message, 11, "temporal.api.failure.v1.Failure" - optional :last_worker_identity, :string, 12 - end - add_message "temporal.api.workflow.v1.PendingChildExecutionInfo" do - optional :workflow_id, :string, 1 - optional :run_id, :string, 2 - optional :workflow_type_name, :string, 3 - optional :initiated_id, :int64, 4 - optional :parent_close_policy, :enum, 5, "temporal.api.enums.v1.ParentClosePolicy" - end - add_message "temporal.api.workflow.v1.ResetPoints" do - repeated :points, :message, 1, "temporal.api.workflow.v1.ResetPointInfo" - end - add_message "temporal.api.workflow.v1.ResetPointInfo" do - optional :binary_checksum, :string, 1 - optional :run_id, :string, 2 - optional :first_workflow_task_completed_id, :int64, 3 - optional :create_time, :message, 4, "google.protobuf.Timestamp" - optional :expire_time, :message, 5, "google.protobuf.Timestamp" - optional :resettable, :bool, 6 - end - end -end + + +descriptor_data = "\n&temporal/api/workflow/v1/message.proto\x12\x18temporal.api.workflow.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a!dependencies/gogoproto/gogo.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a$temporal/api/common/v1/message.proto\x1a%temporal/api/failure/v1/message.proto\x1a\'temporal/api/taskqueue/v1/message.proto\"\xb0\x05\n\x15WorkflowExecutionInfo\x12<\n\texecution\x18\x01 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x32\n\x04type\x18\x02 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x34\n\nstart_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\x90\xdf\x1f\x01\x12\x34\n\nclose_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\x90\xdf\x1f\x01\x12>\n\x06status\x18\x05 \x01(\x0e\x32..temporal.api.enums.v1.WorkflowExecutionStatus\x12\x16\n\x0ehistory_length\x18\x06 \x01(\x03\x12\x1b\n\x13parent_namespace_id\x18\x07 \x01(\t\x12\x43\n\x10parent_execution\x18\x08 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x38\n\x0e\x65xecution_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\x90\xdf\x1f\x01\x12*\n\x04memo\x18\n \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x0b \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12@\n\x11\x61uto_reset_points\x18\x0c \x01(\x0b\x32%.temporal.api.workflow.v1.ResetPoints\x12\x12\n\ntask_queue\x18\r \x01(\t\"\x9f\x02\n\x17WorkflowExecutionConfig\x12\x38\n\ntask_queue\x18\x01 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12\x43\n\x1aworkflow_execution_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\x98\xdf\x1f\x01\x12=\n\x14workflow_run_timeout\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\x98\xdf\x1f\x01\x12\x46\n\x1d\x64\x65\x66\x61ult_workflow_task_timeout\x18\x04 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\x98\xdf\x1f\x01\"\xd2\x04\n\x13PendingActivityInfo\x12\x13\n\x0b\x61\x63tivity_id\x18\x01 \x01(\t\x12;\n\ractivity_type\x18\x02 \x01(\x0b\x32$.temporal.api.common.v1.ActivityType\x12:\n\x05state\x18\x03 \x01(\x0e\x32+.temporal.api.enums.v1.PendingActivityState\x12;\n\x11heartbeat_details\x18\x04 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12=\n\x13last_heartbeat_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\x90\xdf\x1f\x01\x12;\n\x11last_started_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\x90\xdf\x1f\x01\x12\x0f\n\x07\x61ttempt\x18\x07 \x01(\x05\x12\x18\n\x10maximum_attempts\x18\x08 \x01(\x05\x12\x38\n\x0escheduled_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\x90\xdf\x1f\x01\x12\x39\n\x0f\x65xpiration_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\x90\xdf\x1f\x01\x12\x36\n\x0clast_failure\x18\x0b \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x1c\n\x14last_worker_identity\x18\x0c \x01(\t\"\xb9\x01\n\x19PendingChildExecutionInfo\x12\x13\n\x0bworkflow_id\x18\x01 \x01(\t\x12\x0e\n\x06run_id\x18\x02 \x01(\t\x12\x1a\n\x12workflow_type_name\x18\x03 \x01(\t\x12\x14\n\x0cinitiated_id\x18\x04 \x01(\x03\x12\x45\n\x13parent_close_policy\x18\x05 \x01(\x0e\x32(.temporal.api.enums.v1.ParentClosePolicy\"G\n\x0bResetPoints\x12\x38\n\x06points\x18\x01 \x03(\x0b\x32(.temporal.api.workflow.v1.ResetPointInfo\"\xe5\x01\n\x0eResetPointInfo\x12\x17\n\x0f\x62inary_checksum\x18\x01 \x01(\t\x12\x0e\n\x06run_id\x18\x02 \x01(\t\x12(\n first_workflow_task_completed_id\x18\x03 \x01(\x03\x12\x35\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\x90\xdf\x1f\x01\x12\x35\n\x0b\x65xpire_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\x90\xdf\x1f\x01\x12\x12\n\nresettable\x18\x06 \x01(\x08\x42\x8f\x01\n\x1bio.temporal.api.workflow.v1B\x0cMessageProtoP\x01Z\'go.temporal.io/api/workflow/v1;workflow\xaa\x02\x18Temporal.Api.Workflow.V1\xea\x02\x1bTemporal::Api::Workflow::V1b\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Temporal module Api diff --git a/lib/gen/temporal/api/workflowservice/v1/request_response_pb.rb b/lib/gen/temporal/api/workflowservice/v1/request_response_pb.rb index 57a2f735..a9fbaf30 100644 --- a/lib/gen/temporal/api/workflowservice/v1/request_response_pb.rb +++ b/lib/gen/temporal/api/workflowservice/v1/request_response_pb.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/workflowservice/v1/request_response.proto @@ -22,446 +23,13 @@ require 'temporal/api/version/v1/message_pb' require 'google/protobuf/duration_pb' require 'google/protobuf/timestamp_pb' -Google::Protobuf::DescriptorPool.generated_pool.build do - add_file("temporal/api/workflowservice/v1/request_response.proto", :syntax => :proto3) do - add_message "temporal.api.workflowservice.v1.RegisterNamespaceRequest" do - optional :namespace, :string, 1 - optional :description, :string, 2 - optional :owner_email, :string, 3 - optional :workflow_execution_retention_period, :message, 4, "google.protobuf.Duration" - repeated :clusters, :message, 5, "temporal.api.replication.v1.ClusterReplicationConfig" - optional :active_cluster_name, :string, 6 - map :data, :string, :string, 7 - optional :security_token, :string, 8 - optional :is_global_namespace, :bool, 9 - optional :history_archival_state, :enum, 10, "temporal.api.enums.v1.ArchivalState" - optional :history_archival_uri, :string, 11 - optional :visibility_archival_state, :enum, 12, "temporal.api.enums.v1.ArchivalState" - optional :visibility_archival_uri, :string, 13 - end - add_message "temporal.api.workflowservice.v1.RegisterNamespaceResponse" do - end - add_message "temporal.api.workflowservice.v1.ListNamespacesRequest" do - optional :page_size, :int32, 1 - optional :next_page_token, :bytes, 2 - end - add_message "temporal.api.workflowservice.v1.ListNamespacesResponse" do - repeated :namespaces, :message, 1, "temporal.api.workflowservice.v1.DescribeNamespaceResponse" - optional :next_page_token, :bytes, 2 - end - add_message "temporal.api.workflowservice.v1.DescribeNamespaceRequest" do - optional :namespace, :string, 1 - optional :id, :string, 2 - end - add_message "temporal.api.workflowservice.v1.DescribeNamespaceResponse" do - optional :namespace_info, :message, 1, "temporal.api.namespace.v1.NamespaceInfo" - optional :config, :message, 2, "temporal.api.namespace.v1.NamespaceConfig" - optional :replication_config, :message, 3, "temporal.api.replication.v1.NamespaceReplicationConfig" - optional :failover_version, :int64, 4 - optional :is_global_namespace, :bool, 5 - end - add_message "temporal.api.workflowservice.v1.UpdateNamespaceRequest" do - optional :namespace, :string, 1 - optional :update_info, :message, 2, "temporal.api.namespace.v1.UpdateNamespaceInfo" - optional :config, :message, 3, "temporal.api.namespace.v1.NamespaceConfig" - optional :replication_config, :message, 4, "temporal.api.replication.v1.NamespaceReplicationConfig" - optional :security_token, :string, 5 - optional :delete_bad_binary, :string, 6 - end - add_message "temporal.api.workflowservice.v1.UpdateNamespaceResponse" do - optional :namespace_info, :message, 1, "temporal.api.namespace.v1.NamespaceInfo" - optional :config, :message, 2, "temporal.api.namespace.v1.NamespaceConfig" - optional :replication_config, :message, 3, "temporal.api.replication.v1.NamespaceReplicationConfig" - optional :failover_version, :int64, 4 - optional :is_global_namespace, :bool, 5 - end - add_message "temporal.api.workflowservice.v1.DeprecateNamespaceRequest" do - optional :namespace, :string, 1 - optional :security_token, :string, 2 - end - add_message "temporal.api.workflowservice.v1.DeprecateNamespaceResponse" do - end - add_message "temporal.api.workflowservice.v1.StartWorkflowExecutionRequest" do - optional :namespace, :string, 1 - optional :workflow_id, :string, 2 - optional :workflow_type, :message, 3, "temporal.api.common.v1.WorkflowType" - optional :task_queue, :message, 4, "temporal.api.taskqueue.v1.TaskQueue" - optional :input, :message, 5, "temporal.api.common.v1.Payloads" - optional :workflow_execution_timeout, :message, 6, "google.protobuf.Duration" - optional :workflow_run_timeout, :message, 7, "google.protobuf.Duration" - optional :workflow_task_timeout, :message, 8, "google.protobuf.Duration" - optional :identity, :string, 9 - optional :request_id, :string, 10 - optional :workflow_id_reuse_policy, :enum, 11, "temporal.api.enums.v1.WorkflowIdReusePolicy" - optional :retry_policy, :message, 12, "temporal.api.common.v1.RetryPolicy" - optional :cron_schedule, :string, 13 - optional :memo, :message, 14, "temporal.api.common.v1.Memo" - optional :search_attributes, :message, 15, "temporal.api.common.v1.SearchAttributes" - optional :header, :message, 16, "temporal.api.common.v1.Header" - end - add_message "temporal.api.workflowservice.v1.StartWorkflowExecutionResponse" do - optional :run_id, :string, 1 - end - add_message "temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryRequest" do - optional :namespace, :string, 1 - optional :execution, :message, 2, "temporal.api.common.v1.WorkflowExecution" - optional :maximum_page_size, :int32, 3 - optional :next_page_token, :bytes, 4 - optional :wait_new_event, :bool, 5 - optional :history_event_filter_type, :enum, 6, "temporal.api.enums.v1.HistoryEventFilterType" - optional :skip_archival, :bool, 7 - end - add_message "temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryResponse" do - optional :history, :message, 1, "temporal.api.history.v1.History" - repeated :raw_history, :message, 2, "temporal.api.common.v1.DataBlob" - optional :next_page_token, :bytes, 3 - optional :archived, :bool, 4 - end - add_message "temporal.api.workflowservice.v1.PollWorkflowTaskQueueRequest" do - optional :namespace, :string, 1 - optional :task_queue, :message, 2, "temporal.api.taskqueue.v1.TaskQueue" - optional :identity, :string, 3 - optional :binary_checksum, :string, 4 - end - add_message "temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse" do - optional :task_token, :bytes, 1 - optional :workflow_execution, :message, 2, "temporal.api.common.v1.WorkflowExecution" - optional :workflow_type, :message, 3, "temporal.api.common.v1.WorkflowType" - optional :previous_started_event_id, :int64, 4 - optional :started_event_id, :int64, 5 - optional :attempt, :int32, 6 - optional :backlog_count_hint, :int64, 7 - optional :history, :message, 8, "temporal.api.history.v1.History" - optional :next_page_token, :bytes, 9 - optional :query, :message, 10, "temporal.api.query.v1.WorkflowQuery" - optional :workflow_execution_task_queue, :message, 11, "temporal.api.taskqueue.v1.TaskQueue" - optional :scheduled_time, :message, 12, "google.protobuf.Timestamp" - optional :started_time, :message, 13, "google.protobuf.Timestamp" - map :queries, :string, :message, 14, "temporal.api.query.v1.WorkflowQuery" - end - add_message "temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest" do - optional :task_token, :bytes, 1 - repeated :commands, :message, 2, "temporal.api.command.v1.Command" - optional :identity, :string, 3 - optional :sticky_attributes, :message, 4, "temporal.api.taskqueue.v1.StickyExecutionAttributes" - optional :return_new_workflow_task, :bool, 5 - optional :force_create_new_workflow_task, :bool, 6 - optional :binary_checksum, :string, 7 - map :query_results, :string, :message, 8, "temporal.api.query.v1.WorkflowQueryResult" - optional :namespace, :string, 9 - end - add_message "temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedResponse" do - optional :workflow_task, :message, 1, "temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse" - end - add_message "temporal.api.workflowservice.v1.RespondWorkflowTaskFailedRequest" do - optional :task_token, :bytes, 1 - optional :cause, :enum, 2, "temporal.api.enums.v1.WorkflowTaskFailedCause" - optional :failure, :message, 3, "temporal.api.failure.v1.Failure" - optional :identity, :string, 4 - optional :binary_checksum, :string, 5 - optional :namespace, :string, 6 - end - add_message "temporal.api.workflowservice.v1.RespondWorkflowTaskFailedResponse" do - end - add_message "temporal.api.workflowservice.v1.PollActivityTaskQueueRequest" do - optional :namespace, :string, 1 - optional :task_queue, :message, 2, "temporal.api.taskqueue.v1.TaskQueue" - optional :identity, :string, 3 - optional :task_queue_metadata, :message, 4, "temporal.api.taskqueue.v1.TaskQueueMetadata" - end - add_message "temporal.api.workflowservice.v1.PollActivityTaskQueueResponse" do - optional :task_token, :bytes, 1 - optional :workflow_namespace, :string, 2 - optional :workflow_type, :message, 3, "temporal.api.common.v1.WorkflowType" - optional :workflow_execution, :message, 4, "temporal.api.common.v1.WorkflowExecution" - optional :activity_type, :message, 5, "temporal.api.common.v1.ActivityType" - optional :activity_id, :string, 6 - optional :header, :message, 7, "temporal.api.common.v1.Header" - optional :input, :message, 8, "temporal.api.common.v1.Payloads" - optional :heartbeat_details, :message, 9, "temporal.api.common.v1.Payloads" - optional :scheduled_time, :message, 10, "google.protobuf.Timestamp" - optional :current_attempt_scheduled_time, :message, 11, "google.protobuf.Timestamp" - optional :started_time, :message, 12, "google.protobuf.Timestamp" - optional :attempt, :int32, 13 - optional :schedule_to_close_timeout, :message, 14, "google.protobuf.Duration" - optional :start_to_close_timeout, :message, 15, "google.protobuf.Duration" - optional :heartbeat_timeout, :message, 16, "google.protobuf.Duration" - optional :retry_policy, :message, 17, "temporal.api.common.v1.RetryPolicy" - end - add_message "temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatRequest" do - optional :task_token, :bytes, 1 - optional :details, :message, 2, "temporal.api.common.v1.Payloads" - optional :identity, :string, 3 - optional :namespace, :string, 4 - end - add_message "temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatResponse" do - optional :cancel_requested, :bool, 1 - end - add_message "temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatByIdRequest" do - optional :namespace, :string, 1 - optional :workflow_id, :string, 2 - optional :run_id, :string, 3 - optional :activity_id, :string, 4 - optional :details, :message, 5, "temporal.api.common.v1.Payloads" - optional :identity, :string, 6 - end - add_message "temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatByIdResponse" do - optional :cancel_requested, :bool, 1 - end - add_message "temporal.api.workflowservice.v1.RespondActivityTaskCompletedRequest" do - optional :task_token, :bytes, 1 - optional :result, :message, 2, "temporal.api.common.v1.Payloads" - optional :identity, :string, 3 - optional :namespace, :string, 4 - end - add_message "temporal.api.workflowservice.v1.RespondActivityTaskCompletedResponse" do - end - add_message "temporal.api.workflowservice.v1.RespondActivityTaskCompletedByIdRequest" do - optional :namespace, :string, 1 - optional :workflow_id, :string, 2 - optional :run_id, :string, 3 - optional :activity_id, :string, 4 - optional :result, :message, 5, "temporal.api.common.v1.Payloads" - optional :identity, :string, 6 - end - add_message "temporal.api.workflowservice.v1.RespondActivityTaskCompletedByIdResponse" do - end - add_message "temporal.api.workflowservice.v1.RespondActivityTaskFailedRequest" do - optional :task_token, :bytes, 1 - optional :failure, :message, 2, "temporal.api.failure.v1.Failure" - optional :identity, :string, 3 - optional :namespace, :string, 4 - end - add_message "temporal.api.workflowservice.v1.RespondActivityTaskFailedResponse" do - end - add_message "temporal.api.workflowservice.v1.RespondActivityTaskFailedByIdRequest" do - optional :namespace, :string, 1 - optional :workflow_id, :string, 2 - optional :run_id, :string, 3 - optional :activity_id, :string, 4 - optional :failure, :message, 5, "temporal.api.failure.v1.Failure" - optional :identity, :string, 6 - end - add_message "temporal.api.workflowservice.v1.RespondActivityTaskFailedByIdResponse" do - end - add_message "temporal.api.workflowservice.v1.RespondActivityTaskCanceledRequest" do - optional :task_token, :bytes, 1 - optional :details, :message, 2, "temporal.api.common.v1.Payloads" - optional :identity, :string, 3 - optional :namespace, :string, 4 - end - add_message "temporal.api.workflowservice.v1.RespondActivityTaskCanceledResponse" do - end - add_message "temporal.api.workflowservice.v1.RespondActivityTaskCanceledByIdRequest" do - optional :namespace, :string, 1 - optional :workflow_id, :string, 2 - optional :run_id, :string, 3 - optional :activity_id, :string, 4 - optional :details, :message, 5, "temporal.api.common.v1.Payloads" - optional :identity, :string, 6 - end - add_message "temporal.api.workflowservice.v1.RespondActivityTaskCanceledByIdResponse" do - end - add_message "temporal.api.workflowservice.v1.RequestCancelWorkflowExecutionRequest" do - optional :namespace, :string, 1 - optional :workflow_execution, :message, 2, "temporal.api.common.v1.WorkflowExecution" - optional :identity, :string, 3 - optional :request_id, :string, 4 - optional :first_execution_run_id, :string, 5 - end - add_message "temporal.api.workflowservice.v1.RequestCancelWorkflowExecutionResponse" do - end - add_message "temporal.api.workflowservice.v1.SignalWorkflowExecutionRequest" do - optional :namespace, :string, 1 - optional :workflow_execution, :message, 2, "temporal.api.common.v1.WorkflowExecution" - optional :signal_name, :string, 3 - optional :input, :message, 4, "temporal.api.common.v1.Payloads" - optional :identity, :string, 5 - optional :request_id, :string, 6 - optional :control, :string, 7 - end - add_message "temporal.api.workflowservice.v1.SignalWorkflowExecutionResponse" do - end - add_message "temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionRequest" do - optional :namespace, :string, 1 - optional :workflow_id, :string, 2 - optional :workflow_type, :message, 3, "temporal.api.common.v1.WorkflowType" - optional :task_queue, :message, 4, "temporal.api.taskqueue.v1.TaskQueue" - optional :input, :message, 5, "temporal.api.common.v1.Payloads" - optional :workflow_execution_timeout, :message, 6, "google.protobuf.Duration" - optional :workflow_run_timeout, :message, 7, "google.protobuf.Duration" - optional :workflow_task_timeout, :message, 8, "google.protobuf.Duration" - optional :identity, :string, 9 - optional :request_id, :string, 10 - optional :workflow_id_reuse_policy, :enum, 11, "temporal.api.enums.v1.WorkflowIdReusePolicy" - optional :signal_name, :string, 12 - optional :signal_input, :message, 13, "temporal.api.common.v1.Payloads" - optional :control, :string, 14 - optional :retry_policy, :message, 15, "temporal.api.common.v1.RetryPolicy" - optional :cron_schedule, :string, 16 - optional :memo, :message, 17, "temporal.api.common.v1.Memo" - optional :search_attributes, :message, 18, "temporal.api.common.v1.SearchAttributes" - optional :header, :message, 19, "temporal.api.common.v1.Header" - end - add_message "temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionResponse" do - optional :run_id, :string, 1 - end - add_message "temporal.api.workflowservice.v1.ResetWorkflowExecutionRequest" do - optional :namespace, :string, 1 - optional :workflow_execution, :message, 2, "temporal.api.common.v1.WorkflowExecution" - optional :reason, :string, 3 - optional :workflow_task_finish_event_id, :int64, 4 - optional :request_id, :string, 5 - end - add_message "temporal.api.workflowservice.v1.ResetWorkflowExecutionResponse" do - optional :run_id, :string, 1 - end - add_message "temporal.api.workflowservice.v1.TerminateWorkflowExecutionRequest" do - optional :namespace, :string, 1 - optional :workflow_execution, :message, 2, "temporal.api.common.v1.WorkflowExecution" - optional :reason, :string, 3 - optional :details, :message, 4, "temporal.api.common.v1.Payloads" - optional :identity, :string, 5 - optional :first_execution_run_id, :string, 6 - end - add_message "temporal.api.workflowservice.v1.TerminateWorkflowExecutionResponse" do - end - add_message "temporal.api.workflowservice.v1.ListOpenWorkflowExecutionsRequest" do - optional :namespace, :string, 1 - optional :maximum_page_size, :int32, 2 - optional :next_page_token, :bytes, 3 - optional :start_time_filter, :message, 4, "temporal.api.filter.v1.StartTimeFilter" - oneof :filters do - optional :execution_filter, :message, 5, "temporal.api.filter.v1.WorkflowExecutionFilter" - optional :type_filter, :message, 6, "temporal.api.filter.v1.WorkflowTypeFilter" - end - end - add_message "temporal.api.workflowservice.v1.ListOpenWorkflowExecutionsResponse" do - repeated :executions, :message, 1, "temporal.api.workflow.v1.WorkflowExecutionInfo" - optional :next_page_token, :bytes, 2 - end - add_message "temporal.api.workflowservice.v1.ListClosedWorkflowExecutionsRequest" do - optional :namespace, :string, 1 - optional :maximum_page_size, :int32, 2 - optional :next_page_token, :bytes, 3 - optional :start_time_filter, :message, 4, "temporal.api.filter.v1.StartTimeFilter" - oneof :filters do - optional :execution_filter, :message, 5, "temporal.api.filter.v1.WorkflowExecutionFilter" - optional :type_filter, :message, 6, "temporal.api.filter.v1.WorkflowTypeFilter" - optional :status_filter, :message, 7, "temporal.api.filter.v1.StatusFilter" - end - end - add_message "temporal.api.workflowservice.v1.ListClosedWorkflowExecutionsResponse" do - repeated :executions, :message, 1, "temporal.api.workflow.v1.WorkflowExecutionInfo" - optional :next_page_token, :bytes, 2 - end - add_message "temporal.api.workflowservice.v1.ListWorkflowExecutionsRequest" do - optional :namespace, :string, 1 - optional :page_size, :int32, 2 - optional :next_page_token, :bytes, 3 - optional :query, :string, 4 - end - add_message "temporal.api.workflowservice.v1.ListWorkflowExecutionsResponse" do - repeated :executions, :message, 1, "temporal.api.workflow.v1.WorkflowExecutionInfo" - optional :next_page_token, :bytes, 2 - end - add_message "temporal.api.workflowservice.v1.ListArchivedWorkflowExecutionsRequest" do - optional :namespace, :string, 1 - optional :page_size, :int32, 2 - optional :next_page_token, :bytes, 3 - optional :query, :string, 4 - end - add_message "temporal.api.workflowservice.v1.ListArchivedWorkflowExecutionsResponse" do - repeated :executions, :message, 1, "temporal.api.workflow.v1.WorkflowExecutionInfo" - optional :next_page_token, :bytes, 2 - end - add_message "temporal.api.workflowservice.v1.ScanWorkflowExecutionsRequest" do - optional :namespace, :string, 1 - optional :page_size, :int32, 2 - optional :next_page_token, :bytes, 3 - optional :query, :string, 4 - end - add_message "temporal.api.workflowservice.v1.ScanWorkflowExecutionsResponse" do - repeated :executions, :message, 1, "temporal.api.workflow.v1.WorkflowExecutionInfo" - optional :next_page_token, :bytes, 2 - end - add_message "temporal.api.workflowservice.v1.CountWorkflowExecutionsRequest" do - optional :namespace, :string, 1 - optional :query, :string, 2 - end - add_message "temporal.api.workflowservice.v1.CountWorkflowExecutionsResponse" do - optional :count, :int64, 1 - end - add_message "temporal.api.workflowservice.v1.GetSearchAttributesRequest" do - end - add_message "temporal.api.workflowservice.v1.GetSearchAttributesResponse" do - map :keys, :string, :enum, 1, "temporal.api.enums.v1.IndexedValueType" - end - add_message "temporal.api.workflowservice.v1.RespondQueryTaskCompletedRequest" do - optional :task_token, :bytes, 1 - optional :completed_type, :enum, 2, "temporal.api.enums.v1.QueryResultType" - optional :query_result, :message, 3, "temporal.api.common.v1.Payloads" - optional :error_message, :string, 4 - optional :namespace, :string, 6 - end - add_message "temporal.api.workflowservice.v1.RespondQueryTaskCompletedResponse" do - end - add_message "temporal.api.workflowservice.v1.ResetStickyTaskQueueRequest" do - optional :namespace, :string, 1 - optional :execution, :message, 2, "temporal.api.common.v1.WorkflowExecution" - end - add_message "temporal.api.workflowservice.v1.ResetStickyTaskQueueResponse" do - end - add_message "temporal.api.workflowservice.v1.QueryWorkflowRequest" do - optional :namespace, :string, 1 - optional :execution, :message, 2, "temporal.api.common.v1.WorkflowExecution" - optional :query, :message, 3, "temporal.api.query.v1.WorkflowQuery" - optional :query_reject_condition, :enum, 4, "temporal.api.enums.v1.QueryRejectCondition" - end - add_message "temporal.api.workflowservice.v1.QueryWorkflowResponse" do - optional :query_result, :message, 1, "temporal.api.common.v1.Payloads" - optional :query_rejected, :message, 2, "temporal.api.query.v1.QueryRejected" - end - add_message "temporal.api.workflowservice.v1.DescribeWorkflowExecutionRequest" do - optional :namespace, :string, 1 - optional :execution, :message, 2, "temporal.api.common.v1.WorkflowExecution" - end - add_message "temporal.api.workflowservice.v1.DescribeWorkflowExecutionResponse" do - optional :execution_config, :message, 1, "temporal.api.workflow.v1.WorkflowExecutionConfig" - optional :workflow_execution_info, :message, 2, "temporal.api.workflow.v1.WorkflowExecutionInfo" - repeated :pending_activities, :message, 3, "temporal.api.workflow.v1.PendingActivityInfo" - repeated :pending_children, :message, 4, "temporal.api.workflow.v1.PendingChildExecutionInfo" - end - add_message "temporal.api.workflowservice.v1.DescribeTaskQueueRequest" do - optional :namespace, :string, 1 - optional :task_queue, :message, 2, "temporal.api.taskqueue.v1.TaskQueue" - optional :task_queue_type, :enum, 3, "temporal.api.enums.v1.TaskQueueType" - optional :include_task_queue_status, :bool, 4 - end - add_message "temporal.api.workflowservice.v1.DescribeTaskQueueResponse" do - repeated :pollers, :message, 1, "temporal.api.taskqueue.v1.PollerInfo" - optional :task_queue_status, :message, 2, "temporal.api.taskqueue.v1.TaskQueueStatus" - end - add_message "temporal.api.workflowservice.v1.GetClusterInfoRequest" do - end - add_message "temporal.api.workflowservice.v1.GetClusterInfoResponse" do - map :supported_clients, :string, :string, 1 - optional :server_version, :string, 2 - optional :cluster_id, :string, 3 - optional :version_info, :message, 4, "temporal.api.version.v1.VersionInfo" - optional :cluster_name, :string, 5 - optional :history_shard_count, :int32, 6 - end - add_message "temporal.api.workflowservice.v1.ListTaskQueuePartitionsRequest" do - optional :namespace, :string, 1 - optional :task_queue, :message, 2, "temporal.api.taskqueue.v1.TaskQueue" - end - add_message "temporal.api.workflowservice.v1.ListTaskQueuePartitionsResponse" do - repeated :activity_task_queue_partitions, :message, 1, "temporal.api.taskqueue.v1.TaskQueuePartitionMetadata" - repeated :workflow_task_queue_partitions, :message, 2, "temporal.api.taskqueue.v1.TaskQueuePartitionMetadata" - end - end -end +require 'dependencies/gogoproto/gogo_pb' + + +descriptor_data = "\n6temporal/api/workflowservice/v1/request_response.proto\x12\x1ftemporal.api.workflowservice.v1\x1a$temporal/api/enums/v1/workflow.proto\x1a%temporal/api/enums/v1/namespace.proto\x1a(temporal/api/enums/v1/failed_cause.proto\x1a\"temporal/api/enums/v1/common.proto\x1a!temporal/api/enums/v1/query.proto\x1a&temporal/api/enums/v1/task_queue.proto\x1a$temporal/api/common/v1/message.proto\x1a%temporal/api/history/v1/message.proto\x1a&temporal/api/workflow/v1/message.proto\x1a%temporal/api/command/v1/message.proto\x1a%temporal/api/failure/v1/message.proto\x1a$temporal/api/filter/v1/message.proto\x1a\'temporal/api/namespace/v1/message.proto\x1a#temporal/api/query/v1/message.proto\x1a)temporal/api/replication/v1/message.proto\x1a\'temporal/api/taskqueue/v1/message.proto\x1a%temporal/api/version/v1/message.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a!dependencies/gogoproto/gogo.proto\"\x8e\x05\n\x18RegisterNamespaceRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x13\n\x0bowner_email\x18\x03 \x01(\t\x12L\n#workflow_execution_retention_period\x18\x04 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\x98\xdf\x1f\x01\x12G\n\x08\x63lusters\x18\x05 \x03(\x0b\x32\x35.temporal.api.replication.v1.ClusterReplicationConfig\x12\x1b\n\x13\x61\x63tive_cluster_name\x18\x06 \x01(\t\x12Q\n\x04\x64\x61ta\x18\x07 \x03(\x0b\x32\x43.temporal.api.workflowservice.v1.RegisterNamespaceRequest.DataEntry\x12\x16\n\x0esecurity_token\x18\x08 \x01(\t\x12\x1b\n\x13is_global_namespace\x18\t \x01(\x08\x12\x44\n\x16history_archival_state\x18\n \x01(\x0e\x32$.temporal.api.enums.v1.ArchivalState\x12\x1c\n\x14history_archival_uri\x18\x0b \x01(\t\x12G\n\x19visibility_archival_state\x18\x0c \x01(\x0e\x32$.temporal.api.enums.v1.ArchivalState\x12\x1f\n\x17visibility_archival_uri\x18\r \x01(\t\x1a+\n\tDataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x1b\n\x19RegisterNamespaceResponse\"C\n\x15ListNamespacesRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\"\x81\x01\n\x16ListNamespacesResponse\x12N\n\nnamespaces\x18\x01 \x03(\x0b\x32:.temporal.api.workflowservice.v1.DescribeNamespaceResponse\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\"9\n\x18\x44\x65scribeNamespaceRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\n\n\x02id\x18\x02 \x01(\t\"\xa5\x02\n\x19\x44\x65scribeNamespaceResponse\x12@\n\x0enamespace_info\x18\x01 \x01(\x0b\x32(.temporal.api.namespace.v1.NamespaceInfo\x12:\n\x06\x63onfig\x18\x02 \x01(\x0b\x32*.temporal.api.namespace.v1.NamespaceConfig\x12S\n\x12replication_config\x18\x03 \x01(\x0b\x32\x37.temporal.api.replication.v1.NamespaceReplicationConfig\x12\x18\n\x10\x66\x61ilover_version\x18\x04 \x01(\x03\x12\x1b\n\x13is_global_namespace\x18\x05 \x01(\x08\"\xb4\x02\n\x16UpdateNamespaceRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x43\n\x0bupdate_info\x18\x02 \x01(\x0b\x32..temporal.api.namespace.v1.UpdateNamespaceInfo\x12:\n\x06\x63onfig\x18\x03 \x01(\x0b\x32*.temporal.api.namespace.v1.NamespaceConfig\x12S\n\x12replication_config\x18\x04 \x01(\x0b\x32\x37.temporal.api.replication.v1.NamespaceReplicationConfig\x12\x16\n\x0esecurity_token\x18\x05 \x01(\t\x12\x19\n\x11\x64\x65lete_bad_binary\x18\x06 \x01(\t\"\xa3\x02\n\x17UpdateNamespaceResponse\x12@\n\x0enamespace_info\x18\x01 \x01(\x0b\x32(.temporal.api.namespace.v1.NamespaceInfo\x12:\n\x06\x63onfig\x18\x02 \x01(\x0b\x32*.temporal.api.namespace.v1.NamespaceConfig\x12S\n\x12replication_config\x18\x03 \x01(\x0b\x32\x37.temporal.api.replication.v1.NamespaceReplicationConfig\x12\x18\n\x10\x66\x61ilover_version\x18\x04 \x01(\x03\x12\x1b\n\x13is_global_namespace\x18\x05 \x01(\x08\"F\n\x19\x44\x65precateNamespaceRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x16\n\x0esecurity_token\x18\x02 \x01(\t\"\x1c\n\x1a\x44\x65precateNamespaceResponse\"\x9c\x06\n\x1dStartWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x38\n\ntask_queue\x18\x04 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12/\n\x05input\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x43\n\x1aworkflow_execution_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\x98\xdf\x1f\x01\x12=\n\x14workflow_run_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\x98\xdf\x1f\x01\x12>\n\x15workflow_task_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\x98\xdf\x1f\x01\x12\x10\n\x08identity\x18\t \x01(\t\x12\x12\n\nrequest_id\x18\n \x01(\t\x12N\n\x18workflow_id_reuse_policy\x18\x0b \x01(\x0e\x32,.temporal.api.enums.v1.WorkflowIdReusePolicy\x12\x39\n\x0cretry_policy\x18\x0c \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x15\n\rcron_schedule\x18\r \x01(\t\x12*\n\x04memo\x18\x0e \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x0f \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12.\n\x06header\x18\x10 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\"0\n\x1eStartWorkflowExecutionResponse\x12\x0e\n\x06run_id\x18\x01 \x01(\t\"\xaa\x02\n\"GetWorkflowExecutionHistoryRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x19\n\x11maximum_page_size\x18\x03 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x04 \x01(\x0c\x12\x16\n\x0ewait_new_event\x18\x05 \x01(\x08\x12P\n\x19history_event_filter_type\x18\x06 \x01(\x0e\x32-.temporal.api.enums.v1.HistoryEventFilterType\x12\x15\n\rskip_archival\x18\x07 \x01(\x08\"\xba\x01\n#GetWorkflowExecutionHistoryResponse\x12\x31\n\x07history\x18\x01 \x01(\x0b\x32 .temporal.api.history.v1.History\x12\x35\n\x0braw_history\x18\x02 \x03(\x0b\x32 .temporal.api.common.v1.DataBlob\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\x10\n\x08\x61rchived\x18\x04 \x01(\x08\"\x96\x01\n\x1cPollWorkflowTaskQueueRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x38\n\ntask_queue\x18\x02 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x17\n\x0f\x62inary_checksum\x18\x04 \x01(\t\"\x95\x06\n\x1dPollWorkflowTaskQueueResponse\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12!\n\x19previous_started_event_id\x18\x04 \x01(\x03\x12\x18\n\x10started_event_id\x18\x05 \x01(\x03\x12\x0f\n\x07\x61ttempt\x18\x06 \x01(\x05\x12\x1a\n\x12\x62\x61\x63klog_count_hint\x18\x07 \x01(\x03\x12\x31\n\x07history\x18\x08 \x01(\x0b\x32 .temporal.api.history.v1.History\x12\x17\n\x0fnext_page_token\x18\t \x01(\x0c\x12\x33\n\x05query\x18\n \x01(\x0b\x32$.temporal.api.query.v1.WorkflowQuery\x12K\n\x1dworkflow_execution_task_queue\x18\x0b \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12\x38\n\x0escheduled_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\x90\xdf\x1f\x01\x12\x36\n\x0cstarted_time\x18\r \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\x90\xdf\x1f\x01\x12\\\n\x07queries\x18\x0e \x03(\x0b\x32K.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse.QueriesEntry\x1aT\n\x0cQueriesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x33\n\x05value\x18\x02 \x01(\x0b\x32$.temporal.api.query.v1.WorkflowQuery:\x02\x38\x01\"\x96\x04\n#RespondWorkflowTaskCompletedRequest\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x32\n\x08\x63ommands\x18\x02 \x03(\x0b\x32 .temporal.api.command.v1.Command\x12\x10\n\x08identity\x18\x03 \x01(\t\x12O\n\x11sticky_attributes\x18\x04 \x01(\x0b\x32\x34.temporal.api.taskqueue.v1.StickyExecutionAttributes\x12 \n\x18return_new_workflow_task\x18\x05 \x01(\x08\x12&\n\x1e\x66orce_create_new_workflow_task\x18\x06 \x01(\x08\x12\x17\n\x0f\x62inary_checksum\x18\x07 \x01(\t\x12m\n\rquery_results\x18\x08 \x03(\x0b\x32V.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.QueryResultsEntry\x12\x11\n\tnamespace\x18\t \x01(\t\x1a_\n\x11QueryResultsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x39\n\x05value\x18\x02 \x01(\x0b\x32*.temporal.api.query.v1.WorkflowQueryResult:\x02\x38\x01\"}\n$RespondWorkflowTaskCompletedResponse\x12U\n\rworkflow_task\x18\x01 \x01(\x0b\x32>.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse\"\xe6\x01\n RespondWorkflowTaskFailedRequest\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12=\n\x05\x63\x61use\x18\x02 \x01(\x0e\x32..temporal.api.enums.v1.WorkflowTaskFailedCause\x12\x31\n\x07\x66\x61ilure\x18\x03 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x10\n\x08identity\x18\x04 \x01(\t\x12\x17\n\x0f\x62inary_checksum\x18\x05 \x01(\t\x12\x11\n\tnamespace\x18\x06 \x01(\t\"#\n!RespondWorkflowTaskFailedResponse\"\xc8\x01\n\x1cPollActivityTaskQueueRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x38\n\ntask_queue\x18\x02 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12\x10\n\x08identity\x18\x03 \x01(\t\x12I\n\x13task_queue_metadata\x18\x04 \x01(\x0b\x32,.temporal.api.taskqueue.v1.TaskQueueMetadata\"\x8c\x07\n\x1dPollActivityTaskQueueResponse\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x1a\n\x12workflow_namespace\x18\x02 \x01(\t\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x45\n\x12workflow_execution\x18\x04 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\ractivity_type\x18\x05 \x01(\x0b\x32$.temporal.api.common.v1.ActivityType\x12\x13\n\x0b\x61\x63tivity_id\x18\x06 \x01(\t\x12.\n\x06header\x18\x07 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12/\n\x05input\x18\x08 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12;\n\x11heartbeat_details\x18\t \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x38\n\x0escheduled_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\x90\xdf\x1f\x01\x12H\n\x1e\x63urrent_attempt_scheduled_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\x90\xdf\x1f\x01\x12\x36\n\x0cstarted_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\x90\xdf\x1f\x01\x12\x0f\n\x07\x61ttempt\x18\r \x01(\x05\x12\x42\n\x19schedule_to_close_timeout\x18\x0e \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\x98\xdf\x1f\x01\x12?\n\x16start_to_close_timeout\x18\x0f \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\x98\xdf\x1f\x01\x12:\n\x11heartbeat_timeout\x18\x10 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\x98\xdf\x1f\x01\x12\x39\n\x0cretry_policy\x18\x11 \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\"\x90\x01\n\"RecordActivityTaskHeartbeatRequest\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x31\n\x07\x64\x65tails\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x11\n\tnamespace\x18\x04 \x01(\t\"?\n#RecordActivityTaskHeartbeatResponse\x12\x18\n\x10\x63\x61ncel_requested\x18\x01 \x01(\x08\"\xba\x01\n&RecordActivityTaskHeartbeatByIdRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x04 \x01(\t\x12\x31\n\x07\x64\x65tails\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x06 \x01(\t\"C\n\'RecordActivityTaskHeartbeatByIdResponse\x12\x18\n\x10\x63\x61ncel_requested\x18\x01 \x01(\x08\"\x90\x01\n#RespondActivityTaskCompletedRequest\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x30\n\x06result\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x11\n\tnamespace\x18\x04 \x01(\t\"&\n$RespondActivityTaskCompletedResponse\"\xba\x01\n\'RespondActivityTaskCompletedByIdRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x04 \x01(\t\x12\x30\n\x06result\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x06 \x01(\t\"*\n(RespondActivityTaskCompletedByIdResponse\"\x8e\x01\n RespondActivityTaskFailedRequest\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x31\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x11\n\tnamespace\x18\x04 \x01(\t\"#\n!RespondActivityTaskFailedResponse\"\xb8\x01\n$RespondActivityTaskFailedByIdRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x04 \x01(\t\x12\x31\n\x07\x66\x61ilure\x18\x05 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x10\n\x08identity\x18\x06 \x01(\t\"\'\n%RespondActivityTaskFailedByIdResponse\"\x90\x01\n\"RespondActivityTaskCanceledRequest\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x31\n\x07\x64\x65tails\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x11\n\tnamespace\x18\x04 \x01(\t\"%\n#RespondActivityTaskCanceledResponse\"\xba\x01\n&RespondActivityTaskCanceledByIdRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x04 \x01(\t\x12\x31\n\x07\x64\x65tails\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x06 \x01(\t\")\n\'RespondActivityTaskCanceledByIdResponse\"\xc7\x01\n%RequestCancelWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x12\n\nrequest_id\x18\x04 \x01(\t\x12\x1e\n\x16\x66irst_execution_run_id\x18\x05 \x01(\t\"(\n&RequestCancelWorkflowExecutionResponse\"\xf7\x01\n\x1eSignalWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x13\n\x0bsignal_name\x18\x03 \x01(\t\x12/\n\x05input\x18\x04 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x12\n\nrequest_id\x18\x06 \x01(\t\x12\x0f\n\x07\x63ontrol\x18\x07 \x01(\t\"!\n\x1fSignalWorkflowExecutionResponse\"\x84\x07\n\'SignalWithStartWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x38\n\ntask_queue\x18\x04 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12/\n\x05input\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x43\n\x1aworkflow_execution_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\x98\xdf\x1f\x01\x12=\n\x14workflow_run_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\x98\xdf\x1f\x01\x12>\n\x15workflow_task_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\x98\xdf\x1f\x01\x12\x10\n\x08identity\x18\t \x01(\t\x12\x12\n\nrequest_id\x18\n \x01(\t\x12N\n\x18workflow_id_reuse_policy\x18\x0b \x01(\x0e\x32,.temporal.api.enums.v1.WorkflowIdReusePolicy\x12\x13\n\x0bsignal_name\x18\x0c \x01(\t\x12\x36\n\x0csignal_input\x18\r \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x0f\n\x07\x63ontrol\x18\x0e \x01(\t\x12\x39\n\x0cretry_policy\x18\x0f \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x15\n\rcron_schedule\x18\x10 \x01(\t\x12*\n\x04memo\x18\x11 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x12 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12.\n\x06header\x18\x13 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\":\n(SignalWithStartWorkflowExecutionResponse\x12\x0e\n\x06run_id\x18\x01 \x01(\t\"\xc4\x01\n\x1dResetWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x0e\n\x06reason\x18\x03 \x01(\t\x12%\n\x1dworkflow_task_finish_event_id\x18\x04 \x01(\x03\x12\x12\n\nrequest_id\x18\x05 \x01(\t\"0\n\x1eResetWorkflowExecutionResponse\x12\x0e\n\x06run_id\x18\x01 \x01(\t\"\xf2\x01\n!TerminateWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x0e\n\x06reason\x18\x03 \x01(\t\x12\x31\n\x07\x64\x65tails\x18\x04 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x1e\n\x16\x66irst_execution_run_id\x18\x06 \x01(\t\"$\n\"TerminateWorkflowExecutionResponse\"\xc9\x02\n!ListOpenWorkflowExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x19\n\x11maximum_page_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\x42\n\x11start_time_filter\x18\x04 \x01(\x0b\x32\'.temporal.api.filter.v1.StartTimeFilter\x12K\n\x10\x65xecution_filter\x18\x05 \x01(\x0b\x32/.temporal.api.filter.v1.WorkflowExecutionFilterH\x00\x12\x41\n\x0btype_filter\x18\x06 \x01(\x0b\x32*.temporal.api.filter.v1.WorkflowTypeFilterH\x00\x42\t\n\x07\x66ilters\"\x82\x01\n\"ListOpenWorkflowExecutionsResponse\x12\x43\n\nexecutions\x18\x01 \x03(\x0b\x32/.temporal.api.workflow.v1.WorkflowExecutionInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\"\x8a\x03\n#ListClosedWorkflowExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x19\n\x11maximum_page_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\x42\n\x11start_time_filter\x18\x04 \x01(\x0b\x32\'.temporal.api.filter.v1.StartTimeFilter\x12K\n\x10\x65xecution_filter\x18\x05 \x01(\x0b\x32/.temporal.api.filter.v1.WorkflowExecutionFilterH\x00\x12\x41\n\x0btype_filter\x18\x06 \x01(\x0b\x32*.temporal.api.filter.v1.WorkflowTypeFilterH\x00\x12=\n\rstatus_filter\x18\x07 \x01(\x0b\x32$.temporal.api.filter.v1.StatusFilterH\x00\x42\t\n\x07\x66ilters\"\x84\x01\n$ListClosedWorkflowExecutionsResponse\x12\x43\n\nexecutions\x18\x01 \x03(\x0b\x32/.temporal.api.workflow.v1.WorkflowExecutionInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\"m\n\x1dListWorkflowExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\r\n\x05query\x18\x04 \x01(\t\"~\n\x1eListWorkflowExecutionsResponse\x12\x43\n\nexecutions\x18\x01 \x03(\x0b\x32/.temporal.api.workflow.v1.WorkflowExecutionInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\"u\n%ListArchivedWorkflowExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\r\n\x05query\x18\x04 \x01(\t\"\x86\x01\n&ListArchivedWorkflowExecutionsResponse\x12\x43\n\nexecutions\x18\x01 \x03(\x0b\x32/.temporal.api.workflow.v1.WorkflowExecutionInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\"m\n\x1dScanWorkflowExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\x12\r\n\x05query\x18\x04 \x01(\t\"~\n\x1eScanWorkflowExecutionsResponse\x12\x43\n\nexecutions\x18\x01 \x03(\x0b\x32/.temporal.api.workflow.v1.WorkflowExecutionInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\"B\n\x1e\x43ountWorkflowExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\r\n\x05query\x18\x02 \x01(\t\"0\n\x1f\x43ountWorkflowExecutionsResponse\x12\r\n\x05\x63ount\x18\x01 \x01(\x03\"\x1c\n\x1aGetSearchAttributesRequest\"\xc9\x01\n\x1bGetSearchAttributesResponse\x12T\n\x04keys\x18\x01 \x03(\x0b\x32\x46.temporal.api.workflowservice.v1.GetSearchAttributesResponse.KeysEntry\x1aT\n\tKeysEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x36\n\x05value\x18\x02 \x01(\x0e\x32\'.temporal.api.enums.v1.IndexedValueType:\x02\x38\x01\"\xde\x01\n RespondQueryTaskCompletedRequest\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12>\n\x0e\x63ompleted_type\x18\x02 \x01(\x0e\x32&.temporal.api.enums.v1.QueryResultType\x12\x36\n\x0cquery_result\x18\x03 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x15\n\rerror_message\x18\x04 \x01(\t\x12\x11\n\tnamespace\x18\x06 \x01(\tJ\x04\x08\x05\x10\x06\"#\n!RespondQueryTaskCompletedResponse\"n\n\x1bResetStickyTaskQueueRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\"\x1e\n\x1cResetStickyTaskQueueResponse\"\xe9\x01\n\x14QueryWorkflowRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x33\n\x05query\x18\x03 \x01(\x0b\x32$.temporal.api.query.v1.WorkflowQuery\x12K\n\x16query_reject_condition\x18\x04 \x01(\x0e\x32+.temporal.api.enums.v1.QueryRejectCondition\"\x8d\x01\n\x15QueryWorkflowResponse\x12\x36\n\x0cquery_result\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12<\n\x0equery_rejected\x18\x02 \x01(\x0b\x32$.temporal.api.query.v1.QueryRejected\"s\n DescribeWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\"\xdc\x02\n!DescribeWorkflowExecutionResponse\x12K\n\x10\x65xecution_config\x18\x01 \x01(\x0b\x32\x31.temporal.api.workflow.v1.WorkflowExecutionConfig\x12P\n\x17workflow_execution_info\x18\x02 \x01(\x0b\x32/.temporal.api.workflow.v1.WorkflowExecutionInfo\x12I\n\x12pending_activities\x18\x03 \x03(\x0b\x32-.temporal.api.workflow.v1.PendingActivityInfo\x12M\n\x10pending_children\x18\x04 \x03(\x0b\x32\x33.temporal.api.workflow.v1.PendingChildExecutionInfo\"\xc9\x01\n\x18\x44\x65scribeTaskQueueRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x38\n\ntask_queue\x18\x02 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12=\n\x0ftask_queue_type\x18\x03 \x01(\x0e\x32$.temporal.api.enums.v1.TaskQueueType\x12!\n\x19include_task_queue_status\x18\x04 \x01(\x08\"\x9a\x01\n\x19\x44\x65scribeTaskQueueResponse\x12\x36\n\x07pollers\x18\x01 \x03(\x0b\x32%.temporal.api.taskqueue.v1.PollerInfo\x12\x45\n\x11task_queue_status\x18\x02 \x01(\x0b\x32*.temporal.api.taskqueue.v1.TaskQueueStatus\"\x17\n\x15GetClusterInfoRequest\"\xd6\x02\n\x16GetClusterInfoResponse\x12h\n\x11supported_clients\x18\x01 \x03(\x0b\x32M.temporal.api.workflowservice.v1.GetClusterInfoResponse.SupportedClientsEntry\x12\x16\n\x0eserver_version\x18\x02 \x01(\t\x12\x12\n\ncluster_id\x18\x03 \x01(\t\x12:\n\x0cversion_info\x18\x04 \x01(\x0b\x32$.temporal.api.version.v1.VersionInfo\x12\x14\n\x0c\x63luster_name\x18\x05 \x01(\t\x12\x1b\n\x13history_shard_count\x18\x06 \x01(\x05\x1a\x37\n\x15SupportedClientsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"m\n\x1eListTaskQueuePartitionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x38\n\ntask_queue\x18\x02 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\"\xdf\x01\n\x1fListTaskQueuePartitionsResponse\x12]\n\x1e\x61\x63tivity_task_queue_partitions\x18\x01 \x03(\x0b\x32\x35.temporal.api.taskqueue.v1.TaskQueuePartitionMetadata\x12]\n\x1eworkflow_task_queue_partitions\x18\x02 \x03(\x0b\x32\x35.temporal.api.taskqueue.v1.TaskQueuePartitionMetadataB\xba\x01\n\"io.temporal.api.workflowservice.v1B\x14RequestResponseProtoP\x01Z5go.temporal.io/api/workflowservice/v1;workflowservice\xaa\x02\x1fTemporal.Api.WorkflowService.V1\xea\x02\"Temporal::Api::WorkflowService::V1b\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Temporal module Api diff --git a/lib/gen/temporal/api/workflowservice/v1/service_pb.rb b/lib/gen/temporal/api/workflowservice/v1/service_pb.rb index a5e87578..9a179c48 100644 --- a/lib/gen/temporal/api/workflowservice/v1/service_pb.rb +++ b/lib/gen/temporal/api/workflowservice/v1/service_pb.rb @@ -1,13 +1,16 @@ +# frozen_string_literal: true # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/workflowservice/v1/service.proto require 'google/protobuf' require 'temporal/api/workflowservice/v1/request_response_pb' -Google::Protobuf::DescriptorPool.generated_pool.build do - add_file("temporal/api/workflowservice/v1/service.proto", :syntax => :proto3) do - end -end + + +descriptor_data = "\n-temporal/api/workflowservice/v1/service.proto\x12\x1ftemporal.api.workflowservice.v1\x1a\x36temporal/api/workflowservice/v1/request_response.proto2\xb6\x30\n\x0fWorkflowService\x12\x8c\x01\n\x11RegisterNamespace\x12\x39.temporal.api.workflowservice.v1.RegisterNamespaceRequest\x1a:.temporal.api.workflowservice.v1.RegisterNamespaceResponse\"\x00\x12\x8c\x01\n\x11\x44\x65scribeNamespace\x12\x39.temporal.api.workflowservice.v1.DescribeNamespaceRequest\x1a:.temporal.api.workflowservice.v1.DescribeNamespaceResponse\"\x00\x12\x83\x01\n\x0eListNamespaces\x12\x36.temporal.api.workflowservice.v1.ListNamespacesRequest\x1a\x37.temporal.api.workflowservice.v1.ListNamespacesResponse\"\x00\x12\x86\x01\n\x0fUpdateNamespace\x12\x37.temporal.api.workflowservice.v1.UpdateNamespaceRequest\x1a\x38.temporal.api.workflowservice.v1.UpdateNamespaceResponse\"\x00\x12\x8f\x01\n\x12\x44\x65precateNamespace\x12:.temporal.api.workflowservice.v1.DeprecateNamespaceRequest\x1a;.temporal.api.workflowservice.v1.DeprecateNamespaceResponse\"\x00\x12\x9b\x01\n\x16StartWorkflowExecution\x12>.temporal.api.workflowservice.v1.StartWorkflowExecutionRequest\x1a?.temporal.api.workflowservice.v1.StartWorkflowExecutionResponse\"\x00\x12\xaa\x01\n\x1bGetWorkflowExecutionHistory\x12\x43.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryRequest\x1a\x44.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryResponse\"\x00\x12\x98\x01\n\x15PollWorkflowTaskQueue\x12=.temporal.api.workflowservice.v1.PollWorkflowTaskQueueRequest\x1a>.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse\"\x00\x12\xad\x01\n\x1cRespondWorkflowTaskCompleted\x12\x44.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest\x1a\x45.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedResponse\"\x00\x12\xa4\x01\n\x19RespondWorkflowTaskFailed\x12\x41.temporal.api.workflowservice.v1.RespondWorkflowTaskFailedRequest\x1a\x42.temporal.api.workflowservice.v1.RespondWorkflowTaskFailedResponse\"\x00\x12\x98\x01\n\x15PollActivityTaskQueue\x12=.temporal.api.workflowservice.v1.PollActivityTaskQueueRequest\x1a>.temporal.api.workflowservice.v1.PollActivityTaskQueueResponse\"\x00\x12\xaa\x01\n\x1bRecordActivityTaskHeartbeat\x12\x43.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatRequest\x1a\x44.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatResponse\"\x00\x12\xb6\x01\n\x1fRecordActivityTaskHeartbeatById\x12G.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatByIdRequest\x1aH.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatByIdResponse\"\x00\x12\xad\x01\n\x1cRespondActivityTaskCompleted\x12\x44.temporal.api.workflowservice.v1.RespondActivityTaskCompletedRequest\x1a\x45.temporal.api.workflowservice.v1.RespondActivityTaskCompletedResponse\"\x00\x12\xb9\x01\n RespondActivityTaskCompletedById\x12H.temporal.api.workflowservice.v1.RespondActivityTaskCompletedByIdRequest\x1aI.temporal.api.workflowservice.v1.RespondActivityTaskCompletedByIdResponse\"\x00\x12\xa4\x01\n\x19RespondActivityTaskFailed\x12\x41.temporal.api.workflowservice.v1.RespondActivityTaskFailedRequest\x1a\x42.temporal.api.workflowservice.v1.RespondActivityTaskFailedResponse\"\x00\x12\xb0\x01\n\x1dRespondActivityTaskFailedById\x12\x45.temporal.api.workflowservice.v1.RespondActivityTaskFailedByIdRequest\x1a\x46.temporal.api.workflowservice.v1.RespondActivityTaskFailedByIdResponse\"\x00\x12\xaa\x01\n\x1bRespondActivityTaskCanceled\x12\x43.temporal.api.workflowservice.v1.RespondActivityTaskCanceledRequest\x1a\x44.temporal.api.workflowservice.v1.RespondActivityTaskCanceledResponse\"\x00\x12\xb6\x01\n\x1fRespondActivityTaskCanceledById\x12G.temporal.api.workflowservice.v1.RespondActivityTaskCanceledByIdRequest\x1aH.temporal.api.workflowservice.v1.RespondActivityTaskCanceledByIdResponse\"\x00\x12\xb3\x01\n\x1eRequestCancelWorkflowExecution\x12\x46.temporal.api.workflowservice.v1.RequestCancelWorkflowExecutionRequest\x1aG.temporal.api.workflowservice.v1.RequestCancelWorkflowExecutionResponse\"\x00\x12\x9e\x01\n\x17SignalWorkflowExecution\x12?.temporal.api.workflowservice.v1.SignalWorkflowExecutionRequest\x1a@.temporal.api.workflowservice.v1.SignalWorkflowExecutionResponse\"\x00\x12\xb9\x01\n SignalWithStartWorkflowExecution\x12H.temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionRequest\x1aI.temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionResponse\"\x00\x12\x9b\x01\n\x16ResetWorkflowExecution\x12>.temporal.api.workflowservice.v1.ResetWorkflowExecutionRequest\x1a?.temporal.api.workflowservice.v1.ResetWorkflowExecutionResponse\"\x00\x12\xa7\x01\n\x1aTerminateWorkflowExecution\x12\x42.temporal.api.workflowservice.v1.TerminateWorkflowExecutionRequest\x1a\x43.temporal.api.workflowservice.v1.TerminateWorkflowExecutionResponse\"\x00\x12\xa7\x01\n\x1aListOpenWorkflowExecutions\x12\x42.temporal.api.workflowservice.v1.ListOpenWorkflowExecutionsRequest\x1a\x43.temporal.api.workflowservice.v1.ListOpenWorkflowExecutionsResponse\"\x00\x12\xad\x01\n\x1cListClosedWorkflowExecutions\x12\x44.temporal.api.workflowservice.v1.ListClosedWorkflowExecutionsRequest\x1a\x45.temporal.api.workflowservice.v1.ListClosedWorkflowExecutionsResponse\"\x00\x12\x9b\x01\n\x16ListWorkflowExecutions\x12>.temporal.api.workflowservice.v1.ListWorkflowExecutionsRequest\x1a?.temporal.api.workflowservice.v1.ListWorkflowExecutionsResponse\"\x00\x12\xb3\x01\n\x1eListArchivedWorkflowExecutions\x12\x46.temporal.api.workflowservice.v1.ListArchivedWorkflowExecutionsRequest\x1aG.temporal.api.workflowservice.v1.ListArchivedWorkflowExecutionsResponse\"\x00\x12\x9b\x01\n\x16ScanWorkflowExecutions\x12>.temporal.api.workflowservice.v1.ScanWorkflowExecutionsRequest\x1a?.temporal.api.workflowservice.v1.ScanWorkflowExecutionsResponse\"\x00\x12\x9e\x01\n\x17\x43ountWorkflowExecutions\x12?.temporal.api.workflowservice.v1.CountWorkflowExecutionsRequest\x1a@.temporal.api.workflowservice.v1.CountWorkflowExecutionsResponse\"\x00\x12\x92\x01\n\x13GetSearchAttributes\x12;.temporal.api.workflowservice.v1.GetSearchAttributesRequest\x1a<.temporal.api.workflowservice.v1.GetSearchAttributesResponse\"\x00\x12\xa4\x01\n\x19RespondQueryTaskCompleted\x12\x41.temporal.api.workflowservice.v1.RespondQueryTaskCompletedRequest\x1a\x42.temporal.api.workflowservice.v1.RespondQueryTaskCompletedResponse\"\x00\x12\x95\x01\n\x14ResetStickyTaskQueue\x12<.temporal.api.workflowservice.v1.ResetStickyTaskQueueRequest\x1a=.temporal.api.workflowservice.v1.ResetStickyTaskQueueResponse\"\x00\x12\x80\x01\n\rQueryWorkflow\x12\x35.temporal.api.workflowservice.v1.QueryWorkflowRequest\x1a\x36.temporal.api.workflowservice.v1.QueryWorkflowResponse\"\x00\x12\xa4\x01\n\x19\x44\x65scribeWorkflowExecution\x12\x41.temporal.api.workflowservice.v1.DescribeWorkflowExecutionRequest\x1a\x42.temporal.api.workflowservice.v1.DescribeWorkflowExecutionResponse\"\x00\x12\x8c\x01\n\x11\x44\x65scribeTaskQueue\x12\x39.temporal.api.workflowservice.v1.DescribeTaskQueueRequest\x1a:.temporal.api.workflowservice.v1.DescribeTaskQueueResponse\"\x00\x12\x83\x01\n\x0eGetClusterInfo\x12\x36.temporal.api.workflowservice.v1.GetClusterInfoRequest\x1a\x37.temporal.api.workflowservice.v1.GetClusterInfoResponse\"\x00\x12\x9e\x01\n\x17ListTaskQueuePartitions\x12?.temporal.api.workflowservice.v1.ListTaskQueuePartitionsRequest\x1a@.temporal.api.workflowservice.v1.ListTaskQueuePartitionsResponse\"\x00\x42\xb2\x01\n\"io.temporal.api.workflowservice.v1B\x0cServiceProtoP\x01Z5go.temporal.io/api/workflowservice/v1;workflowservice\xaa\x02\x1fTemporal.Api.WorkflowService.V1\xea\x02\"Temporal::Api::WorkflowService::V1b\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Temporal module Api diff --git a/lib/gen/temporal/api/workflowservice/v1/service_services_pb.rb b/lib/gen/temporal/api/workflowservice/v1/service_services_pb.rb index 8a3b1dab..e898542e 100644 --- a/lib/gen/temporal/api/workflowservice/v1/service_services_pb.rb +++ b/lib/gen/temporal/api/workflowservice/v1/service_services_pb.rb @@ -40,7 +40,7 @@ module WorkflowService # with completion or failure. Worker is expected to regularly heartbeat while activity task is running. class Service - include GRPC::GenericService + include ::GRPC::GenericService self.marshal_class_method = :encode self.unmarshal_class_method = :decode From 7fa7cc97fede00507a7d55e404646f4da027053b Mon Sep 17 00:00:00 2001 From: Jarred Hawkins Date: Tue, 16 Jun 2026 21:39:11 +0000 Subject: [PATCH 2/2] Fix signal_with_start_workflow_execution workflow_id_reuse_policy signal_with_start_workflow_execution referenced a bare WORKFLOW_ID_REUSE_POLICY constant that only exists inside Serializer::WorkflowIdReusePolicy, so it raised NameError whenever a workflow_id_reuse_policy was passed (pre-existing bug, not related to the protobuf regen). Use the serializer, matching the three other call sites in this file (start_workflow_execution, etc.). Co-Authored-By: Claude Opus 4.8 --- lib/temporal/connection/grpc.rb | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/temporal/connection/grpc.rb b/lib/temporal/connection/grpc.rb index 45db18a6..15c3538e 100644 --- a/lib/temporal/connection/grpc.rb +++ b/lib/temporal/connection/grpc.rb @@ -405,10 +405,8 @@ def signal_with_start_workflow_execution( ) if workflow_id_reuse_policy - policy = WORKFLOW_ID_REUSE_POLICY[workflow_id_reuse_policy] - raise Client::ArgumentError, 'Unknown workflow_id_reuse_policy specified' unless policy - - request.workflow_id_reuse_policy = policy + request.workflow_id_reuse_policy = + Temporal::Connection::Serializer::WorkflowIdReusePolicy.new(workflow_id_reuse_policy).to_proto end client.signal_with_start_workflow_execution(request)