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,135 @@
|
|
|
1
|
+
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
|
2
|
+
"""Client and server classes corresponding to protobuf-defined services."""
|
|
3
|
+
import grpc
|
|
4
|
+
|
|
5
|
+
from sift.annotation_logs.v1 import annotation_logs_pb2 as sift_dot_annotation__logs_dot_v1_dot_annotation__logs__pb2
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class AnnotationLogServiceStub(object):
|
|
9
|
+
"""Missing associated documentation comment in .proto file."""
|
|
10
|
+
|
|
11
|
+
def __init__(self, channel):
|
|
12
|
+
"""Constructor.
|
|
13
|
+
|
|
14
|
+
Args:
|
|
15
|
+
channel: A grpc.Channel.
|
|
16
|
+
"""
|
|
17
|
+
self.CreateAnnotationLog = channel.unary_unary(
|
|
18
|
+
'/sift.annotation_logs.v1.AnnotationLogService/CreateAnnotationLog',
|
|
19
|
+
request_serializer=sift_dot_annotation__logs_dot_v1_dot_annotation__logs__pb2.CreateAnnotationLogRequest.SerializeToString,
|
|
20
|
+
response_deserializer=sift_dot_annotation__logs_dot_v1_dot_annotation__logs__pb2.CreateAnnotationLogResponse.FromString,
|
|
21
|
+
)
|
|
22
|
+
self.ListAnnotationLogs = channel.unary_unary(
|
|
23
|
+
'/sift.annotation_logs.v1.AnnotationLogService/ListAnnotationLogs',
|
|
24
|
+
request_serializer=sift_dot_annotation__logs_dot_v1_dot_annotation__logs__pb2.ListAnnotationLogsRequest.SerializeToString,
|
|
25
|
+
response_deserializer=sift_dot_annotation__logs_dot_v1_dot_annotation__logs__pb2.ListAnnotationLogsResponse.FromString,
|
|
26
|
+
)
|
|
27
|
+
self.DeleteAnnotationLog = channel.unary_unary(
|
|
28
|
+
'/sift.annotation_logs.v1.AnnotationLogService/DeleteAnnotationLog',
|
|
29
|
+
request_serializer=sift_dot_annotation__logs_dot_v1_dot_annotation__logs__pb2.DeleteAnnotationLogRequest.SerializeToString,
|
|
30
|
+
response_deserializer=sift_dot_annotation__logs_dot_v1_dot_annotation__logs__pb2.DeleteAnnotationLogResponse.FromString,
|
|
31
|
+
)
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
class AnnotationLogServiceServicer(object):
|
|
35
|
+
"""Missing associated documentation comment in .proto file."""
|
|
36
|
+
|
|
37
|
+
def CreateAnnotationLog(self, request, context):
|
|
38
|
+
"""Creates an annotation log on an annotation.
|
|
39
|
+
"""
|
|
40
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
41
|
+
context.set_details('Method not implemented!')
|
|
42
|
+
raise NotImplementedError('Method not implemented!')
|
|
43
|
+
|
|
44
|
+
def ListAnnotationLogs(self, request, context):
|
|
45
|
+
"""Retrieves annotation logs using an optional filter.
|
|
46
|
+
"""
|
|
47
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
48
|
+
context.set_details('Method not implemented!')
|
|
49
|
+
raise NotImplementedError('Method not implemented!')
|
|
50
|
+
|
|
51
|
+
def DeleteAnnotationLog(self, request, context):
|
|
52
|
+
"""Deletes an annotation log.
|
|
53
|
+
"""
|
|
54
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
55
|
+
context.set_details('Method not implemented!')
|
|
56
|
+
raise NotImplementedError('Method not implemented!')
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
def add_AnnotationLogServiceServicer_to_server(servicer, server):
|
|
60
|
+
rpc_method_handlers = {
|
|
61
|
+
'CreateAnnotationLog': grpc.unary_unary_rpc_method_handler(
|
|
62
|
+
servicer.CreateAnnotationLog,
|
|
63
|
+
request_deserializer=sift_dot_annotation__logs_dot_v1_dot_annotation__logs__pb2.CreateAnnotationLogRequest.FromString,
|
|
64
|
+
response_serializer=sift_dot_annotation__logs_dot_v1_dot_annotation__logs__pb2.CreateAnnotationLogResponse.SerializeToString,
|
|
65
|
+
),
|
|
66
|
+
'ListAnnotationLogs': grpc.unary_unary_rpc_method_handler(
|
|
67
|
+
servicer.ListAnnotationLogs,
|
|
68
|
+
request_deserializer=sift_dot_annotation__logs_dot_v1_dot_annotation__logs__pb2.ListAnnotationLogsRequest.FromString,
|
|
69
|
+
response_serializer=sift_dot_annotation__logs_dot_v1_dot_annotation__logs__pb2.ListAnnotationLogsResponse.SerializeToString,
|
|
70
|
+
),
|
|
71
|
+
'DeleteAnnotationLog': grpc.unary_unary_rpc_method_handler(
|
|
72
|
+
servicer.DeleteAnnotationLog,
|
|
73
|
+
request_deserializer=sift_dot_annotation__logs_dot_v1_dot_annotation__logs__pb2.DeleteAnnotationLogRequest.FromString,
|
|
74
|
+
response_serializer=sift_dot_annotation__logs_dot_v1_dot_annotation__logs__pb2.DeleteAnnotationLogResponse.SerializeToString,
|
|
75
|
+
),
|
|
76
|
+
}
|
|
77
|
+
generic_handler = grpc.method_handlers_generic_handler(
|
|
78
|
+
'sift.annotation_logs.v1.AnnotationLogService', rpc_method_handlers)
|
|
79
|
+
server.add_generic_rpc_handlers((generic_handler,))
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
# This class is part of an EXPERIMENTAL API.
|
|
83
|
+
class AnnotationLogService(object):
|
|
84
|
+
"""Missing associated documentation comment in .proto file."""
|
|
85
|
+
|
|
86
|
+
@staticmethod
|
|
87
|
+
def CreateAnnotationLog(request,
|
|
88
|
+
target,
|
|
89
|
+
options=(),
|
|
90
|
+
channel_credentials=None,
|
|
91
|
+
call_credentials=None,
|
|
92
|
+
insecure=False,
|
|
93
|
+
compression=None,
|
|
94
|
+
wait_for_ready=None,
|
|
95
|
+
timeout=None,
|
|
96
|
+
metadata=None):
|
|
97
|
+
return grpc.experimental.unary_unary(request, target, '/sift.annotation_logs.v1.AnnotationLogService/CreateAnnotationLog',
|
|
98
|
+
sift_dot_annotation__logs_dot_v1_dot_annotation__logs__pb2.CreateAnnotationLogRequest.SerializeToString,
|
|
99
|
+
sift_dot_annotation__logs_dot_v1_dot_annotation__logs__pb2.CreateAnnotationLogResponse.FromString,
|
|
100
|
+
options, channel_credentials,
|
|
101
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
102
|
+
|
|
103
|
+
@staticmethod
|
|
104
|
+
def ListAnnotationLogs(request,
|
|
105
|
+
target,
|
|
106
|
+
options=(),
|
|
107
|
+
channel_credentials=None,
|
|
108
|
+
call_credentials=None,
|
|
109
|
+
insecure=False,
|
|
110
|
+
compression=None,
|
|
111
|
+
wait_for_ready=None,
|
|
112
|
+
timeout=None,
|
|
113
|
+
metadata=None):
|
|
114
|
+
return grpc.experimental.unary_unary(request, target, '/sift.annotation_logs.v1.AnnotationLogService/ListAnnotationLogs',
|
|
115
|
+
sift_dot_annotation__logs_dot_v1_dot_annotation__logs__pb2.ListAnnotationLogsRequest.SerializeToString,
|
|
116
|
+
sift_dot_annotation__logs_dot_v1_dot_annotation__logs__pb2.ListAnnotationLogsResponse.FromString,
|
|
117
|
+
options, channel_credentials,
|
|
118
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
119
|
+
|
|
120
|
+
@staticmethod
|
|
121
|
+
def DeleteAnnotationLog(request,
|
|
122
|
+
target,
|
|
123
|
+
options=(),
|
|
124
|
+
channel_credentials=None,
|
|
125
|
+
call_credentials=None,
|
|
126
|
+
insecure=False,
|
|
127
|
+
compression=None,
|
|
128
|
+
wait_for_ready=None,
|
|
129
|
+
timeout=None,
|
|
130
|
+
metadata=None):
|
|
131
|
+
return grpc.experimental.unary_unary(request, target, '/sift.annotation_logs.v1.AnnotationLogService/DeleteAnnotationLog',
|
|
132
|
+
sift_dot_annotation__logs_dot_v1_dot_annotation__logs__pb2.DeleteAnnotationLogRequest.SerializeToString,
|
|
133
|
+
sift_dot_annotation__logs_dot_v1_dot_annotation__logs__pb2.DeleteAnnotationLogResponse.FromString,
|
|
134
|
+
options, channel_credentials,
|
|
135
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
@@ -0,0 +1,84 @@
|
|
|
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 sift.annotation_logs.v1.annotation_logs_pb2
|
|
11
|
+
import typing
|
|
12
|
+
|
|
13
|
+
_T = typing.TypeVar("_T")
|
|
14
|
+
|
|
15
|
+
class _MaybeAsyncIterator(collections.abc.AsyncIterator[_T], collections.abc.Iterator[_T], metaclass=abc.ABCMeta): ...
|
|
16
|
+
|
|
17
|
+
class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg]
|
|
18
|
+
...
|
|
19
|
+
|
|
20
|
+
class AnnotationLogServiceStub:
|
|
21
|
+
def __init__(self, channel: typing.Union[grpc.Channel, grpc.aio.Channel]) -> None: ...
|
|
22
|
+
CreateAnnotationLog: grpc.UnaryUnaryMultiCallable[
|
|
23
|
+
sift.annotation_logs.v1.annotation_logs_pb2.CreateAnnotationLogRequest,
|
|
24
|
+
sift.annotation_logs.v1.annotation_logs_pb2.CreateAnnotationLogResponse,
|
|
25
|
+
]
|
|
26
|
+
"""Creates an annotation log on an annotation."""
|
|
27
|
+
|
|
28
|
+
ListAnnotationLogs: grpc.UnaryUnaryMultiCallable[
|
|
29
|
+
sift.annotation_logs.v1.annotation_logs_pb2.ListAnnotationLogsRequest,
|
|
30
|
+
sift.annotation_logs.v1.annotation_logs_pb2.ListAnnotationLogsResponse,
|
|
31
|
+
]
|
|
32
|
+
"""Retrieves annotation logs using an optional filter."""
|
|
33
|
+
|
|
34
|
+
DeleteAnnotationLog: grpc.UnaryUnaryMultiCallable[
|
|
35
|
+
sift.annotation_logs.v1.annotation_logs_pb2.DeleteAnnotationLogRequest,
|
|
36
|
+
sift.annotation_logs.v1.annotation_logs_pb2.DeleteAnnotationLogResponse,
|
|
37
|
+
]
|
|
38
|
+
"""Deletes an annotation log."""
|
|
39
|
+
|
|
40
|
+
class AnnotationLogServiceAsyncStub:
|
|
41
|
+
CreateAnnotationLog: grpc.aio.UnaryUnaryMultiCallable[
|
|
42
|
+
sift.annotation_logs.v1.annotation_logs_pb2.CreateAnnotationLogRequest,
|
|
43
|
+
sift.annotation_logs.v1.annotation_logs_pb2.CreateAnnotationLogResponse,
|
|
44
|
+
]
|
|
45
|
+
"""Creates an annotation log on an annotation."""
|
|
46
|
+
|
|
47
|
+
ListAnnotationLogs: grpc.aio.UnaryUnaryMultiCallable[
|
|
48
|
+
sift.annotation_logs.v1.annotation_logs_pb2.ListAnnotationLogsRequest,
|
|
49
|
+
sift.annotation_logs.v1.annotation_logs_pb2.ListAnnotationLogsResponse,
|
|
50
|
+
]
|
|
51
|
+
"""Retrieves annotation logs using an optional filter."""
|
|
52
|
+
|
|
53
|
+
DeleteAnnotationLog: grpc.aio.UnaryUnaryMultiCallable[
|
|
54
|
+
sift.annotation_logs.v1.annotation_logs_pb2.DeleteAnnotationLogRequest,
|
|
55
|
+
sift.annotation_logs.v1.annotation_logs_pb2.DeleteAnnotationLogResponse,
|
|
56
|
+
]
|
|
57
|
+
"""Deletes an annotation log."""
|
|
58
|
+
|
|
59
|
+
class AnnotationLogServiceServicer(metaclass=abc.ABCMeta):
|
|
60
|
+
@abc.abstractmethod
|
|
61
|
+
def CreateAnnotationLog(
|
|
62
|
+
self,
|
|
63
|
+
request: sift.annotation_logs.v1.annotation_logs_pb2.CreateAnnotationLogRequest,
|
|
64
|
+
context: _ServicerContext,
|
|
65
|
+
) -> typing.Union[sift.annotation_logs.v1.annotation_logs_pb2.CreateAnnotationLogResponse, collections.abc.Awaitable[sift.annotation_logs.v1.annotation_logs_pb2.CreateAnnotationLogResponse]]:
|
|
66
|
+
"""Creates an annotation log on an annotation."""
|
|
67
|
+
|
|
68
|
+
@abc.abstractmethod
|
|
69
|
+
def ListAnnotationLogs(
|
|
70
|
+
self,
|
|
71
|
+
request: sift.annotation_logs.v1.annotation_logs_pb2.ListAnnotationLogsRequest,
|
|
72
|
+
context: _ServicerContext,
|
|
73
|
+
) -> typing.Union[sift.annotation_logs.v1.annotation_logs_pb2.ListAnnotationLogsResponse, collections.abc.Awaitable[sift.annotation_logs.v1.annotation_logs_pb2.ListAnnotationLogsResponse]]:
|
|
74
|
+
"""Retrieves annotation logs using an optional filter."""
|
|
75
|
+
|
|
76
|
+
@abc.abstractmethod
|
|
77
|
+
def DeleteAnnotationLog(
|
|
78
|
+
self,
|
|
79
|
+
request: sift.annotation_logs.v1.annotation_logs_pb2.DeleteAnnotationLogRequest,
|
|
80
|
+
context: _ServicerContext,
|
|
81
|
+
) -> typing.Union[sift.annotation_logs.v1.annotation_logs_pb2.DeleteAnnotationLogResponse, collections.abc.Awaitable[sift.annotation_logs.v1.annotation_logs_pb2.DeleteAnnotationLogResponse]]:
|
|
82
|
+
"""Deletes an annotation log."""
|
|
83
|
+
|
|
84
|
+
def add_AnnotationLogServiceServicer_to_server(servicer: AnnotationLogServiceServicer, server: typing.Union[grpc.Server, grpc.aio.Server]) -> None: ...
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: sift/annotations/v1/annotations.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 field_mask_pb2 as google_dot_protobuf_dot_field__mask__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
|
+
|
|
21
|
+
|
|
22
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%sift/annotations/v1/annotations.proto\x12\x13sift.annotations.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a.protoc-gen-openapiv2/options/annotations.proto\"\xa6\t\n\nAnnotation\x12(\n\rannotation_id\x18\x01 \x01(\tB\x03\xe0\x41\x02R\x0c\x61nnotationId\x12\x17\n\x04name\x18\x02 \x01(\tB\x03\xe0\x41\x02R\x04name\x12%\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x03\xe0\x41\x02R\x0b\x64\x65scription\x12>\n\nstart_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02R\tstartTime\x12:\n\x08\x65nd_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02R\x07\x65ndTime\x12\x30\n\x12\x63reated_by_user_id\x18\x06 \x01(\tB\x03\xe0\x41\x02R\x0f\x63reatedByUserId\x12\x32\n\x13modified_by_user_id\x18\x07 \x01(\tB\x03\xe0\x41\x02R\x10modifiedByUserId\x12\x42\n\x0c\x63reated_date\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02R\x0b\x63reatedDate\x12\x44\n\rmodified_date\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02R\x0cmodifiedDate\x12\x1f\n\x06run_id\x18\n \x01(\tB\x03\xe0\x41\x01H\x00R\x05runId\x88\x01\x01\x12\x44\n\x05state\x18\x0b \x01(\x0e\x32$.sift.annotations.v1.AnnotationStateB\x03\xe0\x41\x01H\x01R\x05state\x88\x01\x01\x12,\n\x0forganization_id\x18\x0c \x01(\tB\x03\xe0\x41\x02R\x0eorganizationId\x12\x32\n\x13\x61ssigned_to_user_id\x18\r \x01(\tB\x03\xe0\x41\x01R\x10\x61ssignedToUserId\x12Q\n\x0f\x61nnotation_type\x18\x0e \x01(\x0e\x32#.sift.annotations.v1.AnnotationTypeB\x03\xe0\x41\x02R\x0e\x61nnotationType\x12\x17\n\x04tags\x18\x0f \x03(\tB\x03\xe0\x41\x02R\x04tags\x12-\n\rlegend_config\x18\x10 \x01(\tB\x03\xe0\x41\x01H\x02R\x0clegendConfig\x88\x01\x01\x12?\n\x17\x63reated_by_condition_id\x18\x11 \x01(\tB\x03\xe0\x41\x01H\x03R\x14\x63reatedByConditionId\x88\x01\x01\x12W\n$created_by_rule_condition_version_id\x18\x12 \x01(\tB\x03\xe0\x41\x01H\x04R\x1f\x63reatedByRuleConditionVersionId\x88\x01\x01\x12=\n\x16report_rule_version_id\x18\x13 \x01(\tB\x03\xe0\x41\x01H\x05R\x13reportRuleVersionId\x88\x01\x01\x42\t\n\x07_run_idB\x08\n\x06_stateB\x10\n\x0e_legend_configB\x1a\n\x18_created_by_condition_idB\'\n%_created_by_rule_condition_version_idB\x19\n\x17_report_rule_version_id\"E\n\x1f\x41nnotationLinkedChannelsChannel\x12\"\n\nchannel_id\x18\x01 \x01(\tB\x03\xe0\x41\x02R\tchannelId\"x\n\'AnnotationLinkedChannelsBitFieldElement\x12\"\n\nchannel_id\x18\x01 \x01(\tB\x03\xe0\x41\x02R\tchannelId\x12)\n\x0e\x62it_field_name\x18\x02 \x01(\tB\x03\xe0\x41\x02R\x0c\x62itFieldName\"\xdf\x01\n\x17\x41nnotationLinkedChannel\x12P\n\x07\x63hannel\x18\x01 \x01(\x0b\x32\x34.sift.annotations.v1.AnnotationLinkedChannelsChannelH\x00R\x07\x63hannel\x12j\n\x11\x62it_field_element\x18\x02 \x01(\x0b\x32<.sift.annotations.v1.AnnotationLinkedChannelsBitFieldElementH\x00R\x0f\x62itFieldElementB\x06\n\x04type\"\xcf\x07\n\x17\x43reateAnnotationRequest\x12\x17\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02R\x04name\x12%\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x03\xe0\x41\x01R\x0b\x64\x65scription\x12>\n\nstart_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02R\tstartTime\x12:\n\x08\x65nd_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02R\x07\x65ndTime\x12\x1b\n\x06\x61ssets\x18\x05 \x03(\tB\x03\xe0\x41\x01R\x06\x61ssets\x12Z\n\x0flinked_channels\x18\x06 \x03(\x0b\x32,.sift.annotations.v1.AnnotationLinkedChannelB\x03\xe0\x41\x01R\x0elinkedChannels\x12\x17\n\x04tags\x18\x07 \x03(\tB\x03\xe0\x41\x01R\x04tags\x12\x1f\n\x06run_id\x18\x08 \x01(\tB\x03\xe0\x41\x01H\x00R\x05runId\x88\x01\x01\x12\x33\n\x11\x61ssign_to_user_id\x18\t \x01(\tB\x03\xe0\x41\x01H\x01R\x0e\x61ssignToUserId\x88\x01\x01\x12,\n\x0forganization_id\x18\n \x01(\tB\x03\xe0\x41\x01R\x0eorganizationId\x12\x44\n\x05state\x18\x0b \x01(\x0e\x32$.sift.annotations.v1.AnnotationStateB\x03\xe0\x41\x01H\x02R\x05state\x88\x01\x01\x12Q\n\x0f\x61nnotation_type\x18\x0c \x01(\x0e\x32#.sift.annotations.v1.AnnotationTypeB\x03\xe0\x41\x01R\x0e\x61nnotationType\x12?\n\x17\x63reated_by_condition_id\x18\x0e \x01(\tB\x03\xe0\x41\x01H\x03R\x14\x63reatedByConditionId\x88\x01\x01\x12-\n\rlegend_config\x18\r \x01(\tB\x03\xe0\x41\x01H\x04R\x0clegendConfig\x88\x01\x01\x12W\n$created_by_rule_condition_version_id\x18\x0f \x01(\tB\x03\xe0\x41\x01H\x05R\x1f\x63reatedByRuleConditionVersionId\x88\x01\x01\x42\t\n\x07_run_idB\x14\n\x12_assign_to_user_idB\x08\n\x06_stateB\x1a\n\x18_created_by_condition_idB\x10\n\x0e_legend_configB\'\n%_created_by_rule_condition_version_id\"`\n\x18\x43reateAnnotationResponse\x12\x44\n\nannotation\x18\x01 \x01(\x0b\x32\x1f.sift.annotations.v1.AnnotationB\x03\xe0\x41\x02R\nannotation\"C\n\x17\x44\x65leteAnnotationRequest\x12(\n\rannotation_id\x18\x01 \x01(\tB\x03\xe0\x41\x02R\x0c\x61nnotationId\"\x1a\n\x18\x44\x65leteAnnotationResponse\"K\n\x1d\x42\x61tchDeleteAnnotationsRequest\x12*\n\x0e\x61nnotation_ids\x18\x01 \x03(\tB\x03\xe0\x41\x02R\rannotationIds\" \n\x1e\x42\x61tchDeleteAnnotationsResponse\"@\n\x14GetAnnotationRequest\x12(\n\rannotation_id\x18\x01 \x01(\tB\x03\xe0\x41\x02R\x0c\x61nnotationId\"]\n\x15GetAnnotationResponse\x12\x44\n\nannotation\x18\x01 \x01(\x0b\x32\x1f.sift.annotations.v1.AnnotationB\x03\xe0\x41\x02R\nannotation\"\xc9\x01\n\x16ListAnnotationsRequest\x12 \n\tpage_size\x18\x01 \x01(\rB\x03\xe0\x41\x01R\x08pageSize\x12\"\n\npage_token\x18\x02 \x01(\tB\x03\xe0\x41\x01R\tpageToken\x12\x1b\n\x06\x66ilter\x18\x03 \x01(\tB\x03\xe0\x41\x01R\x06\x66ilter\x12,\n\x0forganization_id\x18\x04 \x01(\tB\x03\xe0\x41\x01R\x0eorganizationId\x12\x1e\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01R\x07orderBy\"\x84\x01\n\x17ListAnnotationsResponse\x12\x41\n\x0b\x61nnotations\x18\x01 \x03(\x0b\x32\x1f.sift.annotations.v1.AnnotationR\x0b\x61nnotations\x12&\n\x0fnext_page_token\x18\x05 \x01(\tR\rnextPageToken\"\xa1\x01\n\x17UpdateAnnotationRequest\x12\x44\n\nannotation\x18\x01 \x01(\x0b\x32\x1f.sift.annotations.v1.AnnotationB\x03\xe0\x41\x02R\nannotation\x12@\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02R\nupdateMask\"[\n\x18UpdateAnnotationResponse\x12?\n\nannotation\x18\x01 \x01(\x0b\x32\x1f.sift.annotations.v1.AnnotationR\nannotation*\x8b\x01\n\x0f\x41nnotationState\x12 \n\x1c\x41NNOTATION_STATE_UNSPECIFIED\x10\x00\x12\x19\n\x15\x41NNOTATION_STATE_OPEN\x10\x01\x12\x1c\n\x18\x41NNOTATION_STATE_FLAGGED\x10\x02\x12\x1d\n\x19\x41NNOTATION_STATE_RESOLVED\x10\x03*m\n\x0e\x41nnotationType\x12\x1f\n\x1b\x41NNOTATION_TYPE_UNSPECIFIED\x10\x00\x12\x1f\n\x1b\x41NNOTATION_TYPE_DATA_REVIEW\x10\x01\x12\x19\n\x15\x41NNOTATION_TYPE_PHASE\x10\x02\x32\xcf\x0b\n\x11\x41nnotationService\x12\xbc\x01\n\x10\x43reateAnnotation\x12,.sift.annotations.v1.CreateAnnotationRequest\x1a-.sift.annotations.v1.CreateAnnotationResponse\"K\x92\x41*\x12\x10\x43reateAnnotation\x1a\x16\x43reates an annotation.\x82\xd3\xe4\x93\x02\x18\"\x13/api/v1/annotations:\x01*\x12\xc9\x01\n\x10\x44\x65leteAnnotation\x12,.sift.annotations.v1.DeleteAnnotationRequest\x1a-.sift.annotations.v1.DeleteAnnotationResponse\"X\x92\x41*\x12\x10\x44\x65leteAnnotation\x1a\x16\x44\x65letes an annotation.\x82\xd3\xe4\x93\x02%*#/api/v1/annotations/{annotation_id}\x12\xe3\x01\n\x16\x42\x61tchDeleteAnnotations\x12\x32.sift.annotations.v1.BatchDeleteAnnotationsRequest\x1a\x33.sift.annotations.v1.BatchDeleteAnnotationsResponse\"`\x92\x41\x33\x12\x15\x42\x61tchDeleteAnnotation\x1a\x1a\x42\x61tch deletes annotations.\x82\xd3\xe4\x93\x02$\"\x1f/api/v1/annotations:batchDelete:\x01*\x12\xcd\x01\n\x0fListAnnotations\x12+.sift.annotations.v1.ListAnnotationsRequest\x1a,.sift.annotations.v1.ListAnnotationsResponse\"_\x92\x41\x41\x12\x0eListAnnotation\x1a/Retrieves annotations using an optional filter.\x82\xd3\xe4\x93\x02\x15\x12\x13/api/v1/annotations\x12\xbe\x01\n\rGetAnnotation\x12).sift.annotations.v1.GetAnnotationRequest\x1a*.sift.annotations.v1.GetAnnotationResponse\"V\x92\x41(\x12\rGetAnnotation\x1a\x17Retrieves an annotation\x82\xd3\xe4\x93\x02%\x12#/api/v1/annotations/{annotation_id}\x12\x80\x02\n\x10UpdateAnnotation\x12,.sift.annotations.v1.UpdateAnnotationRequest\x1a-.sift.annotations.v1.UpdateAnnotationResponse\"\x8e\x01\x92\x41m\x12\x10UpdateAnnotation\x1aYUpdates an existing annotation using using the list of fields specified in `update_mask`.\x82\xd3\xe4\x93\x02\x18\x32\x13/api/v1/annotations:\x01*\x1a\xb4\x01\x92\x41\xb0\x01\x12\x36Service to programmatically interact with annotations.\x1av\n\x1cRead more about annotations.\x12Vhttps://customer.support.siftstack.com/servicedesk/customer/portal/2/article/265486685B\xb2\x01\n\x17\x63om.sift.annotations.v1B\x10\x41nnotationsProtoP\x01\xa2\x02\x03SAX\xaa\x02\x13Sift.Annotations.V1\xca\x02\x13Sift\\Annotations\\V1\xe2\x02\x1fSift\\Annotations\\V1\\GPBMetadata\xea\x02\x15Sift::Annotations::V1\x92\x41\x16\x12\x14\n\x12\x41nnotation Serviceb\x06proto3')
|
|
23
|
+
|
|
24
|
+
_globals = globals()
|
|
25
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
26
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'sift.annotations.v1.annotations_pb2', _globals)
|
|
27
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
28
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
29
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\027com.sift.annotations.v1B\020AnnotationsProtoP\001\242\002\003SAX\252\002\023Sift.Annotations.V1\312\002\023Sift\\Annotations\\V1\342\002\037Sift\\Annotations\\V1\\GPBMetadata\352\002\025Sift::Annotations::V1\222A\026\022\024\n\022Annotation Service'
|
|
30
|
+
_globals['_ANNOTATION'].fields_by_name['annotation_id']._loaded_options = None
|
|
31
|
+
_globals['_ANNOTATION'].fields_by_name['annotation_id']._serialized_options = b'\340A\002'
|
|
32
|
+
_globals['_ANNOTATION'].fields_by_name['name']._loaded_options = None
|
|
33
|
+
_globals['_ANNOTATION'].fields_by_name['name']._serialized_options = b'\340A\002'
|
|
34
|
+
_globals['_ANNOTATION'].fields_by_name['description']._loaded_options = None
|
|
35
|
+
_globals['_ANNOTATION'].fields_by_name['description']._serialized_options = b'\340A\002'
|
|
36
|
+
_globals['_ANNOTATION'].fields_by_name['start_time']._loaded_options = None
|
|
37
|
+
_globals['_ANNOTATION'].fields_by_name['start_time']._serialized_options = b'\340A\002'
|
|
38
|
+
_globals['_ANNOTATION'].fields_by_name['end_time']._loaded_options = None
|
|
39
|
+
_globals['_ANNOTATION'].fields_by_name['end_time']._serialized_options = b'\340A\002'
|
|
40
|
+
_globals['_ANNOTATION'].fields_by_name['created_by_user_id']._loaded_options = None
|
|
41
|
+
_globals['_ANNOTATION'].fields_by_name['created_by_user_id']._serialized_options = b'\340A\002'
|
|
42
|
+
_globals['_ANNOTATION'].fields_by_name['modified_by_user_id']._loaded_options = None
|
|
43
|
+
_globals['_ANNOTATION'].fields_by_name['modified_by_user_id']._serialized_options = b'\340A\002'
|
|
44
|
+
_globals['_ANNOTATION'].fields_by_name['created_date']._loaded_options = None
|
|
45
|
+
_globals['_ANNOTATION'].fields_by_name['created_date']._serialized_options = b'\340A\002'
|
|
46
|
+
_globals['_ANNOTATION'].fields_by_name['modified_date']._loaded_options = None
|
|
47
|
+
_globals['_ANNOTATION'].fields_by_name['modified_date']._serialized_options = b'\340A\002'
|
|
48
|
+
_globals['_ANNOTATION'].fields_by_name['run_id']._loaded_options = None
|
|
49
|
+
_globals['_ANNOTATION'].fields_by_name['run_id']._serialized_options = b'\340A\001'
|
|
50
|
+
_globals['_ANNOTATION'].fields_by_name['state']._loaded_options = None
|
|
51
|
+
_globals['_ANNOTATION'].fields_by_name['state']._serialized_options = b'\340A\001'
|
|
52
|
+
_globals['_ANNOTATION'].fields_by_name['organization_id']._loaded_options = None
|
|
53
|
+
_globals['_ANNOTATION'].fields_by_name['organization_id']._serialized_options = b'\340A\002'
|
|
54
|
+
_globals['_ANNOTATION'].fields_by_name['assigned_to_user_id']._loaded_options = None
|
|
55
|
+
_globals['_ANNOTATION'].fields_by_name['assigned_to_user_id']._serialized_options = b'\340A\001'
|
|
56
|
+
_globals['_ANNOTATION'].fields_by_name['annotation_type']._loaded_options = None
|
|
57
|
+
_globals['_ANNOTATION'].fields_by_name['annotation_type']._serialized_options = b'\340A\002'
|
|
58
|
+
_globals['_ANNOTATION'].fields_by_name['tags']._loaded_options = None
|
|
59
|
+
_globals['_ANNOTATION'].fields_by_name['tags']._serialized_options = b'\340A\002'
|
|
60
|
+
_globals['_ANNOTATION'].fields_by_name['legend_config']._loaded_options = None
|
|
61
|
+
_globals['_ANNOTATION'].fields_by_name['legend_config']._serialized_options = b'\340A\001'
|
|
62
|
+
_globals['_ANNOTATION'].fields_by_name['created_by_condition_id']._loaded_options = None
|
|
63
|
+
_globals['_ANNOTATION'].fields_by_name['created_by_condition_id']._serialized_options = b'\340A\001'
|
|
64
|
+
_globals['_ANNOTATION'].fields_by_name['created_by_rule_condition_version_id']._loaded_options = None
|
|
65
|
+
_globals['_ANNOTATION'].fields_by_name['created_by_rule_condition_version_id']._serialized_options = b'\340A\001'
|
|
66
|
+
_globals['_ANNOTATION'].fields_by_name['report_rule_version_id']._loaded_options = None
|
|
67
|
+
_globals['_ANNOTATION'].fields_by_name['report_rule_version_id']._serialized_options = b'\340A\001'
|
|
68
|
+
_globals['_ANNOTATIONLINKEDCHANNELSCHANNEL'].fields_by_name['channel_id']._loaded_options = None
|
|
69
|
+
_globals['_ANNOTATIONLINKEDCHANNELSCHANNEL'].fields_by_name['channel_id']._serialized_options = b'\340A\002'
|
|
70
|
+
_globals['_ANNOTATIONLINKEDCHANNELSBITFIELDELEMENT'].fields_by_name['channel_id']._loaded_options = None
|
|
71
|
+
_globals['_ANNOTATIONLINKEDCHANNELSBITFIELDELEMENT'].fields_by_name['channel_id']._serialized_options = b'\340A\002'
|
|
72
|
+
_globals['_ANNOTATIONLINKEDCHANNELSBITFIELDELEMENT'].fields_by_name['bit_field_name']._loaded_options = None
|
|
73
|
+
_globals['_ANNOTATIONLINKEDCHANNELSBITFIELDELEMENT'].fields_by_name['bit_field_name']._serialized_options = b'\340A\002'
|
|
74
|
+
_globals['_CREATEANNOTATIONREQUEST'].fields_by_name['name']._loaded_options = None
|
|
75
|
+
_globals['_CREATEANNOTATIONREQUEST'].fields_by_name['name']._serialized_options = b'\340A\002'
|
|
76
|
+
_globals['_CREATEANNOTATIONREQUEST'].fields_by_name['description']._loaded_options = None
|
|
77
|
+
_globals['_CREATEANNOTATIONREQUEST'].fields_by_name['description']._serialized_options = b'\340A\001'
|
|
78
|
+
_globals['_CREATEANNOTATIONREQUEST'].fields_by_name['start_time']._loaded_options = None
|
|
79
|
+
_globals['_CREATEANNOTATIONREQUEST'].fields_by_name['start_time']._serialized_options = b'\340A\002'
|
|
80
|
+
_globals['_CREATEANNOTATIONREQUEST'].fields_by_name['end_time']._loaded_options = None
|
|
81
|
+
_globals['_CREATEANNOTATIONREQUEST'].fields_by_name['end_time']._serialized_options = b'\340A\002'
|
|
82
|
+
_globals['_CREATEANNOTATIONREQUEST'].fields_by_name['assets']._loaded_options = None
|
|
83
|
+
_globals['_CREATEANNOTATIONREQUEST'].fields_by_name['assets']._serialized_options = b'\340A\001'
|
|
84
|
+
_globals['_CREATEANNOTATIONREQUEST'].fields_by_name['linked_channels']._loaded_options = None
|
|
85
|
+
_globals['_CREATEANNOTATIONREQUEST'].fields_by_name['linked_channels']._serialized_options = b'\340A\001'
|
|
86
|
+
_globals['_CREATEANNOTATIONREQUEST'].fields_by_name['tags']._loaded_options = None
|
|
87
|
+
_globals['_CREATEANNOTATIONREQUEST'].fields_by_name['tags']._serialized_options = b'\340A\001'
|
|
88
|
+
_globals['_CREATEANNOTATIONREQUEST'].fields_by_name['run_id']._loaded_options = None
|
|
89
|
+
_globals['_CREATEANNOTATIONREQUEST'].fields_by_name['run_id']._serialized_options = b'\340A\001'
|
|
90
|
+
_globals['_CREATEANNOTATIONREQUEST'].fields_by_name['assign_to_user_id']._loaded_options = None
|
|
91
|
+
_globals['_CREATEANNOTATIONREQUEST'].fields_by_name['assign_to_user_id']._serialized_options = b'\340A\001'
|
|
92
|
+
_globals['_CREATEANNOTATIONREQUEST'].fields_by_name['organization_id']._loaded_options = None
|
|
93
|
+
_globals['_CREATEANNOTATIONREQUEST'].fields_by_name['organization_id']._serialized_options = b'\340A\001'
|
|
94
|
+
_globals['_CREATEANNOTATIONREQUEST'].fields_by_name['state']._loaded_options = None
|
|
95
|
+
_globals['_CREATEANNOTATIONREQUEST'].fields_by_name['state']._serialized_options = b'\340A\001'
|
|
96
|
+
_globals['_CREATEANNOTATIONREQUEST'].fields_by_name['annotation_type']._loaded_options = None
|
|
97
|
+
_globals['_CREATEANNOTATIONREQUEST'].fields_by_name['annotation_type']._serialized_options = b'\340A\001'
|
|
98
|
+
_globals['_CREATEANNOTATIONREQUEST'].fields_by_name['created_by_condition_id']._loaded_options = None
|
|
99
|
+
_globals['_CREATEANNOTATIONREQUEST'].fields_by_name['created_by_condition_id']._serialized_options = b'\340A\001'
|
|
100
|
+
_globals['_CREATEANNOTATIONREQUEST'].fields_by_name['legend_config']._loaded_options = None
|
|
101
|
+
_globals['_CREATEANNOTATIONREQUEST'].fields_by_name['legend_config']._serialized_options = b'\340A\001'
|
|
102
|
+
_globals['_CREATEANNOTATIONREQUEST'].fields_by_name['created_by_rule_condition_version_id']._loaded_options = None
|
|
103
|
+
_globals['_CREATEANNOTATIONREQUEST'].fields_by_name['created_by_rule_condition_version_id']._serialized_options = b'\340A\001'
|
|
104
|
+
_globals['_CREATEANNOTATIONRESPONSE'].fields_by_name['annotation']._loaded_options = None
|
|
105
|
+
_globals['_CREATEANNOTATIONRESPONSE'].fields_by_name['annotation']._serialized_options = b'\340A\002'
|
|
106
|
+
_globals['_DELETEANNOTATIONREQUEST'].fields_by_name['annotation_id']._loaded_options = None
|
|
107
|
+
_globals['_DELETEANNOTATIONREQUEST'].fields_by_name['annotation_id']._serialized_options = b'\340A\002'
|
|
108
|
+
_globals['_BATCHDELETEANNOTATIONSREQUEST'].fields_by_name['annotation_ids']._loaded_options = None
|
|
109
|
+
_globals['_BATCHDELETEANNOTATIONSREQUEST'].fields_by_name['annotation_ids']._serialized_options = b'\340A\002'
|
|
110
|
+
_globals['_GETANNOTATIONREQUEST'].fields_by_name['annotation_id']._loaded_options = None
|
|
111
|
+
_globals['_GETANNOTATIONREQUEST'].fields_by_name['annotation_id']._serialized_options = b'\340A\002'
|
|
112
|
+
_globals['_GETANNOTATIONRESPONSE'].fields_by_name['annotation']._loaded_options = None
|
|
113
|
+
_globals['_GETANNOTATIONRESPONSE'].fields_by_name['annotation']._serialized_options = b'\340A\002'
|
|
114
|
+
_globals['_LISTANNOTATIONSREQUEST'].fields_by_name['page_size']._loaded_options = None
|
|
115
|
+
_globals['_LISTANNOTATIONSREQUEST'].fields_by_name['page_size']._serialized_options = b'\340A\001'
|
|
116
|
+
_globals['_LISTANNOTATIONSREQUEST'].fields_by_name['page_token']._loaded_options = None
|
|
117
|
+
_globals['_LISTANNOTATIONSREQUEST'].fields_by_name['page_token']._serialized_options = b'\340A\001'
|
|
118
|
+
_globals['_LISTANNOTATIONSREQUEST'].fields_by_name['filter']._loaded_options = None
|
|
119
|
+
_globals['_LISTANNOTATIONSREQUEST'].fields_by_name['filter']._serialized_options = b'\340A\001'
|
|
120
|
+
_globals['_LISTANNOTATIONSREQUEST'].fields_by_name['organization_id']._loaded_options = None
|
|
121
|
+
_globals['_LISTANNOTATIONSREQUEST'].fields_by_name['organization_id']._serialized_options = b'\340A\001'
|
|
122
|
+
_globals['_LISTANNOTATIONSREQUEST'].fields_by_name['order_by']._loaded_options = None
|
|
123
|
+
_globals['_LISTANNOTATIONSREQUEST'].fields_by_name['order_by']._serialized_options = b'\340A\001'
|
|
124
|
+
_globals['_UPDATEANNOTATIONREQUEST'].fields_by_name['annotation']._loaded_options = None
|
|
125
|
+
_globals['_UPDATEANNOTATIONREQUEST'].fields_by_name['annotation']._serialized_options = b'\340A\002'
|
|
126
|
+
_globals['_UPDATEANNOTATIONREQUEST'].fields_by_name['update_mask']._loaded_options = None
|
|
127
|
+
_globals['_UPDATEANNOTATIONREQUEST'].fields_by_name['update_mask']._serialized_options = b'\340A\002'
|
|
128
|
+
_globals['_ANNOTATIONSERVICE']._loaded_options = None
|
|
129
|
+
_globals['_ANNOTATIONSERVICE']._serialized_options = b'\222A\260\001\0226Service to programmatically interact with annotations.\032v\n\034Read more about annotations.\022Vhttps://customer.support.siftstack.com/servicedesk/customer/portal/2/article/265486685'
|
|
130
|
+
_globals['_ANNOTATIONSERVICE'].methods_by_name['CreateAnnotation']._loaded_options = None
|
|
131
|
+
_globals['_ANNOTATIONSERVICE'].methods_by_name['CreateAnnotation']._serialized_options = b'\222A*\022\020CreateAnnotation\032\026Creates an annotation.\202\323\344\223\002\030\"\023/api/v1/annotations:\001*'
|
|
132
|
+
_globals['_ANNOTATIONSERVICE'].methods_by_name['DeleteAnnotation']._loaded_options = None
|
|
133
|
+
_globals['_ANNOTATIONSERVICE'].methods_by_name['DeleteAnnotation']._serialized_options = b'\222A*\022\020DeleteAnnotation\032\026Deletes an annotation.\202\323\344\223\002%*#/api/v1/annotations/{annotation_id}'
|
|
134
|
+
_globals['_ANNOTATIONSERVICE'].methods_by_name['BatchDeleteAnnotations']._loaded_options = None
|
|
135
|
+
_globals['_ANNOTATIONSERVICE'].methods_by_name['BatchDeleteAnnotations']._serialized_options = b'\222A3\022\025BatchDeleteAnnotation\032\032Batch deletes annotations.\202\323\344\223\002$\"\037/api/v1/annotations:batchDelete:\001*'
|
|
136
|
+
_globals['_ANNOTATIONSERVICE'].methods_by_name['ListAnnotations']._loaded_options = None
|
|
137
|
+
_globals['_ANNOTATIONSERVICE'].methods_by_name['ListAnnotations']._serialized_options = b'\222AA\022\016ListAnnotation\032/Retrieves annotations using an optional filter.\202\323\344\223\002\025\022\023/api/v1/annotations'
|
|
138
|
+
_globals['_ANNOTATIONSERVICE'].methods_by_name['GetAnnotation']._loaded_options = None
|
|
139
|
+
_globals['_ANNOTATIONSERVICE'].methods_by_name['GetAnnotation']._serialized_options = b'\222A(\022\rGetAnnotation\032\027Retrieves an annotation\202\323\344\223\002%\022#/api/v1/annotations/{annotation_id}'
|
|
140
|
+
_globals['_ANNOTATIONSERVICE'].methods_by_name['UpdateAnnotation']._loaded_options = None
|
|
141
|
+
_globals['_ANNOTATIONSERVICE'].methods_by_name['UpdateAnnotation']._serialized_options = b'\222Am\022\020UpdateAnnotation\032YUpdates an existing annotation using using the list of fields specified in `update_mask`.\202\323\344\223\002\0302\023/api/v1/annotations:\001*'
|
|
142
|
+
_globals['_ANNOTATIONSTATE']._serialized_start=3894
|
|
143
|
+
_globals['_ANNOTATIONSTATE']._serialized_end=4033
|
|
144
|
+
_globals['_ANNOTATIONTYPE']._serialized_start=4035
|
|
145
|
+
_globals['_ANNOTATIONTYPE']._serialized_end=4144
|
|
146
|
+
_globals['_ANNOTATION']._serialized_start=241
|
|
147
|
+
_globals['_ANNOTATION']._serialized_end=1431
|
|
148
|
+
_globals['_ANNOTATIONLINKEDCHANNELSCHANNEL']._serialized_start=1433
|
|
149
|
+
_globals['_ANNOTATIONLINKEDCHANNELSCHANNEL']._serialized_end=1502
|
|
150
|
+
_globals['_ANNOTATIONLINKEDCHANNELSBITFIELDELEMENT']._serialized_start=1504
|
|
151
|
+
_globals['_ANNOTATIONLINKEDCHANNELSBITFIELDELEMENT']._serialized_end=1624
|
|
152
|
+
_globals['_ANNOTATIONLINKEDCHANNEL']._serialized_start=1627
|
|
153
|
+
_globals['_ANNOTATIONLINKEDCHANNEL']._serialized_end=1850
|
|
154
|
+
_globals['_CREATEANNOTATIONREQUEST']._serialized_start=1853
|
|
155
|
+
_globals['_CREATEANNOTATIONREQUEST']._serialized_end=2828
|
|
156
|
+
_globals['_CREATEANNOTATIONRESPONSE']._serialized_start=2830
|
|
157
|
+
_globals['_CREATEANNOTATIONRESPONSE']._serialized_end=2926
|
|
158
|
+
_globals['_DELETEANNOTATIONREQUEST']._serialized_start=2928
|
|
159
|
+
_globals['_DELETEANNOTATIONREQUEST']._serialized_end=2995
|
|
160
|
+
_globals['_DELETEANNOTATIONRESPONSE']._serialized_start=2997
|
|
161
|
+
_globals['_DELETEANNOTATIONRESPONSE']._serialized_end=3023
|
|
162
|
+
_globals['_BATCHDELETEANNOTATIONSREQUEST']._serialized_start=3025
|
|
163
|
+
_globals['_BATCHDELETEANNOTATIONSREQUEST']._serialized_end=3100
|
|
164
|
+
_globals['_BATCHDELETEANNOTATIONSRESPONSE']._serialized_start=3102
|
|
165
|
+
_globals['_BATCHDELETEANNOTATIONSRESPONSE']._serialized_end=3134
|
|
166
|
+
_globals['_GETANNOTATIONREQUEST']._serialized_start=3136
|
|
167
|
+
_globals['_GETANNOTATIONREQUEST']._serialized_end=3200
|
|
168
|
+
_globals['_GETANNOTATIONRESPONSE']._serialized_start=3202
|
|
169
|
+
_globals['_GETANNOTATIONRESPONSE']._serialized_end=3295
|
|
170
|
+
_globals['_LISTANNOTATIONSREQUEST']._serialized_start=3298
|
|
171
|
+
_globals['_LISTANNOTATIONSREQUEST']._serialized_end=3499
|
|
172
|
+
_globals['_LISTANNOTATIONSRESPONSE']._serialized_start=3502
|
|
173
|
+
_globals['_LISTANNOTATIONSRESPONSE']._serialized_end=3634
|
|
174
|
+
_globals['_UPDATEANNOTATIONREQUEST']._serialized_start=3637
|
|
175
|
+
_globals['_UPDATEANNOTATIONREQUEST']._serialized_end=3798
|
|
176
|
+
_globals['_UPDATEANNOTATIONRESPONSE']._serialized_start=3800
|
|
177
|
+
_globals['_UPDATEANNOTATIONRESPONSE']._serialized_end=3891
|
|
178
|
+
_globals['_ANNOTATIONSERVICE']._serialized_start=4147
|
|
179
|
+
_globals['_ANNOTATIONSERVICE']._serialized_end=5634
|
|
180
|
+
# @@protoc_insertion_point(module_scope)
|