diff --git a/examples/spec/integration/metadata_workflow_spec.rb b/examples/spec/integration/metadata_workflow_spec.rb index 2fd0b1e6c..1aa5e7684 100644 --- a/examples/spec/integration/metadata_workflow_spec.rb +++ b/examples/spec/integration/metadata_workflow_spec.rb @@ -51,7 +51,9 @@ workflow_id: workflow_id, run_id: run_id, ) - expect(Time.now - actual_result.run_started_at).to be_between(0, 30) + # Lower bound is -1 to allow for clock skew between the dev server (Docker) and the host. + # Upper bound of 30s is generous slack for slow CI. + expect(Time.now - actual_result.run_started_at).to be_between(-1, 30) end it 'gets memo from workflow execution info' do diff --git a/examples/spec/replay/histories/signal_with_start_ignored_event.json b/examples/spec/replay/histories/signal_with_start_ignored_event.json new file mode 100644 index 000000000..d4a5f7592 --- /dev/null +++ b/examples/spec/replay/histories/signal_with_start_ignored_event.json @@ -0,0 +1,368 @@ +{ + "events": [ + { + "eventId": "1", + "eventTime": "2024-05-28T02:46:26.852786129Z", + "eventType": "EVENT_TYPE_WORKFLOW_EXECUTION_STARTED", + "taskId": "31457280", + "workflowExecutionStartedEventAttributes": { + "workflowType": { + "name": "SignalWithStartWorkflow" + }, + "taskQueue": { + "name": "general", + "kind": "TASK_QUEUE_KIND_NORMAL" + }, + "input": { + "payloads": [ + { + "metadata": { + "encoding": "anNvbi9wbGFpbg==" + }, + "data": "ImhpdCI=" + } + ] + }, + "workflowExecutionTimeout": "30s", + "workflowRunTimeout": "30s", + "workflowTaskTimeout": "10s", + "originalExecutionRunId": "c6e8de96-4e18-409d-8e60-38d58f2f11b9", + "identity": "4514@DESKTOP-JRJDVRG\n", + "firstExecutionRunId": "c6e8de96-4e18-409d-8e60-38d58f2f11b9", + "attempt": 1, + "workflowExecutionExpirationTime": "2024-05-28T02:46:56.853Z", + "firstWorkflowTaskBackoff": "0s", + "memo": { + }, + "searchAttributes": { + }, + "header": { + } + } + }, + { + "eventId": "2", + "eventTime": "2024-05-28T02:46:26.852896774Z", + "eventType": "EVENT_TYPE_WORKFLOW_EXECUTION_SIGNALED", + "taskId": "31457281", + "workflowExecutionSignaledEventAttributes": { + "signalName": "miss", + "input": { + "payloads": [ + { + "metadata": { + "encoding": "anNvbi9wbGFpbg==" + }, + "data": "MQ==" + } + ] + }, + "identity": "4514@DESKTOP-JRJDVRG\n", + "header": { + } + } + }, + { + "eventId": "3", + "eventTime": "2024-05-28T02:46:26.852900524Z", + "eventType": "EVENT_TYPE_WORKFLOW_TASK_SCHEDULED", + "taskId": "31457282", + "workflowTaskScheduledEventAttributes": { + "taskQueue": { + "name": "general", + "kind": "TASK_QUEUE_KIND_NORMAL" + }, + "startToCloseTimeout": "10s", + "attempt": 1 + } + }, + { + "eventId": "4", + "eventTime": "2024-05-28T02:46:26.873042948Z", + "eventType": "EVENT_TYPE_WORKFLOW_TASK_STARTED", + "taskId": "31457287", + "workflowTaskStartedEventAttributes": { + "scheduledEventId": "3", + "identity": "4417@DESKTOP-JRJDVRG\n", + "requestId": "0074c78e-013b-4845-86d5-f83f1f6feb61", + "historySizeBytes": "421" + } + }, + { + "eventId": "5", + "eventTime": "2024-05-28T02:46:26.896346434Z", + "eventType": "EVENT_TYPE_WORKFLOW_TASK_COMPLETED", + "taskId": "31457291", + "workflowTaskCompletedEventAttributes": { + "scheduledEventId": "3", + "startedEventId": "4", + "identity": "4417@DESKTOP-JRJDVRG\n", + "binaryChecksum": "07d96d88e3691440609a4f5de039969b14a4e6f8", + "sdkMetadata": { + "langUsedFlags": [ + 2 + ] + } + } + }, + { + "eventId": "6", + "eventTime": "2024-05-28T02:46:27.869664722Z", + "eventType": "EVENT_TYPE_WORKFLOW_EXECUTION_SIGNALED", + "taskId": "31457294", + "workflowExecutionSignaledEventAttributes": { + "signalName": "miss", + "input": { + "payloads": [ + { + "metadata": { + "encoding": "anNvbi9wbGFpbg==" + }, + "data": "Mg==" + } + ] + }, + "identity": "4514@DESKTOP-JRJDVRG\n" + } + }, + { + "eventId": "7", + "eventTime": "2024-05-28T02:46:27.869669568Z", + "eventType": "EVENT_TYPE_WORKFLOW_TASK_SCHEDULED", + "taskId": "31457295", + "workflowTaskScheduledEventAttributes": { + "taskQueue": { + "name": "general", + "kind": "TASK_QUEUE_KIND_NORMAL" + }, + "startToCloseTimeout": "10s", + "attempt": 1 + } + }, + { + "eventId": "8", + "eventTime": "2024-05-28T02:46:27.881436143Z", + "eventType": "EVENT_TYPE_WORKFLOW_TASK_STARTED", + "taskId": "31457298", + "workflowTaskStartedEventAttributes": { + "scheduledEventId": "7", + "identity": "4417@DESKTOP-JRJDVRG\n", + "requestId": "b1c0b0cd-cdb1-4bfd-973c-fa43eef6dfb5", + "historySizeBytes": "749" + } + }, + { + "eventId": "9", + "eventTime": "2024-05-28T02:46:27.907949953Z", + "eventType": "EVENT_TYPE_WORKFLOW_TASK_COMPLETED", + "taskId": "31457302", + "workflowTaskCompletedEventAttributes": { + "scheduledEventId": "7", + "startedEventId": "8", + "identity": "4417@DESKTOP-JRJDVRG\n", + "binaryChecksum": "07d96d88e3691440609a4f5de039969b14a4e6f8" + } + }, + { + "eventId": "10", + "eventTime": "2024-05-28T02:46:28.883578435Z", + "eventType": "EVENT_TYPE_WORKFLOW_EXECUTION_SIGNALED", + "taskId": "31457304", + "workflowExecutionSignaledEventAttributes": { + "signalName": "hit", + "input": { + "payloads": [ + { + "metadata": { + "encoding": "anNvbi9wbGFpbg==" + }, + "data": "Mw==" + } + ] + }, + "identity": "4514@DESKTOP-JRJDVRG\n" + } + }, + { + "eventId": "11", + "eventTime": "2024-05-28T02:46:28.883586706Z", + "eventType": "EVENT_TYPE_WORKFLOW_TASK_SCHEDULED", + "taskId": "31457305", + "workflowTaskScheduledEventAttributes": { + "taskQueue": { + "name": "general", + "kind": "TASK_QUEUE_KIND_NORMAL" + }, + "startToCloseTimeout": "10s", + "attempt": 1 + } + }, + { + "eventId": "12", + "eventTime": "2024-05-28T02:46:28.899268187Z", + "eventType": "EVENT_TYPE_WORKFLOW_TASK_STARTED", + "taskId": "31457308", + "workflowTaskStartedEventAttributes": { + "scheduledEventId": "11", + "identity": "4417@DESKTOP-JRJDVRG\n", + "requestId": "4840d372-5d7f-46f0-af41-85c9fcac752d", + "historySizeBytes": "1071" + } + }, + { + "eventId": "13", + "eventTime": "2024-05-28T02:46:28.925343005Z", + "eventType": "EVENT_TYPE_WORKFLOW_TASK_COMPLETED", + "taskId": "31457312", + "workflowTaskCompletedEventAttributes": { + "scheduledEventId": "11", + "startedEventId": "12", + "identity": "4417@DESKTOP-JRJDVRG\n", + "binaryChecksum": "07d96d88e3691440609a4f5de039969b14a4e6f8" + } + }, + { + "eventId": "14", + "eventTime": "2024-05-28T02:46:28.925386163Z", + "eventType": "EVENT_TYPE_ACTIVITY_TASK_SCHEDULED", + "taskId": "31457313", + "activityTaskScheduledEventAttributes": { + "activityId": "14", + "activityType": { + "name": "HelloWorldActivity" + }, + "taskQueue": { + "name": "general", + "kind": "TASK_QUEUE_KIND_NORMAL" + }, + "header": { + "fields": { + "test-header": { + "metadata": { + "encoding": "anNvbi9wbGFpbg==" + }, + "data": "InRlc3Qi" + } + } + }, + "input": { + "payloads": [ + { + "metadata": { + "encoding": "anNvbi9wbGFpbg==" + }, + "data": "ImV4cGVjdGVkIHNpZ25hbCI=" + } + ] + }, + "scheduleToCloseTimeout": "30s", + "scheduleToStartTimeout": "30s", + "startToCloseTimeout": "30s", + "heartbeatTimeout": "0s", + "workflowTaskCompletedEventId": "13", + "retryPolicy": { + "initialInterval": "1s", + "backoffCoefficient": 2, + "maximumInterval": "100s" + } + } + }, + { + "eventId": "15", + "eventTime": "2024-05-28T02:46:28.944893259Z", + "eventType": "EVENT_TYPE_ACTIVITY_TASK_STARTED", + "taskId": "31457317", + "activityTaskStartedEventAttributes": { + "scheduledEventId": "14", + "identity": "4417@DESKTOP-JRJDVRG\n", + "requestId": "73f99ef3-e606-421a-ad79-a4e43e41ceba", + "attempt": 1 + } + }, + { + "eventId": "16", + "eventTime": "2024-05-28T02:46:29.008828231Z", + "eventType": "EVENT_TYPE_ACTIVITY_TASK_COMPLETED", + "taskId": "31457318", + "activityTaskCompletedEventAttributes": { + "result": { + "payloads": [ + { + "metadata": { + "encoding": "anNvbi9wbGFpbg==" + }, + "data": "IkhlbGxvIFdvcmxkLCBleHBlY3RlZCBzaWduYWwi" + } + ] + }, + "scheduledEventId": "14", + "startedEventId": "15", + "identity": "4417@DESKTOP-JRJDVRG\n" + } + }, + { + "eventId": "17", + "eventTime": "2024-05-28T02:46:29.008830000Z", + "eventType": "EVENT_TYPE_WORKFLOW_EXECUTION_OPTIONS_UPDATED", + "taskId": "31457319", + "workflowExecutionOptionsUpdatedEventAttributes": {} + }, + { + "eventId": "18", + "eventTime": "2024-05-28T02:46:29.008834769Z", + "eventType": "EVENT_TYPE_WORKFLOW_TASK_SCHEDULED", + "taskId": "31457320", + "workflowTaskScheduledEventAttributes": { + "taskQueue": { + "name": "general", + "kind": "TASK_QUEUE_KIND_NORMAL" + }, + "startToCloseTimeout": "10s", + "attempt": 1 + } + }, + { + "eventId": "19", + "eventTime": "2024-05-28T02:46:29.022515754Z", + "eventType": "EVENT_TYPE_WORKFLOW_TASK_STARTED", + "taskId": "31457321", + "workflowTaskStartedEventAttributes": { + "scheduledEventId": "18", + "identity": "4417@DESKTOP-JRJDVRG\n", + "requestId": "a24ea1bd-8584-41ae-8cc3-0880b8a946d1", + "historySizeBytes": "1713" + } + }, + { + "eventId": "20", + "eventTime": "2024-05-28T02:46:29.043259634Z", + "eventType": "EVENT_TYPE_WORKFLOW_TASK_COMPLETED", + "taskId": "31457322", + "workflowTaskCompletedEventAttributes": { + "scheduledEventId": "18", + "startedEventId": "19", + "identity": "4417@DESKTOP-JRJDVRG\n", + "binaryChecksum": "07d96d88e3691440609a4f5de039969b14a4e6f8" + } + }, + { + "eventId": "21", + "eventTime": "2024-05-28T02:46:29.043294503Z", + "eventType": "EVENT_TYPE_WORKFLOW_EXECUTION_COMPLETED", + "taskId": "31457323", + "workflowExecutionCompletedEventAttributes": { + "result": { + "payloads": [ + { + "metadata": { + "encoding": "anNvbi9wbGFpbg==" + }, + "data": "Mw==" + } + ] + }, + "workflowTaskCompletedEventId": "20" + } + } + ] +} diff --git a/examples/spec/replay/signal_with_start_ignored_event_spec.rb b/examples/spec/replay/signal_with_start_ignored_event_spec.rb new file mode 100644 index 000000000..3c1f9b633 --- /dev/null +++ b/examples/spec/replay/signal_with_start_ignored_event_spec.rb @@ -0,0 +1,14 @@ +require "workflows/signal_with_start_workflow" +require "temporal/testing/replay_tester" +require "temporal/workflow/history/serialization" + +describe "signal with start with ignored event" do + let(:replay_tester) { Temporal::Testing::ReplayTester.new } + + it "replays successfully with a WORKFLOW_EXECUTION_OPTIONS_UPDATED event in the history" do + replay_tester.replay_history( + SignalWithStartWorkflow, + Temporal::Workflow::History::Serialization.from_json_file("spec/replay/histories/signal_with_start_ignored_event.json") + ) + end +end diff --git a/lib/gen/google/api/annotations_pb.rb b/lib/gen/google/api/annotations_pb.rb new file mode 100644 index 000000000..2eaac0ab9 --- /dev/null +++ b/lib/gen/google/api/annotations_pb.rb @@ -0,0 +1,19 @@ +# frozen_string_literal: true +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/api/annotations.proto + +require 'google/protobuf' + +require 'google/api/http_pb' +require 'google/protobuf/descriptor_pb' + + +descriptor_data = "\n\x1cgoogle/api/annotations.proto\x12\ngoogle.api\x1a\x15google/api/http.proto\x1a google/protobuf/descriptor.proto:E\n\x04http\x12\x1e.google.protobuf.MethodOptions\x18\xb0\xca\xbc\" \x01(\x0b\x32\x14.google.api.HttpRuleBn\n\x0e\x63om.google.apiB\x10\x41nnotationsProtoP\x01ZAgoogle.golang.org/genproto/googleapis/api/annotations;annotations\xa2\x02\x04GAPIb\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) + +module Google + module Api + end +end diff --git a/lib/gen/google/api/http_pb.rb b/lib/gen/google/api/http_pb.rb new file mode 100644 index 000000000..f18e64107 --- /dev/null +++ b/lib/gen/google/api/http_pb.rb @@ -0,0 +1,19 @@ +# frozen_string_literal: true +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/api/http.proto + +require 'google/protobuf' + + +descriptor_data = "\n\x15google/api/http.proto\x12\ngoogle.api\"T\n\x04Http\x12#\n\x05rules\x18\x01 \x03(\x0b\x32\x14.google.api.HttpRule\x12\'\n\x1f\x66ully_decode_reserved_expansion\x18\x02 \x01(\x08\"\x81\x02\n\x08HttpRule\x12\x10\n\x08selector\x18\x01 \x01(\t\x12\r\n\x03get\x18\x02 \x01(\tH\x00\x12\r\n\x03put\x18\x03 \x01(\tH\x00\x12\x0e\n\x04post\x18\x04 \x01(\tH\x00\x12\x10\n\x06\x64\x65lete\x18\x05 \x01(\tH\x00\x12\x0f\n\x05patch\x18\x06 \x01(\tH\x00\x12/\n\x06\x63ustom\x18\x08 \x01(\x0b\x32\x1d.google.api.CustomHttpPatternH\x00\x12\x0c\n\x04\x62ody\x18\x07 \x01(\t\x12\x15\n\rresponse_body\x18\x0c \x01(\t\x12\x31\n\x13\x61\x64\x64itional_bindings\x18\x0b \x03(\x0b\x32\x14.google.api.HttpRuleB\t\n\x07pattern\"/\n\x11\x43ustomHttpPattern\x12\x0c\n\x04kind\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\tBj\n\x0e\x63om.google.apiB\tHttpProtoP\x01ZAgoogle.golang.org/genproto/googleapis/api/annotations;annotations\xf8\x01\x01\xa2\x02\x04GAPIb\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) + +module Google + module Api + Http = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.Http").msgclass + HttpRule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.HttpRule").msgclass + CustomHttpPattern = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.CustomHttpPattern").msgclass + end +end diff --git a/lib/gen/google/protobuf/any_pb.rb b/lib/gen/google/protobuf/any_pb.rb new file mode 100644 index 000000000..c53e405e3 --- /dev/null +++ b/lib/gen/google/protobuf/any_pb.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/protobuf/any.proto + +require 'google/protobuf' + + +descriptor_data = "\n\x19google/protobuf/any.proto\x12\x0fgoogle.protobuf\"&\n\x03\x41ny\x12\x10\n\x08type_url\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x0c\x42v\n\x13\x63om.google.protobufB\x08\x41nyProtoP\x01Z,google.golang.org/protobuf/types/known/anypb\xa2\x02\x03GPB\xaa\x02\x1eGoogle.Protobuf.WellKnownTypesb\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) + +module Google + module Protobuf + Any = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.Any").msgclass + end +end diff --git a/lib/gen/google/protobuf/descriptor_pb.rb b/lib/gen/google/protobuf/descriptor_pb.rb new file mode 100644 index 000000000..1f475e4eb --- /dev/null +++ b/lib/gen/google/protobuf/descriptor_pb.rb @@ -0,0 +1,65 @@ +# frozen_string_literal: true +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/protobuf/descriptor.proto + +require 'google/protobuf' + + +descriptor_data = "\n google/protobuf/descriptor.proto\x12\x0fgoogle.protobuf\"G\n\x11\x46ileDescriptorSet\x12\x32\n\x04\x66ile\x18\x01 \x03(\x0b\x32$.google.protobuf.FileDescriptorProto\"\x86\x04\n\x13\x46ileDescriptorProto\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07package\x18\x02 \x01(\t\x12\x12\n\ndependency\x18\x03 \x03(\t\x12\x19\n\x11public_dependency\x18\n \x03(\x05\x12\x17\n\x0fweak_dependency\x18\x0b \x03(\x05\x12\x36\n\x0cmessage_type\x18\x04 \x03(\x0b\x32 .google.protobuf.DescriptorProto\x12\x37\n\tenum_type\x18\x05 \x03(\x0b\x32$.google.protobuf.EnumDescriptorProto\x12\x38\n\x07service\x18\x06 \x03(\x0b\x32\'.google.protobuf.ServiceDescriptorProto\x12\x38\n\textension\x18\x07 \x03(\x0b\x32%.google.protobuf.FieldDescriptorProto\x12-\n\x07options\x18\x08 \x01(\x0b\x32\x1c.google.protobuf.FileOptions\x12\x39\n\x10source_code_info\x18\t \x01(\x0b\x32\x1f.google.protobuf.SourceCodeInfo\x12\x0e\n\x06syntax\x18\x0c \x01(\t\x12)\n\x07\x65\x64ition\x18\x0e \x01(\x0e\x32\x18.google.protobuf.Edition\"\xa9\x05\n\x0f\x44\x65scriptorProto\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x34\n\x05\x66ield\x18\x02 \x03(\x0b\x32%.google.protobuf.FieldDescriptorProto\x12\x38\n\textension\x18\x06 \x03(\x0b\x32%.google.protobuf.FieldDescriptorProto\x12\x35\n\x0bnested_type\x18\x03 \x03(\x0b\x32 .google.protobuf.DescriptorProto\x12\x37\n\tenum_type\x18\x04 \x03(\x0b\x32$.google.protobuf.EnumDescriptorProto\x12H\n\x0f\x65xtension_range\x18\x05 \x03(\x0b\x32/.google.protobuf.DescriptorProto.ExtensionRange\x12\x39\n\noneof_decl\x18\x08 \x03(\x0b\x32%.google.protobuf.OneofDescriptorProto\x12\x30\n\x07options\x18\x07 \x01(\x0b\x32\x1f.google.protobuf.MessageOptions\x12\x46\n\x0ereserved_range\x18\t \x03(\x0b\x32..google.protobuf.DescriptorProto.ReservedRange\x12\x15\n\rreserved_name\x18\n \x03(\t\x1a\x65\n\x0e\x45xtensionRange\x12\r\n\x05start\x18\x01 \x01(\x05\x12\x0b\n\x03\x65nd\x18\x02 \x01(\x05\x12\x37\n\x07options\x18\x03 \x01(\x0b\x32&.google.protobuf.ExtensionRangeOptions\x1a+\n\rReservedRange\x12\r\n\x05start\x18\x01 \x01(\x05\x12\x0b\n\x03\x65nd\x18\x02 \x01(\x05\"\xe0\x03\n\x15\x45xtensionRangeOptions\x12\x43\n\x14uninterpreted_option\x18\xe7\x07 \x03(\x0b\x32$.google.protobuf.UninterpretedOption\x12L\n\x0b\x64\x65\x63laration\x18\x02 \x03(\x0b\x32\x32.google.protobuf.ExtensionRangeOptions.DeclarationB\x03\x88\x01\x02\x12-\n\x08\x66\x65\x61tures\x18\x32 \x01(\x0b\x32\x1b.google.protobuf.FeatureSet\x12Z\n\x0cverification\x18\x03 \x01(\x0e\x32\x38.google.protobuf.ExtensionRangeOptions.VerificationState:\nUNVERIFIED\x1ah\n\x0b\x44\x65\x63laration\x12\x0e\n\x06number\x18\x01 \x01(\x05\x12\x11\n\tfull_name\x18\x02 \x01(\t\x12\x0c\n\x04type\x18\x03 \x01(\t\x12\x10\n\x08reserved\x18\x05 \x01(\x08\x12\x10\n\x08repeated\x18\x06 \x01(\x08J\x04\x08\x04\x10\x05\"4\n\x11VerificationState\x12\x0f\n\x0b\x44\x45\x43LARATION\x10\x00\x12\x0e\n\nUNVERIFIED\x10\x01*\t\x08\xe8\x07\x10\x80\x80\x80\x80\x02\"\xd5\x05\n\x14\x46ieldDescriptorProto\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0e\n\x06number\x18\x03 \x01(\x05\x12:\n\x05label\x18\x04 \x01(\x0e\x32+.google.protobuf.FieldDescriptorProto.Label\x12\x38\n\x04type\x18\x05 \x01(\x0e\x32*.google.protobuf.FieldDescriptorProto.Type\x12\x11\n\ttype_name\x18\x06 \x01(\t\x12\x10\n\x08\x65xtendee\x18\x02 \x01(\t\x12\x15\n\rdefault_value\x18\x07 \x01(\t\x12\x13\n\x0boneof_index\x18\t \x01(\x05\x12\x11\n\tjson_name\x18\n \x01(\t\x12.\n\x07options\x18\x08 \x01(\x0b\x32\x1d.google.protobuf.FieldOptions\x12\x17\n\x0fproto3_optional\x18\x11 \x01(\x08\"\xb6\x02\n\x04Type\x12\x0f\n\x0bTYPE_DOUBLE\x10\x01\x12\x0e\n\nTYPE_FLOAT\x10\x02\x12\x0e\n\nTYPE_INT64\x10\x03\x12\x0f\n\x0bTYPE_UINT64\x10\x04\x12\x0e\n\nTYPE_INT32\x10\x05\x12\x10\n\x0cTYPE_FIXED64\x10\x06\x12\x10\n\x0cTYPE_FIXED32\x10\x07\x12\r\n\tTYPE_BOOL\x10\x08\x12\x0f\n\x0bTYPE_STRING\x10\t\x12\x0e\n\nTYPE_GROUP\x10\n\x12\x10\n\x0cTYPE_MESSAGE\x10\x0b\x12\x0e\n\nTYPE_BYTES\x10\x0c\x12\x0f\n\x0bTYPE_UINT32\x10\r\x12\r\n\tTYPE_ENUM\x10\x0e\x12\x11\n\rTYPE_SFIXED32\x10\x0f\x12\x11\n\rTYPE_SFIXED64\x10\x10\x12\x0f\n\x0bTYPE_SINT32\x10\x11\x12\x0f\n\x0bTYPE_SINT64\x10\x12\"C\n\x05Label\x12\x12\n\x0eLABEL_OPTIONAL\x10\x01\x12\x12\n\x0eLABEL_REQUIRED\x10\x02\x12\x12\n\x0eLABEL_REPEATED\x10\x03\"T\n\x14OneofDescriptorProto\x12\x0c\n\x04name\x18\x01 \x01(\t\x12.\n\x07options\x18\x02 \x01(\x0b\x32\x1d.google.protobuf.OneofOptions\"\xa4\x02\n\x13\x45numDescriptorProto\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x38\n\x05value\x18\x02 \x03(\x0b\x32).google.protobuf.EnumValueDescriptorProto\x12-\n\x07options\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.EnumOptions\x12N\n\x0ereserved_range\x18\x04 \x03(\x0b\x32\x36.google.protobuf.EnumDescriptorProto.EnumReservedRange\x12\x15\n\rreserved_name\x18\x05 \x03(\t\x1a/\n\x11\x45numReservedRange\x12\r\n\x05start\x18\x01 \x01(\x05\x12\x0b\n\x03\x65nd\x18\x02 \x01(\x05\"l\n\x18\x45numValueDescriptorProto\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0e\n\x06number\x18\x02 \x01(\x05\x12\x32\n\x07options\x18\x03 \x01(\x0b\x32!.google.protobuf.EnumValueOptions\"\x90\x01\n\x16ServiceDescriptorProto\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x36\n\x06method\x18\x02 \x03(\x0b\x32&.google.protobuf.MethodDescriptorProto\x12\x30\n\x07options\x18\x03 \x01(\x0b\x32\x1f.google.protobuf.ServiceOptions\"\xc1\x01\n\x15MethodDescriptorProto\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x12\n\ninput_type\x18\x02 \x01(\t\x12\x13\n\x0boutput_type\x18\x03 \x01(\t\x12/\n\x07options\x18\x04 \x01(\x0b\x32\x1e.google.protobuf.MethodOptions\x12\x1f\n\x10\x63lient_streaming\x18\x05 \x01(\x08:\x05\x66\x61lse\x12\x1f\n\x10server_streaming\x18\x06 \x01(\x08:\x05\x66\x61lse\"\xd4\x06\n\x0b\x46ileOptions\x12\x14\n\x0cjava_package\x18\x01 \x01(\t\x12\x1c\n\x14java_outer_classname\x18\x08 \x01(\t\x12\"\n\x13java_multiple_files\x18\n \x01(\x08:\x05\x66\x61lse\x12)\n\x1djava_generate_equals_and_hash\x18\x14 \x01(\x08\x42\x02\x18\x01\x12%\n\x16java_string_check_utf8\x18\x1b \x01(\x08:\x05\x66\x61lse\x12\x46\n\x0coptimize_for\x18\t \x01(\x0e\x32).google.protobuf.FileOptions.OptimizeMode:\x05SPEED\x12\x12\n\ngo_package\x18\x0b \x01(\t\x12\"\n\x13\x63\x63_generic_services\x18\x10 \x01(\x08:\x05\x66\x61lse\x12$\n\x15java_generic_services\x18\x11 \x01(\x08:\x05\x66\x61lse\x12\"\n\x13py_generic_services\x18\x12 \x01(\x08:\x05\x66\x61lse\x12#\n\x14php_generic_services\x18* \x01(\x08:\x05\x66\x61lse\x12\x19\n\ndeprecated\x18\x17 \x01(\x08:\x05\x66\x61lse\x12\x1e\n\x10\x63\x63_enable_arenas\x18\x1f \x01(\x08:\x04true\x12\x19\n\x11objc_class_prefix\x18$ \x01(\t\x12\x18\n\x10\x63sharp_namespace\x18% \x01(\t\x12\x14\n\x0cswift_prefix\x18\' \x01(\t\x12\x18\n\x10php_class_prefix\x18( \x01(\t\x12\x15\n\rphp_namespace\x18) \x01(\t\x12\x1e\n\x16php_metadata_namespace\x18, \x01(\t\x12\x14\n\x0cruby_package\x18- \x01(\t\x12-\n\x08\x66\x65\x61tures\x18\x32 \x01(\x0b\x32\x1b.google.protobuf.FeatureSet\x12\x43\n\x14uninterpreted_option\x18\xe7\x07 \x03(\x0b\x32$.google.protobuf.UninterpretedOption\":\n\x0cOptimizeMode\x12\t\n\x05SPEED\x10\x01\x12\r\n\tCODE_SIZE\x10\x02\x12\x10\n\x0cLITE_RUNTIME\x10\x03*\t\x08\xe8\x07\x10\x80\x80\x80\x80\x02J\x04\x08&\x10\'\"\xe7\x02\n\x0eMessageOptions\x12&\n\x17message_set_wire_format\x18\x01 \x01(\x08:\x05\x66\x61lse\x12.\n\x1fno_standard_descriptor_accessor\x18\x02 \x01(\x08:\x05\x66\x61lse\x12\x19\n\ndeprecated\x18\x03 \x01(\x08:\x05\x66\x61lse\x12\x11\n\tmap_entry\x18\x07 \x01(\x08\x12\x32\n&deprecated_legacy_json_field_conflicts\x18\x0b \x01(\x08\x42\x02\x18\x01\x12-\n\x08\x66\x65\x61tures\x18\x0c \x01(\x0b\x32\x1b.google.protobuf.FeatureSet\x12\x43\n\x14uninterpreted_option\x18\xe7\x07 \x03(\x0b\x32$.google.protobuf.UninterpretedOption*\t\x08\xe8\x07\x10\x80\x80\x80\x80\x02J\x04\x08\x04\x10\x05J\x04\x08\x05\x10\x06J\x04\x08\x06\x10\x07J\x04\x08\x08\x10\tJ\x04\x08\t\x10\n\"\x8d\t\n\x0c\x46ieldOptions\x12:\n\x05\x63type\x18\x01 \x01(\x0e\x32#.google.protobuf.FieldOptions.CType:\x06STRING\x12\x0e\n\x06packed\x18\x02 \x01(\x08\x12?\n\x06jstype\x18\x06 \x01(\x0e\x32$.google.protobuf.FieldOptions.JSType:\tJS_NORMAL\x12\x13\n\x04lazy\x18\x05 \x01(\x08:\x05\x66\x61lse\x12\x1e\n\x0funverified_lazy\x18\x0f \x01(\x08:\x05\x66\x61lse\x12\x19\n\ndeprecated\x18\x03 \x01(\x08:\x05\x66\x61lse\x12\x13\n\x04weak\x18\n \x01(\x08:\x05\x66\x61lse\x12\x1b\n\x0c\x64\x65\x62ug_redact\x18\x10 \x01(\x08:\x05\x66\x61lse\x12@\n\tretention\x18\x11 \x01(\x0e\x32-.google.protobuf.FieldOptions.OptionRetention\x12?\n\x07targets\x18\x13 \x03(\x0e\x32..google.protobuf.FieldOptions.OptionTargetType\x12\x46\n\x10\x65\x64ition_defaults\x18\x14 \x03(\x0b\x32,.google.protobuf.FieldOptions.EditionDefault\x12-\n\x08\x66\x65\x61tures\x18\x15 \x01(\x0b\x32\x1b.google.protobuf.FeatureSet\x12\x43\n\x14uninterpreted_option\x18\xe7\x07 \x03(\x0b\x32$.google.protobuf.UninterpretedOption\x1aJ\n\x0e\x45\x64itionDefault\x12)\n\x07\x65\x64ition\x18\x03 \x01(\x0e\x32\x18.google.protobuf.Edition\x12\r\n\x05value\x18\x02 \x01(\t\"/\n\x05\x43Type\x12\n\n\x06STRING\x10\x00\x12\x08\n\x04\x43ORD\x10\x01\x12\x10\n\x0cSTRING_PIECE\x10\x02\"5\n\x06JSType\x12\r\n\tJS_NORMAL\x10\x00\x12\r\n\tJS_STRING\x10\x01\x12\r\n\tJS_NUMBER\x10\x02\"U\n\x0fOptionRetention\x12\x15\n\x11RETENTION_UNKNOWN\x10\x00\x12\x15\n\x11RETENTION_RUNTIME\x10\x01\x12\x14\n\x10RETENTION_SOURCE\x10\x02\"\x8c\x02\n\x10OptionTargetType\x12\x17\n\x13TARGET_TYPE_UNKNOWN\x10\x00\x12\x14\n\x10TARGET_TYPE_FILE\x10\x01\x12\x1f\n\x1bTARGET_TYPE_EXTENSION_RANGE\x10\x02\x12\x17\n\x13TARGET_TYPE_MESSAGE\x10\x03\x12\x15\n\x11TARGET_TYPE_FIELD\x10\x04\x12\x15\n\x11TARGET_TYPE_ONEOF\x10\x05\x12\x14\n\x10TARGET_TYPE_ENUM\x10\x06\x12\x1a\n\x16TARGET_TYPE_ENUM_ENTRY\x10\x07\x12\x17\n\x13TARGET_TYPE_SERVICE\x10\x08\x12\x16\n\x12TARGET_TYPE_METHOD\x10\t*\t\x08\xe8\x07\x10\x80\x80\x80\x80\x02J\x04\x08\x04\x10\x05J\x04\x08\x12\x10\x13\"\x8d\x01\n\x0cOneofOptions\x12-\n\x08\x66\x65\x61tures\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.FeatureSet\x12\x43\n\x14uninterpreted_option\x18\xe7\x07 \x03(\x0b\x32$.google.protobuf.UninterpretedOption*\t\x08\xe8\x07\x10\x80\x80\x80\x80\x02\"\xf6\x01\n\x0b\x45numOptions\x12\x13\n\x0b\x61llow_alias\x18\x02 \x01(\x08\x12\x19\n\ndeprecated\x18\x03 \x01(\x08:\x05\x66\x61lse\x12\x32\n&deprecated_legacy_json_field_conflicts\x18\x06 \x01(\x08\x42\x02\x18\x01\x12-\n\x08\x66\x65\x61tures\x18\x07 \x01(\x0b\x32\x1b.google.protobuf.FeatureSet\x12\x43\n\x14uninterpreted_option\x18\xe7\x07 \x03(\x0b\x32$.google.protobuf.UninterpretedOption*\t\x08\xe8\x07\x10\x80\x80\x80\x80\x02J\x04\x08\x05\x10\x06\"\xc9\x01\n\x10\x45numValueOptions\x12\x19\n\ndeprecated\x18\x01 \x01(\x08:\x05\x66\x61lse\x12-\n\x08\x66\x65\x61tures\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.FeatureSet\x12\x1b\n\x0c\x64\x65\x62ug_redact\x18\x03 \x01(\x08:\x05\x66\x61lse\x12\x43\n\x14uninterpreted_option\x18\xe7\x07 \x03(\x0b\x32$.google.protobuf.UninterpretedOption*\t\x08\xe8\x07\x10\x80\x80\x80\x80\x02\"\xaa\x01\n\x0eServiceOptions\x12-\n\x08\x66\x65\x61tures\x18\" \x01(\x0b\x32\x1b.google.protobuf.FeatureSet\x12\x19\n\ndeprecated\x18! \x01(\x08:\x05\x66\x61lse\x12\x43\n\x14uninterpreted_option\x18\xe7\x07 \x03(\x0b\x32$.google.protobuf.UninterpretedOption*\t\x08\xe8\x07\x10\x80\x80\x80\x80\x02\"\xdc\x02\n\rMethodOptions\x12\x19\n\ndeprecated\x18! \x01(\x08:\x05\x66\x61lse\x12_\n\x11idempotency_level\x18\" \x01(\x0e\x32/.google.protobuf.MethodOptions.IdempotencyLevel:\x13IDEMPOTENCY_UNKNOWN\x12-\n\x08\x66\x65\x61tures\x18# \x01(\x0b\x32\x1b.google.protobuf.FeatureSet\x12\x43\n\x14uninterpreted_option\x18\xe7\x07 \x03(\x0b\x32$.google.protobuf.UninterpretedOption\"P\n\x10IdempotencyLevel\x12\x17\n\x13IDEMPOTENCY_UNKNOWN\x10\x00\x12\x13\n\x0fNO_SIDE_EFFECTS\x10\x01\x12\x0e\n\nIDEMPOTENT\x10\x02*\t\x08\xe8\x07\x10\x80\x80\x80\x80\x02\"\x9e\x02\n\x13UninterpretedOption\x12;\n\x04name\x18\x02 \x03(\x0b\x32-.google.protobuf.UninterpretedOption.NamePart\x12\x18\n\x10identifier_value\x18\x03 \x01(\t\x12\x1a\n\x12positive_int_value\x18\x04 \x01(\x04\x12\x1a\n\x12negative_int_value\x18\x05 \x01(\x03\x12\x14\n\x0c\x64ouble_value\x18\x06 \x01(\x01\x12\x14\n\x0cstring_value\x18\x07 \x01(\x0c\x12\x17\n\x0f\x61ggregate_value\x18\x08 \x01(\t\x1a\x33\n\x08NamePart\x12\x11\n\tname_part\x18\x01 \x02(\t\x12\x14\n\x0cis_extension\x18\x02 \x02(\x08\"\xa9\t\n\nFeatureSet\x12|\n\x0e\x66ield_presence\x18\x01 \x01(\x0e\x32).google.protobuf.FeatureSet.FieldPresenceB9\x88\x01\x01\x98\x01\x04\x98\x01\x01\xa2\x01\r\x12\x08\x45XPLICIT\x18\xe6\x07\xa2\x01\r\x12\x08IMPLICIT\x18\xe7\x07\xa2\x01\r\x12\x08\x45XPLICIT\x18\xe8\x07\x12\\\n\tenum_type\x18\x02 \x01(\x0e\x32$.google.protobuf.FeatureSet.EnumTypeB#\x88\x01\x01\x98\x01\x06\x98\x01\x01\xa2\x01\x0b\x12\x06\x43LOSED\x18\xe6\x07\xa2\x01\t\x12\x04OPEN\x18\xe7\x07\x12{\n\x17repeated_field_encoding\x18\x03 \x01(\x0e\x32\x31.google.protobuf.FeatureSet.RepeatedFieldEncodingB\'\x88\x01\x01\x98\x01\x04\x98\x01\x01\xa2\x01\r\x12\x08\x45XPANDED\x18\xe6\x07\xa2\x01\x0b\x12\x06PACKED\x18\xe7\x07\x12n\n\x0futf8_validation\x18\x04 \x01(\x0e\x32*.google.protobuf.FeatureSet.Utf8ValidationB)\x88\x01\x01\x98\x01\x04\x98\x01\x01\xa2\x01\x0f\x12\nUNVERIFIED\x18\xe6\x07\xa2\x01\x0b\x12\x06VERIFY\x18\xe7\x07\x12g\n\x10message_encoding\x18\x05 \x01(\x0e\x32+.google.protobuf.FeatureSet.MessageEncodingB \x88\x01\x01\x98\x01\x04\x98\x01\x01\xa2\x01\x14\x12\x0fLENGTH_PREFIXED\x18\xe6\x07\x12p\n\x0bjson_format\x18\x06 \x01(\x0e\x32&.google.protobuf.FeatureSet.JsonFormatB3\x88\x01\x01\x98\x01\x03\x98\x01\x06\x98\x01\x01\xa2\x01\x17\x12\x12LEGACY_BEST_EFFORT\x18\xe6\x07\xa2\x01\n\x12\x05\x41LLOW\x18\xe7\x07\"\\\n\rFieldPresence\x12\x1a\n\x16\x46IELD_PRESENCE_UNKNOWN\x10\x00\x12\x0c\n\x08\x45XPLICIT\x10\x01\x12\x0c\n\x08IMPLICIT\x10\x02\x12\x13\n\x0fLEGACY_REQUIRED\x10\x03\"7\n\x08\x45numType\x12\x15\n\x11\x45NUM_TYPE_UNKNOWN\x10\x00\x12\x08\n\x04OPEN\x10\x01\x12\n\n\x06\x43LOSED\x10\x02\"V\n\x15RepeatedFieldEncoding\x12#\n\x1fREPEATED_FIELD_ENCODING_UNKNOWN\x10\x00\x12\n\n\x06PACKED\x10\x01\x12\x0c\n\x08\x45XPANDED\x10\x02\"I\n\x0eUtf8Validation\x12\x1b\n\x17UTF8_VALIDATION_UNKNOWN\x10\x00\x12\x0e\n\nUNVERIFIED\x10\x01\x12\n\n\x06VERIFY\x10\x02\"S\n\x0fMessageEncoding\x12\x1c\n\x18MESSAGE_ENCODING_UNKNOWN\x10\x00\x12\x13\n\x0fLENGTH_PREFIXED\x10\x01\x12\r\n\tDELIMITED\x10\x02\"H\n\nJsonFormat\x12\x17\n\x13JSON_FORMAT_UNKNOWN\x10\x00\x12\t\n\x05\x41LLOW\x10\x01\x12\x16\n\x12LEGACY_BEST_EFFORT\x10\x02*\x06\x08\xe8\x07\x10\xe9\x07*\x06\x08\xe9\x07\x10\xea\x07*\x06\x08\x8bN\x10\x90NJ\x06\x08\xe7\x07\x10\xe8\x07\"\xc0\x02\n\x12\x46\x65\x61tureSetDefaults\x12N\n\x08\x64\x65\x66\x61ults\x18\x01 \x03(\x0b\x32<.google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault\x12\x31\n\x0fminimum_edition\x18\x04 \x01(\x0e\x32\x18.google.protobuf.Edition\x12\x31\n\x0fmaximum_edition\x18\x05 \x01(\x0e\x32\x18.google.protobuf.Edition\x1at\n\x18\x46\x65\x61tureSetEditionDefault\x12)\n\x07\x65\x64ition\x18\x03 \x01(\x0e\x32\x18.google.protobuf.Edition\x12-\n\x08\x66\x65\x61tures\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.FeatureSet\"\xd5\x01\n\x0eSourceCodeInfo\x12:\n\x08location\x18\x01 \x03(\x0b\x32(.google.protobuf.SourceCodeInfo.Location\x1a\x86\x01\n\x08Location\x12\x10\n\x04path\x18\x01 \x03(\x05\x42\x02\x10\x01\x12\x10\n\x04span\x18\x02 \x03(\x05\x42\x02\x10\x01\x12\x18\n\x10leading_comments\x18\x03 \x01(\t\x12\x19\n\x11trailing_comments\x18\x04 \x01(\t\x12!\n\x19leading_detached_comments\x18\x06 \x03(\t\"\x9c\x02\n\x11GeneratedCodeInfo\x12\x41\n\nannotation\x18\x01 \x03(\x0b\x32-.google.protobuf.GeneratedCodeInfo.Annotation\x1a\xc3\x01\n\nAnnotation\x12\x10\n\x04path\x18\x01 \x03(\x05\x42\x02\x10\x01\x12\x13\n\x0bsource_file\x18\x02 \x01(\t\x12\r\n\x05\x62\x65gin\x18\x03 \x01(\x05\x12\x0b\n\x03\x65nd\x18\x04 \x01(\x05\x12H\n\x08semantic\x18\x05 \x01(\x0e\x32\x36.google.protobuf.GeneratedCodeInfo.Annotation.Semantic\"(\n\x08Semantic\x12\x08\n\x04NONE\x10\x00\x12\x07\n\x03SET\x10\x01\x12\t\n\x05\x41LIAS\x10\x02*\xea\x01\n\x07\x45\x64ition\x12\x13\n\x0f\x45\x44ITION_UNKNOWN\x10\x00\x12\x13\n\x0e\x45\x44ITION_PROTO2\x10\xe6\x07\x12\x13\n\x0e\x45\x44ITION_PROTO3\x10\xe7\x07\x12\x11\n\x0c\x45\x44ITION_2023\x10\xe8\x07\x12\x17\n\x13\x45\x44ITION_1_TEST_ONLY\x10\x01\x12\x17\n\x13\x45\x44ITION_2_TEST_ONLY\x10\x02\x12\x1d\n\x17\x45\x44ITION_99997_TEST_ONLY\x10\x9d\x8d\x06\x12\x1d\n\x17\x45\x44ITION_99998_TEST_ONLY\x10\x9e\x8d\x06\x12\x1d\n\x17\x45\x44ITION_99999_TEST_ONLY\x10\x9f\x8d\x06\x42~\n\x13\x63om.google.protobufB\x10\x44\x65scriptorProtosH\x01Z-google.golang.org/protobuf/types/descriptorpb\xf8\x01\x01\xa2\x02\x03GPB\xaa\x02\x1aGoogle.Protobuf.Reflection" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) + +module Google + module Protobuf + FileDescriptorSet = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.FileDescriptorSet").msgclass + FileDescriptorProto = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.FileDescriptorProto").msgclass + DescriptorProto = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.DescriptorProto").msgclass + DescriptorProto::ExtensionRange = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.DescriptorProto.ExtensionRange").msgclass + DescriptorProto::ReservedRange = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.DescriptorProto.ReservedRange").msgclass + ExtensionRangeOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.ExtensionRangeOptions").msgclass + ExtensionRangeOptions::Declaration = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.ExtensionRangeOptions.Declaration").msgclass + ExtensionRangeOptions::VerificationState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.ExtensionRangeOptions.VerificationState").enummodule + FieldDescriptorProto = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.FieldDescriptorProto").msgclass + FieldDescriptorProto::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.FieldDescriptorProto.Type").enummodule + FieldDescriptorProto::Label = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.FieldDescriptorProto.Label").enummodule + OneofDescriptorProto = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.OneofDescriptorProto").msgclass + EnumDescriptorProto = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.EnumDescriptorProto").msgclass + EnumDescriptorProto::EnumReservedRange = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.EnumDescriptorProto.EnumReservedRange").msgclass + EnumValueDescriptorProto = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.EnumValueDescriptorProto").msgclass + ServiceDescriptorProto = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.ServiceDescriptorProto").msgclass + MethodDescriptorProto = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.MethodDescriptorProto").msgclass + FileOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.FileOptions").msgclass + FileOptions::OptimizeMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.FileOptions.OptimizeMode").enummodule + MessageOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.MessageOptions").msgclass + FieldOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.FieldOptions").msgclass + FieldOptions::EditionDefault = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.FieldOptions.EditionDefault").msgclass + FieldOptions::CType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.FieldOptions.CType").enummodule + FieldOptions::JSType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.FieldOptions.JSType").enummodule + FieldOptions::OptionRetention = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.FieldOptions.OptionRetention").enummodule + FieldOptions::OptionTargetType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.FieldOptions.OptionTargetType").enummodule + OneofOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.OneofOptions").msgclass + EnumOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.EnumOptions").msgclass + EnumValueOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.EnumValueOptions").msgclass + ServiceOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.ServiceOptions").msgclass + MethodOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.MethodOptions").msgclass + MethodOptions::IdempotencyLevel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.MethodOptions.IdempotencyLevel").enummodule + UninterpretedOption = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.UninterpretedOption").msgclass + UninterpretedOption::NamePart = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.UninterpretedOption.NamePart").msgclass + FeatureSet = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.FeatureSet").msgclass + FeatureSet::FieldPresence = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.FeatureSet.FieldPresence").enummodule + FeatureSet::EnumType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.FeatureSet.EnumType").enummodule + FeatureSet::RepeatedFieldEncoding = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.FeatureSet.RepeatedFieldEncoding").enummodule + FeatureSet::Utf8Validation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.FeatureSet.Utf8Validation").enummodule + FeatureSet::MessageEncoding = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.FeatureSet.MessageEncoding").enummodule + FeatureSet::JsonFormat = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.FeatureSet.JsonFormat").enummodule + FeatureSetDefaults = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.FeatureSetDefaults").msgclass + FeatureSetDefaults::FeatureSetEditionDefault = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault").msgclass + SourceCodeInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.SourceCodeInfo").msgclass + SourceCodeInfo::Location = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.SourceCodeInfo.Location").msgclass + GeneratedCodeInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.GeneratedCodeInfo").msgclass + GeneratedCodeInfo::Annotation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.GeneratedCodeInfo.Annotation").msgclass + GeneratedCodeInfo::Annotation::Semantic = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.GeneratedCodeInfo.Annotation.Semantic").enummodule + Edition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.Edition").enummodule + end +end diff --git a/lib/gen/google/protobuf/duration_pb.rb b/lib/gen/google/protobuf/duration_pb.rb new file mode 100644 index 000000000..f96977686 --- /dev/null +++ b/lib/gen/google/protobuf/duration_pb.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/protobuf/duration.proto + +require 'google/protobuf' + + +descriptor_data = "\n\x1egoogle/protobuf/duration.proto\x12\x0fgoogle.protobuf\"*\n\x08\x44uration\x12\x0f\n\x07seconds\x18\x01 \x01(\x03\x12\r\n\x05nanos\x18\x02 \x01(\x05\x42\x83\x01\n\x13\x63om.google.protobufB\rDurationProtoP\x01Z1google.golang.org/protobuf/types/known/durationpb\xf8\x01\x01\xa2\x02\x03GPB\xaa\x02\x1eGoogle.Protobuf.WellKnownTypesb\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) + +module Google + module Protobuf + Duration = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.Duration").msgclass + end +end diff --git a/lib/gen/google/protobuf/empty_pb.rb b/lib/gen/google/protobuf/empty_pb.rb new file mode 100644 index 000000000..da9c72375 --- /dev/null +++ b/lib/gen/google/protobuf/empty_pb.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/protobuf/empty.proto + +require 'google/protobuf' + + +descriptor_data = "\n\x1bgoogle/protobuf/empty.proto\x12\x0fgoogle.protobuf\"\x07\n\x05\x45mptyB}\n\x13\x63om.google.protobufB\nEmptyProtoP\x01Z.google.golang.org/protobuf/types/known/emptypb\xf8\x01\x01\xa2\x02\x03GPB\xaa\x02\x1eGoogle.Protobuf.WellKnownTypesb\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) + +module Google + module Protobuf + Empty = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.Empty").msgclass + end +end diff --git a/lib/gen/google/protobuf/struct_pb.rb b/lib/gen/google/protobuf/struct_pb.rb new file mode 100644 index 000000000..6c1cde71e --- /dev/null +++ b/lib/gen/google/protobuf/struct_pb.rb @@ -0,0 +1,20 @@ +# frozen_string_literal: true +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/protobuf/struct.proto + +require 'google/protobuf' + + +descriptor_data = "\n\x1cgoogle/protobuf/struct.proto\x12\x0fgoogle.protobuf\"\x84\x01\n\x06Struct\x12\x33\n\x06\x66ields\x18\x01 \x03(\x0b\x32#.google.protobuf.Struct.FieldsEntry\x1a\x45\n\x0b\x46ieldsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.Value:\x02\x38\x01\"\xea\x01\n\x05Value\x12\x30\n\nnull_value\x18\x01 \x01(\x0e\x32\x1a.google.protobuf.NullValueH\x00\x12\x16\n\x0cnumber_value\x18\x02 \x01(\x01H\x00\x12\x16\n\x0cstring_value\x18\x03 \x01(\tH\x00\x12\x14\n\nbool_value\x18\x04 \x01(\x08H\x00\x12/\n\x0cstruct_value\x18\x05 \x01(\x0b\x32\x17.google.protobuf.StructH\x00\x12\x30\n\nlist_value\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.ListValueH\x00\x42\x06\n\x04kind\"3\n\tListValue\x12&\n\x06values\x18\x01 \x03(\x0b\x32\x16.google.protobuf.Value*\x1b\n\tNullValue\x12\x0e\n\nNULL_VALUE\x10\x00\x42\x7f\n\x13\x63om.google.protobufB\x0bStructProtoP\x01Z/google.golang.org/protobuf/types/known/structpb\xf8\x01\x01\xa2\x02\x03GPB\xaa\x02\x1eGoogle.Protobuf.WellKnownTypesb\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) + +module Google + module Protobuf + Struct = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.Struct").msgclass + Value = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.Value").msgclass + ListValue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.ListValue").msgclass + NullValue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.NullValue").enummodule + end +end diff --git a/lib/gen/google/protobuf/timestamp_pb.rb b/lib/gen/google/protobuf/timestamp_pb.rb new file mode 100644 index 000000000..87930df0d --- /dev/null +++ b/lib/gen/google/protobuf/timestamp_pb.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/protobuf/timestamp.proto + +require 'google/protobuf' + + +descriptor_data = "\n\x1fgoogle/protobuf/timestamp.proto\x12\x0fgoogle.protobuf\"+\n\tTimestamp\x12\x0f\n\x07seconds\x18\x01 \x01(\x03\x12\r\n\x05nanos\x18\x02 \x01(\x05\x42\x85\x01\n\x13\x63om.google.protobufB\x0eTimestampProtoP\x01Z2google.golang.org/protobuf/types/known/timestamppb\xf8\x01\x01\xa2\x02\x03GPB\xaa\x02\x1eGoogle.Protobuf.WellKnownTypesb\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) + +module Google + module Protobuf + Timestamp = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.Timestamp").msgclass + end +end diff --git a/lib/gen/google/protobuf/wrappers_pb.rb b/lib/gen/google/protobuf/wrappers_pb.rb new file mode 100644 index 000000000..ec43b6cab --- /dev/null +++ b/lib/gen/google/protobuf/wrappers_pb.rb @@ -0,0 +1,25 @@ +# frozen_string_literal: true +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/protobuf/wrappers.proto + +require 'google/protobuf' + + +descriptor_data = "\n\x1egoogle/protobuf/wrappers.proto\x12\x0fgoogle.protobuf\"\x1c\n\x0b\x44oubleValue\x12\r\n\x05value\x18\x01 \x01(\x01\"\x1b\n\nFloatValue\x12\r\n\x05value\x18\x01 \x01(\x02\"\x1b\n\nInt64Value\x12\r\n\x05value\x18\x01 \x01(\x03\"\x1c\n\x0bUInt64Value\x12\r\n\x05value\x18\x01 \x01(\x04\"\x1b\n\nInt32Value\x12\r\n\x05value\x18\x01 \x01(\x05\"\x1c\n\x0bUInt32Value\x12\r\n\x05value\x18\x01 \x01(\r\"\x1a\n\tBoolValue\x12\r\n\x05value\x18\x01 \x01(\x08\"\x1c\n\x0bStringValue\x12\r\n\x05value\x18\x01 \x01(\t\"\x1b\n\nBytesValue\x12\r\n\x05value\x18\x01 \x01(\x0c\x42\x83\x01\n\x13\x63om.google.protobufB\rWrappersProtoP\x01Z1google.golang.org/protobuf/types/known/wrapperspb\xf8\x01\x01\xa2\x02\x03GPB\xaa\x02\x1eGoogle.Protobuf.WellKnownTypesb\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) + +module Google + module Protobuf + DoubleValue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.DoubleValue").msgclass + FloatValue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.FloatValue").msgclass + Int64Value = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.Int64Value").msgclass + UInt64Value = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.UInt64Value").msgclass + Int32Value = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.Int32Value").msgclass + UInt32Value = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.UInt32Value").msgclass + BoolValue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.BoolValue").msgclass + StringValue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.StringValue").msgclass + BytesValue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.BytesValue").msgclass + end +end diff --git a/lib/gen/temporal/api/activity/v1/message_pb.rb b/lib/gen/temporal/api/activity/v1/message_pb.rb new file mode 100644 index 000000000..8e238b594 --- /dev/null +++ b/lib/gen/temporal/api/activity/v1/message_pb.rb @@ -0,0 +1,38 @@ +# frozen_string_literal: true +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: temporal/api/activity/v1/message.proto + +require 'google/protobuf' + +require 'google/protobuf/duration_pb' +require 'google/protobuf/timestamp_pb' +require 'temporal/api/common/v1/message_pb' +require 'temporal/api/deployment/v1/message_pb' +require 'temporal/api/enums/v1/activity_pb' +require 'temporal/api/callback/v1/message_pb' +require 'temporal/api/enums/v1/workflow_pb' +require 'temporal/api/failure/v1/message_pb' +require 'temporal/api/taskqueue/v1/message_pb' +require 'temporal/api/sdk/v1/user_metadata_pb' + + +descriptor_data = "\n&temporal/api/activity/v1/message.proto\x12\x18temporal.api.activity.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a$temporal/api/common/v1/message.proto\x1a(temporal/api/deployment/v1/message.proto\x1a$temporal/api/enums/v1/activity.proto\x1a&temporal/api/callback/v1/message.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a%temporal/api/failure/v1/message.proto\x1a\'temporal/api/taskqueue/v1/message.proto\x1a\'temporal/api/sdk/v1/user_metadata.proto\"\x8c\x01\n\x18\x41\x63tivityExecutionOutcome\x12\x32\n\x06result\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.PayloadsH\x00\x12\x33\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32 .temporal.api.failure.v1.FailureH\x00\x42\x07\n\x05value\"\xa7\x03\n\x0f\x41\x63tivityOptions\x12\x38\n\ntask_queue\x18\x01 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12<\n\x19schedule_to_close_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12<\n\x19schedule_to_start_timeout\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x34\n\x11heartbeat_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x0cretry_policy\x18\x06 \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x32\n\x08priority\x18\x07 \x01(\x0b\x32 .temporal.api.common.v1.Priority\"\x8c\r\n\x15\x41\x63tivityExecutionInfo\x12\x13\n\x0b\x61\x63tivity_id\x18\x01 \x01(\t\x12\x0e\n\x06run_id\x18\x02 \x01(\t\x12;\n\ractivity_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.ActivityType\x12>\n\x06status\x18\x04 \x01(\x0e\x32..temporal.api.enums.v1.ActivityExecutionStatus\x12>\n\trun_state\x18\x05 \x01(\x0e\x32+.temporal.api.enums.v1.PendingActivityState\x12\x12\n\ntask_queue\x18\x06 \x01(\t\x12<\n\x19schedule_to_close_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12<\n\x19schedule_to_start_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x34\n\x11heartbeat_timeout\x18\n \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x0cretry_policy\x18\x0b \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12;\n\x11heartbeat_details\x18\x0c \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x37\n\x13last_heartbeat_time\x18\r \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x11last_started_time\x18\x0e \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0f\n\x07\x61ttempt\x18\x0f \x01(\x05\x12\x35\n\x12\x65xecution_duration\x18\x10 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x31\n\rschedule_time\x18\x11 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x33\n\x0f\x65xpiration_time\x18\x12 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nclose_time\x18\x13 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x0clast_failure\x18\x14 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x1c\n\x14last_worker_identity\x18\x15 \x01(\t\x12\x39\n\x16\x63urrent_retry_interval\x18\x16 \x01(\x0b\x32\x19.google.protobuf.Duration\x12>\n\x1alast_attempt_complete_time\x18\x17 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12>\n\x1anext_attempt_schedule_time\x18\x18 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12T\n\x17last_deployment_version\x18\x19 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x32\n\x08priority\x18\x1a \x01(\x0b\x32 .temporal.api.common.v1.Priority\x12\x1e\n\x16state_transition_count\x18\x1b \x01(\x03\x12\x18\n\x10state_size_bytes\x18\x1c \x01(\x03\x12\x43\n\x11search_attributes\x18\x1d \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12.\n\x06header\x18\x1e \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12\x38\n\ruser_metadata\x18\x1f \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata\x12\x17\n\x0f\x63\x61nceled_reason\x18 \x01(\t\x12+\n\x05links\x18! \x03(\x0b\x32\x1c.temporal.api.common.v1.Link\"\xea\x03\n\x19\x41\x63tivityExecutionListInfo\x12\x13\n\x0b\x61\x63tivity_id\x18\x01 \x01(\t\x12\x0e\n\x06run_id\x18\x02 \x01(\t\x12;\n\ractivity_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.ActivityType\x12\x31\n\rschedule_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nclose_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12>\n\x06status\x18\x06 \x01(\x0e\x32..temporal.api.enums.v1.ActivityExecutionStatus\x12\x43\n\x11search_attributes\x18\x07 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12\x12\n\ntask_queue\x18\x08 \x01(\t\x12\x1e\n\x16state_transition_count\x18\t \x01(\x03\x12\x18\n\x10state_size_bytes\x18\n \x01(\x03\x12\x35\n\x12\x65xecution_duration\x18\x0b \x01(\x0b\x32\x19.google.protobuf.Duration\"\xff\x01\n\x0c\x43\x61llbackInfo\x12?\n\x07trigger\x18\x01 \x01(\x0b\x32..temporal.api.activity.v1.CallbackInfo.Trigger\x12\x34\n\x04info\x18\x02 \x01(\x0b\x32&.temporal.api.callback.v1.CallbackInfo\x1a\x10\n\x0e\x41\x63tivityClosed\x1a\x66\n\x07Trigger\x12P\n\x0f\x61\x63tivity_closed\x18\x01 \x01(\x0b\x32\x35.temporal.api.activity.v1.CallbackInfo.ActivityClosedH\x00\x42\t\n\x07variantB\x93\x01\n\x1bio.temporal.api.activity.v1B\x0cMessageProtoP\x01Z\'go.temporal.io/api/activity/v1;activity\xaa\x02\x1aTemporalio.Api.Activity.V1\xea\x02\x1dTemporalio::Api::Activity::V1b\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) + +module Temporalio + module Api + module Activity + module V1 + ActivityExecutionOutcome = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.activity.v1.ActivityExecutionOutcome").msgclass + ActivityOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.activity.v1.ActivityOptions").msgclass + ActivityExecutionInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.activity.v1.ActivityExecutionInfo").msgclass + ActivityExecutionListInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.activity.v1.ActivityExecutionListInfo").msgclass + CallbackInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.activity.v1.CallbackInfo").msgclass + CallbackInfo::ActivityClosed = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.activity.v1.CallbackInfo.ActivityClosed").msgclass + CallbackInfo::Trigger = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.activity.v1.CallbackInfo.Trigger").msgclass + end + end + end +end diff --git a/lib/gen/temporal/api/batch/v1/message_pb.rb b/lib/gen/temporal/api/batch/v1/message_pb.rb index 5f1d88e47..c375a65d4 100644 --- a/lib/gen/temporal/api/batch/v1/message_pb.rb +++ b/lib/gen/temporal/api/batch/v1/message_pb.rb @@ -1,39 +1,24 @@ +# frozen_string_literal: true # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/batch/v1/message.proto require 'google/protobuf' -require 'dependencies/gogoproto/gogo_pb' +require 'google/protobuf/duration_pb' +require 'google/protobuf/field_mask_pb' require 'google/protobuf/timestamp_pb' +require 'temporal/api/activity/v1/message_pb' require 'temporal/api/common/v1/message_pb' require 'temporal/api/enums/v1/batch_operation_pb' +require 'temporal/api/enums/v1/reset_pb' +require 'temporal/api/rules/v1/message_pb' +require 'temporal/api/workflow/v1/message_pb' -Google::Protobuf::DescriptorPool.generated_pool.build do - add_file("temporal/api/batch/v1/message.proto", :syntax => :proto3) do - add_message "temporal.api.batch.v1.BatchOperationInfo" do - optional :job_id, :string, 1 - optional :state, :enum, 2, "temporal.api.enums.v1.BatchOperationState" - optional :start_time, :message, 3, "google.protobuf.Timestamp" - optional :close_time, :message, 4, "google.protobuf.Timestamp" - end - add_message "temporal.api.batch.v1.BatchOperationTermination" do - optional :details, :message, 1, "temporal.api.common.v1.Payloads" - optional :identity, :string, 2 - end - add_message "temporal.api.batch.v1.BatchOperationSignal" do - optional :signal, :string, 1 - optional :input, :message, 2, "temporal.api.common.v1.Payloads" - optional :header, :message, 3, "temporal.api.common.v1.Header" - optional :identity, :string, 4 - end - add_message "temporal.api.batch.v1.BatchOperationCancellation" do - optional :identity, :string, 1 - end - add_message "temporal.api.batch.v1.BatchOperationDeletion" do - optional :identity, :string, 1 - end - end -end + +descriptor_data = "\n#temporal/api/batch/v1/message.proto\x12\x15temporal.api.batch.v1\x1a\x1egoogle/protobuf/duration.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a&temporal/api/activity/v1/message.proto\x1a$temporal/api/common/v1/message.proto\x1a+temporal/api/enums/v1/batch_operation.proto\x1a!temporal/api/enums/v1/reset.proto\x1a#temporal/api/rules/v1/message.proto\x1a&temporal/api/workflow/v1/message.proto\"\xbf\x01\n\x12\x42\x61tchOperationInfo\x12\x0e\n\x06job_id\x18\x01 \x01(\t\x12\x39\n\x05state\x18\x02 \x01(\x0e\x32*.temporal.api.enums.v1.BatchOperationState\x12.\n\nstart_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nclose_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"`\n\x19\x42\x61tchOperationTermination\x12\x31\n\x07\x64\x65tails\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x02 \x01(\t\"\x99\x01\n\x14\x42\x61tchOperationSignal\x12\x0e\n\x06signal\x18\x01 \x01(\t\x12/\n\x05input\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12.\n\x06header\x18\x03 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12\x10\n\x08identity\x18\x04 \x01(\t\".\n\x1a\x42\x61tchOperationCancellation\x12\x10\n\x08identity\x18\x01 \x01(\t\"*\n\x16\x42\x61tchOperationDeletion\x12\x10\n\x08identity\x18\x01 \x01(\t\"\xae\x02\n\x13\x42\x61tchOperationReset\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x35\n\x07options\x18\x04 \x01(\x0b\x32$.temporal.api.common.v1.ResetOptions\x12\x38\n\nreset_type\x18\x01 \x01(\x0e\x32 .temporal.api.enums.v1.ResetTypeB\x02\x18\x01\x12G\n\x12reset_reapply_type\x18\x02 \x01(\x0e\x32\'.temporal.api.enums.v1.ResetReapplyTypeB\x02\x18\x01\x12K\n\x15post_reset_operations\x18\x05 \x03(\x0b\x32,.temporal.api.workflow.v1.PostResetOperation\"\xc9\x01\n,BatchOperationUpdateWorkflowExecutionOptions\x12\x10\n\x08identity\x18\x01 \x01(\t\x12V\n\x1aworkflow_execution_options\x18\x02 \x01(\x0b\x32\x32.temporal.api.workflow.v1.WorkflowExecutionOptions\x12/\n\x0bupdate_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"\xc0\x01\n\x1f\x42\x61tchOperationUnpauseActivities\x12\x10\n\x08identity\x18\x01 \x01(\t\x12\x0e\n\x04type\x18\x02 \x01(\tH\x00\x12\x13\n\tmatch_all\x18\x03 \x01(\x08H\x00\x12\x16\n\x0ereset_attempts\x18\x04 \x01(\x08\x12\x17\n\x0freset_heartbeat\x18\x05 \x01(\x08\x12)\n\x06jitter\x18\x06 \x01(\x0b\x32\x19.google.protobuf.DurationB\n\n\x08\x61\x63tivity\"\x84\x01\n!BatchOperationTriggerWorkflowRule\x12\x10\n\x08identity\x18\x01 \x01(\t\x12\x0c\n\x02id\x18\x02 \x01(\tH\x00\x12\x37\n\x04spec\x18\x03 \x01(\x0b\x32\'.temporal.api.rules.v1.WorkflowRuleSpecH\x00\x42\x06\n\x04rule\"\xf5\x01\n\x1d\x42\x61tchOperationResetActivities\x12\x10\n\x08identity\x18\x01 \x01(\t\x12\x0e\n\x04type\x18\x02 \x01(\tH\x00\x12\x13\n\tmatch_all\x18\x03 \x01(\x08H\x00\x12\x16\n\x0ereset_attempts\x18\x04 \x01(\x08\x12\x17\n\x0freset_heartbeat\x18\x05 \x01(\x08\x12\x13\n\x0bkeep_paused\x18\x06 \x01(\x08\x12)\n\x06jitter\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12 \n\x18restore_original_options\x18\x08 \x01(\x08\x42\n\n\x08\x61\x63tivity\"\xf8\x01\n#BatchOperationUpdateActivityOptions\x12\x10\n\x08identity\x18\x01 \x01(\t\x12\x0e\n\x04type\x18\x02 \x01(\tH\x00\x12\x13\n\tmatch_all\x18\x03 \x01(\x08H\x00\x12\x43\n\x10\x61\x63tivity_options\x18\x04 \x01(\x0b\x32).temporal.api.activity.v1.ActivityOptions\x12/\n\x0bupdate_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x18\n\x10restore_original\x18\x06 \x01(\x08\x42\n\n\x08\x61\x63tivityB\x84\x01\n\x18io.temporal.api.batch.v1B\x0cMessageProtoP\x01Z!go.temporal.io/api/batch/v1;batch\xaa\x02\x17Temporalio.Api.Batch.V1\xea\x02\x1aTemporalio::Api::Batch::V1b\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Temporalio module Api @@ -44,6 +29,12 @@ module V1 BatchOperationSignal = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.batch.v1.BatchOperationSignal").msgclass BatchOperationCancellation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.batch.v1.BatchOperationCancellation").msgclass BatchOperationDeletion = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.batch.v1.BatchOperationDeletion").msgclass + BatchOperationReset = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.batch.v1.BatchOperationReset").msgclass + BatchOperationUpdateWorkflowExecutionOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.batch.v1.BatchOperationUpdateWorkflowExecutionOptions").msgclass + BatchOperationUnpauseActivities = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.batch.v1.BatchOperationUnpauseActivities").msgclass + BatchOperationTriggerWorkflowRule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.batch.v1.BatchOperationTriggerWorkflowRule").msgclass + BatchOperationResetActivities = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.batch.v1.BatchOperationResetActivities").msgclass + BatchOperationUpdateActivityOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.batch.v1.BatchOperationUpdateActivityOptions").msgclass end end end diff --git a/lib/gen/temporal/api/callback/v1/message_pb.rb b/lib/gen/temporal/api/callback/v1/message_pb.rb new file mode 100644 index 000000000..736543f75 --- /dev/null +++ b/lib/gen/temporal/api/callback/v1/message_pb.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: temporal/api/callback/v1/message.proto + +require 'google/protobuf' + +require 'google/protobuf/timestamp_pb' +require 'temporal/api/common/v1/message_pb' +require 'temporal/api/enums/v1/common_pb' +require 'temporal/api/failure/v1/message_pb' + + +descriptor_data = "\n&temporal/api/callback/v1/message.proto\x12\x18temporal.api.callback.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a$temporal/api/common/v1/message.proto\x1a\"temporal/api/enums/v1/common.proto\x1a%temporal/api/failure/v1/message.proto\"\x97\x03\n\x0c\x43\x61llbackInfo\x12\x32\n\x08\x63\x61llback\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Callback\x12\x35\n\x11registration_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x33\n\x05state\x18\x03 \x01(\x0e\x32$.temporal.api.enums.v1.CallbackState\x12\x0f\n\x07\x61ttempt\x18\x04 \x01(\x05\x12>\n\x1alast_attempt_complete_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12>\n\x14last_attempt_failure\x18\x06 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12>\n\x1anext_attempt_schedule_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x16\n\x0e\x62locked_reason\x18\x08 \x01(\tB\x93\x01\n\x1bio.temporal.api.callback.v1B\x0cMessageProtoP\x01Z\'go.temporal.io/api/callback/v1;callback\xaa\x02\x1aTemporalio.Api.Callback.V1\xea\x02\x1dTemporalio::Api::Callback::V1b\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) + +module Temporalio + module Api + module Callback + module V1 + CallbackInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.callback.v1.CallbackInfo").msgclass + end + end + end +end diff --git a/lib/gen/temporal/api/command/v1/message_pb.rb b/lib/gen/temporal/api/command/v1/message_pb.rb index 0dd08254f..723d2fd7a 100644 --- a/lib/gen/temporal/api/command/v1/message_pb.rb +++ b/lib/gen/temporal/api/command/v1/message_pb.rb @@ -1,138 +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' +require 'temporal/api/sdk/v1/user_metadata_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 :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" - optional :request_eager_execution, :bool, 12 - 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 - optional :reason, :string, 6 - 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 - optional :header, :message, 7, "temporal.api.common.v1.Header" - 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.ModifyWorkflowPropertiesCommandAttributes" do - optional :upserted_memo, :message, 1, "temporal.api.common.v1.Memo" - 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.ProtocolMessageCommandAttributes" do - optional :message_id, :string, 1 - 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" - optional :protocol_message_command_attributes, :message, 15, "temporal.api.command.v1.ProtocolMessageCommandAttributes" - optional :modify_workflow_properties_command_attributes, :message, 17, "temporal.api.command.v1.ModifyWorkflowPropertiesCommandAttributes" - end - end - end -end + +descriptor_data = "\n%temporal/api/command/v1/message.proto\x12\x17temporal.api.command.v1\x1a\x1egoogle/protobuf/duration.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\x1a\'temporal/api/sdk/v1/user_metadata.proto\"\xb6\x05\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\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<\n\x19schedule_to_close_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12<\n\x19schedule_to_start_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x34\n\x11heartbeat_timeout\x18\n \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x0cretry_policy\x18\x0b \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x1f\n\x17request_eager_execution\x18\x0c \x01(\x08\x12\x1d\n\x15use_workflow_build_id\x18\r \x01(\x08\x12\x32\n\x08priority\x18\x0e \x01(\x0b\x32 .temporal.api.common.v1.PriorityJ\x04\x08\x03\x10\x04\"H\n*RequestCancelActivityTaskCommandAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\"i\n\x1bStartTimerCommandAttributes\x12\x10\n\x08timer_id\x18\x01 \x01(\t\x12\x38\n\x15start_to_fire_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\"^\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\"\xb7\x01\n7RequestCancelExternalWorkflowExecutionCommandAttributes\x12\x15\n\tnamespace\x18\x01 \x01(\tB\x02\x18\x01\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x13\n\x07\x63ontrol\x18\x04 \x01(\tB\x02\x18\x01\x12\x1b\n\x13\x63hild_workflow_only\x18\x05 \x01(\x08\x12\x0e\n\x06reason\x18\x06 \x01(\t\"\xaf\x02\n0SignalExternalWorkflowExecutionCommandAttributes\x12\x15\n\tnamespace\x18\x01 \x01(\tB\x02\x18\x01\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\x13\n\x07\x63ontrol\x18\x05 \x01(\tB\x02\x18\x01\x12\x1b\n\x13\x63hild_workflow_only\x18\x06 \x01(\x08\x12.\n\x06header\x18\x07 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\"v\n/UpsertWorkflowSearchAttributesCommandAttributes\x12\x43\n\x11search_attributes\x18\x01 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\"`\n)ModifyWorkflowPropertiesCommandAttributes\x12\x33\n\rupserted_memo\x18\x01 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\"\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\"\xac\x07\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\x37\n\x14workflow_run_timeout\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16\x62\x61\x63koff_start_interval\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\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\x12\x1c\n\x10inherit_build_id\x18\x0f \x01(\x08\x42\x02\x18\x01\x12[\n\x1binitial_versioning_behavior\x18\x10 \x01(\x0e\x32\x36.temporal.api.enums.v1.ContinueAsNewVersioningBehavior\"\xa1\x07\n,StartChildWorkflowExecutionCommandAttributes\x12\x15\n\tnamespace\x18\x01 \x01(\tB\x02\x18\x01\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=\n\x1aworkflow_execution_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14workflow_run_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\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\x12\x1c\n\x10inherit_build_id\x18\x11 \x01(\x08\x42\x02\x18\x01\x12\x32\n\x08priority\x18\x12 \x01(\x0b\x32 .temporal.api.common.v1.Priority\"6\n ProtocolMessageCommandAttributes\x12\x12\n\nmessage_id\x18\x01 \x01(\t\"\xe3\x03\n\'ScheduleNexusOperationCommandAttributes\x12\x10\n\x08\x65ndpoint\x18\x01 \x01(\t\x12\x0f\n\x07service\x18\x02 \x01(\t\x12\x11\n\toperation\x18\x03 \x01(\t\x12.\n\x05input\x18\x04 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12<\n\x19schedule_to_close_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12g\n\x0cnexus_header\x18\x06 \x03(\x0b\x32Q.temporal.api.command.v1.ScheduleNexusOperationCommandAttributes.NexusHeaderEntry\x12<\n\x19schedule_to_start_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x1a\x32\n\x10NexusHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"J\n,RequestCancelNexusOperationCommandAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\"\xc2\x11\n\x07\x43ommand\x12\x38\n\x0c\x63ommand_type\x18\x01 \x01(\x0e\x32\".temporal.api.enums.v1.CommandType\x12\x39\n\ruser_metadata\x18\xad\x02 \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata\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\x12h\n#protocol_message_command_attributes\x18\x0f \x01(\x0b\x32\x39.temporal.api.command.v1.ProtocolMessageCommandAttributesH\x00\x12{\n-modify_workflow_properties_command_attributes\x18\x11 \x01(\x0b\x32\x42.temporal.api.command.v1.ModifyWorkflowPropertiesCommandAttributesH\x00\x12w\n+schedule_nexus_operation_command_attributes\x18\x12 \x01(\x0b\x32@.temporal.api.command.v1.ScheduleNexusOperationCommandAttributesH\x00\x12\x82\x01\n1request_cancel_nexus_operation_command_attributes\x18\x13 \x01(\x0b\x32\x45.temporal.api.command.v1.RequestCancelNexusOperationCommandAttributesH\x00\x42\x0c\n\nattributesB\x8e\x01\n\x1aio.temporal.api.command.v1B\x0cMessageProtoP\x01Z%go.temporal.io/api/command/v1;command\xaa\x02\x19Temporalio.Api.Command.V1\xea\x02\x1cTemporalio::Api::Command::V1b\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Temporalio module Api @@ -153,6 +37,8 @@ module V1 ContinueAsNewWorkflowExecutionCommandAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributes").msgclass StartChildWorkflowExecutionCommandAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributes").msgclass ProtocolMessageCommandAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.command.v1.ProtocolMessageCommandAttributes").msgclass + ScheduleNexusOperationCommandAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.command.v1.ScheduleNexusOperationCommandAttributes").msgclass + RequestCancelNexusOperationCommandAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.command.v1.RequestCancelNexusOperationCommandAttributes").msgclass Command = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.command.v1.Command").msgclass end end diff --git a/lib/gen/temporal/api/common/v1/message_pb.rb b/lib/gen/temporal/api/common/v1/message_pb.rb index 52c508807..833bd0885 100644 --- a/lib/gen/temporal/api/common/v1/message_pb.rb +++ b/lib/gen/temporal/api/common/v1/message_pb.rb @@ -1,63 +1,20 @@ +# 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 'google/protobuf/empty_pb' require 'temporal/api/enums/v1/common_pb' +require 'temporal/api/enums/v1/event_type_pb' +require 'temporal/api/enums/v1/reset_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 - add_message "temporal.api.common.v1.MeteringMetadata" do - optional :nonfirst_local_activity_execution_attempts, :uint32, 13 - end - add_message "temporal.api.common.v1.WorkerVersionStamp" do - optional :build_id, :string, 1 - optional :bundle_id, :string, 2 - end - add_message "temporal.api.common.v1.WorkerVersionCapabilities" do - optional :build_id, :string, 1 - end - end -end + +descriptor_data = "\n$temporal/api/common/v1/message.proto\x12\x16temporal.api.common.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\"temporal/api/enums/v1/common.proto\x1a&temporal/api/enums/v1/event_type.proto\x1a!temporal/api/enums/v1/reset.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\"\x8a\x02\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\x12Q\n\x11\x65xternal_payloads\x18\x03 \x03(\x0b\x32\x36.temporal.api.common.v1.Payload.ExternalPayloadDetails\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\x1a,\n\x16\x45xternalPayloadDetails\x12\x12\n\nsize_bytes\x18\x01 \x01(\x03\"\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\"\xd1\x01\n\x0bRetryPolicy\x12\x33\n\x10initial_interval\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x1b\n\x13\x62\x61\x63koff_coefficient\x18\x02 \x01(\x01\x12\x33\n\x10maximum_interval\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x18\n\x10maximum_attempts\x18\x04 \x01(\x05\x12!\n\x19non_retryable_error_types\x18\x05 \x03(\t\"F\n\x10MeteringMetadata\x12\x32\n*nonfirst_local_activity_execution_attempts\x18\r \x01(\r\">\n\x12WorkerVersionStamp\x12\x10\n\x08\x62uild_id\x18\x01 \x01(\t\x12\x16\n\x0euse_versioning\x18\x03 \x01(\x08\"e\n\x19WorkerVersionCapabilities\x12\x10\n\x08\x62uild_id\x18\x01 \x01(\t\x12\x16\n\x0euse_versioning\x18\x02 \x01(\x08\x12\x1e\n\x16\x64\x65ployment_series_name\x18\x04 \x01(\t\"\xed\x02\n\x0cResetOptions\x12\x35\n\x13\x66irst_workflow_task\x18\x01 \x01(\x0b\x32\x16.google.protobuf.EmptyH\x00\x12\x34\n\x12last_workflow_task\x18\x02 \x01(\x0b\x32\x16.google.protobuf.EmptyH\x00\x12\x1a\n\x10workflow_task_id\x18\x03 \x01(\x03H\x00\x12\x12\n\x08\x62uild_id\x18\x04 \x01(\tH\x00\x12G\n\x12reset_reapply_type\x18\n \x01(\x0e\x32\'.temporal.api.enums.v1.ResetReapplyTypeB\x02\x18\x01\x12\x18\n\x10\x63urrent_run_only\x18\x0b \x01(\x08\x12S\n\x1breset_reapply_exclude_types\x18\x0c \x03(\x0e\x32..temporal.api.enums.v1.ResetReapplyExcludeTypeB\x08\n\x06target\"\xe4\x02\n\x08\x43\x61llback\x12\x37\n\x05nexus\x18\x02 \x01(\x0b\x32&.temporal.api.common.v1.Callback.NexusH\x00\x12=\n\x08internal\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.Callback.InternalH\x00\x12+\n\x05links\x18\x64 \x03(\x0b\x32\x1c.temporal.api.common.v1.Link\x1a\x87\x01\n\x05Nexus\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x42\n\x06header\x18\x02 \x03(\x0b\x32\x32.temporal.api.common.v1.Callback.Nexus.HeaderEntry\x1a-\n\x0bHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x18\n\x08Internal\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\x42\t\n\x07variantJ\x04\x08\x01\x10\x02\"\xe8\x05\n\x04Link\x12\x44\n\x0eworkflow_event\x18\x01 \x01(\x0b\x32*.temporal.api.common.v1.Link.WorkflowEventH\x00\x12:\n\tbatch_job\x18\x02 \x01(\x0b\x32%.temporal.api.common.v1.Link.BatchJobH\x00\x12\x39\n\x08\x61\x63tivity\x18\x03 \x01(\x0b\x32%.temporal.api.common.v1.Link.ActivityH\x00\x1a\xb7\x03\n\rWorkflowEvent\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\x12N\n\tevent_ref\x18\x64 \x01(\x0b\x32\x39.temporal.api.common.v1.Link.WorkflowEvent.EventReferenceH\x00\x12W\n\x0erequest_id_ref\x18\x65 \x01(\x0b\x32=.temporal.api.common.v1.Link.WorkflowEvent.RequestIdReferenceH\x00\x1aX\n\x0e\x45ventReference\x12\x10\n\x08\x65vent_id\x18\x01 \x01(\x03\x12\x34\n\nevent_type\x18\x02 \x01(\x0e\x32 .temporal.api.enums.v1.EventType\x1a^\n\x12RequestIdReference\x12\x12\n\nrequest_id\x18\x01 \x01(\t\x12\x34\n\nevent_type\x18\x02 \x01(\x0e\x32 .temporal.api.enums.v1.EventTypeB\x0b\n\treference\x1a\x1a\n\x08\x42\x61tchJob\x12\x0e\n\x06job_id\x18\x01 \x01(\t\x1a\x42\n\x08\x41\x63tivity\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\tB\t\n\x07variant\"\'\n\tPrincipal\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\"O\n\x08Priority\x12\x14\n\x0cpriority_key\x18\x01 \x01(\x05\x12\x14\n\x0c\x66\x61irness_key\x18\x02 \x01(\t\x12\x17\n\x0f\x66\x61irness_weight\x18\x03 \x01(\x02\";\n\x0eWorkerSelector\x12\x1d\n\x13worker_instance_key\x18\x01 \x01(\tH\x00\x42\n\n\x08selectorB\x89\x01\n\x19io.temporal.api.common.v1B\x0cMessageProtoP\x01Z#go.temporal.io/api/common/v1;common\xaa\x02\x18Temporalio.Api.Common.V1\xea\x02\x1bTemporalio::Api::Common::V1b\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Temporalio module Api @@ -66,6 +23,7 @@ module V1 DataBlob = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.common.v1.DataBlob").msgclass Payloads = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.common.v1.Payloads").msgclass Payload = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.common.v1.Payload").msgclass + Payload::ExternalPayloadDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.common.v1.Payload.ExternalPayloadDetails").msgclass SearchAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.common.v1.SearchAttributes").msgclass Memo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.common.v1.Memo").msgclass Header = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.common.v1.Header").msgclass @@ -76,6 +34,19 @@ module V1 MeteringMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.common.v1.MeteringMetadata").msgclass WorkerVersionStamp = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.common.v1.WorkerVersionStamp").msgclass WorkerVersionCapabilities = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.common.v1.WorkerVersionCapabilities").msgclass + ResetOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.common.v1.ResetOptions").msgclass + Callback = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.common.v1.Callback").msgclass + Callback::Nexus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.common.v1.Callback.Nexus").msgclass + Callback::Internal = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.common.v1.Callback.Internal").msgclass + Link = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.common.v1.Link").msgclass + Link::WorkflowEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.common.v1.Link.WorkflowEvent").msgclass + Link::WorkflowEvent::EventReference = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.common.v1.Link.WorkflowEvent.EventReference").msgclass + Link::WorkflowEvent::RequestIdReference = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.common.v1.Link.WorkflowEvent.RequestIdReference").msgclass + Link::BatchJob = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.common.v1.Link.BatchJob").msgclass + Link::Activity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.common.v1.Link.Activity").msgclass + Principal = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.common.v1.Principal").msgclass + Priority = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.common.v1.Priority").msgclass + WorkerSelector = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.common.v1.WorkerSelector").msgclass end end end diff --git a/lib/gen/temporal/api/compute/v1/config_pb.rb b/lib/gen/temporal/api/compute/v1/config_pb.rb new file mode 100644 index 000000000..686b080eb --- /dev/null +++ b/lib/gen/temporal/api/compute/v1/config_pb.rb @@ -0,0 +1,30 @@ +# frozen_string_literal: true +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: temporal/api/compute/v1/config.proto + +require 'google/protobuf' + +require 'temporal/api/compute/v1/provider_pb' +require 'temporal/api/compute/v1/scaler_pb' +require 'temporal/api/enums/v1/task_queue_pb' +require 'google/protobuf/field_mask_pb' + + +descriptor_data = "\n$temporal/api/compute/v1/config.proto\x12\x17temporal.api.compute.v1\x1a&temporal/api/compute/v1/provider.proto\x1a$temporal/api/compute/v1/scaler.proto\x1a&temporal/api/enums/v1/task_queue.proto\x1a google/protobuf/field_mask.proto\"\xcf\x01\n\x19\x43omputeConfigScalingGroup\x12>\n\x10task_queue_types\x18\x01 \x03(\x0e\x32$.temporal.api.enums.v1.TaskQueueType\x12:\n\x08provider\x18\x03 \x01(\x0b\x32(.temporal.api.compute.v1.ComputeProvider\x12\x36\n\x06scaler\x18\x04 \x01(\x0b\x32&.temporal.api.compute.v1.ComputeScaler\"\xcc\x01\n\rComputeConfig\x12Q\n\x0escaling_groups\x18\x01 \x03(\x0b\x32\x39.temporal.api.compute.v1.ComputeConfig.ScalingGroupsEntry\x1ah\n\x12ScalingGroupsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x41\n\x05value\x18\x02 \x01(\x0b\x32\x32.temporal.api.compute.v1.ComputeConfigScalingGroup:\x02\x38\x01\"\x9d\x01\n\x1f\x43omputeConfigScalingGroupUpdate\x12I\n\rscaling_group\x18\x01 \x01(\x0b\x32\x32.temporal.api.compute.v1.ComputeConfigScalingGroup\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"\xe1\x01\n\x14\x43omputeConfigSummary\x12X\n\x0escaling_groups\x18\x01 \x03(\x0b\x32@.temporal.api.compute.v1.ComputeConfigSummary.ScalingGroupsEntry\x1ao\n\x12ScalingGroupsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12H\n\x05value\x18\x02 \x01(\x0b\x32\x39.temporal.api.compute.v1.ComputeConfigScalingGroupSummary:\x02\x38\x01\"y\n ComputeConfigScalingGroupSummary\x12>\n\x10task_queue_types\x18\x01 \x03(\x0e\x32$.temporal.api.enums.v1.TaskQueueType\x12\x15\n\rprovider_type\x18\x02 \x01(\tB\x8d\x01\n\x1aio.temporal.api.compute.v1B\x0b\x43onfigProtoP\x01Z%go.temporal.io/api/compute/v1;compute\xaa\x02\x19Temporalio.Api.Compute.V1\xea\x02\x1cTemporalio::Api::Compute::V1b\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) + +module Temporalio + module Api + module Compute + module V1 + ComputeConfigScalingGroup = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.compute.v1.ComputeConfigScalingGroup").msgclass + ComputeConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.compute.v1.ComputeConfig").msgclass + ComputeConfigScalingGroupUpdate = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.compute.v1.ComputeConfigScalingGroupUpdate").msgclass + ComputeConfigSummary = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.compute.v1.ComputeConfigSummary").msgclass + ComputeConfigScalingGroupSummary = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.compute.v1.ComputeConfigScalingGroupSummary").msgclass + end + end + end +end diff --git a/lib/gen/temporal/api/compute/v1/provider_pb.rb b/lib/gen/temporal/api/compute/v1/provider_pb.rb new file mode 100644 index 000000000..05b79235f --- /dev/null +++ b/lib/gen/temporal/api/compute/v1/provider_pb.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: temporal/api/compute/v1/provider.proto + +require 'google/protobuf' + +require 'temporal/api/common/v1/message_pb' + + +descriptor_data = "\n&temporal/api/compute/v1/provider.proto\x12\x17temporal.api.compute.v1\x1a$temporal/api/common/v1/message.proto\"i\n\x0f\x43omputeProvider\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x30\n\x07\x64\x65tails\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\x16\n\x0enexus_endpoint\x18\n \x01(\tB\x8f\x01\n\x1aio.temporal.api.compute.v1B\rProviderProtoP\x01Z%go.temporal.io/api/compute/v1;compute\xaa\x02\x19Temporalio.Api.Compute.V1\xea\x02\x1cTemporalio::Api::Compute::V1b\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) + +module Temporalio + module Api + module Compute + module V1 + ComputeProvider = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.compute.v1.ComputeProvider").msgclass + end + end + end +end diff --git a/lib/gen/temporal/api/compute/v1/scaler_pb.rb b/lib/gen/temporal/api/compute/v1/scaler_pb.rb new file mode 100644 index 000000000..a6d554f7c --- /dev/null +++ b/lib/gen/temporal/api/compute/v1/scaler_pb.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: temporal/api/compute/v1/scaler.proto + +require 'google/protobuf' + +require 'temporal/api/common/v1/message_pb' + + +descriptor_data = "\n$temporal/api/compute/v1/scaler.proto\x12\x17temporal.api.compute.v1\x1a$temporal/api/common/v1/message.proto\"O\n\rComputeScaler\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x30\n\x07\x64\x65tails\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.PayloadB\x8d\x01\n\x1aio.temporal.api.compute.v1B\x0bScalerProtoP\x01Z%go.temporal.io/api/compute/v1;compute\xaa\x02\x19Temporalio.Api.Compute.V1\xea\x02\x1cTemporalio::Api::Compute::V1b\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) + +module Temporalio + module Api + module Compute + module V1 + ComputeScaler = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.compute.v1.ComputeScaler").msgclass + end + end + end +end diff --git a/lib/gen/temporal/api/deployment/v1/message_pb.rb b/lib/gen/temporal/api/deployment/v1/message_pb.rb new file mode 100644 index 000000000..df4a4d2cb --- /dev/null +++ b/lib/gen/temporal/api/deployment/v1/message_pb.rb @@ -0,0 +1,42 @@ +# frozen_string_literal: true +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: temporal/api/deployment/v1/message.proto + +require 'google/protobuf' + +require 'google/protobuf/timestamp_pb' +require 'temporal/api/enums/v1/workflow_pb' +require 'temporal/api/enums/v1/deployment_pb' +require 'temporal/api/enums/v1/task_queue_pb' +require 'temporal/api/common/v1/message_pb' +require 'temporal/api/compute/v1/config_pb' + + +descriptor_data = "\n(temporal/api/deployment/v1/message.proto\x12\x1atemporal.api.deployment.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a&temporal/api/enums/v1/deployment.proto\x1a&temporal/api/enums/v1/task_queue.proto\x1a$temporal/api/common/v1/message.proto\x1a$temporal/api/compute/v1/config.proto\"\x91\x01\n\x17WorkerDeploymentOptions\x12\x17\n\x0f\x64\x65ployment_name\x18\x01 \x01(\t\x12\x10\n\x08\x62uild_id\x18\x02 \x01(\t\x12K\n\x16worker_versioning_mode\x18\x03 \x01(\x0e\x32+.temporal.api.enums.v1.WorkerVersioningMode\"3\n\nDeployment\x12\x13\n\x0bseries_name\x18\x01 \x01(\t\x12\x10\n\x08\x62uild_id\x18\x02 \x01(\t\"\x8e\x04\n\x0e\x44\x65ploymentInfo\x12:\n\ndeployment\x18\x01 \x01(\x0b\x32&.temporal.api.deployment.v1.Deployment\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12R\n\x10task_queue_infos\x18\x03 \x03(\x0b\x32\x38.temporal.api.deployment.v1.DeploymentInfo.TaskQueueInfo\x12J\n\x08metadata\x18\x04 \x03(\x0b\x32\x38.temporal.api.deployment.v1.DeploymentInfo.MetadataEntry\x12\x12\n\nis_current\x18\x05 \x01(\x08\x1aP\n\rMetadataEntry\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\x1a\x88\x01\n\rTaskQueueInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x32\n\x04type\x18\x02 \x01(\x0e\x32$.temporal.api.enums.v1.TaskQueueType\x12\x35\n\x11\x66irst_poller_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xea\x01\n\x18UpdateDeploymentMetadata\x12_\n\x0eupsert_entries\x18\x01 \x03(\x0b\x32G.temporal.api.deployment.v1.UpdateDeploymentMetadata.UpsertEntriesEntry\x12\x16\n\x0eremove_entries\x18\x02 \x03(\t\x1aU\n\x12UpsertEntriesEntry\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\"\x95\x01\n\x12\x44\x65ploymentListInfo\x12:\n\ndeployment\x18\x01 \x01(\x0b\x32&.temporal.api.deployment.v1.Deployment\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\nis_current\x18\x03 \x01(\x08\"\xad\x08\n\x1bWorkerDeploymentVersionInfo\x12\x13\n\x07version\x18\x01 \x01(\tB\x02\x18\x01\x12\x44\n\x06status\x18\x0e \x01(\x0e\x32\x34.temporal.api.enums.v1.WorkerDeploymentVersionStatus\x12O\n\x12\x64\x65ployment_version\x18\x0b \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x17\n\x0f\x64\x65ployment_name\x18\x02 \x01(\t\x12/\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x38\n\x14routing_changed_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12\x63urrent_since_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12ramping_since_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x39\n\x15\x66irst_activation_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x11last_current_time\x18\x0f \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12:\n\x16last_deactivation_time\x18\r \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x17\n\x0framp_percentage\x18\x07 \x01(\x02\x12\x66\n\x10task_queue_infos\x18\x08 \x03(\x0b\x32L.temporal.api.deployment.v1.WorkerDeploymentVersionInfo.VersionTaskQueueInfo\x12\x46\n\rdrainage_info\x18\t \x01(\x0b\x32/.temporal.api.deployment.v1.VersionDrainageInfo\x12=\n\x08metadata\x18\n \x01(\x0b\x32+.temporal.api.deployment.v1.VersionMetadata\x12>\n\x0e\x63ompute_config\x18\x10 \x01(\x0b\x32&.temporal.api.compute.v1.ComputeConfig\x12\x1e\n\x16last_modifier_identity\x18\x11 \x01(\t\x1aX\n\x14VersionTaskQueueInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x32\n\x04type\x18\x02 \x01(\x0e\x32$.temporal.api.enums.v1.TaskQueueType\"\xc1\x01\n\x13VersionDrainageInfo\x12<\n\x06status\x18\x01 \x01(\x0e\x32,.temporal.api.enums.v1.VersionDrainageStatus\x12\x35\n\x11last_changed_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x11last_checked_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xc1\t\n\x14WorkerDeploymentInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12j\n\x11version_summaries\x18\x02 \x03(\x0b\x32O.temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary\x12/\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x41\n\x0erouting_config\x18\x04 \x01(\x0b\x32).temporal.api.deployment.v1.RoutingConfig\x12\x1e\n\x16last_modifier_identity\x18\x05 \x01(\t\x12\x18\n\x10manager_identity\x18\x06 \x01(\t\x12T\n\x1brouting_config_update_state\x18\x07 \x01(\x0e\x32/.temporal.api.enums.v1.RoutingConfigUpdateState\x1a\xaa\x06\n\x1eWorkerDeploymentVersionSummary\x12\x13\n\x07version\x18\x01 \x01(\tB\x02\x18\x01\x12\x44\n\x06status\x18\x0b \x01(\x0e\x32\x34.temporal.api.enums.v1.WorkerDeploymentVersionStatus\x12O\n\x12\x64\x65ployment_version\x18\x04 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x45\n\x0f\x64rainage_status\x18\x03 \x01(\x0e\x32,.temporal.api.enums.v1.VersionDrainageStatus\x12\x46\n\rdrainage_info\x18\x05 \x01(\x0b\x32/.temporal.api.deployment.v1.VersionDrainageInfo\x12\x36\n\x12\x63urrent_since_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12ramping_since_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x37\n\x13routing_update_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x39\n\x15\x66irst_activation_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x11last_current_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12:\n\x16last_deactivation_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x45\n\x0e\x63ompute_config\x18\r \x01(\x0b\x32-.temporal.api.compute.v1.ComputeConfigSummary\"D\n\x17WorkerDeploymentVersion\x12\x10\n\x08\x62uild_id\x18\x01 \x01(\t\x12\x17\n\x0f\x64\x65ployment_name\x18\x02 \x01(\t\"\xad\x01\n\x0fVersionMetadata\x12I\n\x07\x65ntries\x18\x01 \x03(\x0b\x32\x38.temporal.api.deployment.v1.VersionMetadata.EntriesEntry\x1aO\n\x0c\x45ntriesEntry\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\"\x89\x04\n\rRoutingConfig\x12W\n\x1a\x63urrent_deployment_version\x18\x07 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x1b\n\x0f\x63urrent_version\x18\x01 \x01(\tB\x02\x18\x01\x12W\n\x1aramping_deployment_version\x18\t \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x1b\n\x0framping_version\x18\x02 \x01(\tB\x02\x18\x01\x12\"\n\x1aramping_version_percentage\x18\x03 \x01(\x02\x12@\n\x1c\x63urrent_version_changed_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12@\n\x1cramping_version_changed_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12K\n\'ramping_version_percentage_changed_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x17\n\x0frevision_number\x18\n \x01(\x03\"\x8a\x02\n\x18InheritedAutoUpgradeInfo\x12V\n\x19source_deployment_version\x18\x01 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12)\n!source_deployment_revision_number\x18\x02 \x01(\x03\x12k\n+continue_as_new_initial_versioning_behavior\x18\x03 \x01(\x0e\x32\x36.temporal.api.enums.v1.ContinueAsNewVersioningBehaviorB\x9d\x01\n\x1dio.temporal.api.deployment.v1B\x0cMessageProtoP\x01Z+go.temporal.io/api/deployment/v1;deployment\xaa\x02\x1cTemporalio.Api.Deployment.V1\xea\x02\x1fTemporalio::Api::Deployment::V1b\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) + +module Temporalio + module Api + module Deployment + module V1 + WorkerDeploymentOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.deployment.v1.WorkerDeploymentOptions").msgclass + Deployment = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.deployment.v1.Deployment").msgclass + DeploymentInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.deployment.v1.DeploymentInfo").msgclass + DeploymentInfo::TaskQueueInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.deployment.v1.DeploymentInfo.TaskQueueInfo").msgclass + UpdateDeploymentMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.deployment.v1.UpdateDeploymentMetadata").msgclass + DeploymentListInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.deployment.v1.DeploymentListInfo").msgclass + WorkerDeploymentVersionInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.deployment.v1.WorkerDeploymentVersionInfo").msgclass + WorkerDeploymentVersionInfo::VersionTaskQueueInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.deployment.v1.WorkerDeploymentVersionInfo.VersionTaskQueueInfo").msgclass + VersionDrainageInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.deployment.v1.VersionDrainageInfo").msgclass + WorkerDeploymentInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.deployment.v1.WorkerDeploymentInfo").msgclass + WorkerDeploymentInfo::WorkerDeploymentVersionSummary = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary").msgclass + WorkerDeploymentVersion = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.deployment.v1.WorkerDeploymentVersion").msgclass + VersionMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.deployment.v1.VersionMetadata").msgclass + RoutingConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.deployment.v1.RoutingConfig").msgclass + InheritedAutoUpgradeInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.deployment.v1.InheritedAutoUpgradeInfo").msgclass + end + end + end +end diff --git a/lib/gen/temporal/api/enums/v1/activity_pb.rb b/lib/gen/temporal/api/enums/v1/activity_pb.rb new file mode 100644 index 000000000..83c5c457f --- /dev/null +++ b/lib/gen/temporal/api/enums/v1/activity_pb.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: temporal/api/enums/v1/activity.proto + +require 'google/protobuf' + + +descriptor_data = "\n$temporal/api/enums/v1/activity.proto\x12\x15temporal.api.enums.v1*\xb5\x02\n\x17\x41\x63tivityExecutionStatus\x12)\n%ACTIVITY_EXECUTION_STATUS_UNSPECIFIED\x10\x00\x12%\n!ACTIVITY_EXECUTION_STATUS_RUNNING\x10\x01\x12\'\n#ACTIVITY_EXECUTION_STATUS_COMPLETED\x10\x02\x12$\n ACTIVITY_EXECUTION_STATUS_FAILED\x10\x03\x12&\n\"ACTIVITY_EXECUTION_STATUS_CANCELED\x10\x04\x12(\n$ACTIVITY_EXECUTION_STATUS_TERMINATED\x10\x05\x12\'\n#ACTIVITY_EXECUTION_STATUS_TIMED_OUT\x10\x06*\xd8\x01\n\x15\x41\x63tivityIdReusePolicy\x12(\n$ACTIVITY_ID_REUSE_POLICY_UNSPECIFIED\x10\x00\x12,\n(ACTIVITY_ID_REUSE_POLICY_ALLOW_DUPLICATE\x10\x01\x12\x38\n4ACTIVITY_ID_REUSE_POLICY_ALLOW_DUPLICATE_FAILED_ONLY\x10\x02\x12-\n)ACTIVITY_ID_REUSE_POLICY_REJECT_DUPLICATE\x10\x03*\x9b\x01\n\x18\x41\x63tivityIdConflictPolicy\x12+\n\'ACTIVITY_ID_CONFLICT_POLICY_UNSPECIFIED\x10\x00\x12$\n ACTIVITY_ID_CONFLICT_POLICY_FAIL\x10\x01\x12,\n(ACTIVITY_ID_CONFLICT_POLICY_USE_EXISTING\x10\x02\x42\x85\x01\n\x18io.temporal.api.enums.v1B\rActivityProtoP\x01Z!go.temporal.io/api/enums/v1;enums\xaa\x02\x17Temporalio.Api.Enums.V1\xea\x02\x1aTemporalio::Api::Enums::V1b\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) + +module Temporalio + module Api + module Enums + module V1 + ActivityExecutionStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.enums.v1.ActivityExecutionStatus").enummodule + ActivityIdReusePolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.enums.v1.ActivityIdReusePolicy").enummodule + ActivityIdConflictPolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.enums.v1.ActivityIdConflictPolicy").enummodule + end + end + end +end diff --git a/lib/gen/temporal/api/enums/v1/batch_operation_pb.rb b/lib/gen/temporal/api/enums/v1/batch_operation_pb.rb index aff7e54f7..50afbc5be 100644 --- a/lib/gen/temporal/api/enums/v1/batch_operation_pb.rb +++ b/lib/gen/temporal/api/enums/v1/batch_operation_pb.rb @@ -1,25 +1,14 @@ +# frozen_string_literal: true # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/enums/v1/batch_operation.proto require 'google/protobuf' -Google::Protobuf::DescriptorPool.generated_pool.build do - add_file("temporal/api/enums/v1/batch_operation.proto", :syntax => :proto3) do - add_enum "temporal.api.enums.v1.BatchOperationType" do - value :BATCH_OPERATION_TYPE_UNSPECIFIED, 0 - value :BATCH_OPERATION_TYPE_TERMINATE, 1 - value :BATCH_OPERATION_TYPE_CANCEL, 2 - value :BATCH_OPERATION_TYPE_SIGNAL, 3 - value :BATCH_OPERATION_TYPE_DELETE, 4 - end - add_enum "temporal.api.enums.v1.BatchOperationState" do - value :BATCH_OPERATION_STATE_UNSPECIFIED, 0 - value :BATCH_OPERATION_STATE_RUNNING, 1 - value :BATCH_OPERATION_STATE_COMPLETED, 2 - value :BATCH_OPERATION_STATE_FAILED, 3 - end - end -end + +descriptor_data = "\n+temporal/api/enums/v1/batch_operation.proto\x12\x15temporal.api.enums.v1*\x9a\x03\n\x12\x42\x61tchOperationType\x12$\n BATCH_OPERATION_TYPE_UNSPECIFIED\x10\x00\x12\"\n\x1e\x42\x41TCH_OPERATION_TYPE_TERMINATE\x10\x01\x12\x1f\n\x1b\x42\x41TCH_OPERATION_TYPE_CANCEL\x10\x02\x12\x1f\n\x1b\x42\x41TCH_OPERATION_TYPE_SIGNAL\x10\x03\x12\x1f\n\x1b\x42\x41TCH_OPERATION_TYPE_DELETE\x10\x04\x12\x1e\n\x1a\x42\x41TCH_OPERATION_TYPE_RESET\x10\x05\x12\x31\n-BATCH_OPERATION_TYPE_UPDATE_EXECUTION_OPTIONS\x10\x06\x12)\n%BATCH_OPERATION_TYPE_UNPAUSE_ACTIVITY\x10\x07\x12\x30\n,BATCH_OPERATION_TYPE_UPDATE_ACTIVITY_OPTIONS\x10\x08\x12\'\n#BATCH_OPERATION_TYPE_RESET_ACTIVITY\x10\t*\xa6\x01\n\x13\x42\x61tchOperationState\x12%\n!BATCH_OPERATION_STATE_UNSPECIFIED\x10\x00\x12!\n\x1d\x42\x41TCH_OPERATION_STATE_RUNNING\x10\x01\x12#\n\x1f\x42\x41TCH_OPERATION_STATE_COMPLETED\x10\x02\x12 \n\x1c\x42\x41TCH_OPERATION_STATE_FAILED\x10\x03\x42\x8b\x01\n\x18io.temporal.api.enums.v1B\x13\x42\x61tchOperationProtoP\x01Z!go.temporal.io/api/enums/v1;enums\xaa\x02\x17Temporalio.Api.Enums.V1\xea\x02\x1aTemporalio::Api::Enums::V1b\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Temporalio 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 fc4270ea8..13d864768 100644 --- a/lib/gen/temporal/api/enums/v1/command_type_pb.rb +++ b/lib/gen/temporal/api/enums/v1/command_type_pb.rb @@ -1,30 +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 - value :COMMAND_TYPE_PROTOCOL_MESSAGE, 14 - value :COMMAND_TYPE_MODIFY_WORKFLOW_PROPERTIES, 16 - end - end -end + +descriptor_data = "\n(temporal/api/enums/v1/command_type.proto\x12\x15temporal.api.enums.v1*\x9c\x06\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\r\x12!\n\x1d\x43OMMAND_TYPE_PROTOCOL_MESSAGE\x10\x0e\x12+\n\'COMMAND_TYPE_MODIFY_WORKFLOW_PROPERTIES\x10\x10\x12)\n%COMMAND_TYPE_SCHEDULE_NEXUS_OPERATION\x10\x11\x12/\n+COMMAND_TYPE_REQUEST_CANCEL_NEXUS_OPERATION\x10\x12\x42\x88\x01\n\x18io.temporal.api.enums.v1B\x10\x43ommandTypeProtoP\x01Z!go.temporal.io/api/enums/v1;enums\xaa\x02\x17Temporalio.Api.Enums.V1\xea\x02\x1aTemporalio::Api::Enums::V1b\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Temporalio 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 56c536714..9ddff21da 100644 --- a/lib/gen/temporal/api/enums/v1/common_pb.rb +++ b/lib/gen/temporal/api/enums/v1/common_pb.rb @@ -1,33 +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_TEXT, 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 - value :INDEXED_VALUE_TYPE_KEYWORD_LIST, 7 - 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*\x91\x02\n\x10IndexedValueType\x12\"\n\x1eINDEXED_VALUE_TYPE_UNSPECIFIED\x10\x00\x12\x1b\n\x17INDEXED_VALUE_TYPE_TEXT\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\x12#\n\x1fINDEXED_VALUE_TYPE_KEYWORD_LIST\x10\x07*^\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*\xde\x01\n\rCallbackState\x12\x1e\n\x1a\x43\x41LLBACK_STATE_UNSPECIFIED\x10\x00\x12\x1a\n\x16\x43\x41LLBACK_STATE_STANDBY\x10\x01\x12\x1c\n\x18\x43\x41LLBACK_STATE_SCHEDULED\x10\x02\x12\x1e\n\x1a\x43\x41LLBACK_STATE_BACKING_OFF\x10\x03\x12\x19\n\x15\x43\x41LLBACK_STATE_FAILED\x10\x04\x12\x1c\n\x18\x43\x41LLBACK_STATE_SUCCEEDED\x10\x05\x12\x1a\n\x16\x43\x41LLBACK_STATE_BLOCKED\x10\x06*\xfd\x01\n\x1aPendingNexusOperationState\x12-\n)PENDING_NEXUS_OPERATION_STATE_UNSPECIFIED\x10\x00\x12+\n\'PENDING_NEXUS_OPERATION_STATE_SCHEDULED\x10\x01\x12-\n)PENDING_NEXUS_OPERATION_STATE_BACKING_OFF\x10\x02\x12)\n%PENDING_NEXUS_OPERATION_STATE_STARTED\x10\x03\x12)\n%PENDING_NEXUS_OPERATION_STATE_BLOCKED\x10\x04*\xfe\x02\n\x1fNexusOperationCancellationState\x12\x32\n.NEXUS_OPERATION_CANCELLATION_STATE_UNSPECIFIED\x10\x00\x12\x30\n,NEXUS_OPERATION_CANCELLATION_STATE_SCHEDULED\x10\x01\x12\x32\n.NEXUS_OPERATION_CANCELLATION_STATE_BACKING_OFF\x10\x02\x12\x30\n,NEXUS_OPERATION_CANCELLATION_STATE_SUCCEEDED\x10\x03\x12-\n)NEXUS_OPERATION_CANCELLATION_STATE_FAILED\x10\x04\x12\x30\n,NEXUS_OPERATION_CANCELLATION_STATE_TIMED_OUT\x10\x05\x12.\n*NEXUS_OPERATION_CANCELLATION_STATE_BLOCKED\x10\x06*\x97\x01\n\x17WorkflowRuleActionScope\x12*\n&WORKFLOW_RULE_ACTION_SCOPE_UNSPECIFIED\x10\x00\x12\'\n#WORKFLOW_RULE_ACTION_SCOPE_WORKFLOW\x10\x01\x12\'\n#WORKFLOW_RULE_ACTION_SCOPE_ACTIVITY\x10\x02*m\n\x18\x41pplicationErrorCategory\x12*\n&APPLICATION_ERROR_CATEGORY_UNSPECIFIED\x10\x00\x12%\n!APPLICATION_ERROR_CATEGORY_BENIGN\x10\x01*\x85\x01\n\x0cWorkerStatus\x12\x1d\n\x19WORKER_STATUS_UNSPECIFIED\x10\x00\x12\x19\n\x15WORKER_STATUS_RUNNING\x10\x01\x12\x1f\n\x1bWORKER_STATUS_SHUTTING_DOWN\x10\x02\x12\x1a\n\x16WORKER_STATUS_SHUTDOWN\x10\x03\x42\x83\x01\n\x18io.temporal.api.enums.v1B\x0b\x43ommonProtoP\x01Z!go.temporal.io/api/enums/v1;enums\xaa\x02\x17Temporalio.Api.Enums.V1\xea\x02\x1aTemporalio::Api::Enums::V1b\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Temporalio module Api @@ -36,6 +17,12 @@ module V1 EncodingType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.enums.v1.EncodingType").enummodule IndexedValueType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.enums.v1.IndexedValueType").enummodule Severity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.enums.v1.Severity").enummodule + CallbackState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.enums.v1.CallbackState").enummodule + PendingNexusOperationState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.enums.v1.PendingNexusOperationState").enummodule + NexusOperationCancellationState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.enums.v1.NexusOperationCancellationState").enummodule + WorkflowRuleActionScope = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.enums.v1.WorkflowRuleActionScope").enummodule + ApplicationErrorCategory = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.enums.v1.ApplicationErrorCategory").enummodule + WorkerStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.enums.v1.WorkerStatus").enummodule end end end diff --git a/lib/gen/temporal/api/enums/v1/deployment_pb.rb b/lib/gen/temporal/api/enums/v1/deployment_pb.rb new file mode 100644 index 000000000..bdd6989b4 --- /dev/null +++ b/lib/gen/temporal/api/enums/v1/deployment_pb.rb @@ -0,0 +1,24 @@ +# frozen_string_literal: true +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: temporal/api/enums/v1/deployment.proto + +require 'google/protobuf' + + +descriptor_data = "\n&temporal/api/enums/v1/deployment.proto\x12\x15temporal.api.enums.v1*\xc4\x01\n\x16\x44\x65ploymentReachability\x12\'\n#DEPLOYMENT_REACHABILITY_UNSPECIFIED\x10\x00\x12%\n!DEPLOYMENT_REACHABILITY_REACHABLE\x10\x01\x12\x31\n-DEPLOYMENT_REACHABILITY_CLOSED_WORKFLOWS_ONLY\x10\x02\x12\'\n#DEPLOYMENT_REACHABILITY_UNREACHABLE\x10\x03*\x8b\x01\n\x15VersionDrainageStatus\x12\'\n#VERSION_DRAINAGE_STATUS_UNSPECIFIED\x10\x00\x12$\n VERSION_DRAINAGE_STATUS_DRAINING\x10\x01\x12#\n\x1fVERSION_DRAINAGE_STATUS_DRAINED\x10\x02*\x8c\x01\n\x14WorkerVersioningMode\x12&\n\"WORKER_VERSIONING_MODE_UNSPECIFIED\x10\x00\x12&\n\"WORKER_VERSIONING_MODE_UNVERSIONED\x10\x01\x12$\n WORKER_VERSIONING_MODE_VERSIONED\x10\x02*\xe7\x02\n\x1dWorkerDeploymentVersionStatus\x12\x30\n,WORKER_DEPLOYMENT_VERSION_STATUS_UNSPECIFIED\x10\x00\x12-\n)WORKER_DEPLOYMENT_VERSION_STATUS_INACTIVE\x10\x01\x12,\n(WORKER_DEPLOYMENT_VERSION_STATUS_CURRENT\x10\x02\x12,\n(WORKER_DEPLOYMENT_VERSION_STATUS_RAMPING\x10\x03\x12-\n)WORKER_DEPLOYMENT_VERSION_STATUS_DRAINING\x10\x04\x12,\n(WORKER_DEPLOYMENT_VERSION_STATUS_DRAINED\x10\x05\x12,\n(WORKER_DEPLOYMENT_VERSION_STATUS_CREATED\x10\x06\x42\x87\x01\n\x18io.temporal.api.enums.v1B\x0f\x44\x65ploymentProtoP\x01Z!go.temporal.io/api/enums/v1;enums\xaa\x02\x17Temporalio.Api.Enums.V1\xea\x02\x1aTemporalio::Api::Enums::V1b\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) + +module Temporalio + module Api + module Enums + module V1 + DeploymentReachability = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.enums.v1.DeploymentReachability").enummodule + VersionDrainageStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.enums.v1.VersionDrainageStatus").enummodule + WorkerVersioningMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.enums.v1.WorkerVersioningMode").enummodule + WorkerDeploymentVersionStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.enums.v1.WorkerDeploymentVersionStatus").enummodule + end + end + end +end 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 b18c13c65..70262d99f 100644 --- a/lib/gen/temporal/api/enums/v1/event_type_pb.rb +++ b/lib/gen/temporal/api/enums/v1/event_type_pb.rb @@ -1,61 +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 - value :EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_ACCEPTED, 41 - value :EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_REJECTED, 42 - value :EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_COMPLETED, 43 - value :EVENT_TYPE_WORKFLOW_PROPERTIES_MODIFIED_EXTERNALLY, 44 - value :EVENT_TYPE_ACTIVITY_PROPERTIES_MODIFIED_EXTERNALLY, 45 - value :EVENT_TYPE_WORKFLOW_PROPERTIES_MODIFIED, 46 - end - end -end + +descriptor_data = "\n&temporal/api/enums/v1/event_type.proto\x12\x15temporal.api.enums.v1*\x9e\x16\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 - value :WORKFLOW_TASK_FAILED_CAUSE_NON_DETERMINISTIC_ERROR, 24 - value :WORKFLOW_TASK_FAILED_CAUSE_BAD_MODIFY_WORKFLOW_PROPERTIES_ATTRIBUTES, 25 - value :WORKFLOW_TASK_FAILED_CAUSE_PENDING_CHILD_WORKFLOWS_LIMIT_EXCEEDED, 26 - value :WORKFLOW_TASK_FAILED_CAUSE_PENDING_ACTIVITIES_LIMIT_EXCEEDED, 27 - value :WORKFLOW_TASK_FAILED_CAUSE_PENDING_SIGNALS_LIMIT_EXCEEDED, 28 - value :WORKFLOW_TASK_FAILED_CAUSE_PENDING_REQUEST_CANCEL_LIMIT_EXCEEDED, 29 - value :WORKFLOW_TASK_FAILED_CAUSE_BAD_UPDATE_WORKFLOW_EXECUTION_MESSAGE, 30 - value :WORKFLOW_TASK_FAILED_CAUSE_UNHANDLED_UPDATE, 31 - 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 - value :START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_NAMESPACE_NOT_FOUND, 2 - 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 - value :CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_NAMESPACE_NOT_FOUND, 2 - 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 - value :SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_NAMESPACE_NOT_FOUND, 2 - value :SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_SIGNAL_COUNT_LIMIT_EXCEEDED, 3 - end - add_enum "temporal.api.enums.v1.ResourceExhaustedCause" do - value :RESOURCE_EXHAUSTED_CAUSE_UNSPECIFIED, 0 - value :RESOURCE_EXHAUSTED_CAUSE_RPS_LIMIT, 1 - value :RESOURCE_EXHAUSTED_CAUSE_CONCURRENT_LIMIT, 2 - value :RESOURCE_EXHAUSTED_CAUSE_SYSTEM_OVERLOADED, 3 - value :RESOURCE_EXHAUSTED_CAUSE_PERSISTENCE_LIMIT, 4 - end - end -end + +descriptor_data = "\n(temporal/api/enums/v1/failed_cause.proto\x12\x15temporal.api.enums.v1*\xd8\x12\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 - add_enum "temporal.api.enums.v1.ReplicationState" do - value :REPLICATION_STATE_UNSPECIFIED, 0 - value :REPLICATION_STATE_NORMAL, 1 - value :REPLICATION_STATE_HANDOVER, 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*s\n\x10ReplicationState\x12!\n\x1dREPLICATION_STATE_UNSPECIFIED\x10\x00\x12\x1c\n\x18REPLICATION_STATE_NORMAL\x10\x01\x12\x1e\n\x1aREPLICATION_STATE_HANDOVER\x10\x02\x42\x86\x01\n\x18io.temporal.api.enums.v1B\x0eNamespaceProtoP\x01Z!go.temporal.io/api/enums/v1;enums\xaa\x02\x17Temporalio.Api.Enums.V1\xea\x02\x1aTemporalio::Api::Enums::V1b\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Temporalio module Api diff --git a/lib/gen/temporal/api/enums/v1/nexus_pb.rb b/lib/gen/temporal/api/enums/v1/nexus_pb.rb new file mode 100644 index 000000000..e6235dc73 --- /dev/null +++ b/lib/gen/temporal/api/enums/v1/nexus_pb.rb @@ -0,0 +1,21 @@ +# frozen_string_literal: true +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: temporal/api/enums/v1/nexus.proto + +require 'google/protobuf' + + +descriptor_data = "\n!temporal/api/enums/v1/nexus.proto\x12\x15temporal.api.enums.v1*\xbc\x01\n\x1eNexusHandlerErrorRetryBehavior\x12\x32\n.NEXUS_HANDLER_ERROR_RETRY_BEHAVIOR_UNSPECIFIED\x10\x00\x12\x30\n,NEXUS_HANDLER_ERROR_RETRY_BEHAVIOR_RETRYABLE\x10\x01\x12\x34\n0NEXUS_HANDLER_ERROR_RETRY_BEHAVIOR_NON_RETRYABLE\x10\x02\x42\x82\x01\n\x18io.temporal.api.enums.v1B\nNexusProtoP\x01Z!go.temporal.io/api/enums/v1;enums\xaa\x02\x17Temporalio.Api.Enums.V1\xea\x02\x1aTemporalio::Api::Enums::V1b\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) + +module Temporalio + module Api + module Enums + module V1 + NexusHandlerErrorRetryBehavior = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.enums.v1.NexusHandlerErrorRetryBehavior").enummodule + end + end + end +end diff --git a/lib/gen/temporal/api/enums/v1/query_pb.rb b/lib/gen/temporal/api/enums/v1/query_pb.rb index 34e4f770a..541f8032c 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\x82\x01\n\x18io.temporal.api.enums.v1B\nQueryProtoP\x01Z!go.temporal.io/api/enums/v1;enums\xaa\x02\x17Temporalio.Api.Enums.V1\xea\x02\x1aTemporalio::Api::Enums::V1b\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Temporalio module Api diff --git a/lib/gen/temporal/api/enums/v1/reset_pb.rb b/lib/gen/temporal/api/enums/v1/reset_pb.rb index 6eb81b8d4..a437e4d28 100644 --- a/lib/gen/temporal/api/enums/v1/reset_pb.rb +++ b/lib/gen/temporal/api/enums/v1/reset_pb.rb @@ -1,23 +1,22 @@ +# frozen_string_literal: true # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/enums/v1/reset.proto require 'google/protobuf' -Google::Protobuf::DescriptorPool.generated_pool.build do - add_file("temporal/api/enums/v1/reset.proto", :syntax => :proto3) do - add_enum "temporal.api.enums.v1.ResetReapplyType" do - value :RESET_REAPPLY_TYPE_UNSPECIFIED, 0 - value :RESET_REAPPLY_TYPE_SIGNAL, 1 - value :RESET_REAPPLY_TYPE_NONE, 2 - end - end -end + +descriptor_data = "\n!temporal/api/enums/v1/reset.proto\x12\x15temporal.api.enums.v1*\xec\x01\n\x17ResetReapplyExcludeType\x12*\n&RESET_REAPPLY_EXCLUDE_TYPE_UNSPECIFIED\x10\x00\x12%\n!RESET_REAPPLY_EXCLUDE_TYPE_SIGNAL\x10\x01\x12%\n!RESET_REAPPLY_EXCLUDE_TYPE_UPDATE\x10\x02\x12$\n RESET_REAPPLY_EXCLUDE_TYPE_NEXUS\x10\x03\x12\x31\n)RESET_REAPPLY_EXCLUDE_TYPE_CANCEL_REQUEST\x10\x04\x1a\x02\x08\x01*\x97\x01\n\x10ResetReapplyType\x12\"\n\x1eRESET_REAPPLY_TYPE_UNSPECIFIED\x10\x00\x12\x1d\n\x19RESET_REAPPLY_TYPE_SIGNAL\x10\x01\x12\x1b\n\x17RESET_REAPPLY_TYPE_NONE\x10\x02\x12#\n\x1fRESET_REAPPLY_TYPE_ALL_ELIGIBLE\x10\x03*n\n\tResetType\x12\x1a\n\x16RESET_TYPE_UNSPECIFIED\x10\x00\x12\"\n\x1eRESET_TYPE_FIRST_WORKFLOW_TASK\x10\x01\x12!\n\x1dRESET_TYPE_LAST_WORKFLOW_TASK\x10\x02\x42\x82\x01\n\x18io.temporal.api.enums.v1B\nResetProtoP\x01Z!go.temporal.io/api/enums/v1;enums\xaa\x02\x17Temporalio.Api.Enums.V1\xea\x02\x1aTemporalio::Api::Enums::V1b\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Temporalio module Api module Enums module V1 + ResetReapplyExcludeType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.enums.v1.ResetReapplyExcludeType").enummodule ResetReapplyType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.enums.v1.ResetReapplyType").enummodule + ResetType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.enums.v1.ResetType").enummodule end end end diff --git a/lib/gen/temporal/api/enums/v1/schedule_pb.rb b/lib/gen/temporal/api/enums/v1/schedule_pb.rb index 14d7b3114..7d8e5102d 100644 --- a/lib/gen/temporal/api/enums/v1/schedule_pb.rb +++ b/lib/gen/temporal/api/enums/v1/schedule_pb.rb @@ -1,21 +1,14 @@ +# frozen_string_literal: true # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/enums/v1/schedule.proto require 'google/protobuf' -Google::Protobuf::DescriptorPool.generated_pool.build do - add_file("temporal/api/enums/v1/schedule.proto", :syntax => :proto3) do - add_enum "temporal.api.enums.v1.ScheduleOverlapPolicy" do - value :SCHEDULE_OVERLAP_POLICY_UNSPECIFIED, 0 - value :SCHEDULE_OVERLAP_POLICY_SKIP, 1 - value :SCHEDULE_OVERLAP_POLICY_BUFFER_ONE, 2 - value :SCHEDULE_OVERLAP_POLICY_BUFFER_ALL, 3 - value :SCHEDULE_OVERLAP_POLICY_CANCEL_OTHER, 4 - value :SCHEDULE_OVERLAP_POLICY_TERMINATE_OTHER, 5 - value :SCHEDULE_OVERLAP_POLICY_ALLOW_ALL, 6 - end - end -end + +descriptor_data = "\n$temporal/api/enums/v1/schedule.proto\x12\x15temporal.api.enums.v1*\xb0\x02\n\x15ScheduleOverlapPolicy\x12\'\n#SCHEDULE_OVERLAP_POLICY_UNSPECIFIED\x10\x00\x12 \n\x1cSCHEDULE_OVERLAP_POLICY_SKIP\x10\x01\x12&\n\"SCHEDULE_OVERLAP_POLICY_BUFFER_ONE\x10\x02\x12&\n\"SCHEDULE_OVERLAP_POLICY_BUFFER_ALL\x10\x03\x12(\n$SCHEDULE_OVERLAP_POLICY_CANCEL_OTHER\x10\x04\x12+\n\'SCHEDULE_OVERLAP_POLICY_TERMINATE_OTHER\x10\x05\x12%\n!SCHEDULE_OVERLAP_POLICY_ALLOW_ALL\x10\x06\x42\x85\x01\n\x18io.temporal.api.enums.v1B\rScheduleProtoP\x01Z!go.temporal.io/api/enums/v1;enums\xaa\x02\x17Temporalio.Api.Enums.V1\xea\x02\x1aTemporalio::Api::Enums::V1b\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Temporalio 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 53d99653b..deaa37f5b 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*\x8d\x01\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\x12#\n\x1fTASK_QUEUE_KIND_WORKER_COMMANDS\x10\x03*\x87\x01\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\x12\x19\n\x15TASK_QUEUE_TYPE_NEXUS\x10\x03*\xd2\x01\n\x10TaskReachability\x12!\n\x1dTASK_REACHABILITY_UNSPECIFIED\x10\x00\x12#\n\x1fTASK_REACHABILITY_NEW_WORKFLOWS\x10\x01\x12(\n$TASK_REACHABILITY_EXISTING_WORKFLOWS\x10\x02\x12$\n TASK_REACHABILITY_OPEN_WORKFLOWS\x10\x03\x12&\n\"TASK_REACHABILITY_CLOSED_WORKFLOWS\x10\x04*\xd1\x01\n\x17\x42uildIdTaskReachability\x12*\n&BUILD_ID_TASK_REACHABILITY_UNSPECIFIED\x10\x00\x12(\n$BUILD_ID_TASK_REACHABILITY_REACHABLE\x10\x01\x12\x34\n0BUILD_ID_TASK_REACHABILITY_CLOSED_WORKFLOWS_ONLY\x10\x02\x12*\n&BUILD_ID_TASK_REACHABILITY_UNREACHABLE\x10\x03*h\n\x15\x44\x65scribeTaskQueueMode\x12(\n$DESCRIBE_TASK_QUEUE_MODE_UNSPECIFIED\x10\x00\x12%\n!DESCRIBE_TASK_QUEUE_MODE_ENHANCED\x10\x01*\x8b\x01\n\x0fRateLimitSource\x12!\n\x1dRATE_LIMIT_SOURCE_UNSPECIFIED\x10\x00\x12\x19\n\x15RATE_LIMIT_SOURCE_API\x10\x01\x12\x1c\n\x18RATE_LIMIT_SOURCE_WORKER\x10\x02\x12\x1c\n\x18RATE_LIMIT_SOURCE_SYSTEM\x10\x03*\x9f\x01\n\x18RoutingConfigUpdateState\x12+\n\'ROUTING_CONFIG_UPDATE_STATE_UNSPECIFIED\x10\x00\x12+\n\'ROUTING_CONFIG_UPDATE_STATE_IN_PROGRESS\x10\x01\x12)\n%ROUTING_CONFIG_UPDATE_STATE_COMPLETED\x10\x02\x42\x86\x01\n\x18io.temporal.api.enums.v1B\x0eTaskQueueProtoP\x01Z!go.temporal.io/api/enums/v1;enums\xaa\x02\x17Temporalio.Api.Enums.V1\xea\x02\x1aTemporalio::Api::Enums::V1b\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Temporalio module Api @@ -24,6 +16,11 @@ module Enums module V1 TaskQueueKind = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.enums.v1.TaskQueueKind").enummodule TaskQueueType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.enums.v1.TaskQueueType").enummodule + TaskReachability = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.enums.v1.TaskReachability").enummodule + BuildIdTaskReachability = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.enums.v1.BuildIdTaskReachability").enummodule + DescribeTaskQueueMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.enums.v1.DescribeTaskQueueMode").enummodule + RateLimitSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.enums.v1.RateLimitSource").enummodule + RoutingConfigUpdateState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.enums.v1.RoutingConfigUpdateState").enummodule end end end diff --git a/lib/gen/temporal/api/enums/v1/update_pb.rb b/lib/gen/temporal/api/enums/v1/update_pb.rb index 205d140a7..aeeaffcc4 100644 --- a/lib/gen/temporal/api/enums/v1/update_pb.rb +++ b/lib/gen/temporal/api/enums/v1/update_pb.rb @@ -1,24 +1,21 @@ +# frozen_string_literal: true # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/enums/v1/update.proto require 'google/protobuf' -Google::Protobuf::DescriptorPool.generated_pool.build do - add_file("temporal/api/enums/v1/update.proto", :syntax => :proto3) do - add_enum "temporal.api.enums.v1.UpdateWorkflowExecutionLifecycleStage" do - value :UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_UNSPECIFIED, 0 - value :UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ADMITTED, 1 - value :UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ACCEPTED, 2 - value :UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_COMPLETED, 3 - end - end -end + +descriptor_data = "\n\"temporal/api/enums/v1/update.proto\x12\x15temporal.api.enums.v1*\x8b\x02\n%UpdateWorkflowExecutionLifecycleStage\x12\x39\n5UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_UNSPECIFIED\x10\x00\x12\x36\n2UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ADMITTED\x10\x01\x12\x36\n2UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ACCEPTED\x10\x02\x12\x37\n3UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_COMPLETED\x10\x03*s\n\x19UpdateAdmittedEventOrigin\x12,\n(UPDATE_ADMITTED_EVENT_ORIGIN_UNSPECIFIED\x10\x00\x12(\n$UPDATE_ADMITTED_EVENT_ORIGIN_REAPPLY\x10\x01\x42\x83\x01\n\x18io.temporal.api.enums.v1B\x0bUpdateProtoP\x01Z!go.temporal.io/api/enums/v1;enums\xaa\x02\x17Temporalio.Api.Enums.V1\xea\x02\x1aTemporalio::Api::Enums::V1b\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Temporalio module Api module Enums module V1 UpdateWorkflowExecutionLifecycleStage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.enums.v1.UpdateWorkflowExecutionLifecycleStage").enummodule + UpdateAdmittedEventOrigin = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.enums.v1.UpdateAdmittedEventOrigin").enummodule end end end diff --git a/lib/gen/temporal/api/enums/v1/workflow_pb.rb b/lib/gen/temporal/api/enums/v1/workflow_pb.rb index e640dc9c6..f72d4df49 100644 --- a/lib/gen/temporal/api/enums/v1/workflow_pb.rb +++ b/lib/gen/temporal/api/enums/v1/workflow_pb.rb @@ -1,80 +1,21 @@ +# 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 - value :WORKFLOW_ID_REUSE_POLICY_TERMINATE_IF_RUNNING, 4 - 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.PendingWorkflowTaskState" do - value :PENDING_WORKFLOW_TASK_STATE_UNSPECIFIED, 0 - value :PENDING_WORKFLOW_TASK_STATE_SCHEDULED, 1 - value :PENDING_WORKFLOW_TASK_STATE_STARTED, 2 - 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*\x8f\x02\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\x12\x35\n-WORKFLOW_ID_REUSE_POLICY_TERMINATE_IF_RUNNING\x10\x04\x1a\x02\x08\x01*\xcf\x01\n\x18WorkflowIdConflictPolicy\x12+\n\'WORKFLOW_ID_CONFLICT_POLICY_UNSPECIFIED\x10\x00\x12$\n WORKFLOW_ID_CONFLICT_POLICY_FAIL\x10\x01\x12,\n(WORKFLOW_ID_CONFLICT_POLICY_USE_EXISTING\x10\x02\x12\x32\n.WORKFLOW_ID_CONFLICT_POLICY_TERMINATE_EXISTING\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*\x8b\x03\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\x12$\n WORKFLOW_EXECUTION_STATUS_PAUSED\x10\x08*\x84\x02\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\x12!\n\x1dPENDING_ACTIVITY_STATE_PAUSED\x10\x04\x12*\n&PENDING_ACTIVITY_STATE_PAUSE_REQUESTED\x10\x05*\x9b\x01\n\x18PendingWorkflowTaskState\x12+\n\'PENDING_WORKFLOW_TASK_STATE_UNSPECIFIED\x10\x00\x12)\n%PENDING_WORKFLOW_TASK_STATE_SCHEDULED\x10\x01\x12\'\n#PENDING_WORKFLOW_TASK_STATE_STARTED\x10\x02*\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*\x7f\n\x12VersioningBehavior\x12#\n\x1fVERSIONING_BEHAVIOR_UNSPECIFIED\x10\x00\x12\x1e\n\x1aVERSIONING_BEHAVIOR_PINNED\x10\x01\x12$\n VERSIONING_BEHAVIOR_AUTO_UPGRADE\x10\x02*\xc9\x01\n\x1f\x43ontinueAsNewVersioningBehavior\x12\x33\n/CONTINUE_AS_NEW_VERSIONING_BEHAVIOR_UNSPECIFIED\x10\x00\x12\x34\n0CONTINUE_AS_NEW_VERSIONING_BEHAVIOR_AUTO_UPGRADE\x10\x01\x12;\n7CONTINUE_AS_NEW_VERSIONING_BEHAVIOR_USE_RAMPING_VERSION\x10\x02*\xc7\x02\n\x1aSuggestContinueAsNewReason\x12.\n*SUGGEST_CONTINUE_AS_NEW_REASON_UNSPECIFIED\x10\x00\x12\x39\n5SUGGEST_CONTINUE_AS_NEW_REASON_HISTORY_SIZE_TOO_LARGE\x10\x01\x12:\n6SUGGEST_CONTINUE_AS_NEW_REASON_TOO_MANY_HISTORY_EVENTS\x10\x02\x12\x33\n/SUGGEST_CONTINUE_AS_NEW_REASON_TOO_MANY_UPDATES\x10\x03\"\x04\x08\x04\x10\x04*GSUGGEST_CONTINUE_AS_NEW_REASON_TARGET_WORKER_DEPLOYMENT_VERSION_CHANGEDB\x85\x01\n\x18io.temporal.api.enums.v1B\rWorkflowProtoP\x01Z!go.temporal.io/api/enums/v1;enums\xaa\x02\x17Temporalio.Api.Enums.V1\xea\x02\x1aTemporalio::Api::Enums::V1b\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Temporalio module Api module Enums module V1 WorkflowIdReusePolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.enums.v1.WorkflowIdReusePolicy").enummodule + WorkflowIdConflictPolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.enums.v1.WorkflowIdConflictPolicy").enummodule ParentClosePolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.enums.v1.ParentClosePolicy").enummodule ContinueAsNewInitiator = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.enums.v1.ContinueAsNewInitiator").enummodule WorkflowExecutionStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.enums.v1.WorkflowExecutionStatus").enummodule @@ -83,6 +24,9 @@ module V1 HistoryEventFilterType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.enums.v1.HistoryEventFilterType").enummodule RetryState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.enums.v1.RetryState").enummodule TimeoutType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.enums.v1.TimeoutType").enummodule + VersioningBehavior = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.enums.v1.VersioningBehavior").enummodule + ContinueAsNewVersioningBehavior = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.enums.v1.ContinueAsNewVersioningBehavior").enummodule + SuggestContinueAsNewReason = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.enums.v1.SuggestContinueAsNewReason").enummodule end end end diff --git a/lib/gen/temporal/api/errordetails/v1/message_pb.rb b/lib/gen/temporal/api/errordetails/v1/message_pb.rb index 87c68595d..43406aa7e 100644 --- a/lib/gen/temporal/api/errordetails/v1/message_pb.rb +++ b/lib/gen/temporal/api/errordetails/v1/message_pb.rb @@ -1,64 +1,20 @@ +# frozen_string_literal: true # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/errordetails/v1/message.proto require 'google/protobuf' +require 'google/protobuf/any_pb' require 'temporal/api/common/v1/message_pb' require 'temporal/api/enums/v1/failed_cause_pb' require 'temporal/api/enums/v1/namespace_pb' +require 'temporal/api/failure/v1/message_pb' -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.NamespaceInvalidStateFailure" do - optional :namespace, :string, 1 - optional :state, :enum, 2, "temporal.api.enums.v1.NamespaceState" - repeated :allowed_states, :enum, 3, "temporal.api.enums.v1.NamespaceState" - end - add_message "temporal.api.errordetails.v1.NamespaceNotFoundFailure" do - optional :namespace, :string, 1 - end - add_message "temporal.api.errordetails.v1.NamespaceAlreadyExistsFailure" do - 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.CancellationAlreadyRequestedFailure" do - end - add_message "temporal.api.errordetails.v1.QueryFailedFailure" do - end - add_message "temporal.api.errordetails.v1.PermissionDeniedFailure" do - optional :reason, :string, 1 - end - add_message "temporal.api.errordetails.v1.ResourceExhaustedFailure" do - optional :cause, :enum, 1, "temporal.api.enums.v1.ResourceExhaustedCause" - end - add_message "temporal.api.errordetails.v1.SystemWorkflowFailure" do - optional :workflow_execution, :message, 1, "temporal.api.common.v1.WorkflowExecution" - optional :workflow_error, :string, 2 - end - add_message "temporal.api.errordetails.v1.WorkflowNotReadyFailure" do - end - end -end + +descriptor_data = "\n*temporal/api/errordetails/v1/message.proto\x12\x1ctemporal.api.errordetails.v1\x1a\x19google/protobuf/any.proto\x1a$temporal/api/common/v1/message.proto\x1a(temporal/api/enums/v1/failed_cause.proto\x1a%temporal/api/enums/v1/namespace.proto\x1a%temporal/api/failure/v1/message.proto\"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\"0\n\x1bNamespaceUnavailableFailure\x12\x11\n\tnamespace\x18\x01 \x01(\t\"\xa6\x01\n\x1cNamespaceInvalidStateFailure\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x34\n\x05state\x18\x02 \x01(\x0e\x32%.temporal.api.enums.v1.NamespaceState\x12=\n\x0e\x61llowed_states\x18\x03 \x03(\x0e\x32%.temporal.api.enums.v1.NamespaceState\"-\n\x18NamespaceNotFoundFailure\x12\x11\n\tnamespace\x18\x01 \x01(\t\"\x1f\n\x1dNamespaceAlreadyExistsFailure\"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\"%\n#CancellationAlreadyRequestedFailure\"G\n\x12QueryFailedFailure\x12\x31\n\x07\x66\x61ilure\x18\x01 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\")\n\x17PermissionDeniedFailure\x12\x0e\n\x06reason\x18\x01 \x01(\t\"\x96\x01\n\x18ResourceExhaustedFailure\x12<\n\x05\x63\x61use\x18\x01 \x01(\x0e\x32-.temporal.api.enums.v1.ResourceExhaustedCause\x12<\n\x05scope\x18\x02 \x01(\x0e\x32-.temporal.api.enums.v1.ResourceExhaustedScope\"v\n\x15SystemWorkflowFailure\x12\x45\n\x12workflow_execution\x18\x01 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x16\n\x0eworkflow_error\x18\x02 \x01(\t\"\x19\n\x17WorkflowNotReadyFailure\"3\n\x17NewerBuildExistsFailure\x12\x18\n\x10\x64\x65\x66\x61ult_build_id\x18\x01 \x01(\t\"\xd9\x01\n\x1eMultiOperationExecutionFailure\x12^\n\x08statuses\x18\x01 \x03(\x0b\x32L.temporal.api.errordetails.v1.MultiOperationExecutionFailure.OperationStatus\x1aW\n\x0fOperationStatus\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x05\x12\x0f\n\x07message\x18\x02 \x01(\t\x12%\n\x07\x64\x65tails\x18\x03 \x03(\x0b\x32\x14.google.protobuf.Any\"R\n&ActivityExecutionAlreadyStartedFailure\x12\x18\n\x10start_request_id\x18\x01 \x01(\t\x12\x0e\n\x06run_id\x18\x02 \x01(\tB\xa7\x01\n\x1fio.temporal.api.errordetails.v1B\x0cMessageProtoP\x01Z/go.temporal.io/api/errordetails/v1;errordetails\xaa\x02\x1eTemporalio.Api.ErrorDetails.V1\xea\x02!Temporalio::Api::ErrorDetails::V1b\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Temporalio module Api @@ -67,6 +23,7 @@ module V1 NotFoundFailure = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.errordetails.v1.NotFoundFailure").msgclass WorkflowExecutionAlreadyStartedFailure = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.errordetails.v1.WorkflowExecutionAlreadyStartedFailure").msgclass NamespaceNotActiveFailure = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.errordetails.v1.NamespaceNotActiveFailure").msgclass + NamespaceUnavailableFailure = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.errordetails.v1.NamespaceUnavailableFailure").msgclass NamespaceInvalidStateFailure = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.errordetails.v1.NamespaceInvalidStateFailure").msgclass NamespaceNotFoundFailure = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.errordetails.v1.NamespaceNotFoundFailure").msgclass NamespaceAlreadyExistsFailure = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.errordetails.v1.NamespaceAlreadyExistsFailure").msgclass @@ -78,6 +35,10 @@ module V1 ResourceExhaustedFailure = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.errordetails.v1.ResourceExhaustedFailure").msgclass SystemWorkflowFailure = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.errordetails.v1.SystemWorkflowFailure").msgclass WorkflowNotReadyFailure = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.errordetails.v1.WorkflowNotReadyFailure").msgclass + NewerBuildExistsFailure = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.errordetails.v1.NewerBuildExistsFailure").msgclass + MultiOperationExecutionFailure = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.errordetails.v1.MultiOperationExecutionFailure").msgclass + MultiOperationExecutionFailure::OperationStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.errordetails.v1.MultiOperationExecutionFailure.OperationStatus").msgclass + ActivityExecutionAlreadyStartedFailure = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.errordetails.v1.ActivityExecutionAlreadyStartedFailure").msgclass end end end diff --git a/lib/gen/temporal/api/export/v1/message_pb.rb b/lib/gen/temporal/api/export/v1/message_pb.rb new file mode 100644 index 000000000..37607bd42 --- /dev/null +++ b/lib/gen/temporal/api/export/v1/message_pb.rb @@ -0,0 +1,24 @@ +# frozen_string_literal: true +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: temporal/api/export/v1/message.proto + +require 'google/protobuf' + +require 'temporal/api/history/v1/message_pb' + + +descriptor_data = "\n$temporal/api/export/v1/message.proto\x12\x16temporal.api.export.v1\x1a%temporal/api/history/v1/message.proto\"F\n\x11WorkflowExecution\x12\x31\n\x07history\x18\x01 \x01(\x0b\x32 .temporal.api.history.v1.History\"N\n\x12WorkflowExecutions\x12\x38\n\x05items\x18\x01 \x03(\x0b\x32).temporal.api.export.v1.WorkflowExecutionB\x89\x01\n\x19io.temporal.api.export.v1B\x0cMessageProtoP\x01Z#go.temporal.io/api/export/v1;export\xaa\x02\x18Temporalio.Api.Export.V1\xea\x02\x1bTemporalio::Api::Export::V1b\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) + +module Temporalio + module Api + module Export + module V1 + WorkflowExecution = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.export.v1.WorkflowExecution").msgclass + WorkflowExecutions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.export.v1.WorkflowExecutions").msgclass + end + end + end +end diff --git a/lib/gen/temporal/api/failure/v1/message_pb.rb b/lib/gen/temporal/api/failure/v1/message_pb.rb index 041653ff6..c0badd68c 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,64 +6,15 @@ require 'temporal/api/common/v1/message_pb' require 'temporal/api/enums/v1/workflow_pb' +require 'temporal/api/enums/v1/nexus_pb' +require 'temporal/api/enums/v1/common_pb' +require 'google/protobuf/duration_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 :encoded_attributes, :message, 20, "temporal.api.common.v1.Payload" - 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\x1a!temporal/api/enums/v1/nexus.proto\x1a\"temporal/api/enums/v1/common.proto\x1a\x1egoogle/protobuf/duration.proto\"\xe8\x01\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\x12\x33\n\x10next_retry_delay\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x41\n\x08\x63\x61tegory\x18\x05 \x01(\x0e\x32/.temporal.api.enums.v1.ApplicationErrorCategory\"\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\"Z\n\x13\x43\x61nceledFailureInfo\x12\x31\n\x07\x64\x65tails\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x02 \x01(\t\")\n\x15TerminatedFailureInfo\x12\x10\n\x08identity\x18\x01 \x01(\t\"*\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\"\xa0\x01\n\x19NexusOperationFailureInfo\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x10\n\x08\x65ndpoint\x18\x02 \x01(\t\x12\x0f\n\x07service\x18\x03 \x01(\t\x12\x11\n\toperation\x18\x04 \x01(\t\x12\x18\n\x0coperation_id\x18\x05 \x01(\tB\x02\x18\x01\x12\x17\n\x0foperation_token\x18\x06 \x01(\t\"v\n\x17NexusHandlerFailureInfo\x12\x0c\n\x04type\x18\x01 \x01(\t\x12M\n\x0eretry_behavior\x18\x02 \x01(\x0e\x32\x35.temporal.api.enums.v1.NexusHandlerErrorRetryBehavior\"\xa0\x08\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\x12\x65ncoded_attributes\x18\x14 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\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\x12\x64\n&nexus_operation_execution_failure_info\x18\r \x01(\x0b\x32\x32.temporal.api.failure.v1.NexusOperationFailureInfoH\x00\x12V\n\x1anexus_handler_failure_info\x18\x0e \x01(\x0b\x32\x30.temporal.api.failure.v1.NexusHandlerFailureInfoH\x00\x42\x0e\n\x0c\x66\x61ilure_info\" \n\x1eMultiOperationExecutionAbortedB\x8e\x01\n\x1aio.temporal.api.failure.v1B\x0cMessageProtoP\x01Z%go.temporal.io/api/failure/v1;failure\xaa\x02\x19Temporalio.Api.Failure.V1\xea\x02\x1cTemporalio::Api::Failure::V1b\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Temporalio module Api @@ -76,7 +28,10 @@ module V1 ResetWorkflowFailureInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.failure.v1.ResetWorkflowFailureInfo").msgclass ActivityFailureInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.failure.v1.ActivityFailureInfo").msgclass ChildWorkflowExecutionFailureInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.failure.v1.ChildWorkflowExecutionFailureInfo").msgclass + NexusOperationFailureInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.failure.v1.NexusOperationFailureInfo").msgclass + NexusHandlerFailureInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.failure.v1.NexusHandlerFailureInfo").msgclass Failure = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.failure.v1.Failure").msgclass + MultiOperationExecutionAborted = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.failure.v1.MultiOperationExecutionAborted").msgclass end end end diff --git a/lib/gen/temporal/api/filter/v1/message_pb.rb b/lib/gen/temporal/api/filter/v1/message_pb.rb index b38072cee..b38faeb42 100644 --- a/lib/gen/temporal/api/filter/v1/message_pb.rb +++ b/lib/gen/temporal/api/filter/v1/message_pb.rb @@ -1,30 +1,17 @@ +# 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$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\"u\n\x0fStartTimeFilter\x12\x31\n\rearliest_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0blatest_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"N\n\x0cStatusFilter\x12>\n\x06status\x18\x01 \x01(\x0e\x32..temporal.api.enums.v1.WorkflowExecutionStatusB\x89\x01\n\x19io.temporal.api.filter.v1B\x0cMessageProtoP\x01Z#go.temporal.io/api/filter/v1;filter\xaa\x02\x18Temporalio.Api.Filter.V1\xea\x02\x1bTemporalio::Api::Filter::V1b\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Temporalio 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 2b0043ce0..ec62d84eb 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,447 +6,31 @@ 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/update_pb' require 'temporal/api/enums/v1/workflow_pb' require 'temporal/api/common/v1/message_pb' +require 'temporal/api/deployment/v1/message_pb' require 'temporal/api/failure/v1/message_pb' require 'temporal/api/taskqueue/v1/message_pb' require 'temporal/api/update/v1/message_pb' require 'temporal/api/workflow/v1/message_pb' require 'temporal/api/sdk/v1/task_complete_metadata_pb' +require 'temporal/api/sdk/v1/user_metadata_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_namespace_id, :string, 27 - 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" - optional :parent_initiated_event_version, :int64, 26 - 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 - optional :new_execution_run_id, :string, 3 - 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 - optional :new_execution_run_id, :string, 4 - end - add_message "temporal.api.history.v1.WorkflowExecutionTimedOutEventAttributes" do - optional :retry_state, :enum, 1, "temporal.api.enums.v1.RetryState" - optional :new_execution_run_id, :string, 2 - 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 - optional :suggest_continue_as_new, :bool, 4 - optional :history_size_bytes, :int64, 5 - 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 - optional :worker_version, :message, 5, "temporal.api.common.v1.WorkerVersionStamp" - optional :sdk_metadata, :message, 6, "temporal.api.sdk.v1.WorkflowTaskCompletedMetadata" - optional :metering_metadata, :message, 13, "temporal.api.common.v1.MeteringMetadata" - 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 :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 - optional :header, :message, 4, "temporal.api.common.v1.Header" - optional :skip_generate_workflow_task, :bool, 5 - 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 :namespace_id, :string, 7 - optional :workflow_execution, :message, 3, "temporal.api.common.v1.WorkflowExecution" - optional :control, :string, 4 - optional :child_workflow_only, :bool, 5 - optional :reason, :string, 6 - 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 :namespace_id, :string, 7 - 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 :namespace_id, :string, 4 - 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 :namespace_id, :string, 9 - 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 - optional :header, :message, 8, "temporal.api.common.v1.Header" - 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 :namespace_id, :string, 7 - 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 :namespace_id, :string, 5 - 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.WorkflowPropertiesModifiedEventAttributes" do - optional :workflow_task_completed_event_id, :int64, 1 - optional :upserted_memo, :message, 2, "temporal.api.common.v1.Memo" - end - add_message "temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributes" do - optional :namespace, :string, 1 - optional :namespace_id, :string, 18 - 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 :namespace_id, :string, 8 - 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 :namespace_id, :string, 6 - 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 :namespace_id, :string, 7 - 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 :namespace_id, :string, 8 - 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 :namespace_id, :string, 7 - 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 :namespace_id, :string, 7 - 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 :namespace_id, :string, 6 - 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.WorkflowPropertiesModifiedExternallyEventAttributes" do - optional :new_task_queue, :string, 1 - optional :new_workflow_task_timeout, :message, 2, "google.protobuf.Duration" - optional :new_workflow_run_timeout, :message, 3, "google.protobuf.Duration" - optional :new_workflow_execution_timeout, :message, 4, "google.protobuf.Duration" - optional :upserted_memo, :message, 5, "temporal.api.common.v1.Memo" - end - add_message "temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributes" do - optional :scheduled_event_id, :int64, 1 - optional :new_retry_policy, :message, 2, "temporal.api.common.v1.RetryPolicy" - end - add_message "temporal.api.history.v1.WorkflowExecutionUpdateAcceptedEventAttributes" do - optional :protocol_instance_id, :string, 1 - optional :accepted_request_message_id, :string, 2 - optional :accepted_request_sequencing_event_id, :int64, 3 - optional :accepted_request, :message, 4, "temporal.api.update.v1.Request" - end - add_message "temporal.api.history.v1.WorkflowExecutionUpdateCompletedEventAttributes" do - optional :meta, :message, 1, "temporal.api.update.v1.Meta" - optional :outcome, :message, 2, "temporal.api.update.v1.Outcome" - end - add_message "temporal.api.history.v1.WorkflowExecutionUpdateRejectedEventAttributes" do - optional :protocol_instance_id, :string, 1 - optional :rejected_request_message_id, :string, 2 - optional :rejected_request_sequencing_event_id, :int64, 3 - optional :rejected_request, :message, 4, "temporal.api.update.v1.Request" - optional :failure, :message, 5, "temporal.api.failure.v1.Failure" - 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 - optional :worker_may_ignore, :bool, 300 - 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" - optional :workflow_execution_update_accepted_event_attributes, :message, 46, "temporal.api.history.v1.WorkflowExecutionUpdateAcceptedEventAttributes" - optional :workflow_execution_update_rejected_event_attributes, :message, 47, "temporal.api.history.v1.WorkflowExecutionUpdateRejectedEventAttributes" - optional :workflow_execution_update_completed_event_attributes, :message, 48, "temporal.api.history.v1.WorkflowExecutionUpdateCompletedEventAttributes" - optional :workflow_properties_modified_externally_event_attributes, :message, 49, "temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributes" - optional :activity_properties_modified_externally_event_attributes, :message, 50, "temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributes" - optional :workflow_properties_modified_event_attributes, :message, 51, "temporal.api.history.v1.WorkflowPropertiesModifiedEventAttributes" - 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&temporal/api/enums/v1/event_type.proto\x1a(temporal/api/enums/v1/failed_cause.proto\x1a\"temporal/api/enums/v1/update.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a$temporal/api/common/v1/message.proto\x1a(temporal/api/deployment/v1/message.proto\x1a%temporal/api/failure/v1/message.proto\x1a\'temporal/api/taskqueue/v1/message.proto\x1a$temporal/api/update/v1/message.proto\x1a&temporal/api/workflow/v1/message.proto\x1a\x30temporal/api/sdk/v1/task_complete_metadata.proto\x1a\'temporal/api/sdk/v1/user_metadata.proto\"\xdd\x11\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\x12$\n\x1cparent_workflow_namespace_id\x18\x1b \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=\n\x1aworkflow_execution_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14workflow_run_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\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\x12\x46\n\"workflow_execution_expiration_time\x18\x13 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x15\n\rcron_schedule\x18\x14 \x01(\t\x12>\n\x1b\x66irst_workflow_task_backoff\x18\x15 \x01(\x0b\x32\x19.google.protobuf.Duration\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\x12&\n\x1eparent_initiated_event_version\x18\x1a \x01(\x03\x12\x13\n\x0bworkflow_id\x18\x1c \x01(\t\x12L\n\x14source_version_stamp\x18\x1d \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12>\n\x14\x63ompletion_callbacks\x18\x1e \x03(\x0b\x32 .temporal.api.common.v1.Callback\x12J\n\x17root_workflow_execution\x18\x1f \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x1e\n\x12inherited_build_id\x18 \x01(\tB\x02\x18\x01\x12I\n\x13versioning_override\x18! \x01(\x0b\x32,.temporal.api.workflow.v1.VersioningOverride\x12\x33\n\'parent_pinned_worker_deployment_version\x18\" \x01(\tB\x02\x18\x01\x12\x32\n\x08priority\x18# \x01(\x0b\x32 .temporal.api.common.v1.Priority\x12U\n\x18inherited_pinned_version\x18% \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12Y\n\x1binherited_auto_upgrade_info\x18\' \x01(\x0b\x32\x34.temporal.api.deployment.v1.InheritedAutoUpgradeInfo\x12 \n\x18\x65\x61ger_execution_accepted\x18& \x01(\x08\x12^\n\x1f\x64\x65\x63lined_target_version_upgrade\x18( \x01(\x0b\x32\x35.temporal.api.history.v1.DeclinedTargetVersionUpgrade\x12J\n\x14time_skipping_config\x18) \x01(\x0b\x32,.temporal.api.workflow.v1.TimeSkippingConfigJ\x04\x08$\x10%R parent_pinned_deployment_version\"o\n\x1c\x44\x65\x63linedTargetVersionUpgrade\x12O\n\x12\x64\x65ployment_version\x18\x01 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\"\xa5\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\x12\x1c\n\x14new_execution_run_id\x18\x03 \x01(\t\"\xdb\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\x12\x1c\n\x14new_execution_run_id\x18\x04 \x01(\t\"\x80\x01\n(WorkflowExecutionTimedOutEventAttributes\x12\x36\n\x0bretry_state\x18\x01 \x01(\x0e\x32!.temporal.api.enums.v1.RetryState\x12\x1c\n\x14new_execution_run_id\x18\x02 \x01(\t\"\xa5\x07\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\x37\n\x14workflow_run_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12(\n workflow_task_completed_event_id\x18\x07 \x01(\x03\x12\x39\n\x16\x62\x61\x63koff_start_interval\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12@\n\tinitiator\x18\t \x01(\x0e\x32-.temporal.api.enums.v1.ContinueAsNewInitiator\x12\x35\n\x07\x66\x61ilure\x18\n \x01(\x0b\x32 .temporal.api.failure.v1.FailureB\x02\x18\x01\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\x12\x1c\n\x10inherit_build_id\x18\x0f \x01(\x08\x42\x02\x18\x01\x12[\n\x1binitial_versioning_behavior\x18\x10 \x01(\x0e\x32\x36.temporal.api.enums.v1.ContinueAsNewVersioningBehavior\"\xac\x01\n$WorkflowTaskScheduledEventAttributes\x12\x38\n\ntask_queue\x18\x01 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12\x39\n\x16start_to_close_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x0f\n\x07\x61ttempt\x18\x03 \x01(\x05\"\xa0\x03\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\x12\x1f\n\x17suggest_continue_as_new\x18\x04 \x01(\x08\x12Z\n\x1fsuggest_continue_as_new_reasons\x18\x08 \x03(\x0e\x32\x31.temporal.api.enums.v1.SuggestContinueAsNewReason\x12\x30\n(target_worker_deployment_version_changed\x18\t \x01(\x08\x12\x1a\n\x12history_size_bytes\x18\x05 \x01(\x03\x12\x46\n\x0eworker_version\x18\x06 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12%\n\x19\x62uild_id_redirect_counter\x18\x07 \x01(\x03\x42\x02\x18\x01\"\x82\x05\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\x1b\n\x0f\x62inary_checksum\x18\x04 \x01(\tB\x02\x18\x01\x12\x46\n\x0eworker_version\x18\x05 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12H\n\x0csdk_metadata\x18\x06 \x01(\x0b\x32\x32.temporal.api.sdk.v1.WorkflowTaskCompletedMetadata\x12\x43\n\x11metering_metadata\x18\r \x01(\x0b\x32(.temporal.api.common.v1.MeteringMetadata\x12>\n\ndeployment\x18\x07 \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12\x46\n\x13versioning_behavior\x18\x08 \x01(\x0e\x32).temporal.api.enums.v1.VersioningBehavior\x12%\n\x19worker_deployment_version\x18\t \x01(\tB\x02\x18\x01\x12\x1e\n\x16worker_deployment_name\x18\n \x01(\t\x12O\n\x12\x64\x65ployment_version\x18\x0b \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\"\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\"\x87\x03\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\x1b\n\x0f\x62inary_checksum\x18\t \x01(\tB\x02\x18\x01\x12\x46\n\x0eworker_version\x18\n \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\"\xc2\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\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<\n\x19schedule_to_close_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12<\n\x19schedule_to_start_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x34\n\x11heartbeat_timeout\x18\n \x01(\x0b\x32\x19.google.protobuf.Duration\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\x12!\n\x15use_workflow_build_id\x18\r \x01(\x08\x42\x02\x18\x01\x12\x32\n\x08priority\x18\x0e \x01(\x0b\x32 .temporal.api.common.v1.PriorityJ\x04\x08\x03\x10\x04\"\x9e\x02\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\x12\x46\n\x0eworker_version\x18\x06 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12%\n\x19\x62uild_id_redirect_counter\x18\x07 \x01(\x03\x42\x02\x18\x01\"\xe8\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\x12\x46\n\x0eworker_version\x18\x05 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\"\x9e\x02\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\x12\x46\n\x0eworker_version\x18\x06 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\"\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\"\x92\x02\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\x12\x46\n\x0eworker_version\x18\x06 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\"\x93\x01\n\x1bTimerStartedEventAttributes\x12\x10\n\x08timer_id\x18\x01 \x01(\t\x12\x38\n\x15start_to_fire_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\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\"\xbf\x02\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\x12.\n\x06header\x18\x04 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12\'\n\x1bskip_generate_workflow_task\x18\x05 \x01(\x08\x42\x02\x18\x01\x12N\n\x1b\x65xternal_workflow_execution\x18\x06 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x12\n\nrequest_id\x18\x07 \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\"\x9c\x02\n>RequestCancelExternalWorkflowExecutionInitiatedEventAttributes\x12(\n workflow_task_completed_event_id\x18\x01 \x01(\x03\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x07 \x01(\t\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x13\n\x07\x63ontrol\x18\x04 \x01(\tB\x02\x18\x01\x12\x1b\n\x13\x63hild_workflow_only\x18\x05 \x01(\x08\x12\x0e\n\x06reason\x18\x06 \x01(\t\"\xda\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\x14\n\x0cnamespace_id\x18\x07 \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\x13\n\x07\x63ontrol\x18\x06 \x01(\tB\x02\x18\x01\"\xc5\x01\n7ExternalWorkflowExecutionCancelRequestedEventAttributes\x12\x1a\n\x12initiated_event_id\x18\x01 \x01(\x03\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x04 \x01(\t\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\"\xfb\x02\n7SignalExternalWorkflowExecutionInitiatedEventAttributes\x12(\n workflow_task_completed_event_id\x18\x01 \x01(\x03\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x14\n\x0cnamespace_id\x18\t \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\x13\n\x07\x63ontrol\x18\x06 \x01(\tB\x02\x18\x01\x12\x1b\n\x13\x63hild_workflow_only\x18\x07 \x01(\x08\x12.\n\x06header\x18\x08 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\"\xd3\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\x14\n\x0cnamespace_id\x18\x07 \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\x13\n\x07\x63ontrol\x18\x06 \x01(\tB\x02\x18\x01\"\xd3\x01\n0ExternalWorkflowExecutionSignaledEventAttributes\x12\x1a\n\x12initiated_event_id\x18\x01 \x01(\x03\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x05 \x01(\t\x12\x45\n\x12workflow_execution\x18\x03 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x13\n\x07\x63ontrol\x18\x04 \x01(\tB\x02\x18\x01\"\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\"\x8a\x01\n)WorkflowPropertiesModifiedEventAttributes\x12(\n workflow_task_completed_event_id\x18\x01 \x01(\x03\x12\x33\n\rupserted_memo\x18\x02 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\"\xe8\x07\n3StartChildWorkflowExecutionInitiatedEventAttributes\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x12 \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=\n\x1aworkflow_execution_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14workflow_run_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x45\n\x13parent_close_policy\x18\t \x01(\x0e\x32(.temporal.api.enums.v1.ParentClosePolicy\x12\x13\n\x07\x63ontrol\x18\n \x01(\tB\x02\x18\x01\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\x12\x1c\n\x10inherit_build_id\x18\x13 \x01(\x08\x42\x02\x18\x01\x12\x32\n\x08priority\x18\x14 \x01(\x0b\x32 .temporal.api.common.v1.Priority\"\xd6\x02\n0StartChildWorkflowExecutionFailedEventAttributes\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x08 \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\x13\n\x07\x63ontrol\x18\x05 \x01(\tB\x02\x18\x01\x12\x1a\n\x12initiated_event_id\x18\x06 \x01(\x03\x12(\n workflow_task_completed_event_id\x18\x07 \x01(\x03\"\xa7\x02\n,ChildWorkflowExecutionStartedEventAttributes\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x06 \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\"\xc5\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\x14\n\x0cnamespace_id\x18\x07 \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\"\xfb\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\x14\n\x0cnamespace_id\x18\x08 \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\"\xc5\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\x14\n\x0cnamespace_id\x18\x07 \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\"\xca\x02\n-ChildWorkflowExecutionTimedOutEventAttributes\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x07 \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\"\x94\x02\n/ChildWorkflowExecutionTerminatedEventAttributes\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x06 \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\"\x96\x03\n.WorkflowExecutionOptionsUpdatedEventAttributes\x12I\n\x13versioning_override\x18\x01 \x01(\x0b\x32,.temporal.api.workflow.v1.VersioningOverride\x12!\n\x19unset_versioning_override\x18\x02 \x01(\x08\x12\x1b\n\x13\x61ttached_request_id\x18\x03 \x01(\t\x12G\n\x1d\x61ttached_completion_callbacks\x18\x04 \x03(\x0b\x32 .temporal.api.common.v1.Callback\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x32\n\x08priority\x18\x06 \x01(\x0b\x32 .temporal.api.common.v1.Priority\x12J\n\x14time_skipping_config\x18\x07 \x01(\x0b\x32,.temporal.api.workflow.v1.TimeSkippingConfig\"\xc0\x02\n3WorkflowPropertiesModifiedExternallyEventAttributes\x12\x16\n\x0enew_task_queue\x18\x01 \x01(\t\x12<\n\x19new_workflow_task_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12;\n\x18new_workflow_run_timeout\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x41\n\x1enew_workflow_execution_timeout\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x33\n\rupserted_memo\x18\x05 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\"\x90\x01\n3ActivityPropertiesModifiedExternallyEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12=\n\x10new_retry_policy\x18\x02 \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\"\xdc\x01\n.WorkflowExecutionUpdateAcceptedEventAttributes\x12\x1c\n\x14protocol_instance_id\x18\x01 \x01(\t\x12#\n\x1b\x61\x63\x63\x65pted_request_message_id\x18\x02 \x01(\t\x12,\n$accepted_request_sequencing_event_id\x18\x03 \x01(\x03\x12\x39\n\x10\x61\x63\x63\x65pted_request\x18\x04 \x01(\x0b\x32\x1f.temporal.api.update.v1.Request\"\xaa\x01\n/WorkflowExecutionUpdateCompletedEventAttributes\x12*\n\x04meta\x18\x01 \x01(\x0b\x32\x1c.temporal.api.update.v1.Meta\x12\x19\n\x11\x61\x63\x63\x65pted_event_id\x18\x03 \x01(\x03\x12\x30\n\x07outcome\x18\x02 \x01(\x0b\x32\x1f.temporal.api.update.v1.Outcome\"\x8f\x02\n.WorkflowExecutionUpdateRejectedEventAttributes\x12\x1c\n\x14protocol_instance_id\x18\x01 \x01(\t\x12#\n\x1brejected_request_message_id\x18\x02 \x01(\t\x12,\n$rejected_request_sequencing_event_id\x18\x03 \x01(\x03\x12\x39\n\x10rejected_request\x18\x04 \x01(\x0b\x32\x1f.temporal.api.update.v1.Request\x12\x31\n\x07\x66\x61ilure\x18\x05 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\"\xa4\x01\n.WorkflowExecutionUpdateAdmittedEventAttributes\x12\x30\n\x07request\x18\x01 \x01(\x0b\x32\x1f.temporal.api.update.v1.Request\x12@\n\x06origin\x18\x02 \x01(\x0e\x32\x30.temporal.api.enums.v1.UpdateAdmittedEventOrigin\"^\n&WorkflowExecutionPausedEventAttributes\x12\x10\n\x08identity\x18\x01 \x01(\t\x12\x0e\n\x06reason\x18\x02 \x01(\t\x12\x12\n\nrequest_id\x18\x03 \x01(\t\"`\n(WorkflowExecutionUnpausedEventAttributes\x12\x10\n\x08identity\x18\x01 \x01(\t\x12\x0e\n\x06reason\x18\x02 \x01(\t\x12\x12\n\nrequest_id\x18\x03 \x01(\t\"\xbe\x01\n8WorkflowExecutionTimeSkippingTransitionedEventAttributes\x12/\n\x0btarget_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x1c\n\x14\x64isabled_after_bound\x18\x02 \x01(\x08\x12\x33\n\x0fwall_clock_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xb4\x04\n&NexusOperationScheduledEventAttributes\x12\x10\n\x08\x65ndpoint\x18\x01 \x01(\t\x12\x0f\n\x07service\x18\x02 \x01(\t\x12\x11\n\toperation\x18\x03 \x01(\t\x12.\n\x05input\x18\x04 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12<\n\x19schedule_to_close_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x66\n\x0cnexus_header\x18\x06 \x03(\x0b\x32P.temporal.api.history.v1.NexusOperationScheduledEventAttributes.NexusHeaderEntry\x12(\n workflow_task_completed_event_id\x18\x07 \x01(\x03\x12\x12\n\nrequest_id\x18\x08 \x01(\t\x12\x13\n\x0b\x65ndpoint_id\x18\t \x01(\t\x12<\n\x19schedule_to_start_timeout\x18\n \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\x0b \x01(\x0b\x32\x19.google.protobuf.Duration\x1a\x32\n\x10NexusHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x89\x01\n$NexusOperationStartedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x18\n\x0coperation_id\x18\x03 \x01(\tB\x02\x18\x01\x12\x12\n\nrequest_id\x18\x04 \x01(\t\x12\x17\n\x0foperation_token\x18\x05 \x01(\t\"\x89\x01\n&NexusOperationCompletedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12/\n\x06result\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\x12\n\nrequest_id\x18\x03 \x01(\t\"\x88\x01\n#NexusOperationFailedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x31\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x12\n\nrequest_id\x18\x03 \x01(\t\"\x8a\x01\n%NexusOperationTimedOutEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x31\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x12\n\nrequest_id\x18\x03 \x01(\t\"\x8a\x01\n%NexusOperationCanceledEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x31\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x12\n\nrequest_id\x18\x03 \x01(\t\"t\n,NexusOperationCancelRequestedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12(\n workflow_task_completed_event_id\x18\x02 \x01(\x03\"\x97\x01\n3NexusOperationCancelRequestCompletedEventAttributes\x12\x1a\n\x12requested_event_id\x18\x01 \x01(\x03\x12(\n workflow_task_completed_event_id\x18\x02 \x01(\x03\x12\x1a\n\x12scheduled_event_id\x18\x03 \x01(\x03\"\xc7\x01\n0NexusOperationCancelRequestFailedEventAttributes\x12\x1a\n\x12requested_event_id\x18\x01 \x01(\x03\x12(\n workflow_task_completed_event_id\x18\x02 \x01(\x03\x12\x31\n\x07\x66\x61ilure\x18\x03 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x1a\n\x12scheduled_event_id\x18\x04 \x01(\x03\"\x85?\n\x0cHistoryEvent\x12\x10\n\x08\x65vent_id\x18\x01 \x01(\x03\x12.\n\nevent_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\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\x12\x1a\n\x11worker_may_ignore\x18\xac\x02 \x01(\x08\x12\x39\n\ruser_metadata\x18\xad\x02 \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata\x12,\n\x05links\x18\xae\x02 \x03(\x0b\x32\x1c.temporal.api.common.v1.Link\x12\x35\n\tprincipal\x18\xaf\x02 \x01(\x0b\x32!.temporal.api.common.v1.Principal\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\x12\x86\x01\n3workflow_execution_update_accepted_event_attributes\x18. \x01(\x0b\x32G.temporal.api.history.v1.WorkflowExecutionUpdateAcceptedEventAttributesH\x00\x12\x86\x01\n3workflow_execution_update_rejected_event_attributes\x18/ \x01(\x0b\x32G.temporal.api.history.v1.WorkflowExecutionUpdateRejectedEventAttributesH\x00\x12\x88\x01\n4workflow_execution_update_completed_event_attributes\x18\x30 \x01(\x0b\x32H.temporal.api.history.v1.WorkflowExecutionUpdateCompletedEventAttributesH\x00\x12\x90\x01\n8workflow_properties_modified_externally_event_attributes\x18\x31 \x01(\x0b\x32L.temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributesH\x00\x12\x90\x01\n8activity_properties_modified_externally_event_attributes\x18\x32 \x01(\x0b\x32L.temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributesH\x00\x12{\n-workflow_properties_modified_event_attributes\x18\x33 \x01(\x0b\x32\x42.temporal.api.history.v1.WorkflowPropertiesModifiedEventAttributesH\x00\x12\x86\x01\n3workflow_execution_update_admitted_event_attributes\x18\x34 \x01(\x0b\x32G.temporal.api.history.v1.WorkflowExecutionUpdateAdmittedEventAttributesH\x00\x12u\n*nexus_operation_scheduled_event_attributes\x18\x35 \x01(\x0b\x32?.temporal.api.history.v1.NexusOperationScheduledEventAttributesH\x00\x12q\n(nexus_operation_started_event_attributes\x18\x36 \x01(\x0b\x32=.temporal.api.history.v1.NexusOperationStartedEventAttributesH\x00\x12u\n*nexus_operation_completed_event_attributes\x18\x37 \x01(\x0b\x32?.temporal.api.history.v1.NexusOperationCompletedEventAttributesH\x00\x12o\n\'nexus_operation_failed_event_attributes\x18\x38 \x01(\x0b\x32<.temporal.api.history.v1.NexusOperationFailedEventAttributesH\x00\x12s\n)nexus_operation_canceled_event_attributes\x18\x39 \x01(\x0b\x32>.temporal.api.history.v1.NexusOperationCanceledEventAttributesH\x00\x12t\n*nexus_operation_timed_out_event_attributes\x18: \x01(\x0b\x32>.temporal.api.history.v1.NexusOperationTimedOutEventAttributesH\x00\x12\x82\x01\n1nexus_operation_cancel_requested_event_attributes\x18; \x01(\x0b\x32\x45.temporal.api.history.v1.NexusOperationCancelRequestedEventAttributesH\x00\x12\x86\x01\n3workflow_execution_options_updated_event_attributes\x18< \x01(\x0b\x32G.temporal.api.history.v1.WorkflowExecutionOptionsUpdatedEventAttributesH\x00\x12\x91\x01\n9nexus_operation_cancel_request_completed_event_attributes\x18= \x01(\x0b\x32L.temporal.api.history.v1.NexusOperationCancelRequestCompletedEventAttributesH\x00\x12\x8b\x01\n6nexus_operation_cancel_request_failed_event_attributes\x18> \x01(\x0b\x32I.temporal.api.history.v1.NexusOperationCancelRequestFailedEventAttributesH\x00\x12u\n*workflow_execution_paused_event_attributes\x18? \x01(\x0b\x32?.temporal.api.history.v1.WorkflowExecutionPausedEventAttributesH\x00\x12y\n,workflow_execution_unpaused_event_attributes\x18@ \x01(\x0b\x32\x41.temporal.api.history.v1.WorkflowExecutionUnpausedEventAttributesH\x00\x12\x9b\x01\n>workflow_execution_time_skipping_transitioned_event_attributes\x18\x41 \x01(\x0b\x32Q.temporal.api.history.v1.WorkflowExecutionTimeSkippingTransitionedEventAttributesH\x00\x42\x0c\n\nattributes\"@\n\x07History\x12\x35\n\x06\x65vents\x18\x01 \x03(\x0b\x32%.temporal.api.history.v1.HistoryEventB\x8e\x01\n\x1aio.temporal.api.history.v1B\x0cMessageProtoP\x01Z%go.temporal.io/api/history/v1;history\xaa\x02\x19Temporalio.Api.History.V1\xea\x02\x1cTemporalio::Api::History::V1b\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Temporalio module Api module History module V1 WorkflowExecutionStartedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.WorkflowExecutionStartedEventAttributes").msgclass + DeclinedTargetVersionUpgrade = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.DeclinedTargetVersionUpgrade").msgclass WorkflowExecutionCompletedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.WorkflowExecutionCompletedEventAttributes").msgclass WorkflowExecutionFailedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.WorkflowExecutionFailedEventAttributes").msgclass WorkflowExecutionTimedOutEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.WorkflowExecutionTimedOutEventAttributes").msgclass @@ -486,11 +71,25 @@ module V1 ChildWorkflowExecutionCanceledEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.ChildWorkflowExecutionCanceledEventAttributes").msgclass ChildWorkflowExecutionTimedOutEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.ChildWorkflowExecutionTimedOutEventAttributes").msgclass ChildWorkflowExecutionTerminatedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes").msgclass + WorkflowExecutionOptionsUpdatedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.WorkflowExecutionOptionsUpdatedEventAttributes").msgclass WorkflowPropertiesModifiedExternallyEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributes").msgclass ActivityPropertiesModifiedExternallyEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributes").msgclass WorkflowExecutionUpdateAcceptedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.WorkflowExecutionUpdateAcceptedEventAttributes").msgclass WorkflowExecutionUpdateCompletedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.WorkflowExecutionUpdateCompletedEventAttributes").msgclass WorkflowExecutionUpdateRejectedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.WorkflowExecutionUpdateRejectedEventAttributes").msgclass + WorkflowExecutionUpdateAdmittedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.WorkflowExecutionUpdateAdmittedEventAttributes").msgclass + WorkflowExecutionPausedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.WorkflowExecutionPausedEventAttributes").msgclass + WorkflowExecutionUnpausedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.WorkflowExecutionUnpausedEventAttributes").msgclass + WorkflowExecutionTimeSkippingTransitionedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.WorkflowExecutionTimeSkippingTransitionedEventAttributes").msgclass + NexusOperationScheduledEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.NexusOperationScheduledEventAttributes").msgclass + NexusOperationStartedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.NexusOperationStartedEventAttributes").msgclass + NexusOperationCompletedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.NexusOperationCompletedEventAttributes").msgclass + NexusOperationFailedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.NexusOperationFailedEventAttributes").msgclass + NexusOperationTimedOutEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.NexusOperationTimedOutEventAttributes").msgclass + NexusOperationCanceledEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.NexusOperationCanceledEventAttributes").msgclass + NexusOperationCancelRequestedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.NexusOperationCancelRequestedEventAttributes").msgclass + NexusOperationCancelRequestCompletedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.NexusOperationCancelRequestCompletedEventAttributes").msgclass + NexusOperationCancelRequestFailedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.NexusOperationCancelRequestFailedEventAttributes").msgclass HistoryEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.HistoryEvent").msgclass History = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.History").msgclass end diff --git a/lib/gen/temporal/api/namespace/v1/message_pb.rb b/lib/gen/temporal/api/namespace/v1/message_pb.rb index 3042febe8..4b6793e9d 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,54 +6,21 @@ 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 - optional :supports_schedules, :bool, 100 - 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 - map :custom_search_attribute_aliases, :string, :string, 7 - 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 - optional :state, :enum, 4, "temporal.api.enums.v1.NamespaceState" - end - add_message "temporal.api.namespace.v1.NamespaceFilter" do - optional :include_deleted, :bool, 1 - 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%temporal/api/enums/v1/namespace.proto\"\x88\x06\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\x12K\n\x0c\x63\x61pabilities\x18\x07 \x01(\x0b\x32\x35.temporal.api.namespace.v1.NamespaceInfo.Capabilities\x12?\n\x06limits\x18\x08 \x01(\x0b\x32/.temporal.api.namespace.v1.NamespaceInfo.Limits\x12\x1a\n\x12supports_schedules\x18\x64 \x01(\x08\x1a+\n\tDataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x9b\x02\n\x0c\x43\x61pabilities\x12\x1c\n\x14\x65\x61ger_workflow_start\x18\x01 \x01(\x08\x12\x13\n\x0bsync_update\x18\x02 \x01(\x08\x12\x14\n\x0c\x61sync_update\x18\x03 \x01(\x08\x12\x19\n\x11worker_heartbeats\x18\x04 \x01(\x08\x12*\n\"reported_problems_search_attribute\x18\x05 \x01(\x08\x12\x16\n\x0eworkflow_pause\x18\x06 \x01(\x08\x12\x1d\n\x15standalone_activities\x18\x07 \x01(\x08\x12(\n worker_poll_complete_on_shutdown\x18\x08 \x01(\x08\x12\x1a\n\x12poller_autoscaling\x18\t \x01(\x08\x1a\x46\n\x06Limits\x12\x1d\n\x15\x62lob_size_limit_error\x18\x01 \x01(\x03\x12\x1d\n\x15memo_size_limit_error\x18\x02 \x01(\x03\"\x9e\x04\n\x0fNamespaceConfig\x12\x43\n workflow_execution_retention_ttl\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\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\x12u\n\x1f\x63ustom_search_attribute_aliases\x18\x07 \x03(\x0b\x32L.temporal.api.namespace.v1.NamespaceConfig.CustomSearchAttributeAliasesEntry\x1a\x43\n!CustomSearchAttributeAliasesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\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\"b\n\rBadBinaryInfo\x12\x0e\n\x06reason\x18\x01 \x01(\t\x12\x10\n\x08operator\x18\x02 \x01(\t\x12/\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xea\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\x12\x34\n\x05state\x18\x04 \x01(\x0e\x32%.temporal.api.enums.v1.NamespaceState\x1a+\n\tDataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"*\n\x0fNamespaceFilter\x12\x17\n\x0finclude_deleted\x18\x01 \x01(\x08\x42\x98\x01\n\x1cio.temporal.api.namespace.v1B\x0cMessageProtoP\x01Z)go.temporal.io/api/namespace/v1;namespace\xaa\x02\x1bTemporalio.Api.Namespace.V1\xea\x02\x1eTemporalio::Api::Namespace::V1b\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Temporalio module Api module Namespace module V1 NamespaceInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.namespace.v1.NamespaceInfo").msgclass + NamespaceInfo::Capabilities = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.namespace.v1.NamespaceInfo.Capabilities").msgclass + NamespaceInfo::Limits = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.namespace.v1.NamespaceInfo.Limits").msgclass NamespaceConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.namespace.v1.NamespaceConfig").msgclass BadBinaries = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.namespace.v1.BadBinaries").msgclass BadBinaryInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.namespace.v1.BadBinaryInfo").msgclass diff --git a/lib/gen/temporal/api/nexus/v1/message_pb.rb b/lib/gen/temporal/api/nexus/v1/message_pb.rb new file mode 100644 index 000000000..8f023aefa --- /dev/null +++ b/lib/gen/temporal/api/nexus/v1/message_pb.rb @@ -0,0 +1,43 @@ +# frozen_string_literal: true +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: temporal/api/nexus/v1/message.proto + +require 'google/protobuf' + +require 'google/protobuf/timestamp_pb' +require 'temporal/api/common/v1/message_pb' +require 'temporal/api/enums/v1/nexus_pb' +require 'temporal/api/failure/v1/message_pb' + + +descriptor_data = "\n#temporal/api/nexus/v1/message.proto\x12\x15temporal.api.nexus.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a$temporal/api/common/v1/message.proto\x1a!temporal/api/enums/v1/nexus.proto\x1a%temporal/api/failure/v1/message.proto\"\xe0\x01\n\x07\x46\x61ilure\x12\x0f\n\x07message\x18\x01 \x01(\t\x12\x13\n\x0bstack_trace\x18\x04 \x01(\t\x12>\n\x08metadata\x18\x02 \x03(\x0b\x32,.temporal.api.nexus.v1.Failure.MetadataEntry\x12\x0f\n\x07\x64\x65tails\x18\x03 \x01(\x0c\x12-\n\x05\x63\x61use\x18\x05 \x01(\x0b\x32\x1e.temporal.api.nexus.v1.Failure\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xa2\x01\n\x0cHandlerError\x12\x12\n\nerror_type\x18\x01 \x01(\t\x12/\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32\x1e.temporal.api.nexus.v1.Failure\x12M\n\x0eretry_behavior\x18\x03 \x01(\x0e\x32\x35.temporal.api.enums.v1.NexusHandlerErrorRetryBehavior\"f\n\x1aUnsuccessfulOperationError\x12\x17\n\x0foperation_state\x18\x01 \x01(\t\x12/\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32\x1e.temporal.api.nexus.v1.Failure\"!\n\x04Link\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x02 \x01(\t\"\xd1\x02\n\x15StartOperationRequest\x12\x0f\n\x07service\x18\x01 \x01(\t\x12\x11\n\toperation\x18\x02 \x01(\t\x12\x12\n\nrequest_id\x18\x03 \x01(\t\x12\x10\n\x08\x63\x61llback\x18\x04 \x01(\t\x12\x30\n\x07payload\x18\x05 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12Y\n\x0f\x63\x61llback_header\x18\x06 \x03(\x0b\x32@.temporal.api.nexus.v1.StartOperationRequest.CallbackHeaderEntry\x12*\n\x05links\x18\x07 \x03(\x0b\x32\x1b.temporal.api.nexus.v1.Link\x1a\x35\n\x13\x43\x61llbackHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"o\n\x16\x43\x61ncelOperationRequest\x12\x0f\n\x07service\x18\x01 \x01(\t\x12\x11\n\toperation\x18\x02 \x01(\t\x12\x18\n\x0coperation_id\x18\x03 \x01(\tB\x02\x18\x01\x12\x17\n\x0foperation_token\x18\x04 \x01(\t\"\xd0\x03\n\x07Request\x12:\n\x06header\x18\x01 \x03(\x0b\x32*.temporal.api.nexus.v1.Request.HeaderEntry\x12\x32\n\x0escheduled_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x41\n\x0c\x63\x61pabilities\x18\x64 \x01(\x0b\x32+.temporal.api.nexus.v1.Request.Capabilities\x12G\n\x0fstart_operation\x18\x03 \x01(\x0b\x32,.temporal.api.nexus.v1.StartOperationRequestH\x00\x12I\n\x10\x63\x61ncel_operation\x18\x04 \x01(\x0b\x32-.temporal.api.nexus.v1.CancelOperationRequestH\x00\x12\x10\n\x08\x65ndpoint\x18\n \x01(\t\x1a\x32\n\x0c\x43\x61pabilities\x12\"\n\x1atemporal_failure_responses\x18\x01 \x01(\x08\x1a-\n\x0bHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\t\n\x07variant\"\x92\x04\n\x16StartOperationResponse\x12J\n\x0csync_success\x18\x01 \x01(\x0b\x32\x32.temporal.api.nexus.v1.StartOperationResponse.SyncH\x00\x12L\n\rasync_success\x18\x02 \x01(\x0b\x32\x33.temporal.api.nexus.v1.StartOperationResponse.AsyncH\x00\x12P\n\x0foperation_error\x18\x03 \x01(\x0b\x32\x31.temporal.api.nexus.v1.UnsuccessfulOperationErrorB\x02\x18\x01H\x00\x12\x33\n\x07\x66\x61ilure\x18\x04 \x01(\x0b\x32 .temporal.api.failure.v1.FailureH\x00\x1a\x64\n\x04Sync\x12\x30\n\x07payload\x18\x01 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12*\n\x05links\x18\x02 \x03(\x0b\x32\x1b.temporal.api.nexus.v1.Link\x1a\x66\n\x05\x41sync\x12\x18\n\x0coperation_id\x18\x01 \x01(\tB\x02\x18\x01\x12*\n\x05links\x18\x02 \x03(\x0b\x32\x1b.temporal.api.nexus.v1.Link\x12\x17\n\x0foperation_token\x18\x03 \x01(\tB\t\n\x07variant\"\x19\n\x17\x43\x61ncelOperationResponse\"\xab\x01\n\x08Response\x12H\n\x0fstart_operation\x18\x01 \x01(\x0b\x32-.temporal.api.nexus.v1.StartOperationResponseH\x00\x12J\n\x10\x63\x61ncel_operation\x18\x02 \x01(\x0b\x32..temporal.api.nexus.v1.CancelOperationResponseH\x00\x42\t\n\x07variant\"\xd8\x01\n\x08\x45ndpoint\x12\x0f\n\x07version\x18\x01 \x01(\x03\x12\n\n\x02id\x18\x02 \x01(\t\x12\x31\n\x04spec\x18\x03 \x01(\x0b\x32#.temporal.api.nexus.v1.EndpointSpec\x12\x30\n\x0c\x63reated_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12last_modified_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\nurl_prefix\x18\x06 \x01(\t\"\x89\x01\n\x0c\x45ndpointSpec\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x34\n\x0b\x64\x65scription\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\x35\n\x06target\x18\x03 \x01(\x0b\x32%.temporal.api.nexus.v1.EndpointTarget\"\xe9\x01\n\x0e\x45ndpointTarget\x12>\n\x06worker\x18\x01 \x01(\x0b\x32,.temporal.api.nexus.v1.EndpointTarget.WorkerH\x00\x12\x42\n\x08\x65xternal\x18\x02 \x01(\x0b\x32..temporal.api.nexus.v1.EndpointTarget.ExternalH\x00\x1a/\n\x06Worker\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x12\n\ntask_queue\x18\x02 \x01(\t\x1a\x17\n\x08\x45xternal\x12\x0b\n\x03url\x18\x01 \x01(\tB\t\n\x07variantB\x84\x01\n\x18io.temporal.api.nexus.v1B\x0cMessageProtoP\x01Z!go.temporal.io/api/nexus/v1;nexus\xaa\x02\x17Temporalio.Api.Nexus.V1\xea\x02\x1aTemporalio::Api::Nexus::V1b\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) + +module Temporalio + module Api + module Nexus + module V1 + Failure = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.nexus.v1.Failure").msgclass + HandlerError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.nexus.v1.HandlerError").msgclass + UnsuccessfulOperationError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.nexus.v1.UnsuccessfulOperationError").msgclass + Link = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.nexus.v1.Link").msgclass + StartOperationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.nexus.v1.StartOperationRequest").msgclass + CancelOperationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.nexus.v1.CancelOperationRequest").msgclass + Request = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.nexus.v1.Request").msgclass + Request::Capabilities = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.nexus.v1.Request.Capabilities").msgclass + StartOperationResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.nexus.v1.StartOperationResponse").msgclass + StartOperationResponse::Sync = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.nexus.v1.StartOperationResponse.Sync").msgclass + StartOperationResponse::Async = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.nexus.v1.StartOperationResponse.Async").msgclass + CancelOperationResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.nexus.v1.CancelOperationResponse").msgclass + Response = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.nexus.v1.Response").msgclass + Endpoint = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.nexus.v1.Endpoint").msgclass + EndpointSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.nexus.v1.EndpointSpec").msgclass + EndpointTarget = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.nexus.v1.EndpointTarget").msgclass + EndpointTarget::Worker = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.nexus.v1.EndpointTarget.Worker").msgclass + EndpointTarget::External = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.nexus.v1.EndpointTarget.External").msgclass + end + end + end +end diff --git a/lib/gen/temporal/api/nexusservices/workerservice/v1/request_response_pb.rb b/lib/gen/temporal/api/nexusservices/workerservice/v1/request_response_pb.rb new file mode 100644 index 000000000..b78997d3f --- /dev/null +++ b/lib/gen/temporal/api/nexusservices/workerservice/v1/request_response_pb.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: temporal/api/nexusservices/workerservice/v1/request_response.proto + +require 'google/protobuf' + +require 'temporal/api/worker/v1/message_pb' + + +descriptor_data = "\nBtemporal/api/nexusservices/workerservice/v1/request_response.proto\x12+temporal.api.nexusservices.workerservice.v1\x1a$temporal/api/worker/v1/message.proto\"Q\n\x16\x45xecuteCommandsRequest\x12\x37\n\x08\x63ommands\x18\x01 \x03(\x0b\x32%.temporal.api.worker.v1.WorkerCommand\"W\n\x17\x45xecuteCommandsResponse\x12<\n\x07results\x18\x01 \x03(\x0b\x32+.temporal.api.worker.v1.WorkerCommandResultB\xed\x01\n.io.temporal.api.nexusservices.workerservice.v1B\x14RequestResponseProtoP\x01Z?go.temporal.io/api/nexusservices/workerservice/v1;workerservice\xaa\x02-Temporalio.Api.Nexusservices.Workerservice.V1\xea\x02\x31Temporalio::Api::Nexusservices::Workerservice::V1b\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) + +module Temporalio + module Api + module Nexusservices + module Workerservice + module V1 + ExecuteCommandsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.nexusservices.workerservice.v1.ExecuteCommandsRequest").msgclass + ExecuteCommandsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.nexusservices.workerservice.v1.ExecuteCommandsResponse").msgclass + end + end + end + end +end diff --git a/lib/gen/temporal/api/operatorservice/v1/request_response_pb.rb b/lib/gen/temporal/api/operatorservice/v1/request_response_pb.rb index f85cb8eed..b17810dc7 100644 --- a/lib/gen/temporal/api/operatorservice/v1/request_response_pb.rb +++ b/lib/gen/temporal/api/operatorservice/v1/request_response_pb.rb @@ -1,67 +1,18 @@ +# frozen_string_literal: true # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/operatorservice/v1/request_response.proto require 'google/protobuf' require 'temporal/api/enums/v1/common_pb' +require 'temporal/api/nexus/v1/message_pb' +require 'google/protobuf/duration_pb' -Google::Protobuf::DescriptorPool.generated_pool.build do - add_file("temporal/api/operatorservice/v1/request_response.proto", :syntax => :proto3) do - add_message "temporal.api.operatorservice.v1.AddSearchAttributesRequest" do - map :search_attributes, :string, :enum, 1, "temporal.api.enums.v1.IndexedValueType" - optional :namespace, :string, 2 - end - add_message "temporal.api.operatorservice.v1.AddSearchAttributesResponse" do - end - add_message "temporal.api.operatorservice.v1.RemoveSearchAttributesRequest" do - repeated :search_attributes, :string, 1 - optional :namespace, :string, 2 - end - add_message "temporal.api.operatorservice.v1.RemoveSearchAttributesResponse" do - end - add_message "temporal.api.operatorservice.v1.ListSearchAttributesRequest" do - optional :namespace, :string, 1 - end - add_message "temporal.api.operatorservice.v1.ListSearchAttributesResponse" do - map :custom_attributes, :string, :enum, 1, "temporal.api.enums.v1.IndexedValueType" - map :system_attributes, :string, :enum, 2, "temporal.api.enums.v1.IndexedValueType" - map :storage_schema, :string, :string, 3 - end - add_message "temporal.api.operatorservice.v1.DeleteNamespaceRequest" do - optional :namespace, :string, 1 - end - add_message "temporal.api.operatorservice.v1.DeleteNamespaceResponse" do - optional :deleted_namespace, :string, 1 - end - add_message "temporal.api.operatorservice.v1.AddOrUpdateRemoteClusterRequest" do - optional :frontend_address, :string, 1 - optional :enable_remote_cluster_connection, :bool, 2 - end - add_message "temporal.api.operatorservice.v1.AddOrUpdateRemoteClusterResponse" do - end - add_message "temporal.api.operatorservice.v1.RemoveRemoteClusterRequest" do - optional :cluster_name, :string, 1 - end - add_message "temporal.api.operatorservice.v1.RemoveRemoteClusterResponse" do - end - add_message "temporal.api.operatorservice.v1.ListClustersRequest" do - optional :page_size, :int32, 1 - optional :next_page_token, :bytes, 2 - end - add_message "temporal.api.operatorservice.v1.ListClustersResponse" do - repeated :clusters, :message, 1, "temporal.api.operatorservice.v1.ClusterMetadata" - optional :next_page_token, :bytes, 4 - end - add_message "temporal.api.operatorservice.v1.ClusterMetadata" do - optional :cluster_name, :string, 1 - optional :cluster_id, :string, 2 - optional :address, :string, 3 - optional :initial_failover_version, :int64, 4 - optional :history_shard_count, :int32, 5 - optional :is_connection_enabled, :bool, 6 - end - end -end + +descriptor_data = "\n6temporal/api/operatorservice/v1/request_response.proto\x12\x1ftemporal.api.operatorservice.v1\x1a\"temporal/api/enums/v1/common.proto\x1a#temporal/api/nexus/v1/message.proto\x1a\x1egoogle/protobuf/duration.proto\"\xff\x01\n\x1a\x41\x64\x64SearchAttributesRequest\x12l\n\x11search_attributes\x18\x01 \x03(\x0b\x32Q.temporal.api.operatorservice.v1.AddSearchAttributesRequest.SearchAttributesEntry\x12\x11\n\tnamespace\x18\x02 \x01(\t\x1a`\n\x15SearchAttributesEntry\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\"\x1d\n\x1b\x41\x64\x64SearchAttributesResponse\"M\n\x1dRemoveSearchAttributesRequest\x12\x19\n\x11search_attributes\x18\x01 \x03(\t\x12\x11\n\tnamespace\x18\x02 \x01(\t\" \n\x1eRemoveSearchAttributesResponse\"0\n\x1bListSearchAttributesRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\"\xe2\x04\n\x1cListSearchAttributesResponse\x12n\n\x11\x63ustom_attributes\x18\x01 \x03(\x0b\x32S.temporal.api.operatorservice.v1.ListSearchAttributesResponse.CustomAttributesEntry\x12n\n\x11system_attributes\x18\x02 \x03(\x0b\x32S.temporal.api.operatorservice.v1.ListSearchAttributesResponse.SystemAttributesEntry\x12h\n\x0estorage_schema\x18\x03 \x03(\x0b\x32P.temporal.api.operatorservice.v1.ListSearchAttributesResponse.StorageSchemaEntry\x1a`\n\x15\x43ustomAttributesEntry\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\x1a`\n\x15SystemAttributesEntry\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\x1a\x34\n\x12StorageSchemaEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"|\n\x16\x44\x65leteNamespaceRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x02 \x01(\t\x12\x39\n\x16namespace_delete_delay\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\"4\n\x17\x44\x65leteNamespaceResponse\x12\x19\n\x11\x64\x65leted_namespace\x18\x01 \x01(\t\"\xa0\x01\n\x1f\x41\x64\x64OrUpdateRemoteClusterRequest\x12\x18\n\x10\x66rontend_address\x18\x01 \x01(\t\x12(\n enable_remote_cluster_connection\x18\x02 \x01(\x08\x12\x1d\n\x15\x66rontend_http_address\x18\x03 \x01(\t\x12\x1a\n\x12\x65nable_replication\x18\x04 \x01(\x08\"\"\n AddOrUpdateRemoteClusterResponse\"2\n\x1aRemoveRemoteClusterRequest\x12\x14\n\x0c\x63luster_name\x18\x01 \x01(\t\"\x1d\n\x1bRemoveRemoteClusterResponse\"A\n\x13ListClustersRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\"s\n\x14ListClustersResponse\x12\x42\n\x08\x63lusters\x18\x01 \x03(\x0b\x32\x30.temporal.api.operatorservice.v1.ClusterMetadata\x12\x17\n\x0fnext_page_token\x18\x04 \x01(\x0c\"\xe0\x01\n\x0f\x43lusterMetadata\x12\x14\n\x0c\x63luster_name\x18\x01 \x01(\t\x12\x12\n\ncluster_id\x18\x02 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x03 \x01(\t\x12\x14\n\x0chttp_address\x18\x07 \x01(\t\x12 \n\x18initial_failover_version\x18\x04 \x01(\x03\x12\x1b\n\x13history_shard_count\x18\x05 \x01(\x05\x12\x1d\n\x15is_connection_enabled\x18\x06 \x01(\x08\x12\x1e\n\x16is_replication_enabled\x18\x08 \x01(\x08\"%\n\x17GetNexusEndpointRequest\x12\n\n\x02id\x18\x01 \x01(\t\"M\n\x18GetNexusEndpointResponse\x12\x31\n\x08\x65ndpoint\x18\x01 \x01(\x0b\x32\x1f.temporal.api.nexus.v1.Endpoint\"O\n\x1a\x43reateNexusEndpointRequest\x12\x31\n\x04spec\x18\x01 \x01(\x0b\x32#.temporal.api.nexus.v1.EndpointSpec\"P\n\x1b\x43reateNexusEndpointResponse\x12\x31\n\x08\x65ndpoint\x18\x01 \x01(\x0b\x32\x1f.temporal.api.nexus.v1.Endpoint\"l\n\x1aUpdateNexusEndpointRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\x03\x12\x31\n\x04spec\x18\x03 \x01(\x0b\x32#.temporal.api.nexus.v1.EndpointSpec\"P\n\x1bUpdateNexusEndpointResponse\x12\x31\n\x08\x65ndpoint\x18\x01 \x01(\x0b\x32\x1f.temporal.api.nexus.v1.Endpoint\"9\n\x1a\x44\x65leteNexusEndpointRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\x03\"\x1d\n\x1b\x44\x65leteNexusEndpointResponse\"U\n\x19ListNexusEndpointsRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\x12\x0c\n\x04name\x18\x03 \x01(\t\"i\n\x1aListNexusEndpointsResponse\x12\x17\n\x0fnext_page_token\x18\x01 \x01(\x0c\x12\x32\n\tendpoints\x18\x02 \x03(\x0b\x32\x1f.temporal.api.nexus.v1.EndpointB\xbe\x01\n\"io.temporal.api.operatorservice.v1B\x14RequestResponseProtoP\x01Z5go.temporal.io/api/operatorservice/v1;operatorservice\xaa\x02!Temporalio.Api.OperatorService.V1\xea\x02$Temporalio::Api::OperatorService::V1b\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Temporalio module Api @@ -82,6 +33,16 @@ module V1 ListClustersRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.operatorservice.v1.ListClustersRequest").msgclass ListClustersResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.operatorservice.v1.ListClustersResponse").msgclass ClusterMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.operatorservice.v1.ClusterMetadata").msgclass + GetNexusEndpointRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.operatorservice.v1.GetNexusEndpointRequest").msgclass + GetNexusEndpointResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.operatorservice.v1.GetNexusEndpointResponse").msgclass + CreateNexusEndpointRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.operatorservice.v1.CreateNexusEndpointRequest").msgclass + CreateNexusEndpointResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.operatorservice.v1.CreateNexusEndpointResponse").msgclass + UpdateNexusEndpointRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.operatorservice.v1.UpdateNexusEndpointRequest").msgclass + UpdateNexusEndpointResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.operatorservice.v1.UpdateNexusEndpointResponse").msgclass + DeleteNexusEndpointRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.operatorservice.v1.DeleteNexusEndpointRequest").msgclass + DeleteNexusEndpointResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.operatorservice.v1.DeleteNexusEndpointResponse").msgclass + ListNexusEndpointsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.operatorservice.v1.ListNexusEndpointsRequest").msgclass + ListNexusEndpointsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.operatorservice.v1.ListNexusEndpointsResponse").msgclass end end end diff --git a/lib/gen/temporal/api/operatorservice/v1/service_pb.rb b/lib/gen/temporal/api/operatorservice/v1/service_pb.rb index 515e36b16..4690841d3 100644 --- a/lib/gen/temporal/api/operatorservice/v1/service_pb.rb +++ b/lib/gen/temporal/api/operatorservice/v1/service_pb.rb @@ -1,14 +1,17 @@ +# frozen_string_literal: true # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/operatorservice/v1/service.proto require 'google/protobuf' require 'temporal/api/operatorservice/v1/request_response_pb' +require 'google/api/annotations_pb' -Google::Protobuf::DescriptorPool.generated_pool.build do - add_file("temporal/api/operatorservice/v1/service.proto", :syntax => :proto3) do - end -end + +descriptor_data = "\n-temporal/api/operatorservice/v1/service.proto\x12\x1ftemporal.api.operatorservice.v1\x1a\x36temporal/api/operatorservice/v1/request_response.proto\x1a\x1cgoogle/api/annotations.proto2\xc6\x11\n\x0fOperatorService\x12\x92\x01\n\x13\x41\x64\x64SearchAttributes\x12;.temporal.api.operatorservice.v1.AddSearchAttributesRequest\x1a<.temporal.api.operatorservice.v1.AddSearchAttributesResponse\"\x00\x12\x9b\x01\n\x16RemoveSearchAttributes\x12>.temporal.api.operatorservice.v1.RemoveSearchAttributesRequest\x1a?.temporal.api.operatorservice.v1.RemoveSearchAttributesResponse\"\x00\x12\x82\x02\n\x14ListSearchAttributes\x12<.temporal.api.operatorservice.v1.ListSearchAttributesRequest\x1a=.temporal.api.operatorservice.v1.ListSearchAttributesResponse\"m\x82\xd3\xe4\x93\x02g\x12\x31/cluster/namespaces/{namespace}/search-attributesZ2\x12\x30/api/v1/namespaces/{namespace}/search-attributes\x12\x86\x01\n\x0f\x44\x65leteNamespace\x12\x37.temporal.api.operatorservice.v1.DeleteNamespaceRequest\x1a\x38.temporal.api.operatorservice.v1.DeleteNamespaceResponse\"\x00\x12\xa1\x01\n\x18\x41\x64\x64OrUpdateRemoteCluster\x12@.temporal.api.operatorservice.v1.AddOrUpdateRemoteClusterRequest\x1a\x41.temporal.api.operatorservice.v1.AddOrUpdateRemoteClusterResponse\"\x00\x12\x92\x01\n\x13RemoveRemoteCluster\x12;.temporal.api.operatorservice.v1.RemoveRemoteClusterRequest\x1a<.temporal.api.operatorservice.v1.RemoveRemoteClusterResponse\"\x00\x12}\n\x0cListClusters\x12\x34.temporal.api.operatorservice.v1.ListClustersRequest\x1a\x35.temporal.api.operatorservice.v1.ListClustersResponse\"\x00\x12\xce\x01\n\x10GetNexusEndpoint\x12\x38.temporal.api.operatorservice.v1.GetNexusEndpointRequest\x1a\x39.temporal.api.operatorservice.v1.GetNexusEndpointResponse\"E\x82\xd3\xe4\x93\x02?\x12\x1d/cluster/nexus/endpoints/{id}Z\x1e\x12\x1c/api/v1/nexus/endpoints/{id}\x12\xd3\x01\n\x13\x43reateNexusEndpoint\x12;.temporal.api.operatorservice.v1.CreateNexusEndpointRequest\x1a<.temporal.api.operatorservice.v1.CreateNexusEndpointResponse\"A\x82\xd3\xe4\x93\x02;\"\x18/cluster/nexus/endpoints:\x01*Z\x1c\"\x17/api/v1/nexus/endpoints:\x01*\x12\xeb\x01\n\x13UpdateNexusEndpoint\x12;.temporal.api.operatorservice.v1.UpdateNexusEndpointRequest\x1a<.temporal.api.operatorservice.v1.UpdateNexusEndpointResponse\"Y\x82\xd3\xe4\x93\x02S\"$/cluster/nexus/endpoints/{id}/update:\x01*Z(\"#/api/v1/nexus/endpoints/{id}/update:\x01*\x12\xd7\x01\n\x13\x44\x65leteNexusEndpoint\x12;.temporal.api.operatorservice.v1.DeleteNexusEndpointRequest\x1a<.temporal.api.operatorservice.v1.DeleteNexusEndpointResponse\"E\x82\xd3\xe4\x93\x02?*\x1d/cluster/nexus/endpoints/{id}Z\x1e*\x1c/api/v1/nexus/endpoints/{id}\x12\xca\x01\n\x12ListNexusEndpoints\x12:.temporal.api.operatorservice.v1.ListNexusEndpointsRequest\x1a;.temporal.api.operatorservice.v1.ListNexusEndpointsResponse\";\x82\xd3\xe4\x93\x02\x35\x12\x18/cluster/nexus/endpointsZ\x19\x12\x17/api/v1/nexus/endpointsB\xb6\x01\n\"io.temporal.api.operatorservice.v1B\x0cServiceProtoP\x01Z5go.temporal.io/api/operatorservice/v1;operatorservice\xaa\x02!Temporalio.Api.OperatorService.V1\xea\x02$Temporalio::Api::OperatorService::V1b\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Temporalio module Api diff --git a/lib/gen/temporal/api/operatorservice/v1/service_services_pb.rb b/lib/gen/temporal/api/operatorservice/v1/service_services_pb.rb index 44a8c5713..964dc4f33 100644 --- a/lib/gen/temporal/api/operatorservice/v1/service_services_pb.rb +++ b/lib/gen/temporal/api/operatorservice/v1/service_services_pb.rb @@ -1,28 +1,5 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # Source: temporal/api/operatorservice/v1/service.proto for package 'Temporalio.Api.OperatorService.V1' -# Original file comments: -# The MIT License -# -# Copyright (c) 2020 Temporal Technologies Inc. All rights reserved. -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -# THE SOFTWARE. -# require 'grpc' require 'temporal/api/operatorservice/v1/service_pb' @@ -56,10 +33,6 @@ class Service # ListSearchAttributes returns comprehensive information about search attributes. rpc :ListSearchAttributes, ::Temporalio::Api::OperatorService::V1::ListSearchAttributesRequest, ::Temporalio::Api::OperatorService::V1::ListSearchAttributesResponse # DeleteNamespace synchronously deletes a namespace and asynchronously reclaims all namespace resources. - # (-- api-linter: core::0135::method-signature=disabled - # aip.dev/not-precedent: DeleteNamespace RPC doesn't follow Google API format. --) - # (-- api-linter: core::0135::response-message-name=disabled - # aip.dev/not-precedent: DeleteNamespace RPC doesn't follow Google API format. --) rpc :DeleteNamespace, ::Temporalio::Api::OperatorService::V1::DeleteNamespaceRequest, ::Temporalio::Api::OperatorService::V1::DeleteNamespaceResponse # AddOrUpdateRemoteCluster adds or updates remote cluster. rpc :AddOrUpdateRemoteCluster, ::Temporalio::Api::OperatorService::V1::AddOrUpdateRemoteClusterRequest, ::Temporalio::Api::OperatorService::V1::AddOrUpdateRemoteClusterResponse @@ -67,6 +40,25 @@ class Service rpc :RemoveRemoteCluster, ::Temporalio::Api::OperatorService::V1::RemoveRemoteClusterRequest, ::Temporalio::Api::OperatorService::V1::RemoveRemoteClusterResponse # ListClusters returns information about Temporal clusters. rpc :ListClusters, ::Temporalio::Api::OperatorService::V1::ListClustersRequest, ::Temporalio::Api::OperatorService::V1::ListClustersResponse + # Get a registered Nexus endpoint by ID. The returned version can be used for optimistic updates. + rpc :GetNexusEndpoint, ::Temporalio::Api::OperatorService::V1::GetNexusEndpointRequest, ::Temporalio::Api::OperatorService::V1::GetNexusEndpointResponse + # Create a Nexus endpoint. This will fail if an endpoint with the same name is already registered with a status of + # ALREADY_EXISTS. + # Returns the created endpoint with its initial version. You may use this version for subsequent updates. + rpc :CreateNexusEndpoint, ::Temporalio::Api::OperatorService::V1::CreateNexusEndpointRequest, ::Temporalio::Api::OperatorService::V1::CreateNexusEndpointResponse + # Optimistically update a Nexus endpoint based on provided version as obtained via the `GetNexusEndpoint` or + # `ListNexusEndpointResponse` APIs. This will fail with a status of FAILED_PRECONDITION if the version does not + # match. + # Returns the updated endpoint with its updated version. You may use this version for subsequent updates. You don't + # need to increment the version yourself. The server will increment the version for you after each update. + rpc :UpdateNexusEndpoint, ::Temporalio::Api::OperatorService::V1::UpdateNexusEndpointRequest, ::Temporalio::Api::OperatorService::V1::UpdateNexusEndpointResponse + # Delete an incoming Nexus service by ID. + rpc :DeleteNexusEndpoint, ::Temporalio::Api::OperatorService::V1::DeleteNexusEndpointRequest, ::Temporalio::Api::OperatorService::V1::DeleteNexusEndpointResponse + # List all Nexus endpoints for the cluster, sorted by ID in ascending order. Set page_token in the request to the + # next_page_token field of the previous response to get the next page of results. An empty next_page_token + # indicates that there are no more results. During pagination, a newly added service with an ID lexicographically + # earlier than the previous page's last endpoint's ID may be missed. + rpc :ListNexusEndpoints, ::Temporalio::Api::OperatorService::V1::ListNexusEndpointsRequest, ::Temporalio::Api::OperatorService::V1::ListNexusEndpointsResponse end Stub = Service.rpc_stub_class diff --git a/lib/gen/temporal/api/protocol/v1/message_pb.rb b/lib/gen/temporal/api/protocol/v1/message_pb.rb index 577b0c111..0c8049a5e 100644 --- a/lib/gen/temporal/api/protocol/v1/message_pb.rb +++ b/lib/gen/temporal/api/protocol/v1/message_pb.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/protocol/v1/message.proto @@ -5,19 +6,11 @@ require 'google/protobuf/any_pb' -Google::Protobuf::DescriptorPool.generated_pool.build do - add_file("temporal/api/protocol/v1/message.proto", :syntax => :proto3) do - add_message "temporal.api.protocol.v1.Message" do - optional :id, :string, 1 - optional :protocol_instance_id, :string, 2 - optional :body, :message, 5, "google.protobuf.Any" - oneof :sequencing_id do - optional :event_id, :int64, 3 - optional :command_index, :int64, 4 - end - end - end -end + +descriptor_data = "\n&temporal/api/protocol/v1/message.proto\x12\x18temporal.api.protocol.v1\x1a\x19google/protobuf/any.proto\"\x95\x01\n\x07Message\x12\n\n\x02id\x18\x01 \x01(\t\x12\x1c\n\x14protocol_instance_id\x18\x02 \x01(\t\x12\x12\n\x08\x65vent_id\x18\x03 \x01(\x03H\x00\x12\x17\n\rcommand_index\x18\x04 \x01(\x03H\x00\x12\"\n\x04\x62ody\x18\x05 \x01(\x0b\x32\x14.google.protobuf.AnyB\x0f\n\rsequencing_idB\x93\x01\n\x1bio.temporal.api.protocol.v1B\x0cMessageProtoP\x01Z\'go.temporal.io/api/protocol/v1;protocol\xaa\x02\x1aTemporalio.Api.Protocol.V1\xea\x02\x1dTemporalio::Api::Protocol::V1b\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Temporalio module Api diff --git a/lib/gen/temporal/api/protometa/v1/annotations_pb.rb b/lib/gen/temporal/api/protometa/v1/annotations_pb.rb new file mode 100644 index 000000000..8d43d7a51 --- /dev/null +++ b/lib/gen/temporal/api/protometa/v1/annotations_pb.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: temporal/api/protometa/v1/annotations.proto + +require 'google/protobuf' + +require 'google/protobuf/descriptor_pb' + + +descriptor_data = "\n+temporal/api/protometa/v1/annotations.proto\x12\x19temporal.api.protometa.v1\x1a google/protobuf/descriptor.proto\"8\n\x17RequestHeaderAnnotation\x12\x0e\n\x06header\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:m\n\x0erequest_header\x12\x1e.google.protobuf.MethodOptions\x18\xd1\xc3\xb9\x03 \x03(\x0b\x32\x32.temporal.api.protometa.v1.RequestHeaderAnnotationB\x9c\x01\n\x1cio.temporal.api.protometa.v1B\x10\x41nnotationsProtoP\x01Z)go.temporal.io/api/protometa/v1;protometa\xaa\x02\x1bTemporalio.Api.Protometa.V1\xea\x02\x1eTemporalio::Api::Protometa::V1b\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) + +module Temporalio + module Api + module Protometa + module V1 + RequestHeaderAnnotation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.protometa.v1.RequestHeaderAnnotation").msgclass + end + end + end +end diff --git a/lib/gen/temporal/api/query/v1/message_pb.rb b/lib/gen/temporal/api/query/v1/message_pb.rb index 652b77c14..f0ea90e80 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,24 +7,13 @@ require 'temporal/api/enums/v1/query_pb' require 'temporal/api/enums/v1/workflow_pb' require 'temporal/api/common/v1/message_pb' +require 'temporal/api/failure/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" - optional :header, :message, 3, "temporal.api.common.v1.Header" - 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\x1a%temporal/api/failure/v1/message.proto\"\x89\x01\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\x12.\n\x06header\x18\x03 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\"\xce\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\x12\x31\n\x07\x66\x61ilure\x18\x04 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\"O\n\rQueryRejected\x12>\n\x06status\x18\x01 \x01(\x0e\x32..temporal.api.enums.v1.WorkflowExecutionStatusB\x84\x01\n\x18io.temporal.api.query.v1B\x0cMessageProtoP\x01Z!go.temporal.io/api/query/v1;query\xaa\x02\x17Temporalio.Api.Query.V1\xea\x02\x1aTemporalio::Api::Query::V1b\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Temporalio 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 5336b7def..6475b0d76 100644 --- a/lib/gen/temporal/api/replication/v1/message_pb.rb +++ b/lib/gen/temporal/api/replication/v1/message_pb.rb @@ -1,28 +1,17 @@ +# frozen_string_literal: true # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/replication/v1/message.proto require 'google/protobuf' 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/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" - optional :state, :enum, 3, "temporal.api.enums.v1.ReplicationState" - end - add_message "temporal.api.replication.v1.FailoverStatus" do - optional :failover_time, :message, 1, "google.protobuf.Timestamp" - optional :failover_version, :int64, 2 - end - end -end + +descriptor_data = "\n)temporal/api/replication/v1/message.proto\x12\x1btemporal.api.replication.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a%temporal/api/enums/v1/namespace.proto\"0\n\x18\x43lusterReplicationConfig\x12\x14\n\x0c\x63luster_name\x18\x01 \x01(\t\"\xba\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.ClusterReplicationConfig\x12\x36\n\x05state\x18\x03 \x01(\x0e\x32\'.temporal.api.enums.v1.ReplicationState\"]\n\x0e\x46\x61iloverStatus\x12\x31\n\rfailover_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x18\n\x10\x66\x61ilover_version\x18\x02 \x01(\x03\x42\xa2\x01\n\x1eio.temporal.api.replication.v1B\x0cMessageProtoP\x01Z-go.temporal.io/api/replication/v1;replication\xaa\x02\x1dTemporalio.Api.Replication.V1\xea\x02 Temporalio::Api::Replication::V1b\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Temporalio module Api diff --git a/lib/gen/temporal/api/rules/v1/message_pb.rb b/lib/gen/temporal/api/rules/v1/message_pb.rb new file mode 100644 index 000000000..0b994a732 --- /dev/null +++ b/lib/gen/temporal/api/rules/v1/message_pb.rb @@ -0,0 +1,27 @@ +# frozen_string_literal: true +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: temporal/api/rules/v1/message.proto + +require 'google/protobuf' + +require 'google/protobuf/timestamp_pb' + + +descriptor_data = "\n#temporal/api/rules/v1/message.proto\x12\x15temporal.api.rules.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\x8f\x01\n\x12WorkflowRuleAction\x12W\n\x0e\x61\x63tivity_pause\x18\x01 \x01(\x0b\x32=.temporal.api.rules.v1.WorkflowRuleAction.ActionActivityPauseH\x00\x1a\x15\n\x13\x41\x63tionActivityPauseB\t\n\x07variant\"\xbd\x02\n\x10WorkflowRuleSpec\x12\n\n\x02id\x18\x01 \x01(\t\x12Y\n\x0e\x61\x63tivity_start\x18\x02 \x01(\x0b\x32?.temporal.api.rules.v1.WorkflowRuleSpec.ActivityStartingTriggerH\x00\x12\x18\n\x10visibility_query\x18\x03 \x01(\t\x12:\n\x07\x61\x63tions\x18\x04 \x03(\x0b\x32).temporal.api.rules.v1.WorkflowRuleAction\x12\x33\n\x0f\x65xpiration_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x1a,\n\x17\x41\x63tivityStartingTrigger\x12\x11\n\tpredicate\x18\x01 \x01(\tB\t\n\x07trigger\"\xa8\x01\n\x0cWorkflowRule\x12/\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x04spec\x18\x02 \x01(\x0b\x32\'.temporal.api.rules.v1.WorkflowRuleSpec\x12\x1b\n\x13\x63reated_by_identity\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\tB\x84\x01\n\x18io.temporal.api.rules.v1B\x0cMessageProtoP\x01Z!go.temporal.io/api/rules/v1;rules\xaa\x02\x17Temporalio.Api.Rules.V1\xea\x02\x1aTemporalio::Api::Rules::V1b\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) + +module Temporalio + module Api + module Rules + module V1 + WorkflowRuleAction = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.rules.v1.WorkflowRuleAction").msgclass + WorkflowRuleAction::ActionActivityPause = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.rules.v1.WorkflowRuleAction.ActionActivityPause").msgclass + WorkflowRuleSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.rules.v1.WorkflowRuleSpec").msgclass + WorkflowRuleSpec::ActivityStartingTrigger = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.rules.v1.WorkflowRuleSpec.ActivityStartingTrigger").msgclass + WorkflowRule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.rules.v1.WorkflowRule").msgclass + end + end + end +end diff --git a/lib/gen/temporal/api/schedule/v1/message_pb.rb b/lib/gen/temporal/api/schedule/v1/message_pb.rb index 1d2f53832..c4b2a94c2 100644 --- a/lib/gen/temporal/api/schedule/v1/message_pb.rb +++ b/lib/gen/temporal/api/schedule/v1/message_pb.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/schedule/v1/message.proto @@ -5,123 +6,16 @@ require 'google/protobuf/duration_pb' require 'google/protobuf/timestamp_pb' -require 'dependencies/gogoproto/gogo_pb' require 'temporal/api/common/v1/message_pb' require 'temporal/api/enums/v1/schedule_pb' +require 'temporal/api/enums/v1/workflow_pb' require 'temporal/api/workflow/v1/message_pb' -Google::Protobuf::DescriptorPool.generated_pool.build do - add_file("temporal/api/schedule/v1/message.proto", :syntax => :proto3) do - add_message "temporal.api.schedule.v1.CalendarSpec" do - optional :second, :string, 1 - optional :minute, :string, 2 - optional :hour, :string, 3 - optional :day_of_month, :string, 4 - optional :month, :string, 5 - optional :year, :string, 6 - optional :day_of_week, :string, 7 - optional :comment, :string, 8 - end - add_message "temporal.api.schedule.v1.Range" do - optional :start, :int32, 1 - optional :end, :int32, 2 - optional :step, :int32, 3 - end - add_message "temporal.api.schedule.v1.StructuredCalendarSpec" do - repeated :second, :message, 1, "temporal.api.schedule.v1.Range" - repeated :minute, :message, 2, "temporal.api.schedule.v1.Range" - repeated :hour, :message, 3, "temporal.api.schedule.v1.Range" - repeated :day_of_month, :message, 4, "temporal.api.schedule.v1.Range" - repeated :month, :message, 5, "temporal.api.schedule.v1.Range" - repeated :year, :message, 6, "temporal.api.schedule.v1.Range" - repeated :day_of_week, :message, 7, "temporal.api.schedule.v1.Range" - optional :comment, :string, 8 - end - add_message "temporal.api.schedule.v1.IntervalSpec" do - optional :interval, :message, 1, "google.protobuf.Duration" - optional :phase, :message, 2, "google.protobuf.Duration" - end - add_message "temporal.api.schedule.v1.ScheduleSpec" do - repeated :structured_calendar, :message, 7, "temporal.api.schedule.v1.StructuredCalendarSpec" - repeated :cron_string, :string, 8 - repeated :calendar, :message, 1, "temporal.api.schedule.v1.CalendarSpec" - repeated :interval, :message, 2, "temporal.api.schedule.v1.IntervalSpec" - repeated :exclude_calendar, :message, 3, "temporal.api.schedule.v1.CalendarSpec" - repeated :exclude_structured_calendar, :message, 9, "temporal.api.schedule.v1.StructuredCalendarSpec" - optional :start_time, :message, 4, "google.protobuf.Timestamp" - optional :end_time, :message, 5, "google.protobuf.Timestamp" - optional :jitter, :message, 6, "google.protobuf.Duration" - optional :timezone_name, :string, 10 - optional :timezone_data, :bytes, 11 - end - add_message "temporal.api.schedule.v1.SchedulePolicies" do - optional :overlap_policy, :enum, 1, "temporal.api.enums.v1.ScheduleOverlapPolicy" - optional :catchup_window, :message, 2, "google.protobuf.Duration" - optional :pause_on_failure, :bool, 3 - end - add_message "temporal.api.schedule.v1.ScheduleAction" do - oneof :action do - optional :start_workflow, :message, 1, "temporal.api.workflow.v1.NewWorkflowExecutionInfo" - end - end - add_message "temporal.api.schedule.v1.ScheduleActionResult" do - optional :schedule_time, :message, 1, "google.protobuf.Timestamp" - optional :actual_time, :message, 2, "google.protobuf.Timestamp" - optional :start_workflow_result, :message, 11, "temporal.api.common.v1.WorkflowExecution" - end - add_message "temporal.api.schedule.v1.ScheduleState" do - optional :notes, :string, 1 - optional :paused, :bool, 2 - optional :limited_actions, :bool, 3 - optional :remaining_actions, :int64, 4 - end - add_message "temporal.api.schedule.v1.TriggerImmediatelyRequest" do - optional :overlap_policy, :enum, 1, "temporal.api.enums.v1.ScheduleOverlapPolicy" - end - add_message "temporal.api.schedule.v1.BackfillRequest" do - optional :start_time, :message, 1, "google.protobuf.Timestamp" - optional :end_time, :message, 2, "google.protobuf.Timestamp" - optional :overlap_policy, :enum, 3, "temporal.api.enums.v1.ScheduleOverlapPolicy" - end - add_message "temporal.api.schedule.v1.SchedulePatch" do - optional :trigger_immediately, :message, 1, "temporal.api.schedule.v1.TriggerImmediatelyRequest" - repeated :backfill_request, :message, 2, "temporal.api.schedule.v1.BackfillRequest" - optional :pause, :string, 3 - optional :unpause, :string, 4 - end - add_message "temporal.api.schedule.v1.ScheduleInfo" do - optional :action_count, :int64, 1 - optional :missed_catchup_window, :int64, 2 - optional :overlap_skipped, :int64, 3 - repeated :running_workflows, :message, 9, "temporal.api.common.v1.WorkflowExecution" - repeated :recent_actions, :message, 4, "temporal.api.schedule.v1.ScheduleActionResult" - repeated :future_action_times, :message, 5, "google.protobuf.Timestamp" - optional :create_time, :message, 6, "google.protobuf.Timestamp" - optional :update_time, :message, 7, "google.protobuf.Timestamp" - optional :invalid_schedule_error, :string, 8 - end - add_message "temporal.api.schedule.v1.Schedule" do - optional :spec, :message, 1, "temporal.api.schedule.v1.ScheduleSpec" - optional :action, :message, 2, "temporal.api.schedule.v1.ScheduleAction" - optional :policies, :message, 3, "temporal.api.schedule.v1.SchedulePolicies" - optional :state, :message, 4, "temporal.api.schedule.v1.ScheduleState" - end - add_message "temporal.api.schedule.v1.ScheduleListInfo" do - optional :spec, :message, 1, "temporal.api.schedule.v1.ScheduleSpec" - optional :workflow_type, :message, 2, "temporal.api.common.v1.WorkflowType" - optional :notes, :string, 3 - optional :paused, :bool, 4 - repeated :recent_actions, :message, 5, "temporal.api.schedule.v1.ScheduleActionResult" - repeated :future_action_times, :message, 6, "google.protobuf.Timestamp" - end - add_message "temporal.api.schedule.v1.ScheduleListEntry" do - optional :schedule_id, :string, 1 - optional :memo, :message, 2, "temporal.api.common.v1.Memo" - optional :search_attributes, :message, 3, "temporal.api.common.v1.SearchAttributes" - optional :info, :message, 4, "temporal.api.schedule.v1.ScheduleListInfo" - end - end -end + +descriptor_data = "\n&temporal/api/schedule/v1/message.proto\x12\x18temporal.api.schedule.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a$temporal/api/common/v1/message.proto\x1a$temporal/api/enums/v1/schedule.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a&temporal/api/workflow/v1/message.proto\"\x95\x01\n\x0c\x43\x61lendarSpec\x12\x0e\n\x06second\x18\x01 \x01(\t\x12\x0e\n\x06minute\x18\x02 \x01(\t\x12\x0c\n\x04hour\x18\x03 \x01(\t\x12\x14\n\x0c\x64\x61y_of_month\x18\x04 \x01(\t\x12\r\n\x05month\x18\x05 \x01(\t\x12\x0c\n\x04year\x18\x06 \x01(\t\x12\x13\n\x0b\x64\x61y_of_week\x18\x07 \x01(\t\x12\x0f\n\x07\x63omment\x18\x08 \x01(\t\"1\n\x05Range\x12\r\n\x05start\x18\x01 \x01(\x05\x12\x0b\n\x03\x65nd\x18\x02 \x01(\x05\x12\x0c\n\x04step\x18\x03 \x01(\x05\"\x86\x03\n\x16StructuredCalendarSpec\x12/\n\x06second\x18\x01 \x03(\x0b\x32\x1f.temporal.api.schedule.v1.Range\x12/\n\x06minute\x18\x02 \x03(\x0b\x32\x1f.temporal.api.schedule.v1.Range\x12-\n\x04hour\x18\x03 \x03(\x0b\x32\x1f.temporal.api.schedule.v1.Range\x12\x35\n\x0c\x64\x61y_of_month\x18\x04 \x03(\x0b\x32\x1f.temporal.api.schedule.v1.Range\x12.\n\x05month\x18\x05 \x03(\x0b\x32\x1f.temporal.api.schedule.v1.Range\x12-\n\x04year\x18\x06 \x03(\x0b\x32\x1f.temporal.api.schedule.v1.Range\x12\x34\n\x0b\x64\x61y_of_week\x18\x07 \x03(\x0b\x32\x1f.temporal.api.schedule.v1.Range\x12\x0f\n\x07\x63omment\x18\x08 \x01(\t\"e\n\x0cIntervalSpec\x12+\n\x08interval\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12(\n\x05phase\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\"\xba\x04\n\x0cScheduleSpec\x12M\n\x13structured_calendar\x18\x07 \x03(\x0b\x32\x30.temporal.api.schedule.v1.StructuredCalendarSpec\x12\x13\n\x0b\x63ron_string\x18\x08 \x03(\t\x12\x38\n\x08\x63\x61lendar\x18\x01 \x03(\x0b\x32&.temporal.api.schedule.v1.CalendarSpec\x12\x38\n\x08interval\x18\x02 \x03(\x0b\x32&.temporal.api.schedule.v1.IntervalSpec\x12\x44\n\x10\x65xclude_calendar\x18\x03 \x03(\x0b\x32&.temporal.api.schedule.v1.CalendarSpecB\x02\x18\x01\x12U\n\x1b\x65xclude_structured_calendar\x18\t \x03(\x0b\x32\x30.temporal.api.schedule.v1.StructuredCalendarSpec\x12.\n\nstart_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12)\n\x06jitter\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x15\n\rtimezone_name\x18\n \x01(\t\x12\x15\n\rtimezone_data\x18\x0b \x01(\x0c\"\xc8\x01\n\x10SchedulePolicies\x12\x44\n\x0eoverlap_policy\x18\x01 \x01(\x0e\x32,.temporal.api.enums.v1.ScheduleOverlapPolicy\x12\x31\n\x0e\x63\x61tchup_window\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x18\n\x10pause_on_failure\x18\x03 \x01(\x08\x12!\n\x19keep_original_workflow_id\x18\x04 \x01(\x08\"h\n\x0eScheduleAction\x12L\n\x0estart_workflow\x18\x01 \x01(\x0b\x32\x32.temporal.api.workflow.v1.NewWorkflowExecutionInfoH\x00\x42\x08\n\x06\x61\x63tion\"\x93\x02\n\x14ScheduleActionResult\x12\x31\n\rschedule_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x61\x63tual_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12H\n\x15start_workflow_result\x18\x0b \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12M\n\x15start_workflow_status\x18\x0c \x01(\x0e\x32..temporal.api.enums.v1.WorkflowExecutionStatus\"b\n\rScheduleState\x12\r\n\x05notes\x18\x01 \x01(\t\x12\x0e\n\x06paused\x18\x02 \x01(\x08\x12\x17\n\x0flimited_actions\x18\x03 \x01(\x08\x12\x19\n\x11remaining_actions\x18\x04 \x01(\x03\"\x95\x01\n\x19TriggerImmediatelyRequest\x12\x44\n\x0eoverlap_policy\x18\x01 \x01(\x0e\x32,.temporal.api.enums.v1.ScheduleOverlapPolicy\x12\x32\n\x0escheduled_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xb5\x01\n\x0f\x42\x61\x63kfillRequest\x12.\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x44\n\x0eoverlap_policy\x18\x03 \x01(\x0e\x32,.temporal.api.enums.v1.ScheduleOverlapPolicy\"\xc6\x01\n\rSchedulePatch\x12P\n\x13trigger_immediately\x18\x01 \x01(\x0b\x32\x33.temporal.api.schedule.v1.TriggerImmediatelyRequest\x12\x43\n\x10\x62\x61\x63kfill_request\x18\x02 \x03(\x0b\x32).temporal.api.schedule.v1.BackfillRequest\x12\r\n\x05pause\x18\x03 \x01(\t\x12\x0f\n\x07unpause\x18\x04 \x01(\t\"\xd6\x03\n\x0cScheduleInfo\x12\x14\n\x0c\x61\x63tion_count\x18\x01 \x01(\x03\x12\x1d\n\x15missed_catchup_window\x18\x02 \x01(\x03\x12\x17\n\x0foverlap_skipped\x18\x03 \x01(\x03\x12\x16\n\x0e\x62uffer_dropped\x18\n \x01(\x03\x12\x13\n\x0b\x62uffer_size\x18\x0b \x01(\x03\x12\x44\n\x11running_workflows\x18\t \x03(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x46\n\x0erecent_actions\x18\x04 \x03(\x0b\x32..temporal.api.schedule.v1.ScheduleActionResult\x12\x37\n\x13\x66uture_action_times\x18\x05 \x03(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x63reate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\"\n\x16invalid_schedule_error\x18\x08 \x01(\tB\x02\x18\x01\"\xf0\x01\n\x08Schedule\x12\x34\n\x04spec\x18\x01 \x01(\x0b\x32&.temporal.api.schedule.v1.ScheduleSpec\x12\x38\n\x06\x61\x63tion\x18\x02 \x01(\x0b\x32(.temporal.api.schedule.v1.ScheduleAction\x12<\n\x08policies\x18\x03 \x01(\x0b\x32*.temporal.api.schedule.v1.SchedulePolicies\x12\x36\n\x05state\x18\x04 \x01(\x0b\x32\'.temporal.api.schedule.v1.ScheduleState\"\xa5\x02\n\x10ScheduleListInfo\x12\x34\n\x04spec\x18\x01 \x01(\x0b\x32&.temporal.api.schedule.v1.ScheduleSpec\x12;\n\rworkflow_type\x18\x02 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\r\n\x05notes\x18\x03 \x01(\t\x12\x0e\n\x06paused\x18\x04 \x01(\x08\x12\x46\n\x0erecent_actions\x18\x05 \x03(\x0b\x32..temporal.api.schedule.v1.ScheduleActionResult\x12\x37\n\x13\x66uture_action_times\x18\x06 \x03(\x0b\x32\x1a.google.protobuf.Timestamp\"\xd3\x01\n\x11ScheduleListEntry\x12\x13\n\x0bschedule_id\x18\x01 \x01(\t\x12*\n\x04memo\x18\x02 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x03 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12\x38\n\x04info\x18\x04 \x01(\x0b\x32*.temporal.api.schedule.v1.ScheduleListInfoB\x93\x01\n\x1bio.temporal.api.schedule.v1B\x0cMessageProtoP\x01Z\'go.temporal.io/api/schedule/v1;schedule\xaa\x02\x1aTemporalio.Api.Schedule.V1\xea\x02\x1dTemporalio::Api::Schedule::V1b\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Temporalio module Api diff --git a/lib/gen/temporal/api/sdk/v1/enhanced_stack_trace_pb.rb b/lib/gen/temporal/api/sdk/v1/enhanced_stack_trace_pb.rb new file mode 100644 index 000000000..a343a6a96 --- /dev/null +++ b/lib/gen/temporal/api/sdk/v1/enhanced_stack_trace_pb.rb @@ -0,0 +1,25 @@ +# frozen_string_literal: true +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: temporal/api/sdk/v1/enhanced_stack_trace.proto + +require 'google/protobuf' + + +descriptor_data = "\n.temporal/api/sdk/v1/enhanced_stack_trace.proto\x12\x13temporal.api.sdk.v1\"\x9b\x02\n\x12\x45nhancedStackTrace\x12\x33\n\x03sdk\x18\x01 \x01(\x0b\x32&.temporal.api.sdk.v1.StackTraceSDKInfo\x12\x45\n\x07sources\x18\x02 \x03(\x0b\x32\x34.temporal.api.sdk.v1.EnhancedStackTrace.SourcesEntry\x12/\n\x06stacks\x18\x03 \x03(\x0b\x32\x1f.temporal.api.sdk.v1.StackTrace\x1aX\n\x0cSourcesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x37\n\x05value\x18\x02 \x01(\x0b\x32(.temporal.api.sdk.v1.StackTraceFileSlice:\x02\x38\x01\"2\n\x11StackTraceSDKInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t\";\n\x13StackTraceFileSlice\x12\x13\n\x0bline_offset\x18\x01 \x01(\r\x12\x0f\n\x07\x63ontent\x18\x02 \x01(\t\"w\n\x16StackTraceFileLocation\x12\x11\n\tfile_path\x18\x01 \x01(\t\x12\x0c\n\x04line\x18\x02 \x01(\x05\x12\x0e\n\x06\x63olumn\x18\x03 \x01(\x05\x12\x15\n\rfunction_name\x18\x04 \x01(\t\x12\x15\n\rinternal_code\x18\x05 \x01(\x08\"L\n\nStackTrace\x12>\n\tlocations\x18\x01 \x03(\x0b\x32+.temporal.api.sdk.v1.StackTraceFileLocationB\x85\x01\n\x16io.temporal.api.sdk.v1B\x17\x45nhancedStackTraceProtoP\x01Z\x1dgo.temporal.io/api/sdk/v1;sdk\xaa\x02\x15Temporalio.Api.Sdk.V1\xea\x02\x18Temporalio::Api::Sdk::V1b\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) + +module Temporalio + module Api + module Sdk + module V1 + EnhancedStackTrace = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.sdk.v1.EnhancedStackTrace").msgclass + StackTraceSDKInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.sdk.v1.StackTraceSDKInfo").msgclass + StackTraceFileSlice = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.sdk.v1.StackTraceFileSlice").msgclass + StackTraceFileLocation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.sdk.v1.StackTraceFileLocation").msgclass + StackTrace = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.sdk.v1.StackTrace").msgclass + end + end + end +end diff --git a/lib/gen/temporal/api/sdk/v1/task_complete_metadata_pb.rb b/lib/gen/temporal/api/sdk/v1/task_complete_metadata_pb.rb index 281bd5180..623c1ebc6 100644 --- a/lib/gen/temporal/api/sdk/v1/task_complete_metadata_pb.rb +++ b/lib/gen/temporal/api/sdk/v1/task_complete_metadata_pb.rb @@ -1,16 +1,14 @@ +# frozen_string_literal: true # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/sdk/v1/task_complete_metadata.proto require 'google/protobuf' -Google::Protobuf::DescriptorPool.generated_pool.build do - add_file("temporal/api/sdk/v1/task_complete_metadata.proto", :syntax => :proto3) do - add_message "temporal.api.sdk.v1.WorkflowTaskCompletedMetadata" do - repeated :core_used_flags, :uint32, 1 - repeated :lang_used_flags, :uint32, 2 - end - end -end + +descriptor_data = "\n0temporal/api/sdk/v1/task_complete_metadata.proto\x12\x13temporal.api.sdk.v1\"x\n\x1dWorkflowTaskCompletedMetadata\x12\x17\n\x0f\x63ore_used_flags\x18\x01 \x03(\r\x12\x17\n\x0flang_used_flags\x18\x02 \x03(\r\x12\x10\n\x08sdk_name\x18\x03 \x01(\t\x12\x13\n\x0bsdk_version\x18\x04 \x01(\tB\x87\x01\n\x16io.temporal.api.sdk.v1B\x19TaskCompleteMetadataProtoP\x01Z\x1dgo.temporal.io/api/sdk/v1;sdk\xaa\x02\x15Temporalio.Api.Sdk.V1\xea\x02\x18Temporalio::Api::Sdk::V1b\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Temporalio module Api diff --git a/lib/gen/temporal/api/sdk/v1/user_metadata_pb.rb b/lib/gen/temporal/api/sdk/v1/user_metadata_pb.rb new file mode 100644 index 000000000..5998938c6 --- /dev/null +++ b/lib/gen/temporal/api/sdk/v1/user_metadata_pb.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: temporal/api/sdk/v1/user_metadata.proto + +require 'google/protobuf' + +require 'temporal/api/common/v1/message_pb' + + +descriptor_data = "\n\'temporal/api/sdk/v1/user_metadata.proto\x12\x13temporal.api.sdk.v1\x1a$temporal/api/common/v1/message.proto\"r\n\x0cUserMetadata\x12\x30\n\x07summary\x18\x01 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\x30\n\x07\x64\x65tails\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.PayloadB\x7f\n\x16io.temporal.api.sdk.v1B\x11UserMetadataProtoP\x01Z\x1dgo.temporal.io/api/sdk/v1;sdk\xaa\x02\x15Temporalio.Api.Sdk.V1\xea\x02\x18Temporalio::Api::Sdk::V1b\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) + +module Temporalio + module Api + module Sdk + module V1 + UserMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.sdk.v1.UserMetadata").msgclass + end + end + end +end diff --git a/lib/gen/temporal/api/sdk/v1/worker_config_pb.rb b/lib/gen/temporal/api/sdk/v1/worker_config_pb.rb new file mode 100644 index 000000000..d6846c96b --- /dev/null +++ b/lib/gen/temporal/api/sdk/v1/worker_config_pb.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: temporal/api/sdk/v1/worker_config.proto + +require 'google/protobuf' + + +descriptor_data = "\n\'temporal/api/sdk/v1/worker_config.proto\x12\x13temporal.api.sdk.v1\"\x89\x03\n\x0cWorkerConfig\x12\x1b\n\x13workflow_cache_size\x18\x01 \x01(\x05\x12X\n\x16simple_poller_behavior\x18\x02 \x01(\x0b\x32\x36.temporal.api.sdk.v1.WorkerConfig.SimplePollerBehaviorH\x00\x12\x62\n\x1b\x61utoscaling_poller_behavior\x18\x03 \x01(\x0b\x32;.temporal.api.sdk.v1.WorkerConfig.AutoscalingPollerBehaviorH\x00\x1a+\n\x14SimplePollerBehavior\x12\x13\n\x0bmax_pollers\x18\x01 \x01(\x05\x1a^\n\x19\x41utoscalingPollerBehavior\x12\x13\n\x0bmin_pollers\x18\x01 \x01(\x05\x12\x13\n\x0bmax_pollers\x18\x02 \x01(\x05\x12\x17\n\x0finitial_pollers\x18\x03 \x01(\x05\x42\x11\n\x0fpoller_behaviorB\x7f\n\x16io.temporal.api.sdk.v1B\x11WorkerConfigProtoP\x01Z\x1dgo.temporal.io/api/sdk/v1;sdk\xaa\x02\x15Temporalio.Api.Sdk.V1\xea\x02\x18Temporalio::Api::Sdk::V1b\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) + +module Temporalio + module Api + module Sdk + module V1 + WorkerConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.sdk.v1.WorkerConfig").msgclass + WorkerConfig::SimplePollerBehavior = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.sdk.v1.WorkerConfig.SimplePollerBehavior").msgclass + WorkerConfig::AutoscalingPollerBehavior = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.sdk.v1.WorkerConfig.AutoscalingPollerBehavior").msgclass + end + end + end +end diff --git a/lib/gen/temporal/api/sdk/v1/workflow_metadata_pb.rb b/lib/gen/temporal/api/sdk/v1/workflow_metadata_pb.rb new file mode 100644 index 000000000..abb0c635c --- /dev/null +++ b/lib/gen/temporal/api/sdk/v1/workflow_metadata_pb.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: temporal/api/sdk/v1/workflow_metadata.proto + +require 'google/protobuf' + + +descriptor_data = "\n+temporal/api/sdk/v1/workflow_metadata.proto\x12\x13temporal.api.sdk.v1\"h\n\x10WorkflowMetadata\x12;\n\ndefinition\x18\x01 \x01(\x0b\x32\'.temporal.api.sdk.v1.WorkflowDefinition\x12\x17\n\x0f\x63urrent_details\x18\x02 \x01(\t\"\x91\x02\n\x12WorkflowDefinition\x12\x0c\n\x04type\x18\x01 \x01(\t\x12M\n\x11query_definitions\x18\x02 \x03(\x0b\x32\x32.temporal.api.sdk.v1.WorkflowInteractionDefinition\x12N\n\x12signal_definitions\x18\x03 \x03(\x0b\x32\x32.temporal.api.sdk.v1.WorkflowInteractionDefinition\x12N\n\x12update_definitions\x18\x04 \x03(\x0b\x32\x32.temporal.api.sdk.v1.WorkflowInteractionDefinition\"B\n\x1dWorkflowInteractionDefinition\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x83\x01\n\x16io.temporal.api.sdk.v1B\x15WorkflowMetadataProtoP\x01Z\x1dgo.temporal.io/api/sdk/v1;sdk\xaa\x02\x15Temporalio.Api.Sdk.V1\xea\x02\x18Temporalio::Api::Sdk::V1b\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) + +module Temporalio + module Api + module Sdk + module V1 + WorkflowMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.sdk.v1.WorkflowMetadata").msgclass + WorkflowDefinition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.sdk.v1.WorkflowDefinition").msgclass + WorkflowInteractionDefinition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.sdk.v1.WorkflowInteractionDefinition").msgclass + end + end + end +end diff --git a/lib/gen/temporal/api/taskqueue/v1/message_pb.rb b/lib/gen/temporal/api/taskqueue/v1/message_pb.rb index 053e5f67e..edda6514d 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,50 +7,15 @@ 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' require 'temporal/api/common/v1/message_pb' +require 'temporal/api/deployment/v1/message_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 - optional :worker_version_capabilities, :message, 4, "temporal.api.common.v1.WorkerVersionCapabilities" - 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 - add_message "temporal.api.taskqueue.v1.CompatibleVersionSet" do - optional :version_set_id, :string, 1 - repeated :build_ids, :string, 2 - 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&temporal/api/enums/v1/task_queue.proto\x1a$temporal/api/common/v1/message.proto\x1a(temporal/api/deployment/v1/message.proto\"b\n\tTaskQueue\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x32\n\x04kind\x18\x02 \x01(\x0e\x32$.temporal.api.enums.v1.TaskQueueKind\x12\x13\n\x0bnormal_name\x18\x03 \x01(\t\"O\n\x11TaskQueueMetadata\x12:\n\x14max_tasks_per_second\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\"\xda\x02\n\x17TaskQueueVersioningInfo\x12W\n\x1a\x63urrent_deployment_version\x18\x07 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x1b\n\x0f\x63urrent_version\x18\x01 \x01(\tB\x02\x18\x01\x12W\n\x1aramping_deployment_version\x18\t \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x1b\n\x0framping_version\x18\x02 \x01(\tB\x02\x18\x01\x12\"\n\x1aramping_version_percentage\x18\x03 \x01(\x02\x12/\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"W\n\x19TaskQueueVersionSelection\x12\x11\n\tbuild_ids\x18\x01 \x03(\t\x12\x13\n\x0bunversioned\x18\x02 \x01(\x08\x12\x12\n\nall_active\x18\x03 \x01(\x08\"\x95\x02\n\x14TaskQueueVersionInfo\x12R\n\ntypes_info\x18\x01 \x03(\x0b\x32>.temporal.api.taskqueue.v1.TaskQueueVersionInfo.TypesInfoEntry\x12I\n\x11task_reachability\x18\x02 \x01(\x0e\x32..temporal.api.enums.v1.BuildIdTaskReachability\x1a^\n\x0eTypesInfoEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12;\n\x05value\x18\x02 \x01(\x0b\x32,.temporal.api.taskqueue.v1.TaskQueueTypeInfo:\x02\x38\x01\"\x85\x01\n\x11TaskQueueTypeInfo\x12\x36\n\x07pollers\x18\x01 \x03(\x0b\x32%.temporal.api.taskqueue.v1.PollerInfo\x12\x38\n\x05stats\x18\x02 \x01(\x0b\x32).temporal.api.taskqueue.v1.TaskQueueStats\"\xa4\x01\n\x0eTaskQueueStats\x12!\n\x19\x61pproximate_backlog_count\x18\x01 \x01(\x03\x12:\n\x17\x61pproximate_backlog_age\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x16\n\x0etasks_add_rate\x18\x03 \x01(\x02\x12\x1b\n\x13tasks_dispatch_rate\x18\x04 \x01(\x02\"\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\"\x9a\x02\n\nPollerInfo\x12\x34\n\x10last_access_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x17\n\x0frate_per_second\x18\x03 \x01(\x01\x12Z\n\x1bworker_version_capabilities\x18\x04 \x01(\x0b\x32\x31.temporal.api.common.v1.WorkerVersionCapabilitiesB\x02\x18\x01\x12O\n\x12\x64\x65ployment_options\x18\x05 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions\"\x9a\x01\n\x19StickyExecutionAttributes\x12?\n\x11worker_task_queue\x18\x01 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12<\n\x19schedule_to_start_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\")\n\x14\x43ompatibleVersionSet\x12\x11\n\tbuild_ids\x18\x01 \x03(\t\"j\n\x15TaskQueueReachability\x12\x12\n\ntask_queue\x18\x01 \x01(\t\x12=\n\x0creachability\x18\x02 \x03(\x0e\x32\'.temporal.api.enums.v1.TaskReachability\"z\n\x13\x42uildIdReachability\x12\x10\n\x08\x62uild_id\x18\x01 \x01(\t\x12Q\n\x17task_queue_reachability\x18\x02 \x03(\x0b\x32\x30.temporal.api.taskqueue.v1.TaskQueueReachability\"+\n\x10RampByPercentage\x12\x17\n\x0framp_percentage\x18\x01 \x01(\x02\"\x80\x01\n\x15\x42uildIdAssignmentRule\x12\x17\n\x0ftarget_build_id\x18\x01 \x01(\t\x12\x46\n\x0fpercentage_ramp\x18\x03 \x01(\x0b\x32+.temporal.api.taskqueue.v1.RampByPercentageH\x00\x42\x06\n\x04ramp\"Q\n\x1d\x43ompatibleBuildIdRedirectRule\x12\x17\n\x0fsource_build_id\x18\x01 \x01(\t\x12\x17\n\x0ftarget_build_id\x18\x02 \x01(\t\"\x93\x01\n TimestampedBuildIdAssignmentRule\x12>\n\x04rule\x18\x01 \x01(\x0b\x32\x30.temporal.api.taskqueue.v1.BuildIdAssignmentRule\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xa3\x01\n(TimestampedCompatibleBuildIdRedirectRule\x12\x46\n\x04rule\x18\x01 \x01(\x0b\x32\x38.temporal.api.taskqueue.v1.CompatibleBuildIdRedirectRule\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\">\n\x15PollerScalingDecision\x12%\n\x1dpoll_request_delta_suggestion\x18\x01 \x01(\x05\"(\n\tRateLimit\x12\x1b\n\x13requests_per_second\x18\x01 \x01(\x02\"j\n\x0e\x43onfigMetadata\x12\x0e\n\x06reason\x18\x01 \x01(\t\x12\x17\n\x0fupdate_identity\x18\x02 \x01(\t\x12/\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x88\x01\n\x0fRateLimitConfig\x12\x38\n\nrate_limit\x18\x01 \x01(\x0b\x32$.temporal.api.taskqueue.v1.RateLimit\x12;\n\x08metadata\x18\x02 \x01(\x0b\x32).temporal.api.taskqueue.v1.ConfigMetadata\"\xd9\x02\n\x0fTaskQueueConfig\x12\x44\n\x10queue_rate_limit\x18\x01 \x01(\x0b\x32*.temporal.api.taskqueue.v1.RateLimitConfig\x12T\n fairness_keys_rate_limit_default\x18\x02 \x01(\x0b\x32*.temporal.api.taskqueue.v1.RateLimitConfig\x12j\n\x19\x66\x61irness_weight_overrides\x18\x03 \x03(\x0b\x32G.temporal.api.taskqueue.v1.TaskQueueConfig.FairnessWeightOverridesEntry\x1a>\n\x1c\x46\x61irnessWeightOverridesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x02:\x02\x38\x01\x42\x98\x01\n\x1cio.temporal.api.taskqueue.v1B\x0cMessageProtoP\x01Z)go.temporal.io/api/taskqueue/v1;taskqueue\xaa\x02\x1bTemporalio.Api.TaskQueue.V1\xea\x02\x1eTemporalio::Api::TaskQueue::V1b\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Temporalio module Api @@ -57,12 +23,29 @@ module TaskQueue module V1 TaskQueue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.taskqueue.v1.TaskQueue").msgclass TaskQueueMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.taskqueue.v1.TaskQueueMetadata").msgclass + TaskQueueVersioningInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.taskqueue.v1.TaskQueueVersioningInfo").msgclass + TaskQueueVersionSelection = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.taskqueue.v1.TaskQueueVersionSelection").msgclass + TaskQueueVersionInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.taskqueue.v1.TaskQueueVersionInfo").msgclass + TaskQueueTypeInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.taskqueue.v1.TaskQueueTypeInfo").msgclass + TaskQueueStats = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.taskqueue.v1.TaskQueueStats").msgclass TaskQueueStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.taskqueue.v1.TaskQueueStatus").msgclass TaskIdBlock = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.taskqueue.v1.TaskIdBlock").msgclass TaskQueuePartitionMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.taskqueue.v1.TaskQueuePartitionMetadata").msgclass PollerInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.taskqueue.v1.PollerInfo").msgclass StickyExecutionAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.taskqueue.v1.StickyExecutionAttributes").msgclass CompatibleVersionSet = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.taskqueue.v1.CompatibleVersionSet").msgclass + TaskQueueReachability = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.taskqueue.v1.TaskQueueReachability").msgclass + BuildIdReachability = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.taskqueue.v1.BuildIdReachability").msgclass + RampByPercentage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.taskqueue.v1.RampByPercentage").msgclass + BuildIdAssignmentRule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.taskqueue.v1.BuildIdAssignmentRule").msgclass + CompatibleBuildIdRedirectRule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.taskqueue.v1.CompatibleBuildIdRedirectRule").msgclass + TimestampedBuildIdAssignmentRule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.taskqueue.v1.TimestampedBuildIdAssignmentRule").msgclass + TimestampedCompatibleBuildIdRedirectRule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.taskqueue.v1.TimestampedCompatibleBuildIdRedirectRule").msgclass + PollerScalingDecision = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.taskqueue.v1.PollerScalingDecision").msgclass + RateLimit = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.taskqueue.v1.RateLimit").msgclass + ConfigMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.taskqueue.v1.ConfigMetadata").msgclass + RateLimitConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.taskqueue.v1.RateLimitConfig").msgclass + TaskQueueConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.taskqueue.v1.TaskQueueConfig").msgclass end end end diff --git a/lib/gen/temporal/api/update/v1/message_pb.rb b/lib/gen/temporal/api/update/v1/message_pb.rb index f438bc27e..ba00846bd 100644 --- a/lib/gen/temporal/api/update/v1/message_pb.rb +++ b/lib/gen/temporal/api/update/v1/message_pb.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/update/v1/message.proto @@ -7,51 +8,11 @@ require 'temporal/api/enums/v1/update_pb' require 'temporal/api/failure/v1/message_pb' -Google::Protobuf::DescriptorPool.generated_pool.build do - add_file("temporal/api/update/v1/message.proto", :syntax => :proto3) do - add_message "temporal.api.update.v1.WaitPolicy" do - optional :lifecycle_stage, :enum, 1, "temporal.api.enums.v1.UpdateWorkflowExecutionLifecycleStage" - end - add_message "temporal.api.update.v1.UpdateRef" do - optional :workflow_execution, :message, 1, "temporal.api.common.v1.WorkflowExecution" - optional :update_id, :string, 2 - end - add_message "temporal.api.update.v1.Outcome" do - oneof :value do - optional :success, :message, 1, "temporal.api.common.v1.Payloads" - optional :failure, :message, 2, "temporal.api.failure.v1.Failure" - end - end - add_message "temporal.api.update.v1.Meta" do - optional :update_id, :string, 1 - optional :identity, :string, 2 - end - add_message "temporal.api.update.v1.Input" do - optional :header, :message, 1, "temporal.api.common.v1.Header" - optional :name, :string, 2 - optional :args, :message, 3, "temporal.api.common.v1.Payloads" - end - add_message "temporal.api.update.v1.Request" do - optional :meta, :message, 1, "temporal.api.update.v1.Meta" - optional :input, :message, 2, "temporal.api.update.v1.Input" - end - add_message "temporal.api.update.v1.Rejection" do - optional :rejected_request_message_id, :string, 1 - optional :rejected_request_sequencing_event_id, :int64, 2 - optional :rejected_request, :message, 3, "temporal.api.update.v1.Request" - optional :failure, :message, 4, "temporal.api.failure.v1.Failure" - end - add_message "temporal.api.update.v1.Acceptance" do - optional :accepted_request_message_id, :string, 1 - optional :accepted_request_sequencing_event_id, :int64, 2 - optional :accepted_request, :message, 3, "temporal.api.update.v1.Request" - end - add_message "temporal.api.update.v1.Response" do - optional :meta, :message, 1, "temporal.api.update.v1.Meta" - optional :outcome, :message, 2, "temporal.api.update.v1.Outcome" - end - end -end + +descriptor_data = "\n$temporal/api/update/v1/message.proto\x12\x16temporal.api.update.v1\x1a$temporal/api/common/v1/message.proto\x1a\"temporal/api/enums/v1/update.proto\x1a%temporal/api/failure/v1/message.proto\"c\n\nWaitPolicy\x12U\n\x0flifecycle_stage\x18\x01 \x01(\x0e\x32<.temporal.api.enums.v1.UpdateWorkflowExecutionLifecycleStage\"e\n\tUpdateRef\x12\x45\n\x12workflow_execution\x18\x01 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x11\n\tupdate_id\x18\x02 \x01(\t\"|\n\x07Outcome\x12\x33\n\x07success\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.PayloadsH\x00\x12\x33\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32 .temporal.api.failure.v1.FailureH\x00\x42\x07\n\x05value\"+\n\x04Meta\x12\x11\n\tupdate_id\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\"u\n\x05Input\x12.\n\x06header\x18\x01 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12\x0c\n\x04name\x18\x02 \x01(\t\x12.\n\x04\x61rgs\x18\x03 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\"c\n\x07Request\x12*\n\x04meta\x18\x01 \x01(\x0b\x32\x1c.temporal.api.update.v1.Meta\x12,\n\x05input\x18\x02 \x01(\x0b\x32\x1d.temporal.api.update.v1.Input\"\xcc\x01\n\tRejection\x12#\n\x1brejected_request_message_id\x18\x01 \x01(\t\x12,\n$rejected_request_sequencing_event_id\x18\x02 \x01(\x03\x12\x39\n\x10rejected_request\x18\x03 \x01(\x0b\x32\x1f.temporal.api.update.v1.Request\x12\x31\n\x07\x66\x61ilure\x18\x04 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\"\x9a\x01\n\nAcceptance\x12#\n\x1b\x61\x63\x63\x65pted_request_message_id\x18\x01 \x01(\t\x12,\n$accepted_request_sequencing_event_id\x18\x02 \x01(\x03\x12\x39\n\x10\x61\x63\x63\x65pted_request\x18\x03 \x01(\x0b\x32\x1f.temporal.api.update.v1.Request\"h\n\x08Response\x12*\n\x04meta\x18\x01 \x01(\x0b\x32\x1c.temporal.api.update.v1.Meta\x12\x30\n\x07outcome\x18\x02 \x01(\x0b\x32\x1f.temporal.api.update.v1.OutcomeB\x89\x01\n\x19io.temporal.api.update.v1B\x0cMessageProtoP\x01Z#go.temporal.io/api/update/v1;update\xaa\x02\x18Temporalio.Api.Update.V1\xea\x02\x1bTemporalio::Api::Update::V1b\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Temporalio 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 023027663..6dc010fdc 100644 --- a/lib/gen/temporal/api/version/v1/message_pb.rb +++ b/lib/gen/temporal/api/version/v1/message_pb.rb @@ -1,32 +1,17 @@ +# 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\"temporal/api/enums/v1/common.proto\"_\n\x0bReleaseInfo\x12\x0f\n\x07version\x18\x01 \x01(\t\x12\x30\n\x0crelease_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\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\"\xfb\x01\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\x34\n\x10last_update_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x8e\x01\n\x1aio.temporal.api.version.v1B\x0cMessageProtoP\x01Z%go.temporal.io/api/version/v1;version\xaa\x02\x19Temporalio.Api.Version.V1\xea\x02\x1cTemporalio::Api::Version::V1b\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Temporalio module Api diff --git a/lib/gen/temporal/api/worker/v1/message_pb.rb b/lib/gen/temporal/api/worker/v1/message_pb.rb new file mode 100644 index 000000000..7bffe751f --- /dev/null +++ b/lib/gen/temporal/api/worker/v1/message_pb.rb @@ -0,0 +1,37 @@ +# frozen_string_literal: true +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: temporal/api/worker/v1/message.proto + +require 'google/protobuf' + +require 'google/protobuf/duration_pb' +require 'google/protobuf/timestamp_pb' +require 'temporal/api/deployment/v1/message_pb' +require 'temporal/api/enums/v1/common_pb' + + +descriptor_data = "\n$temporal/api/worker/v1/message.proto\x12\x16temporal.api.worker.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a(temporal/api/deployment/v1/message.proto\x1a\"temporal/api/enums/v1/common.proto\"\x82\x01\n\x10WorkerPollerInfo\x12\x17\n\x0f\x63urrent_pollers\x18\x01 \x01(\x05\x12=\n\x19last_successful_poll_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x16\n\x0eis_autoscaling\x18\x03 \x01(\x08\"\xf1\x01\n\x0fWorkerSlotsInfo\x12\x1f\n\x17\x63urrent_available_slots\x18\x01 \x01(\x05\x12\x1a\n\x12\x63urrent_used_slots\x18\x02 \x01(\x05\x12\x1a\n\x12slot_supplier_kind\x18\x03 \x01(\t\x12\x1d\n\x15total_processed_tasks\x18\x04 \x01(\x05\x12\x1a\n\x12total_failed_tasks\x18\x05 \x01(\x05\x12%\n\x1dlast_interval_processed_tasks\x18\x06 \x01(\x05\x12#\n\x1blast_interval_failure_tasks\x18\x07 \x01(\x05\"\x94\x01\n\x0eWorkerHostInfo\x12\x11\n\thost_name\x18\x01 \x01(\t\x12\x1b\n\x13worker_grouping_key\x18\x05 \x01(\t\x12\x12\n\nprocess_id\x18\x02 \x01(\t\x12\x1e\n\x16\x63urrent_host_cpu_usage\x18\x03 \x01(\x02\x12\x1e\n\x16\x63urrent_host_mem_usage\x18\x04 \x01(\x02\"\x8b\n\n\x0fWorkerHeartbeat\x12\x1b\n\x13worker_instance_key\x18\x01 \x01(\t\x12\x17\n\x0fworker_identity\x18\x02 \x01(\t\x12\x39\n\thost_info\x18\x03 \x01(\x0b\x32&.temporal.api.worker.v1.WorkerHostInfo\x12\x12\n\ntask_queue\x18\x04 \x01(\t\x12O\n\x12\x64\x65ployment_version\x18\x05 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x10\n\x08sdk_name\x18\x06 \x01(\t\x12\x13\n\x0bsdk_version\x18\x07 \x01(\t\x12\x33\n\x06status\x18\x08 \x01(\x0e\x32#.temporal.api.enums.v1.WorkerStatus\x12.\n\nstart_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x32\n\x0eheartbeat_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12?\n\x1c\x65lapsed_since_last_heartbeat\x18\x0b \x01(\x0b\x32\x19.google.protobuf.Duration\x12I\n\x18workflow_task_slots_info\x18\x0c \x01(\x0b\x32\'.temporal.api.worker.v1.WorkerSlotsInfo\x12I\n\x18\x61\x63tivity_task_slots_info\x18\r \x01(\x0b\x32\'.temporal.api.worker.v1.WorkerSlotsInfo\x12\x46\n\x15nexus_task_slots_info\x18\x0e \x01(\x0b\x32\'.temporal.api.worker.v1.WorkerSlotsInfo\x12J\n\x19local_activity_slots_info\x18\x0f \x01(\x0b\x32\'.temporal.api.worker.v1.WorkerSlotsInfo\x12\x46\n\x14workflow_poller_info\x18\x10 \x01(\x0b\x32(.temporal.api.worker.v1.WorkerPollerInfo\x12M\n\x1bworkflow_sticky_poller_info\x18\x11 \x01(\x0b\x32(.temporal.api.worker.v1.WorkerPollerInfo\x12\x46\n\x14\x61\x63tivity_poller_info\x18\x12 \x01(\x0b\x32(.temporal.api.worker.v1.WorkerPollerInfo\x12\x43\n\x11nexus_poller_info\x18\x13 \x01(\x0b\x32(.temporal.api.worker.v1.WorkerPollerInfo\x12\x1e\n\x16total_sticky_cache_hit\x18\x14 \x01(\x05\x12\x1f\n\x17total_sticky_cache_miss\x18\x15 \x01(\x05\x12!\n\x19\x63urrent_sticky_cache_size\x18\x16 \x01(\x05\x12\x33\n\x07plugins\x18\x17 \x03(\x0b\x32\".temporal.api.worker.v1.PluginInfo\x12:\n\x07\x64rivers\x18\x18 \x03(\x0b\x32).temporal.api.worker.v1.StorageDriverInfo\"O\n\nWorkerInfo\x12\x41\n\x10worker_heartbeat\x18\x01 \x01(\x0b\x32\'.temporal.api.worker.v1.WorkerHeartbeat\"\xec\x03\n\x0eWorkerListInfo\x12\x1b\n\x13worker_instance_key\x18\x01 \x01(\t\x12\x17\n\x0fworker_identity\x18\x02 \x01(\t\x12\x12\n\ntask_queue\x18\x03 \x01(\t\x12O\n\x12\x64\x65ployment_version\x18\x04 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x10\n\x08sdk_name\x18\x05 \x01(\t\x12\x13\n\x0bsdk_version\x18\x06 \x01(\t\x12\x33\n\x06status\x18\x07 \x01(\x0e\x32#.temporal.api.enums.v1.WorkerStatus\x12.\n\nstart_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x11\n\thost_name\x18\t \x01(\t\x12\x1b\n\x13worker_grouping_key\x18\n \x01(\t\x12\x12\n\nprocess_id\x18\x0b \x01(\t\x12\x33\n\x07plugins\x18\x0c \x03(\x0b\x32\".temporal.api.worker.v1.PluginInfo\x12:\n\x07\x64rivers\x18\r \x03(\x0b\x32).temporal.api.worker.v1.StorageDriverInfo\"+\n\nPluginInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t\"!\n\x11StorageDriverInfo\x12\x0c\n\x04type\x18\x01 \x01(\t\"a\n\rWorkerCommand\x12H\n\x0f\x63\x61ncel_activity\x18\x01 \x01(\x0b\x32-.temporal.api.worker.v1.CancelActivityCommandH\x00\x42\x06\n\x04type\"+\n\x15\x43\x61ncelActivityCommand\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\"f\n\x13WorkerCommandResult\x12G\n\x0f\x63\x61ncel_activity\x18\x01 \x01(\x0b\x32,.temporal.api.worker.v1.CancelActivityResultH\x00\x42\x06\n\x04type\"\x16\n\x14\x43\x61ncelActivityResultB\x89\x01\n\x19io.temporal.api.worker.v1B\x0cMessageProtoP\x01Z#go.temporal.io/api/worker/v1;worker\xaa\x02\x18Temporalio.Api.Worker.V1\xea\x02\x1bTemporalio::Api::Worker::V1b\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) + +module Temporalio + module Api + module Worker + module V1 + WorkerPollerInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.worker.v1.WorkerPollerInfo").msgclass + WorkerSlotsInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.worker.v1.WorkerSlotsInfo").msgclass + WorkerHostInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.worker.v1.WorkerHostInfo").msgclass + WorkerHeartbeat = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.worker.v1.WorkerHeartbeat").msgclass + WorkerInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.worker.v1.WorkerInfo").msgclass + WorkerListInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.worker.v1.WorkerListInfo").msgclass + PluginInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.worker.v1.PluginInfo").msgclass + StorageDriverInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.worker.v1.StorageDriverInfo").msgclass + WorkerCommand = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.worker.v1.WorkerCommand").msgclass + CancelActivityCommand = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.worker.v1.CancelActivityCommand").msgclass + WorkerCommandResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.worker.v1.WorkerCommandResult").msgclass + CancelActivityResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.worker.v1.CancelActivityResult").msgclass + end + end + end +end diff --git a/lib/gen/temporal/api/workflow/v1/message_pb.rb b/lib/gen/temporal/api/workflow/v1/message_pb.rb index 470fd0a4b..402ec1c5c 100644 --- a/lib/gen/temporal/api/workflow/v1/message_pb.rb +++ b/lib/gen/temporal/api/workflow/v1/message_pb.rb @@ -1,111 +1,64 @@ +# frozen_string_literal: true # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/workflow/v1/message.proto require 'google/protobuf' require 'google/protobuf/duration_pb' +require 'google/protobuf/empty_pb' require 'google/protobuf/timestamp_pb' -require 'dependencies/gogoproto/gogo_pb' +require 'google/protobuf/field_mask_pb' +require 'temporal/api/activity/v1/message_pb' +require 'temporal/api/enums/v1/common_pb' +require 'temporal/api/enums/v1/event_type_pb' require 'temporal/api/enums/v1/workflow_pb' require 'temporal/api/common/v1/message_pb' +require 'temporal/api/deployment/v1/message_pb' require 'temporal/api/failure/v1/message_pb' require 'temporal/api/taskqueue/v1/message_pb' +require 'temporal/api/sdk/v1/user_metadata_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 - optional :state_transition_count, :int64, 14 - optional :history_size_bytes, :int64, 15 - optional :most_recent_worker_version_stamp, :message, 16, "temporal.api.common.v1.WorkerVersionStamp" - 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.PendingWorkflowTaskInfo" do - optional :state, :enum, 1, "temporal.api.enums.v1.PendingWorkflowTaskState" - optional :scheduled_time, :message, 2, "google.protobuf.Timestamp" - optional :original_scheduled_time, :message, 3, "google.protobuf.Timestamp" - optional :started_time, :message, 4, "google.protobuf.Timestamp" - optional :attempt, :int32, 5 - 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 - add_message "temporal.api.workflow.v1.NewWorkflowExecutionInfo" do - optional :workflow_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_execution_timeout, :message, 5, "google.protobuf.Duration" - optional :workflow_run_timeout, :message, 6, "google.protobuf.Duration" - optional :workflow_task_timeout, :message, 7, "google.protobuf.Duration" - optional :workflow_id_reuse_policy, :enum, 8, "temporal.api.enums.v1.WorkflowIdReusePolicy" - optional :retry_policy, :message, 9, "temporal.api.common.v1.RetryPolicy" - optional :cron_schedule, :string, 10 - optional :memo, :message, 11, "temporal.api.common.v1.Memo" - optional :search_attributes, :message, 12, "temporal.api.common.v1.SearchAttributes" - optional :header, :message, 13, "temporal.api.common.v1.Header" - end - end -end + +descriptor_data = "\n&temporal/api/workflow/v1/message.proto\x12\x18temporal.api.workflow.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a google/protobuf/field_mask.proto\x1a&temporal/api/activity/v1/message.proto\x1a\"temporal/api/enums/v1/common.proto\x1a&temporal/api/enums/v1/event_type.proto\x1a$temporal/api/enums/v1/workflow.proto\x1a$temporal/api/common/v1/message.proto\x1a(temporal/api/deployment/v1/message.proto\x1a%temporal/api/failure/v1/message.proto\x1a\'temporal/api/taskqueue/v1/message.proto\x1a\'temporal/api/sdk/v1/user_metadata.proto\"\xf0\t\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.\n\nstart_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nclose_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\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\x32\n\x0e\x65xecution_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\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\x12\x1e\n\x16state_transition_count\x18\x0e \x01(\x03\x12\x1a\n\x12history_size_bytes\x18\x0f \x01(\x03\x12X\n most_recent_worker_version_stamp\x18\x10 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12\x35\n\x12\x65xecution_duration\x18\x11 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x41\n\x0eroot_execution\x18\x12 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x1d\n\x11\x61ssigned_build_id\x18\x13 \x01(\tB\x02\x18\x01\x12\x1e\n\x12inherited_build_id\x18\x14 \x01(\tB\x02\x18\x01\x12\x14\n\x0c\x66irst_run_id\x18\x15 \x01(\t\x12R\n\x0fversioning_info\x18\x16 \x01(\x0b\x32\x39.temporal.api.workflow.v1.WorkflowExecutionVersioningInfo\x12\x1e\n\x16worker_deployment_name\x18\x17 \x01(\t\x12\x32\n\x08priority\x18\x18 \x01(\x0b\x32 .temporal.api.common.v1.Priority\x12#\n\x1b\x65xternal_payload_size_bytes\x18\x19 \x01(\x03\x12\x1e\n\x16\x65xternal_payload_count\x18\x1a \x01(\x03\"\xc6\x04\n\x1dWorkflowExecutionExtendedInfo\x12=\n\x19\x65xecution_expiration_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x37\n\x13run_expiration_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x18\n\x10\x63\x61ncel_requested\x18\x03 \x01(\x08\x12\x33\n\x0flast_reset_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x37\n\x13original_start_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x14\n\x0creset_run_id\x18\x06 \x01(\t\x12\x65\n\x10request_id_infos\x18\x07 \x03(\x0b\x32K.temporal.api.workflow.v1.WorkflowExecutionExtendedInfo.RequestIdInfosEntry\x12H\n\npause_info\x18\x08 \x01(\x0b\x32\x34.temporal.api.workflow.v1.WorkflowExecutionPauseInfo\x1a^\n\x13RequestIdInfosEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x36\n\x05value\x18\x02 \x01(\x0b\x32\'.temporal.api.workflow.v1.RequestIdInfo:\x02\x38\x01\"\xfb\x04\n\x1fWorkflowExecutionVersioningInfo\x12;\n\x08\x62\x65havior\x18\x01 \x01(\x0e\x32).temporal.api.enums.v1.VersioningBehavior\x12>\n\ndeployment\x18\x02 \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12\x13\n\x07version\x18\x05 \x01(\tB\x02\x18\x01\x12O\n\x12\x64\x65ployment_version\x18\x07 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12I\n\x13versioning_override\x18\x03 \x01(\x0b\x32,.temporal.api.workflow.v1.VersioningOverride\x12Q\n\x15\x64\x65ployment_transition\x18\x04 \x01(\x0b\x32..temporal.api.workflow.v1.DeploymentTransitionB\x02\x18\x01\x12Q\n\x12version_transition\x18\x06 \x01(\x0b\x32\x35.temporal.api.workflow.v1.DeploymentVersionTransition\x12\x17\n\x0frevision_number\x18\x08 \x01(\x03\x12k\n+continue_as_new_initial_versioning_behavior\x18\t \x01(\x0e\x32\x36.temporal.api.enums.v1.ContinueAsNewVersioningBehavior\"R\n\x14\x44\x65ploymentTransition\x12:\n\ndeployment\x18\x01 \x01(\x0b\x32&.temporal.api.deployment.v1.Deployment\"\x83\x01\n\x1b\x44\x65ploymentVersionTransition\x12\x13\n\x07version\x18\x01 \x01(\tB\x02\x18\x01\x12O\n\x12\x64\x65ployment_version\x18\x02 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\"\xc7\x02\n\x17WorkflowExecutionConfig\x12\x38\n\ntask_queue\x18\x01 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12=\n\x1aworkflow_execution_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14workflow_run_timeout\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12@\n\x1d\x64\x65\x66\x61ult_workflow_task_timeout\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\ruser_metadata\x18\x05 \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata\"\xbd\r\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\x37\n\x13last_heartbeat_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x11last_started_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0f\n\x07\x61ttempt\x18\x07 \x01(\x05\x12\x18\n\x10maximum_attempts\x18\x08 \x01(\x05\x12\x32\n\x0escheduled_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x33\n\x0f\x65xpiration_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\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\x12;\n\x15use_workflow_build_id\x18\r \x01(\x0b\x32\x16.google.protobuf.EmptyB\x02\x18\x01H\x00\x12\x32\n$last_independently_assigned_build_id\x18\x0e \x01(\tB\x02\x18\x01H\x00\x12Q\n\x19last_worker_version_stamp\x18\x0f \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12\x39\n\x16\x63urrent_retry_interval\x18\x10 \x01(\x0b\x32\x19.google.protobuf.Duration\x12>\n\x1alast_attempt_complete_time\x18\x11 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12>\n\x1anext_attempt_schedule_time\x18\x12 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0e\n\x06paused\x18\x13 \x01(\x08\x12\x43\n\x0flast_deployment\x18\x14 \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12*\n\x1elast_worker_deployment_version\x18\x15 \x01(\tB\x02\x18\x01\x12T\n\x17last_deployment_version\x18\x19 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x32\n\x08priority\x18\x16 \x01(\x0b\x32 .temporal.api.common.v1.Priority\x12K\n\npause_info\x18\x17 \x01(\x0b\x32\x37.temporal.api.workflow.v1.PendingActivityInfo.PauseInfo\x12\x43\n\x10\x61\x63tivity_options\x18\x18 \x01(\x0b\x32).temporal.api.activity.v1.ActivityOptions\x1a\xcf\x02\n\tPauseInfo\x12.\n\npause_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12P\n\x06manual\x18\x02 \x01(\x0b\x32>.temporal.api.workflow.v1.PendingActivityInfo.PauseInfo.ManualH\x00\x12L\n\x04rule\x18\x04 \x01(\x0b\x32<.temporal.api.workflow.v1.PendingActivityInfo.PauseInfo.RuleH\x00\x1a*\n\x06Manual\x12\x10\n\x08identity\x18\x01 \x01(\t\x12\x0e\n\x06reason\x18\x02 \x01(\t\x1a\x39\n\x04Rule\x12\x0f\n\x07rule_id\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x0e\n\x06reason\x18\x03 \x01(\tB\x0b\n\tpaused_byB\x13\n\x11\x61ssigned_build_id\"\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\"\x8d\x02\n\x17PendingWorkflowTaskInfo\x12>\n\x05state\x18\x01 \x01(\x0e\x32/.temporal.api.enums.v1.PendingWorkflowTaskState\x12\x32\n\x0escheduled_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12;\n\x17original_scheduled_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x30\n\x0cstarted_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0f\n\x07\x61ttempt\x18\x05 \x01(\x05\"G\n\x0bResetPoints\x12\x38\n\x06points\x18\x01 \x03(\x0b\x32(.temporal.api.workflow.v1.ResetPointInfo\"\xef\x01\n\x0eResetPointInfo\x12\x10\n\x08\x62uild_id\x18\x07 \x01(\t\x12\x1b\n\x0f\x62inary_checksum\x18\x01 \x01(\tB\x02\x18\x01\x12\x0e\n\x06run_id\x18\x02 \x01(\t\x12(\n first_workflow_task_completed_id\x18\x03 \x01(\x03\x12/\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x65xpire_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\nresettable\x18\x06 \x01(\x08\"\x85\x07\n\x18NewWorkflowExecutionInfo\x12\x13\n\x0bworkflow_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\x1aworkflow_execution_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14workflow_run_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12N\n\x18workflow_id_reuse_policy\x18\x08 \x01(\x0e\x32,.temporal.api.enums.v1.WorkflowIdReusePolicy\x12\x39\n\x0cretry_policy\x18\t \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x15\n\rcron_schedule\x18\n \x01(\t\x12*\n\x04memo\x18\x0b \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x0c \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12.\n\x06header\x18\r \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12\x38\n\ruser_metadata\x18\x0e \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata\x12I\n\x13versioning_override\x18\x0f \x01(\x0b\x32,.temporal.api.workflow.v1.VersioningOverride\x12\x32\n\x08priority\x18\x10 \x01(\x0b\x32 .temporal.api.common.v1.Priority\"\xd2\x04\n\x0c\x43\x61llbackInfo\x12\x32\n\x08\x63\x61llback\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Callback\x12?\n\x07trigger\x18\x02 \x01(\x0b\x32..temporal.api.workflow.v1.CallbackInfo.Trigger\x12\x35\n\x11registration_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x33\n\x05state\x18\x04 \x01(\x0e\x32$.temporal.api.enums.v1.CallbackState\x12\x0f\n\x07\x61ttempt\x18\x05 \x01(\x05\x12>\n\x1alast_attempt_complete_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12>\n\x14last_attempt_failure\x18\x07 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12>\n\x1anext_attempt_schedule_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x16\n\x0e\x62locked_reason\x18\t \x01(\t\x1a\x10\n\x0eWorkflowClosed\x1a\x66\n\x07Trigger\x12P\n\x0fworkflow_closed\x18\x01 \x01(\x0b\x32\x35.temporal.api.workflow.v1.CallbackInfo.WorkflowClosedH\x00\x42\t\n\x07variant\"\x8b\x06\n\x19PendingNexusOperationInfo\x12\x10\n\x08\x65ndpoint\x18\x01 \x01(\t\x12\x0f\n\x07service\x18\x02 \x01(\t\x12\x11\n\toperation\x18\x03 \x01(\t\x12\x18\n\x0coperation_id\x18\x04 \x01(\tB\x02\x18\x01\x12<\n\x19schedule_to_close_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x32\n\x0escheduled_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12@\n\x05state\x18\x07 \x01(\x0e\x32\x31.temporal.api.enums.v1.PendingNexusOperationState\x12\x0f\n\x07\x61ttempt\x18\x08 \x01(\x05\x12>\n\x1alast_attempt_complete_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12>\n\x14last_attempt_failure\x18\n \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12>\n\x1anext_attempt_schedule_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12S\n\x11\x63\x61ncellation_info\x18\x0c \x01(\x0b\x32\x38.temporal.api.workflow.v1.NexusOperationCancellationInfo\x12\x1a\n\x12scheduled_event_id\x18\r \x01(\x03\x12\x16\n\x0e\x62locked_reason\x18\x0e \x01(\t\x12\x17\n\x0foperation_token\x18\x0f \x01(\t\x12<\n\x19schedule_to_start_timeout\x18\x10 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\x11 \x01(\x0b\x32\x19.google.protobuf.Duration\"\x84\x03\n\x1eNexusOperationCancellationInfo\x12\x32\n\x0erequested_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x45\n\x05state\x18\x02 \x01(\x0e\x32\x36.temporal.api.enums.v1.NexusOperationCancellationState\x12\x0f\n\x07\x61ttempt\x18\x03 \x01(\x05\x12>\n\x1alast_attempt_complete_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12>\n\x14last_attempt_failure\x18\x05 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12>\n\x1anext_attempt_schedule_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x16\n\x0e\x62locked_reason\x18\x07 \x01(\t\"\xe5\x01\n\x18WorkflowExecutionOptions\x12I\n\x13versioning_override\x18\x01 \x01(\x0b\x32,.temporal.api.workflow.v1.VersioningOverride\x12\x32\n\x08priority\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Priority\x12J\n\x14time_skipping_config\x18\x03 \x01(\x0b\x32,.temporal.api.workflow.v1.TimeSkippingConfig\"\xf8\x01\n\x12TimeSkippingConfig\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x1b\n\x13\x64isable_propagation\x18\x02 \x01(\x08\x12\x39\n\x14max_skipped_duration\x18\x04 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x12\x39\n\x14max_elapsed_duration\x18\x05 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x12\x35\n\x0fmax_target_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00\x42\x07\n\x05\x62ound\"\xbd\x04\n\x12VersioningOverride\x12M\n\x06pinned\x18\x03 \x01(\x0b\x32;.temporal.api.workflow.v1.VersioningOverride.PinnedOverrideH\x00\x12\x16\n\x0c\x61uto_upgrade\x18\x04 \x01(\x08H\x00\x12?\n\x08\x62\x65havior\x18\x01 \x01(\x0e\x32).temporal.api.enums.v1.VersioningBehaviorB\x02\x18\x01\x12>\n\ndeployment\x18\x02 \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12\x1a\n\x0epinned_version\x18\t \x01(\tB\x02\x18\x01\x1a\xad\x01\n\x0ePinnedOverride\x12U\n\x08\x62\x65havior\x18\x01 \x01(\x0e\x32\x43.temporal.api.workflow.v1.VersioningOverride.PinnedOverrideBehavior\x12\x44\n\x07version\x18\x02 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\"g\n\x16PinnedOverrideBehavior\x12(\n$PINNED_OVERRIDE_BEHAVIOR_UNSPECIFIED\x10\x00\x12#\n\x1fPINNED_OVERRIDE_BEHAVIOR_PINNED\x10\x01\x42\n\n\x08override\"i\n\x11OnConflictOptions\x12\x19\n\x11\x61ttach_request_id\x18\x01 \x01(\x08\x12#\n\x1b\x61ttach_completion_callbacks\x18\x02 \x01(\x08\x12\x14\n\x0c\x61ttach_links\x18\x03 \x01(\x08\"i\n\rRequestIdInfo\x12\x34\n\nevent_type\x18\x01 \x01(\x0e\x32 .temporal.api.enums.v1.EventType\x12\x10\n\x08\x65vent_id\x18\x02 \x01(\x03\x12\x10\n\x08\x62uffered\x18\x03 \x01(\x08\"\xb7\x04\n\x12PostResetOperation\x12V\n\x0fsignal_workflow\x18\x01 \x01(\x0b\x32;.temporal.api.workflow.v1.PostResetOperation.SignalWorkflowH\x00\x12\x65\n\x17update_workflow_options\x18\x02 \x01(\x0b\x32\x42.temporal.api.workflow.v1.PostResetOperation.UpdateWorkflowOptionsH\x00\x1a\xb3\x01\n\x0eSignalWorkflow\x12\x13\n\x0bsignal_name\x18\x01 \x01(\t\x12/\n\x05input\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12.\n\x06header\x18\x03 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12+\n\x05links\x18\x04 \x03(\x0b\x32\x1c.temporal.api.common.v1.Link\x1a\xa0\x01\n\x15UpdateWorkflowOptions\x12V\n\x1aworkflow_execution_options\x18\x01 \x01(\x0b\x32\x32.temporal.api.workflow.v1.WorkflowExecutionOptions\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\t\n\x07variant\"o\n\x1aWorkflowExecutionPauseInfo\x12\x10\n\x08identity\x18\x01 \x01(\t\x12/\n\x0bpaused_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0e\n\x06reason\x18\x03 \x01(\tB\x93\x01\n\x1bio.temporal.api.workflow.v1B\x0cMessageProtoP\x01Z\'go.temporal.io/api/workflow/v1;workflow\xaa\x02\x1aTemporalio.Api.Workflow.V1\xea\x02\x1dTemporalio::Api::Workflow::V1b\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Temporalio module Api module Workflow module V1 WorkflowExecutionInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflow.v1.WorkflowExecutionInfo").msgclass + WorkflowExecutionExtendedInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflow.v1.WorkflowExecutionExtendedInfo").msgclass + WorkflowExecutionVersioningInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflow.v1.WorkflowExecutionVersioningInfo").msgclass + DeploymentTransition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflow.v1.DeploymentTransition").msgclass + DeploymentVersionTransition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflow.v1.DeploymentVersionTransition").msgclass WorkflowExecutionConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflow.v1.WorkflowExecutionConfig").msgclass PendingActivityInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflow.v1.PendingActivityInfo").msgclass + PendingActivityInfo::PauseInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflow.v1.PendingActivityInfo.PauseInfo").msgclass + PendingActivityInfo::PauseInfo::Manual = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflow.v1.PendingActivityInfo.PauseInfo.Manual").msgclass + PendingActivityInfo::PauseInfo::Rule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflow.v1.PendingActivityInfo.PauseInfo.Rule").msgclass PendingChildExecutionInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflow.v1.PendingChildExecutionInfo").msgclass PendingWorkflowTaskInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflow.v1.PendingWorkflowTaskInfo").msgclass ResetPoints = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflow.v1.ResetPoints").msgclass ResetPointInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflow.v1.ResetPointInfo").msgclass NewWorkflowExecutionInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflow.v1.NewWorkflowExecutionInfo").msgclass + CallbackInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflow.v1.CallbackInfo").msgclass + CallbackInfo::WorkflowClosed = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflow.v1.CallbackInfo.WorkflowClosed").msgclass + CallbackInfo::Trigger = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflow.v1.CallbackInfo.Trigger").msgclass + PendingNexusOperationInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflow.v1.PendingNexusOperationInfo").msgclass + NexusOperationCancellationInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflow.v1.NexusOperationCancellationInfo").msgclass + WorkflowExecutionOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflow.v1.WorkflowExecutionOptions").msgclass + TimeSkippingConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflow.v1.TimeSkippingConfig").msgclass + VersioningOverride = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflow.v1.VersioningOverride").msgclass + VersioningOverride::PinnedOverride = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflow.v1.VersioningOverride.PinnedOverride").msgclass + VersioningOverride::PinnedOverrideBehavior = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflow.v1.VersioningOverride.PinnedOverrideBehavior").enummodule + OnConflictOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflow.v1.OnConflictOptions").msgclass + RequestIdInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflow.v1.RequestIdInfo").msgclass + PostResetOperation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflow.v1.PostResetOperation").msgclass + PostResetOperation::SignalWorkflow = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflow.v1.PostResetOperation.SignalWorkflow").msgclass + PostResetOperation::UpdateWorkflowOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflow.v1.PostResetOperation.UpdateWorkflowOptions").msgclass + WorkflowExecutionPauseInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflow.v1.WorkflowExecutionPauseInfo").msgclass end end end 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 ab3569961..534a3c8d2 100644 --- a/lib/gen/temporal/api/workflowservice/v1/request_response_pb.rb +++ b/lib/gen/temporal/api/workflowservice/v1/request_response_pb.rb @@ -1,715 +1,53 @@ +# frozen_string_literal: true # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/workflowservice/v1/request_response.proto require 'google/protobuf' require 'temporal/api/enums/v1/batch_operation_pb' +require 'temporal/api/enums/v1/common_pb' require 'temporal/api/enums/v1/workflow_pb' require 'temporal/api/enums/v1/namespace_pb' require 'temporal/api/enums/v1/failed_cause_pb' -require 'temporal/api/enums/v1/common_pb' require 'temporal/api/enums/v1/query_pb' require 'temporal/api/enums/v1/reset_pb' require 'temporal/api/enums/v1/task_queue_pb' +require 'temporal/api/enums/v1/deployment_pb' +require 'temporal/api/enums/v1/update_pb' +require 'temporal/api/enums/v1/activity_pb' +require 'temporal/api/activity/v1/message_pb' require 'temporal/api/common/v1/message_pb' require 'temporal/api/history/v1/message_pb' require 'temporal/api/workflow/v1/message_pb' require 'temporal/api/command/v1/message_pb' +require 'temporal/api/compute/v1/config_pb' +require 'temporal/api/deployment/v1/message_pb' require 'temporal/api/failure/v1/message_pb' require 'temporal/api/filter/v1/message_pb' require 'temporal/api/protocol/v1/message_pb' require 'temporal/api/namespace/v1/message_pb' require 'temporal/api/query/v1/message_pb' require 'temporal/api/replication/v1/message_pb' +require 'temporal/api/rules/v1/message_pb' +require 'temporal/api/sdk/v1/worker_config_pb' require 'temporal/api/schedule/v1/message_pb' require 'temporal/api/taskqueue/v1/message_pb' require 'temporal/api/update/v1/message_pb' require 'temporal/api/version/v1/message_pb' require 'temporal/api/batch/v1/message_pb' require 'temporal/api/sdk/v1/task_complete_metadata_pb' +require 'temporal/api/sdk/v1/user_metadata_pb' +require 'temporal/api/nexus/v1/message_pb' +require 'temporal/api/worker/v1/message_pb' require 'google/protobuf/duration_pb' +require 'google/protobuf/field_mask_pb' require 'google/protobuf/timestamp_pb' -require 'dependencies/gogoproto/gogo_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 - optional :namespace_filter, :message, 3, "temporal.api.namespace.v1.NamespaceFilter" - 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 - repeated :failover_history, :message, 6, "temporal.api.replication.v1.FailoverStatus" - 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 - optional :promote_namespace, :bool, 7 - 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" - optional :request_eager_execution, :bool, 17 - optional :continued_failure, :message, 18, "temporal.api.failure.v1.Failure" - optional :last_completion_result, :message, 19, "temporal.api.common.v1.Payloads" - optional :workflow_start_delay, :message, 20, "google.protobuf.Duration" - end - add_message "temporal.api.workflowservice.v1.StartWorkflowExecutionResponse" do - optional :run_id, :string, 1 - optional :eager_workflow_task, :message, 2, "temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse" - 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.GetWorkflowExecutionHistoryReverseRequest" 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 - end - add_message "temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryReverseResponse" do - optional :history, :message, 1, "temporal.api.history.v1.History" - optional :next_page_token, :bytes, 3 - 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 - optional :worker_version_capabilities, :message, 5, "temporal.api.common.v1.WorkerVersionCapabilities" - 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" - repeated :messages, :message, 15, "temporal.api.protocol.v1.Message" - 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 - optional :worker_version_stamp, :message, 10, "temporal.api.common.v1.WorkerVersionStamp" - repeated :messages, :message, 11, "temporal.api.protocol.v1.Message" - optional :sdk_metadata, :message, 12, "temporal.api.sdk.v1.WorkflowTaskCompletedMetadata" - optional :metering_metadata, :message, 13, "temporal.api.common.v1.MeteringMetadata" - end - add_message "temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedResponse" do - optional :workflow_task, :message, 1, "temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse" - repeated :activity_tasks, :message, 2, "temporal.api.workflowservice.v1.PollActivityTaskQueueResponse" - optional :reset_history_event_id, :int64, 3 - 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 - repeated :messages, :message, 7, "temporal.api.protocol.v1.Message" - 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" - optional :worker_version_capabilities, :message, 5, "temporal.api.common.v1.WorkerVersionCapabilities" - 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 - optional :last_heartbeat_details, :message, 5, "temporal.api.common.v1.Payloads" - end - add_message "temporal.api.workflowservice.v1.RespondActivityTaskFailedResponse" do - repeated :failures, :message, 1, "temporal.api.failure.v1.Failure" - 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 - optional :last_heartbeat_details, :message, 7, "temporal.api.common.v1.Payloads" - end - add_message "temporal.api.workflowservice.v1.RespondActivityTaskFailedByIdResponse" do - repeated :failures, :message, 1, "temporal.api.failure.v1.Failure" - 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 - optional :reason, :string, 6 - 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 - optional :header, :message, 8, "temporal.api.common.v1.Header" - optional :skip_generate_workflow_task, :bool, 9 - 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" - optional :workflow_start_delay, :message, 20, "google.protobuf.Duration" - optional :skip_generate_workflow_task, :bool, 21 - 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 - optional :reset_reapply_type, :enum, 6, "temporal.api.enums.v1.ResetReapplyType" - 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.DeleteWorkflowExecutionRequest" do - optional :namespace, :string, 1 - optional :workflow_execution, :message, 2, "temporal.api.common.v1.WorkflowExecution" - end - add_message "temporal.api.workflowservice.v1.DeleteWorkflowExecutionResponse" 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" - optional :pending_workflow_task, :message, 5, "temporal.api.workflow.v1.PendingWorkflowTaskInfo" - 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 - optional :persistence_store, :string, 7 - optional :visibility_store, :string, 8 - end - add_message "temporal.api.workflowservice.v1.GetSystemInfoRequest" do - end - add_message "temporal.api.workflowservice.v1.GetSystemInfoResponse" do - optional :server_version, :string, 1 - optional :capabilities, :message, 2, "temporal.api.workflowservice.v1.GetSystemInfoResponse.Capabilities" - end - add_message "temporal.api.workflowservice.v1.GetSystemInfoResponse.Capabilities" do - optional :signal_and_query_header, :bool, 1 - optional :internal_error_differentiation, :bool, 2 - optional :activity_failure_include_heartbeat, :bool, 3 - optional :supports_schedules, :bool, 4 - optional :encoded_failure_attributes, :bool, 5 - optional :build_id_based_versioning, :bool, 6 - optional :upsert_memo, :bool, 7 - optional :eager_workflow_start, :bool, 8 - optional :sdk_metadata, :bool, 9 - 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 - add_message "temporal.api.workflowservice.v1.CreateScheduleRequest" do - optional :namespace, :string, 1 - optional :schedule_id, :string, 2 - optional :schedule, :message, 3, "temporal.api.schedule.v1.Schedule" - optional :initial_patch, :message, 4, "temporal.api.schedule.v1.SchedulePatch" - optional :identity, :string, 5 - optional :request_id, :string, 6 - optional :memo, :message, 7, "temporal.api.common.v1.Memo" - optional :search_attributes, :message, 8, "temporal.api.common.v1.SearchAttributes" - end - add_message "temporal.api.workflowservice.v1.CreateScheduleResponse" do - optional :conflict_token, :bytes, 1 - end - add_message "temporal.api.workflowservice.v1.DescribeScheduleRequest" do - optional :namespace, :string, 1 - optional :schedule_id, :string, 2 - end - add_message "temporal.api.workflowservice.v1.DescribeScheduleResponse" do - optional :schedule, :message, 1, "temporal.api.schedule.v1.Schedule" - optional :info, :message, 2, "temporal.api.schedule.v1.ScheduleInfo" - optional :memo, :message, 3, "temporal.api.common.v1.Memo" - optional :search_attributes, :message, 4, "temporal.api.common.v1.SearchAttributes" - optional :conflict_token, :bytes, 5 - end - add_message "temporal.api.workflowservice.v1.UpdateScheduleRequest" do - optional :namespace, :string, 1 - optional :schedule_id, :string, 2 - optional :schedule, :message, 3, "temporal.api.schedule.v1.Schedule" - optional :conflict_token, :bytes, 4 - optional :identity, :string, 5 - optional :request_id, :string, 6 - end - add_message "temporal.api.workflowservice.v1.UpdateScheduleResponse" do - end - add_message "temporal.api.workflowservice.v1.PatchScheduleRequest" do - optional :namespace, :string, 1 - optional :schedule_id, :string, 2 - optional :patch, :message, 3, "temporal.api.schedule.v1.SchedulePatch" - optional :identity, :string, 4 - optional :request_id, :string, 5 - end - add_message "temporal.api.workflowservice.v1.PatchScheduleResponse" do - end - add_message "temporal.api.workflowservice.v1.ListScheduleMatchingTimesRequest" do - optional :namespace, :string, 1 - optional :schedule_id, :string, 2 - optional :start_time, :message, 3, "google.protobuf.Timestamp" - optional :end_time, :message, 4, "google.protobuf.Timestamp" - end - add_message "temporal.api.workflowservice.v1.ListScheduleMatchingTimesResponse" do - repeated :start_time, :message, 1, "google.protobuf.Timestamp" - end - add_message "temporal.api.workflowservice.v1.DeleteScheduleRequest" do - optional :namespace, :string, 1 - optional :schedule_id, :string, 2 - optional :identity, :string, 3 - end - add_message "temporal.api.workflowservice.v1.DeleteScheduleResponse" do - end - add_message "temporal.api.workflowservice.v1.ListSchedulesRequest" do - optional :namespace, :string, 1 - optional :maximum_page_size, :int32, 2 - optional :next_page_token, :bytes, 3 - end - add_message "temporal.api.workflowservice.v1.ListSchedulesResponse" do - repeated :schedules, :message, 1, "temporal.api.schedule.v1.ScheduleListEntry" - optional :next_page_token, :bytes, 2 - end - add_message "temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest" do - optional :namespace, :string, 1 - optional :task_queue, :string, 2 - oneof :operation do - optional :add_new_build_id_in_new_default_set, :string, 3 - optional :add_new_compatible_build_id, :message, 4, "temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersion" - optional :promote_set_by_build_id, :string, 5 - optional :promote_build_id_within_set, :string, 6 - end - end - add_message "temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersion" do - optional :new_build_id, :string, 1 - optional :existing_compatible_build_id, :string, 2 - optional :make_set_default, :bool, 3 - end - add_message "temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityResponse" do - optional :version_set_id, :string, 1 - end - add_message "temporal.api.workflowservice.v1.GetWorkerBuildIdCompatibilityRequest" do - optional :namespace, :string, 1 - optional :task_queue, :string, 2 - optional :max_sets, :int32, 3 - optional :include_retirement_candidates, :bool, 4 - optional :include_poller_compatibility, :bool, 5 - end - add_message "temporal.api.workflowservice.v1.GetWorkerBuildIdCompatibilityResponse" do - repeated :major_version_sets, :message, 1, "temporal.api.taskqueue.v1.CompatibleVersionSet" - repeated :retirement_candidates, :message, 2, "temporal.api.workflowservice.v1.GetWorkerBuildIdCompatibilityResponse.RetirementCandidate" - repeated :active_versions_and_pollers, :message, 3, "temporal.api.workflowservice.v1.GetWorkerBuildIdCompatibilityResponse.VersionsWithCompatiblePollers" - end - add_message "temporal.api.workflowservice.v1.GetWorkerBuildIdCompatibilityResponse.RetirementCandidate" do - optional :build_id, :string, 1 - optional :all_workflows_are_archived, :bool, 2 - repeated :pollers, :message, 3, "temporal.api.taskqueue.v1.PollerInfo" - end - add_message "temporal.api.workflowservice.v1.GetWorkerBuildIdCompatibilityResponse.VersionsWithCompatiblePollers" do - optional :most_recent_build_id, :string, 1 - repeated :pollers, :message, 2, "temporal.api.taskqueue.v1.PollerInfo" - end - add_message "temporal.api.workflowservice.v1.UpdateWorkflowExecutionRequest" do - optional :namespace, :string, 1 - optional :workflow_execution, :message, 2, "temporal.api.common.v1.WorkflowExecution" - optional :first_execution_run_id, :string, 3 - optional :wait_policy, :message, 4, "temporal.api.update.v1.WaitPolicy" - optional :request, :message, 5, "temporal.api.update.v1.Request" - end - add_message "temporal.api.workflowservice.v1.UpdateWorkflowExecutionResponse" do - optional :update_ref, :message, 1, "temporal.api.update.v1.UpdateRef" - optional :outcome, :message, 2, "temporal.api.update.v1.Outcome" - end - add_message "temporal.api.workflowservice.v1.StartBatchOperationRequest" do - optional :namespace, :string, 1 - optional :visibility_query, :string, 2 - optional :job_id, :string, 3 - optional :reason, :string, 4 - repeated :executions, :message, 5, "temporal.api.common.v1.WorkflowExecution" - oneof :operation do - optional :termination_operation, :message, 10, "temporal.api.batch.v1.BatchOperationTermination" - optional :signal_operation, :message, 11, "temporal.api.batch.v1.BatchOperationSignal" - optional :cancellation_operation, :message, 12, "temporal.api.batch.v1.BatchOperationCancellation" - optional :deletion_operation, :message, 13, "temporal.api.batch.v1.BatchOperationDeletion" - end - end - add_message "temporal.api.workflowservice.v1.StartBatchOperationResponse" do - end - add_message "temporal.api.workflowservice.v1.StopBatchOperationRequest" do - optional :namespace, :string, 1 - optional :job_id, :string, 2 - optional :reason, :string, 3 - optional :identity, :string, 4 - end - add_message "temporal.api.workflowservice.v1.StopBatchOperationResponse" do - end - add_message "temporal.api.workflowservice.v1.DescribeBatchOperationRequest" do - optional :namespace, :string, 1 - optional :job_id, :string, 2 - end - add_message "temporal.api.workflowservice.v1.DescribeBatchOperationResponse" do - optional :operation_type, :enum, 1, "temporal.api.enums.v1.BatchOperationType" - optional :job_id, :string, 2 - optional :state, :enum, 3, "temporal.api.enums.v1.BatchOperationState" - optional :start_time, :message, 4, "google.protobuf.Timestamp" - optional :close_time, :message, 5, "google.protobuf.Timestamp" - optional :total_operation_count, :int64, 6 - optional :complete_operation_count, :int64, 7 - optional :failure_operation_count, :int64, 8 - optional :identity, :string, 9 - optional :reason, :string, 10 - end - add_message "temporal.api.workflowservice.v1.ListBatchOperationsRequest" do - optional :namespace, :string, 1 - optional :page_size, :int32, 2 - optional :next_page_token, :bytes, 3 - end - add_message "temporal.api.workflowservice.v1.ListBatchOperationsResponse" do - repeated :operation_info, :message, 1, "temporal.api.batch.v1.BatchOperationInfo" - optional :next_page_token, :bytes, 2 - end - add_message "temporal.api.workflowservice.v1.PollWorkflowExecutionUpdateRequest" do - optional :namespace, :string, 1 - optional :update_ref, :message, 2, "temporal.api.update.v1.UpdateRef" - optional :identity, :string, 3 - optional :wait_policy, :message, 4, "temporal.api.update.v1.WaitPolicy" - end - add_message "temporal.api.workflowservice.v1.PollWorkflowExecutionUpdateResponse" do - optional :outcome, :message, 1, "temporal.api.update.v1.Outcome" - end - end -end + +descriptor_data = "\n6temporal/api/workflowservice/v1/request_response.proto\x12\x1ftemporal.api.workflowservice.v1\x1a+temporal/api/enums/v1/batch_operation.proto\x1a\"temporal/api/enums/v1/common.proto\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/query.proto\x1a!temporal/api/enums/v1/reset.proto\x1a&temporal/api/enums/v1/task_queue.proto\x1a&temporal/api/enums/v1/deployment.proto\x1a\"temporal/api/enums/v1/update.proto\x1a$temporal/api/enums/v1/activity.proto\x1a&temporal/api/activity/v1/message.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/compute/v1/config.proto\x1a(temporal/api/deployment/v1/message.proto\x1a%temporal/api/failure/v1/message.proto\x1a$temporal/api/filter/v1/message.proto\x1a&temporal/api/protocol/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/rules/v1/message.proto\x1a\'temporal/api/sdk/v1/worker_config.proto\x1a&temporal/api/schedule/v1/message.proto\x1a\'temporal/api/taskqueue/v1/message.proto\x1a$temporal/api/update/v1/message.proto\x1a%temporal/api/version/v1/message.proto\x1a#temporal/api/batch/v1/message.proto\x1a\x30temporal/api/sdk/v1/task_complete_metadata.proto\x1a\'temporal/api/sdk/v1/user_metadata.proto\x1a#temporal/api/nexus/v1/message.proto\x1a$temporal/api/worker/v1/message.proto\x1a\x1egoogle/protobuf/duration.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x88\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\x12\x46\n#workflow_execution_retention_period\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\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\"\x89\x01\n\x15ListNamespacesRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\x12\x44\n\x10namespace_filter\x18\x03 \x01(\x0b\x32*.temporal.api.namespace.v1.NamespaceFilter\"\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\"\xec\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\x12\x45\n\x10\x66\x61ilover_history\x18\x06 \x03(\x0b\x32+.temporal.api.replication.v1.FailoverStatus\"\xcf\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\x12\x19\n\x11promote_namespace\x18\x07 \x01(\x08\"\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\"\xd3\x0c\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=\n\x1aworkflow_execution_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14workflow_run_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\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\x12T\n\x1bworkflow_id_conflict_policy\x18\x16 \x01(\x0e\x32/.temporal.api.enums.v1.WorkflowIdConflictPolicy\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\x12\x1f\n\x17request_eager_execution\x18\x11 \x01(\x08\x12;\n\x11\x63ontinued_failure\x18\x12 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12@\n\x16last_completion_result\x18\x13 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x37\n\x14workflow_start_delay\x18\x14 \x01(\x0b\x32\x19.google.protobuf.Duration\x12>\n\x14\x63ompletion_callbacks\x18\x15 \x03(\x0b\x32 .temporal.api.common.v1.Callback\x12\x38\n\ruser_metadata\x18\x17 \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata\x12+\n\x05links\x18\x18 \x03(\x0b\x32\x1c.temporal.api.common.v1.Link\x12I\n\x13versioning_override\x18\x19 \x01(\x0b\x32,.temporal.api.workflow.v1.VersioningOverride\x12H\n\x13on_conflict_options\x18\x1a \x01(\x0b\x32+.temporal.api.workflow.v1.OnConflictOptions\x12\x32\n\x08priority\x18\x1b \x01(\x0b\x32 .temporal.api.common.v1.Priority\x12\\\n\x1f\x65\x61ger_worker_deployment_options\x18\x1c \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions\x12J\n\x14time_skipping_config\x18\x1d \x01(\x0b\x32,.temporal.api.workflow.v1.TimeSkippingConfig\"\x8a\x02\n\x1eStartWorkflowExecutionResponse\x12\x0e\n\x06run_id\x18\x01 \x01(\t\x12\x0f\n\x07started\x18\x03 \x01(\x08\x12>\n\x06status\x18\x05 \x01(\x0e\x32..temporal.api.enums.v1.WorkflowExecutionStatus\x12[\n\x13\x65\x61ger_workflow_task\x18\x02 \x01(\x0b\x32>.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse\x12*\n\x04link\x18\x04 \x01(\x0b\x32\x1c.temporal.api.common.v1.Link\"\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\"\xb0\x01\n)GetWorkflowExecutionHistoryReverseRequest\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\"x\n*GetWorkflowExecutionHistoryReverseResponse\x12\x31\n\x07history\x18\x01 \x01(\x0b\x32 .temporal.api.history.v1.History\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\x0c\"\x9f\x03\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\x1b\n\x13worker_instance_key\x18\x08 \x01(\t\x12!\n\x19worker_control_task_queue\x18\t \x01(\t\x12\x1b\n\x0f\x62inary_checksum\x18\x04 \x01(\tB\x02\x18\x01\x12Z\n\x1bworker_version_capabilities\x18\x05 \x01(\x0b\x32\x31.temporal.api.common.v1.WorkerVersionCapabilitiesB\x02\x18\x01\x12O\n\x12\x64\x65ployment_options\x18\x06 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptionsJ\x04\x08\x07\x10\x08R\x10worker_heartbeat\"\x91\x07\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\x32\n\x0escheduled_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x30\n\x0cstarted_time\x18\r \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\\\n\x07queries\x18\x0e \x03(\x0b\x32K.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse.QueriesEntry\x12\x33\n\x08messages\x18\x0f \x03(\x0b\x32!.temporal.api.protocol.v1.Message\x12Q\n\x17poller_scaling_decision\x18\x10 \x01(\x0b\x32\x30.temporal.api.taskqueue.v1.PollerScalingDecision\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\"\x8a\n\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\x1b\n\x0f\x62inary_checksum\x18\x07 \x01(\tB\x02\x18\x01\x12m\n\rquery_results\x18\x08 \x03(\x0b\x32V.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.QueryResultsEntry\x12\x11\n\tnamespace\x18\t \x01(\t\x12\x13\n\x0bresource_id\x18\x12 \x01(\t\x12L\n\x14worker_version_stamp\x18\n \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12\x33\n\x08messages\x18\x0b \x03(\x0b\x32!.temporal.api.protocol.v1.Message\x12H\n\x0csdk_metadata\x18\x0c \x01(\x0b\x32\x32.temporal.api.sdk.v1.WorkflowTaskCompletedMetadata\x12\x43\n\x11metering_metadata\x18\r \x01(\x0b\x32(.temporal.api.common.v1.MeteringMetadata\x12g\n\x0c\x63\x61pabilities\x18\x0e \x01(\x0b\x32Q.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.Capabilities\x12>\n\ndeployment\x18\x0f \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12\x46\n\x13versioning_behavior\x18\x10 \x01(\x0e\x32).temporal.api.enums.v1.VersioningBehavior\x12O\n\x12\x64\x65ployment_options\x18\x11 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions\x12\x1b\n\x13worker_instance_key\x18\x13 \x01(\t\x12!\n\x19worker_control_task_queue\x18\x14 \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\x1a\x45\n\x0c\x43\x61pabilities\x12\x35\n-discard_speculative_workflow_task_with_events\x18\x01 \x01(\x08\"\xf5\x01\n$RespondWorkflowTaskCompletedResponse\x12U\n\rworkflow_task\x18\x01 \x01(\x0b\x32>.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse\x12V\n\x0e\x61\x63tivity_tasks\x18\x02 \x03(\x0b\x32>.temporal.api.workflowservice.v1.PollActivityTaskQueueResponse\x12\x1e\n\x16reset_history_event_id\x18\x03 \x01(\x03\"\x8d\x04\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\x1b\n\x0f\x62inary_checksum\x18\x05 \x01(\tB\x02\x18\x01\x12\x11\n\tnamespace\x18\x06 \x01(\t\x12\x13\n\x0bresource_id\x18\x0b \x01(\t\x12\x33\n\x08messages\x18\x07 \x03(\x0b\x32!.temporal.api.protocol.v1.Message\x12\x46\n\x0eworker_version\x18\x08 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12>\n\ndeployment\x18\t \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12O\n\x12\x64\x65ployment_options\x18\n \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions\"#\n!RespondWorkflowTaskFailedResponse\"\xcd\x03\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\x12\x1b\n\x13worker_instance_key\x18\x08 \x01(\t\x12!\n\x19worker_control_task_queue\x18\t \x01(\t\x12I\n\x13task_queue_metadata\x18\x04 \x01(\x0b\x32,.temporal.api.taskqueue.v1.TaskQueueMetadata\x12Z\n\x1bworker_version_capabilities\x18\x05 \x01(\x0b\x32\x31.temporal.api.common.v1.WorkerVersionCapabilitiesB\x02\x18\x01\x12O\n\x12\x64\x65ployment_options\x18\x06 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptionsJ\x04\x08\x07\x10\x08R\x10worker_heartbeat\"\x88\x08\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\x32\n\x0escheduled_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x42\n\x1e\x63urrent_attempt_scheduled_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x30\n\x0cstarted_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0f\n\x07\x61ttempt\x18\r \x01(\x05\x12<\n\x19schedule_to_close_timeout\x18\x0e \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\x0f \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x34\n\x11heartbeat_timeout\x18\x10 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x0cretry_policy\x18\x11 \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12Q\n\x17poller_scaling_decision\x18\x12 \x01(\x0b\x32\x30.temporal.api.taskqueue.v1.PollerScalingDecision\x12\x32\n\x08priority\x18\x13 \x01(\x0b\x32 .temporal.api.common.v1.Priority\x12\x17\n\x0f\x61\x63tivity_run_id\x18\x14 \x01(\t\"\xa5\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\x12\x13\n\x0bresource_id\x18\x05 \x01(\t\"p\n#RecordActivityTaskHeartbeatResponse\x12\x18\n\x10\x63\x61ncel_requested\x18\x01 \x01(\x08\x12\x17\n\x0f\x61\x63tivity_paused\x18\x02 \x01(\x08\x12\x16\n\x0e\x61\x63tivity_reset\x18\x03 \x01(\x08\"\xcf\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\x12\x13\n\x0bresource_id\x18\x07 \x01(\t\"t\n\'RecordActivityTaskHeartbeatByIdResponse\x12\x18\n\x10\x63\x61ncel_requested\x18\x01 \x01(\x08\x12\x17\n\x0f\x61\x63tivity_paused\x18\x02 \x01(\x08\x12\x16\n\x0e\x61\x63tivity_reset\x18\x03 \x01(\x08\"\xfe\x02\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\x12\x13\n\x0bresource_id\x18\x08 \x01(\t\x12\x46\n\x0eworker_version\x18\x05 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12>\n\ndeployment\x18\x06 \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12O\n\x12\x64\x65ployment_options\x18\x07 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions\"&\n$RespondActivityTaskCompletedResponse\"\xcf\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\x12\x13\n\x0bresource_id\x18\x07 \x01(\t\"*\n(RespondActivityTaskCompletedByIdResponse\"\xbe\x03\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\x12\x13\n\x0bresource_id\x18\t \x01(\t\x12@\n\x16last_heartbeat_details\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x46\n\x0eworker_version\x18\x06 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12>\n\ndeployment\x18\x07 \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12O\n\x12\x64\x65ployment_options\x18\x08 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions\"W\n!RespondActivityTaskFailedResponse\x12\x32\n\x08\x66\x61ilures\x18\x01 \x03(\x0b\x32 .temporal.api.failure.v1.Failure\"\x8f\x02\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\x12@\n\x16last_heartbeat_details\x18\x07 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x13\n\x0bresource_id\x18\x08 \x01(\t\"[\n%RespondActivityTaskFailedByIdResponse\x12\x32\n\x08\x66\x61ilures\x18\x01 \x03(\x0b\x32 .temporal.api.failure.v1.Failure\"\xfe\x02\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\x12\x13\n\x0bresource_id\x18\x08 \x01(\t\x12\x46\n\x0eworker_version\x18\x05 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStampB\x02\x18\x01\x12>\n\ndeployment\x18\x06 \x01(\x0b\x32&.temporal.api.deployment.v1.DeploymentB\x02\x18\x01\x12O\n\x12\x64\x65ployment_options\x18\x07 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions\"%\n#RespondActivityTaskCanceledResponse\"\xa0\x02\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\x12O\n\x12\x64\x65ployment_options\x18\x07 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions\x12\x13\n\x0bresource_id\x18\x08 \x01(\t\")\n\'RespondActivityTaskCanceledByIdResponse\"\x84\x02\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\x12\x0e\n\x06reason\x18\x06 \x01(\t\x12+\n\x05links\x18\x07 \x03(\x0b\x32\x1c.temporal.api.common.v1.Link\"(\n&RequestCancelWorkflowExecutionResponse\"\xde\x02\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\x13\n\x07\x63ontrol\x18\x07 \x01(\tB\x02\x18\x01\x12.\n\x06header\x18\x08 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12+\n\x05links\x18\n \x03(\x0b\x32\x1c.temporal.api.common.v1.LinkJ\x04\x08\t\x10\n\"M\n\x1fSignalWorkflowExecutionResponse\x12*\n\x04link\x18\x01 \x01(\x0b\x32\x1c.temporal.api.common.v1.Link\"\xbd\n\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=\n\x1aworkflow_execution_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14workflow_run_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\x15workflow_task_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\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\x12T\n\x1bworkflow_id_conflict_policy\x18\x16 \x01(\x0e\x32/.temporal.api.enums.v1.WorkflowIdConflictPolicy\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\x13\n\x07\x63ontrol\x18\x0e \x01(\tB\x02\x18\x01\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\x12\x37\n\x14workflow_start_delay\x18\x14 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x38\n\ruser_metadata\x18\x17 \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata\x12+\n\x05links\x18\x18 \x03(\x0b\x32\x1c.temporal.api.common.v1.Link\x12I\n\x13versioning_override\x18\x19 \x01(\x0b\x32,.temporal.api.workflow.v1.VersioningOverride\x12\x32\n\x08priority\x18\x1a \x01(\x0b\x32 .temporal.api.common.v1.Priority\x12J\n\x14time_skipping_config\x18\x1b \x01(\x0b\x32,.temporal.api.workflow.v1.TimeSkippingConfigJ\x04\x08\x15\x10\x16\"~\n(SignalWithStartWorkflowExecutionResponse\x12\x0e\n\x06run_id\x18\x01 \x01(\t\x12\x0f\n\x07started\x18\x02 \x01(\x08\x12\x31\n\x0bsignal_link\x18\x03 \x01(\x0b\x32\x1c.temporal.api.common.v1.Link\"\xc1\x03\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\x12G\n\x12reset_reapply_type\x18\x06 \x01(\x0e\x32\'.temporal.api.enums.v1.ResetReapplyTypeB\x02\x18\x01\x12S\n\x1breset_reapply_exclude_types\x18\x07 \x03(\x0e\x32..temporal.api.enums.v1.ResetReapplyExcludeType\x12K\n\x15post_reset_operations\x18\x08 \x03(\x0b\x32,.temporal.api.workflow.v1.PostResetOperation\x12\x10\n\x08identity\x18\t \x01(\t\"0\n\x1eResetWorkflowExecutionResponse\x12\x0e\n\x06run_id\x18\x01 \x01(\t\"\x9f\x02\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\x12+\n\x05links\x18\x07 \x03(\x0b\x32\x1c.temporal.api.common.v1.Link\"$\n\"TerminateWorkflowExecutionResponse\"z\n\x1e\x44\x65leteWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\"!\n\x1f\x44\x65leteWorkflowExecutionResponse\"\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\"\xed\x01\n\x1f\x43ountWorkflowExecutionsResponse\x12\r\n\x05\x63ount\x18\x01 \x01(\x03\x12\x61\n\x06groups\x18\x02 \x03(\x0b\x32Q.temporal.api.workflowservice.v1.CountWorkflowExecutionsResponse.AggregationGroup\x1aX\n\x10\x41ggregationGroup\x12\x35\n\x0cgroup_values\x18\x01 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\r\n\x05\x63ount\x18\x02 \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\"\xd0\x02\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(\t\x12\x31\n\x07\x66\x61ilure\x18\x07 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12=\n\x05\x63\x61use\x18\x08 \x01(\x0e\x32..temporal.api.enums.v1.WorkflowTaskFailedCauseJ\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\"\x9b\x02\n\x15ShutdownWorkerRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x19\n\x11sticky_task_queue\x18\x02 \x01(\t\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x0e\n\x06reason\x18\x04 \x01(\t\x12\x41\n\x10worker_heartbeat\x18\x05 \x01(\x0b\x32\'.temporal.api.worker.v1.WorkerHeartbeat\x12\x1b\n\x13worker_instance_key\x18\x06 \x01(\t\x12\x12\n\ntask_queue\x18\x07 \x01(\t\x12>\n\x10task_queue_types\x18\x08 \x03(\x0e\x32$.temporal.api.enums.v1.TaskQueueType\"\x18\n\x16ShutdownWorkerResponse\"\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\"\x99\x05\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\x12P\n\x15pending_workflow_task\x18\x05 \x01(\x0b\x32\x31.temporal.api.workflow.v1.PendingWorkflowTaskInfo\x12\x39\n\tcallbacks\x18\x06 \x03(\x0b\x32&.temporal.api.workflow.v1.CallbackInfo\x12U\n\x18pending_nexus_operations\x18\x07 \x03(\x0b\x32\x33.temporal.api.workflow.v1.PendingNexusOperationInfo\x12W\n\x16workflow_extended_info\x18\x08 \x01(\x0b\x32\x37.temporal.api.workflow.v1.WorkflowExecutionExtendedInfo\"\x90\x04\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\x14\n\x0creport_stats\x18\x08 \x01(\x08\x12\x15\n\rreport_config\x18\x0b \x01(\x08\x12%\n\x19include_task_queue_status\x18\x04 \x01(\x08\x42\x02\x18\x01\x12\x42\n\x08\x61pi_mode\x18\x05 \x01(\x0e\x32,.temporal.api.enums.v1.DescribeTaskQueueModeB\x02\x18\x01\x12J\n\x08versions\x18\x06 \x01(\x0b\x32\x34.temporal.api.taskqueue.v1.TaskQueueVersionSelectionB\x02\x18\x01\x12\x42\n\x10task_queue_types\x18\x07 \x03(\x0e\x32$.temporal.api.enums.v1.TaskQueueTypeB\x02\x18\x01\x12\x1a\n\x0ereport_pollers\x18\t \x01(\x08\x42\x02\x18\x01\x12$\n\x18report_task_reachability\x18\n \x01(\x08\x42\x02\x18\x01\"\xec\x07\n\x19\x44\x65scribeTaskQueueResponse\x12\x36\n\x07pollers\x18\x01 \x03(\x0b\x32%.temporal.api.taskqueue.v1.PollerInfo\x12\x38\n\x05stats\x18\x05 \x01(\x0b\x32).temporal.api.taskqueue.v1.TaskQueueStats\x12q\n\x15stats_by_priority_key\x18\x08 \x03(\x0b\x32R.temporal.api.workflowservice.v1.DescribeTaskQueueResponse.StatsByPriorityKeyEntry\x12K\n\x0fversioning_info\x18\x04 \x01(\x0b\x32\x32.temporal.api.taskqueue.v1.TaskQueueVersioningInfo\x12:\n\x06\x63onfig\x18\x06 \x01(\x0b\x32*.temporal.api.taskqueue.v1.TaskQueueConfig\x12k\n\x14\x65\x66\x66\x65\x63tive_rate_limit\x18\x07 \x01(\x0b\x32M.temporal.api.workflowservice.v1.DescribeTaskQueueResponse.EffectiveRateLimit\x12I\n\x11task_queue_status\x18\x02 \x01(\x0b\x32*.temporal.api.taskqueue.v1.TaskQueueStatusB\x02\x18\x01\x12g\n\rversions_info\x18\x03 \x03(\x0b\x32L.temporal.api.workflowservice.v1.DescribeTaskQueueResponse.VersionsInfoEntryB\x02\x18\x01\x1a\x64\n\x17StatsByPriorityKeyEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\x38\n\x05value\x18\x02 \x01(\x0b\x32).temporal.api.taskqueue.v1.TaskQueueStats:\x02\x38\x01\x1at\n\x12\x45\x66\x66\x65\x63tiveRateLimit\x12\x1b\n\x13requests_per_second\x18\x01 \x01(\x02\x12\x41\n\x11rate_limit_source\x18\x02 \x01(\x0e\x32&.temporal.api.enums.v1.RateLimitSource\x1a\x64\n\x11VersionsInfoEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12>\n\x05value\x18\x02 \x01(\x0b\x32/.temporal.api.taskqueue.v1.TaskQueueVersionInfo:\x02\x38\x01\"\x17\n\x15GetClusterInfoRequest\"\xd1\x03\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\x12\x19\n\x11persistence_store\x18\x07 \x01(\t\x12\x18\n\x10visibility_store\x18\x08 \x01(\t\x12 \n\x18initial_failover_version\x18\t \x01(\x03\x12\"\n\x1a\x66\x61ilover_version_increment\x18\n \x01(\x03\x1a\x37\n\x15SupportedClientsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x16\n\x14GetSystemInfoRequest\"\x97\x04\n\x15GetSystemInfoResponse\x12\x16\n\x0eserver_version\x18\x01 \x01(\t\x12Y\n\x0c\x63\x61pabilities\x18\x02 \x01(\x0b\x32\x43.temporal.api.workflowservice.v1.GetSystemInfoResponse.Capabilities\x1a\x8a\x03\n\x0c\x43\x61pabilities\x12\x1f\n\x17signal_and_query_header\x18\x01 \x01(\x08\x12&\n\x1einternal_error_differentiation\x18\x02 \x01(\x08\x12*\n\"activity_failure_include_heartbeat\x18\x03 \x01(\x08\x12\x1a\n\x12supports_schedules\x18\x04 \x01(\x08\x12\"\n\x1a\x65ncoded_failure_attributes\x18\x05 \x01(\x08\x12!\n\x19\x62uild_id_based_versioning\x18\x06 \x01(\x08\x12\x13\n\x0bupsert_memo\x18\x07 \x01(\x08\x12\x1c\n\x14\x65\x61ger_workflow_start\x18\x08 \x01(\x08\x12\x14\n\x0csdk_metadata\x18\t \x01(\x08\x12\'\n\x1f\x63ount_group_by_execution_status\x18\n \x01(\x08\x12\r\n\x05nexus\x18\x0b \x01(\x08\x12!\n\x19server_scaled_deployments\x18\x0c \x01(\x08\"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.TaskQueuePartitionMetadata\"\xcc\x02\n\x15\x43reateScheduleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bschedule_id\x18\x02 \x01(\t\x12\x34\n\x08schedule\x18\x03 \x01(\x0b\x32\".temporal.api.schedule.v1.Schedule\x12>\n\rinitial_patch\x18\x04 \x01(\x0b\x32\'.temporal.api.schedule.v1.SchedulePatch\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x12\n\nrequest_id\x18\x06 \x01(\t\x12*\n\x04memo\x18\x07 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x08 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\"0\n\x16\x43reateScheduleResponse\x12\x16\n\x0e\x63onflict_token\x18\x01 \x01(\x0c\"A\n\x17\x44\x65scribeScheduleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bschedule_id\x18\x02 \x01(\t\"\x8f\x02\n\x18\x44\x65scribeScheduleResponse\x12\x34\n\x08schedule\x18\x01 \x01(\x0b\x32\".temporal.api.schedule.v1.Schedule\x12\x34\n\x04info\x18\x02 \x01(\x0b\x32&.temporal.api.schedule.v1.ScheduleInfo\x12*\n\x04memo\x18\x03 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x04 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12\x16\n\x0e\x63onflict_token\x18\x05 \x01(\x0c\"\xa4\x02\n\x15UpdateScheduleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bschedule_id\x18\x02 \x01(\t\x12\x34\n\x08schedule\x18\x03 \x01(\x0b\x32\".temporal.api.schedule.v1.Schedule\x12\x16\n\x0e\x63onflict_token\x18\x04 \x01(\x0c\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x12\n\nrequest_id\x18\x06 \x01(\t\x12\x43\n\x11search_attributes\x18\x07 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12*\n\x04memo\x18\x08 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\"\x18\n\x16UpdateScheduleResponse\"\x9c\x01\n\x14PatchScheduleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bschedule_id\x18\x02 \x01(\t\x12\x36\n\x05patch\x18\x03 \x01(\x0b\x32\'.temporal.api.schedule.v1.SchedulePatch\x12\x10\n\x08identity\x18\x04 \x01(\t\x12\x12\n\nrequest_id\x18\x05 \x01(\t\"\x17\n\x15PatchScheduleResponse\"\xa8\x01\n ListScheduleMatchingTimesRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bschedule_id\x18\x02 \x01(\t\x12.\n\nstart_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"S\n!ListScheduleMatchingTimesResponse\x12.\n\nstart_time\x18\x01 \x03(\x0b\x32\x1a.google.protobuf.Timestamp\"Q\n\x15\x44\x65leteScheduleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bschedule_id\x18\x02 \x01(\t\x12\x10\n\x08identity\x18\x03 \x01(\t\"\x18\n\x16\x44\x65leteScheduleResponse\"l\n\x14ListSchedulesRequest\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\r\n\x05query\x18\x04 \x01(\t\"p\n\x15ListSchedulesResponse\x12>\n\tschedules\x18\x01 \x03(\x0b\x32+.temporal.api.schedule.v1.ScheduleListEntry\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\"9\n\x15\x43ountSchedulesRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\r\n\x05query\x18\x02 \x01(\t\"\xdb\x01\n\x16\x43ountSchedulesResponse\x12\r\n\x05\x63ount\x18\x01 \x01(\x03\x12X\n\x06groups\x18\x02 \x03(\x0b\x32H.temporal.api.workflowservice.v1.CountSchedulesResponse.AggregationGroup\x1aX\n\x10\x41ggregationGroup\x12\x35\n\x0cgroup_values\x18\x01 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\r\n\x05\x63ount\x18\x02 \x01(\x03\"\x86\x05\n\'UpdateWorkerBuildIdCompatibilityRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x12\n\ntask_queue\x18\x02 \x01(\t\x12-\n#add_new_build_id_in_new_default_set\x18\x03 \x01(\tH\x00\x12\x87\x01\n\x1b\x61\x64\x64_new_compatible_build_id\x18\x04 \x01(\x0b\x32`.temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersionH\x00\x12!\n\x17promote_set_by_build_id\x18\x05 \x01(\tH\x00\x12%\n\x1bpromote_build_id_within_set\x18\x06 \x01(\tH\x00\x12h\n\nmerge_sets\x18\x07 \x01(\x0b\x32R.temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest.MergeSetsH\x00\x1ao\n\x17\x41\x64\x64NewCompatibleVersion\x12\x14\n\x0cnew_build_id\x18\x01 \x01(\t\x12$\n\x1c\x65xisting_compatible_build_id\x18\x02 \x01(\t\x12\x18\n\x10make_set_default\x18\x03 \x01(\x08\x1aI\n\tMergeSets\x12\x1c\n\x14primary_set_build_id\x18\x01 \x01(\t\x12\x1e\n\x16secondary_set_build_id\x18\x02 \x01(\tB\x0b\n\toperation\"@\n(UpdateWorkerBuildIdCompatibilityResponseJ\x04\x08\x01\x10\x02R\x0eversion_set_id\"_\n$GetWorkerBuildIdCompatibilityRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x12\n\ntask_queue\x18\x02 \x01(\t\x12\x10\n\x08max_sets\x18\x03 \x01(\x05\"t\n%GetWorkerBuildIdCompatibilityResponse\x12K\n\x12major_version_sets\x18\x01 \x03(\x0b\x32/.temporal.api.taskqueue.v1.CompatibleVersionSet\"\xb5\r\n\"UpdateWorkerVersioningRulesRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x12\n\ntask_queue\x18\x02 \x01(\t\x12\x16\n\x0e\x63onflict_token\x18\x03 \x01(\x0c\x12\x81\x01\n\x16insert_assignment_rule\x18\x04 \x01(\x0b\x32_.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.InsertBuildIdAssignmentRuleH\x00\x12\x83\x01\n\x17replace_assignment_rule\x18\x05 \x01(\x0b\x32`.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.ReplaceBuildIdAssignmentRuleH\x00\x12\x81\x01\n\x16\x64\x65lete_assignment_rule\x18\x06 \x01(\x0b\x32_.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.DeleteBuildIdAssignmentRuleH\x00\x12\x8c\x01\n\x1c\x61\x64\x64_compatible_redirect_rule\x18\x07 \x01(\x0b\x32\x64.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.AddCompatibleBuildIdRedirectRuleH\x00\x12\x94\x01\n replace_compatible_redirect_rule\x18\x08 \x01(\x0b\x32h.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.ReplaceCompatibleBuildIdRedirectRuleH\x00\x12\x92\x01\n\x1f\x64\x65lete_compatible_redirect_rule\x18\t \x01(\x0b\x32g.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.DeleteCompatibleBuildIdRedirectRuleH\x00\x12l\n\x0f\x63ommit_build_id\x18\n \x01(\x0b\x32Q.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.CommitBuildIdH\x00\x1aq\n\x1bInsertBuildIdAssignmentRule\x12\x12\n\nrule_index\x18\x01 \x01(\x05\x12>\n\x04rule\x18\x02 \x01(\x0b\x32\x30.temporal.api.taskqueue.v1.BuildIdAssignmentRule\x1a\x81\x01\n\x1cReplaceBuildIdAssignmentRule\x12\x12\n\nrule_index\x18\x01 \x01(\x05\x12>\n\x04rule\x18\x02 \x01(\x0b\x32\x30.temporal.api.taskqueue.v1.BuildIdAssignmentRule\x12\r\n\x05\x66orce\x18\x03 \x01(\x08\x1a@\n\x1b\x44\x65leteBuildIdAssignmentRule\x12\x12\n\nrule_index\x18\x01 \x01(\x05\x12\r\n\x05\x66orce\x18\x02 \x01(\x08\x1aj\n AddCompatibleBuildIdRedirectRule\x12\x46\n\x04rule\x18\x01 \x01(\x0b\x32\x38.temporal.api.taskqueue.v1.CompatibleBuildIdRedirectRule\x1an\n$ReplaceCompatibleBuildIdRedirectRule\x12\x46\n\x04rule\x18\x01 \x01(\x0b\x32\x38.temporal.api.taskqueue.v1.CompatibleBuildIdRedirectRule\x1a>\n#DeleteCompatibleBuildIdRedirectRule\x12\x17\n\x0fsource_build_id\x18\x01 \x01(\t\x1a\x37\n\rCommitBuildId\x12\x17\n\x0ftarget_build_id\x18\x01 \x01(\t\x12\r\n\x05\x66orce\x18\x02 \x01(\x08\x42\x0b\n\toperation\"\xfc\x01\n#UpdateWorkerVersioningRulesResponse\x12U\n\x10\x61ssignment_rules\x18\x01 \x03(\x0b\x32;.temporal.api.taskqueue.v1.TimestampedBuildIdAssignmentRule\x12\x66\n\x19\x63ompatible_redirect_rules\x18\x02 \x03(\x0b\x32\x43.temporal.api.taskqueue.v1.TimestampedCompatibleBuildIdRedirectRule\x12\x16\n\x0e\x63onflict_token\x18\x03 \x01(\x0c\"H\n\x1fGetWorkerVersioningRulesRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x12\n\ntask_queue\x18\x02 \x01(\t\"\xf9\x01\n GetWorkerVersioningRulesResponse\x12U\n\x10\x61ssignment_rules\x18\x01 \x03(\x0b\x32;.temporal.api.taskqueue.v1.TimestampedBuildIdAssignmentRule\x12\x66\n\x19\x63ompatible_redirect_rules\x18\x02 \x03(\x0b\x32\x43.temporal.api.taskqueue.v1.TimestampedCompatibleBuildIdRedirectRule\x12\x16\n\x0e\x63onflict_token\x18\x03 \x01(\x0c\"\x9c\x01\n GetWorkerTaskReachabilityRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x11\n\tbuild_ids\x18\x02 \x03(\t\x12\x13\n\x0btask_queues\x18\x03 \x03(\t\x12=\n\x0creachability\x18\x04 \x01(\x0e\x32\'.temporal.api.enums.v1.TaskReachability\"r\n!GetWorkerTaskReachabilityResponse\x12M\n\x15\x62uild_id_reachability\x18\x01 \x03(\x0b\x32..temporal.api.taskqueue.v1.BuildIdReachability\"\x85\x02\n\x1eUpdateWorkflowExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x1e\n\x16\x66irst_execution_run_id\x18\x03 \x01(\t\x12\x37\n\x0bwait_policy\x18\x04 \x01(\x0b\x32\".temporal.api.update.v1.WaitPolicy\x12\x30\n\x07request\x18\x05 \x01(\x0b\x32\x1f.temporal.api.update.v1.Request\"\xd7\x01\n\x1fUpdateWorkflowExecutionResponse\x12\x35\n\nupdate_ref\x18\x01 \x01(\x0b\x32!.temporal.api.update.v1.UpdateRef\x12\x30\n\x07outcome\x18\x02 \x01(\x0b\x32\x1f.temporal.api.update.v1.Outcome\x12K\n\x05stage\x18\x03 \x01(\x0e\x32<.temporal.api.enums.v1.UpdateWorkflowExecutionLifecycleStage\"\xf4\x07\n\x1aStartBatchOperationRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x18\n\x10visibility_query\x18\x02 \x01(\t\x12\x0e\n\x06job_id\x18\x03 \x01(\t\x12\x0e\n\x06reason\x18\x04 \x01(\t\x12=\n\nexecutions\x18\x05 \x03(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12!\n\x19max_operations_per_second\x18\x06 \x01(\x02\x12Q\n\x15termination_operation\x18\n \x01(\x0b\x32\x30.temporal.api.batch.v1.BatchOperationTerminationH\x00\x12G\n\x10signal_operation\x18\x0b \x01(\x0b\x32+.temporal.api.batch.v1.BatchOperationSignalH\x00\x12S\n\x16\x63\x61ncellation_operation\x18\x0c \x01(\x0b\x32\x31.temporal.api.batch.v1.BatchOperationCancellationH\x00\x12K\n\x12\x64\x65letion_operation\x18\r \x01(\x0b\x32-.temporal.api.batch.v1.BatchOperationDeletionH\x00\x12\x45\n\x0freset_operation\x18\x0e \x01(\x0b\x32*.temporal.api.batch.v1.BatchOperationResetH\x00\x12p\n!update_workflow_options_operation\x18\x0f \x01(\x0b\x32\x43.temporal.api.batch.v1.BatchOperationUpdateWorkflowExecutionOptionsH\x00\x12^\n\x1cunpause_activities_operation\x18\x10 \x01(\x0b\x32\x36.temporal.api.batch.v1.BatchOperationUnpauseActivitiesH\x00\x12Z\n\x1areset_activities_operation\x18\x11 \x01(\x0b\x32\x34.temporal.api.batch.v1.BatchOperationResetActivitiesH\x00\x12g\n!update_activity_options_operation\x18\x12 \x01(\x0b\x32:.temporal.api.batch.v1.BatchOperationUpdateActivityOptionsH\x00\x42\x0b\n\toperation\"\x1d\n\x1bStartBatchOperationResponse\"`\n\x19StopBatchOperationRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0e\n\x06job_id\x18\x02 \x01(\t\x12\x0e\n\x06reason\x18\x03 \x01(\t\x12\x10\n\x08identity\x18\x04 \x01(\t\"\x1c\n\x1aStopBatchOperationResponse\"B\n\x1d\x44\x65scribeBatchOperationRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0e\n\x06job_id\x18\x02 \x01(\t\"\x92\x03\n\x1e\x44\x65scribeBatchOperationResponse\x12\x41\n\x0eoperation_type\x18\x01 \x01(\x0e\x32).temporal.api.enums.v1.BatchOperationType\x12\x0e\n\x06job_id\x18\x02 \x01(\t\x12\x39\n\x05state\x18\x03 \x01(\x0e\x32*.temporal.api.enums.v1.BatchOperationState\x12.\n\nstart_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nclose_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x1d\n\x15total_operation_count\x18\x06 \x01(\x03\x12 \n\x18\x63omplete_operation_count\x18\x07 \x01(\x03\x12\x1f\n\x17\x66\x61ilure_operation_count\x18\x08 \x01(\x03\x12\x10\n\x08identity\x18\t \x01(\t\x12\x0e\n\x06reason\x18\n \x01(\t\"[\n\x1aListBatchOperationsRequest\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\"y\n\x1bListBatchOperationsResponse\x12\x41\n\x0eoperation_info\x18\x01 \x03(\x0b\x32).temporal.api.batch.v1.BatchOperationInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\"\xb9\x01\n\"PollWorkflowExecutionUpdateRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x35\n\nupdate_ref\x18\x02 \x01(\x0b\x32!.temporal.api.update.v1.UpdateRef\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x37\n\x0bwait_policy\x18\x04 \x01(\x0b\x32\".temporal.api.update.v1.WaitPolicy\"\xdb\x01\n#PollWorkflowExecutionUpdateResponse\x12\x30\n\x07outcome\x18\x01 \x01(\x0b\x32\x1f.temporal.api.update.v1.Outcome\x12K\n\x05stage\x18\x02 \x01(\x0e\x32<.temporal.api.enums.v1.UpdateWorkflowExecutionLifecycleStage\x12\x35\n\nupdate_ref\x18\x03 \x01(\x0b\x32!.temporal.api.update.v1.UpdateRef\"\x87\x03\n\x19PollNexusTaskQueueRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x1b\n\x13worker_instance_key\x18\x08 \x01(\t\x12\x38\n\ntask_queue\x18\x03 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12Z\n\x1bworker_version_capabilities\x18\x04 \x01(\x0b\x32\x31.temporal.api.common.v1.WorkerVersionCapabilitiesB\x02\x18\x01\x12O\n\x12\x64\x65ployment_options\x18\x06 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions\x12\x41\n\x10worker_heartbeat\x18\x07 \x03(\x0b\x32\'.temporal.api.worker.v1.WorkerHeartbeat\"\xb4\x01\n\x1aPollNexusTaskQueueResponse\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12/\n\x07request\x18\x02 \x01(\x0b\x32\x1e.temporal.api.nexus.v1.Request\x12Q\n\x17poller_scaling_decision\x18\x03 \x01(\x0b\x32\x30.temporal.api.taskqueue.v1.PollerScalingDecision\"\x8e\x01\n RespondNexusTaskCompletedRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x12\n\ntask_token\x18\x03 \x01(\x0c\x12\x31\n\x08response\x18\x04 \x01(\x0b\x32\x1f.temporal.api.nexus.v1.Response\"#\n!RespondNexusTaskCompletedResponse\"\xc3\x01\n\x1dRespondNexusTaskFailedRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x12\n\ntask_token\x18\x03 \x01(\x0c\x12\x36\n\x05\x65rror\x18\x04 \x01(\x0b\x32#.temporal.api.nexus.v1.HandlerErrorB\x02\x18\x01\x12\x31\n\x07\x66\x61ilure\x18\x05 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\" \n\x1eRespondNexusTaskFailedResponse\"\xf4\x02\n\x1c\x45xecuteMultiOperationRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12[\n\noperations\x18\x02 \x03(\x0b\x32G.temporal.api.workflowservice.v1.ExecuteMultiOperationRequest.Operation\x12\x13\n\x0bresource_id\x18\x03 \x01(\t\x1a\xce\x01\n\tOperation\x12X\n\x0estart_workflow\x18\x01 \x01(\x0b\x32>.temporal.api.workflowservice.v1.StartWorkflowExecutionRequestH\x00\x12Z\n\x0fupdate_workflow\x18\x02 \x01(\x0b\x32?.temporal.api.workflowservice.v1.UpdateWorkflowExecutionRequestH\x00\x42\x0b\n\toperation\"\xcc\x02\n\x1d\x45xecuteMultiOperationResponse\x12Z\n\tresponses\x18\x01 \x03(\x0b\x32G.temporal.api.workflowservice.v1.ExecuteMultiOperationResponse.Response\x1a\xce\x01\n\x08Response\x12Y\n\x0estart_workflow\x18\x01 \x01(\x0b\x32?.temporal.api.workflowservice.v1.StartWorkflowExecutionResponseH\x00\x12[\n\x0fupdate_workflow\x18\x02 \x01(\x0b\x32@.temporal.api.workflowservice.v1.UpdateWorkflowExecutionResponseH\x00\x42\n\n\x08response\"\xd0\x02\n\x1cUpdateActivityOptionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x43\n\x10\x61\x63tivity_options\x18\x04 \x01(\x0b\x32).temporal.api.activity.v1.ActivityOptions\x12/\n\x0bupdate_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x0c\n\x02id\x18\x06 \x01(\tH\x00\x12\x0e\n\x04type\x18\x07 \x01(\tH\x00\x12\x13\n\tmatch_all\x18\t \x01(\x08H\x00\x12\x18\n\x10restore_original\x18\x08 \x01(\x08\x42\n\n\x08\x61\x63tivity\"d\n\x1dUpdateActivityOptionsResponse\x12\x43\n\x10\x61\x63tivity_options\x18\x01 \x01(\x0b\x32).temporal.api.activity.v1.ActivityOptions\"\xb3\x01\n\x14PauseActivityRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x0c\n\x02id\x18\x04 \x01(\tH\x00\x12\x0e\n\x04type\x18\x05 \x01(\tH\x00\x12\x0e\n\x06reason\x18\x06 \x01(\tB\n\n\x08\x61\x63tivity\"\x17\n\x15PauseActivityResponse\"\x98\x02\n\x16UnpauseActivityRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x0c\n\x02id\x18\x04 \x01(\tH\x00\x12\x0e\n\x04type\x18\x05 \x01(\tH\x00\x12\x15\n\x0bunpause_all\x18\x06 \x01(\x08H\x00\x12\x16\n\x0ereset_attempts\x18\x07 \x01(\x08\x12\x17\n\x0freset_heartbeat\x18\x08 \x01(\x08\x12)\n\x06jitter\x18\t \x01(\x0b\x32\x19.google.protobuf.DurationB\n\n\x08\x61\x63tivity\"\x19\n\x17UnpauseActivityResponse\"\xb3\x02\n\x14ResetActivityRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x0c\n\x02id\x18\x04 \x01(\tH\x00\x12\x0e\n\x04type\x18\x05 \x01(\tH\x00\x12\x13\n\tmatch_all\x18\n \x01(\x08H\x00\x12\x17\n\x0freset_heartbeat\x18\x06 \x01(\x08\x12\x13\n\x0bkeep_paused\x18\x07 \x01(\x08\x12)\n\x06jitter\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12 \n\x18restore_original_options\x18\t \x01(\x08\x42\n\n\x08\x61\x63tivity\"\x17\n\x15ResetActivityResponse\"\x9c\x02\n%UpdateWorkflowExecutionOptionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12V\n\x1aworkflow_execution_options\x18\x03 \x01(\x0b\x32\x32.temporal.api.workflow.v1.WorkflowExecutionOptions\x12/\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x10\n\x08identity\x18\x05 \x01(\t\"\x80\x01\n&UpdateWorkflowExecutionOptionsResponse\x12V\n\x1aworkflow_execution_options\x18\x01 \x01(\x0b\x32\x32.temporal.api.workflow.v1.WorkflowExecutionOptions\"j\n\x19\x44\x65scribeDeploymentRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12:\n\ndeployment\x18\x02 \x01(\x0b\x32&.temporal.api.deployment.v1.Deployment\"a\n\x1a\x44\x65scribeDeploymentResponse\x12\x43\n\x0f\x64\x65ployment_info\x18\x01 \x01(\x0b\x32*.temporal.api.deployment.v1.DeploymentInfo\"\xc2\x01\n&DescribeWorkerDeploymentVersionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x07version\x18\x02 \x01(\tB\x02\x18\x01\x12O\n\x12\x64\x65ployment_version\x18\x03 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x1f\n\x17report_task_queue_stats\x18\x04 \x01(\x08\"\x8c\x05\n\'DescribeWorkerDeploymentVersionResponse\x12_\n\x1eworker_deployment_version_info\x18\x01 \x01(\x0b\x32\x37.temporal.api.deployment.v1.WorkerDeploymentVersionInfo\x12v\n\x13version_task_queues\x18\x02 \x03(\x0b\x32Y.temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionResponse.VersionTaskQueue\x1a\x87\x03\n\x10VersionTaskQueue\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x32\n\x04type\x18\x02 \x01(\x0e\x32$.temporal.api.enums.v1.TaskQueueType\x12\x38\n\x05stats\x18\x03 \x01(\x0b\x32).temporal.api.taskqueue.v1.TaskQueueStats\x12\x90\x01\n\x15stats_by_priority_key\x18\x04 \x03(\x0b\x32q.temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionResponse.VersionTaskQueue.StatsByPriorityKeyEntry\x1a\x64\n\x17StatsByPriorityKeyEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\x38\n\x05value\x18\x02 \x01(\x0b\x32).temporal.api.taskqueue.v1.TaskQueueStats:\x02\x38\x01\"M\n\x1f\x44\x65scribeWorkerDeploymentRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x17\n\x0f\x64\x65ployment_name\x18\x02 \x01(\t\"\x8c\x01\n DescribeWorkerDeploymentResponse\x12\x16\n\x0e\x63onflict_token\x18\x01 \x01(\x0c\x12P\n\x16worker_deployment_info\x18\x02 \x01(\x0b\x32\x30.temporal.api.deployment.v1.WorkerDeploymentInfo\"l\n\x16ListDeploymentsRequest\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\x13\n\x0bseries_name\x18\x04 \x01(\t\"w\n\x17ListDeploymentsResponse\x12\x17\n\x0fnext_page_token\x18\x01 \x01(\x0c\x12\x43\n\x0b\x64\x65ployments\x18\x02 \x03(\x0b\x32..temporal.api.deployment.v1.DeploymentListInfo\"\xcd\x01\n\x1bSetCurrentDeploymentRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12:\n\ndeployment\x18\x02 \x01(\x0b\x32&.temporal.api.deployment.v1.Deployment\x12\x10\n\x08identity\x18\x03 \x01(\t\x12M\n\x0fupdate_metadata\x18\x04 \x01(\x0b\x32\x34.temporal.api.deployment.v1.UpdateDeploymentMetadata\"\xb9\x01\n\x1cSetCurrentDeploymentResponse\x12K\n\x17\x63urrent_deployment_info\x18\x01 \x01(\x0b\x32*.temporal.api.deployment.v1.DeploymentInfo\x12L\n\x18previous_deployment_info\x18\x02 \x01(\x0b\x32*.temporal.api.deployment.v1.DeploymentInfo\"\xe5\x01\n(SetWorkerDeploymentCurrentVersionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x17\n\x0f\x64\x65ployment_name\x18\x02 \x01(\t\x12\x13\n\x07version\x18\x03 \x01(\tB\x02\x18\x01\x12\x10\n\x08\x62uild_id\x18\x07 \x01(\t\x12\x16\n\x0e\x63onflict_token\x18\x04 \x01(\x0c\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\"\n\x1aignore_missing_task_queues\x18\x06 \x01(\x08\x12\x18\n\x10\x61llow_no_pollers\x18\t \x01(\x08\"\xbf\x01\n)SetWorkerDeploymentCurrentVersionResponse\x12\x16\n\x0e\x63onflict_token\x18\x01 \x01(\x0c\x12\x1c\n\x10previous_version\x18\x02 \x01(\tB\x02\x18\x01\x12\\\n\x1bprevious_deployment_version\x18\x03 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersionB\x02\x18\x01\"\xf9\x01\n(SetWorkerDeploymentRampingVersionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x17\n\x0f\x64\x65ployment_name\x18\x02 \x01(\t\x12\x13\n\x07version\x18\x03 \x01(\tB\x02\x18\x01\x12\x10\n\x08\x62uild_id\x18\x08 \x01(\t\x12\x12\n\npercentage\x18\x04 \x01(\x02\x12\x16\n\x0e\x63onflict_token\x18\x05 \x01(\x0c\x12\x10\n\x08identity\x18\x06 \x01(\t\x12\"\n\x1aignore_missing_task_queues\x18\x07 \x01(\x08\x12\x18\n\x10\x61llow_no_pollers\x18\n \x01(\x08\"\xe0\x01\n)SetWorkerDeploymentRampingVersionResponse\x12\x16\n\x0e\x63onflict_token\x18\x01 \x01(\x0c\x12\x1c\n\x10previous_version\x18\x02 \x01(\tB\x02\x18\x01\x12\\\n\x1bprevious_deployment_version\x18\x04 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersionB\x02\x18\x01\x12\x1f\n\x13previous_percentage\x18\x03 \x01(\x02\x42\x02\x18\x01\"q\n\x1d\x43reateWorkerDeploymentRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x17\n\x0f\x64\x65ployment_name\x18\x02 \x01(\t\x12\x10\n\x08identity\x18\x04 \x01(\t\x12\x12\n\nrequest_id\x18\x05 \x01(\t\"8\n\x1e\x43reateWorkerDeploymentResponse\x12\x16\n\x0e\x63onflict_token\x18\x01 \x01(\x0c\"]\n\x1cListWorkerDeploymentsRequest\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\"\x9f\x05\n\x1dListWorkerDeploymentsResponse\x12\x17\n\x0fnext_page_token\x18\x01 \x01(\x0c\x12r\n\x12worker_deployments\x18\x02 \x03(\x0b\x32V.temporal.api.workflowservice.v1.ListWorkerDeploymentsResponse.WorkerDeploymentSummary\x1a\xf0\x03\n\x17WorkerDeploymentSummary\x12\x0c\n\x04name\x18\x01 \x01(\t\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x41\n\x0erouting_config\x18\x03 \x01(\x0b\x32).temporal.api.deployment.v1.RoutingConfig\x12o\n\x16latest_version_summary\x18\x04 \x01(\x0b\x32O.temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary\x12p\n\x17\x63urrent_version_summary\x18\x05 \x01(\x0b\x32O.temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary\x12p\n\x17ramping_version_summary\x18\x06 \x01(\x0b\x32O.temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary\"\xf0\x01\n$CreateWorkerDeploymentVersionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12O\n\x12\x64\x65ployment_version\x18\x02 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12>\n\x0e\x63ompute_config\x18\x04 \x01(\x0b\x32&.temporal.api.compute.v1.ComputeConfig\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x12\n\nrequest_id\x18\x05 \x01(\t\"\'\n%CreateWorkerDeploymentVersionResponse\"\xc8\x01\n$DeleteWorkerDeploymentVersionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x07version\x18\x02 \x01(\tB\x02\x18\x01\x12O\n\x12\x64\x65ployment_version\x18\x05 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x15\n\rskip_drainage\x18\x03 \x01(\x08\x12\x10\n\x08identity\x18\x04 \x01(\t\"\'\n%DeleteWorkerDeploymentVersionResponse\"]\n\x1d\x44\x65leteWorkerDeploymentRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x17\n\x0f\x64\x65ployment_name\x18\x02 \x01(\t\x12\x10\n\x08identity\x18\x03 \x01(\t\" \n\x1e\x44\x65leteWorkerDeploymentResponse\"\x84\x04\n1UpdateWorkerDeploymentVersionComputeConfigRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12O\n\x12\x64\x65ployment_version\x18\x02 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x99\x01\n\x1d\x63ompute_config_scaling_groups\x18\x06 \x03(\x0b\x32r.temporal.api.workflowservice.v1.UpdateWorkerDeploymentVersionComputeConfigRequest.ComputeConfigScalingGroupsEntry\x12,\n$remove_compute_config_scaling_groups\x18\x07 \x03(\t\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x12\n\nrequest_id\x18\x04 \x01(\t\x1a{\n\x1f\x43omputeConfigScalingGroupsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12G\n\x05value\x18\x02 \x01(\x0b\x32\x38.temporal.api.compute.v1.ComputeConfigScalingGroupUpdate:\x02\x38\x01\"4\n2UpdateWorkerDeploymentVersionComputeConfigResponse\"\xf4\x03\n3ValidateWorkerDeploymentVersionComputeConfigRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12O\n\x12\x64\x65ployment_version\x18\x02 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12\x9b\x01\n\x1d\x63ompute_config_scaling_groups\x18\x06 \x03(\x0b\x32t.temporal.api.workflowservice.v1.ValidateWorkerDeploymentVersionComputeConfigRequest.ComputeConfigScalingGroupsEntry\x12,\n$remove_compute_config_scaling_groups\x18\x07 \x03(\t\x12\x10\n\x08identity\x18\x03 \x01(\t\x1a{\n\x1f\x43omputeConfigScalingGroupsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12G\n\x05value\x18\x02 \x01(\x0b\x32\x38.temporal.api.compute.v1.ComputeConfigScalingGroupUpdate:\x02\x38\x01\"6\n4ValidateWorkerDeploymentVersionComputeConfigResponse\"\xa2\x03\n,UpdateWorkerDeploymentVersionMetadataRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x07version\x18\x02 \x01(\tB\x02\x18\x01\x12O\n\x12\x64\x65ployment_version\x18\x05 \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentVersion\x12x\n\x0eupsert_entries\x18\x03 \x03(\x0b\x32`.temporal.api.workflowservice.v1.UpdateWorkerDeploymentVersionMetadataRequest.UpsertEntriesEntry\x12\x16\n\x0eremove_entries\x18\x04 \x03(\t\x12\x10\n\x08identity\x18\x06 \x01(\t\x1aU\n\x12UpsertEntriesEntry\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\"n\n-UpdateWorkerDeploymentVersionMetadataResponse\x12=\n\x08metadata\x18\x01 \x01(\x0b\x32+.temporal.api.deployment.v1.VersionMetadata\"\xbd\x01\n!SetWorkerDeploymentManagerRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x17\n\x0f\x64\x65ployment_name\x18\x02 \x01(\t\x12\x1a\n\x10manager_identity\x18\x03 \x01(\tH\x00\x12\x0e\n\x04self\x18\x04 \x01(\x08H\x00\x12\x16\n\x0e\x63onflict_token\x18\x05 \x01(\x0c\x12\x10\n\x08identity\x18\x06 \x01(\tB\x16\n\x14new_manager_identity\"c\n\"SetWorkerDeploymentManagerResponse\x12\x16\n\x0e\x63onflict_token\x18\x01 \x01(\x0c\x12%\n\x19previous_manager_identity\x18\x02 \x01(\tB\x02\x18\x01\"E\n\x1bGetCurrentDeploymentRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bseries_name\x18\x02 \x01(\t\"k\n\x1cGetCurrentDeploymentResponse\x12K\n\x17\x63urrent_deployment_info\x18\x01 \x01(\x0b\x32*.temporal.api.deployment.v1.DeploymentInfo\"q\n GetDeploymentReachabilityRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12:\n\ndeployment\x18\x02 \x01(\x0b\x32&.temporal.api.deployment.v1.Deployment\"\xe3\x01\n!GetDeploymentReachabilityResponse\x12\x43\n\x0f\x64\x65ployment_info\x18\x01 \x01(\x0b\x32*.temporal.api.deployment.v1.DeploymentInfo\x12\x43\n\x0creachability\x18\x02 \x01(\x0e\x32-.temporal.api.enums.v1.DeploymentReachability\x12\x34\n\x10last_update_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xb4\x01\n\x19\x43reateWorkflowRuleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x35\n\x04spec\x18\x02 \x01(\x0b\x32\'.temporal.api.rules.v1.WorkflowRuleSpec\x12\x12\n\nforce_scan\x18\x03 \x01(\x08\x12\x12\n\nrequest_id\x18\x04 \x01(\t\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x06 \x01(\t\"_\n\x1a\x43reateWorkflowRuleResponse\x12\x31\n\x04rule\x18\x01 \x01(\x0b\x32#.temporal.api.rules.v1.WorkflowRule\x12\x0e\n\x06job_id\x18\x02 \x01(\t\"A\n\x1b\x44\x65scribeWorkflowRuleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0f\n\x07rule_id\x18\x02 \x01(\t\"Q\n\x1c\x44\x65scribeWorkflowRuleResponse\x12\x31\n\x04rule\x18\x01 \x01(\x0b\x32#.temporal.api.rules.v1.WorkflowRule\"?\n\x19\x44\x65leteWorkflowRuleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0f\n\x07rule_id\x18\x02 \x01(\t\"\x1c\n\x1a\x44\x65leteWorkflowRuleResponse\"F\n\x18ListWorkflowRulesRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\"h\n\x19ListWorkflowRulesResponse\x12\x32\n\x05rules\x18\x01 \x03(\x0b\x32#.temporal.api.rules.v1.WorkflowRule\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\"\xce\x01\n\x1aTriggerWorkflowRuleRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x0c\n\x02id\x18\x04 \x01(\tH\x00\x12\x37\n\x04spec\x18\x05 \x01(\x0b\x32\'.temporal.api.rules.v1.WorkflowRuleSpecH\x00\x12\x10\n\x08identity\x18\x03 \x01(\tB\x06\n\x04rule\".\n\x1bTriggerWorkflowRuleResponse\x12\x0f\n\x07\x61pplied\x18\x01 \x01(\x08\"\x9b\x01\n\x1cRecordWorkerHeartbeatRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x41\n\x10worker_heartbeat\x18\x03 \x03(\x0b\x32\'.temporal.api.worker.v1.WorkerHeartbeat\x12\x13\n\x0bresource_id\x18\x04 \x01(\t\"\x1f\n\x1dRecordWorkerHeartbeatResponse\"b\n\x12ListWorkersRequest\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\"\xa5\x01\n\x13ListWorkersResponse\x12<\n\x0cworkers_info\x18\x01 \x03(\x0b\x32\".temporal.api.worker.v1.WorkerInfoB\x02\x18\x01\x12\x37\n\x07workers\x18\x03 \x03(\x0b\x32&.temporal.api.worker.v1.WorkerListInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\"\xd5\x05\n\x1cUpdateTaskQueueConfigRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x12\n\ntask_queue\x18\x03 \x01(\t\x12=\n\x0ftask_queue_type\x18\x04 \x01(\x0e\x32$.temporal.api.enums.v1.TaskQueueType\x12n\n\x17update_queue_rate_limit\x18\x05 \x01(\x0b\x32M.temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest.RateLimitUpdate\x12}\n&update_fairness_key_rate_limit_default\x18\x06 \x01(\x0b\x32M.temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest.RateLimitUpdate\x12\x84\x01\n\x1dset_fairness_weight_overrides\x18\x07 \x03(\x0b\x32].temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest.SetFairnessWeightOverridesEntry\x12\'\n\x1funset_fairness_weight_overrides\x18\x08 \x03(\t\x1a[\n\x0fRateLimitUpdate\x12\x38\n\nrate_limit\x18\x01 \x01(\x0b\x32$.temporal.api.taskqueue.v1.RateLimit\x12\x0e\n\x06reason\x18\x02 \x01(\t\x1a\x41\n\x1fSetFairnessWeightOverridesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x02:\x02\x38\x01\"[\n\x1dUpdateTaskQueueConfigResponse\x12:\n\x06\x63onfig\x18\x01 \x01(\x0b\x32*.temporal.api.taskqueue.v1.TaskQueueConfig\"\x9e\x01\n\x18\x46\x65tchWorkerConfigRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x0e\n\x06reason\x18\x03 \x01(\t\x12\x38\n\x08selector\x18\x06 \x01(\x0b\x32&.temporal.api.common.v1.WorkerSelector\x12\x13\n\x0bresource_id\x18\x07 \x01(\t\"U\n\x19\x46\x65tchWorkerConfigResponse\x12\x38\n\rworker_config\x18\x01 \x01(\x0b\x32!.temporal.api.sdk.v1.WorkerConfig\"\x8a\x02\n\x19UpdateWorkerConfigRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x0e\n\x06reason\x18\x03 \x01(\t\x12\x38\n\rworker_config\x18\x04 \x01(\x0b\x32!.temporal.api.sdk.v1.WorkerConfig\x12/\n\x0bupdate_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x38\n\x08selector\x18\x06 \x01(\x0b\x32&.temporal.api.common.v1.WorkerSelector\x12\x13\n\x0bresource_id\x18\x07 \x01(\t\"d\n\x1aUpdateWorkerConfigResponse\x12:\n\rworker_config\x18\x01 \x01(\x0b\x32!.temporal.api.sdk.v1.WorkerConfigH\x00\x42\n\n\x08response\"G\n\x15\x44\x65scribeWorkerRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x1b\n\x13worker_instance_key\x18\x02 \x01(\t\"Q\n\x16\x44\x65scribeWorkerResponse\x12\x37\n\x0bworker_info\x18\x01 \x01(\x0b\x32\".temporal.api.worker.v1.WorkerInfo\"\x8d\x01\n\x1dPauseWorkflowExecutionRequest\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\x10\n\x08identity\x18\x04 \x01(\t\x12\x0e\n\x06reason\x18\x05 \x01(\t\x12\x12\n\nrequest_id\x18\x06 \x01(\t\" \n\x1ePauseWorkflowExecutionResponse\"\x8f\x01\n\x1fUnpauseWorkflowExecutionRequest\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\x10\n\x08identity\x18\x04 \x01(\t\x12\x0e\n\x06reason\x18\x05 \x01(\t\x12\x12\n\nrequest_id\x18\x06 \x01(\t\"\"\n UnpauseWorkflowExecutionResponse\"\xa1\x08\n\x1dStartActivityExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\x12\x12\n\nrequest_id\x18\x03 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x04 \x01(\t\x12;\n\ractivity_type\x18\x05 \x01(\x0b\x32$.temporal.api.common.v1.ActivityType\x12\x38\n\ntask_queue\x18\x06 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12<\n\x19schedule_to_close_timeout\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12<\n\x19schedule_to_start_timeout\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x16start_to_close_timeout\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x34\n\x11heartbeat_timeout\x18\n \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x39\n\x0cretry_policy\x18\x0b \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12/\n\x05input\x18\x0c \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x45\n\x0fid_reuse_policy\x18\r \x01(\x0e\x32,.temporal.api.enums.v1.ActivityIdReusePolicy\x12K\n\x12id_conflict_policy\x18\x0e \x01(\x0e\x32/.temporal.api.enums.v1.ActivityIdConflictPolicy\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\x12\x38\n\ruser_metadata\x18\x11 \x01(\x0b\x32!.temporal.api.sdk.v1.UserMetadata\x12\x32\n\x08priority\x18\x12 \x01(\x0b\x32 .temporal.api.common.v1.Priority\x12>\n\x14\x63ompletion_callbacks\x18\x13 \x03(\x0b\x32 .temporal.api.common.v1.Callback\x12+\n\x05links\x18\x14 \x03(\x0b\x32\x1c.temporal.api.common.v1.Link\"m\n\x1eStartActivityExecutionResponse\x12\x0e\n\x06run_id\x18\x01 \x01(\t\x12\x0f\n\x07started\x18\x02 \x01(\x08\x12*\n\x04link\x18\x03 \x01(\x0b\x32\x1c.temporal.api.common.v1.Link\"\xa3\x01\n DescribeActivityExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x15\n\rinclude_input\x18\x04 \x01(\x08\x12\x17\n\x0finclude_outcome\x18\x05 \x01(\x08\x12\x17\n\x0flong_poll_token\x18\x06 \x01(\x0c\"\xbc\x02\n!DescribeActivityExecutionResponse\x12\x0e\n\x06run_id\x18\x01 \x01(\t\x12=\n\x04info\x18\x02 \x01(\x0b\x32/.temporal.api.activity.v1.ActivityExecutionInfo\x12/\n\x05input\x18\x03 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x43\n\x07outcome\x18\x04 \x01(\x0b\x32\x32.temporal.api.activity.v1.ActivityExecutionOutcome\x12\x17\n\x0flong_poll_token\x18\x05 \x01(\x0c\x12\x39\n\tcallbacks\x18\x06 \x03(\x0b\x32&.temporal.api.activity.v1.CallbackInfo\"V\n\x1cPollActivityExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\"t\n\x1dPollActivityExecutionResponse\x12\x0e\n\x06run_id\x18\x01 \x01(\t\x12\x43\n\x07outcome\x18\x02 \x01(\x0b\x32\x32.temporal.api.activity.v1.ActivityExecutionOutcome\"m\n\x1dListActivityExecutionsRequest\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\"\x82\x01\n\x1eListActivityExecutionsResponse\x12G\n\nexecutions\x18\x01 \x03(\x0b\x32\x33.temporal.api.activity.v1.ActivityExecutionListInfo\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\"B\n\x1e\x43ountActivityExecutionsRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\r\n\x05query\x18\x02 \x01(\t\"\xed\x01\n\x1f\x43ountActivityExecutionsResponse\x12\r\n\x05\x63ount\x18\x01 \x01(\x03\x12\x61\n\x06groups\x18\x02 \x03(\x0b\x32Q.temporal.api.workflowservice.v1.CountActivityExecutionsResponse.AggregationGroup\x1aX\n\x10\x41ggregationGroup\x12\x35\n\x0cgroup_values\x18\x01 \x03(\x0b\x32\x1f.temporal.api.common.v1.Payload\x12\r\n\x05\x63ount\x18\x02 \x01(\x03\"\x95\x01\n%RequestCancelActivityExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x10\n\x08identity\x18\x04 \x01(\t\x12\x12\n\nrequest_id\x18\x05 \x01(\t\x12\x0e\n\x06reason\x18\x06 \x01(\t\"(\n&RequestCancelActivityExecutionResponse\"\x91\x01\n!TerminateActivityExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x10\n\x08identity\x18\x04 \x01(\t\x12\x12\n\nrequest_id\x18\x05 \x01(\t\x12\x0e\n\x06reason\x18\x06 \x01(\t\"$\n\"TerminateActivityExecutionResponse\"X\n\x1e\x44\x65leteActivityExecutionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\"!\n\x1f\x44\x65leteActivityExecutionResponseB\xbe\x01\n\"io.temporal.api.workflowservice.v1B\x14RequestResponseProtoP\x01Z5go.temporal.io/api/workflowservice/v1;workflowservice\xaa\x02!Temporalio.Api.WorkflowService.V1\xea\x02$Temporalio::Api::WorkflowService::V1b\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Temporalio module Api @@ -734,6 +72,7 @@ module V1 PollWorkflowTaskQueueRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.PollWorkflowTaskQueueRequest").msgclass PollWorkflowTaskQueueResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse").msgclass RespondWorkflowTaskCompletedRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest").msgclass + RespondWorkflowTaskCompletedRequest::Capabilities = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.Capabilities").msgclass RespondWorkflowTaskCompletedResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedResponse").msgclass RespondWorkflowTaskFailedRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.RespondWorkflowTaskFailedRequest").msgclass RespondWorkflowTaskFailedResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.RespondWorkflowTaskFailedResponse").msgclass @@ -779,18 +118,22 @@ module V1 ScanWorkflowExecutionsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.ScanWorkflowExecutionsResponse").msgclass CountWorkflowExecutionsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.CountWorkflowExecutionsRequest").msgclass CountWorkflowExecutionsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.CountWorkflowExecutionsResponse").msgclass + CountWorkflowExecutionsResponse::AggregationGroup = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.CountWorkflowExecutionsResponse.AggregationGroup").msgclass GetSearchAttributesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.GetSearchAttributesRequest").msgclass GetSearchAttributesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.GetSearchAttributesResponse").msgclass RespondQueryTaskCompletedRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.RespondQueryTaskCompletedRequest").msgclass RespondQueryTaskCompletedResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.RespondQueryTaskCompletedResponse").msgclass ResetStickyTaskQueueRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.ResetStickyTaskQueueRequest").msgclass ResetStickyTaskQueueResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.ResetStickyTaskQueueResponse").msgclass + ShutdownWorkerRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.ShutdownWorkerRequest").msgclass + ShutdownWorkerResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.ShutdownWorkerResponse").msgclass QueryWorkflowRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.QueryWorkflowRequest").msgclass QueryWorkflowResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.QueryWorkflowResponse").msgclass DescribeWorkflowExecutionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.DescribeWorkflowExecutionRequest").msgclass DescribeWorkflowExecutionResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.DescribeWorkflowExecutionResponse").msgclass DescribeTaskQueueRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.DescribeTaskQueueRequest").msgclass DescribeTaskQueueResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.DescribeTaskQueueResponse").msgclass + DescribeTaskQueueResponse::EffectiveRateLimit = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.DescribeTaskQueueResponse.EffectiveRateLimit").msgclass GetClusterInfoRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.GetClusterInfoRequest").msgclass GetClusterInfoResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.GetClusterInfoResponse").msgclass GetSystemInfoRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.GetSystemInfoRequest").msgclass @@ -812,13 +155,28 @@ module V1 DeleteScheduleResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.DeleteScheduleResponse").msgclass ListSchedulesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.ListSchedulesRequest").msgclass ListSchedulesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.ListSchedulesResponse").msgclass + CountSchedulesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.CountSchedulesRequest").msgclass + CountSchedulesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.CountSchedulesResponse").msgclass + CountSchedulesResponse::AggregationGroup = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.CountSchedulesResponse.AggregationGroup").msgclass UpdateWorkerBuildIdCompatibilityRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest").msgclass UpdateWorkerBuildIdCompatibilityRequest::AddNewCompatibleVersion = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest.AddNewCompatibleVersion").msgclass + UpdateWorkerBuildIdCompatibilityRequest::MergeSets = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest.MergeSets").msgclass UpdateWorkerBuildIdCompatibilityResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityResponse").msgclass GetWorkerBuildIdCompatibilityRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.GetWorkerBuildIdCompatibilityRequest").msgclass GetWorkerBuildIdCompatibilityResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.GetWorkerBuildIdCompatibilityResponse").msgclass - GetWorkerBuildIdCompatibilityResponse::RetirementCandidate = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.GetWorkerBuildIdCompatibilityResponse.RetirementCandidate").msgclass - GetWorkerBuildIdCompatibilityResponse::VersionsWithCompatiblePollers = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.GetWorkerBuildIdCompatibilityResponse.VersionsWithCompatiblePollers").msgclass + UpdateWorkerVersioningRulesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest").msgclass + UpdateWorkerVersioningRulesRequest::InsertBuildIdAssignmentRule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.InsertBuildIdAssignmentRule").msgclass + UpdateWorkerVersioningRulesRequest::ReplaceBuildIdAssignmentRule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.ReplaceBuildIdAssignmentRule").msgclass + UpdateWorkerVersioningRulesRequest::DeleteBuildIdAssignmentRule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.DeleteBuildIdAssignmentRule").msgclass + UpdateWorkerVersioningRulesRequest::AddCompatibleBuildIdRedirectRule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.AddCompatibleBuildIdRedirectRule").msgclass + UpdateWorkerVersioningRulesRequest::ReplaceCompatibleBuildIdRedirectRule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.ReplaceCompatibleBuildIdRedirectRule").msgclass + UpdateWorkerVersioningRulesRequest::DeleteCompatibleBuildIdRedirectRule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.DeleteCompatibleBuildIdRedirectRule").msgclass + UpdateWorkerVersioningRulesRequest::CommitBuildId = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest.CommitBuildId").msgclass + UpdateWorkerVersioningRulesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesResponse").msgclass + GetWorkerVersioningRulesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.GetWorkerVersioningRulesRequest").msgclass + GetWorkerVersioningRulesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.GetWorkerVersioningRulesResponse").msgclass + GetWorkerTaskReachabilityRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.GetWorkerTaskReachabilityRequest").msgclass + GetWorkerTaskReachabilityResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.GetWorkerTaskReachabilityResponse").msgclass UpdateWorkflowExecutionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.UpdateWorkflowExecutionRequest").msgclass UpdateWorkflowExecutionResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.UpdateWorkflowExecutionResponse").msgclass StartBatchOperationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.StartBatchOperationRequest").msgclass @@ -831,6 +189,108 @@ module V1 ListBatchOperationsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.ListBatchOperationsResponse").msgclass PollWorkflowExecutionUpdateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.PollWorkflowExecutionUpdateRequest").msgclass PollWorkflowExecutionUpdateResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.PollWorkflowExecutionUpdateResponse").msgclass + PollNexusTaskQueueRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.PollNexusTaskQueueRequest").msgclass + PollNexusTaskQueueResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.PollNexusTaskQueueResponse").msgclass + RespondNexusTaskCompletedRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.RespondNexusTaskCompletedRequest").msgclass + RespondNexusTaskCompletedResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.RespondNexusTaskCompletedResponse").msgclass + RespondNexusTaskFailedRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.RespondNexusTaskFailedRequest").msgclass + RespondNexusTaskFailedResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.RespondNexusTaskFailedResponse").msgclass + ExecuteMultiOperationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.ExecuteMultiOperationRequest").msgclass + ExecuteMultiOperationRequest::Operation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.ExecuteMultiOperationRequest.Operation").msgclass + ExecuteMultiOperationResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.ExecuteMultiOperationResponse").msgclass + ExecuteMultiOperationResponse::Response = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.ExecuteMultiOperationResponse.Response").msgclass + UpdateActivityOptionsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.UpdateActivityOptionsRequest").msgclass + UpdateActivityOptionsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.UpdateActivityOptionsResponse").msgclass + PauseActivityRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.PauseActivityRequest").msgclass + PauseActivityResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.PauseActivityResponse").msgclass + UnpauseActivityRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.UnpauseActivityRequest").msgclass + UnpauseActivityResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.UnpauseActivityResponse").msgclass + ResetActivityRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.ResetActivityRequest").msgclass + ResetActivityResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.ResetActivityResponse").msgclass + UpdateWorkflowExecutionOptionsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.UpdateWorkflowExecutionOptionsRequest").msgclass + UpdateWorkflowExecutionOptionsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.UpdateWorkflowExecutionOptionsResponse").msgclass + DescribeDeploymentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.DescribeDeploymentRequest").msgclass + DescribeDeploymentResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.DescribeDeploymentResponse").msgclass + DescribeWorkerDeploymentVersionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionRequest").msgclass + DescribeWorkerDeploymentVersionResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionResponse").msgclass + DescribeWorkerDeploymentVersionResponse::VersionTaskQueue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionResponse.VersionTaskQueue").msgclass + DescribeWorkerDeploymentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.DescribeWorkerDeploymentRequest").msgclass + DescribeWorkerDeploymentResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.DescribeWorkerDeploymentResponse").msgclass + ListDeploymentsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.ListDeploymentsRequest").msgclass + ListDeploymentsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.ListDeploymentsResponse").msgclass + SetCurrentDeploymentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.SetCurrentDeploymentRequest").msgclass + SetCurrentDeploymentResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.SetCurrentDeploymentResponse").msgclass + SetWorkerDeploymentCurrentVersionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.SetWorkerDeploymentCurrentVersionRequest").msgclass + SetWorkerDeploymentCurrentVersionResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.SetWorkerDeploymentCurrentVersionResponse").msgclass + SetWorkerDeploymentRampingVersionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.SetWorkerDeploymentRampingVersionRequest").msgclass + SetWorkerDeploymentRampingVersionResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.SetWorkerDeploymentRampingVersionResponse").msgclass + CreateWorkerDeploymentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.CreateWorkerDeploymentRequest").msgclass + CreateWorkerDeploymentResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.CreateWorkerDeploymentResponse").msgclass + ListWorkerDeploymentsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.ListWorkerDeploymentsRequest").msgclass + ListWorkerDeploymentsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.ListWorkerDeploymentsResponse").msgclass + ListWorkerDeploymentsResponse::WorkerDeploymentSummary = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.ListWorkerDeploymentsResponse.WorkerDeploymentSummary").msgclass + CreateWorkerDeploymentVersionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.CreateWorkerDeploymentVersionRequest").msgclass + CreateWorkerDeploymentVersionResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.CreateWorkerDeploymentVersionResponse").msgclass + DeleteWorkerDeploymentVersionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.DeleteWorkerDeploymentVersionRequest").msgclass + DeleteWorkerDeploymentVersionResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.DeleteWorkerDeploymentVersionResponse").msgclass + DeleteWorkerDeploymentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.DeleteWorkerDeploymentRequest").msgclass + DeleteWorkerDeploymentResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.DeleteWorkerDeploymentResponse").msgclass + UpdateWorkerDeploymentVersionComputeConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.UpdateWorkerDeploymentVersionComputeConfigRequest").msgclass + UpdateWorkerDeploymentVersionComputeConfigResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.UpdateWorkerDeploymentVersionComputeConfigResponse").msgclass + ValidateWorkerDeploymentVersionComputeConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.ValidateWorkerDeploymentVersionComputeConfigRequest").msgclass + ValidateWorkerDeploymentVersionComputeConfigResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.ValidateWorkerDeploymentVersionComputeConfigResponse").msgclass + UpdateWorkerDeploymentVersionMetadataRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.UpdateWorkerDeploymentVersionMetadataRequest").msgclass + UpdateWorkerDeploymentVersionMetadataResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.UpdateWorkerDeploymentVersionMetadataResponse").msgclass + SetWorkerDeploymentManagerRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.SetWorkerDeploymentManagerRequest").msgclass + SetWorkerDeploymentManagerResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.SetWorkerDeploymentManagerResponse").msgclass + GetCurrentDeploymentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.GetCurrentDeploymentRequest").msgclass + GetCurrentDeploymentResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.GetCurrentDeploymentResponse").msgclass + GetDeploymentReachabilityRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.GetDeploymentReachabilityRequest").msgclass + GetDeploymentReachabilityResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.GetDeploymentReachabilityResponse").msgclass + CreateWorkflowRuleRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.CreateWorkflowRuleRequest").msgclass + CreateWorkflowRuleResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.CreateWorkflowRuleResponse").msgclass + DescribeWorkflowRuleRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.DescribeWorkflowRuleRequest").msgclass + DescribeWorkflowRuleResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.DescribeWorkflowRuleResponse").msgclass + DeleteWorkflowRuleRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.DeleteWorkflowRuleRequest").msgclass + DeleteWorkflowRuleResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.DeleteWorkflowRuleResponse").msgclass + ListWorkflowRulesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.ListWorkflowRulesRequest").msgclass + ListWorkflowRulesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.ListWorkflowRulesResponse").msgclass + TriggerWorkflowRuleRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.TriggerWorkflowRuleRequest").msgclass + TriggerWorkflowRuleResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.TriggerWorkflowRuleResponse").msgclass + RecordWorkerHeartbeatRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.RecordWorkerHeartbeatRequest").msgclass + RecordWorkerHeartbeatResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.RecordWorkerHeartbeatResponse").msgclass + ListWorkersRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.ListWorkersRequest").msgclass + ListWorkersResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.ListWorkersResponse").msgclass + UpdateTaskQueueConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest").msgclass + UpdateTaskQueueConfigRequest::RateLimitUpdate = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest.RateLimitUpdate").msgclass + UpdateTaskQueueConfigResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.UpdateTaskQueueConfigResponse").msgclass + FetchWorkerConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.FetchWorkerConfigRequest").msgclass + FetchWorkerConfigResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.FetchWorkerConfigResponse").msgclass + UpdateWorkerConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.UpdateWorkerConfigRequest").msgclass + UpdateWorkerConfigResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.UpdateWorkerConfigResponse").msgclass + DescribeWorkerRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.DescribeWorkerRequest").msgclass + DescribeWorkerResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.DescribeWorkerResponse").msgclass + PauseWorkflowExecutionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.PauseWorkflowExecutionRequest").msgclass + PauseWorkflowExecutionResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.PauseWorkflowExecutionResponse").msgclass + UnpauseWorkflowExecutionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.UnpauseWorkflowExecutionRequest").msgclass + UnpauseWorkflowExecutionResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.UnpauseWorkflowExecutionResponse").msgclass + StartActivityExecutionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.StartActivityExecutionRequest").msgclass + StartActivityExecutionResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.StartActivityExecutionResponse").msgclass + DescribeActivityExecutionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.DescribeActivityExecutionRequest").msgclass + DescribeActivityExecutionResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.DescribeActivityExecutionResponse").msgclass + PollActivityExecutionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.PollActivityExecutionRequest").msgclass + PollActivityExecutionResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.PollActivityExecutionResponse").msgclass + ListActivityExecutionsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.ListActivityExecutionsRequest").msgclass + ListActivityExecutionsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.ListActivityExecutionsResponse").msgclass + CountActivityExecutionsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.CountActivityExecutionsRequest").msgclass + CountActivityExecutionsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.CountActivityExecutionsResponse").msgclass + CountActivityExecutionsResponse::AggregationGroup = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.CountActivityExecutionsResponse.AggregationGroup").msgclass + RequestCancelActivityExecutionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.RequestCancelActivityExecutionRequest").msgclass + RequestCancelActivityExecutionResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.RequestCancelActivityExecutionResponse").msgclass + TerminateActivityExecutionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.TerminateActivityExecutionRequest").msgclass + TerminateActivityExecutionResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.TerminateActivityExecutionResponse").msgclass + DeleteActivityExecutionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.DeleteActivityExecutionRequest").msgclass + DeleteActivityExecutionResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.DeleteActivityExecutionResponse").msgclass end end end diff --git a/lib/gen/temporal/api/workflowservice/v1/service_pb.rb b/lib/gen/temporal/api/workflowservice/v1/service_pb.rb index 667b88006..d5e2ec159 100644 --- a/lib/gen/temporal/api/workflowservice/v1/service_pb.rb +++ b/lib/gen/temporal/api/workflowservice/v1/service_pb.rb @@ -1,14 +1,18 @@ +# 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' +require 'google/api/annotations_pb' +require 'temporal/api/protometa/v1/annotations_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.proto\x1a\x1cgoogle/api/annotations.proto\x1a+temporal/api/protometa/v1/annotations.proto2\x9f\x87\x02\n\x0fWorkflowService\x12\xc3\x01\n\x11RegisterNamespace\x12\x39.temporal.api.workflowservice.v1.RegisterNamespaceRequest\x1a:.temporal.api.workflowservice.v1.RegisterNamespaceResponse\"7\x82\xd3\xe4\x93\x02\x31\"\x13/cluster/namespaces:\x01*Z\x17\"\x12/api/v1/namespaces:\x01*\x12\xd5\x01\n\x11\x44\x65scribeNamespace\x12\x39.temporal.api.workflowservice.v1.DescribeNamespaceRequest\x1a:.temporal.api.workflowservice.v1.DescribeNamespaceResponse\"I\x82\xd3\xe4\x93\x02\x43\x12\x1f/cluster/namespaces/{namespace}Z \x12\x1e/api/v1/namespaces/{namespace}\x12\xb4\x01\n\x0eListNamespaces\x12\x36.temporal.api.workflowservice.v1.ListNamespacesRequest\x1a\x37.temporal.api.workflowservice.v1.ListNamespacesResponse\"1\x82\xd3\xe4\x93\x02+\x12\x13/cluster/namespacesZ\x14\x12\x12/api/v1/namespaces\x12\xe3\x01\n\x0fUpdateNamespace\x12\x37.temporal.api.workflowservice.v1.UpdateNamespaceRequest\x1a\x38.temporal.api.workflowservice.v1.UpdateNamespaceResponse\"]\x82\xd3\xe4\x93\x02W\"&/cluster/namespaces/{namespace}/update:\x01*Z*\"%/api/v1/namespaces/{namespace}/update:\x01*\x12\x8f\x01\n\x12\x44\x65precateNamespace\x12:.temporal.api.workflowservice.v1.DeprecateNamespaceRequest\x1a;.temporal.api.workflowservice.v1.DeprecateNamespaceResponse\"\x00\x12\xc6\x02\n\x16StartWorkflowExecution\x12>.temporal.api.workflowservice.v1.StartWorkflowExecutionRequest\x1a?.temporal.api.workflowservice.v1.StartWorkflowExecutionResponse\"\xaa\x01\x8a\x9d\xcc\x1b.\n\x14temporal-resource-id\x12\x16workflow:{workflow_id}\x82\xd3\xe4\x93\x02q\"//namespaces/{namespace}/workflows/{workflow_id}:\x01*Z;\"6/api/v1/namespaces/{namespace}/workflows/{workflow_id}:\x01*\x12\xc2\x01\n\x15\x45xecuteMultiOperation\x12=.temporal.api.workflowservice.v1.ExecuteMultiOperationRequest\x1a>.temporal.api.workflowservice.v1.ExecuteMultiOperationResponse\"*\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x12\xfe\x02\n\x1bGetWorkflowExecutionHistory\x12\x43.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryRequest\x1a\x44.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryResponse\"\xd3\x01\x8a\x9d\xcc\x1b\x38\n\x14temporal-resource-id\x12 workflow:{execution.workflow_id}\x82\xd3\xe4\x93\x02\x8f\x01\x12\x41/namespaces/{namespace}/workflows/{execution.workflow_id}/historyZJ\x12H/api/v1/namespaces/{namespace}/workflows/{execution.workflow_id}/history\x12\xa3\x03\n\"GetWorkflowExecutionHistoryReverse\x12J.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryReverseRequest\x1aK.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryReverseResponse\"\xe3\x01\x8a\x9d\xcc\x1b\x38\n\x14temporal-resource-id\x12 workflow:{execution.workflow_id}\x82\xd3\xe4\x93\x02\x9f\x01\x12I/namespaces/{namespace}/workflows/{execution.workflow_id}/history-reverseZR\x12P/api/v1/namespaces/{namespace}/workflows/{execution.workflow_id}/history-reverse\x12\x98\x01\n\x15PollWorkflowTaskQueue\x12=.temporal.api.workflowservice.v1.PollWorkflowTaskQueueRequest\x1a>.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse\"\x00\x12\xd7\x01\n\x1cRespondWorkflowTaskCompleted\x12\x44.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest\x1a\x45.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedResponse\"*\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x12\xce\x01\n\x19RespondWorkflowTaskFailed\x12\x41.temporal.api.workflowservice.v1.RespondWorkflowTaskFailedRequest\x1a\x42.temporal.api.workflowservice.v1.RespondWorkflowTaskFailedResponse\"*\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x12\x98\x01\n\x15PollActivityTaskQueue\x12=.temporal.api.workflowservice.v1.PollActivityTaskQueueRequest\x1a>.temporal.api.workflowservice.v1.PollActivityTaskQueueResponse\"\x00\x12\xc2\x02\n\x1bRecordActivityTaskHeartbeat\x12\x43.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatRequest\x1a\x44.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatResponse\"\x97\x01\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x82\xd3\xe4\x93\x02g\"*/namespaces/{namespace}/activity-heartbeat:\x01*Z6\"1/api/v1/namespaces/{namespace}/activity-heartbeat:\x01*\x12\xa8\x04\n\x1fRecordActivityTaskHeartbeatById\x12G.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatByIdRequest\x1aH.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatByIdResponse\"\xf1\x02\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x82\xd3\xe4\x93\x02\xc0\x02\":/namespaces/{namespace}/activities/{activity_id}/heartbeat:\x01*ZF\"A/api/v1/namespaces/{namespace}/activities/{activity_id}/heartbeat:\x01*ZW\"R/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/heartbeat:\x01*Z^\"Y/api/v1/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/heartbeat:\x01*\x12\xc3\x02\n\x1cRespondActivityTaskCompleted\x12\x44.temporal.api.workflowservice.v1.RespondActivityTaskCompletedRequest\x1a\x45.temporal.api.workflowservice.v1.RespondActivityTaskCompletedResponse\"\x95\x01\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x82\xd3\xe4\x93\x02\x65\")/namespaces/{namespace}/activity-complete:\x01*Z5\"0/api/v1/namespaces/{namespace}/activity-complete:\x01*\x12\xa7\x04\n RespondActivityTaskCompletedById\x12H.temporal.api.workflowservice.v1.RespondActivityTaskCompletedByIdRequest\x1aI.temporal.api.workflowservice.v1.RespondActivityTaskCompletedByIdResponse\"\xed\x02\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x82\xd3\xe4\x93\x02\xbc\x02\"9/namespaces/{namespace}/activities/{activity_id}/complete:\x01*ZE\"@/api/v1/namespaces/{namespace}/activities/{activity_id}/complete:\x01*ZV\"Q/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/complete:\x01*Z]\"X/api/v1/namespaces/{namespace}/workflows/{workflow_id}/activities/{activity_id}/complete:\x01*\x12\xb2\x02\n\x19RespondActivityTaskFailed\x12\x41.temporal.api.workflowservice.v1.RespondActivityTaskFailedRequest\x1a\x42.temporal.api.workflowservice.v1.RespondActivityTaskFailedResponse\"\x8d\x01\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x82\xd3\xe4\x93\x02]\"%/namespaces/{namespace}/activity-fail:\x01*Z1\",/api/v1/namespaces/{namespace}/activity-fail:\x01*\x12\x8e\x04\n\x1dRespondActivityTaskFailedById\x12\x45.temporal.api.workflowservice.v1.RespondActivityTaskFailedByIdRequest\x1a\x46.temporal.api.workflowservice.v1.RespondActivityTaskFailedByIdResponse\"\xdd\x02\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x82\xd3\xe4\x93\x02\xac\x02\"5/namespaces/{namespace}/activities/{activity_id}/fail:\x01*ZA\".temporal.api.workflowservice.v1.ResetWorkflowExecutionRequest\x1a?.temporal.api.workflowservice.v1.ResetWorkflowExecutionResponse\"\xf0\x01\x8a\x9d\xcc\x1b\x41\n\x14temporal-resource-id\x12)workflow:{workflow_execution.workflow_id}\x82\xd3\xe4\x93\x02\xa3\x01\"H/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/reset:\x01*ZT\"O/api/v1/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/reset:\x01*\x12\xa0\x03\n\x1aTerminateWorkflowExecution\x12\x42.temporal.api.workflowservice.v1.TerminateWorkflowExecutionRequest\x1a\x43.temporal.api.workflowservice.v1.TerminateWorkflowExecutionResponse\"\xf8\x01\x8a\x9d\xcc\x1b\x41\n\x14temporal-resource-id\x12)workflow:{workflow_execution.workflow_id}\x82\xd3\xe4\x93\x02\xab\x01\"L/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/terminate:\x01*ZX\"S/api/v1/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/terminate:\x01*\x12\xe4\x01\n\x17\x44\x65leteWorkflowExecution\x12?.temporal.api.workflowservice.v1.DeleteWorkflowExecutionRequest\x1a@.temporal.api.workflowservice.v1.DeleteWorkflowExecutionResponse\"F\x8a\x9d\xcc\x1b\x41\n\x14temporal-resource-id\x12)workflow:{workflow_execution.workflow_id}\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\xf0\x01\n\x16ListWorkflowExecutions\x12>.temporal.api.workflowservice.v1.ListWorkflowExecutionsRequest\x1a?.temporal.api.workflowservice.v1.ListWorkflowExecutionsResponse\"U\x82\xd3\xe4\x93\x02O\x12!/namespaces/{namespace}/workflowsZ*\x12(/api/v1/namespaces/{namespace}/workflows\x12\x9a\x02\n\x1eListArchivedWorkflowExecutions\x12\x46.temporal.api.workflowservice.v1.ListArchivedWorkflowExecutionsRequest\x1aG.temporal.api.workflowservice.v1.ListArchivedWorkflowExecutionsResponse\"g\x82\xd3\xe4\x93\x02\x61\x12*/namespaces/{namespace}/archived-workflowsZ3\x12\x31/api/v1/namespaces/{namespace}/archived-workflows\x12\x9b\x01\n\x16ScanWorkflowExecutions\x12>.temporal.api.workflowservice.v1.ScanWorkflowExecutionsRequest\x1a?.temporal.api.workflowservice.v1.ScanWorkflowExecutionsResponse\"\x00\x12\xfd\x01\n\x17\x43ountWorkflowExecutions\x12?.temporal.api.workflowservice.v1.CountWorkflowExecutionsRequest\x1a@.temporal.api.workflowservice.v1.CountWorkflowExecutionsResponse\"_\x82\xd3\xe4\x93\x02Y\x12&/namespaces/{namespace}/workflow-countZ/\x12-/api/v1/namespaces/{namespace}/workflow-count\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\xd2\x01\n\x14ResetStickyTaskQueue\x12<.temporal.api.workflowservice.v1.ResetStickyTaskQueueRequest\x1a=.temporal.api.workflowservice.v1.ResetStickyTaskQueueResponse\"=\x8a\x9d\xcc\x1b\x38\n\x14temporal-resource-id\x12 workflow:{execution.workflow_id}\x12\x83\x01\n\x0eShutdownWorker\x12\x36.temporal.api.workflowservice.v1.ShutdownWorkerRequest\x1a\x37.temporal.api.workflowservice.v1.ShutdownWorkerResponse\"\x00\x12\xfc\x02\n\rQueryWorkflow\x12\x35.temporal.api.workflowservice.v1.QueryWorkflowRequest\x1a\x36.temporal.api.workflowservice.v1.QueryWorkflowResponse\"\xfb\x01\x8a\x9d\xcc\x1b\x38\n\x14temporal-resource-id\x12 workflow:{execution.workflow_id}\x82\xd3\xe4\x93\x02\xb7\x01\"R/namespaces/{namespace}/workflows/{execution.workflow_id}/query/{query.query_type}:\x01*Z^\"Y/api/v1/namespaces/{namespace}/workflows/{execution.workflow_id}/query/{query.query_type}:\x01*\x12\xe7\x02\n\x19\x44\x65scribeWorkflowExecution\x12\x41.temporal.api.workflowservice.v1.DescribeWorkflowExecutionRequest\x1a\x42.temporal.api.workflowservice.v1.DescribeWorkflowExecutionResponse\"\xc2\x01\x8a\x9d\xcc\x1b\x38\n\x14temporal-resource-id\x12 workflow:{execution.workflow_id}\x82\xd3\xe4\x93\x02\x7f\x12\x39/namespaces/{namespace}/workflows/{execution.workflow_id}ZB\x12@/api/v1/namespaces/{namespace}/workflows/{execution.workflow_id}\x12\xc2\x02\n\x11\x44\x65scribeTaskQueue\x12\x39.temporal.api.workflowservice.v1.DescribeTaskQueueRequest\x1a:.temporal.api.workflowservice.v1.DescribeTaskQueueResponse\"\xb5\x01\x8a\x9d\xcc\x1b\x33\n\x14temporal-resource-id\x12\x1btaskqueue:{task_queue.name}\x82\xd3\xe4\x93\x02w\x12\x35/namespaces/{namespace}/task-queues/{task_queue.name}Z>\x12/namespaces/{namespace}/schedules/{schedule_id}/matching-timesZG\x12\x45/api/v1/namespaces/{namespace}/schedules/{schedule_id}/matching-times\x12\xa8\x02\n\x0e\x44\x65leteSchedule\x12\x36.temporal.api.workflowservice.v1.DeleteScheduleRequest\x1a\x37.temporal.api.workflowservice.v1.DeleteScheduleResponse\"\xa4\x01\x8a\x9d\xcc\x1b.\n\x14temporal-resource-id\x12\x16schedule:{schedule_id}\x82\xd3\xe4\x93\x02k*//namespaces/{namespace}/schedules/{schedule_id}Z8*6/api/v1/namespaces/{namespace}/schedules/{schedule_id}\x12\xd5\x01\n\rListSchedules\x12\x35.temporal.api.workflowservice.v1.ListSchedulesRequest\x1a\x36.temporal.api.workflowservice.v1.ListSchedulesResponse\"U\x82\xd3\xe4\x93\x02O\x12!/namespaces/{namespace}/schedulesZ*\x12(/api/v1/namespaces/{namespace}/schedules\x12\xe2\x01\n\x0e\x43ountSchedules\x12\x36.temporal.api.workflowservice.v1.CountSchedulesRequest\x1a\x37.temporal.api.workflowservice.v1.CountSchedulesResponse\"_\x82\xd3\xe4\x93\x02Y\x12&/namespaces/{namespace}/schedule-countZ/\x12-/api/v1/namespaces/{namespace}/schedule-count\x12\xb9\x01\n UpdateWorkerBuildIdCompatibility\x12H.temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest\x1aI.temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityResponse\"\x00\x12\xe1\x02\n\x1dGetWorkerBuildIdCompatibility\x12\x45.temporal.api.workflowservice.v1.GetWorkerBuildIdCompatibilityRequest\x1a\x46.temporal.api.workflowservice.v1.GetWorkerBuildIdCompatibilityResponse\"\xb0\x01\x82\xd3\xe4\x93\x02\xa9\x01\x12N/namespaces/{namespace}/task-queues/{task_queue}/worker-build-id-compatibilityZW\x12U/api/v1/namespaces/{namespace}/task-queues/{task_queue}/worker-build-id-compatibility\x12\xaa\x01\n\x1bUpdateWorkerVersioningRules\x12\x43.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest\x1a\x44.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesResponse\"\x00\x12\xc6\x02\n\x18GetWorkerVersioningRules\x12@.temporal.api.workflowservice.v1.GetWorkerVersioningRulesRequest\x1a\x41.temporal.api.workflowservice.v1.GetWorkerVersioningRulesResponse\"\xa4\x01\x82\xd3\xe4\x93\x02\x9d\x01\x12H/namespaces/{namespace}/task-queues/{task_queue}/worker-versioning-rulesZQ\x12O/api/v1/namespaces/{namespace}/task-queues/{task_queue}/worker-versioning-rules\x12\x97\x02\n\x19GetWorkerTaskReachability\x12\x41.temporal.api.workflowservice.v1.GetWorkerTaskReachabilityRequest\x1a\x42.temporal.api.workflowservice.v1.GetWorkerTaskReachabilityResponse\"s\x82\xd3\xe4\x93\x02m\x12\x30/namespaces/{namespace}/worker-task-reachabilityZ9\x12\x37/api/v1/namespaces/{namespace}/worker-task-reachability\x12\xc8\x02\n\x12\x44\x65scribeDeployment\x12:.temporal.api.workflowservice.v1.DescribeDeploymentRequest\x1a;.temporal.api.workflowservice.v1.DescribeDeploymentResponse\"\xb8\x01\x82\xd3\xe4\x93\x02\xb1\x01\x12R/namespaces/{namespace}/deployments/{deployment.series_name}/{deployment.build_id}Z[\x12Y/api/v1/namespaces/{namespace}/deployments/{deployment.series_name}/{deployment.build_id}\x12\x81\x04\n\x1f\x44\x65scribeWorkerDeploymentVersion\x12G.temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionRequest\x1aH.temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionResponse\"\xca\x02\x8a\x9d\xcc\x1bG\n\x14temporal-resource-id\x12/deployment:{deployment_version.deployment_name}\x82\xd3\xe4\x93\x02\xf7\x01\x12u/namespaces/{namespace}/worker-deployment-versions/{deployment_version.deployment_name}/{deployment_version.build_id}Z~\x12|/api/v1/namespaces/{namespace}/worker-deployment-versions/{deployment_version.deployment_name}/{deployment_version.build_id}\x12\xdf\x01\n\x0fListDeployments\x12\x37.temporal.api.workflowservice.v1.ListDeploymentsRequest\x1a\x38.temporal.api.workflowservice.v1.ListDeploymentsResponse\"Y\x82\xd3\xe4\x93\x02S\x12#/namespaces/{namespace}/deploymentsZ,\x12*/api/v1/namespaces/{namespace}/deployments\x12\xf7\x02\n\x19GetDeploymentReachability\x12\x41.temporal.api.workflowservice.v1.GetDeploymentReachabilityRequest\x1a\x42.temporal.api.workflowservice.v1.GetDeploymentReachabilityResponse\"\xd2\x01\x82\xd3\xe4\x93\x02\xcb\x01\x12_/namespaces/{namespace}/deployments/{deployment.series_name}/{deployment.build_id}/reachabilityZh\x12\x66/api/v1/namespaces/{namespace}/deployments/{deployment.series_name}/{deployment.build_id}/reachability\x12\x99\x02\n\x14GetCurrentDeployment\x12<.temporal.api.workflowservice.v1.GetCurrentDeploymentRequest\x1a=.temporal.api.workflowservice.v1.GetCurrentDeploymentResponse\"\x83\x01\x82\xd3\xe4\x93\x02}\x12\x38/namespaces/{namespace}/current-deployment/{series_name}ZA\x12?/api/v1/namespaces/{namespace}/current-deployment/{series_name}\x12\xb6\x02\n\x14SetCurrentDeployment\x12<.temporal.api.workflowservice.v1.SetCurrentDeploymentRequest\x1a=.temporal.api.workflowservice.v1.SetCurrentDeploymentResponse\"\xa0\x01\x82\xd3\xe4\x93\x02\x99\x01\"C/namespaces/{namespace}/current-deployment/{deployment.series_name}:\x01*ZO\"J/api/v1/namespaces/{namespace}/current-deployment/{deployment.series_name}:\x01*\x12\xb0\x03\n!SetWorkerDeploymentCurrentVersion\x12I.temporal.api.workflowservice.v1.SetWorkerDeploymentCurrentVersionRequest\x1aJ.temporal.api.workflowservice.v1.SetWorkerDeploymentCurrentVersionResponse\"\xf3\x01\x8a\x9d\xcc\x1b\x34\n\x14temporal-resource-id\x12\x1c\x64\x65ployment:{deployment_name}\x82\xd3\xe4\x93\x02\xb3\x01\"P/namespaces/{namespace}/worker-deployments/{deployment_name}/set-current-version:\x01*Z\\\"W/api/v1/namespaces/{namespace}/worker-deployments/{deployment_name}/set-current-version:\x01*\x12\xe7\x02\n\x18\x44\x65scribeWorkerDeployment\x12@.temporal.api.workflowservice.v1.DescribeWorkerDeploymentRequest\x1a\x41.temporal.api.workflowservice.v1.DescribeWorkerDeploymentResponse\"\xc5\x01\x8a\x9d\xcc\x1b\x34\n\x14temporal-resource-id\x12\x1c\x64\x65ployment:{deployment_name}\x82\xd3\xe4\x93\x02\x85\x01\x12.temporal.api.workflowservice.v1.DeleteWorkerDeploymentRequest\x1a?.temporal.api.workflowservice.v1.DeleteWorkerDeploymentResponse\"\xc5\x01\x8a\x9d\xcc\x1b\x34\n\x14temporal-resource-id\x12\x1c\x64\x65ployment:{deployment_name}\x82\xd3\xe4\x93\x02\x85\x01*.temporal.api.workflowservice.v1.ListWorkerDeploymentsResponse\"g\x82\xd3\xe4\x93\x02\x61\x12*/namespaces/{namespace}/worker-deploymentsZ3\x12\x31/api/v1/namespaces/{namespace}/worker-deployments\x12\xae\x02\n\x16\x43reateWorkerDeployment\x12>.temporal.api.workflowservice.v1.CreateWorkerDeploymentRequest\x1a?.temporal.api.workflowservice.v1.CreateWorkerDeploymentResponse\"\x92\x01\x82\xd3\xe4\x93\x02\x8b\x01\".temporal.api.workflowservice.v1.DescribeBatchOperationRequest\x1a?.temporal.api.workflowservice.v1.DescribeBatchOperationResponse\"\xa0\x01\x8a\x9d\xcc\x1b&\n\x14temporal-resource-id\x12\x0e\x62\x61tch:{job_id}\x82\xd3\xe4\x93\x02o\x12\x31/namespaces/{namespace}/batch-operations/{job_id}Z:\x12\x38/api/v1/namespaces/{namespace}/batch-operations/{job_id}\x12\xf5\x01\n\x13ListBatchOperations\x12;.temporal.api.workflowservice.v1.ListBatchOperationsRequest\x1a<.temporal.api.workflowservice.v1.ListBatchOperationsResponse\"c\x82\xd3\xe4\x93\x02]\x12(/namespaces/{namespace}/batch-operationsZ1\x12//api/v1/namespaces/{namespace}/batch-operations\x12\x8f\x01\n\x12PollNexusTaskQueue\x12:.temporal.api.workflowservice.v1.PollNexusTaskQueueRequest\x1a;.temporal.api.workflowservice.v1.PollNexusTaskQueueResponse\"\x00\x12\xa4\x01\n\x19RespondNexusTaskCompleted\x12\x41.temporal.api.workflowservice.v1.RespondNexusTaskCompletedRequest\x1a\x42.temporal.api.workflowservice.v1.RespondNexusTaskCompletedResponse\"\x00\x12\x9b\x01\n\x16RespondNexusTaskFailed\x12>.temporal.api.workflowservice.v1.RespondNexusTaskFailedRequest\x1a?.temporal.api.workflowservice.v1.RespondNexusTaskFailedResponse\"\x00\x12\xe8\x02\n\x15UpdateActivityOptions\x12=.temporal.api.workflowservice.v1.UpdateActivityOptionsRequest\x1a>.temporal.api.workflowservice.v1.UpdateActivityOptionsResponse\"\xcf\x01\x8a\x9d\xcc\x1b\x38\n\x14temporal-resource-id\x12 workflow:{execution.workflow_id}\x82\xd3\xe4\x93\x02\x8b\x01\".temporal.api.workflowservice.v1.RecordWorkerHeartbeatResponse\"\x95\x01\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x82\xd3\xe4\x93\x02\x65\")/namespaces/{namespace}/workers/heartbeat:\x01*Z5\"0/api/v1/namespaces/{namespace}/workers/heartbeat:\x01*\x12\xcb\x01\n\x0bListWorkers\x12\x33.temporal.api.workflowservice.v1.ListWorkersRequest\x1a\x34.temporal.api.workflowservice.v1.ListWorkersResponse\"Q\x82\xd3\xe4\x93\x02K\x12\x1f/namespaces/{namespace}/workersZ(\x12&/api/v1/namespaces/{namespace}/workers\x12\xe2\x02\n\x15UpdateTaskQueueConfig\x12=.temporal.api.workflowservice.v1.UpdateTaskQueueConfigRequest\x1a>.temporal.api.workflowservice.v1.UpdateTaskQueueConfigResponse\"\xc9\x01\x8a\x9d\xcc\x1b.\n\x14temporal-resource-id\x12\x16taskqueue:{task_queue}\x82\xd3\xe4\x93\x02\x8f\x01\">/namespaces/{namespace}/task-queues/{task_queue}/update-config:\x01*ZJ\"E/api/v1/namespaces/{namespace}/task-queues/{task_queue}/update-config:\x01*\x12\xa8\x02\n\x11\x46\x65tchWorkerConfig\x12\x39.temporal.api.workflowservice.v1.FetchWorkerConfigRequest\x1a:.temporal.api.workflowservice.v1.FetchWorkerConfigResponse\"\x9b\x01\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x82\xd3\xe4\x93\x02k\",/namespaces/{namespace}/workers/fetch-config:\x01*Z8\"3/api/v1/namespaces/{namespace}/workers/fetch-config:\x01*\x12\xad\x02\n\x12UpdateWorkerConfig\x12:.temporal.api.workflowservice.v1.UpdateWorkerConfigRequest\x1a;.temporal.api.workflowservice.v1.UpdateWorkerConfigResponse\"\x9d\x01\x8a\x9d\xcc\x1b%\n\x14temporal-resource-id\x12\r{resource_id}\x82\xd3\xe4\x93\x02m\"-/namespaces/{namespace}/workers/update-config:\x01*Z9\"4/api/v1/namespaces/{namespace}/workers/update-config:\x01*\x12\xcd\x02\n\x0e\x44\x65scribeWorker\x12\x36.temporal.api.workflowservice.v1.DescribeWorkerRequest\x1a\x37.temporal.api.workflowservice.v1.DescribeWorkerResponse\"\xc9\x01\x8a\x9d\xcc\x1b\x34\n\x14temporal-resource-id\x12\x1cworker:{worker_instance_key}\x82\xd3\xe4\x93\x02\x89\x01\x12>/namespaces/{namespace}/workers/describe/{worker_instance_key}ZG\x12\x45/api/v1/namespaces/{namespace}/workers/describe/{worker_instance_key}\x12\xd2\x02\n\x16PauseWorkflowExecution\x12>.temporal.api.workflowservice.v1.PauseWorkflowExecutionRequest\x1a?.temporal.api.workflowservice.v1.PauseWorkflowExecutionResponse\"\xb6\x01\x8a\x9d\xcc\x1b.\n\x14temporal-resource-id\x12\x16workflow:{workflow_id}\x82\xd3\xe4\x93\x02}\"5/namespaces/{namespace}/workflows/{workflow_id}/pause:\x01*ZA\"/api/v1/namespaces/{namespace}/workflows/{workflow_id}/unpause:\x01*\x12\xc8\x02\n\x16StartActivityExecution\x12>.temporal.api.workflowservice.v1.StartActivityExecutionRequest\x1a?.temporal.api.workflowservice.v1.StartActivityExecutionResponse\"\xac\x01\x8a\x9d\xcc\x1b.\n\x14temporal-resource-id\x12\x16\x61\x63tivity:{activity_id}\x82\xd3\xe4\x93\x02s\"0/namespaces/{namespace}/activities/{activity_id}:\x01*Z<\"7/api/v1/namespaces/{namespace}/activities/{activity_id}:\x01*\x12\xcb\x02\n\x19\x44\x65scribeActivityExecution\x12\x41.temporal.api.workflowservice.v1.DescribeActivityExecutionRequest\x1a\x42.temporal.api.workflowservice.v1.DescribeActivityExecutionResponse\"\xa6\x01\x8a\x9d\xcc\x1b.\n\x14temporal-resource-id\x12\x16\x61\x63tivity:{activity_id}\x82\xd3\xe4\x93\x02m\x12\x30/namespaces/{namespace}/activities/{activity_id}Z9\x12\x37/api/v1/namespaces/{namespace}/activities/{activity_id}\x12\xcf\x02\n\x15PollActivityExecution\x12=.temporal.api.workflowservice.v1.PollActivityExecutionRequest\x1a>.temporal.api.workflowservice.v1.PollActivityExecutionResponse\"\xb6\x01\x8a\x9d\xcc\x1b.\n\x14temporal-resource-id\x12\x16\x61\x63tivity:{activity_id}\x82\xd3\xe4\x93\x02}\x12\x38/namespaces/{namespace}/activities/{activity_id}/outcomeZA\x12?/api/v1/namespaces/{namespace}/activities/{activity_id}/outcome\x12\xf2\x01\n\x16ListActivityExecutions\x12>.temporal.api.workflowservice.v1.ListActivityExecutionsRequest\x1a?.temporal.api.workflowservice.v1.ListActivityExecutionsResponse\"W\x82\xd3\xe4\x93\x02Q\x12\"/namespaces/{namespace}/activitiesZ+\x12)/api/v1/namespaces/{namespace}/activities\x12\xfd\x01\n\x17\x43ountActivityExecutions\x12?.temporal.api.workflowservice.v1.CountActivityExecutionsRequest\x1a@.temporal.api.workflowservice.v1.CountActivityExecutionsResponse\"_\x82\xd3\xe4\x93\x02Y\x12&/namespaces/{namespace}/activity-countZ/\x12-/api/v1/namespaces/{namespace}/activity-count\x12\xef\x02\n\x1eRequestCancelActivityExecution\x12\x46.temporal.api.workflowservice.v1.RequestCancelActivityExecutionRequest\x1aG.temporal.api.workflowservice.v1.RequestCancelActivityExecutionResponse\"\xbb\x01\x8a\x9d\xcc\x1b.\n\x14temporal-resource-id\x12\x16\x61\x63tivity:{activity_id}\x82\xd3\xe4\x93\x02\x81\x01\"7/namespaces/{namespace}/activities/{activity_id}/cancel:\x01*ZC\">/api/v1/namespaces/{namespace}/activities/{activity_id}/cancel:\x01*\x12\xe9\x02\n\x1aTerminateActivityExecution\x12\x42.temporal.api.workflowservice.v1.TerminateActivityExecutionRequest\x1a\x43.temporal.api.workflowservice.v1.TerminateActivityExecutionResponse\"\xc1\x01\x8a\x9d\xcc\x1b.\n\x14temporal-resource-id\x12\x16\x61\x63tivity:{activity_id}\x82\xd3\xe4\x93\x02\x87\x01\":/namespaces/{namespace}/activities/{activity_id}/terminate:\x01*ZF\"A/api/v1/namespaces/{namespace}/activities/{activity_id}/terminate:\x01*\x12\x9e\x01\n\x17\x44\x65leteActivityExecution\x12?.temporal.api.workflowservice.v1.DeleteActivityExecutionRequest\x1a@.temporal.api.workflowservice.v1.DeleteActivityExecutionResponse\"\x00\x42\xb6\x01\n\"io.temporal.api.workflowservice.v1B\x0cServiceProtoP\x01Z5go.temporal.io/api/workflowservice/v1;workflowservice\xaa\x02!Temporalio.Api.WorkflowService.V1\xea\x02$Temporalio::Api::WorkflowService::V1b\x06proto3" + +pool = ::Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Temporalio 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 3acb9d264..94e2d8563 100644 --- a/lib/gen/temporal/api/workflowservice/v1/service_services_pb.rb +++ b/lib/gen/temporal/api/workflowservice/v1/service_services_pb.rb @@ -1,28 +1,5 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # Source: temporal/api/workflowservice/v1/service.proto for package 'Temporalio.Api.WorkflowService.V1' -# Original file comments: -# The MIT License -# -# Copyright (c) 2020 Temporal Technologies Inc. All rights reserved. -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -# THE SOFTWARE. -# require 'grpc' require 'temporal/api/workflowservice/v1/service_pb' @@ -64,17 +41,15 @@ class Service rpc :ListNamespaces, ::Temporalio::Api::WorkflowService::V1::ListNamespacesRequest, ::Temporalio::Api::WorkflowService::V1::ListNamespacesResponse # UpdateNamespace is used to update the information and configuration of a registered # namespace. - # - # (-- api-linter: core::0134::method-signature=disabled - # aip.dev/not-precedent: UpdateNamespace RPC doesn't follow Google API format. --) - # (-- api-linter: core::0134::response-message-name=disabled - # aip.dev/not-precedent: UpdateNamespace RPC doesn't follow Google API format. --) rpc :UpdateNamespace, ::Temporalio::Api::WorkflowService::V1::UpdateNamespaceRequest, ::Temporalio::Api::WorkflowService::V1::UpdateNamespaceResponse # DeprecateNamespace is used to update the state of a registered namespace to DEPRECATED. # # Once the namespace is deprecated it cannot be used to start new workflow executions. Existing # workflow executions will continue to run on deprecated namespaces. # Deprecated. + # + # (-- api-linter: core::0127::http-annotation=disabled + # aip.dev/not-precedent: Deprecated --) rpc :DeprecateNamespace, ::Temporalio::Api::WorkflowService::V1::DeprecateNamespaceRequest, ::Temporalio::Api::WorkflowService::V1::DeprecateNamespaceResponse # StartWorkflowExecution starts a new workflow execution. # @@ -82,11 +57,22 @@ class Service # also schedule the first workflow task. Returns `WorkflowExecutionAlreadyStarted`, if an # instance already exists with same workflow id. rpc :StartWorkflowExecution, ::Temporalio::Api::WorkflowService::V1::StartWorkflowExecutionRequest, ::Temporalio::Api::WorkflowService::V1::StartWorkflowExecutionResponse + # ExecuteMultiOperation executes multiple operations within a single workflow. + # + # Operations are started atomically, meaning if *any* operation fails to be started, none are, + # and the request fails. Upon start, the API returns only when *all* operations have a response. + # + # Upon failure, it returns `MultiOperationExecutionFailure` where the status code + # equals the status code of the *first* operation that failed to be started. + # + # (-- api-linter: core::0127::http-annotation=disabled + # aip.dev/not-precedent: To be exposed over HTTP in the future. --) + rpc :ExecuteMultiOperation, ::Temporalio::Api::WorkflowService::V1::ExecuteMultiOperationRequest, ::Temporalio::Api::WorkflowService::V1::ExecuteMultiOperationResponse # GetWorkflowExecutionHistory returns the history of specified workflow execution. Fails with # `NotFound` if the specified workflow execution is unknown to the service. rpc :GetWorkflowExecutionHistory, ::Temporalio::Api::WorkflowService::V1::GetWorkflowExecutionHistoryRequest, ::Temporalio::Api::WorkflowService::V1::GetWorkflowExecutionHistoryResponse - # GetWorkflowExecutionHistoryReverse returns the history of specified workflow execution in reverse - # order (starting from last event). Fails with`NotFound` if the specified workflow execution is + # GetWorkflowExecutionHistoryReverse returns the history of specified workflow execution in reverse + # order (starting from last event). Fails with`NotFound` if the specified workflow execution is # unknown to the service. rpc :GetWorkflowExecutionHistoryReverse, ::Temporalio::Api::WorkflowService::V1::GetWorkflowExecutionHistoryReverseRequest, ::Temporalio::Api::WorkflowService::V1::GetWorkflowExecutionHistoryReverseResponse # PollWorkflowTaskQueue is called by workers to make progress on workflows. @@ -95,6 +81,9 @@ class Service # tasks. The worker is expected to call `RespondWorkflowTaskCompleted` when it is done # processing the task. The service will create a `WorkflowTaskStarted` event in the history for # this task before handing it to the worker. + # + # (-- api-linter: core::0127::http-annotation=disabled + # aip.dev/not-precedent: We do not expose worker API to HTTP. --) rpc :PollWorkflowTaskQueue, ::Temporalio::Api::WorkflowService::V1::PollWorkflowTaskQueueRequest, ::Temporalio::Api::WorkflowService::V1::PollWorkflowTaskQueueResponse # RespondWorkflowTaskCompleted is called by workers to successfully complete workflow tasks # they received from `PollWorkflowTaskQueue`. @@ -102,6 +91,9 @@ class Service # Completing a WorkflowTask will write a `WORKFLOW_TASK_COMPLETED` event to the workflow's # history, along with events corresponding to whatever commands the SDK generated while # executing the task (ex timer started, activity task scheduled, etc). + # + # (-- api-linter: core::0127::http-annotation=disabled + # aip.dev/not-precedent: We do not expose worker API to HTTP. --) rpc :RespondWorkflowTaskCompleted, ::Temporalio::Api::WorkflowService::V1::RespondWorkflowTaskCompletedRequest, ::Temporalio::Api::WorkflowService::V1::RespondWorkflowTaskCompletedResponse # RespondWorkflowTaskFailed is called by workers to indicate the processing of a workflow task # failed. @@ -112,6 +104,9 @@ class Service # # Temporal will only append first WorkflowTaskFailed event to the history of workflow execution # for consecutive failures. + # + # (-- api-linter: core::0127::http-annotation=disabled + # aip.dev/not-precedent: We do not expose worker API to HTTP. --) rpc :RespondWorkflowTaskFailed, ::Temporalio::Api::WorkflowService::V1::RespondWorkflowTaskFailedRequest, ::Temporalio::Api::WorkflowService::V1::RespondWorkflowTaskFailedResponse # PollActivityTaskQueue is called by workers to process activity tasks from a specific task # queue. @@ -125,13 +120,23 @@ class Service # (`ACTIVITY_TASK_COMPLETED` / `ACTIVITY_TASK_FAILED` / `ACTIVITY_TASK_TIMED_OUT`) will both be # written permanently to Workflow execution history when Activity is finished. This is done to # avoid writing many events in the case of a failure/retry loop. + # + # (-- api-linter: core::0127::http-annotation=disabled + # aip.dev/not-precedent: We do not expose worker API to HTTP. --) rpc :PollActivityTaskQueue, ::Temporalio::Api::WorkflowService::V1::PollActivityTaskQueueRequest, ::Temporalio::Api::WorkflowService::V1::PollActivityTaskQueueResponse # RecordActivityTaskHeartbeat is optionally called by workers while they execute activities. # - # If worker fails to heartbeat within the `heartbeat_timeout` interval for the activity task, - # then it will be marked as timed out and an `ACTIVITY_TASK_TIMED_OUT` event will be written to - # the workflow history. Calling `RecordActivityTaskHeartbeat` will fail with `NotFound` in - # such situations, in that event, the SDK should request cancellation of the activity. + # If a worker fails to heartbeat within the `heartbeat_timeout` interval for the activity task, + # then the current attempt times out. Depending on RetryPolicy, this may trigger a retry or + # time out the activity. + # + # For workflow activities, an `ACTIVITY_TASK_TIMED_OUT` event will be written to the workflow + # history. Calling `RecordActivityTaskHeartbeat` will fail with `NotFound` in such situations, + # in that event, the SDK should request cancellation of the activity. + # + # The request may contain response `details` which will be persisted by the server and may be + # used by the activity to checkpoint progress. The `cancel_requested` field in the response + # indicates whether cancellation has been requested for the activity. rpc :RecordActivityTaskHeartbeat, ::Temporalio::Api::WorkflowService::V1::RecordActivityTaskHeartbeatRequest, ::Temporalio::Api::WorkflowService::V1::RecordActivityTaskHeartbeatResponse # See `RecordActivityTaskHeartbeat`. This version allows clients to record heartbeats by # namespace/workflow id/activity id instead of task token. @@ -142,11 +147,11 @@ class Service # RespondActivityTaskCompleted is called by workers when they successfully complete an activity # task. # - # This results in a new `ACTIVITY_TASK_COMPLETED` event being written to the workflow history + # For workflow activities, this results in a new `ACTIVITY_TASK_COMPLETED` event being written to the workflow history # and a new workflow task created for the workflow. Fails with `NotFound` if the task token is # no longer valid due to activity timeout, already being completed, or never having existed. rpc :RespondActivityTaskCompleted, ::Temporalio::Api::WorkflowService::V1::RespondActivityTaskCompletedRequest, ::Temporalio::Api::WorkflowService::V1::RespondActivityTaskCompletedResponse - # See `RecordActivityTaskCompleted`. This version allows clients to record completions by + # See `RespondActivityTaskCompleted`. This version allows clients to record completions by # namespace/workflow id/activity id instead of task token. # # (-- api-linter: core::0136::prepositions=disabled @@ -166,11 +171,11 @@ class Service rpc :RespondActivityTaskFailedById, ::Temporalio::Api::WorkflowService::V1::RespondActivityTaskFailedByIdRequest, ::Temporalio::Api::WorkflowService::V1::RespondActivityTaskFailedByIdResponse # RespondActivityTaskFailed is called by workers when processing an activity task fails. # - # This results in a new `ACTIVITY_TASK_CANCELED` event being written to the workflow history + # For workflow activities, this results in a new `ACTIVITY_TASK_CANCELED` event being written to the workflow history # and a new workflow task created for the workflow. Fails with `NotFound` if the task token is # no longer valid due to activity timeout, already being completed, or never having existed. rpc :RespondActivityTaskCanceled, ::Temporalio::Api::WorkflowService::V1::RespondActivityTaskCanceledRequest, ::Temporalio::Api::WorkflowService::V1::RespondActivityTaskCanceledResponse - # See `RecordActivityTaskCanceled`. This version allows clients to record failures by + # See `RespondActivityTaskCanceled`. This version allows clients to record failures by # namespace/workflow id/activity id instead of task token. # # (-- api-linter: core::0136::prepositions=disabled @@ -203,8 +208,9 @@ class Service rpc :SignalWithStartWorkflowExecution, ::Temporalio::Api::WorkflowService::V1::SignalWithStartWorkflowExecutionRequest, ::Temporalio::Api::WorkflowService::V1::SignalWithStartWorkflowExecutionResponse # ResetWorkflowExecution will reset an existing workflow execution to a specified # `WORKFLOW_TASK_COMPLETED` event (exclusive). It will immediately terminate the current - # execution instance. - # TODO: Does exclusive here mean *just* the completed event, or also WFT started? Otherwise the task is doomed to time out? + # execution instance. "Exclusive" means the identified completed event itself is not replayed + # in the reset history; the preceding `WORKFLOW_TASK_STARTED` event remains and will be marked as failed + # immediately, and a new workflow task will be scheduled to retry it. rpc :ResetWorkflowExecution, ::Temporalio::Api::WorkflowService::V1::ResetWorkflowExecutionRequest, ::Temporalio::Api::WorkflowService::V1::ResetWorkflowExecutionResponse # TerminateWorkflowExecution terminates an existing workflow execution by recording a # `WORKFLOW_EXECUTION_TERMINATED` event in the history and immediately terminating the @@ -214,30 +220,46 @@ class Service # WorkflowExecution.run_id is provided) or the latest Workflow Execution (when # WorkflowExecution.run_id is not provided). If the Workflow Execution is Running, it will be # terminated before deletion. - # (-- api-linter: core::0135::method-signature=disabled - # aip.dev/not-precedent: DeleteNamespace RPC doesn't follow Google API format. --) - # (-- api-linter: core::0135::response-message-name=disabled - # aip.dev/not-precedent: DeleteNamespace RPC doesn't follow Google API format. --) + # + # (-- api-linter: core::0127::http-annotation=disabled + # aip.dev/not-precedent: Workflow deletion not exposed to HTTP, users should use cancel or terminate. --) rpc :DeleteWorkflowExecution, ::Temporalio::Api::WorkflowService::V1::DeleteWorkflowExecutionRequest, ::Temporalio::Api::WorkflowService::V1::DeleteWorkflowExecutionResponse # ListOpenWorkflowExecutions is a visibility API to list the open executions in a specific namespace. + # + # (-- api-linter: core::0127::http-annotation=disabled + # aip.dev/not-precedent: HTTP users should use ListWorkflowExecutions instead. --) rpc :ListOpenWorkflowExecutions, ::Temporalio::Api::WorkflowService::V1::ListOpenWorkflowExecutionsRequest, ::Temporalio::Api::WorkflowService::V1::ListOpenWorkflowExecutionsResponse # ListClosedWorkflowExecutions is a visibility API to list the closed executions in a specific namespace. + # + # (-- api-linter: core::0127::http-annotation=disabled + # aip.dev/not-precedent: HTTP users should use ListWorkflowExecutions instead. --) rpc :ListClosedWorkflowExecutions, ::Temporalio::Api::WorkflowService::V1::ListClosedWorkflowExecutionsRequest, ::Temporalio::Api::WorkflowService::V1::ListClosedWorkflowExecutionsResponse # ListWorkflowExecutions is a visibility API to list workflow executions in a specific namespace. rpc :ListWorkflowExecutions, ::Temporalio::Api::WorkflowService::V1::ListWorkflowExecutionsRequest, ::Temporalio::Api::WorkflowService::V1::ListWorkflowExecutionsResponse # ListArchivedWorkflowExecutions is a visibility API to list archived workflow executions in a specific namespace. rpc :ListArchivedWorkflowExecutions, ::Temporalio::Api::WorkflowService::V1::ListArchivedWorkflowExecutionsRequest, ::Temporalio::Api::WorkflowService::V1::ListArchivedWorkflowExecutionsResponse - # ScanWorkflowExecutions is a visibility API to list large amount of workflow executions in a specific namespace without order. + # ScanWorkflowExecutions _was_ a visibility API to list large amount of workflow executions in a specific namespace without order. + # It has since been deprecated in favor of `ListWorkflowExecutions` and rewritten to use `ListWorkflowExecutions` internally. + # + # Deprecated: Replaced with `ListWorkflowExecutions`. + # (-- api-linter: core::0127::http-annotation=disabled + # aip.dev/not-precedent: HTTP users should use ListWorkflowExecutions instead. --) rpc :ScanWorkflowExecutions, ::Temporalio::Api::WorkflowService::V1::ScanWorkflowExecutionsRequest, ::Temporalio::Api::WorkflowService::V1::ScanWorkflowExecutionsResponse # CountWorkflowExecutions is a visibility API to count of workflow executions in a specific namespace. rpc :CountWorkflowExecutions, ::Temporalio::Api::WorkflowService::V1::CountWorkflowExecutionsRequest, ::Temporalio::Api::WorkflowService::V1::CountWorkflowExecutionsResponse # GetSearchAttributes is a visibility API to get all legal keys that could be used in list APIs + # + # (-- api-linter: core::0127::http-annotation=disabled + # aip.dev/not-precedent: We do not expose this search attribute API to HTTP (but may expose on OperatorService). --) rpc :GetSearchAttributes, ::Temporalio::Api::WorkflowService::V1::GetSearchAttributesRequest, ::Temporalio::Api::WorkflowService::V1::GetSearchAttributesResponse # RespondQueryTaskCompleted is called by workers to complete queries which were delivered on # the `query` (not `queries`) field of a `PollWorkflowTaskQueueResponse`. # # Completing the query will unblock the corresponding client call to `QueryWorkflow` and return # the query result a response. + # + # (-- api-linter: core::0127::http-annotation=disabled + # aip.dev/not-precedent: We do not expose worker API to HTTP. --) rpc :RespondQueryTaskCompleted, ::Temporalio::Api::WorkflowService::V1::RespondQueryTaskCompletedRequest, ::Temporalio::Api::WorkflowService::V1::RespondQueryTaskCompletedResponse # ResetStickyTaskQueue resets the sticky task queue related information in the mutable state of # a given workflow. This is prudent for workers to perform if a workflow has been paged out of @@ -246,70 +268,211 @@ class Service # Things cleared are: # 1. StickyTaskQueue # 2. StickyScheduleToStartTimeout + # + # When possible, ShutdownWorker should be preferred over + # ResetStickyTaskQueue (particularly when a worker is shutting down or + # cycling). + # + # (-- api-linter: core::0127::http-annotation=disabled + # aip.dev/not-precedent: We do not expose worker API to HTTP. --) rpc :ResetStickyTaskQueue, ::Temporalio::Api::WorkflowService::V1::ResetStickyTaskQueueRequest, ::Temporalio::Api::WorkflowService::V1::ResetStickyTaskQueueResponse + # ShutdownWorker is used to indicate that the given sticky task + # queue is no longer being polled by its worker. Following the completion of + # ShutdownWorker, newly-added workflow tasks will instead be placed + # in the normal task queue, eligible for any worker to pick up. + # + # ShutdownWorker should be called by workers while shutting down, + # after they've shut down their pollers. If another sticky poll + # request is issued, the sticky task queue will be revived. + # + # As of Temporal Server v1.25.0, ShutdownWorker hasn't yet been implemented. + # + # (-- api-linter: core::0127::http-annotation=disabled + # aip.dev/not-precedent: We do not expose worker API to HTTP. --) + rpc :ShutdownWorker, ::Temporalio::Api::WorkflowService::V1::ShutdownWorkerRequest, ::Temporalio::Api::WorkflowService::V1::ShutdownWorkerResponse # QueryWorkflow requests a query be executed for a specified workflow execution. rpc :QueryWorkflow, ::Temporalio::Api::WorkflowService::V1::QueryWorkflowRequest, ::Temporalio::Api::WorkflowService::V1::QueryWorkflowResponse # DescribeWorkflowExecution returns information about the specified workflow execution. rpc :DescribeWorkflowExecution, ::Temporalio::Api::WorkflowService::V1::DescribeWorkflowExecutionRequest, ::Temporalio::Api::WorkflowService::V1::DescribeWorkflowExecutionResponse - # DescribeTaskQueue returns information about the target task queue. + # DescribeTaskQueue returns the following information about the target task queue, broken down by Build ID: + # - List of pollers + # - Workflow Reachability status + # - Backlog info for Workflow and/or Activity tasks rpc :DescribeTaskQueue, ::Temporalio::Api::WorkflowService::V1::DescribeTaskQueueRequest, ::Temporalio::Api::WorkflowService::V1::DescribeTaskQueueResponse # GetClusterInfo returns information about temporal cluster rpc :GetClusterInfo, ::Temporalio::Api::WorkflowService::V1::GetClusterInfoRequest, ::Temporalio::Api::WorkflowService::V1::GetClusterInfoResponse # GetSystemInfo returns information about the system. rpc :GetSystemInfo, ::Temporalio::Api::WorkflowService::V1::GetSystemInfoRequest, ::Temporalio::Api::WorkflowService::V1::GetSystemInfoResponse + # (-- api-linter: core::0127::http-annotation=disabled + # aip.dev/not-precedent: We do not expose this low-level API to HTTP. --) rpc :ListTaskQueuePartitions, ::Temporalio::Api::WorkflowService::V1::ListTaskQueuePartitionsRequest, ::Temporalio::Api::WorkflowService::V1::ListTaskQueuePartitionsResponse # Creates a new schedule. - # (-- api-linter: core::0133::method-signature=disabled - # aip.dev/not-precedent: CreateSchedule doesn't follow Google API format --) - # (-- api-linter: core::0133::response-message-name=disabled - # aip.dev/not-precedent: CreateSchedule doesn't follow Google API format --) - # (-- api-linter: core::0133::http-uri-parent=disabled - # aip.dev/not-precedent: CreateSchedule doesn't follow Google API format --) rpc :CreateSchedule, ::Temporalio::Api::WorkflowService::V1::CreateScheduleRequest, ::Temporalio::Api::WorkflowService::V1::CreateScheduleResponse # Returns the schedule description and current state of an existing schedule. rpc :DescribeSchedule, ::Temporalio::Api::WorkflowService::V1::DescribeScheduleRequest, ::Temporalio::Api::WorkflowService::V1::DescribeScheduleResponse # Changes the configuration or state of an existing schedule. - # (-- api-linter: core::0134::response-message-name=disabled - # aip.dev/not-precedent: UpdateSchedule RPC doesn't follow Google API format. --) - # (-- api-linter: core::0134::method-signature=disabled - # aip.dev/not-precedent: UpdateSchedule RPC doesn't follow Google API format. --) rpc :UpdateSchedule, ::Temporalio::Api::WorkflowService::V1::UpdateScheduleRequest, ::Temporalio::Api::WorkflowService::V1::UpdateScheduleResponse # Makes a specific change to a schedule or triggers an immediate action. - # (-- api-linter: core::0134::synonyms=disabled - # aip.dev/not-precedent: we have both patch and update. --) rpc :PatchSchedule, ::Temporalio::Api::WorkflowService::V1::PatchScheduleRequest, ::Temporalio::Api::WorkflowService::V1::PatchScheduleResponse # Lists matching times within a range. rpc :ListScheduleMatchingTimes, ::Temporalio::Api::WorkflowService::V1::ListScheduleMatchingTimesRequest, ::Temporalio::Api::WorkflowService::V1::ListScheduleMatchingTimesResponse # Deletes a schedule, removing it from the system. - # (-- api-linter: core::0135::method-signature=disabled - # aip.dev/not-precedent: DeleteSchedule doesn't follow Google API format --) - # (-- api-linter: core::0135::response-message-name=disabled - # aip.dev/not-precedent: DeleteSchedule doesn't follow Google API format --) rpc :DeleteSchedule, ::Temporalio::Api::WorkflowService::V1::DeleteScheduleRequest, ::Temporalio::Api::WorkflowService::V1::DeleteScheduleResponse # List all schedules in a namespace. rpc :ListSchedules, ::Temporalio::Api::WorkflowService::V1::ListSchedulesRequest, ::Temporalio::Api::WorkflowService::V1::ListSchedulesResponse + # CountSchedules is a visibility API to count schedules in a specific namespace. + rpc :CountSchedules, ::Temporalio::Api::WorkflowService::V1::CountSchedulesRequest, ::Temporalio::Api::WorkflowService::V1::CountSchedulesResponse + # Deprecated. Use `UpdateWorkerVersioningRules`. + # # Allows users to specify sets of worker build id versions on a per task queue basis. Versions # are ordered, and may be either compatible with some extant version, or a new incompatible # version, forming sets of ids which are incompatible with each other, but whose contained # members are compatible with one another. # - # (-- api-linter: core::0134::response-message-name=disabled - # aip.dev/not-precedent: UpdateWorkerBuildIdCompatibility RPC doesn't follow Google API format. --) - # (-- api-linter: core::0134::method-signature=disabled - # aip.dev/not-precedent: UpdateWorkerBuildIdCompatibility RPC doesn't follow Google API format. --) + # A single build id may be mapped to multiple task queues using this API for cases where a single process hosts + # multiple workers. + # + # To query which workers can be retired, use the `GetWorkerTaskReachability` API. + # + # NOTE: The number of task queues mapped to a single build id is limited by the `limit.taskQueuesPerBuildId` + # (default is 20), if this limit is exceeded this API will error with a FailedPrecondition. + # + # (-- api-linter: core::0127::http-annotation=disabled + # aip.dev/not-precedent: We do yet expose versioning API to HTTP. --) rpc :UpdateWorkerBuildIdCompatibility, ::Temporalio::Api::WorkflowService::V1::UpdateWorkerBuildIdCompatibilityRequest, ::Temporalio::Api::WorkflowService::V1::UpdateWorkerBuildIdCompatibilityResponse - # Fetches the worker build id versioning sets for some task queue and related metadata. + # Deprecated. Use `GetWorkerVersioningRules`. + # Fetches the worker build id versioning sets for a task queue. rpc :GetWorkerBuildIdCompatibility, ::Temporalio::Api::WorkflowService::V1::GetWorkerBuildIdCompatibilityRequest, ::Temporalio::Api::WorkflowService::V1::GetWorkerBuildIdCompatibilityResponse - # Invokes the specified update function on user workflow code. - # (-- api-linter: core::0134=disabled - # aip.dev/not-precedent: UpdateWorkflowExecution doesn't follow Google API format --) + # Use this API to manage Worker Versioning Rules for a given Task Queue. There are two types of + # rules: Build ID Assignment rules and Compatible Build ID Redirect rules. + # + # Assignment rules determine how to assign new executions to a Build IDs. Their primary + # use case is to specify the latest Build ID but they have powerful features for gradual rollout + # of a new Build ID. + # + # Once a workflow execution is assigned to a Build ID and it completes its first Workflow Task, + # the workflow stays on the assigned Build ID regardless of changes in assignment rules. This + # eliminates the need for compatibility between versions when you only care about using the new + # version for new workflows and let existing workflows finish in their own version. + # + # Activities, Child Workflows and Continue-as-New executions have the option to inherit the + # Build ID of their parent/previous workflow or use the latest assignment rules to independently + # select a Build ID. + # + # Redirect rules should only be used when you want to move workflows and activities assigned to + # one Build ID (source) to another compatible Build ID (target). You are responsible to make sure + # the target Build ID of a redirect rule is able to process event histories made by the source + # Build ID by using [Patching](https://docs.temporal.io/workflows#patching) or other means. + # + # WARNING: Worker Versioning is not yet stable and the API and behavior may change incompatibly. + # (-- api-linter: core::0127::http-annotation=disabled + # aip.dev/not-precedent: We do yet expose versioning API to HTTP. --) + rpc :UpdateWorkerVersioningRules, ::Temporalio::Api::WorkflowService::V1::UpdateWorkerVersioningRulesRequest, ::Temporalio::Api::WorkflowService::V1::UpdateWorkerVersioningRulesResponse + # Fetches the Build ID assignment and redirect rules for a Task Queue. + # WARNING: Worker Versioning is not yet stable and the API and behavior may change incompatibly. + rpc :GetWorkerVersioningRules, ::Temporalio::Api::WorkflowService::V1::GetWorkerVersioningRulesRequest, ::Temporalio::Api::WorkflowService::V1::GetWorkerVersioningRulesResponse + # Deprecated. Use `DescribeTaskQueue`. + # + # Fetches task reachability to determine whether a worker may be retired. + # The request may specify task queues to query for or let the server fetch all task queues mapped to the given + # build IDs. + # + # When requesting a large number of task queues or all task queues associated with the given build ids in a + # namespace, all task queues will be listed in the response but some of them may not contain reachability + # information due to a server enforced limit. When reaching the limit, task queues that reachability information + # could not be retrieved for will be marked with a single TASK_REACHABILITY_UNSPECIFIED entry. The caller may issue + # another call to get the reachability for those task queues. + # + # Open source users can adjust this limit by setting the server's dynamic config value for + # `limit.reachabilityTaskQueueScan` with the caveat that this call can strain the visibility store. + rpc :GetWorkerTaskReachability, ::Temporalio::Api::WorkflowService::V1::GetWorkerTaskReachabilityRequest, ::Temporalio::Api::WorkflowService::V1::GetWorkerTaskReachabilityResponse + # Describes a worker deployment. + # Experimental. This API might significantly change or be removed in a future release. + # Deprecated. Replaced with `DescribeWorkerDeploymentVersion`. + rpc :DescribeDeployment, ::Temporalio::Api::WorkflowService::V1::DescribeDeploymentRequest, ::Temporalio::Api::WorkflowService::V1::DescribeDeploymentResponse + # Describes a worker deployment version. + # Experimental. This API might significantly change or be removed in a future release. + rpc :DescribeWorkerDeploymentVersion, ::Temporalio::Api::WorkflowService::V1::DescribeWorkerDeploymentVersionRequest, ::Temporalio::Api::WorkflowService::V1::DescribeWorkerDeploymentVersionResponse + # Lists worker deployments in the namespace. Optionally can filter based on deployment series + # name. + # Experimental. This API might significantly change or be removed in a future release. + # Deprecated. Replaced with `ListWorkerDeployments`. + rpc :ListDeployments, ::Temporalio::Api::WorkflowService::V1::ListDeploymentsRequest, ::Temporalio::Api::WorkflowService::V1::ListDeploymentsResponse + # Returns the reachability level of a worker deployment to help users decide when it is time + # to decommission a deployment. Reachability level is calculated based on the deployment's + # `status` and existing workflows that depend on the given deployment for their execution. + # Calculating reachability is relatively expensive. Therefore, server might return a recently + # cached value. In such a case, the `last_update_time` will inform you about the actual + # reachability calculation time. + # Experimental. This API might significantly change or be removed in a future release. + # Deprecated. Replaced with `DrainageInfo` returned by `DescribeWorkerDeploymentVersion`. + rpc :GetDeploymentReachability, ::Temporalio::Api::WorkflowService::V1::GetDeploymentReachabilityRequest, ::Temporalio::Api::WorkflowService::V1::GetDeploymentReachabilityResponse + # Returns the current deployment (and its info) for a given deployment series. + # Experimental. This API might significantly change or be removed in a future release. + # Deprecated. Replaced by `current_version` returned by `DescribeWorkerDeployment`. + rpc :GetCurrentDeployment, ::Temporalio::Api::WorkflowService::V1::GetCurrentDeploymentRequest, ::Temporalio::Api::WorkflowService::V1::GetCurrentDeploymentResponse + # Sets a deployment as the current deployment for its deployment series. Can optionally update + # the metadata of the deployment as well. + # Experimental. This API might significantly change or be removed in a future release. + # Deprecated. Replaced by `SetWorkerDeploymentCurrentVersion`. + rpc :SetCurrentDeployment, ::Temporalio::Api::WorkflowService::V1::SetCurrentDeploymentRequest, ::Temporalio::Api::WorkflowService::V1::SetCurrentDeploymentResponse + # Set/unset the Current Version of a Worker Deployment. Automatically unsets the Ramping + # Version if it is the Version being set as Current. + # Experimental. This API might significantly change or be removed in a future release. + rpc :SetWorkerDeploymentCurrentVersion, ::Temporalio::Api::WorkflowService::V1::SetWorkerDeploymentCurrentVersionRequest, ::Temporalio::Api::WorkflowService::V1::SetWorkerDeploymentCurrentVersionResponse + # Describes a Worker Deployment. + # Experimental. This API might significantly change or be removed in a future release. + rpc :DescribeWorkerDeployment, ::Temporalio::Api::WorkflowService::V1::DescribeWorkerDeploymentRequest, ::Temporalio::Api::WorkflowService::V1::DescribeWorkerDeploymentResponse + # Deletes records of (an old) Deployment. A deployment can only be deleted if + # it has no Version in it. + # Experimental. This API might significantly change or be removed in a future release. + rpc :DeleteWorkerDeployment, ::Temporalio::Api::WorkflowService::V1::DeleteWorkerDeploymentRequest, ::Temporalio::Api::WorkflowService::V1::DeleteWorkerDeploymentResponse + # Used for manual deletion of Versions. User can delete a Version only when all the + # following conditions are met: + # - It is not the Current or Ramping Version of its Deployment. + # - It has no active pollers (none of the task queues in the Version have pollers) + # - It is not draining (see WorkerDeploymentVersionInfo.drainage_info). This condition + # can be skipped by passing `skip-drainage=true`. + # Experimental. This API might significantly change or be removed in a future release. + rpc :DeleteWorkerDeploymentVersion, ::Temporalio::Api::WorkflowService::V1::DeleteWorkerDeploymentVersionRequest, ::Temporalio::Api::WorkflowService::V1::DeleteWorkerDeploymentVersionResponse + # Set/unset the Ramping Version of a Worker Deployment and its ramp percentage. Can be used for + # gradual ramp to unversioned workers too. + # Experimental. This API might significantly change or be removed in a future release. + rpc :SetWorkerDeploymentRampingVersion, ::Temporalio::Api::WorkflowService::V1::SetWorkerDeploymentRampingVersionRequest, ::Temporalio::Api::WorkflowService::V1::SetWorkerDeploymentRampingVersionResponse + # Lists all Worker Deployments that are tracked in the Namespace. + # Experimental. This API might significantly change or be removed in a future release. + rpc :ListWorkerDeployments, ::Temporalio::Api::WorkflowService::V1::ListWorkerDeploymentsRequest, ::Temporalio::Api::WorkflowService::V1::ListWorkerDeploymentsResponse + # Creates a new Worker Deployment. + # + # Experimental. This API might significantly change or be removed in a + # future release. + rpc :CreateWorkerDeployment, ::Temporalio::Api::WorkflowService::V1::CreateWorkerDeploymentRequest, ::Temporalio::Api::WorkflowService::V1::CreateWorkerDeploymentResponse + # Creates a new Worker Deployment Version. + # + # Experimental. This API might significantly change or be removed in a + # future release. + rpc :CreateWorkerDeploymentVersion, ::Temporalio::Api::WorkflowService::V1::CreateWorkerDeploymentVersionRequest, ::Temporalio::Api::WorkflowService::V1::CreateWorkerDeploymentVersionResponse + # Updates the compute config attached to a Worker Deployment Version. + # Experimental. This API might significantly change or be removed in a future release. + rpc :UpdateWorkerDeploymentVersionComputeConfig, ::Temporalio::Api::WorkflowService::V1::UpdateWorkerDeploymentVersionComputeConfigRequest, ::Temporalio::Api::WorkflowService::V1::UpdateWorkerDeploymentVersionComputeConfigResponse + # Validates the compute config without attaching it to a Worker Deployment Version. + # Experimental. This API might significantly change or be removed in a future release. + rpc :ValidateWorkerDeploymentVersionComputeConfig, ::Temporalio::Api::WorkflowService::V1::ValidateWorkerDeploymentVersionComputeConfigRequest, ::Temporalio::Api::WorkflowService::V1::ValidateWorkerDeploymentVersionComputeConfigResponse + # Updates the user-given metadata attached to a Worker Deployment Version. + # Experimental. This API might significantly change or be removed in a future release. + rpc :UpdateWorkerDeploymentVersionMetadata, ::Temporalio::Api::WorkflowService::V1::UpdateWorkerDeploymentVersionMetadataRequest, ::Temporalio::Api::WorkflowService::V1::UpdateWorkerDeploymentVersionMetadataResponse + # Set/unset the ManagerIdentity of a Worker Deployment. + # Experimental. This API might significantly change or be removed in a future release. + rpc :SetWorkerDeploymentManager, ::Temporalio::Api::WorkflowService::V1::SetWorkerDeploymentManagerRequest, ::Temporalio::Api::WorkflowService::V1::SetWorkerDeploymentManagerResponse + # Invokes the specified Update function on user Workflow code. rpc :UpdateWorkflowExecution, ::Temporalio::Api::WorkflowService::V1::UpdateWorkflowExecutionRequest, ::Temporalio::Api::WorkflowService::V1::UpdateWorkflowExecutionResponse - # Polls a workflow execution for the outcome of a workflow execution update + # Polls a Workflow Execution for the outcome of a Workflow Update # previously issued through the UpdateWorkflowExecution RPC. The effective # timeout on this call will be shorter of the the caller-supplied gRPC # timeout and the server's configured long-poll timeout. - # (-- api-linter: core::0134=disabled - # aip.dev/not-precedent: UpdateWorkflowExecution doesn't follow Google API format --) + # + # (-- api-linter: core::0127::http-annotation=disabled + # aip.dev/not-precedent: We don't expose update polling API to HTTP in favor of a potential future non-blocking form. --) rpc :PollWorkflowExecutionUpdate, ::Temporalio::Api::WorkflowService::V1::PollWorkflowExecutionUpdateRequest, ::Temporalio::Api::WorkflowService::V1::PollWorkflowExecutionUpdateResponse # StartBatchOperation starts a new batch operation rpc :StartBatchOperation, ::Temporalio::Api::WorkflowService::V1::StartBatchOperationRequest, ::Temporalio::Api::WorkflowService::V1::StartBatchOperationResponse @@ -319,6 +482,168 @@ class Service rpc :DescribeBatchOperation, ::Temporalio::Api::WorkflowService::V1::DescribeBatchOperationRequest, ::Temporalio::Api::WorkflowService::V1::DescribeBatchOperationResponse # ListBatchOperations returns a list of batch operations rpc :ListBatchOperations, ::Temporalio::Api::WorkflowService::V1::ListBatchOperationsRequest, ::Temporalio::Api::WorkflowService::V1::ListBatchOperationsResponse + # PollNexusTaskQueue is a long poll call used by workers to receive Nexus tasks. + # (-- api-linter: core::0127::http-annotation=disabled + # aip.dev/not-precedent: We do not expose worker API to HTTP. --) + rpc :PollNexusTaskQueue, ::Temporalio::Api::WorkflowService::V1::PollNexusTaskQueueRequest, ::Temporalio::Api::WorkflowService::V1::PollNexusTaskQueueResponse + # RespondNexusTaskCompleted is called by workers to respond to Nexus tasks received via PollNexusTaskQueue. + # (-- api-linter: core::0127::http-annotation=disabled + # aip.dev/not-precedent: We do not expose worker API to HTTP. --) + rpc :RespondNexusTaskCompleted, ::Temporalio::Api::WorkflowService::V1::RespondNexusTaskCompletedRequest, ::Temporalio::Api::WorkflowService::V1::RespondNexusTaskCompletedResponse + # RespondNexusTaskFailed is called by workers to fail Nexus tasks received via PollNexusTaskQueue. + # (-- api-linter: core::0127::http-annotation=disabled + # aip.dev/not-precedent: We do not expose worker API to HTTP. --) + rpc :RespondNexusTaskFailed, ::Temporalio::Api::WorkflowService::V1::RespondNexusTaskFailedRequest, ::Temporalio::Api::WorkflowService::V1::RespondNexusTaskFailedResponse + # UpdateActivityOptions is called by the client to update the options of an activity by its ID or type. + # If there are multiple pending activities of the provided type - all of them will be updated. + # This API will be deprecated soon and replaced with a newer UpdateActivityExecutionOptions that is better named and + # structured to work well for standalone activities. + rpc :UpdateActivityOptions, ::Temporalio::Api::WorkflowService::V1::UpdateActivityOptionsRequest, ::Temporalio::Api::WorkflowService::V1::UpdateActivityOptionsResponse + # UpdateWorkflowExecutionOptions partially updates the WorkflowExecutionOptions of an existing workflow execution. + rpc :UpdateWorkflowExecutionOptions, ::Temporalio::Api::WorkflowService::V1::UpdateWorkflowExecutionOptionsRequest, ::Temporalio::Api::WorkflowService::V1::UpdateWorkflowExecutionOptionsResponse + # PauseActivity pauses the execution of an activity specified by its ID or type. + # If there are multiple pending activities of the provided type - all of them will be paused + # + # Pausing an activity means: + # - If the activity is currently waiting for a retry or is running and subsequently fails, + # it will not be rescheduled until it is unpaused. + # - If the activity is already paused, calling this method will have no effect. + # - If the activity is running and finishes successfully, the activity will be completed. + # - If the activity is running and finishes with failure: + # * if there is no retry left - the activity will be completed. + # * if there are more retries left - the activity will be paused. + # For long-running activities: + # - activities in paused state will send a cancellation with "activity_paused" set to 'true' in response to 'RecordActivityTaskHeartbeat'. + # - The activity should respond to the cancellation accordingly. + # + # Returns a `NotFound` error if there is no pending activity with the provided ID or type + # This API will be deprecated soon and replaced with a newer PauseActivityExecution that is better named and + # structured to work well for standalone activities. + rpc :PauseActivity, ::Temporalio::Api::WorkflowService::V1::PauseActivityRequest, ::Temporalio::Api::WorkflowService::V1::PauseActivityResponse + # UnpauseActivity unpauses the execution of an activity specified by its ID or type. + # If there are multiple pending activities of the provided type - all of them will be unpaused. + # + # If activity is not paused, this call will have no effect. + # If the activity was paused while waiting for retry, it will be scheduled immediately (* see 'jitter' flag). + # Once the activity is unpaused, all timeout timers will be regenerated. + # + # Flags: + # 'jitter': the activity will be scheduled at a random time within the jitter duration. + # 'reset_attempts': the number of attempts will be reset. + # 'reset_heartbeat': the activity heartbeat timer and heartbeats will be reset. + # + # Returns a `NotFound` error if there is no pending activity with the provided ID or type + # This API will be deprecated soon and replaced with a newer UnpauseActivityExecution that is better named and + # structured to work well for standalone activities. + rpc :UnpauseActivity, ::Temporalio::Api::WorkflowService::V1::UnpauseActivityRequest, ::Temporalio::Api::WorkflowService::V1::UnpauseActivityResponse + # ResetActivity resets the execution of an activity specified by its ID or type. + # If there are multiple pending activities of the provided type - all of them will be reset. + # + # Resetting an activity means: + # * number of attempts will be reset to 0. + # * activity timeouts will be reset. + # * if the activity is waiting for retry, and it is not paused or 'keep_paused' is not provided: + # it will be scheduled immediately (* see 'jitter' flag), + # + # Flags: + # + # 'jitter': the activity will be scheduled at a random time within the jitter duration. + # If the activity currently paused it will be unpaused, unless 'keep_paused' flag is provided. + # 'reset_heartbeats': the activity heartbeat timer and heartbeats will be reset. + # 'keep_paused': if the activity is paused, it will remain paused. + # + # Returns a `NotFound` error if there is no pending activity with the provided ID or type. + # This API will be deprecated soon and replaced with a newer ResetActivityExecution that is better named and + # structured to work well for standalone activities. + rpc :ResetActivity, ::Temporalio::Api::WorkflowService::V1::ResetActivityRequest, ::Temporalio::Api::WorkflowService::V1::ResetActivityResponse + # Create a new workflow rule. The rules are used to control the workflow execution. + # The rule will be applied to all running and new workflows in the namespace. + # If the rule with such ID already exist this call will fail + # Note: the rules are part of namespace configuration and will be stored in the namespace config. + # Namespace config is eventually consistent. + rpc :CreateWorkflowRule, ::Temporalio::Api::WorkflowService::V1::CreateWorkflowRuleRequest, ::Temporalio::Api::WorkflowService::V1::CreateWorkflowRuleResponse + # DescribeWorkflowRule return the rule specification for existing rule id. + # If there is no rule with such id - NOT FOUND error will be returned. + rpc :DescribeWorkflowRule, ::Temporalio::Api::WorkflowService::V1::DescribeWorkflowRuleRequest, ::Temporalio::Api::WorkflowService::V1::DescribeWorkflowRuleResponse + # Delete rule by rule id + rpc :DeleteWorkflowRule, ::Temporalio::Api::WorkflowService::V1::DeleteWorkflowRuleRequest, ::Temporalio::Api::WorkflowService::V1::DeleteWorkflowRuleResponse + # Return all namespace workflow rules + rpc :ListWorkflowRules, ::Temporalio::Api::WorkflowService::V1::ListWorkflowRulesRequest, ::Temporalio::Api::WorkflowService::V1::ListWorkflowRulesResponse + # TriggerWorkflowRule allows to: + # * trigger existing rule for a specific workflow execution; + # * trigger rule for a specific workflow execution without creating a rule; + # This is useful for one-off operations. + rpc :TriggerWorkflowRule, ::Temporalio::Api::WorkflowService::V1::TriggerWorkflowRuleRequest, ::Temporalio::Api::WorkflowService::V1::TriggerWorkflowRuleResponse + # WorkerHeartbeat receive heartbeat request from the worker. + rpc :RecordWorkerHeartbeat, ::Temporalio::Api::WorkflowService::V1::RecordWorkerHeartbeatRequest, ::Temporalio::Api::WorkflowService::V1::RecordWorkerHeartbeatResponse + # ListWorkers is a visibility API to list worker status information in a specific namespace. + rpc :ListWorkers, ::Temporalio::Api::WorkflowService::V1::ListWorkersRequest, ::Temporalio::Api::WorkflowService::V1::ListWorkersResponse + # Updates task queue configuration. + # For the overall queue rate limit: the rate limit set by this api overrides the worker-set rate limit, + # which uncouples the rate limit from the worker lifecycle. + # If the overall queue rate limit is unset, the worker-set rate limit takes effect. + rpc :UpdateTaskQueueConfig, ::Temporalio::Api::WorkflowService::V1::UpdateTaskQueueConfigRequest, ::Temporalio::Api::WorkflowService::V1::UpdateTaskQueueConfigResponse + # FetchWorkerConfig returns the worker configuration for a specific worker. + rpc :FetchWorkerConfig, ::Temporalio::Api::WorkflowService::V1::FetchWorkerConfigRequest, ::Temporalio::Api::WorkflowService::V1::FetchWorkerConfigResponse + # UpdateWorkerConfig updates the worker configuration of one or more workers. + # Can be used to partially update the worker configuration. + # Can be used to update the configuration of multiple workers. + rpc :UpdateWorkerConfig, ::Temporalio::Api::WorkflowService::V1::UpdateWorkerConfigRequest, ::Temporalio::Api::WorkflowService::V1::UpdateWorkerConfigResponse + # DescribeWorker returns information about the specified worker. + rpc :DescribeWorker, ::Temporalio::Api::WorkflowService::V1::DescribeWorkerRequest, ::Temporalio::Api::WorkflowService::V1::DescribeWorkerResponse + # Note: This is an experimental API and the behavior may change in a future release. + # PauseWorkflowExecution pauses the workflow execution specified in the request. Pausing a workflow execution results in + # - The workflow execution status changes to `PAUSED` and a new WORKFLOW_EXECUTION_PAUSED event is added to the history + # - No new workflow tasks or activity tasks are dispatched. + # - Any workflow task currently executing on the worker will be allowed to complete. + # - Any activity task currently executing will be paused. + # - All server-side events will continue to be processed by the server. + # - Queries & Updates on a paused workflow will be rejected. + rpc :PauseWorkflowExecution, ::Temporalio::Api::WorkflowService::V1::PauseWorkflowExecutionRequest, ::Temporalio::Api::WorkflowService::V1::PauseWorkflowExecutionResponse + # Note: This is an experimental API and the behavior may change in a future release. + # UnpauseWorkflowExecution unpauses a previously paused workflow execution specified in the request. + # Unpausing a workflow execution results in + # - The workflow execution status changes to `RUNNING` and a new WORKFLOW_EXECUTION_UNPAUSED event is added to the history + # - Workflow tasks and activity tasks are resumed. + rpc :UnpauseWorkflowExecution, ::Temporalio::Api::WorkflowService::V1::UnpauseWorkflowExecutionRequest, ::Temporalio::Api::WorkflowService::V1::UnpauseWorkflowExecutionResponse + # StartActivityExecution starts a new activity execution. + # + # Returns an `ActivityExecutionAlreadyStarted` error if an instance already exists with same activity ID in this namespace + # unless permitted by the specified ID conflict policy. + rpc :StartActivityExecution, ::Temporalio::Api::WorkflowService::V1::StartActivityExecutionRequest, ::Temporalio::Api::WorkflowService::V1::StartActivityExecutionResponse + # DescribeActivityExecution returns information about an activity execution. + # It can be used to: + # - Get current activity info without waiting + # - Long-poll for next state change and return new activity info + # Response can optionally include activity input or outcome (if the activity has completed). + rpc :DescribeActivityExecution, ::Temporalio::Api::WorkflowService::V1::DescribeActivityExecutionRequest, ::Temporalio::Api::WorkflowService::V1::DescribeActivityExecutionResponse + # PollActivityExecution long-polls for an activity execution to complete and returns the + # outcome (result or failure). + rpc :PollActivityExecution, ::Temporalio::Api::WorkflowService::V1::PollActivityExecutionRequest, ::Temporalio::Api::WorkflowService::V1::PollActivityExecutionResponse + # ListActivityExecutions is a visibility API to list activity executions in a specific namespace. + rpc :ListActivityExecutions, ::Temporalio::Api::WorkflowService::V1::ListActivityExecutionsRequest, ::Temporalio::Api::WorkflowService::V1::ListActivityExecutionsResponse + # CountActivityExecutions is a visibility API to count activity executions in a specific namespace. + rpc :CountActivityExecutions, ::Temporalio::Api::WorkflowService::V1::CountActivityExecutionsRequest, ::Temporalio::Api::WorkflowService::V1::CountActivityExecutionsResponse + # RequestCancelActivityExecution requests cancellation of an activity execution. + # + # Cancellation is cooperative: this call records the request, but the activity must detect and + # acknowledge it for the activity to reach CANCELED status. The cancellation signal is + # delivered via `cancel_requested` in the heartbeat response; SDKs surface this via + # language-idiomatic mechanisms (context cancellation, exceptions, abort signals). + rpc :RequestCancelActivityExecution, ::Temporalio::Api::WorkflowService::V1::RequestCancelActivityExecutionRequest, ::Temporalio::Api::WorkflowService::V1::RequestCancelActivityExecutionResponse + # TerminateActivityExecution terminates an existing activity execution immediately. + # + # Termination does not reach the worker and the activity code cannot react to it. A terminated activity may have a + # running attempt. + rpc :TerminateActivityExecution, ::Temporalio::Api::WorkflowService::V1::TerminateActivityExecutionRequest, ::Temporalio::Api::WorkflowService::V1::TerminateActivityExecutionResponse + # DeleteActivityExecution asynchronously deletes a specific activity execution (when + # ActivityExecution.run_id is provided) or the latest activity execution (when + # ActivityExecution.run_id is not provided). If the activity Execution is running, it will be + # terminated before deletion. + # + # (-- api-linter: core::0127::http-annotation=disabled + # aip.dev/not-precedent: Activity deletion not exposed to HTTP, users should use cancel or terminate. --) + rpc :DeleteActivityExecution, ::Temporalio::Api::WorkflowService::V1::DeleteActivityExecutionRequest, ::Temporalio::Api::WorkflowService::V1::DeleteActivityExecutionResponse end Stub = Service.rpc_stub_class diff --git a/lib/temporal/workflow/executor.rb b/lib/temporal/workflow/executor.rb index f40fef3ba..917fd7dd0 100644 --- a/lib/temporal/workflow/executor.rb +++ b/lib/temporal/workflow/executor.rb @@ -23,7 +23,7 @@ def initialize(workflow_class, history, task_metadata, config, track_stack_trace @workflow_class = workflow_class @dispatcher = Dispatcher.new @query_registry = QueryRegistry.new - @state_manager = StateManager.new(dispatcher, config) + @state_manager = StateManager.new(dispatcher, config, task_metadata) @history = history @task_metadata = task_metadata @config = config diff --git a/lib/temporal/workflow/history/event.rb b/lib/temporal/workflow/history/event.rb index 562fd0189..d111253b3 100644 --- a/lib/temporal/workflow/history/event.rb +++ b/lib/temporal/workflow/history/event.rb @@ -25,13 +25,14 @@ class Event PREFIX = 'EVENT_TYPE_'.freeze - attr_reader :id, :timestamp, :type, :attributes + attr_reader :id, :timestamp, :type, :attributes, :worker_may_ignore def initialize(raw_event) @id = raw_event.event_id @timestamp = raw_event.event_time.to_time @type = raw_event.event_type.to_s.gsub(PREFIX, '') @attributes = extract_attributes(raw_event) + @worker_may_ignore = raw_event.worker_may_ignore freeze end diff --git a/lib/temporal/workflow/state_manager.rb b/lib/temporal/workflow/state_manager.rb index c90ed3deb..0ea360ca8 100644 --- a/lib/temporal/workflow/state_manager.rb +++ b/lib/temporal/workflow/state_manager.rb @@ -19,8 +19,9 @@ class UnsupportedMarkerType < Temporal::InternalError; end attr_reader :local_time, :search_attributes, :new_sdk_flags_used, :sdk_flags, :first_task_signals - def initialize(dispatcher, config) + def initialize(dispatcher, config, task_metadata) @dispatcher = dispatcher + @task_metadata = task_metadata @commands = [] @marker_ids = Set.new @releases = {} @@ -165,7 +166,7 @@ def history_size private - attr_reader :commands, :dispatcher, :command_tracker, :marker_ids, :side_effects, :releases, :config, :converter + attr_reader :commands, :dispatcher, :command_tracker, :marker_ids, :side_effects, :releases, :config, :converter, :task_metadata def use_signals_first(raw_events) # The presence of SAVE_FIRST_TASK_SIGNALS implies HANDLE_SIGNALS_FIRST @@ -241,9 +242,35 @@ def validate_append_command(command) end end + IGNORED_EVENT_TYPES = %w[ + WORKFLOW_EXECUTION_OPTIONS_UPDATED + NEXUS_OPERATION_SCHEDULED + NEXUS_OPERATION_STARTED + NEXUS_OPERATION_COMPLETED + NEXUS_OPERATION_FAILED + NEXUS_OPERATION_CANCELED + NEXUS_OPERATION_TIMED_OUT + NEXUS_OPERATION_CANCEL_REQUESTED + NEXUS_OPERATION_CANCEL_REQUEST_COMPLETED + NEXUS_OPERATION_CANCEL_REQUEST_FAILED + ].freeze + def apply_event(event) + if IGNORED_EVENT_TYPES.include?(event.type) + config.logger.warn('Unsupported event ignored', task_metadata.to_h.merge(event_type: event.type, event_id: event.id)) + return + end + state_machine = command_tracker[event.originating_event_id] - history_target = History::EventTarget.from_event(event) + begin + history_target = History::EventTarget.from_event(event) + rescue History::EventTarget::UnexpectedEventType + if event.worker_may_ignore + config.logger.warn('Unknown event type ignored', task_metadata.to_h.merge(event_type: event.type, event_id: event.id)) + return + end + raise UnsupportedEvent, event.type + end case event.type when 'WORKFLOW_EXECUTION_STARTED' @@ -430,7 +457,11 @@ def apply_event(event) discard_command(history_target) else - raise UnsupportedEvent, event.type + if event.worker_may_ignore + config.logger.warn('Unknown event ignored', task_metadata.to_h.merge(event_type: event.type, event_id: event.id)) + else + raise UnsupportedEvent, event.type + end end end diff --git a/proto b/proto index ae312b072..ddc38c85e 160000 --- a/proto +++ b/proto @@ -1 +1 @@ -Subproject commit ae312b0724003957b96fb966e3fe25a02abaade4 +Subproject commit ddc38c85eee8c72d44c795534ad6485a5df6a53e diff --git a/spec/unit/lib/temporal/grpc_spec.rb b/spec/unit/lib/temporal/grpc_spec.rb index 5639a0e91..b7206238b 100644 --- a/spec/unit/lib/temporal/grpc_spec.rb +++ b/spec/unit/lib/temporal/grpc_spec.rb @@ -667,7 +667,7 @@ end before do - allow(grpc_stub).to receive(:poll_activity_task_queue).with(anything, return_op: true).and_return(poll_request) + allow(grpc_stub).to receive(:poll_activity_task_queue).and_return(poll_request) end it 'makes an API request' do diff --git a/spec/unit/lib/temporal/workflow/state_manager_spec.rb b/spec/unit/lib/temporal/workflow/state_manager_spec.rb index 8aa8f9aa3..e364b42e0 100644 --- a/spec/unit/lib/temporal/workflow/state_manager_spec.rb +++ b/spec/unit/lib/temporal/workflow/state_manager_spec.rb @@ -5,8 +5,11 @@ require 'temporal/workflow/signal' require 'temporal/workflow/state_manager' require 'temporal/errors' +require 'temporal/metadata/workflow_task' describe Temporal::Workflow::StateManager do + let(:task_metadata) { Fabricate(:workflow_task_metadata) } + describe '#schedule' do class MyWorkflow < Temporal::Workflow; end @@ -24,7 +27,7 @@ class MyWorkflow < Temporal::Workflow; end ) ].each do |terminal_command| it "fails to validate if #{terminal_command.class} is not the last command scheduled" do - state_manager = described_class.new(Temporal::Workflow::Dispatcher.new, Temporal::Configuration.new) + state_manager = described_class.new(Temporal::Workflow::Dispatcher.new, Temporal::Configuration.new, task_metadata) next_command = Temporal::Workflow::Command::RecordMarker.new( name: Temporal::Workflow::StateManager::RELEASE_MARKER, @@ -42,7 +45,7 @@ class MyWorkflow < Temporal::Workflow; end describe '#apply' do let(:dispatcher) { Temporal::Workflow::Dispatcher.new } let(:state_manager) do - Temporal::Workflow::StateManager.new(dispatcher, config) + Temporal::Workflow::StateManager.new(dispatcher, config, task_metadata) end let(:config) { Temporal::Configuration.new } let(:connection) { instance_double('Temporal::Connection::GRPC') } @@ -450,7 +453,7 @@ def test_order_one_task(*expected_sdk_flags) end it 'has correct event count' do - state_manager = described_class.new(Temporal::Workflow::Dispatcher.new, config) + state_manager = described_class.new(Temporal::Workflow::Dispatcher.new, config, task_metadata) window = Temporal::Workflow::History::Window.new window.add(Temporal::Workflow::History::Event.new(start_workflow_execution_event)) @@ -472,7 +475,7 @@ def test_order_one_task(*expected_sdk_flags) describe "#final_commands" do let(:dispatcher) { Temporal::Workflow::Dispatcher.new } let(:state_manager) do - Temporal::Workflow::StateManager.new(dispatcher, config) + Temporal::Workflow::StateManager.new(dispatcher, config, task_metadata) end let(:config) { Temporal::Configuration.new } @@ -591,7 +594,7 @@ def test_order_one_task(*expected_sdk_flags) end it 'initial merges with upserted' do - state_manager = described_class.new(Temporal::Workflow::Dispatcher.new, Temporal::Configuration.new) + state_manager = described_class.new(Temporal::Workflow::Dispatcher.new, Temporal::Configuration.new, task_metadata) window = Temporal::Workflow::History::Window.new window.add(Temporal::Workflow::History::Event.new(start_workflow_execution_event)) @@ -619,7 +622,7 @@ def test_order_one_task(*expected_sdk_flags) end it 'initial and upsert treated as empty hash' do - state_manager = described_class.new(Temporal::Workflow::Dispatcher.new, Temporal::Configuration.new) + state_manager = described_class.new(Temporal::Workflow::Dispatcher.new, Temporal::Configuration.new, task_metadata) window = Temporal::Workflow::History::Window.new window.add(Temporal::Workflow::History::Event.new(start_workflow_execution_event_no_search_attributes)) @@ -635,7 +638,7 @@ def test_order_one_task(*expected_sdk_flags) end it 'multiple upserts merge' do - state_manager = described_class.new(Temporal::Workflow::Dispatcher.new, Temporal::Configuration.new) + state_manager = described_class.new(Temporal::Workflow::Dispatcher.new, Temporal::Configuration.new, task_metadata) window_1 = Temporal::Workflow::History::Window.new window_1.add(Temporal::Workflow::History::Event.new(workflow_task_started_event)) @@ -663,4 +666,137 @@ def test_order_one_task(*expected_sdk_flags) ) end end + + describe '#apply ignored event types' do + let(:dispatcher) { Temporal::Workflow::Dispatcher.new } + let(:config) { Temporal::Configuration.new } + let(:task_metadata) do + Temporal::Metadata::WorkflowTask.new( + namespace: 'test-namespace', + id: 42, + task_token: 'test-token', + attempt: 1, + workflow_run_id: 'test-run-id', + workflow_id: 'test-workflow-id', + workflow_name: 'TestWorkflow', + ) + end + let(:state_manager) { Temporal::Workflow::StateManager.new(dispatcher, config, task_metadata) } + let(:logger) { instance_double('Temporal::Logger', warn: nil) } + + before do + allow(config).to receive(:logger).and_return(logger) + end + + %w[ + WORKFLOW_EXECUTION_OPTIONS_UPDATED + NEXUS_OPERATION_SCHEDULED + NEXUS_OPERATION_STARTED + NEXUS_OPERATION_COMPLETED + NEXUS_OPERATION_FAILED + NEXUS_OPERATION_CANCELED + NEXUS_OPERATION_TIMED_OUT + NEXUS_OPERATION_CANCEL_REQUESTED + NEXUS_OPERATION_CANCEL_REQUEST_COMPLETED + NEXUS_OPERATION_CANCEL_REQUEST_FAILED + ].each do |event_type| + it "ignores #{event_type} and logs a warning" do + event = instance_double( + Temporal::Workflow::History::Event, + id: 1, + type: event_type, + originating_event_id: 1, + ) + window = Temporal::Workflow::History::Window.new + window.add(event) + window.freeze + + expect(logger).to receive(:warn).with( + 'Unsupported event ignored', + 'namespace' => 'test-namespace', + 'workflow_task_id' => 42, + 'workflow_name' => 'TestWorkflow', + 'workflow_id' => 'test-workflow-id', + 'workflow_run_id' => 'test-run-id', + 'attempt' => 1, + event_type: event_type, + event_id: 1, + ) + expect { state_manager.apply(window) }.not_to raise_error + end + end + end + + describe '#apply unknown events' do + let(:dispatcher) { Temporal::Workflow::Dispatcher.new } + let(:config) { Temporal::Configuration.new } + let(:task_metadata) do + Temporal::Metadata::WorkflowTask.new( + namespace: 'test-namespace', + id: 42, + task_token: 'test-token', + attempt: 1, + workflow_run_id: 'test-run-id', + workflow_id: 'test-workflow-id', + workflow_name: 'TestWorkflow', + ) + end + let(:state_manager) { Temporal::Workflow::StateManager.new(dispatcher, config, task_metadata) } + let(:logger) { instance_double('Temporal::Logger', warn: nil) } + + before do + allow(config).to receive(:logger).and_return(logger) + end + + def build_window(event) + window = Temporal::Workflow::History::Window.new + window.add(event) + window.freeze + end + + context 'when worker_may_ignore is true' do + let(:event) do + instance_double( + Temporal::Workflow::History::Event, + id: 1, + type: 'SOME_FUTURE_UNKNOWN_EVENT', + originating_event_id: 1, + worker_may_ignore: true, + ) + end + + it 'logs a warning and does not raise' do + expect(logger).to receive(:warn).with( + 'Unknown event type ignored', + 'namespace' => 'test-namespace', + 'workflow_task_id' => 42, + 'workflow_name' => 'TestWorkflow', + 'workflow_id' => 'test-workflow-id', + 'workflow_run_id' => 'test-run-id', + 'attempt' => 1, + event_type: 'SOME_FUTURE_UNKNOWN_EVENT', + event_id: 1, + ) + expect { state_manager.apply(build_window(event)) }.not_to raise_error + end + end + + context 'when worker_may_ignore is false' do + let(:event) do + instance_double( + Temporal::Workflow::History::Event, + id: 1, + type: 'SOME_FUTURE_UNKNOWN_EVENT', + originating_event_id: 1, + worker_may_ignore: false, + ) + end + + it 'raises UnsupportedEvent' do + expect { state_manager.apply(build_window(event)) }.to raise_error( + Temporal::Workflow::StateManager::UnsupportedEvent + ) + end + end + end end