From e2cfa45c9f2e1077e4a0290a698ab38b01e82907 Mon Sep 17 00:00:00 2001 From: Jeff Schoner Date: Sat, 26 Apr 2025 14:50:03 -0700 Subject: [PATCH 1/5] Bump Temporal API submodule to 1.48.0 --- proto | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proto b/proto index ae312b07..d7bb01b9 160000 --- a/proto +++ b/proto @@ -1 +1 @@ -Subproject commit ae312b0724003957b96fb966e3fe25a02abaade4 +Subproject commit d7bb01b95f5ddff01799023c426d43a66e384c7d From f63e5b799c2167735749d8a1400d92e5161d877b Mon Sep 17 00:00:00 2001 From: Jeff Schoner Date: Sat, 26 Apr 2025 15:03:05 -0700 Subject: [PATCH 2/5] Regenerate protobuf classes --- lib/gen/google/api/annotations_pb.rb | 19 + lib/gen/google/api/http_pb.rb | 19 + lib/gen/google/protobuf/any_pb.rb | 17 + lib/gen/google/protobuf/descriptor_pb.rb | 65 ++ lib/gen/google/protobuf/duration_pb.rb | 17 + lib/gen/google/protobuf/empty_pb.rb | 17 + lib/gen/google/protobuf/struct_pb.rb | 20 + lib/gen/google/protobuf/timestamp_pb.rb | 17 + lib/gen/google/protobuf/wrappers_pb.rb | 25 + .../temporal/api/activity/v1/message_pb.rb | 25 + lib/gen/temporal/api/batch/v1/message_pb.rb | 42 +- lib/gen/temporal/api/command/v1/message_pb.rb | 132 +-- lib/gen/temporal/api/common/v1/message_pb.rb | 70 +- .../temporal/api/deployment/v1/message_pb.rb | 38 + .../api/enums/v1/batch_operation_pb.rb | 23 +- .../temporal/api/enums/v1/command_type_pb.rb | 28 +- lib/gen/temporal/api/enums/v1/common_pb.rb | 36 +- .../temporal/api/enums/v1/deployment_pb.rb | 23 + .../temporal/api/enums/v1/event_type_pb.rb | 59 +- .../temporal/api/enums/v1/failed_cause_pb.rb | 68 +- lib/gen/temporal/api/enums/v1/namespace_pb.rb | 26 +- lib/gen/temporal/api/enums/v1/nexus_pb.rb | 21 + lib/gen/temporal/api/enums/v1/query_pb.rb | 21 +- lib/gen/temporal/api/enums/v1/reset_pb.rb | 17 +- lib/gen/temporal/api/enums/v1/schedule_pb.rb | 19 +- .../temporal/api/enums/v1/task_queue_pb.rb | 23 +- lib/gen/temporal/api/enums/v1/update_pb.rb | 17 +- lib/gen/temporal/api/enums/v1/workflow_pb.rb | 74 +- .../api/errordetails/v1/message_pb.rb | 64 +- lib/gen/temporal/api/export/v1/message_pb.rb | 24 + lib/gen/temporal/api/failure/v1/message_pb.rb | 69 +- lib/gen/temporal/api/filter/v1/message_pb.rb | 25 +- lib/gen/temporal/api/history/v1/message_pb.rb | 445 +--------- .../temporal/api/namespace/v1/message_pb.rb | 47 +- lib/gen/temporal/api/nexus/v1/message_pb.rb | 41 + .../operatorservice/v1/request_response_pb.rb | 75 +- .../api/operatorservice/v1/service_pb.rb | 11 +- .../operatorservice/v1/service_services_pb.rb | 23 +- .../temporal/api/protocol/v1/message_pb.rb | 19 +- lib/gen/temporal/api/query/v1/message_pb.rb | 24 +- .../temporal/api/replication/v1/message_pb.rb | 23 +- lib/gen/temporal/api/rules/v1/message_pb.rb | 27 + .../temporal/api/schedule/v1/message_pb.rb | 120 +-- .../api/sdk/v1/enhanced_stack_trace_pb.rb | 25 + .../api/sdk/v1/task_complete_metadata_pb.rb | 14 +- .../temporal/api/sdk/v1/user_metadata_pb.rb | 23 + .../api/sdk/v1/workflow_metadata_pb.rb | 23 + .../temporal/api/taskqueue/v1/message_pb.rb | 61 +- lib/gen/temporal/api/update/v1/message_pb.rb | 51 +- lib/gen/temporal/api/version/v1/message_pb.rb | 27 +- .../temporal/api/workflow/v1/message_pb.rb | 107 +-- .../workflowservice/v1/request_response_pb.rb | 773 ++---------------- .../api/workflowservice/v1/service_pb.rb | 11 +- .../workflowservice/v1/service_services_pb.rb | 313 ++++++- 54 files changed, 1176 insertions(+), 2267 deletions(-) create mode 100644 lib/gen/google/api/annotations_pb.rb create mode 100644 lib/gen/google/api/http_pb.rb create mode 100644 lib/gen/google/protobuf/any_pb.rb create mode 100644 lib/gen/google/protobuf/descriptor_pb.rb create mode 100644 lib/gen/google/protobuf/duration_pb.rb create mode 100644 lib/gen/google/protobuf/empty_pb.rb create mode 100644 lib/gen/google/protobuf/struct_pb.rb create mode 100644 lib/gen/google/protobuf/timestamp_pb.rb create mode 100644 lib/gen/google/protobuf/wrappers_pb.rb create mode 100644 lib/gen/temporal/api/activity/v1/message_pb.rb create mode 100644 lib/gen/temporal/api/deployment/v1/message_pb.rb create mode 100644 lib/gen/temporal/api/enums/v1/deployment_pb.rb create mode 100644 lib/gen/temporal/api/enums/v1/nexus_pb.rb create mode 100644 lib/gen/temporal/api/export/v1/message_pb.rb create mode 100644 lib/gen/temporal/api/nexus/v1/message_pb.rb create mode 100644 lib/gen/temporal/api/rules/v1/message_pb.rb create mode 100644 lib/gen/temporal/api/sdk/v1/enhanced_stack_trace_pb.rb create mode 100644 lib/gen/temporal/api/sdk/v1/user_metadata_pb.rb create mode 100644 lib/gen/temporal/api/sdk/v1/workflow_metadata_pb.rb diff --git a/lib/gen/google/api/annotations_pb.rb b/lib/gen/google/api/annotations_pb.rb new file mode 100644 index 00000000..d837c691 --- /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 00000000..16c26bea --- /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 00000000..760712e6 --- /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 00000000..f74018d1 --- /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 00000000..f5b9e918 --- /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 00000000..0ac1b524 --- /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 00000000..5b8422cb --- /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 00000000..e3c9e07c --- /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 00000000..dda2a15a --- /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 00000000..599a228e --- /dev/null +++ b/lib/gen/temporal/api/activity/v1/message_pb.rb @@ -0,0 +1,25 @@ +# frozen_string_literal: true +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: temporal/api/activity/v1/message.proto + +require 'google/protobuf' + +require 'temporal/api/common/v1/message_pb' +require 'temporal/api/taskqueue/v1/message_pb' +require 'google/protobuf/duration_pb' + + +descriptor_data = "\n&temporal/api/activity/v1/message.proto\x12\x18temporal.api.activity.v1\x1a$temporal/api/common/v1/message.proto\x1a\'temporal/api/taskqueue/v1/message.proto\x1a\x1egoogle/protobuf/duration.proto\"\xf3\x02\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.RetryPolicyB\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 + ActivityOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.activity.v1.ActivityOptions").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 5f1d88e4..1c898410 100644 --- a/lib/gen/temporal/api/batch/v1/message_pb.rb +++ b/lib/gen/temporal/api/batch/v1/message_pb.rb @@ -1,39 +1,23 @@ +# 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/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/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\"\xd9\x01\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\x34\n\nreset_type\x18\x01 \x01(\x0e\x32 .temporal.api.enums.v1.ResetType\x12\x43\n\x12reset_reapply_type\x18\x02 \x01(\x0e\x32\'.temporal.api.enums.v1.ResetReapplyType\"\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\x04ruleB\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 +28,10 @@ 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 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 0dd08254..0c0acf1a 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\"\xaf\x01\n7RequestCancelExternalWorkflowExecutionCommandAttributes\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x0f\n\x07\x63ontrol\x18\x04 \x01(\t\x12\x1b\n\x13\x63hild_workflow_only\x18\x05 \x01(\x08\x12\x0e\n\x06reason\x18\x06 \x01(\t\"\xa7\x02\n0SignalExternalWorkflowExecutionCommandAttributes\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12<\n\texecution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12\x13\n\x0bsignal_name\x18\x03 \x01(\t\x12/\n\x05input\x18\x04 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x0f\n\x07\x63ontrol\x18\x05 \x01(\t\x12\x1b\n\x13\x63hild_workflow_only\x18\x06 \x01(\x08\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\"\xcb\x06\n/ContinueAsNewWorkflowExecutionCommandAttributes\x12;\n\rworkflow_type\x18\x01 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x38\n\ntask_queue\x18\x02 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12/\n\x05input\x18\x03 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\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\x18\n\x10inherit_build_id\x18\x0f \x01(\x08\"\x99\x07\n,StartChildWorkflowExecutionCommandAttributes\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x38\n\ntask_queue\x18\x04 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12/\n\x05input\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12=\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\x18\n\x10inherit_build_id\x18\x11 \x01(\x08\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\"\xea\x02\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\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 52c50880..00da7417 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\"\x89\x01\n\x07Payload\x12?\n\x08metadata\x18\x01 \x03(\x0b\x32-.temporal.api.common.v1.Payload.MetadataEntry\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\"\xbe\x01\n\x10SearchAttributes\x12S\n\x0eindexed_fields\x18\x01 \x03(\x0b\x32;.temporal.api.common.v1.SearchAttributes.IndexedFieldsEntry\x1aU\n\x12IndexedFieldsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01\"\x90\x01\n\x04Memo\x12\x38\n\x06\x66ields\x18\x01 \x03(\x0b\x32(.temporal.api.common.v1.Memo.FieldsEntry\x1aN\n\x0b\x46ieldsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01\"\x94\x01\n\x06Header\x12:\n\x06\x66ields\x18\x01 \x03(\x0b\x32*.temporal.api.common.v1.Header.FieldsEntry\x1aN\n\x0b\x46ieldsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.temporal.api.common.v1.Payload:\x02\x38\x01\"8\n\x11WorkflowExecution\x12\x13\n\x0bworkflow_id\x18\x01 \x01(\t\x12\x0e\n\x06run_id\x18\x02 \x01(\t\"\x1c\n\x0cWorkflowType\x12\x0c\n\x04name\x18\x01 \x01(\t\"\x1c\n\x0c\x41\x63tivityType\x12\x0c\n\x04name\x18\x01 \x01(\t\"\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\"\xe9\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\x12\x43\n\x12reset_reapply_type\x18\n \x01(\x0e\x32\'.temporal.api.enums.v1.ResetReapplyType\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\"\xb7\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\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\"\xb0\x03\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\x1a\xfe\x01\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\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.EventTypeB\x0b\n\treference\x1a\x1a\n\x08\x42\x61tchJob\x12\x0e\n\x06job_id\x18\x01 \x01(\tB\t\n\x07variant\" \n\x08Priority\x12\x14\n\x0cpriority_key\x18\x01 \x01(\x05\x42\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 @@ -76,6 +33,15 @@ 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::BatchJob = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.common.v1.Link.BatchJob").msgclass + Priority = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.common.v1.Priority").msgclass 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 00000000..d7551df2 --- /dev/null +++ b/lib/gen/temporal/api/deployment/v1/message_pb.rb @@ -0,0 +1,38 @@ +# 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/deployment_pb' +require 'temporal/api/enums/v1/task_queue_pb' +require 'temporal/api/common/v1/message_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/deployment.proto\x1a&temporal/api/enums/v1/task_queue.proto\x1a$temporal/api/common/v1/message.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\"\x84\x05\n\x1bWorkerDeploymentVersionInfo\x12\x0f\n\x07version\x18\x01 \x01(\t\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\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\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\"\xd0\x03\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\x1a\xa9\x01\n\x1eWorkerDeploymentVersionSummary\x12\x0f\n\x07version\x18\x01 \x01(\t\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\"\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\"\xb6\x02\n\rRoutingConfig\x12\x17\n\x0f\x63urrent_version\x18\x01 \x01(\t\x12\x17\n\x0framping_version\x18\x02 \x01(\t\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.TimestampB\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 + 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 + 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 aff7e54f..d38f9f77 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*\x94\x02\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*\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 fc4270ea..5c54f5d7 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 56c53671..f3fc6419 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\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,11 @@ 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 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 00000000..5db822db --- /dev/null +++ b/lib/gen/temporal/api/enums/v1/deployment_pb.rb @@ -0,0 +1,23 @@ +# 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\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 + 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 b18c13c6..9acb3fc2 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*\x8a\x15\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*\xee\x11\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 00000000..18fd5bdf --- /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 34e4f770..b883d9e8 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 6eb81b8d..4df11c96 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 14d7b311..9e2ce69d 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 53d99653..afea17d6 100644 --- a/lib/gen/temporal/api/enums/v1/task_queue_pb.rb +++ b/lib/gen/temporal/api/enums/v1/task_queue_pb.rb @@ -1,22 +1,14 @@ +# frozen_string_literal: true # Generated by the protocol buffer compiler. DO NOT EDIT! # source: temporal/api/enums/v1/task_queue.proto require 'google/protobuf' -Google::Protobuf::DescriptorPool.generated_pool.build do - add_file("temporal/api/enums/v1/task_queue.proto", :syntax => :proto3) do - add_enum "temporal.api.enums.v1.TaskQueueKind" do - value :TASK_QUEUE_KIND_UNSPECIFIED, 0 - value :TASK_QUEUE_KIND_NORMAL, 1 - value :TASK_QUEUE_KIND_STICKY, 2 - end - add_enum "temporal.api.enums.v1.TaskQueueType" do - value :TASK_QUEUE_TYPE_UNSPECIFIED, 0 - value :TASK_QUEUE_TYPE_WORKFLOW, 1 - value :TASK_QUEUE_TYPE_ACTIVITY, 2 - end - end -end + +descriptor_data = "\n&temporal/api/enums/v1/task_queue.proto\x12\x15temporal.api.enums.v1*h\n\rTaskQueueKind\x12\x1f\n\x1bTASK_QUEUE_KIND_UNSPECIFIED\x10\x00\x12\x1a\n\x16TASK_QUEUE_KIND_NORMAL\x10\x01\x12\x1a\n\x16TASK_QUEUE_KIND_STICKY\x10\x02*\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\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,9 @@ 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 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 205d140a..136e2586 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 e640dc9c..dd347d14 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*\x8b\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\x31\n-WORKFLOW_ID_REUSE_POLICY_TERMINATE_IF_RUNNING\x10\x04*\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*\xe5\x02\n\x17WorkflowExecutionStatus\x12)\n%WORKFLOW_EXECUTION_STATUS_UNSPECIFIED\x10\x00\x12%\n!WORKFLOW_EXECUTION_STATUS_RUNNING\x10\x01\x12\'\n#WORKFLOW_EXECUTION_STATUS_COMPLETED\x10\x02\x12$\n WORKFLOW_EXECUTION_STATUS_FAILED\x10\x03\x12&\n\"WORKFLOW_EXECUTION_STATUS_CANCELED\x10\x04\x12(\n$WORKFLOW_EXECUTION_STATUS_TERMINATED\x10\x05\x12.\n*WORKFLOW_EXECUTION_STATUS_CONTINUED_AS_NEW\x10\x06\x12\'\n#WORKFLOW_EXECUTION_STATUS_TIMED_OUT\x10\x07*\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\x42\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,7 @@ 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 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 87c68595..b4568669 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.AnyB\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,9 @@ 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 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 00000000..f3ea2f3e --- /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 041653ff..a68b175c 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\"H\n\x13\x43\x61nceledFailureInfo\x12\x31\n\x07\x64\x65tails\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\"\x17\n\x15TerminatedFailureInfo\"*\n\x11ServerFailureInfo\x12\x15\n\rnon_retryable\x18\x01 \x01(\x08\"\\\n\x18ResetWorkflowFailureInfo\x12@\n\x16last_heartbeat_details\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\"\xe7\x01\n\x13\x41\x63tivityFailureInfo\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x18\n\x10started_event_id\x18\x02 \x01(\x03\x12\x10\n\x08identity\x18\x03 \x01(\t\x12;\n\ractivity_type\x18\x04 \x01(\x0b\x32$.temporal.api.common.v1.ActivityType\x12\x13\n\x0b\x61\x63tivity_id\x18\x05 \x01(\t\x12\x36\n\x0bretry_state\x18\x06 \x01(\x0e\x32!.temporal.api.enums.v1.RetryState\"\xa8\x02\n!ChildWorkflowExecutionFailureInfo\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x45\n\x12workflow_execution\x18\x02 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x1a\n\x12initiated_event_id\x18\x04 \x01(\x03\x12\x18\n\x10started_event_id\x18\x05 \x01(\x03\x12\x36\n\x0bretry_state\x18\x06 \x01(\x0e\x32!.temporal.api.enums.v1.RetryState\"\x9c\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\x14\n\x0coperation_id\x18\x05 \x01(\t\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 b38072ce..e3cc18cb 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 2b0043ce..1d2d3206 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,441 +6,24 @@ 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\"\xa9\x0e\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\x12H\n\x14source_version_stamp\x18\x1d \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStamp\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\x1a\n\x12inherited_build_id\x18 \x01(\t\x12I\n\x13versioning_override\x18! \x01(\x0b\x32,.temporal.api.workflow.v1.VersioningOverride\x12/\n\'parent_pinned_worker_deployment_version\x18\" \x01(\t\x12\x32\n\x08priority\x18# \x01(\x0b\x32 .temporal.api.common.v1.Priority\"\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\"\xc0\x06\n.WorkflowExecutionContinuedAsNewEventAttributes\x12\x1c\n\x14new_execution_run_id\x18\x01 \x01(\t\x12;\n\rworkflow_type\x18\x02 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x38\n\ntask_queue\x18\x03 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12/\n\x05input\x18\x04 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\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\x31\n\x07\x66\x61ilure\x18\n \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12@\n\x16last_completion_result\x18\x0b \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12.\n\x06header\x18\x0c \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12*\n\x04memo\x18\r \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x0e \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12\x18\n\x10inherit_build_id\x18\x0f \x01(\x08\"\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\"\x8a\x02\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\x12\x1a\n\x12history_size_bytes\x18\x05 \x01(\x03\x12\x42\n\x0eworker_version\x18\x06 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStamp\x12!\n\x19\x62uild_id_redirect_counter\x18\x07 \x01(\x03\"\xa5\x04\n$WorkflowTaskCompletedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x18\n\x10started_event_id\x18\x02 \x01(\x03\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x17\n\x0f\x62inary_checksum\x18\x04 \x01(\t\x12\x42\n\x0eworker_version\x18\x05 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStamp\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(\t\x12\x1e\n\x16worker_deployment_name\x18\n \x01(\t\"\x95\x01\n#WorkflowTaskTimedOutEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x18\n\x10started_event_id\x18\x02 \x01(\x03\x12\x38\n\x0ctimeout_type\x18\x03 \x01(\x0e\x32\".temporal.api.enums.v1.TimeoutType\"\xff\x02\n!WorkflowTaskFailedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x18\n\x10started_event_id\x18\x02 \x01(\x03\x12=\n\x05\x63\x61use\x18\x03 \x01(\x0e\x32..temporal.api.enums.v1.WorkflowTaskFailedCause\x12\x31\n\x07\x66\x61ilure\x18\x04 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x10\n\x08identity\x18\x05 \x01(\t\x12\x13\n\x0b\x62\x61se_run_id\x18\x06 \x01(\t\x12\x12\n\nnew_run_id\x18\x07 \x01(\t\x12\x1a\n\x12\x66ork_event_version\x18\x08 \x01(\x03\x12\x17\n\x0f\x62inary_checksum\x18\t \x01(\t\x12\x42\n\x0eworker_version\x18\n \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStamp\"\xbe\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\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\"\x96\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\x42\n\x0eworker_version\x18\x06 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStamp\x12!\n\x19\x62uild_id_redirect_counter\x18\x07 \x01(\x03\"\xe4\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\x42\n\x0eworker_version\x18\x05 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStamp\"\x9a\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\x42\n\x0eworker_version\x18\x06 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStamp\"\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\"\x8e\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\x42\n\x0eworker_version\x18\x06 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStamp\"\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\"\xab\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\"\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\"\x98\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\x0f\n\x07\x63ontrol\x18\x04 \x01(\t\x12\x1b\n\x13\x63hild_workflow_only\x18\x05 \x01(\x08\x12\x0e\n\x06reason\x18\x06 \x01(\t\"\xd6\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\x0f\n\x07\x63ontrol\x18\x06 \x01(\t\"\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\"\xf7\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\x0f\n\x07\x63ontrol\x18\x06 \x01(\t\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\"\xcf\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\x0f\n\x07\x63ontrol\x18\x06 \x01(\t\"\xcf\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\x0f\n\x07\x63ontrol\x18\x04 \x01(\t\"\x9e\x01\n-UpsertWorkflowSearchAttributesEventAttributes\x12(\n workflow_task_completed_event_id\x18\x01 \x01(\x03\x12\x43\n\x11search_attributes\x18\x02 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\"\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\"\xe0\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\x0f\n\x07\x63ontrol\x18\n \x01(\t\x12(\n workflow_task_completed_event_id\x18\x0b \x01(\x03\x12N\n\x18workflow_id_reuse_policy\x18\x0c \x01(\x0e\x32,.temporal.api.enums.v1.WorkflowIdReusePolicy\x12\x39\n\x0cretry_policy\x18\r \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x15\n\rcron_schedule\x18\x0e \x01(\t\x12.\n\x06header\x18\x0f \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12*\n\x04memo\x18\x10 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x11 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12\x18\n\x10inherit_build_id\x18\x13 \x01(\x08\x12\x32\n\x08priority\x18\x14 \x01(\x0b\x32 .temporal.api.common.v1.Priority\"\xd2\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\x0f\n\x07\x63ontrol\x18\x05 \x01(\t\x12\x1a\n\x12initiated_event_id\x18\x06 \x01(\x03\x12(\n workflow_task_completed_event_id\x18\x07 \x01(\x03\"\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\"\x84\x02\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\"\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\"\xbb\x03\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\x1a\x32\n\x10NexusHeaderEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x85\x01\n$NexusOperationStartedEventAttributes\x12\x1a\n\x12scheduled_event_id\x18\x01 \x01(\x03\x12\x14\n\x0coperation_id\x18\x03 \x01(\t\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\"\xbe;\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\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\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 @@ -486,11 +70,22 @@ 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 + 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 3042febe..0f9f24ef 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,20 @@ 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\"\xba\x03\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\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\x1aW\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\"\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 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 00000000..657992da --- /dev/null +++ b/lib/gen/temporal/api/nexus/v1/message_pb.rb @@ -0,0 +1,41 @@ +# 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' + + +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\"\x9c\x01\n\x07\x46\x61ilure\x12\x0f\n\x07message\x18\x01 \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\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\"k\n\x16\x43\x61ncelOperationRequest\x12\x0f\n\x07service\x18\x01 \x01(\t\x12\x11\n\toperation\x18\x02 \x01(\t\x12\x14\n\x0coperation_id\x18\x03 \x01(\t\x12\x17\n\x0foperation_token\x18\x04 \x01(\t\"\xc7\x02\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\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\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\"\xd5\x03\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\x12L\n\x0foperation_error\x18\x03 \x01(\x0b\x32\x31.temporal.api.nexus.v1.UnsuccessfulOperationErrorH\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\x62\n\x05\x41sync\x12\x14\n\x0coperation_id\x18\x01 \x01(\t\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 + 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/operatorservice/v1/request_response_pb.rb b/lib/gen/temporal/api/operatorservice/v1/request_response_pb.rb index f85cb8ee..2bd7c60c 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\"\x84\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\"\"\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\"\xc0\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\"%\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 515e36b1..3a903bb4 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 44a8c571..7fb11ea3 100644 --- a/lib/gen/temporal/api/operatorservice/v1/service_services_pb.rb +++ b/lib/gen/temporal/api/operatorservice/v1/service_services_pb.rb @@ -56,10 +56,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 +63,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 577b0c11..e38bf818 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/query/v1/message_pb.rb b/lib/gen/temporal/api/query/v1/message_pb.rb index 652b77c1..667aa4d3 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 5336b7de..270ba6bd 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 00000000..f4410cb0 --- /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\"v\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.WorkflowRuleSpecB\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 1d2f5383..f0ed2aaf 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\"a\n\x19TriggerImmediatelyRequest\x12\x44\n\x0eoverlap_policy\x18\x01 \x01(\x0e\x32,.temporal.api.enums.v1.ScheduleOverlapPolicy\"\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 00000000..e781f3e2 --- /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 281bd518..fcb791a1 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 00000000..075265f5 --- /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/workflow_metadata_pb.rb b/lib/gen/temporal/api/sdk/v1/workflow_metadata_pb.rb new file mode 100644 index 00000000..45f79029 --- /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 053e5f67..37a1dc1e 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\"\xa0\x01\n\x17TaskQueueVersioningInfo\x12\x17\n\x0f\x63urrent_version\x18\x01 \x01(\t\x12\x17\n\x0framping_version\x18\x02 \x01(\t\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\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,25 @@ 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 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 f438bc27..6f30083e 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 02302766..f6d5f0b8 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/workflow/v1/message_pb.rb b/lib/gen/temporal/api/workflow/v1/message_pb.rb index 470fd0a4..d5e0f9ca 100644 --- a/lib/gen/temporal/api/workflow/v1/message_pb.rb +++ b/lib/gen/temporal/api/workflow/v1/message_pb.rb @@ -1,111 +1,52 @@ +# 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 'temporal/api/enums/v1/common_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\"temporal/api/enums/v1/common.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\"\x9f\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\x12T\n most_recent_worker_version_stamp\x18\x10 \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStamp\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\x19\n\x11\x61ssigned_build_id\x18\x13 \x01(\t\x12\x1a\n\x12inherited_build_id\x18\x14 \x01(\t\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\"\xb5\x02\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\"\xa0\x03\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\x0f\n\x07version\x18\x05 \x01(\t\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\"R\n\x14\x44\x65ploymentTransition\x12:\n\ndeployment\x18\x01 \x01(\x0b\x32&.temporal.api.deployment.v1.Deployment\".\n\x1b\x44\x65ploymentVersionTransition\x12\x0f\n\x07version\x18\x01 \x01(\t\"\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\"\x9c\x0b\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\x37\n\x15use_workflow_build_id\x18\r \x01(\x0b\x32\x16.google.protobuf.EmptyH\x00\x12.\n$last_independently_assigned_build_id\x18\x0e \x01(\tH\x00\x12M\n\x19last_worker_version_stamp\x18\x0f \x01(\x0b\x32*.temporal.api.common.v1.WorkerVersionStamp\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(\t\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\x1a\xd9\x01\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\x12\x11\n\x07rule_id\x18\x03 \x01(\tH\x00\x1a*\n\x06Manual\x12\x10\n\x08identity\x18\x01 \x01(\t\x12\x0e\n\x06reason\x18\x02 \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\"\xeb\x01\n\x0eResetPointInfo\x12\x10\n\x08\x62uild_id\x18\x07 \x01(\t\x12\x17\n\x0f\x62inary_checksum\x18\x01 \x01(\t\x12\x0e\n\x06run_id\x18\x02 \x01(\t\x12(\n first_workflow_task_completed_id\x18\x03 \x01(\x03\x12/\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\"\x8e\x05\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\x14\n\x0coperation_id\x18\x04 \x01(\t\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\"\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\"e\n\x18WorkflowExecutionOptions\x12I\n\x13versioning_override\x18\x01 \x01(\x0b\x32,.temporal.api.workflow.v1.VersioningOverride\"\xa9\x01\n\x12VersioningOverride\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\x16\n\x0epinned_version\x18\t \x01(\t\"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\x42\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 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 + VersioningOverride = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflow.v1.VersioningOverride").msgclass + OnConflictOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflow.v1.OnConflictOptions").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 ab356996..145ae4e5 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,49 @@ +# 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/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/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/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 '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/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/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/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\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\"\xa9\x0b\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\"\x9e\x01\n\x1eStartWorkflowExecutionResponse\x12\x0e\n\x06run_id\x18\x01 \x01(\t\x12\x0f\n\x07started\x18\x03 \x01(\x08\x12[\n\x13\x65\x61ger_workflow_task\x18\x02 \x01(\x0b\x32>.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse\"\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\"\xc3\x02\n\x1cPollWorkflowTaskQueueRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x38\n\ntask_queue\x18\x02 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x17\n\x0f\x62inary_checksum\x18\x04 \x01(\t\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.WorkerDeploymentOptions\"\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\"\xb1\t\n#RespondWorkflowTaskCompletedRequest\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x32\n\x08\x63ommands\x18\x02 \x03(\x0b\x32 .temporal.api.command.v1.Command\x12\x10\n\x08identity\x18\x03 \x01(\t\x12O\n\x11sticky_attributes\x18\x04 \x01(\x0b\x32\x34.temporal.api.taskqueue.v1.StickyExecutionAttributes\x12 \n\x18return_new_workflow_task\x18\x05 \x01(\x08\x12&\n\x1e\x66orce_create_new_workflow_task\x18\x06 \x01(\x08\x12\x17\n\x0f\x62inary_checksum\x18\x07 \x01(\t\x12m\n\rquery_results\x18\x08 \x03(\x0b\x32V.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.QueryResultsEntry\x12\x11\n\tnamespace\x18\t \x01(\t\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\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\"\xf0\x03\n RespondWorkflowTaskFailedRequest\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12=\n\x05\x63\x61use\x18\x02 \x01(\x0e\x32..temporal.api.enums.v1.WorkflowTaskFailedCause\x12\x31\n\x07\x66\x61ilure\x18\x03 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x10\n\x08identity\x18\x04 \x01(\t\x12\x17\n\x0f\x62inary_checksum\x18\x05 \x01(\t\x12\x11\n\tnamespace\x18\x06 \x01(\t\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.Deployment\x12O\n\x12\x64\x65ployment_options\x18\n \x01(\x0b\x32\x33.temporal.api.deployment.v1.WorkerDeploymentOptions\"#\n!RespondWorkflowTaskFailedResponse\"\xf5\x02\n\x1cPollActivityTaskQueueRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x38\n\ntask_queue\x18\x02 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12\x10\n\x08identity\x18\x03 \x01(\t\x12I\n\x13task_queue_metadata\x18\x04 \x01(\x0b\x32,.temporal.api.taskqueue.v1.TaskQueueMetadata\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.WorkerDeploymentOptions\"\xef\x07\n\x1dPollActivityTaskQueueResponse\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x1a\n\x12workflow_namespace\x18\x02 \x01(\t\x12;\n\rworkflow_type\x18\x03 \x01(\x0b\x32$.temporal.api.common.v1.WorkflowType\x12\x45\n\x12workflow_execution\x18\x04 \x01(\x0b\x32).temporal.api.common.v1.WorkflowExecution\x12;\n\ractivity_type\x18\x05 \x01(\x0b\x32$.temporal.api.common.v1.ActivityType\x12\x13\n\x0b\x61\x63tivity_id\x18\x06 \x01(\t\x12.\n\x06header\x18\x07 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12/\n\x05input\x18\x08 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12;\n\x11heartbeat_details\x18\t \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\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\"\x90\x01\n\"RecordActivityTaskHeartbeatRequest\x12\x12\n\ntask_token\x18\x01 \x01(\x0c\x12\x31\n\x07\x64\x65tails\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x11\n\tnamespace\x18\x04 \x01(\t\"X\n#RecordActivityTaskHeartbeatResponse\x12\x18\n\x10\x63\x61ncel_requested\x18\x01 \x01(\x08\x12\x17\n\x0f\x61\x63tivity_paused\x18\x02 \x01(\x08\"\xba\x01\n&RecordActivityTaskHeartbeatByIdRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x04 \x01(\t\x12\x31\n\x07\x64\x65tails\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x06 \x01(\t\"\\\n\'RecordActivityTaskHeartbeatByIdResponse\x12\x18\n\x10\x63\x61ncel_requested\x18\x01 \x01(\x08\x12\x17\n\x0f\x61\x63tivity_paused\x18\x02 \x01(\x08\"\xe9\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\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\"\xba\x01\n\'RespondActivityTaskCompletedByIdRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x04 \x01(\t\x12\x30\n\x06result\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x06 \x01(\t\"*\n(RespondActivityTaskCompletedByIdResponse\"\xa9\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@\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\"\xfa\x01\n$RespondActivityTaskFailedByIdRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x04 \x01(\t\x12\x31\n\x07\x66\x61ilure\x18\x05 \x01(\x0b\x32 .temporal.api.failure.v1.Failure\x12\x10\n\x08identity\x18\x06 \x01(\t\x12@\n\x16last_heartbeat_details\x18\x07 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\"[\n%RespondActivityTaskFailedByIdResponse\x12\x32\n\x08\x66\x61ilures\x18\x01 \x03(\x0b\x32 .temporal.api.failure.v1.Failure\"\xe9\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\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\"\xba\x01\n&RespondActivityTaskCanceledByIdRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x13\n\x0b\x61\x63tivity_id\x18\x04 \x01(\t\x12\x31\n\x07\x64\x65tails\x18\x05 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x06 \x01(\t\")\n\'RespondActivityTaskCanceledByIdResponse\"\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\"\xda\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\x0f\n\x07\x63ontrol\x18\x07 \x01(\t\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\"!\n\x1fSignalWorkflowExecutionResponse\"\xed\t\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\x0f\n\x07\x63ontrol\x18\x0e \x01(\t\x12\x39\n\x0cretry_policy\x18\x0f \x01(\x0b\x32#.temporal.api.common.v1.RetryPolicy\x12\x15\n\rcron_schedule\x18\x10 \x01(\t\x12*\n\x04memo\x18\x11 \x01(\x0b\x32\x1c.temporal.api.common.v1.Memo\x12\x43\n\x11search_attributes\x18\x12 \x01(\x0b\x32(.temporal.api.common.v1.SearchAttributes\x12.\n\x06header\x18\x13 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\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.PriorityJ\x04\x08\x15\x10\x16\"K\n(SignalWithStartWorkflowExecutionResponse\x12\x0e\n\x06run_id\x18\x01 \x01(\t\x12\x0f\n\x07started\x18\x02 \x01(\x08\"\xde\x02\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\x12\x43\n\x12reset_reapply_type\x18\x06 \x01(\x0e\x32\'.temporal.api.enums.v1.ResetReapplyType\x12S\n\x1breset_reapply_exclude_types\x18\x07 \x03(\x0e\x32..temporal.api.enums.v1.ResetReapplyExcludeType\"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\"\x91\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.FailureJ\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\"g\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\"\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\"\xe1\x03\n\x18\x44\x65scribeTaskQueueRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x38\n\ntask_queue\x18\x02 \x01(\x0b\x32$.temporal.api.taskqueue.v1.TaskQueue\x12=\n\x0ftask_queue_type\x18\x03 \x01(\x0e\x32$.temporal.api.enums.v1.TaskQueueType\x12!\n\x19include_task_queue_status\x18\x04 \x01(\x08\x12>\n\x08\x61pi_mode\x18\x05 \x01(\x0e\x32,.temporal.api.enums.v1.DescribeTaskQueueMode\x12\x46\n\x08versions\x18\x06 \x01(\x0b\x32\x34.temporal.api.taskqueue.v1.TaskQueueVersionSelection\x12>\n\x10task_queue_types\x18\x07 \x03(\x0e\x32$.temporal.api.enums.v1.TaskQueueType\x12\x14\n\x0creport_stats\x18\x08 \x01(\x08\x12\x16\n\x0ereport_pollers\x18\t \x01(\x08\x12 \n\x18report_task_reachability\x18\n \x01(\x08\"\xb2\x03\n\x19\x44\x65scribeTaskQueueResponse\x12\x36\n\x07pollers\x18\x01 \x03(\x0b\x32%.temporal.api.taskqueue.v1.PollerInfo\x12\x45\n\x11task_queue_status\x18\x02 \x01(\x0b\x32*.temporal.api.taskqueue.v1.TaskQueueStatus\x12\x63\n\rversions_info\x18\x03 \x03(\x0b\x32L.temporal.api.workflowservice.v1.DescribeTaskQueueResponse.VersionsInfoEntry\x12K\n\x0fversioning_info\x18\x04 \x01(\x0b\x32\x32.temporal.api.taskqueue.v1.TaskQueueVersioningInfo\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\"\x8b\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\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\"\xf4\x03\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\xe7\x02\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\"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\"\xf8\x01\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\"\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\"\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\"\xaf\x06\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\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\"\xa7\x02\n\x19PollNexusTaskQueueRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \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\"\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\"\x8c\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\x32\n\x05\x65rror\x18\x04 \x01(\x0b\x32#.temporal.api.nexus.v1.HandlerError\" \n\x1eRespondNexusTaskFailedResponse\"\xdf\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\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\"\xa1\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\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\"\xfc\x01\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\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.DurationB\n\n\x08\x61\x63tivity\"\x17\n\x15ResetActivityResponse\"\x8a\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\"\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\"L\n&DescribeWorkerDeploymentVersionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t\"\x8a\x01\n\'DescribeWorkerDeploymentVersionResponse\x12_\n\x1eworker_deployment_version_info\x18\x01 \x01(\x0b\x32\x37.temporal.api.deployment.v1.WorkerDeploymentVersionInfo\"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\"\xb5\x01\n(SetWorkerDeploymentCurrentVersionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x17\n\x0f\x64\x65ployment_name\x18\x02 \x01(\t\x12\x0f\n\x07version\x18\x03 \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\"]\n)SetWorkerDeploymentCurrentVersionResponse\x12\x16\n\x0e\x63onflict_token\x18\x01 \x01(\x0c\x12\x18\n\x10previous_version\x18\x02 \x01(\t\"\xc9\x01\n(SetWorkerDeploymentRampingVersionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x17\n\x0f\x64\x65ployment_name\x18\x02 \x01(\t\x12\x0f\n\x07version\x18\x03 \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\"z\n)SetWorkerDeploymentRampingVersionResponse\x12\x16\n\x0e\x63onflict_token\x18\x01 \x01(\x0c\x12\x18\n\x10previous_version\x18\x02 \x01(\t\x12\x1b\n\x13previous_percentage\x18\x03 \x01(\x02\"]\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\"\xca\x02\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\x9b\x01\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\"s\n$DeleteWorkerDeploymentVersionRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t\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\"\xbb\x02\n,UpdateWorkerDeploymentVersionMetadataRequest\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t\x12x\n\x0eupsert_entries\x18\x03 \x03(\x0b\x32`.temporal.api.workflowservice.v1.UpdateWorkerDeploymentVersionMetadataRequest.UpsertEntriesEntry\x12\x16\n\x0eremove_entries\x18\x04 \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\"n\n-UpdateWorkerDeploymentVersionMetadataResponse\x12=\n\x08metadata\x18\x01 \x01(\x0b\x32+.temporal.api.deployment.v1.VersionMetadata\"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\"\x8d\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\"_\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\x42\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 +68,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,12 +114,15 @@ 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 @@ -814,11 +152,23 @@ module V1 ListSchedulesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.ListSchedulesResponse").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 +181,63 @@ 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 + 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 + 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 + 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 + 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 + 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 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 667b8800..c59d9479 100644 --- a/lib/gen/temporal/api/workflowservice/v1/service_pb.rb +++ b/lib/gen/temporal/api/workflowservice/v1/service_pb.rb @@ -1,14 +1,17 @@ +# 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' -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.proto2\xab\xb0\x01\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\x92\x02\n\x16StartWorkflowExecution\x12>.temporal.api.workflowservice.v1.StartWorkflowExecutionRequest\x1a?.temporal.api.workflowservice.v1.StartWorkflowExecutionResponse\"w\x82\xd3\xe4\x93\x02q\"//namespaces/{namespace}/workflows/{workflow_id}:\x01*Z;\"6/api/v1/namespaces/{namespace}/workflows/{workflow_id}:\x01*\x12\xa5\x02\n\x15\x45xecuteMultiOperation\x12=.temporal.api.workflowservice.v1.ExecuteMultiOperationRequest\x1a>.temporal.api.workflowservice.v1.ExecuteMultiOperationResponse\"\x8c\x01\x82\xd3\xe4\x93\x02\x85\x01\"9/namespaces/{namespace}/workflows/execute-multi-operation:\x01*ZE\"@/api/v1/namespaces/{namespace}/workflows/execute-multi-operation:\x01*\x12\xc1\x02\n\x1bGetWorkflowExecutionHistory\x12\x43.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryRequest\x1a\x44.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryResponse\"\x96\x01\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\xe6\x02\n\"GetWorkflowExecutionHistoryReverse\x12J.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryReverseRequest\x1aK.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryReverseResponse\"\xa6\x01\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\xad\x01\n\x1cRespondWorkflowTaskCompleted\x12\x44.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest\x1a\x45.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedResponse\"\x00\x12\xa4\x01\n\x19RespondWorkflowTaskFailed\x12\x41.temporal.api.workflowservice.v1.RespondWorkflowTaskFailedRequest\x1a\x42.temporal.api.workflowservice.v1.RespondWorkflowTaskFailedResponse\"\x00\x12\x98\x01\n\x15PollActivityTaskQueue\x12=.temporal.api.workflowservice.v1.PollActivityTaskQueueRequest\x1a>.temporal.api.workflowservice.v1.PollActivityTaskQueueResponse\"\x00\x12\x9b\x02\n\x1bRecordActivityTaskHeartbeat\x12\x43.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatRequest\x1a\x44.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatResponse\"q\x82\xd3\xe4\x93\x02k\",/namespaces/{namespace}/activities/heartbeat:\x01*Z8\"3/api/v1/namespaces/{namespace}/activities/heartbeat:\x01*\x12\xb3\x02\n\x1fRecordActivityTaskHeartbeatById\x12G.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatByIdRequest\x1aH.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatByIdResponse\"}\x82\xd3\xe4\x93\x02w\"2/namespaces/{namespace}/activities/heartbeat-by-id:\x01*Z>\"9/api/v1/namespaces/{namespace}/activities/heartbeat-by-id:\x01*\x12\x9c\x02\n\x1cRespondActivityTaskCompleted\x12\x44.temporal.api.workflowservice.v1.RespondActivityTaskCompletedRequest\x1a\x45.temporal.api.workflowservice.v1.RespondActivityTaskCompletedResponse\"o\x82\xd3\xe4\x93\x02i\"+/namespaces/{namespace}/activities/complete:\x01*Z7\"2/api/v1/namespaces/{namespace}/activities/complete:\x01*\x12\xb4\x02\n RespondActivityTaskCompletedById\x12H.temporal.api.workflowservice.v1.RespondActivityTaskCompletedByIdRequest\x1aI.temporal.api.workflowservice.v1.RespondActivityTaskCompletedByIdResponse\"{\x82\xd3\xe4\x93\x02u\"1/namespaces/{namespace}/activities/complete-by-id:\x01*Z=\"8/api/v1/namespaces/{namespace}/activities/complete-by-id:\x01*\x12\x8b\x02\n\x19RespondActivityTaskFailed\x12\x41.temporal.api.workflowservice.v1.RespondActivityTaskFailedRequest\x1a\x42.temporal.api.workflowservice.v1.RespondActivityTaskFailedResponse\"g\x82\xd3\xe4\x93\x02\x61\"\'/namespaces/{namespace}/activities/fail:\x01*Z3\"./api/v1/namespaces/{namespace}/activities/fail:\x01*\x12\xa3\x02\n\x1dRespondActivityTaskFailedById\x12\x45.temporal.api.workflowservice.v1.RespondActivityTaskFailedByIdRequest\x1a\x46.temporal.api.workflowservice.v1.RespondActivityTaskFailedByIdResponse\"s\x82\xd3\xe4\x93\x02m\"-/namespaces/{namespace}/activities/fail-by-id:\x01*Z9\"4/api/v1/namespaces/{namespace}/activities/fail-by-id:\x01*\x12\x95\x02\n\x1bRespondActivityTaskCanceled\x12\x43.temporal.api.workflowservice.v1.RespondActivityTaskCanceledRequest\x1a\x44.temporal.api.workflowservice.v1.RespondActivityTaskCanceledResponse\"k\x82\xd3\xe4\x93\x02\x65\")/namespaces/{namespace}/activities/cancel:\x01*Z5\"0/api/v1/namespaces/{namespace}/activities/cancel:\x01*\x12\xad\x02\n\x1fRespondActivityTaskCanceledById\x12G.temporal.api.workflowservice.v1.RespondActivityTaskCanceledByIdRequest\x1aH.temporal.api.workflowservice.v1.RespondActivityTaskCanceledByIdResponse\"w\x82\xd3\xe4\x93\x02q\"//namespaces/{namespace}/activities/cancel-by-id:\x01*Z;\"6/api/v1/namespaces/{namespace}/activities/cancel-by-id:\x01*\x12\xe0\x02\n\x1eRequestCancelWorkflowExecution\x12\x46.temporal.api.workflowservice.v1.RequestCancelWorkflowExecutionRequest\x1aG.temporal.api.workflowservice.v1.RequestCancelWorkflowExecutionResponse\"\xac\x01\x82\xd3\xe4\x93\x02\xa5\x01\"I/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/cancel:\x01*ZU\"P/api/v1/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/cancel:\x01*\x12\xe7\x02\n\x17SignalWorkflowExecution\x12?.temporal.api.workflowservice.v1.SignalWorkflowExecutionRequest\x1a@.temporal.api.workflowservice.v1.SignalWorkflowExecutionResponse\"\xc8\x01\x82\xd3\xe4\x93\x02\xc1\x01\"W/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/signal/{signal_name}:\x01*Zc\"^/api/v1/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/signal/{signal_name}:\x01*\x12\xf2\x02\n SignalWithStartWorkflowExecution\x12H.temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionRequest\x1aI.temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionResponse\"\xb8\x01\x82\xd3\xe4\x93\x02\xb1\x01\"O/namespaces/{namespace}/workflows/{workflow_id}/signal-with-start/{signal_name}:\x01*Z[\"V/api/v1/namespaces/{namespace}/workflows/{workflow_id}/signal-with-start/{signal_name}:\x01*\x12\xc6\x02\n\x16ResetWorkflowExecution\x12>.temporal.api.workflowservice.v1.ResetWorkflowExecutionRequest\x1a?.temporal.api.workflowservice.v1.ResetWorkflowExecutionResponse\"\xaa\x01\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\xda\x02\n\x1aTerminateWorkflowExecution\x12\x42.temporal.api.workflowservice.v1.TerminateWorkflowExecutionRequest\x1a\x43.temporal.api.workflowservice.v1.TerminateWorkflowExecutionResponse\"\xb2\x01\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\x9e\x01\n\x17\x44\x65leteWorkflowExecution\x12?.temporal.api.workflowservice.v1.DeleteWorkflowExecutionRequest\x1a@.temporal.api.workflowservice.v1.DeleteWorkflowExecutionResponse\"\x00\x12\xa7\x01\n\x1aListOpenWorkflowExecutions\x12\x42.temporal.api.workflowservice.v1.ListOpenWorkflowExecutionsRequest\x1a\x43.temporal.api.workflowservice.v1.ListOpenWorkflowExecutionsResponse\"\x00\x12\xad\x01\n\x1cListClosedWorkflowExecutions\x12\x44.temporal.api.workflowservice.v1.ListClosedWorkflowExecutionsRequest\x1a\x45.temporal.api.workflowservice.v1.ListClosedWorkflowExecutionsResponse\"\x00\x12\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\x95\x01\n\x14ResetStickyTaskQueue\x12<.temporal.api.workflowservice.v1.ResetStickyTaskQueueRequest\x1a=.temporal.api.workflowservice.v1.ResetStickyTaskQueueResponse\"\x00\x12\x83\x01\n\x0eShutdownWorker\x12\x36.temporal.api.workflowservice.v1.ShutdownWorkerRequest\x1a\x37.temporal.api.workflowservice.v1.ShutdownWorkerResponse\"\x00\x12\xbf\x02\n\rQueryWorkflow\x12\x35.temporal.api.workflowservice.v1.QueryWorkflowRequest\x1a\x36.temporal.api.workflowservice.v1.QueryWorkflowResponse\"\xbe\x01\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\xaa\x02\n\x19\x44\x65scribeWorkflowExecution\x12\x41.temporal.api.workflowservice.v1.DescribeWorkflowExecutionRequest\x1a\x42.temporal.api.workflowservice.v1.DescribeWorkflowExecutionResponse\"\x85\x01\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\x89\x02\n\x11\x44\x65scribeTaskQueue\x12\x39.temporal.api.workflowservice.v1.DescribeTaskQueueRequest\x1a:.temporal.api.workflowservice.v1.DescribeTaskQueueResponse\"}\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\xf4\x01\n\x0e\x44\x65leteSchedule\x12\x36.temporal.api.workflowservice.v1.DeleteScheduleRequest\x1a\x37.temporal.api.workflowservice.v1.DeleteScheduleResponse\"q\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\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\xc3\x02\n\x1f\x44\x65scribeWorkerDeploymentVersion\x12G.temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionRequest\x1aH.temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionResponse\"\x8c\x01\x82\xd3\xe4\x93\x02\x85\x01\x12.temporal.api.workflowservice.v1.DeleteWorkerDeploymentRequest\x1a?.temporal.api.workflowservice.v1.DeleteWorkerDeploymentResponse\"\x8c\x01\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\xfb\x02\n%UpdateWorkerDeploymentVersionMetadata\x12M.temporal.api.workflowservice.v1.UpdateWorkerDeploymentVersionMetadataRequest\x1aN.temporal.api.workflowservice.v1.UpdateWorkerDeploymentVersionMetadataResponse\"\xb2\x01\x82\xd3\xe4\x93\x02\xab\x01\"L/namespaces/{namespace}/worker-deployment-versions/{version}/update-metadata:\x01*ZX\"S/api/v1/namespaces/{namespace}/worker-deployment-versions/{version}/update-metadata:\x01*\x12\xf5\x02\n\x17UpdateWorkflowExecution\x12?.temporal.api.workflowservice.v1.UpdateWorkflowExecutionRequest\x1a@.temporal.api.workflowservice.v1.UpdateWorkflowExecutionResponse\"\xd6\x01\x82\xd3\xe4\x93\x02\xcf\x01\"^/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/update/{request.input.name}:\x01*Zj\"e/api/v1/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/update/{request.input.name}:\x01*\x12\xaa\x01\n\x1bPollWorkflowExecutionUpdate\x12\x43.temporal.api.workflowservice.v1.PollWorkflowExecutionUpdateRequest\x1a\x44.temporal.api.workflowservice.v1.PollWorkflowExecutionUpdateResponse\"\x00\x12\x8d\x02\n\x13StartBatchOperation\x12;.temporal.api.workflowservice.v1.StartBatchOperationRequest\x1a<.temporal.api.workflowservice.v1.StartBatchOperationResponse\"{\x82\xd3\xe4\x93\x02u\"1/namespaces/{namespace}/batch-operations/{job_id}:\x01*Z=\"8/api/v1/namespaces/{namespace}/batch-operations/{job_id}:\x01*\x12\x95\x02\n\x12StopBatchOperation\x12:.temporal.api.workflowservice.v1.StopBatchOperationRequest\x1a;.temporal.api.workflowservice.v1.StopBatchOperationResponse\"\x85\x01\x82\xd3\xe4\x93\x02\x7f\"6/namespaces/{namespace}/batch-operations/{job_id}/stop:\x01*ZB\"=/api/v1/namespaces/{namespace}/batch-operations/{job_id}/stop:\x01*\x12\x90\x02\n\x16\x44\x65scribeBatchOperation\x12>.temporal.api.workflowservice.v1.DescribeBatchOperationRequest\x1a?.temporal.api.workflowservice.v1.DescribeBatchOperationResponse\"u\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\x93\x02\n\x15UpdateActivityOptions\x12=.temporal.api.workflowservice.v1.UpdateActivityOptionsRequest\x1a>.temporal.api.workflowservice.v1.UpdateActivityOptionsResponse\"{\x82\xd3\xe4\x93\x02u\"1/namespaces/{namespace}/activities/update-options:\x01*Z=\"8/api/v1/namespaces/{namespace}/activities/update-options:\x01*\x12\xf0\x02\n\x1eUpdateWorkflowExecutionOptions\x12\x46.temporal.api.workflowservice.v1.UpdateWorkflowExecutionOptionsRequest\x1aG.temporal.api.workflowservice.v1.UpdateWorkflowExecutionOptionsResponse\"\xbc\x01\x82\xd3\xe4\x93\x02\xb5\x01\"Q/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/update-options:\x01*Z]\"X/api/v1/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/update-options:\x01*\x12\xe9\x01\n\rPauseActivity\x12\x35.temporal.api.workflowservice.v1.PauseActivityRequest\x1a\x36.temporal.api.workflowservice.v1.PauseActivityResponse\"i\x82\xd3\xe4\x93\x02\x63\"(/namespaces/{namespace}/activities/pause:\x01*Z4\"//api/v1/namespaces/{namespace}/activities/pause:\x01*\x12\xf3\x01\n\x0fUnpauseActivity\x12\x37.temporal.api.workflowservice.v1.UnpauseActivityRequest\x1a\x38.temporal.api.workflowservice.v1.UnpauseActivityResponse\"m\x82\xd3\xe4\x93\x02g\"*/namespaces/{namespace}/activities/unpause:\x01*Z6\"1/api/v1/namespaces/{namespace}/activities/unpause:\x01*\x12\xe9\x01\n\rResetActivity\x12\x35.temporal.api.workflowservice.v1.ResetActivityRequest\x1a\x36.temporal.api.workflowservice.v1.ResetActivityResponse\"i\x82\xd3\xe4\x93\x02\x63\"(/namespaces/{namespace}/activities/reset:\x01*Z4\"//api/v1/namespaces/{namespace}/activities/reset:\x01*\x12\xf4\x01\n\x12\x43reateWorkflowRule\x12:.temporal.api.workflowservice.v1.CreateWorkflowRuleRequest\x1a;.temporal.api.workflowservice.v1.CreateWorkflowRuleResponse\"e\x82\xd3\xe4\x93\x02_\"&/namespaces/{namespace}/workflow-rules:\x01*Z2\"-/api/v1/namespaces/{namespace}/workflow-rules:\x01*\x12\x88\x02\n\x14\x44\x65scribeWorkflowRule\x12<.temporal.api.workflowservice.v1.DescribeWorkflowRuleRequest\x1a=.temporal.api.workflowservice.v1.DescribeWorkflowRuleResponse\"s\x82\xd3\xe4\x93\x02m\x12\x30/namespaces/{namespace}/workflow-rules/{rule_id}Z9\x12\x37/api/v1/namespaces/{namespace}/workflow-rules/{rule_id}\x12\x82\x02\n\x12\x44\x65leteWorkflowRule\x12:.temporal.api.workflowservice.v1.DeleteWorkflowRuleRequest\x1a;.temporal.api.workflowservice.v1.DeleteWorkflowRuleResponse\"s\x82\xd3\xe4\x93\x02m*0/namespaces/{namespace}/workflow-rules/{rule_id}Z9*7/api/v1/namespaces/{namespace}/workflow-rules/{rule_id}\x12\xeb\x01\n\x11ListWorkflowRules\x12\x39.temporal.api.workflowservice.v1.ListWorkflowRulesRequest\x1a:.temporal.api.workflowservice.v1.ListWorkflowRulesResponse\"_\x82\xd3\xe4\x93\x02Y\x12&/namespaces/{namespace}/workflow-rulesZ/\x12-/api/v1/namespaces/{namespace}/workflow-rules\x12\xb9\x02\n\x13TriggerWorkflowRule\x12;.temporal.api.workflowservice.v1.TriggerWorkflowRuleRequest\x1a<.temporal.api.workflowservice.v1.TriggerWorkflowRuleResponse\"\xa6\x01\x82\xd3\xe4\x93\x02\x9f\x01\"F/namespaces/{namespace}/workflows/{execution.workflow_id}/trigger-rule:\x01*ZR\"M/api/v1/namespaces/{namespace}/workflows/{execution.workflow_id}/trigger-rule:\x01*B\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 3acb9d26..9dc9eba5 100644 --- a/lib/gen/temporal/api/workflowservice/v1/service_services_pb.rb +++ b/lib/gen/temporal/api/workflowservice/v1/service_services_pb.rb @@ -64,17 +64,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,6 +80,16 @@ 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. + # + # NOTE: Experimental API. + 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 @@ -95,6 +103,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 +113,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 +126,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,6 +142,9 @@ 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. # @@ -214,30 +234,45 @@ 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. + # + # 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 +281,190 @@ 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 + # 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 + # 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 + # 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 +474,90 @@ 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. + 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 + 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 + 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. + 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 end Stub = Service.rpc_stub_class From 7de80acc56227e28adad714ab30647562e1db260 Mon Sep 17 00:00:00 2001 From: Jeff Schoner Date: Sat, 26 Apr 2025 15:16:43 -0700 Subject: [PATCH 3/5] Fix some tests for Ruby 3.4+ --- lib/temporal/connection/grpc.rb | 4 ++-- spec/unit/lib/temporal/grpc_spec.rb | 10 ++++++---- spec/unit/lib/temporal/workflow/context_spec.rb | 6 ++++-- .../lib/temporal/workflow/stack_trace_tracker_spec.rb | 3 ++- 4 files changed, 14 insertions(+), 9 deletions(-) diff --git a/lib/temporal/connection/grpc.rb b/lib/temporal/connection/grpc.rb index f35d2dc3..2b2fd5f2 100644 --- a/lib/temporal/connection/grpc.rb +++ b/lib/temporal/connection/grpc.rb @@ -523,11 +523,11 @@ def count_workflow_executions(namespace:, query:) end def add_custom_search_attributes(attributes, namespace) - attributes.each_value do |symbol_type| + attributes.each do |attribute_name, symbol_type| next if SYMBOL_TO_INDEXED_VALUE_TYPE.include?(symbol_type) raise Temporal::InvalidSearchAttributeTypeFailure, - "Cannot add search attributes (#{attributes}): unknown search attribute type :#{symbol_type}, supported types: #{SYMBOL_TO_INDEXED_VALUE_TYPE.keys}" + "Cannot add search attribute #{attribute_name}: unknown search attribute type :#{symbol_type}, supported types: #{SYMBOL_TO_INDEXED_VALUE_TYPE.keys}" end request = Temporalio::Api::OperatorService::V1::AddSearchAttributesRequest.new( diff --git a/spec/unit/lib/temporal/grpc_spec.rb b/spec/unit/lib/temporal/grpc_spec.rb index 5639a0e9..26fbacf7 100644 --- a/spec/unit/lib/temporal/grpc_spec.rb +++ b/spec/unit/lib/temporal/grpc_spec.rb @@ -667,25 +667,26 @@ 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 subject.poll_activity_task_queue(namespace: namespace, task_queue: task_queue) - expect(grpc_stub).to have_received(:poll_activity_task_queue) do |request| + expect(grpc_stub).to have_received(:poll_activity_task_queue) do |request, kwargs| expect(request).to be_an_instance_of(Temporalio::Api::WorkflowService::V1::PollActivityTaskQueueRequest) expect(request.namespace).to eq(namespace) expect(request.task_queue.name).to eq(task_queue) expect(request.identity).to eq(identity) expect(request.task_queue_metadata).to be_nil + expect(kwargs[:return_op]).to be(true) end end it 'makes an API request with max_tasks_per_second in the metadata' do subject.poll_activity_task_queue(namespace: namespace, task_queue: task_queue, max_tasks_per_second: 10) - expect(grpc_stub).to have_received(:poll_activity_task_queue) do |request| + expect(grpc_stub).to have_received(:poll_activity_task_queue) do |request, kwargs| expect(request).to be_an_instance_of(Temporalio::Api::WorkflowService::V1::PollActivityTaskQueueRequest) expect(request.namespace).to eq(namespace) expect(request.task_queue.name).to eq(task_queue) @@ -693,6 +694,7 @@ expect(request.task_queue_metadata).to_not be_nil expect(request.task_queue_metadata.max_tasks_per_second).to_not be_nil expect(request.task_queue_metadata.max_tasks_per_second.value).to eq(10) + expect(kwargs[:return_op]).to be(true) end end end @@ -783,7 +785,7 @@ namespace ) end.to raise_error(Temporal::InvalidSearchAttributeTypeFailure) do |e| - expect(e.to_s).to eq('Cannot add search attributes ({"SomeBadField"=>:foo}): unknown search attribute type :foo, supported types: [:text, :keyword, :int, :double, :bool, :datetime, :keyword_list]') + expect(e.to_s).to eq('Cannot add search attribute SomeBadField: unknown search attribute type :foo, supported types: [:text, :keyword, :int, :double, :bool, :datetime, :keyword_list]') end end end diff --git a/spec/unit/lib/temporal/workflow/context_spec.rb b/spec/unit/lib/temporal/workflow/context_spec.rb index 05a61282..00f1e189 100644 --- a/spec/unit/lib/temporal/workflow/context_spec.rb +++ b/spec/unit/lib/temporal/workflow/context_spec.rb @@ -419,7 +419,8 @@ def wait_for_any stack_trace = query_registry.handle(Temporal::Workflow::StackTraceTracker::STACK_TRACE_QUERY_NAME) expect(stack_trace).to start_with('Fiber count: 1') - expect(stack_trace).to include('block in wait_for_any') + # Different versions of Ruby format blocks in stack traces differently + expect(stack_trace).to match('block in.*wait_for_any') end it 'cleared after unblocked' do @@ -488,7 +489,8 @@ def wait_until(&blk) stack_trace = query_registry.handle(Temporal::Workflow::StackTraceTracker::STACK_TRACE_QUERY_NAME) expect(stack_trace).to start_with('Fiber count: 1') - expect(stack_trace).to include('block in wait_until') + # Different versions of Ruby format blocks in stack traces differently + expect(stack_trace).to match('block in.*wait_until') end it 'cleared after unblocked' do diff --git a/spec/unit/lib/temporal/workflow/stack_trace_tracker_spec.rb b/spec/unit/lib/temporal/workflow/stack_trace_tracker_spec.rb index 5db23fb7..9b96200c 100644 --- a/spec/unit/lib/temporal/workflow/stack_trace_tracker_spec.rb +++ b/spec/unit/lib/temporal/workflow/stack_trace_tracker_spec.rb @@ -50,7 +50,8 @@ def record_two_function expect(first_stack).to include("record_two_function") second_stack = stack_traces[2] - expect(second_stack).to include("block in record_two_function") + # Different versions of Ruby format blocks in stack traces differently + expect(second_stack).to match("block in.*record_two_function") end end end \ No newline at end of file From 02f09b28c3e83e6f44d6cab6bd190c32e5639672 Mon Sep 17 00:00:00 2001 From: Jeff Schoner Date: Sat, 26 Apr 2025 15:28:44 -0700 Subject: [PATCH 4/5] Use logger gem This will be removed from the standard library in Ruby 3.5 --- Gemfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Gemfile b/Gemfile index a98c51b0..3dbec435 100644 --- a/Gemfile +++ b/Gemfile @@ -1,5 +1,6 @@ source 'https://rubygems.org' gem 'google-protobuf', '~> 3.19' +gem 'logger' gemspec From a2106c023f47006b8b4fb9ea705a995de67e7dae Mon Sep 17 00:00:00 2001 From: Jeff Schoner Date: Sat, 26 Apr 2025 16:12:48 -0700 Subject: [PATCH 5/5] Priority keys --- examples/bin/worker | 1 + .../integration/priority_workflow_spec.rb | 21 ++++++++++++++ examples/workflows/priority_workflow.rb | 7 +++++ lib/temporal/client.rb | 9 ++++-- lib/temporal/connection/grpc.rb | 12 ++++++-- .../serializer/schedule_activity.rb | 5 +++- .../serializer/start_child_workflow.rb | 3 ++ lib/temporal/workflow/command.rb | 4 +-- lib/temporal/workflow/context.rb | 4 ++- lib/temporal/workflow/execution_info.rb | 5 ++-- .../workflow_execution_info_fabricator.rb | 1 + spec/unit/lib/temporal/client_spec.rb | 29 +++++++++++++------ .../serializer/start_child_workflow_spec.rb | 2 ++ spec/unit/lib/temporal/grpc_spec.rb | 2 ++ .../lib/temporal/workflow/context_spec.rb | 15 ++++++++++ .../temporal/workflow/execution_info_spec.rb | 1 + 16 files changed, 102 insertions(+), 19 deletions(-) create mode 100644 examples/spec/integration/priority_workflow_spec.rb create mode 100644 examples/workflows/priority_workflow.rb diff --git a/examples/bin/worker b/examples/bin/worker index be6f2b97..442011ec 100755 --- a/examples/bin/worker +++ b/examples/bin/worker @@ -54,6 +54,7 @@ worker.register_workflow(MetadataWorkflow) worker.register_workflow(ParentCloseWorkflow) worker.register_workflow(ParentIdReuseWorkflow) worker.register_workflow(ParentWorkflow) +worker.register_workflow(PriorityWorkflow) worker.register_workflow(ProcessFileWorkflow) worker.register_workflow(QueryWorkflow) worker.register_workflow(QuickTimeoutWorkflow) diff --git a/examples/spec/integration/priority_workflow_spec.rb b/examples/spec/integration/priority_workflow_spec.rb new file mode 100644 index 00000000..262ae90c --- /dev/null +++ b/examples/spec/integration/priority_workflow_spec.rb @@ -0,0 +1,21 @@ +require 'workflows/priority_workflow' + +describe PriorityWorkflow do + subject { described_class } + + it 'executes with priority' do + workflow_id = SecureRandom.uuid + run_id = Temporal.start_workflow( + PriorityWorkflow, + true, + options: { workflow_id: workflow_id, priority_key: 4 }, + ) + Temporal.await_workflow_result( + PriorityWorkflow, + workflow_id: workflow_id, + run_id: run_id, + ) + execution_info = Temporal.fetch_workflow_execution_info('ruby-samples', workflow_id, run_id) + expect(execution_info.priority_key).to eq(4) + end +end diff --git a/examples/workflows/priority_workflow.rb b/examples/workflows/priority_workflow.rb new file mode 100644 index 00000000..aaae1554 --- /dev/null +++ b/examples/workflows/priority_workflow.rb @@ -0,0 +1,7 @@ +require 'activities/hello_world_activity' + +class PriorityWorkflow < Temporal::Workflow + def execute(important = false) + return HelloWorldActivity.execute!('somebody', options: { priority_key: important ? 1 : 5 }) + end +end diff --git a/lib/temporal/client.rb b/lib/temporal/client.rb index c2e83e1f..78ba4982 100644 --- a/lib/temporal/client.rb +++ b/lib/temporal/client.rb @@ -42,6 +42,7 @@ def initialize(config) # @option options [Hash] :headers # @option options [Hash] :search_attributes # @option options [Integer] :start_delay determines the amount of seconds to wait before initiating a Workflow + # @option options [Integer] :priority_key # # @return [String] workflow's run ID def start_workflow(workflow, *input, options: {}, **args) @@ -68,7 +69,8 @@ def start_workflow(workflow, *input, options: {}, **args) headers: config.header_propagator_chain.inject(execution_options.headers), memo: execution_options.memo, search_attributes: Workflow::Context::Helpers.process_search_attributes(execution_options.search_attributes), - start_delay: execution_options.start_delay + start_delay: execution_options.start_delay, + priority_key: options[:priority_key] ) else raise ArgumentError, 'If signal_input is provided, you must also provide signal_name' if signal_name.nil? @@ -88,7 +90,8 @@ def start_workflow(workflow, *input, options: {}, **args) search_attributes: Workflow::Context::Helpers.process_search_attributes(execution_options.search_attributes), signal_name: signal_name, signal_input: signal_input, - start_delay: execution_options.start_delay + start_delay: execution_options.start_delay, + priority_key: options[:priority_key] ) end @@ -112,6 +115,7 @@ def start_workflow(workflow, *input, options: {}, **args) # @option options [Hash] :timeouts check Temporal::Configuration::DEFAULT_TIMEOUTS # @option options [Hash] :headers # @option options [Hash] :search_attributes + # @option options [Integer] :priority_key # # @return [String] workflow's run ID def schedule_workflow(workflow, cron_schedule, *input, options: {}, **args) @@ -137,6 +141,7 @@ def schedule_workflow(workflow, cron_schedule, *input, options: {}, **args) cron_schedule: cron_schedule, memo: execution_options.memo, search_attributes: Workflow::Context::Helpers.process_search_attributes(execution_options.search_attributes), + priority_key: options[:priority_key] ) response.run_id diff --git a/lib/temporal/connection/grpc.rb b/lib/temporal/connection/grpc.rb index 2b2fd5f2..1180fa83 100644 --- a/lib/temporal/connection/grpc.rb +++ b/lib/temporal/connection/grpc.rb @@ -121,7 +121,8 @@ def start_workflow_execution( cron_schedule: nil, memo: nil, search_attributes: nil, - start_delay: nil + start_delay: nil, + priority_key: nil ) request = Temporalio::Api::WorkflowService::V1::StartWorkflowExecutionRequest.new( identity: identity, @@ -149,6 +150,9 @@ def start_workflow_execution( ), search_attributes: Temporalio::Api::Common::V1::SearchAttributes.new( indexed_fields: converter.to_payload_map_without_codec(search_attributes || {}) + ), + priority: priority_key.nil? ? nil : Temporalio::Api::Common::V1::Priority.new( + priority_key: priority_key ) ) @@ -382,7 +386,8 @@ def signal_with_start_workflow_execution( cron_schedule: nil, memo: nil, search_attributes: nil, - start_delay: nil + start_delay: nil, + priority_key: nil ) proto_header_fields = if headers.nil? converter.to_payload_map({}) @@ -422,6 +427,9 @@ def signal_with_start_workflow_execution( ), search_attributes: Temporalio::Api::Common::V1::SearchAttributes.new( indexed_fields: converter.to_payload_map_without_codec(search_attributes || {}) + ), + priority: priority_key.nil? ? nil : Temporalio::Api::Common::V1::Priority.new( + priority_key: priority_key ) ) diff --git a/lib/temporal/connection/serializer/schedule_activity.rb b/lib/temporal/connection/serializer/schedule_activity.rb index b3640639..bca4b21c 100644 --- a/lib/temporal/connection/serializer/schedule_activity.rb +++ b/lib/temporal/connection/serializer/schedule_activity.rb @@ -19,7 +19,10 @@ def to_proto start_to_close_timeout: object.timeouts[:start_to_close], heartbeat_timeout: object.timeouts[:heartbeat], retry_policy: Temporal::Connection::Serializer::RetryPolicy.new(object.retry_policy, converter).to_proto, - header: serialize_headers(object.headers) + header: serialize_headers(object.headers), + priority: object.priority_key.nil? ? nil : Temporalio::Api::Common::V1::Priority.new( + priority_key: object.priority_key + ) ) ) end diff --git a/lib/temporal/connection/serializer/start_child_workflow.rb b/lib/temporal/connection/serializer/start_child_workflow.rb index dcb2fbf0..97572b5b 100644 --- a/lib/temporal/connection/serializer/start_child_workflow.rb +++ b/lib/temporal/connection/serializer/start_child_workflow.rb @@ -32,6 +32,9 @@ def to_proto memo: serialize_memo(object.memo), workflow_id_reuse_policy: Temporal::Connection::Serializer::WorkflowIdReusePolicy.new(object.workflow_id_reuse_policy, converter).to_proto, search_attributes: serialize_search_attributes(object.search_attributes), + priority: object.priority_key.nil? ? nil : Temporalio::Api::Common::V1::Priority.new( + priority_key: object.priority_key + ) ) ) end diff --git a/lib/temporal/workflow/command.rb b/lib/temporal/workflow/command.rb index 9d33aaea..0fb9d437 100644 --- a/lib/temporal/workflow/command.rb +++ b/lib/temporal/workflow/command.rb @@ -2,8 +2,8 @@ module Temporal class Workflow module Command # TODO: Move these classes into their own directories under workflow/command/* - ScheduleActivity = Struct.new(:activity_type, :activity_id, :input, :task_queue, :retry_policy, :timeouts, :headers, keyword_init: true) - StartChildWorkflow = Struct.new(:workflow_type, :workflow_id, :input, :namespace, :task_queue, :retry_policy, :parent_close_policy, :timeouts, :headers, :cron_schedule, :memo, :workflow_id_reuse_policy, :search_attributes, keyword_init: true) + ScheduleActivity = Struct.new(:activity_type, :activity_id, :input, :task_queue, :retry_policy, :timeouts, :headers, :priority_key, keyword_init: true) + StartChildWorkflow = Struct.new(:workflow_type, :workflow_id, :input, :namespace, :task_queue, :retry_policy, :parent_close_policy, :timeouts, :headers, :cron_schedule, :memo, :workflow_id_reuse_policy, :search_attributes, :priority_key, keyword_init: true) ContinueAsNew = Struct.new(:workflow_type, :task_queue, :input, :timeouts, :retry_policy, :headers, :memo, :search_attributes, keyword_init: true) RequestActivityCancellation = Struct.new(:activity_id, keyword_init: true) RecordMarker = Struct.new(:name, :details, keyword_init: true) diff --git a/lib/temporal/workflow/context.rb b/lib/temporal/workflow/context.rb index 07b917a2..ff338a0d 100644 --- a/lib/temporal/workflow/context.rb +++ b/lib/temporal/workflow/context.rb @@ -88,7 +88,8 @@ def execute_activity(activity_class, *input, **args) task_queue: execution_options.task_queue, retry_policy: execution_options.retry_policy, timeouts: execution_options.timeouts, - headers: config.header_propagator_chain.inject(execution_options.headers) + headers: config.header_propagator_chain.inject(execution_options.headers), + priority_key: options[:priority_key] ) target, cancelation_id = schedule_command(command) @@ -150,6 +151,7 @@ def execute_workflow(workflow_class, *input, **args) memo: execution_options.memo, workflow_id_reuse_policy: workflow_id_reuse_policy, search_attributes: Helpers.process_search_attributes(execution_options.search_attributes), + priority_key: options[:priority_key] ) target, cancelation_id = schedule_command(command) diff --git a/lib/temporal/workflow/execution_info.rb b/lib/temporal/workflow/execution_info.rb index 77a27332..4f5adeed 100644 --- a/lib/temporal/workflow/execution_info.rb +++ b/lib/temporal/workflow/execution_info.rb @@ -3,7 +3,7 @@ module Temporal class Workflow class ExecutionInfo < Struct.new(:workflow, :workflow_id, :run_id, :start_time, :close_time, :status, - :history_length, :memo, :search_attributes, keyword_init: true) + :history_length, :memo, :search_attributes, :priority_key, keyword_init: true) STATUSES = [ Temporal::Workflow::Status::RUNNING, Temporal::Workflow::Status::COMPLETED, @@ -25,7 +25,8 @@ def self.generate_from(response, converter) status: Temporal::Workflow::Status::API_STATUS_MAP.fetch(response.status), history_length: response.history_length, memo: converter.from_payload_map(response.memo.fields), - search_attributes: search_attributes + search_attributes: search_attributes, + priority_key: response.priority&.priority_key ).freeze end diff --git a/spec/fabricators/grpc/workflow_execution_info_fabricator.rb b/spec/fabricators/grpc/workflow_execution_info_fabricator.rb index efba5cea..a812463b 100644 --- a/spec/fabricators/grpc/workflow_execution_info_fabricator.rb +++ b/spec/fabricators/grpc/workflow_execution_info_fabricator.rb @@ -9,4 +9,5 @@ history_length { rand(100) } memo { Fabricate(:memo) } search_attributes { Fabricate(:search_attributes) } + priority { Temporalio::Api::Common::V1::Priority.new(priority_key: 5)} end diff --git a/spec/unit/lib/temporal/client_spec.rb b/spec/unit/lib/temporal/client_spec.rb index 31dc4a78..f5289700 100644 --- a/spec/unit/lib/temporal/client_spec.rb +++ b/spec/unit/lib/temporal/client_spec.rb @@ -65,7 +65,8 @@ def inject!(header) headers: { 'test' => 'asdf' }, memo: {}, search_attributes: {}, - start_delay: 0 + start_delay: 0, + priority_key: nil ) end end @@ -95,7 +96,9 @@ def inject!(header) headers: {}, memo: {}, search_attributes: {}, - start_delay: 0 + start_delay: 0, + priority_key: nil + ) end @@ -111,7 +114,8 @@ def inject!(header) workflow_id_reuse_policy: :reject, memo: { 'MemoKey1' => 'MemoValue1' }, search_attributes: { 'SearchAttribute1' => 256 }, - start_delay: 10 + start_delay: 10, + priority_key: 3 } ) @@ -130,7 +134,8 @@ def inject!(header) headers: { 'Foo' => 'Bar' }, memo: { 'MemoKey1' => 'MemoValue1' }, search_attributes: { 'SearchAttribute1' => 256 }, - start_delay: 10 + start_delay: 10, + priority_key: 3 ) end @@ -158,7 +163,8 @@ def inject!(header) headers: {}, memo: {}, search_attributes: {}, - start_delay: 0 + start_delay: 0, + priority_key: nil ) end @@ -180,7 +186,8 @@ def inject!(header) headers: {}, memo: {}, search_attributes: {}, - start_delay: 0 + start_delay: 0, + priority_key: nil ) end @@ -204,7 +211,8 @@ def inject!(header) headers: {}, memo: {}, search_attributes: {}, - start_delay: 0 + start_delay: 0, + priority_key: nil ) end end @@ -232,7 +240,8 @@ def inject!(header) headers: {}, memo: {}, search_attributes: {}, - start_delay: 0 + start_delay: 0, + priority_key: nil ) end end @@ -263,7 +272,8 @@ def expect_signal_with_start(expected_arguments, expected_signal_argument) search_attributes: {}, signal_name: 'the question', signal_input: expected_signal_argument, - start_delay: 0 + start_delay: 0, + priority_key: nil ) end @@ -344,6 +354,7 @@ def expect_signal_with_start(expected_arguments, expected_signal_argument) memo: {}, search_attributes: {}, headers: {}, + priority_key: nil ) end end diff --git a/spec/unit/lib/temporal/connection/serializer/start_child_workflow_spec.rb b/spec/unit/lib/temporal/connection/serializer/start_child_workflow_spec.rb index ae26f88f..575167c4 100644 --- a/spec/unit/lib/temporal/connection/serializer/start_child_workflow_spec.rb +++ b/spec/unit/lib/temporal/connection/serializer/start_child_workflow_spec.rb @@ -21,6 +21,7 @@ headers: nil, memo: {}, search_attributes: {}, + priority_key: 4 ) end @@ -49,6 +50,7 @@ result = described_class.new(command, converter).to_proto attribs = result.start_child_workflow_execution_command_attributes expect(attribs.parent_close_policy).to eq(expected_parent_close_policy) + expect(attribs.priority.priority_key).to eq(4) end end end diff --git a/spec/unit/lib/temporal/grpc_spec.rb b/spec/unit/lib/temporal/grpc_spec.rb index 26fbacf7..5f910be6 100644 --- a/spec/unit/lib/temporal/grpc_spec.rb +++ b/spec/unit/lib/temporal/grpc_spec.rb @@ -79,6 +79,7 @@ 'foo-datetime-attribute' => datetime_attribute_value.utc.iso8601, }, workflow_id_reuse_policy: :reject, + priority_key: 2 ) expect(grpc_stub).to have_received(:start_workflow_execution) do |request| @@ -100,6 +101,7 @@ 'foo-bool-attribute' => Temporalio::Api::Common::V1::Payload.new(data: 'false', metadata: { 'encoding' => 'json/plain' }), 'foo-datetime-attribute' => Temporalio::Api::Common::V1::Payload.new(data: "\"#{datetime_attribute_value.utc.iso8601}\"", metadata: { 'encoding' => 'json/plain' }), }) + expect(request.priority.priority_key).to eq(2) end end diff --git a/spec/unit/lib/temporal/workflow/context_spec.rb b/spec/unit/lib/temporal/workflow/context_spec.rb index 00f1e189..084c8ada 100644 --- a/spec/unit/lib/temporal/workflow/context_spec.rb +++ b/spec/unit/lib/temporal/workflow/context_spec.rb @@ -95,6 +95,21 @@ def inject!(header) workflow_context.execute_activity(MyTestActivity) end end + + it "sets priority key" do + expect(state_manager).to receive(:schedule).with(Temporal::Workflow::Command::ScheduleActivity.new( + activity_id: nil, + activity_type: 'MyTestActivity', + input: [], + task_queue: 'default-task-queue', + retry_policy: nil, + timeouts: {execution: 315360000, run: 315360000, task: 10, schedule_to_close: nil, schedule_to_start: nil, start_to_close: 30, heartbeat: nil, default_heartbeat_throttle_interval: 30, max_heartbeat_throttle_interval: 60}, + headers: {}, + priority_key: 1 + )) + allow(dispatcher).to receive(:register_handler) + workflow_context.execute_activity(MyTestActivity, options: { priority_key: 1 }) + end end describe '#execute_local_activity' do diff --git a/spec/unit/lib/temporal/workflow/execution_info_spec.rb b/spec/unit/lib/temporal/workflow/execution_info_spec.rb index 6bef7b2d..1488b9db 100644 --- a/spec/unit/lib/temporal/workflow/execution_info_spec.rb +++ b/spec/unit/lib/temporal/workflow/execution_info_spec.rb @@ -22,6 +22,7 @@ expect(subject.history_length).to eq(api_info.history_length) expect(subject.memo).to eq({ 'foo' => 'bar' }) expect(subject.search_attributes).to eq({ 'foo' => 'bar' }) + expect(subject.priority_key).to eq(5) end it 'freezes the info' do