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.
Files changed (291) hide show
  1. google/__init__.py +1 -0
  2. google/api/__init__.py +0 -0
  3. google/api/annotations_pb2.py +27 -0
  4. google/api/annotations_pb2.pyi +29 -0
  5. google/api/annotations_pb2_grpc.py +4 -0
  6. google/api/annotations_pb2_grpc.pyi +30 -0
  7. google/api/field_behavior_pb2.py +30 -0
  8. google/api/field_behavior_pb2.pyi +175 -0
  9. google/api/field_behavior_pb2_grpc.py +4 -0
  10. google/api/field_behavior_pb2_grpc.pyi +30 -0
  11. google/api/http_pb2.py +31 -0
  12. google/api/http_pb2.pyi +433 -0
  13. google/api/http_pb2_grpc.py +4 -0
  14. google/api/http_pb2_grpc.pyi +30 -0
  15. protoc_gen_openapiv2/__init__.py +0 -0
  16. protoc_gen_openapiv2/options/__init__.py +0 -0
  17. protoc_gen_openapiv2/options/annotations_pb2.py +27 -0
  18. protoc_gen_openapiv2/options/annotations_pb2.pyi +48 -0
  19. protoc_gen_openapiv2/options/annotations_pb2_grpc.py +4 -0
  20. protoc_gen_openapiv2/options/annotations_pb2_grpc.pyi +17 -0
  21. protoc_gen_openapiv2/options/openapiv2_pb2.py +132 -0
  22. protoc_gen_openapiv2/options/openapiv2_pb2.pyi +1533 -0
  23. protoc_gen_openapiv2/options/openapiv2_pb2_grpc.py +4 -0
  24. protoc_gen_openapiv2/options/openapiv2_pb2_grpc.pyi +17 -0
  25. sift/__init__.py +0 -0
  26. sift/annotation_logs/__init__.py +0 -0
  27. sift/annotation_logs/v1/__init__.py +0 -0
  28. sift/annotation_logs/v1/annotation_logs_pb2.py +115 -0
  29. sift/annotation_logs/v1/annotation_logs_pb2.pyi +370 -0
  30. sift/annotation_logs/v1/annotation_logs_pb2_grpc.py +135 -0
  31. sift/annotation_logs/v1/annotation_logs_pb2_grpc.pyi +84 -0
  32. sift/annotations/__init__.py +0 -0
  33. sift/annotations/v1/__init__.py +0 -0
  34. sift/annotations/v1/annotations_pb2.py +180 -0
  35. sift/annotations/v1/annotations_pb2.pyi +539 -0
  36. sift/annotations/v1/annotations_pb2_grpc.py +237 -0
  37. sift/annotations/v1/annotations_pb2_grpc.pyi +144 -0
  38. sift/assets/__init__.py +0 -0
  39. sift/assets/v1/__init__.py +0 -0
  40. sift/assets/v1/assets_pb2.py +90 -0
  41. sift/assets/v1/assets_pb2.pyi +235 -0
  42. sift/assets/v1/assets_pb2_grpc.py +168 -0
  43. sift/assets/v1/assets_pb2_grpc.pyi +101 -0
  44. sift/calculated_channels/__init__.py +0 -0
  45. sift/calculated_channels/v1/__init__.py +0 -0
  46. sift/calculated_channels/v1/calculated_channels_pb2.py +99 -0
  47. sift/calculated_channels/v1/calculated_channels_pb2.pyi +280 -0
  48. sift/calculated_channels/v1/calculated_channels_pb2_grpc.py +101 -0
  49. sift/calculated_channels/v1/calculated_channels_pb2_grpc.pyi +64 -0
  50. sift/campaigns/__init__.py +0 -0
  51. sift/campaigns/v1/__init__.py +0 -0
  52. sift/campaigns/v1/campaigns_pb2.py +144 -0
  53. sift/campaigns/v1/campaigns_pb2.pyi +383 -0
  54. sift/campaigns/v1/campaigns_pb2_grpc.py +169 -0
  55. sift/campaigns/v1/campaigns_pb2_grpc.pyi +104 -0
  56. sift/channel_schemas/__init__.py +0 -0
  57. sift/channel_schemas/v1/__init__.py +0 -0
  58. sift/channel_schemas/v1/channel_schemas_pb2.py +69 -0
  59. sift/channel_schemas/v1/channel_schemas_pb2.pyi +117 -0
  60. sift/channel_schemas/v1/channel_schemas_pb2_grpc.py +101 -0
  61. sift/channel_schemas/v1/channel_schemas_pb2_grpc.pyi +64 -0
  62. sift/channels/__init__.py +0 -0
  63. sift/channels/v2/__init__.py +0 -0
  64. sift/channels/v2/channels_pb2.py +88 -0
  65. sift/channels/v2/channels_pb2.pyi +183 -0
  66. sift/channels/v2/channels_pb2_grpc.py +101 -0
  67. sift/channels/v2/channels_pb2_grpc.pyi +64 -0
  68. sift/common/__init__.py +0 -0
  69. sift/common/type/__init__.py +0 -0
  70. sift/common/type/v1/__init__.py +0 -0
  71. sift/common/type/v1/channel_bit_field_element_pb2.py +34 -0
  72. sift/common/type/v1/channel_bit_field_element_pb2.pyi +33 -0
  73. sift/common/type/v1/channel_bit_field_element_pb2_grpc.py +4 -0
  74. sift/common/type/v1/channel_bit_field_element_pb2_grpc.pyi +17 -0
  75. sift/common/type/v1/channel_data_type_pb2.py +29 -0
  76. sift/common/type/v1/channel_data_type_pb2.pyi +50 -0
  77. sift/common/type/v1/channel_data_type_pb2_grpc.py +4 -0
  78. sift/common/type/v1/channel_data_type_pb2_grpc.pyi +17 -0
  79. sift/common/type/v1/channel_enum_type_pb2.py +32 -0
  80. sift/common/type/v1/channel_enum_type_pb2.pyi +29 -0
  81. sift/common/type/v1/channel_enum_type_pb2_grpc.py +4 -0
  82. sift/common/type/v1/channel_enum_type_pb2_grpc.pyi +17 -0
  83. sift/common/type/v1/organization_pb2.py +27 -0
  84. sift/common/type/v1/organization_pb2.pyi +29 -0
  85. sift/common/type/v1/organization_pb2_grpc.py +4 -0
  86. sift/common/type/v1/organization_pb2_grpc.pyi +17 -0
  87. sift/common/type/v1/resource_identifier_pb2.py +46 -0
  88. sift/common/type/v1/resource_identifier_pb2.pyi +145 -0
  89. sift/common/type/v1/resource_identifier_pb2_grpc.py +4 -0
  90. sift/common/type/v1/resource_identifier_pb2_grpc.pyi +17 -0
  91. sift/common/type/v1/user_pb2.py +33 -0
  92. sift/common/type/v1/user_pb2.pyi +36 -0
  93. sift/common/type/v1/user_pb2_grpc.py +4 -0
  94. sift/common/type/v1/user_pb2_grpc.pyi +17 -0
  95. sift/data/__init__.py +0 -0
  96. sift/data/v1/__init__.py +0 -0
  97. sift/data/v1/data_pb2.py +212 -0
  98. sift/data/v1/data_pb2.pyi +745 -0
  99. sift/data/v1/data_pb2_grpc.py +67 -0
  100. sift/data/v1/data_pb2_grpc.pyi +44 -0
  101. sift/ingest/__init__.py +0 -0
  102. sift/ingest/v1/__init__.py +0 -0
  103. sift/ingest/v1/ingest_pb2.py +35 -0
  104. sift/ingest/v1/ingest_pb2.pyi +118 -0
  105. sift/ingest/v1/ingest_pb2_grpc.py +66 -0
  106. sift/ingest/v1/ingest_pb2_grpc.pyi +41 -0
  107. sift/ingestion_configs/__init__.py +0 -0
  108. sift/ingestion_configs/v1/__init__.py +0 -0
  109. sift/ingestion_configs/v1/ingestion_configs_pb2.py +115 -0
  110. sift/ingestion_configs/v1/ingestion_configs_pb2.pyi +332 -0
  111. sift/ingestion_configs/v1/ingestion_configs_pb2_grpc.py +203 -0
  112. sift/ingestion_configs/v1/ingestion_configs_pb2_grpc.pyi +124 -0
  113. sift/notifications/__init__.py +0 -0
  114. sift/notifications/v1/__init__.py +0 -0
  115. sift/notifications/v1/notifications_pb2.py +64 -0
  116. sift/notifications/v1/notifications_pb2.pyi +225 -0
  117. sift/notifications/v1/notifications_pb2_grpc.py +101 -0
  118. sift/notifications/v1/notifications_pb2_grpc.pyi +64 -0
  119. sift/ping/__init__.py +0 -0
  120. sift/ping/v1/__init__.py +0 -0
  121. sift/ping/v1/ping_pb2.py +38 -0
  122. sift/ping/v1/ping_pb2.pyi +36 -0
  123. sift/ping/v1/ping_pb2_grpc.py +66 -0
  124. sift/ping/v1/ping_pb2_grpc.pyi +41 -0
  125. sift/remote_files/__init__.py +0 -0
  126. sift/remote_files/v1/__init__.py +0 -0
  127. sift/remote_files/v1/remote_files_pb2.py +174 -0
  128. sift/remote_files/v1/remote_files_pb2.pyi +472 -0
  129. sift/remote_files/v1/remote_files_pb2_grpc.py +271 -0
  130. sift/remote_files/v1/remote_files_pb2_grpc.pyi +164 -0
  131. sift/report_templates/__init__.py +0 -0
  132. sift/report_templates/v1/__init__.py +0 -0
  133. sift/report_templates/v1/report_templates_pb2.py +146 -0
  134. sift/report_templates/v1/report_templates_pb2.pyi +381 -0
  135. sift/report_templates/v1/report_templates_pb2_grpc.py +169 -0
  136. sift/report_templates/v1/report_templates_pb2_grpc.pyi +104 -0
  137. sift/reports/__init__.py +0 -0
  138. sift/reports/v1/__init__.py +0 -0
  139. sift/reports/v1/reports_pb2.py +193 -0
  140. sift/reports/v1/reports_pb2.pyi +562 -0
  141. sift/reports/v1/reports_pb2_grpc.py +205 -0
  142. sift/reports/v1/reports_pb2_grpc.pyi +136 -0
  143. sift/rule_evaluation/__init__.py +0 -0
  144. sift/rule_evaluation/v1/__init__.py +0 -0
  145. sift/rule_evaluation/v1/rule_evaluation_pb2.py +89 -0
  146. sift/rule_evaluation/v1/rule_evaluation_pb2.pyi +263 -0
  147. sift/rule_evaluation/v1/rule_evaluation_pb2_grpc.py +101 -0
  148. sift/rule_evaluation/v1/rule_evaluation_pb2_grpc.pyi +64 -0
  149. sift/rules/__init__.py +0 -0
  150. sift/rules/v1/__init__.py +0 -0
  151. sift/rules/v1/rules_pb2.py +420 -0
  152. sift/rules/v1/rules_pb2.pyi +1355 -0
  153. sift/rules/v1/rules_pb2_grpc.py +577 -0
  154. sift/rules/v1/rules_pb2_grpc.pyi +351 -0
  155. sift/runs/__init__.py +0 -0
  156. sift/runs/v2/__init__.py +0 -0
  157. sift/runs/v2/runs_pb2.py +150 -0
  158. sift/runs/v2/runs_pb2.pyi +413 -0
  159. sift/runs/v2/runs_pb2_grpc.py +271 -0
  160. sift/runs/v2/runs_pb2_grpc.pyi +164 -0
  161. sift/saved_searches/__init__.py +0 -0
  162. sift/saved_searches/v1/__init__.py +0 -0
  163. sift/saved_searches/v1/saved_searches_pb2.py +144 -0
  164. sift/saved_searches/v1/saved_searches_pb2.pyi +385 -0
  165. sift/saved_searches/v1/saved_searches_pb2_grpc.py +237 -0
  166. sift/saved_searches/v1/saved_searches_pb2_grpc.pyi +144 -0
  167. sift/tags/__init__.py +0 -0
  168. sift/tags/v1/__init__.py +0 -0
  169. sift/tags/v1/tags_pb2.py +49 -0
  170. sift/tags/v1/tags_pb2.pyi +71 -0
  171. sift/tags/v1/tags_pb2_grpc.py +4 -0
  172. sift/tags/v1/tags_pb2_grpc.pyi +17 -0
  173. sift/users/__init__.py +0 -0
  174. sift/users/v2/__init__.py +0 -0
  175. sift/users/v2/users_pb2.py +61 -0
  176. sift/users/v2/users_pb2.pyi +142 -0
  177. sift/users/v2/users_pb2_grpc.py +135 -0
  178. sift/users/v2/users_pb2_grpc.pyi +84 -0
  179. sift/views/__init__.py +0 -0
  180. sift/views/v1/__init__.py +0 -0
  181. sift/views/v1/views_pb2.py +130 -0
  182. sift/views/v1/views_pb2.pyi +466 -0
  183. sift/views/v1/views_pb2_grpc.py +305 -0
  184. sift/views/v1/views_pb2_grpc.pyi +184 -0
  185. sift_grafana/py.typed +0 -0
  186. sift_grafana/sift_query_model.py +64 -0
  187. sift_py/__init__.py +923 -0
  188. sift_py/_internal/__init__.py +5 -0
  189. sift_py/_internal/cel.py +18 -0
  190. sift_py/_internal/channel.py +42 -0
  191. sift_py/_internal/convert/__init__.py +3 -0
  192. sift_py/_internal/convert/json.py +24 -0
  193. sift_py/_internal/convert/protobuf.py +34 -0
  194. sift_py/_internal/convert/timestamp.py +9 -0
  195. sift_py/_internal/test_util/__init__.py +0 -0
  196. sift_py/_internal/test_util/channel.py +136 -0
  197. sift_py/_internal/test_util/fn.py +14 -0
  198. sift_py/_internal/test_util/server_interceptor.py +62 -0
  199. sift_py/_internal/time.py +48 -0
  200. sift_py/_internal/user.py +39 -0
  201. sift_py/data/__init__.py +171 -0
  202. sift_py/data/_channel.py +38 -0
  203. sift_py/data/_deserialize.py +208 -0
  204. sift_py/data/_deserialize_test.py +134 -0
  205. sift_py/data/_service_test.py +276 -0
  206. sift_py/data/_validate.py +10 -0
  207. sift_py/data/error.py +5 -0
  208. sift_py/data/query.py +299 -0
  209. sift_py/data/service.py +497 -0
  210. sift_py/data_import/__init__.py +130 -0
  211. sift_py/data_import/_config.py +167 -0
  212. sift_py/data_import/_config_test.py +166 -0
  213. sift_py/data_import/_csv_test.py +395 -0
  214. sift_py/data_import/_status_test.py +176 -0
  215. sift_py/data_import/_tdms_test.py +238 -0
  216. sift_py/data_import/ch10.py +157 -0
  217. sift_py/data_import/config.py +19 -0
  218. sift_py/data_import/csv.py +259 -0
  219. sift_py/data_import/status.py +113 -0
  220. sift_py/data_import/tdms.py +206 -0
  221. sift_py/data_import/tempfile.py +30 -0
  222. sift_py/data_import/time_format.py +39 -0
  223. sift_py/error.py +11 -0
  224. sift_py/file_attachment/__init__.py +88 -0
  225. sift_py/file_attachment/_internal/__init__.py +0 -0
  226. sift_py/file_attachment/_internal/download.py +13 -0
  227. sift_py/file_attachment/_internal/upload.py +100 -0
  228. sift_py/file_attachment/_service_test.py +161 -0
  229. sift_py/file_attachment/entity.py +30 -0
  230. sift_py/file_attachment/metadata.py +107 -0
  231. sift_py/file_attachment/service.py +142 -0
  232. sift_py/grpc/__init__.py +15 -0
  233. sift_py/grpc/_async_interceptors/__init__.py +0 -0
  234. sift_py/grpc/_async_interceptors/base.py +72 -0
  235. sift_py/grpc/_async_interceptors/metadata.py +36 -0
  236. sift_py/grpc/_interceptors/__init__.py +0 -0
  237. sift_py/grpc/_interceptors/base.py +61 -0
  238. sift_py/grpc/_interceptors/context.py +25 -0
  239. sift_py/grpc/_interceptors/metadata.py +33 -0
  240. sift_py/grpc/_retry.py +70 -0
  241. sift_py/grpc/keepalive.py +34 -0
  242. sift_py/grpc/transport.py +250 -0
  243. sift_py/grpc/transport_test.py +170 -0
  244. sift_py/ingestion/__init__.py +6 -0
  245. sift_py/ingestion/_internal/__init__.py +6 -0
  246. sift_py/ingestion/_internal/channel.py +12 -0
  247. sift_py/ingestion/_internal/error.py +10 -0
  248. sift_py/ingestion/_internal/ingest.py +350 -0
  249. sift_py/ingestion/_internal/ingest_test.py +357 -0
  250. sift_py/ingestion/_internal/ingestion_config.py +130 -0
  251. sift_py/ingestion/_internal/run.py +46 -0
  252. sift_py/ingestion/_service_test.py +478 -0
  253. sift_py/ingestion/buffer.py +189 -0
  254. sift_py/ingestion/channel.py +422 -0
  255. sift_py/ingestion/config/__init__.py +3 -0
  256. sift_py/ingestion/config/telemetry.py +281 -0
  257. sift_py/ingestion/config/telemetry_test.py +405 -0
  258. sift_py/ingestion/config/yaml/__init__.py +0 -0
  259. sift_py/ingestion/config/yaml/error.py +44 -0
  260. sift_py/ingestion/config/yaml/load.py +126 -0
  261. sift_py/ingestion/config/yaml/spec.py +58 -0
  262. sift_py/ingestion/config/yaml/test_load.py +25 -0
  263. sift_py/ingestion/flow.py +73 -0
  264. sift_py/ingestion/manager.py +99 -0
  265. sift_py/ingestion/rule/__init__.py +4 -0
  266. sift_py/ingestion/rule/config.py +11 -0
  267. sift_py/ingestion/service.py +237 -0
  268. sift_py/py.typed +0 -0
  269. sift_py/report_templates/__init__.py +0 -0
  270. sift_py/report_templates/_config_test.py +34 -0
  271. sift_py/report_templates/_service_test.py +94 -0
  272. sift_py/report_templates/config.py +36 -0
  273. sift_py/report_templates/service.py +171 -0
  274. sift_py/rest.py +29 -0
  275. sift_py/rule/__init__.py +0 -0
  276. sift_py/rule/_config_test.py +109 -0
  277. sift_py/rule/_service_test.py +168 -0
  278. sift_py/rule/config.py +229 -0
  279. sift_py/rule/service.py +484 -0
  280. sift_py/yaml/__init__.py +0 -0
  281. sift_py/yaml/_channel_test.py +169 -0
  282. sift_py/yaml/_rule_test.py +207 -0
  283. sift_py/yaml/channel.py +224 -0
  284. sift_py/yaml/report_templates.py +73 -0
  285. sift_py/yaml/rule.py +321 -0
  286. sift_py/yaml/utils.py +15 -0
  287. sift_stack_py-0.3.2.dist-info/LICENSE +7 -0
  288. sift_stack_py-0.3.2.dist-info/METADATA +109 -0
  289. sift_stack_py-0.3.2.dist-info/RECORD +291 -0
  290. sift_stack_py-0.3.2.dist-info/WHEEL +5 -0
  291. sift_stack_py-0.3.2.dist-info/top_level.txt +5 -0
@@ -0,0 +1,466 @@
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.field_mask_pb2
10
+ import google.protobuf.internal.containers
11
+ import google.protobuf.message
12
+ import google.protobuf.timestamp_pb2
13
+ import typing
14
+
15
+ DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
16
+
17
+ @typing.final
18
+ class View(google.protobuf.message.Message):
19
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
20
+
21
+ @typing.final
22
+ class AxisGroups(google.protobuf.message.Message):
23
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
24
+
25
+ LEFT_FIELD_NUMBER: builtins.int
26
+ RIGHT_FIELD_NUMBER: builtins.int
27
+ @property
28
+ def left(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
29
+ @property
30
+ def right(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
31
+ def __init__(
32
+ self,
33
+ *,
34
+ left: collections.abc.Iterable[builtins.str] | None = ...,
35
+ right: collections.abc.Iterable[builtins.str] | None = ...,
36
+ ) -> None: ...
37
+ def ClearField(self, field_name: typing.Literal["left", b"left", "right", b"right"]) -> None: ...
38
+
39
+ @typing.final
40
+ class Channel(google.protobuf.message.Message):
41
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
42
+
43
+ @typing.final
44
+ class CalculatedChannelConfig(google.protobuf.message.Message):
45
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
46
+
47
+ @typing.final
48
+ class ChannelReference(google.protobuf.message.Message):
49
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
50
+
51
+ NAME_FIELD_NUMBER: builtins.int
52
+ COMPONENT_FIELD_NUMBER: builtins.int
53
+ name: builtins.str
54
+ component: builtins.str
55
+ def __init__(
56
+ self,
57
+ *,
58
+ name: builtins.str = ...,
59
+ component: builtins.str = ...,
60
+ ) -> None: ...
61
+ def ClearField(self, field_name: typing.Literal["component", b"component", "name", b"name"]) -> None: ...
62
+
63
+ @typing.final
64
+ class ChannelReferencesEntry(google.protobuf.message.Message):
65
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
66
+
67
+ KEY_FIELD_NUMBER: builtins.int
68
+ VALUE_FIELD_NUMBER: builtins.int
69
+ key: builtins.str
70
+ @property
71
+ def value(self) -> global___View.Channel.CalculatedChannelConfig.ChannelReference: ...
72
+ def __init__(
73
+ self,
74
+ *,
75
+ key: builtins.str = ...,
76
+ value: global___View.Channel.CalculatedChannelConfig.ChannelReference | None = ...,
77
+ ) -> None: ...
78
+ def HasField(self, field_name: typing.Literal["value", b"value"]) -> builtins.bool: ...
79
+ def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
80
+
81
+ CHANNEL_KEY_FIELD_NUMBER: builtins.int
82
+ CHANNEL_REFERENCES_FIELD_NUMBER: builtins.int
83
+ EXPRESSION_FIELD_NUMBER: builtins.int
84
+ UNIT_FIELD_NUMBER: builtins.int
85
+ channel_key: builtins.str
86
+ expression: builtins.str
87
+ unit: builtins.str
88
+ @property
89
+ def channel_references(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, global___View.Channel.CalculatedChannelConfig.ChannelReference]: ...
90
+ def __init__(
91
+ self,
92
+ *,
93
+ channel_key: builtins.str = ...,
94
+ channel_references: collections.abc.Mapping[builtins.str, global___View.Channel.CalculatedChannelConfig.ChannelReference] | None = ...,
95
+ expression: builtins.str = ...,
96
+ unit: builtins.str = ...,
97
+ ) -> None: ...
98
+ def ClearField(self, field_name: typing.Literal["channel_key", b"channel_key", "channel_references", b"channel_references", "expression", b"expression", "unit", b"unit"]) -> None: ...
99
+
100
+ NAME_FIELD_NUMBER: builtins.int
101
+ COMPONENT_FIELD_NUMBER: builtins.int
102
+ DATA_TYPE_FIELD_NUMBER: builtins.int
103
+ AXIS_GROUP_FIELD_NUMBER: builtins.int
104
+ BIT_FIELD_NAMES_FIELD_NUMBER: builtins.int
105
+ CALCULATED_CHANNEL_CONFIG_FIELD_NUMBER: builtins.int
106
+ name: builtins.str
107
+ component: builtins.str
108
+ data_type: builtins.str
109
+ axis_group: builtins.str
110
+ @property
111
+ def bit_field_names(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
112
+ @property
113
+ def calculated_channel_config(self) -> global___View.Channel.CalculatedChannelConfig: ...
114
+ def __init__(
115
+ self,
116
+ *,
117
+ name: builtins.str = ...,
118
+ component: builtins.str = ...,
119
+ data_type: builtins.str = ...,
120
+ axis_group: builtins.str = ...,
121
+ bit_field_names: collections.abc.Iterable[builtins.str] | None = ...,
122
+ calculated_channel_config: global___View.Channel.CalculatedChannelConfig | None = ...,
123
+ ) -> None: ...
124
+ def HasField(self, field_name: typing.Literal["_calculated_channel_config", b"_calculated_channel_config", "calculated_channel_config", b"calculated_channel_config"]) -> builtins.bool: ...
125
+ def ClearField(self, field_name: typing.Literal["_calculated_channel_config", b"_calculated_channel_config", "axis_group", b"axis_group", "bit_field_names", b"bit_field_names", "calculated_channel_config", b"calculated_channel_config", "component", b"component", "data_type", b"data_type", "name", b"name"]) -> None: ...
126
+ def WhichOneof(self, oneof_group: typing.Literal["_calculated_channel_config", b"_calculated_channel_config"]) -> typing.Literal["calculated_channel_config"] | None: ...
127
+
128
+ VIEW_ID_FIELD_NUMBER: builtins.int
129
+ NAME_FIELD_NUMBER: builtins.int
130
+ AXIS_GROUPS_FIELD_NUMBER: builtins.int
131
+ CHANNELS_FIELD_NUMBER: builtins.int
132
+ CREATED_DATE_FIELD_NUMBER: builtins.int
133
+ MODIFIED_DATE_FIELD_NUMBER: builtins.int
134
+ CREATED_BY_USER_ID_FIELD_NUMBER: builtins.int
135
+ ORGANIZATION_ID_FIELD_NUMBER: builtins.int
136
+ MODIFIED_BY_USER_ID_FIELD_NUMBER: builtins.int
137
+ IS_PINNED_FIELD_NUMBER: builtins.int
138
+ view_id: builtins.str
139
+ name: builtins.str
140
+ created_by_user_id: builtins.str
141
+ organization_id: builtins.str
142
+ modified_by_user_id: builtins.str
143
+ is_pinned: builtins.bool
144
+ @property
145
+ def axis_groups(self) -> global___View.AxisGroups: ...
146
+ @property
147
+ def channels(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___View.Channel]: ...
148
+ @property
149
+ def created_date(self) -> google.protobuf.timestamp_pb2.Timestamp: ...
150
+ @property
151
+ def modified_date(self) -> google.protobuf.timestamp_pb2.Timestamp: ...
152
+ def __init__(
153
+ self,
154
+ *,
155
+ view_id: builtins.str = ...,
156
+ name: builtins.str = ...,
157
+ axis_groups: global___View.AxisGroups | None = ...,
158
+ channels: collections.abc.Iterable[global___View.Channel] | None = ...,
159
+ created_date: google.protobuf.timestamp_pb2.Timestamp | None = ...,
160
+ modified_date: google.protobuf.timestamp_pb2.Timestamp | None = ...,
161
+ created_by_user_id: builtins.str = ...,
162
+ organization_id: builtins.str = ...,
163
+ modified_by_user_id: builtins.str = ...,
164
+ is_pinned: builtins.bool = ...,
165
+ ) -> None: ...
166
+ def HasField(self, field_name: typing.Literal["axis_groups", b"axis_groups", "created_date", b"created_date", "modified_date", b"modified_date"]) -> builtins.bool: ...
167
+ def ClearField(self, field_name: typing.Literal["axis_groups", b"axis_groups", "channels", b"channels", "created_by_user_id", b"created_by_user_id", "created_date", b"created_date", "is_pinned", b"is_pinned", "modified_by_user_id", b"modified_by_user_id", "modified_date", b"modified_date", "name", b"name", "organization_id", b"organization_id", "view_id", b"view_id"]) -> None: ...
168
+
169
+ global___View = View
170
+
171
+ @typing.final
172
+ class GetViewRequest(google.protobuf.message.Message):
173
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
174
+
175
+ VIEW_ID_FIELD_NUMBER: builtins.int
176
+ view_id: builtins.str
177
+ def __init__(
178
+ self,
179
+ *,
180
+ view_id: builtins.str = ...,
181
+ ) -> None: ...
182
+ def ClearField(self, field_name: typing.Literal["view_id", b"view_id"]) -> None: ...
183
+
184
+ global___GetViewRequest = GetViewRequest
185
+
186
+ @typing.final
187
+ class GetViewResponse(google.protobuf.message.Message):
188
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
189
+
190
+ VIEW_FIELD_NUMBER: builtins.int
191
+ @property
192
+ def view(self) -> global___View: ...
193
+ def __init__(
194
+ self,
195
+ *,
196
+ view: global___View | None = ...,
197
+ ) -> None: ...
198
+ def HasField(self, field_name: typing.Literal["view", b"view"]) -> builtins.bool: ...
199
+ def ClearField(self, field_name: typing.Literal["view", b"view"]) -> None: ...
200
+
201
+ global___GetViewResponse = GetViewResponse
202
+
203
+ @typing.final
204
+ class CreateViewRequest(google.protobuf.message.Message):
205
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
206
+
207
+ VIEW_FIELD_NUMBER: builtins.int
208
+ @property
209
+ def view(self) -> global___View: ...
210
+ def __init__(
211
+ self,
212
+ *,
213
+ view: global___View | None = ...,
214
+ ) -> None: ...
215
+ def HasField(self, field_name: typing.Literal["view", b"view"]) -> builtins.bool: ...
216
+ def ClearField(self, field_name: typing.Literal["view", b"view"]) -> None: ...
217
+
218
+ global___CreateViewRequest = CreateViewRequest
219
+
220
+ @typing.final
221
+ class CreateViewResponse(google.protobuf.message.Message):
222
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
223
+
224
+ VIEW_FIELD_NUMBER: builtins.int
225
+ @property
226
+ def view(self) -> global___View: ...
227
+ def __init__(
228
+ self,
229
+ *,
230
+ view: global___View | None = ...,
231
+ ) -> None: ...
232
+ def HasField(self, field_name: typing.Literal["view", b"view"]) -> builtins.bool: ...
233
+ def ClearField(self, field_name: typing.Literal["view", b"view"]) -> None: ...
234
+
235
+ global___CreateViewResponse = CreateViewResponse
236
+
237
+ @typing.final
238
+ class UpdateViewRequest(google.protobuf.message.Message):
239
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
240
+
241
+ VIEW_FIELD_NUMBER: builtins.int
242
+ UPDATE_MASK_FIELD_NUMBER: builtins.int
243
+ @property
244
+ def view(self) -> global___View: ...
245
+ @property
246
+ def update_mask(self) -> google.protobuf.field_mask_pb2.FieldMask:
247
+ """The list of fields to update."""
248
+
249
+ def __init__(
250
+ self,
251
+ *,
252
+ view: global___View | None = ...,
253
+ update_mask: google.protobuf.field_mask_pb2.FieldMask | None = ...,
254
+ ) -> None: ...
255
+ def HasField(self, field_name: typing.Literal["update_mask", b"update_mask", "view", b"view"]) -> builtins.bool: ...
256
+ def ClearField(self, field_name: typing.Literal["update_mask", b"update_mask", "view", b"view"]) -> None: ...
257
+
258
+ global___UpdateViewRequest = UpdateViewRequest
259
+
260
+ @typing.final
261
+ class UpdateViewResponse(google.protobuf.message.Message):
262
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
263
+
264
+ VIEW_FIELD_NUMBER: builtins.int
265
+ @property
266
+ def view(self) -> global___View: ...
267
+ def __init__(
268
+ self,
269
+ *,
270
+ view: global___View | None = ...,
271
+ ) -> None: ...
272
+ def HasField(self, field_name: typing.Literal["view", b"view"]) -> builtins.bool: ...
273
+ def ClearField(self, field_name: typing.Literal["view", b"view"]) -> None: ...
274
+
275
+ global___UpdateViewResponse = UpdateViewResponse
276
+
277
+ @typing.final
278
+ class ListViewsRequest(google.protobuf.message.Message):
279
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
280
+
281
+ PAGE_SIZE_FIELD_NUMBER: builtins.int
282
+ PAGE_TOKEN_FIELD_NUMBER: builtins.int
283
+ FILTER_FIELD_NUMBER: builtins.int
284
+ page_size: builtins.int
285
+ """The maximum number of views to return.
286
+ The service may return fewer than this value.
287
+ If unspecified, at most 50 views will be returned.
288
+ The maximum value is 1000; values above 1000 will be coerced to 1000.
289
+ """
290
+ page_token: builtins.str
291
+ """A page token, received from a previous `ListViews` call.
292
+ Provide this to retrieve the subsequent page.
293
+ When paginating, all other parameters provided to `ListViews` must match
294
+ the call that provided the page token.
295
+ """
296
+ filter: builtins.str
297
+ """A [Common Expression Language (CEL)](https://github.com/google/cel-spec) filter string
298
+ Available fields to filter by are 'name', 'createdDate', and 'modifiedDate'.
299
+ For further information about how to use CELs, please refer to [this guide](https://github.com/google/cel-spec/blob/master/doc/langdef.md#standard-definitions).
300
+ For more information about the fields used for filtering, please refer to [this definition](/api/grpc/protocol_buffers/views#view). Optional.
301
+ """
302
+ def __init__(
303
+ self,
304
+ *,
305
+ page_size: builtins.int = ...,
306
+ page_token: builtins.str = ...,
307
+ filter: builtins.str = ...,
308
+ ) -> None: ...
309
+ def ClearField(self, field_name: typing.Literal["filter", b"filter", "page_size", b"page_size", "page_token", b"page_token"]) -> None: ...
310
+
311
+ global___ListViewsRequest = ListViewsRequest
312
+
313
+ @typing.final
314
+ class ListViewsResponse(google.protobuf.message.Message):
315
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
316
+
317
+ VIEWS_FIELD_NUMBER: builtins.int
318
+ NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int
319
+ next_page_token: builtins.str
320
+ """A token, which can be sent as `page_token` to retrieve the next page.
321
+ If this field is omitted, there are no subsequent pages.
322
+ """
323
+ @property
324
+ def views(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___View]: ...
325
+ def __init__(
326
+ self,
327
+ *,
328
+ views: collections.abc.Iterable[global___View] | None = ...,
329
+ next_page_token: builtins.str = ...,
330
+ ) -> None: ...
331
+ def ClearField(self, field_name: typing.Literal["next_page_token", b"next_page_token", "views", b"views"]) -> None: ...
332
+
333
+ global___ListViewsResponse = ListViewsResponse
334
+
335
+ @typing.final
336
+ class ListApplicableViewsRequest(google.protobuf.message.Message):
337
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
338
+
339
+ PAGE_SIZE_FIELD_NUMBER: builtins.int
340
+ PAGE_TOKEN_FIELD_NUMBER: builtins.int
341
+ ASSET_IDS_FIELD_NUMBER: builtins.int
342
+ RUN_IDS_FIELD_NUMBER: builtins.int
343
+ page_size: builtins.int
344
+ """The maximum number of views to return.
345
+ The service may return fewer than this value.
346
+ If unspecified, at most 50 views will be returned.
347
+ The maximum value is 1000; values above 1000 will be coerced to 1000.
348
+ """
349
+ page_token: builtins.str
350
+ """A page token, received from a previous `ListApplicableViews` call.
351
+ Provide this to retrieve the subsequent page.
352
+ When paginating, all other parameters provided to `ListApplicableViews` must match
353
+ the call that provided the page token.
354
+ """
355
+ @property
356
+ def asset_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
357
+ @property
358
+ def run_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
359
+ def __init__(
360
+ self,
361
+ *,
362
+ page_size: builtins.int = ...,
363
+ page_token: builtins.str = ...,
364
+ asset_ids: collections.abc.Iterable[builtins.str] | None = ...,
365
+ run_ids: collections.abc.Iterable[builtins.str] | None = ...,
366
+ ) -> None: ...
367
+ def ClearField(self, field_name: typing.Literal["asset_ids", b"asset_ids", "page_size", b"page_size", "page_token", b"page_token", "run_ids", b"run_ids"]) -> None: ...
368
+
369
+ global___ListApplicableViewsRequest = ListApplicableViewsRequest
370
+
371
+ @typing.final
372
+ class ListApplicableViewsResponse(google.protobuf.message.Message):
373
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
374
+
375
+ VIEWS_FIELD_NUMBER: builtins.int
376
+ NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int
377
+ next_page_token: builtins.str
378
+ """A token, which can be sent as `page_token` to retrieve the next page.
379
+ If this field is omitted, there are no subsequent pages.
380
+ """
381
+ @property
382
+ def views(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___View]: ...
383
+ def __init__(
384
+ self,
385
+ *,
386
+ views: collections.abc.Iterable[global___View] | None = ...,
387
+ next_page_token: builtins.str = ...,
388
+ ) -> None: ...
389
+ def ClearField(self, field_name: typing.Literal["next_page_token", b"next_page_token", "views", b"views"]) -> None: ...
390
+
391
+ global___ListApplicableViewsResponse = ListApplicableViewsResponse
392
+
393
+ @typing.final
394
+ class DeleteViewRequest(google.protobuf.message.Message):
395
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
396
+
397
+ VIEW_ID_FIELD_NUMBER: builtins.int
398
+ view_id: builtins.str
399
+ def __init__(
400
+ self,
401
+ *,
402
+ view_id: builtins.str = ...,
403
+ ) -> None: ...
404
+ def ClearField(self, field_name: typing.Literal["view_id", b"view_id"]) -> None: ...
405
+
406
+ global___DeleteViewRequest = DeleteViewRequest
407
+
408
+ @typing.final
409
+ class DeleteViewResponse(google.protobuf.message.Message):
410
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
411
+
412
+ def __init__(
413
+ self,
414
+ ) -> None: ...
415
+
416
+ global___DeleteViewResponse = DeleteViewResponse
417
+
418
+ @typing.final
419
+ class PinViewRequest(google.protobuf.message.Message):
420
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
421
+
422
+ VIEW_ID_FIELD_NUMBER: builtins.int
423
+ view_id: builtins.str
424
+ def __init__(
425
+ self,
426
+ *,
427
+ view_id: builtins.str = ...,
428
+ ) -> None: ...
429
+ def ClearField(self, field_name: typing.Literal["view_id", b"view_id"]) -> None: ...
430
+
431
+ global___PinViewRequest = PinViewRequest
432
+
433
+ @typing.final
434
+ class PinViewResponse(google.protobuf.message.Message):
435
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
436
+
437
+ def __init__(
438
+ self,
439
+ ) -> None: ...
440
+
441
+ global___PinViewResponse = PinViewResponse
442
+
443
+ @typing.final
444
+ class UnpinViewRequest(google.protobuf.message.Message):
445
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
446
+
447
+ VIEW_ID_FIELD_NUMBER: builtins.int
448
+ view_id: builtins.str
449
+ def __init__(
450
+ self,
451
+ *,
452
+ view_id: builtins.str = ...,
453
+ ) -> None: ...
454
+ def ClearField(self, field_name: typing.Literal["view_id", b"view_id"]) -> None: ...
455
+
456
+ global___UnpinViewRequest = UnpinViewRequest
457
+
458
+ @typing.final
459
+ class UnpinViewResponse(google.protobuf.message.Message):
460
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
461
+
462
+ def __init__(
463
+ self,
464
+ ) -> None: ...
465
+
466
+ global___UnpinViewResponse = UnpinViewResponse