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,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/__init__.py
ADDED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: sift/annotation_logs/v1/annotation_logs.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 timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
18
|
+
from protoc_gen_openapiv2.options import annotations_pb2 as protoc__gen__openapiv2_dot_options_dot_annotations__pb2
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-sift/annotation_logs/v1/annotation_logs.proto\x12\x17sift.annotation_logs.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a.protoc-gen-openapiv2/options/annotations.proto\"\xa8\x03\n\x1a\x43reateAnnotationLogRequest\x12(\n\rannotation_id\x18\x01 \x01(\tB\x03\xe0\x41\x02R\x0c\x61nnotationId\x12\x43\n\x04kind\x18\x02 \x01(\x0e\x32*.sift.annotation_logs.v1.AnnotationLogKindB\x03\xe0\x41\x02R\x04kind\x12V\n\x08\x61ssigned\x18\x03 \x01(\x0b\x32\x38.sift.annotation_logs.v1.AnnotationLogAssignedPropertiesH\x00R\x08\x61ssigned\x12`\n\x0cstate_update\x18\x04 \x01(\x0b\x32;.sift.annotation_logs.v1.AnnotationLogStateUpdatePropertiesH\x00R\x0bstateUpdate\x12S\n\x07\x63omment\x18\x05 \x01(\x0b\x32\x37.sift.annotation_logs.v1.AnnotationLogCommentPropertiesH\x00R\x07\x63ommentB\x0c\n\nproperties\"x\n\x1b\x43reateAnnotationLogResponse\x12Y\n\x0e\x61nnotation_log\x18\x01 \x01(\x0b\x32\x32.sift.annotation_logs.v1.AnnotationLogSearchResultR\rannotationLog\"\xa8\x01\n\x19ListAnnotationLogsRequest\x12(\n\rannotation_id\x18\x01 \x01(\tB\x03\xe0\x41\x02R\x0c\x61nnotationId\x12 \n\tpage_size\x18\x02 \x01(\rB\x03\xe0\x41\x01R\x08pageSize\x12\"\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01R\tpageToken\x12\x1b\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01R\x06\x66ilter\"\xa1\x01\n\x1aListAnnotationLogsResponse\x12[\n\x0f\x61nnotation_logs\x18\x01 \x03(\x0b\x32\x32.sift.annotation_logs.v1.AnnotationLogSearchResultR\x0e\x61nnotationLogs\x12&\n\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\"w\n\x1a\x44\x65leteAnnotationLogRequest\x12(\n\rannotation_id\x18\x01 \x01(\tB\x03\xe0\x41\x02R\x0c\x61nnotationId\x12/\n\x11\x61nnotation_log_id\x18\x02 \x01(\tB\x03\xe0\x41\x02R\x0f\x61nnotationLogId\"\x1d\n\x1b\x44\x65leteAnnotationLogResponse\"\xca\x05\n\x19\x41nnotationLogSearchResult\x12/\n\x11\x61nnotation_log_id\x18\x01 \x01(\tB\x03\xe0\x41\x02R\x0f\x61nnotationLogId\x12\x42\n\x0c\x63reated_date\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02R\x0b\x63reatedDate\x12\x44\n\rmodified_date\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02R\x0cmodifiedDate\x12(\n\rannotation_id\x18\x04 \x01(\tB\x03\xe0\x41\x02R\x0c\x61nnotationId\x12\x43\n\x04kind\x18\x05 \x01(\x0e\x32*.sift.annotation_logs.v1.AnnotationLogKindB\x03\xe0\x41\x02R\x04kind\x12\x30\n\x12\x63reated_by_user_id\x18\x06 \x01(\tB\x03\xe0\x41\x02R\x0f\x63reatedByUserId\x12\x34\n\x14\x63reated_by_user_name\x18\x07 \x01(\tB\x03\xe0\x41\x02R\x11\x63reatedByUserName\x12V\n\x08\x61ssigned\x18\x08 \x01(\x0b\x32\x38.sift.annotation_logs.v1.AnnotationLogAssignedPropertiesH\x00R\x08\x61ssigned\x12`\n\x0cstate_update\x18\t \x01(\x0b\x32;.sift.annotation_logs.v1.AnnotationLogStateUpdatePropertiesH\x00R\x0bstateUpdate\x12S\n\x07\x63omment\x18\n \x01(\x0b\x32\x37.sift.annotation_logs.v1.AnnotationLogCommentPropertiesH\x00R\x07\x63ommentB\x0c\n\nproperties\"\x8f\x01\n\x1f\x41nnotationLogAssignedProperties\x12\x32\n\x13\x61ssigned_to_user_id\x18\x01 \x01(\tB\x03\xe0\x41\x02R\x10\x61ssignedToUserId\x12\x38\n\x16\x61ssigned_to_user_email\x18\x02 \x01(\tB\x03\xe0\x41\x02R\x13\x61ssignedToUserEmail\"l\n\"AnnotationLogStateUpdateProperties\x12\x46\n\x05state\x18\x01 \x01(\x0e\x32+.sift.annotation_logs.v1.AnnotationLogStateB\x03\xe0\x41\x02R\x05state\"k\n\x1e\x41nnotationLogCommentProperties\x12I\n\x04\x62ody\x18\x01 \x03(\x0b\x32\x35.sift.annotation_logs.v1.AnnotationCommentBodyElementR\x04\x62ody\"\xea\x01\n\x1c\x41nnotationCommentBodyElement\x12R\n\x04type\x18\x01 \x01(\x0e\x32\x39.sift.annotation_logs.v1.AnnotationCommentBodyElementTypeB\x03\xe0\x41\x02R\x04type\x12\x17\n\x04text\x18\x02 \x01(\tB\x03\xe0\x41\x01R\x04text\x12]\n\x0cuser_mention\x18\x03 \x01(\x0b\x32\x35.sift.annotation_logs.v1.AnnotationCommentUserMentionB\x03\xe0\x41\x01R\x0buserMention\"`\n\x1c\x41nnotationCommentUserMention\x12\x1c\n\x07user_id\x18\x01 \x01(\tB\x03\xe0\x41\x02R\x06userId\x12\"\n\nuser_email\x18\x02 \x01(\tB\x03\xe0\x41\x02R\tuserEmail*\xa1\x01\n\x11\x41nnotationLogKind\x12#\n\x1f\x41NNOTATION_LOG_KIND_UNSPECIFIED\x10\x00\x12\x1f\n\x1b\x41NNOTATION_LOG_KIND_COMMENT\x10\x01\x12$\n ANNOTATION_LOG_KIND_STATE_UPDATE\x10\x02\x12 \n\x1c\x41NNOTATION_LOG_KIND_ASSIGNED\x10\x03*\xc0\x01\n\x12\x41nnotationLogState\x12$\n ANNOTATION_LOG_STATE_UNSPECIFIED\x10\x00\x12 \n\x1c\x41NNOTATION_LOG_STATE_CREATED\x10\x01\x12\x1d\n\x19\x41NNOTATION_LOG_STATE_OPEN\x10\x02\x12 \n\x1c\x41NNOTATION_LOG_STATE_FLAGGED\x10\x03\x12!\n\x1d\x41NNOTATION_LOG_STATE_RESOLVED\x10\x04*\xbe\x01\n AnnotationCommentBodyElementType\x12\x34\n0ANNOTATION_COMMENT_BODY_ELEMENT_TYPE_UNSPECIFIED\x10\x00\x12-\n)ANNOTATION_COMMENT_BODY_ELEMENT_TYPE_TEXT\x10\x01\x12\x35\n1ANNOTATION_COMMENT_BODY_ELEMENT_TYPE_USER_MENTION\x10\x02\x32\xe1\x07\n\x14\x41nnotationLogService\x12\xfa\x01\n\x13\x43reateAnnotationLog\x12\x33.sift.annotation_logs.v1.CreateAnnotationLogRequest\x1a\x34.sift.annotation_logs.v1.CreateAnnotationLogResponse\"x\x92\x41\x42\x12\x13\x43reateAnnotationLog\x1a+Creates an annotation log on an annotation.\x82\xd3\xe4\x93\x02-\"(/api/v1/annotations/{annotation_id}/logs:\x01*\x12\xfb\x01\n\x12ListAnnotationLogs\x12\x32.sift.annotation_logs.v1.ListAnnotationLogsRequest\x1a\x33.sift.annotation_logs.v1.ListAnnotationLogsResponse\"|\x92\x41I\x12\x12ListAnnotationLogs\x1a\x33Retrieves annotation logs using an optional filter.\x82\xd3\xe4\x93\x02*\x12(/api/v1/annotations/{annotation_id}/logs\x12\xfa\x01\n\x13\x44\x65leteAnnotationLog\x12\x33.sift.annotation_logs.v1.DeleteAnnotationLogRequest\x1a\x34.sift.annotation_logs.v1.DeleteAnnotationLogResponse\"x\x92\x41\x31\x12\x13\x44\x65leteAnnotationLog\x1a\x1a\x44\x65letes an annotation log.\x82\xd3\xe4\x93\x02>*</api/v1/annotations/{annotation_id}/logs/{annotation_log_id}\x1a\xd0\x01\x92\x41\xcc\x01\x12RService to programmatically interact with [annotation logs](/glossary#annotation).\x1av\n\x1cRead more about annotations.\x12Vhttps://customer.support.siftstack.com/servicedesk/customer/portal/2/article/265486685B\xac\x01\n\x1b\x63om.sift.annotation_logs.v1B\x13\x41nnotationLogsProtoP\x01\xa2\x02\x03SAX\xaa\x02\x16Sift.AnnotationLogs.V1\xca\x02\x16Sift\\AnnotationLogs\\V1\xe2\x02\"Sift\\AnnotationLogs\\V1\\GPBMetadata\xea\x02\x18Sift::AnnotationLogs::V1b\x06proto3')
|
|
22
|
+
|
|
23
|
+
_globals = globals()
|
|
24
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
25
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'sift.annotation_logs.v1.annotation_logs_pb2', _globals)
|
|
26
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
27
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
28
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\033com.sift.annotation_logs.v1B\023AnnotationLogsProtoP\001\242\002\003SAX\252\002\026Sift.AnnotationLogs.V1\312\002\026Sift\\AnnotationLogs\\V1\342\002\"Sift\\AnnotationLogs\\V1\\GPBMetadata\352\002\030Sift::AnnotationLogs::V1'
|
|
29
|
+
_globals['_CREATEANNOTATIONLOGREQUEST'].fields_by_name['annotation_id']._loaded_options = None
|
|
30
|
+
_globals['_CREATEANNOTATIONLOGREQUEST'].fields_by_name['annotation_id']._serialized_options = b'\340A\002'
|
|
31
|
+
_globals['_CREATEANNOTATIONLOGREQUEST'].fields_by_name['kind']._loaded_options = None
|
|
32
|
+
_globals['_CREATEANNOTATIONLOGREQUEST'].fields_by_name['kind']._serialized_options = b'\340A\002'
|
|
33
|
+
_globals['_LISTANNOTATIONLOGSREQUEST'].fields_by_name['annotation_id']._loaded_options = None
|
|
34
|
+
_globals['_LISTANNOTATIONLOGSREQUEST'].fields_by_name['annotation_id']._serialized_options = b'\340A\002'
|
|
35
|
+
_globals['_LISTANNOTATIONLOGSREQUEST'].fields_by_name['page_size']._loaded_options = None
|
|
36
|
+
_globals['_LISTANNOTATIONLOGSREQUEST'].fields_by_name['page_size']._serialized_options = b'\340A\001'
|
|
37
|
+
_globals['_LISTANNOTATIONLOGSREQUEST'].fields_by_name['page_token']._loaded_options = None
|
|
38
|
+
_globals['_LISTANNOTATIONLOGSREQUEST'].fields_by_name['page_token']._serialized_options = b'\340A\001'
|
|
39
|
+
_globals['_LISTANNOTATIONLOGSREQUEST'].fields_by_name['filter']._loaded_options = None
|
|
40
|
+
_globals['_LISTANNOTATIONLOGSREQUEST'].fields_by_name['filter']._serialized_options = b'\340A\001'
|
|
41
|
+
_globals['_DELETEANNOTATIONLOGREQUEST'].fields_by_name['annotation_id']._loaded_options = None
|
|
42
|
+
_globals['_DELETEANNOTATIONLOGREQUEST'].fields_by_name['annotation_id']._serialized_options = b'\340A\002'
|
|
43
|
+
_globals['_DELETEANNOTATIONLOGREQUEST'].fields_by_name['annotation_log_id']._loaded_options = None
|
|
44
|
+
_globals['_DELETEANNOTATIONLOGREQUEST'].fields_by_name['annotation_log_id']._serialized_options = b'\340A\002'
|
|
45
|
+
_globals['_ANNOTATIONLOGSEARCHRESULT'].fields_by_name['annotation_log_id']._loaded_options = None
|
|
46
|
+
_globals['_ANNOTATIONLOGSEARCHRESULT'].fields_by_name['annotation_log_id']._serialized_options = b'\340A\002'
|
|
47
|
+
_globals['_ANNOTATIONLOGSEARCHRESULT'].fields_by_name['created_date']._loaded_options = None
|
|
48
|
+
_globals['_ANNOTATIONLOGSEARCHRESULT'].fields_by_name['created_date']._serialized_options = b'\340A\002'
|
|
49
|
+
_globals['_ANNOTATIONLOGSEARCHRESULT'].fields_by_name['modified_date']._loaded_options = None
|
|
50
|
+
_globals['_ANNOTATIONLOGSEARCHRESULT'].fields_by_name['modified_date']._serialized_options = b'\340A\002'
|
|
51
|
+
_globals['_ANNOTATIONLOGSEARCHRESULT'].fields_by_name['annotation_id']._loaded_options = None
|
|
52
|
+
_globals['_ANNOTATIONLOGSEARCHRESULT'].fields_by_name['annotation_id']._serialized_options = b'\340A\002'
|
|
53
|
+
_globals['_ANNOTATIONLOGSEARCHRESULT'].fields_by_name['kind']._loaded_options = None
|
|
54
|
+
_globals['_ANNOTATIONLOGSEARCHRESULT'].fields_by_name['kind']._serialized_options = b'\340A\002'
|
|
55
|
+
_globals['_ANNOTATIONLOGSEARCHRESULT'].fields_by_name['created_by_user_id']._loaded_options = None
|
|
56
|
+
_globals['_ANNOTATIONLOGSEARCHRESULT'].fields_by_name['created_by_user_id']._serialized_options = b'\340A\002'
|
|
57
|
+
_globals['_ANNOTATIONLOGSEARCHRESULT'].fields_by_name['created_by_user_name']._loaded_options = None
|
|
58
|
+
_globals['_ANNOTATIONLOGSEARCHRESULT'].fields_by_name['created_by_user_name']._serialized_options = b'\340A\002'
|
|
59
|
+
_globals['_ANNOTATIONLOGASSIGNEDPROPERTIES'].fields_by_name['assigned_to_user_id']._loaded_options = None
|
|
60
|
+
_globals['_ANNOTATIONLOGASSIGNEDPROPERTIES'].fields_by_name['assigned_to_user_id']._serialized_options = b'\340A\002'
|
|
61
|
+
_globals['_ANNOTATIONLOGASSIGNEDPROPERTIES'].fields_by_name['assigned_to_user_email']._loaded_options = None
|
|
62
|
+
_globals['_ANNOTATIONLOGASSIGNEDPROPERTIES'].fields_by_name['assigned_to_user_email']._serialized_options = b'\340A\002'
|
|
63
|
+
_globals['_ANNOTATIONLOGSTATEUPDATEPROPERTIES'].fields_by_name['state']._loaded_options = None
|
|
64
|
+
_globals['_ANNOTATIONLOGSTATEUPDATEPROPERTIES'].fields_by_name['state']._serialized_options = b'\340A\002'
|
|
65
|
+
_globals['_ANNOTATIONCOMMENTBODYELEMENT'].fields_by_name['type']._loaded_options = None
|
|
66
|
+
_globals['_ANNOTATIONCOMMENTBODYELEMENT'].fields_by_name['type']._serialized_options = b'\340A\002'
|
|
67
|
+
_globals['_ANNOTATIONCOMMENTBODYELEMENT'].fields_by_name['text']._loaded_options = None
|
|
68
|
+
_globals['_ANNOTATIONCOMMENTBODYELEMENT'].fields_by_name['text']._serialized_options = b'\340A\001'
|
|
69
|
+
_globals['_ANNOTATIONCOMMENTBODYELEMENT'].fields_by_name['user_mention']._loaded_options = None
|
|
70
|
+
_globals['_ANNOTATIONCOMMENTBODYELEMENT'].fields_by_name['user_mention']._serialized_options = b'\340A\001'
|
|
71
|
+
_globals['_ANNOTATIONCOMMENTUSERMENTION'].fields_by_name['user_id']._loaded_options = None
|
|
72
|
+
_globals['_ANNOTATIONCOMMENTUSERMENTION'].fields_by_name['user_id']._serialized_options = b'\340A\002'
|
|
73
|
+
_globals['_ANNOTATIONCOMMENTUSERMENTION'].fields_by_name['user_email']._loaded_options = None
|
|
74
|
+
_globals['_ANNOTATIONCOMMENTUSERMENTION'].fields_by_name['user_email']._serialized_options = b'\340A\002'
|
|
75
|
+
_globals['_ANNOTATIONLOGSERVICE']._loaded_options = None
|
|
76
|
+
_globals['_ANNOTATIONLOGSERVICE']._serialized_options = b'\222A\314\001\022RService to programmatically interact with [annotation logs](/glossary#annotation).\032v\n\034Read more about annotations.\022Vhttps://customer.support.siftstack.com/servicedesk/customer/portal/2/article/265486685'
|
|
77
|
+
_globals['_ANNOTATIONLOGSERVICE'].methods_by_name['CreateAnnotationLog']._loaded_options = None
|
|
78
|
+
_globals['_ANNOTATIONLOGSERVICE'].methods_by_name['CreateAnnotationLog']._serialized_options = b'\222AB\022\023CreateAnnotationLog\032+Creates an annotation log on an annotation.\202\323\344\223\002-\"(/api/v1/annotations/{annotation_id}/logs:\001*'
|
|
79
|
+
_globals['_ANNOTATIONLOGSERVICE'].methods_by_name['ListAnnotationLogs']._loaded_options = None
|
|
80
|
+
_globals['_ANNOTATIONLOGSERVICE'].methods_by_name['ListAnnotationLogs']._serialized_options = b'\222AI\022\022ListAnnotationLogs\0323Retrieves annotation logs using an optional filter.\202\323\344\223\002*\022(/api/v1/annotations/{annotation_id}/logs'
|
|
81
|
+
_globals['_ANNOTATIONLOGSERVICE'].methods_by_name['DeleteAnnotationLog']._loaded_options = None
|
|
82
|
+
_globals['_ANNOTATIONLOGSERVICE'].methods_by_name['DeleteAnnotationLog']._serialized_options = b'\222A1\022\023DeleteAnnotationLog\032\032Deletes an annotation log.\202\323\344\223\002>*</api/v1/annotations/{annotation_id}/logs/{annotation_log_id}'
|
|
83
|
+
_globals['_ANNOTATIONLOGKIND']._serialized_start=2672
|
|
84
|
+
_globals['_ANNOTATIONLOGKIND']._serialized_end=2833
|
|
85
|
+
_globals['_ANNOTATIONLOGSTATE']._serialized_start=2836
|
|
86
|
+
_globals['_ANNOTATIONLOGSTATE']._serialized_end=3028
|
|
87
|
+
_globals['_ANNOTATIONCOMMENTBODYELEMENTTYPE']._serialized_start=3031
|
|
88
|
+
_globals['_ANNOTATIONCOMMENTBODYELEMENTTYPE']._serialized_end=3221
|
|
89
|
+
_globals['_CREATEANNOTATIONLOGREQUEST']._serialized_start=219
|
|
90
|
+
_globals['_CREATEANNOTATIONLOGREQUEST']._serialized_end=643
|
|
91
|
+
_globals['_CREATEANNOTATIONLOGRESPONSE']._serialized_start=645
|
|
92
|
+
_globals['_CREATEANNOTATIONLOGRESPONSE']._serialized_end=765
|
|
93
|
+
_globals['_LISTANNOTATIONLOGSREQUEST']._serialized_start=768
|
|
94
|
+
_globals['_LISTANNOTATIONLOGSREQUEST']._serialized_end=936
|
|
95
|
+
_globals['_LISTANNOTATIONLOGSRESPONSE']._serialized_start=939
|
|
96
|
+
_globals['_LISTANNOTATIONLOGSRESPONSE']._serialized_end=1100
|
|
97
|
+
_globals['_DELETEANNOTATIONLOGREQUEST']._serialized_start=1102
|
|
98
|
+
_globals['_DELETEANNOTATIONLOGREQUEST']._serialized_end=1221
|
|
99
|
+
_globals['_DELETEANNOTATIONLOGRESPONSE']._serialized_start=1223
|
|
100
|
+
_globals['_DELETEANNOTATIONLOGRESPONSE']._serialized_end=1252
|
|
101
|
+
_globals['_ANNOTATIONLOGSEARCHRESULT']._serialized_start=1255
|
|
102
|
+
_globals['_ANNOTATIONLOGSEARCHRESULT']._serialized_end=1969
|
|
103
|
+
_globals['_ANNOTATIONLOGASSIGNEDPROPERTIES']._serialized_start=1972
|
|
104
|
+
_globals['_ANNOTATIONLOGASSIGNEDPROPERTIES']._serialized_end=2115
|
|
105
|
+
_globals['_ANNOTATIONLOGSTATEUPDATEPROPERTIES']._serialized_start=2117
|
|
106
|
+
_globals['_ANNOTATIONLOGSTATEUPDATEPROPERTIES']._serialized_end=2225
|
|
107
|
+
_globals['_ANNOTATIONLOGCOMMENTPROPERTIES']._serialized_start=2227
|
|
108
|
+
_globals['_ANNOTATIONLOGCOMMENTPROPERTIES']._serialized_end=2334
|
|
109
|
+
_globals['_ANNOTATIONCOMMENTBODYELEMENT']._serialized_start=2337
|
|
110
|
+
_globals['_ANNOTATIONCOMMENTBODYELEMENT']._serialized_end=2571
|
|
111
|
+
_globals['_ANNOTATIONCOMMENTUSERMENTION']._serialized_start=2573
|
|
112
|
+
_globals['_ANNOTATIONCOMMENTUSERMENTION']._serialized_end=2669
|
|
113
|
+
_globals['_ANNOTATIONLOGSERVICE']._serialized_start=3224
|
|
114
|
+
_globals['_ANNOTATIONLOGSERVICE']._serialized_end=4217
|
|
115
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,370 @@
|
|
|
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.internal.enum_type_wrapper
|
|
11
|
+
import google.protobuf.message
|
|
12
|
+
import google.protobuf.timestamp_pb2
|
|
13
|
+
import sys
|
|
14
|
+
import typing
|
|
15
|
+
|
|
16
|
+
if sys.version_info >= (3, 10):
|
|
17
|
+
import typing as typing_extensions
|
|
18
|
+
else:
|
|
19
|
+
import typing_extensions
|
|
20
|
+
|
|
21
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
22
|
+
|
|
23
|
+
class _AnnotationLogKind:
|
|
24
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
25
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
26
|
+
|
|
27
|
+
class _AnnotationLogKindEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_AnnotationLogKind.ValueType], builtins.type):
|
|
28
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
29
|
+
ANNOTATION_LOG_KIND_UNSPECIFIED: _AnnotationLogKind.ValueType # 0
|
|
30
|
+
ANNOTATION_LOG_KIND_COMMENT: _AnnotationLogKind.ValueType # 1
|
|
31
|
+
ANNOTATION_LOG_KIND_STATE_UPDATE: _AnnotationLogKind.ValueType # 2
|
|
32
|
+
ANNOTATION_LOG_KIND_ASSIGNED: _AnnotationLogKind.ValueType # 3
|
|
33
|
+
|
|
34
|
+
class AnnotationLogKind(_AnnotationLogKind, metaclass=_AnnotationLogKindEnumTypeWrapper): ...
|
|
35
|
+
|
|
36
|
+
ANNOTATION_LOG_KIND_UNSPECIFIED: AnnotationLogKind.ValueType # 0
|
|
37
|
+
ANNOTATION_LOG_KIND_COMMENT: AnnotationLogKind.ValueType # 1
|
|
38
|
+
ANNOTATION_LOG_KIND_STATE_UPDATE: AnnotationLogKind.ValueType # 2
|
|
39
|
+
ANNOTATION_LOG_KIND_ASSIGNED: AnnotationLogKind.ValueType # 3
|
|
40
|
+
global___AnnotationLogKind = AnnotationLogKind
|
|
41
|
+
|
|
42
|
+
class _AnnotationLogState:
|
|
43
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
44
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
45
|
+
|
|
46
|
+
class _AnnotationLogStateEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_AnnotationLogState.ValueType], builtins.type):
|
|
47
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
48
|
+
ANNOTATION_LOG_STATE_UNSPECIFIED: _AnnotationLogState.ValueType # 0
|
|
49
|
+
ANNOTATION_LOG_STATE_CREATED: _AnnotationLogState.ValueType # 1
|
|
50
|
+
ANNOTATION_LOG_STATE_OPEN: _AnnotationLogState.ValueType # 2
|
|
51
|
+
ANNOTATION_LOG_STATE_FLAGGED: _AnnotationLogState.ValueType # 3
|
|
52
|
+
ANNOTATION_LOG_STATE_RESOLVED: _AnnotationLogState.ValueType # 4
|
|
53
|
+
|
|
54
|
+
class AnnotationLogState(_AnnotationLogState, metaclass=_AnnotationLogStateEnumTypeWrapper): ...
|
|
55
|
+
|
|
56
|
+
ANNOTATION_LOG_STATE_UNSPECIFIED: AnnotationLogState.ValueType # 0
|
|
57
|
+
ANNOTATION_LOG_STATE_CREATED: AnnotationLogState.ValueType # 1
|
|
58
|
+
ANNOTATION_LOG_STATE_OPEN: AnnotationLogState.ValueType # 2
|
|
59
|
+
ANNOTATION_LOG_STATE_FLAGGED: AnnotationLogState.ValueType # 3
|
|
60
|
+
ANNOTATION_LOG_STATE_RESOLVED: AnnotationLogState.ValueType # 4
|
|
61
|
+
global___AnnotationLogState = AnnotationLogState
|
|
62
|
+
|
|
63
|
+
class _AnnotationCommentBodyElementType:
|
|
64
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
65
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
66
|
+
|
|
67
|
+
class _AnnotationCommentBodyElementTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_AnnotationCommentBodyElementType.ValueType], builtins.type):
|
|
68
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
69
|
+
ANNOTATION_COMMENT_BODY_ELEMENT_TYPE_UNSPECIFIED: _AnnotationCommentBodyElementType.ValueType # 0
|
|
70
|
+
ANNOTATION_COMMENT_BODY_ELEMENT_TYPE_TEXT: _AnnotationCommentBodyElementType.ValueType # 1
|
|
71
|
+
ANNOTATION_COMMENT_BODY_ELEMENT_TYPE_USER_MENTION: _AnnotationCommentBodyElementType.ValueType # 2
|
|
72
|
+
|
|
73
|
+
class AnnotationCommentBodyElementType(_AnnotationCommentBodyElementType, metaclass=_AnnotationCommentBodyElementTypeEnumTypeWrapper): ...
|
|
74
|
+
|
|
75
|
+
ANNOTATION_COMMENT_BODY_ELEMENT_TYPE_UNSPECIFIED: AnnotationCommentBodyElementType.ValueType # 0
|
|
76
|
+
ANNOTATION_COMMENT_BODY_ELEMENT_TYPE_TEXT: AnnotationCommentBodyElementType.ValueType # 1
|
|
77
|
+
ANNOTATION_COMMENT_BODY_ELEMENT_TYPE_USER_MENTION: AnnotationCommentBodyElementType.ValueType # 2
|
|
78
|
+
global___AnnotationCommentBodyElementType = AnnotationCommentBodyElementType
|
|
79
|
+
|
|
80
|
+
@typing.final
|
|
81
|
+
class CreateAnnotationLogRequest(google.protobuf.message.Message):
|
|
82
|
+
"""The request for a call to `AnnotationLogService_CreateAnnotationLog` to create an annotation log."""
|
|
83
|
+
|
|
84
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
85
|
+
|
|
86
|
+
ANNOTATION_ID_FIELD_NUMBER: builtins.int
|
|
87
|
+
KIND_FIELD_NUMBER: builtins.int
|
|
88
|
+
ASSIGNED_FIELD_NUMBER: builtins.int
|
|
89
|
+
STATE_UPDATE_FIELD_NUMBER: builtins.int
|
|
90
|
+
COMMENT_FIELD_NUMBER: builtins.int
|
|
91
|
+
annotation_id: builtins.str
|
|
92
|
+
"""The ID of the parent annotation associated to associate with the new annotation log."""
|
|
93
|
+
kind: global___AnnotationLogKind.ValueType
|
|
94
|
+
"""The kind of annotation log to create."""
|
|
95
|
+
@property
|
|
96
|
+
def assigned(self) -> global___AnnotationLogAssignedProperties: ...
|
|
97
|
+
@property
|
|
98
|
+
def state_update(self) -> global___AnnotationLogStateUpdateProperties: ...
|
|
99
|
+
@property
|
|
100
|
+
def comment(self) -> global___AnnotationLogCommentProperties: ...
|
|
101
|
+
def __init__(
|
|
102
|
+
self,
|
|
103
|
+
*,
|
|
104
|
+
annotation_id: builtins.str = ...,
|
|
105
|
+
kind: global___AnnotationLogKind.ValueType = ...,
|
|
106
|
+
assigned: global___AnnotationLogAssignedProperties | None = ...,
|
|
107
|
+
state_update: global___AnnotationLogStateUpdateProperties | None = ...,
|
|
108
|
+
comment: global___AnnotationLogCommentProperties | None = ...,
|
|
109
|
+
) -> None: ...
|
|
110
|
+
def HasField(self, field_name: typing.Literal["assigned", b"assigned", "comment", b"comment", "properties", b"properties", "state_update", b"state_update"]) -> builtins.bool: ...
|
|
111
|
+
def ClearField(self, field_name: typing.Literal["annotation_id", b"annotation_id", "assigned", b"assigned", "comment", b"comment", "kind", b"kind", "properties", b"properties", "state_update", b"state_update"]) -> None: ...
|
|
112
|
+
def WhichOneof(self, oneof_group: typing.Literal["properties", b"properties"]) -> typing.Literal["assigned", "state_update", "comment"] | None: ...
|
|
113
|
+
|
|
114
|
+
global___CreateAnnotationLogRequest = CreateAnnotationLogRequest
|
|
115
|
+
|
|
116
|
+
@typing.final
|
|
117
|
+
class CreateAnnotationLogResponse(google.protobuf.message.Message):
|
|
118
|
+
"""The response of a call to `AnnotationLogService_CreateAnnotationLog`."""
|
|
119
|
+
|
|
120
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
121
|
+
|
|
122
|
+
ANNOTATION_LOG_FIELD_NUMBER: builtins.int
|
|
123
|
+
@property
|
|
124
|
+
def annotation_log(self) -> global___AnnotationLogSearchResult: ...
|
|
125
|
+
def __init__(
|
|
126
|
+
self,
|
|
127
|
+
*,
|
|
128
|
+
annotation_log: global___AnnotationLogSearchResult | None = ...,
|
|
129
|
+
) -> None: ...
|
|
130
|
+
def HasField(self, field_name: typing.Literal["annotation_log", b"annotation_log"]) -> builtins.bool: ...
|
|
131
|
+
def ClearField(self, field_name: typing.Literal["annotation_log", b"annotation_log"]) -> None: ...
|
|
132
|
+
|
|
133
|
+
global___CreateAnnotationLogResponse = CreateAnnotationLogResponse
|
|
134
|
+
|
|
135
|
+
@typing.final
|
|
136
|
+
class ListAnnotationLogsRequest(google.protobuf.message.Message):
|
|
137
|
+
"""The request for a call to `AnnotationLogService_ListAnnotationLogs` to retrieve annotation logs."""
|
|
138
|
+
|
|
139
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
140
|
+
|
|
141
|
+
ANNOTATION_ID_FIELD_NUMBER: builtins.int
|
|
142
|
+
PAGE_SIZE_FIELD_NUMBER: builtins.int
|
|
143
|
+
PAGE_TOKEN_FIELD_NUMBER: builtins.int
|
|
144
|
+
FILTER_FIELD_NUMBER: builtins.int
|
|
145
|
+
annotation_id: builtins.str
|
|
146
|
+
"""The ID of the parent annotation associated with the annotation logs."""
|
|
147
|
+
page_size: builtins.int
|
|
148
|
+
"""The maximum number of annotation logs to return.
|
|
149
|
+
The service may return fewer than this value.
|
|
150
|
+
If unspecified, at most 50 annotation logs will be returned.
|
|
151
|
+
The maximum value is 1000; values above 1000 will be coerced to 1000.
|
|
152
|
+
"""
|
|
153
|
+
page_token: builtins.str
|
|
154
|
+
"""A page token, received from a previous `ListAnnotationLogs` call.
|
|
155
|
+
Provide this to retrieve the subsequent page.
|
|
156
|
+
When paginating, all other parameters provided to `ListAnnotationLogs` must match
|
|
157
|
+
the call that provided the page token.
|
|
158
|
+
"""
|
|
159
|
+
filter: builtins.str
|
|
160
|
+
"""A [Common Expression Language (CEL)](https://github.com/google/cel-spec) filter string.
|
|
161
|
+
Available fields to filter by are `annotation_log_id`, `annotation_id`, `created_by_user_id`,
|
|
162
|
+
`created_date`, `modified_date`, and `kind`.
|
|
163
|
+
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).
|
|
164
|
+
For more information about the fields used for filtering, please refer to [this definition](/api/grpc/protocol_buffers/annotation_logs#annotationlogsearchresult). Optional.
|
|
165
|
+
"""
|
|
166
|
+
def __init__(
|
|
167
|
+
self,
|
|
168
|
+
*,
|
|
169
|
+
annotation_id: builtins.str = ...,
|
|
170
|
+
page_size: builtins.int = ...,
|
|
171
|
+
page_token: builtins.str = ...,
|
|
172
|
+
filter: builtins.str = ...,
|
|
173
|
+
) -> None: ...
|
|
174
|
+
def ClearField(self, field_name: typing.Literal["annotation_id", b"annotation_id", "filter", b"filter", "page_size", b"page_size", "page_token", b"page_token"]) -> None: ...
|
|
175
|
+
|
|
176
|
+
global___ListAnnotationLogsRequest = ListAnnotationLogsRequest
|
|
177
|
+
|
|
178
|
+
@typing.final
|
|
179
|
+
class ListAnnotationLogsResponse(google.protobuf.message.Message):
|
|
180
|
+
"""The response of a call to `AnnotationLogService_ListAnnotationLogs`."""
|
|
181
|
+
|
|
182
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
183
|
+
|
|
184
|
+
ANNOTATION_LOGS_FIELD_NUMBER: builtins.int
|
|
185
|
+
NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int
|
|
186
|
+
next_page_token: builtins.str
|
|
187
|
+
@property
|
|
188
|
+
def annotation_logs(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___AnnotationLogSearchResult]: ...
|
|
189
|
+
def __init__(
|
|
190
|
+
self,
|
|
191
|
+
*,
|
|
192
|
+
annotation_logs: collections.abc.Iterable[global___AnnotationLogSearchResult] | None = ...,
|
|
193
|
+
next_page_token: builtins.str = ...,
|
|
194
|
+
) -> None: ...
|
|
195
|
+
def ClearField(self, field_name: typing.Literal["annotation_logs", b"annotation_logs", "next_page_token", b"next_page_token"]) -> None: ...
|
|
196
|
+
|
|
197
|
+
global___ListAnnotationLogsResponse = ListAnnotationLogsResponse
|
|
198
|
+
|
|
199
|
+
@typing.final
|
|
200
|
+
class DeleteAnnotationLogRequest(google.protobuf.message.Message):
|
|
201
|
+
"""The request for a call to `AnnotationLogService_DeleteAnnotationLog` to delete an annotation log."""
|
|
202
|
+
|
|
203
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
204
|
+
|
|
205
|
+
ANNOTATION_ID_FIELD_NUMBER: builtins.int
|
|
206
|
+
ANNOTATION_LOG_ID_FIELD_NUMBER: builtins.int
|
|
207
|
+
annotation_id: builtins.str
|
|
208
|
+
"""The ID of the parent annotation associated with the annotation log to be deleted."""
|
|
209
|
+
annotation_log_id: builtins.str
|
|
210
|
+
"""ID of the annotation log to be deleted."""
|
|
211
|
+
def __init__(
|
|
212
|
+
self,
|
|
213
|
+
*,
|
|
214
|
+
annotation_id: builtins.str = ...,
|
|
215
|
+
annotation_log_id: builtins.str = ...,
|
|
216
|
+
) -> None: ...
|
|
217
|
+
def ClearField(self, field_name: typing.Literal["annotation_id", b"annotation_id", "annotation_log_id", b"annotation_log_id"]) -> None: ...
|
|
218
|
+
|
|
219
|
+
global___DeleteAnnotationLogRequest = DeleteAnnotationLogRequest
|
|
220
|
+
|
|
221
|
+
@typing.final
|
|
222
|
+
class DeleteAnnotationLogResponse(google.protobuf.message.Message):
|
|
223
|
+
"""The Response of a call to `AnnotationLogService_DeleteAnnotationLog`."""
|
|
224
|
+
|
|
225
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
226
|
+
|
|
227
|
+
def __init__(
|
|
228
|
+
self,
|
|
229
|
+
) -> None: ...
|
|
230
|
+
|
|
231
|
+
global___DeleteAnnotationLogResponse = DeleteAnnotationLogResponse
|
|
232
|
+
|
|
233
|
+
@typing.final
|
|
234
|
+
class AnnotationLogSearchResult(google.protobuf.message.Message):
|
|
235
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
236
|
+
|
|
237
|
+
ANNOTATION_LOG_ID_FIELD_NUMBER: builtins.int
|
|
238
|
+
CREATED_DATE_FIELD_NUMBER: builtins.int
|
|
239
|
+
MODIFIED_DATE_FIELD_NUMBER: builtins.int
|
|
240
|
+
ANNOTATION_ID_FIELD_NUMBER: builtins.int
|
|
241
|
+
KIND_FIELD_NUMBER: builtins.int
|
|
242
|
+
CREATED_BY_USER_ID_FIELD_NUMBER: builtins.int
|
|
243
|
+
CREATED_BY_USER_NAME_FIELD_NUMBER: builtins.int
|
|
244
|
+
ASSIGNED_FIELD_NUMBER: builtins.int
|
|
245
|
+
STATE_UPDATE_FIELD_NUMBER: builtins.int
|
|
246
|
+
COMMENT_FIELD_NUMBER: builtins.int
|
|
247
|
+
annotation_log_id: builtins.str
|
|
248
|
+
annotation_id: builtins.str
|
|
249
|
+
kind: global___AnnotationLogKind.ValueType
|
|
250
|
+
created_by_user_id: builtins.str
|
|
251
|
+
created_by_user_name: builtins.str
|
|
252
|
+
@property
|
|
253
|
+
def created_date(self) -> google.protobuf.timestamp_pb2.Timestamp: ...
|
|
254
|
+
@property
|
|
255
|
+
def modified_date(self) -> google.protobuf.timestamp_pb2.Timestamp: ...
|
|
256
|
+
@property
|
|
257
|
+
def assigned(self) -> global___AnnotationLogAssignedProperties: ...
|
|
258
|
+
@property
|
|
259
|
+
def state_update(self) -> global___AnnotationLogStateUpdateProperties: ...
|
|
260
|
+
@property
|
|
261
|
+
def comment(self) -> global___AnnotationLogCommentProperties: ...
|
|
262
|
+
def __init__(
|
|
263
|
+
self,
|
|
264
|
+
*,
|
|
265
|
+
annotation_log_id: builtins.str = ...,
|
|
266
|
+
created_date: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
267
|
+
modified_date: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
268
|
+
annotation_id: builtins.str = ...,
|
|
269
|
+
kind: global___AnnotationLogKind.ValueType = ...,
|
|
270
|
+
created_by_user_id: builtins.str = ...,
|
|
271
|
+
created_by_user_name: builtins.str = ...,
|
|
272
|
+
assigned: global___AnnotationLogAssignedProperties | None = ...,
|
|
273
|
+
state_update: global___AnnotationLogStateUpdateProperties | None = ...,
|
|
274
|
+
comment: global___AnnotationLogCommentProperties | None = ...,
|
|
275
|
+
) -> None: ...
|
|
276
|
+
def HasField(self, field_name: typing.Literal["assigned", b"assigned", "comment", b"comment", "created_date", b"created_date", "modified_date", b"modified_date", "properties", b"properties", "state_update", b"state_update"]) -> builtins.bool: ...
|
|
277
|
+
def ClearField(self, field_name: typing.Literal["annotation_id", b"annotation_id", "annotation_log_id", b"annotation_log_id", "assigned", b"assigned", "comment", b"comment", "created_by_user_id", b"created_by_user_id", "created_by_user_name", b"created_by_user_name", "created_date", b"created_date", "kind", b"kind", "modified_date", b"modified_date", "properties", b"properties", "state_update", b"state_update"]) -> None: ...
|
|
278
|
+
def WhichOneof(self, oneof_group: typing.Literal["properties", b"properties"]) -> typing.Literal["assigned", "state_update", "comment"] | None: ...
|
|
279
|
+
|
|
280
|
+
global___AnnotationLogSearchResult = AnnotationLogSearchResult
|
|
281
|
+
|
|
282
|
+
@typing.final
|
|
283
|
+
class AnnotationLogAssignedProperties(google.protobuf.message.Message):
|
|
284
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
285
|
+
|
|
286
|
+
ASSIGNED_TO_USER_ID_FIELD_NUMBER: builtins.int
|
|
287
|
+
ASSIGNED_TO_USER_EMAIL_FIELD_NUMBER: builtins.int
|
|
288
|
+
assigned_to_user_id: builtins.str
|
|
289
|
+
assigned_to_user_email: builtins.str
|
|
290
|
+
def __init__(
|
|
291
|
+
self,
|
|
292
|
+
*,
|
|
293
|
+
assigned_to_user_id: builtins.str = ...,
|
|
294
|
+
assigned_to_user_email: builtins.str = ...,
|
|
295
|
+
) -> None: ...
|
|
296
|
+
def ClearField(self, field_name: typing.Literal["assigned_to_user_email", b"assigned_to_user_email", "assigned_to_user_id", b"assigned_to_user_id"]) -> None: ...
|
|
297
|
+
|
|
298
|
+
global___AnnotationLogAssignedProperties = AnnotationLogAssignedProperties
|
|
299
|
+
|
|
300
|
+
@typing.final
|
|
301
|
+
class AnnotationLogStateUpdateProperties(google.protobuf.message.Message):
|
|
302
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
303
|
+
|
|
304
|
+
STATE_FIELD_NUMBER: builtins.int
|
|
305
|
+
state: global___AnnotationLogState.ValueType
|
|
306
|
+
def __init__(
|
|
307
|
+
self,
|
|
308
|
+
*,
|
|
309
|
+
state: global___AnnotationLogState.ValueType = ...,
|
|
310
|
+
) -> None: ...
|
|
311
|
+
def ClearField(self, field_name: typing.Literal["state", b"state"]) -> None: ...
|
|
312
|
+
|
|
313
|
+
global___AnnotationLogStateUpdateProperties = AnnotationLogStateUpdateProperties
|
|
314
|
+
|
|
315
|
+
@typing.final
|
|
316
|
+
class AnnotationLogCommentProperties(google.protobuf.message.Message):
|
|
317
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
318
|
+
|
|
319
|
+
BODY_FIELD_NUMBER: builtins.int
|
|
320
|
+
@property
|
|
321
|
+
def body(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___AnnotationCommentBodyElement]: ...
|
|
322
|
+
def __init__(
|
|
323
|
+
self,
|
|
324
|
+
*,
|
|
325
|
+
body: collections.abc.Iterable[global___AnnotationCommentBodyElement] | None = ...,
|
|
326
|
+
) -> None: ...
|
|
327
|
+
def ClearField(self, field_name: typing.Literal["body", b"body"]) -> None: ...
|
|
328
|
+
|
|
329
|
+
global___AnnotationLogCommentProperties = AnnotationLogCommentProperties
|
|
330
|
+
|
|
331
|
+
@typing.final
|
|
332
|
+
class AnnotationCommentBodyElement(google.protobuf.message.Message):
|
|
333
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
334
|
+
|
|
335
|
+
TYPE_FIELD_NUMBER: builtins.int
|
|
336
|
+
TEXT_FIELD_NUMBER: builtins.int
|
|
337
|
+
USER_MENTION_FIELD_NUMBER: builtins.int
|
|
338
|
+
type: global___AnnotationCommentBodyElementType.ValueType
|
|
339
|
+
text: builtins.str
|
|
340
|
+
@property
|
|
341
|
+
def user_mention(self) -> global___AnnotationCommentUserMention: ...
|
|
342
|
+
def __init__(
|
|
343
|
+
self,
|
|
344
|
+
*,
|
|
345
|
+
type: global___AnnotationCommentBodyElementType.ValueType = ...,
|
|
346
|
+
text: builtins.str = ...,
|
|
347
|
+
user_mention: global___AnnotationCommentUserMention | None = ...,
|
|
348
|
+
) -> None: ...
|
|
349
|
+
def HasField(self, field_name: typing.Literal["user_mention", b"user_mention"]) -> builtins.bool: ...
|
|
350
|
+
def ClearField(self, field_name: typing.Literal["text", b"text", "type", b"type", "user_mention", b"user_mention"]) -> None: ...
|
|
351
|
+
|
|
352
|
+
global___AnnotationCommentBodyElement = AnnotationCommentBodyElement
|
|
353
|
+
|
|
354
|
+
@typing.final
|
|
355
|
+
class AnnotationCommentUserMention(google.protobuf.message.Message):
|
|
356
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
357
|
+
|
|
358
|
+
USER_ID_FIELD_NUMBER: builtins.int
|
|
359
|
+
USER_EMAIL_FIELD_NUMBER: builtins.int
|
|
360
|
+
user_id: builtins.str
|
|
361
|
+
user_email: builtins.str
|
|
362
|
+
def __init__(
|
|
363
|
+
self,
|
|
364
|
+
*,
|
|
365
|
+
user_id: builtins.str = ...,
|
|
366
|
+
user_email: builtins.str = ...,
|
|
367
|
+
) -> None: ...
|
|
368
|
+
def ClearField(self, field_name: typing.Literal["user_email", b"user_email", "user_id", b"user_id"]) -> None: ...
|
|
369
|
+
|
|
370
|
+
global___AnnotationCommentUserMention = AnnotationCommentUserMention
|