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
|
@@ -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)
|
|
@@ -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'\n6global_vo_grpc_service/protos/image_metadata_api.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a)global_vo_grpc_service/protos/utils.proto\"
|
|
19
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n6global_vo_grpc_service/protos/image_metadata_api.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a)global_vo_grpc_service/protos/utils.proto\"e\n\x14ImageMetadataConfigs\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x0c\n\x04\x65num\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12\x10\n\x08\x63\x61tegory\x18\x05 \x01(\t\"\\\n#ListAllImageMetadataConfigsResponse\x12\x35\n\x16image_metadata_configs\x18\x01 \x03(\x0b\x32\x15.ImageMetadataConfigs\"\xda\x01\n\rImageMetadata\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x10\n\x08image_id\x18\x02 \x01(\x05\x12\x0b\n\x03key\x18\x03 \x01(\t\x12\x16\n\x0evalue_json_str\x18\x04 \x01(\t\x12\x12\n\ncreated_by\x18\x05 \x01(\x05\x12\x12\n\nupdated_by\x18\x06 \x01(\x05\x12.\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"4\n GetImageMetadataByImageIdRequest\x12\x10\n\x08image_id\x18\x01 \x01(\x05\"K\n!GetImageMetadataByImageIdResponse\x12&\n\x0eimage_metadata\x18\x01 \x03(\x0b\x32\x0e.ImageMetadata\"S\n\x1a\x43reateImageMetadataRequest\x12\x10\n\x08image_id\x18\x01 \x01(\x05\x12\x0b\n\x03key\x18\x02 \x01(\t\x12\x16\n\x0evalue_json_str\x18\x03 \x01(\t\"K\n\x1b\x43reateImageMetadataResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\n\n\x02id\x18\x02 \x01(\x05\"S\n\x1aUpdateImageMetadataRequest\x12\x10\n\x08image_id\x18\x01 \x01(\x05\x12\x0b\n\x03key\x18\x02 \x01(\t\x12\x16\n\x0evalue_json_str\x18\x03 \x01(\t\"K\n\x1bUpdateImageMetadataResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\n\n\x02id\x18\x02 \x01(\x05\"(\n\x1a\x44\x65leteImageMetadataRequest\x12\n\n\x02id\x18\x01 \x01(\x05\"?\n\x1b\x44\x65leteImageMetadataResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType2\xc9\x03\n\x10ImageMetadataApi\x12[\n\x1bListAllImageMetadataConfigs\x12\x16.google.protobuf.Empty\x1a$.ListAllImageMetadataConfigsResponse\x12\x62\n\x19GetImageMetadataByImageId\x12!.GetImageMetadataByImageIdRequest\x1a\".GetImageMetadataByImageIdResponse\x12P\n\x13\x43reateImageMetadata\x12\x1b.CreateImageMetadataRequest\x1a\x1c.CreateImageMetadataResponse\x12P\n\x13UpdateImageMetadata\x12\x1b.UpdateImageMetadataRequest\x1a\x1c.UpdateImageMetadataResponse\x12P\n\x13\x44\x65leteImageMetadata\x12\x1b.DeleteImageMetadataRequest\x1a\x1c.DeleteImageMetadataResponseb\x06proto3')
|
|
20
20
|
|
|
21
21
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
|
|
22
22
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'global_vo_grpc_service.protos.image_metadata_api_pb2', globals())
|
|
@@ -24,27 +24,27 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
24
24
|
|
|
25
25
|
DESCRIPTOR._options = None
|
|
26
26
|
_IMAGEMETADATACONFIGS._serialized_start=163
|
|
27
|
-
_IMAGEMETADATACONFIGS._serialized_end=
|
|
28
|
-
_LISTALLIMAGEMETADATACONFIGSRESPONSE._serialized_start=
|
|
29
|
-
_LISTALLIMAGEMETADATACONFIGSRESPONSE._serialized_end=
|
|
30
|
-
_IMAGEMETADATA._serialized_start=
|
|
31
|
-
_IMAGEMETADATA._serialized_end=
|
|
32
|
-
_GETIMAGEMETADATABYIMAGEIDREQUEST._serialized_start=
|
|
33
|
-
_GETIMAGEMETADATABYIMAGEIDREQUEST._serialized_end=
|
|
34
|
-
_GETIMAGEMETADATABYIMAGEIDRESPONSE._serialized_start=
|
|
35
|
-
_GETIMAGEMETADATABYIMAGEIDRESPONSE._serialized_end=
|
|
36
|
-
_CREATEIMAGEMETADATAREQUEST._serialized_start=
|
|
37
|
-
_CREATEIMAGEMETADATAREQUEST._serialized_end=
|
|
38
|
-
_CREATEIMAGEMETADATARESPONSE._serialized_start=
|
|
39
|
-
_CREATEIMAGEMETADATARESPONSE._serialized_end=
|
|
40
|
-
_UPDATEIMAGEMETADATAREQUEST._serialized_start=
|
|
41
|
-
_UPDATEIMAGEMETADATAREQUEST._serialized_end=
|
|
42
|
-
_UPDATEIMAGEMETADATARESPONSE._serialized_start=
|
|
43
|
-
_UPDATEIMAGEMETADATARESPONSE._serialized_end=
|
|
44
|
-
_DELETEIMAGEMETADATAREQUEST._serialized_start=
|
|
45
|
-
_DELETEIMAGEMETADATAREQUEST._serialized_end=
|
|
46
|
-
_DELETEIMAGEMETADATARESPONSE._serialized_start=
|
|
47
|
-
_DELETEIMAGEMETADATARESPONSE._serialized_end=
|
|
48
|
-
_IMAGEMETADATAAPI._serialized_start=
|
|
49
|
-
_IMAGEMETADATAAPI._serialized_end=
|
|
27
|
+
_IMAGEMETADATACONFIGS._serialized_end=264
|
|
28
|
+
_LISTALLIMAGEMETADATACONFIGSRESPONSE._serialized_start=266
|
|
29
|
+
_LISTALLIMAGEMETADATACONFIGSRESPONSE._serialized_end=358
|
|
30
|
+
_IMAGEMETADATA._serialized_start=361
|
|
31
|
+
_IMAGEMETADATA._serialized_end=579
|
|
32
|
+
_GETIMAGEMETADATABYIMAGEIDREQUEST._serialized_start=581
|
|
33
|
+
_GETIMAGEMETADATABYIMAGEIDREQUEST._serialized_end=633
|
|
34
|
+
_GETIMAGEMETADATABYIMAGEIDRESPONSE._serialized_start=635
|
|
35
|
+
_GETIMAGEMETADATABYIMAGEIDRESPONSE._serialized_end=710
|
|
36
|
+
_CREATEIMAGEMETADATAREQUEST._serialized_start=712
|
|
37
|
+
_CREATEIMAGEMETADATAREQUEST._serialized_end=795
|
|
38
|
+
_CREATEIMAGEMETADATARESPONSE._serialized_start=797
|
|
39
|
+
_CREATEIMAGEMETADATARESPONSE._serialized_end=872
|
|
40
|
+
_UPDATEIMAGEMETADATAREQUEST._serialized_start=874
|
|
41
|
+
_UPDATEIMAGEMETADATAREQUEST._serialized_end=957
|
|
42
|
+
_UPDATEIMAGEMETADATARESPONSE._serialized_start=959
|
|
43
|
+
_UPDATEIMAGEMETADATARESPONSE._serialized_end=1034
|
|
44
|
+
_DELETEIMAGEMETADATAREQUEST._serialized_start=1036
|
|
45
|
+
_DELETEIMAGEMETADATAREQUEST._serialized_end=1076
|
|
46
|
+
_DELETEIMAGEMETADATARESPONSE._serialized_start=1078
|
|
47
|
+
_DELETEIMAGEMETADATARESPONSE._serialized_end=1141
|
|
48
|
+
_IMAGEMETADATAAPI._serialized_start=1144
|
|
49
|
+
_IMAGEMETADATAAPI._serialized_end=1601
|
|
50
50
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -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\"\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\
|
|
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\"2\n\x1eListImageScansByImageIdRequest\x12\x10\n\x08image_id\x18\x01 \x01(\x05\"B\n\x1fListImageScansByImageIdResponse\x12\x1f\n\x0bimage_scans\x18\x01 \x03(\x0b\x32\n.ImageScan\"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\x87\x02\n\x0cImageScanApi\x12\\\n\x17ListImageScansByImageId\x12\x1f.ListImageScansByImageIdRequest\x1a .ListImageScansByImageIdResponse\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())
|
|
@@ -24,14 +24,18 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
24
24
|
DESCRIPTOR._options = None
|
|
25
25
|
_IMAGESCAN._serialized_start=131
|
|
26
26
|
_IMAGESCAN._serialized_end=446
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
27
|
+
_LISTIMAGESCANSBYIMAGEIDREQUEST._serialized_start=448
|
|
28
|
+
_LISTIMAGESCANSBYIMAGEIDREQUEST._serialized_end=498
|
|
29
|
+
_LISTIMAGESCANSBYIMAGEIDRESPONSE._serialized_start=500
|
|
30
|
+
_LISTIMAGESCANSBYIMAGEIDRESPONSE._serialized_end=566
|
|
31
|
+
_CREATEANDSTARTIMAGESCANREQUEST._serialized_start=568
|
|
32
|
+
_CREATEANDSTARTIMAGESCANREQUEST._serialized_end=637
|
|
33
|
+
_CREATEANDSTARTIMAGESCANRESPONSE._serialized_start=639
|
|
34
|
+
_CREATEANDSTARTIMAGESCANRESPONSE._serialized_end=718
|
|
35
|
+
_ENDIMAGESCANREQUEST._serialized_start=720
|
|
36
|
+
_ENDIMAGESCANREQUEST._serialized_end=778
|
|
37
|
+
_ENDIMAGESCANRESPONSE._serialized_start=780
|
|
38
|
+
_ENDIMAGESCANRESPONSE._serialized_end=848
|
|
39
|
+
_IMAGESCANAPI._serialized_start=851
|
|
40
|
+
_IMAGESCANAPI._serialized_end=1114
|
|
37
41
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -14,6 +14,11 @@ class ImageScanApiStub(object):
|
|
|
14
14
|
Args:
|
|
15
15
|
channel: A grpc.Channel.
|
|
16
16
|
"""
|
|
17
|
+
self.ListImageScansByImageId = channel.unary_unary(
|
|
18
|
+
'/ImageScanApi/ListImageScansByImageId',
|
|
19
|
+
request_serializer=global__vo__grpc__service_dot_protos_dot_image__scan__api__pb2.ListImageScansByImageIdRequest.SerializeToString,
|
|
20
|
+
response_deserializer=global__vo__grpc__service_dot_protos_dot_image__scan__api__pb2.ListImageScansByImageIdResponse.FromString,
|
|
21
|
+
)
|
|
17
22
|
self.CreateAndStartImageScan = channel.unary_unary(
|
|
18
23
|
'/ImageScanApi/CreateAndStartImageScan',
|
|
19
24
|
request_serializer=global__vo__grpc__service_dot_protos_dot_image__scan__api__pb2.CreateAndStartImageScanRequest.SerializeToString,
|
|
@@ -29,6 +34,12 @@ class ImageScanApiStub(object):
|
|
|
29
34
|
class ImageScanApiServicer(object):
|
|
30
35
|
"""Missing associated documentation comment in .proto file."""
|
|
31
36
|
|
|
37
|
+
def ListImageScansByImageId(self, request, context):
|
|
38
|
+
"""Missing associated documentation comment in .proto file."""
|
|
39
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
40
|
+
context.set_details('Method not implemented!')
|
|
41
|
+
raise NotImplementedError('Method not implemented!')
|
|
42
|
+
|
|
32
43
|
def CreateAndStartImageScan(self, request, context):
|
|
33
44
|
"""Missing associated documentation comment in .proto file."""
|
|
34
45
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
@@ -44,6 +55,11 @@ class ImageScanApiServicer(object):
|
|
|
44
55
|
|
|
45
56
|
def add_ImageScanApiServicer_to_server(servicer, server):
|
|
46
57
|
rpc_method_handlers = {
|
|
58
|
+
'ListImageScansByImageId': grpc.unary_unary_rpc_method_handler(
|
|
59
|
+
servicer.ListImageScansByImageId,
|
|
60
|
+
request_deserializer=global__vo__grpc__service_dot_protos_dot_image__scan__api__pb2.ListImageScansByImageIdRequest.FromString,
|
|
61
|
+
response_serializer=global__vo__grpc__service_dot_protos_dot_image__scan__api__pb2.ListImageScansByImageIdResponse.SerializeToString,
|
|
62
|
+
),
|
|
47
63
|
'CreateAndStartImageScan': grpc.unary_unary_rpc_method_handler(
|
|
48
64
|
servicer.CreateAndStartImageScan,
|
|
49
65
|
request_deserializer=global__vo__grpc__service_dot_protos_dot_image__scan__api__pb2.CreateAndStartImageScanRequest.FromString,
|
|
@@ -64,6 +80,23 @@ def add_ImageScanApiServicer_to_server(servicer, server):
|
|
|
64
80
|
class ImageScanApi(object):
|
|
65
81
|
"""Missing associated documentation comment in .proto file."""
|
|
66
82
|
|
|
83
|
+
@staticmethod
|
|
84
|
+
def ListImageScansByImageId(request,
|
|
85
|
+
target,
|
|
86
|
+
options=(),
|
|
87
|
+
channel_credentials=None,
|
|
88
|
+
call_credentials=None,
|
|
89
|
+
insecure=False,
|
|
90
|
+
compression=None,
|
|
91
|
+
wait_for_ready=None,
|
|
92
|
+
timeout=None,
|
|
93
|
+
metadata=None):
|
|
94
|
+
return grpc.experimental.unary_unary(request, target, '/ImageScanApi/ListImageScansByImageId',
|
|
95
|
+
global__vo__grpc__service_dot_protos_dot_image__scan__api__pb2.ListImageScansByImageIdRequest.SerializeToString,
|
|
96
|
+
global__vo__grpc__service_dot_protos_dot_image__scan__api__pb2.ListImageScansByImageIdResponse.FromString,
|
|
97
|
+
options, channel_credentials,
|
|
98
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
99
|
+
|
|
67
100
|
@staticmethod
|
|
68
101
|
def CreateAndStartImageScan(request,
|
|
69
102
|
target,
|
|
@@ -0,0 +1,45 @@
|
|
|
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
|
+
from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n8global_vo_grpc_service/protos/model_assessment_api.proto\x1a.global_vo_grpc_service/protos/source_api.proto\x1a\x1bgoogle/protobuf/empty.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.ModelScoreThreshold\"F\n\x18GetAssessmentDataRequest\x12\x15\n\rmodel_version\x18\x01 \x01(\t\x12\x13\n\x0b\x63onfig_type\x18\x02 \x01(\t\"\xc2\x01\n\x16ModelAssessmentMetrics\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x11\n\tprecision\x18\x03 \x01(\x01\x12\x16\n\x0eprecision_lo95\x18\x04 \x01(\x01\x12\x16\n\x0eprecision_hi95\x18\x05 \x01(\x01\x12\x0e\n\x06recall\x18\x06 \x01(\x01\x12\x11\n\tmiss_rate\x18\x07 \x01(\x01\x12\x0f\n\x07\x66p_rate\x18\x08 \x01(\x01\x12\x17\n\x0fscore_threshold\x18\t \x01(\x01\"V\n\x19GetAssessmentDataResponse\x12\x39\n\x18model_assessment_metrics\x18\x01 \x03(\x0b\x32\x17.ModelAssessmentMetrics\"7\n\x1dGetAssessmentVersionsResponse\x12\x16\n\x0emodel_versions\x18\x01 \x03(\t2\x92\x02\n\x12ModelAssessmentApi\x12_\n\x18ListModelScoreThresholds\x12 .ListModelScoreThresholdsRequest\x1a!.ListModelScoreThresholdsResponse\x12J\n\x11GetAssessmentData\x12\x19.GetAssessmentDataRequest\x1a\x1a.GetAssessmentDataResponse\x12O\n\x15GetAssessmentVersions\x12\x16.google.protobuf.Empty\x1a\x1e.GetAssessmentVersionsResponseb\x06proto3')
|
|
19
|
+
|
|
20
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
|
|
21
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'global_vo_grpc_service.protos.model_assessment_api_pb2', globals())
|
|
22
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
23
|
+
|
|
24
|
+
DESCRIPTOR._options = None
|
|
25
|
+
_MODELSCORETHRESHOLD_SCORETHRESHOLDSENTRY._options = None
|
|
26
|
+
_MODELSCORETHRESHOLD_SCORETHRESHOLDSENTRY._serialized_options = b'8\001'
|
|
27
|
+
_LISTMODELSCORETHRESHOLDSREQUEST._serialized_start=137
|
|
28
|
+
_LISTMODELSCORETHRESHOLDSREQUEST._serialized_end=191
|
|
29
|
+
_MODELSCORETHRESHOLD._serialized_start=194
|
|
30
|
+
_MODELSCORETHRESHOLD._serialized_end=365
|
|
31
|
+
_MODELSCORETHRESHOLD_SCORETHRESHOLDSENTRY._serialized_start=311
|
|
32
|
+
_MODELSCORETHRESHOLD_SCORETHRESHOLDSENTRY._serialized_end=365
|
|
33
|
+
_LISTMODELSCORETHRESHOLDSRESPONSE._serialized_start=367
|
|
34
|
+
_LISTMODELSCORETHRESHOLDSRESPONSE._serialized_end=455
|
|
35
|
+
_GETASSESSMENTDATAREQUEST._serialized_start=457
|
|
36
|
+
_GETASSESSMENTDATAREQUEST._serialized_end=527
|
|
37
|
+
_MODELASSESSMENTMETRICS._serialized_start=530
|
|
38
|
+
_MODELASSESSMENTMETRICS._serialized_end=724
|
|
39
|
+
_GETASSESSMENTDATARESPONSE._serialized_start=726
|
|
40
|
+
_GETASSESSMENTDATARESPONSE._serialized_end=812
|
|
41
|
+
_GETASSESSMENTVERSIONSRESPONSE._serialized_start=814
|
|
42
|
+
_GETASSESSMENTVERSIONSRESPONSE._serialized_end=869
|
|
43
|
+
_MODELASSESSMENTAPI._serialized_start=872
|
|
44
|
+
_MODELASSESSMENTAPI._serialized_end=1146
|
|
45
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,133 @@
|
|
|
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
|
+
from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class ModelAssessmentApiStub(object):
|
|
10
|
+
"""Missing associated documentation comment in .proto file."""
|
|
11
|
+
|
|
12
|
+
def __init__(self, channel):
|
|
13
|
+
"""Constructor.
|
|
14
|
+
|
|
15
|
+
Args:
|
|
16
|
+
channel: A grpc.Channel.
|
|
17
|
+
"""
|
|
18
|
+
self.ListModelScoreThresholds = channel.unary_unary(
|
|
19
|
+
'/ModelAssessmentApi/ListModelScoreThresholds',
|
|
20
|
+
request_serializer=global__vo__grpc__service_dot_protos_dot_model__assessment__api__pb2.ListModelScoreThresholdsRequest.SerializeToString,
|
|
21
|
+
response_deserializer=global__vo__grpc__service_dot_protos_dot_model__assessment__api__pb2.ListModelScoreThresholdsResponse.FromString,
|
|
22
|
+
)
|
|
23
|
+
self.GetAssessmentData = channel.unary_unary(
|
|
24
|
+
'/ModelAssessmentApi/GetAssessmentData',
|
|
25
|
+
request_serializer=global__vo__grpc__service_dot_protos_dot_model__assessment__api__pb2.GetAssessmentDataRequest.SerializeToString,
|
|
26
|
+
response_deserializer=global__vo__grpc__service_dot_protos_dot_model__assessment__api__pb2.GetAssessmentDataResponse.FromString,
|
|
27
|
+
)
|
|
28
|
+
self.GetAssessmentVersions = channel.unary_unary(
|
|
29
|
+
'/ModelAssessmentApi/GetAssessmentVersions',
|
|
30
|
+
request_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
|
31
|
+
response_deserializer=global__vo__grpc__service_dot_protos_dot_model__assessment__api__pb2.GetAssessmentVersionsResponse.FromString,
|
|
32
|
+
)
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
class ModelAssessmentApiServicer(object):
|
|
36
|
+
"""Missing associated documentation comment in .proto file."""
|
|
37
|
+
|
|
38
|
+
def ListModelScoreThresholds(self, request, context):
|
|
39
|
+
"""Missing associated documentation comment in .proto file."""
|
|
40
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
41
|
+
context.set_details('Method not implemented!')
|
|
42
|
+
raise NotImplementedError('Method not implemented!')
|
|
43
|
+
|
|
44
|
+
def GetAssessmentData(self, request, context):
|
|
45
|
+
"""Missing associated documentation comment in .proto file."""
|
|
46
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
47
|
+
context.set_details('Method not implemented!')
|
|
48
|
+
raise NotImplementedError('Method not implemented!')
|
|
49
|
+
|
|
50
|
+
def GetAssessmentVersions(self, request, context):
|
|
51
|
+
"""Missing associated documentation comment in .proto file."""
|
|
52
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
53
|
+
context.set_details('Method not implemented!')
|
|
54
|
+
raise NotImplementedError('Method not implemented!')
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
def add_ModelAssessmentApiServicer_to_server(servicer, server):
|
|
58
|
+
rpc_method_handlers = {
|
|
59
|
+
'ListModelScoreThresholds': grpc.unary_unary_rpc_method_handler(
|
|
60
|
+
servicer.ListModelScoreThresholds,
|
|
61
|
+
request_deserializer=global__vo__grpc__service_dot_protos_dot_model__assessment__api__pb2.ListModelScoreThresholdsRequest.FromString,
|
|
62
|
+
response_serializer=global__vo__grpc__service_dot_protos_dot_model__assessment__api__pb2.ListModelScoreThresholdsResponse.SerializeToString,
|
|
63
|
+
),
|
|
64
|
+
'GetAssessmentData': grpc.unary_unary_rpc_method_handler(
|
|
65
|
+
servicer.GetAssessmentData,
|
|
66
|
+
request_deserializer=global__vo__grpc__service_dot_protos_dot_model__assessment__api__pb2.GetAssessmentDataRequest.FromString,
|
|
67
|
+
response_serializer=global__vo__grpc__service_dot_protos_dot_model__assessment__api__pb2.GetAssessmentDataResponse.SerializeToString,
|
|
68
|
+
),
|
|
69
|
+
'GetAssessmentVersions': grpc.unary_unary_rpc_method_handler(
|
|
70
|
+
servicer.GetAssessmentVersions,
|
|
71
|
+
request_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
|
72
|
+
response_serializer=global__vo__grpc__service_dot_protos_dot_model__assessment__api__pb2.GetAssessmentVersionsResponse.SerializeToString,
|
|
73
|
+
),
|
|
74
|
+
}
|
|
75
|
+
generic_handler = grpc.method_handlers_generic_handler(
|
|
76
|
+
'ModelAssessmentApi', rpc_method_handlers)
|
|
77
|
+
server.add_generic_rpc_handlers((generic_handler,))
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
# This class is part of an EXPERIMENTAL API.
|
|
81
|
+
class ModelAssessmentApi(object):
|
|
82
|
+
"""Missing associated documentation comment in .proto file."""
|
|
83
|
+
|
|
84
|
+
@staticmethod
|
|
85
|
+
def ListModelScoreThresholds(request,
|
|
86
|
+
target,
|
|
87
|
+
options=(),
|
|
88
|
+
channel_credentials=None,
|
|
89
|
+
call_credentials=None,
|
|
90
|
+
insecure=False,
|
|
91
|
+
compression=None,
|
|
92
|
+
wait_for_ready=None,
|
|
93
|
+
timeout=None,
|
|
94
|
+
metadata=None):
|
|
95
|
+
return grpc.experimental.unary_unary(request, target, '/ModelAssessmentApi/ListModelScoreThresholds',
|
|
96
|
+
global__vo__grpc__service_dot_protos_dot_model__assessment__api__pb2.ListModelScoreThresholdsRequest.SerializeToString,
|
|
97
|
+
global__vo__grpc__service_dot_protos_dot_model__assessment__api__pb2.ListModelScoreThresholdsResponse.FromString,
|
|
98
|
+
options, channel_credentials,
|
|
99
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
100
|
+
|
|
101
|
+
@staticmethod
|
|
102
|
+
def GetAssessmentData(request,
|
|
103
|
+
target,
|
|
104
|
+
options=(),
|
|
105
|
+
channel_credentials=None,
|
|
106
|
+
call_credentials=None,
|
|
107
|
+
insecure=False,
|
|
108
|
+
compression=None,
|
|
109
|
+
wait_for_ready=None,
|
|
110
|
+
timeout=None,
|
|
111
|
+
metadata=None):
|
|
112
|
+
return grpc.experimental.unary_unary(request, target, '/ModelAssessmentApi/GetAssessmentData',
|
|
113
|
+
global__vo__grpc__service_dot_protos_dot_model__assessment__api__pb2.GetAssessmentDataRequest.SerializeToString,
|
|
114
|
+
global__vo__grpc__service_dot_protos_dot_model__assessment__api__pb2.GetAssessmentDataResponse.FromString,
|
|
115
|
+
options, channel_credentials,
|
|
116
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
117
|
+
|
|
118
|
+
@staticmethod
|
|
119
|
+
def GetAssessmentVersions(request,
|
|
120
|
+
target,
|
|
121
|
+
options=(),
|
|
122
|
+
channel_credentials=None,
|
|
123
|
+
call_credentials=None,
|
|
124
|
+
insecure=False,
|
|
125
|
+
compression=None,
|
|
126
|
+
wait_for_ready=None,
|
|
127
|
+
timeout=None,
|
|
128
|
+
metadata=None):
|
|
129
|
+
return grpc.experimental.unary_unary(request, target, '/ModelAssessmentApi/GetAssessmentVersions',
|
|
130
|
+
google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
|
131
|
+
global__vo__grpc__service_dot_protos_dot_model__assessment__api__pb2.GetAssessmentVersionsResponse.FromString,
|
|
132
|
+
options, channel_credentials,
|
|
133
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: global_vo_grpc_service/protos/product_changelog_api.proto
|
|
4
|
+
"""Generated protocol buffer code."""
|
|
5
|
+
from google.protobuf.internal import builder as _builder
|
|
6
|
+
from google.protobuf import descriptor as _descriptor
|
|
7
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
8
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
9
|
+
# @@protoc_insertion_point(imports)
|
|
10
|
+
|
|
11
|
+
_sym_db = _symbol_database.Default()
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
15
|
+
from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
|
|
16
|
+
from global_vo_grpc_service.protos import utils_pb2 as global__vo__grpc__service_dot_protos_dot_utils__pb2
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n9global_vo_grpc_service/protos/product_changelog_api.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a)global_vo_grpc_service/protos/utils.proto\"\xd4\x01\n\x10ProductChangelog\x12\n\n\x02id\x18\x01 \x01(\x05\x12\r\n\x05title\x18\x02 \x01(\t\x12\x0f\n\x07\x63ontent\x18\x03 \x01(\t\x12\x0c\n\x04type\x18\x04 \x01(\t\x12.\n\ncreated_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\ncreated_by\x18\x06 \x01(\x05\x12.\n\nupdated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\nupdated_by\x18\x08 \x01(\x05\"N\n\x1dListProductChangelogsResponse\x12-\n\x12product_changelogs\x18\x01 \x03(\x0b\x32\x11.ProductChangelog\"M\n\x1d\x43reateProductChangelogRequest\x12\r\n\x05title\x18\x01 \x01(\t\x12\x0f\n\x07\x63ontent\x18\x02 \x01(\t\x12\x0c\n\x04type\x18\x03 \x01(\t\"N\n\x1e\x43reateProductChangelogResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\n\n\x02id\x18\x02 \x01(\x05\"Y\n\x1dUpdateProductChangelogRequest\x12\n\n\x02id\x18\x01 \x01(\x05\x12\r\n\x05title\x18\x02 \x01(\t\x12\x0f\n\x07\x63ontent\x18\x03 \x01(\t\x12\x0c\n\x04type\x18\x04 \x01(\t\"N\n\x1eUpdateProductChangelogResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\n\n\x02id\x18\x02 \x01(\x05\"+\n\x1d\x44\x65leteProductChangelogRequest\x12\n\n\x02id\x18\x01 \x01(\x05\"B\n\x1e\x44\x65leteProductChangelogResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType2\xf7\x02\n\x13ProductChangelogApi\x12O\n\x15ListProductChangelogs\x12\x16.google.protobuf.Empty\x1a\x1e.ListProductChangelogsResponse\x12Y\n\x16\x43reateProductChangelog\x12\x1e.CreateProductChangelogRequest\x1a\x1f.CreateProductChangelogResponse\x12Y\n\x16UpdateProductChangelog\x12\x1e.UpdateProductChangelogRequest\x1a\x1f.UpdateProductChangelogResponse\x12Y\n\x16\x44\x65leteProductChangelog\x12\x1e.DeleteProductChangelogRequest\x1a\x1f.DeleteProductChangelogResponseb\x06proto3')
|
|
20
|
+
|
|
21
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
|
|
22
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'global_vo_grpc_service.protos.product_changelog_api_pb2', globals())
|
|
23
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
24
|
+
|
|
25
|
+
DESCRIPTOR._options = None
|
|
26
|
+
_PRODUCTCHANGELOG._serialized_start=167
|
|
27
|
+
_PRODUCTCHANGELOG._serialized_end=379
|
|
28
|
+
_LISTPRODUCTCHANGELOGSRESPONSE._serialized_start=381
|
|
29
|
+
_LISTPRODUCTCHANGELOGSRESPONSE._serialized_end=459
|
|
30
|
+
_CREATEPRODUCTCHANGELOGREQUEST._serialized_start=461
|
|
31
|
+
_CREATEPRODUCTCHANGELOGREQUEST._serialized_end=538
|
|
32
|
+
_CREATEPRODUCTCHANGELOGRESPONSE._serialized_start=540
|
|
33
|
+
_CREATEPRODUCTCHANGELOGRESPONSE._serialized_end=618
|
|
34
|
+
_UPDATEPRODUCTCHANGELOGREQUEST._serialized_start=620
|
|
35
|
+
_UPDATEPRODUCTCHANGELOGREQUEST._serialized_end=709
|
|
36
|
+
_UPDATEPRODUCTCHANGELOGRESPONSE._serialized_start=711
|
|
37
|
+
_UPDATEPRODUCTCHANGELOGRESPONSE._serialized_end=789
|
|
38
|
+
_DELETEPRODUCTCHANGELOGREQUEST._serialized_start=791
|
|
39
|
+
_DELETEPRODUCTCHANGELOGREQUEST._serialized_end=834
|
|
40
|
+
_DELETEPRODUCTCHANGELOGRESPONSE._serialized_start=836
|
|
41
|
+
_DELETEPRODUCTCHANGELOGRESPONSE._serialized_end=902
|
|
42
|
+
_PRODUCTCHANGELOGAPI._serialized_start=905
|
|
43
|
+
_PRODUCTCHANGELOGAPI._serialized_end=1280
|
|
44
|
+
# @@protoc_insertion_point(module_scope)
|