fsai-proto-specs 0.0.365__py3-none-any.whl → 0.0.385__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.
- {fsai_proto_specs-0.0.365.dist-info → fsai_proto_specs-0.0.385.dist-info}/METADATA +1 -1
- {fsai_proto_specs-0.0.365.dist-info → fsai_proto_specs-0.0.385.dist-info}/RECORD +22 -18
- 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/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_scan_api_pb2.py +12 -8
- global_vo_grpc_service/protos/image_scan_api_pb2_grpc.py +46 -13
- global_vo_grpc_service/protos/model_assessment_api_pb2.py +36 -0
- global_vo_grpc_service/protos/model_assessment_api_pb2_grpc.py +66 -0
- global_vo_grpc_service/protos/query_api_pb2.py +15 -11
- global_vo_grpc_service/protos/query_api_pb2_grpc.py +26 -26
- global_vo_grpc_service/protos/review_api_pb2.py +7 -7
- global_vo_grpc_service/protos/review_api_pb2_grpc.py +13 -13
- global_vo_grpc_service/protos/task_api_pb2.py +14 -14
- global_vo_grpc_service/protos/task_image_api_pb2.py +23 -25
- global_vo_grpc_service/protos/utils_pb2.py +2 -2
- 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.365.dist-info → fsai_proto_specs-0.0.385.dist-info}/WHEEL +0 -0
|
@@ -105,6 +105,11 @@ class DetectionInstanceApiStub(object):
|
|
|
105
105
|
request_serializer=global__vo__grpc__service_dot_protos_dot_detection__instance__api__pb2.UpdateDetectionInstanceCategoriesByCategoryIdRequest.SerializeToString,
|
|
106
106
|
response_deserializer=global__vo__grpc__service_dot_protos_dot_detection__instance__api__pb2.UpdateDetectionInstanceCategoriesByCategoryIdResponse.FromString,
|
|
107
107
|
)
|
|
108
|
+
self.UpdateExcludeFromTrainingByDetectionInstanceIds = channel.unary_unary(
|
|
109
|
+
'/DetectionInstanceApi/UpdateExcludeFromTrainingByDetectionInstanceIds',
|
|
110
|
+
request_serializer=global__vo__grpc__service_dot_protos_dot_detection__instance__api__pb2.UpdateExcludeFromTrainingByDetectionInstanceIdsRequest.SerializeToString,
|
|
111
|
+
response_deserializer=global__vo__grpc__service_dot_protos_dot_detection__instance__api__pb2.UpdateExcludeFromTrainingByDetectionInstanceIdsResponse.FromString,
|
|
112
|
+
)
|
|
108
113
|
self.UpdateDetectionInstanceGeoBboxViaHuman = channel.unary_unary(
|
|
109
114
|
'/DetectionInstanceApi/UpdateDetectionInstanceGeoBboxViaHuman',
|
|
110
115
|
request_serializer=global__vo__grpc__service_dot_protos_dot_detection__instance__api__pb2.UpdateDetectionInstanceGeoBboxViaHumanRequest.SerializeToString,
|
|
@@ -240,6 +245,12 @@ class DetectionInstanceApiServicer(object):
|
|
|
240
245
|
context.set_details('Method not implemented!')
|
|
241
246
|
raise NotImplementedError('Method not implemented!')
|
|
242
247
|
|
|
248
|
+
def UpdateExcludeFromTrainingByDetectionInstanceIds(self, request, context):
|
|
249
|
+
"""Missing associated documentation comment in .proto file."""
|
|
250
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
251
|
+
context.set_details('Method not implemented!')
|
|
252
|
+
raise NotImplementedError('Method not implemented!')
|
|
253
|
+
|
|
243
254
|
def UpdateDetectionInstanceGeoBboxViaHuman(self, request, context):
|
|
244
255
|
"""Missing associated documentation comment in .proto file."""
|
|
245
256
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
@@ -357,6 +368,11 @@ def add_DetectionInstanceApiServicer_to_server(servicer, server):
|
|
|
357
368
|
request_deserializer=global__vo__grpc__service_dot_protos_dot_detection__instance__api__pb2.UpdateDetectionInstanceCategoriesByCategoryIdRequest.FromString,
|
|
358
369
|
response_serializer=global__vo__grpc__service_dot_protos_dot_detection__instance__api__pb2.UpdateDetectionInstanceCategoriesByCategoryIdResponse.SerializeToString,
|
|
359
370
|
),
|
|
371
|
+
'UpdateExcludeFromTrainingByDetectionInstanceIds': grpc.unary_unary_rpc_method_handler(
|
|
372
|
+
servicer.UpdateExcludeFromTrainingByDetectionInstanceIds,
|
|
373
|
+
request_deserializer=global__vo__grpc__service_dot_protos_dot_detection__instance__api__pb2.UpdateExcludeFromTrainingByDetectionInstanceIdsRequest.FromString,
|
|
374
|
+
response_serializer=global__vo__grpc__service_dot_protos_dot_detection__instance__api__pb2.UpdateExcludeFromTrainingByDetectionInstanceIdsResponse.SerializeToString,
|
|
375
|
+
),
|
|
360
376
|
'UpdateDetectionInstanceGeoBboxViaHuman': grpc.unary_unary_rpc_method_handler(
|
|
361
377
|
servicer.UpdateDetectionInstanceGeoBboxViaHuman,
|
|
362
378
|
request_deserializer=global__vo__grpc__service_dot_protos_dot_detection__instance__api__pb2.UpdateDetectionInstanceGeoBboxViaHumanRequest.FromString,
|
|
@@ -693,6 +709,23 @@ class DetectionInstanceApi(object):
|
|
|
693
709
|
options, channel_credentials,
|
|
694
710
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
695
711
|
|
|
712
|
+
@staticmethod
|
|
713
|
+
def UpdateExcludeFromTrainingByDetectionInstanceIds(request,
|
|
714
|
+
target,
|
|
715
|
+
options=(),
|
|
716
|
+
channel_credentials=None,
|
|
717
|
+
call_credentials=None,
|
|
718
|
+
insecure=False,
|
|
719
|
+
compression=None,
|
|
720
|
+
wait_for_ready=None,
|
|
721
|
+
timeout=None,
|
|
722
|
+
metadata=None):
|
|
723
|
+
return grpc.experimental.unary_unary(request, target, '/DetectionInstanceApi/UpdateExcludeFromTrainingByDetectionInstanceIds',
|
|
724
|
+
global__vo__grpc__service_dot_protos_dot_detection__instance__api__pb2.UpdateExcludeFromTrainingByDetectionInstanceIdsRequest.SerializeToString,
|
|
725
|
+
global__vo__grpc__service_dot_protos_dot_detection__instance__api__pb2.UpdateExcludeFromTrainingByDetectionInstanceIdsResponse.FromString,
|
|
726
|
+
options, channel_credentials,
|
|
727
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
728
|
+
|
|
696
729
|
@staticmethod
|
|
697
730
|
def UpdateDetectionInstanceGeoBboxViaHuman(request,
|
|
698
731
|
target,
|
|
@@ -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'\n-global_vo_grpc_service/protos/image_api.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a)global_vo_grpc_service/protos/utils.proto\"\xd1\x01\n\x05Image\x12\n\n\x02id\x18\x01 \x01(\x05\x12\r\n\x05width\x18\x02 \x01(\x05\x12\x0e\n\x06height\x18\x03 \x01(\x05\x12\x1a\n\x08geo_bbox\x18\x04 \x01(\x0b\x32\x08.GeoBbox\x12\x12\n\nfeature_id\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\x05store\x18\x08 \x01(\t\"4\n\x1eListImageIdsByReviewIdsRequest\x12\x12\n\nreview_ids\x18\x01 \x03(\x05\"V\n\x1fListImageIdsByReviewIdsResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x11\n\timage_ids\x18\x02 \x03(\x05\"i\n\x18\x46indOrCreateImageRequest\x12\x12\n\nfeature_id\x18\x01 \x01(\x05\x12\x1a\n\x08geo_bbox\x18\x02 \x01(\x0b\x32\x08.GeoBbox\x12\r\n\x05width\x18\x03 \x01(\x05\x12\x0e\n\x06height\x18\x04 \x01(\x05\"T\n\x19\x46indOrCreateImageResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x15\n\x05image\x18\x02 \x01(\x0b\x32\x06.Image\",\n\x13GetImageByIdRequest\x12\x15\n\x05image\x18\x01 \x01(\x0b\x32\x06.Image\"O\n\x14GetImageByIdResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x15\n\x05image\x18\x02 \x01(\x0b\x32\x06.Image\"4\n\x18GetImagesByCoordsRequest\x12\x0b\n\x03lat\x18\x01 \x01(\x02\x12\x0b\n\x03lon\x18\x02 \x01(\x02\"3\n\x19GetImagesByCoordsResponse\x12\x16\n\x06images\x18\x01 \x03(\x0b\x32\x06.
|
|
18
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-global_vo_grpc_service/protos/image_api.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a)global_vo_grpc_service/protos/utils.proto\"\xd1\x01\n\x05Image\x12\n\n\x02id\x18\x01 \x01(\x05\x12\r\n\x05width\x18\x02 \x01(\x05\x12\x0e\n\x06height\x18\x03 \x01(\x05\x12\x1a\n\x08geo_bbox\x18\x04 \x01(\x0b\x32\x08.GeoBbox\x12\x12\n\nfeature_id\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\x05store\x18\x08 \x01(\t\"4\n\x1eListImageIdsByReviewIdsRequest\x12\x12\n\nreview_ids\x18\x01 \x03(\x05\"V\n\x1fListImageIdsByReviewIdsResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x11\n\timage_ids\x18\x02 \x03(\x05\"i\n\x18\x46indOrCreateImageRequest\x12\x12\n\nfeature_id\x18\x01 \x01(\x05\x12\x1a\n\x08geo_bbox\x18\x02 \x01(\x0b\x32\x08.GeoBbox\x12\r\n\x05width\x18\x03 \x01(\x05\x12\x0e\n\x06height\x18\x04 \x01(\x05\"T\n\x19\x46indOrCreateImageResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x15\n\x05image\x18\x02 \x01(\x0b\x32\x06.Image\",\n\x13GetImageByIdRequest\x12\x15\n\x05image\x18\x01 \x01(\x0b\x32\x06.Image\"O\n\x14GetImageByIdResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x15\n\x05image\x18\x02 \x01(\x0b\x32\x06.Image\"4\n\x18GetImagesByCoordsRequest\x12\x0b\n\x03lat\x18\x01 \x01(\x02\x12\x0b\n\x03lon\x18\x02 \x01(\x02\"3\n\x19GetImagesByCoordsResponse\x12\x16\n\x06images\x18\x01 \x03(\x0b\x32\x06.Image\"0\n!GetImageVOCountsByImageIdsRequest\x12\x0b\n\x03ids\x18\x01 \x03(\x05\"\x9d\x01\n\"GetImageVOCountsByImageIdsResponse\x12I\n\x0fimage_vo_counts\x18\x01 \x03(\x0b\x32\x30.GetImageVOCountsByImageIdsResponse.ImageVOCount\x1a,\n\x0cImageVOCount\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x10\n\x08vo_count\x18\x02 \x01(\x05\x32\xa4\x03\n\x08ImageApi\x12\\\n\x17ListImageIdsByReviewIds\x12\x1f.ListImageIdsByReviewIdsRequest\x1a .ListImageIdsByReviewIdsResponse\x12J\n\x11\x46indOrCreateImage\x12\x19.FindOrCreateImageRequest\x1a\x1a.FindOrCreateImageResponse\x12;\n\x0cGetImageById\x12\x14.GetImageByIdRequest\x1a\x15.GetImageByIdResponse\x12J\n\x11GetImagesByCoords\x12\x19.GetImagesByCoordsRequest\x1a\x1a.GetImagesByCoordsResponse\x12\x65\n\x1aGetImageVOCountsByImageIds\x12\".GetImageVOCountsByImageIdsRequest\x1a#.GetImageVOCountsByImageIdsResponseb\x06proto3')
|
|
19
19
|
|
|
20
20
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
|
|
21
21
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'global_vo_grpc_service.protos.image_api_pb2', globals())
|
|
@@ -40,6 +40,12 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
40
40
|
_GETIMAGESBYCOORDSREQUEST._serialized_end=851
|
|
41
41
|
_GETIMAGESBYCOORDSRESPONSE._serialized_start=853
|
|
42
42
|
_GETIMAGESBYCOORDSRESPONSE._serialized_end=904
|
|
43
|
-
|
|
44
|
-
|
|
43
|
+
_GETIMAGEVOCOUNTSBYIMAGEIDSREQUEST._serialized_start=906
|
|
44
|
+
_GETIMAGEVOCOUNTSBYIMAGEIDSREQUEST._serialized_end=954
|
|
45
|
+
_GETIMAGEVOCOUNTSBYIMAGEIDSRESPONSE._serialized_start=957
|
|
46
|
+
_GETIMAGEVOCOUNTSBYIMAGEIDSRESPONSE._serialized_end=1114
|
|
47
|
+
_GETIMAGEVOCOUNTSBYIMAGEIDSRESPONSE_IMAGEVOCOUNT._serialized_start=1070
|
|
48
|
+
_GETIMAGEVOCOUNTSBYIMAGEIDSRESPONSE_IMAGEVOCOUNT._serialized_end=1114
|
|
49
|
+
_IMAGEAPI._serialized_start=1117
|
|
50
|
+
_IMAGEAPI._serialized_end=1537
|
|
45
51
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -34,6 +34,11 @@ class ImageApiStub(object):
|
|
|
34
34
|
request_serializer=global__vo__grpc__service_dot_protos_dot_image__api__pb2.GetImagesByCoordsRequest.SerializeToString,
|
|
35
35
|
response_deserializer=global__vo__grpc__service_dot_protos_dot_image__api__pb2.GetImagesByCoordsResponse.FromString,
|
|
36
36
|
)
|
|
37
|
+
self.GetImageVOCountsByImageIds = channel.unary_unary(
|
|
38
|
+
'/ImageApi/GetImageVOCountsByImageIds',
|
|
39
|
+
request_serializer=global__vo__grpc__service_dot_protos_dot_image__api__pb2.GetImageVOCountsByImageIdsRequest.SerializeToString,
|
|
40
|
+
response_deserializer=global__vo__grpc__service_dot_protos_dot_image__api__pb2.GetImageVOCountsByImageIdsResponse.FromString,
|
|
41
|
+
)
|
|
37
42
|
|
|
38
43
|
|
|
39
44
|
class ImageApiServicer(object):
|
|
@@ -63,6 +68,12 @@ class ImageApiServicer(object):
|
|
|
63
68
|
context.set_details('Method not implemented!')
|
|
64
69
|
raise NotImplementedError('Method not implemented!')
|
|
65
70
|
|
|
71
|
+
def GetImageVOCountsByImageIds(self, request, context):
|
|
72
|
+
"""Missing associated documentation comment in .proto file."""
|
|
73
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
74
|
+
context.set_details('Method not implemented!')
|
|
75
|
+
raise NotImplementedError('Method not implemented!')
|
|
76
|
+
|
|
66
77
|
|
|
67
78
|
def add_ImageApiServicer_to_server(servicer, server):
|
|
68
79
|
rpc_method_handlers = {
|
|
@@ -86,6 +97,11 @@ def add_ImageApiServicer_to_server(servicer, server):
|
|
|
86
97
|
request_deserializer=global__vo__grpc__service_dot_protos_dot_image__api__pb2.GetImagesByCoordsRequest.FromString,
|
|
87
98
|
response_serializer=global__vo__grpc__service_dot_protos_dot_image__api__pb2.GetImagesByCoordsResponse.SerializeToString,
|
|
88
99
|
),
|
|
100
|
+
'GetImageVOCountsByImageIds': grpc.unary_unary_rpc_method_handler(
|
|
101
|
+
servicer.GetImageVOCountsByImageIds,
|
|
102
|
+
request_deserializer=global__vo__grpc__service_dot_protos_dot_image__api__pb2.GetImageVOCountsByImageIdsRequest.FromString,
|
|
103
|
+
response_serializer=global__vo__grpc__service_dot_protos_dot_image__api__pb2.GetImageVOCountsByImageIdsResponse.SerializeToString,
|
|
104
|
+
),
|
|
89
105
|
}
|
|
90
106
|
generic_handler = grpc.method_handlers_generic_handler(
|
|
91
107
|
'ImageApi', rpc_method_handlers)
|
|
@@ -163,3 +179,20 @@ class ImageApi(object):
|
|
|
163
179
|
global__vo__grpc__service_dot_protos_dot_image__api__pb2.GetImagesByCoordsResponse.FromString,
|
|
164
180
|
options, channel_credentials,
|
|
165
181
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
182
|
+
|
|
183
|
+
@staticmethod
|
|
184
|
+
def GetImageVOCountsByImageIds(request,
|
|
185
|
+
target,
|
|
186
|
+
options=(),
|
|
187
|
+
channel_credentials=None,
|
|
188
|
+
call_credentials=None,
|
|
189
|
+
insecure=False,
|
|
190
|
+
compression=None,
|
|
191
|
+
wait_for_ready=None,
|
|
192
|
+
timeout=None,
|
|
193
|
+
metadata=None):
|
|
194
|
+
return grpc.experimental.unary_unary(request, target, '/ImageApi/GetImageVOCountsByImageIds',
|
|
195
|
+
global__vo__grpc__service_dot_protos_dot_image__api__pb2.GetImageVOCountsByImageIdsRequest.SerializeToString,
|
|
196
|
+
global__vo__grpc__service_dot_protos_dot_image__api__pb2.GetImageVOCountsByImageIdsResponse.FromString,
|
|
197
|
+
options, channel_credentials,
|
|
198
|
+
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/image_scan_api.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a)global_vo_grpc_service/protos/utils.proto\"\
|
|
18
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n2global_vo_grpc_service/protos/image_scan_api.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a)global_vo_grpc_service/protos/utils.proto\"\xbb\x02\n\tImageScan\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x10\n\x08image_id\x18\x02 \x01(\x05\x12\x11\n\tsource_id\x18\x03 \x01(\x05\x12.\n\ncreated_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\ncreated_by\x18\x05 \x01(\x05\x12.\n\nupdated_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\nupdated_by\x18\x07 \x01(\x05\x12.\n\nstarted_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nded_at\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x17\n\x0fprocessing_time\x18\n \x01(\x05\"E\n\x1e\x43reateAndStartImageScanRequest\x12\x10\n\x08image_id\x18\x01 \x01(\x05\x12\x11\n\tsource_id\x18\x02 \x01(\x05\"O\n\x1f\x43reateAndStartImageScanResponse\x12\n\n\x02id\x18\x01 \x01(\x05\x12 \n\x0b\x63hange_type\x18\x02 \x01(\x0e\x32\x0b.ChangeType\":\n\x13\x45ndImageScanRequest\x12\x10\n\x08image_id\x18\x01 \x01(\x05\x12\x11\n\tsource_id\x18\x02 \x01(\x05\"D\n\x14\x45ndImageScanResponse\x12\n\n\x02id\x18\x01 \x01(\x05\x12 \n\x0b\x63hange_type\x18\x02 \x01(\x0e\x32\x0b.ChangeType2\xa9\x01\n\x0cImageScanApi\x12\\\n\x17\x43reateAndStartImageScan\x12\x1f.CreateAndStartImageScanRequest\x1a .CreateAndStartImageScanResponse\x12;\n\x0c\x45ndImageScan\x12\x14.EndImageScanRequest\x1a\x15.EndImageScanResponseb\x06proto3')
|
|
19
19
|
|
|
20
20
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
|
|
21
21
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'global_vo_grpc_service.protos.image_scan_api_pb2', globals())
|
|
@@ -23,11 +23,15 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
23
23
|
|
|
24
24
|
DESCRIPTOR._options = None
|
|
25
25
|
_IMAGESCAN._serialized_start=131
|
|
26
|
-
_IMAGESCAN._serialized_end=
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
26
|
+
_IMAGESCAN._serialized_end=446
|
|
27
|
+
_CREATEANDSTARTIMAGESCANREQUEST._serialized_start=448
|
|
28
|
+
_CREATEANDSTARTIMAGESCANREQUEST._serialized_end=517
|
|
29
|
+
_CREATEANDSTARTIMAGESCANRESPONSE._serialized_start=519
|
|
30
|
+
_CREATEANDSTARTIMAGESCANRESPONSE._serialized_end=598
|
|
31
|
+
_ENDIMAGESCANREQUEST._serialized_start=600
|
|
32
|
+
_ENDIMAGESCANREQUEST._serialized_end=658
|
|
33
|
+
_ENDIMAGESCANRESPONSE._serialized_start=660
|
|
34
|
+
_ENDIMAGESCANRESPONSE._serialized_end=728
|
|
35
|
+
_IMAGESCANAPI._serialized_start=731
|
|
36
|
+
_IMAGESCANAPI._serialized_end=900
|
|
33
37
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -14,17 +14,28 @@ class ImageScanApiStub(object):
|
|
|
14
14
|
Args:
|
|
15
15
|
channel: A grpc.Channel.
|
|
16
16
|
"""
|
|
17
|
-
self.
|
|
18
|
-
'/ImageScanApi/
|
|
19
|
-
request_serializer=global__vo__grpc__service_dot_protos_dot_image__scan__api__pb2.
|
|
20
|
-
response_deserializer=global__vo__grpc__service_dot_protos_dot_image__scan__api__pb2.
|
|
17
|
+
self.CreateAndStartImageScan = channel.unary_unary(
|
|
18
|
+
'/ImageScanApi/CreateAndStartImageScan',
|
|
19
|
+
request_serializer=global__vo__grpc__service_dot_protos_dot_image__scan__api__pb2.CreateAndStartImageScanRequest.SerializeToString,
|
|
20
|
+
response_deserializer=global__vo__grpc__service_dot_protos_dot_image__scan__api__pb2.CreateAndStartImageScanResponse.FromString,
|
|
21
|
+
)
|
|
22
|
+
self.EndImageScan = channel.unary_unary(
|
|
23
|
+
'/ImageScanApi/EndImageScan',
|
|
24
|
+
request_serializer=global__vo__grpc__service_dot_protos_dot_image__scan__api__pb2.EndImageScanRequest.SerializeToString,
|
|
25
|
+
response_deserializer=global__vo__grpc__service_dot_protos_dot_image__scan__api__pb2.EndImageScanResponse.FromString,
|
|
21
26
|
)
|
|
22
27
|
|
|
23
28
|
|
|
24
29
|
class ImageScanApiServicer(object):
|
|
25
30
|
"""Missing associated documentation comment in .proto file."""
|
|
26
31
|
|
|
27
|
-
def
|
|
32
|
+
def CreateAndStartImageScan(self, request, context):
|
|
33
|
+
"""Missing associated documentation comment in .proto file."""
|
|
34
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
35
|
+
context.set_details('Method not implemented!')
|
|
36
|
+
raise NotImplementedError('Method not implemented!')
|
|
37
|
+
|
|
38
|
+
def EndImageScan(self, request, context):
|
|
28
39
|
"""Missing associated documentation comment in .proto file."""
|
|
29
40
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
30
41
|
context.set_details('Method not implemented!')
|
|
@@ -33,10 +44,15 @@ class ImageScanApiServicer(object):
|
|
|
33
44
|
|
|
34
45
|
def add_ImageScanApiServicer_to_server(servicer, server):
|
|
35
46
|
rpc_method_handlers = {
|
|
36
|
-
'
|
|
37
|
-
servicer.
|
|
38
|
-
request_deserializer=global__vo__grpc__service_dot_protos_dot_image__scan__api__pb2.
|
|
39
|
-
response_serializer=global__vo__grpc__service_dot_protos_dot_image__scan__api__pb2.
|
|
47
|
+
'CreateAndStartImageScan': grpc.unary_unary_rpc_method_handler(
|
|
48
|
+
servicer.CreateAndStartImageScan,
|
|
49
|
+
request_deserializer=global__vo__grpc__service_dot_protos_dot_image__scan__api__pb2.CreateAndStartImageScanRequest.FromString,
|
|
50
|
+
response_serializer=global__vo__grpc__service_dot_protos_dot_image__scan__api__pb2.CreateAndStartImageScanResponse.SerializeToString,
|
|
51
|
+
),
|
|
52
|
+
'EndImageScan': grpc.unary_unary_rpc_method_handler(
|
|
53
|
+
servicer.EndImageScan,
|
|
54
|
+
request_deserializer=global__vo__grpc__service_dot_protos_dot_image__scan__api__pb2.EndImageScanRequest.FromString,
|
|
55
|
+
response_serializer=global__vo__grpc__service_dot_protos_dot_image__scan__api__pb2.EndImageScanResponse.SerializeToString,
|
|
40
56
|
),
|
|
41
57
|
}
|
|
42
58
|
generic_handler = grpc.method_handlers_generic_handler(
|
|
@@ -49,7 +65,24 @@ class ImageScanApi(object):
|
|
|
49
65
|
"""Missing associated documentation comment in .proto file."""
|
|
50
66
|
|
|
51
67
|
@staticmethod
|
|
52
|
-
def
|
|
68
|
+
def CreateAndStartImageScan(request,
|
|
69
|
+
target,
|
|
70
|
+
options=(),
|
|
71
|
+
channel_credentials=None,
|
|
72
|
+
call_credentials=None,
|
|
73
|
+
insecure=False,
|
|
74
|
+
compression=None,
|
|
75
|
+
wait_for_ready=None,
|
|
76
|
+
timeout=None,
|
|
77
|
+
metadata=None):
|
|
78
|
+
return grpc.experimental.unary_unary(request, target, '/ImageScanApi/CreateAndStartImageScan',
|
|
79
|
+
global__vo__grpc__service_dot_protos_dot_image__scan__api__pb2.CreateAndStartImageScanRequest.SerializeToString,
|
|
80
|
+
global__vo__grpc__service_dot_protos_dot_image__scan__api__pb2.CreateAndStartImageScanResponse.FromString,
|
|
81
|
+
options, channel_credentials,
|
|
82
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
83
|
+
|
|
84
|
+
@staticmethod
|
|
85
|
+
def EndImageScan(request,
|
|
53
86
|
target,
|
|
54
87
|
options=(),
|
|
55
88
|
channel_credentials=None,
|
|
@@ -59,8 +92,8 @@ class ImageScanApi(object):
|
|
|
59
92
|
wait_for_ready=None,
|
|
60
93
|
timeout=None,
|
|
61
94
|
metadata=None):
|
|
62
|
-
return grpc.experimental.unary_unary(request, target, '/ImageScanApi/
|
|
63
|
-
global__vo__grpc__service_dot_protos_dot_image__scan__api__pb2.
|
|
64
|
-
global__vo__grpc__service_dot_protos_dot_image__scan__api__pb2.
|
|
95
|
+
return grpc.experimental.unary_unary(request, target, '/ImageScanApi/EndImageScan',
|
|
96
|
+
global__vo__grpc__service_dot_protos_dot_image__scan__api__pb2.EndImageScanRequest.SerializeToString,
|
|
97
|
+
global__vo__grpc__service_dot_protos_dot_image__scan__api__pb2.EndImageScanResponse.FromString,
|
|
65
98
|
options, channel_credentials,
|
|
66
99
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: global_vo_grpc_service/protos/model_assessment_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 source_api_pb2 as global__vo__grpc__service_dot_protos_dot_source__api__pb2
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n8global_vo_grpc_service/protos/model_assessment_api.proto\x1a.global_vo_grpc_service/protos/source_api.proto\"6\n\x1fListModelScoreThresholdsRequest\x12\x13\n\x0b\x63onfig_type\x18\x01 \x01(\t\"\xab\x01\n\x13ModelScoreThreshold\x12\x17\n\x06source\x18\x01 \x01(\x0b\x32\x07.Source\x12\x43\n\x10score_thresholds\x18\x02 \x03(\x0b\x32).ModelScoreThreshold.ScoreThresholdsEntry\x1a\x36\n\x14ScoreThresholdsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x01:\x02\x38\x01\"X\n ListModelScoreThresholdsResponse\x12\x34\n\x16model_score_thresholds\x18\x01 \x03(\x0b\x32\x14.ModelScoreThreshold2u\n\x12ModelAssessmentApi\x12_\n\x18ListModelScoreThresholds\x12 .ListModelScoreThresholdsRequest\x1a!.ListModelScoreThresholdsResponseb\x06proto3')
|
|
18
|
+
|
|
19
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
|
|
20
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'global_vo_grpc_service.protos.model_assessment_api_pb2', globals())
|
|
21
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
22
|
+
|
|
23
|
+
DESCRIPTOR._options = None
|
|
24
|
+
_MODELSCORETHRESHOLD_SCORETHRESHOLDSENTRY._options = None
|
|
25
|
+
_MODELSCORETHRESHOLD_SCORETHRESHOLDSENTRY._serialized_options = b'8\001'
|
|
26
|
+
_LISTMODELSCORETHRESHOLDSREQUEST._serialized_start=108
|
|
27
|
+
_LISTMODELSCORETHRESHOLDSREQUEST._serialized_end=162
|
|
28
|
+
_MODELSCORETHRESHOLD._serialized_start=165
|
|
29
|
+
_MODELSCORETHRESHOLD._serialized_end=336
|
|
30
|
+
_MODELSCORETHRESHOLD_SCORETHRESHOLDSENTRY._serialized_start=282
|
|
31
|
+
_MODELSCORETHRESHOLD_SCORETHRESHOLDSENTRY._serialized_end=336
|
|
32
|
+
_LISTMODELSCORETHRESHOLDSRESPONSE._serialized_start=338
|
|
33
|
+
_LISTMODELSCORETHRESHOLDSRESPONSE._serialized_end=426
|
|
34
|
+
_MODELASSESSMENTAPI._serialized_start=428
|
|
35
|
+
_MODELASSESSMENTAPI._serialized_end=545
|
|
36
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
|
2
|
+
"""Client and server classes corresponding to protobuf-defined services."""
|
|
3
|
+
import grpc
|
|
4
|
+
|
|
5
|
+
from global_vo_grpc_service.protos import model_assessment_api_pb2 as global__vo__grpc__service_dot_protos_dot_model__assessment__api__pb2
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class ModelAssessmentApiStub(object):
|
|
9
|
+
"""Missing associated documentation comment in .proto file."""
|
|
10
|
+
|
|
11
|
+
def __init__(self, channel):
|
|
12
|
+
"""Constructor.
|
|
13
|
+
|
|
14
|
+
Args:
|
|
15
|
+
channel: A grpc.Channel.
|
|
16
|
+
"""
|
|
17
|
+
self.ListModelScoreThresholds = channel.unary_unary(
|
|
18
|
+
'/ModelAssessmentApi/ListModelScoreThresholds',
|
|
19
|
+
request_serializer=global__vo__grpc__service_dot_protos_dot_model__assessment__api__pb2.ListModelScoreThresholdsRequest.SerializeToString,
|
|
20
|
+
response_deserializer=global__vo__grpc__service_dot_protos_dot_model__assessment__api__pb2.ListModelScoreThresholdsResponse.FromString,
|
|
21
|
+
)
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
class ModelAssessmentApiServicer(object):
|
|
25
|
+
"""Missing associated documentation comment in .proto file."""
|
|
26
|
+
|
|
27
|
+
def ListModelScoreThresholds(self, request, context):
|
|
28
|
+
"""Missing associated documentation comment in .proto file."""
|
|
29
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
30
|
+
context.set_details('Method not implemented!')
|
|
31
|
+
raise NotImplementedError('Method not implemented!')
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
def add_ModelAssessmentApiServicer_to_server(servicer, server):
|
|
35
|
+
rpc_method_handlers = {
|
|
36
|
+
'ListModelScoreThresholds': grpc.unary_unary_rpc_method_handler(
|
|
37
|
+
servicer.ListModelScoreThresholds,
|
|
38
|
+
request_deserializer=global__vo__grpc__service_dot_protos_dot_model__assessment__api__pb2.ListModelScoreThresholdsRequest.FromString,
|
|
39
|
+
response_serializer=global__vo__grpc__service_dot_protos_dot_model__assessment__api__pb2.ListModelScoreThresholdsResponse.SerializeToString,
|
|
40
|
+
),
|
|
41
|
+
}
|
|
42
|
+
generic_handler = grpc.method_handlers_generic_handler(
|
|
43
|
+
'ModelAssessmentApi', rpc_method_handlers)
|
|
44
|
+
server.add_generic_rpc_handlers((generic_handler,))
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
# This class is part of an EXPERIMENTAL API.
|
|
48
|
+
class ModelAssessmentApi(object):
|
|
49
|
+
"""Missing associated documentation comment in .proto file."""
|
|
50
|
+
|
|
51
|
+
@staticmethod
|
|
52
|
+
def ListModelScoreThresholds(request,
|
|
53
|
+
target,
|
|
54
|
+
options=(),
|
|
55
|
+
channel_credentials=None,
|
|
56
|
+
call_credentials=None,
|
|
57
|
+
insecure=False,
|
|
58
|
+
compression=None,
|
|
59
|
+
wait_for_ready=None,
|
|
60
|
+
timeout=None,
|
|
61
|
+
metadata=None):
|
|
62
|
+
return grpc.experimental.unary_unary(request, target, '/ModelAssessmentApi/ListModelScoreThresholds',
|
|
63
|
+
global__vo__grpc__service_dot_protos_dot_model__assessment__api__pb2.ListModelScoreThresholdsRequest.SerializeToString,
|
|
64
|
+
global__vo__grpc__service_dot_protos_dot_model__assessment__api__pb2.ListModelScoreThresholdsResponse.FromString,
|
|
65
|
+
options, channel_credentials,
|
|
66
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
@@ -15,7 +15,7 @@ from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
|
|
|
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-global_vo_grpc_service/protos/query_api.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"*\n\x1b\x44\x65tectionsAggregatedRequest\x12\x0b\n\x03wkt\x18\x01 \x01(\t\"\x93\x04\n\x1c\x44\x65tectionsAggregatedResponse\x12\x14\n\x0c\x64\x65tection_id\x18\x01 \x01(\x05\x12\x1d\n\x15\x64\x65tection_instance_id\x18\x02 \x01(\x05\x12\x0b\n\x03lat\x18\x03 \x01(\x02\x12\x0b\n\x03lon\x18\x04 \x01(\x02\x12\x15\n\rcategory_name\x18\x05 \x01(\t\x12\x15\n\rcategory_enum\x18\x06 \x01(\t\x12\r\n\x05score\x18\x07 \x01(\x02\x12\x0e\n\x06height\x18\x08 \x01(\x02\x12\x15\n\rtotal_sources\x18\t \x01(\x05\x12.\n\nfirst_seen\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12-\n\tlast_seen\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x13\n\x0bvendor_name\x18\r \x01(\t\x12\x11\n\tvendor_id\x18\x0e \x01(\t\x12(\n\x07\x66\x65\x61ture\x18\x0f \x01(\x0b\x32\x17.google.protobuf.Struct\x12+\n\ndebug_data\x18\x10 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\r\n\x05state\x18\x11 \x01(\t\x12\x0c\n\x04tags\x18\x12 \x01(\t\x12\r\n\x05notes\x18\x13 \x01(\t\x12\x1a\n\x12location_elevation\x18\x14 \x01(\x02\x12\x1a\n\x12shadow_discrepancy\x18\x15 \x01(\t\":\n,GetDetectionInstanceByIdForClickhouseRequest\x12\n\n\x02id\x18\x01 \x01(\x05\"\xb4\x04\n)DetectionInstanceByIdForClickhousePayload\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x13\n\x0b\x63\x61tegory_id\x18\x02 \x01(\x05\x12\x10\n\x08image_id\x18\x03 \x01(\x05\x12\x0b\n\x03lat\x18\x04 \x01(\x02\x12\x0b\n\x03lon\x18\x05 \x01(\x02\x12\r\n\x05score\x18\x06 \x01(\x02\x12\x0e\n\x06height\x18\x07 \x01(\x02\x12\x13\n\x0b\x64\x65tected_at\x18\x08 \x01(\t\x12\x12\n\ncreated_at\x18\t \x01(\t\x12\x12\n\nupdated_at\x18\n \x01(\t\x12\r\n\x05state\x18\x0b \x01(\t\x12\x12\n\ncreated_by\x18\x0c \x01(\x05\x12\x12\n\nupdated_by\x18\r \x01(\x05\x12\r\n\x05h3_l3\x18\x0e \x01(\t\x12\r\n\x05h3_l4\x18\x0f \x01(\t\x12\r\n\x05h3_l5\x18\x10 \x01(\t\x12\r\n\x05h3_l7\x18\x11 \x01(\t\x12\x0e\n\x06h3_l11\x18\x12 \x01(\t\x12\x12\n\ndeleted_at\x18\x13 \x01(\t\x12\x11\n\tlocked_at\x18\x14 \x01(\t\x12\x11\n\tlocked_by\x18\x15 \x01(\x05\x12\x12\n\nvisibility\x18\x16 \x01(\t\x12\x1d\n\x15\x65xclude_from_training\x18\x17 \x01(\x08\x12\x11\n\tlegacy_at\x18\x18 \x01(\t\x12\x11\n\tsource_id\x18\x19 \x01(\x05\x12\x1a\n\x12location_elevation\x18\x1a \x01(\x02\x12\x0c\n\x04tags\x18\x1b \x01(\t\x12\r\n\x05notes\x18\x1c \x01(\t\x12\x0f\n\x07shw_dsc\x18\x1d \x01(\t\"z\n+MutateDetectionInstanceForClickhousePayload\x12\x0e\n\x06\x61\x63tion\x18\x01 \x01(\t\x12;\n\x07payload\x18\x02 \x01(\x0b\x32*.DetectionInstanceByIdForClickhousePayload\"
|
|
18
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-global_vo_grpc_service/protos/query_api.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"*\n\x1b\x44\x65tectionsAggregatedRequest\x12\x0b\n\x03wkt\x18\x01 \x01(\t\"\x93\x04\n\x1c\x44\x65tectionsAggregatedResponse\x12\x14\n\x0c\x64\x65tection_id\x18\x01 \x01(\x05\x12\x1d\n\x15\x64\x65tection_instance_id\x18\x02 \x01(\x05\x12\x0b\n\x03lat\x18\x03 \x01(\x02\x12\x0b\n\x03lon\x18\x04 \x01(\x02\x12\x15\n\rcategory_name\x18\x05 \x01(\t\x12\x15\n\rcategory_enum\x18\x06 \x01(\t\x12\r\n\x05score\x18\x07 \x01(\x02\x12\x0e\n\x06height\x18\x08 \x01(\x02\x12\x15\n\rtotal_sources\x18\t \x01(\x05\x12.\n\nfirst_seen\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12-\n\tlast_seen\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x13\n\x0bvendor_name\x18\r \x01(\t\x12\x11\n\tvendor_id\x18\x0e \x01(\t\x12(\n\x07\x66\x65\x61ture\x18\x0f \x01(\x0b\x32\x17.google.protobuf.Struct\x12+\n\ndebug_data\x18\x10 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\r\n\x05state\x18\x11 \x01(\t\x12\x0c\n\x04tags\x18\x12 \x01(\t\x12\r\n\x05notes\x18\x13 \x01(\t\x12\x1a\n\x12location_elevation\x18\x14 \x01(\x02\x12\x1a\n\x12shadow_discrepancy\x18\x15 \x01(\t\":\n,GetDetectionInstanceByIdForClickhouseRequest\x12\n\n\x02id\x18\x01 \x01(\x05\"\xb4\x04\n)DetectionInstanceByIdForClickhousePayload\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x13\n\x0b\x63\x61tegory_id\x18\x02 \x01(\x05\x12\x10\n\x08image_id\x18\x03 \x01(\x05\x12\x0b\n\x03lat\x18\x04 \x01(\x02\x12\x0b\n\x03lon\x18\x05 \x01(\x02\x12\r\n\x05score\x18\x06 \x01(\x02\x12\x0e\n\x06height\x18\x07 \x01(\x02\x12\x13\n\x0b\x64\x65tected_at\x18\x08 \x01(\t\x12\x12\n\ncreated_at\x18\t \x01(\t\x12\x12\n\nupdated_at\x18\n \x01(\t\x12\r\n\x05state\x18\x0b \x01(\t\x12\x12\n\ncreated_by\x18\x0c \x01(\x05\x12\x12\n\nupdated_by\x18\r \x01(\x05\x12\r\n\x05h3_l3\x18\x0e \x01(\t\x12\r\n\x05h3_l4\x18\x0f \x01(\t\x12\r\n\x05h3_l5\x18\x10 \x01(\t\x12\r\n\x05h3_l7\x18\x11 \x01(\t\x12\x0e\n\x06h3_l11\x18\x12 \x01(\t\x12\x12\n\ndeleted_at\x18\x13 \x01(\t\x12\x11\n\tlocked_at\x18\x14 \x01(\t\x12\x11\n\tlocked_by\x18\x15 \x01(\x05\x12\x12\n\nvisibility\x18\x16 \x01(\t\x12\x1d\n\x15\x65xclude_from_training\x18\x17 \x01(\x08\x12\x11\n\tlegacy_at\x18\x18 \x01(\t\x12\x11\n\tsource_id\x18\x19 \x01(\x05\x12\x1a\n\x12location_elevation\x18\x1a \x01(\x02\x12\x0c\n\x04tags\x18\x1b \x01(\t\x12\r\n\x05notes\x18\x1c \x01(\t\x12\x0f\n\x07shw_dsc\x18\x1d \x01(\t\"z\n+MutateDetectionInstanceForClickhousePayload\x12\x0e\n\x06\x61\x63tion\x18\x01 \x01(\t\x12;\n\x07payload\x18\x02 \x01(\x0b\x32*.DetectionInstanceByIdForClickhousePayload\"0\n\"GetFeatureByIdForClickhouseRequest\x12\n\n\x02id\x18\x01 \x01(\x05\"\xdc\x01\n#GetFeatureByIdForClickhouseResponse\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\x12\n\ncreated_at\x18\x05 \x01(\t\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\"j\n!MutateFeatureForClickhousePayload\x12\x0e\n\x06\x61\x63tion\x18\x01 \x01(\t\x12\x35\n\x07payload\x18\x02 \x01(\x0b\x32$.GetFeatureByIdForClickhouseResponse\".\n GetImageByIdForClickhouseRequest\x12\n\n\x02id\x18\x01 \x01(\x05\"\xc9\x01\n!GetImageByIdForClickhouseResponse\x12\n\n\x02id\x18\x01 \x01(\x05\x12\r\n\x05width\x18\x02 \x01(\x05\x12\x0e\n\x06height\x18\x03 \x01(\x05\x12\x0f\n\x07min_lon\x18\x04 \x01(\x02\x12\x0f\n\x07max_lon\x18\x05 \x01(\x02\x12\x0f\n\x07min_lat\x18\x06 \x01(\x02\x12\x0f\n\x07max_lat\x18\x07 \x01(\x02\x12\x12\n\nfeature_id\x18\x08 \x01(\x05\x12\x12\n\ncreated_at\x18\t \x01(\t\x12\r\n\x05store\x18\n \x01(\t\"f\n\x1fMutateImageForClickhousePayload\x12\x0e\n\x06\x61\x63tion\x18\x01 \x01(\t\x12\x33\n\x07payload\x18\x02 \x01(\x0b\x32\".GetImageByIdForClickhouseResponse2\xb7\x03\n\x08QueryApi\x12X\n\x17GetDetectionsAggregated\x12\x1c.DetectionsAggregatedRequest\x1a\x1d.DetectionsAggregatedResponse0\x01\x12\x82\x01\n%GetDetectionInstanceByIdForClickhouse\x12-.GetDetectionInstanceByIdForClickhouseRequest\x1a*.DetectionInstanceByIdForClickhousePayload\x12h\n\x1bGetFeatureByIdForClickhouse\x12#.GetFeatureByIdForClickhouseRequest\x1a$.GetFeatureByIdForClickhouseResponse\x12\x62\n\x19GetImageByIdForClickhouse\x12!.GetImageByIdForClickhouseRequest\x1a\".GetImageByIdForClickhouseResponseb\x06proto3')
|
|
19
19
|
|
|
20
20
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
|
|
21
21
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'global_vo_grpc_service.protos.query_api_pb2', globals())
|
|
@@ -32,14 +32,18 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
32
32
|
_DETECTIONINSTANCEBYIDFORCLICKHOUSEPAYLOAD._serialized_end=1315
|
|
33
33
|
_MUTATEDETECTIONINSTANCEFORCLICKHOUSEPAYLOAD._serialized_start=1317
|
|
34
34
|
_MUTATEDETECTIONINSTANCEFORCLICKHOUSEPAYLOAD._serialized_end=1439
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
35
|
+
_GETFEATUREBYIDFORCLICKHOUSEREQUEST._serialized_start=1441
|
|
36
|
+
_GETFEATUREBYIDFORCLICKHOUSEREQUEST._serialized_end=1489
|
|
37
|
+
_GETFEATUREBYIDFORCLICKHOUSERESPONSE._serialized_start=1492
|
|
38
|
+
_GETFEATUREBYIDFORCLICKHOUSERESPONSE._serialized_end=1712
|
|
39
|
+
_MUTATEFEATUREFORCLICKHOUSEPAYLOAD._serialized_start=1714
|
|
40
|
+
_MUTATEFEATUREFORCLICKHOUSEPAYLOAD._serialized_end=1820
|
|
41
|
+
_GETIMAGEBYIDFORCLICKHOUSEREQUEST._serialized_start=1822
|
|
42
|
+
_GETIMAGEBYIDFORCLICKHOUSEREQUEST._serialized_end=1868
|
|
43
|
+
_GETIMAGEBYIDFORCLICKHOUSERESPONSE._serialized_start=1871
|
|
44
|
+
_GETIMAGEBYIDFORCLICKHOUSERESPONSE._serialized_end=2072
|
|
45
|
+
_MUTATEIMAGEFORCLICKHOUSEPAYLOAD._serialized_start=2074
|
|
46
|
+
_MUTATEIMAGEFORCLICKHOUSEPAYLOAD._serialized_end=2176
|
|
47
|
+
_QUERYAPI._serialized_start=2179
|
|
48
|
+
_QUERYAPI._serialized_end=2618
|
|
45
49
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -25,15 +25,15 @@ class QueryApiStub(object):
|
|
|
25
25
|
request_serializer=global__vo__grpc__service_dot_protos_dot_query__api__pb2.GetDetectionInstanceByIdForClickhouseRequest.SerializeToString,
|
|
26
26
|
response_deserializer=global__vo__grpc__service_dot_protos_dot_query__api__pb2.DetectionInstanceByIdForClickhousePayload.FromString,
|
|
27
27
|
)
|
|
28
|
-
self.
|
|
29
|
-
'/QueryApi/
|
|
30
|
-
request_serializer=global__vo__grpc__service_dot_protos_dot_query__api__pb2.
|
|
31
|
-
response_deserializer=global__vo__grpc__service_dot_protos_dot_query__api__pb2.
|
|
28
|
+
self.GetFeatureByIdForClickhouse = channel.unary_unary(
|
|
29
|
+
'/QueryApi/GetFeatureByIdForClickhouse',
|
|
30
|
+
request_serializer=global__vo__grpc__service_dot_protos_dot_query__api__pb2.GetFeatureByIdForClickhouseRequest.SerializeToString,
|
|
31
|
+
response_deserializer=global__vo__grpc__service_dot_protos_dot_query__api__pb2.GetFeatureByIdForClickhouseResponse.FromString,
|
|
32
32
|
)
|
|
33
|
-
self.
|
|
34
|
-
'/QueryApi/
|
|
35
|
-
request_serializer=global__vo__grpc__service_dot_protos_dot_query__api__pb2.
|
|
36
|
-
response_deserializer=global__vo__grpc__service_dot_protos_dot_query__api__pb2.
|
|
33
|
+
self.GetImageByIdForClickhouse = channel.unary_unary(
|
|
34
|
+
'/QueryApi/GetImageByIdForClickhouse',
|
|
35
|
+
request_serializer=global__vo__grpc__service_dot_protos_dot_query__api__pb2.GetImageByIdForClickhouseRequest.SerializeToString,
|
|
36
|
+
response_deserializer=global__vo__grpc__service_dot_protos_dot_query__api__pb2.GetImageByIdForClickhouseResponse.FromString,
|
|
37
37
|
)
|
|
38
38
|
|
|
39
39
|
|
|
@@ -56,14 +56,14 @@ class QueryApiServicer(object):
|
|
|
56
56
|
context.set_details('Method not implemented!')
|
|
57
57
|
raise NotImplementedError('Method not implemented!')
|
|
58
58
|
|
|
59
|
-
def
|
|
59
|
+
def GetFeatureByIdForClickhouse(self, request, context):
|
|
60
60
|
"""Get the features for storage in clickhouse
|
|
61
61
|
"""
|
|
62
62
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
63
63
|
context.set_details('Method not implemented!')
|
|
64
64
|
raise NotImplementedError('Method not implemented!')
|
|
65
65
|
|
|
66
|
-
def
|
|
66
|
+
def GetImageByIdForClickhouse(self, request, context):
|
|
67
67
|
"""Get the images for storage in clickhouse
|
|
68
68
|
"""
|
|
69
69
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
@@ -83,15 +83,15 @@ def add_QueryApiServicer_to_server(servicer, server):
|
|
|
83
83
|
request_deserializer=global__vo__grpc__service_dot_protos_dot_query__api__pb2.GetDetectionInstanceByIdForClickhouseRequest.FromString,
|
|
84
84
|
response_serializer=global__vo__grpc__service_dot_protos_dot_query__api__pb2.DetectionInstanceByIdForClickhousePayload.SerializeToString,
|
|
85
85
|
),
|
|
86
|
-
'
|
|
87
|
-
servicer.
|
|
88
|
-
request_deserializer=global__vo__grpc__service_dot_protos_dot_query__api__pb2.
|
|
89
|
-
response_serializer=global__vo__grpc__service_dot_protos_dot_query__api__pb2.
|
|
86
|
+
'GetFeatureByIdForClickhouse': grpc.unary_unary_rpc_method_handler(
|
|
87
|
+
servicer.GetFeatureByIdForClickhouse,
|
|
88
|
+
request_deserializer=global__vo__grpc__service_dot_protos_dot_query__api__pb2.GetFeatureByIdForClickhouseRequest.FromString,
|
|
89
|
+
response_serializer=global__vo__grpc__service_dot_protos_dot_query__api__pb2.GetFeatureByIdForClickhouseResponse.SerializeToString,
|
|
90
90
|
),
|
|
91
|
-
'
|
|
92
|
-
servicer.
|
|
93
|
-
request_deserializer=global__vo__grpc__service_dot_protos_dot_query__api__pb2.
|
|
94
|
-
response_serializer=global__vo__grpc__service_dot_protos_dot_query__api__pb2.
|
|
91
|
+
'GetImageByIdForClickhouse': grpc.unary_unary_rpc_method_handler(
|
|
92
|
+
servicer.GetImageByIdForClickhouse,
|
|
93
|
+
request_deserializer=global__vo__grpc__service_dot_protos_dot_query__api__pb2.GetImageByIdForClickhouseRequest.FromString,
|
|
94
|
+
response_serializer=global__vo__grpc__service_dot_protos_dot_query__api__pb2.GetImageByIdForClickhouseResponse.SerializeToString,
|
|
95
95
|
),
|
|
96
96
|
}
|
|
97
97
|
generic_handler = grpc.method_handlers_generic_handler(
|
|
@@ -139,7 +139,7 @@ class QueryApi(object):
|
|
|
139
139
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
140
140
|
|
|
141
141
|
@staticmethod
|
|
142
|
-
def
|
|
142
|
+
def GetFeatureByIdForClickhouse(request,
|
|
143
143
|
target,
|
|
144
144
|
options=(),
|
|
145
145
|
channel_credentials=None,
|
|
@@ -149,14 +149,14 @@ class QueryApi(object):
|
|
|
149
149
|
wait_for_ready=None,
|
|
150
150
|
timeout=None,
|
|
151
151
|
metadata=None):
|
|
152
|
-
return grpc.experimental.unary_unary(request, target, '/QueryApi/
|
|
153
|
-
global__vo__grpc__service_dot_protos_dot_query__api__pb2.
|
|
154
|
-
global__vo__grpc__service_dot_protos_dot_query__api__pb2.
|
|
152
|
+
return grpc.experimental.unary_unary(request, target, '/QueryApi/GetFeatureByIdForClickhouse',
|
|
153
|
+
global__vo__grpc__service_dot_protos_dot_query__api__pb2.GetFeatureByIdForClickhouseRequest.SerializeToString,
|
|
154
|
+
global__vo__grpc__service_dot_protos_dot_query__api__pb2.GetFeatureByIdForClickhouseResponse.FromString,
|
|
155
155
|
options, channel_credentials,
|
|
156
156
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
157
157
|
|
|
158
158
|
@staticmethod
|
|
159
|
-
def
|
|
159
|
+
def GetImageByIdForClickhouse(request,
|
|
160
160
|
target,
|
|
161
161
|
options=(),
|
|
162
162
|
channel_credentials=None,
|
|
@@ -166,8 +166,8 @@ class QueryApi(object):
|
|
|
166
166
|
wait_for_ready=None,
|
|
167
167
|
timeout=None,
|
|
168
168
|
metadata=None):
|
|
169
|
-
return grpc.experimental.unary_unary(request, target, '/QueryApi/
|
|
170
|
-
global__vo__grpc__service_dot_protos_dot_query__api__pb2.
|
|
171
|
-
global__vo__grpc__service_dot_protos_dot_query__api__pb2.
|
|
169
|
+
return grpc.experimental.unary_unary(request, target, '/QueryApi/GetImageByIdForClickhouse',
|
|
170
|
+
global__vo__grpc__service_dot_protos_dot_query__api__pb2.GetImageByIdForClickhouseRequest.SerializeToString,
|
|
171
|
+
global__vo__grpc__service_dot_protos_dot_query__api__pb2.GetImageByIdForClickhouseResponse.FromString,
|
|
172
172
|
options, channel_credentials,
|
|
173
173
|
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'\n.global_vo_grpc_service/protos/review_api.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a)global_vo_grpc_service/protos/utils.proto\"\xf2\x02\n\x06Review\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\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12\x12\n\ncreated_by\x18\x05 \x01(\x05\x12\x12\n\nupdated_by\x18\x06 \x01(\x05\x12\x12\n\ndeleted_by\x18\x07 \x01(\x05\x12.\n\ncreated_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\ndeleted_at\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x37\n\x13\x65st_completion_date\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0f\n\x07\x66ilters\x18\x0c \x01(\t\x12\x0f\n\x07team_id\x18\r \x01(\x05\"J\n\x19\x43\x61\x63heLastUserQueryRequest\x12\x19\n\x11\x65s_query_json_str\x18\x01 \x01(\t\x12\x12\n\nmission_id\x18\x02 \x01(\x05\">\n\x1a\x43\x61\x63heLastUserQueryResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\"\'\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\"\xaa\x01\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\"\xf0\x01\n\x13\x43reateReviewRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x15\n\rtotal_batches\x18\x03 \x01(\x05\x12\x12\n\nmission_id\x18\x04 \x01(\x05\x12\x1b\n\x13sample_size_percent\x18\x05 \x01(\x05\x12$\n\rfilter_values\x18\x06 \x01(\x0b\x32\r.FilterValues\x12\x37\n\x13\x65st_completion_date\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0f\n\x07team_id\x18\x08 \x01(\x05\"K\n\x14\x43reateReviewResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x11\n\treview_id\x18\x02 \x01(\x05\"\xa0\x01\n\x1a\x43reateGenericReviewRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x15\n\rtotal_batches\x18\x03 \x01(\x05\x12\x37\n\x13\x65st_completion_date\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0f\n\x07team_id\x18\x05 \x01(\x05\"R\n\x1b\x43reateGenericReviewResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x11\n\treview_id\x18\x02 \x01(\x05\"%\n\x16\x46indReviewByIdsRequest\x12\x0b\n\x03ids\x18\x01 \x03(\x05\"T\n\x17\x46indReviewByIdsResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x17\n\x06review\x18\x02 \x03(\x0b\x32\x07.Review\"#\n\x12ListReviewsRequest\x12\r\n\x05query\x18\x01 \x01(\t\"Q\n\x13ListReviewsResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x18\n\x07reviews\x18\x02 \x03(\x0b\x32\x07.Review\"+\n\x1aListArchivedReviewsRequest\x12\r\n\x05query\x18\x01 \x01(\t\"7\n\x1bListArchivedReviewsResponse\x12\x18\n\x07reviews\x18\x01 \x03(\x0b\x32\x07.Review\"A\n-ListAssociatedReviewsAndTasksByImageIdRequest\x12\x10\n\x08image_id\x18\x01 \x01(\x05\"\x9d\x03\n.ListAssociatedReviewsAndTasksByImageIdResponse\x12m\n\x1c\x61ssociated_reviews_and_tasks\x18\x01 \x03(\x0b\x32G.ListAssociatedReviewsAndTasksByImageIdResponse.AssociatedReviewAndTask\x1a\xfb\x01\n\x17\x41ssociatedReviewAndTask\x12\x11\n\treview_id\x18\x01 \x01(\x05\x12\x13\n\x0breview_name\x18\x02 \x01(\t\x12\x0f\n\x07task_id\x18\x03 \x01(\x05\x12\x18\n\x10task_assigned_to\x18\x04 \x01(\x05\x12\x15\n\rtask_image_id\x18\x05 \x01(\x05\x12\x18\n\x10task_image_state\x18\x06 \x01(\t\x12\x1f\n\x17task_image_set_state_by\x18\x07 \x01(\x05\x12;\n\x17task_image_set_state_on\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"2\n\x1cGetReviewsByMissionIdRequest\x12\x12\n\nmission_id\x18\x01 \x01(\x05\"9\n\x1dGetReviewsByMissionIdResponse\x12\x18\n\x07reviews\x18\x01 \x03(\x0b\x32\x07.Review\".\n\x18GetReviewProgressRequest\x12\x12\n\nreview_ids\x18\x01 \x03(\x05\"\xda\x01\n\x19GetReviewProgressResponse\x12\x45\n\x0freview_progress\x18\x01 \x03(\x0b\x32,.GetReviewProgressResponse.GetReviewProgress\x1av\n\x11GetReviewProgress\x12\x11\n\treview_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\"\x81\x01\n\x17UpdateReviewJobsRequest\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x37\n\x13\x65st_completion_date\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"H\n\x18UpdateReviewJobsResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\n\n\x02id\x18\x02 \x01(\x05\"&\n\x18RestoreReviewJobsRequest\x12\n\n\x02id\x18\x01 \x01(\x05\"I\n\x19RestoreReviewJobsResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\n\n\x02id\x18\x02 \x01(\x05\"%\n\x17\x44\x65leteReviewJobsRequest\x12\n\n\x02id\x18\x01 \x01(\x05\"H\n\x18\x44\x65leteReviewJobsResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\n\n\x02id\x18\x02 \x01(\x05\"0\n\"RebalanceTaskImagesByReviewRequest\x12\n\n\x02id\x18\x01 \x01(\x05\"S\n#RebalanceTaskImagesByReviewResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\n\n\x02id\x18\x02 \x01(\x05\"
|
|
18
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n.global_vo_grpc_service/protos/review_api.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a)global_vo_grpc_service/protos/utils.proto\"\xf2\x02\n\x06Review\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\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12\x12\n\ncreated_by\x18\x05 \x01(\x05\x12\x12\n\nupdated_by\x18\x06 \x01(\x05\x12\x12\n\ndeleted_by\x18\x07 \x01(\x05\x12.\n\ncreated_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\ndeleted_at\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x37\n\x13\x65st_completion_date\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0f\n\x07\x66ilters\x18\x0c \x01(\t\x12\x0f\n\x07team_id\x18\r \x01(\x05\"J\n\x19\x43\x61\x63heLastUserQueryRequest\x12\x19\n\x11\x65s_query_json_str\x18\x01 \x01(\t\x12\x12\n\nmission_id\x18\x02 \x01(\x05\">\n\x1a\x43\x61\x63heLastUserQueryResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\"\'\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\"\xaa\x01\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\"\xf0\x01\n\x13\x43reateReviewRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x15\n\rtotal_batches\x18\x03 \x01(\x05\x12\x12\n\nmission_id\x18\x04 \x01(\x05\x12\x1b\n\x13sample_size_percent\x18\x05 \x01(\x05\x12$\n\rfilter_values\x18\x06 \x01(\x0b\x32\r.FilterValues\x12\x37\n\x13\x65st_completion_date\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0f\n\x07team_id\x18\x08 \x01(\x05\"K\n\x14\x43reateReviewResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x11\n\treview_id\x18\x02 \x01(\x05\"\xa0\x01\n\x1a\x43reateGenericReviewRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x15\n\rtotal_batches\x18\x03 \x01(\x05\x12\x37\n\x13\x65st_completion_date\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0f\n\x07team_id\x18\x05 \x01(\x05\"R\n\x1b\x43reateGenericReviewResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x11\n\treview_id\x18\x02 \x01(\x05\"%\n\x16\x46indReviewByIdsRequest\x12\x0b\n\x03ids\x18\x01 \x03(\x05\"T\n\x17\x46indReviewByIdsResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x17\n\x06review\x18\x02 \x03(\x0b\x32\x07.Review\"#\n\x12ListReviewsRequest\x12\r\n\x05query\x18\x01 \x01(\t\"Q\n\x13ListReviewsResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x18\n\x07reviews\x18\x02 \x03(\x0b\x32\x07.Review\"+\n\x1aListArchivedReviewsRequest\x12\r\n\x05query\x18\x01 \x01(\t\"7\n\x1bListArchivedReviewsResponse\x12\x18\n\x07reviews\x18\x01 \x03(\x0b\x32\x07.Review\"A\n-ListAssociatedReviewsAndTasksByImageIdRequest\x12\x10\n\x08image_id\x18\x01 \x01(\x05\"\x9d\x03\n.ListAssociatedReviewsAndTasksByImageIdResponse\x12m\n\x1c\x61ssociated_reviews_and_tasks\x18\x01 \x03(\x0b\x32G.ListAssociatedReviewsAndTasksByImageIdResponse.AssociatedReviewAndTask\x1a\xfb\x01\n\x17\x41ssociatedReviewAndTask\x12\x11\n\treview_id\x18\x01 \x01(\x05\x12\x13\n\x0breview_name\x18\x02 \x01(\t\x12\x0f\n\x07task_id\x18\x03 \x01(\x05\x12\x18\n\x10task_assigned_to\x18\x04 \x01(\x05\x12\x15\n\rtask_image_id\x18\x05 \x01(\x05\x12\x18\n\x10task_image_state\x18\x06 \x01(\t\x12\x1f\n\x17task_image_set_state_by\x18\x07 \x01(\x05\x12;\n\x17task_image_set_state_on\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"2\n\x1cGetReviewsByMissionIdRequest\x12\x12\n\nmission_id\x18\x01 \x01(\x05\"9\n\x1dGetReviewsByMissionIdResponse\x12\x18\n\x07reviews\x18\x01 \x03(\x0b\x32\x07.Review\".\n\x18GetReviewProgressRequest\x12\x12\n\nreview_ids\x18\x01 \x03(\x05\"\xda\x01\n\x19GetReviewProgressResponse\x12\x45\n\x0freview_progress\x18\x01 \x03(\x0b\x32,.GetReviewProgressResponse.GetReviewProgress\x1av\n\x11GetReviewProgress\x12\x11\n\treview_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\"\x81\x01\n\x17UpdateReviewJobsRequest\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x37\n\x13\x65st_completion_date\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"H\n\x18UpdateReviewJobsResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\n\n\x02id\x18\x02 \x01(\x05\"&\n\x18RestoreReviewJobsRequest\x12\n\n\x02id\x18\x01 \x01(\x05\"I\n\x19RestoreReviewJobsResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\n\n\x02id\x18\x02 \x01(\x05\"%\n\x17\x44\x65leteReviewJobsRequest\x12\n\n\x02id\x18\x01 \x01(\x05\"H\n\x18\x44\x65leteReviewJobsResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\n\n\x02id\x18\x02 \x01(\x05\"0\n\"RebalanceTaskImagesByReviewRequest\x12\n\n\x02id\x18\x01 \x01(\x05\"S\n#RebalanceTaskImagesByReviewResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\n\n\x02id\x18\x02 \x01(\x05\"Y\n!UpdateImagesToTargetReviewRequest\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x18\n\x10target_review_id\x18\x02 \x01(\x05\x12\x0e\n\x06states\x18\x03 \x03(\t\"R\n\"UpdateImagesToTargetReviewResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\n\n\x02id\x18\x02 \x01(\x05\x32\x9a\t\n\tReviewApi\x12M\n\x12\x43\x61\x63heLastUserQuery\x12\x1a.CacheLastUserQueryRequest\x1a\x1b.CacheLastUserQueryResponse\x12;\n\x0c\x43reateReview\x12\x14.CreateReviewRequest\x1a\x15.CreateReviewResponse\x12P\n\x13\x43reateGenericReview\x12\x1b.CreateGenericReviewRequest\x1a\x1c.CreateGenericReviewResponse\x12\x44\n\x0f\x46indReviewByIds\x12\x17.FindReviewByIdsRequest\x1a\x18.FindReviewByIdsResponse\x12\x38\n\x0bListReviews\x12\x13.ListReviewsRequest\x1a\x14.ListReviewsResponse\x12P\n\x13ListArchivedReviews\x12\x1b.ListArchivedReviewsRequest\x1a\x1c.ListArchivedReviewsResponse\x12\x89\x01\n&ListAssociatedReviewsAndTasksByImageId\x12..ListAssociatedReviewsAndTasksByImageIdRequest\x1a/.ListAssociatedReviewsAndTasksByImageIdResponse\x12V\n\x15GetReviewsByMissionId\x12\x1d.GetReviewsByMissionIdRequest\x1a\x1e.GetReviewsByMissionIdResponse\x12J\n\x11GetReviewProgress\x12\x19.GetReviewProgressRequest\x1a\x1a.GetReviewProgressResponse\x12G\n\x10UpdateReviewJobs\x12\x18.UpdateReviewJobsRequest\x1a\x19.UpdateReviewJobsResponse\x12J\n\x11RestoreReviewJobs\x12\x19.RestoreReviewJobsRequest\x1a\x1a.RestoreReviewJobsResponse\x12G\n\x10\x44\x65leteReviewJobs\x12\x18.DeleteReviewJobsRequest\x1a\x19.DeleteReviewJobsResponse\x12h\n\x1bRebalanceTaskImagesByReview\x12#.RebalanceTaskImagesByReviewRequest\x1a$.RebalanceTaskImagesByReviewResponse\x12\x65\n\x1aUpdateImagesToTargetReview\x12\".UpdateImagesToTargetReviewRequest\x1a#.UpdateImagesToTargetReviewResponseb\x06proto3')
|
|
19
19
|
|
|
20
20
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
|
|
21
21
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'global_vo_grpc_service.protos.review_api_pb2', globals())
|
|
@@ -86,10 +86,10 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
86
86
|
_REBALANCETASKIMAGESBYREVIEWREQUEST._serialized_end=3152
|
|
87
87
|
_REBALANCETASKIMAGESBYREVIEWRESPONSE._serialized_start=3154
|
|
88
88
|
_REBALANCETASKIMAGESBYREVIEWRESPONSE._serialized_end=3237
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
_REVIEWAPI._serialized_start=
|
|
94
|
-
_REVIEWAPI._serialized_end=
|
|
89
|
+
_UPDATEIMAGESTOTARGETREVIEWREQUEST._serialized_start=3239
|
|
90
|
+
_UPDATEIMAGESTOTARGETREVIEWREQUEST._serialized_end=3328
|
|
91
|
+
_UPDATEIMAGESTOTARGETREVIEWRESPONSE._serialized_start=3330
|
|
92
|
+
_UPDATEIMAGESTOTARGETREVIEWRESPONSE._serialized_end=3412
|
|
93
|
+
_REVIEWAPI._serialized_start=3415
|
|
94
|
+
_REVIEWAPI._serialized_end=4593
|
|
95
95
|
# @@protoc_insertion_point(module_scope)
|