temporal-flowrensic-python-sdk 0.6.63__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. temporal_flowrensic/__init__.py +2 -0
  2. temporal_flowrensic/_calls.py +185 -0
  3. temporal_flowrensic/_ci.py +56 -0
  4. temporal_flowrensic/_deploy.py +65 -0
  5. temporal_flowrensic/_gen/flowrensic/v1/activity_metrics_pb2.py +76 -0
  6. temporal_flowrensic/_gen/flowrensic/v1/activity_metrics_pb2.pyi +301 -0
  7. temporal_flowrensic/_gen/flowrensic/v1/catalog_pb2.py +60 -0
  8. temporal_flowrensic/_gen/flowrensic/v1/catalog_pb2.pyi +127 -0
  9. temporal_flowrensic/_gen/flowrensic/v1/catch_up_pb2.py +42 -0
  10. temporal_flowrensic/_gen/flowrensic/v1/catch_up_pb2.pyi +71 -0
  11. temporal_flowrensic/_gen/flowrensic/v1/client_calls_pb2.py +49 -0
  12. temporal_flowrensic/_gen/flowrensic/v1/client_calls_pb2.pyi +90 -0
  13. temporal_flowrensic/_gen/flowrensic/v1/cost_pb2.py +52 -0
  14. temporal_flowrensic/_gen/flowrensic/v1/cost_pb2.pyi +107 -0
  15. temporal_flowrensic/_gen/flowrensic/v1/deploy_pb2.py +51 -0
  16. temporal_flowrensic/_gen/flowrensic/v1/deploy_pb2.pyi +92 -0
  17. temporal_flowrensic/_gen/flowrensic/v1/ephemeral_run_pb2.py +107 -0
  18. temporal_flowrensic/_gen/flowrensic/v1/ephemeral_run_pb2.pyi +344 -0
  19. temporal_flowrensic/_gen/flowrensic/v1/finding_pb2.py +76 -0
  20. temporal_flowrensic/_gen/flowrensic/v1/finding_pb2.pyi +371 -0
  21. temporal_flowrensic/_gen/flowrensic/v1/job_pb2.py +46 -0
  22. temporal_flowrensic/_gen/flowrensic/v1/job_pb2.pyi +51 -0
  23. temporal_flowrensic/_gen/flowrensic/v1/load_pb2.py +51 -0
  24. temporal_flowrensic/_gen/flowrensic/v1/load_pb2.pyi +118 -0
  25. temporal_flowrensic/_gen/flowrensic/v1/page_pb2.py +38 -0
  26. temporal_flowrensic/_gen/flowrensic/v1/page_pb2.pyi +23 -0
  27. temporal_flowrensic/_gen/flowrensic/v1/remediation_pb2.py +60 -0
  28. temporal_flowrensic/_gen/flowrensic/v1/remediation_pb2.pyi +157 -0
  29. temporal_flowrensic/_gen/flowrensic/v1/replay_pb2.py +84 -0
  30. temporal_flowrensic/_gen/flowrensic/v1/replay_pb2.pyi +309 -0
  31. temporal_flowrensic/_gen/flowrensic/v1/server_config_pb2.py +48 -0
  32. temporal_flowrensic/_gen/flowrensic/v1/server_config_pb2.pyi +97 -0
  33. temporal_flowrensic/_gen/flowrensic/v1/services_connect.py +3621 -0
  34. temporal_flowrensic/_gen/flowrensic/v1/services_pb2.py +60 -0
  35. temporal_flowrensic/_gen/flowrensic/v1/services_pb2.pyi +20 -0
  36. temporal_flowrensic/_gen/flowrensic/v1/stored_data_pb2.py +43 -0
  37. temporal_flowrensic/_gen/flowrensic/v1/stored_data_pb2.pyi +50 -0
  38. temporal_flowrensic/_gen/flowrensic/v1/workflow_history_pb2.py +47 -0
  39. temporal_flowrensic/_gen/flowrensic/v1/workflow_history_pb2.pyi +102 -0
  40. temporal_flowrensic/_gen/flowrensic/v1/workflow_types_pb2.py +55 -0
  41. temporal_flowrensic/_gen/flowrensic/v1/workflow_types_pb2.pyi +197 -0
  42. temporal_flowrensic/_names.py +42 -0
  43. temporal_flowrensic/_queries.py +61 -0
  44. temporal_flowrensic/_replay.py +378 -0
  45. temporal_flowrensic/_sink.py +574 -0
  46. temporal_flowrensic/_telemetry.py +559 -0
  47. temporal_flowrensic/activity.py +136 -0
  48. temporal_flowrensic/client.py +166 -0
  49. temporal_flowrensic/py.typed +0 -0
  50. temporal_flowrensic/workflow.py +103 -0
  51. temporal_flowrensic_python_sdk-0.6.63.dist-info/METADATA +74 -0
  52. temporal_flowrensic_python_sdk-0.6.63.dist-info/RECORD +54 -0
  53. temporal_flowrensic_python_sdk-0.6.63.dist-info/WHEEL +4 -0
  54. temporal_flowrensic_python_sdk-0.6.63.dist-info/licenses/LICENSE +202 -0
@@ -0,0 +1,301 @@
1
+ import datetime
2
+
3
+ from temporal_flowrensic._gen.flowrensic.v1 import page_pb2 as _page_pb2
4
+ from google.protobuf import timestamp_pb2 as _timestamp_pb2
5
+ from google.protobuf.internal import containers as _containers
6
+ from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
7
+ from google.protobuf import descriptor as _descriptor
8
+ from google.protobuf import message as _message
9
+ from collections.abc import Iterable as _Iterable, Mapping as _Mapping
10
+ from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
11
+
12
+ DESCRIPTOR: _descriptor.FileDescriptor
13
+
14
+ class Outcome(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
15
+ __slots__ = ()
16
+ OUTCOME_UNSPECIFIED: _ClassVar[Outcome]
17
+ OUTCOME_COMPLETED: _ClassVar[Outcome]
18
+ OUTCOME_FAILED: _ClassVar[Outcome]
19
+ OUTCOME_TIMED_OUT: _ClassVar[Outcome]
20
+ OUTCOME_CANCELED: _ClassVar[Outcome]
21
+ OUTCOME_UNSPECIFIED: Outcome
22
+ OUTCOME_COMPLETED: Outcome
23
+ OUTCOME_FAILED: Outcome
24
+ OUTCOME_TIMED_OUT: Outcome
25
+ OUTCOME_CANCELED: Outcome
26
+
27
+ class ActivityAttempt(_message.Message):
28
+ __slots__ = ("namespace", "workflow_type", "workflow_execution_id", "run_key", "activity_type", "activity_id", "attempt", "task_queue", "outcome", "error_type", "started_at", "ended_at", "duration_ms", "env", "ephemeral_run", "version", "start_to_close_timeout_ms", "maximum_attempts", "heartbeat_timeout_ms", "scheduled_at")
29
+ NAMESPACE_FIELD_NUMBER: _ClassVar[int]
30
+ WORKFLOW_TYPE_FIELD_NUMBER: _ClassVar[int]
31
+ WORKFLOW_EXECUTION_ID_FIELD_NUMBER: _ClassVar[int]
32
+ RUN_KEY_FIELD_NUMBER: _ClassVar[int]
33
+ ACTIVITY_TYPE_FIELD_NUMBER: _ClassVar[int]
34
+ ACTIVITY_ID_FIELD_NUMBER: _ClassVar[int]
35
+ ATTEMPT_FIELD_NUMBER: _ClassVar[int]
36
+ TASK_QUEUE_FIELD_NUMBER: _ClassVar[int]
37
+ OUTCOME_FIELD_NUMBER: _ClassVar[int]
38
+ ERROR_TYPE_FIELD_NUMBER: _ClassVar[int]
39
+ STARTED_AT_FIELD_NUMBER: _ClassVar[int]
40
+ ENDED_AT_FIELD_NUMBER: _ClassVar[int]
41
+ DURATION_MS_FIELD_NUMBER: _ClassVar[int]
42
+ ENV_FIELD_NUMBER: _ClassVar[int]
43
+ EPHEMERAL_RUN_FIELD_NUMBER: _ClassVar[int]
44
+ VERSION_FIELD_NUMBER: _ClassVar[int]
45
+ START_TO_CLOSE_TIMEOUT_MS_FIELD_NUMBER: _ClassVar[int]
46
+ MAXIMUM_ATTEMPTS_FIELD_NUMBER: _ClassVar[int]
47
+ HEARTBEAT_TIMEOUT_MS_FIELD_NUMBER: _ClassVar[int]
48
+ SCHEDULED_AT_FIELD_NUMBER: _ClassVar[int]
49
+ namespace: str
50
+ workflow_type: str
51
+ workflow_execution_id: str
52
+ run_key: str
53
+ activity_type: str
54
+ activity_id: str
55
+ attempt: int
56
+ task_queue: str
57
+ outcome: Outcome
58
+ error_type: str
59
+ started_at: _timestamp_pb2.Timestamp
60
+ ended_at: _timestamp_pb2.Timestamp
61
+ duration_ms: int
62
+ env: str
63
+ ephemeral_run: str
64
+ version: str
65
+ start_to_close_timeout_ms: int
66
+ maximum_attempts: int
67
+ heartbeat_timeout_ms: int
68
+ scheduled_at: _timestamp_pb2.Timestamp
69
+ def __init__(self, namespace: _Optional[str] = ..., workflow_type: _Optional[str] = ..., workflow_execution_id: _Optional[str] = ..., run_key: _Optional[str] = ..., activity_type: _Optional[str] = ..., activity_id: _Optional[str] = ..., attempt: _Optional[int] = ..., task_queue: _Optional[str] = ..., outcome: _Optional[_Union[Outcome, str]] = ..., error_type: _Optional[str] = ..., started_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., ended_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., duration_ms: _Optional[int] = ..., env: _Optional[str] = ..., ephemeral_run: _Optional[str] = ..., version: _Optional[str] = ..., start_to_close_timeout_ms: _Optional[int] = ..., maximum_attempts: _Optional[int] = ..., heartbeat_timeout_ms: _Optional[int] = ..., scheduled_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
70
+
71
+ class ActivityStats(_message.Message):
72
+ __slots__ = ("namespace_id", "env", "workflow_type", "activity_type", "start_to_close_timeout_ms", "maximum_attempts", "executions", "attempts", "retries", "completed", "failed", "timed_out", "canceled", "error_types", "p50_ms", "p95_ms", "p99_ms", "max_ms", "first_seen", "last_seen")
73
+ class ErrorTypesEntry(_message.Message):
74
+ __slots__ = ("key", "value")
75
+ KEY_FIELD_NUMBER: _ClassVar[int]
76
+ VALUE_FIELD_NUMBER: _ClassVar[int]
77
+ key: str
78
+ value: int
79
+ def __init__(self, key: _Optional[str] = ..., value: _Optional[int] = ...) -> None: ...
80
+ NAMESPACE_ID_FIELD_NUMBER: _ClassVar[int]
81
+ ENV_FIELD_NUMBER: _ClassVar[int]
82
+ WORKFLOW_TYPE_FIELD_NUMBER: _ClassVar[int]
83
+ ACTIVITY_TYPE_FIELD_NUMBER: _ClassVar[int]
84
+ START_TO_CLOSE_TIMEOUT_MS_FIELD_NUMBER: _ClassVar[int]
85
+ MAXIMUM_ATTEMPTS_FIELD_NUMBER: _ClassVar[int]
86
+ EXECUTIONS_FIELD_NUMBER: _ClassVar[int]
87
+ ATTEMPTS_FIELD_NUMBER: _ClassVar[int]
88
+ RETRIES_FIELD_NUMBER: _ClassVar[int]
89
+ COMPLETED_FIELD_NUMBER: _ClassVar[int]
90
+ FAILED_FIELD_NUMBER: _ClassVar[int]
91
+ TIMED_OUT_FIELD_NUMBER: _ClassVar[int]
92
+ CANCELED_FIELD_NUMBER: _ClassVar[int]
93
+ ERROR_TYPES_FIELD_NUMBER: _ClassVar[int]
94
+ P50_MS_FIELD_NUMBER: _ClassVar[int]
95
+ P95_MS_FIELD_NUMBER: _ClassVar[int]
96
+ P99_MS_FIELD_NUMBER: _ClassVar[int]
97
+ MAX_MS_FIELD_NUMBER: _ClassVar[int]
98
+ FIRST_SEEN_FIELD_NUMBER: _ClassVar[int]
99
+ LAST_SEEN_FIELD_NUMBER: _ClassVar[int]
100
+ namespace_id: str
101
+ env: str
102
+ workflow_type: str
103
+ activity_type: str
104
+ start_to_close_timeout_ms: int
105
+ maximum_attempts: int
106
+ executions: int
107
+ attempts: int
108
+ retries: int
109
+ completed: int
110
+ failed: int
111
+ timed_out: int
112
+ canceled: int
113
+ error_types: _containers.ScalarMap[str, int]
114
+ p50_ms: int
115
+ p95_ms: int
116
+ p99_ms: int
117
+ max_ms: int
118
+ first_seen: _timestamp_pb2.Timestamp
119
+ last_seen: _timestamp_pb2.Timestamp
120
+ def __init__(self, namespace_id: _Optional[str] = ..., env: _Optional[str] = ..., workflow_type: _Optional[str] = ..., activity_type: _Optional[str] = ..., start_to_close_timeout_ms: _Optional[int] = ..., maximum_attempts: _Optional[int] = ..., executions: _Optional[int] = ..., attempts: _Optional[int] = ..., retries: _Optional[int] = ..., completed: _Optional[int] = ..., failed: _Optional[int] = ..., timed_out: _Optional[int] = ..., canceled: _Optional[int] = ..., error_types: _Optional[_Mapping[str, int]] = ..., p50_ms: _Optional[int] = ..., p95_ms: _Optional[int] = ..., p99_ms: _Optional[int] = ..., max_ms: _Optional[int] = ..., first_seen: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., last_seen: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
121
+
122
+ class IngestActivityEventsRequest(_message.Message):
123
+ __slots__ = ("events", "worker_id", "reports", "sender", "send_number", "worker_name")
124
+ EVENTS_FIELD_NUMBER: _ClassVar[int]
125
+ WORKER_ID_FIELD_NUMBER: _ClassVar[int]
126
+ REPORTS_FIELD_NUMBER: _ClassVar[int]
127
+ SENDER_FIELD_NUMBER: _ClassVar[int]
128
+ SEND_NUMBER_FIELD_NUMBER: _ClassVar[int]
129
+ WORKER_NAME_FIELD_NUMBER: _ClassVar[int]
130
+ events: _containers.RepeatedCompositeFieldContainer[ActivityAttempt]
131
+ worker_id: str
132
+ reports: _containers.RepeatedCompositeFieldContainer[WorkerBufferReport]
133
+ sender: str
134
+ send_number: int
135
+ worker_name: str
136
+ def __init__(self, events: _Optional[_Iterable[_Union[ActivityAttempt, _Mapping]]] = ..., worker_id: _Optional[str] = ..., reports: _Optional[_Iterable[_Union[WorkerBufferReport, _Mapping]]] = ..., sender: _Optional[str] = ..., send_number: _Optional[int] = ..., worker_name: _Optional[str] = ...) -> None: ...
137
+
138
+ class WorkerBufferReport(_message.Message):
139
+ __slots__ = ("env", "records_dropped", "sends_timed_out", "records_waiting")
140
+ ENV_FIELD_NUMBER: _ClassVar[int]
141
+ RECORDS_DROPPED_FIELD_NUMBER: _ClassVar[int]
142
+ SENDS_TIMED_OUT_FIELD_NUMBER: _ClassVar[int]
143
+ RECORDS_WAITING_FIELD_NUMBER: _ClassVar[int]
144
+ env: str
145
+ records_dropped: int
146
+ sends_timed_out: int
147
+ records_waiting: int
148
+ def __init__(self, env: _Optional[str] = ..., records_dropped: _Optional[int] = ..., sends_timed_out: _Optional[int] = ..., records_waiting: _Optional[int] = ...) -> None: ...
149
+
150
+ class IngestActivityEventsResponse(_message.Message):
151
+ __slots__ = ("accepted",)
152
+ ACCEPTED_FIELD_NUMBER: _ClassVar[int]
153
+ accepted: int
154
+ def __init__(self, accepted: _Optional[int] = ...) -> None: ...
155
+
156
+ class WorkflowRun(_message.Message):
157
+ __slots__ = ("workflow_execution_id", "run_key", "workflow_type", "namespace_id", "env", "activities", "attempts", "retries", "failed", "started_at", "last_seen", "ephemeral_run", "deploy_id", "deploy_stage", "version", "history_length", "updates_accepted", "updates_refused", "consecutive_refusals")
158
+ WORKFLOW_EXECUTION_ID_FIELD_NUMBER: _ClassVar[int]
159
+ RUN_KEY_FIELD_NUMBER: _ClassVar[int]
160
+ WORKFLOW_TYPE_FIELD_NUMBER: _ClassVar[int]
161
+ NAMESPACE_ID_FIELD_NUMBER: _ClassVar[int]
162
+ ENV_FIELD_NUMBER: _ClassVar[int]
163
+ ACTIVITIES_FIELD_NUMBER: _ClassVar[int]
164
+ ATTEMPTS_FIELD_NUMBER: _ClassVar[int]
165
+ RETRIES_FIELD_NUMBER: _ClassVar[int]
166
+ FAILED_FIELD_NUMBER: _ClassVar[int]
167
+ STARTED_AT_FIELD_NUMBER: _ClassVar[int]
168
+ LAST_SEEN_FIELD_NUMBER: _ClassVar[int]
169
+ EPHEMERAL_RUN_FIELD_NUMBER: _ClassVar[int]
170
+ DEPLOY_ID_FIELD_NUMBER: _ClassVar[int]
171
+ DEPLOY_STAGE_FIELD_NUMBER: _ClassVar[int]
172
+ VERSION_FIELD_NUMBER: _ClassVar[int]
173
+ HISTORY_LENGTH_FIELD_NUMBER: _ClassVar[int]
174
+ UPDATES_ACCEPTED_FIELD_NUMBER: _ClassVar[int]
175
+ UPDATES_REFUSED_FIELD_NUMBER: _ClassVar[int]
176
+ CONSECUTIVE_REFUSALS_FIELD_NUMBER: _ClassVar[int]
177
+ workflow_execution_id: str
178
+ run_key: str
179
+ workflow_type: str
180
+ namespace_id: str
181
+ env: str
182
+ activities: int
183
+ attempts: int
184
+ retries: int
185
+ failed: int
186
+ started_at: _timestamp_pb2.Timestamp
187
+ last_seen: _timestamp_pb2.Timestamp
188
+ ephemeral_run: str
189
+ deploy_id: str
190
+ deploy_stage: str
191
+ version: str
192
+ history_length: int
193
+ updates_accepted: int
194
+ updates_refused: int
195
+ consecutive_refusals: int
196
+ def __init__(self, workflow_execution_id: _Optional[str] = ..., run_key: _Optional[str] = ..., workflow_type: _Optional[str] = ..., namespace_id: _Optional[str] = ..., env: _Optional[str] = ..., activities: _Optional[int] = ..., attempts: _Optional[int] = ..., retries: _Optional[int] = ..., failed: _Optional[int] = ..., started_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., last_seen: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., ephemeral_run: _Optional[str] = ..., deploy_id: _Optional[str] = ..., deploy_stage: _Optional[str] = ..., version: _Optional[str] = ..., history_length: _Optional[int] = ..., updates_accepted: _Optional[int] = ..., updates_refused: _Optional[int] = ..., consecutive_refusals: _Optional[int] = ...) -> None: ...
197
+
198
+ class ListRunsRequest(_message.Message):
199
+ __slots__ = ("namespace_ids", "env", "workflow_type", "page")
200
+ NAMESPACE_IDS_FIELD_NUMBER: _ClassVar[int]
201
+ ENV_FIELD_NUMBER: _ClassVar[int]
202
+ WORKFLOW_TYPE_FIELD_NUMBER: _ClassVar[int]
203
+ PAGE_FIELD_NUMBER: _ClassVar[int]
204
+ namespace_ids: _containers.RepeatedScalarFieldContainer[str]
205
+ env: str
206
+ workflow_type: str
207
+ page: _page_pb2.PageRequest
208
+ def __init__(self, namespace_ids: _Optional[_Iterable[str]] = ..., env: _Optional[str] = ..., workflow_type: _Optional[str] = ..., page: _Optional[_Union[_page_pb2.PageRequest, _Mapping]] = ...) -> None: ...
209
+
210
+ class ListRunsResponse(_message.Message):
211
+ __slots__ = ("runs", "page")
212
+ RUNS_FIELD_NUMBER: _ClassVar[int]
213
+ PAGE_FIELD_NUMBER: _ClassVar[int]
214
+ runs: _containers.RepeatedCompositeFieldContainer[WorkflowRun]
215
+ page: _page_pb2.PageResponse
216
+ def __init__(self, runs: _Optional[_Iterable[_Union[WorkflowRun, _Mapping]]] = ..., page: _Optional[_Union[_page_pb2.PageResponse, _Mapping]] = ...) -> None: ...
217
+
218
+ class EngineMetric(_message.Message):
219
+ __slots__ = ("server_id", "env", "name", "labels", "value", "scraped_at", "metric_type")
220
+ class LabelsEntry(_message.Message):
221
+ __slots__ = ("key", "value")
222
+ KEY_FIELD_NUMBER: _ClassVar[int]
223
+ VALUE_FIELD_NUMBER: _ClassVar[int]
224
+ key: str
225
+ value: str
226
+ def __init__(self, key: _Optional[str] = ..., value: _Optional[str] = ...) -> None: ...
227
+ SERVER_ID_FIELD_NUMBER: _ClassVar[int]
228
+ ENV_FIELD_NUMBER: _ClassVar[int]
229
+ NAME_FIELD_NUMBER: _ClassVar[int]
230
+ LABELS_FIELD_NUMBER: _ClassVar[int]
231
+ VALUE_FIELD_NUMBER: _ClassVar[int]
232
+ SCRAPED_AT_FIELD_NUMBER: _ClassVar[int]
233
+ METRIC_TYPE_FIELD_NUMBER: _ClassVar[int]
234
+ server_id: str
235
+ env: str
236
+ name: str
237
+ labels: _containers.ScalarMap[str, str]
238
+ value: float
239
+ scraped_at: _timestamp_pb2.Timestamp
240
+ metric_type: str
241
+ def __init__(self, server_id: _Optional[str] = ..., env: _Optional[str] = ..., name: _Optional[str] = ..., labels: _Optional[_Mapping[str, str]] = ..., value: _Optional[float] = ..., scraped_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., metric_type: _Optional[str] = ...) -> None: ...
242
+
243
+ class EngineMetricsRequest(_message.Message):
244
+ __slots__ = ("server_ids", "name_prefix", "page")
245
+ SERVER_IDS_FIELD_NUMBER: _ClassVar[int]
246
+ NAME_PREFIX_FIELD_NUMBER: _ClassVar[int]
247
+ PAGE_FIELD_NUMBER: _ClassVar[int]
248
+ server_ids: _containers.RepeatedScalarFieldContainer[str]
249
+ name_prefix: str
250
+ page: _page_pb2.PageRequest
251
+ def __init__(self, server_ids: _Optional[_Iterable[str]] = ..., name_prefix: _Optional[str] = ..., page: _Optional[_Union[_page_pb2.PageRequest, _Mapping]] = ...) -> None: ...
252
+
253
+ class EngineMetricsResponse(_message.Message):
254
+ __slots__ = ("metrics", "page")
255
+ METRICS_FIELD_NUMBER: _ClassVar[int]
256
+ PAGE_FIELD_NUMBER: _ClassVar[int]
257
+ metrics: _containers.RepeatedCompositeFieldContainer[EngineMetric]
258
+ page: _page_pb2.PageResponse
259
+ def __init__(self, metrics: _Optional[_Iterable[_Union[EngineMetric, _Mapping]]] = ..., page: _Optional[_Union[_page_pb2.PageResponse, _Mapping]] = ...) -> None: ...
260
+
261
+ class UpdateRejectionsRequest(_message.Message):
262
+ __slots__ = ("namespace_id",)
263
+ NAMESPACE_ID_FIELD_NUMBER: _ClassVar[int]
264
+ namespace_id: str
265
+ def __init__(self, namespace_id: _Optional[str] = ...) -> None: ...
266
+
267
+ class UpdateRejectionsResponse(_message.Message):
268
+ __slots__ = ("namespace_id", "rejections", "scraped_at")
269
+ NAMESPACE_ID_FIELD_NUMBER: _ClassVar[int]
270
+ REJECTIONS_FIELD_NUMBER: _ClassVar[int]
271
+ SCRAPED_AT_FIELD_NUMBER: _ClassVar[int]
272
+ namespace_id: str
273
+ rejections: float
274
+ scraped_at: _timestamp_pb2.Timestamp
275
+ def __init__(self, namespace_id: _Optional[str] = ..., rejections: _Optional[float] = ..., scraped_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
276
+
277
+ class ActivityStatsRequest(_message.Message):
278
+ __slots__ = ("namespace_ids", "env", "workflow_type", "activity_type", "since", "until", "page")
279
+ NAMESPACE_IDS_FIELD_NUMBER: _ClassVar[int]
280
+ ENV_FIELD_NUMBER: _ClassVar[int]
281
+ WORKFLOW_TYPE_FIELD_NUMBER: _ClassVar[int]
282
+ ACTIVITY_TYPE_FIELD_NUMBER: _ClassVar[int]
283
+ SINCE_FIELD_NUMBER: _ClassVar[int]
284
+ UNTIL_FIELD_NUMBER: _ClassVar[int]
285
+ PAGE_FIELD_NUMBER: _ClassVar[int]
286
+ namespace_ids: _containers.RepeatedScalarFieldContainer[str]
287
+ env: str
288
+ workflow_type: str
289
+ activity_type: str
290
+ since: _timestamp_pb2.Timestamp
291
+ until: _timestamp_pb2.Timestamp
292
+ page: _page_pb2.PageRequest
293
+ def __init__(self, namespace_ids: _Optional[_Iterable[str]] = ..., env: _Optional[str] = ..., workflow_type: _Optional[str] = ..., activity_type: _Optional[str] = ..., since: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., until: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., page: _Optional[_Union[_page_pb2.PageRequest, _Mapping]] = ...) -> None: ...
294
+
295
+ class ActivityStatsResponse(_message.Message):
296
+ __slots__ = ("stats", "page")
297
+ STATS_FIELD_NUMBER: _ClassVar[int]
298
+ PAGE_FIELD_NUMBER: _ClassVar[int]
299
+ stats: _containers.RepeatedCompositeFieldContainer[ActivityStats]
300
+ page: _page_pb2.PageResponse
301
+ def __init__(self, stats: _Optional[_Iterable[_Union[ActivityStats, _Mapping]]] = ..., page: _Optional[_Union[_page_pb2.PageResponse, _Mapping]] = ...) -> None: ...
@@ -0,0 +1,60 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: flowrensic/v1/catalog.proto
5
+ # Protobuf Python Version: 6.31.1
6
+ """Generated protocol buffer code."""
7
+ from google.protobuf import descriptor as _descriptor
8
+ from google.protobuf import descriptor_pool as _descriptor_pool
9
+ from google.protobuf import runtime_version as _runtime_version
10
+ from google.protobuf import symbol_database as _symbol_database
11
+ from google.protobuf.internal import builder as _builder
12
+ _runtime_version.ValidateProtobufRuntimeVersion(
13
+ _runtime_version.Domain.PUBLIC,
14
+ 6,
15
+ 31,
16
+ 1,
17
+ '',
18
+ 'flowrensic/v1/catalog.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+ from temporal_flowrensic._gen.flowrensic.v1 import page_pb2 as flowrensic_dot_v1_dot_page__pb2
26
+ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
27
+
28
+
29
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1b\x66lowrensic/v1/catalog.proto\x12\rflowrensic.v1\x1a\x18\x66lowrensic/v1/page.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x94\x01\n\x03\x45nv\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x39\n\ncreated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12\x12\n\x04kind\x18\x04 \x01(\tR\x04kind\x12\x1a\n\x08required\x18\x05 \x01(\x08R\x08required\"\xef\x01\n\x06Server\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x15\n\x06\x65nv_id\x18\x02 \x01(\tR\x05\x65nvId\x12\x10\n\x03\x65nv\x18\x03 \x01(\tR\x03\x65nv\x12\x1a\n\x08\x65ndpoint\x18\x04 \x01(\tR\x08\x65ndpoint\x12)\n\x10metrics_endpoint\x18\x05 \x01(\tR\x0fmetricsEndpoint\x12\x39\n\ncreated_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12*\n\x11metrics_last_read\x18\x07 \x01(\tR\x0fmetricsLastRead\"\xb5\x01\n\tNamespace\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x1b\n\tserver_id\x18\x02 \x01(\tR\x08serverId\x12\x12\n\x04name\x18\x03 \x01(\tR\x04name\x12\x1a\n\x08\x65ndpoint\x18\x04 \x01(\tR\x08\x65ndpoint\x12\x10\n\x03\x65nv\x18\x05 \x01(\tR\x03\x65nv\x12\x39\n\ncreated_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\"\x91\x01\n\x18RegisterNamespaceRequest\x12\x10\n\x03\x65nv\x18\x01 \x01(\tR\x03\x65nv\x12\x1a\n\x08\x65ndpoint\x18\x02 \x01(\tR\x08\x65ndpoint\x12\x1c\n\tnamespace\x18\x03 \x01(\tR\tnamespace\x12)\n\x10metrics_endpoint\x18\x04 \x01(\tR\x0fmetricsEndpoint\"S\n\x19RegisterNamespaceResponse\x12\x36\n\tnamespace\x18\x01 \x01(\x0b\x32\x18.flowrensic.v1.NamespaceR\tnamespace\"A\n\x0fListEnvsRequest\x12.\n\x04page\x18\x01 \x01(\x0b\x32\x1a.flowrensic.v1.PageRequestR\x04page\"k\n\x10ListEnvsResponse\x12&\n\x04\x65nvs\x18\x01 \x03(\x0b\x32\x12.flowrensic.v1.EnvR\x04\x65nvs\x12/\n\x04page\x18\x02 \x01(\x0b\x32\x1b.flowrensic.v1.PageResponseR\x04page\"D\n\x12ListServersRequest\x12.\n\x04page\x18\x01 \x01(\x0b\x32\x1a.flowrensic.v1.PageRequestR\x04page\"w\n\x13ListServersResponse\x12/\n\x07servers\x18\x01 \x03(\x0b\x32\x15.flowrensic.v1.ServerR\x07servers\x12/\n\x04page\x18\x02 \x01(\x0b\x32\x1b.flowrensic.v1.PageResponseR\x04page\"G\n\x15ListNamespacesRequest\x12.\n\x04page\x18\x01 \x01(\x0b\x32\x1a.flowrensic.v1.PageRequestR\x04page\"\x83\x01\n\x16ListNamespacesResponse\x12\x38\n\nnamespaces\x18\x01 \x03(\x0b\x32\x18.flowrensic.v1.NamespaceR\nnamespaces\x12/\n\x04page\x18\x02 \x01(\x0b\x32\x1b.flowrensic.v1.PageResponseR\x04page*\xa3\x01\n\x06\x45ngine\x12\x16\n\x12\x45NGINE_UNSPECIFIED\x10\x00\x12\x13\n\x0f\x45NGINE_TEMPORAL\x10\x01\"\x04\x08\x02\x10\x07*\x0e\x45NGINE_CADENCE*\x0e\x45NGINE_RESTATE*\x0b\x45NGINE_DBOS*\x0e\x45NGINE_INNGEST*\x12\x45NGINE_TRIGGER_DEV*\x15\x45NGINE_STEP_FUNCTIONSb\x06proto3')
30
+
31
+ _globals = globals()
32
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
33
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'flowrensic.v1.catalog_pb2', _globals)
34
+ if not _descriptor._USE_C_DESCRIPTORS:
35
+ DESCRIPTOR._loaded_options = None
36
+ _globals['_ENGINE']._serialized_start=1490
37
+ _globals['_ENGINE']._serialized_end=1653
38
+ _globals['_ENV']._serialized_start=106
39
+ _globals['_ENV']._serialized_end=254
40
+ _globals['_SERVER']._serialized_start=257
41
+ _globals['_SERVER']._serialized_end=496
42
+ _globals['_NAMESPACE']._serialized_start=499
43
+ _globals['_NAMESPACE']._serialized_end=680
44
+ _globals['_REGISTERNAMESPACEREQUEST']._serialized_start=683
45
+ _globals['_REGISTERNAMESPACEREQUEST']._serialized_end=828
46
+ _globals['_REGISTERNAMESPACERESPONSE']._serialized_start=830
47
+ _globals['_REGISTERNAMESPACERESPONSE']._serialized_end=913
48
+ _globals['_LISTENVSREQUEST']._serialized_start=915
49
+ _globals['_LISTENVSREQUEST']._serialized_end=980
50
+ _globals['_LISTENVSRESPONSE']._serialized_start=982
51
+ _globals['_LISTENVSRESPONSE']._serialized_end=1089
52
+ _globals['_LISTSERVERSREQUEST']._serialized_start=1091
53
+ _globals['_LISTSERVERSREQUEST']._serialized_end=1159
54
+ _globals['_LISTSERVERSRESPONSE']._serialized_start=1161
55
+ _globals['_LISTSERVERSRESPONSE']._serialized_end=1280
56
+ _globals['_LISTNAMESPACESREQUEST']._serialized_start=1282
57
+ _globals['_LISTNAMESPACESREQUEST']._serialized_end=1353
58
+ _globals['_LISTNAMESPACESRESPONSE']._serialized_start=1356
59
+ _globals['_LISTNAMESPACESRESPONSE']._serialized_end=1487
60
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,127 @@
1
+ import datetime
2
+
3
+ from temporal_flowrensic._gen.flowrensic.v1 import page_pb2 as _page_pb2
4
+ from google.protobuf import timestamp_pb2 as _timestamp_pb2
5
+ from google.protobuf.internal import containers as _containers
6
+ from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
7
+ from google.protobuf import descriptor as _descriptor
8
+ from google.protobuf import message as _message
9
+ from collections.abc import Iterable as _Iterable, Mapping as _Mapping
10
+ from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
11
+
12
+ DESCRIPTOR: _descriptor.FileDescriptor
13
+
14
+ class Engine(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
15
+ __slots__ = ()
16
+ ENGINE_UNSPECIFIED: _ClassVar[Engine]
17
+ ENGINE_TEMPORAL: _ClassVar[Engine]
18
+ ENGINE_UNSPECIFIED: Engine
19
+ ENGINE_TEMPORAL: Engine
20
+
21
+ class Env(_message.Message):
22
+ __slots__ = ("id", "name", "created_at", "kind", "required")
23
+ ID_FIELD_NUMBER: _ClassVar[int]
24
+ NAME_FIELD_NUMBER: _ClassVar[int]
25
+ CREATED_AT_FIELD_NUMBER: _ClassVar[int]
26
+ KIND_FIELD_NUMBER: _ClassVar[int]
27
+ REQUIRED_FIELD_NUMBER: _ClassVar[int]
28
+ id: str
29
+ name: str
30
+ created_at: _timestamp_pb2.Timestamp
31
+ kind: str
32
+ required: bool
33
+ def __init__(self, id: _Optional[str] = ..., name: _Optional[str] = ..., created_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., kind: _Optional[str] = ..., required: bool = ...) -> None: ...
34
+
35
+ class Server(_message.Message):
36
+ __slots__ = ("id", "env_id", "env", "endpoint", "metrics_endpoint", "created_at", "metrics_last_read")
37
+ ID_FIELD_NUMBER: _ClassVar[int]
38
+ ENV_ID_FIELD_NUMBER: _ClassVar[int]
39
+ ENV_FIELD_NUMBER: _ClassVar[int]
40
+ ENDPOINT_FIELD_NUMBER: _ClassVar[int]
41
+ METRICS_ENDPOINT_FIELD_NUMBER: _ClassVar[int]
42
+ CREATED_AT_FIELD_NUMBER: _ClassVar[int]
43
+ METRICS_LAST_READ_FIELD_NUMBER: _ClassVar[int]
44
+ id: str
45
+ env_id: str
46
+ env: str
47
+ endpoint: str
48
+ metrics_endpoint: str
49
+ created_at: _timestamp_pb2.Timestamp
50
+ metrics_last_read: str
51
+ def __init__(self, id: _Optional[str] = ..., env_id: _Optional[str] = ..., env: _Optional[str] = ..., endpoint: _Optional[str] = ..., metrics_endpoint: _Optional[str] = ..., created_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., metrics_last_read: _Optional[str] = ...) -> None: ...
52
+
53
+ class Namespace(_message.Message):
54
+ __slots__ = ("id", "server_id", "name", "endpoint", "env", "created_at")
55
+ ID_FIELD_NUMBER: _ClassVar[int]
56
+ SERVER_ID_FIELD_NUMBER: _ClassVar[int]
57
+ NAME_FIELD_NUMBER: _ClassVar[int]
58
+ ENDPOINT_FIELD_NUMBER: _ClassVar[int]
59
+ ENV_FIELD_NUMBER: _ClassVar[int]
60
+ CREATED_AT_FIELD_NUMBER: _ClassVar[int]
61
+ id: str
62
+ server_id: str
63
+ name: str
64
+ endpoint: str
65
+ env: str
66
+ created_at: _timestamp_pb2.Timestamp
67
+ def __init__(self, id: _Optional[str] = ..., server_id: _Optional[str] = ..., name: _Optional[str] = ..., endpoint: _Optional[str] = ..., env: _Optional[str] = ..., created_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
68
+
69
+ class RegisterNamespaceRequest(_message.Message):
70
+ __slots__ = ("env", "endpoint", "namespace", "metrics_endpoint")
71
+ ENV_FIELD_NUMBER: _ClassVar[int]
72
+ ENDPOINT_FIELD_NUMBER: _ClassVar[int]
73
+ NAMESPACE_FIELD_NUMBER: _ClassVar[int]
74
+ METRICS_ENDPOINT_FIELD_NUMBER: _ClassVar[int]
75
+ env: str
76
+ endpoint: str
77
+ namespace: str
78
+ metrics_endpoint: str
79
+ def __init__(self, env: _Optional[str] = ..., endpoint: _Optional[str] = ..., namespace: _Optional[str] = ..., metrics_endpoint: _Optional[str] = ...) -> None: ...
80
+
81
+ class RegisterNamespaceResponse(_message.Message):
82
+ __slots__ = ("namespace",)
83
+ NAMESPACE_FIELD_NUMBER: _ClassVar[int]
84
+ namespace: Namespace
85
+ def __init__(self, namespace: _Optional[_Union[Namespace, _Mapping]] = ...) -> None: ...
86
+
87
+ class ListEnvsRequest(_message.Message):
88
+ __slots__ = ("page",)
89
+ PAGE_FIELD_NUMBER: _ClassVar[int]
90
+ page: _page_pb2.PageRequest
91
+ def __init__(self, page: _Optional[_Union[_page_pb2.PageRequest, _Mapping]] = ...) -> None: ...
92
+
93
+ class ListEnvsResponse(_message.Message):
94
+ __slots__ = ("envs", "page")
95
+ ENVS_FIELD_NUMBER: _ClassVar[int]
96
+ PAGE_FIELD_NUMBER: _ClassVar[int]
97
+ envs: _containers.RepeatedCompositeFieldContainer[Env]
98
+ page: _page_pb2.PageResponse
99
+ def __init__(self, envs: _Optional[_Iterable[_Union[Env, _Mapping]]] = ..., page: _Optional[_Union[_page_pb2.PageResponse, _Mapping]] = ...) -> None: ...
100
+
101
+ class ListServersRequest(_message.Message):
102
+ __slots__ = ("page",)
103
+ PAGE_FIELD_NUMBER: _ClassVar[int]
104
+ page: _page_pb2.PageRequest
105
+ def __init__(self, page: _Optional[_Union[_page_pb2.PageRequest, _Mapping]] = ...) -> None: ...
106
+
107
+ class ListServersResponse(_message.Message):
108
+ __slots__ = ("servers", "page")
109
+ SERVERS_FIELD_NUMBER: _ClassVar[int]
110
+ PAGE_FIELD_NUMBER: _ClassVar[int]
111
+ servers: _containers.RepeatedCompositeFieldContainer[Server]
112
+ page: _page_pb2.PageResponse
113
+ def __init__(self, servers: _Optional[_Iterable[_Union[Server, _Mapping]]] = ..., page: _Optional[_Union[_page_pb2.PageResponse, _Mapping]] = ...) -> None: ...
114
+
115
+ class ListNamespacesRequest(_message.Message):
116
+ __slots__ = ("page",)
117
+ PAGE_FIELD_NUMBER: _ClassVar[int]
118
+ page: _page_pb2.PageRequest
119
+ def __init__(self, page: _Optional[_Union[_page_pb2.PageRequest, _Mapping]] = ...) -> None: ...
120
+
121
+ class ListNamespacesResponse(_message.Message):
122
+ __slots__ = ("namespaces", "page")
123
+ NAMESPACES_FIELD_NUMBER: _ClassVar[int]
124
+ PAGE_FIELD_NUMBER: _ClassVar[int]
125
+ namespaces: _containers.RepeatedCompositeFieldContainer[Namespace]
126
+ page: _page_pb2.PageResponse
127
+ def __init__(self, namespaces: _Optional[_Iterable[_Union[Namespace, _Mapping]]] = ..., page: _Optional[_Union[_page_pb2.PageResponse, _Mapping]] = ...) -> None: ...
@@ -0,0 +1,42 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: flowrensic/v1/catch_up.proto
5
+ # Protobuf Python Version: 6.31.1
6
+ """Generated protocol buffer code."""
7
+ from google.protobuf import descriptor as _descriptor
8
+ from google.protobuf import descriptor_pool as _descriptor_pool
9
+ from google.protobuf import runtime_version as _runtime_version
10
+ from google.protobuf import symbol_database as _symbol_database
11
+ from google.protobuf.internal import builder as _builder
12
+ _runtime_version.ValidateProtobufRuntimeVersion(
13
+ _runtime_version.Domain.PUBLIC,
14
+ 6,
15
+ 31,
16
+ 1,
17
+ '',
18
+ 'flowrensic/v1/catch_up.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+ from temporal_flowrensic._gen.flowrensic.v1 import page_pb2 as flowrensic_dot_v1_dot_page__pb2
26
+ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
27
+
28
+
29
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x66lowrensic/v1/catch_up.proto\x12\rflowrensic.v1\x1a\x18\x66lowrensic/v1/page.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"C\n\x11GetCatchUpRequest\x12.\n\x04page\x18\x01 \x01(\x0b\x32\x1a.flowrensic.v1.PageRequestR\x04page\"\x8c\x05\n\x10NamespaceCatchUp\x12!\n\x0cnamespace_id\x18\x01 \x01(\tR\x0bnamespaceId\x12\x1c\n\tnamespace\x18\x02 \x01(\tR\tnamespace\x12\x10\n\x03\x65nv\x18\x03 \x01(\tR\x03\x65nv\x12\x1f\n\x0b\x63\x61tching_up\x18\x04 \x01(\x08R\ncatchingUp\x12\x39\n\nstarted_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tstartedAt\x12\x35\n\x08\x65nded_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x07\x65ndedAt\x12(\n\rstored_before\x18\x0e \x01(\x03H\x00R\x0cstoredBefore\x88\x01\x01\x12\x1b\n\x06listed\x18\x07 \x01(\x03H\x01R\x06listed\x88\x01\x01\x12\x39\n\ncounted_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcountedAt\x12\x16\n\x06pulled\x18\t \x01(\x03R\x06pulled\x12\x1d\n\x07\x62\x61\x63klog\x18\n \x01(\x03H\x02R\x07\x62\x61\x63klog\x88\x01\x01\x12&\n\x0cpercent_done\x18\x0b \x01(\x01H\x03R\x0bpercentDone\x88\x01\x01\x12\x1d\n\nper_second\x18\x0c \x01(\x01R\tperSecond\x12\x33\n\x07\x65nds_at\x18\r \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x06\x65ndsAt\x12\x19\n\x05total\x18\x0f \x01(\x03H\x04R\x05total\x88\x01\x01\x42\x10\n\x0e_stored_beforeB\t\n\x07_listedB\n\n\x08_backlogB\x0f\n\r_percent_doneB\x08\n\x06_total\"\x93\x03\n\x12GetCatchUpResponse\x12\x1f\n\x0b\x63\x61tching_up\x18\x01 \x01(\x08R\ncatchingUp\x12\x1d\n\x07\x62\x61\x63klog\x18\x02 \x01(\x03H\x00R\x07\x62\x61\x63klog\x88\x01\x01\x12&\n\x0cpercent_done\x18\x03 \x01(\x01H\x01R\x0bpercentDone\x88\x01\x01\x12\x33\n\x07\x65nds_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x06\x65ndsAt\x12?\n\nnamespaces\x18\x05 \x03(\x0b\x32\x1f.flowrensic.v1.NamespaceCatchUpR\nnamespaces\x12,\n\x03now\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x03now\x12\x19\n\x05total\x18\x07 \x01(\x03H\x02R\x05total\x88\x01\x01\x12/\n\x04page\x18\x08 \x01(\x0b\x32\x1b.flowrensic.v1.PageResponseR\x04pageB\n\n\x08_backlogB\x0f\n\r_percent_doneB\x08\n\x06_totalb\x06proto3')
30
+
31
+ _globals = globals()
32
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
33
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'flowrensic.v1.catch_up_pb2', _globals)
34
+ if not _descriptor._USE_C_DESCRIPTORS:
35
+ DESCRIPTOR._loaded_options = None
36
+ _globals['_GETCATCHUPREQUEST']._serialized_start=106
37
+ _globals['_GETCATCHUPREQUEST']._serialized_end=173
38
+ _globals['_NAMESPACECATCHUP']._serialized_start=176
39
+ _globals['_NAMESPACECATCHUP']._serialized_end=828
40
+ _globals['_GETCATCHUPRESPONSE']._serialized_start=831
41
+ _globals['_GETCATCHUPRESPONSE']._serialized_end=1234
42
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,71 @@
1
+ import datetime
2
+
3
+ from temporal_flowrensic._gen.flowrensic.v1 import page_pb2 as _page_pb2
4
+ from google.protobuf import timestamp_pb2 as _timestamp_pb2
5
+ from google.protobuf.internal import containers as _containers
6
+ from google.protobuf import descriptor as _descriptor
7
+ from google.protobuf import message as _message
8
+ from collections.abc import Iterable as _Iterable, Mapping as _Mapping
9
+ from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
10
+
11
+ DESCRIPTOR: _descriptor.FileDescriptor
12
+
13
+ class GetCatchUpRequest(_message.Message):
14
+ __slots__ = ("page",)
15
+ PAGE_FIELD_NUMBER: _ClassVar[int]
16
+ page: _page_pb2.PageRequest
17
+ def __init__(self, page: _Optional[_Union[_page_pb2.PageRequest, _Mapping]] = ...) -> None: ...
18
+
19
+ class NamespaceCatchUp(_message.Message):
20
+ __slots__ = ("namespace_id", "namespace", "env", "catching_up", "started_at", "ended_at", "stored_before", "listed", "counted_at", "pulled", "backlog", "percent_done", "per_second", "ends_at", "total")
21
+ NAMESPACE_ID_FIELD_NUMBER: _ClassVar[int]
22
+ NAMESPACE_FIELD_NUMBER: _ClassVar[int]
23
+ ENV_FIELD_NUMBER: _ClassVar[int]
24
+ CATCHING_UP_FIELD_NUMBER: _ClassVar[int]
25
+ STARTED_AT_FIELD_NUMBER: _ClassVar[int]
26
+ ENDED_AT_FIELD_NUMBER: _ClassVar[int]
27
+ STORED_BEFORE_FIELD_NUMBER: _ClassVar[int]
28
+ LISTED_FIELD_NUMBER: _ClassVar[int]
29
+ COUNTED_AT_FIELD_NUMBER: _ClassVar[int]
30
+ PULLED_FIELD_NUMBER: _ClassVar[int]
31
+ BACKLOG_FIELD_NUMBER: _ClassVar[int]
32
+ PERCENT_DONE_FIELD_NUMBER: _ClassVar[int]
33
+ PER_SECOND_FIELD_NUMBER: _ClassVar[int]
34
+ ENDS_AT_FIELD_NUMBER: _ClassVar[int]
35
+ TOTAL_FIELD_NUMBER: _ClassVar[int]
36
+ namespace_id: str
37
+ namespace: str
38
+ env: str
39
+ catching_up: bool
40
+ started_at: _timestamp_pb2.Timestamp
41
+ ended_at: _timestamp_pb2.Timestamp
42
+ stored_before: int
43
+ listed: int
44
+ counted_at: _timestamp_pb2.Timestamp
45
+ pulled: int
46
+ backlog: int
47
+ percent_done: float
48
+ per_second: float
49
+ ends_at: _timestamp_pb2.Timestamp
50
+ total: int
51
+ def __init__(self, namespace_id: _Optional[str] = ..., namespace: _Optional[str] = ..., env: _Optional[str] = ..., catching_up: bool = ..., started_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., ended_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., stored_before: _Optional[int] = ..., listed: _Optional[int] = ..., counted_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., pulled: _Optional[int] = ..., backlog: _Optional[int] = ..., percent_done: _Optional[float] = ..., per_second: _Optional[float] = ..., ends_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., total: _Optional[int] = ...) -> None: ...
52
+
53
+ class GetCatchUpResponse(_message.Message):
54
+ __slots__ = ("catching_up", "backlog", "percent_done", "ends_at", "namespaces", "now", "total", "page")
55
+ CATCHING_UP_FIELD_NUMBER: _ClassVar[int]
56
+ BACKLOG_FIELD_NUMBER: _ClassVar[int]
57
+ PERCENT_DONE_FIELD_NUMBER: _ClassVar[int]
58
+ ENDS_AT_FIELD_NUMBER: _ClassVar[int]
59
+ NAMESPACES_FIELD_NUMBER: _ClassVar[int]
60
+ NOW_FIELD_NUMBER: _ClassVar[int]
61
+ TOTAL_FIELD_NUMBER: _ClassVar[int]
62
+ PAGE_FIELD_NUMBER: _ClassVar[int]
63
+ catching_up: bool
64
+ backlog: int
65
+ percent_done: float
66
+ ends_at: _timestamp_pb2.Timestamp
67
+ namespaces: _containers.RepeatedCompositeFieldContainer[NamespaceCatchUp]
68
+ now: _timestamp_pb2.Timestamp
69
+ total: int
70
+ page: _page_pb2.PageResponse
71
+ def __init__(self, catching_up: bool = ..., backlog: _Optional[int] = ..., percent_done: _Optional[float] = ..., ends_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., namespaces: _Optional[_Iterable[_Union[NamespaceCatchUp, _Mapping]]] = ..., now: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., total: _Optional[int] = ..., page: _Optional[_Union[_page_pb2.PageResponse, _Mapping]] = ...) -> None: ...
@@ -0,0 +1,49 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: flowrensic/v1/client_calls.proto
5
+ # Protobuf Python Version: 6.31.1
6
+ """Generated protocol buffer code."""
7
+ from google.protobuf import descriptor as _descriptor
8
+ from google.protobuf import descriptor_pool as _descriptor_pool
9
+ from google.protobuf import runtime_version as _runtime_version
10
+ from google.protobuf import symbol_database as _symbol_database
11
+ from google.protobuf.internal import builder as _builder
12
+ _runtime_version.ValidateProtobufRuntimeVersion(
13
+ _runtime_version.Domain.PUBLIC,
14
+ 6,
15
+ 31,
16
+ 1,
17
+ '',
18
+ 'flowrensic/v1/client_calls.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
26
+
27
+
28
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n flowrensic/v1/client_calls.proto\x12\rflowrensic.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb0\x02\n\nClientCall\x12\x1c\n\tnamespace\x18\t \x01(\tR\tnamespace\x12\x1f\n\x0bworkflow_id\x18\x02 \x01(\tR\nworkflowId\x12\x15\n\x06run_id\x18\x03 \x01(\tR\x05runId\x12\x12\n\x04kind\x18\x04 \x01(\tR\x04kind\x12:\n\x07outcome\x18\x05 \x01(\x0e\x32 .flowrensic.v1.ClientCallOutcomeR\x07outcome\x12\x1d\n\nerror_type\x18\x06 \x01(\tR\terrorType\x12\x35\n\x08\x65nded_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x07\x65ndedAt\x12\x12\n\x04name\x18\x08 \x01(\tR\x04nameJ\x04\x08\x01\x10\x02R\x0cnamespace_id\"\x84\x01\n\x18IngestClientCallsRequest\x12/\n\x05\x63\x61lls\x18\x01 \x03(\x0b\x32\x19.flowrensic.v1.ClientCallR\x05\x63\x61lls\x12\x16\n\x06sender\x18\x02 \x01(\tR\x06sender\x12\x1f\n\x0bsend_number\x18\x03 \x01(\x03R\nsendNumber\"7\n\x19IngestClientCallsResponse\x12\x1a\n\x08\x61\x63\x63\x65pted\x18\x01 \x01(\x05R\x08\x61\x63\x63\x65pted\"\xfc\x01\n\nQueryCount\x12\x1c\n\tnamespace\x18\x08 \x01(\tR\tnamespace\x12\x10\n\x03\x65nv\x18\x02 \x01(\tR\x03\x65nv\x12#\n\rworkflow_type\x18\x03 \x01(\tR\x0cworkflowType\x12\x1d\n\nquery_name\x18\x04 \x01(\tR\tqueryName\x12\x1a\n\x08\x61nswered\x18\x05 \x01(\x03R\x08\x61nswered\x12\x16\n\x06\x66\x61iled\x18\x06 \x01(\x03R\x06\x66\x61iled\x12\x32\n\x06minute\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x06minuteJ\x04\x08\x01\x10\x02R\x0cnamespace_id\"\x86\x01\n\x18IngestQueryCountsRequest\x12\x31\n\x06\x63ounts\x18\x01 \x03(\x0b\x32\x19.flowrensic.v1.QueryCountR\x06\x63ounts\x12\x16\n\x06sender\x18\x02 \x01(\tR\x06sender\x12\x1f\n\x0bsend_number\x18\x03 \x01(\x03R\nsendNumber\"7\n\x19IngestQueryCountsResponse\x12\x1a\n\x08\x61\x63\x63\x65pted\x18\x01 \x01(\x05R\x08\x61\x63\x63\x65pted*{\n\x11\x43lientCallOutcome\x12#\n\x1f\x43LIENT_CALL_OUTCOME_UNSPECIFIED\x10\x00\x12\x1e\n\x1a\x43LIENT_CALL_OUTCOME_FAILED\x10\x01\x12!\n\x1d\x43LIENT_CALL_OUTCOME_TIMED_OUT\x10\x02\x62\x06proto3')
29
+
30
+ _globals = globals()
31
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
32
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'flowrensic.v1.client_calls_pb2', _globals)
33
+ if not _descriptor._USE_C_DESCRIPTORS:
34
+ DESCRIPTOR._loaded_options = None
35
+ _globals['_CLIENTCALLOUTCOME']._serialized_start=1032
36
+ _globals['_CLIENTCALLOUTCOME']._serialized_end=1155
37
+ _globals['_CLIENTCALL']._serialized_start=85
38
+ _globals['_CLIENTCALL']._serialized_end=389
39
+ _globals['_INGESTCLIENTCALLSREQUEST']._serialized_start=392
40
+ _globals['_INGESTCLIENTCALLSREQUEST']._serialized_end=524
41
+ _globals['_INGESTCLIENTCALLSRESPONSE']._serialized_start=526
42
+ _globals['_INGESTCLIENTCALLSRESPONSE']._serialized_end=581
43
+ _globals['_QUERYCOUNT']._serialized_start=584
44
+ _globals['_QUERYCOUNT']._serialized_end=836
45
+ _globals['_INGESTQUERYCOUNTSREQUEST']._serialized_start=839
46
+ _globals['_INGESTQUERYCOUNTSREQUEST']._serialized_end=973
47
+ _globals['_INGESTQUERYCOUNTSRESPONSE']._serialized_start=975
48
+ _globals['_INGESTQUERYCOUNTSRESPONSE']._serialized_end=1030
49
+ # @@protoc_insertion_point(module_scope)