temporalio 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (124) hide show
  1. checksums.yaml +4 -4
  2. data/bridge/Cargo.lock +20 -20
  3. data/bridge/Cargo.toml +3 -3
  4. data/lib/temporalio/bridge.rb +1 -1
  5. data/lib/temporalio/version.rb +1 -1
  6. data/lib/thermite_patch.rb +10 -0
  7. data/sig/async.rbs +17 -0
  8. data/sig/protobuf.rbs +16 -0
  9. data/sig/protos/dependencies/gogoproto/gogo.rbs +914 -0
  10. data/sig/protos/google/protobuf/any.rbs +157 -0
  11. data/sig/protos/google/protobuf/descriptor.rbs +2825 -0
  12. data/sig/protos/google/protobuf/duration.rbs +114 -0
  13. data/sig/protos/google/protobuf/empty.rbs +36 -0
  14. data/sig/protos/google/protobuf/timestamp.rbs +145 -0
  15. data/sig/protos/google/protobuf/wrappers.rbs +358 -0
  16. data/sig/protos/temporal/api/batch/v1/message.rbs +300 -0
  17. data/sig/protos/temporal/api/command/v1/message.rbs +1399 -0
  18. data/sig/protos/temporal/api/common/v1/message.rbs +528 -0
  19. data/sig/protos/temporal/api/enums/v1/batch_operation.rbs +79 -0
  20. data/sig/protos/temporal/api/enums/v1/command_type.rbs +68 -0
  21. data/sig/protos/temporal/api/enums/v1/common.rbs +118 -0
  22. data/sig/protos/temporal/api/enums/v1/event_type.rbs +264 -0
  23. data/sig/protos/temporal/api/enums/v1/failed_cause.rbs +277 -0
  24. data/sig/protos/temporal/api/enums/v1/namespace.rbs +108 -0
  25. data/sig/protos/temporal/api/enums/v1/query.rbs +81 -0
  26. data/sig/protos/temporal/api/enums/v1/reset.rbs +44 -0
  27. data/sig/protos/temporal/api/enums/v1/schedule.rbs +72 -0
  28. data/sig/protos/temporal/api/enums/v1/task_queue.rbs +92 -0
  29. data/sig/protos/temporal/api/enums/v1/update.rbs +64 -0
  30. data/sig/protos/temporal/api/enums/v1/workflow.rbs +371 -0
  31. data/sig/protos/temporal/api/errordetails/v1/message.rbs +551 -0
  32. data/sig/protos/temporal/api/failure/v1/message.rbs +581 -0
  33. data/sig/protos/temporal/api/filter/v1/message.rbs +171 -0
  34. data/sig/protos/temporal/api/history/v1/message.rbs +4609 -0
  35. data/sig/protos/temporal/api/namespace/v1/message.rbs +410 -0
  36. data/sig/protos/temporal/api/operatorservice/v1/request_response.rbs +643 -0
  37. data/sig/protos/temporal/api/operatorservice/v1/service.rbs +17 -0
  38. data/sig/protos/temporal/api/protocol/v1/message.rbs +84 -0
  39. data/sig/protos/temporal/api/query/v1/message.rbs +182 -0
  40. data/sig/protos/temporal/api/replication/v1/message.rbs +148 -0
  41. data/sig/protos/temporal/api/schedule/v1/message.rbs +1488 -0
  42. data/sig/protos/temporal/api/sdk/v1/task_complete_metadata.rbs +110 -0
  43. data/sig/protos/temporal/api/taskqueue/v1/message.rbs +486 -0
  44. data/sig/protos/temporal/api/testservice/v1/request_response.rbs +249 -0
  45. data/sig/protos/temporal/api/testservice/v1/service.rbs +15 -0
  46. data/sig/protos/temporal/api/update/v1/message.rbs +489 -0
  47. data/sig/protos/temporal/api/version/v1/message.rbs +184 -0
  48. data/sig/protos/temporal/api/workflow/v1/message.rbs +824 -0
  49. data/sig/protos/temporal/api/workflowservice/v1/request_response.rbs +7250 -0
  50. data/sig/protos/temporal/api/workflowservice/v1/service.rbs +22 -0
  51. data/sig/protos/temporal/sdk/core/activity_result/activity_result.rbs +380 -0
  52. data/sig/protos/temporal/sdk/core/activity_task/activity_task.rbs +386 -0
  53. data/sig/protos/temporal/sdk/core/child_workflow/child_workflow.rbs +323 -0
  54. data/sig/protos/temporal/sdk/core/common/common.rbs +62 -0
  55. data/sig/protos/temporal/sdk/core/core_interface.rbs +101 -0
  56. data/sig/protos/temporal/sdk/core/external_data/external_data.rbs +119 -0
  57. data/sig/protos/temporal/sdk/core/workflow_activation/workflow_activation.rbs +1473 -0
  58. data/sig/protos/temporal/sdk/core/workflow_commands/workflow_commands.rbs +1784 -0
  59. data/sig/protos/temporal/sdk/core/workflow_completion/workflow_completion.rbs +180 -0
  60. data/sig/ruby.rbs +12 -0
  61. data/sig/temporalio/activity/context.rbs +29 -0
  62. data/sig/temporalio/activity/info.rbs +43 -0
  63. data/sig/temporalio/activity.rbs +19 -0
  64. data/sig/temporalio/bridge/connect_options.rbs +19 -0
  65. data/sig/temporalio/bridge/error.rbs +8 -0
  66. data/sig/temporalio/bridge/retry_config.rbs +21 -0
  67. data/sig/temporalio/bridge/tls_options.rbs +17 -0
  68. data/sig/temporalio/bridge.rbs +71 -0
  69. data/sig/temporalio/client/implementation.rbs +38 -0
  70. data/sig/temporalio/client/workflow_handle.rbs +41 -0
  71. data/sig/temporalio/client.rbs +35 -0
  72. data/sig/temporalio/connection/retry_config.rbs +37 -0
  73. data/sig/temporalio/connection/service.rbs +14 -0
  74. data/sig/temporalio/connection/test_service.rbs +13 -0
  75. data/sig/temporalio/connection/tls_options.rbs +43 -0
  76. data/sig/temporalio/connection/workflow_service.rbs +48 -0
  77. data/sig/temporalio/connection.rbs +30 -0
  78. data/sig/temporalio/data_converter.rbs +35 -0
  79. data/sig/temporalio/error/failure.rbs +121 -0
  80. data/sig/temporalio/error/workflow_failure.rbs +9 -0
  81. data/sig/temporalio/errors.rbs +36 -0
  82. data/sig/temporalio/failure_converter/base.rbs +12 -0
  83. data/sig/temporalio/failure_converter/basic.rbs +86 -0
  84. data/sig/temporalio/failure_converter.rbs +5 -0
  85. data/sig/temporalio/interceptor/activity_inbound.rbs +21 -0
  86. data/sig/temporalio/interceptor/activity_outbound.rbs +10 -0
  87. data/sig/temporalio/interceptor/chain.rbs +24 -0
  88. data/sig/temporalio/interceptor/client.rbs +148 -0
  89. data/sig/temporalio/interceptor.rbs +6 -0
  90. data/sig/temporalio/payload_codec/base.rbs +12 -0
  91. data/sig/temporalio/payload_converter/base.rbs +12 -0
  92. data/sig/temporalio/payload_converter/bytes.rbs +9 -0
  93. data/sig/temporalio/payload_converter/composite.rbs +19 -0
  94. data/sig/temporalio/payload_converter/encoding_base.rbs +14 -0
  95. data/sig/temporalio/payload_converter/json.rbs +9 -0
  96. data/sig/temporalio/payload_converter/nil.rbs +9 -0
  97. data/sig/temporalio/payload_converter.rbs +5 -0
  98. data/sig/temporalio/retry_policy.rbs +25 -0
  99. data/sig/temporalio/retry_state.rbs +20 -0
  100. data/sig/temporalio/runtime.rbs +12 -0
  101. data/sig/temporalio/testing/time_skipping_handle.rbs +15 -0
  102. data/sig/temporalio/testing/time_skipping_interceptor.rbs +13 -0
  103. data/sig/temporalio/testing/workflow_environment.rbs +22 -0
  104. data/sig/temporalio/testing.rbs +35 -0
  105. data/sig/temporalio/timeout_type.rbs +15 -0
  106. data/sig/temporalio/version.rbs +3 -0
  107. data/sig/temporalio/worker/activity_runner.rbs +35 -0
  108. data/sig/temporalio/worker/activity_worker.rbs +44 -0
  109. data/sig/temporalio/worker/reactor.rbs +22 -0
  110. data/sig/temporalio/worker/runner.rbs +21 -0
  111. data/sig/temporalio/worker/sync_worker.rbs +23 -0
  112. data/sig/temporalio/worker/thread_pool_executor.rbs +23 -0
  113. data/sig/temporalio/worker.rbs +46 -0
  114. data/sig/temporalio/workflow/async.rbs +9 -0
  115. data/sig/temporalio/workflow/execution_info.rbs +55 -0
  116. data/sig/temporalio/workflow/execution_status.rbs +21 -0
  117. data/sig/temporalio/workflow/future.rbs +40 -0
  118. data/sig/temporalio/workflow/id_reuse_policy.rbs +15 -0
  119. data/sig/temporalio/workflow/info.rbs +55 -0
  120. data/sig/temporalio/workflow/query_reject_condition.rbs +14 -0
  121. data/sig/temporalio.rbs +2 -0
  122. data/sig/thermite_patch.rbs +15 -0
  123. data/temporalio.gemspec +2 -1
  124. metadata +118 -2
@@ -0,0 +1,371 @@
1
+ module Temporalio
2
+ module Api
3
+ module Enums
4
+ module V1
5
+ # Defines how new runs of a workflow with a particular ID may or may not be allowed. Note that
6
+ # it is *never* valid to have two actively running instances of the same workflow id.
7
+ #
8
+ class WorkflowIdReusePolicy < ::Protobuf::Enum
9
+ type names = :WORKFLOW_ID_REUSE_POLICY_UNSPECIFIED | :WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE | :WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE_FAILED_ONLY | :WORKFLOW_ID_REUSE_POLICY_REJECT_DUPLICATE | :WORKFLOW_ID_REUSE_POLICY_TERMINATE_IF_RUNNING
10
+
11
+ type strings = "WORKFLOW_ID_REUSE_POLICY_UNSPECIFIED" | "WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE" | "WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE_FAILED_ONLY" | "WORKFLOW_ID_REUSE_POLICY_REJECT_DUPLICATE" | "WORKFLOW_ID_REUSE_POLICY_TERMINATE_IF_RUNNING"
12
+
13
+ type tags = 0 | 1 | 2 | 3 | 4
14
+
15
+ type values = names | strings | tags
16
+
17
+ attr_reader name(): names
18
+
19
+ attr_reader tag(): tags
20
+
21
+ WORKFLOW_ID_REUSE_POLICY_UNSPECIFIED: WorkflowIdReusePolicy
22
+
23
+ # Allow starting a workflow execution using the same workflow id.
24
+ #
25
+ WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE: WorkflowIdReusePolicy
26
+
27
+ # Allow starting a workflow execution using the same workflow id, only when the last
28
+ # execution's final state is one of [terminated, cancelled, timed out, failed].
29
+ #
30
+ WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE_FAILED_ONLY: WorkflowIdReusePolicy
31
+
32
+ # Do not permit re-use of the workflow id for this workflow. Future start workflow requests
33
+ # could potentially change the policy, allowing re-use of the workflow id.
34
+ #
35
+ WORKFLOW_ID_REUSE_POLICY_REJECT_DUPLICATE: WorkflowIdReusePolicy
36
+
37
+ # If a workflow is running using the same workflow ID, terminate it and start a new one.
38
+ # If no running workflow, then the behavior is the same as ALLOW_DUPLICATE
39
+ #
40
+ WORKFLOW_ID_REUSE_POLICY_TERMINATE_IF_RUNNING: WorkflowIdReusePolicy
41
+
42
+ # The type of `#initialize` parameter.
43
+ type init = WorkflowIdReusePolicy | values
44
+
45
+ # The type of `repeated` field.
46
+ type field_array = ::Protobuf::Field::FieldArray[WorkflowIdReusePolicy, WorkflowIdReusePolicy | values]
47
+
48
+ # The type of `map` field.
49
+ type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, WorkflowIdReusePolicy, WorkflowIdReusePolicy | values]
50
+
51
+ type array = ::Array[WorkflowIdReusePolicy | values]
52
+
53
+ type hash[KEY] = ::Hash[KEY, WorkflowIdReusePolicy | values]
54
+ end
55
+
56
+ # Defines how child workflows will react to their parent completing
57
+ #
58
+ class ParentClosePolicy < ::Protobuf::Enum
59
+ type names = :PARENT_CLOSE_POLICY_UNSPECIFIED | :PARENT_CLOSE_POLICY_TERMINATE | :PARENT_CLOSE_POLICY_ABANDON | :PARENT_CLOSE_POLICY_REQUEST_CANCEL
60
+
61
+ type strings = "PARENT_CLOSE_POLICY_UNSPECIFIED" | "PARENT_CLOSE_POLICY_TERMINATE" | "PARENT_CLOSE_POLICY_ABANDON" | "PARENT_CLOSE_POLICY_REQUEST_CANCEL"
62
+
63
+ type tags = 0 | 1 | 2 | 3
64
+
65
+ type values = names | strings | tags
66
+
67
+ attr_reader name(): names
68
+
69
+ attr_reader tag(): tags
70
+
71
+ PARENT_CLOSE_POLICY_UNSPECIFIED: ParentClosePolicy
72
+
73
+ # The child workflow will also terminate
74
+ #
75
+ PARENT_CLOSE_POLICY_TERMINATE: ParentClosePolicy
76
+
77
+ # The child workflow will do nothing
78
+ #
79
+ PARENT_CLOSE_POLICY_ABANDON: ParentClosePolicy
80
+
81
+ # Cancellation will be requested of the child workflow
82
+ #
83
+ PARENT_CLOSE_POLICY_REQUEST_CANCEL: ParentClosePolicy
84
+
85
+ # The type of `#initialize` parameter.
86
+ type init = ParentClosePolicy | values
87
+
88
+ # The type of `repeated` field.
89
+ type field_array = ::Protobuf::Field::FieldArray[ParentClosePolicy, ParentClosePolicy | values]
90
+
91
+ # The type of `map` field.
92
+ type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, ParentClosePolicy, ParentClosePolicy | values]
93
+
94
+ type array = ::Array[ParentClosePolicy | values]
95
+
96
+ type hash[KEY] = ::Hash[KEY, ParentClosePolicy | values]
97
+ end
98
+
99
+ class ContinueAsNewInitiator < ::Protobuf::Enum
100
+ type names = :CONTINUE_AS_NEW_INITIATOR_UNSPECIFIED | :CONTINUE_AS_NEW_INITIATOR_WORKFLOW | :CONTINUE_AS_NEW_INITIATOR_RETRY | :CONTINUE_AS_NEW_INITIATOR_CRON_SCHEDULE
101
+
102
+ type strings = "CONTINUE_AS_NEW_INITIATOR_UNSPECIFIED" | "CONTINUE_AS_NEW_INITIATOR_WORKFLOW" | "CONTINUE_AS_NEW_INITIATOR_RETRY" | "CONTINUE_AS_NEW_INITIATOR_CRON_SCHEDULE"
103
+
104
+ type tags = 0 | 1 | 2 | 3
105
+
106
+ type values = names | strings | tags
107
+
108
+ attr_reader name(): names
109
+
110
+ attr_reader tag(): tags
111
+
112
+ CONTINUE_AS_NEW_INITIATOR_UNSPECIFIED: ContinueAsNewInitiator
113
+
114
+ # The workflow itself requested to continue as new
115
+ #
116
+ CONTINUE_AS_NEW_INITIATOR_WORKFLOW: ContinueAsNewInitiator
117
+
118
+ # The workflow continued as new because it is retrying
119
+ #
120
+ CONTINUE_AS_NEW_INITIATOR_RETRY: ContinueAsNewInitiator
121
+
122
+ # The workflow continued as new because cron has triggered a new execution
123
+ #
124
+ CONTINUE_AS_NEW_INITIATOR_CRON_SCHEDULE: ContinueAsNewInitiator
125
+
126
+ # The type of `#initialize` parameter.
127
+ type init = ContinueAsNewInitiator | values
128
+
129
+ # The type of `repeated` field.
130
+ type field_array = ::Protobuf::Field::FieldArray[ContinueAsNewInitiator, ContinueAsNewInitiator | values]
131
+
132
+ # The type of `map` field.
133
+ type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, ContinueAsNewInitiator, ContinueAsNewInitiator | values]
134
+
135
+ type array = ::Array[ContinueAsNewInitiator | values]
136
+
137
+ type hash[KEY] = ::Hash[KEY, ContinueAsNewInitiator | values]
138
+ end
139
+
140
+ # (-- api-linter: core::0216::synonyms=disabled
141
+ # aip.dev/not-precedent: There is WorkflowExecutionState already in another package. --)
142
+ #
143
+ class WorkflowExecutionStatus < ::Protobuf::Enum
144
+ type names = :WORKFLOW_EXECUTION_STATUS_UNSPECIFIED | :WORKFLOW_EXECUTION_STATUS_RUNNING | :WORKFLOW_EXECUTION_STATUS_COMPLETED | :WORKFLOW_EXECUTION_STATUS_FAILED | :WORKFLOW_EXECUTION_STATUS_CANCELED | :WORKFLOW_EXECUTION_STATUS_TERMINATED | :WORKFLOW_EXECUTION_STATUS_CONTINUED_AS_NEW | :WORKFLOW_EXECUTION_STATUS_TIMED_OUT
145
+
146
+ type strings = "WORKFLOW_EXECUTION_STATUS_UNSPECIFIED" | "WORKFLOW_EXECUTION_STATUS_RUNNING" | "WORKFLOW_EXECUTION_STATUS_COMPLETED" | "WORKFLOW_EXECUTION_STATUS_FAILED" | "WORKFLOW_EXECUTION_STATUS_CANCELED" | "WORKFLOW_EXECUTION_STATUS_TERMINATED" | "WORKFLOW_EXECUTION_STATUS_CONTINUED_AS_NEW" | "WORKFLOW_EXECUTION_STATUS_TIMED_OUT"
147
+
148
+ type tags = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7
149
+
150
+ type values = names | strings | tags
151
+
152
+ attr_reader name(): names
153
+
154
+ attr_reader tag(): tags
155
+
156
+ WORKFLOW_EXECUTION_STATUS_UNSPECIFIED: WorkflowExecutionStatus
157
+
158
+ # Value 1 is hardcoded in SQL persistence.
159
+ #
160
+ WORKFLOW_EXECUTION_STATUS_RUNNING: WorkflowExecutionStatus
161
+
162
+ WORKFLOW_EXECUTION_STATUS_COMPLETED: WorkflowExecutionStatus
163
+
164
+ WORKFLOW_EXECUTION_STATUS_FAILED: WorkflowExecutionStatus
165
+
166
+ WORKFLOW_EXECUTION_STATUS_CANCELED: WorkflowExecutionStatus
167
+
168
+ WORKFLOW_EXECUTION_STATUS_TERMINATED: WorkflowExecutionStatus
169
+
170
+ WORKFLOW_EXECUTION_STATUS_CONTINUED_AS_NEW: WorkflowExecutionStatus
171
+
172
+ WORKFLOW_EXECUTION_STATUS_TIMED_OUT: WorkflowExecutionStatus
173
+
174
+ # The type of `#initialize` parameter.
175
+ type init = WorkflowExecutionStatus | values
176
+
177
+ # The type of `repeated` field.
178
+ type field_array = ::Protobuf::Field::FieldArray[WorkflowExecutionStatus, WorkflowExecutionStatus | values]
179
+
180
+ # The type of `map` field.
181
+ type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, WorkflowExecutionStatus, WorkflowExecutionStatus | values]
182
+
183
+ type array = ::Array[WorkflowExecutionStatus | values]
184
+
185
+ type hash[KEY] = ::Hash[KEY, WorkflowExecutionStatus | values]
186
+ end
187
+
188
+ class PendingActivityState < ::Protobuf::Enum
189
+ type names = :PENDING_ACTIVITY_STATE_UNSPECIFIED | :PENDING_ACTIVITY_STATE_SCHEDULED | :PENDING_ACTIVITY_STATE_STARTED | :PENDING_ACTIVITY_STATE_CANCEL_REQUESTED
190
+
191
+ type strings = "PENDING_ACTIVITY_STATE_UNSPECIFIED" | "PENDING_ACTIVITY_STATE_SCHEDULED" | "PENDING_ACTIVITY_STATE_STARTED" | "PENDING_ACTIVITY_STATE_CANCEL_REQUESTED"
192
+
193
+ type tags = 0 | 1 | 2 | 3
194
+
195
+ type values = names | strings | tags
196
+
197
+ attr_reader name(): names
198
+
199
+ attr_reader tag(): tags
200
+
201
+ PENDING_ACTIVITY_STATE_UNSPECIFIED: PendingActivityState
202
+
203
+ PENDING_ACTIVITY_STATE_SCHEDULED: PendingActivityState
204
+
205
+ PENDING_ACTIVITY_STATE_STARTED: PendingActivityState
206
+
207
+ PENDING_ACTIVITY_STATE_CANCEL_REQUESTED: PendingActivityState
208
+
209
+ # The type of `#initialize` parameter.
210
+ type init = PendingActivityState | values
211
+
212
+ # The type of `repeated` field.
213
+ type field_array = ::Protobuf::Field::FieldArray[PendingActivityState, PendingActivityState | values]
214
+
215
+ # The type of `map` field.
216
+ type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, PendingActivityState, PendingActivityState | values]
217
+
218
+ type array = ::Array[PendingActivityState | values]
219
+
220
+ type hash[KEY] = ::Hash[KEY, PendingActivityState | values]
221
+ end
222
+
223
+ class PendingWorkflowTaskState < ::Protobuf::Enum
224
+ type names = :PENDING_WORKFLOW_TASK_STATE_UNSPECIFIED | :PENDING_WORKFLOW_TASK_STATE_SCHEDULED | :PENDING_WORKFLOW_TASK_STATE_STARTED
225
+
226
+ type strings = "PENDING_WORKFLOW_TASK_STATE_UNSPECIFIED" | "PENDING_WORKFLOW_TASK_STATE_SCHEDULED" | "PENDING_WORKFLOW_TASK_STATE_STARTED"
227
+
228
+ type tags = 0 | 1 | 2
229
+
230
+ type values = names | strings | tags
231
+
232
+ attr_reader name(): names
233
+
234
+ attr_reader tag(): tags
235
+
236
+ PENDING_WORKFLOW_TASK_STATE_UNSPECIFIED: PendingWorkflowTaskState
237
+
238
+ PENDING_WORKFLOW_TASK_STATE_SCHEDULED: PendingWorkflowTaskState
239
+
240
+ PENDING_WORKFLOW_TASK_STATE_STARTED: PendingWorkflowTaskState
241
+
242
+ # The type of `#initialize` parameter.
243
+ type init = PendingWorkflowTaskState | values
244
+
245
+ # The type of `repeated` field.
246
+ type field_array = ::Protobuf::Field::FieldArray[PendingWorkflowTaskState, PendingWorkflowTaskState | values]
247
+
248
+ # The type of `map` field.
249
+ type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, PendingWorkflowTaskState, PendingWorkflowTaskState | values]
250
+
251
+ type array = ::Array[PendingWorkflowTaskState | values]
252
+
253
+ type hash[KEY] = ::Hash[KEY, PendingWorkflowTaskState | values]
254
+ end
255
+
256
+ class HistoryEventFilterType < ::Protobuf::Enum
257
+ type names = :HISTORY_EVENT_FILTER_TYPE_UNSPECIFIED | :HISTORY_EVENT_FILTER_TYPE_ALL_EVENT | :HISTORY_EVENT_FILTER_TYPE_CLOSE_EVENT
258
+
259
+ type strings = "HISTORY_EVENT_FILTER_TYPE_UNSPECIFIED" | "HISTORY_EVENT_FILTER_TYPE_ALL_EVENT" | "HISTORY_EVENT_FILTER_TYPE_CLOSE_EVENT"
260
+
261
+ type tags = 0 | 1 | 2
262
+
263
+ type values = names | strings | tags
264
+
265
+ attr_reader name(): names
266
+
267
+ attr_reader tag(): tags
268
+
269
+ HISTORY_EVENT_FILTER_TYPE_UNSPECIFIED: HistoryEventFilterType
270
+
271
+ HISTORY_EVENT_FILTER_TYPE_ALL_EVENT: HistoryEventFilterType
272
+
273
+ HISTORY_EVENT_FILTER_TYPE_CLOSE_EVENT: HistoryEventFilterType
274
+
275
+ # The type of `#initialize` parameter.
276
+ type init = HistoryEventFilterType | values
277
+
278
+ # The type of `repeated` field.
279
+ type field_array = ::Protobuf::Field::FieldArray[HistoryEventFilterType, HistoryEventFilterType | values]
280
+
281
+ # The type of `map` field.
282
+ type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, HistoryEventFilterType, HistoryEventFilterType | values]
283
+
284
+ type array = ::Array[HistoryEventFilterType | values]
285
+
286
+ type hash[KEY] = ::Hash[KEY, HistoryEventFilterType | values]
287
+ end
288
+
289
+ class RetryState < ::Protobuf::Enum
290
+ type names = :RETRY_STATE_UNSPECIFIED | :RETRY_STATE_IN_PROGRESS | :RETRY_STATE_NON_RETRYABLE_FAILURE | :RETRY_STATE_TIMEOUT | :RETRY_STATE_MAXIMUM_ATTEMPTS_REACHED | :RETRY_STATE_RETRY_POLICY_NOT_SET | :RETRY_STATE_INTERNAL_SERVER_ERROR | :RETRY_STATE_CANCEL_REQUESTED
291
+
292
+ type strings = "RETRY_STATE_UNSPECIFIED" | "RETRY_STATE_IN_PROGRESS" | "RETRY_STATE_NON_RETRYABLE_FAILURE" | "RETRY_STATE_TIMEOUT" | "RETRY_STATE_MAXIMUM_ATTEMPTS_REACHED" | "RETRY_STATE_RETRY_POLICY_NOT_SET" | "RETRY_STATE_INTERNAL_SERVER_ERROR" | "RETRY_STATE_CANCEL_REQUESTED"
293
+
294
+ type tags = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7
295
+
296
+ type values = names | strings | tags
297
+
298
+ attr_reader name(): names
299
+
300
+ attr_reader tag(): tags
301
+
302
+ RETRY_STATE_UNSPECIFIED: RetryState
303
+
304
+ RETRY_STATE_IN_PROGRESS: RetryState
305
+
306
+ RETRY_STATE_NON_RETRYABLE_FAILURE: RetryState
307
+
308
+ RETRY_STATE_TIMEOUT: RetryState
309
+
310
+ RETRY_STATE_MAXIMUM_ATTEMPTS_REACHED: RetryState
311
+
312
+ RETRY_STATE_RETRY_POLICY_NOT_SET: RetryState
313
+
314
+ RETRY_STATE_INTERNAL_SERVER_ERROR: RetryState
315
+
316
+ RETRY_STATE_CANCEL_REQUESTED: RetryState
317
+
318
+ # The type of `#initialize` parameter.
319
+ type init = RetryState | values
320
+
321
+ # The type of `repeated` field.
322
+ type field_array = ::Protobuf::Field::FieldArray[RetryState, RetryState | values]
323
+
324
+ # The type of `map` field.
325
+ type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, RetryState, RetryState | values]
326
+
327
+ type array = ::Array[RetryState | values]
328
+
329
+ type hash[KEY] = ::Hash[KEY, RetryState | values]
330
+ end
331
+
332
+ class TimeoutType < ::Protobuf::Enum
333
+ type names = :TIMEOUT_TYPE_UNSPECIFIED | :TIMEOUT_TYPE_START_TO_CLOSE | :TIMEOUT_TYPE_SCHEDULE_TO_START | :TIMEOUT_TYPE_SCHEDULE_TO_CLOSE | :TIMEOUT_TYPE_HEARTBEAT
334
+
335
+ type strings = "TIMEOUT_TYPE_UNSPECIFIED" | "TIMEOUT_TYPE_START_TO_CLOSE" | "TIMEOUT_TYPE_SCHEDULE_TO_START" | "TIMEOUT_TYPE_SCHEDULE_TO_CLOSE" | "TIMEOUT_TYPE_HEARTBEAT"
336
+
337
+ type tags = 0 | 1 | 2 | 3 | 4
338
+
339
+ type values = names | strings | tags
340
+
341
+ attr_reader name(): names
342
+
343
+ attr_reader tag(): tags
344
+
345
+ TIMEOUT_TYPE_UNSPECIFIED: TimeoutType
346
+
347
+ TIMEOUT_TYPE_START_TO_CLOSE: TimeoutType
348
+
349
+ TIMEOUT_TYPE_SCHEDULE_TO_START: TimeoutType
350
+
351
+ TIMEOUT_TYPE_SCHEDULE_TO_CLOSE: TimeoutType
352
+
353
+ TIMEOUT_TYPE_HEARTBEAT: TimeoutType
354
+
355
+ # The type of `#initialize` parameter.
356
+ type init = TimeoutType | values
357
+
358
+ # The type of `repeated` field.
359
+ type field_array = ::Protobuf::Field::FieldArray[TimeoutType, TimeoutType | values]
360
+
361
+ # The type of `map` field.
362
+ type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, TimeoutType, TimeoutType | values]
363
+
364
+ type array = ::Array[TimeoutType | values]
365
+
366
+ type hash[KEY] = ::Hash[KEY, TimeoutType | values]
367
+ end
368
+ end
369
+ end
370
+ end
371
+ end