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.
- checksums.yaml +4 -4
- data/README.md +19 -42
- data/lib/gen/temporal/api/command/v1/message_pb.rb +146 -0
- data/lib/gen/temporal/api/common/v1/message_pb.rb +67 -0
- data/lib/gen/temporal/api/enums/v1/command_type_pb.rb +35 -0
- data/lib/gen/temporal/api/enums/v1/common_pb.rb +34 -0
- data/lib/gen/temporal/api/enums/v1/event_type_pb.rb +62 -0
- data/lib/gen/temporal/api/enums/v1/failed_cause_pb.rb +60 -0
- data/lib/gen/temporal/api/enums/v1/namespace_pb.rb +31 -0
- data/lib/gen/temporal/api/enums/v1/query_pb.rb +31 -0
- data/lib/gen/temporal/api/enums/v1/task_queue_pb.rb +30 -0
- data/lib/gen/temporal/api/enums/v1/workflow_pb.rb +82 -0
- data/lib/gen/temporal/api/errordetails/v1/message_pb.rb +55 -0
- data/lib/gen/temporal/api/failure/v1/message_pb.rb +81 -0
- data/lib/gen/temporal/api/filter/v1/message_pb.rb +38 -0
- data/lib/gen/temporal/api/history/v1/message_pb.rb +423 -0
- data/lib/gen/temporal/api/namespace/v1/message_pb.rb +55 -0
- data/lib/gen/temporal/api/query/v1/message_pb.rb +36 -0
- data/lib/gen/temporal/api/replication/v1/message_pb.rb +27 -0
- data/lib/gen/temporal/api/taskqueue/v1/message_pb.rb +60 -0
- data/lib/gen/temporal/api/version/v1/message_pb.rb +28 -0
- data/lib/gen/temporal/api/workflow/v1/message_pb.rb +83 -0
- data/lib/gen/temporal/api/workflowservice/v1/request_response_pb.rb +538 -0
- data/lib/gen/temporal/api/workflowservice/v1/service_pb.rb +19 -0
- data/lib/gen/temporal/api/workflowservice/v1/service_services_pb.rb +223 -0
- data/lib/temporal-ruby.rb +1 -0
- data/lib/temporal.rb +137 -0
- data/lib/temporal/activity.rb +33 -0
- data/lib/temporal/activity/async_token.rb +34 -0
- data/lib/temporal/activity/context.rb +64 -0
- data/lib/temporal/activity/poller.rb +79 -0
- data/lib/temporal/activity/task_processor.rb +78 -0
- data/lib/temporal/activity/workflow_convenience_methods.rb +41 -0
- data/lib/temporal/client.rb +21 -0
- data/lib/temporal/client/errors.rb +8 -0
- data/lib/temporal/client/grpc_client.rb +345 -0
- data/lib/temporal/client/serializer.rb +31 -0
- data/lib/temporal/client/serializer/base.rb +23 -0
- data/lib/temporal/client/serializer/cancel_timer.rb +19 -0
- data/lib/temporal/client/serializer/complete_workflow.rb +20 -0
- data/lib/temporal/client/serializer/fail_workflow.rb +20 -0
- data/lib/temporal/client/serializer/failure.rb +29 -0
- data/lib/temporal/client/serializer/payload.rb +25 -0
- data/lib/temporal/client/serializer/record_marker.rb +23 -0
- data/lib/temporal/client/serializer/request_activity_cancellation.rb +19 -0
- data/lib/temporal/client/serializer/schedule_activity.rb +53 -0
- data/lib/temporal/client/serializer/start_child_workflow.rb +51 -0
- data/lib/temporal/client/serializer/start_timer.rb +20 -0
- data/lib/temporal/concerns/executable.rb +37 -0
- data/lib/temporal/concerns/typed.rb +40 -0
- data/lib/temporal/configuration.rb +44 -0
- data/lib/temporal/errors.rb +38 -0
- data/lib/temporal/executable_lookup.rb +25 -0
- data/lib/temporal/execution_options.rb +35 -0
- data/lib/temporal/json.rb +18 -0
- data/lib/temporal/metadata.rb +68 -0
- data/lib/temporal/metadata/activity.rb +27 -0
- data/lib/temporal/metadata/base.rb +17 -0
- data/lib/temporal/metadata/workflow.rb +22 -0
- data/lib/temporal/metadata/workflow_task.rb +25 -0
- data/lib/temporal/metrics.rb +37 -0
- data/lib/temporal/metrics_adapters/log.rb +33 -0
- data/lib/temporal/metrics_adapters/null.rb +9 -0
- data/lib/temporal/middleware/chain.rb +30 -0
- data/lib/temporal/middleware/entry.rb +9 -0
- data/lib/temporal/retry_policy.rb +27 -0
- data/lib/temporal/saga/concern.rb +23 -0
- data/lib/temporal/saga/result.rb +22 -0
- data/lib/temporal/saga/saga.rb +24 -0
- data/lib/temporal/testing.rb +50 -0
- data/lib/temporal/testing/future_registry.rb +27 -0
- data/lib/temporal/testing/local_activity_context.rb +17 -0
- data/lib/temporal/testing/local_workflow_context.rb +178 -0
- data/lib/temporal/testing/temporal_override.rb +121 -0
- data/lib/temporal/testing/workflow_execution.rb +44 -0
- data/lib/temporal/testing/workflow_override.rb +36 -0
- data/lib/temporal/thread_local_context.rb +14 -0
- data/lib/temporal/thread_pool.rb +63 -0
- data/lib/temporal/types.rb +7 -0
- data/lib/temporal/uuid.rb +19 -0
- data/lib/temporal/version.rb +1 -1
- data/lib/temporal/worker.rb +88 -0
- data/lib/temporal/workflow.rb +42 -0
- data/lib/temporal/workflow/command.rb +39 -0
- data/lib/temporal/workflow/command_state_machine.rb +48 -0
- data/lib/temporal/workflow/context.rb +243 -0
- data/lib/temporal/workflow/convenience_methods.rb +34 -0
- data/lib/temporal/workflow/dispatcher.rb +31 -0
- data/lib/temporal/workflow/execution_info.rb +51 -0
- data/lib/temporal/workflow/executor.rb +45 -0
- data/lib/temporal/workflow/future.rb +77 -0
- data/lib/temporal/workflow/history.rb +76 -0
- data/lib/temporal/workflow/history/event.rb +69 -0
- data/lib/temporal/workflow/history/event_target.rb +75 -0
- data/lib/temporal/workflow/history/window.rb +40 -0
- data/lib/temporal/workflow/poller.rb +67 -0
- data/lib/temporal/workflow/replay_aware_logger.rb +36 -0
- data/lib/temporal/workflow/state_manager.rb +342 -0
- data/lib/temporal/workflow/task_processor.rb +78 -0
- data/rbi/temporal-ruby.rbi +43 -0
- data/temporal.gemspec +10 -2
- metadata +186 -6
@@ -0,0 +1,423 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: temporal/api/history/v1/message.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'google/protobuf/duration_pb'
|
7
|
+
require 'google/protobuf/timestamp_pb'
|
8
|
+
require 'temporal/api/enums/v1/event_type_pb'
|
9
|
+
require 'temporal/api/enums/v1/failed_cause_pb'
|
10
|
+
require 'temporal/api/enums/v1/workflow_pb'
|
11
|
+
require 'temporal/api/common/v1/message_pb'
|
12
|
+
require 'temporal/api/failure/v1/message_pb'
|
13
|
+
require 'temporal/api/workflow/v1/message_pb'
|
14
|
+
require 'temporal/api/taskqueue/v1/message_pb'
|
15
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
16
|
+
add_file("temporal/api/history/v1/message.proto", :syntax => :proto3) do
|
17
|
+
add_message "temporal.api.history.v1.WorkflowExecutionStartedEventAttributes" do
|
18
|
+
optional :workflow_type, :message, 1, "temporal.api.common.v1.WorkflowType"
|
19
|
+
optional :parent_workflow_namespace, :string, 2
|
20
|
+
optional :parent_workflow_execution, :message, 3, "temporal.api.common.v1.WorkflowExecution"
|
21
|
+
optional :parent_initiated_event_id, :int64, 4
|
22
|
+
optional :task_queue, :message, 5, "temporal.api.taskqueue.v1.TaskQueue"
|
23
|
+
optional :input, :message, 6, "temporal.api.common.v1.Payloads"
|
24
|
+
optional :workflow_execution_timeout, :message, 7, "google.protobuf.Duration"
|
25
|
+
optional :workflow_run_timeout, :message, 8, "google.protobuf.Duration"
|
26
|
+
optional :workflow_task_timeout, :message, 9, "google.protobuf.Duration"
|
27
|
+
optional :continued_execution_run_id, :string, 10
|
28
|
+
optional :initiator, :enum, 11, "temporal.api.enums.v1.ContinueAsNewInitiator"
|
29
|
+
optional :continued_failure, :message, 12, "temporal.api.failure.v1.Failure"
|
30
|
+
optional :last_completion_result, :message, 13, "temporal.api.common.v1.Payloads"
|
31
|
+
optional :original_execution_run_id, :string, 14
|
32
|
+
optional :identity, :string, 15
|
33
|
+
optional :first_execution_run_id, :string, 16
|
34
|
+
optional :retry_policy, :message, 17, "temporal.api.common.v1.RetryPolicy"
|
35
|
+
optional :attempt, :int32, 18
|
36
|
+
optional :workflow_execution_expiration_time, :message, 19, "google.protobuf.Timestamp"
|
37
|
+
optional :cron_schedule, :string, 20
|
38
|
+
optional :first_workflow_task_backoff, :message, 21, "google.protobuf.Duration"
|
39
|
+
optional :memo, :message, 22, "temporal.api.common.v1.Memo"
|
40
|
+
optional :search_attributes, :message, 23, "temporal.api.common.v1.SearchAttributes"
|
41
|
+
optional :prev_auto_reset_points, :message, 24, "temporal.api.workflow.v1.ResetPoints"
|
42
|
+
optional :header, :message, 25, "temporal.api.common.v1.Header"
|
43
|
+
end
|
44
|
+
add_message "temporal.api.history.v1.WorkflowExecutionCompletedEventAttributes" do
|
45
|
+
optional :result, :message, 1, "temporal.api.common.v1.Payloads"
|
46
|
+
optional :workflow_task_completed_event_id, :int64, 2
|
47
|
+
end
|
48
|
+
add_message "temporal.api.history.v1.WorkflowExecutionFailedEventAttributes" do
|
49
|
+
optional :failure, :message, 1, "temporal.api.failure.v1.Failure"
|
50
|
+
optional :retry_state, :enum, 2, "temporal.api.enums.v1.RetryState"
|
51
|
+
optional :workflow_task_completed_event_id, :int64, 3
|
52
|
+
end
|
53
|
+
add_message "temporal.api.history.v1.WorkflowExecutionTimedOutEventAttributes" do
|
54
|
+
optional :retry_state, :enum, 1, "temporal.api.enums.v1.RetryState"
|
55
|
+
end
|
56
|
+
add_message "temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes" do
|
57
|
+
optional :new_execution_run_id, :string, 1
|
58
|
+
optional :workflow_type, :message, 2, "temporal.api.common.v1.WorkflowType"
|
59
|
+
optional :task_queue, :message, 3, "temporal.api.taskqueue.v1.TaskQueue"
|
60
|
+
optional :input, :message, 4, "temporal.api.common.v1.Payloads"
|
61
|
+
optional :workflow_run_timeout, :message, 5, "google.protobuf.Duration"
|
62
|
+
optional :workflow_task_timeout, :message, 6, "google.protobuf.Duration"
|
63
|
+
optional :workflow_task_completed_event_id, :int64, 7
|
64
|
+
optional :backoff_start_interval, :message, 8, "google.protobuf.Duration"
|
65
|
+
optional :initiator, :enum, 9, "temporal.api.enums.v1.ContinueAsNewInitiator"
|
66
|
+
optional :failure, :message, 10, "temporal.api.failure.v1.Failure"
|
67
|
+
optional :last_completion_result, :message, 11, "temporal.api.common.v1.Payloads"
|
68
|
+
optional :header, :message, 12, "temporal.api.common.v1.Header"
|
69
|
+
optional :memo, :message, 13, "temporal.api.common.v1.Memo"
|
70
|
+
optional :search_attributes, :message, 14, "temporal.api.common.v1.SearchAttributes"
|
71
|
+
end
|
72
|
+
add_message "temporal.api.history.v1.WorkflowTaskScheduledEventAttributes" do
|
73
|
+
optional :task_queue, :message, 1, "temporal.api.taskqueue.v1.TaskQueue"
|
74
|
+
optional :start_to_close_timeout, :message, 2, "google.protobuf.Duration"
|
75
|
+
optional :attempt, :int32, 3
|
76
|
+
end
|
77
|
+
add_message "temporal.api.history.v1.WorkflowTaskStartedEventAttributes" do
|
78
|
+
optional :scheduled_event_id, :int64, 1
|
79
|
+
optional :identity, :string, 2
|
80
|
+
optional :request_id, :string, 3
|
81
|
+
end
|
82
|
+
add_message "temporal.api.history.v1.WorkflowTaskCompletedEventAttributes" do
|
83
|
+
optional :scheduled_event_id, :int64, 1
|
84
|
+
optional :started_event_id, :int64, 2
|
85
|
+
optional :identity, :string, 3
|
86
|
+
optional :binary_checksum, :string, 4
|
87
|
+
end
|
88
|
+
add_message "temporal.api.history.v1.WorkflowTaskTimedOutEventAttributes" do
|
89
|
+
optional :scheduled_event_id, :int64, 1
|
90
|
+
optional :started_event_id, :int64, 2
|
91
|
+
optional :timeout_type, :enum, 3, "temporal.api.enums.v1.TimeoutType"
|
92
|
+
end
|
93
|
+
add_message "temporal.api.history.v1.WorkflowTaskFailedEventAttributes" do
|
94
|
+
optional :scheduled_event_id, :int64, 1
|
95
|
+
optional :started_event_id, :int64, 2
|
96
|
+
optional :cause, :enum, 3, "temporal.api.enums.v1.WorkflowTaskFailedCause"
|
97
|
+
optional :failure, :message, 4, "temporal.api.failure.v1.Failure"
|
98
|
+
optional :identity, :string, 5
|
99
|
+
optional :base_run_id, :string, 6
|
100
|
+
optional :new_run_id, :string, 7
|
101
|
+
optional :fork_event_version, :int64, 8
|
102
|
+
optional :binary_checksum, :string, 9
|
103
|
+
end
|
104
|
+
add_message "temporal.api.history.v1.ActivityTaskScheduledEventAttributes" do
|
105
|
+
optional :activity_id, :string, 1
|
106
|
+
optional :activity_type, :message, 2, "temporal.api.common.v1.ActivityType"
|
107
|
+
optional :namespace, :string, 3
|
108
|
+
optional :task_queue, :message, 4, "temporal.api.taskqueue.v1.TaskQueue"
|
109
|
+
optional :header, :message, 5, "temporal.api.common.v1.Header"
|
110
|
+
optional :input, :message, 6, "temporal.api.common.v1.Payloads"
|
111
|
+
optional :schedule_to_close_timeout, :message, 7, "google.protobuf.Duration"
|
112
|
+
optional :schedule_to_start_timeout, :message, 8, "google.protobuf.Duration"
|
113
|
+
optional :start_to_close_timeout, :message, 9, "google.protobuf.Duration"
|
114
|
+
optional :heartbeat_timeout, :message, 10, "google.protobuf.Duration"
|
115
|
+
optional :workflow_task_completed_event_id, :int64, 11
|
116
|
+
optional :retry_policy, :message, 12, "temporal.api.common.v1.RetryPolicy"
|
117
|
+
end
|
118
|
+
add_message "temporal.api.history.v1.ActivityTaskStartedEventAttributes" do
|
119
|
+
optional :scheduled_event_id, :int64, 1
|
120
|
+
optional :identity, :string, 2
|
121
|
+
optional :request_id, :string, 3
|
122
|
+
optional :attempt, :int32, 4
|
123
|
+
optional :last_failure, :message, 5, "temporal.api.failure.v1.Failure"
|
124
|
+
end
|
125
|
+
add_message "temporal.api.history.v1.ActivityTaskCompletedEventAttributes" do
|
126
|
+
optional :result, :message, 1, "temporal.api.common.v1.Payloads"
|
127
|
+
optional :scheduled_event_id, :int64, 2
|
128
|
+
optional :started_event_id, :int64, 3
|
129
|
+
optional :identity, :string, 4
|
130
|
+
end
|
131
|
+
add_message "temporal.api.history.v1.ActivityTaskFailedEventAttributes" do
|
132
|
+
optional :failure, :message, 1, "temporal.api.failure.v1.Failure"
|
133
|
+
optional :scheduled_event_id, :int64, 2
|
134
|
+
optional :started_event_id, :int64, 3
|
135
|
+
optional :identity, :string, 4
|
136
|
+
optional :retry_state, :enum, 5, "temporal.api.enums.v1.RetryState"
|
137
|
+
end
|
138
|
+
add_message "temporal.api.history.v1.ActivityTaskTimedOutEventAttributes" do
|
139
|
+
optional :failure, :message, 1, "temporal.api.failure.v1.Failure"
|
140
|
+
optional :scheduled_event_id, :int64, 2
|
141
|
+
optional :started_event_id, :int64, 3
|
142
|
+
optional :retry_state, :enum, 4, "temporal.api.enums.v1.RetryState"
|
143
|
+
end
|
144
|
+
add_message "temporal.api.history.v1.ActivityTaskCancelRequestedEventAttributes" do
|
145
|
+
optional :scheduled_event_id, :int64, 1
|
146
|
+
optional :workflow_task_completed_event_id, :int64, 2
|
147
|
+
end
|
148
|
+
add_message "temporal.api.history.v1.ActivityTaskCanceledEventAttributes" do
|
149
|
+
optional :details, :message, 1, "temporal.api.common.v1.Payloads"
|
150
|
+
optional :latest_cancel_requested_event_id, :int64, 2
|
151
|
+
optional :scheduled_event_id, :int64, 3
|
152
|
+
optional :started_event_id, :int64, 4
|
153
|
+
optional :identity, :string, 5
|
154
|
+
end
|
155
|
+
add_message "temporal.api.history.v1.TimerStartedEventAttributes" do
|
156
|
+
optional :timer_id, :string, 1
|
157
|
+
optional :start_to_fire_timeout, :message, 2, "google.protobuf.Duration"
|
158
|
+
optional :workflow_task_completed_event_id, :int64, 3
|
159
|
+
end
|
160
|
+
add_message "temporal.api.history.v1.TimerFiredEventAttributes" do
|
161
|
+
optional :timer_id, :string, 1
|
162
|
+
optional :started_event_id, :int64, 2
|
163
|
+
end
|
164
|
+
add_message "temporal.api.history.v1.TimerCanceledEventAttributes" do
|
165
|
+
optional :timer_id, :string, 1
|
166
|
+
optional :started_event_id, :int64, 2
|
167
|
+
optional :workflow_task_completed_event_id, :int64, 3
|
168
|
+
optional :identity, :string, 4
|
169
|
+
end
|
170
|
+
add_message "temporal.api.history.v1.WorkflowExecutionCancelRequestedEventAttributes" do
|
171
|
+
optional :cause, :string, 1
|
172
|
+
optional :external_initiated_event_id, :int64, 2
|
173
|
+
optional :external_workflow_execution, :message, 3, "temporal.api.common.v1.WorkflowExecution"
|
174
|
+
optional :identity, :string, 4
|
175
|
+
end
|
176
|
+
add_message "temporal.api.history.v1.WorkflowExecutionCanceledEventAttributes" do
|
177
|
+
optional :workflow_task_completed_event_id, :int64, 1
|
178
|
+
optional :details, :message, 2, "temporal.api.common.v1.Payloads"
|
179
|
+
end
|
180
|
+
add_message "temporal.api.history.v1.MarkerRecordedEventAttributes" do
|
181
|
+
optional :marker_name, :string, 1
|
182
|
+
map :details, :string, :message, 2, "temporal.api.common.v1.Payloads"
|
183
|
+
optional :workflow_task_completed_event_id, :int64, 3
|
184
|
+
optional :header, :message, 4, "temporal.api.common.v1.Header"
|
185
|
+
optional :failure, :message, 5, "temporal.api.failure.v1.Failure"
|
186
|
+
end
|
187
|
+
add_message "temporal.api.history.v1.WorkflowExecutionSignaledEventAttributes" do
|
188
|
+
optional :signal_name, :string, 1
|
189
|
+
optional :input, :message, 2, "temporal.api.common.v1.Payloads"
|
190
|
+
optional :identity, :string, 3
|
191
|
+
end
|
192
|
+
add_message "temporal.api.history.v1.WorkflowExecutionTerminatedEventAttributes" do
|
193
|
+
optional :reason, :string, 1
|
194
|
+
optional :details, :message, 2, "temporal.api.common.v1.Payloads"
|
195
|
+
optional :identity, :string, 3
|
196
|
+
end
|
197
|
+
add_message "temporal.api.history.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes" do
|
198
|
+
optional :workflow_task_completed_event_id, :int64, 1
|
199
|
+
optional :namespace, :string, 2
|
200
|
+
optional :workflow_execution, :message, 3, "temporal.api.common.v1.WorkflowExecution"
|
201
|
+
optional :control, :string, 4
|
202
|
+
optional :child_workflow_only, :bool, 5
|
203
|
+
end
|
204
|
+
add_message "temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributes" do
|
205
|
+
optional :cause, :enum, 1, "temporal.api.enums.v1.CancelExternalWorkflowExecutionFailedCause"
|
206
|
+
optional :workflow_task_completed_event_id, :int64, 2
|
207
|
+
optional :namespace, :string, 3
|
208
|
+
optional :workflow_execution, :message, 4, "temporal.api.common.v1.WorkflowExecution"
|
209
|
+
optional :initiated_event_id, :int64, 5
|
210
|
+
optional :control, :string, 6
|
211
|
+
end
|
212
|
+
add_message "temporal.api.history.v1.ExternalWorkflowExecutionCancelRequestedEventAttributes" do
|
213
|
+
optional :initiated_event_id, :int64, 1
|
214
|
+
optional :namespace, :string, 2
|
215
|
+
optional :workflow_execution, :message, 3, "temporal.api.common.v1.WorkflowExecution"
|
216
|
+
end
|
217
|
+
add_message "temporal.api.history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributes" do
|
218
|
+
optional :workflow_task_completed_event_id, :int64, 1
|
219
|
+
optional :namespace, :string, 2
|
220
|
+
optional :workflow_execution, :message, 3, "temporal.api.common.v1.WorkflowExecution"
|
221
|
+
optional :signal_name, :string, 4
|
222
|
+
optional :input, :message, 5, "temporal.api.common.v1.Payloads"
|
223
|
+
optional :control, :string, 6
|
224
|
+
optional :child_workflow_only, :bool, 7
|
225
|
+
end
|
226
|
+
add_message "temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributes" do
|
227
|
+
optional :cause, :enum, 1, "temporal.api.enums.v1.SignalExternalWorkflowExecutionFailedCause"
|
228
|
+
optional :workflow_task_completed_event_id, :int64, 2
|
229
|
+
optional :namespace, :string, 3
|
230
|
+
optional :workflow_execution, :message, 4, "temporal.api.common.v1.WorkflowExecution"
|
231
|
+
optional :initiated_event_id, :int64, 5
|
232
|
+
optional :control, :string, 6
|
233
|
+
end
|
234
|
+
add_message "temporal.api.history.v1.ExternalWorkflowExecutionSignaledEventAttributes" do
|
235
|
+
optional :initiated_event_id, :int64, 1
|
236
|
+
optional :namespace, :string, 2
|
237
|
+
optional :workflow_execution, :message, 3, "temporal.api.common.v1.WorkflowExecution"
|
238
|
+
optional :control, :string, 4
|
239
|
+
end
|
240
|
+
add_message "temporal.api.history.v1.UpsertWorkflowSearchAttributesEventAttributes" do
|
241
|
+
optional :workflow_task_completed_event_id, :int64, 1
|
242
|
+
optional :search_attributes, :message, 2, "temporal.api.common.v1.SearchAttributes"
|
243
|
+
end
|
244
|
+
add_message "temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributes" do
|
245
|
+
optional :namespace, :string, 1
|
246
|
+
optional :workflow_id, :string, 2
|
247
|
+
optional :workflow_type, :message, 3, "temporal.api.common.v1.WorkflowType"
|
248
|
+
optional :task_queue, :message, 4, "temporal.api.taskqueue.v1.TaskQueue"
|
249
|
+
optional :input, :message, 5, "temporal.api.common.v1.Payloads"
|
250
|
+
optional :workflow_execution_timeout, :message, 6, "google.protobuf.Duration"
|
251
|
+
optional :workflow_run_timeout, :message, 7, "google.protobuf.Duration"
|
252
|
+
optional :workflow_task_timeout, :message, 8, "google.protobuf.Duration"
|
253
|
+
optional :parent_close_policy, :enum, 9, "temporal.api.enums.v1.ParentClosePolicy"
|
254
|
+
optional :control, :string, 10
|
255
|
+
optional :workflow_task_completed_event_id, :int64, 11
|
256
|
+
optional :workflow_id_reuse_policy, :enum, 12, "temporal.api.enums.v1.WorkflowIdReusePolicy"
|
257
|
+
optional :retry_policy, :message, 13, "temporal.api.common.v1.RetryPolicy"
|
258
|
+
optional :cron_schedule, :string, 14
|
259
|
+
optional :header, :message, 15, "temporal.api.common.v1.Header"
|
260
|
+
optional :memo, :message, 16, "temporal.api.common.v1.Memo"
|
261
|
+
optional :search_attributes, :message, 17, "temporal.api.common.v1.SearchAttributes"
|
262
|
+
end
|
263
|
+
add_message "temporal.api.history.v1.StartChildWorkflowExecutionFailedEventAttributes" do
|
264
|
+
optional :namespace, :string, 1
|
265
|
+
optional :workflow_id, :string, 2
|
266
|
+
optional :workflow_type, :message, 3, "temporal.api.common.v1.WorkflowType"
|
267
|
+
optional :cause, :enum, 4, "temporal.api.enums.v1.StartChildWorkflowExecutionFailedCause"
|
268
|
+
optional :control, :string, 5
|
269
|
+
optional :initiated_event_id, :int64, 6
|
270
|
+
optional :workflow_task_completed_event_id, :int64, 7
|
271
|
+
end
|
272
|
+
add_message "temporal.api.history.v1.ChildWorkflowExecutionStartedEventAttributes" do
|
273
|
+
optional :namespace, :string, 1
|
274
|
+
optional :initiated_event_id, :int64, 2
|
275
|
+
optional :workflow_execution, :message, 3, "temporal.api.common.v1.WorkflowExecution"
|
276
|
+
optional :workflow_type, :message, 4, "temporal.api.common.v1.WorkflowType"
|
277
|
+
optional :header, :message, 5, "temporal.api.common.v1.Header"
|
278
|
+
end
|
279
|
+
add_message "temporal.api.history.v1.ChildWorkflowExecutionCompletedEventAttributes" do
|
280
|
+
optional :result, :message, 1, "temporal.api.common.v1.Payloads"
|
281
|
+
optional :namespace, :string, 2
|
282
|
+
optional :workflow_execution, :message, 3, "temporal.api.common.v1.WorkflowExecution"
|
283
|
+
optional :workflow_type, :message, 4, "temporal.api.common.v1.WorkflowType"
|
284
|
+
optional :initiated_event_id, :int64, 5
|
285
|
+
optional :started_event_id, :int64, 6
|
286
|
+
end
|
287
|
+
add_message "temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributes" do
|
288
|
+
optional :failure, :message, 1, "temporal.api.failure.v1.Failure"
|
289
|
+
optional :namespace, :string, 2
|
290
|
+
optional :workflow_execution, :message, 3, "temporal.api.common.v1.WorkflowExecution"
|
291
|
+
optional :workflow_type, :message, 4, "temporal.api.common.v1.WorkflowType"
|
292
|
+
optional :initiated_event_id, :int64, 5
|
293
|
+
optional :started_event_id, :int64, 6
|
294
|
+
optional :retry_state, :enum, 7, "temporal.api.enums.v1.RetryState"
|
295
|
+
end
|
296
|
+
add_message "temporal.api.history.v1.ChildWorkflowExecutionCanceledEventAttributes" do
|
297
|
+
optional :details, :message, 1, "temporal.api.common.v1.Payloads"
|
298
|
+
optional :namespace, :string, 2
|
299
|
+
optional :workflow_execution, :message, 3, "temporal.api.common.v1.WorkflowExecution"
|
300
|
+
optional :workflow_type, :message, 4, "temporal.api.common.v1.WorkflowType"
|
301
|
+
optional :initiated_event_id, :int64, 5
|
302
|
+
optional :started_event_id, :int64, 6
|
303
|
+
end
|
304
|
+
add_message "temporal.api.history.v1.ChildWorkflowExecutionTimedOutEventAttributes" do
|
305
|
+
optional :namespace, :string, 1
|
306
|
+
optional :workflow_execution, :message, 2, "temporal.api.common.v1.WorkflowExecution"
|
307
|
+
optional :workflow_type, :message, 3, "temporal.api.common.v1.WorkflowType"
|
308
|
+
optional :initiated_event_id, :int64, 4
|
309
|
+
optional :started_event_id, :int64, 5
|
310
|
+
optional :retry_state, :enum, 6, "temporal.api.enums.v1.RetryState"
|
311
|
+
end
|
312
|
+
add_message "temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes" do
|
313
|
+
optional :namespace, :string, 1
|
314
|
+
optional :workflow_execution, :message, 2, "temporal.api.common.v1.WorkflowExecution"
|
315
|
+
optional :workflow_type, :message, 3, "temporal.api.common.v1.WorkflowType"
|
316
|
+
optional :initiated_event_id, :int64, 4
|
317
|
+
optional :started_event_id, :int64, 5
|
318
|
+
end
|
319
|
+
add_message "temporal.api.history.v1.HistoryEvent" do
|
320
|
+
optional :event_id, :int64, 1
|
321
|
+
optional :event_time, :message, 2, "google.protobuf.Timestamp"
|
322
|
+
optional :event_type, :enum, 3, "temporal.api.enums.v1.EventType"
|
323
|
+
optional :version, :int64, 4
|
324
|
+
optional :task_id, :int64, 5
|
325
|
+
oneof :attributes do
|
326
|
+
optional :workflow_execution_started_event_attributes, :message, 6, "temporal.api.history.v1.WorkflowExecutionStartedEventAttributes"
|
327
|
+
optional :workflow_execution_completed_event_attributes, :message, 7, "temporal.api.history.v1.WorkflowExecutionCompletedEventAttributes"
|
328
|
+
optional :workflow_execution_failed_event_attributes, :message, 8, "temporal.api.history.v1.WorkflowExecutionFailedEventAttributes"
|
329
|
+
optional :workflow_execution_timed_out_event_attributes, :message, 9, "temporal.api.history.v1.WorkflowExecutionTimedOutEventAttributes"
|
330
|
+
optional :workflow_task_scheduled_event_attributes, :message, 10, "temporal.api.history.v1.WorkflowTaskScheduledEventAttributes"
|
331
|
+
optional :workflow_task_started_event_attributes, :message, 11, "temporal.api.history.v1.WorkflowTaskStartedEventAttributes"
|
332
|
+
optional :workflow_task_completed_event_attributes, :message, 12, "temporal.api.history.v1.WorkflowTaskCompletedEventAttributes"
|
333
|
+
optional :workflow_task_timed_out_event_attributes, :message, 13, "temporal.api.history.v1.WorkflowTaskTimedOutEventAttributes"
|
334
|
+
optional :workflow_task_failed_event_attributes, :message, 14, "temporal.api.history.v1.WorkflowTaskFailedEventAttributes"
|
335
|
+
optional :activity_task_scheduled_event_attributes, :message, 15, "temporal.api.history.v1.ActivityTaskScheduledEventAttributes"
|
336
|
+
optional :activity_task_started_event_attributes, :message, 16, "temporal.api.history.v1.ActivityTaskStartedEventAttributes"
|
337
|
+
optional :activity_task_completed_event_attributes, :message, 17, "temporal.api.history.v1.ActivityTaskCompletedEventAttributes"
|
338
|
+
optional :activity_task_failed_event_attributes, :message, 18, "temporal.api.history.v1.ActivityTaskFailedEventAttributes"
|
339
|
+
optional :activity_task_timed_out_event_attributes, :message, 19, "temporal.api.history.v1.ActivityTaskTimedOutEventAttributes"
|
340
|
+
optional :timer_started_event_attributes, :message, 20, "temporal.api.history.v1.TimerStartedEventAttributes"
|
341
|
+
optional :timer_fired_event_attributes, :message, 21, "temporal.api.history.v1.TimerFiredEventAttributes"
|
342
|
+
optional :activity_task_cancel_requested_event_attributes, :message, 22, "temporal.api.history.v1.ActivityTaskCancelRequestedEventAttributes"
|
343
|
+
optional :activity_task_canceled_event_attributes, :message, 23, "temporal.api.history.v1.ActivityTaskCanceledEventAttributes"
|
344
|
+
optional :timer_canceled_event_attributes, :message, 24, "temporal.api.history.v1.TimerCanceledEventAttributes"
|
345
|
+
optional :marker_recorded_event_attributes, :message, 25, "temporal.api.history.v1.MarkerRecordedEventAttributes"
|
346
|
+
optional :workflow_execution_signaled_event_attributes, :message, 26, "temporal.api.history.v1.WorkflowExecutionSignaledEventAttributes"
|
347
|
+
optional :workflow_execution_terminated_event_attributes, :message, 27, "temporal.api.history.v1.WorkflowExecutionTerminatedEventAttributes"
|
348
|
+
optional :workflow_execution_cancel_requested_event_attributes, :message, 28, "temporal.api.history.v1.WorkflowExecutionCancelRequestedEventAttributes"
|
349
|
+
optional :workflow_execution_canceled_event_attributes, :message, 29, "temporal.api.history.v1.WorkflowExecutionCanceledEventAttributes"
|
350
|
+
optional :request_cancel_external_workflow_execution_initiated_event_attributes, :message, 30, "temporal.api.history.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes"
|
351
|
+
optional :request_cancel_external_workflow_execution_failed_event_attributes, :message, 31, "temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributes"
|
352
|
+
optional :external_workflow_execution_cancel_requested_event_attributes, :message, 32, "temporal.api.history.v1.ExternalWorkflowExecutionCancelRequestedEventAttributes"
|
353
|
+
optional :workflow_execution_continued_as_new_event_attributes, :message, 33, "temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes"
|
354
|
+
optional :start_child_workflow_execution_initiated_event_attributes, :message, 34, "temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributes"
|
355
|
+
optional :start_child_workflow_execution_failed_event_attributes, :message, 35, "temporal.api.history.v1.StartChildWorkflowExecutionFailedEventAttributes"
|
356
|
+
optional :child_workflow_execution_started_event_attributes, :message, 36, "temporal.api.history.v1.ChildWorkflowExecutionStartedEventAttributes"
|
357
|
+
optional :child_workflow_execution_completed_event_attributes, :message, 37, "temporal.api.history.v1.ChildWorkflowExecutionCompletedEventAttributes"
|
358
|
+
optional :child_workflow_execution_failed_event_attributes, :message, 38, "temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributes"
|
359
|
+
optional :child_workflow_execution_canceled_event_attributes, :message, 39, "temporal.api.history.v1.ChildWorkflowExecutionCanceledEventAttributes"
|
360
|
+
optional :child_workflow_execution_timed_out_event_attributes, :message, 40, "temporal.api.history.v1.ChildWorkflowExecutionTimedOutEventAttributes"
|
361
|
+
optional :child_workflow_execution_terminated_event_attributes, :message, 41, "temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes"
|
362
|
+
optional :signal_external_workflow_execution_initiated_event_attributes, :message, 42, "temporal.api.history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributes"
|
363
|
+
optional :signal_external_workflow_execution_failed_event_attributes, :message, 43, "temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributes"
|
364
|
+
optional :external_workflow_execution_signaled_event_attributes, :message, 44, "temporal.api.history.v1.ExternalWorkflowExecutionSignaledEventAttributes"
|
365
|
+
optional :upsert_workflow_search_attributes_event_attributes, :message, 45, "temporal.api.history.v1.UpsertWorkflowSearchAttributesEventAttributes"
|
366
|
+
end
|
367
|
+
end
|
368
|
+
add_message "temporal.api.history.v1.History" do
|
369
|
+
repeated :events, :message, 1, "temporal.api.history.v1.HistoryEvent"
|
370
|
+
end
|
371
|
+
end
|
372
|
+
end
|
373
|
+
|
374
|
+
module Temporal
|
375
|
+
module Api
|
376
|
+
module History
|
377
|
+
module V1
|
378
|
+
WorkflowExecutionStartedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.WorkflowExecutionStartedEventAttributes").msgclass
|
379
|
+
WorkflowExecutionCompletedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.WorkflowExecutionCompletedEventAttributes").msgclass
|
380
|
+
WorkflowExecutionFailedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.WorkflowExecutionFailedEventAttributes").msgclass
|
381
|
+
WorkflowExecutionTimedOutEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.WorkflowExecutionTimedOutEventAttributes").msgclass
|
382
|
+
WorkflowExecutionContinuedAsNewEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes").msgclass
|
383
|
+
WorkflowTaskScheduledEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.WorkflowTaskScheduledEventAttributes").msgclass
|
384
|
+
WorkflowTaskStartedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.WorkflowTaskStartedEventAttributes").msgclass
|
385
|
+
WorkflowTaskCompletedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.WorkflowTaskCompletedEventAttributes").msgclass
|
386
|
+
WorkflowTaskTimedOutEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.WorkflowTaskTimedOutEventAttributes").msgclass
|
387
|
+
WorkflowTaskFailedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.WorkflowTaskFailedEventAttributes").msgclass
|
388
|
+
ActivityTaskScheduledEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.ActivityTaskScheduledEventAttributes").msgclass
|
389
|
+
ActivityTaskStartedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.ActivityTaskStartedEventAttributes").msgclass
|
390
|
+
ActivityTaskCompletedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.ActivityTaskCompletedEventAttributes").msgclass
|
391
|
+
ActivityTaskFailedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.ActivityTaskFailedEventAttributes").msgclass
|
392
|
+
ActivityTaskTimedOutEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.ActivityTaskTimedOutEventAttributes").msgclass
|
393
|
+
ActivityTaskCancelRequestedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.ActivityTaskCancelRequestedEventAttributes").msgclass
|
394
|
+
ActivityTaskCanceledEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.ActivityTaskCanceledEventAttributes").msgclass
|
395
|
+
TimerStartedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.TimerStartedEventAttributes").msgclass
|
396
|
+
TimerFiredEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.TimerFiredEventAttributes").msgclass
|
397
|
+
TimerCanceledEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.TimerCanceledEventAttributes").msgclass
|
398
|
+
WorkflowExecutionCancelRequestedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.WorkflowExecutionCancelRequestedEventAttributes").msgclass
|
399
|
+
WorkflowExecutionCanceledEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.WorkflowExecutionCanceledEventAttributes").msgclass
|
400
|
+
MarkerRecordedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.MarkerRecordedEventAttributes").msgclass
|
401
|
+
WorkflowExecutionSignaledEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.WorkflowExecutionSignaledEventAttributes").msgclass
|
402
|
+
WorkflowExecutionTerminatedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.WorkflowExecutionTerminatedEventAttributes").msgclass
|
403
|
+
RequestCancelExternalWorkflowExecutionInitiatedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes").msgclass
|
404
|
+
RequestCancelExternalWorkflowExecutionFailedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributes").msgclass
|
405
|
+
ExternalWorkflowExecutionCancelRequestedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.ExternalWorkflowExecutionCancelRequestedEventAttributes").msgclass
|
406
|
+
SignalExternalWorkflowExecutionInitiatedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributes").msgclass
|
407
|
+
SignalExternalWorkflowExecutionFailedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributes").msgclass
|
408
|
+
ExternalWorkflowExecutionSignaledEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.ExternalWorkflowExecutionSignaledEventAttributes").msgclass
|
409
|
+
UpsertWorkflowSearchAttributesEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.UpsertWorkflowSearchAttributesEventAttributes").msgclass
|
410
|
+
StartChildWorkflowExecutionInitiatedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributes").msgclass
|
411
|
+
StartChildWorkflowExecutionFailedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.StartChildWorkflowExecutionFailedEventAttributes").msgclass
|
412
|
+
ChildWorkflowExecutionStartedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.ChildWorkflowExecutionStartedEventAttributes").msgclass
|
413
|
+
ChildWorkflowExecutionCompletedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.ChildWorkflowExecutionCompletedEventAttributes").msgclass
|
414
|
+
ChildWorkflowExecutionFailedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributes").msgclass
|
415
|
+
ChildWorkflowExecutionCanceledEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.ChildWorkflowExecutionCanceledEventAttributes").msgclass
|
416
|
+
ChildWorkflowExecutionTimedOutEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.ChildWorkflowExecutionTimedOutEventAttributes").msgclass
|
417
|
+
ChildWorkflowExecutionTerminatedEventAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes").msgclass
|
418
|
+
HistoryEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.HistoryEvent").msgclass
|
419
|
+
History = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.history.v1.History").msgclass
|
420
|
+
end
|
421
|
+
end
|
422
|
+
end
|
423
|
+
end
|
@@ -0,0 +1,55 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: temporal/api/namespace/v1/message.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'google/protobuf/duration_pb'
|
7
|
+
require 'google/protobuf/timestamp_pb'
|
8
|
+
require 'temporal/api/enums/v1/namespace_pb'
|
9
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
10
|
+
add_file("temporal/api/namespace/v1/message.proto", :syntax => :proto3) do
|
11
|
+
add_message "temporal.api.namespace.v1.NamespaceInfo" do
|
12
|
+
optional :name, :string, 1
|
13
|
+
optional :state, :enum, 2, "temporal.api.enums.v1.NamespaceState"
|
14
|
+
optional :description, :string, 3
|
15
|
+
optional :owner_email, :string, 4
|
16
|
+
map :data, :string, :string, 5
|
17
|
+
optional :id, :string, 6
|
18
|
+
end
|
19
|
+
add_message "temporal.api.namespace.v1.NamespaceConfig" do
|
20
|
+
optional :workflow_execution_retention_ttl, :message, 1, "google.protobuf.Duration"
|
21
|
+
optional :bad_binaries, :message, 2, "temporal.api.namespace.v1.BadBinaries"
|
22
|
+
optional :history_archival_state, :enum, 3, "temporal.api.enums.v1.ArchivalState"
|
23
|
+
optional :history_archival_uri, :string, 4
|
24
|
+
optional :visibility_archival_state, :enum, 5, "temporal.api.enums.v1.ArchivalState"
|
25
|
+
optional :visibility_archival_uri, :string, 6
|
26
|
+
end
|
27
|
+
add_message "temporal.api.namespace.v1.BadBinaries" do
|
28
|
+
map :binaries, :string, :message, 1, "temporal.api.namespace.v1.BadBinaryInfo"
|
29
|
+
end
|
30
|
+
add_message "temporal.api.namespace.v1.BadBinaryInfo" do
|
31
|
+
optional :reason, :string, 1
|
32
|
+
optional :operator, :string, 2
|
33
|
+
optional :create_time, :message, 3, "google.protobuf.Timestamp"
|
34
|
+
end
|
35
|
+
add_message "temporal.api.namespace.v1.UpdateNamespaceInfo" do
|
36
|
+
optional :description, :string, 1
|
37
|
+
optional :owner_email, :string, 2
|
38
|
+
map :data, :string, :string, 3
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
42
|
+
|
43
|
+
module Temporal
|
44
|
+
module Api
|
45
|
+
module Namespace
|
46
|
+
module V1
|
47
|
+
NamespaceInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.namespace.v1.NamespaceInfo").msgclass
|
48
|
+
NamespaceConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.namespace.v1.NamespaceConfig").msgclass
|
49
|
+
BadBinaries = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.namespace.v1.BadBinaries").msgclass
|
50
|
+
BadBinaryInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.namespace.v1.BadBinaryInfo").msgclass
|
51
|
+
UpdateNamespaceInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.namespace.v1.UpdateNamespaceInfo").msgclass
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|