flowrensic 0.6.43__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 (44) hide show
  1. flowrensic/__init__.py +2 -0
  2. flowrensic/_gen/flowrensic/v1/activity_metrics_pb2.py +75 -0
  3. flowrensic/_gen/flowrensic/v1/activity_metrics_pb2.pyi +292 -0
  4. flowrensic/_gen/flowrensic/v1/catalog_pb2.py +59 -0
  5. flowrensic/_gen/flowrensic/v1/catalog_pb2.pyi +114 -0
  6. flowrensic/_gen/flowrensic/v1/catch_up_pb2.py +41 -0
  7. flowrensic/_gen/flowrensic/v1/catch_up_pb2.pyi +66 -0
  8. flowrensic/_gen/flowrensic/v1/client_calls_pb2.py +49 -0
  9. flowrensic/_gen/flowrensic/v1/client_calls_pb2.pyi +90 -0
  10. flowrensic/_gen/flowrensic/v1/cost_pb2.py +51 -0
  11. flowrensic/_gen/flowrensic/v1/cost_pb2.pyi +102 -0
  12. flowrensic/_gen/flowrensic/v1/deploy_pb2.py +51 -0
  13. flowrensic/_gen/flowrensic/v1/deploy_pb2.pyi +94 -0
  14. flowrensic/_gen/flowrensic/v1/env_instance_pb2.py +92 -0
  15. flowrensic/_gen/flowrensic/v1/env_instance_pb2.pyi +271 -0
  16. flowrensic/_gen/flowrensic/v1/finding_pb2.py +75 -0
  17. flowrensic/_gen/flowrensic/v1/finding_pb2.pyi +362 -0
  18. flowrensic/_gen/flowrensic/v1/job_pb2.py +46 -0
  19. flowrensic/_gen/flowrensic/v1/job_pb2.pyi +51 -0
  20. flowrensic/_gen/flowrensic/v1/load_pb2.py +51 -0
  21. flowrensic/_gen/flowrensic/v1/load_pb2.pyi +120 -0
  22. flowrensic/_gen/flowrensic/v1/remediation_pb2.py +57 -0
  23. flowrensic/_gen/flowrensic/v1/remediation_pb2.pyi +134 -0
  24. flowrensic/_gen/flowrensic/v1/replay_pb2.py +83 -0
  25. flowrensic/_gen/flowrensic/v1/replay_pb2.pyi +274 -0
  26. flowrensic/_gen/flowrensic/v1/server_config_pb2.py +48 -0
  27. flowrensic/_gen/flowrensic/v1/server_config_pb2.pyi +97 -0
  28. flowrensic/_gen/flowrensic/v1/services_connect.py +3426 -0
  29. flowrensic/_gen/flowrensic/v1/services_pb2.py +60 -0
  30. flowrensic/_gen/flowrensic/v1/services_pb2.pyi +20 -0
  31. flowrensic/_gen/flowrensic/v1/stored_data_pb2.py +43 -0
  32. flowrensic/_gen/flowrensic/v1/stored_data_pb2.pyi +50 -0
  33. flowrensic/_gen/flowrensic/v1/workflow_history_pb2.py +47 -0
  34. flowrensic/_gen/flowrensic/v1/workflow_history_pb2.pyi +104 -0
  35. flowrensic/_gen/flowrensic/v1/workflow_types_pb2.py +54 -0
  36. flowrensic/_gen/flowrensic/v1/workflow_types_pb2.pyi +168 -0
  37. flowrensic/activity.py +30 -0
  38. flowrensic/client.py +112 -0
  39. flowrensic/py.typed +0 -0
  40. flowrensic/workflow.py +2 -0
  41. flowrensic-0.6.43.dist-info/METADATA +27 -0
  42. flowrensic-0.6.43.dist-info/RECORD +44 -0
  43. flowrensic-0.6.43.dist-info/WHEEL +4 -0
  44. flowrensic-0.6.43.dist-info/licenses/LICENSE +202 -0
flowrensic/__init__.py ADDED
@@ -0,0 +1,2 @@
1
+ """Flowrensic for Temporal Python workers. The parts follow temporalio:
2
+ flowrensic.activity, flowrensic.client and flowrensic.workflow."""
@@ -0,0 +1,75 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: flowrensic/v1/activity_metrics.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/activity_metrics.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/activity_metrics.proto\x12\rflowrensic.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb3\x06\n\x0f\x41\x63tivityAttempt\x12!\n\x0cnamespace_id\x18\x01 \x01(\tR\x0bnamespaceId\x12#\n\rworkflow_type\x18\x02 \x01(\tR\x0cworkflowType\x12\x32\n\x15workflow_execution_id\x18\x03 \x01(\tR\x13workflowExecutionId\x12\x17\n\x07run_key\x18\x04 \x01(\tR\x06runKey\x12#\n\ractivity_type\x18\x05 \x01(\tR\x0c\x61\x63tivityType\x12\x1f\n\x0b\x61\x63tivity_id\x18\x06 \x01(\tR\nactivityId\x12\x18\n\x07\x61ttempt\x18\x07 \x01(\x05R\x07\x61ttempt\x12\x1d\n\ntask_queue\x18\x08 \x01(\tR\ttaskQueue\x12\x30\n\x07outcome\x18\t \x01(\x0e\x32\x16.flowrensic.v1.OutcomeR\x07outcome\x12\x1d\n\nerror_type\x18\n \x01(\tR\terrorType\x12\x39\n\nstarted_at\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tstartedAt\x12\x35\n\x08\x65nded_at\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x07\x65ndedAt\x12\x1f\n\x0b\x64uration_ms\x18\r \x01(\x03R\ndurationMs\x12\x10\n\x03\x65nv\x18\x0e \x01(\tR\x03\x65nv\x12&\n\x0f\x65nv_instance_id\x18\x0f \x01(\tR\renvInstanceId\x12\x18\n\x07version\x18\x10 \x01(\tR\x07version\x12\x38\n\x19start_to_close_timeout_ms\x18\x11 \x01(\x03R\x15startToCloseTimeoutMs\x12)\n\x10maximum_attempts\x18\x12 \x01(\x05R\x0fmaximumAttempts\x12\x30\n\x14heartbeat_timeout_ms\x18\x13 \x01(\x03R\x12heartbeatTimeoutMs\x12=\n\x0cscheduled_at\x18\x14 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0bscheduledAt\"\xa3\x06\n\rActivityStats\x12!\n\x0cnamespace_id\x18\x01 \x01(\tR\x0bnamespaceId\x12\x1d\n\ndeploy_env\x18\x02 \x01(\tR\tdeployEnv\x12#\n\rworkflow_type\x18\x03 \x01(\tR\x0cworkflowType\x12#\n\ractivity_type\x18\x04 \x01(\tR\x0c\x61\x63tivityType\x12\x38\n\x19start_to_close_timeout_ms\x18\x13 \x01(\x03R\x15startToCloseTimeoutMs\x12)\n\x10maximum_attempts\x18\x14 \x01(\x05R\x0fmaximumAttempts\x12\x1e\n\nexecutions\x18\x05 \x01(\x05R\nexecutions\x12\x1a\n\x08\x61ttempts\x18\x06 \x01(\x05R\x08\x61ttempts\x12\x18\n\x07retries\x18\x07 \x01(\x05R\x07retries\x12\x1c\n\tcompleted\x18\x08 \x01(\x05R\tcompleted\x12\x16\n\x06\x66\x61iled\x18\t \x01(\x05R\x06\x66\x61iled\x12\x1b\n\ttimed_out\x18\n \x01(\x05R\x08timedOut\x12\x1a\n\x08\x63\x61nceled\x18\x0b \x01(\x05R\x08\x63\x61nceled\x12M\n\x0b\x65rror_types\x18\x0c \x03(\x0b\x32,.flowrensic.v1.ActivityStats.ErrorTypesEntryR\nerrorTypes\x12\x15\n\x06p50_ms\x18\r \x01(\x03R\x05p50Ms\x12\x15\n\x06p95_ms\x18\x0e \x01(\x03R\x05p95Ms\x12\x15\n\x06p99_ms\x18\x0f \x01(\x03R\x05p99Ms\x12\x15\n\x06max_ms\x18\x10 \x01(\x03R\x05maxMs\x12\x39\n\nfirst_seen\x18\x11 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tfirstSeen\x12\x37\n\tlast_seen\x18\x12 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x08lastSeen\x1a=\n\x0f\x45rrorTypesEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\x05R\x05value:\x02\x38\x01\"\xe8\x01\n\x1bIngestActivityEventsRequest\x12\x36\n\x06\x65vents\x18\x01 \x03(\x0b\x32\x1e.flowrensic.v1.ActivityAttemptR\x06\x65vents\x12\x1b\n\tworker_id\x18\x02 \x01(\tR\x08workerId\x12;\n\x07reports\x18\x03 \x03(\x0b\x32!.flowrensic.v1.WorkerBufferReportR\x07reports\x12\x16\n\x06sender\x18\x04 \x01(\tR\x06sender\x12\x1f\n\x0bsend_number\x18\x05 \x01(\x03R\nsendNumber\"\xa0\x01\n\x12WorkerBufferReport\x12\x10\n\x03\x65nv\x18\x01 \x01(\tR\x03\x65nv\x12\'\n\x0frecords_dropped\x18\x02 \x01(\x03R\x0erecordsDropped\x12&\n\x0fsends_timed_out\x18\x03 \x01(\x03R\rsendsTimedOut\x12\'\n\x0frecords_waiting\x18\x04 \x01(\x03R\x0erecordsWaiting\":\n\x1cIngestActivityEventsResponse\x12\x1a\n\x08\x61\x63\x63\x65pted\x18\x01 \x01(\x05R\x08\x61\x63\x63\x65pted\"\xd3\x05\n\x0bWorkflowRun\x12\x32\n\x15workflow_execution_id\x18\x01 \x01(\tR\x13workflowExecutionId\x12\x17\n\x07run_key\x18\x02 \x01(\tR\x06runKey\x12#\n\rworkflow_type\x18\x03 \x01(\tR\x0cworkflowType\x12!\n\x0cnamespace_id\x18\x04 \x01(\tR\x0bnamespaceId\x12\x1d\n\ndeploy_env\x18\x05 \x01(\tR\tdeployEnv\x12\x1e\n\nactivities\x18\x06 \x01(\x05R\nactivities\x12\x1a\n\x08\x61ttempts\x18\x07 \x01(\x05R\x08\x61ttempts\x12\x18\n\x07retries\x18\x08 \x01(\x05R\x07retries\x12\x16\n\x06\x66\x61iled\x18\t \x01(\x05R\x06\x66\x61iled\x12\x39\n\nstarted_at\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tstartedAt\x12\x37\n\tlast_seen\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x08lastSeen\x12&\n\x0f\x65nv_instance_id\x18\x0c \x01(\tR\renvInstanceId\x12\x1b\n\tdeploy_id\x18\r \x01(\tR\x08\x64\x65ployId\x12!\n\x0c\x64\x65ploy_stage\x18\x0e \x01(\tR\x0b\x64\x65ployStage\x12\x18\n\x07version\x18\x0f \x01(\tR\x07version\x12%\n\x0ehistory_length\x18\x10 \x01(\x05R\rhistoryLength\x12)\n\x10updates_accepted\x18\x11 \x01(\x05R\x0fupdatesAccepted\x12\'\n\x0fupdates_refused\x18\x12 \x01(\x05R\x0eupdatesRefused\x12\x31\n\x14\x63onsecutive_refusals\x18\x13 \x01(\x05R\x13\x63onsecutiveRefusals\"\xb6\x01\n\x0fListRunsRequest\x12#\n\rnamespace_ids\x18\x01 \x03(\tR\x0cnamespaceIds\x12\x1d\n\ndeploy_env\x18\x02 \x01(\tR\tdeployEnv\x12#\n\rworkflow_type\x18\x03 \x01(\tR\x0cworkflowType\x12\x1b\n\tpage_size\x18\x04 \x01(\x05R\x08pageSize\x12\x1d\n\npage_token\x18\x05 \x01(\tR\tpageToken\"j\n\x10ListRunsResponse\x12.\n\x04runs\x18\x01 \x03(\x0b\x32\x1a.flowrensic.v1.WorkflowRunR\x04runs\x12&\n\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\"\xcc\x02\n\x0c\x45ngineMetric\x12\x1b\n\tserver_id\x18\x01 \x01(\tR\x08serverId\x12\x1d\n\ndeploy_env\x18\x02 \x01(\tR\tdeployEnv\x12\x12\n\x04name\x18\x03 \x01(\tR\x04name\x12?\n\x06labels\x18\x04 \x03(\x0b\x32\'.flowrensic.v1.EngineMetric.LabelsEntryR\x06labels\x12\x14\n\x05value\x18\x05 \x01(\x01R\x05value\x12\x39\n\nscraped_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tscrapedAt\x12\x1f\n\x0bmetric_type\x18\x07 \x01(\tR\nmetricType\x1a\x39\n\x0bLabelsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\"V\n\x14\x45ngineMetricsRequest\x12\x1d\n\nserver_ids\x18\x01 \x03(\tR\tserverIds\x12\x1f\n\x0bname_prefix\x18\x02 \x01(\tR\nnamePrefix\"N\n\x15\x45ngineMetricsResponse\x12\x35\n\x07metrics\x18\x01 \x03(\x0b\x32\x1b.flowrensic.v1.EngineMetricR\x07metrics\"<\n\x17UpdateRejectionsRequest\x12!\n\x0cnamespace_id\x18\x01 \x01(\tR\x0bnamespaceId\"\x98\x01\n\x18UpdateRejectionsResponse\x12!\n\x0cnamespace_id\x18\x01 \x01(\tR\x0bnamespaceId\x12\x1e\n\nrejections\x18\x02 \x01(\x01R\nrejections\x12\x39\n\nscraped_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tscrapedAt\"\x88\x02\n\x14\x41\x63tivityStatsRequest\x12#\n\rnamespace_ids\x18\x01 \x03(\tR\x0cnamespaceIds\x12\x1d\n\ndeploy_env\x18\x02 \x01(\tR\tdeployEnv\x12#\n\rworkflow_type\x18\x03 \x01(\tR\x0cworkflowType\x12#\n\ractivity_type\x18\x04 \x01(\tR\x0c\x61\x63tivityType\x12\x30\n\x05since\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x05since\x12\x30\n\x05until\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x05until\"K\n\x15\x41\x63tivityStatsResponse\x12\x32\n\x05stats\x18\x01 \x03(\x0b\x32\x1c.flowrensic.v1.ActivityStatsR\x05stats*z\n\x07Outcome\x12\x17\n\x13OUTCOME_UNSPECIFIED\x10\x00\x12\x15\n\x11OUTCOME_COMPLETED\x10\x01\x12\x12\n\x0eOUTCOME_FAILED\x10\x02\x12\x15\n\x11OUTCOME_TIMED_OUT\x10\x03\x12\x14\n\x10OUTCOME_CANCELED\x10\x04\x62\x06proto3')
29
+
30
+ _globals = globals()
31
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
32
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'flowrensic.v1.activity_metrics_pb2', _globals)
33
+ if not _descriptor._USE_C_DESCRIPTORS:
34
+ DESCRIPTOR._loaded_options = None
35
+ _globals['_ACTIVITYSTATS_ERRORTYPESENTRY']._loaded_options = None
36
+ _globals['_ACTIVITYSTATS_ERRORTYPESENTRY']._serialized_options = b'8\001'
37
+ _globals['_ENGINEMETRIC_LABELSENTRY']._loaded_options = None
38
+ _globals['_ENGINEMETRIC_LABELSENTRY']._serialized_options = b'8\001'
39
+ _globals['_OUTCOME']._serialized_start=4257
40
+ _globals['_OUTCOME']._serialized_end=4379
41
+ _globals['_ACTIVITYATTEMPT']._serialized_start=89
42
+ _globals['_ACTIVITYATTEMPT']._serialized_end=908
43
+ _globals['_ACTIVITYSTATS']._serialized_start=911
44
+ _globals['_ACTIVITYSTATS']._serialized_end=1714
45
+ _globals['_ACTIVITYSTATS_ERRORTYPESENTRY']._serialized_start=1653
46
+ _globals['_ACTIVITYSTATS_ERRORTYPESENTRY']._serialized_end=1714
47
+ _globals['_INGESTACTIVITYEVENTSREQUEST']._serialized_start=1717
48
+ _globals['_INGESTACTIVITYEVENTSREQUEST']._serialized_end=1949
49
+ _globals['_WORKERBUFFERREPORT']._serialized_start=1952
50
+ _globals['_WORKERBUFFERREPORT']._serialized_end=2112
51
+ _globals['_INGESTACTIVITYEVENTSRESPONSE']._serialized_start=2114
52
+ _globals['_INGESTACTIVITYEVENTSRESPONSE']._serialized_end=2172
53
+ _globals['_WORKFLOWRUN']._serialized_start=2175
54
+ _globals['_WORKFLOWRUN']._serialized_end=2898
55
+ _globals['_LISTRUNSREQUEST']._serialized_start=2901
56
+ _globals['_LISTRUNSREQUEST']._serialized_end=3083
57
+ _globals['_LISTRUNSRESPONSE']._serialized_start=3085
58
+ _globals['_LISTRUNSRESPONSE']._serialized_end=3191
59
+ _globals['_ENGINEMETRIC']._serialized_start=3194
60
+ _globals['_ENGINEMETRIC']._serialized_end=3526
61
+ _globals['_ENGINEMETRIC_LABELSENTRY']._serialized_start=3469
62
+ _globals['_ENGINEMETRIC_LABELSENTRY']._serialized_end=3526
63
+ _globals['_ENGINEMETRICSREQUEST']._serialized_start=3528
64
+ _globals['_ENGINEMETRICSREQUEST']._serialized_end=3614
65
+ _globals['_ENGINEMETRICSRESPONSE']._serialized_start=3616
66
+ _globals['_ENGINEMETRICSRESPONSE']._serialized_end=3694
67
+ _globals['_UPDATEREJECTIONSREQUEST']._serialized_start=3696
68
+ _globals['_UPDATEREJECTIONSREQUEST']._serialized_end=3756
69
+ _globals['_UPDATEREJECTIONSRESPONSE']._serialized_start=3759
70
+ _globals['_UPDATEREJECTIONSRESPONSE']._serialized_end=3911
71
+ _globals['_ACTIVITYSTATSREQUEST']._serialized_start=3914
72
+ _globals['_ACTIVITYSTATSREQUEST']._serialized_end=4178
73
+ _globals['_ACTIVITYSTATSRESPONSE']._serialized_start=4180
74
+ _globals['_ACTIVITYSTATSRESPONSE']._serialized_end=4255
75
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,292 @@
1
+ import datetime
2
+
3
+ from google.protobuf import timestamp_pb2 as _timestamp_pb2
4
+ from google.protobuf.internal import containers as _containers
5
+ from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
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 Outcome(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
14
+ __slots__ = ()
15
+ OUTCOME_UNSPECIFIED: _ClassVar[Outcome]
16
+ OUTCOME_COMPLETED: _ClassVar[Outcome]
17
+ OUTCOME_FAILED: _ClassVar[Outcome]
18
+ OUTCOME_TIMED_OUT: _ClassVar[Outcome]
19
+ OUTCOME_CANCELED: _ClassVar[Outcome]
20
+ OUTCOME_UNSPECIFIED: Outcome
21
+ OUTCOME_COMPLETED: Outcome
22
+ OUTCOME_FAILED: Outcome
23
+ OUTCOME_TIMED_OUT: Outcome
24
+ OUTCOME_CANCELED: Outcome
25
+
26
+ class ActivityAttempt(_message.Message):
27
+ __slots__ = ("namespace_id", "workflow_type", "workflow_execution_id", "run_key", "activity_type", "activity_id", "attempt", "task_queue", "outcome", "error_type", "started_at", "ended_at", "duration_ms", "env", "env_instance_id", "version", "start_to_close_timeout_ms", "maximum_attempts", "heartbeat_timeout_ms", "scheduled_at")
28
+ NAMESPACE_ID_FIELD_NUMBER: _ClassVar[int]
29
+ WORKFLOW_TYPE_FIELD_NUMBER: _ClassVar[int]
30
+ WORKFLOW_EXECUTION_ID_FIELD_NUMBER: _ClassVar[int]
31
+ RUN_KEY_FIELD_NUMBER: _ClassVar[int]
32
+ ACTIVITY_TYPE_FIELD_NUMBER: _ClassVar[int]
33
+ ACTIVITY_ID_FIELD_NUMBER: _ClassVar[int]
34
+ ATTEMPT_FIELD_NUMBER: _ClassVar[int]
35
+ TASK_QUEUE_FIELD_NUMBER: _ClassVar[int]
36
+ OUTCOME_FIELD_NUMBER: _ClassVar[int]
37
+ ERROR_TYPE_FIELD_NUMBER: _ClassVar[int]
38
+ STARTED_AT_FIELD_NUMBER: _ClassVar[int]
39
+ ENDED_AT_FIELD_NUMBER: _ClassVar[int]
40
+ DURATION_MS_FIELD_NUMBER: _ClassVar[int]
41
+ ENV_FIELD_NUMBER: _ClassVar[int]
42
+ ENV_INSTANCE_ID_FIELD_NUMBER: _ClassVar[int]
43
+ VERSION_FIELD_NUMBER: _ClassVar[int]
44
+ START_TO_CLOSE_TIMEOUT_MS_FIELD_NUMBER: _ClassVar[int]
45
+ MAXIMUM_ATTEMPTS_FIELD_NUMBER: _ClassVar[int]
46
+ HEARTBEAT_TIMEOUT_MS_FIELD_NUMBER: _ClassVar[int]
47
+ SCHEDULED_AT_FIELD_NUMBER: _ClassVar[int]
48
+ namespace_id: str
49
+ workflow_type: str
50
+ workflow_execution_id: str
51
+ run_key: str
52
+ activity_type: str
53
+ activity_id: str
54
+ attempt: int
55
+ task_queue: str
56
+ outcome: Outcome
57
+ error_type: str
58
+ started_at: _timestamp_pb2.Timestamp
59
+ ended_at: _timestamp_pb2.Timestamp
60
+ duration_ms: int
61
+ env: str
62
+ env_instance_id: str
63
+ version: str
64
+ start_to_close_timeout_ms: int
65
+ maximum_attempts: int
66
+ heartbeat_timeout_ms: int
67
+ scheduled_at: _timestamp_pb2.Timestamp
68
+ def __init__(self, namespace_id: _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] = ..., env_instance_id: _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: ...
69
+
70
+ class ActivityStats(_message.Message):
71
+ __slots__ = ("namespace_id", "deploy_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")
72
+ class ErrorTypesEntry(_message.Message):
73
+ __slots__ = ("key", "value")
74
+ KEY_FIELD_NUMBER: _ClassVar[int]
75
+ VALUE_FIELD_NUMBER: _ClassVar[int]
76
+ key: str
77
+ value: int
78
+ def __init__(self, key: _Optional[str] = ..., value: _Optional[int] = ...) -> None: ...
79
+ NAMESPACE_ID_FIELD_NUMBER: _ClassVar[int]
80
+ DEPLOY_ENV_FIELD_NUMBER: _ClassVar[int]
81
+ WORKFLOW_TYPE_FIELD_NUMBER: _ClassVar[int]
82
+ ACTIVITY_TYPE_FIELD_NUMBER: _ClassVar[int]
83
+ START_TO_CLOSE_TIMEOUT_MS_FIELD_NUMBER: _ClassVar[int]
84
+ MAXIMUM_ATTEMPTS_FIELD_NUMBER: _ClassVar[int]
85
+ EXECUTIONS_FIELD_NUMBER: _ClassVar[int]
86
+ ATTEMPTS_FIELD_NUMBER: _ClassVar[int]
87
+ RETRIES_FIELD_NUMBER: _ClassVar[int]
88
+ COMPLETED_FIELD_NUMBER: _ClassVar[int]
89
+ FAILED_FIELD_NUMBER: _ClassVar[int]
90
+ TIMED_OUT_FIELD_NUMBER: _ClassVar[int]
91
+ CANCELED_FIELD_NUMBER: _ClassVar[int]
92
+ ERROR_TYPES_FIELD_NUMBER: _ClassVar[int]
93
+ P50_MS_FIELD_NUMBER: _ClassVar[int]
94
+ P95_MS_FIELD_NUMBER: _ClassVar[int]
95
+ P99_MS_FIELD_NUMBER: _ClassVar[int]
96
+ MAX_MS_FIELD_NUMBER: _ClassVar[int]
97
+ FIRST_SEEN_FIELD_NUMBER: _ClassVar[int]
98
+ LAST_SEEN_FIELD_NUMBER: _ClassVar[int]
99
+ namespace_id: str
100
+ deploy_env: str
101
+ workflow_type: str
102
+ activity_type: str
103
+ start_to_close_timeout_ms: int
104
+ maximum_attempts: int
105
+ executions: int
106
+ attempts: int
107
+ retries: int
108
+ completed: int
109
+ failed: int
110
+ timed_out: int
111
+ canceled: int
112
+ error_types: _containers.ScalarMap[str, int]
113
+ p50_ms: int
114
+ p95_ms: int
115
+ p99_ms: int
116
+ max_ms: int
117
+ first_seen: _timestamp_pb2.Timestamp
118
+ last_seen: _timestamp_pb2.Timestamp
119
+ def __init__(self, namespace_id: _Optional[str] = ..., deploy_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: ...
120
+
121
+ class IngestActivityEventsRequest(_message.Message):
122
+ __slots__ = ("events", "worker_id", "reports", "sender", "send_number")
123
+ EVENTS_FIELD_NUMBER: _ClassVar[int]
124
+ WORKER_ID_FIELD_NUMBER: _ClassVar[int]
125
+ REPORTS_FIELD_NUMBER: _ClassVar[int]
126
+ SENDER_FIELD_NUMBER: _ClassVar[int]
127
+ SEND_NUMBER_FIELD_NUMBER: _ClassVar[int]
128
+ events: _containers.RepeatedCompositeFieldContainer[ActivityAttempt]
129
+ worker_id: str
130
+ reports: _containers.RepeatedCompositeFieldContainer[WorkerBufferReport]
131
+ sender: str
132
+ send_number: int
133
+ 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] = ...) -> None: ...
134
+
135
+ class WorkerBufferReport(_message.Message):
136
+ __slots__ = ("env", "records_dropped", "sends_timed_out", "records_waiting")
137
+ ENV_FIELD_NUMBER: _ClassVar[int]
138
+ RECORDS_DROPPED_FIELD_NUMBER: _ClassVar[int]
139
+ SENDS_TIMED_OUT_FIELD_NUMBER: _ClassVar[int]
140
+ RECORDS_WAITING_FIELD_NUMBER: _ClassVar[int]
141
+ env: str
142
+ records_dropped: int
143
+ sends_timed_out: int
144
+ records_waiting: int
145
+ def __init__(self, env: _Optional[str] = ..., records_dropped: _Optional[int] = ..., sends_timed_out: _Optional[int] = ..., records_waiting: _Optional[int] = ...) -> None: ...
146
+
147
+ class IngestActivityEventsResponse(_message.Message):
148
+ __slots__ = ("accepted",)
149
+ ACCEPTED_FIELD_NUMBER: _ClassVar[int]
150
+ accepted: int
151
+ def __init__(self, accepted: _Optional[int] = ...) -> None: ...
152
+
153
+ class WorkflowRun(_message.Message):
154
+ __slots__ = ("workflow_execution_id", "run_key", "workflow_type", "namespace_id", "deploy_env", "activities", "attempts", "retries", "failed", "started_at", "last_seen", "env_instance_id", "deploy_id", "deploy_stage", "version", "history_length", "updates_accepted", "updates_refused", "consecutive_refusals")
155
+ WORKFLOW_EXECUTION_ID_FIELD_NUMBER: _ClassVar[int]
156
+ RUN_KEY_FIELD_NUMBER: _ClassVar[int]
157
+ WORKFLOW_TYPE_FIELD_NUMBER: _ClassVar[int]
158
+ NAMESPACE_ID_FIELD_NUMBER: _ClassVar[int]
159
+ DEPLOY_ENV_FIELD_NUMBER: _ClassVar[int]
160
+ ACTIVITIES_FIELD_NUMBER: _ClassVar[int]
161
+ ATTEMPTS_FIELD_NUMBER: _ClassVar[int]
162
+ RETRIES_FIELD_NUMBER: _ClassVar[int]
163
+ FAILED_FIELD_NUMBER: _ClassVar[int]
164
+ STARTED_AT_FIELD_NUMBER: _ClassVar[int]
165
+ LAST_SEEN_FIELD_NUMBER: _ClassVar[int]
166
+ ENV_INSTANCE_ID_FIELD_NUMBER: _ClassVar[int]
167
+ DEPLOY_ID_FIELD_NUMBER: _ClassVar[int]
168
+ DEPLOY_STAGE_FIELD_NUMBER: _ClassVar[int]
169
+ VERSION_FIELD_NUMBER: _ClassVar[int]
170
+ HISTORY_LENGTH_FIELD_NUMBER: _ClassVar[int]
171
+ UPDATES_ACCEPTED_FIELD_NUMBER: _ClassVar[int]
172
+ UPDATES_REFUSED_FIELD_NUMBER: _ClassVar[int]
173
+ CONSECUTIVE_REFUSALS_FIELD_NUMBER: _ClassVar[int]
174
+ workflow_execution_id: str
175
+ run_key: str
176
+ workflow_type: str
177
+ namespace_id: str
178
+ deploy_env: str
179
+ activities: int
180
+ attempts: int
181
+ retries: int
182
+ failed: int
183
+ started_at: _timestamp_pb2.Timestamp
184
+ last_seen: _timestamp_pb2.Timestamp
185
+ env_instance_id: str
186
+ deploy_id: str
187
+ deploy_stage: str
188
+ version: str
189
+ history_length: int
190
+ updates_accepted: int
191
+ updates_refused: int
192
+ consecutive_refusals: int
193
+ def __init__(self, workflow_execution_id: _Optional[str] = ..., run_key: _Optional[str] = ..., workflow_type: _Optional[str] = ..., namespace_id: _Optional[str] = ..., deploy_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]] = ..., env_instance_id: _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: ...
194
+
195
+ class ListRunsRequest(_message.Message):
196
+ __slots__ = ("namespace_ids", "deploy_env", "workflow_type", "page_size", "page_token")
197
+ NAMESPACE_IDS_FIELD_NUMBER: _ClassVar[int]
198
+ DEPLOY_ENV_FIELD_NUMBER: _ClassVar[int]
199
+ WORKFLOW_TYPE_FIELD_NUMBER: _ClassVar[int]
200
+ PAGE_SIZE_FIELD_NUMBER: _ClassVar[int]
201
+ PAGE_TOKEN_FIELD_NUMBER: _ClassVar[int]
202
+ namespace_ids: _containers.RepeatedScalarFieldContainer[str]
203
+ deploy_env: str
204
+ workflow_type: str
205
+ page_size: int
206
+ page_token: str
207
+ def __init__(self, namespace_ids: _Optional[_Iterable[str]] = ..., deploy_env: _Optional[str] = ..., workflow_type: _Optional[str] = ..., page_size: _Optional[int] = ..., page_token: _Optional[str] = ...) -> None: ...
208
+
209
+ class ListRunsResponse(_message.Message):
210
+ __slots__ = ("runs", "next_page_token")
211
+ RUNS_FIELD_NUMBER: _ClassVar[int]
212
+ NEXT_PAGE_TOKEN_FIELD_NUMBER: _ClassVar[int]
213
+ runs: _containers.RepeatedCompositeFieldContainer[WorkflowRun]
214
+ next_page_token: str
215
+ def __init__(self, runs: _Optional[_Iterable[_Union[WorkflowRun, _Mapping]]] = ..., next_page_token: _Optional[str] = ...) -> None: ...
216
+
217
+ class EngineMetric(_message.Message):
218
+ __slots__ = ("server_id", "deploy_env", "name", "labels", "value", "scraped_at", "metric_type")
219
+ class LabelsEntry(_message.Message):
220
+ __slots__ = ("key", "value")
221
+ KEY_FIELD_NUMBER: _ClassVar[int]
222
+ VALUE_FIELD_NUMBER: _ClassVar[int]
223
+ key: str
224
+ value: str
225
+ def __init__(self, key: _Optional[str] = ..., value: _Optional[str] = ...) -> None: ...
226
+ SERVER_ID_FIELD_NUMBER: _ClassVar[int]
227
+ DEPLOY_ENV_FIELD_NUMBER: _ClassVar[int]
228
+ NAME_FIELD_NUMBER: _ClassVar[int]
229
+ LABELS_FIELD_NUMBER: _ClassVar[int]
230
+ VALUE_FIELD_NUMBER: _ClassVar[int]
231
+ SCRAPED_AT_FIELD_NUMBER: _ClassVar[int]
232
+ METRIC_TYPE_FIELD_NUMBER: _ClassVar[int]
233
+ server_id: str
234
+ deploy_env: str
235
+ name: str
236
+ labels: _containers.ScalarMap[str, str]
237
+ value: float
238
+ scraped_at: _timestamp_pb2.Timestamp
239
+ metric_type: str
240
+ def __init__(self, server_id: _Optional[str] = ..., deploy_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: ...
241
+
242
+ class EngineMetricsRequest(_message.Message):
243
+ __slots__ = ("server_ids", "name_prefix")
244
+ SERVER_IDS_FIELD_NUMBER: _ClassVar[int]
245
+ NAME_PREFIX_FIELD_NUMBER: _ClassVar[int]
246
+ server_ids: _containers.RepeatedScalarFieldContainer[str]
247
+ name_prefix: str
248
+ def __init__(self, server_ids: _Optional[_Iterable[str]] = ..., name_prefix: _Optional[str] = ...) -> None: ...
249
+
250
+ class EngineMetricsResponse(_message.Message):
251
+ __slots__ = ("metrics",)
252
+ METRICS_FIELD_NUMBER: _ClassVar[int]
253
+ metrics: _containers.RepeatedCompositeFieldContainer[EngineMetric]
254
+ def __init__(self, metrics: _Optional[_Iterable[_Union[EngineMetric, _Mapping]]] = ...) -> None: ...
255
+
256
+ class UpdateRejectionsRequest(_message.Message):
257
+ __slots__ = ("namespace_id",)
258
+ NAMESPACE_ID_FIELD_NUMBER: _ClassVar[int]
259
+ namespace_id: str
260
+ def __init__(self, namespace_id: _Optional[str] = ...) -> None: ...
261
+
262
+ class UpdateRejectionsResponse(_message.Message):
263
+ __slots__ = ("namespace_id", "rejections", "scraped_at")
264
+ NAMESPACE_ID_FIELD_NUMBER: _ClassVar[int]
265
+ REJECTIONS_FIELD_NUMBER: _ClassVar[int]
266
+ SCRAPED_AT_FIELD_NUMBER: _ClassVar[int]
267
+ namespace_id: str
268
+ rejections: float
269
+ scraped_at: _timestamp_pb2.Timestamp
270
+ def __init__(self, namespace_id: _Optional[str] = ..., rejections: _Optional[float] = ..., scraped_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
271
+
272
+ class ActivityStatsRequest(_message.Message):
273
+ __slots__ = ("namespace_ids", "deploy_env", "workflow_type", "activity_type", "since", "until")
274
+ NAMESPACE_IDS_FIELD_NUMBER: _ClassVar[int]
275
+ DEPLOY_ENV_FIELD_NUMBER: _ClassVar[int]
276
+ WORKFLOW_TYPE_FIELD_NUMBER: _ClassVar[int]
277
+ ACTIVITY_TYPE_FIELD_NUMBER: _ClassVar[int]
278
+ SINCE_FIELD_NUMBER: _ClassVar[int]
279
+ UNTIL_FIELD_NUMBER: _ClassVar[int]
280
+ namespace_ids: _containers.RepeatedScalarFieldContainer[str]
281
+ deploy_env: str
282
+ workflow_type: str
283
+ activity_type: str
284
+ since: _timestamp_pb2.Timestamp
285
+ until: _timestamp_pb2.Timestamp
286
+ def __init__(self, namespace_ids: _Optional[_Iterable[str]] = ..., deploy_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]] = ...) -> None: ...
287
+
288
+ class ActivityStatsResponse(_message.Message):
289
+ __slots__ = ("stats",)
290
+ STATS_FIELD_NUMBER: _ClassVar[int]
291
+ stats: _containers.RepeatedCompositeFieldContainer[ActivityStats]
292
+ def __init__(self, stats: _Optional[_Iterable[_Union[ActivityStats, _Mapping]]] = ...) -> None: ...
@@ -0,0 +1,59 @@
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 google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
26
+
27
+
28
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1b\x66lowrensic/v1/catalog.proto\x12\rflowrensic.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\x9a\x01\n\tDeployEnv\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\"\x89\x02\n\x06Server\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\"\n\rdeploy_env_id\x18\x02 \x01(\tR\x0b\x64\x65ployEnvId\x12\x1d\n\ndeploy_env\x18\x03 \x01(\tR\tdeployEnv\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\"\xc2\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\x1d\n\ndeploy_env\x18\x05 \x01(\tR\tdeployEnv\x12\x39\n\ncreated_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\"\x9e\x01\n\x18RegisterNamespaceRequest\x12\x1d\n\ndeploy_env\x18\x01 \x01(\tR\tdeployEnv\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\"\x17\n\x15ListDeployEnvsRequest\"S\n\x16ListDeployEnvsResponse\x12\x39\n\x0b\x64\x65ploy_envs\x18\x01 \x03(\x0b\x32\x18.flowrensic.v1.DeployEnvR\ndeployEnvs\"\x14\n\x12ListServersRequest\"F\n\x13ListServersResponse\x12/\n\x07servers\x18\x01 \x03(\x0b\x32\x15.flowrensic.v1.ServerR\x07servers\"\x17\n\x15ListNamespacesRequest\"R\n\x16ListNamespacesResponse\x12\x38\n\nnamespaces\x18\x01 \x03(\x0b\x32\x18.flowrensic.v1.NamespaceR\nnamespaces*\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')
29
+
30
+ _globals = globals()
31
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
32
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'flowrensic.v1.catalog_pb2', _globals)
33
+ if not _descriptor._USE_C_DESCRIPTORS:
34
+ DESCRIPTOR._loaded_options = None
35
+ _globals['_ENGINE']._serialized_start=1261
36
+ _globals['_ENGINE']._serialized_end=1424
37
+ _globals['_DEPLOYENV']._serialized_start=80
38
+ _globals['_DEPLOYENV']._serialized_end=234
39
+ _globals['_SERVER']._serialized_start=237
40
+ _globals['_SERVER']._serialized_end=502
41
+ _globals['_NAMESPACE']._serialized_start=505
42
+ _globals['_NAMESPACE']._serialized_end=699
43
+ _globals['_REGISTERNAMESPACEREQUEST']._serialized_start=702
44
+ _globals['_REGISTERNAMESPACEREQUEST']._serialized_end=860
45
+ _globals['_REGISTERNAMESPACERESPONSE']._serialized_start=862
46
+ _globals['_REGISTERNAMESPACERESPONSE']._serialized_end=945
47
+ _globals['_LISTDEPLOYENVSREQUEST']._serialized_start=947
48
+ _globals['_LISTDEPLOYENVSREQUEST']._serialized_end=970
49
+ _globals['_LISTDEPLOYENVSRESPONSE']._serialized_start=972
50
+ _globals['_LISTDEPLOYENVSRESPONSE']._serialized_end=1055
51
+ _globals['_LISTSERVERSREQUEST']._serialized_start=1057
52
+ _globals['_LISTSERVERSREQUEST']._serialized_end=1077
53
+ _globals['_LISTSERVERSRESPONSE']._serialized_start=1079
54
+ _globals['_LISTSERVERSRESPONSE']._serialized_end=1149
55
+ _globals['_LISTNAMESPACESREQUEST']._serialized_start=1151
56
+ _globals['_LISTNAMESPACESREQUEST']._serialized_end=1174
57
+ _globals['_LISTNAMESPACESRESPONSE']._serialized_start=1176
58
+ _globals['_LISTNAMESPACESRESPONSE']._serialized_end=1258
59
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,114 @@
1
+ import datetime
2
+
3
+ from google.protobuf import timestamp_pb2 as _timestamp_pb2
4
+ from google.protobuf.internal import containers as _containers
5
+ from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
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 Engine(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
14
+ __slots__ = ()
15
+ ENGINE_UNSPECIFIED: _ClassVar[Engine]
16
+ ENGINE_TEMPORAL: _ClassVar[Engine]
17
+ ENGINE_UNSPECIFIED: Engine
18
+ ENGINE_TEMPORAL: Engine
19
+
20
+ class DeployEnv(_message.Message):
21
+ __slots__ = ("id", "name", "created_at", "kind", "required")
22
+ ID_FIELD_NUMBER: _ClassVar[int]
23
+ NAME_FIELD_NUMBER: _ClassVar[int]
24
+ CREATED_AT_FIELD_NUMBER: _ClassVar[int]
25
+ KIND_FIELD_NUMBER: _ClassVar[int]
26
+ REQUIRED_FIELD_NUMBER: _ClassVar[int]
27
+ id: str
28
+ name: str
29
+ created_at: _timestamp_pb2.Timestamp
30
+ kind: str
31
+ required: bool
32
+ 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: ...
33
+
34
+ class Server(_message.Message):
35
+ __slots__ = ("id", "deploy_env_id", "deploy_env", "endpoint", "metrics_endpoint", "created_at", "metrics_last_read")
36
+ ID_FIELD_NUMBER: _ClassVar[int]
37
+ DEPLOY_ENV_ID_FIELD_NUMBER: _ClassVar[int]
38
+ DEPLOY_ENV_FIELD_NUMBER: _ClassVar[int]
39
+ ENDPOINT_FIELD_NUMBER: _ClassVar[int]
40
+ METRICS_ENDPOINT_FIELD_NUMBER: _ClassVar[int]
41
+ CREATED_AT_FIELD_NUMBER: _ClassVar[int]
42
+ METRICS_LAST_READ_FIELD_NUMBER: _ClassVar[int]
43
+ id: str
44
+ deploy_env_id: str
45
+ deploy_env: str
46
+ endpoint: str
47
+ metrics_endpoint: str
48
+ created_at: _timestamp_pb2.Timestamp
49
+ metrics_last_read: str
50
+ def __init__(self, id: _Optional[str] = ..., deploy_env_id: _Optional[str] = ..., deploy_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: ...
51
+
52
+ class Namespace(_message.Message):
53
+ __slots__ = ("id", "server_id", "name", "endpoint", "deploy_env", "created_at")
54
+ ID_FIELD_NUMBER: _ClassVar[int]
55
+ SERVER_ID_FIELD_NUMBER: _ClassVar[int]
56
+ NAME_FIELD_NUMBER: _ClassVar[int]
57
+ ENDPOINT_FIELD_NUMBER: _ClassVar[int]
58
+ DEPLOY_ENV_FIELD_NUMBER: _ClassVar[int]
59
+ CREATED_AT_FIELD_NUMBER: _ClassVar[int]
60
+ id: str
61
+ server_id: str
62
+ name: str
63
+ endpoint: str
64
+ deploy_env: str
65
+ created_at: _timestamp_pb2.Timestamp
66
+ def __init__(self, id: _Optional[str] = ..., server_id: _Optional[str] = ..., name: _Optional[str] = ..., endpoint: _Optional[str] = ..., deploy_env: _Optional[str] = ..., created_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
67
+
68
+ class RegisterNamespaceRequest(_message.Message):
69
+ __slots__ = ("deploy_env", "endpoint", "namespace", "metrics_endpoint")
70
+ DEPLOY_ENV_FIELD_NUMBER: _ClassVar[int]
71
+ ENDPOINT_FIELD_NUMBER: _ClassVar[int]
72
+ NAMESPACE_FIELD_NUMBER: _ClassVar[int]
73
+ METRICS_ENDPOINT_FIELD_NUMBER: _ClassVar[int]
74
+ deploy_env: str
75
+ endpoint: str
76
+ namespace: str
77
+ metrics_endpoint: str
78
+ def __init__(self, deploy_env: _Optional[str] = ..., endpoint: _Optional[str] = ..., namespace: _Optional[str] = ..., metrics_endpoint: _Optional[str] = ...) -> None: ...
79
+
80
+ class RegisterNamespaceResponse(_message.Message):
81
+ __slots__ = ("namespace",)
82
+ NAMESPACE_FIELD_NUMBER: _ClassVar[int]
83
+ namespace: Namespace
84
+ def __init__(self, namespace: _Optional[_Union[Namespace, _Mapping]] = ...) -> None: ...
85
+
86
+ class ListDeployEnvsRequest(_message.Message):
87
+ __slots__ = ()
88
+ def __init__(self) -> None: ...
89
+
90
+ class ListDeployEnvsResponse(_message.Message):
91
+ __slots__ = ("deploy_envs",)
92
+ DEPLOY_ENVS_FIELD_NUMBER: _ClassVar[int]
93
+ deploy_envs: _containers.RepeatedCompositeFieldContainer[DeployEnv]
94
+ def __init__(self, deploy_envs: _Optional[_Iterable[_Union[DeployEnv, _Mapping]]] = ...) -> None: ...
95
+
96
+ class ListServersRequest(_message.Message):
97
+ __slots__ = ()
98
+ def __init__(self) -> None: ...
99
+
100
+ class ListServersResponse(_message.Message):
101
+ __slots__ = ("servers",)
102
+ SERVERS_FIELD_NUMBER: _ClassVar[int]
103
+ servers: _containers.RepeatedCompositeFieldContainer[Server]
104
+ def __init__(self, servers: _Optional[_Iterable[_Union[Server, _Mapping]]] = ...) -> None: ...
105
+
106
+ class ListNamespacesRequest(_message.Message):
107
+ __slots__ = ()
108
+ def __init__(self) -> None: ...
109
+
110
+ class ListNamespacesResponse(_message.Message):
111
+ __slots__ = ("namespaces",)
112
+ NAMESPACES_FIELD_NUMBER: _ClassVar[int]
113
+ namespaces: _containers.RepeatedCompositeFieldContainer[Namespace]
114
+ def __init__(self, namespaces: _Optional[_Iterable[_Union[Namespace, _Mapping]]] = ...) -> None: ...
@@ -0,0 +1,41 @@
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 google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
26
+
27
+
28
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x66lowrensic/v1/catch_up.proto\x12\rflowrensic.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\x13\n\x11GetCatchUpRequest\"\x99\x05\n\x10NamespaceCatchUp\x12!\n\x0cnamespace_id\x18\x01 \x01(\tR\x0bnamespaceId\x12\x1c\n\tnamespace\x18\x02 \x01(\tR\tnamespace\x12\x1d\n\ndeploy_env\x18\x03 \x01(\tR\tdeployEnv\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\"\xe2\x02\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\x42\n\n\x08_backlogB\x0f\n\r_percent_doneB\x08\n\x06_totalb\x06proto3')
29
+
30
+ _globals = globals()
31
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
32
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'flowrensic.v1.catch_up_pb2', _globals)
33
+ if not _descriptor._USE_C_DESCRIPTORS:
34
+ DESCRIPTOR._loaded_options = None
35
+ _globals['_GETCATCHUPREQUEST']._serialized_start=80
36
+ _globals['_GETCATCHUPREQUEST']._serialized_end=99
37
+ _globals['_NAMESPACECATCHUP']._serialized_start=102
38
+ _globals['_NAMESPACECATCHUP']._serialized_end=767
39
+ _globals['_GETCATCHUPRESPONSE']._serialized_start=770
40
+ _globals['_GETCATCHUPRESPONSE']._serialized_end=1124
41
+ # @@protoc_insertion_point(module_scope)