fsai-proto-specs 0.0.409__tar.gz → 0.0.417__tar.gz
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.
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/PKG-INFO +1 -1
- fsai_proto_specs-0.0.417/audit_grpc_service/protos/audit_api_pb2.py +37 -0
- fsai_proto_specs-0.0.417/global_vo_grpc_service/protos/admin_team_api_pb2.py +47 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/admin_team_api_pb2_grpc.py +33 -0
- fsai_proto_specs-0.0.417/global_vo_grpc_service/protos/correction_api_pb2.py +61 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/correction_api_pb2_grpc.py +99 -0
- fsai_proto_specs-0.0.417/global_vo_grpc_service/protos/detection_instance_api_pb2.py +126 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/feature_api_pb2.py +9 -3
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/feature_api_pb2_grpc.py +33 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/image_scan_api_pb2.py +15 -11
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/image_scan_api_pb2_grpc.py +33 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/utils_pb2.py +2 -2
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/pyproject.toml +1 -1
- fsai_proto_specs-0.0.409/audit_grpc_service/protos/audit_api_pb2.py +0 -37
- fsai_proto_specs-0.0.409/global_vo_grpc_service/protos/admin_team_api_pb2.py +0 -43
- fsai_proto_specs-0.0.409/global_vo_grpc_service/protos/correction_api_pb2.py +0 -49
- fsai_proto_specs-0.0.409/global_vo_grpc_service/protos/detection_instance_api_pb2.py +0 -126
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/README.md +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/audit_grpc_service/__init__.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/audit_grpc_service/protos/__init__.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/audit_grpc_service/protos/audit_api_pb2_grpc.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/data_grpc_service/__init__.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/data_grpc_service/protos/__init__.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/data_grpc_service/protos/detection_chip_data_api_pb2.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/data_grpc_service/protos/detection_chip_data_api_pb2_grpc.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/data_grpc_service/protos/detection_instance_data_api_pb2.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/data_grpc_service/protos/detection_instance_data_api_pb2_grpc.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/data_grpc_service/protos/image_data_api_pb2.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/data_grpc_service/protos/image_data_api_pb2_grpc.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/geospatial_toolkit_grpc_service/__init__.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/geospatial_toolkit_grpc_service/protos/__init__.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/geospatial_toolkit_grpc_service/protos/elevation_model_api_pb2.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/geospatial_toolkit_grpc_service/protos/elevation_model_api_pb2_grpc.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/geospatial_toolkit_grpc_service/protos/function_api_pb2.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/geospatial_toolkit_grpc_service/protos/function_api_pb2_grpc.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/geospatial_toolkit_grpc_service/protos/mgrs_api_pb2.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/geospatial_toolkit_grpc_service/protos/mgrs_api_pb2_grpc.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/__init__.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/__init__.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/admin_consumption_api_pb2.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/admin_consumption_api_pb2_grpc.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/admin_contract_range_allotment_api_pb2.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/admin_contract_range_allotment_api_pb2_grpc.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/admin_customer_api_pb2.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/admin_customer_api_pb2_grpc.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/admin_system_permission_api_pb2.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/admin_system_permission_api_pb2_grpc.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/admin_team_role_api_pb2.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/admin_team_role_api_pb2_grpc.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/admin_team_role_permission_api_pb2.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/admin_team_role_permission_api_pb2_grpc.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/admin_user_api_pb2.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/admin_user_api_pb2_grpc.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/area_of_interest_api_pb2.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/area_of_interest_api_pb2_grpc.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/audit_query_api_pb2.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/audit_query_api_pb2_grpc.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/category_api_pb2.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/category_api_pb2_grpc.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/category_changelog_api_pb2.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/category_changelog_api_pb2_grpc.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/customer_api_pb2.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/customer_api_pb2_grpc.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/detection_api_pb2.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/detection_api_pb2_grpc.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/detection_instance_api_pb2_grpc.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/geo_data_api_pb2.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/geo_data_api_pb2_grpc.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/image_api_pb2.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/image_api_pb2_grpc.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/image_metadata_api_pb2.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/image_metadata_api_pb2_grpc.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/invitation_api_pb2.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/invitation_api_pb2_grpc.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/invitation_response_api_pb2.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/invitation_response_api_pb2_grpc.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/mission_api_pb2.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/mission_api_pb2_grpc.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/model_assessment_api_pb2.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/model_assessment_api_pb2_grpc.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/permission_api_pb2.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/permission_api_pb2_grpc.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/product_changelog_api_pb2.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/product_changelog_api_pb2_grpc.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/query_api_pb2.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/query_api_pb2_grpc.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/reporting_api_pb2.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/reporting_api_pb2_grpc.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/review_api_pb2.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/review_api_pb2_grpc.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/role_api_pb2.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/role_api_pb2_grpc.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/signed_url_api_pb2.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/signed_url_api_pb2_grpc.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/source_api_pb2.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/source_api_pb2_grpc.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/task_api_pb2.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/task_api_pb2_grpc.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/task_image_api_pb2.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/task_image_api_pb2_grpc.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/task_image_metadata_api_pb2.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/task_image_metadata_api_pb2_grpc.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/team_api_pb2.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/team_api_pb2_grpc.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/team_member_api_pb2.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/team_member_api_pb2_grpc.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/team_member_role_api_pb2.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/team_member_role_api_pb2_grpc.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/team_role_api_pb2.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/team_role_api_pb2_grpc.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/user_api_pb2.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/user_api_pb2_grpc.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/user_favorites_api_pb2.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/user_favorites_api_pb2_grpc.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/user_metric_api_pb2.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/user_metric_api_pb2_grpc.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/user_password_reset_request_api_pb2.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/user_password_reset_request_api_pb2_grpc.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/utils_pb2_grpc.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/workflow_analyzer_api_pb2.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/workflow_analyzer_api_pb2_grpc.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/workflow_api_pb2.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/global_vo_grpc_service/protos/workflow_api_pb2_grpc.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/search_grpc_service/__init__.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/search_grpc_service/protos/__init__.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/search_grpc_service/protos/index_api_pb2.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/search_grpc_service/protos/index_api_pb2_grpc.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/search_grpc_service/protos/search_api_pb2.py +0 -0
- {fsai_proto_specs-0.0.409 → fsai_proto_specs-0.0.417}/search_grpc_service/protos/search_api_pb2_grpc.py +0 -0
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: audit_grpc_service/protos/audit_api.proto
|
|
4
|
+
"""Generated protocol buffer code."""
|
|
5
|
+
from google.protobuf.internal import builder as _builder
|
|
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
|
+
# @@protoc_insertion_point(imports)
|
|
10
|
+
|
|
11
|
+
_sym_db = _symbol_database.Default()
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
15
|
+
from global_vo_grpc_service.protos import utils_pb2 as global__vo__grpc__service_dot_protos_dot_utils__pb2
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)audit_grpc_service/protos/audit_api.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a)global_vo_grpc_service/protos/utils.proto\"\xb9\x01\n\x05\x41udit\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x0f\n\x07user_id\x18\x02 \x01(\x05\x12\x0e\n\x06\x61\x63tion\x18\x03 \x01(\t\x12\x16\n\x0eresource_table\x18\x04 \x01(\t\x12\x17\n\x0fresource_column\x18\x05 \x01(\t\x12\x13\n\x0bresource_id\x18\x06 \x01(\x05\x12/\n\x0b\x61\x63tioned_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04\x64\x61ta\x18\x08 \x01(\t\"\xdc\x01\n\x12QueryAuditsRequest\x12\x12\n\nquery_type\x18\x01 \x01(\t\x12\x16\n\x0eresource_table\x18\x02 \x01(\t\x12\x17\n\x0fresource_column\x18\x03 \x01(\t\x12\x14\n\x0cresource_ids\x18\x04 \x03(\x05\x12\x0f\n\x07user_id\x18\x05 \x01(\x05\x12\x0e\n\x06\x61\x63tion\x18\x06 \x01(\t\x12\x10\n\x08group_by\x18\x07 \x01(\t\x12\x10\n\x08order_by\x18\x08 \x01(\t\x12\x17\n\x0forder_direction\x18\t \x01(\t\x12\r\n\x05limit\x18\n \x01(\x05\"-\n\x13QueryAuditsResponse\x12\x16\n\x06\x61udits\x18\x01 \x03(\x0b\x32\x06.Audit\"x\n\x12\x43reateAuditRequest\x12\x0e\n\x06\x61\x63tion\x18\x01 \x01(\t\x12\x16\n\x0eresource_table\x18\x02 \x01(\t\x12\x17\n\x0fresource_column\x18\x03 \x01(\t\x12\x13\n\x0bresource_id\x18\x04 \x01(\x05\x12\x0c\n\x04\x64\x61ta\x18\x05 \x01(\t\"C\n\x13\x43reateAuditResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\n\n\x02id\x18\x02 \x01(\x05\x32~\n\x08\x41uditApi\x12\x38\n\x0bQueryAudits\x12\x13.QueryAuditsRequest\x1a\x14.QueryAuditsResponse\x12\x38\n\x0b\x43reateAudit\x12\x13.CreateAuditRequest\x1a\x14.CreateAuditResponseb\x06proto3')
|
|
19
|
+
|
|
20
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
|
|
21
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'audit_grpc_service.protos.audit_api_pb2', globals())
|
|
22
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
23
|
+
|
|
24
|
+
DESCRIPTOR._options = None
|
|
25
|
+
_AUDIT._serialized_start=122
|
|
26
|
+
_AUDIT._serialized_end=307
|
|
27
|
+
_QUERYAUDITSREQUEST._serialized_start=310
|
|
28
|
+
_QUERYAUDITSREQUEST._serialized_end=530
|
|
29
|
+
_QUERYAUDITSRESPONSE._serialized_start=532
|
|
30
|
+
_QUERYAUDITSRESPONSE._serialized_end=577
|
|
31
|
+
_CREATEAUDITREQUEST._serialized_start=579
|
|
32
|
+
_CREATEAUDITREQUEST._serialized_end=699
|
|
33
|
+
_CREATEAUDITRESPONSE._serialized_start=701
|
|
34
|
+
_CREATEAUDITRESPONSE._serialized_end=768
|
|
35
|
+
_AUDITAPI._serialized_start=770
|
|
36
|
+
_AUDITAPI._serialized_end=896
|
|
37
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: global_vo_grpc_service/protos/admin_team_api.proto
|
|
4
|
+
"""Generated protocol buffer code."""
|
|
5
|
+
from google.protobuf.internal import builder as _builder
|
|
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
|
+
# @@protoc_insertion_point(imports)
|
|
10
|
+
|
|
11
|
+
_sym_db = _symbol_database.Default()
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
from global_vo_grpc_service.protos import team_api_pb2 as global__vo__grpc__service_dot_protos_dot_team__api__pb2
|
|
15
|
+
from global_vo_grpc_service.protos import utils_pb2 as global__vo__grpc__service_dot_protos_dot_utils__pb2
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n2global_vo_grpc_service/protos/admin_team_api.proto\x1a,global_vo_grpc_service/protos/team_api.proto\x1a)global_vo_grpc_service/protos/utils.proto\"6\n\x11\x43reateTeamRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x63ustomer_id\x18\x02 \x01(\x05\"K\n\x12\x43reateTeamResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x13\n\x04team\x18\x02 \x01(\x0b\x32\x05.Team\"`\n#CloneTeamRolesAndPermissionsRequest\x12\x16\n\x0esource_team_id\x18\x01 \x01(\x05\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x13\n\x0b\x63ustomer_id\x18\x03 \x01(\x05\"T\n$CloneTeamRolesAndPermissionsResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\n\n\x02id\x18\x02 \x01(\x05\"2\n\x10ListTeamsRequest\x12\r\n\x05query\x18\x01 \x01(\t\x12\x0f\n\x07user_id\x18\x02 \x01(\x05\"K\n\x11ListTeamsResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x14\n\x05teams\x18\x02 \x03(\x0b\x32\x05.Team\"5\n\x1dListTeamsByCustomerIdsRequest\x12\x14\n\x0c\x63ustomer_ids\x18\x01 \x03(\x05\"6\n\x1eListTeamsByCustomerIdsResponse\x12\x14\n\x05teams\x18\x01 \x03(\x0b\x32\x05.Team\"B\n\x11UpdateTeamRequest\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x13\n\x0b\x63ustomer_id\x18\x03 \x01(\x05\"B\n\x12UpdateTeamResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\n\n\x02id\x18\x02 \x01(\x05\x32\xf8\x02\n\x0c\x41\x64minTeamApi\x12\x35\n\nCreateTeam\x12\x12.CreateTeamRequest\x1a\x13.CreateTeamResponse\x12k\n\x1c\x43loneTeamRolesAndPermissions\x12$.CloneTeamRolesAndPermissionsRequest\x1a%.CloneTeamRolesAndPermissionsResponse\x12\x32\n\tListTeams\x12\x11.ListTeamsRequest\x1a\x12.ListTeamsResponse\x12Y\n\x16ListTeamsByCustomerIds\x12\x1e.ListTeamsByCustomerIdsRequest\x1a\x1f.ListTeamsByCustomerIdsResponse\x12\x35\n\nUpdateTeam\x12\x12.UpdateTeamRequest\x1a\x13.UpdateTeamResponseb\x06proto3')
|
|
19
|
+
|
|
20
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
|
|
21
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'global_vo_grpc_service.protos.admin_team_api_pb2', globals())
|
|
22
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
23
|
+
|
|
24
|
+
DESCRIPTOR._options = None
|
|
25
|
+
_CREATETEAMREQUEST._serialized_start=143
|
|
26
|
+
_CREATETEAMREQUEST._serialized_end=197
|
|
27
|
+
_CREATETEAMRESPONSE._serialized_start=199
|
|
28
|
+
_CREATETEAMRESPONSE._serialized_end=274
|
|
29
|
+
_CLONETEAMROLESANDPERMISSIONSREQUEST._serialized_start=276
|
|
30
|
+
_CLONETEAMROLESANDPERMISSIONSREQUEST._serialized_end=372
|
|
31
|
+
_CLONETEAMROLESANDPERMISSIONSRESPONSE._serialized_start=374
|
|
32
|
+
_CLONETEAMROLESANDPERMISSIONSRESPONSE._serialized_end=458
|
|
33
|
+
_LISTTEAMSREQUEST._serialized_start=460
|
|
34
|
+
_LISTTEAMSREQUEST._serialized_end=510
|
|
35
|
+
_LISTTEAMSRESPONSE._serialized_start=512
|
|
36
|
+
_LISTTEAMSRESPONSE._serialized_end=587
|
|
37
|
+
_LISTTEAMSBYCUSTOMERIDSREQUEST._serialized_start=589
|
|
38
|
+
_LISTTEAMSBYCUSTOMERIDSREQUEST._serialized_end=642
|
|
39
|
+
_LISTTEAMSBYCUSTOMERIDSRESPONSE._serialized_start=644
|
|
40
|
+
_LISTTEAMSBYCUSTOMERIDSRESPONSE._serialized_end=698
|
|
41
|
+
_UPDATETEAMREQUEST._serialized_start=700
|
|
42
|
+
_UPDATETEAMREQUEST._serialized_end=766
|
|
43
|
+
_UPDATETEAMRESPONSE._serialized_start=768
|
|
44
|
+
_UPDATETEAMRESPONSE._serialized_end=834
|
|
45
|
+
_ADMINTEAMAPI._serialized_start=837
|
|
46
|
+
_ADMINTEAMAPI._serialized_end=1213
|
|
47
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -19,6 +19,11 @@ class AdminTeamApiStub(object):
|
|
|
19
19
|
request_serializer=global__vo__grpc__service_dot_protos_dot_admin__team__api__pb2.CreateTeamRequest.SerializeToString,
|
|
20
20
|
response_deserializer=global__vo__grpc__service_dot_protos_dot_admin__team__api__pb2.CreateTeamResponse.FromString,
|
|
21
21
|
)
|
|
22
|
+
self.CloneTeamRolesAndPermissions = channel.unary_unary(
|
|
23
|
+
'/AdminTeamApi/CloneTeamRolesAndPermissions',
|
|
24
|
+
request_serializer=global__vo__grpc__service_dot_protos_dot_admin__team__api__pb2.CloneTeamRolesAndPermissionsRequest.SerializeToString,
|
|
25
|
+
response_deserializer=global__vo__grpc__service_dot_protos_dot_admin__team__api__pb2.CloneTeamRolesAndPermissionsResponse.FromString,
|
|
26
|
+
)
|
|
22
27
|
self.ListTeams = channel.unary_unary(
|
|
23
28
|
'/AdminTeamApi/ListTeams',
|
|
24
29
|
request_serializer=global__vo__grpc__service_dot_protos_dot_admin__team__api__pb2.ListTeamsRequest.SerializeToString,
|
|
@@ -45,6 +50,12 @@ class AdminTeamApiServicer(object):
|
|
|
45
50
|
context.set_details('Method not implemented!')
|
|
46
51
|
raise NotImplementedError('Method not implemented!')
|
|
47
52
|
|
|
53
|
+
def CloneTeamRolesAndPermissions(self, request, context):
|
|
54
|
+
"""Missing associated documentation comment in .proto file."""
|
|
55
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
56
|
+
context.set_details('Method not implemented!')
|
|
57
|
+
raise NotImplementedError('Method not implemented!')
|
|
58
|
+
|
|
48
59
|
def ListTeams(self, request, context):
|
|
49
60
|
"""Missing associated documentation comment in .proto file."""
|
|
50
61
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
@@ -71,6 +82,11 @@ def add_AdminTeamApiServicer_to_server(servicer, server):
|
|
|
71
82
|
request_deserializer=global__vo__grpc__service_dot_protos_dot_admin__team__api__pb2.CreateTeamRequest.FromString,
|
|
72
83
|
response_serializer=global__vo__grpc__service_dot_protos_dot_admin__team__api__pb2.CreateTeamResponse.SerializeToString,
|
|
73
84
|
),
|
|
85
|
+
'CloneTeamRolesAndPermissions': grpc.unary_unary_rpc_method_handler(
|
|
86
|
+
servicer.CloneTeamRolesAndPermissions,
|
|
87
|
+
request_deserializer=global__vo__grpc__service_dot_protos_dot_admin__team__api__pb2.CloneTeamRolesAndPermissionsRequest.FromString,
|
|
88
|
+
response_serializer=global__vo__grpc__service_dot_protos_dot_admin__team__api__pb2.CloneTeamRolesAndPermissionsResponse.SerializeToString,
|
|
89
|
+
),
|
|
74
90
|
'ListTeams': grpc.unary_unary_rpc_method_handler(
|
|
75
91
|
servicer.ListTeams,
|
|
76
92
|
request_deserializer=global__vo__grpc__service_dot_protos_dot_admin__team__api__pb2.ListTeamsRequest.FromString,
|
|
@@ -113,6 +129,23 @@ class AdminTeamApi(object):
|
|
|
113
129
|
options, channel_credentials,
|
|
114
130
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
115
131
|
|
|
132
|
+
@staticmethod
|
|
133
|
+
def CloneTeamRolesAndPermissions(request,
|
|
134
|
+
target,
|
|
135
|
+
options=(),
|
|
136
|
+
channel_credentials=None,
|
|
137
|
+
call_credentials=None,
|
|
138
|
+
insecure=False,
|
|
139
|
+
compression=None,
|
|
140
|
+
wait_for_ready=None,
|
|
141
|
+
timeout=None,
|
|
142
|
+
metadata=None):
|
|
143
|
+
return grpc.experimental.unary_unary(request, target, '/AdminTeamApi/CloneTeamRolesAndPermissions',
|
|
144
|
+
global__vo__grpc__service_dot_protos_dot_admin__team__api__pb2.CloneTeamRolesAndPermissionsRequest.SerializeToString,
|
|
145
|
+
global__vo__grpc__service_dot_protos_dot_admin__team__api__pb2.CloneTeamRolesAndPermissionsResponse.FromString,
|
|
146
|
+
options, channel_credentials,
|
|
147
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
148
|
+
|
|
116
149
|
@staticmethod
|
|
117
150
|
def ListTeams(request,
|
|
118
151
|
target,
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: global_vo_grpc_service/protos/correction_api.proto
|
|
4
|
+
"""Generated protocol buffer code."""
|
|
5
|
+
from google.protobuf.internal import builder as _builder
|
|
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
|
+
# @@protoc_insertion_point(imports)
|
|
10
|
+
|
|
11
|
+
_sym_db = _symbol_database.Default()
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
15
|
+
from global_vo_grpc_service.protos import utils_pb2 as global__vo__grpc__service_dot_protos_dot_utils__pb2
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n2global_vo_grpc_service/protos/correction_api.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a)global_vo_grpc_service/protos/utils.proto\"\xdb\x01\n\nCorrection\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x1d\n\x15\x64\x65tection_instance_id\x18\x02 \x01(\x05\x12\x13\n\x0b\x61ssigned_to\x18\x03 \x01(\x05\x12\x13\n\x0b\x61ssigned_by\x18\x04 \x01(\x05\x12\x30\n\x0crequested_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x30\n\x0c\x63ompleted_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x14\n\x0c\x63ompleted_by\x18\x07 \x01(\x05\"E\n#GetCorrectionsByDetectionIdsRequest\x12\x1e\n\x16\x64\x65tection_instance_ids\x18\x01 \x03(\x05\"H\n$GetCorrectionsByDetectionIdsResponse\x12 \n\x0b\x63orrections\x18\x01 \x03(\x0b\x32\x0b.Correction\"8\n!GetCorrectionsByAssignedToRequest\x12\x13\n\x0b\x61ssigned_to\x18\x01 \x01(\x05\"F\n\"GetCorrectionsByAssignedToResponse\x12 \n\x0b\x63orrections\x18\x01 \x03(\x0b\x32\x0b.Correction\"8\n!GetCorrectionsByAssignedByRequest\x12\x13\n\x0b\x61ssigned_by\x18\x01 \x01(\x05\"F\n\"GetCorrectionsByAssignedByResponse\x12 \n\x0b\x63orrections\x18\x01 \x03(\x0b\x32\x0b.Correction\"B\n+ListCompletedCorrectionsByAssignedToRequest\x12\x13\n\x0b\x61ssigned_to\x18\x01 \x01(\x05\"P\n,ListCompletedCorrectionsByAssignedToResponse\x12 \n\x0b\x63orrections\x18\x01 \x03(\x0b\x32\x0b.Correction\":\n\x18\x43reateCorrectionsRequest\x12\x1e\n\x16\x64\x65tection_instance_ids\x18\x01 \x03(\x05\"J\n\x19\x43reateCorrectionsResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x0b\n\x03ids\x18\x02 \x03(\x05\"9\n\x1a\x43ompleteCorrectionsRequest\x12\x0b\n\x03ids\x18\x01 \x03(\x05\x12\x0e\n\x06\x61\x63tion\x18\x02 \x01(\t\"L\n\x1b\x43ompleteCorrectionsResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x0b\n\x03ids\x18\x02 \x03(\x05\"%\n\x17\x41\x63\x63\x65ptCorrectionRequest\x12\n\n\x02id\x18\x01 \x01(\x05\"H\n\x18\x41\x63\x63\x65ptCorrectionResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\n\n\x02id\x18\x02 \x01(\x05\"%\n\x17RejectCorrectionRequest\x12\n\n\x02id\x18\x01 \x01(\x05\"H\n\x18RejectCorrectionResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\n\n\x02id\x18\x02 \x01(\x05\x32\x80\x06\n\rCorrectionApi\x12k\n\x1cGetCorrectionsByDetectionIds\x12$.GetCorrectionsByDetectionIdsRequest\x1a%.GetCorrectionsByDetectionIdsResponse\x12\x65\n\x1aGetCorrectionsByAssignedTo\x12\".GetCorrectionsByAssignedToRequest\x1a#.GetCorrectionsByAssignedToResponse\x12\x65\n\x1aGetCorrectionsByAssignedBy\x12\".GetCorrectionsByAssignedByRequest\x1a#.GetCorrectionsByAssignedByResponse\x12\x83\x01\n$ListCompletedCorrectionsByAssignedTo\x12,.ListCompletedCorrectionsByAssignedToRequest\x1a-.ListCompletedCorrectionsByAssignedToResponse\x12J\n\x11\x43reateCorrections\x12\x19.CreateCorrectionsRequest\x1a\x1a.CreateCorrectionsResponse\x12P\n\x13\x43ompleteCorrections\x12\x1b.CompleteCorrectionsRequest\x1a\x1c.CompleteCorrectionsResponse\x12G\n\x10\x41\x63\x63\x65ptCorrection\x12\x18.AcceptCorrectionRequest\x1a\x19.AcceptCorrectionResponse\x12G\n\x10RejectCorrection\x12\x18.RejectCorrectionRequest\x1a\x19.RejectCorrectionResponseb\x06proto3')
|
|
19
|
+
|
|
20
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
|
|
21
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'global_vo_grpc_service.protos.correction_api_pb2', globals())
|
|
22
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
23
|
+
|
|
24
|
+
DESCRIPTOR._options = None
|
|
25
|
+
_CORRECTION._serialized_start=131
|
|
26
|
+
_CORRECTION._serialized_end=350
|
|
27
|
+
_GETCORRECTIONSBYDETECTIONIDSREQUEST._serialized_start=352
|
|
28
|
+
_GETCORRECTIONSBYDETECTIONIDSREQUEST._serialized_end=421
|
|
29
|
+
_GETCORRECTIONSBYDETECTIONIDSRESPONSE._serialized_start=423
|
|
30
|
+
_GETCORRECTIONSBYDETECTIONIDSRESPONSE._serialized_end=495
|
|
31
|
+
_GETCORRECTIONSBYASSIGNEDTOREQUEST._serialized_start=497
|
|
32
|
+
_GETCORRECTIONSBYASSIGNEDTOREQUEST._serialized_end=553
|
|
33
|
+
_GETCORRECTIONSBYASSIGNEDTORESPONSE._serialized_start=555
|
|
34
|
+
_GETCORRECTIONSBYASSIGNEDTORESPONSE._serialized_end=625
|
|
35
|
+
_GETCORRECTIONSBYASSIGNEDBYREQUEST._serialized_start=627
|
|
36
|
+
_GETCORRECTIONSBYASSIGNEDBYREQUEST._serialized_end=683
|
|
37
|
+
_GETCORRECTIONSBYASSIGNEDBYRESPONSE._serialized_start=685
|
|
38
|
+
_GETCORRECTIONSBYASSIGNEDBYRESPONSE._serialized_end=755
|
|
39
|
+
_LISTCOMPLETEDCORRECTIONSBYASSIGNEDTOREQUEST._serialized_start=757
|
|
40
|
+
_LISTCOMPLETEDCORRECTIONSBYASSIGNEDTOREQUEST._serialized_end=823
|
|
41
|
+
_LISTCOMPLETEDCORRECTIONSBYASSIGNEDTORESPONSE._serialized_start=825
|
|
42
|
+
_LISTCOMPLETEDCORRECTIONSBYASSIGNEDTORESPONSE._serialized_end=905
|
|
43
|
+
_CREATECORRECTIONSREQUEST._serialized_start=907
|
|
44
|
+
_CREATECORRECTIONSREQUEST._serialized_end=965
|
|
45
|
+
_CREATECORRECTIONSRESPONSE._serialized_start=967
|
|
46
|
+
_CREATECORRECTIONSRESPONSE._serialized_end=1041
|
|
47
|
+
_COMPLETECORRECTIONSREQUEST._serialized_start=1043
|
|
48
|
+
_COMPLETECORRECTIONSREQUEST._serialized_end=1100
|
|
49
|
+
_COMPLETECORRECTIONSRESPONSE._serialized_start=1102
|
|
50
|
+
_COMPLETECORRECTIONSRESPONSE._serialized_end=1178
|
|
51
|
+
_ACCEPTCORRECTIONREQUEST._serialized_start=1180
|
|
52
|
+
_ACCEPTCORRECTIONREQUEST._serialized_end=1217
|
|
53
|
+
_ACCEPTCORRECTIONRESPONSE._serialized_start=1219
|
|
54
|
+
_ACCEPTCORRECTIONRESPONSE._serialized_end=1291
|
|
55
|
+
_REJECTCORRECTIONREQUEST._serialized_start=1293
|
|
56
|
+
_REJECTCORRECTIONREQUEST._serialized_end=1330
|
|
57
|
+
_REJECTCORRECTIONRESPONSE._serialized_start=1332
|
|
58
|
+
_REJECTCORRECTIONRESPONSE._serialized_end=1404
|
|
59
|
+
_CORRECTIONAPI._serialized_start=1407
|
|
60
|
+
_CORRECTIONAPI._serialized_end=2175
|
|
61
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -29,6 +29,11 @@ class CorrectionApiStub(object):
|
|
|
29
29
|
request_serializer=global__vo__grpc__service_dot_protos_dot_correction__api__pb2.GetCorrectionsByAssignedByRequest.SerializeToString,
|
|
30
30
|
response_deserializer=global__vo__grpc__service_dot_protos_dot_correction__api__pb2.GetCorrectionsByAssignedByResponse.FromString,
|
|
31
31
|
)
|
|
32
|
+
self.ListCompletedCorrectionsByAssignedTo = channel.unary_unary(
|
|
33
|
+
'/CorrectionApi/ListCompletedCorrectionsByAssignedTo',
|
|
34
|
+
request_serializer=global__vo__grpc__service_dot_protos_dot_correction__api__pb2.ListCompletedCorrectionsByAssignedToRequest.SerializeToString,
|
|
35
|
+
response_deserializer=global__vo__grpc__service_dot_protos_dot_correction__api__pb2.ListCompletedCorrectionsByAssignedToResponse.FromString,
|
|
36
|
+
)
|
|
32
37
|
self.CreateCorrections = channel.unary_unary(
|
|
33
38
|
'/CorrectionApi/CreateCorrections',
|
|
34
39
|
request_serializer=global__vo__grpc__service_dot_protos_dot_correction__api__pb2.CreateCorrectionsRequest.SerializeToString,
|
|
@@ -39,6 +44,16 @@ class CorrectionApiStub(object):
|
|
|
39
44
|
request_serializer=global__vo__grpc__service_dot_protos_dot_correction__api__pb2.CompleteCorrectionsRequest.SerializeToString,
|
|
40
45
|
response_deserializer=global__vo__grpc__service_dot_protos_dot_correction__api__pb2.CompleteCorrectionsResponse.FromString,
|
|
41
46
|
)
|
|
47
|
+
self.AcceptCorrection = channel.unary_unary(
|
|
48
|
+
'/CorrectionApi/AcceptCorrection',
|
|
49
|
+
request_serializer=global__vo__grpc__service_dot_protos_dot_correction__api__pb2.AcceptCorrectionRequest.SerializeToString,
|
|
50
|
+
response_deserializer=global__vo__grpc__service_dot_protos_dot_correction__api__pb2.AcceptCorrectionResponse.FromString,
|
|
51
|
+
)
|
|
52
|
+
self.RejectCorrection = channel.unary_unary(
|
|
53
|
+
'/CorrectionApi/RejectCorrection',
|
|
54
|
+
request_serializer=global__vo__grpc__service_dot_protos_dot_correction__api__pb2.RejectCorrectionRequest.SerializeToString,
|
|
55
|
+
response_deserializer=global__vo__grpc__service_dot_protos_dot_correction__api__pb2.RejectCorrectionResponse.FromString,
|
|
56
|
+
)
|
|
42
57
|
|
|
43
58
|
|
|
44
59
|
class CorrectionApiServicer(object):
|
|
@@ -62,6 +77,12 @@ class CorrectionApiServicer(object):
|
|
|
62
77
|
context.set_details('Method not implemented!')
|
|
63
78
|
raise NotImplementedError('Method not implemented!')
|
|
64
79
|
|
|
80
|
+
def ListCompletedCorrectionsByAssignedTo(self, request, context):
|
|
81
|
+
"""Missing associated documentation comment in .proto file."""
|
|
82
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
83
|
+
context.set_details('Method not implemented!')
|
|
84
|
+
raise NotImplementedError('Method not implemented!')
|
|
85
|
+
|
|
65
86
|
def CreateCorrections(self, request, context):
|
|
66
87
|
"""Missing associated documentation comment in .proto file."""
|
|
67
88
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
@@ -74,6 +95,18 @@ class CorrectionApiServicer(object):
|
|
|
74
95
|
context.set_details('Method not implemented!')
|
|
75
96
|
raise NotImplementedError('Method not implemented!')
|
|
76
97
|
|
|
98
|
+
def AcceptCorrection(self, request, context):
|
|
99
|
+
"""Missing associated documentation comment in .proto file."""
|
|
100
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
101
|
+
context.set_details('Method not implemented!')
|
|
102
|
+
raise NotImplementedError('Method not implemented!')
|
|
103
|
+
|
|
104
|
+
def RejectCorrection(self, request, context):
|
|
105
|
+
"""Missing associated documentation comment in .proto file."""
|
|
106
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
107
|
+
context.set_details('Method not implemented!')
|
|
108
|
+
raise NotImplementedError('Method not implemented!')
|
|
109
|
+
|
|
77
110
|
|
|
78
111
|
def add_CorrectionApiServicer_to_server(servicer, server):
|
|
79
112
|
rpc_method_handlers = {
|
|
@@ -92,6 +125,11 @@ def add_CorrectionApiServicer_to_server(servicer, server):
|
|
|
92
125
|
request_deserializer=global__vo__grpc__service_dot_protos_dot_correction__api__pb2.GetCorrectionsByAssignedByRequest.FromString,
|
|
93
126
|
response_serializer=global__vo__grpc__service_dot_protos_dot_correction__api__pb2.GetCorrectionsByAssignedByResponse.SerializeToString,
|
|
94
127
|
),
|
|
128
|
+
'ListCompletedCorrectionsByAssignedTo': grpc.unary_unary_rpc_method_handler(
|
|
129
|
+
servicer.ListCompletedCorrectionsByAssignedTo,
|
|
130
|
+
request_deserializer=global__vo__grpc__service_dot_protos_dot_correction__api__pb2.ListCompletedCorrectionsByAssignedToRequest.FromString,
|
|
131
|
+
response_serializer=global__vo__grpc__service_dot_protos_dot_correction__api__pb2.ListCompletedCorrectionsByAssignedToResponse.SerializeToString,
|
|
132
|
+
),
|
|
95
133
|
'CreateCorrections': grpc.unary_unary_rpc_method_handler(
|
|
96
134
|
servicer.CreateCorrections,
|
|
97
135
|
request_deserializer=global__vo__grpc__service_dot_protos_dot_correction__api__pb2.CreateCorrectionsRequest.FromString,
|
|
@@ -102,6 +140,16 @@ def add_CorrectionApiServicer_to_server(servicer, server):
|
|
|
102
140
|
request_deserializer=global__vo__grpc__service_dot_protos_dot_correction__api__pb2.CompleteCorrectionsRequest.FromString,
|
|
103
141
|
response_serializer=global__vo__grpc__service_dot_protos_dot_correction__api__pb2.CompleteCorrectionsResponse.SerializeToString,
|
|
104
142
|
),
|
|
143
|
+
'AcceptCorrection': grpc.unary_unary_rpc_method_handler(
|
|
144
|
+
servicer.AcceptCorrection,
|
|
145
|
+
request_deserializer=global__vo__grpc__service_dot_protos_dot_correction__api__pb2.AcceptCorrectionRequest.FromString,
|
|
146
|
+
response_serializer=global__vo__grpc__service_dot_protos_dot_correction__api__pb2.AcceptCorrectionResponse.SerializeToString,
|
|
147
|
+
),
|
|
148
|
+
'RejectCorrection': grpc.unary_unary_rpc_method_handler(
|
|
149
|
+
servicer.RejectCorrection,
|
|
150
|
+
request_deserializer=global__vo__grpc__service_dot_protos_dot_correction__api__pb2.RejectCorrectionRequest.FromString,
|
|
151
|
+
response_serializer=global__vo__grpc__service_dot_protos_dot_correction__api__pb2.RejectCorrectionResponse.SerializeToString,
|
|
152
|
+
),
|
|
105
153
|
}
|
|
106
154
|
generic_handler = grpc.method_handlers_generic_handler(
|
|
107
155
|
'CorrectionApi', rpc_method_handlers)
|
|
@@ -163,6 +211,23 @@ class CorrectionApi(object):
|
|
|
163
211
|
options, channel_credentials,
|
|
164
212
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
165
213
|
|
|
214
|
+
@staticmethod
|
|
215
|
+
def ListCompletedCorrectionsByAssignedTo(request,
|
|
216
|
+
target,
|
|
217
|
+
options=(),
|
|
218
|
+
channel_credentials=None,
|
|
219
|
+
call_credentials=None,
|
|
220
|
+
insecure=False,
|
|
221
|
+
compression=None,
|
|
222
|
+
wait_for_ready=None,
|
|
223
|
+
timeout=None,
|
|
224
|
+
metadata=None):
|
|
225
|
+
return grpc.experimental.unary_unary(request, target, '/CorrectionApi/ListCompletedCorrectionsByAssignedTo',
|
|
226
|
+
global__vo__grpc__service_dot_protos_dot_correction__api__pb2.ListCompletedCorrectionsByAssignedToRequest.SerializeToString,
|
|
227
|
+
global__vo__grpc__service_dot_protos_dot_correction__api__pb2.ListCompletedCorrectionsByAssignedToResponse.FromString,
|
|
228
|
+
options, channel_credentials,
|
|
229
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
230
|
+
|
|
166
231
|
@staticmethod
|
|
167
232
|
def CreateCorrections(request,
|
|
168
233
|
target,
|
|
@@ -196,3 +261,37 @@ class CorrectionApi(object):
|
|
|
196
261
|
global__vo__grpc__service_dot_protos_dot_correction__api__pb2.CompleteCorrectionsResponse.FromString,
|
|
197
262
|
options, channel_credentials,
|
|
198
263
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
264
|
+
|
|
265
|
+
@staticmethod
|
|
266
|
+
def AcceptCorrection(request,
|
|
267
|
+
target,
|
|
268
|
+
options=(),
|
|
269
|
+
channel_credentials=None,
|
|
270
|
+
call_credentials=None,
|
|
271
|
+
insecure=False,
|
|
272
|
+
compression=None,
|
|
273
|
+
wait_for_ready=None,
|
|
274
|
+
timeout=None,
|
|
275
|
+
metadata=None):
|
|
276
|
+
return grpc.experimental.unary_unary(request, target, '/CorrectionApi/AcceptCorrection',
|
|
277
|
+
global__vo__grpc__service_dot_protos_dot_correction__api__pb2.AcceptCorrectionRequest.SerializeToString,
|
|
278
|
+
global__vo__grpc__service_dot_protos_dot_correction__api__pb2.AcceptCorrectionResponse.FromString,
|
|
279
|
+
options, channel_credentials,
|
|
280
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
281
|
+
|
|
282
|
+
@staticmethod
|
|
283
|
+
def RejectCorrection(request,
|
|
284
|
+
target,
|
|
285
|
+
options=(),
|
|
286
|
+
channel_credentials=None,
|
|
287
|
+
call_credentials=None,
|
|
288
|
+
insecure=False,
|
|
289
|
+
compression=None,
|
|
290
|
+
wait_for_ready=None,
|
|
291
|
+
timeout=None,
|
|
292
|
+
metadata=None):
|
|
293
|
+
return grpc.experimental.unary_unary(request, target, '/CorrectionApi/RejectCorrection',
|
|
294
|
+
global__vo__grpc__service_dot_protos_dot_correction__api__pb2.RejectCorrectionRequest.SerializeToString,
|
|
295
|
+
global__vo__grpc__service_dot_protos_dot_correction__api__pb2.RejectCorrectionResponse.FromString,
|
|
296
|
+
options, channel_credentials,
|
|
297
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: global_vo_grpc_service/protos/detection_instance_api.proto
|
|
4
|
+
"""Generated protocol buffer code."""
|
|
5
|
+
from google.protobuf.internal import builder as _builder
|
|
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
|
+
# @@protoc_insertion_point(imports)
|
|
10
|
+
|
|
11
|
+
_sym_db = _symbol_database.Default()
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
|
|
15
|
+
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
16
|
+
from global_vo_grpc_service.protos import utils_pb2 as global__vo__grpc__service_dot_protos_dot_utils__pb2
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n:global_vo_grpc_service/protos/detection_instance_api.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a)global_vo_grpc_service/protos/utils.proto\"\xcd\x07\n\x11\x44\x65tectionInstance\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\x05\x12\x0f\n\x07part_id\x18\x03 \x01(\x05\x12\x10\n\x08image_id\x18\x04 \x01(\x05\x12\x14\n\x0c\x64\x65tection_id\x18\x05 \x01(\x05\x12\x11\n\tsource_id\x18\x06 \x01(\x05\x12\x1a\n\x08geo_bbox\x18\x07 \x01(\x0b\x32\x08.GeoBbox\x12\r\n\x05score\x18\x08 \x01(\x02\x12\x0e\n\x06height\x18\t \x01(\x02\x12/\n\x0b\x64\x65tected_at\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\ncreated_at\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\ndeleted_at\x18\r \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x13\n\x0b\x63\x61tegory_id\x18\x0e \x01(\x05\x12)\n\x16geo_point_shadow_start\x18\x0f \x01(\x0b\x32\t.GeoPoint\x12\'\n\x14geo_point_shadow_end\x18\x10 \x01(\x0b\x32\t.GeoPoint\x12\r\n\x05state\x18\x11 \x01(\t\x12\x12\n\ncreated_by\x18\x12 \x01(\x05\x12\x12\n\nupdated_by\x18\x13 \x01(\x05\x12\x17\n\x0fheight_override\x18\x14 \x01(\x02\x12\x1a\n\x12height_override_by\x18\x15 \x01(\x05\x12\x36\n\x12height_override_at\x18\x16 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x1c\n\x14height_override_desc\x18\x17 \x01(\t\x12-\n\tlocked_at\x18\x18 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x11\n\tlocked_by\x18\x19 \x01(\x05\x12\x12\n\nvisibility\x18\x1a \x01(\t\x12\x1d\n\x15\x65xclude_from_training\x18\x1b \x01(\x08\x12\r\n\x05notes\x18\x1c \x01(\t\x12\x0c\n\x04tags\x18\x1d \x01(\t\x12\x1a\n\x12shadow_discrepancy\x18\x1e \x01(\t\x12-\n\tlegacy_at\x18\x1f \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x1a\n\x12score_shadow_start\x18 \x01(\x02\x12\x18\n\x10score_shadow_end\x18! \x01(\x02\x12\x11\n\tparent_id\x18\" \x01(\x05\"N\n\'StageTrainingDetectionsByImageIdRequest\x12\x10\n\x08image_id\x18\x01 \x01(\x05\x12\x11\n\tsource_id\x18\x02 \x01(\x05\"L\n(StageTrainingDetectionsByImageIdResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\">\n*GetHumanVerifiedDetectionsByImageIdRequest\x12\x10\n\x08image_id\x18\x01 \x01(\x05\"\x93\x02\n+GetHumanVerifiedDetectionsByImageIdResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\\\n\x13\x64\x65tection_instances\x18\x02 \x03(\x0b\x32?.GetHumanVerifiedDetectionsByImageIdResponse.DetectionInstances\x1a\x64\n\x12\x44\x65tectionInstances\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x13\n\x0b\x63\x61tegory_id\x18\x02 \x01(\x05\x12\r\n\x05score\x18\x03 \x01(\x02\x12\x1e\n\npixel_bbox\x18\x04 \x01(\x0b\x32\n.PixelBbox\"U\n.GetDetectionInstancesByImageAndSourceIdRequest\x12\x10\n\x08image_id\x18\x01 \x01(\x05\x12\x11\n\tsource_id\x18\x02 \x01(\x05\"\x84\x01\n/GetDetectionInstancesByImageAndSourceIdResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12/\n\x13\x64\x65tection_instances\x18\x02 \x03(\x0b\x32\x12.DetectionInstance\"7\n$GetDetectionInstancesByH3CellRequest\x12\x0f\n\x07h3_cell\x18\x01 \x01(\t\"z\n%GetDetectionInstancesByH3CellResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12/\n\x13\x64\x65tection_instances\x18\x02 \x03(\x0b\x32\x12.DetectionInstance\"T\n\"DeleteDetectionInstanceByIdRequest\x12.\n\x12\x64\x65tection_instance\x18\x01 \x01(\x0b\x32\x12.DetectionInstance\"w\n#DeleteDetectionInstanceByIdResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12.\n\x12\x64\x65tection_instance\x18\x02 \x01(\x0b\x32\x12.DetectionInstance\"3\n$DeleteDetectionInstancesByIdsRequest\x12\x0b\n\x03ids\x18\x01 \x03(\x05\"I\n%DeleteDetectionInstancesByIdsResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\"F\n\'TransitionDetectionInstanceStateRequest\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x0f\n\x07trigger\x18\x02 \x01(\t\"[\n(TransitionDetectionInstanceStateResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\r\n\x05state\x18\x02 \x01(\t\"V\n$GetDetectionInstanceStateByIdRequest\x12.\n\x12\x64\x65tection_instance\x18\x01 \x01(\x0b\x32\x12.DetectionInstance\"y\n%GetDetectionInstanceStateByIdResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12.\n\x12\x64\x65tection_instance\x18\x02 \x01(\x0b\x32\x12.DetectionInstance\"B\n GetDetectionInstanceByIdsRequest\x12\x1e\n\x16\x64\x65tection_instance_ids\x18\x01 \x03(\x05\"S\n!GetDetectionInstanceByIdsResponse\x12.\n\x12\x64\x65tection_instance\x18\x01 \x03(\x0b\x32\x12.DetectionInstance\"Z\n(CreateDetectionInstanceViaMachineRequest\x12.\n\x12\x64\x65tection_instance\x18\x01 \x01(\x0b\x32\x12.DetectionInstance\"}\n)CreateDetectionInstanceViaMachineResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12.\n\x12\x64\x65tection_instance\x18\x02 \x01(\x0b\x32\x12.DetectionInstance\"\xbf\x01\n&CreateDetectionInstanceViaHumanRequest\x12\x10\n\x08image_id\x18\x01 \x01(\x05\x12\x13\n\x0b\x63\x61tegory_id\x18\x02 \x01(\x05\x12\x1a\n\x08geo_bbox\x18\x03 \x01(\x0b\x32\x08.GeoBbox\x12)\n\x16geo_point_shadow_start\x18\x04 \x01(\x0b\x32\t.GeoPoint\x12\'\n\x14geo_point_shadow_end\x18\x05 \x01(\x0b\x32\t.GeoPoint\"{\n\'CreateDetectionInstanceViaHumanResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12.\n\x12\x64\x65tection_instance\x18\x02 \x01(\x0b\x32\x12.DetectionInstance\"\x83\x03\n.ListUpdateDetectionInstanceFormConfigsResponse\x12n\n\x1cheight_override_desc_configs\x18\x01 \x03(\x0b\x32H.ListUpdateDetectionInstanceFormConfigsResponse.HeightOverrideDescConfig\x12\\\n\x12visibility_configs\x18\x02 \x03(\x0b\x32@.ListUpdateDetectionInstanceFormConfigsResponse.VisibilityConfig\x1a=\n\x18HeightOverrideDescConfig\x12\x0c\n\x04\x65num\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x1a\x44\n\x10VisibilityConfig\x12\x0c\n\x04\x65num\x18\x01 \x01(\t\x12\r\n\x05label\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\"\xd5\x01\n$ListShadowDiscrepancyConfigsResponse\x12\x61\n\x1ashadow_discrepancy_configs\x18\x01 \x03(\x0b\x32=.ListShadowDiscrepancyConfigsResponse.ShadowDiscrepancyConfig\x1aJ\n\x17ShadowDiscrepancyConfig\x12\x0c\n\x04\x65num\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\"\x9f\x01\n$GetFrequentTagsByCurrentUserResponse\x12K\n\x0ftag_frequencies\x18\x01 \x03(\x0b\x32\x32.GetFrequentTagsByCurrentUserResponse.TagFrequency\x1a*\n\x0cTagFrequency\x12\x0b\n\x03tag\x18\x01 \x01(\t\x12\r\n\x05\x63ount\x18\x02 \x01(\x05\"B\n4ProcessDetectionInstanceLocationElevationByIdRequest\x12\n\n\x02id\x18\x01 \x01(\x05\"Y\n5ProcessDetectionInstanceLocationElevationByIdResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\"<\n\x1dLockDetectionInstancesRequest\x12\x0b\n\x03ids\x18\x01 \x03(\x05\x12\x0e\n\x06\x61\x63tion\x18\x02 \x01(\t\"O\n\x1eLockDetectionInstancesResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x0b\n\x03ids\x18\x02 \x03(\x05\"\xe4\x01\n\x1eUpdateDetectionInstanceRequest\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x13\n\x0b\x63\x61tegory_id\x18\x02 \x01(\x05\x12\x17\n\x0fheight_override\x18\x03 \x01(\x02\x12\x1c\n\x14height_override_desc\x18\x04 \x01(\t\x12\x12\n\nvisibility\x18\x05 \x01(\t\x12\x1d\n\x15\x65xclude_from_training\x18\x06 \x01(\x08\x12\r\n\x05notes\x18\x07 \x01(\t\x12\x0c\n\x04tags\x18\x08 \x01(\t\x12\x1a\n\x12shadow_discrepancy\x18\t \x01(\t\"O\n\x1fUpdateDetectionInstanceResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\n\n\x02id\x18\x02 \x01(\x05\"X\n4UpdateDetectionInstanceCategoriesByCategoryIdRequest\x12\x0b\n\x03ids\x18\x01 \x03(\x05\x12\x13\n\x0b\x63\x61tegory_id\x18\x02 \x01(\x05\"f\n5UpdateDetectionInstanceCategoriesByCategoryIdResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x0b\n\x03ids\x18\x02 \x03(\x05\"d\n6UpdateExcludeFromTrainingByDetectionInstanceIdsRequest\x12\x0b\n\x03ids\x18\x01 \x03(\x05\x12\x1d\n\x15\x65xclude_from_training\x18\x02 \x01(\x08\"h\n7UpdateExcludeFromTrainingByDetectionInstanceIdsResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x0b\n\x03ids\x18\x02 \x03(\x05\"\xa4\x01\n/UpdateDetectionInstanceGeoPointsViaHumanRequest\x12\x1d\n\x15\x64\x65tection_instance_id\x18\x01 \x01(\x05\x12)\n\x16geo_point_shadow_start\x18\x02 \x01(\x0b\x32\t.GeoPoint\x12\'\n\x14geo_point_shadow_end\x18\x03 \x01(\x0b\x32\t.GeoPoint\"\x84\x01\n0UpdateDetectionInstanceGeoPointsViaHumanResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12.\n\x12\x64\x65tection_instance\x18\x02 \x01(\x0b\x32\x12.DetectionInstance\"_\n-UpdateDetectionInstanceGeoBboxViaHumanRequest\x12.\n\x12\x64\x65tection_instance\x18\x01 \x01(\x0b\x32\x12.DetectionInstance\"\x82\x01\n.UpdateDetectionInstanceGeoBboxViaHumanResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12.\n\x12\x64\x65tection_instance\x18\x02 \x01(\x0b\x32\x12.DetectionInstance\"\xd8\x01\n(UpdateDetectionInstanceViaMachineRequest\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x11\n\tsource_id\x18\x02 \x01(\x05\x12\r\n\x05score\x18\x03 \x01(\x02\x12\x0e\n\x06height\x18\x04 \x01(\x02\x12\x1a\n\x08geo_bbox\x18\x05 \x01(\x0b\x32\x08.GeoBbox\x12)\n\x16geo_point_shadow_start\x18\x06 \x01(\x0b\x32\t.GeoPoint\x12\'\n\x14geo_point_shadow_end\x18\x07 \x01(\x0b\x32\t.GeoPoint\"M\n)UpdateDetectionInstanceViaMachineResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\"5\n\'UpdateDetectionInstanceChippedAtRequest\x12\n\n\x02id\x18\x01 \x01(\x05\"L\n(UpdateDetectionInstanceChippedAtResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType2\x90\x16\n\x14\x44\x65tectionInstanceApi\x12w\n StageTrainingDetectionsByImageId\x12(.StageTrainingDetectionsByImageIdRequest\x1a).StageTrainingDetectionsByImageIdResponse\x12\x80\x01\n#GetHumanVerifiedDetectionsByImageId\x12+.GetHumanVerifiedDetectionsByImageIdRequest\x1a,.GetHumanVerifiedDetectionsByImageIdResponse\x12z\n!CreateDetectionInstanceViaMachine\x12).CreateDetectionInstanceViaMachineRequest\x1a*.CreateDetectionInstanceViaMachineResponse\x12t\n\x1f\x43reateDetectionInstanceViaHuman\x12\'.CreateDetectionInstanceViaHumanRequest\x1a(.CreateDetectionInstanceViaHumanResponse\x12h\n\x1b\x44\x65leteDetectionInstanceById\x12#.DeleteDetectionInstanceByIdRequest\x1a$.DeleteDetectionInstanceByIdResponse\x12n\n\x1d\x44\x65leteDetectionInstancesByIds\x12%.DeleteDetectionInstancesByIdsRequest\x1a&.DeleteDetectionInstancesByIdsResponse\x12\x62\n\x19GetDetectionInstanceByIds\x12!.GetDetectionInstanceByIdsRequest\x1a\".GetDetectionInstanceByIdsResponse\x12n\n\x1dGetDetectionInstanceStateById\x12%.GetDetectionInstanceStateByIdRequest\x1a&.GetDetectionInstanceStateByIdResponse\x12\x8c\x01\n\'GetDetectionInstancesByImageAndSourceId\x12/.GetDetectionInstancesByImageAndSourceIdRequest\x1a\x30.GetDetectionInstancesByImageAndSourceIdResponse\x12n\n\x1dGetDetectionInstancesByH3Cell\x12%.GetDetectionInstancesByH3CellRequest\x1a&.GetDetectionInstancesByH3CellResponse\x12w\n TransitionDetectionInstanceState\x12(.TransitionDetectionInstanceStateRequest\x1a).TransitionDetectionInstanceStateResponse\x12q\n&ListUpdateDetectionInstanceFormConfigs\x12\x16.google.protobuf.Empty\x1a/.ListUpdateDetectionInstanceFormConfigsResponse\x12]\n\x1cListShadowDiscrepancyConfigs\x12\x16.google.protobuf.Empty\x1a%.ListShadowDiscrepancyConfigsResponse\x12]\n\x1cGetFrequentTagsByCurrentUser\x12\x16.google.protobuf.Empty\x1a%.GetFrequentTagsByCurrentUserResponse\x12\x9e\x01\n-ProcessDetectionInstanceLocationElevationById\x12\x35.ProcessDetectionInstanceLocationElevationByIdRequest\x1a\x36.ProcessDetectionInstanceLocationElevationByIdResponse\x12Y\n\x16LockDetectionInstances\x12\x1e.LockDetectionInstancesRequest\x1a\x1f.LockDetectionInstancesResponse\x12\\\n\x17UpdateDetectionInstance\x12\x1f.UpdateDetectionInstanceRequest\x1a .UpdateDetectionInstanceResponse\x12\x9e\x01\n-UpdateDetectionInstanceCategoriesByCategoryId\x12\x35.UpdateDetectionInstanceCategoriesByCategoryIdRequest\x1a\x36.UpdateDetectionInstanceCategoriesByCategoryIdResponse\x12\xa4\x01\n/UpdateExcludeFromTrainingByDetectionInstanceIds\x12\x37.UpdateExcludeFromTrainingByDetectionInstanceIdsRequest\x1a\x38.UpdateExcludeFromTrainingByDetectionInstanceIdsResponse\x12\x89\x01\n&UpdateDetectionInstanceGeoBboxViaHuman\x12..UpdateDetectionInstanceGeoBboxViaHumanRequest\x1a/.UpdateDetectionInstanceGeoBboxViaHumanResponse\x12\x8f\x01\n(UpdateDetectionInstanceGeoPointsViaHuman\x12\x30.UpdateDetectionInstanceGeoPointsViaHumanRequest\x1a\x31.UpdateDetectionInstanceGeoPointsViaHumanResponse\x12z\n!UpdateDetectionInstanceViaMachine\x12).UpdateDetectionInstanceViaMachineRequest\x1a*.UpdateDetectionInstanceViaMachineResponse\x12w\n UpdateDetectionInstanceChippedAt\x12(.UpdateDetectionInstanceChippedAtRequest\x1a).UpdateDetectionInstanceChippedAtResponseb\x06proto3')
|
|
20
|
+
|
|
21
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
|
|
22
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'global_vo_grpc_service.protos.detection_instance_api_pb2', globals())
|
|
23
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
24
|
+
|
|
25
|
+
DESCRIPTOR._options = None
|
|
26
|
+
_DETECTIONINSTANCE._serialized_start=168
|
|
27
|
+
_DETECTIONINSTANCE._serialized_end=1141
|
|
28
|
+
_STAGETRAININGDETECTIONSBYIMAGEIDREQUEST._serialized_start=1143
|
|
29
|
+
_STAGETRAININGDETECTIONSBYIMAGEIDREQUEST._serialized_end=1221
|
|
30
|
+
_STAGETRAININGDETECTIONSBYIMAGEIDRESPONSE._serialized_start=1223
|
|
31
|
+
_STAGETRAININGDETECTIONSBYIMAGEIDRESPONSE._serialized_end=1299
|
|
32
|
+
_GETHUMANVERIFIEDDETECTIONSBYIMAGEIDREQUEST._serialized_start=1301
|
|
33
|
+
_GETHUMANVERIFIEDDETECTIONSBYIMAGEIDREQUEST._serialized_end=1363
|
|
34
|
+
_GETHUMANVERIFIEDDETECTIONSBYIMAGEIDRESPONSE._serialized_start=1366
|
|
35
|
+
_GETHUMANVERIFIEDDETECTIONSBYIMAGEIDRESPONSE._serialized_end=1641
|
|
36
|
+
_GETHUMANVERIFIEDDETECTIONSBYIMAGEIDRESPONSE_DETECTIONINSTANCES._serialized_start=1541
|
|
37
|
+
_GETHUMANVERIFIEDDETECTIONSBYIMAGEIDRESPONSE_DETECTIONINSTANCES._serialized_end=1641
|
|
38
|
+
_GETDETECTIONINSTANCESBYIMAGEANDSOURCEIDREQUEST._serialized_start=1643
|
|
39
|
+
_GETDETECTIONINSTANCESBYIMAGEANDSOURCEIDREQUEST._serialized_end=1728
|
|
40
|
+
_GETDETECTIONINSTANCESBYIMAGEANDSOURCEIDRESPONSE._serialized_start=1731
|
|
41
|
+
_GETDETECTIONINSTANCESBYIMAGEANDSOURCEIDRESPONSE._serialized_end=1863
|
|
42
|
+
_GETDETECTIONINSTANCESBYH3CELLREQUEST._serialized_start=1865
|
|
43
|
+
_GETDETECTIONINSTANCESBYH3CELLREQUEST._serialized_end=1920
|
|
44
|
+
_GETDETECTIONINSTANCESBYH3CELLRESPONSE._serialized_start=1922
|
|
45
|
+
_GETDETECTIONINSTANCESBYH3CELLRESPONSE._serialized_end=2044
|
|
46
|
+
_DELETEDETECTIONINSTANCEBYIDREQUEST._serialized_start=2046
|
|
47
|
+
_DELETEDETECTIONINSTANCEBYIDREQUEST._serialized_end=2130
|
|
48
|
+
_DELETEDETECTIONINSTANCEBYIDRESPONSE._serialized_start=2132
|
|
49
|
+
_DELETEDETECTIONINSTANCEBYIDRESPONSE._serialized_end=2251
|
|
50
|
+
_DELETEDETECTIONINSTANCESBYIDSREQUEST._serialized_start=2253
|
|
51
|
+
_DELETEDETECTIONINSTANCESBYIDSREQUEST._serialized_end=2304
|
|
52
|
+
_DELETEDETECTIONINSTANCESBYIDSRESPONSE._serialized_start=2306
|
|
53
|
+
_DELETEDETECTIONINSTANCESBYIDSRESPONSE._serialized_end=2379
|
|
54
|
+
_TRANSITIONDETECTIONINSTANCESTATEREQUEST._serialized_start=2381
|
|
55
|
+
_TRANSITIONDETECTIONINSTANCESTATEREQUEST._serialized_end=2451
|
|
56
|
+
_TRANSITIONDETECTIONINSTANCESTATERESPONSE._serialized_start=2453
|
|
57
|
+
_TRANSITIONDETECTIONINSTANCESTATERESPONSE._serialized_end=2544
|
|
58
|
+
_GETDETECTIONINSTANCESTATEBYIDREQUEST._serialized_start=2546
|
|
59
|
+
_GETDETECTIONINSTANCESTATEBYIDREQUEST._serialized_end=2632
|
|
60
|
+
_GETDETECTIONINSTANCESTATEBYIDRESPONSE._serialized_start=2634
|
|
61
|
+
_GETDETECTIONINSTANCESTATEBYIDRESPONSE._serialized_end=2755
|
|
62
|
+
_GETDETECTIONINSTANCEBYIDSREQUEST._serialized_start=2757
|
|
63
|
+
_GETDETECTIONINSTANCEBYIDSREQUEST._serialized_end=2823
|
|
64
|
+
_GETDETECTIONINSTANCEBYIDSRESPONSE._serialized_start=2825
|
|
65
|
+
_GETDETECTIONINSTANCEBYIDSRESPONSE._serialized_end=2908
|
|
66
|
+
_CREATEDETECTIONINSTANCEVIAMACHINEREQUEST._serialized_start=2910
|
|
67
|
+
_CREATEDETECTIONINSTANCEVIAMACHINEREQUEST._serialized_end=3000
|
|
68
|
+
_CREATEDETECTIONINSTANCEVIAMACHINERESPONSE._serialized_start=3002
|
|
69
|
+
_CREATEDETECTIONINSTANCEVIAMACHINERESPONSE._serialized_end=3127
|
|
70
|
+
_CREATEDETECTIONINSTANCEVIAHUMANREQUEST._serialized_start=3130
|
|
71
|
+
_CREATEDETECTIONINSTANCEVIAHUMANREQUEST._serialized_end=3321
|
|
72
|
+
_CREATEDETECTIONINSTANCEVIAHUMANRESPONSE._serialized_start=3323
|
|
73
|
+
_CREATEDETECTIONINSTANCEVIAHUMANRESPONSE._serialized_end=3446
|
|
74
|
+
_LISTUPDATEDETECTIONINSTANCEFORMCONFIGSRESPONSE._serialized_start=3449
|
|
75
|
+
_LISTUPDATEDETECTIONINSTANCEFORMCONFIGSRESPONSE._serialized_end=3836
|
|
76
|
+
_LISTUPDATEDETECTIONINSTANCEFORMCONFIGSRESPONSE_HEIGHTOVERRIDEDESCCONFIG._serialized_start=3705
|
|
77
|
+
_LISTUPDATEDETECTIONINSTANCEFORMCONFIGSRESPONSE_HEIGHTOVERRIDEDESCCONFIG._serialized_end=3766
|
|
78
|
+
_LISTUPDATEDETECTIONINSTANCEFORMCONFIGSRESPONSE_VISIBILITYCONFIG._serialized_start=3768
|
|
79
|
+
_LISTUPDATEDETECTIONINSTANCEFORMCONFIGSRESPONSE_VISIBILITYCONFIG._serialized_end=3836
|
|
80
|
+
_LISTSHADOWDISCREPANCYCONFIGSRESPONSE._serialized_start=3839
|
|
81
|
+
_LISTSHADOWDISCREPANCYCONFIGSRESPONSE._serialized_end=4052
|
|
82
|
+
_LISTSHADOWDISCREPANCYCONFIGSRESPONSE_SHADOWDISCREPANCYCONFIG._serialized_start=3978
|
|
83
|
+
_LISTSHADOWDISCREPANCYCONFIGSRESPONSE_SHADOWDISCREPANCYCONFIG._serialized_end=4052
|
|
84
|
+
_GETFREQUENTTAGSBYCURRENTUSERRESPONSE._serialized_start=4055
|
|
85
|
+
_GETFREQUENTTAGSBYCURRENTUSERRESPONSE._serialized_end=4214
|
|
86
|
+
_GETFREQUENTTAGSBYCURRENTUSERRESPONSE_TAGFREQUENCY._serialized_start=4172
|
|
87
|
+
_GETFREQUENTTAGSBYCURRENTUSERRESPONSE_TAGFREQUENCY._serialized_end=4214
|
|
88
|
+
_PROCESSDETECTIONINSTANCELOCATIONELEVATIONBYIDREQUEST._serialized_start=4216
|
|
89
|
+
_PROCESSDETECTIONINSTANCELOCATIONELEVATIONBYIDREQUEST._serialized_end=4282
|
|
90
|
+
_PROCESSDETECTIONINSTANCELOCATIONELEVATIONBYIDRESPONSE._serialized_start=4284
|
|
91
|
+
_PROCESSDETECTIONINSTANCELOCATIONELEVATIONBYIDRESPONSE._serialized_end=4373
|
|
92
|
+
_LOCKDETECTIONINSTANCESREQUEST._serialized_start=4375
|
|
93
|
+
_LOCKDETECTIONINSTANCESREQUEST._serialized_end=4435
|
|
94
|
+
_LOCKDETECTIONINSTANCESRESPONSE._serialized_start=4437
|
|
95
|
+
_LOCKDETECTIONINSTANCESRESPONSE._serialized_end=4516
|
|
96
|
+
_UPDATEDETECTIONINSTANCEREQUEST._serialized_start=4519
|
|
97
|
+
_UPDATEDETECTIONINSTANCEREQUEST._serialized_end=4747
|
|
98
|
+
_UPDATEDETECTIONINSTANCERESPONSE._serialized_start=4749
|
|
99
|
+
_UPDATEDETECTIONINSTANCERESPONSE._serialized_end=4828
|
|
100
|
+
_UPDATEDETECTIONINSTANCECATEGORIESBYCATEGORYIDREQUEST._serialized_start=4830
|
|
101
|
+
_UPDATEDETECTIONINSTANCECATEGORIESBYCATEGORYIDREQUEST._serialized_end=4918
|
|
102
|
+
_UPDATEDETECTIONINSTANCECATEGORIESBYCATEGORYIDRESPONSE._serialized_start=4920
|
|
103
|
+
_UPDATEDETECTIONINSTANCECATEGORIESBYCATEGORYIDRESPONSE._serialized_end=5022
|
|
104
|
+
_UPDATEEXCLUDEFROMTRAININGBYDETECTIONINSTANCEIDSREQUEST._serialized_start=5024
|
|
105
|
+
_UPDATEEXCLUDEFROMTRAININGBYDETECTIONINSTANCEIDSREQUEST._serialized_end=5124
|
|
106
|
+
_UPDATEEXCLUDEFROMTRAININGBYDETECTIONINSTANCEIDSRESPONSE._serialized_start=5126
|
|
107
|
+
_UPDATEEXCLUDEFROMTRAININGBYDETECTIONINSTANCEIDSRESPONSE._serialized_end=5230
|
|
108
|
+
_UPDATEDETECTIONINSTANCEGEOPOINTSVIAHUMANREQUEST._serialized_start=5233
|
|
109
|
+
_UPDATEDETECTIONINSTANCEGEOPOINTSVIAHUMANREQUEST._serialized_end=5397
|
|
110
|
+
_UPDATEDETECTIONINSTANCEGEOPOINTSVIAHUMANRESPONSE._serialized_start=5400
|
|
111
|
+
_UPDATEDETECTIONINSTANCEGEOPOINTSVIAHUMANRESPONSE._serialized_end=5532
|
|
112
|
+
_UPDATEDETECTIONINSTANCEGEOBBOXVIAHUMANREQUEST._serialized_start=5534
|
|
113
|
+
_UPDATEDETECTIONINSTANCEGEOBBOXVIAHUMANREQUEST._serialized_end=5629
|
|
114
|
+
_UPDATEDETECTIONINSTANCEGEOBBOXVIAHUMANRESPONSE._serialized_start=5632
|
|
115
|
+
_UPDATEDETECTIONINSTANCEGEOBBOXVIAHUMANRESPONSE._serialized_end=5762
|
|
116
|
+
_UPDATEDETECTIONINSTANCEVIAMACHINEREQUEST._serialized_start=5765
|
|
117
|
+
_UPDATEDETECTIONINSTANCEVIAMACHINEREQUEST._serialized_end=5981
|
|
118
|
+
_UPDATEDETECTIONINSTANCEVIAMACHINERESPONSE._serialized_start=5983
|
|
119
|
+
_UPDATEDETECTIONINSTANCEVIAMACHINERESPONSE._serialized_end=6060
|
|
120
|
+
_UPDATEDETECTIONINSTANCECHIPPEDATREQUEST._serialized_start=6062
|
|
121
|
+
_UPDATEDETECTIONINSTANCECHIPPEDATREQUEST._serialized_end=6115
|
|
122
|
+
_UPDATEDETECTIONINSTANCECHIPPEDATRESPONSE._serialized_start=6117
|
|
123
|
+
_UPDATEDETECTIONINSTANCECHIPPEDATRESPONSE._serialized_end=6193
|
|
124
|
+
_DETECTIONINSTANCEAPI._serialized_start=6196
|
|
125
|
+
_DETECTIONINSTANCEAPI._serialized_end=9028
|
|
126
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -16,7 +16,7 @@ from global_vo_grpc_service.protos import utils_pb2 as global__vo__grpc__service
|
|
|
16
16
|
from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n/global_vo_grpc_service/protos/feature_api.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a)global_vo_grpc_service/protos/utils.proto\x1a\x1cgoogle/protobuf/struct.proto\"\xdc\x01\n\x07\x46\x65\x61ture\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x13\n\x0bvendor_name\x18\x02 \x01(\t\x12\x11\n\tvendor_id\x18\x03 \x01(\t\x12(\n\x07\x66\x65\x61ture\x18\x04 \x01(\x0b\x32\x17.google.protobuf.Struct\x12.\n\ncreated_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x15\n\rsun_elevation\x18\x06 \x01(\x02\x12\x17\n\x0foff_nadir_angle\x18\x07 \x01(\x02\x12\x13\n\x0bsun_azimuth\x18\x08 \x01(\x02\"\xb3\x01\n\x1a\x46indOrCreateFeatureRequest\x12\x13\n\x0bvendor_name\x18\x01 \x01(\t\x12\x11\n\tvendor_id\x18\x02 \x01(\t\x12(\n\x07\x66\x65\x61ture\x18\x03 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x15\n\rsun_elevation\x18\x04 \x01(\x02\x12\x17\n\x0foff_nadir_angle\x18\x05 \x01(\x02\x12\x13\n\x0bsun_azimuth\x18\x06 \x01(\x02\"K\n\x1b\x46indOrCreateFeatureResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\n\n\x02id\x18\x02 \x01(\x05\"3\n\x16\x46indFeatureByIdRequest\x12\x19\n\x07\x66\x65\x61ture\x18\x01 \x01(\x0b\x32\x08.Feature\"V\n\x17\x46indFeatureByIdResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x19\n\x07\x66\x65\x61ture\x18\x02 \x01(\x0b\x32\x08.Feature\"&\n\x17GetFeaturesByIdsRequest\x12\x0b\n\x03ids\x18\x01 \x03(\x05\"6\n\x18GetFeaturesByIdsResponse\x12\x1a\n\x08\x66\x65\x61tures\x18\x01 \x03(\x0b\x32\x08.
|
|
19
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n/global_vo_grpc_service/protos/feature_api.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a)global_vo_grpc_service/protos/utils.proto\x1a\x1cgoogle/protobuf/struct.proto\"\xdc\x01\n\x07\x46\x65\x61ture\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x13\n\x0bvendor_name\x18\x02 \x01(\t\x12\x11\n\tvendor_id\x18\x03 \x01(\t\x12(\n\x07\x66\x65\x61ture\x18\x04 \x01(\x0b\x32\x17.google.protobuf.Struct\x12.\n\ncreated_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x15\n\rsun_elevation\x18\x06 \x01(\x02\x12\x17\n\x0foff_nadir_angle\x18\x07 \x01(\x02\x12\x13\n\x0bsun_azimuth\x18\x08 \x01(\x02\"\xb3\x01\n\x1a\x46indOrCreateFeatureRequest\x12\x13\n\x0bvendor_name\x18\x01 \x01(\t\x12\x11\n\tvendor_id\x18\x02 \x01(\t\x12(\n\x07\x66\x65\x61ture\x18\x03 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x15\n\rsun_elevation\x18\x04 \x01(\x02\x12\x17\n\x0foff_nadir_angle\x18\x05 \x01(\x02\x12\x13\n\x0bsun_azimuth\x18\x06 \x01(\x02\"K\n\x1b\x46indOrCreateFeatureResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\n\n\x02id\x18\x02 \x01(\x05\"3\n\x16\x46indFeatureByIdRequest\x12\x19\n\x07\x66\x65\x61ture\x18\x01 \x01(\x0b\x32\x08.Feature\"V\n\x17\x46indFeatureByIdResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x19\n\x07\x66\x65\x61ture\x18\x02 \x01(\x0b\x32\x08.Feature\"&\n\x17GetFeaturesByIdsRequest\x12\x0b\n\x03ids\x18\x01 \x03(\x05\"6\n\x18GetFeaturesByIdsResponse\x12\x1a\n\x08\x66\x65\x61tures\x18\x01 \x03(\x0b\x32\x08.Feature\"1\n\x1cGetFeaturesByImageIdsRequest\x12\x11\n\timage_ids\x18\x01 \x03(\x05\"\xec\x01\n\x1dGetFeaturesByImageIdsResponse\x12L\n\x13image_feature_lites\x18\x01 \x03(\x0b\x32/.GetFeaturesByImageIdsResponse.ImageFeatureLite\x1a}\n\x10ImageFeatureLite\x12\x10\n\x08image_id\x18\x01 \x01(\x05\x12\x12\n\nfeature_id\x18\x02 \x01(\x05\x12\x15\n\rsun_elevation\x18\x03 \x01(\x02\x12\x17\n\x0foff_nadir_angle\x18\x04 \x01(\x02\x12\x13\n\x0bsun_azimuth\x18\x05 \x01(\x02\x32\xc5\x02\n\nFeatureApi\x12P\n\x13\x46indOrCreateFeature\x12\x1b.FindOrCreateFeatureRequest\x1a\x1c.FindOrCreateFeatureResponse\x12\x44\n\x0f\x46indFeatureById\x12\x17.FindFeatureByIdRequest\x1a\x18.FindFeatureByIdResponse\x12G\n\x10GetFeaturesByIds\x12\x18.GetFeaturesByIdsRequest\x1a\x19.GetFeaturesByIdsResponse\x12V\n\x15GetFeaturesByImageIds\x12\x1d.GetFeaturesByImageIdsRequest\x1a\x1e.GetFeaturesByImageIdsResponseb\x06proto3')
|
|
20
20
|
|
|
21
21
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
|
|
22
22
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'global_vo_grpc_service.protos.feature_api_pb2', globals())
|
|
@@ -37,6 +37,12 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
37
37
|
_GETFEATURESBYIDSREQUEST._serialized_end=818
|
|
38
38
|
_GETFEATURESBYIDSRESPONSE._serialized_start=820
|
|
39
39
|
_GETFEATURESBYIDSRESPONSE._serialized_end=874
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
_GETFEATURESBYIMAGEIDSREQUEST._serialized_start=876
|
|
41
|
+
_GETFEATURESBYIMAGEIDSREQUEST._serialized_end=925
|
|
42
|
+
_GETFEATURESBYIMAGEIDSRESPONSE._serialized_start=928
|
|
43
|
+
_GETFEATURESBYIMAGEIDSRESPONSE._serialized_end=1164
|
|
44
|
+
_GETFEATURESBYIMAGEIDSRESPONSE_IMAGEFEATURELITE._serialized_start=1039
|
|
45
|
+
_GETFEATURESBYIMAGEIDSRESPONSE_IMAGEFEATURELITE._serialized_end=1164
|
|
46
|
+
_FEATUREAPI._serialized_start=1167
|
|
47
|
+
_FEATUREAPI._serialized_end=1492
|
|
42
48
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -29,6 +29,11 @@ class FeatureApiStub(object):
|
|
|
29
29
|
request_serializer=global__vo__grpc__service_dot_protos_dot_feature__api__pb2.GetFeaturesByIdsRequest.SerializeToString,
|
|
30
30
|
response_deserializer=global__vo__grpc__service_dot_protos_dot_feature__api__pb2.GetFeaturesByIdsResponse.FromString,
|
|
31
31
|
)
|
|
32
|
+
self.GetFeaturesByImageIds = channel.unary_unary(
|
|
33
|
+
'/FeatureApi/GetFeaturesByImageIds',
|
|
34
|
+
request_serializer=global__vo__grpc__service_dot_protos_dot_feature__api__pb2.GetFeaturesByImageIdsRequest.SerializeToString,
|
|
35
|
+
response_deserializer=global__vo__grpc__service_dot_protos_dot_feature__api__pb2.GetFeaturesByImageIdsResponse.FromString,
|
|
36
|
+
)
|
|
32
37
|
|
|
33
38
|
|
|
34
39
|
class FeatureApiServicer(object):
|
|
@@ -52,6 +57,12 @@ class FeatureApiServicer(object):
|
|
|
52
57
|
context.set_details('Method not implemented!')
|
|
53
58
|
raise NotImplementedError('Method not implemented!')
|
|
54
59
|
|
|
60
|
+
def GetFeaturesByImageIds(self, request, context):
|
|
61
|
+
"""Missing associated documentation comment in .proto file."""
|
|
62
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
63
|
+
context.set_details('Method not implemented!')
|
|
64
|
+
raise NotImplementedError('Method not implemented!')
|
|
65
|
+
|
|
55
66
|
|
|
56
67
|
def add_FeatureApiServicer_to_server(servicer, server):
|
|
57
68
|
rpc_method_handlers = {
|
|
@@ -70,6 +81,11 @@ def add_FeatureApiServicer_to_server(servicer, server):
|
|
|
70
81
|
request_deserializer=global__vo__grpc__service_dot_protos_dot_feature__api__pb2.GetFeaturesByIdsRequest.FromString,
|
|
71
82
|
response_serializer=global__vo__grpc__service_dot_protos_dot_feature__api__pb2.GetFeaturesByIdsResponse.SerializeToString,
|
|
72
83
|
),
|
|
84
|
+
'GetFeaturesByImageIds': grpc.unary_unary_rpc_method_handler(
|
|
85
|
+
servicer.GetFeaturesByImageIds,
|
|
86
|
+
request_deserializer=global__vo__grpc__service_dot_protos_dot_feature__api__pb2.GetFeaturesByImageIdsRequest.FromString,
|
|
87
|
+
response_serializer=global__vo__grpc__service_dot_protos_dot_feature__api__pb2.GetFeaturesByImageIdsResponse.SerializeToString,
|
|
88
|
+
),
|
|
73
89
|
}
|
|
74
90
|
generic_handler = grpc.method_handlers_generic_handler(
|
|
75
91
|
'FeatureApi', rpc_method_handlers)
|
|
@@ -130,3 +146,20 @@ class FeatureApi(object):
|
|
|
130
146
|
global__vo__grpc__service_dot_protos_dot_feature__api__pb2.GetFeaturesByIdsResponse.FromString,
|
|
131
147
|
options, channel_credentials,
|
|
132
148
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
149
|
+
|
|
150
|
+
@staticmethod
|
|
151
|
+
def GetFeaturesByImageIds(request,
|
|
152
|
+
target,
|
|
153
|
+
options=(),
|
|
154
|
+
channel_credentials=None,
|
|
155
|
+
call_credentials=None,
|
|
156
|
+
insecure=False,
|
|
157
|
+
compression=None,
|
|
158
|
+
wait_for_ready=None,
|
|
159
|
+
timeout=None,
|
|
160
|
+
metadata=None):
|
|
161
|
+
return grpc.experimental.unary_unary(request, target, '/FeatureApi/GetFeaturesByImageIds',
|
|
162
|
+
global__vo__grpc__service_dot_protos_dot_feature__api__pb2.GetFeaturesByImageIdsRequest.SerializeToString,
|
|
163
|
+
global__vo__grpc__service_dot_protos_dot_feature__api__pb2.GetFeaturesByImageIdsResponse.FromString,
|
|
164
|
+
options, channel_credentials,
|
|
165
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|