fsai-proto-specs 0.0.388__py3-none-any.whl → 0.0.397__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.388.dist-info → fsai_proto_specs-0.0.397.dist-info}/METADATA +1 -1
- {fsai_proto_specs-0.0.388.dist-info → fsai_proto_specs-0.0.397.dist-info}/RECORD +16 -12
- 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/detection_instance_api_pb2.py +100 -100
- global_vo_grpc_service/protos/image_metadata_api_pb2.py +24 -24
- global_vo_grpc_service/protos/model_assessment_api_pb2.py +20 -17
- global_vo_grpc_service/protos/model_assessment_api_pb2_grpc.py +34 -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/utils_pb2.py +16 -16
- global_vo_grpc_service/protos/workflow_api_pb2.py +7 -3
- global_vo_grpc_service/protos/workflow_api_pb2_grpc.py +33 -0
- search_grpc_service/protos/search_api_pb2.py +3 -7
- search_grpc_service/protos/search_api_pb2_grpc.py +0 -33
- {fsai_proto_specs-0.0.388.dist-info → fsai_proto_specs-0.0.397.dist-info}/WHEEL +0 -0
|
@@ -16,7 +16,7 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__
|
|
|
16
16
|
from global_vo_grpc_service.protos import utils_pb2 as global__vo__grpc__service_dot_protos_dot_utils__pb2
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\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)
|
|
@@ -12,9 +12,10 @@ _sym_db = _symbol_database.Default()
|
|
|
12
12
|
|
|
13
13
|
|
|
14
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
|
|
15
16
|
|
|
16
17
|
|
|
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.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.
|
|
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')
|
|
18
19
|
|
|
19
20
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
|
|
20
21
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'global_vo_grpc_service.protos.model_assessment_api_pb2', globals())
|
|
@@ -23,20 +24,22 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
23
24
|
DESCRIPTOR._options = None
|
|
24
25
|
_MODELSCORETHRESHOLD_SCORETHRESHOLDSENTRY._options = None
|
|
25
26
|
_MODELSCORETHRESHOLD_SCORETHRESHOLDSENTRY._serialized_options = b'8\001'
|
|
26
|
-
_LISTMODELSCORETHRESHOLDSREQUEST._serialized_start=
|
|
27
|
-
_LISTMODELSCORETHRESHOLDSREQUEST._serialized_end=
|
|
28
|
-
_MODELSCORETHRESHOLD._serialized_start=
|
|
29
|
-
_MODELSCORETHRESHOLD._serialized_end=
|
|
30
|
-
_MODELSCORETHRESHOLD_SCORETHRESHOLDSENTRY._serialized_start=
|
|
31
|
-
_MODELSCORETHRESHOLD_SCORETHRESHOLDSENTRY._serialized_end=
|
|
32
|
-
_LISTMODELSCORETHRESHOLDSRESPONSE._serialized_start=
|
|
33
|
-
_LISTMODELSCORETHRESHOLDSRESPONSE._serialized_end=
|
|
34
|
-
_GETASSESSMENTDATAREQUEST._serialized_start=
|
|
35
|
-
_GETASSESSMENTDATAREQUEST._serialized_end=
|
|
36
|
-
_MODELASSESSMENTMETRICS._serialized_start=
|
|
37
|
-
_MODELASSESSMENTMETRICS._serialized_end=
|
|
38
|
-
_GETASSESSMENTDATARESPONSE._serialized_start=
|
|
39
|
-
_GETASSESSMENTDATARESPONSE._serialized_end=
|
|
40
|
-
|
|
41
|
-
|
|
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
|
|
42
45
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
import grpc
|
|
4
4
|
|
|
5
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
|
|
6
7
|
|
|
7
8
|
|
|
8
9
|
class ModelAssessmentApiStub(object):
|
|
@@ -24,6 +25,11 @@ class ModelAssessmentApiStub(object):
|
|
|
24
25
|
request_serializer=global__vo__grpc__service_dot_protos_dot_model__assessment__api__pb2.GetAssessmentDataRequest.SerializeToString,
|
|
25
26
|
response_deserializer=global__vo__grpc__service_dot_protos_dot_model__assessment__api__pb2.GetAssessmentDataResponse.FromString,
|
|
26
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
|
+
)
|
|
27
33
|
|
|
28
34
|
|
|
29
35
|
class ModelAssessmentApiServicer(object):
|
|
@@ -41,6 +47,12 @@ class ModelAssessmentApiServicer(object):
|
|
|
41
47
|
context.set_details('Method not implemented!')
|
|
42
48
|
raise NotImplementedError('Method not implemented!')
|
|
43
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
|
+
|
|
44
56
|
|
|
45
57
|
def add_ModelAssessmentApiServicer_to_server(servicer, server):
|
|
46
58
|
rpc_method_handlers = {
|
|
@@ -54,6 +66,11 @@ def add_ModelAssessmentApiServicer_to_server(servicer, server):
|
|
|
54
66
|
request_deserializer=global__vo__grpc__service_dot_protos_dot_model__assessment__api__pb2.GetAssessmentDataRequest.FromString,
|
|
55
67
|
response_serializer=global__vo__grpc__service_dot_protos_dot_model__assessment__api__pb2.GetAssessmentDataResponse.SerializeToString,
|
|
56
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
|
+
),
|
|
57
74
|
}
|
|
58
75
|
generic_handler = grpc.method_handlers_generic_handler(
|
|
59
76
|
'ModelAssessmentApi', rpc_method_handlers)
|
|
@@ -97,3 +114,20 @@ class ModelAssessmentApi(object):
|
|
|
97
114
|
global__vo__grpc__service_dot_protos_dot_model__assessment__api__pb2.GetAssessmentDataResponse.FromString,
|
|
98
115
|
options, channel_credentials,
|
|
99
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)
|
|
@@ -0,0 +1,166 @@
|
|
|
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 product_changelog_api_pb2 as global__vo__grpc__service_dot_protos_dot_product__changelog__api__pb2
|
|
6
|
+
from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class ProductChangelogApiStub(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.ListProductChangelogs = channel.unary_unary(
|
|
19
|
+
'/ProductChangelogApi/ListProductChangelogs',
|
|
20
|
+
request_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
|
21
|
+
response_deserializer=global__vo__grpc__service_dot_protos_dot_product__changelog__api__pb2.ListProductChangelogsResponse.FromString,
|
|
22
|
+
)
|
|
23
|
+
self.CreateProductChangelog = channel.unary_unary(
|
|
24
|
+
'/ProductChangelogApi/CreateProductChangelog',
|
|
25
|
+
request_serializer=global__vo__grpc__service_dot_protos_dot_product__changelog__api__pb2.CreateProductChangelogRequest.SerializeToString,
|
|
26
|
+
response_deserializer=global__vo__grpc__service_dot_protos_dot_product__changelog__api__pb2.CreateProductChangelogResponse.FromString,
|
|
27
|
+
)
|
|
28
|
+
self.UpdateProductChangelog = channel.unary_unary(
|
|
29
|
+
'/ProductChangelogApi/UpdateProductChangelog',
|
|
30
|
+
request_serializer=global__vo__grpc__service_dot_protos_dot_product__changelog__api__pb2.UpdateProductChangelogRequest.SerializeToString,
|
|
31
|
+
response_deserializer=global__vo__grpc__service_dot_protos_dot_product__changelog__api__pb2.UpdateProductChangelogResponse.FromString,
|
|
32
|
+
)
|
|
33
|
+
self.DeleteProductChangelog = channel.unary_unary(
|
|
34
|
+
'/ProductChangelogApi/DeleteProductChangelog',
|
|
35
|
+
request_serializer=global__vo__grpc__service_dot_protos_dot_product__changelog__api__pb2.DeleteProductChangelogRequest.SerializeToString,
|
|
36
|
+
response_deserializer=global__vo__grpc__service_dot_protos_dot_product__changelog__api__pb2.DeleteProductChangelogResponse.FromString,
|
|
37
|
+
)
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
class ProductChangelogApiServicer(object):
|
|
41
|
+
"""Missing associated documentation comment in .proto file."""
|
|
42
|
+
|
|
43
|
+
def ListProductChangelogs(self, request, context):
|
|
44
|
+
"""Missing associated documentation comment in .proto file."""
|
|
45
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
46
|
+
context.set_details('Method not implemented!')
|
|
47
|
+
raise NotImplementedError('Method not implemented!')
|
|
48
|
+
|
|
49
|
+
def CreateProductChangelog(self, request, context):
|
|
50
|
+
"""Missing associated documentation comment in .proto file."""
|
|
51
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
52
|
+
context.set_details('Method not implemented!')
|
|
53
|
+
raise NotImplementedError('Method not implemented!')
|
|
54
|
+
|
|
55
|
+
def UpdateProductChangelog(self, request, context):
|
|
56
|
+
"""Missing associated documentation comment in .proto file."""
|
|
57
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
58
|
+
context.set_details('Method not implemented!')
|
|
59
|
+
raise NotImplementedError('Method not implemented!')
|
|
60
|
+
|
|
61
|
+
def DeleteProductChangelog(self, request, context):
|
|
62
|
+
"""Missing associated documentation comment in .proto file."""
|
|
63
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
64
|
+
context.set_details('Method not implemented!')
|
|
65
|
+
raise NotImplementedError('Method not implemented!')
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
def add_ProductChangelogApiServicer_to_server(servicer, server):
|
|
69
|
+
rpc_method_handlers = {
|
|
70
|
+
'ListProductChangelogs': grpc.unary_unary_rpc_method_handler(
|
|
71
|
+
servicer.ListProductChangelogs,
|
|
72
|
+
request_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
|
73
|
+
response_serializer=global__vo__grpc__service_dot_protos_dot_product__changelog__api__pb2.ListProductChangelogsResponse.SerializeToString,
|
|
74
|
+
),
|
|
75
|
+
'CreateProductChangelog': grpc.unary_unary_rpc_method_handler(
|
|
76
|
+
servicer.CreateProductChangelog,
|
|
77
|
+
request_deserializer=global__vo__grpc__service_dot_protos_dot_product__changelog__api__pb2.CreateProductChangelogRequest.FromString,
|
|
78
|
+
response_serializer=global__vo__grpc__service_dot_protos_dot_product__changelog__api__pb2.CreateProductChangelogResponse.SerializeToString,
|
|
79
|
+
),
|
|
80
|
+
'UpdateProductChangelog': grpc.unary_unary_rpc_method_handler(
|
|
81
|
+
servicer.UpdateProductChangelog,
|
|
82
|
+
request_deserializer=global__vo__grpc__service_dot_protos_dot_product__changelog__api__pb2.UpdateProductChangelogRequest.FromString,
|
|
83
|
+
response_serializer=global__vo__grpc__service_dot_protos_dot_product__changelog__api__pb2.UpdateProductChangelogResponse.SerializeToString,
|
|
84
|
+
),
|
|
85
|
+
'DeleteProductChangelog': grpc.unary_unary_rpc_method_handler(
|
|
86
|
+
servicer.DeleteProductChangelog,
|
|
87
|
+
request_deserializer=global__vo__grpc__service_dot_protos_dot_product__changelog__api__pb2.DeleteProductChangelogRequest.FromString,
|
|
88
|
+
response_serializer=global__vo__grpc__service_dot_protos_dot_product__changelog__api__pb2.DeleteProductChangelogResponse.SerializeToString,
|
|
89
|
+
),
|
|
90
|
+
}
|
|
91
|
+
generic_handler = grpc.method_handlers_generic_handler(
|
|
92
|
+
'ProductChangelogApi', rpc_method_handlers)
|
|
93
|
+
server.add_generic_rpc_handlers((generic_handler,))
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
# This class is part of an EXPERIMENTAL API.
|
|
97
|
+
class ProductChangelogApi(object):
|
|
98
|
+
"""Missing associated documentation comment in .proto file."""
|
|
99
|
+
|
|
100
|
+
@staticmethod
|
|
101
|
+
def ListProductChangelogs(request,
|
|
102
|
+
target,
|
|
103
|
+
options=(),
|
|
104
|
+
channel_credentials=None,
|
|
105
|
+
call_credentials=None,
|
|
106
|
+
insecure=False,
|
|
107
|
+
compression=None,
|
|
108
|
+
wait_for_ready=None,
|
|
109
|
+
timeout=None,
|
|
110
|
+
metadata=None):
|
|
111
|
+
return grpc.experimental.unary_unary(request, target, '/ProductChangelogApi/ListProductChangelogs',
|
|
112
|
+
google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
|
113
|
+
global__vo__grpc__service_dot_protos_dot_product__changelog__api__pb2.ListProductChangelogsResponse.FromString,
|
|
114
|
+
options, channel_credentials,
|
|
115
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
116
|
+
|
|
117
|
+
@staticmethod
|
|
118
|
+
def CreateProductChangelog(request,
|
|
119
|
+
target,
|
|
120
|
+
options=(),
|
|
121
|
+
channel_credentials=None,
|
|
122
|
+
call_credentials=None,
|
|
123
|
+
insecure=False,
|
|
124
|
+
compression=None,
|
|
125
|
+
wait_for_ready=None,
|
|
126
|
+
timeout=None,
|
|
127
|
+
metadata=None):
|
|
128
|
+
return grpc.experimental.unary_unary(request, target, '/ProductChangelogApi/CreateProductChangelog',
|
|
129
|
+
global__vo__grpc__service_dot_protos_dot_product__changelog__api__pb2.CreateProductChangelogRequest.SerializeToString,
|
|
130
|
+
global__vo__grpc__service_dot_protos_dot_product__changelog__api__pb2.CreateProductChangelogResponse.FromString,
|
|
131
|
+
options, channel_credentials,
|
|
132
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
133
|
+
|
|
134
|
+
@staticmethod
|
|
135
|
+
def UpdateProductChangelog(request,
|
|
136
|
+
target,
|
|
137
|
+
options=(),
|
|
138
|
+
channel_credentials=None,
|
|
139
|
+
call_credentials=None,
|
|
140
|
+
insecure=False,
|
|
141
|
+
compression=None,
|
|
142
|
+
wait_for_ready=None,
|
|
143
|
+
timeout=None,
|
|
144
|
+
metadata=None):
|
|
145
|
+
return grpc.experimental.unary_unary(request, target, '/ProductChangelogApi/UpdateProductChangelog',
|
|
146
|
+
global__vo__grpc__service_dot_protos_dot_product__changelog__api__pb2.UpdateProductChangelogRequest.SerializeToString,
|
|
147
|
+
global__vo__grpc__service_dot_protos_dot_product__changelog__api__pb2.UpdateProductChangelogResponse.FromString,
|
|
148
|
+
options, channel_credentials,
|
|
149
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
150
|
+
|
|
151
|
+
@staticmethod
|
|
152
|
+
def DeleteProductChangelog(request,
|
|
153
|
+
target,
|
|
154
|
+
options=(),
|
|
155
|
+
channel_credentials=None,
|
|
156
|
+
call_credentials=None,
|
|
157
|
+
insecure=False,
|
|
158
|
+
compression=None,
|
|
159
|
+
wait_for_ready=None,
|
|
160
|
+
timeout=None,
|
|
161
|
+
metadata=None):
|
|
162
|
+
return grpc.experimental.unary_unary(request, target, '/ProductChangelogApi/DeleteProductChangelog',
|
|
163
|
+
global__vo__grpc__service_dot_protos_dot_product__changelog__api__pb2.DeleteProductChangelogRequest.SerializeToString,
|
|
164
|
+
global__vo__grpc__service_dot_protos_dot_product__changelog__api__pb2.DeleteProductChangelogResponse.FromString,
|
|
165
|
+
options, channel_credentials,
|
|
166
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
@@ -13,29 +13,29 @@ _sym_db = _symbol_database.Default()
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)global_vo_grpc_service/protos/utils.proto\"M\n\x07GeoBbox\x12\x0f\n\x07min_lat\x18\x01 \x01(\x02\x12\x0f\n\x07max_lat\x18\x02 \x01(\x02\x12\x0f\n\x07min_lon\x18\x03 \x01(\x02\x12\x0f\n\x07max_lon\x18\x04 \x01(\x02\"
|
|
16
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)global_vo_grpc_service/protos/utils.proto\"M\n\x07GeoBbox\x12\x0f\n\x07min_lat\x18\x01 \x01(\x02\x12\x0f\n\x07max_lat\x18\x02 \x01(\x02\x12\x0f\n\x07min_lon\x18\x03 \x01(\x02\x12\x0f\n\x07max_lon\x18\x04 \x01(\x02\"3\n\x08GeoPoint\x12\x0b\n\x03lat\x18\x01 \x01(\x02\x12\x0b\n\x03lon\x18\x02 \x01(\x02\x12\r\n\x05score\x18\x03 \x01(\x02\"G\n\tPixelBbox\x12\r\n\x05min_x\x18\x01 \x01(\x02\x12\r\n\x05min_y\x18\x02 \x01(\x02\x12\r\n\x05max_x\x18\x03 \x01(\x02\x12\r\n\x05max_y\x18\x04 \x01(\x02\"\"\n\nPixelPoint\x12\t\n\x01x\x18\x01 \x01(\x02\x12\t\n\x01y\x18\x02 \x01(\x02\"9\n\nPagination\x12\x13\n\x0bpage_number\x18\x01 \x01(\x05\x12\x16\n\x0emax_page_items\x18\x02 \x01(\x05\"X\n\x0cTeamRoleInfo\x12\x0f\n\x07role_id\x18\x01 \x01(\x05\x12\x11\n\trole_name\x18\x02 \x01(\t\x12$\n\x0bpermissions\x18\x03 \x03(\x0b\x32\x0f.PermissionInfo\"y\n\x0ePermissionInfo\x12\x15\n\rpermission_id\x18\x01 \x01(\x05\x12\x17\n\x0fpermission_name\x18\x02 \x01(\t\x12\x1e\n\x16permission_description\x18\x03 \x01(\t\x12\x17\n\x0fpermission_type\x18\x04 \x01(\t\":\n\x0fUserDisplayInfo\x12\n\n\x02id\x18\x01 \x01(\x05\x12\r\n\x05\x66irst\x18\x02 \x01(\t\x12\x0c\n\x04last\x18\x03 \x01(\t*\xc0\x01\n\nChangeType\x12\x17\n\x13UNKNOWN_CHANGE_TYPE\x10\x00\x12\x0b\n\x07\x43REATED\x10\x01\x12\x08\n\x04READ\x10\x02\x12\x0b\n\x07UPDATED\x10\x03\x12\x0b\n\x07\x44\x45LETED\x10\x04\x12\n\n\x06\x45XISTS\x10\x05\x12\r\n\tNOT_FOUND\x10\x06\x12\n\n\x06QUEUED\x10\x07\x12\x0b\n\x07INDEXED\x10\x08\x12\n\n\x06\x43\x41\x43HED\x10\t\x12\x0c\n\x08\x44ISABLED\x10\n\x12\x0b\n\x07\x45NABLED\x10\x0b\x12\r\n\tCOMPLETED\x10\x0c\x62\x06proto3')
|
|
17
17
|
|
|
18
18
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
|
|
19
19
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'global_vo_grpc_service.protos.utils_pb2', globals())
|
|
20
20
|
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
21
21
|
|
|
22
22
|
DESCRIPTOR._options = None
|
|
23
|
-
_CHANGETYPE._serialized_start=
|
|
24
|
-
_CHANGETYPE._serialized_end=
|
|
23
|
+
_CHANGETYPE._serialized_start=619
|
|
24
|
+
_CHANGETYPE._serialized_end=811
|
|
25
25
|
_GEOBBOX._serialized_start=45
|
|
26
26
|
_GEOBBOX._serialized_end=122
|
|
27
27
|
_GEOPOINT._serialized_start=124
|
|
28
|
-
_GEOPOINT._serialized_end=
|
|
29
|
-
_PIXELBBOX._serialized_start=
|
|
30
|
-
_PIXELBBOX._serialized_end=
|
|
31
|
-
_PIXELPOINT._serialized_start=
|
|
32
|
-
_PIXELPOINT._serialized_end=
|
|
33
|
-
_PAGINATION._serialized_start=
|
|
34
|
-
_PAGINATION._serialized_end=
|
|
35
|
-
_TEAMROLEINFO._serialized_start=
|
|
36
|
-
_TEAMROLEINFO._serialized_end=
|
|
37
|
-
_PERMISSIONINFO._serialized_start=
|
|
38
|
-
_PERMISSIONINFO._serialized_end=
|
|
39
|
-
_USERDISPLAYINFO._serialized_start=
|
|
40
|
-
_USERDISPLAYINFO._serialized_end=
|
|
28
|
+
_GEOPOINT._serialized_end=175
|
|
29
|
+
_PIXELBBOX._serialized_start=177
|
|
30
|
+
_PIXELBBOX._serialized_end=248
|
|
31
|
+
_PIXELPOINT._serialized_start=250
|
|
32
|
+
_PIXELPOINT._serialized_end=284
|
|
33
|
+
_PAGINATION._serialized_start=286
|
|
34
|
+
_PAGINATION._serialized_end=343
|
|
35
|
+
_TEAMROLEINFO._serialized_start=345
|
|
36
|
+
_TEAMROLEINFO._serialized_end=433
|
|
37
|
+
_PERMISSIONINFO._serialized_start=435
|
|
38
|
+
_PERMISSIONINFO._serialized_end=556
|
|
39
|
+
_USERDISPLAYINFO._serialized_start=558
|
|
40
|
+
_USERDISPLAYINFO._serialized_end=616
|
|
41
41
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -17,7 +17,7 @@ from global_vo_grpc_service.protos import utils_pb2 as global__vo__grpc__service
|
|
|
17
17
|
from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n0global_vo_grpc_service/protos/workflow_api.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a)global_vo_grpc_service/protos/utils.proto\x1a\x1cgoogle/protobuf/struct.proto\"\xb6\x02\n\x08Workflow\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x12\n\nmission_id\x18\x02 \x01(\x05\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x0c\n\x04type\x18\x04 \x01(\t\x12\x0e\n\x06status\x18\x05 \x01(\t\x12.\n\ncreated_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12)\n\x08metadata\x18\x08 \x01(\x0b\x32\x17.google.protobuf.Struct\x12+\n\nextra_data\x18\t \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x12\n\ncreated_by\x18\n \x01(\x05\x12\x12\n\nupdated_by\x18\x0b \x01(\x05\"8\n\x18ListAllWorkflowsResponse\x12\x1c\n\tworkflows\x18\x01 \x03(\x0b\x32\t.Workflow\">\n\x1fTransitionWorkflowStatusRequest\x12\x1b\n\x08workflow\x18\x01 \x01(\x0b\x32\t.Workflow\"a\n TransitionWorkflowStatusResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x1b\n\x08workflow\x18\x02 \x01(\x0b\x32\t.Workflow\"1\n\x1bGetMissionScanStatusRequest\x12\x12\n\nmission_id\x18\x01 \x01(\x05\"0\n\x1cGetMissionScanStatusResponse\x12\x10\n\x08\x64isabled\x18\x01 \x01(\x08\"6\n\x17QueueMissionScanRequest\x12\x1b\n\x08workflow\x18\x01 \x01(\x0b\x32\t.Workflow\"Y\n\x18QueueMissionScanResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x1b\n\x08workflow\x18\x02 \x01(\x0b\x32\t.Workflow\"`\n\x1eListQueuedMissionScansResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x1c\n\tworkflows\x18\x02 \x03(\x0b\x32\t.Workflow\"6\n\x17ListMissionScansRequest\x12\x1b\n\x08workflow\x18\x01 \x01(\x0b\x32\t.Workflow\"Z\n\x18ListMissionScansResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x1c\n\tworkflows\x18\x02 \x03(\x0b\x32\t.Workflow\"8\n\x19QueueMissionExportRequest\x12\x1b\n\x08workflow\x18\x01 \x01(\x0b\x32\t.Workflow\"[\n\x1aQueueMissionExportResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x1b\n\x08workflow\x18\x02 \x01(\x0b\x32\t.Workflow\"b\n ListQueuedMissionExportsResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x1c\n\tworkflows\x18\x02 \x03(\x0b\x32\t.Workflow\"8\n\x19ListMissionExportsRequest\x12\x1b\n\x08workflow\x18\x01 \x01(\x0b\x32\t.Workflow\"\\\n\x1aListMissionExportsResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x1c\n\tworkflows\x18\x02 \x03(\x0b\x32\t.Workflow\"4\n\x15\x44\x65leteWorkflowRequest\x12\x1b\n\x08workflow\x18\x01 \x01(\x0b\x32\t.Workflow\"W\n\x16\x44\x65leteWorkflowResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x1b\n\x08workflow\x18\x02 \x01(\x0b\x32\t.Workflow\"\x9f\x01\n\x15WorkflowScanAndExport\x12\x12\n\nmission_id\x18\x01 \x01(\x05\x12\x18\n\x10scan_workflow_id\x18\x02 \x01(\x05\x12\x1c\n\x14scan_workflow_status\x18\x03 \x01(\t\x12\x1a\n\x12\x65xport_workflow_id\x18\x04 \x01(\x05\x12\x1e\n\x16\x65xport_workflow_status\x18\x05 \x01(\t\"L\n5ListMostRecentMissionScanAndExportByMissionIdsRequest\x12\x13\n\x0bmission_ids\x18\x01 \x03(\x05\"s\n6ListMostRecentMissionScanAndExportByMissionIdsResponse\x12\x39\n\x19workflow_scan_and_exports\x18\x01 \x03(\x0b\x32\x16.
|
|
20
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n0global_vo_grpc_service/protos/workflow_api.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a)global_vo_grpc_service/protos/utils.proto\x1a\x1cgoogle/protobuf/struct.proto\"\xb6\x02\n\x08Workflow\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x12\n\nmission_id\x18\x02 \x01(\x05\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x0c\n\x04type\x18\x04 \x01(\t\x12\x0e\n\x06status\x18\x05 \x01(\t\x12.\n\ncreated_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12)\n\x08metadata\x18\x08 \x01(\x0b\x32\x17.google.protobuf.Struct\x12+\n\nextra_data\x18\t \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x12\n\ncreated_by\x18\n \x01(\x05\x12\x12\n\nupdated_by\x18\x0b \x01(\x05\"8\n\x18ListAllWorkflowsResponse\x12\x1c\n\tworkflows\x18\x01 \x03(\x0b\x32\t.Workflow\">\n\x1fTransitionWorkflowStatusRequest\x12\x1b\n\x08workflow\x18\x01 \x01(\x0b\x32\t.Workflow\"a\n TransitionWorkflowStatusResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x1b\n\x08workflow\x18\x02 \x01(\x0b\x32\t.Workflow\"1\n\x1bGetMissionScanStatusRequest\x12\x12\n\nmission_id\x18\x01 \x01(\x05\"0\n\x1cGetMissionScanStatusResponse\x12\x10\n\x08\x64isabled\x18\x01 \x01(\x08\"6\n\x17QueueMissionScanRequest\x12\x1b\n\x08workflow\x18\x01 \x01(\x0b\x32\t.Workflow\"Y\n\x18QueueMissionScanResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x1b\n\x08workflow\x18\x02 \x01(\x0b\x32\t.Workflow\"`\n\x1eListQueuedMissionScansResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x1c\n\tworkflows\x18\x02 \x03(\x0b\x32\t.Workflow\"6\n\x17ListMissionScansRequest\x12\x1b\n\x08workflow\x18\x01 \x01(\x0b\x32\t.Workflow\"Z\n\x18ListMissionScansResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x1c\n\tworkflows\x18\x02 \x03(\x0b\x32\t.Workflow\"8\n\x19QueueMissionExportRequest\x12\x1b\n\x08workflow\x18\x01 \x01(\x0b\x32\t.Workflow\"[\n\x1aQueueMissionExportResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x1b\n\x08workflow\x18\x02 \x01(\x0b\x32\t.Workflow\"b\n ListQueuedMissionExportsResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x1c\n\tworkflows\x18\x02 \x03(\x0b\x32\t.Workflow\"8\n\x19ListMissionExportsRequest\x12\x1b\n\x08workflow\x18\x01 \x01(\x0b\x32\t.Workflow\"\\\n\x1aListMissionExportsResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x1c\n\tworkflows\x18\x02 \x03(\x0b\x32\t.Workflow\"4\n\x15\x44\x65leteWorkflowRequest\x12\x1b\n\x08workflow\x18\x01 \x01(\x0b\x32\t.Workflow\"W\n\x16\x44\x65leteWorkflowResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x1b\n\x08workflow\x18\x02 \x01(\x0b\x32\t.Workflow\"\x9f\x01\n\x15WorkflowScanAndExport\x12\x12\n\nmission_id\x18\x01 \x01(\x05\x12\x18\n\x10scan_workflow_id\x18\x02 \x01(\x05\x12\x1c\n\x14scan_workflow_status\x18\x03 \x01(\t\x12\x1a\n\x12\x65xport_workflow_id\x18\x04 \x01(\x05\x12\x1e\n\x16\x65xport_workflow_status\x18\x05 \x01(\t\"L\n5ListMostRecentMissionScanAndExportByMissionIdsRequest\x12\x13\n\x0bmission_ids\x18\x01 \x03(\x05\"s\n6ListMostRecentMissionScanAndExportByMissionIdsResponse\x12\x39\n\x19workflow_scan_and_exports\x18\x01 \x03(\x0b\x32\x16.WorkflowScanAndExport\"D\n.GetMissionScanRecommendationByMissionIdRequest\x12\x12\n\nmission_id\x18\x01 \x01(\x05\"I\n/GetMissionScanRecommendationByMissionIdResponse\x12\x16\n\x0erecommendation\x18\x01 \x01(\x08\x32\xda\x08\n\x0bWorkflowApi\x12\x45\n\x10ListAllWorkflows\x12\x16.google.protobuf.Empty\x1a\x19.ListAllWorkflowsResponse\x12_\n\x18TransitionWorkflowStatus\x12 .TransitionWorkflowStatusRequest\x1a!.TransitionWorkflowStatusResponse\x12\x41\n\x0e\x44\x65leteWorkflow\x12\x16.DeleteWorkflowRequest\x1a\x17.DeleteWorkflowResponse\x12M\n\x12QueueMissionExport\x12\x1a.QueueMissionExportRequest\x1a\x1b.QueueMissionExportResponse\x12U\n\x18ListQueuedMissionExports\x12\x16.google.protobuf.Empty\x1a!.ListQueuedMissionExportsResponse\x12M\n\x12ListMissionExports\x12\x1a.ListMissionExportsRequest\x1a\x1b.ListMissionExportsResponse\x12S\n\x14GetMissionScanStatus\x12\x1c.GetMissionScanStatusRequest\x1a\x1d.GetMissionScanStatusResponse\x12G\n\x10QueueMissionScan\x12\x18.QueueMissionScanRequest\x1a\x19.QueueMissionScanResponse\x12Q\n\x16ListQueuedMissionScans\x12\x16.google.protobuf.Empty\x1a\x1f.ListQueuedMissionScansResponse\x12G\n\x10ListMissionScans\x12\x18.ListMissionScansRequest\x1a\x19.ListMissionScansResponse\x12\x8c\x01\n\'GetMissionScanRecommendationByMissionId\x12/.GetMissionScanRecommendationByMissionIdRequest\x1a\x30.GetMissionScanRecommendationByMissionIdResponse\x12\xa1\x01\n.ListMostRecentMissionScanAndExportByMissionIds\x12\x36.ListMostRecentMissionScanAndExportByMissionIdsRequest\x1a\x37.ListMostRecentMissionScanAndExportByMissionIdsResponseb\x06proto3')
|
|
21
21
|
|
|
22
22
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
|
|
23
23
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'global_vo_grpc_service.protos.workflow_api_pb2', globals())
|
|
@@ -66,6 +66,10 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
66
66
|
_LISTMOSTRECENTMISSIONSCANANDEXPORTBYMISSIONIDSREQUEST._serialized_end=1999
|
|
67
67
|
_LISTMOSTRECENTMISSIONSCANANDEXPORTBYMISSIONIDSRESPONSE._serialized_start=2001
|
|
68
68
|
_LISTMOSTRECENTMISSIONSCANANDEXPORTBYMISSIONIDSRESPONSE._serialized_end=2116
|
|
69
|
-
|
|
70
|
-
|
|
69
|
+
_GETMISSIONSCANRECOMMENDATIONBYMISSIONIDREQUEST._serialized_start=2118
|
|
70
|
+
_GETMISSIONSCANRECOMMENDATIONBYMISSIONIDREQUEST._serialized_end=2186
|
|
71
|
+
_GETMISSIONSCANRECOMMENDATIONBYMISSIONIDRESPONSE._serialized_start=2188
|
|
72
|
+
_GETMISSIONSCANRECOMMENDATIONBYMISSIONIDRESPONSE._serialized_end=2261
|
|
73
|
+
_WORKFLOWAPI._serialized_start=2264
|
|
74
|
+
_WORKFLOWAPI._serialized_end=3378
|
|
71
75
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -67,6 +67,11 @@ class WorkflowApiStub(object):
|
|
|
67
67
|
request_serializer=global__vo__grpc__service_dot_protos_dot_workflow__api__pb2.ListMissionScansRequest.SerializeToString,
|
|
68
68
|
response_deserializer=global__vo__grpc__service_dot_protos_dot_workflow__api__pb2.ListMissionScansResponse.FromString,
|
|
69
69
|
)
|
|
70
|
+
self.GetMissionScanRecommendationByMissionId = channel.unary_unary(
|
|
71
|
+
'/WorkflowApi/GetMissionScanRecommendationByMissionId',
|
|
72
|
+
request_serializer=global__vo__grpc__service_dot_protos_dot_workflow__api__pb2.GetMissionScanRecommendationByMissionIdRequest.SerializeToString,
|
|
73
|
+
response_deserializer=global__vo__grpc__service_dot_protos_dot_workflow__api__pb2.GetMissionScanRecommendationByMissionIdResponse.FromString,
|
|
74
|
+
)
|
|
70
75
|
self.ListMostRecentMissionScanAndExportByMissionIds = channel.unary_unary(
|
|
71
76
|
'/WorkflowApi/ListMostRecentMissionScanAndExportByMissionIds',
|
|
72
77
|
request_serializer=global__vo__grpc__service_dot_protos_dot_workflow__api__pb2.ListMostRecentMissionScanAndExportByMissionIdsRequest.SerializeToString,
|
|
@@ -141,6 +146,12 @@ class WorkflowApiServicer(object):
|
|
|
141
146
|
context.set_details('Method not implemented!')
|
|
142
147
|
raise NotImplementedError('Method not implemented!')
|
|
143
148
|
|
|
149
|
+
def GetMissionScanRecommendationByMissionId(self, request, context):
|
|
150
|
+
"""Missing associated documentation comment in .proto file."""
|
|
151
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
152
|
+
context.set_details('Method not implemented!')
|
|
153
|
+
raise NotImplementedError('Method not implemented!')
|
|
154
|
+
|
|
144
155
|
def ListMostRecentMissionScanAndExportByMissionIds(self, request, context):
|
|
145
156
|
"""Mission exports and scans
|
|
146
157
|
"""
|
|
@@ -201,6 +212,11 @@ def add_WorkflowApiServicer_to_server(servicer, server):
|
|
|
201
212
|
request_deserializer=global__vo__grpc__service_dot_protos_dot_workflow__api__pb2.ListMissionScansRequest.FromString,
|
|
202
213
|
response_serializer=global__vo__grpc__service_dot_protos_dot_workflow__api__pb2.ListMissionScansResponse.SerializeToString,
|
|
203
214
|
),
|
|
215
|
+
'GetMissionScanRecommendationByMissionId': grpc.unary_unary_rpc_method_handler(
|
|
216
|
+
servicer.GetMissionScanRecommendationByMissionId,
|
|
217
|
+
request_deserializer=global__vo__grpc__service_dot_protos_dot_workflow__api__pb2.GetMissionScanRecommendationByMissionIdRequest.FromString,
|
|
218
|
+
response_serializer=global__vo__grpc__service_dot_protos_dot_workflow__api__pb2.GetMissionScanRecommendationByMissionIdResponse.SerializeToString,
|
|
219
|
+
),
|
|
204
220
|
'ListMostRecentMissionScanAndExportByMissionIds': grpc.unary_unary_rpc_method_handler(
|
|
205
221
|
servicer.ListMostRecentMissionScanAndExportByMissionIds,
|
|
206
222
|
request_deserializer=global__vo__grpc__service_dot_protos_dot_workflow__api__pb2.ListMostRecentMissionScanAndExportByMissionIdsRequest.FromString,
|
|
@@ -388,6 +404,23 @@ class WorkflowApi(object):
|
|
|
388
404
|
options, channel_credentials,
|
|
389
405
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
390
406
|
|
|
407
|
+
@staticmethod
|
|
408
|
+
def GetMissionScanRecommendationByMissionId(request,
|
|
409
|
+
target,
|
|
410
|
+
options=(),
|
|
411
|
+
channel_credentials=None,
|
|
412
|
+
call_credentials=None,
|
|
413
|
+
insecure=False,
|
|
414
|
+
compression=None,
|
|
415
|
+
wait_for_ready=None,
|
|
416
|
+
timeout=None,
|
|
417
|
+
metadata=None):
|
|
418
|
+
return grpc.experimental.unary_unary(request, target, '/WorkflowApi/GetMissionScanRecommendationByMissionId',
|
|
419
|
+
global__vo__grpc__service_dot_protos_dot_workflow__api__pb2.GetMissionScanRecommendationByMissionIdRequest.SerializeToString,
|
|
420
|
+
global__vo__grpc__service_dot_protos_dot_workflow__api__pb2.GetMissionScanRecommendationByMissionIdResponse.FromString,
|
|
421
|
+
options, channel_credentials,
|
|
422
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
423
|
+
|
|
391
424
|
@staticmethod
|
|
392
425
|
def ListMostRecentMissionScanAndExportByMissionIds(request,
|
|
393
426
|
target,
|
|
@@ -15,7 +15,7 @@ from global_vo_grpc_service.protos import utils_pb2 as global__vo__grpc__service
|
|
|
15
15
|
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+search_grpc_service/protos/search_api.proto\x1a)global_vo_grpc_service/protos/utils.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"H\n\x1dGetH3AggregatedResultsRequest\x12\x0e\n\x06h3_res\x18\x01 \x01(\x05\x12\x17\n\x0fgeo_polygon_wkt\x18\x02 \x01(\t\"[\n\x12H3AggregatedResult\x12\x0e\n\x06h3_idx\x18\x01 \x01(\t\x12!\n\x19total_detection_instances\x18\x02 \x01(\x05\x12\x12\n\nmax_height\x18\x03 \x01(\x05\"v\n\x1eGetH3AggregatedResultsResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x32\n\x15h3_aggregated_results\x18\x02 \x03(\x0b\x32\x13.H3AggregatedResult\"\'\n\x0bHeightRange\x12\x0b\n\x03min\x18\x01 \x01(\x02\x12\x0b\n\x03max\x18\x02 \x01(\x02\"&\n\nScoreRange\x12\x0b\n\x03min\x18\x01 \x01(\x02\x12\x0b\n\x03max\x18\x02 \x01(\x02\"g\n\tDateRange\x12-\n\tstartDate\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12+\n\x07\x65ndDate\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xcd\x02\n\x0c\x46ilterValues\x12\x14\n\x0c\x63\x61tegory_ids\x18\x01 \x03(\x05\x12\"\n\x0cheight_range\x18\x02 \x01(\x0b\x32\x0c.HeightRange\x12\x0e\n\x06states\x18\x03 \x03(\t\x12 \n\x0bscore_range\x18\x04 \x01(\x0b\x32\x0b.ScoreRange\x12\x16\n\x0e\x63reated_by_ids\x18\x05 \x03(\x05\x12\x16\n\x0eupdated_by_ids\x18\x06 \x03(\x05\x12\x12\n\nmission_id\x18\x07 \x01(\x05\x12\x12\n\nreview_ids\x18\x08 \x03(\x05\x12\x0c\n\x04lock\x18\t \x01(\t\x12$\n\x10updated_at_range\x18\n \x01(\x0b\x32\n.DateRange\x12\x12\n\nvisibility\x18\x0b \x03(\t\x12\x1d\n\x15\x65xclude_from_training\x18\x0c \x01(\t\x12\x12\n\nsource_ids\x18\r \x03(\x05\"1\n\nSortValues\x12\x0f\n\x07sort_by\x18\x01 \x01(\t\x12\x12\n\nsort_order\x18\x02 \x01(\t\"\x8d\x01\n\"GetDetectionInstanceResultsRequest\x12$\n\rfilter_values\x18\x01 \x01(\x0b\x32\r.FilterValues\x12 \n\x0bsort_values\x18\x02 \x01(\x0b\x32\x0b.SortValues\x12\x1f\n\npagination\x18\x03 \x01(\x0b\x32\x0b.Pagination\"\x92\x01\n#GetDetectionInstanceResultsResponse\x12\x1e\n\x16\x64\x65tection_instance_ids\x18\x01 \x03(\x05\x12!\n\x19total_detection_instances\x18\x02 \x01(\x05\x12\x12\n\nquery_time\x18\x03 \x01(\x05\x12\x14\n\x0ctotal_images\x18\x04 \x01(\x05\"c\n&GetLockedDetectionsByCategoryIdRequest\x12\x13\n\x0b\x63\x61tegory_id\x18\x01 \x01(\x05\x12\x11\n\timage_lat\x18\x02 \x01(\x02\x12\x11\n\timage_lon\x18\x03 \x01(\x02\"/\n\x0fLockedDetection\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x10\n\x08image_id\x18\x02 \x01(\x05\"V\n\'GetLockedDetectionsByCategoryIdResponse\x12+\n\x11locked_detections\x18\x01 \x03(\x0b\x32\x10.
|
|
18
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+search_grpc_service/protos/search_api.proto\x1a)global_vo_grpc_service/protos/utils.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"H\n\x1dGetH3AggregatedResultsRequest\x12\x0e\n\x06h3_res\x18\x01 \x01(\x05\x12\x17\n\x0fgeo_polygon_wkt\x18\x02 \x01(\t\"[\n\x12H3AggregatedResult\x12\x0e\n\x06h3_idx\x18\x01 \x01(\t\x12!\n\x19total_detection_instances\x18\x02 \x01(\x05\x12\x12\n\nmax_height\x18\x03 \x01(\x05\"v\n\x1eGetH3AggregatedResultsResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x32\n\x15h3_aggregated_results\x18\x02 \x03(\x0b\x32\x13.H3AggregatedResult\"\'\n\x0bHeightRange\x12\x0b\n\x03min\x18\x01 \x01(\x02\x12\x0b\n\x03max\x18\x02 \x01(\x02\"&\n\nScoreRange\x12\x0b\n\x03min\x18\x01 \x01(\x02\x12\x0b\n\x03max\x18\x02 \x01(\x02\"g\n\tDateRange\x12-\n\tstartDate\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12+\n\x07\x65ndDate\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xcd\x02\n\x0c\x46ilterValues\x12\x14\n\x0c\x63\x61tegory_ids\x18\x01 \x03(\x05\x12\"\n\x0cheight_range\x18\x02 \x01(\x0b\x32\x0c.HeightRange\x12\x0e\n\x06states\x18\x03 \x03(\t\x12 \n\x0bscore_range\x18\x04 \x01(\x0b\x32\x0b.ScoreRange\x12\x16\n\x0e\x63reated_by_ids\x18\x05 \x03(\x05\x12\x16\n\x0eupdated_by_ids\x18\x06 \x03(\x05\x12\x12\n\nmission_id\x18\x07 \x01(\x05\x12\x12\n\nreview_ids\x18\x08 \x03(\x05\x12\x0c\n\x04lock\x18\t \x01(\t\x12$\n\x10updated_at_range\x18\n \x01(\x0b\x32\n.DateRange\x12\x12\n\nvisibility\x18\x0b \x03(\t\x12\x1d\n\x15\x65xclude_from_training\x18\x0c \x01(\t\x12\x12\n\nsource_ids\x18\r \x03(\x05\"1\n\nSortValues\x12\x0f\n\x07sort_by\x18\x01 \x01(\t\x12\x12\n\nsort_order\x18\x02 \x01(\t\"\x8d\x01\n\"GetDetectionInstanceResultsRequest\x12$\n\rfilter_values\x18\x01 \x01(\x0b\x32\r.FilterValues\x12 \n\x0bsort_values\x18\x02 \x01(\x0b\x32\x0b.SortValues\x12\x1f\n\npagination\x18\x03 \x01(\x0b\x32\x0b.Pagination\"\x92\x01\n#GetDetectionInstanceResultsResponse\x12\x1e\n\x16\x64\x65tection_instance_ids\x18\x01 \x03(\x05\x12!\n\x19total_detection_instances\x18\x02 \x01(\x05\x12\x12\n\nquery_time\x18\x03 \x01(\x05\x12\x14\n\x0ctotal_images\x18\x04 \x01(\x05\"c\n&GetLockedDetectionsByCategoryIdRequest\x12\x13\n\x0b\x63\x61tegory_id\x18\x01 \x01(\x05\x12\x11\n\timage_lat\x18\x02 \x01(\x02\x12\x11\n\timage_lon\x18\x03 \x01(\x02\"/\n\x0fLockedDetection\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x10\n\x08image_id\x18\x02 \x01(\x05\"V\n\'GetLockedDetectionsByCategoryIdResponse\x12+\n\x11locked_detections\x18\x01 \x03(\x0b\x32\x10.LockedDetection2\xc6\x02\n\tSearchApi\x12Y\n\x16GetH3AggregatedResults\x12\x1e.GetH3AggregatedResultsRequest\x1a\x1f.GetH3AggregatedResultsResponse\x12h\n\x1bGetDetectionInstanceResults\x12#.GetDetectionInstanceResultsRequest\x1a$.GetDetectionInstanceResultsResponse\x12t\n\x1fGetLockedDetectionsByCategoryId\x12\'.GetLockedDetectionsByCategoryIdRequest\x1a(.GetLockedDetectionsByCategoryIdResponseb\x06proto3')
|
|
19
19
|
|
|
20
20
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
|
|
21
21
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'search_grpc_service.protos.search_api_pb2', globals())
|
|
@@ -48,10 +48,6 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
48
48
|
_LOCKEDDETECTION._serialized_end=1424
|
|
49
49
|
_GETLOCKEDDETECTIONSBYCATEGORYIDRESPONSE._serialized_start=1426
|
|
50
50
|
_GETLOCKEDDETECTIONSBYCATEGORYIDRESPONSE._serialized_end=1512
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
_GETMISSIONSCANRECOMMENDATIONBYMISSIONIDRESPONSE._serialized_start=1584
|
|
54
|
-
_GETMISSIONSCANRECOMMENDATIONBYMISSIONIDRESPONSE._serialized_end=1657
|
|
55
|
-
_SEARCHAPI._serialized_start=1660
|
|
56
|
-
_SEARCHAPI._serialized_end=2129
|
|
51
|
+
_SEARCHAPI._serialized_start=1515
|
|
52
|
+
_SEARCHAPI._serialized_end=1841
|
|
57
53
|
# @@protoc_insertion_point(module_scope)
|