temporalio 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bridge/Cargo.lock +20 -20
- data/bridge/Cargo.toml +3 -3
- data/lib/temporalio/bridge.rb +1 -1
- data/lib/temporalio/version.rb +1 -1
- data/lib/thermite_patch.rb +10 -0
- data/sig/async.rbs +17 -0
- data/sig/protobuf.rbs +16 -0
- data/sig/protos/dependencies/gogoproto/gogo.rbs +914 -0
- data/sig/protos/google/protobuf/any.rbs +157 -0
- data/sig/protos/google/protobuf/descriptor.rbs +2825 -0
- data/sig/protos/google/protobuf/duration.rbs +114 -0
- data/sig/protos/google/protobuf/empty.rbs +36 -0
- data/sig/protos/google/protobuf/timestamp.rbs +145 -0
- data/sig/protos/google/protobuf/wrappers.rbs +358 -0
- data/sig/protos/temporal/api/batch/v1/message.rbs +300 -0
- data/sig/protos/temporal/api/command/v1/message.rbs +1399 -0
- data/sig/protos/temporal/api/common/v1/message.rbs +528 -0
- data/sig/protos/temporal/api/enums/v1/batch_operation.rbs +79 -0
- data/sig/protos/temporal/api/enums/v1/command_type.rbs +68 -0
- data/sig/protos/temporal/api/enums/v1/common.rbs +118 -0
- data/sig/protos/temporal/api/enums/v1/event_type.rbs +264 -0
- data/sig/protos/temporal/api/enums/v1/failed_cause.rbs +277 -0
- data/sig/protos/temporal/api/enums/v1/namespace.rbs +108 -0
- data/sig/protos/temporal/api/enums/v1/query.rbs +81 -0
- data/sig/protos/temporal/api/enums/v1/reset.rbs +44 -0
- data/sig/protos/temporal/api/enums/v1/schedule.rbs +72 -0
- data/sig/protos/temporal/api/enums/v1/task_queue.rbs +92 -0
- data/sig/protos/temporal/api/enums/v1/update.rbs +64 -0
- data/sig/protos/temporal/api/enums/v1/workflow.rbs +371 -0
- data/sig/protos/temporal/api/errordetails/v1/message.rbs +551 -0
- data/sig/protos/temporal/api/failure/v1/message.rbs +581 -0
- data/sig/protos/temporal/api/filter/v1/message.rbs +171 -0
- data/sig/protos/temporal/api/history/v1/message.rbs +4609 -0
- data/sig/protos/temporal/api/namespace/v1/message.rbs +410 -0
- data/sig/protos/temporal/api/operatorservice/v1/request_response.rbs +643 -0
- data/sig/protos/temporal/api/operatorservice/v1/service.rbs +17 -0
- data/sig/protos/temporal/api/protocol/v1/message.rbs +84 -0
- data/sig/protos/temporal/api/query/v1/message.rbs +182 -0
- data/sig/protos/temporal/api/replication/v1/message.rbs +148 -0
- data/sig/protos/temporal/api/schedule/v1/message.rbs +1488 -0
- data/sig/protos/temporal/api/sdk/v1/task_complete_metadata.rbs +110 -0
- data/sig/protos/temporal/api/taskqueue/v1/message.rbs +486 -0
- data/sig/protos/temporal/api/testservice/v1/request_response.rbs +249 -0
- data/sig/protos/temporal/api/testservice/v1/service.rbs +15 -0
- data/sig/protos/temporal/api/update/v1/message.rbs +489 -0
- data/sig/protos/temporal/api/version/v1/message.rbs +184 -0
- data/sig/protos/temporal/api/workflow/v1/message.rbs +824 -0
- data/sig/protos/temporal/api/workflowservice/v1/request_response.rbs +7250 -0
- data/sig/protos/temporal/api/workflowservice/v1/service.rbs +22 -0
- data/sig/protos/temporal/sdk/core/activity_result/activity_result.rbs +380 -0
- data/sig/protos/temporal/sdk/core/activity_task/activity_task.rbs +386 -0
- data/sig/protos/temporal/sdk/core/child_workflow/child_workflow.rbs +323 -0
- data/sig/protos/temporal/sdk/core/common/common.rbs +62 -0
- data/sig/protos/temporal/sdk/core/core_interface.rbs +101 -0
- data/sig/protos/temporal/sdk/core/external_data/external_data.rbs +119 -0
- data/sig/protos/temporal/sdk/core/workflow_activation/workflow_activation.rbs +1473 -0
- data/sig/protos/temporal/sdk/core/workflow_commands/workflow_commands.rbs +1784 -0
- data/sig/protos/temporal/sdk/core/workflow_completion/workflow_completion.rbs +180 -0
- data/sig/ruby.rbs +12 -0
- data/sig/temporalio/activity/context.rbs +29 -0
- data/sig/temporalio/activity/info.rbs +43 -0
- data/sig/temporalio/activity.rbs +19 -0
- data/sig/temporalio/bridge/connect_options.rbs +19 -0
- data/sig/temporalio/bridge/error.rbs +8 -0
- data/sig/temporalio/bridge/retry_config.rbs +21 -0
- data/sig/temporalio/bridge/tls_options.rbs +17 -0
- data/sig/temporalio/bridge.rbs +71 -0
- data/sig/temporalio/client/implementation.rbs +38 -0
- data/sig/temporalio/client/workflow_handle.rbs +41 -0
- data/sig/temporalio/client.rbs +35 -0
- data/sig/temporalio/connection/retry_config.rbs +37 -0
- data/sig/temporalio/connection/service.rbs +14 -0
- data/sig/temporalio/connection/test_service.rbs +13 -0
- data/sig/temporalio/connection/tls_options.rbs +43 -0
- data/sig/temporalio/connection/workflow_service.rbs +48 -0
- data/sig/temporalio/connection.rbs +30 -0
- data/sig/temporalio/data_converter.rbs +35 -0
- data/sig/temporalio/error/failure.rbs +121 -0
- data/sig/temporalio/error/workflow_failure.rbs +9 -0
- data/sig/temporalio/errors.rbs +36 -0
- data/sig/temporalio/failure_converter/base.rbs +12 -0
- data/sig/temporalio/failure_converter/basic.rbs +86 -0
- data/sig/temporalio/failure_converter.rbs +5 -0
- data/sig/temporalio/interceptor/activity_inbound.rbs +21 -0
- data/sig/temporalio/interceptor/activity_outbound.rbs +10 -0
- data/sig/temporalio/interceptor/chain.rbs +24 -0
- data/sig/temporalio/interceptor/client.rbs +148 -0
- data/sig/temporalio/interceptor.rbs +6 -0
- data/sig/temporalio/payload_codec/base.rbs +12 -0
- data/sig/temporalio/payload_converter/base.rbs +12 -0
- data/sig/temporalio/payload_converter/bytes.rbs +9 -0
- data/sig/temporalio/payload_converter/composite.rbs +19 -0
- data/sig/temporalio/payload_converter/encoding_base.rbs +14 -0
- data/sig/temporalio/payload_converter/json.rbs +9 -0
- data/sig/temporalio/payload_converter/nil.rbs +9 -0
- data/sig/temporalio/payload_converter.rbs +5 -0
- data/sig/temporalio/retry_policy.rbs +25 -0
- data/sig/temporalio/retry_state.rbs +20 -0
- data/sig/temporalio/runtime.rbs +12 -0
- data/sig/temporalio/testing/time_skipping_handle.rbs +15 -0
- data/sig/temporalio/testing/time_skipping_interceptor.rbs +13 -0
- data/sig/temporalio/testing/workflow_environment.rbs +22 -0
- data/sig/temporalio/testing.rbs +35 -0
- data/sig/temporalio/timeout_type.rbs +15 -0
- data/sig/temporalio/version.rbs +3 -0
- data/sig/temporalio/worker/activity_runner.rbs +35 -0
- data/sig/temporalio/worker/activity_worker.rbs +44 -0
- data/sig/temporalio/worker/reactor.rbs +22 -0
- data/sig/temporalio/worker/runner.rbs +21 -0
- data/sig/temporalio/worker/sync_worker.rbs +23 -0
- data/sig/temporalio/worker/thread_pool_executor.rbs +23 -0
- data/sig/temporalio/worker.rbs +46 -0
- data/sig/temporalio/workflow/async.rbs +9 -0
- data/sig/temporalio/workflow/execution_info.rbs +55 -0
- data/sig/temporalio/workflow/execution_status.rbs +21 -0
- data/sig/temporalio/workflow/future.rbs +40 -0
- data/sig/temporalio/workflow/id_reuse_policy.rbs +15 -0
- data/sig/temporalio/workflow/info.rbs +55 -0
- data/sig/temporalio/workflow/query_reject_condition.rbs +14 -0
- data/sig/temporalio.rbs +2 -0
- data/sig/thermite_patch.rbs +15 -0
- data/temporalio.gemspec +2 -1
- metadata +118 -2
@@ -0,0 +1,824 @@
|
|
1
|
+
module Temporalio
|
2
|
+
module Api
|
3
|
+
module Workflow
|
4
|
+
module V1
|
5
|
+
class WorkflowExecutionInfo < ::Protobuf::Message
|
6
|
+
# Encode the message to a binary string
|
7
|
+
#
|
8
|
+
def self.encode: (WorkflowExecutionInfo) -> String
|
9
|
+
|
10
|
+
attr_accessor execution(): ::Temporalio::Api::Common::V1::WorkflowExecution?
|
11
|
+
|
12
|
+
def execution=: [M < ::Temporalio::Api::Common::V1::WorkflowExecution::_ToProto] (M?) -> M?
|
13
|
+
| ...
|
14
|
+
|
15
|
+
def execution!: () -> ::Temporalio::Api::Common::V1::WorkflowExecution?
|
16
|
+
|
17
|
+
attr_accessor type(): ::Temporalio::Api::Common::V1::WorkflowType?
|
18
|
+
|
19
|
+
def type=: [M < ::Temporalio::Api::Common::V1::WorkflowType::_ToProto] (M?) -> M?
|
20
|
+
| ...
|
21
|
+
|
22
|
+
def type!: () -> ::Temporalio::Api::Common::V1::WorkflowType?
|
23
|
+
|
24
|
+
attr_accessor start_time(): ::Google::Protobuf::Timestamp?
|
25
|
+
|
26
|
+
def start_time=: [M < ::Google::Protobuf::Timestamp::_ToProto] (M?) -> M?
|
27
|
+
| ...
|
28
|
+
|
29
|
+
def start_time!: () -> ::Google::Protobuf::Timestamp?
|
30
|
+
|
31
|
+
attr_accessor close_time(): ::Google::Protobuf::Timestamp?
|
32
|
+
|
33
|
+
def close_time=: [M < ::Google::Protobuf::Timestamp::_ToProto] (M?) -> M?
|
34
|
+
| ...
|
35
|
+
|
36
|
+
def close_time!: () -> ::Google::Protobuf::Timestamp?
|
37
|
+
|
38
|
+
attr_accessor status(): ::Temporalio::Api::Enums::V1::WorkflowExecutionStatus
|
39
|
+
|
40
|
+
def status=: (::Temporalio::Api::Enums::V1::WorkflowExecutionStatus::values) -> ::Temporalio::Api::Enums::V1::WorkflowExecutionStatus::values
|
41
|
+
| ...
|
42
|
+
|
43
|
+
def status!: () -> ::Temporalio::Api::Enums::V1::WorkflowExecutionStatus?
|
44
|
+
|
45
|
+
attr_accessor history_length(): ::Integer
|
46
|
+
|
47
|
+
def history_length!: () -> ::Integer?
|
48
|
+
|
49
|
+
attr_accessor parent_namespace_id(): ::String
|
50
|
+
|
51
|
+
def parent_namespace_id!: () -> ::String?
|
52
|
+
|
53
|
+
attr_accessor parent_execution(): ::Temporalio::Api::Common::V1::WorkflowExecution?
|
54
|
+
|
55
|
+
def parent_execution=: [M < ::Temporalio::Api::Common::V1::WorkflowExecution::_ToProto] (M?) -> M?
|
56
|
+
| ...
|
57
|
+
|
58
|
+
def parent_execution!: () -> ::Temporalio::Api::Common::V1::WorkflowExecution?
|
59
|
+
|
60
|
+
attr_accessor execution_time(): ::Google::Protobuf::Timestamp?
|
61
|
+
|
62
|
+
def execution_time=: [M < ::Google::Protobuf::Timestamp::_ToProto] (M?) -> M?
|
63
|
+
| ...
|
64
|
+
|
65
|
+
def execution_time!: () -> ::Google::Protobuf::Timestamp?
|
66
|
+
|
67
|
+
attr_accessor memo(): ::Temporalio::Api::Common::V1::Memo?
|
68
|
+
|
69
|
+
def memo=: [M < ::Temporalio::Api::Common::V1::Memo::_ToProto] (M?) -> M?
|
70
|
+
| ...
|
71
|
+
|
72
|
+
def memo!: () -> ::Temporalio::Api::Common::V1::Memo?
|
73
|
+
|
74
|
+
attr_accessor search_attributes(): ::Temporalio::Api::Common::V1::SearchAttributes?
|
75
|
+
|
76
|
+
def search_attributes=: [M < ::Temporalio::Api::Common::V1::SearchAttributes::_ToProto] (M?) -> M?
|
77
|
+
| ...
|
78
|
+
|
79
|
+
def search_attributes!: () -> ::Temporalio::Api::Common::V1::SearchAttributes?
|
80
|
+
|
81
|
+
attr_accessor auto_reset_points(): ::Temporalio::Api::Workflow::V1::ResetPoints?
|
82
|
+
|
83
|
+
def auto_reset_points=: [M < ::Temporalio::Api::Workflow::V1::ResetPoints::_ToProto] (M?) -> M?
|
84
|
+
| ...
|
85
|
+
|
86
|
+
def auto_reset_points!: () -> ::Temporalio::Api::Workflow::V1::ResetPoints?
|
87
|
+
|
88
|
+
attr_accessor task_queue(): ::String
|
89
|
+
|
90
|
+
def task_queue!: () -> ::String?
|
91
|
+
|
92
|
+
attr_accessor state_transition_count(): ::Integer
|
93
|
+
|
94
|
+
def state_transition_count!: () -> ::Integer?
|
95
|
+
|
96
|
+
attr_accessor history_size_bytes(): ::Integer
|
97
|
+
|
98
|
+
def history_size_bytes!: () -> ::Integer?
|
99
|
+
|
100
|
+
def initialize: (?execution: ::Temporalio::Api::Common::V1::WorkflowExecution::init?, ?type: ::Temporalio::Api::Common::V1::WorkflowType::init?, ?start_time: ::Google::Protobuf::Timestamp::init?, ?close_time: ::Google::Protobuf::Timestamp::init?, ?status: ::Temporalio::Api::Enums::V1::WorkflowExecutionStatus::init, ?history_length: ::Integer, ?parent_namespace_id: ::String, ?parent_execution: ::Temporalio::Api::Common::V1::WorkflowExecution::init?, ?execution_time: ::Google::Protobuf::Timestamp::init?, ?memo: ::Temporalio::Api::Common::V1::Memo::init?, ?search_attributes: ::Temporalio::Api::Common::V1::SearchAttributes::init?, ?auto_reset_points: ::Temporalio::Api::Workflow::V1::ResetPoints::init?, ?task_queue: ::String, ?state_transition_count: ::Integer, ?history_size_bytes: ::Integer) -> void
|
101
|
+
|
102
|
+
def []: (:execution) -> ::Temporalio::Api::Common::V1::WorkflowExecution?
|
103
|
+
| (:type) -> ::Temporalio::Api::Common::V1::WorkflowType?
|
104
|
+
| (:start_time) -> ::Google::Protobuf::Timestamp?
|
105
|
+
| (:close_time) -> ::Google::Protobuf::Timestamp?
|
106
|
+
| (:status) -> ::Temporalio::Api::Enums::V1::WorkflowExecutionStatus
|
107
|
+
| (:history_length) -> ::Integer
|
108
|
+
| (:parent_namespace_id) -> ::String
|
109
|
+
| (:parent_execution) -> ::Temporalio::Api::Common::V1::WorkflowExecution?
|
110
|
+
| (:execution_time) -> ::Google::Protobuf::Timestamp?
|
111
|
+
| (:memo) -> ::Temporalio::Api::Common::V1::Memo?
|
112
|
+
| (:search_attributes) -> ::Temporalio::Api::Common::V1::SearchAttributes?
|
113
|
+
| (:auto_reset_points) -> ::Temporalio::Api::Workflow::V1::ResetPoints?
|
114
|
+
| (:task_queue) -> ::String
|
115
|
+
| (:state_transition_count) -> ::Integer
|
116
|
+
| (:history_size_bytes) -> ::Integer
|
117
|
+
| (::Symbol) -> untyped
|
118
|
+
|
119
|
+
def []=: (:execution, ::Temporalio::Api::Common::V1::WorkflowExecution?) -> ::Temporalio::Api::Common::V1::WorkflowExecution?
|
120
|
+
| [M < ::Temporalio::Api::Common::V1::WorkflowExecution::_ToProto] (:execution, M?) -> M?
|
121
|
+
| (:type, ::Temporalio::Api::Common::V1::WorkflowType?) -> ::Temporalio::Api::Common::V1::WorkflowType?
|
122
|
+
| [M < ::Temporalio::Api::Common::V1::WorkflowType::_ToProto] (:type, M?) -> M?
|
123
|
+
| (:start_time, ::Google::Protobuf::Timestamp?) -> ::Google::Protobuf::Timestamp?
|
124
|
+
| [M < ::Google::Protobuf::Timestamp::_ToProto] (:start_time, M?) -> M?
|
125
|
+
| (:close_time, ::Google::Protobuf::Timestamp?) -> ::Google::Protobuf::Timestamp?
|
126
|
+
| [M < ::Google::Protobuf::Timestamp::_ToProto] (:close_time, M?) -> M?
|
127
|
+
| (:status, ::Temporalio::Api::Enums::V1::WorkflowExecutionStatus) -> ::Temporalio::Api::Enums::V1::WorkflowExecutionStatus
|
128
|
+
| (:status, ::Temporalio::Api::Enums::V1::WorkflowExecutionStatus::values) -> ::Temporalio::Api::Enums::V1::WorkflowExecutionStatus::values
|
129
|
+
| (:history_length, ::Integer) -> ::Integer
|
130
|
+
| (:parent_namespace_id, ::String) -> ::String
|
131
|
+
| (:parent_execution, ::Temporalio::Api::Common::V1::WorkflowExecution?) -> ::Temporalio::Api::Common::V1::WorkflowExecution?
|
132
|
+
| [M < ::Temporalio::Api::Common::V1::WorkflowExecution::_ToProto] (:parent_execution, M?) -> M?
|
133
|
+
| (:execution_time, ::Google::Protobuf::Timestamp?) -> ::Google::Protobuf::Timestamp?
|
134
|
+
| [M < ::Google::Protobuf::Timestamp::_ToProto] (:execution_time, M?) -> M?
|
135
|
+
| (:memo, ::Temporalio::Api::Common::V1::Memo?) -> ::Temporalio::Api::Common::V1::Memo?
|
136
|
+
| [M < ::Temporalio::Api::Common::V1::Memo::_ToProto] (:memo, M?) -> M?
|
137
|
+
| (:search_attributes, ::Temporalio::Api::Common::V1::SearchAttributes?) -> ::Temporalio::Api::Common::V1::SearchAttributes?
|
138
|
+
| [M < ::Temporalio::Api::Common::V1::SearchAttributes::_ToProto] (:search_attributes, M?) -> M?
|
139
|
+
| (:auto_reset_points, ::Temporalio::Api::Workflow::V1::ResetPoints?) -> ::Temporalio::Api::Workflow::V1::ResetPoints?
|
140
|
+
| [M < ::Temporalio::Api::Workflow::V1::ResetPoints::_ToProto] (:auto_reset_points, M?) -> M?
|
141
|
+
| (:task_queue, ::String) -> ::String
|
142
|
+
| (:state_transition_count, ::Integer) -> ::Integer
|
143
|
+
| (:history_size_bytes, ::Integer) -> ::Integer
|
144
|
+
| (::Symbol, untyped) -> untyped
|
145
|
+
|
146
|
+
interface _ToProto
|
147
|
+
def to_proto: () -> WorkflowExecutionInfo
|
148
|
+
end
|
149
|
+
|
150
|
+
# The type of `#initialize` parameter.
|
151
|
+
type init = WorkflowExecutionInfo | _ToProto
|
152
|
+
|
153
|
+
# The type of `repeated` field.
|
154
|
+
type field_array = ::Protobuf::Field::FieldArray[WorkflowExecutionInfo, WorkflowExecutionInfo | _ToProto]
|
155
|
+
|
156
|
+
# The type of `map` field.
|
157
|
+
type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, WorkflowExecutionInfo, WorkflowExecutionInfo | _ToProto]
|
158
|
+
|
159
|
+
type array = ::Array[WorkflowExecutionInfo | _ToProto]
|
160
|
+
|
161
|
+
type hash[KEY] = ::Hash[KEY, WorkflowExecutionInfo | _ToProto]
|
162
|
+
end
|
163
|
+
|
164
|
+
class WorkflowExecutionConfig < ::Protobuf::Message
|
165
|
+
# Encode the message to a binary string
|
166
|
+
#
|
167
|
+
def self.encode: (WorkflowExecutionConfig) -> String
|
168
|
+
|
169
|
+
attr_accessor task_queue(): ::Temporalio::Api::TaskQueue::V1::TaskQueue?
|
170
|
+
|
171
|
+
def task_queue=: [M < ::Temporalio::Api::TaskQueue::V1::TaskQueue::_ToProto] (M?) -> M?
|
172
|
+
| ...
|
173
|
+
|
174
|
+
def task_queue!: () -> ::Temporalio::Api::TaskQueue::V1::TaskQueue?
|
175
|
+
|
176
|
+
attr_accessor workflow_execution_timeout(): ::Google::Protobuf::Duration?
|
177
|
+
|
178
|
+
def workflow_execution_timeout=: [M < ::Google::Protobuf::Duration::_ToProto] (M?) -> M?
|
179
|
+
| ...
|
180
|
+
|
181
|
+
def workflow_execution_timeout!: () -> ::Google::Protobuf::Duration?
|
182
|
+
|
183
|
+
attr_accessor workflow_run_timeout(): ::Google::Protobuf::Duration?
|
184
|
+
|
185
|
+
def workflow_run_timeout=: [M < ::Google::Protobuf::Duration::_ToProto] (M?) -> M?
|
186
|
+
| ...
|
187
|
+
|
188
|
+
def workflow_run_timeout!: () -> ::Google::Protobuf::Duration?
|
189
|
+
|
190
|
+
attr_accessor default_workflow_task_timeout(): ::Google::Protobuf::Duration?
|
191
|
+
|
192
|
+
def default_workflow_task_timeout=: [M < ::Google::Protobuf::Duration::_ToProto] (M?) -> M?
|
193
|
+
| ...
|
194
|
+
|
195
|
+
def default_workflow_task_timeout!: () -> ::Google::Protobuf::Duration?
|
196
|
+
|
197
|
+
def initialize: (?task_queue: ::Temporalio::Api::TaskQueue::V1::TaskQueue::init?, ?workflow_execution_timeout: ::Google::Protobuf::Duration::init?, ?workflow_run_timeout: ::Google::Protobuf::Duration::init?, ?default_workflow_task_timeout: ::Google::Protobuf::Duration::init?) -> void
|
198
|
+
|
199
|
+
def []: (:task_queue) -> ::Temporalio::Api::TaskQueue::V1::TaskQueue?
|
200
|
+
| (:workflow_execution_timeout) -> ::Google::Protobuf::Duration?
|
201
|
+
| (:workflow_run_timeout) -> ::Google::Protobuf::Duration?
|
202
|
+
| (:default_workflow_task_timeout) -> ::Google::Protobuf::Duration?
|
203
|
+
| (::Symbol) -> untyped
|
204
|
+
|
205
|
+
def []=: (:task_queue, ::Temporalio::Api::TaskQueue::V1::TaskQueue?) -> ::Temporalio::Api::TaskQueue::V1::TaskQueue?
|
206
|
+
| [M < ::Temporalio::Api::TaskQueue::V1::TaskQueue::_ToProto] (:task_queue, M?) -> M?
|
207
|
+
| (:workflow_execution_timeout, ::Google::Protobuf::Duration?) -> ::Google::Protobuf::Duration?
|
208
|
+
| [M < ::Google::Protobuf::Duration::_ToProto] (:workflow_execution_timeout, M?) -> M?
|
209
|
+
| (:workflow_run_timeout, ::Google::Protobuf::Duration?) -> ::Google::Protobuf::Duration?
|
210
|
+
| [M < ::Google::Protobuf::Duration::_ToProto] (:workflow_run_timeout, M?) -> M?
|
211
|
+
| (:default_workflow_task_timeout, ::Google::Protobuf::Duration?) -> ::Google::Protobuf::Duration?
|
212
|
+
| [M < ::Google::Protobuf::Duration::_ToProto] (:default_workflow_task_timeout, M?) -> M?
|
213
|
+
| (::Symbol, untyped) -> untyped
|
214
|
+
|
215
|
+
interface _ToProto
|
216
|
+
def to_proto: () -> WorkflowExecutionConfig
|
217
|
+
end
|
218
|
+
|
219
|
+
# The type of `#initialize` parameter.
|
220
|
+
type init = WorkflowExecutionConfig | _ToProto
|
221
|
+
|
222
|
+
# The type of `repeated` field.
|
223
|
+
type field_array = ::Protobuf::Field::FieldArray[WorkflowExecutionConfig, WorkflowExecutionConfig | _ToProto]
|
224
|
+
|
225
|
+
# The type of `map` field.
|
226
|
+
type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, WorkflowExecutionConfig, WorkflowExecutionConfig | _ToProto]
|
227
|
+
|
228
|
+
type array = ::Array[WorkflowExecutionConfig | _ToProto]
|
229
|
+
|
230
|
+
type hash[KEY] = ::Hash[KEY, WorkflowExecutionConfig | _ToProto]
|
231
|
+
end
|
232
|
+
|
233
|
+
class PendingActivityInfo < ::Protobuf::Message
|
234
|
+
# Encode the message to a binary string
|
235
|
+
#
|
236
|
+
def self.encode: (PendingActivityInfo) -> String
|
237
|
+
|
238
|
+
attr_accessor activity_id(): ::String
|
239
|
+
|
240
|
+
def activity_id!: () -> ::String?
|
241
|
+
|
242
|
+
attr_accessor activity_type(): ::Temporalio::Api::Common::V1::ActivityType?
|
243
|
+
|
244
|
+
def activity_type=: [M < ::Temporalio::Api::Common::V1::ActivityType::_ToProto] (M?) -> M?
|
245
|
+
| ...
|
246
|
+
|
247
|
+
def activity_type!: () -> ::Temporalio::Api::Common::V1::ActivityType?
|
248
|
+
|
249
|
+
attr_accessor state(): ::Temporalio::Api::Enums::V1::PendingActivityState
|
250
|
+
|
251
|
+
def state=: (::Temporalio::Api::Enums::V1::PendingActivityState::values) -> ::Temporalio::Api::Enums::V1::PendingActivityState::values
|
252
|
+
| ...
|
253
|
+
|
254
|
+
def state!: () -> ::Temporalio::Api::Enums::V1::PendingActivityState?
|
255
|
+
|
256
|
+
attr_accessor heartbeat_details(): ::Temporalio::Api::Common::V1::Payloads?
|
257
|
+
|
258
|
+
def heartbeat_details=: [M < ::Temporalio::Api::Common::V1::Payloads::_ToProto] (M?) -> M?
|
259
|
+
| ...
|
260
|
+
|
261
|
+
def heartbeat_details!: () -> ::Temporalio::Api::Common::V1::Payloads?
|
262
|
+
|
263
|
+
attr_accessor last_heartbeat_time(): ::Google::Protobuf::Timestamp?
|
264
|
+
|
265
|
+
def last_heartbeat_time=: [M < ::Google::Protobuf::Timestamp::_ToProto] (M?) -> M?
|
266
|
+
| ...
|
267
|
+
|
268
|
+
def last_heartbeat_time!: () -> ::Google::Protobuf::Timestamp?
|
269
|
+
|
270
|
+
attr_accessor last_started_time(): ::Google::Protobuf::Timestamp?
|
271
|
+
|
272
|
+
def last_started_time=: [M < ::Google::Protobuf::Timestamp::_ToProto] (M?) -> M?
|
273
|
+
| ...
|
274
|
+
|
275
|
+
def last_started_time!: () -> ::Google::Protobuf::Timestamp?
|
276
|
+
|
277
|
+
attr_accessor attempt(): ::Integer
|
278
|
+
|
279
|
+
def attempt!: () -> ::Integer?
|
280
|
+
|
281
|
+
attr_accessor maximum_attempts(): ::Integer
|
282
|
+
|
283
|
+
def maximum_attempts!: () -> ::Integer?
|
284
|
+
|
285
|
+
attr_accessor scheduled_time(): ::Google::Protobuf::Timestamp?
|
286
|
+
|
287
|
+
def scheduled_time=: [M < ::Google::Protobuf::Timestamp::_ToProto] (M?) -> M?
|
288
|
+
| ...
|
289
|
+
|
290
|
+
def scheduled_time!: () -> ::Google::Protobuf::Timestamp?
|
291
|
+
|
292
|
+
attr_accessor expiration_time(): ::Google::Protobuf::Timestamp?
|
293
|
+
|
294
|
+
def expiration_time=: [M < ::Google::Protobuf::Timestamp::_ToProto] (M?) -> M?
|
295
|
+
| ...
|
296
|
+
|
297
|
+
def expiration_time!: () -> ::Google::Protobuf::Timestamp?
|
298
|
+
|
299
|
+
attr_accessor last_failure(): ::Temporalio::Api::Failure::V1::Failure?
|
300
|
+
|
301
|
+
def last_failure=: [M < ::Temporalio::Api::Failure::V1::Failure::_ToProto] (M?) -> M?
|
302
|
+
| ...
|
303
|
+
|
304
|
+
def last_failure!: () -> ::Temporalio::Api::Failure::V1::Failure?
|
305
|
+
|
306
|
+
attr_accessor last_worker_identity(): ::String
|
307
|
+
|
308
|
+
def last_worker_identity!: () -> ::String?
|
309
|
+
|
310
|
+
def initialize: (?activity_id: ::String, ?activity_type: ::Temporalio::Api::Common::V1::ActivityType::init?, ?state: ::Temporalio::Api::Enums::V1::PendingActivityState::init, ?heartbeat_details: ::Temporalio::Api::Common::V1::Payloads::init?, ?last_heartbeat_time: ::Google::Protobuf::Timestamp::init?, ?last_started_time: ::Google::Protobuf::Timestamp::init?, ?attempt: ::Integer, ?maximum_attempts: ::Integer, ?scheduled_time: ::Google::Protobuf::Timestamp::init?, ?expiration_time: ::Google::Protobuf::Timestamp::init?, ?last_failure: ::Temporalio::Api::Failure::V1::Failure::init?, ?last_worker_identity: ::String) -> void
|
311
|
+
|
312
|
+
def []: (:activity_id) -> ::String
|
313
|
+
| (:activity_type) -> ::Temporalio::Api::Common::V1::ActivityType?
|
314
|
+
| (:state) -> ::Temporalio::Api::Enums::V1::PendingActivityState
|
315
|
+
| (:heartbeat_details) -> ::Temporalio::Api::Common::V1::Payloads?
|
316
|
+
| (:last_heartbeat_time) -> ::Google::Protobuf::Timestamp?
|
317
|
+
| (:last_started_time) -> ::Google::Protobuf::Timestamp?
|
318
|
+
| (:attempt) -> ::Integer
|
319
|
+
| (:maximum_attempts) -> ::Integer
|
320
|
+
| (:scheduled_time) -> ::Google::Protobuf::Timestamp?
|
321
|
+
| (:expiration_time) -> ::Google::Protobuf::Timestamp?
|
322
|
+
| (:last_failure) -> ::Temporalio::Api::Failure::V1::Failure?
|
323
|
+
| (:last_worker_identity) -> ::String
|
324
|
+
| (::Symbol) -> untyped
|
325
|
+
|
326
|
+
def []=: (:activity_id, ::String) -> ::String
|
327
|
+
| (:activity_type, ::Temporalio::Api::Common::V1::ActivityType?) -> ::Temporalio::Api::Common::V1::ActivityType?
|
328
|
+
| [M < ::Temporalio::Api::Common::V1::ActivityType::_ToProto] (:activity_type, M?) -> M?
|
329
|
+
| (:state, ::Temporalio::Api::Enums::V1::PendingActivityState) -> ::Temporalio::Api::Enums::V1::PendingActivityState
|
330
|
+
| (:state, ::Temporalio::Api::Enums::V1::PendingActivityState::values) -> ::Temporalio::Api::Enums::V1::PendingActivityState::values
|
331
|
+
| (:heartbeat_details, ::Temporalio::Api::Common::V1::Payloads?) -> ::Temporalio::Api::Common::V1::Payloads?
|
332
|
+
| [M < ::Temporalio::Api::Common::V1::Payloads::_ToProto] (:heartbeat_details, M?) -> M?
|
333
|
+
| (:last_heartbeat_time, ::Google::Protobuf::Timestamp?) -> ::Google::Protobuf::Timestamp?
|
334
|
+
| [M < ::Google::Protobuf::Timestamp::_ToProto] (:last_heartbeat_time, M?) -> M?
|
335
|
+
| (:last_started_time, ::Google::Protobuf::Timestamp?) -> ::Google::Protobuf::Timestamp?
|
336
|
+
| [M < ::Google::Protobuf::Timestamp::_ToProto] (:last_started_time, M?) -> M?
|
337
|
+
| (:attempt, ::Integer) -> ::Integer
|
338
|
+
| (:maximum_attempts, ::Integer) -> ::Integer
|
339
|
+
| (:scheduled_time, ::Google::Protobuf::Timestamp?) -> ::Google::Protobuf::Timestamp?
|
340
|
+
| [M < ::Google::Protobuf::Timestamp::_ToProto] (:scheduled_time, M?) -> M?
|
341
|
+
| (:expiration_time, ::Google::Protobuf::Timestamp?) -> ::Google::Protobuf::Timestamp?
|
342
|
+
| [M < ::Google::Protobuf::Timestamp::_ToProto] (:expiration_time, M?) -> M?
|
343
|
+
| (:last_failure, ::Temporalio::Api::Failure::V1::Failure?) -> ::Temporalio::Api::Failure::V1::Failure?
|
344
|
+
| [M < ::Temporalio::Api::Failure::V1::Failure::_ToProto] (:last_failure, M?) -> M?
|
345
|
+
| (:last_worker_identity, ::String) -> ::String
|
346
|
+
| (::Symbol, untyped) -> untyped
|
347
|
+
|
348
|
+
interface _ToProto
|
349
|
+
def to_proto: () -> PendingActivityInfo
|
350
|
+
end
|
351
|
+
|
352
|
+
# The type of `#initialize` parameter.
|
353
|
+
type init = PendingActivityInfo | _ToProto
|
354
|
+
|
355
|
+
# The type of `repeated` field.
|
356
|
+
type field_array = ::Protobuf::Field::FieldArray[PendingActivityInfo, PendingActivityInfo | _ToProto]
|
357
|
+
|
358
|
+
# The type of `map` field.
|
359
|
+
type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, PendingActivityInfo, PendingActivityInfo | _ToProto]
|
360
|
+
|
361
|
+
type array = ::Array[PendingActivityInfo | _ToProto]
|
362
|
+
|
363
|
+
type hash[KEY] = ::Hash[KEY, PendingActivityInfo | _ToProto]
|
364
|
+
end
|
365
|
+
|
366
|
+
class PendingChildExecutionInfo < ::Protobuf::Message
|
367
|
+
# Encode the message to a binary string
|
368
|
+
#
|
369
|
+
def self.encode: (PendingChildExecutionInfo) -> String
|
370
|
+
|
371
|
+
attr_accessor workflow_id(): ::String
|
372
|
+
|
373
|
+
def workflow_id!: () -> ::String?
|
374
|
+
|
375
|
+
attr_accessor run_id(): ::String
|
376
|
+
|
377
|
+
def run_id!: () -> ::String?
|
378
|
+
|
379
|
+
attr_accessor workflow_type_name(): ::String
|
380
|
+
|
381
|
+
def workflow_type_name!: () -> ::String?
|
382
|
+
|
383
|
+
attr_accessor initiated_id(): ::Integer
|
384
|
+
|
385
|
+
def initiated_id!: () -> ::Integer?
|
386
|
+
|
387
|
+
# Default: PARENT_CLOSE_POLICY_TERMINATE.
|
388
|
+
#
|
389
|
+
attr_accessor parent_close_policy(): ::Temporalio::Api::Enums::V1::ParentClosePolicy
|
390
|
+
|
391
|
+
# Default: PARENT_CLOSE_POLICY_TERMINATE.
|
392
|
+
#
|
393
|
+
def parent_close_policy=: (::Temporalio::Api::Enums::V1::ParentClosePolicy::values) -> ::Temporalio::Api::Enums::V1::ParentClosePolicy::values
|
394
|
+
| ...
|
395
|
+
|
396
|
+
def parent_close_policy!: () -> ::Temporalio::Api::Enums::V1::ParentClosePolicy?
|
397
|
+
|
398
|
+
def initialize: (?workflow_id: ::String, ?run_id: ::String, ?workflow_type_name: ::String, ?initiated_id: ::Integer, ?parent_close_policy: ::Temporalio::Api::Enums::V1::ParentClosePolicy::init) -> void
|
399
|
+
|
400
|
+
def []: (:workflow_id) -> ::String
|
401
|
+
| (:run_id) -> ::String
|
402
|
+
| (:workflow_type_name) -> ::String
|
403
|
+
| (:initiated_id) -> ::Integer
|
404
|
+
| (:parent_close_policy) -> ::Temporalio::Api::Enums::V1::ParentClosePolicy
|
405
|
+
| (::Symbol) -> untyped
|
406
|
+
|
407
|
+
def []=: (:workflow_id, ::String) -> ::String
|
408
|
+
| (:run_id, ::String) -> ::String
|
409
|
+
| (:workflow_type_name, ::String) -> ::String
|
410
|
+
| (:initiated_id, ::Integer) -> ::Integer
|
411
|
+
| (:parent_close_policy, ::Temporalio::Api::Enums::V1::ParentClosePolicy) -> ::Temporalio::Api::Enums::V1::ParentClosePolicy
|
412
|
+
| (:parent_close_policy, ::Temporalio::Api::Enums::V1::ParentClosePolicy::values) -> ::Temporalio::Api::Enums::V1::ParentClosePolicy::values
|
413
|
+
| (::Symbol, untyped) -> untyped
|
414
|
+
|
415
|
+
interface _ToProto
|
416
|
+
def to_proto: () -> PendingChildExecutionInfo
|
417
|
+
end
|
418
|
+
|
419
|
+
# The type of `#initialize` parameter.
|
420
|
+
type init = PendingChildExecutionInfo | _ToProto
|
421
|
+
|
422
|
+
# The type of `repeated` field.
|
423
|
+
type field_array = ::Protobuf::Field::FieldArray[PendingChildExecutionInfo, PendingChildExecutionInfo | _ToProto]
|
424
|
+
|
425
|
+
# The type of `map` field.
|
426
|
+
type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, PendingChildExecutionInfo, PendingChildExecutionInfo | _ToProto]
|
427
|
+
|
428
|
+
type array = ::Array[PendingChildExecutionInfo | _ToProto]
|
429
|
+
|
430
|
+
type hash[KEY] = ::Hash[KEY, PendingChildExecutionInfo | _ToProto]
|
431
|
+
end
|
432
|
+
|
433
|
+
class PendingWorkflowTaskInfo < ::Protobuf::Message
|
434
|
+
# Encode the message to a binary string
|
435
|
+
#
|
436
|
+
def self.encode: (PendingWorkflowTaskInfo) -> String
|
437
|
+
|
438
|
+
attr_accessor state(): ::Temporalio::Api::Enums::V1::PendingWorkflowTaskState
|
439
|
+
|
440
|
+
def state=: (::Temporalio::Api::Enums::V1::PendingWorkflowTaskState::values) -> ::Temporalio::Api::Enums::V1::PendingWorkflowTaskState::values
|
441
|
+
| ...
|
442
|
+
|
443
|
+
def state!: () -> ::Temporalio::Api::Enums::V1::PendingWorkflowTaskState?
|
444
|
+
|
445
|
+
attr_accessor scheduled_time(): ::Google::Protobuf::Timestamp?
|
446
|
+
|
447
|
+
def scheduled_time=: [M < ::Google::Protobuf::Timestamp::_ToProto] (M?) -> M?
|
448
|
+
| ...
|
449
|
+
|
450
|
+
def scheduled_time!: () -> ::Google::Protobuf::Timestamp?
|
451
|
+
|
452
|
+
# original_scheduled_time is the scheduled time of the first workflow task during workflow task heartbeat.
|
453
|
+
# Heartbeat workflow task is done by RespondWorkflowTaskComplete with ForceCreateNewWorkflowTask == true and no command
|
454
|
+
# In this case, OriginalScheduledTime won't change. Then when current time - original_scheduled_time exceeds
|
455
|
+
# some threshold, the workflow task will be forced timeout.
|
456
|
+
#
|
457
|
+
attr_accessor original_scheduled_time(): ::Google::Protobuf::Timestamp?
|
458
|
+
|
459
|
+
# original_scheduled_time is the scheduled time of the first workflow task during workflow task heartbeat.
|
460
|
+
# Heartbeat workflow task is done by RespondWorkflowTaskComplete with ForceCreateNewWorkflowTask == true and no command
|
461
|
+
# In this case, OriginalScheduledTime won't change. Then when current time - original_scheduled_time exceeds
|
462
|
+
# some threshold, the workflow task will be forced timeout.
|
463
|
+
#
|
464
|
+
def original_scheduled_time=: [M < ::Google::Protobuf::Timestamp::_ToProto] (M?) -> M?
|
465
|
+
| ...
|
466
|
+
|
467
|
+
def original_scheduled_time!: () -> ::Google::Protobuf::Timestamp?
|
468
|
+
|
469
|
+
attr_accessor started_time(): ::Google::Protobuf::Timestamp?
|
470
|
+
|
471
|
+
def started_time=: [M < ::Google::Protobuf::Timestamp::_ToProto] (M?) -> M?
|
472
|
+
| ...
|
473
|
+
|
474
|
+
def started_time!: () -> ::Google::Protobuf::Timestamp?
|
475
|
+
|
476
|
+
attr_accessor attempt(): ::Integer
|
477
|
+
|
478
|
+
def attempt!: () -> ::Integer?
|
479
|
+
|
480
|
+
def initialize: (?state: ::Temporalio::Api::Enums::V1::PendingWorkflowTaskState::init, ?scheduled_time: ::Google::Protobuf::Timestamp::init?, ?original_scheduled_time: ::Google::Protobuf::Timestamp::init?, ?started_time: ::Google::Protobuf::Timestamp::init?, ?attempt: ::Integer) -> void
|
481
|
+
|
482
|
+
def []: (:state) -> ::Temporalio::Api::Enums::V1::PendingWorkflowTaskState
|
483
|
+
| (:scheduled_time) -> ::Google::Protobuf::Timestamp?
|
484
|
+
| (:original_scheduled_time) -> ::Google::Protobuf::Timestamp?
|
485
|
+
| (:started_time) -> ::Google::Protobuf::Timestamp?
|
486
|
+
| (:attempt) -> ::Integer
|
487
|
+
| (::Symbol) -> untyped
|
488
|
+
|
489
|
+
def []=: (:state, ::Temporalio::Api::Enums::V1::PendingWorkflowTaskState) -> ::Temporalio::Api::Enums::V1::PendingWorkflowTaskState
|
490
|
+
| (:state, ::Temporalio::Api::Enums::V1::PendingWorkflowTaskState::values) -> ::Temporalio::Api::Enums::V1::PendingWorkflowTaskState::values
|
491
|
+
| (:scheduled_time, ::Google::Protobuf::Timestamp?) -> ::Google::Protobuf::Timestamp?
|
492
|
+
| [M < ::Google::Protobuf::Timestamp::_ToProto] (:scheduled_time, M?) -> M?
|
493
|
+
| (:original_scheduled_time, ::Google::Protobuf::Timestamp?) -> ::Google::Protobuf::Timestamp?
|
494
|
+
| [M < ::Google::Protobuf::Timestamp::_ToProto] (:original_scheduled_time, M?) -> M?
|
495
|
+
| (:started_time, ::Google::Protobuf::Timestamp?) -> ::Google::Protobuf::Timestamp?
|
496
|
+
| [M < ::Google::Protobuf::Timestamp::_ToProto] (:started_time, M?) -> M?
|
497
|
+
| (:attempt, ::Integer) -> ::Integer
|
498
|
+
| (::Symbol, untyped) -> untyped
|
499
|
+
|
500
|
+
interface _ToProto
|
501
|
+
def to_proto: () -> PendingWorkflowTaskInfo
|
502
|
+
end
|
503
|
+
|
504
|
+
# The type of `#initialize` parameter.
|
505
|
+
type init = PendingWorkflowTaskInfo | _ToProto
|
506
|
+
|
507
|
+
# The type of `repeated` field.
|
508
|
+
type field_array = ::Protobuf::Field::FieldArray[PendingWorkflowTaskInfo, PendingWorkflowTaskInfo | _ToProto]
|
509
|
+
|
510
|
+
# The type of `map` field.
|
511
|
+
type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, PendingWorkflowTaskInfo, PendingWorkflowTaskInfo | _ToProto]
|
512
|
+
|
513
|
+
type array = ::Array[PendingWorkflowTaskInfo | _ToProto]
|
514
|
+
|
515
|
+
type hash[KEY] = ::Hash[KEY, PendingWorkflowTaskInfo | _ToProto]
|
516
|
+
end
|
517
|
+
|
518
|
+
class ResetPoints < ::Protobuf::Message
|
519
|
+
# Encode the message to a binary string
|
520
|
+
#
|
521
|
+
def self.encode: (ResetPoints) -> String
|
522
|
+
|
523
|
+
attr_accessor points(): ::Temporalio::Api::Workflow::V1::ResetPointInfo::field_array
|
524
|
+
|
525
|
+
def points=: (::Temporalio::Api::Workflow::V1::ResetPointInfo::array) -> ::Temporalio::Api::Workflow::V1::ResetPointInfo::array
|
526
|
+
| ...
|
527
|
+
|
528
|
+
def points!: () -> ::Temporalio::Api::Workflow::V1::ResetPointInfo::field_array?
|
529
|
+
|
530
|
+
def initialize: (?points: ::Temporalio::Api::Workflow::V1::ResetPointInfo::array) -> void
|
531
|
+
|
532
|
+
def []: (:points) -> ::Temporalio::Api::Workflow::V1::ResetPointInfo::field_array
|
533
|
+
| (::Symbol) -> untyped
|
534
|
+
|
535
|
+
def []=: (:points, ::Temporalio::Api::Workflow::V1::ResetPointInfo::field_array) -> ::Temporalio::Api::Workflow::V1::ResetPointInfo::field_array
|
536
|
+
| (:points, ::Temporalio::Api::Workflow::V1::ResetPointInfo::array) -> ::Temporalio::Api::Workflow::V1::ResetPointInfo::array
|
537
|
+
| (::Symbol, untyped) -> untyped
|
538
|
+
|
539
|
+
interface _ToProto
|
540
|
+
def to_proto: () -> ResetPoints
|
541
|
+
end
|
542
|
+
|
543
|
+
# The type of `#initialize` parameter.
|
544
|
+
type init = ResetPoints | _ToProto
|
545
|
+
|
546
|
+
# The type of `repeated` field.
|
547
|
+
type field_array = ::Protobuf::Field::FieldArray[ResetPoints, ResetPoints | _ToProto]
|
548
|
+
|
549
|
+
# The type of `map` field.
|
550
|
+
type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, ResetPoints, ResetPoints | _ToProto]
|
551
|
+
|
552
|
+
type array = ::Array[ResetPoints | _ToProto]
|
553
|
+
|
554
|
+
type hash[KEY] = ::Hash[KEY, ResetPoints | _ToProto]
|
555
|
+
end
|
556
|
+
|
557
|
+
class ResetPointInfo < ::Protobuf::Message
|
558
|
+
# Encode the message to a binary string
|
559
|
+
#
|
560
|
+
def self.encode: (ResetPointInfo) -> String
|
561
|
+
|
562
|
+
attr_accessor binary_checksum(): ::String
|
563
|
+
|
564
|
+
def binary_checksum!: () -> ::String?
|
565
|
+
|
566
|
+
attr_accessor run_id(): ::String
|
567
|
+
|
568
|
+
def run_id!: () -> ::String?
|
569
|
+
|
570
|
+
attr_accessor first_workflow_task_completed_id(): ::Integer
|
571
|
+
|
572
|
+
def first_workflow_task_completed_id!: () -> ::Integer?
|
573
|
+
|
574
|
+
attr_accessor create_time(): ::Google::Protobuf::Timestamp?
|
575
|
+
|
576
|
+
def create_time=: [M < ::Google::Protobuf::Timestamp::_ToProto] (M?) -> M?
|
577
|
+
| ...
|
578
|
+
|
579
|
+
def create_time!: () -> ::Google::Protobuf::Timestamp?
|
580
|
+
|
581
|
+
# (-- api-linter: core::0214::resource-expiry=disabled
|
582
|
+
# aip.dev/not-precedent: TTL is not defined for ResetPointInfo. --)
|
583
|
+
# The time that the run is deleted due to retention.
|
584
|
+
#
|
585
|
+
attr_accessor expire_time(): ::Google::Protobuf::Timestamp?
|
586
|
+
|
587
|
+
# (-- api-linter: core::0214::resource-expiry=disabled
|
588
|
+
# aip.dev/not-precedent: TTL is not defined for ResetPointInfo. --)
|
589
|
+
# The time that the run is deleted due to retention.
|
590
|
+
#
|
591
|
+
def expire_time=: [M < ::Google::Protobuf::Timestamp::_ToProto] (M?) -> M?
|
592
|
+
| ...
|
593
|
+
|
594
|
+
def expire_time!: () -> ::Google::Protobuf::Timestamp?
|
595
|
+
|
596
|
+
# false if the reset point has pending childWFs/reqCancels/signalExternals.
|
597
|
+
#
|
598
|
+
attr_accessor resettable(): bool
|
599
|
+
|
600
|
+
def resettable!: () -> bool?
|
601
|
+
|
602
|
+
def initialize: (?binary_checksum: ::String, ?run_id: ::String, ?first_workflow_task_completed_id: ::Integer, ?create_time: ::Google::Protobuf::Timestamp::init?, ?expire_time: ::Google::Protobuf::Timestamp::init?, ?resettable: bool) -> void
|
603
|
+
|
604
|
+
def []: (:binary_checksum) -> ::String
|
605
|
+
| (:run_id) -> ::String
|
606
|
+
| (:first_workflow_task_completed_id) -> ::Integer
|
607
|
+
| (:create_time) -> ::Google::Protobuf::Timestamp?
|
608
|
+
| (:expire_time) -> ::Google::Protobuf::Timestamp?
|
609
|
+
| (:resettable) -> bool
|
610
|
+
| (::Symbol) -> untyped
|
611
|
+
|
612
|
+
def []=: (:binary_checksum, ::String) -> ::String
|
613
|
+
| (:run_id, ::String) -> ::String
|
614
|
+
| (:first_workflow_task_completed_id, ::Integer) -> ::Integer
|
615
|
+
| (:create_time, ::Google::Protobuf::Timestamp?) -> ::Google::Protobuf::Timestamp?
|
616
|
+
| [M < ::Google::Protobuf::Timestamp::_ToProto] (:create_time, M?) -> M?
|
617
|
+
| (:expire_time, ::Google::Protobuf::Timestamp?) -> ::Google::Protobuf::Timestamp?
|
618
|
+
| [M < ::Google::Protobuf::Timestamp::_ToProto] (:expire_time, M?) -> M?
|
619
|
+
| (:resettable, bool) -> bool
|
620
|
+
| (::Symbol, untyped) -> untyped
|
621
|
+
|
622
|
+
def resettable?: () -> bool
|
623
|
+
|
624
|
+
interface _ToProto
|
625
|
+
def to_proto: () -> ResetPointInfo
|
626
|
+
end
|
627
|
+
|
628
|
+
# The type of `#initialize` parameter.
|
629
|
+
type init = ResetPointInfo | _ToProto
|
630
|
+
|
631
|
+
# The type of `repeated` field.
|
632
|
+
type field_array = ::Protobuf::Field::FieldArray[ResetPointInfo, ResetPointInfo | _ToProto]
|
633
|
+
|
634
|
+
# The type of `map` field.
|
635
|
+
type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, ResetPointInfo, ResetPointInfo | _ToProto]
|
636
|
+
|
637
|
+
type array = ::Array[ResetPointInfo | _ToProto]
|
638
|
+
|
639
|
+
type hash[KEY] = ::Hash[KEY, ResetPointInfo | _ToProto]
|
640
|
+
end
|
641
|
+
|
642
|
+
# NewWorkflowExecutionInfo is a shared message that encapsulates all the
|
643
|
+
# required arguments to starting a workflow in different contexts.
|
644
|
+
#
|
645
|
+
class NewWorkflowExecutionInfo < ::Protobuf::Message
|
646
|
+
# Encode the message to a binary string
|
647
|
+
#
|
648
|
+
def self.encode: (NewWorkflowExecutionInfo) -> String
|
649
|
+
|
650
|
+
attr_accessor workflow_id(): ::String
|
651
|
+
|
652
|
+
def workflow_id!: () -> ::String?
|
653
|
+
|
654
|
+
attr_accessor workflow_type(): ::Temporalio::Api::Common::V1::WorkflowType?
|
655
|
+
|
656
|
+
def workflow_type=: [M < ::Temporalio::Api::Common::V1::WorkflowType::_ToProto] (M?) -> M?
|
657
|
+
| ...
|
658
|
+
|
659
|
+
def workflow_type!: () -> ::Temporalio::Api::Common::V1::WorkflowType?
|
660
|
+
|
661
|
+
attr_accessor task_queue(): ::Temporalio::Api::TaskQueue::V1::TaskQueue?
|
662
|
+
|
663
|
+
def task_queue=: [M < ::Temporalio::Api::TaskQueue::V1::TaskQueue::_ToProto] (M?) -> M?
|
664
|
+
| ...
|
665
|
+
|
666
|
+
def task_queue!: () -> ::Temporalio::Api::TaskQueue::V1::TaskQueue?
|
667
|
+
|
668
|
+
# Serialized arguments to the workflow.
|
669
|
+
#
|
670
|
+
attr_accessor input(): ::Temporalio::Api::Common::V1::Payloads?
|
671
|
+
|
672
|
+
# Serialized arguments to the workflow.
|
673
|
+
#
|
674
|
+
def input=: [M < ::Temporalio::Api::Common::V1::Payloads::_ToProto] (M?) -> M?
|
675
|
+
| ...
|
676
|
+
|
677
|
+
def input!: () -> ::Temporalio::Api::Common::V1::Payloads?
|
678
|
+
|
679
|
+
# Total workflow execution timeout including retries and continue as new.
|
680
|
+
#
|
681
|
+
attr_accessor workflow_execution_timeout(): ::Google::Protobuf::Duration?
|
682
|
+
|
683
|
+
# Total workflow execution timeout including retries and continue as new.
|
684
|
+
#
|
685
|
+
def workflow_execution_timeout=: [M < ::Google::Protobuf::Duration::_ToProto] (M?) -> M?
|
686
|
+
| ...
|
687
|
+
|
688
|
+
def workflow_execution_timeout!: () -> ::Google::Protobuf::Duration?
|
689
|
+
|
690
|
+
# Timeout of a single workflow run.
|
691
|
+
#
|
692
|
+
attr_accessor workflow_run_timeout(): ::Google::Protobuf::Duration?
|
693
|
+
|
694
|
+
# Timeout of a single workflow run.
|
695
|
+
#
|
696
|
+
def workflow_run_timeout=: [M < ::Google::Protobuf::Duration::_ToProto] (M?) -> M?
|
697
|
+
| ...
|
698
|
+
|
699
|
+
def workflow_run_timeout!: () -> ::Google::Protobuf::Duration?
|
700
|
+
|
701
|
+
# Timeout of a single workflow task.
|
702
|
+
#
|
703
|
+
attr_accessor workflow_task_timeout(): ::Google::Protobuf::Duration?
|
704
|
+
|
705
|
+
# Timeout of a single workflow task.
|
706
|
+
#
|
707
|
+
def workflow_task_timeout=: [M < ::Google::Protobuf::Duration::_ToProto] (M?) -> M?
|
708
|
+
| ...
|
709
|
+
|
710
|
+
def workflow_task_timeout!: () -> ::Google::Protobuf::Duration?
|
711
|
+
|
712
|
+
# Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.
|
713
|
+
#
|
714
|
+
attr_accessor workflow_id_reuse_policy(): ::Temporalio::Api::Enums::V1::WorkflowIdReusePolicy
|
715
|
+
|
716
|
+
# Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.
|
717
|
+
#
|
718
|
+
def workflow_id_reuse_policy=: (::Temporalio::Api::Enums::V1::WorkflowIdReusePolicy::values) -> ::Temporalio::Api::Enums::V1::WorkflowIdReusePolicy::values
|
719
|
+
| ...
|
720
|
+
|
721
|
+
def workflow_id_reuse_policy!: () -> ::Temporalio::Api::Enums::V1::WorkflowIdReusePolicy?
|
722
|
+
|
723
|
+
# The retry policy for the workflow. Will never exceed `workflow_execution_timeout`.
|
724
|
+
#
|
725
|
+
attr_accessor retry_policy(): ::Temporalio::Api::Common::V1::RetryPolicy?
|
726
|
+
|
727
|
+
# The retry policy for the workflow. Will never exceed `workflow_execution_timeout`.
|
728
|
+
#
|
729
|
+
def retry_policy=: [M < ::Temporalio::Api::Common::V1::RetryPolicy::_ToProto] (M?) -> M?
|
730
|
+
| ...
|
731
|
+
|
732
|
+
def retry_policy!: () -> ::Temporalio::Api::Common::V1::RetryPolicy?
|
733
|
+
|
734
|
+
# See https://docs.temporal.io/docs/content/what-is-a-temporal-cron-job/
|
735
|
+
#
|
736
|
+
attr_accessor cron_schedule(): ::String
|
737
|
+
|
738
|
+
def cron_schedule!: () -> ::String?
|
739
|
+
|
740
|
+
attr_accessor memo(): ::Temporalio::Api::Common::V1::Memo?
|
741
|
+
|
742
|
+
def memo=: [M < ::Temporalio::Api::Common::V1::Memo::_ToProto] (M?) -> M?
|
743
|
+
| ...
|
744
|
+
|
745
|
+
def memo!: () -> ::Temporalio::Api::Common::V1::Memo?
|
746
|
+
|
747
|
+
attr_accessor search_attributes(): ::Temporalio::Api::Common::V1::SearchAttributes?
|
748
|
+
|
749
|
+
def search_attributes=: [M < ::Temporalio::Api::Common::V1::SearchAttributes::_ToProto] (M?) -> M?
|
750
|
+
| ...
|
751
|
+
|
752
|
+
def search_attributes!: () -> ::Temporalio::Api::Common::V1::SearchAttributes?
|
753
|
+
|
754
|
+
attr_accessor header(): ::Temporalio::Api::Common::V1::Header?
|
755
|
+
|
756
|
+
def header=: [M < ::Temporalio::Api::Common::V1::Header::_ToProto] (M?) -> M?
|
757
|
+
| ...
|
758
|
+
|
759
|
+
def header!: () -> ::Temporalio::Api::Common::V1::Header?
|
760
|
+
|
761
|
+
def initialize: (?workflow_id: ::String, ?workflow_type: ::Temporalio::Api::Common::V1::WorkflowType::init?, ?task_queue: ::Temporalio::Api::TaskQueue::V1::TaskQueue::init?, ?input: ::Temporalio::Api::Common::V1::Payloads::init?, ?workflow_execution_timeout: ::Google::Protobuf::Duration::init?, ?workflow_run_timeout: ::Google::Protobuf::Duration::init?, ?workflow_task_timeout: ::Google::Protobuf::Duration::init?, ?workflow_id_reuse_policy: ::Temporalio::Api::Enums::V1::WorkflowIdReusePolicy::init, ?retry_policy: ::Temporalio::Api::Common::V1::RetryPolicy::init?, ?cron_schedule: ::String, ?memo: ::Temporalio::Api::Common::V1::Memo::init?, ?search_attributes: ::Temporalio::Api::Common::V1::SearchAttributes::init?, ?header: ::Temporalio::Api::Common::V1::Header::init?) -> void
|
762
|
+
|
763
|
+
def []: (:workflow_id) -> ::String
|
764
|
+
| (:workflow_type) -> ::Temporalio::Api::Common::V1::WorkflowType?
|
765
|
+
| (:task_queue) -> ::Temporalio::Api::TaskQueue::V1::TaskQueue?
|
766
|
+
| (:input) -> ::Temporalio::Api::Common::V1::Payloads?
|
767
|
+
| (:workflow_execution_timeout) -> ::Google::Protobuf::Duration?
|
768
|
+
| (:workflow_run_timeout) -> ::Google::Protobuf::Duration?
|
769
|
+
| (:workflow_task_timeout) -> ::Google::Protobuf::Duration?
|
770
|
+
| (:workflow_id_reuse_policy) -> ::Temporalio::Api::Enums::V1::WorkflowIdReusePolicy
|
771
|
+
| (:retry_policy) -> ::Temporalio::Api::Common::V1::RetryPolicy?
|
772
|
+
| (:cron_schedule) -> ::String
|
773
|
+
| (:memo) -> ::Temporalio::Api::Common::V1::Memo?
|
774
|
+
| (:search_attributes) -> ::Temporalio::Api::Common::V1::SearchAttributes?
|
775
|
+
| (:header) -> ::Temporalio::Api::Common::V1::Header?
|
776
|
+
| (::Symbol) -> untyped
|
777
|
+
|
778
|
+
def []=: (:workflow_id, ::String) -> ::String
|
779
|
+
| (:workflow_type, ::Temporalio::Api::Common::V1::WorkflowType?) -> ::Temporalio::Api::Common::V1::WorkflowType?
|
780
|
+
| [M < ::Temporalio::Api::Common::V1::WorkflowType::_ToProto] (:workflow_type, M?) -> M?
|
781
|
+
| (:task_queue, ::Temporalio::Api::TaskQueue::V1::TaskQueue?) -> ::Temporalio::Api::TaskQueue::V1::TaskQueue?
|
782
|
+
| [M < ::Temporalio::Api::TaskQueue::V1::TaskQueue::_ToProto] (:task_queue, M?) -> M?
|
783
|
+
| (:input, ::Temporalio::Api::Common::V1::Payloads?) -> ::Temporalio::Api::Common::V1::Payloads?
|
784
|
+
| [M < ::Temporalio::Api::Common::V1::Payloads::_ToProto] (:input, M?) -> M?
|
785
|
+
| (:workflow_execution_timeout, ::Google::Protobuf::Duration?) -> ::Google::Protobuf::Duration?
|
786
|
+
| [M < ::Google::Protobuf::Duration::_ToProto] (:workflow_execution_timeout, M?) -> M?
|
787
|
+
| (:workflow_run_timeout, ::Google::Protobuf::Duration?) -> ::Google::Protobuf::Duration?
|
788
|
+
| [M < ::Google::Protobuf::Duration::_ToProto] (:workflow_run_timeout, M?) -> M?
|
789
|
+
| (:workflow_task_timeout, ::Google::Protobuf::Duration?) -> ::Google::Protobuf::Duration?
|
790
|
+
| [M < ::Google::Protobuf::Duration::_ToProto] (:workflow_task_timeout, M?) -> M?
|
791
|
+
| (:workflow_id_reuse_policy, ::Temporalio::Api::Enums::V1::WorkflowIdReusePolicy) -> ::Temporalio::Api::Enums::V1::WorkflowIdReusePolicy
|
792
|
+
| (:workflow_id_reuse_policy, ::Temporalio::Api::Enums::V1::WorkflowIdReusePolicy::values) -> ::Temporalio::Api::Enums::V1::WorkflowIdReusePolicy::values
|
793
|
+
| (:retry_policy, ::Temporalio::Api::Common::V1::RetryPolicy?) -> ::Temporalio::Api::Common::V1::RetryPolicy?
|
794
|
+
| [M < ::Temporalio::Api::Common::V1::RetryPolicy::_ToProto] (:retry_policy, M?) -> M?
|
795
|
+
| (:cron_schedule, ::String) -> ::String
|
796
|
+
| (:memo, ::Temporalio::Api::Common::V1::Memo?) -> ::Temporalio::Api::Common::V1::Memo?
|
797
|
+
| [M < ::Temporalio::Api::Common::V1::Memo::_ToProto] (:memo, M?) -> M?
|
798
|
+
| (:search_attributes, ::Temporalio::Api::Common::V1::SearchAttributes?) -> ::Temporalio::Api::Common::V1::SearchAttributes?
|
799
|
+
| [M < ::Temporalio::Api::Common::V1::SearchAttributes::_ToProto] (:search_attributes, M?) -> M?
|
800
|
+
| (:header, ::Temporalio::Api::Common::V1::Header?) -> ::Temporalio::Api::Common::V1::Header?
|
801
|
+
| [M < ::Temporalio::Api::Common::V1::Header::_ToProto] (:header, M?) -> M?
|
802
|
+
| (::Symbol, untyped) -> untyped
|
803
|
+
|
804
|
+
interface _ToProto
|
805
|
+
def to_proto: () -> NewWorkflowExecutionInfo
|
806
|
+
end
|
807
|
+
|
808
|
+
# The type of `#initialize` parameter.
|
809
|
+
type init = NewWorkflowExecutionInfo | _ToProto
|
810
|
+
|
811
|
+
# The type of `repeated` field.
|
812
|
+
type field_array = ::Protobuf::Field::FieldArray[NewWorkflowExecutionInfo, NewWorkflowExecutionInfo | _ToProto]
|
813
|
+
|
814
|
+
# The type of `map` field.
|
815
|
+
type field_hash[KEY] = ::Protobuf::Field::FieldHash[KEY, NewWorkflowExecutionInfo, NewWorkflowExecutionInfo | _ToProto]
|
816
|
+
|
817
|
+
type array = ::Array[NewWorkflowExecutionInfo | _ToProto]
|
818
|
+
|
819
|
+
type hash[KEY] = ::Hash[KEY, NewWorkflowExecutionInfo | _ToProto]
|
820
|
+
end
|
821
|
+
end
|
822
|
+
end
|
823
|
+
end
|
824
|
+
end
|