fsai-proto-specs 0.0.376__py3-none-any.whl → 0.0.377__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.376.dist-info → fsai_proto_specs-0.0.377.dist-info}/METADATA +1 -1
- {fsai_proto_specs-0.0.376.dist-info → fsai_proto_specs-0.0.377.dist-info}/RECORD +7 -7
- 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/task_image_api_pb2.py +3 -9
- global_vo_grpc_service/protos/task_image_api_pb2_grpc.py +0 -33
- {fsai_proto_specs-0.0.376.dist-info → fsai_proto_specs-0.0.377.dist-info}/WHEEL +0 -0
|
@@ -52,8 +52,8 @@ global_vo_grpc_service/protos/feature_api_pb2.py,sha256=JAfuXFCI2ez6CZEPBQAvJbZC
|
|
|
52
52
|
global_vo_grpc_service/protos/feature_api_pb2_grpc.py,sha256=I5ISOdLBjV6FJqk2JGv4zpVTg0BneeA5m13BjGsX9i4,6590
|
|
53
53
|
global_vo_grpc_service/protos/geo_data_api_pb2.py,sha256=BgkSIccXSVEEoe1pyKktVycztZ-rdzt11V6is_ssZUU,3113
|
|
54
54
|
global_vo_grpc_service/protos/geo_data_api_pb2_grpc.py,sha256=YXXkv2lU9rdTPmNqnKf0Jgvtm9kmJoVbtM01RfprTVg,4931
|
|
55
|
-
global_vo_grpc_service/protos/image_api_pb2.py,sha256=
|
|
56
|
-
global_vo_grpc_service/protos/image_api_pb2_grpc.py,sha256=
|
|
55
|
+
global_vo_grpc_service/protos/image_api_pb2.py,sha256=KtuQunXppWFUB3B24ao50lLK1oZkARdx-FkknVY2tlw,4715
|
|
56
|
+
global_vo_grpc_service/protos/image_api_pb2_grpc.py,sha256=zQ0a8wRso3YYmdSWtWG9_g8oMBvD0QXEN9U93PDQdNM,10375
|
|
57
57
|
global_vo_grpc_service/protos/image_metadata_api_pb2.py,sha256=UGAW9oTOZfH8hoTRvQRgwknAHRQjYxCsppk-vAmsOU0,4754
|
|
58
58
|
global_vo_grpc_service/protos/image_metadata_api_pb2_grpc.py,sha256=MozLEHpkr4ewtP9vbwXf6nPiHXBVZ5VjiNMHYbXFOwA,10889
|
|
59
59
|
global_vo_grpc_service/protos/image_scan_api_pb2.py,sha256=nGIMalialg8yTgDkfenqYLnqpKon_JfJcNnR75bn7MA,3000
|
|
@@ -78,8 +78,8 @@ global_vo_grpc_service/protos/source_api_pb2.py,sha256=jUv3nzlIvPtLY_qpmk33LEdD0
|
|
|
78
78
|
global_vo_grpc_service/protos/source_api_pb2_grpc.py,sha256=Egm2GiEmOqYwQ4if0UURfXWBjolh5vdt07jrQsn_RIk,8176
|
|
79
79
|
global_vo_grpc_service/protos/task_api_pb2.py,sha256=oPw2TW8B5lCISUnXcOD2guwZtUb6w6xj19kPMyTxYaE,9482
|
|
80
80
|
global_vo_grpc_service/protos/task_api_pb2_grpc.py,sha256=3CSNFrDdkBb0i6aSCL-dtyJBFPzbqD8J5EGP80eEuEc,22980
|
|
81
|
-
global_vo_grpc_service/protos/task_image_api_pb2.py,sha256
|
|
82
|
-
global_vo_grpc_service/protos/task_image_api_pb2_grpc.py,sha256=
|
|
81
|
+
global_vo_grpc_service/protos/task_image_api_pb2.py,sha256=-2dJGsT0XyJBci1_aAQ8y9sh_cKwXt2F6GRFAw9YF3c,6327
|
|
82
|
+
global_vo_grpc_service/protos/task_image_api_pb2_grpc.py,sha256=YXBRRg9Zv1gR2b2SgA-qeKC6k6gv6mu7rOlugE2btgc,13198
|
|
83
83
|
global_vo_grpc_service/protos/task_image_metadata_api_pb2.py,sha256=hxdaF9z0ZGNxrxfZu88OWcY5XMppeRZQA5m-wdorMhA,4944
|
|
84
84
|
global_vo_grpc_service/protos/task_image_metadata_api_pb2_grpc.py,sha256=bCM7yAdkNdqkck-N-JqmXstJg8afJkQx5tzR8wU7ioQ,11385
|
|
85
85
|
global_vo_grpc_service/protos/team_api_pb2.py,sha256=0R49sUUOlPhfs0xk9C-dk6wx1svDmuZrl0bR6CrtQN4,5888
|
|
@@ -110,6 +110,6 @@ search_grpc_service/protos/index_api_pb2.py,sha256=6gqbhy6__LQ0nXPbJ_j-I2LIWbYPY
|
|
|
110
110
|
search_grpc_service/protos/index_api_pb2_grpc.py,sha256=qrtGUh9HpN1wiavtpRCtqkGQonq8aanT3MZfsjWaVCM,10672
|
|
111
111
|
search_grpc_service/protos/search_api_pb2.py,sha256=lYpAYgNlDWQ2Zpo4t8qW3Pz8wC3GrcZ4ygK7d68Tyk8,5890
|
|
112
112
|
search_grpc_service/protos/search_api_pb2_grpc.py,sha256=Sd8hqJhnGpqUQbGpNvUXNdr4rSXNbxbCR3AJrn9aMa4,8992
|
|
113
|
-
fsai_proto_specs-0.0.
|
|
114
|
-
fsai_proto_specs-0.0.
|
|
115
|
-
fsai_proto_specs-0.0.
|
|
113
|
+
fsai_proto_specs-0.0.377.dist-info/METADATA,sha256=LjfFgja-knHrE5aGASVnN4PJ-5DlriS8VODYtbdv-uk,972
|
|
114
|
+
fsai_proto_specs-0.0.377.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
115
|
+
fsai_proto_specs-0.0.377.dist-info/RECORD,,
|
|
@@ -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/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\
|
|
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())
|
|
@@ -50,12 +50,6 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
50
50
|
_GETTASKIMAGEAUDITCOUNTBYDATERANGEREQUEST._serialized_end=1669
|
|
51
51
|
_GETTASKIMAGEAUDITCOUNTBYDATERANGERESPONSE._serialized_start=1671
|
|
52
52
|
_GETTASKIMAGEAUDITCOUNTBYDATERANGERESPONSE._serialized_end=1736
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
_GETTASKIMAGEVOCOUNTSBYTASKIMAGEIDSRESPONSE._serialized_start=1797
|
|
56
|
-
_GETTASKIMAGEVOCOUNTSBYTASKIMAGEIDSRESPONSE._serialized_end=1983
|
|
57
|
-
_GETTASKIMAGEVOCOUNTSBYTASKIMAGEIDSRESPONSE_TASKIMAGEVOCOUNT._serialized_start=1935
|
|
58
|
-
_GETTASKIMAGEVOCOUNTSBYTASKIMAGEIDSRESPONSE_TASKIMAGEVOCOUNT._serialized_end=1983
|
|
59
|
-
_TASKIMAGEAPI._serialized_start=1986
|
|
60
|
-
_TASKIMAGEAPI._serialized_end=2769
|
|
53
|
+
_TASKIMAGEAPI._serialized_start=1739
|
|
54
|
+
_TASKIMAGEAPI._serialized_end=2395
|
|
61
55
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -44,11 +44,6 @@ class TaskImageApiStub(object):
|
|
|
44
44
|
request_serializer=global__vo__grpc__service_dot_protos_dot_task__image__api__pb2.GetTaskImageAuditCountByDateRangeRequest.SerializeToString,
|
|
45
45
|
response_deserializer=global__vo__grpc__service_dot_protos_dot_task__image__api__pb2.GetTaskImageAuditCountByDateRangeResponse.FromString,
|
|
46
46
|
)
|
|
47
|
-
self.GetTaskImageVOCountsByTaskImageIds = channel.unary_unary(
|
|
48
|
-
'/TaskImageApi/GetTaskImageVOCountsByTaskImageIds',
|
|
49
|
-
request_serializer=global__vo__grpc__service_dot_protos_dot_task__image__api__pb2.GetTaskImageVOCountsByTaskImageIdsRequest.SerializeToString,
|
|
50
|
-
response_deserializer=global__vo__grpc__service_dot_protos_dot_task__image__api__pb2.GetTaskImageVOCountsByTaskImageIdsResponse.FromString,
|
|
51
|
-
)
|
|
52
47
|
|
|
53
48
|
|
|
54
49
|
class TaskImageApiServicer(object):
|
|
@@ -90,12 +85,6 @@ class TaskImageApiServicer(object):
|
|
|
90
85
|
context.set_details('Method not implemented!')
|
|
91
86
|
raise NotImplementedError('Method not implemented!')
|
|
92
87
|
|
|
93
|
-
def GetTaskImageVOCountsByTaskImageIds(self, request, context):
|
|
94
|
-
"""Missing associated documentation comment in .proto file."""
|
|
95
|
-
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
96
|
-
context.set_details('Method not implemented!')
|
|
97
|
-
raise NotImplementedError('Method not implemented!')
|
|
98
|
-
|
|
99
88
|
|
|
100
89
|
def add_TaskImageApiServicer_to_server(servicer, server):
|
|
101
90
|
rpc_method_handlers = {
|
|
@@ -129,11 +118,6 @@ def add_TaskImageApiServicer_to_server(servicer, server):
|
|
|
129
118
|
request_deserializer=global__vo__grpc__service_dot_protos_dot_task__image__api__pb2.GetTaskImageAuditCountByDateRangeRequest.FromString,
|
|
130
119
|
response_serializer=global__vo__grpc__service_dot_protos_dot_task__image__api__pb2.GetTaskImageAuditCountByDateRangeResponse.SerializeToString,
|
|
131
120
|
),
|
|
132
|
-
'GetTaskImageVOCountsByTaskImageIds': grpc.unary_unary_rpc_method_handler(
|
|
133
|
-
servicer.GetTaskImageVOCountsByTaskImageIds,
|
|
134
|
-
request_deserializer=global__vo__grpc__service_dot_protos_dot_task__image__api__pb2.GetTaskImageVOCountsByTaskImageIdsRequest.FromString,
|
|
135
|
-
response_serializer=global__vo__grpc__service_dot_protos_dot_task__image__api__pb2.GetTaskImageVOCountsByTaskImageIdsResponse.SerializeToString,
|
|
136
|
-
),
|
|
137
121
|
}
|
|
138
122
|
generic_handler = grpc.method_handlers_generic_handler(
|
|
139
123
|
'TaskImageApi', rpc_method_handlers)
|
|
@@ -245,20 +229,3 @@ class TaskImageApi(object):
|
|
|
245
229
|
global__vo__grpc__service_dot_protos_dot_task__image__api__pb2.GetTaskImageAuditCountByDateRangeResponse.FromString,
|
|
246
230
|
options, channel_credentials,
|
|
247
231
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
248
|
-
|
|
249
|
-
@staticmethod
|
|
250
|
-
def GetTaskImageVOCountsByTaskImageIds(request,
|
|
251
|
-
target,
|
|
252
|
-
options=(),
|
|
253
|
-
channel_credentials=None,
|
|
254
|
-
call_credentials=None,
|
|
255
|
-
insecure=False,
|
|
256
|
-
compression=None,
|
|
257
|
-
wait_for_ready=None,
|
|
258
|
-
timeout=None,
|
|
259
|
-
metadata=None):
|
|
260
|
-
return grpc.experimental.unary_unary(request, target, '/TaskImageApi/GetTaskImageVOCountsByTaskImageIds',
|
|
261
|
-
global__vo__grpc__service_dot_protos_dot_task__image__api__pb2.GetTaskImageVOCountsByTaskImageIdsRequest.SerializeToString,
|
|
262
|
-
global__vo__grpc__service_dot_protos_dot_task__image__api__pb2.GetTaskImageVOCountsByTaskImageIdsResponse.FromString,
|
|
263
|
-
options, channel_credentials,
|
|
264
|
-
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
File without changes
|