fsai-proto-specs 0.0.364__py3-none-any.whl → 0.0.365__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.364
3
+ Version: 0.0.365
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
@@ -66,8 +66,8 @@ global_vo_grpc_service/protos/mission_api_pb2.py,sha256=XevbYoQBPk5czs6H0cpNdGW9
66
66
  global_vo_grpc_service/protos/mission_api_pb2_grpc.py,sha256=gw6AvO1mpzShEAXps-O-hbrB6HkLuUtNJuyRuyhPflU,15800
67
67
  global_vo_grpc_service/protos/permission_api_pb2.py,sha256=r-kGWRZfytc5nbsSFMy1B0euC6hvI2zIOMJ39R_1mEs,2485
68
68
  global_vo_grpc_service/protos/permission_api_pb2_grpc.py,sha256=AqaNSjZxphjTOSuD1d_4q64L1p8BUD5M7xwoiFuGkT0,4843
69
- global_vo_grpc_service/protos/query_api_pb2.py,sha256=rgraXyfGw1KMvdmE639fBQVDc3kYrrSGXScxpWVL85U,4582
70
- global_vo_grpc_service/protos/query_api_pb2_grpc.py,sha256=V4y10XCtkyKTwrjJaDLyFNBEMa7uk21jr92QuQmHsEs,5041
69
+ global_vo_grpc_service/protos/query_api_pb2.py,sha256=pgALRFU6HV9gJnjbI7ZpJc5HerSSdfm7xMRVOcFFg9w,6354
70
+ global_vo_grpc_service/protos/query_api_pb2_grpc.py,sha256=9FhcMQMUyIwZvDmmzVF8Rmb8FhkVKY38dRvADd4CRts,9019
71
71
  global_vo_grpc_service/protos/review_api_pb2.py,sha256=sOvYeP2uEK800_HMguERXCSJQxJSQZncWGAndIzG1DM,11909
72
72
  global_vo_grpc_service/protos/review_api_pb2_grpc.py,sha256=mlZXspLaLXPLfgaJLvM6PQ4c-fFaKcUocIDYY5kdvas,27565
73
73
  global_vo_grpc_service/protos/role_api_pb2.py,sha256=8IKAeOK52gwEnzrHzmPu8ACrPd5OINyJ1iNtGEZLVIA,2287
@@ -106,10 +106,10 @@ global_vo_grpc_service/protos/workflow_api_pb2.py,sha256=FGtH7927SnXUZ6y9IP6vOF3
106
106
  global_vo_grpc_service/protos/workflow_api_pb2_grpc.py,sha256=wKi_-bVWicreC5WaJgzV6yE7pTUYUpTBK9Wuk2a7fLM,22274
107
107
  search_grpc_service/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
108
108
  search_grpc_service/protos/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
109
- search_grpc_service/protos/index_api_pb2.py,sha256=xFl4DuA1GQh86DdCPhGppIzEvoeITeG9Sn0O1oB62h8,2985
110
- search_grpc_service/protos/index_api_pb2_grpc.py,sha256=JO--y8jst1VLKs4ZcHG4SBxYp3C6zkI1X3PyGxhaaiw,7020
109
+ search_grpc_service/protos/index_api_pb2.py,sha256=6gqbhy6__LQ0nXPbJ_j-I2LIWbYPYm8Z2P5gJ2oV_Ww,4048
110
+ search_grpc_service/protos/index_api_pb2_grpc.py,sha256=qrtGUh9HpN1wiavtpRCtqkGQonq8aanT3MZfsjWaVCM,10672
111
111
  search_grpc_service/protos/search_api_pb2.py,sha256=lYpAYgNlDWQ2Zpo4t8qW3Pz8wC3GrcZ4ygK7d68Tyk8,5890
112
112
  search_grpc_service/protos/search_api_pb2_grpc.py,sha256=Sd8hqJhnGpqUQbGpNvUXNdr4rSXNbxbCR3AJrn9aMa4,8992
113
- fsai_proto_specs-0.0.364.dist-info/METADATA,sha256=dvwzgo3PlRemwXCH9LaiwYADZTiOhAelQzXYl-zkbnw,972
114
- fsai_proto_specs-0.0.364.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
115
- fsai_proto_specs-0.0.364.dist-info/RECORD,,
113
+ fsai_proto_specs-0.0.365.dist-info/METADATA,sha256=gunZxxFFewOXEF7W0LISHn4Y-cYQKDnDYLg9vF44FAg,972
114
+ fsai_proto_specs-0.0.365.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
115
+ fsai_proto_specs-0.0.365.dist-info/RECORD,,
@@ -15,7 +15,7 @@ from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
15
15
  from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
16
16
 
17
17
 
18
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-global_vo_grpc_service/protos/query_api.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"*\n\x1b\x44\x65tectionsAggregatedRequest\x12\x0b\n\x03wkt\x18\x01 \x01(\t\"\x93\x04\n\x1c\x44\x65tectionsAggregatedResponse\x12\x14\n\x0c\x64\x65tection_id\x18\x01 \x01(\x05\x12\x1d\n\x15\x64\x65tection_instance_id\x18\x02 \x01(\x05\x12\x0b\n\x03lat\x18\x03 \x01(\x02\x12\x0b\n\x03lon\x18\x04 \x01(\x02\x12\x15\n\rcategory_name\x18\x05 \x01(\t\x12\x15\n\rcategory_enum\x18\x06 \x01(\t\x12\r\n\x05score\x18\x07 \x01(\x02\x12\x0e\n\x06height\x18\x08 \x01(\x02\x12\x15\n\rtotal_sources\x18\t \x01(\x05\x12.\n\nfirst_seen\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12-\n\tlast_seen\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x13\n\x0bvendor_name\x18\r \x01(\t\x12\x11\n\tvendor_id\x18\x0e \x01(\t\x12(\n\x07\x66\x65\x61ture\x18\x0f \x01(\x0b\x32\x17.google.protobuf.Struct\x12+\n\ndebug_data\x18\x10 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\r\n\x05state\x18\x11 \x01(\t\x12\x0c\n\x04tags\x18\x12 \x01(\t\x12\r\n\x05notes\x18\x13 \x01(\t\x12\x1a\n\x12location_elevation\x18\x14 \x01(\x02\x12\x1a\n\x12shadow_discrepancy\x18\x15 \x01(\t\":\n,GetDetectionInstanceByIdForClickhouseRequest\x12\n\n\x02id\x18\x01 \x01(\x05\"\xb4\x04\n)DetectionInstanceByIdForClickhousePayload\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x13\n\x0b\x63\x61tegory_id\x18\x02 \x01(\x05\x12\x10\n\x08image_id\x18\x03 \x01(\x05\x12\x0b\n\x03lat\x18\x04 \x01(\x02\x12\x0b\n\x03lon\x18\x05 \x01(\x02\x12\r\n\x05score\x18\x06 \x01(\x02\x12\x0e\n\x06height\x18\x07 \x01(\x02\x12\x13\n\x0b\x64\x65tected_at\x18\x08 \x01(\t\x12\x12\n\ncreated_at\x18\t \x01(\t\x12\x12\n\nupdated_at\x18\n \x01(\t\x12\r\n\x05state\x18\x0b \x01(\t\x12\x12\n\ncreated_by\x18\x0c \x01(\x05\x12\x12\n\nupdated_by\x18\r \x01(\x05\x12\r\n\x05h3_l3\x18\x0e \x01(\t\x12\r\n\x05h3_l4\x18\x0f \x01(\t\x12\r\n\x05h3_l5\x18\x10 \x01(\t\x12\r\n\x05h3_l7\x18\x11 \x01(\t\x12\x0e\n\x06h3_l11\x18\x12 \x01(\t\x12\x12\n\ndeleted_at\x18\x13 \x01(\t\x12\x11\n\tlocked_at\x18\x14 \x01(\t\x12\x11\n\tlocked_by\x18\x15 \x01(\x05\x12\x12\n\nvisibility\x18\x16 \x01(\t\x12\x1d\n\x15\x65xclude_from_training\x18\x17 \x01(\x08\x12\x11\n\tlegacy_at\x18\x18 \x01(\t\x12\x11\n\tsource_id\x18\x19 \x01(\x05\x12\x1a\n\x12location_elevation\x18\x1a \x01(\x02\x12\x0c\n\x04tags\x18\x1b \x01(\t\x12\r\n\x05notes\x18\x1c \x01(\t\x12\x0f\n\x07shw_dsc\x18\x1d \x01(\t\"z\n+MutateDetectionInstanceForClickhousePayload\x12\x0e\n\x06\x61\x63tion\x18\x01 \x01(\t\x12;\n\x07payload\x18\x02 \x01(\x0b\x32*.DetectionInstanceByIdForClickhousePayload2\xe9\x01\n\x08QueryApi\x12X\n\x17GetDetectionsAggregated\x12\x1c.DetectionsAggregatedRequest\x1a\x1d.DetectionsAggregatedResponse0\x01\x12\x82\x01\n%GetDetectionInstanceByIdForClickhouse\x12-.GetDetectionInstanceByIdForClickhouseRequest\x1a*.DetectionInstanceByIdForClickhousePayloadb\x06proto3')
18
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-global_vo_grpc_service/protos/query_api.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"*\n\x1b\x44\x65tectionsAggregatedRequest\x12\x0b\n\x03wkt\x18\x01 \x01(\t\"\x93\x04\n\x1c\x44\x65tectionsAggregatedResponse\x12\x14\n\x0c\x64\x65tection_id\x18\x01 \x01(\x05\x12\x1d\n\x15\x64\x65tection_instance_id\x18\x02 \x01(\x05\x12\x0b\n\x03lat\x18\x03 \x01(\x02\x12\x0b\n\x03lon\x18\x04 \x01(\x02\x12\x15\n\rcategory_name\x18\x05 \x01(\t\x12\x15\n\rcategory_enum\x18\x06 \x01(\t\x12\r\n\x05score\x18\x07 \x01(\x02\x12\x0e\n\x06height\x18\x08 \x01(\x02\x12\x15\n\rtotal_sources\x18\t \x01(\x05\x12.\n\nfirst_seen\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12-\n\tlast_seen\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x13\n\x0bvendor_name\x18\r \x01(\t\x12\x11\n\tvendor_id\x18\x0e \x01(\t\x12(\n\x07\x66\x65\x61ture\x18\x0f \x01(\x0b\x32\x17.google.protobuf.Struct\x12+\n\ndebug_data\x18\x10 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\r\n\x05state\x18\x11 \x01(\t\x12\x0c\n\x04tags\x18\x12 \x01(\t\x12\r\n\x05notes\x18\x13 \x01(\t\x12\x1a\n\x12location_elevation\x18\x14 \x01(\x02\x12\x1a\n\x12shadow_discrepancy\x18\x15 \x01(\t\":\n,GetDetectionInstanceByIdForClickhouseRequest\x12\n\n\x02id\x18\x01 \x01(\x05\"\xb4\x04\n)DetectionInstanceByIdForClickhousePayload\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x13\n\x0b\x63\x61tegory_id\x18\x02 \x01(\x05\x12\x10\n\x08image_id\x18\x03 \x01(\x05\x12\x0b\n\x03lat\x18\x04 \x01(\x02\x12\x0b\n\x03lon\x18\x05 \x01(\x02\x12\r\n\x05score\x18\x06 \x01(\x02\x12\x0e\n\x06height\x18\x07 \x01(\x02\x12\x13\n\x0b\x64\x65tected_at\x18\x08 \x01(\t\x12\x12\n\ncreated_at\x18\t \x01(\t\x12\x12\n\nupdated_at\x18\n \x01(\t\x12\r\n\x05state\x18\x0b \x01(\t\x12\x12\n\ncreated_by\x18\x0c \x01(\x05\x12\x12\n\nupdated_by\x18\r \x01(\x05\x12\r\n\x05h3_l3\x18\x0e \x01(\t\x12\r\n\x05h3_l4\x18\x0f \x01(\t\x12\r\n\x05h3_l5\x18\x10 \x01(\t\x12\r\n\x05h3_l7\x18\x11 \x01(\t\x12\x0e\n\x06h3_l11\x18\x12 \x01(\t\x12\x12\n\ndeleted_at\x18\x13 \x01(\t\x12\x11\n\tlocked_at\x18\x14 \x01(\t\x12\x11\n\tlocked_by\x18\x15 \x01(\x05\x12\x12\n\nvisibility\x18\x16 \x01(\t\x12\x1d\n\x15\x65xclude_from_training\x18\x17 \x01(\x08\x12\x11\n\tlegacy_at\x18\x18 \x01(\t\x12\x11\n\tsource_id\x18\x19 \x01(\x05\x12\x1a\n\x12location_elevation\x18\x1a \x01(\x02\x12\x0c\n\x04tags\x18\x1b \x01(\t\x12\r\n\x05notes\x18\x1c \x01(\t\x12\x0f\n\x07shw_dsc\x18\x1d \x01(\t\"z\n+MutateDetectionInstanceForClickhousePayload\x12\x0e\n\x06\x61\x63tion\x18\x01 \x01(\t\x12;\n\x07payload\x18\x02 \x01(\x0b\x32*.DetectionInstanceByIdForClickhousePayload\"2\n$GetFeaturesByIdsForClickhouseRequest\x12\n\n\x02id\x18\x01 \x01(\x05\"\xfa\x01\n%GetFeaturesByIdsForClickhouseResponse\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x13\n\x0bvendor_name\x18\x02 \x01(\t\x12\x11\n\tvendor_id\x18\x03 \x01(\t\x12(\n\x07\x66\x65\x61ture\x18\x04 \x01(\x0b\x32\x17.google.protobuf.Struct\x12.\n\ncreated_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x15\n\rsun_elevation\x18\x06 \x01(\x02\x12\x17\n\x0foff_nadir_angle\x18\x07 \x01(\x02\x12\x13\n\x0bsun_azimuth\x18\x08 \x01(\x02\"0\n\"GetImagesByIdsForClickhouseRequest\x12\n\n\x02id\x18\x01 \x01(\x05\"\xe7\x01\n#GetImagesByIdsForClickhouseResponse\x12\n\n\x02id\x18\x01 \x01(\x05\x12\r\n\x05width\x18\x02 \x01(\x05\x12\x0e\n\x06height\x18\x03 \x01(\x05\x12\x0f\n\x07min_lon\x18\x04 \x01(\x02\x12\x0f\n\x07max_lon\x18\x05 \x01(\x02\x12\x0f\n\x07min_lat\x18\x06 \x01(\x02\x12\x0f\n\x07max_lat\x18\x07 \x01(\x02\x12\x12\n\nfeature_id\x18\x08 \x01(\x05\x12.\n\ncreated_at\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\r\n\x05store\x18\n \x01(\t2\xc3\x03\n\x08QueryApi\x12X\n\x17GetDetectionsAggregated\x12\x1c.DetectionsAggregatedRequest\x1a\x1d.DetectionsAggregatedResponse0\x01\x12\x82\x01\n%GetDetectionInstanceByIdForClickhouse\x12-.GetDetectionInstanceByIdForClickhouseRequest\x1a*.DetectionInstanceByIdForClickhousePayload\x12n\n\x1dGetFeaturesByIdsForClickhouse\x12%.GetFeaturesByIdsForClickhouseRequest\x1a&.GetFeaturesByIdsForClickhouseResponse\x12h\n\x1bGetImagesByIdsForClickhouse\x12#.GetImagesByIdsForClickhouseRequest\x1a$.GetImagesByIdsForClickhouseResponseb\x06proto3')
19
19
 
20
20
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
21
21
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'global_vo_grpc_service.protos.query_api_pb2', globals())
@@ -32,6 +32,14 @@ if _descriptor._USE_C_DESCRIPTORS == False:
32
32
  _DETECTIONINSTANCEBYIDFORCLICKHOUSEPAYLOAD._serialized_end=1315
33
33
  _MUTATEDETECTIONINSTANCEFORCLICKHOUSEPAYLOAD._serialized_start=1317
34
34
  _MUTATEDETECTIONINSTANCEFORCLICKHOUSEPAYLOAD._serialized_end=1439
35
- _QUERYAPI._serialized_start=1442
36
- _QUERYAPI._serialized_end=1675
35
+ _GETFEATURESBYIDSFORCLICKHOUSEREQUEST._serialized_start=1441
36
+ _GETFEATURESBYIDSFORCLICKHOUSEREQUEST._serialized_end=1491
37
+ _GETFEATURESBYIDSFORCLICKHOUSERESPONSE._serialized_start=1494
38
+ _GETFEATURESBYIDSFORCLICKHOUSERESPONSE._serialized_end=1744
39
+ _GETIMAGESBYIDSFORCLICKHOUSEREQUEST._serialized_start=1746
40
+ _GETIMAGESBYIDSFORCLICKHOUSEREQUEST._serialized_end=1794
41
+ _GETIMAGESBYIDSFORCLICKHOUSERESPONSE._serialized_start=1797
42
+ _GETIMAGESBYIDSFORCLICKHOUSERESPONSE._serialized_end=2028
43
+ _QUERYAPI._serialized_start=2031
44
+ _QUERYAPI._serialized_end=2482
37
45
  # @@protoc_insertion_point(module_scope)
@@ -25,6 +25,16 @@ class QueryApiStub(object):
25
25
  request_serializer=global__vo__grpc__service_dot_protos_dot_query__api__pb2.GetDetectionInstanceByIdForClickhouseRequest.SerializeToString,
26
26
  response_deserializer=global__vo__grpc__service_dot_protos_dot_query__api__pb2.DetectionInstanceByIdForClickhousePayload.FromString,
27
27
  )
28
+ self.GetFeaturesByIdsForClickhouse = channel.unary_unary(
29
+ '/QueryApi/GetFeaturesByIdsForClickhouse',
30
+ request_serializer=global__vo__grpc__service_dot_protos_dot_query__api__pb2.GetFeaturesByIdsForClickhouseRequest.SerializeToString,
31
+ response_deserializer=global__vo__grpc__service_dot_protos_dot_query__api__pb2.GetFeaturesByIdsForClickhouseResponse.FromString,
32
+ )
33
+ self.GetImagesByIdsForClickhouse = channel.unary_unary(
34
+ '/QueryApi/GetImagesByIdsForClickhouse',
35
+ request_serializer=global__vo__grpc__service_dot_protos_dot_query__api__pb2.GetImagesByIdsForClickhouseRequest.SerializeToString,
36
+ response_deserializer=global__vo__grpc__service_dot_protos_dot_query__api__pb2.GetImagesByIdsForClickhouseResponse.FromString,
37
+ )
28
38
 
29
39
 
30
40
  class QueryApiServicer(object):
@@ -46,6 +56,20 @@ class QueryApiServicer(object):
46
56
  context.set_details('Method not implemented!')
47
57
  raise NotImplementedError('Method not implemented!')
48
58
 
59
+ def GetFeaturesByIdsForClickhouse(self, request, context):
60
+ """Get the features for storage in clickhouse
61
+ """
62
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
63
+ context.set_details('Method not implemented!')
64
+ raise NotImplementedError('Method not implemented!')
65
+
66
+ def GetImagesByIdsForClickhouse(self, request, context):
67
+ """Get the images for storage in clickhouse
68
+ """
69
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
70
+ context.set_details('Method not implemented!')
71
+ raise NotImplementedError('Method not implemented!')
72
+
49
73
 
50
74
  def add_QueryApiServicer_to_server(servicer, server):
51
75
  rpc_method_handlers = {
@@ -59,6 +83,16 @@ def add_QueryApiServicer_to_server(servicer, server):
59
83
  request_deserializer=global__vo__grpc__service_dot_protos_dot_query__api__pb2.GetDetectionInstanceByIdForClickhouseRequest.FromString,
60
84
  response_serializer=global__vo__grpc__service_dot_protos_dot_query__api__pb2.DetectionInstanceByIdForClickhousePayload.SerializeToString,
61
85
  ),
86
+ 'GetFeaturesByIdsForClickhouse': grpc.unary_unary_rpc_method_handler(
87
+ servicer.GetFeaturesByIdsForClickhouse,
88
+ request_deserializer=global__vo__grpc__service_dot_protos_dot_query__api__pb2.GetFeaturesByIdsForClickhouseRequest.FromString,
89
+ response_serializer=global__vo__grpc__service_dot_protos_dot_query__api__pb2.GetFeaturesByIdsForClickhouseResponse.SerializeToString,
90
+ ),
91
+ 'GetImagesByIdsForClickhouse': grpc.unary_unary_rpc_method_handler(
92
+ servicer.GetImagesByIdsForClickhouse,
93
+ request_deserializer=global__vo__grpc__service_dot_protos_dot_query__api__pb2.GetImagesByIdsForClickhouseRequest.FromString,
94
+ response_serializer=global__vo__grpc__service_dot_protos_dot_query__api__pb2.GetImagesByIdsForClickhouseResponse.SerializeToString,
95
+ ),
62
96
  }
63
97
  generic_handler = grpc.method_handlers_generic_handler(
64
98
  'QueryApi', rpc_method_handlers)
@@ -103,3 +137,37 @@ class QueryApi(object):
103
137
  global__vo__grpc__service_dot_protos_dot_query__api__pb2.DetectionInstanceByIdForClickhousePayload.FromString,
104
138
  options, channel_credentials,
105
139
  insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
140
+
141
+ @staticmethod
142
+ def GetFeaturesByIdsForClickhouse(request,
143
+ target,
144
+ options=(),
145
+ channel_credentials=None,
146
+ call_credentials=None,
147
+ insecure=False,
148
+ compression=None,
149
+ wait_for_ready=None,
150
+ timeout=None,
151
+ metadata=None):
152
+ return grpc.experimental.unary_unary(request, target, '/QueryApi/GetFeaturesByIdsForClickhouse',
153
+ global__vo__grpc__service_dot_protos_dot_query__api__pb2.GetFeaturesByIdsForClickhouseRequest.SerializeToString,
154
+ global__vo__grpc__service_dot_protos_dot_query__api__pb2.GetFeaturesByIdsForClickhouseResponse.FromString,
155
+ options, channel_credentials,
156
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
157
+
158
+ @staticmethod
159
+ def GetImagesByIdsForClickhouse(request,
160
+ target,
161
+ options=(),
162
+ channel_credentials=None,
163
+ call_credentials=None,
164
+ insecure=False,
165
+ compression=None,
166
+ wait_for_ready=None,
167
+ timeout=None,
168
+ metadata=None):
169
+ return grpc.experimental.unary_unary(request, target, '/QueryApi/GetImagesByIdsForClickhouse',
170
+ global__vo__grpc__service_dot_protos_dot_query__api__pb2.GetImagesByIdsForClickhouseRequest.SerializeToString,
171
+ global__vo__grpc__service_dot_protos_dot_query__api__pb2.GetImagesByIdsForClickhouseResponse.FromString,
172
+ options, channel_credentials,
173
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@@ -14,7 +14,7 @@ _sym_db = _symbol_database.Default()
14
14
  from global_vo_grpc_service.protos import utils_pb2 as global__vo__grpc__service_dot_protos_dot_utils__pb2
15
15
 
16
16
 
17
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*search_grpc_service/protos/index_api.proto\x1a)global_vo_grpc_service/protos/utils.proto\"F\n\'IdxCreateDetectionInstancesByIdsRequest\x12\x0b\n\x03ids\x18\x01 \x03(\x05\x12\x0e\n\x06queued\x18\x02 \x01(\x08\"L\n(IdxCreateDetectionInstancesByIdsResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\"F\n\'IdxDeleteDetectionInstancesByIdsRequest\x12\x0b\n\x03ids\x18\x01 \x03(\x05\x12\x0e\n\x06queued\x18\x02 \x01(\x08\"L\n(IdxDeleteDetectionInstancesByIdsResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\"F\n\'IdxUpdateDetectionInstancesByIdsRequest\x12\x0b\n\x03ids\x18\x01 \x03(\x05\x12\x0e\n\x06queued\x18\x02 \x01(\x08\"L\n(IdxUpdateDetectionInstancesByIdsResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType2\xf5\x02\n\x08IndexApi\x12w\n IdxCreateDetectionInstancesByIds\x12(.IdxCreateDetectionInstancesByIdsRequest\x1a).IdxCreateDetectionInstancesByIdsResponse\x12w\n IdxDeleteDetectionInstancesByIds\x12(.IdxDeleteDetectionInstancesByIdsRequest\x1a).IdxDeleteDetectionInstancesByIdsResponse\x12w\n IdxUpdateDetectionInstancesByIds\x12(.IdxUpdateDetectionInstancesByIdsRequest\x1a).IdxUpdateDetectionInstancesByIdsResponseb\x06proto3')
17
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*search_grpc_service/protos/index_api.proto\x1a)global_vo_grpc_service/protos/utils.proto\"F\n\'IdxCreateDetectionInstancesByIdsRequest\x12\x0b\n\x03ids\x18\x01 \x03(\x05\x12\x0e\n\x06queued\x18\x02 \x01(\x08\"L\n(IdxCreateDetectionInstancesByIdsResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\"F\n\'IdxDeleteDetectionInstancesByIdsRequest\x12\x0b\n\x03ids\x18\x01 \x03(\x05\x12\x0e\n\x06queued\x18\x02 \x01(\x08\"L\n(IdxDeleteDetectionInstancesByIdsResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\"F\n\'IdxUpdateDetectionInstancesByIdsRequest\x12\x0b\n\x03ids\x18\x01 \x03(\x05\x12\x0e\n\x06queued\x18\x02 \x01(\x08\"L\n(IdxUpdateDetectionInstancesByIdsResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\"<\n\x1dIdxCreateFeaturesByIdsRequest\x12\x0b\n\x03ids\x18\x01 \x03(\x05\x12\x0e\n\x06queued\x18\x02 \x01(\x08\"B\n\x1eIdxCreateFeaturesByIdsResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\":\n\x1bIdxCreateImagesByIdsRequest\x12\x0b\n\x03ids\x18\x01 \x03(\x05\x12\x0e\n\x06queued\x18\x02 \x01(\x08\"@\n\x1cIdxCreateImagesByIdsResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType2\xa5\x04\n\x08IndexApi\x12w\n IdxCreateDetectionInstancesByIds\x12(.IdxCreateDetectionInstancesByIdsRequest\x1a).IdxCreateDetectionInstancesByIdsResponse\x12w\n IdxDeleteDetectionInstancesByIds\x12(.IdxDeleteDetectionInstancesByIdsRequest\x1a).IdxDeleteDetectionInstancesByIdsResponse\x12w\n IdxUpdateDetectionInstancesByIds\x12(.IdxUpdateDetectionInstancesByIdsRequest\x1a).IdxUpdateDetectionInstancesByIdsResponse\x12Y\n\x16IdxCreateFeaturesByIds\x12\x1e.IdxCreateFeaturesByIdsRequest\x1a\x1f.IdxCreateFeaturesByIdsResponse\x12S\n\x14IdxCreateImagesByIds\x12\x1c.IdxCreateImagesByIdsRequest\x1a\x1d.IdxCreateImagesByIdsResponseb\x06proto3')
18
18
 
19
19
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
20
20
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'search_grpc_service.protos.index_api_pb2', globals())
@@ -33,6 +33,14 @@ if _descriptor._USE_C_DESCRIPTORS == False:
33
33
  _IDXUPDATEDETECTIONINSTANCESBYIDSREQUEST._serialized_end=459
34
34
  _IDXUPDATEDETECTIONINSTANCESBYIDSRESPONSE._serialized_start=461
35
35
  _IDXUPDATEDETECTIONINSTANCESBYIDSRESPONSE._serialized_end=537
36
- _INDEXAPI._serialized_start=540
37
- _INDEXAPI._serialized_end=913
36
+ _IDXCREATEFEATURESBYIDSREQUEST._serialized_start=539
37
+ _IDXCREATEFEATURESBYIDSREQUEST._serialized_end=599
38
+ _IDXCREATEFEATURESBYIDSRESPONSE._serialized_start=601
39
+ _IDXCREATEFEATURESBYIDSRESPONSE._serialized_end=667
40
+ _IDXCREATEIMAGESBYIDSREQUEST._serialized_start=669
41
+ _IDXCREATEIMAGESBYIDSREQUEST._serialized_end=727
42
+ _IDXCREATEIMAGESBYIDSRESPONSE._serialized_start=729
43
+ _IDXCREATEIMAGESBYIDSRESPONSE._serialized_end=793
44
+ _INDEXAPI._serialized_start=796
45
+ _INDEXAPI._serialized_end=1345
38
46
  # @@protoc_insertion_point(module_scope)
@@ -30,6 +30,16 @@ class IndexApiStub(object):
30
30
  request_serializer=search__grpc__service_dot_protos_dot_index__api__pb2.IdxUpdateDetectionInstancesByIdsRequest.SerializeToString,
31
31
  response_deserializer=search__grpc__service_dot_protos_dot_index__api__pb2.IdxUpdateDetectionInstancesByIdsResponse.FromString,
32
32
  )
33
+ self.IdxCreateFeaturesByIds = channel.unary_unary(
34
+ '/IndexApi/IdxCreateFeaturesByIds',
35
+ request_serializer=search__grpc__service_dot_protos_dot_index__api__pb2.IdxCreateFeaturesByIdsRequest.SerializeToString,
36
+ response_deserializer=search__grpc__service_dot_protos_dot_index__api__pb2.IdxCreateFeaturesByIdsResponse.FromString,
37
+ )
38
+ self.IdxCreateImagesByIds = channel.unary_unary(
39
+ '/IndexApi/IdxCreateImagesByIds',
40
+ request_serializer=search__grpc__service_dot_protos_dot_index__api__pb2.IdxCreateImagesByIdsRequest.SerializeToString,
41
+ response_deserializer=search__grpc__service_dot_protos_dot_index__api__pb2.IdxCreateImagesByIdsResponse.FromString,
42
+ )
33
43
 
34
44
 
35
45
  class IndexApiServicer(object):
@@ -37,7 +47,8 @@ class IndexApiServicer(object):
37
47
  """
38
48
 
39
49
  def IdxCreateDetectionInstancesByIds(self, request, context):
40
- """Missing associated documentation comment in .proto file."""
50
+ """Detection instances
51
+ """
41
52
  context.set_code(grpc.StatusCode.UNIMPLEMENTED)
42
53
  context.set_details('Method not implemented!')
43
54
  raise NotImplementedError('Method not implemented!')
@@ -54,6 +65,20 @@ class IndexApiServicer(object):
54
65
  context.set_details('Method not implemented!')
55
66
  raise NotImplementedError('Method not implemented!')
56
67
 
68
+ def IdxCreateFeaturesByIds(self, request, context):
69
+ """Features
70
+ """
71
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
72
+ context.set_details('Method not implemented!')
73
+ raise NotImplementedError('Method not implemented!')
74
+
75
+ def IdxCreateImagesByIds(self, request, context):
76
+ """Images
77
+ """
78
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
79
+ context.set_details('Method not implemented!')
80
+ raise NotImplementedError('Method not implemented!')
81
+
57
82
 
58
83
  def add_IndexApiServicer_to_server(servicer, server):
59
84
  rpc_method_handlers = {
@@ -72,6 +97,16 @@ def add_IndexApiServicer_to_server(servicer, server):
72
97
  request_deserializer=search__grpc__service_dot_protos_dot_index__api__pb2.IdxUpdateDetectionInstancesByIdsRequest.FromString,
73
98
  response_serializer=search__grpc__service_dot_protos_dot_index__api__pb2.IdxUpdateDetectionInstancesByIdsResponse.SerializeToString,
74
99
  ),
100
+ 'IdxCreateFeaturesByIds': grpc.unary_unary_rpc_method_handler(
101
+ servicer.IdxCreateFeaturesByIds,
102
+ request_deserializer=search__grpc__service_dot_protos_dot_index__api__pb2.IdxCreateFeaturesByIdsRequest.FromString,
103
+ response_serializer=search__grpc__service_dot_protos_dot_index__api__pb2.IdxCreateFeaturesByIdsResponse.SerializeToString,
104
+ ),
105
+ 'IdxCreateImagesByIds': grpc.unary_unary_rpc_method_handler(
106
+ servicer.IdxCreateImagesByIds,
107
+ request_deserializer=search__grpc__service_dot_protos_dot_index__api__pb2.IdxCreateImagesByIdsRequest.FromString,
108
+ response_serializer=search__grpc__service_dot_protos_dot_index__api__pb2.IdxCreateImagesByIdsResponse.SerializeToString,
109
+ ),
75
110
  }
76
111
  generic_handler = grpc.method_handlers_generic_handler(
77
112
  'IndexApi', rpc_method_handlers)
@@ -133,3 +168,37 @@ class IndexApi(object):
133
168
  search__grpc__service_dot_protos_dot_index__api__pb2.IdxUpdateDetectionInstancesByIdsResponse.FromString,
134
169
  options, channel_credentials,
135
170
  insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
171
+
172
+ @staticmethod
173
+ def IdxCreateFeaturesByIds(request,
174
+ target,
175
+ options=(),
176
+ channel_credentials=None,
177
+ call_credentials=None,
178
+ insecure=False,
179
+ compression=None,
180
+ wait_for_ready=None,
181
+ timeout=None,
182
+ metadata=None):
183
+ return grpc.experimental.unary_unary(request, target, '/IndexApi/IdxCreateFeaturesByIds',
184
+ search__grpc__service_dot_protos_dot_index__api__pb2.IdxCreateFeaturesByIdsRequest.SerializeToString,
185
+ search__grpc__service_dot_protos_dot_index__api__pb2.IdxCreateFeaturesByIdsResponse.FromString,
186
+ options, channel_credentials,
187
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
188
+
189
+ @staticmethod
190
+ def IdxCreateImagesByIds(request,
191
+ target,
192
+ options=(),
193
+ channel_credentials=None,
194
+ call_credentials=None,
195
+ insecure=False,
196
+ compression=None,
197
+ wait_for_ready=None,
198
+ timeout=None,
199
+ metadata=None):
200
+ return grpc.experimental.unary_unary(request, target, '/IndexApi/IdxCreateImagesByIds',
201
+ search__grpc__service_dot_protos_dot_index__api__pb2.IdxCreateImagesByIdsRequest.SerializeToString,
202
+ search__grpc__service_dot_protos_dot_index__api__pb2.IdxCreateImagesByIdsResponse.FromString,
203
+ options, channel_credentials,
204
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)