fsai-proto-specs 0.0.373__py3-none-any.whl → 0.0.411__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.
Potentially problematic release.
This version of fsai-proto-specs might be problematic. Click here for more details.
- audit_grpc_service/protos/audit_api_pb2.py +12 -12
- {fsai_proto_specs-0.0.373.dist-info → fsai_proto_specs-0.0.411.dist-info}/METADATA +1 -1
- {fsai_proto_specs-0.0.373.dist-info → fsai_proto_specs-0.0.411.dist-info}/RECORD +35 -25
- global_vo_grpc_service/protos/admin_user_api_pb2.py +40 -35
- global_vo_grpc_service/protos/admin_user_api_pb2_grpc.py +33 -0
- global_vo_grpc_service/protos/category_changelog_api_pb2.py +36 -0
- global_vo_grpc_service/protos/category_changelog_api_pb2_grpc.py +99 -0
- global_vo_grpc_service/protos/correction_api_pb2.py +49 -0
- global_vo_grpc_service/protos/correction_api_pb2_grpc.py +198 -0
- global_vo_grpc_service/protos/customer_api_pb2.py +29 -0
- global_vo_grpc_service/protos/customer_api_pb2_grpc.py +66 -0
- global_vo_grpc_service/protos/detection_instance_api_pb2.py +100 -96
- global_vo_grpc_service/protos/detection_instance_api_pb2_grpc.py +33 -0
- global_vo_grpc_service/protos/image_api_pb2.py +9 -3
- global_vo_grpc_service/protos/image_api_pb2_grpc.py +33 -0
- global_vo_grpc_service/protos/image_metadata_api_pb2.py +24 -24
- global_vo_grpc_service/protos/image_scan_api_pb2.py +15 -11
- global_vo_grpc_service/protos/image_scan_api_pb2_grpc.py +33 -0
- global_vo_grpc_service/protos/model_assessment_api_pb2.py +45 -0
- global_vo_grpc_service/protos/model_assessment_api_pb2_grpc.py +133 -0
- global_vo_grpc_service/protos/product_changelog_api_pb2.py +44 -0
- global_vo_grpc_service/protos/product_changelog_api_pb2_grpc.py +166 -0
- global_vo_grpc_service/protos/reporting_api_pb2.py +44 -0
- global_vo_grpc_service/protos/reporting_api_pb2_grpc.py +138 -0
- global_vo_grpc_service/protos/review_api_pb2.py +70 -70
- global_vo_grpc_service/protos/review_api_pb2_grpc.py +13 -13
- global_vo_grpc_service/protos/task_api_pb2.py +7 -3
- global_vo_grpc_service/protos/task_api_pb2_grpc.py +33 -0
- global_vo_grpc_service/protos/task_image_api_pb2.py +23 -25
- global_vo_grpc_service/protos/utils_pb2.py +16 -16
- global_vo_grpc_service/protos/workflow_api_pb2.py +11 -9
- global_vo_grpc_service/protos/workflow_api_pb2_grpc.py +47 -15
- search_grpc_service/protos/search_api_pb2.py +19 -17
- search_grpc_service/protos/search_api_pb2_grpc.py +33 -33
- global_vo_grpc_service/protos/detection_instance_metadata_api_pb2.py +0 -58
- global_vo_grpc_service/protos/detection_instance_metadata_api_pb2_grpc.py +0 -265
- {fsai_proto_specs-0.0.373.dist-info → fsai_proto_specs-0.0.411.dist-info}/WHEEL +0 -0
|
@@ -16,7 +16,7 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__
|
|
|
16
16
|
from global_vo_grpc_service.protos import utils_pb2 as global__vo__grpc__service_dot_protos_dot_utils__pb2
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n,global_vo_grpc_service/protos/task_api.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a)global_vo_grpc_service/protos/utils.proto\"\xe7\x02\n\x04Task\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x11\n\treview_id\x18\x02 \x01(\x05\x12\x13\n\x0b\x61ssigned_to\x18\x03 \x01(\x05\x12\x12\n\ncreated_by\x18\x04 \x01(\x05\x12\x12\n\nupdated_by\x18\x05 \x01(\x05\x12.\n\ncreated_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x11\n\tparent_id\x18\x08 \x01(\x05\x12\x0c\n\x04type\x18\t \x01(\t\x12.\n\ndeleted_at\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04name\x18\x0b \x01(\t\x12/\n\x0b\x64isabled_at\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x13\n\x0b\x64isabled_by\x18\r \x01(\x05\"6\n\x16GetTaskByTaskIdRequest\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x10\n\x08image_id\x18\x02 \x01(\x05\".\n\x17GetTaskByTaskIdResponse\x12\x13\n\x04task\x18\x01 \x01(\x0b\x32\x05.Task\"-\n\x1cListCurrentUsersTasksRequest\x12\r\n\x05query\x18\x01 \x01(\t\"W\n\x1dListCurrentUsersTasksResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x14\n\x05tasks\x18\x02 \x03(\x0b\x32\x05.Task\"\xc5\x01\n\x1eListAuditeesAuditTasksResponse\x12>\n\x0b\x61udit_tasks\x18\x01 \x03(\x0b\x32).ListAuditeesAuditTasksResponse.AuditTask\x1a\x63\n\tAuditTask\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x11\n\tparent_id\x18\x02 \x01(\x05\x12\x12\n\ncreated_by\x18\x03 \x01(\x05\x12\x0b\n\x03key\x18\x04 \x01(\t\x12\x16\n\x0evalue_json_str\x18\x05 \x01(\t\"\xb1\x02\n\x1dListAuditorAuditTasksResponse\x12\x41\n\rauditor_tasks\x18\x01 \x03(\x0b\x32*.ListAuditorAuditTasksResponse.AuditorTask\x1a\xcc\x01\n\x0b\x41uditorTask\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x11\n\treview_id\x18\x02 \x01(\x05\x12\x11\n\tparent_id\x18\x03 \x01(\x05\x12\x13\n\x0b\x61ssigned_to\x18\x04 \x01(\x05\x12\x0b\n\x03key\x18\x05 \x01(\t\x12\x16\n\x0evalue_json_str\x18\x06 \x01(\t\x12\x0c\n\x04name\x18\x07 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x08 \x01(\t\x12.\n\ncreated_at\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"3\n$GetTaskAccuracyByAuditTaskIdsRequest\x12\x0b\n\x03ids\x18\x01 \x03(\x05\"\xb2\x01\n%GetTaskAccuracyByAuditTaskIdsResponse\x12L\n\x0ftask_accuracies\x18\x01 \x03(\x0b\x32\x33.GetTaskAccuracyByAuditTaskIdsResponse.TaskAccuracy\x1a;\n\x0cTaskAccuracy\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x10\n\x08vo_count\x18\x02 \x01(\x05\x12\r\n\x05\x65rror\x18\x03 \x01(\x05\"4\n\x10ListTasksRequest\x12\r\n\x05query\x18\x01 \x01(\t\x12\x11\n\treview_id\x18\x02 \x01(\x05\"K\n\x11ListTasksResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x14\n\x05tasks\x18\x02 \x03(\x0b\x32\x05.Task\"Q\n\x19\x43reateAnalysisTaskRequest\x12\x11\n\treview_id\x18\x01 \x01(\x05\x12\x13\n\x0b\x61ssigned_to\x18\x02 \x01(\x05\x12\x0c\n\x04name\x18\x03 \x01(\t\"O\n\x1a\x43reateAnalysisTaskResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x0f\n\x07task_id\x18\x02 \x01(\x05\"\xe9\x01\n\x16\x43reateAuditTaskRequest\x12\x11\n\treview_id\x18\x01 \x01(\x05\x12\x0f\n\x07task_id\x18\x02 \x01(\x05\x12.\n\nstart_date\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_date\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x14\n\x0cstate_set_by\x18\x05 \x01(\x05\x12\x13\n\x0bsample_size\x18\x06 \x01(\x05\x12\x0e\n\x06\x61\x63tion\x18\x07 \x01(\t\x12\x12\n\nauditor_id\x18\x08 \x01(\x05\"L\n\x17\x43reateAuditTaskResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x0f\n\x07task_id\x18\x02 \x01(\x05\"B\n\x11UpdateTaskRequest\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x13\n\x0b\x61ssigned_to\x18\x03 \x01(\x05\"B\n\x12UpdateTaskResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\n\n\x02id\x18\x02 \x01(\x05\"<\n\x1eResetTaskImagesByTaskIdRequest\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x0e\n\
|
|
19
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n,global_vo_grpc_service/protos/task_api.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a)global_vo_grpc_service/protos/utils.proto\"\xe7\x02\n\x04Task\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x11\n\treview_id\x18\x02 \x01(\x05\x12\x13\n\x0b\x61ssigned_to\x18\x03 \x01(\x05\x12\x12\n\ncreated_by\x18\x04 \x01(\x05\x12\x12\n\nupdated_by\x18\x05 \x01(\x05\x12.\n\ncreated_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x11\n\tparent_id\x18\x08 \x01(\x05\x12\x0c\n\x04type\x18\t \x01(\t\x12.\n\ndeleted_at\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04name\x18\x0b \x01(\t\x12/\n\x0b\x64isabled_at\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x13\n\x0b\x64isabled_by\x18\r \x01(\x05\"6\n\x16GetTaskByTaskIdRequest\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x10\n\x08image_id\x18\x02 \x01(\x05\".\n\x17GetTaskByTaskIdResponse\x12\x13\n\x04task\x18\x01 \x01(\x0b\x32\x05.Task\"-\n\x1cListCurrentUsersTasksRequest\x12\r\n\x05query\x18\x01 \x01(\t\"W\n\x1dListCurrentUsersTasksResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x14\n\x05tasks\x18\x02 \x03(\x0b\x32\x05.Task\"\xc5\x01\n\x1eListAuditeesAuditTasksResponse\x12>\n\x0b\x61udit_tasks\x18\x01 \x03(\x0b\x32).ListAuditeesAuditTasksResponse.AuditTask\x1a\x63\n\tAuditTask\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x11\n\tparent_id\x18\x02 \x01(\x05\x12\x12\n\ncreated_by\x18\x03 \x01(\x05\x12\x0b\n\x03key\x18\x04 \x01(\t\x12\x16\n\x0evalue_json_str\x18\x05 \x01(\t\"\xb1\x02\n\x1dListAuditorAuditTasksResponse\x12\x41\n\rauditor_tasks\x18\x01 \x03(\x0b\x32*.ListAuditorAuditTasksResponse.AuditorTask\x1a\xcc\x01\n\x0b\x41uditorTask\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x11\n\treview_id\x18\x02 \x01(\x05\x12\x11\n\tparent_id\x18\x03 \x01(\x05\x12\x13\n\x0b\x61ssigned_to\x18\x04 \x01(\x05\x12\x0b\n\x03key\x18\x05 \x01(\t\x12\x16\n\x0evalue_json_str\x18\x06 \x01(\t\x12\x0c\n\x04name\x18\x07 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x08 \x01(\t\x12.\n\ncreated_at\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"3\n$GetTaskAccuracyByAuditTaskIdsRequest\x12\x0b\n\x03ids\x18\x01 \x03(\x05\"\xb2\x01\n%GetTaskAccuracyByAuditTaskIdsResponse\x12L\n\x0ftask_accuracies\x18\x01 \x03(\x0b\x32\x33.GetTaskAccuracyByAuditTaskIdsResponse.TaskAccuracy\x1a;\n\x0cTaskAccuracy\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x10\n\x08vo_count\x18\x02 \x01(\x05\x12\r\n\x05\x65rror\x18\x03 \x01(\x05\"4\n\x10ListTasksRequest\x12\r\n\x05query\x18\x01 \x01(\t\x12\x11\n\treview_id\x18\x02 \x01(\x05\"K\n\x11ListTasksResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x14\n\x05tasks\x18\x02 \x03(\x0b\x32\x05.Task\"Q\n\x19\x43reateAnalysisTaskRequest\x12\x11\n\treview_id\x18\x01 \x01(\x05\x12\x13\n\x0b\x61ssigned_to\x18\x02 \x01(\x05\x12\x0c\n\x04name\x18\x03 \x01(\t\"O\n\x1a\x43reateAnalysisTaskResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x0f\n\x07task_id\x18\x02 \x01(\x05\"\xe9\x01\n\x16\x43reateAuditTaskRequest\x12\x11\n\treview_id\x18\x01 \x01(\x05\x12\x0f\n\x07task_id\x18\x02 \x01(\x05\x12.\n\nstart_date\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_date\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x14\n\x0cstate_set_by\x18\x05 \x01(\x05\x12\x13\n\x0bsample_size\x18\x06 \x01(\x05\x12\x0e\n\x06\x61\x63tion\x18\x07 \x01(\t\x12\x12\n\nauditor_id\x18\x08 \x01(\x05\"L\n\x17\x43reateAuditTaskResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x0f\n\x07task_id\x18\x02 \x01(\x05\"B\n\x11UpdateTaskRequest\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x13\n\x0b\x61ssigned_to\x18\x03 \x01(\x05\"B\n\x12UpdateTaskResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\n\n\x02id\x18\x02 \x01(\x05\"<\n\x1eResetTaskImagesByTaskIdRequest\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x0e\n\x06states\x18\x02 \x03(\t\"C\n\x1fResetTaskImagesByTaskIdResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\")\n\x16\x44\x65leteAuditTaskRequest\x12\x0f\n\x07task_id\x18\x01 \x01(\x05\";\n\x17\x44\x65leteAuditTaskResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\"0\n\x12\x44isableTaskRequest\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x0e\n\x06\x61\x63tion\x18\x02 \x01(\t\"7\n\x13\x44isableTaskResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\"\x1f\n\x11\x44\x65leteTaskRequest\x12\n\n\x02id\x18\x01 \x01(\x05\"6\n\x12\x44\x65leteTaskResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType2\xd0\x07\n\x07TaskApi\x12\x44\n\x0fGetTaskByTaskId\x12\x17.GetTaskByTaskIdRequest\x1a\x18.GetTaskByTaskIdResponse\x12V\n\x15ListCurrentUsersTasks\x12\x1d.ListCurrentUsersTasksRequest\x1a\x1e.ListCurrentUsersTasksResponse\x12Q\n\x16ListAuditeesAuditTasks\x12\x16.google.protobuf.Empty\x1a\x1f.ListAuditeesAuditTasksResponse\x12O\n\x15ListAuditorAuditTasks\x12\x16.google.protobuf.Empty\x1a\x1e.ListAuditorAuditTasksResponse\x12n\n\x1dGetTaskAccuracyByAuditTaskIds\x12%.GetTaskAccuracyByAuditTaskIdsRequest\x1a&.GetTaskAccuracyByAuditTaskIdsResponse\x12\x32\n\tListTasks\x12\x11.ListTasksRequest\x1a\x12.ListTasksResponse\x12M\n\x12\x43reateAnalysisTask\x12\x1a.CreateAnalysisTaskRequest\x1a\x1b.CreateAnalysisTaskResponse\x12\x44\n\x0f\x43reateAuditTask\x12\x17.CreateAuditTaskRequest\x1a\x18.CreateAuditTaskResponse\x12\x35\n\nUpdateTask\x12\x12.UpdateTaskRequest\x1a\x13.UpdateTaskResponse\x12\\\n\x17ResetTaskImagesByTaskId\x12\x1f.ResetTaskImagesByTaskIdRequest\x1a .ResetTaskImagesByTaskIdResponse\x12\x44\n\x0f\x44\x65leteAuditTask\x12\x17.DeleteAuditTaskRequest\x1a\x18.DeleteAuditTaskResponse\x12\x38\n\x0b\x44isableTask\x12\x13.DisableTaskRequest\x1a\x14.DisableTaskResponse\x12\x35\n\nDeleteTask\x12\x12.DeleteTaskRequest\x1a\x13.DeleteTaskResponseb\x06proto3')
|
|
20
20
|
|
|
21
21
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
|
|
22
22
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'global_vo_grpc_service.protos.task_api_pb2', globals())
|
|
@@ -75,6 +75,10 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
75
75
|
_DISABLETASKREQUEST._serialized_end=2525
|
|
76
76
|
_DISABLETASKRESPONSE._serialized_start=2527
|
|
77
77
|
_DISABLETASKRESPONSE._serialized_end=2582
|
|
78
|
-
|
|
79
|
-
|
|
78
|
+
_DELETETASKREQUEST._serialized_start=2584
|
|
79
|
+
_DELETETASKREQUEST._serialized_end=2615
|
|
80
|
+
_DELETETASKRESPONSE._serialized_start=2617
|
|
81
|
+
_DELETETASKRESPONSE._serialized_end=2671
|
|
82
|
+
_TASKAPI._serialized_start=2674
|
|
83
|
+
_TASKAPI._serialized_end=3650
|
|
80
84
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -75,6 +75,11 @@ class TaskApiStub(object):
|
|
|
75
75
|
request_serializer=global__vo__grpc__service_dot_protos_dot_task__api__pb2.DisableTaskRequest.SerializeToString,
|
|
76
76
|
response_deserializer=global__vo__grpc__service_dot_protos_dot_task__api__pb2.DisableTaskResponse.FromString,
|
|
77
77
|
)
|
|
78
|
+
self.DeleteTask = channel.unary_unary(
|
|
79
|
+
'/TaskApi/DeleteTask',
|
|
80
|
+
request_serializer=global__vo__grpc__service_dot_protos_dot_task__api__pb2.DeleteTaskRequest.SerializeToString,
|
|
81
|
+
response_deserializer=global__vo__grpc__service_dot_protos_dot_task__api__pb2.DeleteTaskResponse.FromString,
|
|
82
|
+
)
|
|
78
83
|
|
|
79
84
|
|
|
80
85
|
class TaskApiServicer(object):
|
|
@@ -152,6 +157,12 @@ class TaskApiServicer(object):
|
|
|
152
157
|
context.set_details('Method not implemented!')
|
|
153
158
|
raise NotImplementedError('Method not implemented!')
|
|
154
159
|
|
|
160
|
+
def DeleteTask(self, request, context):
|
|
161
|
+
"""Missing associated documentation comment in .proto file."""
|
|
162
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
163
|
+
context.set_details('Method not implemented!')
|
|
164
|
+
raise NotImplementedError('Method not implemented!')
|
|
165
|
+
|
|
155
166
|
|
|
156
167
|
def add_TaskApiServicer_to_server(servicer, server):
|
|
157
168
|
rpc_method_handlers = {
|
|
@@ -215,6 +226,11 @@ def add_TaskApiServicer_to_server(servicer, server):
|
|
|
215
226
|
request_deserializer=global__vo__grpc__service_dot_protos_dot_task__api__pb2.DisableTaskRequest.FromString,
|
|
216
227
|
response_serializer=global__vo__grpc__service_dot_protos_dot_task__api__pb2.DisableTaskResponse.SerializeToString,
|
|
217
228
|
),
|
|
229
|
+
'DeleteTask': grpc.unary_unary_rpc_method_handler(
|
|
230
|
+
servicer.DeleteTask,
|
|
231
|
+
request_deserializer=global__vo__grpc__service_dot_protos_dot_task__api__pb2.DeleteTaskRequest.FromString,
|
|
232
|
+
response_serializer=global__vo__grpc__service_dot_protos_dot_task__api__pb2.DeleteTaskResponse.SerializeToString,
|
|
233
|
+
),
|
|
218
234
|
}
|
|
219
235
|
generic_handler = grpc.method_handlers_generic_handler(
|
|
220
236
|
'TaskApi', rpc_method_handlers)
|
|
@@ -428,3 +444,20 @@ class TaskApi(object):
|
|
|
428
444
|
global__vo__grpc__service_dot_protos_dot_task__api__pb2.DisableTaskResponse.FromString,
|
|
429
445
|
options, channel_credentials,
|
|
430
446
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
447
|
+
|
|
448
|
+
@staticmethod
|
|
449
|
+
def DeleteTask(request,
|
|
450
|
+
target,
|
|
451
|
+
options=(),
|
|
452
|
+
channel_credentials=None,
|
|
453
|
+
call_credentials=None,
|
|
454
|
+
insecure=False,
|
|
455
|
+
compression=None,
|
|
456
|
+
wait_for_ready=None,
|
|
457
|
+
timeout=None,
|
|
458
|
+
metadata=None):
|
|
459
|
+
return grpc.experimental.unary_unary(request, target, '/TaskApi/DeleteTask',
|
|
460
|
+
global__vo__grpc__service_dot_protos_dot_task__api__pb2.DeleteTaskRequest.SerializeToString,
|
|
461
|
+
global__vo__grpc__service_dot_protos_dot_task__api__pb2.DeleteTaskResponse.FromString,
|
|
462
|
+
options, channel_credentials,
|
|
463
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
@@ -15,7 +15,7 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__
|
|
|
15
15
|
from global_vo_grpc_service.protos import utils_pb2 as global__vo__grpc__service_dot_protos_dot_utils__pb2
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n2global_vo_grpc_service/protos/task_image_api.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a)global_vo_grpc_service/protos/utils.proto\"\x99\x02\n\tTaskImage\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x0f\n\x07task_id\x18\x02 \x01(\x05\x12\x10\n\x08image_id\x18\x03 \x01(\x05\x12\x12\n\ncreated_by\x18\x04 \x01(\x05\x12\x12\n\nupdated_by\x18\x05 \x01(\x05\x12.\n\ncreated_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\r\n\x05state\x18\x08 \x01(\t\x12\x30\n\x0cstate_set_on\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x14\n\x0cstate_set_by\x18\n \x01(\x05\"M\n(GetCurrentStateByTaskIdAndImageIdRequest\x12\x0f\n\x07task_id\x18\x01 \x01(\x05\x12\x10\n\x08image_id\x18\x02 \x01(\x05\"F\n)GetCurrentStateByTaskIdAndImageIdResponse\x12\n\n\x02id\x18\x01 \x01(\x05\x12\r\n\x05state\x18\x02 \x01(\t\"[\n\'GetPaginatedTaskImagesFromTaskIdRequest\x12\x0f\n\x07task_id\x18\x01 \x01(\x05\x12\x1f\n\npagination\x18\x02 \x01(\x0b\x32\x0b.Pagination\"\
|
|
18
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n2global_vo_grpc_service/protos/task_image_api.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a)global_vo_grpc_service/protos/utils.proto\"\x99\x02\n\tTaskImage\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x0f\n\x07task_id\x18\x02 \x01(\x05\x12\x10\n\x08image_id\x18\x03 \x01(\x05\x12\x12\n\ncreated_by\x18\x04 \x01(\x05\x12\x12\n\nupdated_by\x18\x05 \x01(\x05\x12.\n\ncreated_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\r\n\x05state\x18\x08 \x01(\t\x12\x30\n\x0cstate_set_on\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x14\n\x0cstate_set_by\x18\n \x01(\x05\"M\n(GetCurrentStateByTaskIdAndImageIdRequest\x12\x0f\n\x07task_id\x18\x01 \x01(\x05\x12\x10\n\x08image_id\x18\x02 \x01(\x05\"F\n)GetCurrentStateByTaskIdAndImageIdResponse\x12\n\n\x02id\x18\x01 \x01(\x05\x12\r\n\x05state\x18\x02 \x01(\t\"[\n\'GetPaginatedTaskImagesFromTaskIdRequest\x12\x0f\n\x07task_id\x18\x01 \x01(\x05\x12\x1f\n\npagination\x18\x02 \x01(\x0b\x32\x0b.Pagination\"f\n(GetPaginatedTaskImagesFromTaskIdResponse\x12\x1f\n\x0btask_images\x18\x01 \x03(\x0b\x32\n.TaskImage\x12\x19\n\x11total_task_images\x18\x02 \x01(\x05\"D\n!FindNextTaskImageForReviewRequest\x12\x0f\n\x07task_id\x18\x01 \x01(\x05\x12\x0e\n\x06states\x18\x02 \x03(\t\"f\n\"FindNextTaskImageForReviewResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x1e\n\ntask_image\x18\x02 \x01(\x0b\x32\n.TaskImage\"O\n\x1bUpdateTaskImageStateRequest\x12\x0f\n\x07task_id\x18\x01 \x01(\x05\x12\x10\n\x08image_id\x18\x02 \x01(\x05\x12\r\n\x05state\x18\x03 \x01(\t\"`\n\x1cUpdateTaskImageStateResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x1e\n\ntask_image\x18\x02 \x01(\x0b\x32\n.TaskImage\"/\n\x1bGetTaskImageProgressRequest\x12\x10\n\x08task_ids\x18\x01 \x03(\x05\"\xb6\x02\n\x1cGetTaskImageProgressResponse\x12O\n\x13task_image_progress\x18\x01 \x03(\x0b\x32\x32.GetTaskImageProgressResponse.GetTaskImageProgress\x1a\xc4\x01\n\x14GetTaskImageProgress\x12\x0f\n\x07task_id\x18\x01 \x01(\x05\x12\x14\n\x0ctotal_images\x18\x02 \x01(\x05\x12\x1c\n\x14\x61nnotation_completed\x18\x03 \x01(\x05\x12\x1a\n\x12\x61nnotation_skipped\x18\x04 \x01(\x05\x12\x17\n\x0frework_required\x18\x05 \x01(\x05\x12\x18\n\x10rework_completed\x18\x06 \x01(\x05\x12\x18\n\x10review_completed\x18\x07 \x01(\x05\"\xbf\x01\n(GetTaskImageAuditCountByDateRangeRequest\x12\x0f\n\x07task_id\x18\x01 \x01(\x05\x12.\n\nstart_date\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_date\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x14\n\x0cstate_set_by\x18\x04 \x01(\x05\x12\x0e\n\x06\x61\x63tion\x18\x05 \x01(\t\"A\n)GetTaskImageAuditCountByDateRangeResponse\x12\x14\n\x0ctotal_images\x18\x01 \x01(\x05\x32\x90\x05\n\x0cTaskImageApi\x12z\n!GetCurrentStateByTaskIdAndImageId\x12).GetCurrentStateByTaskIdAndImageIdRequest\x1a*.GetCurrentStateByTaskIdAndImageIdResponse\x12w\n GetPaginatedTaskImagesFromTaskId\x12(.GetPaginatedTaskImagesFromTaskIdRequest\x1a).GetPaginatedTaskImagesFromTaskIdResponse\x12\x65\n\x1a\x46indNextTaskImageForReview\x12\".FindNextTaskImageForReviewRequest\x1a#.FindNextTaskImageForReviewResponse\x12S\n\x14UpdateTaskImageState\x12\x1c.UpdateTaskImageStateRequest\x1a\x1d.UpdateTaskImageStateResponse\x12S\n\x14GetTaskImageProgress\x12\x1c.GetTaskImageProgressRequest\x1a\x1d.GetTaskImageProgressResponse\x12z\n!GetTaskImageAuditCountByDateRange\x12).GetTaskImageAuditCountByDateRangeRequest\x1a*.GetTaskImageAuditCountByDateRangeResponseb\x06proto3')
|
|
19
19
|
|
|
20
20
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
|
|
21
21
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'global_vo_grpc_service.protos.task_image_api_pb2', globals())
|
|
@@ -30,28 +30,26 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
30
30
|
_GETCURRENTSTATEBYTASKIDANDIMAGEIDRESPONSE._serialized_end=563
|
|
31
31
|
_GETPAGINATEDTASKIMAGESFROMTASKIDREQUEST._serialized_start=565
|
|
32
32
|
_GETPAGINATEDTASKIMAGESFROMTASKIDREQUEST._serialized_end=656
|
|
33
|
-
_GETPAGINATEDTASKIMAGESFROMTASKIDRESPONSE._serialized_start=
|
|
34
|
-
_GETPAGINATEDTASKIMAGESFROMTASKIDRESPONSE._serialized_end=
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
_TASKIMAGEAPI._serialized_start=2105
|
|
56
|
-
_TASKIMAGEAPI._serialized_end=2761
|
|
33
|
+
_GETPAGINATEDTASKIMAGESFROMTASKIDRESPONSE._serialized_start=658
|
|
34
|
+
_GETPAGINATEDTASKIMAGESFROMTASKIDRESPONSE._serialized_end=760
|
|
35
|
+
_FINDNEXTTASKIMAGEFORREVIEWREQUEST._serialized_start=762
|
|
36
|
+
_FINDNEXTTASKIMAGEFORREVIEWREQUEST._serialized_end=830
|
|
37
|
+
_FINDNEXTTASKIMAGEFORREVIEWRESPONSE._serialized_start=832
|
|
38
|
+
_FINDNEXTTASKIMAGEFORREVIEWRESPONSE._serialized_end=934
|
|
39
|
+
_UPDATETASKIMAGESTATEREQUEST._serialized_start=936
|
|
40
|
+
_UPDATETASKIMAGESTATEREQUEST._serialized_end=1015
|
|
41
|
+
_UPDATETASKIMAGESTATERESPONSE._serialized_start=1017
|
|
42
|
+
_UPDATETASKIMAGESTATERESPONSE._serialized_end=1113
|
|
43
|
+
_GETTASKIMAGEPROGRESSREQUEST._serialized_start=1115
|
|
44
|
+
_GETTASKIMAGEPROGRESSREQUEST._serialized_end=1162
|
|
45
|
+
_GETTASKIMAGEPROGRESSRESPONSE._serialized_start=1165
|
|
46
|
+
_GETTASKIMAGEPROGRESSRESPONSE._serialized_end=1475
|
|
47
|
+
_GETTASKIMAGEPROGRESSRESPONSE_GETTASKIMAGEPROGRESS._serialized_start=1279
|
|
48
|
+
_GETTASKIMAGEPROGRESSRESPONSE_GETTASKIMAGEPROGRESS._serialized_end=1475
|
|
49
|
+
_GETTASKIMAGEAUDITCOUNTBYDATERANGEREQUEST._serialized_start=1478
|
|
50
|
+
_GETTASKIMAGEAUDITCOUNTBYDATERANGEREQUEST._serialized_end=1669
|
|
51
|
+
_GETTASKIMAGEAUDITCOUNTBYDATERANGERESPONSE._serialized_start=1671
|
|
52
|
+
_GETTASKIMAGEAUDITCOUNTBYDATERANGERESPONSE._serialized_end=1736
|
|
53
|
+
_TASKIMAGEAPI._serialized_start=1739
|
|
54
|
+
_TASKIMAGEAPI._serialized_end=2395
|
|
57
55
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -13,29 +13,29 @@ _sym_db = _symbol_database.Default()
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)global_vo_grpc_service/protos/utils.proto\"M\n\x07GeoBbox\x12\x0f\n\x07min_lat\x18\x01 \x01(\x02\x12\x0f\n\x07max_lat\x18\x02 \x01(\x02\x12\x0f\n\x07min_lon\x18\x03 \x01(\x02\x12\x0f\n\x07max_lon\x18\x04 \x01(\x02\"
|
|
16
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)global_vo_grpc_service/protos/utils.proto\"M\n\x07GeoBbox\x12\x0f\n\x07min_lat\x18\x01 \x01(\x02\x12\x0f\n\x07max_lat\x18\x02 \x01(\x02\x12\x0f\n\x07min_lon\x18\x03 \x01(\x02\x12\x0f\n\x07max_lon\x18\x04 \x01(\x02\"3\n\x08GeoPoint\x12\x0b\n\x03lat\x18\x01 \x01(\x02\x12\x0b\n\x03lon\x18\x02 \x01(\x02\x12\r\n\x05score\x18\x03 \x01(\x02\"G\n\tPixelBbox\x12\r\n\x05min_x\x18\x01 \x01(\x02\x12\r\n\x05min_y\x18\x02 \x01(\x02\x12\r\n\x05max_x\x18\x03 \x01(\x02\x12\r\n\x05max_y\x18\x04 \x01(\x02\"\"\n\nPixelPoint\x12\t\n\x01x\x18\x01 \x01(\x02\x12\t\n\x01y\x18\x02 \x01(\x02\"u\n\nPagination\x12\x13\n\x0bpage_number\x18\x01 \x01(\x05\x12\x16\n\x0emax_page_items\x18\x02 \x01(\x05\x12\x11\n\tcursor_id\x18\x03 \x01(\x05\x12\x14\n\x0c\x63ursor_value\x18\x04 \x01(\x02\x12\x11\n\tdirection\x18\x05 \x01(\t\"X\n\x0cTeamRoleInfo\x12\x0f\n\x07role_id\x18\x01 \x01(\x05\x12\x11\n\trole_name\x18\x02 \x01(\t\x12$\n\x0bpermissions\x18\x03 \x03(\x0b\x32\x0f.PermissionInfo\"y\n\x0ePermissionInfo\x12\x15\n\rpermission_id\x18\x01 \x01(\x05\x12\x17\n\x0fpermission_name\x18\x02 \x01(\t\x12\x1e\n\x16permission_description\x18\x03 \x01(\t\x12\x17\n\x0fpermission_type\x18\x04 \x01(\t\":\n\x0fUserDisplayInfo\x12\n\n\x02id\x18\x01 \x01(\x05\x12\r\n\x05\x66irst\x18\x02 \x01(\t\x12\x0c\n\x04last\x18\x03 \x01(\t*\xc0\x01\n\nChangeType\x12\x17\n\x13UNKNOWN_CHANGE_TYPE\x10\x00\x12\x0b\n\x07\x43REATED\x10\x01\x12\x08\n\x04READ\x10\x02\x12\x0b\n\x07UPDATED\x10\x03\x12\x0b\n\x07\x44\x45LETED\x10\x04\x12\n\n\x06\x45XISTS\x10\x05\x12\r\n\tNOT_FOUND\x10\x06\x12\n\n\x06QUEUED\x10\x07\x12\x0b\n\x07INDEXED\x10\x08\x12\n\n\x06\x43\x41\x43HED\x10\t\x12\x0c\n\x08\x44ISABLED\x10\n\x12\x0b\n\x07\x45NABLED\x10\x0b\x12\r\n\tCOMPLETED\x10\x0c\x62\x06proto3')
|
|
17
17
|
|
|
18
18
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
|
|
19
19
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'global_vo_grpc_service.protos.utils_pb2', globals())
|
|
20
20
|
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
21
21
|
|
|
22
22
|
DESCRIPTOR._options = None
|
|
23
|
-
_CHANGETYPE._serialized_start=
|
|
24
|
-
_CHANGETYPE._serialized_end=
|
|
23
|
+
_CHANGETYPE._serialized_start=679
|
|
24
|
+
_CHANGETYPE._serialized_end=871
|
|
25
25
|
_GEOBBOX._serialized_start=45
|
|
26
26
|
_GEOBBOX._serialized_end=122
|
|
27
27
|
_GEOPOINT._serialized_start=124
|
|
28
|
-
_GEOPOINT._serialized_end=
|
|
29
|
-
_PIXELBBOX._serialized_start=
|
|
30
|
-
_PIXELBBOX._serialized_end=
|
|
31
|
-
_PIXELPOINT._serialized_start=
|
|
32
|
-
_PIXELPOINT._serialized_end=
|
|
33
|
-
_PAGINATION._serialized_start=
|
|
34
|
-
_PAGINATION._serialized_end=
|
|
35
|
-
_TEAMROLEINFO._serialized_start=
|
|
36
|
-
_TEAMROLEINFO._serialized_end=
|
|
37
|
-
_PERMISSIONINFO._serialized_start=
|
|
38
|
-
_PERMISSIONINFO._serialized_end=
|
|
39
|
-
_USERDISPLAYINFO._serialized_start=
|
|
40
|
-
_USERDISPLAYINFO._serialized_end=
|
|
28
|
+
_GEOPOINT._serialized_end=175
|
|
29
|
+
_PIXELBBOX._serialized_start=177
|
|
30
|
+
_PIXELBBOX._serialized_end=248
|
|
31
|
+
_PIXELPOINT._serialized_start=250
|
|
32
|
+
_PIXELPOINT._serialized_end=284
|
|
33
|
+
_PAGINATION._serialized_start=286
|
|
34
|
+
_PAGINATION._serialized_end=403
|
|
35
|
+
_TEAMROLEINFO._serialized_start=405
|
|
36
|
+
_TEAMROLEINFO._serialized_end=493
|
|
37
|
+
_PERMISSIONINFO._serialized_start=495
|
|
38
|
+
_PERMISSIONINFO._serialized_end=616
|
|
39
|
+
_USERDISPLAYINFO._serialized_start=618
|
|
40
|
+
_USERDISPLAYINFO._serialized_end=676
|
|
41
41
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -17,7 +17,7 @@ from global_vo_grpc_service.protos import utils_pb2 as global__vo__grpc__service
|
|
|
17
17
|
from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n0global_vo_grpc_service/protos/workflow_api.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a)global_vo_grpc_service/protos/utils.proto\x1a\x1cgoogle/protobuf/struct.proto\"\xb6\x02\n\x08Workflow\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x12\n\nmission_id\x18\x02 \x01(\x05\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x0c\n\x04type\x18\x04 \x01(\t\x12\x0e\n\x06status\x18\x05 \x01(\t\x12.\n\ncreated_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12)\n\x08metadata\x18\x08 \x01(\x0b\x32\x17.google.protobuf.Struct\x12+\n\nextra_data\x18\t \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x12\n\ncreated_by\x18\n \x01(\x05\x12\x12\n\nupdated_by\x18\x0b \x01(\x05\"8\n\x18ListAllWorkflowsResponse\x12\x1c\n\tworkflows\x18\x01 \x03(\x0b\x32\t.Workflow\">\n\x1fTransitionWorkflowStatusRequest\x12\x1b\n\x08workflow\x18\x01 \x01(\x0b\x32\t.Workflow\"a\n TransitionWorkflowStatusResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x1b\n\x08workflow\x18\x02 \x01(\x0b\x32\t.Workflow\"1\n\x1bGetMissionScanStatusRequest\x12\x12\n\nmission_id\x18\x01 \x01(\x05\"0\n\x1cGetMissionScanStatusResponse\x12\x10\n\x08\x64isabled\x18\x01 \x01(\x08\"6\n\x17QueueMissionScanRequest\x12\x1b\n\x08workflow\x18\x01 \x01(\x0b\x32\t.Workflow\"Y\n\x18QueueMissionScanResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x1b\n\x08workflow\x18\x02 \x01(\x0b\x32\t.Workflow\"`\n\x1eListQueuedMissionScansResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x1c\n\tworkflows\x18\x02 \x03(\x0b\x32\t.Workflow\"6\n\x17ListMissionScansRequest\x12\x1b\n\x08workflow\x18\x01 \x01(\x0b\x32\t.Workflow\"Z\n\x18ListMissionScansResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x1c\n\tworkflows\x18\x02 \x03(\x0b\x32\t.Workflow\"8\n\x19QueueMissionExportRequest\x12\x1b\n\x08workflow\x18\x01 \x01(\x0b\x32\t.Workflow\"[\n\x1aQueueMissionExportResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x1b\n\x08workflow\x18\x02 \x01(\x0b\x32\t.Workflow\"b\n ListQueuedMissionExportsResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x1c\n\tworkflows\x18\x02 \x03(\x0b\x32\t.Workflow\"8\n\x19ListMissionExportsRequest\x12\x1b\n\x08workflow\x18\x01 \x01(\x0b\x32\t.Workflow\"\\\n\x1aListMissionExportsResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x1c\n\tworkflows\x18\x02 \x03(\x0b\x32\t.Workflow\"4\n\x15\x44\x65leteWorkflowRequest\x12\x1b\n\x08workflow\x18\x01 \x01(\x0b\x32\t.Workflow\"W\n\x16\x44\x65leteWorkflowResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x1b\n\x08workflow\x18\x02 \x01(\x0b\x32\t.Workflow\"
|
|
20
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n0global_vo_grpc_service/protos/workflow_api.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a)global_vo_grpc_service/protos/utils.proto\x1a\x1cgoogle/protobuf/struct.proto\"\xb6\x02\n\x08Workflow\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x12\n\nmission_id\x18\x02 \x01(\x05\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x0c\n\x04type\x18\x04 \x01(\t\x12\x0e\n\x06status\x18\x05 \x01(\t\x12.\n\ncreated_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12)\n\x08metadata\x18\x08 \x01(\x0b\x32\x17.google.protobuf.Struct\x12+\n\nextra_data\x18\t \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x12\n\ncreated_by\x18\n \x01(\x05\x12\x12\n\nupdated_by\x18\x0b \x01(\x05\"8\n\x18ListAllWorkflowsResponse\x12\x1c\n\tworkflows\x18\x01 \x03(\x0b\x32\t.Workflow\">\n\x1fTransitionWorkflowStatusRequest\x12\x1b\n\x08workflow\x18\x01 \x01(\x0b\x32\t.Workflow\"a\n TransitionWorkflowStatusResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x1b\n\x08workflow\x18\x02 \x01(\x0b\x32\t.Workflow\"1\n\x1bGetMissionScanStatusRequest\x12\x12\n\nmission_id\x18\x01 \x01(\x05\"0\n\x1cGetMissionScanStatusResponse\x12\x10\n\x08\x64isabled\x18\x01 \x01(\x08\"6\n\x17QueueMissionScanRequest\x12\x1b\n\x08workflow\x18\x01 \x01(\x0b\x32\t.Workflow\"Y\n\x18QueueMissionScanResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x1b\n\x08workflow\x18\x02 \x01(\x0b\x32\t.Workflow\"`\n\x1eListQueuedMissionScansResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x1c\n\tworkflows\x18\x02 \x03(\x0b\x32\t.Workflow\"6\n\x17ListMissionScansRequest\x12\x1b\n\x08workflow\x18\x01 \x01(\x0b\x32\t.Workflow\"Z\n\x18ListMissionScansResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x1c\n\tworkflows\x18\x02 \x03(\x0b\x32\t.Workflow\"8\n\x19QueueMissionExportRequest\x12\x1b\n\x08workflow\x18\x01 \x01(\x0b\x32\t.Workflow\"[\n\x1aQueueMissionExportResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x1b\n\x08workflow\x18\x02 \x01(\x0b\x32\t.Workflow\"b\n ListQueuedMissionExportsResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x1c\n\tworkflows\x18\x02 \x03(\x0b\x32\t.Workflow\"8\n\x19ListMissionExportsRequest\x12\x1b\n\x08workflow\x18\x01 \x01(\x0b\x32\t.Workflow\"\\\n\x1aListMissionExportsResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x1c\n\tworkflows\x18\x02 \x03(\x0b\x32\t.Workflow\"4\n\x15\x44\x65leteWorkflowRequest\x12\x1b\n\x08workflow\x18\x01 \x01(\x0b\x32\t.Workflow\"W\n\x16\x44\x65leteWorkflowResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x1b\n\x08workflow\x18\x02 \x01(\x0b\x32\t.Workflow\"@\n)ListRecentMissionScansByMissionIdsRequest\x12\x13\n\x0bmission_ids\x18\x01 \x03(\x05\"O\n*ListRecentMissionScansByMissionIdsResponse\x12!\n\x0eworkflow_scans\x18\x01 \x03(\x0b\x32\t.Workflow\"D\n.GetMissionScanRecommendationByMissionIdRequest\x12\x12\n\nmission_id\x18\x01 \x01(\x05\"I\n/GetMissionScanRecommendationByMissionIdResponse\x12\x16\n\x0erecommendation\x18\x01 \x01(\x08\x32\xb5\x08\n\x0bWorkflowApi\x12\x45\n\x10ListAllWorkflows\x12\x16.google.protobuf.Empty\x1a\x19.ListAllWorkflowsResponse\x12_\n\x18TransitionWorkflowStatus\x12 .TransitionWorkflowStatusRequest\x1a!.TransitionWorkflowStatusResponse\x12\x41\n\x0e\x44\x65leteWorkflow\x12\x16.DeleteWorkflowRequest\x1a\x17.DeleteWorkflowResponse\x12M\n\x12QueueMissionExport\x12\x1a.QueueMissionExportRequest\x1a\x1b.QueueMissionExportResponse\x12U\n\x18ListQueuedMissionExports\x12\x16.google.protobuf.Empty\x1a!.ListQueuedMissionExportsResponse\x12M\n\x12ListMissionExports\x12\x1a.ListMissionExportsRequest\x1a\x1b.ListMissionExportsResponse\x12S\n\x14GetMissionScanStatus\x12\x1c.GetMissionScanStatusRequest\x1a\x1d.GetMissionScanStatusResponse\x12G\n\x10QueueMissionScan\x12\x18.QueueMissionScanRequest\x1a\x19.QueueMissionScanResponse\x12Q\n\x16ListQueuedMissionScans\x12\x16.google.protobuf.Empty\x1a\x1f.ListQueuedMissionScansResponse\x12G\n\x10ListMissionScans\x12\x18.ListMissionScansRequest\x1a\x19.ListMissionScansResponse\x12\x8c\x01\n\'GetMissionScanRecommendationByMissionId\x12/.GetMissionScanRecommendationByMissionIdRequest\x1a\x30.GetMissionScanRecommendationByMissionIdResponse\x12}\n\"ListRecentMissionScansByMissionIds\x12*.ListRecentMissionScansByMissionIdsRequest\x1a+.ListRecentMissionScansByMissionIdsResponseb\x06proto3')
|
|
21
21
|
|
|
22
22
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
|
|
23
23
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'global_vo_grpc_service.protos.workflow_api_pb2', globals())
|
|
@@ -60,12 +60,14 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
60
60
|
_DELETEWORKFLOWREQUEST._serialized_end=1670
|
|
61
61
|
_DELETEWORKFLOWRESPONSE._serialized_start=1672
|
|
62
62
|
_DELETEWORKFLOWRESPONSE._serialized_end=1759
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
63
|
+
_LISTRECENTMISSIONSCANSBYMISSIONIDSREQUEST._serialized_start=1761
|
|
64
|
+
_LISTRECENTMISSIONSCANSBYMISSIONIDSREQUEST._serialized_end=1825
|
|
65
|
+
_LISTRECENTMISSIONSCANSBYMISSIONIDSRESPONSE._serialized_start=1827
|
|
66
|
+
_LISTRECENTMISSIONSCANSBYMISSIONIDSRESPONSE._serialized_end=1906
|
|
67
|
+
_GETMISSIONSCANRECOMMENDATIONBYMISSIONIDREQUEST._serialized_start=1908
|
|
68
|
+
_GETMISSIONSCANRECOMMENDATIONBYMISSIONIDREQUEST._serialized_end=1976
|
|
69
|
+
_GETMISSIONSCANRECOMMENDATIONBYMISSIONIDRESPONSE._serialized_start=1978
|
|
70
|
+
_GETMISSIONSCANRECOMMENDATIONBYMISSIONIDRESPONSE._serialized_end=2051
|
|
71
|
+
_WORKFLOWAPI._serialized_start=2054
|
|
72
|
+
_WORKFLOWAPI._serialized_end=3131
|
|
71
73
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -67,10 +67,15 @@ class WorkflowApiStub(object):
|
|
|
67
67
|
request_serializer=global__vo__grpc__service_dot_protos_dot_workflow__api__pb2.ListMissionScansRequest.SerializeToString,
|
|
68
68
|
response_deserializer=global__vo__grpc__service_dot_protos_dot_workflow__api__pb2.ListMissionScansResponse.FromString,
|
|
69
69
|
)
|
|
70
|
-
self.
|
|
71
|
-
'/WorkflowApi/
|
|
72
|
-
request_serializer=global__vo__grpc__service_dot_protos_dot_workflow__api__pb2.
|
|
73
|
-
response_deserializer=global__vo__grpc__service_dot_protos_dot_workflow__api__pb2.
|
|
70
|
+
self.GetMissionScanRecommendationByMissionId = channel.unary_unary(
|
|
71
|
+
'/WorkflowApi/GetMissionScanRecommendationByMissionId',
|
|
72
|
+
request_serializer=global__vo__grpc__service_dot_protos_dot_workflow__api__pb2.GetMissionScanRecommendationByMissionIdRequest.SerializeToString,
|
|
73
|
+
response_deserializer=global__vo__grpc__service_dot_protos_dot_workflow__api__pb2.GetMissionScanRecommendationByMissionIdResponse.FromString,
|
|
74
|
+
)
|
|
75
|
+
self.ListRecentMissionScansByMissionIds = channel.unary_unary(
|
|
76
|
+
'/WorkflowApi/ListRecentMissionScansByMissionIds',
|
|
77
|
+
request_serializer=global__vo__grpc__service_dot_protos_dot_workflow__api__pb2.ListRecentMissionScansByMissionIdsRequest.SerializeToString,
|
|
78
|
+
response_deserializer=global__vo__grpc__service_dot_protos_dot_workflow__api__pb2.ListRecentMissionScansByMissionIdsResponse.FromString,
|
|
74
79
|
)
|
|
75
80
|
|
|
76
81
|
|
|
@@ -141,9 +146,14 @@ class WorkflowApiServicer(object):
|
|
|
141
146
|
context.set_details('Method not implemented!')
|
|
142
147
|
raise NotImplementedError('Method not implemented!')
|
|
143
148
|
|
|
144
|
-
def
|
|
145
|
-
"""
|
|
146
|
-
|
|
149
|
+
def GetMissionScanRecommendationByMissionId(self, request, context):
|
|
150
|
+
"""Missing associated documentation comment in .proto file."""
|
|
151
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
152
|
+
context.set_details('Method not implemented!')
|
|
153
|
+
raise NotImplementedError('Method not implemented!')
|
|
154
|
+
|
|
155
|
+
def ListRecentMissionScansByMissionIds(self, request, context):
|
|
156
|
+
"""Missing associated documentation comment in .proto file."""
|
|
147
157
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
148
158
|
context.set_details('Method not implemented!')
|
|
149
159
|
raise NotImplementedError('Method not implemented!')
|
|
@@ -201,10 +211,15 @@ def add_WorkflowApiServicer_to_server(servicer, server):
|
|
|
201
211
|
request_deserializer=global__vo__grpc__service_dot_protos_dot_workflow__api__pb2.ListMissionScansRequest.FromString,
|
|
202
212
|
response_serializer=global__vo__grpc__service_dot_protos_dot_workflow__api__pb2.ListMissionScansResponse.SerializeToString,
|
|
203
213
|
),
|
|
204
|
-
'
|
|
205
|
-
servicer.
|
|
206
|
-
request_deserializer=global__vo__grpc__service_dot_protos_dot_workflow__api__pb2.
|
|
207
|
-
response_serializer=global__vo__grpc__service_dot_protos_dot_workflow__api__pb2.
|
|
214
|
+
'GetMissionScanRecommendationByMissionId': grpc.unary_unary_rpc_method_handler(
|
|
215
|
+
servicer.GetMissionScanRecommendationByMissionId,
|
|
216
|
+
request_deserializer=global__vo__grpc__service_dot_protos_dot_workflow__api__pb2.GetMissionScanRecommendationByMissionIdRequest.FromString,
|
|
217
|
+
response_serializer=global__vo__grpc__service_dot_protos_dot_workflow__api__pb2.GetMissionScanRecommendationByMissionIdResponse.SerializeToString,
|
|
218
|
+
),
|
|
219
|
+
'ListRecentMissionScansByMissionIds': grpc.unary_unary_rpc_method_handler(
|
|
220
|
+
servicer.ListRecentMissionScansByMissionIds,
|
|
221
|
+
request_deserializer=global__vo__grpc__service_dot_protos_dot_workflow__api__pb2.ListRecentMissionScansByMissionIdsRequest.FromString,
|
|
222
|
+
response_serializer=global__vo__grpc__service_dot_protos_dot_workflow__api__pb2.ListRecentMissionScansByMissionIdsResponse.SerializeToString,
|
|
208
223
|
),
|
|
209
224
|
}
|
|
210
225
|
generic_handler = grpc.method_handlers_generic_handler(
|
|
@@ -389,7 +404,24 @@ class WorkflowApi(object):
|
|
|
389
404
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
390
405
|
|
|
391
406
|
@staticmethod
|
|
392
|
-
def
|
|
407
|
+
def GetMissionScanRecommendationByMissionId(request,
|
|
408
|
+
target,
|
|
409
|
+
options=(),
|
|
410
|
+
channel_credentials=None,
|
|
411
|
+
call_credentials=None,
|
|
412
|
+
insecure=False,
|
|
413
|
+
compression=None,
|
|
414
|
+
wait_for_ready=None,
|
|
415
|
+
timeout=None,
|
|
416
|
+
metadata=None):
|
|
417
|
+
return grpc.experimental.unary_unary(request, target, '/WorkflowApi/GetMissionScanRecommendationByMissionId',
|
|
418
|
+
global__vo__grpc__service_dot_protos_dot_workflow__api__pb2.GetMissionScanRecommendationByMissionIdRequest.SerializeToString,
|
|
419
|
+
global__vo__grpc__service_dot_protos_dot_workflow__api__pb2.GetMissionScanRecommendationByMissionIdResponse.FromString,
|
|
420
|
+
options, channel_credentials,
|
|
421
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
422
|
+
|
|
423
|
+
@staticmethod
|
|
424
|
+
def ListRecentMissionScansByMissionIds(request,
|
|
393
425
|
target,
|
|
394
426
|
options=(),
|
|
395
427
|
channel_credentials=None,
|
|
@@ -399,8 +431,8 @@ class WorkflowApi(object):
|
|
|
399
431
|
wait_for_ready=None,
|
|
400
432
|
timeout=None,
|
|
401
433
|
metadata=None):
|
|
402
|
-
return grpc.experimental.unary_unary(request, target, '/WorkflowApi/
|
|
403
|
-
global__vo__grpc__service_dot_protos_dot_workflow__api__pb2.
|
|
404
|
-
global__vo__grpc__service_dot_protos_dot_workflow__api__pb2.
|
|
434
|
+
return grpc.experimental.unary_unary(request, target, '/WorkflowApi/ListRecentMissionScansByMissionIds',
|
|
435
|
+
global__vo__grpc__service_dot_protos_dot_workflow__api__pb2.ListRecentMissionScansByMissionIdsRequest.SerializeToString,
|
|
436
|
+
global__vo__grpc__service_dot_protos_dot_workflow__api__pb2.ListRecentMissionScansByMissionIdsResponse.FromString,
|
|
405
437
|
options, channel_credentials,
|
|
406
438
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
@@ -15,7 +15,7 @@ from global_vo_grpc_service.protos import utils_pb2 as global__vo__grpc__service
|
|
|
15
15
|
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+search_grpc_service/protos/search_api.proto\x1a)global_vo_grpc_service/protos/utils.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"H\n\x1dGetH3AggregatedResultsRequest\x12\x0e\n\x06h3_res\x18\x01 \x01(\x05\x12\x17\n\x0fgeo_polygon_wkt\x18\x02 \x01(\t\"[\n\x12H3AggregatedResult\x12\x0e\n\x06h3_idx\x18\x01 \x01(\t\x12!\n\x19total_detection_instances\x18\x02 \x01(\x05\x12\x12\n\nmax_height\x18\x03 \x01(\x05\"v\n\x1eGetH3AggregatedResultsResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x32\n\x15h3_aggregated_results\x18\x02 \x03(\x0b\x32\x13.H3AggregatedResult\"\'\n\x0bHeightRange\x12\x0b\n\x03min\x18\x01 \x01(\x02\x12\x0b\n\x03max\x18\x02 \x01(\x02\"&\n\nScoreRange\x12\x0b\n\x03min\x18\x01 \x01(\x02\x12\x0b\n\x03max\x18\x02 \x01(\x02\"g\n\tDateRange\x12-\n\tstartDate\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12+\n\x07\x65ndDate\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xcd\x02\n\x0c\x46ilterValues\x12\x14\n\x0c\x63\x61tegory_ids\x18\x01 \x03(\x05\x12\"\n\x0cheight_range\x18\x02 \x01(\x0b\x32\x0c.HeightRange\x12\x0e\n\x06states\x18\x03 \x03(\t\x12 \n\x0bscore_range\x18\x04 \x01(\x0b\x32\x0b.ScoreRange\x12\x16\n\x0e\x63reated_by_ids\x18\x05 \x03(\x05\x12\x16\n\x0eupdated_by_ids\x18\x06 \x03(\x05\x12\x12\n\nmission_id\x18\x07 \x01(\x05\x12\x12\n\nreview_ids\x18\x08 \x03(\x05\x12\x0c\n\x04lock\x18\t \x01(\t\x12$\n\x10updated_at_range\x18\n \x01(\x0b\x32\n.DateRange\x12\x12\n\nvisibility\x18\x0b \x03(\t\x12\x1d\n\x15\x65xclude_from_training\x18\x0c \x01(\t\x12\x12\n\nsource_ids\x18\r \x03(\x05\"1\n\nSortValues\x12\x0f\n\x07sort_by\x18\x01 \x01(\t\x12\x12\n\nsort_order\x18\x02 \x01(\t\"\
|
|
18
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+search_grpc_service/protos/search_api.proto\x1a)global_vo_grpc_service/protos/utils.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"H\n\x1dGetH3AggregatedResultsRequest\x12\x0e\n\x06h3_res\x18\x01 \x01(\x05\x12\x17\n\x0fgeo_polygon_wkt\x18\x02 \x01(\t\"[\n\x12H3AggregatedResult\x12\x0e\n\x06h3_idx\x18\x01 \x01(\t\x12!\n\x19total_detection_instances\x18\x02 \x01(\x05\x12\x12\n\nmax_height\x18\x03 \x01(\x05\"v\n\x1eGetH3AggregatedResultsResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x32\n\x15h3_aggregated_results\x18\x02 \x03(\x0b\x32\x13.H3AggregatedResult\"\'\n\x0bHeightRange\x12\x0b\n\x03min\x18\x01 \x01(\x02\x12\x0b\n\x03max\x18\x02 \x01(\x02\"&\n\nScoreRange\x12\x0b\n\x03min\x18\x01 \x01(\x02\x12\x0b\n\x03max\x18\x02 \x01(\x02\"g\n\tDateRange\x12-\n\tstartDate\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12+\n\x07\x65ndDate\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xcd\x02\n\x0c\x46ilterValues\x12\x14\n\x0c\x63\x61tegory_ids\x18\x01 \x03(\x05\x12\"\n\x0cheight_range\x18\x02 \x01(\x0b\x32\x0c.HeightRange\x12\x0e\n\x06states\x18\x03 \x03(\t\x12 \n\x0bscore_range\x18\x04 \x01(\x0b\x32\x0b.ScoreRange\x12\x16\n\x0e\x63reated_by_ids\x18\x05 \x03(\x05\x12\x16\n\x0eupdated_by_ids\x18\x06 \x03(\x05\x12\x12\n\nmission_id\x18\x07 \x01(\x05\x12\x12\n\nreview_ids\x18\x08 \x03(\x05\x12\x0c\n\x04lock\x18\t \x01(\t\x12$\n\x10updated_at_range\x18\n \x01(\x0b\x32\n.DateRange\x12\x12\n\nvisibility\x18\x0b \x03(\t\x12\x1d\n\x15\x65xclude_from_training\x18\x0c \x01(\t\x12\x12\n\nsource_ids\x18\r \x03(\x05\"1\n\nSortValues\x12\x0f\n\x07sort_by\x18\x01 \x01(\t\x12\x12\n\nsort_order\x18\x02 \x01(\t\"1\n\x06\x43ursor\x12\x11\n\tcursor_id\x18\x01 \x01(\x05\x12\x14\n\x0c\x63ursor_value\x18\x02 \x01(\x02\"\xb5\x01\n\x1eGetDetectionInstanceIdsRequest\x12$\n\rfilter_values\x18\x01 \x01(\x0b\x32\r.FilterValues\x12 \n\x0bsort_values\x18\x02 \x01(\x0b\x32\x0b.SortValues\x12\x1f\n\npagination\x18\x03 \x01(\x0b\x32\x0b.Pagination\x12\x17\n\x06\x63ursor\x18\x04 \x01(\x0b\x32\x07.Cursor\x12\x11\n\tdirection\x18\x05 \x01(\t\"}\n\x1fGetDetectionInstanceIdsResponse\x12\x1e\n\x16\x64\x65tection_instance_ids\x18\x01 \x03(\x05\x12\x1c\n\x0bnext_cursor\x18\x02 \x01(\x0b\x32\x07.Cursor\x12\x1c\n\x0bprev_cursor\x18\x03 \x01(\x0b\x32\x07.Cursor\"I\n!GetDetectionInstanceCountsRequest\x12$\n\rfilter_values\x18\x01 \x01(\x0b\x32\r.FilterValues\"]\n\"GetDetectionInstanceCountsResponse\x12!\n\x19total_detection_instances\x18\x01 \x01(\x05\x12\x14\n\x0ctotal_images\x18\x02 \x01(\x05\"c\n&GetLockedDetectionsByCategoryIdRequest\x12\x13\n\x0b\x63\x61tegory_id\x18\x01 \x01(\x05\x12\x11\n\timage_lat\x18\x02 \x01(\x02\x12\x11\n\timage_lon\x18\x03 \x01(\x02\"/\n\x0fLockedDetection\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x10\n\x08image_id\x18\x02 \x01(\x05\"V\n\'GetLockedDetectionsByCategoryIdResponse\x12+\n\x11locked_detections\x18\x01 \x03(\x0b\x32\x10.LockedDetection2\xa1\x03\n\tSearchApi\x12Y\n\x16GetH3AggregatedResults\x12\x1e.GetH3AggregatedResultsRequest\x1a\x1f.GetH3AggregatedResultsResponse\x12\\\n\x17GetDetectionInstanceIds\x12\x1f.GetDetectionInstanceIdsRequest\x1a .GetDetectionInstanceIdsResponse\x12\x65\n\x1aGetDetectionInstanceCounts\x12\".GetDetectionInstanceCountsRequest\x1a#.GetDetectionInstanceCountsResponse\x12t\n\x1fGetLockedDetectionsByCategoryId\x12\'.GetLockedDetectionsByCategoryIdRequest\x1a(.GetLockedDetectionsByCategoryIdResponseb\x06proto3')
|
|
19
19
|
|
|
20
20
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
|
|
21
21
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'search_grpc_service.protos.search_api_pb2', globals())
|
|
@@ -38,20 +38,22 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
38
38
|
_FILTERVALUES._serialized_end=930
|
|
39
39
|
_SORTVALUES._serialized_start=932
|
|
40
40
|
_SORTVALUES._serialized_end=981
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
41
|
+
_CURSOR._serialized_start=983
|
|
42
|
+
_CURSOR._serialized_end=1032
|
|
43
|
+
_GETDETECTIONINSTANCEIDSREQUEST._serialized_start=1035
|
|
44
|
+
_GETDETECTIONINSTANCEIDSREQUEST._serialized_end=1216
|
|
45
|
+
_GETDETECTIONINSTANCEIDSRESPONSE._serialized_start=1218
|
|
46
|
+
_GETDETECTIONINSTANCEIDSRESPONSE._serialized_end=1343
|
|
47
|
+
_GETDETECTIONINSTANCECOUNTSREQUEST._serialized_start=1345
|
|
48
|
+
_GETDETECTIONINSTANCECOUNTSREQUEST._serialized_end=1418
|
|
49
|
+
_GETDETECTIONINSTANCECOUNTSRESPONSE._serialized_start=1420
|
|
50
|
+
_GETDETECTIONINSTANCECOUNTSRESPONSE._serialized_end=1513
|
|
51
|
+
_GETLOCKEDDETECTIONSBYCATEGORYIDREQUEST._serialized_start=1515
|
|
52
|
+
_GETLOCKEDDETECTIONSBYCATEGORYIDREQUEST._serialized_end=1614
|
|
53
|
+
_LOCKEDDETECTION._serialized_start=1616
|
|
54
|
+
_LOCKEDDETECTION._serialized_end=1663
|
|
55
|
+
_GETLOCKEDDETECTIONSBYCATEGORYIDRESPONSE._serialized_start=1665
|
|
56
|
+
_GETLOCKEDDETECTIONSBYCATEGORYIDRESPONSE._serialized_end=1751
|
|
57
|
+
_SEARCHAPI._serialized_start=1754
|
|
58
|
+
_SEARCHAPI._serialized_end=2171
|
|
57
59
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -19,21 +19,21 @@ class SearchApiStub(object):
|
|
|
19
19
|
request_serializer=search__grpc__service_dot_protos_dot_search__api__pb2.GetH3AggregatedResultsRequest.SerializeToString,
|
|
20
20
|
response_deserializer=search__grpc__service_dot_protos_dot_search__api__pb2.GetH3AggregatedResultsResponse.FromString,
|
|
21
21
|
)
|
|
22
|
-
self.
|
|
23
|
-
'/SearchApi/
|
|
24
|
-
request_serializer=search__grpc__service_dot_protos_dot_search__api__pb2.
|
|
25
|
-
response_deserializer=search__grpc__service_dot_protos_dot_search__api__pb2.
|
|
22
|
+
self.GetDetectionInstanceIds = channel.unary_unary(
|
|
23
|
+
'/SearchApi/GetDetectionInstanceIds',
|
|
24
|
+
request_serializer=search__grpc__service_dot_protos_dot_search__api__pb2.GetDetectionInstanceIdsRequest.SerializeToString,
|
|
25
|
+
response_deserializer=search__grpc__service_dot_protos_dot_search__api__pb2.GetDetectionInstanceIdsResponse.FromString,
|
|
26
|
+
)
|
|
27
|
+
self.GetDetectionInstanceCounts = channel.unary_unary(
|
|
28
|
+
'/SearchApi/GetDetectionInstanceCounts',
|
|
29
|
+
request_serializer=search__grpc__service_dot_protos_dot_search__api__pb2.GetDetectionInstanceCountsRequest.SerializeToString,
|
|
30
|
+
response_deserializer=search__grpc__service_dot_protos_dot_search__api__pb2.GetDetectionInstanceCountsResponse.FromString,
|
|
26
31
|
)
|
|
27
32
|
self.GetLockedDetectionsByCategoryId = channel.unary_unary(
|
|
28
33
|
'/SearchApi/GetLockedDetectionsByCategoryId',
|
|
29
34
|
request_serializer=search__grpc__service_dot_protos_dot_search__api__pb2.GetLockedDetectionsByCategoryIdRequest.SerializeToString,
|
|
30
35
|
response_deserializer=search__grpc__service_dot_protos_dot_search__api__pb2.GetLockedDetectionsByCategoryIdResponse.FromString,
|
|
31
36
|
)
|
|
32
|
-
self.GetMissionScanRecommendationByMissionId = channel.unary_unary(
|
|
33
|
-
'/SearchApi/GetMissionScanRecommendationByMissionId',
|
|
34
|
-
request_serializer=search__grpc__service_dot_protos_dot_search__api__pb2.GetMissionScanRecommendationByMissionIdRequest.SerializeToString,
|
|
35
|
-
response_deserializer=search__grpc__service_dot_protos_dot_search__api__pb2.GetMissionScanRecommendationByMissionIdResponse.FromString,
|
|
36
|
-
)
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
class SearchApiServicer(object):
|
|
@@ -45,19 +45,19 @@ class SearchApiServicer(object):
|
|
|
45
45
|
context.set_details('Method not implemented!')
|
|
46
46
|
raise NotImplementedError('Method not implemented!')
|
|
47
47
|
|
|
48
|
-
def
|
|
48
|
+
def GetDetectionInstanceIds(self, request, context):
|
|
49
49
|
"""Missing associated documentation comment in .proto file."""
|
|
50
50
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
51
51
|
context.set_details('Method not implemented!')
|
|
52
52
|
raise NotImplementedError('Method not implemented!')
|
|
53
53
|
|
|
54
|
-
def
|
|
54
|
+
def GetDetectionInstanceCounts(self, request, context):
|
|
55
55
|
"""Missing associated documentation comment in .proto file."""
|
|
56
56
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
57
57
|
context.set_details('Method not implemented!')
|
|
58
58
|
raise NotImplementedError('Method not implemented!')
|
|
59
59
|
|
|
60
|
-
def
|
|
60
|
+
def GetLockedDetectionsByCategoryId(self, request, context):
|
|
61
61
|
"""Missing associated documentation comment in .proto file."""
|
|
62
62
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
63
63
|
context.set_details('Method not implemented!')
|
|
@@ -71,21 +71,21 @@ def add_SearchApiServicer_to_server(servicer, server):
|
|
|
71
71
|
request_deserializer=search__grpc__service_dot_protos_dot_search__api__pb2.GetH3AggregatedResultsRequest.FromString,
|
|
72
72
|
response_serializer=search__grpc__service_dot_protos_dot_search__api__pb2.GetH3AggregatedResultsResponse.SerializeToString,
|
|
73
73
|
),
|
|
74
|
-
'
|
|
75
|
-
servicer.
|
|
76
|
-
request_deserializer=search__grpc__service_dot_protos_dot_search__api__pb2.
|
|
77
|
-
response_serializer=search__grpc__service_dot_protos_dot_search__api__pb2.
|
|
74
|
+
'GetDetectionInstanceIds': grpc.unary_unary_rpc_method_handler(
|
|
75
|
+
servicer.GetDetectionInstanceIds,
|
|
76
|
+
request_deserializer=search__grpc__service_dot_protos_dot_search__api__pb2.GetDetectionInstanceIdsRequest.FromString,
|
|
77
|
+
response_serializer=search__grpc__service_dot_protos_dot_search__api__pb2.GetDetectionInstanceIdsResponse.SerializeToString,
|
|
78
|
+
),
|
|
79
|
+
'GetDetectionInstanceCounts': grpc.unary_unary_rpc_method_handler(
|
|
80
|
+
servicer.GetDetectionInstanceCounts,
|
|
81
|
+
request_deserializer=search__grpc__service_dot_protos_dot_search__api__pb2.GetDetectionInstanceCountsRequest.FromString,
|
|
82
|
+
response_serializer=search__grpc__service_dot_protos_dot_search__api__pb2.GetDetectionInstanceCountsResponse.SerializeToString,
|
|
78
83
|
),
|
|
79
84
|
'GetLockedDetectionsByCategoryId': grpc.unary_unary_rpc_method_handler(
|
|
80
85
|
servicer.GetLockedDetectionsByCategoryId,
|
|
81
86
|
request_deserializer=search__grpc__service_dot_protos_dot_search__api__pb2.GetLockedDetectionsByCategoryIdRequest.FromString,
|
|
82
87
|
response_serializer=search__grpc__service_dot_protos_dot_search__api__pb2.GetLockedDetectionsByCategoryIdResponse.SerializeToString,
|
|
83
88
|
),
|
|
84
|
-
'GetMissionScanRecommendationByMissionId': grpc.unary_unary_rpc_method_handler(
|
|
85
|
-
servicer.GetMissionScanRecommendationByMissionId,
|
|
86
|
-
request_deserializer=search__grpc__service_dot_protos_dot_search__api__pb2.GetMissionScanRecommendationByMissionIdRequest.FromString,
|
|
87
|
-
response_serializer=search__grpc__service_dot_protos_dot_search__api__pb2.GetMissionScanRecommendationByMissionIdResponse.SerializeToString,
|
|
88
|
-
),
|
|
89
89
|
}
|
|
90
90
|
generic_handler = grpc.method_handlers_generic_handler(
|
|
91
91
|
'SearchApi', rpc_method_handlers)
|
|
@@ -114,7 +114,7 @@ class SearchApi(object):
|
|
|
114
114
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
115
115
|
|
|
116
116
|
@staticmethod
|
|
117
|
-
def
|
|
117
|
+
def GetDetectionInstanceIds(request,
|
|
118
118
|
target,
|
|
119
119
|
options=(),
|
|
120
120
|
channel_credentials=None,
|
|
@@ -124,14 +124,14 @@ class SearchApi(object):
|
|
|
124
124
|
wait_for_ready=None,
|
|
125
125
|
timeout=None,
|
|
126
126
|
metadata=None):
|
|
127
|
-
return grpc.experimental.unary_unary(request, target, '/SearchApi/
|
|
128
|
-
search__grpc__service_dot_protos_dot_search__api__pb2.
|
|
129
|
-
search__grpc__service_dot_protos_dot_search__api__pb2.
|
|
127
|
+
return grpc.experimental.unary_unary(request, target, '/SearchApi/GetDetectionInstanceIds',
|
|
128
|
+
search__grpc__service_dot_protos_dot_search__api__pb2.GetDetectionInstanceIdsRequest.SerializeToString,
|
|
129
|
+
search__grpc__service_dot_protos_dot_search__api__pb2.GetDetectionInstanceIdsResponse.FromString,
|
|
130
130
|
options, channel_credentials,
|
|
131
131
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
132
132
|
|
|
133
133
|
@staticmethod
|
|
134
|
-
def
|
|
134
|
+
def GetDetectionInstanceCounts(request,
|
|
135
135
|
target,
|
|
136
136
|
options=(),
|
|
137
137
|
channel_credentials=None,
|
|
@@ -141,14 +141,14 @@ class SearchApi(object):
|
|
|
141
141
|
wait_for_ready=None,
|
|
142
142
|
timeout=None,
|
|
143
143
|
metadata=None):
|
|
144
|
-
return grpc.experimental.unary_unary(request, target, '/SearchApi/
|
|
145
|
-
search__grpc__service_dot_protos_dot_search__api__pb2.
|
|
146
|
-
search__grpc__service_dot_protos_dot_search__api__pb2.
|
|
144
|
+
return grpc.experimental.unary_unary(request, target, '/SearchApi/GetDetectionInstanceCounts',
|
|
145
|
+
search__grpc__service_dot_protos_dot_search__api__pb2.GetDetectionInstanceCountsRequest.SerializeToString,
|
|
146
|
+
search__grpc__service_dot_protos_dot_search__api__pb2.GetDetectionInstanceCountsResponse.FromString,
|
|
147
147
|
options, channel_credentials,
|
|
148
148
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
149
149
|
|
|
150
150
|
@staticmethod
|
|
151
|
-
def
|
|
151
|
+
def GetLockedDetectionsByCategoryId(request,
|
|
152
152
|
target,
|
|
153
153
|
options=(),
|
|
154
154
|
channel_credentials=None,
|
|
@@ -158,8 +158,8 @@ class SearchApi(object):
|
|
|
158
158
|
wait_for_ready=None,
|
|
159
159
|
timeout=None,
|
|
160
160
|
metadata=None):
|
|
161
|
-
return grpc.experimental.unary_unary(request, target, '/SearchApi/
|
|
162
|
-
search__grpc__service_dot_protos_dot_search__api__pb2.
|
|
163
|
-
search__grpc__service_dot_protos_dot_search__api__pb2.
|
|
161
|
+
return grpc.experimental.unary_unary(request, target, '/SearchApi/GetLockedDetectionsByCategoryId',
|
|
162
|
+
search__grpc__service_dot_protos_dot_search__api__pb2.GetLockedDetectionsByCategoryIdRequest.SerializeToString,
|
|
163
|
+
search__grpc__service_dot_protos_dot_search__api__pb2.GetLockedDetectionsByCategoryIdResponse.FromString,
|
|
164
164
|
options, channel_credentials,
|
|
165
165
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|