fsai-proto-specs 0.0.405__py3-none-any.whl → 0.0.406__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: fsai-proto-specs
3
- Version: 0.0.405
3
+ Version: 0.0.406
4
4
  Summary: Auto-generated library for use with GRPC API.
5
5
  Home-page: https://github.com/fsai-dev/fsai-proto-specs
6
6
  License: MIT
@@ -118,8 +118,8 @@ search_grpc_service/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSu
118
118
  search_grpc_service/protos/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
119
119
  search_grpc_service/protos/index_api_pb2.py,sha256=6gqbhy6__LQ0nXPbJ_j-I2LIWbYPYm8Z2P5gJ2oV_Ww,4048
120
120
  search_grpc_service/protos/index_api_pb2_grpc.py,sha256=qrtGUh9HpN1wiavtpRCtqkGQonq8aanT3MZfsjWaVCM,10672
121
- search_grpc_service/protos/search_api_pb2.py,sha256=M9ziQ8pQydNhpldCDy_-g9Mrd8ik48Q9olLZtmdcVIE,5243
122
- search_grpc_service/protos/search_api_pb2_grpc.py,sha256=1aRML4YmgvB_2TgjkVD59HKsSHT88pnt7omLL_CnMzA,6870
123
- fsai_proto_specs-0.0.405.dist-info/METADATA,sha256=nC1v9T54oLCvrUpL1PtuDRA_97_PcRJyiPBzx3Asc20,972
124
- fsai_proto_specs-0.0.405.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
125
- fsai_proto_specs-0.0.405.dist-info/RECORD,,
121
+ search_grpc_service/protos/search_api_pb2.py,sha256=Iqz5Z8pFsvhkBcjxgN4HXrtXpCVn3DJJXXMW15m2gdw,5706
122
+ search_grpc_service/protos/search_api_pb2_grpc.py,sha256=3q3RmvDjoXWryYetmFDkgX68Ktk3uzWUdl1DkvfGH80,8771
123
+ fsai_proto_specs-0.0.406.dist-info/METADATA,sha256=7YzaRYHx3megeD8jGwYEoxgaiZjg6iJmkt6a2uHabTY,972
124
+ fsai_proto_specs-0.0.406.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
125
+ fsai_proto_specs-0.0.406.dist-info/RECORD,,
@@ -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.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')
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\"\x89\x01\n\x1eGetDetectionInstanceIdsRequest\x12$\n\rfilter_values\x18\x01 \x01(\x0b\x32\r.FilterValues\x12 \n\x0bsort_values\x18\x02 \x01(\x0b\x32\x0b.SortValues\x12\x1f\n\npagination\x18\x03 \x01(\x0b\x32\x0b.Pagination\"A\n\x1fGetDetectionInstanceIdsResponse\x12\x1e\n\x16\x64\x65tection_instance_ids\x18\x01 \x03(\x05\"I\n!GetDetectionInstanceCountsRequest\x12$\n\rfilter_values\x18\x01 \x01(\x0b\x32\r.FilterValues\"q\n\"GetDetectionInstanceCountsResponse\x12!\n\x19total_detection_instances\x18\x01 \x01(\x05\x12\x12\n\nquery_time\x18\x02 \x01(\x05\x12\x14\n\x0ctotal_images\x18\x03 \x01(\x05\"c\n&GetLockedDetectionsByCategoryIdRequest\x12\x13\n\x0b\x63\x61tegory_id\x18\x01 \x01(\x05\x12\x11\n\timage_lat\x18\x02 \x01(\x02\x12\x11\n\timage_lon\x18\x03 \x01(\x02\"/\n\x0fLockedDetection\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x10\n\x08image_id\x18\x02 \x01(\x05\"V\n\'GetLockedDetectionsByCategoryIdResponse\x12+\n\x11locked_detections\x18\x01 \x03(\x0b\x32\x10.LockedDetection2\xa1\x03\n\tSearchApi\x12Y\n\x16GetH3AggregatedResults\x12\x1e.GetH3AggregatedResultsRequest\x1a\x1f.GetH3AggregatedResultsResponse\x12\\\n\x17GetDetectionInstanceIds\x12\x1f.GetDetectionInstanceIdsRequest\x1a .GetDetectionInstanceIdsResponse\x12\x65\n\x1aGetDetectionInstanceCounts\x12\".GetDetectionInstanceCountsRequest\x1a#.GetDetectionInstanceCountsResponse\x12t\n\x1fGetLockedDetectionsByCategoryId\x12\'.GetLockedDetectionsByCategoryIdRequest\x1a(.GetLockedDetectionsByCategoryIdResponseb\x06proto3')
19
19
 
20
20
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
21
21
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'search_grpc_service.protos.search_api_pb2', globals())
@@ -38,16 +38,20 @@ if _descriptor._USE_C_DESCRIPTORS == False:
38
38
  _FILTERVALUES._serialized_end=930
39
39
  _SORTVALUES._serialized_start=932
40
40
  _SORTVALUES._serialized_end=981
41
- _GETDETECTIONINSTANCERESULTSREQUEST._serialized_start=984
42
- _GETDETECTIONINSTANCERESULTSREQUEST._serialized_end=1125
43
- _GETDETECTIONINSTANCERESULTSRESPONSE._serialized_start=1128
44
- _GETDETECTIONINSTANCERESULTSRESPONSE._serialized_end=1274
45
- _GETLOCKEDDETECTIONSBYCATEGORYIDREQUEST._serialized_start=1276
46
- _GETLOCKEDDETECTIONSBYCATEGORYIDREQUEST._serialized_end=1375
47
- _LOCKEDDETECTION._serialized_start=1377
48
- _LOCKEDDETECTION._serialized_end=1424
49
- _GETLOCKEDDETECTIONSBYCATEGORYIDRESPONSE._serialized_start=1426
50
- _GETLOCKEDDETECTIONSBYCATEGORYIDRESPONSE._serialized_end=1512
51
- _SEARCHAPI._serialized_start=1515
52
- _SEARCHAPI._serialized_end=1841
41
+ _GETDETECTIONINSTANCEIDSREQUEST._serialized_start=984
42
+ _GETDETECTIONINSTANCEIDSREQUEST._serialized_end=1121
43
+ _GETDETECTIONINSTANCEIDSRESPONSE._serialized_start=1123
44
+ _GETDETECTIONINSTANCEIDSRESPONSE._serialized_end=1188
45
+ _GETDETECTIONINSTANCECOUNTSREQUEST._serialized_start=1190
46
+ _GETDETECTIONINSTANCECOUNTSREQUEST._serialized_end=1263
47
+ _GETDETECTIONINSTANCECOUNTSRESPONSE._serialized_start=1265
48
+ _GETDETECTIONINSTANCECOUNTSRESPONSE._serialized_end=1378
49
+ _GETLOCKEDDETECTIONSBYCATEGORYIDREQUEST._serialized_start=1380
50
+ _GETLOCKEDDETECTIONSBYCATEGORYIDREQUEST._serialized_end=1479
51
+ _LOCKEDDETECTION._serialized_start=1481
52
+ _LOCKEDDETECTION._serialized_end=1528
53
+ _GETLOCKEDDETECTIONSBYCATEGORYIDRESPONSE._serialized_start=1530
54
+ _GETLOCKEDDETECTIONSBYCATEGORYIDRESPONSE._serialized_end=1616
55
+ _SEARCHAPI._serialized_start=1619
56
+ _SEARCHAPI._serialized_end=2036
53
57
  # @@protoc_insertion_point(module_scope)
@@ -19,10 +19,15 @@ class SearchApiStub(object):
19
19
  request_serializer=search__grpc__service_dot_protos_dot_search__api__pb2.GetH3AggregatedResultsRequest.SerializeToString,
20
20
  response_deserializer=search__grpc__service_dot_protos_dot_search__api__pb2.GetH3AggregatedResultsResponse.FromString,
21
21
  )
22
- self.GetDetectionInstanceResults = channel.unary_unary(
23
- '/SearchApi/GetDetectionInstanceResults',
24
- request_serializer=search__grpc__service_dot_protos_dot_search__api__pb2.GetDetectionInstanceResultsRequest.SerializeToString,
25
- response_deserializer=search__grpc__service_dot_protos_dot_search__api__pb2.GetDetectionInstanceResultsResponse.FromString,
22
+ self.GetDetectionInstanceIds = channel.unary_unary(
23
+ '/SearchApi/GetDetectionInstanceIds',
24
+ request_serializer=search__grpc__service_dot_protos_dot_search__api__pb2.GetDetectionInstanceIdsRequest.SerializeToString,
25
+ response_deserializer=search__grpc__service_dot_protos_dot_search__api__pb2.GetDetectionInstanceIdsResponse.FromString,
26
+ )
27
+ self.GetDetectionInstanceCounts = channel.unary_unary(
28
+ '/SearchApi/GetDetectionInstanceCounts',
29
+ request_serializer=search__grpc__service_dot_protos_dot_search__api__pb2.GetDetectionInstanceCountsRequest.SerializeToString,
30
+ response_deserializer=search__grpc__service_dot_protos_dot_search__api__pb2.GetDetectionInstanceCountsResponse.FromString,
26
31
  )
27
32
  self.GetLockedDetectionsByCategoryId = channel.unary_unary(
28
33
  '/SearchApi/GetLockedDetectionsByCategoryId',
@@ -40,7 +45,13 @@ class SearchApiServicer(object):
40
45
  context.set_details('Method not implemented!')
41
46
  raise NotImplementedError('Method not implemented!')
42
47
 
43
- def GetDetectionInstanceResults(self, request, context):
48
+ def GetDetectionInstanceIds(self, request, context):
49
+ """Missing associated documentation comment in .proto file."""
50
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
51
+ context.set_details('Method not implemented!')
52
+ raise NotImplementedError('Method not implemented!')
53
+
54
+ def GetDetectionInstanceCounts(self, request, context):
44
55
  """Missing associated documentation comment in .proto file."""
45
56
  context.set_code(grpc.StatusCode.UNIMPLEMENTED)
46
57
  context.set_details('Method not implemented!')
@@ -60,10 +71,15 @@ def add_SearchApiServicer_to_server(servicer, server):
60
71
  request_deserializer=search__grpc__service_dot_protos_dot_search__api__pb2.GetH3AggregatedResultsRequest.FromString,
61
72
  response_serializer=search__grpc__service_dot_protos_dot_search__api__pb2.GetH3AggregatedResultsResponse.SerializeToString,
62
73
  ),
63
- 'GetDetectionInstanceResults': grpc.unary_unary_rpc_method_handler(
64
- servicer.GetDetectionInstanceResults,
65
- request_deserializer=search__grpc__service_dot_protos_dot_search__api__pb2.GetDetectionInstanceResultsRequest.FromString,
66
- response_serializer=search__grpc__service_dot_protos_dot_search__api__pb2.GetDetectionInstanceResultsResponse.SerializeToString,
74
+ 'GetDetectionInstanceIds': grpc.unary_unary_rpc_method_handler(
75
+ servicer.GetDetectionInstanceIds,
76
+ request_deserializer=search__grpc__service_dot_protos_dot_search__api__pb2.GetDetectionInstanceIdsRequest.FromString,
77
+ response_serializer=search__grpc__service_dot_protos_dot_search__api__pb2.GetDetectionInstanceIdsResponse.SerializeToString,
78
+ ),
79
+ 'GetDetectionInstanceCounts': grpc.unary_unary_rpc_method_handler(
80
+ servicer.GetDetectionInstanceCounts,
81
+ request_deserializer=search__grpc__service_dot_protos_dot_search__api__pb2.GetDetectionInstanceCountsRequest.FromString,
82
+ response_serializer=search__grpc__service_dot_protos_dot_search__api__pb2.GetDetectionInstanceCountsResponse.SerializeToString,
67
83
  ),
68
84
  'GetLockedDetectionsByCategoryId': grpc.unary_unary_rpc_method_handler(
69
85
  servicer.GetLockedDetectionsByCategoryId,
@@ -98,7 +114,24 @@ class SearchApi(object):
98
114
  insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
99
115
 
100
116
  @staticmethod
101
- def GetDetectionInstanceResults(request,
117
+ def GetDetectionInstanceIds(request,
118
+ target,
119
+ options=(),
120
+ channel_credentials=None,
121
+ call_credentials=None,
122
+ insecure=False,
123
+ compression=None,
124
+ wait_for_ready=None,
125
+ timeout=None,
126
+ metadata=None):
127
+ return grpc.experimental.unary_unary(request, target, '/SearchApi/GetDetectionInstanceIds',
128
+ search__grpc__service_dot_protos_dot_search__api__pb2.GetDetectionInstanceIdsRequest.SerializeToString,
129
+ search__grpc__service_dot_protos_dot_search__api__pb2.GetDetectionInstanceIdsResponse.FromString,
130
+ options, channel_credentials,
131
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
132
+
133
+ @staticmethod
134
+ def GetDetectionInstanceCounts(request,
102
135
  target,
103
136
  options=(),
104
137
  channel_credentials=None,
@@ -108,9 +141,9 @@ class SearchApi(object):
108
141
  wait_for_ready=None,
109
142
  timeout=None,
110
143
  metadata=None):
111
- return grpc.experimental.unary_unary(request, target, '/SearchApi/GetDetectionInstanceResults',
112
- search__grpc__service_dot_protos_dot_search__api__pb2.GetDetectionInstanceResultsRequest.SerializeToString,
113
- search__grpc__service_dot_protos_dot_search__api__pb2.GetDetectionInstanceResultsResponse.FromString,
144
+ return grpc.experimental.unary_unary(request, target, '/SearchApi/GetDetectionInstanceCounts',
145
+ search__grpc__service_dot_protos_dot_search__api__pb2.GetDetectionInstanceCountsRequest.SerializeToString,
146
+ search__grpc__service_dot_protos_dot_search__api__pb2.GetDetectionInstanceCountsResponse.FromString,
114
147
  options, channel_credentials,
115
148
  insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
116
149