sift-stack-py 0.3.2__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.
- google/__init__.py +1 -0
- google/api/__init__.py +0 -0
- google/api/annotations_pb2.py +27 -0
- google/api/annotations_pb2.pyi +29 -0
- google/api/annotations_pb2_grpc.py +4 -0
- google/api/annotations_pb2_grpc.pyi +30 -0
- google/api/field_behavior_pb2.py +30 -0
- google/api/field_behavior_pb2.pyi +175 -0
- google/api/field_behavior_pb2_grpc.py +4 -0
- google/api/field_behavior_pb2_grpc.pyi +30 -0
- google/api/http_pb2.py +31 -0
- google/api/http_pb2.pyi +433 -0
- google/api/http_pb2_grpc.py +4 -0
- google/api/http_pb2_grpc.pyi +30 -0
- protoc_gen_openapiv2/__init__.py +0 -0
- protoc_gen_openapiv2/options/__init__.py +0 -0
- protoc_gen_openapiv2/options/annotations_pb2.py +27 -0
- protoc_gen_openapiv2/options/annotations_pb2.pyi +48 -0
- protoc_gen_openapiv2/options/annotations_pb2_grpc.py +4 -0
- protoc_gen_openapiv2/options/annotations_pb2_grpc.pyi +17 -0
- protoc_gen_openapiv2/options/openapiv2_pb2.py +132 -0
- protoc_gen_openapiv2/options/openapiv2_pb2.pyi +1533 -0
- protoc_gen_openapiv2/options/openapiv2_pb2_grpc.py +4 -0
- protoc_gen_openapiv2/options/openapiv2_pb2_grpc.pyi +17 -0
- sift/__init__.py +0 -0
- sift/annotation_logs/__init__.py +0 -0
- sift/annotation_logs/v1/__init__.py +0 -0
- sift/annotation_logs/v1/annotation_logs_pb2.py +115 -0
- sift/annotation_logs/v1/annotation_logs_pb2.pyi +370 -0
- sift/annotation_logs/v1/annotation_logs_pb2_grpc.py +135 -0
- sift/annotation_logs/v1/annotation_logs_pb2_grpc.pyi +84 -0
- sift/annotations/__init__.py +0 -0
- sift/annotations/v1/__init__.py +0 -0
- sift/annotations/v1/annotations_pb2.py +180 -0
- sift/annotations/v1/annotations_pb2.pyi +539 -0
- sift/annotations/v1/annotations_pb2_grpc.py +237 -0
- sift/annotations/v1/annotations_pb2_grpc.pyi +144 -0
- sift/assets/__init__.py +0 -0
- sift/assets/v1/__init__.py +0 -0
- sift/assets/v1/assets_pb2.py +90 -0
- sift/assets/v1/assets_pb2.pyi +235 -0
- sift/assets/v1/assets_pb2_grpc.py +168 -0
- sift/assets/v1/assets_pb2_grpc.pyi +101 -0
- sift/calculated_channels/__init__.py +0 -0
- sift/calculated_channels/v1/__init__.py +0 -0
- sift/calculated_channels/v1/calculated_channels_pb2.py +99 -0
- sift/calculated_channels/v1/calculated_channels_pb2.pyi +280 -0
- sift/calculated_channels/v1/calculated_channels_pb2_grpc.py +101 -0
- sift/calculated_channels/v1/calculated_channels_pb2_grpc.pyi +64 -0
- sift/campaigns/__init__.py +0 -0
- sift/campaigns/v1/__init__.py +0 -0
- sift/campaigns/v1/campaigns_pb2.py +144 -0
- sift/campaigns/v1/campaigns_pb2.pyi +383 -0
- sift/campaigns/v1/campaigns_pb2_grpc.py +169 -0
- sift/campaigns/v1/campaigns_pb2_grpc.pyi +104 -0
- sift/channel_schemas/__init__.py +0 -0
- sift/channel_schemas/v1/__init__.py +0 -0
- sift/channel_schemas/v1/channel_schemas_pb2.py +69 -0
- sift/channel_schemas/v1/channel_schemas_pb2.pyi +117 -0
- sift/channel_schemas/v1/channel_schemas_pb2_grpc.py +101 -0
- sift/channel_schemas/v1/channel_schemas_pb2_grpc.pyi +64 -0
- sift/channels/__init__.py +0 -0
- sift/channels/v2/__init__.py +0 -0
- sift/channels/v2/channels_pb2.py +88 -0
- sift/channels/v2/channels_pb2.pyi +183 -0
- sift/channels/v2/channels_pb2_grpc.py +101 -0
- sift/channels/v2/channels_pb2_grpc.pyi +64 -0
- sift/common/__init__.py +0 -0
- sift/common/type/__init__.py +0 -0
- sift/common/type/v1/__init__.py +0 -0
- sift/common/type/v1/channel_bit_field_element_pb2.py +34 -0
- sift/common/type/v1/channel_bit_field_element_pb2.pyi +33 -0
- sift/common/type/v1/channel_bit_field_element_pb2_grpc.py +4 -0
- sift/common/type/v1/channel_bit_field_element_pb2_grpc.pyi +17 -0
- sift/common/type/v1/channel_data_type_pb2.py +29 -0
- sift/common/type/v1/channel_data_type_pb2.pyi +50 -0
- sift/common/type/v1/channel_data_type_pb2_grpc.py +4 -0
- sift/common/type/v1/channel_data_type_pb2_grpc.pyi +17 -0
- sift/common/type/v1/channel_enum_type_pb2.py +32 -0
- sift/common/type/v1/channel_enum_type_pb2.pyi +29 -0
- sift/common/type/v1/channel_enum_type_pb2_grpc.py +4 -0
- sift/common/type/v1/channel_enum_type_pb2_grpc.pyi +17 -0
- sift/common/type/v1/organization_pb2.py +27 -0
- sift/common/type/v1/organization_pb2.pyi +29 -0
- sift/common/type/v1/organization_pb2_grpc.py +4 -0
- sift/common/type/v1/organization_pb2_grpc.pyi +17 -0
- sift/common/type/v1/resource_identifier_pb2.py +46 -0
- sift/common/type/v1/resource_identifier_pb2.pyi +145 -0
- sift/common/type/v1/resource_identifier_pb2_grpc.py +4 -0
- sift/common/type/v1/resource_identifier_pb2_grpc.pyi +17 -0
- sift/common/type/v1/user_pb2.py +33 -0
- sift/common/type/v1/user_pb2.pyi +36 -0
- sift/common/type/v1/user_pb2_grpc.py +4 -0
- sift/common/type/v1/user_pb2_grpc.pyi +17 -0
- sift/data/__init__.py +0 -0
- sift/data/v1/__init__.py +0 -0
- sift/data/v1/data_pb2.py +212 -0
- sift/data/v1/data_pb2.pyi +745 -0
- sift/data/v1/data_pb2_grpc.py +67 -0
- sift/data/v1/data_pb2_grpc.pyi +44 -0
- sift/ingest/__init__.py +0 -0
- sift/ingest/v1/__init__.py +0 -0
- sift/ingest/v1/ingest_pb2.py +35 -0
- sift/ingest/v1/ingest_pb2.pyi +118 -0
- sift/ingest/v1/ingest_pb2_grpc.py +66 -0
- sift/ingest/v1/ingest_pb2_grpc.pyi +41 -0
- sift/ingestion_configs/__init__.py +0 -0
- sift/ingestion_configs/v1/__init__.py +0 -0
- sift/ingestion_configs/v1/ingestion_configs_pb2.py +115 -0
- sift/ingestion_configs/v1/ingestion_configs_pb2.pyi +332 -0
- sift/ingestion_configs/v1/ingestion_configs_pb2_grpc.py +203 -0
- sift/ingestion_configs/v1/ingestion_configs_pb2_grpc.pyi +124 -0
- sift/notifications/__init__.py +0 -0
- sift/notifications/v1/__init__.py +0 -0
- sift/notifications/v1/notifications_pb2.py +64 -0
- sift/notifications/v1/notifications_pb2.pyi +225 -0
- sift/notifications/v1/notifications_pb2_grpc.py +101 -0
- sift/notifications/v1/notifications_pb2_grpc.pyi +64 -0
- sift/ping/__init__.py +0 -0
- sift/ping/v1/__init__.py +0 -0
- sift/ping/v1/ping_pb2.py +38 -0
- sift/ping/v1/ping_pb2.pyi +36 -0
- sift/ping/v1/ping_pb2_grpc.py +66 -0
- sift/ping/v1/ping_pb2_grpc.pyi +41 -0
- sift/remote_files/__init__.py +0 -0
- sift/remote_files/v1/__init__.py +0 -0
- sift/remote_files/v1/remote_files_pb2.py +174 -0
- sift/remote_files/v1/remote_files_pb2.pyi +472 -0
- sift/remote_files/v1/remote_files_pb2_grpc.py +271 -0
- sift/remote_files/v1/remote_files_pb2_grpc.pyi +164 -0
- sift/report_templates/__init__.py +0 -0
- sift/report_templates/v1/__init__.py +0 -0
- sift/report_templates/v1/report_templates_pb2.py +146 -0
- sift/report_templates/v1/report_templates_pb2.pyi +381 -0
- sift/report_templates/v1/report_templates_pb2_grpc.py +169 -0
- sift/report_templates/v1/report_templates_pb2_grpc.pyi +104 -0
- sift/reports/__init__.py +0 -0
- sift/reports/v1/__init__.py +0 -0
- sift/reports/v1/reports_pb2.py +193 -0
- sift/reports/v1/reports_pb2.pyi +562 -0
- sift/reports/v1/reports_pb2_grpc.py +205 -0
- sift/reports/v1/reports_pb2_grpc.pyi +136 -0
- sift/rule_evaluation/__init__.py +0 -0
- sift/rule_evaluation/v1/__init__.py +0 -0
- sift/rule_evaluation/v1/rule_evaluation_pb2.py +89 -0
- sift/rule_evaluation/v1/rule_evaluation_pb2.pyi +263 -0
- sift/rule_evaluation/v1/rule_evaluation_pb2_grpc.py +101 -0
- sift/rule_evaluation/v1/rule_evaluation_pb2_grpc.pyi +64 -0
- sift/rules/__init__.py +0 -0
- sift/rules/v1/__init__.py +0 -0
- sift/rules/v1/rules_pb2.py +420 -0
- sift/rules/v1/rules_pb2.pyi +1355 -0
- sift/rules/v1/rules_pb2_grpc.py +577 -0
- sift/rules/v1/rules_pb2_grpc.pyi +351 -0
- sift/runs/__init__.py +0 -0
- sift/runs/v2/__init__.py +0 -0
- sift/runs/v2/runs_pb2.py +150 -0
- sift/runs/v2/runs_pb2.pyi +413 -0
- sift/runs/v2/runs_pb2_grpc.py +271 -0
- sift/runs/v2/runs_pb2_grpc.pyi +164 -0
- sift/saved_searches/__init__.py +0 -0
- sift/saved_searches/v1/__init__.py +0 -0
- sift/saved_searches/v1/saved_searches_pb2.py +144 -0
- sift/saved_searches/v1/saved_searches_pb2.pyi +385 -0
- sift/saved_searches/v1/saved_searches_pb2_grpc.py +237 -0
- sift/saved_searches/v1/saved_searches_pb2_grpc.pyi +144 -0
- sift/tags/__init__.py +0 -0
- sift/tags/v1/__init__.py +0 -0
- sift/tags/v1/tags_pb2.py +49 -0
- sift/tags/v1/tags_pb2.pyi +71 -0
- sift/tags/v1/tags_pb2_grpc.py +4 -0
- sift/tags/v1/tags_pb2_grpc.pyi +17 -0
- sift/users/__init__.py +0 -0
- sift/users/v2/__init__.py +0 -0
- sift/users/v2/users_pb2.py +61 -0
- sift/users/v2/users_pb2.pyi +142 -0
- sift/users/v2/users_pb2_grpc.py +135 -0
- sift/users/v2/users_pb2_grpc.pyi +84 -0
- sift/views/__init__.py +0 -0
- sift/views/v1/__init__.py +0 -0
- sift/views/v1/views_pb2.py +130 -0
- sift/views/v1/views_pb2.pyi +466 -0
- sift/views/v1/views_pb2_grpc.py +305 -0
- sift/views/v1/views_pb2_grpc.pyi +184 -0
- sift_grafana/py.typed +0 -0
- sift_grafana/sift_query_model.py +64 -0
- sift_py/__init__.py +923 -0
- sift_py/_internal/__init__.py +5 -0
- sift_py/_internal/cel.py +18 -0
- sift_py/_internal/channel.py +42 -0
- sift_py/_internal/convert/__init__.py +3 -0
- sift_py/_internal/convert/json.py +24 -0
- sift_py/_internal/convert/protobuf.py +34 -0
- sift_py/_internal/convert/timestamp.py +9 -0
- sift_py/_internal/test_util/__init__.py +0 -0
- sift_py/_internal/test_util/channel.py +136 -0
- sift_py/_internal/test_util/fn.py +14 -0
- sift_py/_internal/test_util/server_interceptor.py +62 -0
- sift_py/_internal/time.py +48 -0
- sift_py/_internal/user.py +39 -0
- sift_py/data/__init__.py +171 -0
- sift_py/data/_channel.py +38 -0
- sift_py/data/_deserialize.py +208 -0
- sift_py/data/_deserialize_test.py +134 -0
- sift_py/data/_service_test.py +276 -0
- sift_py/data/_validate.py +10 -0
- sift_py/data/error.py +5 -0
- sift_py/data/query.py +299 -0
- sift_py/data/service.py +497 -0
- sift_py/data_import/__init__.py +130 -0
- sift_py/data_import/_config.py +167 -0
- sift_py/data_import/_config_test.py +166 -0
- sift_py/data_import/_csv_test.py +395 -0
- sift_py/data_import/_status_test.py +176 -0
- sift_py/data_import/_tdms_test.py +238 -0
- sift_py/data_import/ch10.py +157 -0
- sift_py/data_import/config.py +19 -0
- sift_py/data_import/csv.py +259 -0
- sift_py/data_import/status.py +113 -0
- sift_py/data_import/tdms.py +206 -0
- sift_py/data_import/tempfile.py +30 -0
- sift_py/data_import/time_format.py +39 -0
- sift_py/error.py +11 -0
- sift_py/file_attachment/__init__.py +88 -0
- sift_py/file_attachment/_internal/__init__.py +0 -0
- sift_py/file_attachment/_internal/download.py +13 -0
- sift_py/file_attachment/_internal/upload.py +100 -0
- sift_py/file_attachment/_service_test.py +161 -0
- sift_py/file_attachment/entity.py +30 -0
- sift_py/file_attachment/metadata.py +107 -0
- sift_py/file_attachment/service.py +142 -0
- sift_py/grpc/__init__.py +15 -0
- sift_py/grpc/_async_interceptors/__init__.py +0 -0
- sift_py/grpc/_async_interceptors/base.py +72 -0
- sift_py/grpc/_async_interceptors/metadata.py +36 -0
- sift_py/grpc/_interceptors/__init__.py +0 -0
- sift_py/grpc/_interceptors/base.py +61 -0
- sift_py/grpc/_interceptors/context.py +25 -0
- sift_py/grpc/_interceptors/metadata.py +33 -0
- sift_py/grpc/_retry.py +70 -0
- sift_py/grpc/keepalive.py +34 -0
- sift_py/grpc/transport.py +250 -0
- sift_py/grpc/transport_test.py +170 -0
- sift_py/ingestion/__init__.py +6 -0
- sift_py/ingestion/_internal/__init__.py +6 -0
- sift_py/ingestion/_internal/channel.py +12 -0
- sift_py/ingestion/_internal/error.py +10 -0
- sift_py/ingestion/_internal/ingest.py +350 -0
- sift_py/ingestion/_internal/ingest_test.py +357 -0
- sift_py/ingestion/_internal/ingestion_config.py +130 -0
- sift_py/ingestion/_internal/run.py +46 -0
- sift_py/ingestion/_service_test.py +478 -0
- sift_py/ingestion/buffer.py +189 -0
- sift_py/ingestion/channel.py +422 -0
- sift_py/ingestion/config/__init__.py +3 -0
- sift_py/ingestion/config/telemetry.py +281 -0
- sift_py/ingestion/config/telemetry_test.py +405 -0
- sift_py/ingestion/config/yaml/__init__.py +0 -0
- sift_py/ingestion/config/yaml/error.py +44 -0
- sift_py/ingestion/config/yaml/load.py +126 -0
- sift_py/ingestion/config/yaml/spec.py +58 -0
- sift_py/ingestion/config/yaml/test_load.py +25 -0
- sift_py/ingestion/flow.py +73 -0
- sift_py/ingestion/manager.py +99 -0
- sift_py/ingestion/rule/__init__.py +4 -0
- sift_py/ingestion/rule/config.py +11 -0
- sift_py/ingestion/service.py +237 -0
- sift_py/py.typed +0 -0
- sift_py/report_templates/__init__.py +0 -0
- sift_py/report_templates/_config_test.py +34 -0
- sift_py/report_templates/_service_test.py +94 -0
- sift_py/report_templates/config.py +36 -0
- sift_py/report_templates/service.py +171 -0
- sift_py/rest.py +29 -0
- sift_py/rule/__init__.py +0 -0
- sift_py/rule/_config_test.py +109 -0
- sift_py/rule/_service_test.py +168 -0
- sift_py/rule/config.py +229 -0
- sift_py/rule/service.py +484 -0
- sift_py/yaml/__init__.py +0 -0
- sift_py/yaml/_channel_test.py +169 -0
- sift_py/yaml/_rule_test.py +207 -0
- sift_py/yaml/channel.py +224 -0
- sift_py/yaml/report_templates.py +73 -0
- sift_py/yaml/rule.py +321 -0
- sift_py/yaml/utils.py +15 -0
- sift_stack_py-0.3.2.dist-info/LICENSE +7 -0
- sift_stack_py-0.3.2.dist-info/METADATA +109 -0
- sift_stack_py-0.3.2.dist-info/RECORD +291 -0
- sift_stack_py-0.3.2.dist-info/WHEEL +5 -0
- sift_stack_py-0.3.2.dist-info/top_level.txt +5 -0
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
import builtins
|
|
7
|
+
import collections.abc
|
|
8
|
+
import google.protobuf.descriptor
|
|
9
|
+
import google.protobuf.internal.containers
|
|
10
|
+
import google.protobuf.message
|
|
11
|
+
import typing
|
|
12
|
+
|
|
13
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
14
|
+
|
|
15
|
+
@typing.final
|
|
16
|
+
class ResourceIdentifier(google.protobuf.message.Message):
|
|
17
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
18
|
+
|
|
19
|
+
ID_FIELD_NUMBER: builtins.int
|
|
20
|
+
CLIENT_KEY_FIELD_NUMBER: builtins.int
|
|
21
|
+
id: builtins.str
|
|
22
|
+
client_key: builtins.str
|
|
23
|
+
def __init__(
|
|
24
|
+
self,
|
|
25
|
+
*,
|
|
26
|
+
id: builtins.str = ...,
|
|
27
|
+
client_key: builtins.str = ...,
|
|
28
|
+
) -> None: ...
|
|
29
|
+
def HasField(self, field_name: typing.Literal["client_key", b"client_key", "id", b"id", "identifier", b"identifier"]) -> builtins.bool: ...
|
|
30
|
+
def ClearField(self, field_name: typing.Literal["client_key", b"client_key", "id", b"id", "identifier", b"identifier"]) -> None: ...
|
|
31
|
+
def WhichOneof(self, oneof_group: typing.Literal["identifier", b"identifier"]) -> typing.Literal["id", "client_key"] | None: ...
|
|
32
|
+
|
|
33
|
+
global___ResourceIdentifier = ResourceIdentifier
|
|
34
|
+
|
|
35
|
+
@typing.final
|
|
36
|
+
class NamedResource(google.protobuf.message.Message):
|
|
37
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
38
|
+
|
|
39
|
+
ID_FIELD_NUMBER: builtins.int
|
|
40
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
41
|
+
id: builtins.str
|
|
42
|
+
name: builtins.str
|
|
43
|
+
def __init__(
|
|
44
|
+
self,
|
|
45
|
+
*,
|
|
46
|
+
id: builtins.str = ...,
|
|
47
|
+
name: builtins.str = ...,
|
|
48
|
+
) -> None: ...
|
|
49
|
+
def HasField(self, field_name: typing.Literal["id", b"id", "name", b"name", "resource", b"resource"]) -> builtins.bool: ...
|
|
50
|
+
def ClearField(self, field_name: typing.Literal["id", b"id", "name", b"name", "resource", b"resource"]) -> None: ...
|
|
51
|
+
def WhichOneof(self, oneof_group: typing.Literal["resource", b"resource"]) -> typing.Literal["id", "name"] | None: ...
|
|
52
|
+
|
|
53
|
+
global___NamedResource = NamedResource
|
|
54
|
+
|
|
55
|
+
@typing.final
|
|
56
|
+
class ResourceIdentifiers(google.protobuf.message.Message):
|
|
57
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
58
|
+
|
|
59
|
+
IDS_FIELD_NUMBER: builtins.int
|
|
60
|
+
CLIENT_KEYS_FIELD_NUMBER: builtins.int
|
|
61
|
+
@property
|
|
62
|
+
def ids(self) -> global___Ids: ...
|
|
63
|
+
@property
|
|
64
|
+
def client_keys(self) -> global___ClientKeys: ...
|
|
65
|
+
def __init__(
|
|
66
|
+
self,
|
|
67
|
+
*,
|
|
68
|
+
ids: global___Ids | None = ...,
|
|
69
|
+
client_keys: global___ClientKeys | None = ...,
|
|
70
|
+
) -> None: ...
|
|
71
|
+
def HasField(self, field_name: typing.Literal["client_keys", b"client_keys", "identifiers", b"identifiers", "ids", b"ids"]) -> builtins.bool: ...
|
|
72
|
+
def ClearField(self, field_name: typing.Literal["client_keys", b"client_keys", "identifiers", b"identifiers", "ids", b"ids"]) -> None: ...
|
|
73
|
+
def WhichOneof(self, oneof_group: typing.Literal["identifiers", b"identifiers"]) -> typing.Literal["ids", "client_keys"] | None: ...
|
|
74
|
+
|
|
75
|
+
global___ResourceIdentifiers = ResourceIdentifiers
|
|
76
|
+
|
|
77
|
+
@typing.final
|
|
78
|
+
class NamedResources(google.protobuf.message.Message):
|
|
79
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
80
|
+
|
|
81
|
+
IDS_FIELD_NUMBER: builtins.int
|
|
82
|
+
NAMES_FIELD_NUMBER: builtins.int
|
|
83
|
+
@property
|
|
84
|
+
def ids(self) -> global___Ids: ...
|
|
85
|
+
@property
|
|
86
|
+
def names(self) -> global___Names: ...
|
|
87
|
+
def __init__(
|
|
88
|
+
self,
|
|
89
|
+
*,
|
|
90
|
+
ids: global___Ids | None = ...,
|
|
91
|
+
names: global___Names | None = ...,
|
|
92
|
+
) -> None: ...
|
|
93
|
+
def HasField(self, field_name: typing.Literal["ids", b"ids", "names", b"names", "resources", b"resources"]) -> builtins.bool: ...
|
|
94
|
+
def ClearField(self, field_name: typing.Literal["ids", b"ids", "names", b"names", "resources", b"resources"]) -> None: ...
|
|
95
|
+
def WhichOneof(self, oneof_group: typing.Literal["resources", b"resources"]) -> typing.Literal["ids", "names"] | None: ...
|
|
96
|
+
|
|
97
|
+
global___NamedResources = NamedResources
|
|
98
|
+
|
|
99
|
+
@typing.final
|
|
100
|
+
class Ids(google.protobuf.message.Message):
|
|
101
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
102
|
+
|
|
103
|
+
IDS_FIELD_NUMBER: builtins.int
|
|
104
|
+
@property
|
|
105
|
+
def ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
|
|
106
|
+
def __init__(
|
|
107
|
+
self,
|
|
108
|
+
*,
|
|
109
|
+
ids: collections.abc.Iterable[builtins.str] | None = ...,
|
|
110
|
+
) -> None: ...
|
|
111
|
+
def ClearField(self, field_name: typing.Literal["ids", b"ids"]) -> None: ...
|
|
112
|
+
|
|
113
|
+
global___Ids = Ids
|
|
114
|
+
|
|
115
|
+
@typing.final
|
|
116
|
+
class ClientKeys(google.protobuf.message.Message):
|
|
117
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
118
|
+
|
|
119
|
+
CLIENT_KEYS_FIELD_NUMBER: builtins.int
|
|
120
|
+
@property
|
|
121
|
+
def client_keys(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
|
|
122
|
+
def __init__(
|
|
123
|
+
self,
|
|
124
|
+
*,
|
|
125
|
+
client_keys: collections.abc.Iterable[builtins.str] | None = ...,
|
|
126
|
+
) -> None: ...
|
|
127
|
+
def ClearField(self, field_name: typing.Literal["client_keys", b"client_keys"]) -> None: ...
|
|
128
|
+
|
|
129
|
+
global___ClientKeys = ClientKeys
|
|
130
|
+
|
|
131
|
+
@typing.final
|
|
132
|
+
class Names(google.protobuf.message.Message):
|
|
133
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
134
|
+
|
|
135
|
+
NAMES_FIELD_NUMBER: builtins.int
|
|
136
|
+
@property
|
|
137
|
+
def names(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
|
|
138
|
+
def __init__(
|
|
139
|
+
self,
|
|
140
|
+
*,
|
|
141
|
+
names: collections.abc.Iterable[builtins.str] | None = ...,
|
|
142
|
+
) -> None: ...
|
|
143
|
+
def ClearField(self, field_name: typing.Literal["names", b"names"]) -> None: ...
|
|
144
|
+
|
|
145
|
+
global___Names = Names
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
import abc
|
|
7
|
+
import collections.abc
|
|
8
|
+
import grpc
|
|
9
|
+
import grpc.aio
|
|
10
|
+
import typing
|
|
11
|
+
|
|
12
|
+
_T = typing.TypeVar("_T")
|
|
13
|
+
|
|
14
|
+
class _MaybeAsyncIterator(collections.abc.AsyncIterator[_T], collections.abc.Iterator[_T], metaclass=abc.ABCMeta): ...
|
|
15
|
+
|
|
16
|
+
class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg]
|
|
17
|
+
...
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: sift/common/type/v1/user.proto
|
|
4
|
+
# Protobuf Python Version: 5.26.1
|
|
5
|
+
"""Generated protocol buffer code."""
|
|
6
|
+
from google.protobuf import descriptor as _descriptor
|
|
7
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
8
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
9
|
+
from google.protobuf.internal import builder as _builder
|
|
10
|
+
# @@protoc_insertion_point(imports)
|
|
11
|
+
|
|
12
|
+
_sym_db = _symbol_database.Default()
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2
|
|
16
|
+
from sift.common.type.v1 import organization_pb2 as sift_dot_common_dot_type_dot_v1_dot_organization__pb2
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1esift/common/type/v1/user.proto\x12\x13sift.common.type.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a&sift/common/type/v1/organization.proto\"\x8f\x01\n\x04User\x12\x1c\n\x07user_id\x18\x01 \x01(\tB\x03\xe0\x41\x02R\x06userId\x12 \n\tuser_name\x18\x02 \x01(\tB\x03\xe0\x41\x02R\x08userName\x12G\n\rorganizations\x18\x03 \x03(\x0b\x32!.sift.common.type.v1.OrganizationR\rorganizationsB\x93\x01\n\x17\x63om.sift.common.type.v1B\tUserProtoP\x01\xa2\x02\x03SCT\xaa\x02\x13Sift.Common.Type.V1\xca\x02\x13Sift\\Common\\Type\\V1\xe2\x02\x1fSift\\Common\\Type\\V1\\GPBMetadata\xea\x02\x16Sift::Common::Type::V1b\x06proto3')
|
|
20
|
+
|
|
21
|
+
_globals = globals()
|
|
22
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
23
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'sift.common.type.v1.user_pb2', _globals)
|
|
24
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
25
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
26
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\027com.sift.common.type.v1B\tUserProtoP\001\242\002\003SCT\252\002\023Sift.Common.Type.V1\312\002\023Sift\\Common\\Type\\V1\342\002\037Sift\\Common\\Type\\V1\\GPBMetadata\352\002\026Sift::Common::Type::V1'
|
|
27
|
+
_globals['_USER'].fields_by_name['user_id']._loaded_options = None
|
|
28
|
+
_globals['_USER'].fields_by_name['user_id']._serialized_options = b'\340A\002'
|
|
29
|
+
_globals['_USER'].fields_by_name['user_name']._loaded_options = None
|
|
30
|
+
_globals['_USER'].fields_by_name['user_name']._serialized_options = b'\340A\002'
|
|
31
|
+
_globals['_USER']._serialized_start=129
|
|
32
|
+
_globals['_USER']._serialized_end=272
|
|
33
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
import builtins
|
|
7
|
+
import collections.abc
|
|
8
|
+
import google.protobuf.descriptor
|
|
9
|
+
import google.protobuf.internal.containers
|
|
10
|
+
import google.protobuf.message
|
|
11
|
+
import sift.common.type.v1.organization_pb2
|
|
12
|
+
import typing
|
|
13
|
+
|
|
14
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
15
|
+
|
|
16
|
+
@typing.final
|
|
17
|
+
class User(google.protobuf.message.Message):
|
|
18
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
19
|
+
|
|
20
|
+
USER_ID_FIELD_NUMBER: builtins.int
|
|
21
|
+
USER_NAME_FIELD_NUMBER: builtins.int
|
|
22
|
+
ORGANIZATIONS_FIELD_NUMBER: builtins.int
|
|
23
|
+
user_id: builtins.str
|
|
24
|
+
user_name: builtins.str
|
|
25
|
+
@property
|
|
26
|
+
def organizations(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[sift.common.type.v1.organization_pb2.Organization]: ...
|
|
27
|
+
def __init__(
|
|
28
|
+
self,
|
|
29
|
+
*,
|
|
30
|
+
user_id: builtins.str = ...,
|
|
31
|
+
user_name: builtins.str = ...,
|
|
32
|
+
organizations: collections.abc.Iterable[sift.common.type.v1.organization_pb2.Organization] | None = ...,
|
|
33
|
+
) -> None: ...
|
|
34
|
+
def ClearField(self, field_name: typing.Literal["organizations", b"organizations", "user_id", b"user_id", "user_name", b"user_name"]) -> None: ...
|
|
35
|
+
|
|
36
|
+
global___User = User
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
import abc
|
|
7
|
+
import collections.abc
|
|
8
|
+
import grpc
|
|
9
|
+
import grpc.aio
|
|
10
|
+
import typing
|
|
11
|
+
|
|
12
|
+
_T = typing.TypeVar("_T")
|
|
13
|
+
|
|
14
|
+
class _MaybeAsyncIterator(collections.abc.AsyncIterator[_T], collections.abc.Iterator[_T], metaclass=abc.ABCMeta): ...
|
|
15
|
+
|
|
16
|
+
class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg]
|
|
17
|
+
...
|
sift/data/__init__.py
ADDED
|
File without changes
|
sift/data/v1/__init__.py
ADDED
|
File without changes
|
sift/data/v1/data_pb2.py
ADDED
|
@@ -0,0 +1,212 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: sift/data/v1/data.proto
|
|
4
|
+
# Protobuf Python Version: 5.26.1
|
|
5
|
+
"""Generated protocol buffer code."""
|
|
6
|
+
from google.protobuf import descriptor as _descriptor
|
|
7
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
8
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
9
|
+
from google.protobuf.internal import builder as _builder
|
|
10
|
+
# @@protoc_insertion_point(imports)
|
|
11
|
+
|
|
12
|
+
_sym_db = _symbol_database.Default()
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
|
|
16
|
+
from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2
|
|
17
|
+
from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2
|
|
18
|
+
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
19
|
+
from protoc_gen_openapiv2.options import annotations_pb2 as protoc__gen__openapiv2_dot_options_dot_annotations__pb2
|
|
20
|
+
from sift.calculated_channels.v1 import calculated_channels_pb2 as sift_dot_calculated__channels_dot_v1_dot_calculated__channels__pb2
|
|
21
|
+
from sift.common.type.v1 import channel_bit_field_element_pb2 as sift_dot_common_dot_type_dot_v1_dot_channel__bit__field__element__pb2
|
|
22
|
+
from sift.common.type.v1 import channel_data_type_pb2 as sift_dot_common_dot_type_dot_v1_dot_channel__data__type__pb2
|
|
23
|
+
from sift.common.type.v1 import channel_enum_type_pb2 as sift_dot_common_dot_type_dot_v1_dot_channel__enum__type__pb2
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x17sift/data/v1/data.proto\x12\x0csift.data.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/protobuf/any.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a.protoc-gen-openapiv2/options/annotations.proto\x1a\x35sift/calculated_channels/v1/calculated_channels.proto\x1a\x33sift/common/type/v1/channel_bit_field_element.proto\x1a+sift/common/type/v1/channel_data_type.proto\x1a+sift/common/type/v1/channel_enum_type.proto\"\x8a\x02\n\x0eGetDataRequest\x12-\n\x07queries\x18\x01 \x03(\x0b\x32\x13.sift.data.v1.QueryR\x07queries\x12\x39\n\nstart_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tstartTime\x12\x35\n\x08\x65nd_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x07\x65ndTime\x12\x1b\n\tsample_ms\x18\x04 \x01(\rR\x08sampleMs\x12\x1b\n\tpage_size\x18\x05 \x01(\rR\x08pageSize\x12\x1d\n\npage_token\x18\x06 \x01(\tR\tpageToken\"\x9f\x01\n\x05Query\x12\x36\n\x07\x63hannel\x18\x01 \x01(\x0b\x32\x1a.sift.data.v1.ChannelQueryH\x00R\x07\x63hannel\x12U\n\x12\x63\x61lculated_channel\x18\x02 \x01(\x0b\x32$.sift.data.v1.CalculatedChannelQueryH\x00R\x11\x63\x61lculatedChannelB\x07\n\x05query\"T\n\x0c\x43hannelQuery\x12\x1d\n\nchannel_id\x18\x01 \x01(\tR\tchannelId\x12\x1a\n\x06run_id\x18\x02 \x01(\tH\x00R\x05runId\x88\x01\x01\x42\t\n\x07_run_id\"\x89\x02\n\x16\x43\x61lculatedChannelQuery\x12$\n\x0b\x63hannel_key\x18\x01 \x01(\tB\x03\xe0\x41\x02R\nchannelKey\x12S\n\nexpression\x18\x02 \x01(\x0b\x32..sift.calculated_channels.v1.ExpressionRequestB\x03\xe0\x41\x02R\nexpression\x12\x1a\n\x06run_id\x18\x03 \x01(\tH\x00R\x05runId\x88\x01\x01\x12\x44\n\x04mode\x18\x04 \x01(\x0e\x32+.sift.calculated_channels.v1.ExpressionModeH\x01R\x04mode\x88\x01\x01\x42\t\n\x07_run_idB\x07\n\x05_mode\"h\n\x0fGetDataResponse\x12&\n\x0fnext_page_token\x18\x01 \x01(\tR\rnextPageToken\x12-\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32\x14.google.protobuf.AnyB\x03\xe0\x41\x02R\x04\x64\x61ta\"\xbf\x06\n\x08Metadata\x12\x46\n\tdata_type\x18\x01 \x01(\x0e\x32$.sift.common.type.v1.ChannelDataTypeB\x03\xe0\x41\x02R\x08\x64\x61taType\x12\"\n\nsampled_ms\x18\x02 \x01(\rB\x03\xe0\x41\x02R\tsampledMs\x12\x37\n\x05\x61sset\x18\x03 \x01(\x0b\x32\x1c.sift.data.v1.Metadata.AssetB\x03\xe0\x41\x02R\x05\x61sset\x12\x31\n\x03run\x18\x04 \x01(\x0b\x32\x1a.sift.data.v1.Metadata.RunH\x00R\x03run\x88\x01\x01\x12=\n\x07\x63hannel\x18\x05 \x01(\x0b\x32\x1e.sift.data.v1.Metadata.ChannelH\x01R\x07\x63hannel\x88\x01\x01\x1a@\n\x05\x41sset\x12\x1e\n\x08\x61sset_id\x18\x01 \x01(\tB\x03\xe0\x41\x02R\x07\x61ssetId\x12\x17\n\x04name\x18\x02 \x01(\tB\x03\xe0\x41\x02R\x04name\x1a:\n\x03Run\x12\x1a\n\x06run_id\x18\x01 \x01(\tB\x03\xe0\x41\x02R\x05runId\x12\x17\n\x04name\x18\x02 \x01(\tB\x03\xe0\x41\x02R\x04name\x1a\x89\x03\n\x07\x43hannel\x12\"\n\nchannel_id\x18\x01 \x01(\tB\x03\xe0\x41\x02R\tchannelId\x12\x1c\n\tcomponent\x18\x02 \x01(\tR\tcomponent\x12\x12\n\x04name\x18\x03 \x01(\tR\x04name\x12\x37\n\x04unit\x18\x04 \x01(\x0b\x32#.sift.data.v1.Metadata.Channel.UnitR\x04unit\x12\x43\n\nenum_types\x18\x05 \x03(\x0b\x32$.sift.common.type.v1.ChannelEnumTypeR\tenumTypes\x12Y\n\x12\x62it_field_elements\x18\x06 \x03(\x0b\x32+.sift.common.type.v1.ChannelBitFieldElementR\x10\x62itFieldElements\x1aO\n\x04Unit\x12\x17\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02R\x04name\x12.\n\x10\x61\x62\x62reviated_name\x18\x02 \x01(\tB\x03\xe0\x41\x02R\x0f\x61\x62\x62reviatedNameB\x06\n\x04_runB\n\n\x08_channel\"g\n\x0b\x44oubleValue\x12=\n\ttimestamp\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02R\ttimestamp\x12\x19\n\x05value\x18\x02 \x01(\x01\x42\x03\xe0\x41\x02R\x05value\"\x7f\n\x0c\x44oubleValues\x12\x37\n\x08metadata\x18\x01 \x01(\x0b\x32\x16.sift.data.v1.MetadataB\x03\xe0\x41\x02R\x08metadata\x12\x36\n\x06values\x18\x02 \x03(\x0b\x32\x19.sift.data.v1.DoubleValueB\x03\xe0\x41\x02R\x06values\"g\n\x0bStringValue\x12=\n\ttimestamp\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02R\ttimestamp\x12\x19\n\x05value\x18\x02 \x01(\tB\x03\xe0\x41\x02R\x05value\"\x7f\n\x0cStringValues\x12\x37\n\x08metadata\x18\x01 \x01(\x0b\x32\x16.sift.data.v1.MetadataB\x03\xe0\x41\x02R\x08metadata\x12\x36\n\x06values\x18\x02 \x03(\x0b\x32\x19.sift.data.v1.StringValueB\x03\xe0\x41\x02R\x06values\"e\n\tEnumValue\x12=\n\ttimestamp\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02R\ttimestamp\x12\x19\n\x05value\x18\x02 \x01(\rB\x03\xe0\x41\x02R\x05value\"{\n\nEnumValues\x12\x37\n\x08metadata\x18\x01 \x01(\x0b\x32\x16.sift.data.v1.MetadataB\x03\xe0\x41\x02R\x08metadata\x12\x34\n\x06values\x18\x02 \x03(\x0b\x32\x17.sift.data.v1.EnumValueB\x03\xe0\x41\x02R\x06values\"i\n\rBitFieldValue\x12=\n\ttimestamp\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02R\ttimestamp\x12\x19\n\x05value\x18\x02 \x01(\rB\x03\xe0\x41\x02R\x05value\"j\n\x15\x42itFieldElementValues\x12\x17\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02R\x04name\x12\x38\n\x06values\x18\x02 \x03(\x0b\x32\x1b.sift.data.v1.BitFieldValueB\x03\xe0\x41\x02R\x06values\"\x8b\x01\n\x0e\x42itFieldValues\x12\x37\n\x08metadata\x18\x01 \x01(\x0b\x32\x16.sift.data.v1.MetadataB\x03\xe0\x41\x02R\x08metadata\x12@\n\x06values\x18\x02 \x03(\x0b\x32#.sift.data.v1.BitFieldElementValuesB\x03\xe0\x41\x02R\x06values\"e\n\tBoolValue\x12=\n\ttimestamp\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02R\ttimestamp\x12\x19\n\x05value\x18\x02 \x01(\x08\x42\x03\xe0\x41\x02R\x05value\"{\n\nBoolValues\x12\x37\n\x08metadata\x18\x01 \x01(\x0b\x32\x16.sift.data.v1.MetadataB\x03\xe0\x41\x02R\x08metadata\x12\x34\n\x06values\x18\x02 \x03(\x0b\x32\x17.sift.data.v1.BoolValueB\x03\xe0\x41\x02R\x06values\"f\n\nFloatValue\x12=\n\ttimestamp\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02R\ttimestamp\x12\x19\n\x05value\x18\x02 \x01(\x02\x42\x03\xe0\x41\x02R\x05value\"}\n\x0b\x46loatValues\x12\x37\n\x08metadata\x18\x01 \x01(\x0b\x32\x16.sift.data.v1.MetadataB\x03\xe0\x41\x02R\x08metadata\x12\x35\n\x06values\x18\x02 \x03(\x0b\x32\x18.sift.data.v1.FloatValueB\x03\xe0\x41\x02R\x06values\"f\n\nInt32Value\x12=\n\ttimestamp\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02R\ttimestamp\x12\x19\n\x05value\x18\x02 \x01(\x05\x42\x03\xe0\x41\x02R\x05value\"}\n\x0bInt32Values\x12\x37\n\x08metadata\x18\x01 \x01(\x0b\x32\x16.sift.data.v1.MetadataB\x03\xe0\x41\x02R\x08metadata\x12\x35\n\x06values\x18\x02 \x03(\x0b\x32\x18.sift.data.v1.Int32ValueB\x03\xe0\x41\x02R\x06values\"g\n\x0bUint32Value\x12=\n\ttimestamp\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02R\ttimestamp\x12\x19\n\x05value\x18\x02 \x01(\rB\x03\xe0\x41\x02R\x05value\"\x7f\n\x0cUint32Values\x12\x37\n\x08metadata\x18\x01 \x01(\x0b\x32\x16.sift.data.v1.MetadataB\x03\xe0\x41\x02R\x08metadata\x12\x36\n\x06values\x18\x02 \x03(\x0b\x32\x19.sift.data.v1.Uint32ValueB\x03\xe0\x41\x02R\x06values\"f\n\nInt64Value\x12=\n\ttimestamp\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02R\ttimestamp\x12\x19\n\x05value\x18\x02 \x01(\x03\x42\x03\xe0\x41\x02R\x05value\"}\n\x0bInt64Values\x12\x37\n\x08metadata\x18\x01 \x01(\x0b\x32\x16.sift.data.v1.MetadataB\x03\xe0\x41\x02R\x08metadata\x12\x35\n\x06values\x18\x02 \x03(\x0b\x32\x18.sift.data.v1.Int64ValueB\x03\xe0\x41\x02R\x06values\"g\n\x0bUint64Value\x12=\n\ttimestamp\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02R\ttimestamp\x12\x19\n\x05value\x18\x02 \x01(\x04\x42\x03\xe0\x41\x02R\x05value\"\x7f\n\x0cUint64Values\x12\x37\n\x08metadata\x18\x01 \x01(\x0b\x32\x16.sift.data.v1.MetadataB\x03\xe0\x41\x02R\x08metadata\x12\x36\n\x06values\x18\x02 \x03(\x0b\x32\x19.sift.data.v1.Uint64ValueB\x03\xe0\x41\x02R\x06values2\xa2\x01\n\x0b\x44\x61taService\x12w\n\x07GetData\x12\x1c.sift.data.v1.GetDataRequest\x1a\x1d.sift.data.v1.GetDataResponse\"/\x92\x41\x15\x12\x07GetData\x1a\nQuery data\x82\xd3\xe4\x93\x02\x11\"\x0c/api/v1/data:\x01*\x1a\x1a\x92\x41\x17\x12\x15Service to query dataB\x82\x01\n\x10\x63om.sift.data.v1B\tDataProtoP\x01\xa2\x02\x03SDX\xaa\x02\x0cSift.Data.V1\xca\x02\x0cSift\\Data\\V1\xe2\x02\x18Sift\\Data\\V1\\GPBMetadata\xea\x02\x0eSift::Data::V1\x92\x41\x10\x12\x0e\n\x0c\x44\x61ta Serviceb\x06proto3')
|
|
27
|
+
|
|
28
|
+
_globals = globals()
|
|
29
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
30
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'sift.data.v1.data_pb2', _globals)
|
|
31
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
32
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
33
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\020com.sift.data.v1B\tDataProtoP\001\242\002\003SDX\252\002\014Sift.Data.V1\312\002\014Sift\\Data\\V1\342\002\030Sift\\Data\\V1\\GPBMetadata\352\002\016Sift::Data::V1\222A\020\022\016\n\014Data Service'
|
|
34
|
+
_globals['_CALCULATEDCHANNELQUERY'].fields_by_name['channel_key']._loaded_options = None
|
|
35
|
+
_globals['_CALCULATEDCHANNELQUERY'].fields_by_name['channel_key']._serialized_options = b'\340A\002'
|
|
36
|
+
_globals['_CALCULATEDCHANNELQUERY'].fields_by_name['expression']._loaded_options = None
|
|
37
|
+
_globals['_CALCULATEDCHANNELQUERY'].fields_by_name['expression']._serialized_options = b'\340A\002'
|
|
38
|
+
_globals['_GETDATARESPONSE'].fields_by_name['data']._loaded_options = None
|
|
39
|
+
_globals['_GETDATARESPONSE'].fields_by_name['data']._serialized_options = b'\340A\002'
|
|
40
|
+
_globals['_METADATA_ASSET'].fields_by_name['asset_id']._loaded_options = None
|
|
41
|
+
_globals['_METADATA_ASSET'].fields_by_name['asset_id']._serialized_options = b'\340A\002'
|
|
42
|
+
_globals['_METADATA_ASSET'].fields_by_name['name']._loaded_options = None
|
|
43
|
+
_globals['_METADATA_ASSET'].fields_by_name['name']._serialized_options = b'\340A\002'
|
|
44
|
+
_globals['_METADATA_RUN'].fields_by_name['run_id']._loaded_options = None
|
|
45
|
+
_globals['_METADATA_RUN'].fields_by_name['run_id']._serialized_options = b'\340A\002'
|
|
46
|
+
_globals['_METADATA_RUN'].fields_by_name['name']._loaded_options = None
|
|
47
|
+
_globals['_METADATA_RUN'].fields_by_name['name']._serialized_options = b'\340A\002'
|
|
48
|
+
_globals['_METADATA_CHANNEL_UNIT'].fields_by_name['name']._loaded_options = None
|
|
49
|
+
_globals['_METADATA_CHANNEL_UNIT'].fields_by_name['name']._serialized_options = b'\340A\002'
|
|
50
|
+
_globals['_METADATA_CHANNEL_UNIT'].fields_by_name['abbreviated_name']._loaded_options = None
|
|
51
|
+
_globals['_METADATA_CHANNEL_UNIT'].fields_by_name['abbreviated_name']._serialized_options = b'\340A\002'
|
|
52
|
+
_globals['_METADATA_CHANNEL'].fields_by_name['channel_id']._loaded_options = None
|
|
53
|
+
_globals['_METADATA_CHANNEL'].fields_by_name['channel_id']._serialized_options = b'\340A\002'
|
|
54
|
+
_globals['_METADATA'].fields_by_name['data_type']._loaded_options = None
|
|
55
|
+
_globals['_METADATA'].fields_by_name['data_type']._serialized_options = b'\340A\002'
|
|
56
|
+
_globals['_METADATA'].fields_by_name['sampled_ms']._loaded_options = None
|
|
57
|
+
_globals['_METADATA'].fields_by_name['sampled_ms']._serialized_options = b'\340A\002'
|
|
58
|
+
_globals['_METADATA'].fields_by_name['asset']._loaded_options = None
|
|
59
|
+
_globals['_METADATA'].fields_by_name['asset']._serialized_options = b'\340A\002'
|
|
60
|
+
_globals['_DOUBLEVALUE'].fields_by_name['timestamp']._loaded_options = None
|
|
61
|
+
_globals['_DOUBLEVALUE'].fields_by_name['timestamp']._serialized_options = b'\340A\002'
|
|
62
|
+
_globals['_DOUBLEVALUE'].fields_by_name['value']._loaded_options = None
|
|
63
|
+
_globals['_DOUBLEVALUE'].fields_by_name['value']._serialized_options = b'\340A\002'
|
|
64
|
+
_globals['_DOUBLEVALUES'].fields_by_name['metadata']._loaded_options = None
|
|
65
|
+
_globals['_DOUBLEVALUES'].fields_by_name['metadata']._serialized_options = b'\340A\002'
|
|
66
|
+
_globals['_DOUBLEVALUES'].fields_by_name['values']._loaded_options = None
|
|
67
|
+
_globals['_DOUBLEVALUES'].fields_by_name['values']._serialized_options = b'\340A\002'
|
|
68
|
+
_globals['_STRINGVALUE'].fields_by_name['timestamp']._loaded_options = None
|
|
69
|
+
_globals['_STRINGVALUE'].fields_by_name['timestamp']._serialized_options = b'\340A\002'
|
|
70
|
+
_globals['_STRINGVALUE'].fields_by_name['value']._loaded_options = None
|
|
71
|
+
_globals['_STRINGVALUE'].fields_by_name['value']._serialized_options = b'\340A\002'
|
|
72
|
+
_globals['_STRINGVALUES'].fields_by_name['metadata']._loaded_options = None
|
|
73
|
+
_globals['_STRINGVALUES'].fields_by_name['metadata']._serialized_options = b'\340A\002'
|
|
74
|
+
_globals['_STRINGVALUES'].fields_by_name['values']._loaded_options = None
|
|
75
|
+
_globals['_STRINGVALUES'].fields_by_name['values']._serialized_options = b'\340A\002'
|
|
76
|
+
_globals['_ENUMVALUE'].fields_by_name['timestamp']._loaded_options = None
|
|
77
|
+
_globals['_ENUMVALUE'].fields_by_name['timestamp']._serialized_options = b'\340A\002'
|
|
78
|
+
_globals['_ENUMVALUE'].fields_by_name['value']._loaded_options = None
|
|
79
|
+
_globals['_ENUMVALUE'].fields_by_name['value']._serialized_options = b'\340A\002'
|
|
80
|
+
_globals['_ENUMVALUES'].fields_by_name['metadata']._loaded_options = None
|
|
81
|
+
_globals['_ENUMVALUES'].fields_by_name['metadata']._serialized_options = b'\340A\002'
|
|
82
|
+
_globals['_ENUMVALUES'].fields_by_name['values']._loaded_options = None
|
|
83
|
+
_globals['_ENUMVALUES'].fields_by_name['values']._serialized_options = b'\340A\002'
|
|
84
|
+
_globals['_BITFIELDVALUE'].fields_by_name['timestamp']._loaded_options = None
|
|
85
|
+
_globals['_BITFIELDVALUE'].fields_by_name['timestamp']._serialized_options = b'\340A\002'
|
|
86
|
+
_globals['_BITFIELDVALUE'].fields_by_name['value']._loaded_options = None
|
|
87
|
+
_globals['_BITFIELDVALUE'].fields_by_name['value']._serialized_options = b'\340A\002'
|
|
88
|
+
_globals['_BITFIELDELEMENTVALUES'].fields_by_name['name']._loaded_options = None
|
|
89
|
+
_globals['_BITFIELDELEMENTVALUES'].fields_by_name['name']._serialized_options = b'\340A\002'
|
|
90
|
+
_globals['_BITFIELDELEMENTVALUES'].fields_by_name['values']._loaded_options = None
|
|
91
|
+
_globals['_BITFIELDELEMENTVALUES'].fields_by_name['values']._serialized_options = b'\340A\002'
|
|
92
|
+
_globals['_BITFIELDVALUES'].fields_by_name['metadata']._loaded_options = None
|
|
93
|
+
_globals['_BITFIELDVALUES'].fields_by_name['metadata']._serialized_options = b'\340A\002'
|
|
94
|
+
_globals['_BITFIELDVALUES'].fields_by_name['values']._loaded_options = None
|
|
95
|
+
_globals['_BITFIELDVALUES'].fields_by_name['values']._serialized_options = b'\340A\002'
|
|
96
|
+
_globals['_BOOLVALUE'].fields_by_name['timestamp']._loaded_options = None
|
|
97
|
+
_globals['_BOOLVALUE'].fields_by_name['timestamp']._serialized_options = b'\340A\002'
|
|
98
|
+
_globals['_BOOLVALUE'].fields_by_name['value']._loaded_options = None
|
|
99
|
+
_globals['_BOOLVALUE'].fields_by_name['value']._serialized_options = b'\340A\002'
|
|
100
|
+
_globals['_BOOLVALUES'].fields_by_name['metadata']._loaded_options = None
|
|
101
|
+
_globals['_BOOLVALUES'].fields_by_name['metadata']._serialized_options = b'\340A\002'
|
|
102
|
+
_globals['_BOOLVALUES'].fields_by_name['values']._loaded_options = None
|
|
103
|
+
_globals['_BOOLVALUES'].fields_by_name['values']._serialized_options = b'\340A\002'
|
|
104
|
+
_globals['_FLOATVALUE'].fields_by_name['timestamp']._loaded_options = None
|
|
105
|
+
_globals['_FLOATVALUE'].fields_by_name['timestamp']._serialized_options = b'\340A\002'
|
|
106
|
+
_globals['_FLOATVALUE'].fields_by_name['value']._loaded_options = None
|
|
107
|
+
_globals['_FLOATVALUE'].fields_by_name['value']._serialized_options = b'\340A\002'
|
|
108
|
+
_globals['_FLOATVALUES'].fields_by_name['metadata']._loaded_options = None
|
|
109
|
+
_globals['_FLOATVALUES'].fields_by_name['metadata']._serialized_options = b'\340A\002'
|
|
110
|
+
_globals['_FLOATVALUES'].fields_by_name['values']._loaded_options = None
|
|
111
|
+
_globals['_FLOATVALUES'].fields_by_name['values']._serialized_options = b'\340A\002'
|
|
112
|
+
_globals['_INT32VALUE'].fields_by_name['timestamp']._loaded_options = None
|
|
113
|
+
_globals['_INT32VALUE'].fields_by_name['timestamp']._serialized_options = b'\340A\002'
|
|
114
|
+
_globals['_INT32VALUE'].fields_by_name['value']._loaded_options = None
|
|
115
|
+
_globals['_INT32VALUE'].fields_by_name['value']._serialized_options = b'\340A\002'
|
|
116
|
+
_globals['_INT32VALUES'].fields_by_name['metadata']._loaded_options = None
|
|
117
|
+
_globals['_INT32VALUES'].fields_by_name['metadata']._serialized_options = b'\340A\002'
|
|
118
|
+
_globals['_INT32VALUES'].fields_by_name['values']._loaded_options = None
|
|
119
|
+
_globals['_INT32VALUES'].fields_by_name['values']._serialized_options = b'\340A\002'
|
|
120
|
+
_globals['_UINT32VALUE'].fields_by_name['timestamp']._loaded_options = None
|
|
121
|
+
_globals['_UINT32VALUE'].fields_by_name['timestamp']._serialized_options = b'\340A\002'
|
|
122
|
+
_globals['_UINT32VALUE'].fields_by_name['value']._loaded_options = None
|
|
123
|
+
_globals['_UINT32VALUE'].fields_by_name['value']._serialized_options = b'\340A\002'
|
|
124
|
+
_globals['_UINT32VALUES'].fields_by_name['metadata']._loaded_options = None
|
|
125
|
+
_globals['_UINT32VALUES'].fields_by_name['metadata']._serialized_options = b'\340A\002'
|
|
126
|
+
_globals['_UINT32VALUES'].fields_by_name['values']._loaded_options = None
|
|
127
|
+
_globals['_UINT32VALUES'].fields_by_name['values']._serialized_options = b'\340A\002'
|
|
128
|
+
_globals['_INT64VALUE'].fields_by_name['timestamp']._loaded_options = None
|
|
129
|
+
_globals['_INT64VALUE'].fields_by_name['timestamp']._serialized_options = b'\340A\002'
|
|
130
|
+
_globals['_INT64VALUE'].fields_by_name['value']._loaded_options = None
|
|
131
|
+
_globals['_INT64VALUE'].fields_by_name['value']._serialized_options = b'\340A\002'
|
|
132
|
+
_globals['_INT64VALUES'].fields_by_name['metadata']._loaded_options = None
|
|
133
|
+
_globals['_INT64VALUES'].fields_by_name['metadata']._serialized_options = b'\340A\002'
|
|
134
|
+
_globals['_INT64VALUES'].fields_by_name['values']._loaded_options = None
|
|
135
|
+
_globals['_INT64VALUES'].fields_by_name['values']._serialized_options = b'\340A\002'
|
|
136
|
+
_globals['_UINT64VALUE'].fields_by_name['timestamp']._loaded_options = None
|
|
137
|
+
_globals['_UINT64VALUE'].fields_by_name['timestamp']._serialized_options = b'\340A\002'
|
|
138
|
+
_globals['_UINT64VALUE'].fields_by_name['value']._loaded_options = None
|
|
139
|
+
_globals['_UINT64VALUE'].fields_by_name['value']._serialized_options = b'\340A\002'
|
|
140
|
+
_globals['_UINT64VALUES'].fields_by_name['metadata']._loaded_options = None
|
|
141
|
+
_globals['_UINT64VALUES'].fields_by_name['metadata']._serialized_options = b'\340A\002'
|
|
142
|
+
_globals['_UINT64VALUES'].fields_by_name['values']._loaded_options = None
|
|
143
|
+
_globals['_UINT64VALUES'].fields_by_name['values']._serialized_options = b'\340A\002'
|
|
144
|
+
_globals['_DATASERVICE']._loaded_options = None
|
|
145
|
+
_globals['_DATASERVICE']._serialized_options = b'\222A\027\022\025Service to query data'
|
|
146
|
+
_globals['_DATASERVICE'].methods_by_name['GetData']._loaded_options = None
|
|
147
|
+
_globals['_DATASERVICE'].methods_by_name['GetData']._serialized_options = b'\222A\025\022\007GetData\032\nQuery data\202\323\344\223\002\021\"\014/api/v1/data:\001*'
|
|
148
|
+
_globals['_GETDATAREQUEST']._serialized_start=411
|
|
149
|
+
_globals['_GETDATAREQUEST']._serialized_end=677
|
|
150
|
+
_globals['_QUERY']._serialized_start=680
|
|
151
|
+
_globals['_QUERY']._serialized_end=839
|
|
152
|
+
_globals['_CHANNELQUERY']._serialized_start=841
|
|
153
|
+
_globals['_CHANNELQUERY']._serialized_end=925
|
|
154
|
+
_globals['_CALCULATEDCHANNELQUERY']._serialized_start=928
|
|
155
|
+
_globals['_CALCULATEDCHANNELQUERY']._serialized_end=1193
|
|
156
|
+
_globals['_GETDATARESPONSE']._serialized_start=1195
|
|
157
|
+
_globals['_GETDATARESPONSE']._serialized_end=1299
|
|
158
|
+
_globals['_METADATA']._serialized_start=1302
|
|
159
|
+
_globals['_METADATA']._serialized_end=2133
|
|
160
|
+
_globals['_METADATA_ASSET']._serialized_start=1593
|
|
161
|
+
_globals['_METADATA_ASSET']._serialized_end=1657
|
|
162
|
+
_globals['_METADATA_RUN']._serialized_start=1659
|
|
163
|
+
_globals['_METADATA_RUN']._serialized_end=1717
|
|
164
|
+
_globals['_METADATA_CHANNEL']._serialized_start=1720
|
|
165
|
+
_globals['_METADATA_CHANNEL']._serialized_end=2113
|
|
166
|
+
_globals['_METADATA_CHANNEL_UNIT']._serialized_start=2034
|
|
167
|
+
_globals['_METADATA_CHANNEL_UNIT']._serialized_end=2113
|
|
168
|
+
_globals['_DOUBLEVALUE']._serialized_start=2135
|
|
169
|
+
_globals['_DOUBLEVALUE']._serialized_end=2238
|
|
170
|
+
_globals['_DOUBLEVALUES']._serialized_start=2240
|
|
171
|
+
_globals['_DOUBLEVALUES']._serialized_end=2367
|
|
172
|
+
_globals['_STRINGVALUE']._serialized_start=2369
|
|
173
|
+
_globals['_STRINGVALUE']._serialized_end=2472
|
|
174
|
+
_globals['_STRINGVALUES']._serialized_start=2474
|
|
175
|
+
_globals['_STRINGVALUES']._serialized_end=2601
|
|
176
|
+
_globals['_ENUMVALUE']._serialized_start=2603
|
|
177
|
+
_globals['_ENUMVALUE']._serialized_end=2704
|
|
178
|
+
_globals['_ENUMVALUES']._serialized_start=2706
|
|
179
|
+
_globals['_ENUMVALUES']._serialized_end=2829
|
|
180
|
+
_globals['_BITFIELDVALUE']._serialized_start=2831
|
|
181
|
+
_globals['_BITFIELDVALUE']._serialized_end=2936
|
|
182
|
+
_globals['_BITFIELDELEMENTVALUES']._serialized_start=2938
|
|
183
|
+
_globals['_BITFIELDELEMENTVALUES']._serialized_end=3044
|
|
184
|
+
_globals['_BITFIELDVALUES']._serialized_start=3047
|
|
185
|
+
_globals['_BITFIELDVALUES']._serialized_end=3186
|
|
186
|
+
_globals['_BOOLVALUE']._serialized_start=3188
|
|
187
|
+
_globals['_BOOLVALUE']._serialized_end=3289
|
|
188
|
+
_globals['_BOOLVALUES']._serialized_start=3291
|
|
189
|
+
_globals['_BOOLVALUES']._serialized_end=3414
|
|
190
|
+
_globals['_FLOATVALUE']._serialized_start=3416
|
|
191
|
+
_globals['_FLOATVALUE']._serialized_end=3518
|
|
192
|
+
_globals['_FLOATVALUES']._serialized_start=3520
|
|
193
|
+
_globals['_FLOATVALUES']._serialized_end=3645
|
|
194
|
+
_globals['_INT32VALUE']._serialized_start=3647
|
|
195
|
+
_globals['_INT32VALUE']._serialized_end=3749
|
|
196
|
+
_globals['_INT32VALUES']._serialized_start=3751
|
|
197
|
+
_globals['_INT32VALUES']._serialized_end=3876
|
|
198
|
+
_globals['_UINT32VALUE']._serialized_start=3878
|
|
199
|
+
_globals['_UINT32VALUE']._serialized_end=3981
|
|
200
|
+
_globals['_UINT32VALUES']._serialized_start=3983
|
|
201
|
+
_globals['_UINT32VALUES']._serialized_end=4110
|
|
202
|
+
_globals['_INT64VALUE']._serialized_start=4112
|
|
203
|
+
_globals['_INT64VALUE']._serialized_end=4214
|
|
204
|
+
_globals['_INT64VALUES']._serialized_start=4216
|
|
205
|
+
_globals['_INT64VALUES']._serialized_end=4341
|
|
206
|
+
_globals['_UINT64VALUE']._serialized_start=4343
|
|
207
|
+
_globals['_UINT64VALUE']._serialized_end=4446
|
|
208
|
+
_globals['_UINT64VALUES']._serialized_start=4448
|
|
209
|
+
_globals['_UINT64VALUES']._serialized_end=4575
|
|
210
|
+
_globals['_DATASERVICE']._serialized_start=4578
|
|
211
|
+
_globals['_DATASERVICE']._serialized_end=4740
|
|
212
|
+
# @@protoc_insertion_point(module_scope)
|