temporal-ruby 0.0.0 → 0.0.1.pre.pre1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (102) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +19 -42
  3. data/lib/gen/temporal/api/command/v1/message_pb.rb +146 -0
  4. data/lib/gen/temporal/api/common/v1/message_pb.rb +67 -0
  5. data/lib/gen/temporal/api/enums/v1/command_type_pb.rb +35 -0
  6. data/lib/gen/temporal/api/enums/v1/common_pb.rb +34 -0
  7. data/lib/gen/temporal/api/enums/v1/event_type_pb.rb +62 -0
  8. data/lib/gen/temporal/api/enums/v1/failed_cause_pb.rb +60 -0
  9. data/lib/gen/temporal/api/enums/v1/namespace_pb.rb +31 -0
  10. data/lib/gen/temporal/api/enums/v1/query_pb.rb +31 -0
  11. data/lib/gen/temporal/api/enums/v1/task_queue_pb.rb +30 -0
  12. data/lib/gen/temporal/api/enums/v1/workflow_pb.rb +82 -0
  13. data/lib/gen/temporal/api/errordetails/v1/message_pb.rb +55 -0
  14. data/lib/gen/temporal/api/failure/v1/message_pb.rb +81 -0
  15. data/lib/gen/temporal/api/filter/v1/message_pb.rb +38 -0
  16. data/lib/gen/temporal/api/history/v1/message_pb.rb +423 -0
  17. data/lib/gen/temporal/api/namespace/v1/message_pb.rb +55 -0
  18. data/lib/gen/temporal/api/query/v1/message_pb.rb +36 -0
  19. data/lib/gen/temporal/api/replication/v1/message_pb.rb +27 -0
  20. data/lib/gen/temporal/api/taskqueue/v1/message_pb.rb +60 -0
  21. data/lib/gen/temporal/api/version/v1/message_pb.rb +28 -0
  22. data/lib/gen/temporal/api/workflow/v1/message_pb.rb +83 -0
  23. data/lib/gen/temporal/api/workflowservice/v1/request_response_pb.rb +538 -0
  24. data/lib/gen/temporal/api/workflowservice/v1/service_pb.rb +19 -0
  25. data/lib/gen/temporal/api/workflowservice/v1/service_services_pb.rb +223 -0
  26. data/lib/temporal-ruby.rb +1 -0
  27. data/lib/temporal.rb +137 -0
  28. data/lib/temporal/activity.rb +33 -0
  29. data/lib/temporal/activity/async_token.rb +34 -0
  30. data/lib/temporal/activity/context.rb +64 -0
  31. data/lib/temporal/activity/poller.rb +79 -0
  32. data/lib/temporal/activity/task_processor.rb +78 -0
  33. data/lib/temporal/activity/workflow_convenience_methods.rb +41 -0
  34. data/lib/temporal/client.rb +21 -0
  35. data/lib/temporal/client/errors.rb +8 -0
  36. data/lib/temporal/client/grpc_client.rb +345 -0
  37. data/lib/temporal/client/serializer.rb +31 -0
  38. data/lib/temporal/client/serializer/base.rb +23 -0
  39. data/lib/temporal/client/serializer/cancel_timer.rb +19 -0
  40. data/lib/temporal/client/serializer/complete_workflow.rb +20 -0
  41. data/lib/temporal/client/serializer/fail_workflow.rb +20 -0
  42. data/lib/temporal/client/serializer/failure.rb +29 -0
  43. data/lib/temporal/client/serializer/payload.rb +25 -0
  44. data/lib/temporal/client/serializer/record_marker.rb +23 -0
  45. data/lib/temporal/client/serializer/request_activity_cancellation.rb +19 -0
  46. data/lib/temporal/client/serializer/schedule_activity.rb +53 -0
  47. data/lib/temporal/client/serializer/start_child_workflow.rb +51 -0
  48. data/lib/temporal/client/serializer/start_timer.rb +20 -0
  49. data/lib/temporal/concerns/executable.rb +37 -0
  50. data/lib/temporal/concerns/typed.rb +40 -0
  51. data/lib/temporal/configuration.rb +44 -0
  52. data/lib/temporal/errors.rb +38 -0
  53. data/lib/temporal/executable_lookup.rb +25 -0
  54. data/lib/temporal/execution_options.rb +35 -0
  55. data/lib/temporal/json.rb +18 -0
  56. data/lib/temporal/metadata.rb +68 -0
  57. data/lib/temporal/metadata/activity.rb +27 -0
  58. data/lib/temporal/metadata/base.rb +17 -0
  59. data/lib/temporal/metadata/workflow.rb +22 -0
  60. data/lib/temporal/metadata/workflow_task.rb +25 -0
  61. data/lib/temporal/metrics.rb +37 -0
  62. data/lib/temporal/metrics_adapters/log.rb +33 -0
  63. data/lib/temporal/metrics_adapters/null.rb +9 -0
  64. data/lib/temporal/middleware/chain.rb +30 -0
  65. data/lib/temporal/middleware/entry.rb +9 -0
  66. data/lib/temporal/retry_policy.rb +27 -0
  67. data/lib/temporal/saga/concern.rb +23 -0
  68. data/lib/temporal/saga/result.rb +22 -0
  69. data/lib/temporal/saga/saga.rb +24 -0
  70. data/lib/temporal/testing.rb +50 -0
  71. data/lib/temporal/testing/future_registry.rb +27 -0
  72. data/lib/temporal/testing/local_activity_context.rb +17 -0
  73. data/lib/temporal/testing/local_workflow_context.rb +178 -0
  74. data/lib/temporal/testing/temporal_override.rb +121 -0
  75. data/lib/temporal/testing/workflow_execution.rb +44 -0
  76. data/lib/temporal/testing/workflow_override.rb +36 -0
  77. data/lib/temporal/thread_local_context.rb +14 -0
  78. data/lib/temporal/thread_pool.rb +63 -0
  79. data/lib/temporal/types.rb +7 -0
  80. data/lib/temporal/uuid.rb +19 -0
  81. data/lib/temporal/version.rb +1 -1
  82. data/lib/temporal/worker.rb +88 -0
  83. data/lib/temporal/workflow.rb +42 -0
  84. data/lib/temporal/workflow/command.rb +39 -0
  85. data/lib/temporal/workflow/command_state_machine.rb +48 -0
  86. data/lib/temporal/workflow/context.rb +243 -0
  87. data/lib/temporal/workflow/convenience_methods.rb +34 -0
  88. data/lib/temporal/workflow/dispatcher.rb +31 -0
  89. data/lib/temporal/workflow/execution_info.rb +51 -0
  90. data/lib/temporal/workflow/executor.rb +45 -0
  91. data/lib/temporal/workflow/future.rb +77 -0
  92. data/lib/temporal/workflow/history.rb +76 -0
  93. data/lib/temporal/workflow/history/event.rb +69 -0
  94. data/lib/temporal/workflow/history/event_target.rb +75 -0
  95. data/lib/temporal/workflow/history/window.rb +40 -0
  96. data/lib/temporal/workflow/poller.rb +67 -0
  97. data/lib/temporal/workflow/replay_aware_logger.rb +36 -0
  98. data/lib/temporal/workflow/state_manager.rb +342 -0
  99. data/lib/temporal/workflow/task_processor.rb +78 -0
  100. data/rbi/temporal-ruby.rbi +43 -0
  101. data/temporal.gemspec +10 -2
  102. metadata +186 -6
@@ -0,0 +1,36 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: temporal/api/query/v1/message.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'temporal/api/enums/v1/query_pb'
7
+ require 'temporal/api/enums/v1/workflow_pb'
8
+ require 'temporal/api/common/v1/message_pb'
9
+ Google::Protobuf::DescriptorPool.generated_pool.build do
10
+ add_file("temporal/api/query/v1/message.proto", :syntax => :proto3) do
11
+ add_message "temporal.api.query.v1.WorkflowQuery" do
12
+ optional :query_type, :string, 1
13
+ optional :query_args, :message, 2, "temporal.api.common.v1.Payloads"
14
+ end
15
+ add_message "temporal.api.query.v1.WorkflowQueryResult" do
16
+ optional :result_type, :enum, 1, "temporal.api.enums.v1.QueryResultType"
17
+ optional :answer, :message, 2, "temporal.api.common.v1.Payloads"
18
+ optional :error_message, :string, 3
19
+ end
20
+ add_message "temporal.api.query.v1.QueryRejected" do
21
+ optional :status, :enum, 1, "temporal.api.enums.v1.WorkflowExecutionStatus"
22
+ end
23
+ end
24
+ end
25
+
26
+ module Temporal
27
+ module Api
28
+ module Query
29
+ module V1
30
+ WorkflowQuery = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.query.v1.WorkflowQuery").msgclass
31
+ WorkflowQueryResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.query.v1.WorkflowQueryResult").msgclass
32
+ QueryRejected = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.query.v1.QueryRejected").msgclass
33
+ end
34
+ end
35
+ end
36
+ end
@@ -0,0 +1,27 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: temporal/api/replication/v1/message.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ Google::Protobuf::DescriptorPool.generated_pool.build do
7
+ add_file("temporal/api/replication/v1/message.proto", :syntax => :proto3) do
8
+ add_message "temporal.api.replication.v1.ClusterReplicationConfig" do
9
+ optional :cluster_name, :string, 1
10
+ end
11
+ add_message "temporal.api.replication.v1.NamespaceReplicationConfig" do
12
+ optional :active_cluster_name, :string, 1
13
+ repeated :clusters, :message, 2, "temporal.api.replication.v1.ClusterReplicationConfig"
14
+ end
15
+ end
16
+ end
17
+
18
+ module Temporal
19
+ module Api
20
+ module Replication
21
+ module V1
22
+ ClusterReplicationConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.replication.v1.ClusterReplicationConfig").msgclass
23
+ NamespaceReplicationConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.replication.v1.NamespaceReplicationConfig").msgclass
24
+ end
25
+ end
26
+ end
27
+ end
@@ -0,0 +1,60 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: temporal/api/taskqueue/v1/message.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/protobuf/duration_pb'
7
+ require 'google/protobuf/timestamp_pb'
8
+ require 'google/protobuf/wrappers_pb'
9
+ require 'temporal/api/enums/v1/task_queue_pb'
10
+ Google::Protobuf::DescriptorPool.generated_pool.build do
11
+ add_file("temporal/api/taskqueue/v1/message.proto", :syntax => :proto3) do
12
+ add_message "temporal.api.taskqueue.v1.TaskQueue" do
13
+ optional :name, :string, 1
14
+ optional :kind, :enum, 2, "temporal.api.enums.v1.TaskQueueKind"
15
+ end
16
+ add_message "temporal.api.taskqueue.v1.TaskQueueMetadata" do
17
+ optional :max_tasks_per_second, :message, 1, "google.protobuf.DoubleValue"
18
+ end
19
+ add_message "temporal.api.taskqueue.v1.TaskQueueStatus" do
20
+ optional :backlog_count_hint, :int64, 1
21
+ optional :read_level, :int64, 2
22
+ optional :ack_level, :int64, 3
23
+ optional :rate_per_second, :double, 4
24
+ optional :task_id_block, :message, 5, "temporal.api.taskqueue.v1.TaskIdBlock"
25
+ end
26
+ add_message "temporal.api.taskqueue.v1.TaskIdBlock" do
27
+ optional :start_id, :int64, 1
28
+ optional :end_id, :int64, 2
29
+ end
30
+ add_message "temporal.api.taskqueue.v1.TaskQueuePartitionMetadata" do
31
+ optional :key, :string, 1
32
+ optional :owner_host_name, :string, 2
33
+ end
34
+ add_message "temporal.api.taskqueue.v1.PollerInfo" do
35
+ optional :last_access_time, :message, 1, "google.protobuf.Timestamp"
36
+ optional :identity, :string, 2
37
+ optional :rate_per_second, :double, 3
38
+ end
39
+ add_message "temporal.api.taskqueue.v1.StickyExecutionAttributes" do
40
+ optional :worker_task_queue, :message, 1, "temporal.api.taskqueue.v1.TaskQueue"
41
+ optional :schedule_to_start_timeout, :message, 2, "google.protobuf.Duration"
42
+ end
43
+ end
44
+ end
45
+
46
+ module Temporal
47
+ module Api
48
+ module TaskQueue
49
+ module V1
50
+ TaskQueue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.taskqueue.v1.TaskQueue").msgclass
51
+ TaskQueueMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.taskqueue.v1.TaskQueueMetadata").msgclass
52
+ TaskQueueStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.taskqueue.v1.TaskQueueStatus").msgclass
53
+ TaskIdBlock = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.taskqueue.v1.TaskIdBlock").msgclass
54
+ TaskQueuePartitionMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.taskqueue.v1.TaskQueuePartitionMetadata").msgclass
55
+ PollerInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.taskqueue.v1.PollerInfo").msgclass
56
+ StickyExecutionAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.taskqueue.v1.StickyExecutionAttributes").msgclass
57
+ end
58
+ end
59
+ end
60
+ end
@@ -0,0 +1,28 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: temporal/api/version/v1/message.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ Google::Protobuf::DescriptorPool.generated_pool.build do
7
+ add_file("temporal/api/version/v1/message.proto", :syntax => :proto3) do
8
+ add_message "temporal.api.version.v1.SupportedSDKVersions" do
9
+ optional :go_sdk, :string, 1
10
+ optional :java_sdk, :string, 2
11
+ end
12
+ add_message "temporal.api.version.v1.WorkerVersionInfo" do
13
+ optional :implementation, :string, 1
14
+ optional :feature_version, :string, 2
15
+ end
16
+ end
17
+ end
18
+
19
+ module Temporal
20
+ module Api
21
+ module Version
22
+ module V1
23
+ SupportedSDKVersions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.version.v1.SupportedSDKVersions").msgclass
24
+ WorkerVersionInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.version.v1.WorkerVersionInfo").msgclass
25
+ end
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,83 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: temporal/api/workflow/v1/message.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/protobuf/duration_pb'
7
+ require 'google/protobuf/timestamp_pb'
8
+ require 'temporal/api/enums/v1/workflow_pb'
9
+ require 'temporal/api/common/v1/message_pb'
10
+ require 'temporal/api/failure/v1/message_pb'
11
+ require 'temporal/api/taskqueue/v1/message_pb'
12
+ Google::Protobuf::DescriptorPool.generated_pool.build do
13
+ add_file("temporal/api/workflow/v1/message.proto", :syntax => :proto3) do
14
+ add_message "temporal.api.workflow.v1.WorkflowExecutionInfo" do
15
+ optional :execution, :message, 1, "temporal.api.common.v1.WorkflowExecution"
16
+ optional :type, :message, 2, "temporal.api.common.v1.WorkflowType"
17
+ optional :start_time, :message, 3, "google.protobuf.Timestamp"
18
+ optional :close_time, :message, 4, "google.protobuf.Timestamp"
19
+ optional :status, :enum, 5, "temporal.api.enums.v1.WorkflowExecutionStatus"
20
+ optional :history_length, :int64, 6
21
+ optional :parent_namespace_id, :string, 7
22
+ optional :parent_execution, :message, 8, "temporal.api.common.v1.WorkflowExecution"
23
+ optional :execution_time, :message, 9, "google.protobuf.Timestamp"
24
+ optional :memo, :message, 10, "temporal.api.common.v1.Memo"
25
+ optional :search_attributes, :message, 11, "temporal.api.common.v1.SearchAttributes"
26
+ optional :auto_reset_points, :message, 12, "temporal.api.workflow.v1.ResetPoints"
27
+ optional :task_queue, :string, 13
28
+ end
29
+ add_message "temporal.api.workflow.v1.WorkflowExecutionConfig" do
30
+ optional :task_queue, :message, 1, "temporal.api.taskqueue.v1.TaskQueue"
31
+ optional :workflow_execution_timeout, :message, 2, "google.protobuf.Duration"
32
+ optional :workflow_run_timeout, :message, 3, "google.protobuf.Duration"
33
+ optional :default_workflow_task_timeout, :message, 4, "google.protobuf.Duration"
34
+ end
35
+ add_message "temporal.api.workflow.v1.PendingActivityInfo" do
36
+ optional :activity_id, :string, 1
37
+ optional :activity_type, :message, 2, "temporal.api.common.v1.ActivityType"
38
+ optional :state, :enum, 3, "temporal.api.enums.v1.PendingActivityState"
39
+ optional :heartbeat_details, :message, 4, "temporal.api.common.v1.Payloads"
40
+ optional :last_heartbeat_time, :message, 5, "google.protobuf.Timestamp"
41
+ optional :last_started_time, :message, 6, "google.protobuf.Timestamp"
42
+ optional :attempt, :int32, 7
43
+ optional :maximum_attempts, :int32, 8
44
+ optional :scheduled_time, :message, 9, "google.protobuf.Timestamp"
45
+ optional :expiration_time, :message, 10, "google.protobuf.Timestamp"
46
+ optional :last_failure, :message, 11, "temporal.api.failure.v1.Failure"
47
+ optional :last_worker_identity, :string, 12
48
+ end
49
+ add_message "temporal.api.workflow.v1.PendingChildExecutionInfo" do
50
+ optional :workflow_id, :string, 1
51
+ optional :run_id, :string, 2
52
+ optional :workflow_type_name, :string, 3
53
+ optional :initiated_id, :int64, 4
54
+ optional :parent_close_policy, :enum, 5, "temporal.api.enums.v1.ParentClosePolicy"
55
+ end
56
+ add_message "temporal.api.workflow.v1.ResetPoints" do
57
+ repeated :points, :message, 1, "temporal.api.workflow.v1.ResetPointInfo"
58
+ end
59
+ add_message "temporal.api.workflow.v1.ResetPointInfo" do
60
+ optional :binary_checksum, :string, 1
61
+ optional :run_id, :string, 2
62
+ optional :first_workflow_task_completed_id, :int64, 3
63
+ optional :create_time, :message, 4, "google.protobuf.Timestamp"
64
+ optional :expire_time, :message, 5, "google.protobuf.Timestamp"
65
+ optional :resettable, :bool, 6
66
+ end
67
+ end
68
+ end
69
+
70
+ module Temporal
71
+ module Api
72
+ module Workflow
73
+ module V1
74
+ WorkflowExecutionInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflow.v1.WorkflowExecutionInfo").msgclass
75
+ WorkflowExecutionConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflow.v1.WorkflowExecutionConfig").msgclass
76
+ PendingActivityInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflow.v1.PendingActivityInfo").msgclass
77
+ PendingChildExecutionInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflow.v1.PendingChildExecutionInfo").msgclass
78
+ ResetPoints = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflow.v1.ResetPoints").msgclass
79
+ ResetPointInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflow.v1.ResetPointInfo").msgclass
80
+ end
81
+ end
82
+ end
83
+ end
@@ -0,0 +1,538 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: temporal/api/workflowservice/v1/request_response.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/protobuf/duration_pb'
7
+ require 'google/protobuf/timestamp_pb'
8
+ require 'temporal/api/enums/v1/workflow_pb'
9
+ require 'temporal/api/enums/v1/namespace_pb'
10
+ require 'temporal/api/enums/v1/failed_cause_pb'
11
+ require 'temporal/api/enums/v1/common_pb'
12
+ require 'temporal/api/enums/v1/query_pb'
13
+ require 'temporal/api/enums/v1/task_queue_pb'
14
+ require 'temporal/api/common/v1/message_pb'
15
+ require 'temporal/api/history/v1/message_pb'
16
+ require 'temporal/api/workflow/v1/message_pb'
17
+ require 'temporal/api/command/v1/message_pb'
18
+ require 'temporal/api/failure/v1/message_pb'
19
+ require 'temporal/api/filter/v1/message_pb'
20
+ require 'temporal/api/namespace/v1/message_pb'
21
+ require 'temporal/api/query/v1/message_pb'
22
+ require 'temporal/api/replication/v1/message_pb'
23
+ require 'temporal/api/taskqueue/v1/message_pb'
24
+ require 'temporal/api/version/v1/message_pb'
25
+ Google::Protobuf::DescriptorPool.generated_pool.build do
26
+ add_file("temporal/api/workflowservice/v1/request_response.proto", :syntax => :proto3) do
27
+ add_message "temporal.api.workflowservice.v1.RegisterNamespaceRequest" do
28
+ optional :name, :string, 1
29
+ optional :description, :string, 2
30
+ optional :owner_email, :string, 3
31
+ optional :workflow_execution_retention_period, :message, 4, "google.protobuf.Duration"
32
+ repeated :clusters, :message, 5, "temporal.api.replication.v1.ClusterReplicationConfig"
33
+ optional :active_cluster_name, :string, 6
34
+ map :data, :string, :string, 7
35
+ optional :security_token, :string, 8
36
+ optional :is_global_namespace, :bool, 9
37
+ optional :history_archival_state, :enum, 10, "temporal.api.enums.v1.ArchivalState"
38
+ optional :history_archival_uri, :string, 11
39
+ optional :visibility_archival_state, :enum, 12, "temporal.api.enums.v1.ArchivalState"
40
+ optional :visibility_archival_uri, :string, 13
41
+ end
42
+ add_message "temporal.api.workflowservice.v1.RegisterNamespaceResponse" do
43
+ end
44
+ add_message "temporal.api.workflowservice.v1.ListNamespacesRequest" do
45
+ optional :page_size, :int32, 1
46
+ optional :next_page_token, :bytes, 2
47
+ end
48
+ add_message "temporal.api.workflowservice.v1.ListNamespacesResponse" do
49
+ repeated :namespaces, :message, 1, "temporal.api.workflowservice.v1.DescribeNamespaceResponse"
50
+ optional :next_page_token, :bytes, 2
51
+ end
52
+ add_message "temporal.api.workflowservice.v1.DescribeNamespaceRequest" do
53
+ optional :name, :string, 1
54
+ optional :id, :string, 2
55
+ end
56
+ add_message "temporal.api.workflowservice.v1.DescribeNamespaceResponse" do
57
+ optional :namespace_info, :message, 1, "temporal.api.namespace.v1.NamespaceInfo"
58
+ optional :config, :message, 2, "temporal.api.namespace.v1.NamespaceConfig"
59
+ optional :replication_config, :message, 3, "temporal.api.replication.v1.NamespaceReplicationConfig"
60
+ optional :failover_version, :int64, 4
61
+ optional :is_global_namespace, :bool, 5
62
+ end
63
+ add_message "temporal.api.workflowservice.v1.UpdateNamespaceRequest" do
64
+ optional :name, :string, 1
65
+ optional :update_info, :message, 2, "temporal.api.namespace.v1.UpdateNamespaceInfo"
66
+ optional :config, :message, 3, "temporal.api.namespace.v1.NamespaceConfig"
67
+ optional :replication_config, :message, 4, "temporal.api.replication.v1.NamespaceReplicationConfig"
68
+ optional :security_token, :string, 5
69
+ optional :delete_bad_binary, :string, 6
70
+ end
71
+ add_message "temporal.api.workflowservice.v1.UpdateNamespaceResponse" do
72
+ optional :namespace_info, :message, 1, "temporal.api.namespace.v1.NamespaceInfo"
73
+ optional :config, :message, 2, "temporal.api.namespace.v1.NamespaceConfig"
74
+ optional :replication_config, :message, 3, "temporal.api.replication.v1.NamespaceReplicationConfig"
75
+ optional :failover_version, :int64, 4
76
+ optional :is_global_namespace, :bool, 5
77
+ end
78
+ add_message "temporal.api.workflowservice.v1.DeprecateNamespaceRequest" do
79
+ optional :name, :string, 1
80
+ optional :security_token, :string, 2
81
+ end
82
+ add_message "temporal.api.workflowservice.v1.DeprecateNamespaceResponse" do
83
+ end
84
+ add_message "temporal.api.workflowservice.v1.StartWorkflowExecutionRequest" do
85
+ optional :namespace, :string, 1
86
+ optional :workflow_id, :string, 2
87
+ optional :workflow_type, :message, 3, "temporal.api.common.v1.WorkflowType"
88
+ optional :task_queue, :message, 4, "temporal.api.taskqueue.v1.TaskQueue"
89
+ optional :input, :message, 5, "temporal.api.common.v1.Payloads"
90
+ optional :workflow_execution_timeout, :message, 6, "google.protobuf.Duration"
91
+ optional :workflow_run_timeout, :message, 7, "google.protobuf.Duration"
92
+ optional :workflow_task_timeout, :message, 8, "google.protobuf.Duration"
93
+ optional :identity, :string, 9
94
+ optional :request_id, :string, 10
95
+ optional :workflow_id_reuse_policy, :enum, 11, "temporal.api.enums.v1.WorkflowIdReusePolicy"
96
+ optional :retry_policy, :message, 12, "temporal.api.common.v1.RetryPolicy"
97
+ optional :cron_schedule, :string, 13
98
+ optional :memo, :message, 14, "temporal.api.common.v1.Memo"
99
+ optional :search_attributes, :message, 15, "temporal.api.common.v1.SearchAttributes"
100
+ optional :header, :message, 16, "temporal.api.common.v1.Header"
101
+ end
102
+ add_message "temporal.api.workflowservice.v1.StartWorkflowExecutionResponse" do
103
+ optional :run_id, :string, 1
104
+ end
105
+ add_message "temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryRequest" do
106
+ optional :namespace, :string, 1
107
+ optional :execution, :message, 2, "temporal.api.common.v1.WorkflowExecution"
108
+ optional :maximum_page_size, :int32, 3
109
+ optional :next_page_token, :bytes, 4
110
+ optional :wait_new_event, :bool, 5
111
+ optional :history_event_filter_type, :enum, 6, "temporal.api.enums.v1.HistoryEventFilterType"
112
+ optional :skip_archival, :bool, 7
113
+ end
114
+ add_message "temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryResponse" do
115
+ optional :history, :message, 1, "temporal.api.history.v1.History"
116
+ repeated :raw_history, :message, 2, "temporal.api.common.v1.DataBlob"
117
+ optional :next_page_token, :bytes, 3
118
+ optional :archived, :bool, 4
119
+ end
120
+ add_message "temporal.api.workflowservice.v1.PollWorkflowTaskQueueRequest" do
121
+ optional :namespace, :string, 1
122
+ optional :task_queue, :message, 2, "temporal.api.taskqueue.v1.TaskQueue"
123
+ optional :identity, :string, 3
124
+ optional :binary_checksum, :string, 4
125
+ end
126
+ add_message "temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse" do
127
+ optional :task_token, :bytes, 1
128
+ optional :workflow_execution, :message, 2, "temporal.api.common.v1.WorkflowExecution"
129
+ optional :workflow_type, :message, 3, "temporal.api.common.v1.WorkflowType"
130
+ optional :previous_started_event_id, :int64, 4
131
+ optional :started_event_id, :int64, 5
132
+ optional :attempt, :int32, 6
133
+ optional :backlog_count_hint, :int64, 7
134
+ optional :history, :message, 8, "temporal.api.history.v1.History"
135
+ optional :next_page_token, :bytes, 9
136
+ optional :query, :message, 10, "temporal.api.query.v1.WorkflowQuery"
137
+ optional :workflow_execution_task_queue, :message, 11, "temporal.api.taskqueue.v1.TaskQueue"
138
+ optional :scheduled_time, :message, 12, "google.protobuf.Timestamp"
139
+ optional :started_time, :message, 13, "google.protobuf.Timestamp"
140
+ map :queries, :string, :message, 14, "temporal.api.query.v1.WorkflowQuery"
141
+ end
142
+ add_message "temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest" do
143
+ optional :task_token, :bytes, 1
144
+ repeated :commands, :message, 2, "temporal.api.command.v1.Command"
145
+ optional :identity, :string, 3
146
+ optional :sticky_attributes, :message, 4, "temporal.api.taskqueue.v1.StickyExecutionAttributes"
147
+ optional :return_new_workflow_task, :bool, 5
148
+ optional :force_create_new_workflow_task, :bool, 6
149
+ optional :binary_checksum, :string, 7
150
+ map :query_results, :string, :message, 8, "temporal.api.query.v1.WorkflowQueryResult"
151
+ end
152
+ add_message "temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedResponse" do
153
+ optional :workflow_task, :message, 1, "temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse"
154
+ end
155
+ add_message "temporal.api.workflowservice.v1.RespondWorkflowTaskFailedRequest" do
156
+ optional :task_token, :bytes, 1
157
+ optional :cause, :enum, 2, "temporal.api.enums.v1.WorkflowTaskFailedCause"
158
+ optional :failure, :message, 3, "temporal.api.failure.v1.Failure"
159
+ optional :identity, :string, 4
160
+ optional :binary_checksum, :string, 5
161
+ end
162
+ add_message "temporal.api.workflowservice.v1.RespondWorkflowTaskFailedResponse" do
163
+ end
164
+ add_message "temporal.api.workflowservice.v1.PollActivityTaskQueueRequest" do
165
+ optional :namespace, :string, 1
166
+ optional :task_queue, :message, 2, "temporal.api.taskqueue.v1.TaskQueue"
167
+ optional :identity, :string, 3
168
+ optional :task_queue_metadata, :message, 4, "temporal.api.taskqueue.v1.TaskQueueMetadata"
169
+ end
170
+ add_message "temporal.api.workflowservice.v1.PollActivityTaskQueueResponse" do
171
+ optional :task_token, :bytes, 1
172
+ optional :workflow_namespace, :string, 2
173
+ optional :workflow_type, :message, 3, "temporal.api.common.v1.WorkflowType"
174
+ optional :workflow_execution, :message, 4, "temporal.api.common.v1.WorkflowExecution"
175
+ optional :activity_type, :message, 5, "temporal.api.common.v1.ActivityType"
176
+ optional :activity_id, :string, 6
177
+ optional :header, :message, 7, "temporal.api.common.v1.Header"
178
+ optional :input, :message, 8, "temporal.api.common.v1.Payloads"
179
+ optional :heartbeat_details, :message, 9, "temporal.api.common.v1.Payloads"
180
+ optional :scheduled_time, :message, 10, "google.protobuf.Timestamp"
181
+ optional :current_attempt_scheduled_time, :message, 11, "google.protobuf.Timestamp"
182
+ optional :started_time, :message, 12, "google.protobuf.Timestamp"
183
+ optional :attempt, :int32, 13
184
+ optional :schedule_to_close_timeout, :message, 14, "google.protobuf.Duration"
185
+ optional :start_to_close_timeout, :message, 15, "google.protobuf.Duration"
186
+ optional :heartbeat_timeout, :message, 16, "google.protobuf.Duration"
187
+ optional :retry_policy, :message, 17, "temporal.api.common.v1.RetryPolicy"
188
+ end
189
+ add_message "temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatRequest" do
190
+ optional :task_token, :bytes, 1
191
+ optional :details, :message, 2, "temporal.api.common.v1.Payloads"
192
+ optional :identity, :string, 3
193
+ end
194
+ add_message "temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatResponse" do
195
+ optional :cancel_requested, :bool, 1
196
+ end
197
+ add_message "temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatByIdRequest" do
198
+ optional :namespace, :string, 1
199
+ optional :workflow_id, :string, 2
200
+ optional :run_id, :string, 3
201
+ optional :activity_id, :string, 4
202
+ optional :details, :message, 5, "temporal.api.common.v1.Payloads"
203
+ optional :identity, :string, 6
204
+ end
205
+ add_message "temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatByIdResponse" do
206
+ optional :cancel_requested, :bool, 1
207
+ end
208
+ add_message "temporal.api.workflowservice.v1.RespondActivityTaskCompletedRequest" do
209
+ optional :task_token, :bytes, 1
210
+ optional :result, :message, 2, "temporal.api.common.v1.Payloads"
211
+ optional :identity, :string, 3
212
+ end
213
+ add_message "temporal.api.workflowservice.v1.RespondActivityTaskCompletedResponse" do
214
+ end
215
+ add_message "temporal.api.workflowservice.v1.RespondActivityTaskCompletedByIdRequest" do
216
+ optional :namespace, :string, 1
217
+ optional :workflow_id, :string, 2
218
+ optional :run_id, :string, 3
219
+ optional :activity_id, :string, 4
220
+ optional :result, :message, 5, "temporal.api.common.v1.Payloads"
221
+ optional :identity, :string, 6
222
+ end
223
+ add_message "temporal.api.workflowservice.v1.RespondActivityTaskCompletedByIdResponse" do
224
+ end
225
+ add_message "temporal.api.workflowservice.v1.RespondActivityTaskFailedRequest" do
226
+ optional :task_token, :bytes, 1
227
+ optional :failure, :message, 2, "temporal.api.failure.v1.Failure"
228
+ optional :identity, :string, 3
229
+ end
230
+ add_message "temporal.api.workflowservice.v1.RespondActivityTaskFailedResponse" do
231
+ end
232
+ add_message "temporal.api.workflowservice.v1.RespondActivityTaskFailedByIdRequest" do
233
+ optional :namespace, :string, 1
234
+ optional :workflow_id, :string, 2
235
+ optional :run_id, :string, 3
236
+ optional :activity_id, :string, 4
237
+ optional :failure, :message, 5, "temporal.api.failure.v1.Failure"
238
+ optional :identity, :string, 6
239
+ end
240
+ add_message "temporal.api.workflowservice.v1.RespondActivityTaskFailedByIdResponse" do
241
+ end
242
+ add_message "temporal.api.workflowservice.v1.RespondActivityTaskCanceledRequest" do
243
+ optional :task_token, :bytes, 1
244
+ optional :details, :message, 2, "temporal.api.common.v1.Payloads"
245
+ optional :identity, :string, 3
246
+ end
247
+ add_message "temporal.api.workflowservice.v1.RespondActivityTaskCanceledResponse" do
248
+ end
249
+ add_message "temporal.api.workflowservice.v1.RespondActivityTaskCanceledByIdRequest" do
250
+ optional :namespace, :string, 1
251
+ optional :workflow_id, :string, 2
252
+ optional :run_id, :string, 3
253
+ optional :activity_id, :string, 4
254
+ optional :details, :message, 5, "temporal.api.common.v1.Payloads"
255
+ optional :identity, :string, 6
256
+ end
257
+ add_message "temporal.api.workflowservice.v1.RespondActivityTaskCanceledByIdResponse" do
258
+ end
259
+ add_message "temporal.api.workflowservice.v1.RequestCancelWorkflowExecutionRequest" do
260
+ optional :namespace, :string, 1
261
+ optional :workflow_execution, :message, 2, "temporal.api.common.v1.WorkflowExecution"
262
+ optional :identity, :string, 3
263
+ optional :request_id, :string, 4
264
+ optional :first_execution_run_id, :string, 5
265
+ end
266
+ add_message "temporal.api.workflowservice.v1.RequestCancelWorkflowExecutionResponse" do
267
+ end
268
+ add_message "temporal.api.workflowservice.v1.SignalWorkflowExecutionRequest" do
269
+ optional :namespace, :string, 1
270
+ optional :workflow_execution, :message, 2, "temporal.api.common.v1.WorkflowExecution"
271
+ optional :signal_name, :string, 3
272
+ optional :input, :message, 4, "temporal.api.common.v1.Payloads"
273
+ optional :identity, :string, 5
274
+ optional :request_id, :string, 6
275
+ optional :control, :string, 7
276
+ end
277
+ add_message "temporal.api.workflowservice.v1.SignalWorkflowExecutionResponse" do
278
+ end
279
+ add_message "temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionRequest" do
280
+ optional :namespace, :string, 1
281
+ optional :workflow_id, :string, 2
282
+ optional :workflow_type, :message, 3, "temporal.api.common.v1.WorkflowType"
283
+ optional :task_queue, :message, 4, "temporal.api.taskqueue.v1.TaskQueue"
284
+ optional :input, :message, 5, "temporal.api.common.v1.Payloads"
285
+ optional :workflow_execution_timeout, :message, 6, "google.protobuf.Duration"
286
+ optional :workflow_run_timeout, :message, 7, "google.protobuf.Duration"
287
+ optional :workflow_task_timeout, :message, 8, "google.protobuf.Duration"
288
+ optional :identity, :string, 9
289
+ optional :request_id, :string, 10
290
+ optional :workflow_id_reuse_policy, :enum, 11, "temporal.api.enums.v1.WorkflowIdReusePolicy"
291
+ optional :signal_name, :string, 12
292
+ optional :signal_input, :message, 13, "temporal.api.common.v1.Payloads"
293
+ optional :control, :string, 14
294
+ optional :retry_policy, :message, 15, "temporal.api.common.v1.RetryPolicy"
295
+ optional :cron_schedule, :string, 16
296
+ optional :memo, :message, 17, "temporal.api.common.v1.Memo"
297
+ optional :search_attributes, :message, 18, "temporal.api.common.v1.SearchAttributes"
298
+ optional :header, :message, 19, "temporal.api.common.v1.Header"
299
+ end
300
+ add_message "temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionResponse" do
301
+ optional :run_id, :string, 1
302
+ end
303
+ add_message "temporal.api.workflowservice.v1.ResetWorkflowExecutionRequest" do
304
+ optional :namespace, :string, 1
305
+ optional :workflow_execution, :message, 2, "temporal.api.common.v1.WorkflowExecution"
306
+ optional :reason, :string, 3
307
+ optional :workflow_task_finish_event_id, :int64, 4
308
+ optional :request_id, :string, 5
309
+ end
310
+ add_message "temporal.api.workflowservice.v1.ResetWorkflowExecutionResponse" do
311
+ optional :run_id, :string, 1
312
+ end
313
+ add_message "temporal.api.workflowservice.v1.TerminateWorkflowExecutionRequest" do
314
+ optional :namespace, :string, 1
315
+ optional :workflow_execution, :message, 2, "temporal.api.common.v1.WorkflowExecution"
316
+ optional :reason, :string, 3
317
+ optional :details, :message, 4, "temporal.api.common.v1.Payloads"
318
+ optional :identity, :string, 5
319
+ optional :first_execution_run_id, :string, 6
320
+ end
321
+ add_message "temporal.api.workflowservice.v1.TerminateWorkflowExecutionResponse" do
322
+ end
323
+ add_message "temporal.api.workflowservice.v1.ListOpenWorkflowExecutionsRequest" do
324
+ optional :namespace, :string, 1
325
+ optional :maximum_page_size, :int32, 2
326
+ optional :next_page_token, :bytes, 3
327
+ optional :start_time_filter, :message, 4, "temporal.api.filter.v1.StartTimeFilter"
328
+ oneof :filters do
329
+ optional :execution_filter, :message, 5, "temporal.api.filter.v1.WorkflowExecutionFilter"
330
+ optional :type_filter, :message, 6, "temporal.api.filter.v1.WorkflowTypeFilter"
331
+ end
332
+ end
333
+ add_message "temporal.api.workflowservice.v1.ListOpenWorkflowExecutionsResponse" do
334
+ repeated :executions, :message, 1, "temporal.api.workflow.v1.WorkflowExecutionInfo"
335
+ optional :next_page_token, :bytes, 2
336
+ end
337
+ add_message "temporal.api.workflowservice.v1.ListClosedWorkflowExecutionsRequest" do
338
+ optional :namespace, :string, 1
339
+ optional :maximum_page_size, :int32, 2
340
+ optional :next_page_token, :bytes, 3
341
+ optional :start_time_filter, :message, 4, "temporal.api.filter.v1.StartTimeFilter"
342
+ oneof :filters do
343
+ optional :execution_filter, :message, 5, "temporal.api.filter.v1.WorkflowExecutionFilter"
344
+ optional :type_filter, :message, 6, "temporal.api.filter.v1.WorkflowTypeFilter"
345
+ optional :status_filter, :message, 7, "temporal.api.filter.v1.StatusFilter"
346
+ end
347
+ end
348
+ add_message "temporal.api.workflowservice.v1.ListClosedWorkflowExecutionsResponse" do
349
+ repeated :executions, :message, 1, "temporal.api.workflow.v1.WorkflowExecutionInfo"
350
+ optional :next_page_token, :bytes, 2
351
+ end
352
+ add_message "temporal.api.workflowservice.v1.ListWorkflowExecutionsRequest" do
353
+ optional :namespace, :string, 1
354
+ optional :page_size, :int32, 2
355
+ optional :next_page_token, :bytes, 3
356
+ optional :query, :string, 4
357
+ end
358
+ add_message "temporal.api.workflowservice.v1.ListWorkflowExecutionsResponse" do
359
+ repeated :executions, :message, 1, "temporal.api.workflow.v1.WorkflowExecutionInfo"
360
+ optional :next_page_token, :bytes, 2
361
+ end
362
+ add_message "temporal.api.workflowservice.v1.ListArchivedWorkflowExecutionsRequest" do
363
+ optional :namespace, :string, 1
364
+ optional :page_size, :int32, 2
365
+ optional :next_page_token, :bytes, 3
366
+ optional :query, :string, 4
367
+ end
368
+ add_message "temporal.api.workflowservice.v1.ListArchivedWorkflowExecutionsResponse" do
369
+ repeated :executions, :message, 1, "temporal.api.workflow.v1.WorkflowExecutionInfo"
370
+ optional :next_page_token, :bytes, 2
371
+ end
372
+ add_message "temporal.api.workflowservice.v1.ScanWorkflowExecutionsRequest" do
373
+ optional :namespace, :string, 1
374
+ optional :page_size, :int32, 2
375
+ optional :next_page_token, :bytes, 3
376
+ optional :query, :string, 4
377
+ end
378
+ add_message "temporal.api.workflowservice.v1.ScanWorkflowExecutionsResponse" do
379
+ repeated :executions, :message, 1, "temporal.api.workflow.v1.WorkflowExecutionInfo"
380
+ optional :next_page_token, :bytes, 2
381
+ end
382
+ add_message "temporal.api.workflowservice.v1.CountWorkflowExecutionsRequest" do
383
+ optional :namespace, :string, 1
384
+ optional :query, :string, 2
385
+ end
386
+ add_message "temporal.api.workflowservice.v1.CountWorkflowExecutionsResponse" do
387
+ optional :count, :int64, 1
388
+ end
389
+ add_message "temporal.api.workflowservice.v1.GetSearchAttributesRequest" do
390
+ end
391
+ add_message "temporal.api.workflowservice.v1.GetSearchAttributesResponse" do
392
+ map :keys, :string, :enum, 1, "temporal.api.enums.v1.IndexedValueType"
393
+ end
394
+ add_message "temporal.api.workflowservice.v1.RespondQueryTaskCompletedRequest" do
395
+ optional :task_token, :bytes, 1
396
+ optional :completed_type, :enum, 2, "temporal.api.enums.v1.QueryResultType"
397
+ optional :query_result, :message, 3, "temporal.api.common.v1.Payloads"
398
+ optional :error_message, :string, 4
399
+ optional :worker_version_info, :message, 5, "temporal.api.version.v1.WorkerVersionInfo"
400
+ end
401
+ add_message "temporal.api.workflowservice.v1.RespondQueryTaskCompletedResponse" do
402
+ end
403
+ add_message "temporal.api.workflowservice.v1.ResetStickyTaskQueueRequest" do
404
+ optional :namespace, :string, 1
405
+ optional :execution, :message, 2, "temporal.api.common.v1.WorkflowExecution"
406
+ end
407
+ add_message "temporal.api.workflowservice.v1.ResetStickyTaskQueueResponse" do
408
+ end
409
+ add_message "temporal.api.workflowservice.v1.QueryWorkflowRequest" do
410
+ optional :namespace, :string, 1
411
+ optional :execution, :message, 2, "temporal.api.common.v1.WorkflowExecution"
412
+ optional :query, :message, 3, "temporal.api.query.v1.WorkflowQuery"
413
+ optional :query_reject_condition, :enum, 4, "temporal.api.enums.v1.QueryRejectCondition"
414
+ end
415
+ add_message "temporal.api.workflowservice.v1.QueryWorkflowResponse" do
416
+ optional :query_result, :message, 1, "temporal.api.common.v1.Payloads"
417
+ optional :query_rejected, :message, 2, "temporal.api.query.v1.QueryRejected"
418
+ end
419
+ add_message "temporal.api.workflowservice.v1.DescribeWorkflowExecutionRequest" do
420
+ optional :namespace, :string, 1
421
+ optional :execution, :message, 2, "temporal.api.common.v1.WorkflowExecution"
422
+ end
423
+ add_message "temporal.api.workflowservice.v1.DescribeWorkflowExecutionResponse" do
424
+ optional :execution_config, :message, 1, "temporal.api.workflow.v1.WorkflowExecutionConfig"
425
+ optional :workflow_execution_info, :message, 2, "temporal.api.workflow.v1.WorkflowExecutionInfo"
426
+ repeated :pending_activities, :message, 3, "temporal.api.workflow.v1.PendingActivityInfo"
427
+ repeated :pending_children, :message, 4, "temporal.api.workflow.v1.PendingChildExecutionInfo"
428
+ end
429
+ add_message "temporal.api.workflowservice.v1.DescribeTaskQueueRequest" do
430
+ optional :namespace, :string, 1
431
+ optional :task_queue, :message, 2, "temporal.api.taskqueue.v1.TaskQueue"
432
+ optional :task_queue_type, :enum, 3, "temporal.api.enums.v1.TaskQueueType"
433
+ optional :include_task_queue_status, :bool, 4
434
+ end
435
+ add_message "temporal.api.workflowservice.v1.DescribeTaskQueueResponse" do
436
+ repeated :pollers, :message, 1, "temporal.api.taskqueue.v1.PollerInfo"
437
+ optional :task_queue_status, :message, 2, "temporal.api.taskqueue.v1.TaskQueueStatus"
438
+ end
439
+ add_message "temporal.api.workflowservice.v1.GetClusterInfoRequest" do
440
+ end
441
+ add_message "temporal.api.workflowservice.v1.GetClusterInfoResponse" do
442
+ optional :supported_sdk_versions, :message, 1, "temporal.api.version.v1.SupportedSDKVersions"
443
+ end
444
+ add_message "temporal.api.workflowservice.v1.ListTaskQueuePartitionsRequest" do
445
+ optional :namespace, :string, 1
446
+ optional :task_queue, :message, 2, "temporal.api.taskqueue.v1.TaskQueue"
447
+ end
448
+ add_message "temporal.api.workflowservice.v1.ListTaskQueuePartitionsResponse" do
449
+ repeated :activity_task_queue_partitions, :message, 1, "temporal.api.taskqueue.v1.TaskQueuePartitionMetadata"
450
+ repeated :workflow_task_queue_partitions, :message, 2, "temporal.api.taskqueue.v1.TaskQueuePartitionMetadata"
451
+ end
452
+ end
453
+ end
454
+
455
+ module Temporal
456
+ module Api
457
+ module WorkflowService
458
+ module V1
459
+ RegisterNamespaceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.RegisterNamespaceRequest").msgclass
460
+ RegisterNamespaceResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.RegisterNamespaceResponse").msgclass
461
+ ListNamespacesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.ListNamespacesRequest").msgclass
462
+ ListNamespacesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.ListNamespacesResponse").msgclass
463
+ DescribeNamespaceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.DescribeNamespaceRequest").msgclass
464
+ DescribeNamespaceResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.DescribeNamespaceResponse").msgclass
465
+ UpdateNamespaceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.UpdateNamespaceRequest").msgclass
466
+ UpdateNamespaceResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.UpdateNamespaceResponse").msgclass
467
+ DeprecateNamespaceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.DeprecateNamespaceRequest").msgclass
468
+ DeprecateNamespaceResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.DeprecateNamespaceResponse").msgclass
469
+ StartWorkflowExecutionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.StartWorkflowExecutionRequest").msgclass
470
+ StartWorkflowExecutionResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.StartWorkflowExecutionResponse").msgclass
471
+ GetWorkflowExecutionHistoryRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryRequest").msgclass
472
+ GetWorkflowExecutionHistoryResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryResponse").msgclass
473
+ PollWorkflowTaskQueueRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.PollWorkflowTaskQueueRequest").msgclass
474
+ PollWorkflowTaskQueueResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse").msgclass
475
+ RespondWorkflowTaskCompletedRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest").msgclass
476
+ RespondWorkflowTaskCompletedResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedResponse").msgclass
477
+ RespondWorkflowTaskFailedRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.RespondWorkflowTaskFailedRequest").msgclass
478
+ RespondWorkflowTaskFailedResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.RespondWorkflowTaskFailedResponse").msgclass
479
+ PollActivityTaskQueueRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.PollActivityTaskQueueRequest").msgclass
480
+ PollActivityTaskQueueResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.PollActivityTaskQueueResponse").msgclass
481
+ RecordActivityTaskHeartbeatRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatRequest").msgclass
482
+ RecordActivityTaskHeartbeatResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatResponse").msgclass
483
+ RecordActivityTaskHeartbeatByIdRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatByIdRequest").msgclass
484
+ RecordActivityTaskHeartbeatByIdResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatByIdResponse").msgclass
485
+ RespondActivityTaskCompletedRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.RespondActivityTaskCompletedRequest").msgclass
486
+ RespondActivityTaskCompletedResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.RespondActivityTaskCompletedResponse").msgclass
487
+ RespondActivityTaskCompletedByIdRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.RespondActivityTaskCompletedByIdRequest").msgclass
488
+ RespondActivityTaskCompletedByIdResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.RespondActivityTaskCompletedByIdResponse").msgclass
489
+ RespondActivityTaskFailedRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.RespondActivityTaskFailedRequest").msgclass
490
+ RespondActivityTaskFailedResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.RespondActivityTaskFailedResponse").msgclass
491
+ RespondActivityTaskFailedByIdRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.RespondActivityTaskFailedByIdRequest").msgclass
492
+ RespondActivityTaskFailedByIdResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.RespondActivityTaskFailedByIdResponse").msgclass
493
+ RespondActivityTaskCanceledRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.RespondActivityTaskCanceledRequest").msgclass
494
+ RespondActivityTaskCanceledResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.RespondActivityTaskCanceledResponse").msgclass
495
+ RespondActivityTaskCanceledByIdRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.RespondActivityTaskCanceledByIdRequest").msgclass
496
+ RespondActivityTaskCanceledByIdResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.RespondActivityTaskCanceledByIdResponse").msgclass
497
+ RequestCancelWorkflowExecutionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.RequestCancelWorkflowExecutionRequest").msgclass
498
+ RequestCancelWorkflowExecutionResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.RequestCancelWorkflowExecutionResponse").msgclass
499
+ SignalWorkflowExecutionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.SignalWorkflowExecutionRequest").msgclass
500
+ SignalWorkflowExecutionResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.SignalWorkflowExecutionResponse").msgclass
501
+ SignalWithStartWorkflowExecutionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionRequest").msgclass
502
+ SignalWithStartWorkflowExecutionResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionResponse").msgclass
503
+ ResetWorkflowExecutionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.ResetWorkflowExecutionRequest").msgclass
504
+ ResetWorkflowExecutionResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.ResetWorkflowExecutionResponse").msgclass
505
+ TerminateWorkflowExecutionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.TerminateWorkflowExecutionRequest").msgclass
506
+ TerminateWorkflowExecutionResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.TerminateWorkflowExecutionResponse").msgclass
507
+ ListOpenWorkflowExecutionsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.ListOpenWorkflowExecutionsRequest").msgclass
508
+ ListOpenWorkflowExecutionsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.ListOpenWorkflowExecutionsResponse").msgclass
509
+ ListClosedWorkflowExecutionsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.ListClosedWorkflowExecutionsRequest").msgclass
510
+ ListClosedWorkflowExecutionsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.ListClosedWorkflowExecutionsResponse").msgclass
511
+ ListWorkflowExecutionsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.ListWorkflowExecutionsRequest").msgclass
512
+ ListWorkflowExecutionsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.ListWorkflowExecutionsResponse").msgclass
513
+ ListArchivedWorkflowExecutionsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.ListArchivedWorkflowExecutionsRequest").msgclass
514
+ ListArchivedWorkflowExecutionsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.ListArchivedWorkflowExecutionsResponse").msgclass
515
+ ScanWorkflowExecutionsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.ScanWorkflowExecutionsRequest").msgclass
516
+ ScanWorkflowExecutionsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.ScanWorkflowExecutionsResponse").msgclass
517
+ CountWorkflowExecutionsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.CountWorkflowExecutionsRequest").msgclass
518
+ CountWorkflowExecutionsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.CountWorkflowExecutionsResponse").msgclass
519
+ GetSearchAttributesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.GetSearchAttributesRequest").msgclass
520
+ GetSearchAttributesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.GetSearchAttributesResponse").msgclass
521
+ RespondQueryTaskCompletedRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.RespondQueryTaskCompletedRequest").msgclass
522
+ RespondQueryTaskCompletedResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.RespondQueryTaskCompletedResponse").msgclass
523
+ ResetStickyTaskQueueRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.ResetStickyTaskQueueRequest").msgclass
524
+ ResetStickyTaskQueueResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.ResetStickyTaskQueueResponse").msgclass
525
+ QueryWorkflowRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.QueryWorkflowRequest").msgclass
526
+ QueryWorkflowResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.QueryWorkflowResponse").msgclass
527
+ DescribeWorkflowExecutionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.DescribeWorkflowExecutionRequest").msgclass
528
+ DescribeWorkflowExecutionResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.DescribeWorkflowExecutionResponse").msgclass
529
+ DescribeTaskQueueRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.DescribeTaskQueueRequest").msgclass
530
+ DescribeTaskQueueResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.DescribeTaskQueueResponse").msgclass
531
+ GetClusterInfoRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.GetClusterInfoRequest").msgclass
532
+ GetClusterInfoResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.GetClusterInfoResponse").msgclass
533
+ ListTaskQueuePartitionsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.ListTaskQueuePartitionsRequest").msgclass
534
+ ListTaskQueuePartitionsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.workflowservice.v1.ListTaskQueuePartitionsResponse").msgclass
535
+ end
536
+ end
537
+ end
538
+ end