fsai-proto-specs 0.0.414__py3-none-any.whl → 0.0.416__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of fsai-proto-specs might be problematic. Click here for more details.
- {fsai_proto_specs-0.0.414.dist-info → fsai_proto_specs-0.0.416.dist-info}/METADATA +1 -1
- {fsai_proto_specs-0.0.414.dist-info → fsai_proto_specs-0.0.416.dist-info}/RECORD +7 -7
- global_vo_grpc_service/protos/admin_team_api_pb2.py +19 -15
- global_vo_grpc_service/protos/admin_team_api_pb2_grpc.py +33 -0
- global_vo_grpc_service/protos/feature_api_pb2.py +7 -3
- global_vo_grpc_service/protos/feature_api_pb2_grpc.py +33 -0
- {fsai_proto_specs-0.0.414.dist-info → fsai_proto_specs-0.0.416.dist-info}/WHEEL +0 -0
|
@@ -28,8 +28,8 @@ global_vo_grpc_service/protos/admin_customer_api_pb2.py,sha256=3ep7Adc_ABSZojfJv
|
|
|
28
28
|
global_vo_grpc_service/protos/admin_customer_api_pb2_grpc.py,sha256=A2V3SwDe1GKw3cpK8ZLI4v1Cdfp_bRYNgAVn7P7zoDQ,8587
|
|
29
29
|
global_vo_grpc_service/protos/admin_system_permission_api_pb2.py,sha256=d0t_OGblcbW8-sC8VOh8iR9INJXVkjGsQKOHEr3sh38,2087
|
|
30
30
|
global_vo_grpc_service/protos/admin_system_permission_api_pb2_grpc.py,sha256=GbBwOXNW22GYi1S8GjC2-1CGxSim5OqdQXaLTTDjjYE,3040
|
|
31
|
-
global_vo_grpc_service/protos/admin_team_api_pb2.py,sha256=
|
|
32
|
-
global_vo_grpc_service/protos/admin_team_api_pb2_grpc.py,sha256=
|
|
31
|
+
global_vo_grpc_service/protos/admin_team_api_pb2.py,sha256=K4-ue9J4sYPQa2wo-QFafo_cy0WO6V3Dz4JvfqLSpSU,3991
|
|
32
|
+
global_vo_grpc_service/protos/admin_team_api_pb2_grpc.py,sha256=0TAhInpalFx3i-mZziopUF_WIC4-1UBgou8UgBlCNTE,10418
|
|
33
33
|
global_vo_grpc_service/protos/admin_team_role_api_pb2.py,sha256=h1WXS1QP-M5Ii0H4aQoP6oYu8OeajD5eA5FDqaSritk,2663
|
|
34
34
|
global_vo_grpc_service/protos/admin_team_role_api_pb2_grpc.py,sha256=cX4UG5dx9qxqcz6RxBaFN087n_ucI8LfLt2_KWyoPD8,6750
|
|
35
35
|
global_vo_grpc_service/protos/admin_team_role_permission_api_pb2.py,sha256=IzdQq7qSk2fb0eQsBim8bcQ9NqGZyw90Pi3KbdvPRXg,3504
|
|
@@ -52,8 +52,8 @@ global_vo_grpc_service/protos/detection_api_pb2.py,sha256=1imIR2QqbqhkAL4Ehc6JSj
|
|
|
52
52
|
global_vo_grpc_service/protos/detection_api_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
|
|
53
53
|
global_vo_grpc_service/protos/detection_instance_api_pb2.py,sha256=-Pesrqp4z8MZn5DRDQxg_kqTL3dkWVR8rzr1F9m5JCM,20771
|
|
54
54
|
global_vo_grpc_service/protos/detection_instance_api_pb2_grpc.py,sha256=Sa1XQgzEPfjc0dxhyzBKShu_I3N3H4UztuFomBl-Kx8,50346
|
|
55
|
-
global_vo_grpc_service/protos/feature_api_pb2.py,sha256=
|
|
56
|
-
global_vo_grpc_service/protos/feature_api_pb2_grpc.py,sha256=
|
|
55
|
+
global_vo_grpc_service/protos/feature_api_pb2.py,sha256=YrL0U-cDb9itgq6z5cCyrZiCUygA8c2YGRxv5mgeRFc,4151
|
|
56
|
+
global_vo_grpc_service/protos/feature_api_pb2_grpc.py,sha256=Uidr3gfTY2SsEMq-5pTWGUNPvkJ0SeFvr49q50Yza68,8510
|
|
57
57
|
global_vo_grpc_service/protos/geo_data_api_pb2.py,sha256=BgkSIccXSVEEoe1pyKktVycztZ-rdzt11V6is_ssZUU,3113
|
|
58
58
|
global_vo_grpc_service/protos/geo_data_api_pb2_grpc.py,sha256=YXXkv2lU9rdTPmNqnKf0Jgvtm9kmJoVbtM01RfprTVg,4931
|
|
59
59
|
global_vo_grpc_service/protos/image_api_pb2.py,sha256=KtuQunXppWFUB3B24ao50lLK1oZkARdx-FkknVY2tlw,4715
|
|
@@ -120,6 +120,6 @@ search_grpc_service/protos/index_api_pb2.py,sha256=6gqbhy6__LQ0nXPbJ_j-I2LIWbYPY
|
|
|
120
120
|
search_grpc_service/protos/index_api_pb2_grpc.py,sha256=qrtGUh9HpN1wiavtpRCtqkGQonq8aanT3MZfsjWaVCM,10672
|
|
121
121
|
search_grpc_service/protos/search_api_pb2.py,sha256=2OFliSZGn13n1hiWKaN93icRvzE2IZaCOcm4XTUNokg,6043
|
|
122
122
|
search_grpc_service/protos/search_api_pb2_grpc.py,sha256=3q3RmvDjoXWryYetmFDkgX68Ktk3uzWUdl1DkvfGH80,8771
|
|
123
|
-
fsai_proto_specs-0.0.
|
|
124
|
-
fsai_proto_specs-0.0.
|
|
125
|
-
fsai_proto_specs-0.0.
|
|
123
|
+
fsai_proto_specs-0.0.416.dist-info/METADATA,sha256=9RsKcQD_Xzp3B2evSth8wENm15k6F5UOZ2npOnO3RFs,972
|
|
124
|
+
fsai_proto_specs-0.0.416.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
125
|
+
fsai_proto_specs-0.0.416.dist-info/RECORD,,
|
|
@@ -15,7 +15,7 @@ from global_vo_grpc_service.protos import team_api_pb2 as global__vo__grpc__serv
|
|
|
15
15
|
from global_vo_grpc_service.protos import utils_pb2 as global__vo__grpc__service_dot_protos_dot_utils__pb2
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n2global_vo_grpc_service/protos/admin_team_api.proto\x1a,global_vo_grpc_service/protos/team_api.proto\x1a)global_vo_grpc_service/protos/utils.proto\"6\n\x11\x43reateTeamRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x63ustomer_id\x18\x02 \x01(\x05\"K\n\x12\x43reateTeamResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x13\n\x04team\x18\x02 \x01(\x0b\x32\x05.Team\"2\n\x10ListTeamsRequest\x12\r\n\x05query\x18\x01 \x01(\t\x12\x0f\n\x07user_id\x18\x02 \x01(\x05\"K\n\x11ListTeamsResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x14\n\x05teams\x18\x02 \x03(\x0b\x32\x05.Team\"5\n\x1dListTeamsByCustomerIdsRequest\x12\x14\n\x0c\x63ustomer_ids\x18\x01 \x03(\x05\"6\n\x1eListTeamsByCustomerIdsResponse\x12\x14\n\x05teams\x18\x01 \x03(\x0b\x32\x05.Team\"B\n\x11UpdateTeamRequest\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x13\n\x0b\x63ustomer_id\x18\x03 \x01(\x05\"B\n\x12UpdateTeamResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\n\n\x02id\x18\x02 \x01(\x05\x32\
|
|
18
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n2global_vo_grpc_service/protos/admin_team_api.proto\x1a,global_vo_grpc_service/protos/team_api.proto\x1a)global_vo_grpc_service/protos/utils.proto\"6\n\x11\x43reateTeamRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x63ustomer_id\x18\x02 \x01(\x05\"K\n\x12\x43reateTeamResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x13\n\x04team\x18\x02 \x01(\x0b\x32\x05.Team\"`\n#CloneTeamRolesAndPermissionsRequest\x12\x16\n\x0esource_team_id\x18\x01 \x01(\x05\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x13\n\x0b\x63ustomer_id\x18\x03 \x01(\x05\"T\n$CloneTeamRolesAndPermissionsResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\n\n\x02id\x18\x02 \x01(\x05\"2\n\x10ListTeamsRequest\x12\r\n\x05query\x18\x01 \x01(\t\x12\x0f\n\x07user_id\x18\x02 \x01(\x05\"K\n\x11ListTeamsResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x14\n\x05teams\x18\x02 \x03(\x0b\x32\x05.Team\"5\n\x1dListTeamsByCustomerIdsRequest\x12\x14\n\x0c\x63ustomer_ids\x18\x01 \x03(\x05\"6\n\x1eListTeamsByCustomerIdsResponse\x12\x14\n\x05teams\x18\x01 \x03(\x0b\x32\x05.Team\"B\n\x11UpdateTeamRequest\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x13\n\x0b\x63ustomer_id\x18\x03 \x01(\x05\"B\n\x12UpdateTeamResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\n\n\x02id\x18\x02 \x01(\x05\x32\xf8\x02\n\x0c\x41\x64minTeamApi\x12\x35\n\nCreateTeam\x12\x12.CreateTeamRequest\x1a\x13.CreateTeamResponse\x12k\n\x1c\x43loneTeamRolesAndPermissions\x12$.CloneTeamRolesAndPermissionsRequest\x1a%.CloneTeamRolesAndPermissionsResponse\x12\x32\n\tListTeams\x12\x11.ListTeamsRequest\x1a\x12.ListTeamsResponse\x12Y\n\x16ListTeamsByCustomerIds\x12\x1e.ListTeamsByCustomerIdsRequest\x1a\x1f.ListTeamsByCustomerIdsResponse\x12\x35\n\nUpdateTeam\x12\x12.UpdateTeamRequest\x1a\x13.UpdateTeamResponseb\x06proto3')
|
|
19
19
|
|
|
20
20
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
|
|
21
21
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'global_vo_grpc_service.protos.admin_team_api_pb2', globals())
|
|
@@ -26,18 +26,22 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
26
26
|
_CREATETEAMREQUEST._serialized_end=197
|
|
27
27
|
_CREATETEAMRESPONSE._serialized_start=199
|
|
28
28
|
_CREATETEAMRESPONSE._serialized_end=274
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
29
|
+
_CLONETEAMROLESANDPERMISSIONSREQUEST._serialized_start=276
|
|
30
|
+
_CLONETEAMROLESANDPERMISSIONSREQUEST._serialized_end=372
|
|
31
|
+
_CLONETEAMROLESANDPERMISSIONSRESPONSE._serialized_start=374
|
|
32
|
+
_CLONETEAMROLESANDPERMISSIONSRESPONSE._serialized_end=458
|
|
33
|
+
_LISTTEAMSREQUEST._serialized_start=460
|
|
34
|
+
_LISTTEAMSREQUEST._serialized_end=510
|
|
35
|
+
_LISTTEAMSRESPONSE._serialized_start=512
|
|
36
|
+
_LISTTEAMSRESPONSE._serialized_end=587
|
|
37
|
+
_LISTTEAMSBYCUSTOMERIDSREQUEST._serialized_start=589
|
|
38
|
+
_LISTTEAMSBYCUSTOMERIDSREQUEST._serialized_end=642
|
|
39
|
+
_LISTTEAMSBYCUSTOMERIDSRESPONSE._serialized_start=644
|
|
40
|
+
_LISTTEAMSBYCUSTOMERIDSRESPONSE._serialized_end=698
|
|
41
|
+
_UPDATETEAMREQUEST._serialized_start=700
|
|
42
|
+
_UPDATETEAMREQUEST._serialized_end=766
|
|
43
|
+
_UPDATETEAMRESPONSE._serialized_start=768
|
|
44
|
+
_UPDATETEAMRESPONSE._serialized_end=834
|
|
45
|
+
_ADMINTEAMAPI._serialized_start=837
|
|
46
|
+
_ADMINTEAMAPI._serialized_end=1213
|
|
43
47
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -19,6 +19,11 @@ class AdminTeamApiStub(object):
|
|
|
19
19
|
request_serializer=global__vo__grpc__service_dot_protos_dot_admin__team__api__pb2.CreateTeamRequest.SerializeToString,
|
|
20
20
|
response_deserializer=global__vo__grpc__service_dot_protos_dot_admin__team__api__pb2.CreateTeamResponse.FromString,
|
|
21
21
|
)
|
|
22
|
+
self.CloneTeamRolesAndPermissions = channel.unary_unary(
|
|
23
|
+
'/AdminTeamApi/CloneTeamRolesAndPermissions',
|
|
24
|
+
request_serializer=global__vo__grpc__service_dot_protos_dot_admin__team__api__pb2.CloneTeamRolesAndPermissionsRequest.SerializeToString,
|
|
25
|
+
response_deserializer=global__vo__grpc__service_dot_protos_dot_admin__team__api__pb2.CloneTeamRolesAndPermissionsResponse.FromString,
|
|
26
|
+
)
|
|
22
27
|
self.ListTeams = channel.unary_unary(
|
|
23
28
|
'/AdminTeamApi/ListTeams',
|
|
24
29
|
request_serializer=global__vo__grpc__service_dot_protos_dot_admin__team__api__pb2.ListTeamsRequest.SerializeToString,
|
|
@@ -45,6 +50,12 @@ class AdminTeamApiServicer(object):
|
|
|
45
50
|
context.set_details('Method not implemented!')
|
|
46
51
|
raise NotImplementedError('Method not implemented!')
|
|
47
52
|
|
|
53
|
+
def CloneTeamRolesAndPermissions(self, request, context):
|
|
54
|
+
"""Missing associated documentation comment in .proto file."""
|
|
55
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
56
|
+
context.set_details('Method not implemented!')
|
|
57
|
+
raise NotImplementedError('Method not implemented!')
|
|
58
|
+
|
|
48
59
|
def ListTeams(self, request, context):
|
|
49
60
|
"""Missing associated documentation comment in .proto file."""
|
|
50
61
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
@@ -71,6 +82,11 @@ def add_AdminTeamApiServicer_to_server(servicer, server):
|
|
|
71
82
|
request_deserializer=global__vo__grpc__service_dot_protos_dot_admin__team__api__pb2.CreateTeamRequest.FromString,
|
|
72
83
|
response_serializer=global__vo__grpc__service_dot_protos_dot_admin__team__api__pb2.CreateTeamResponse.SerializeToString,
|
|
73
84
|
),
|
|
85
|
+
'CloneTeamRolesAndPermissions': grpc.unary_unary_rpc_method_handler(
|
|
86
|
+
servicer.CloneTeamRolesAndPermissions,
|
|
87
|
+
request_deserializer=global__vo__grpc__service_dot_protos_dot_admin__team__api__pb2.CloneTeamRolesAndPermissionsRequest.FromString,
|
|
88
|
+
response_serializer=global__vo__grpc__service_dot_protos_dot_admin__team__api__pb2.CloneTeamRolesAndPermissionsResponse.SerializeToString,
|
|
89
|
+
),
|
|
74
90
|
'ListTeams': grpc.unary_unary_rpc_method_handler(
|
|
75
91
|
servicer.ListTeams,
|
|
76
92
|
request_deserializer=global__vo__grpc__service_dot_protos_dot_admin__team__api__pb2.ListTeamsRequest.FromString,
|
|
@@ -113,6 +129,23 @@ class AdminTeamApi(object):
|
|
|
113
129
|
options, channel_credentials,
|
|
114
130
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
115
131
|
|
|
132
|
+
@staticmethod
|
|
133
|
+
def CloneTeamRolesAndPermissions(request,
|
|
134
|
+
target,
|
|
135
|
+
options=(),
|
|
136
|
+
channel_credentials=None,
|
|
137
|
+
call_credentials=None,
|
|
138
|
+
insecure=False,
|
|
139
|
+
compression=None,
|
|
140
|
+
wait_for_ready=None,
|
|
141
|
+
timeout=None,
|
|
142
|
+
metadata=None):
|
|
143
|
+
return grpc.experimental.unary_unary(request, target, '/AdminTeamApi/CloneTeamRolesAndPermissions',
|
|
144
|
+
global__vo__grpc__service_dot_protos_dot_admin__team__api__pb2.CloneTeamRolesAndPermissionsRequest.SerializeToString,
|
|
145
|
+
global__vo__grpc__service_dot_protos_dot_admin__team__api__pb2.CloneTeamRolesAndPermissionsResponse.FromString,
|
|
146
|
+
options, channel_credentials,
|
|
147
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
148
|
+
|
|
116
149
|
@staticmethod
|
|
117
150
|
def ListTeams(request,
|
|
118
151
|
target,
|
|
@@ -16,7 +16,7 @@ from global_vo_grpc_service.protos import utils_pb2 as global__vo__grpc__service
|
|
|
16
16
|
from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n/global_vo_grpc_service/protos/feature_api.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a)global_vo_grpc_service/protos/utils.proto\x1a\x1cgoogle/protobuf/struct.proto\"\xdc\x01\n\x07\x46\x65\x61ture\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\"\xb3\x01\n\x1a\x46indOrCreateFeatureRequest\x12\x13\n\x0bvendor_name\x18\x01 \x01(\t\x12\x11\n\tvendor_id\x18\x02 \x01(\t\x12(\n\x07\x66\x65\x61ture\x18\x03 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x15\n\rsun_elevation\x18\x04 \x01(\x02\x12\x17\n\x0foff_nadir_angle\x18\x05 \x01(\x02\x12\x13\n\x0bsun_azimuth\x18\x06 \x01(\x02\"K\n\x1b\x46indOrCreateFeatureResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\n\n\x02id\x18\x02 \x01(\x05\"3\n\x16\x46indFeatureByIdRequest\x12\x19\n\x07\x66\x65\x61ture\x18\x01 \x01(\x0b\x32\x08.Feature\"V\n\x17\x46indFeatureByIdResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x19\n\x07\x66\x65\x61ture\x18\x02 \x01(\x0b\x32\x08.Feature\"&\n\x17GetFeaturesByIdsRequest\x12\x0b\n\x03ids\x18\x01 \x03(\x05\"6\n\x18GetFeaturesByIdsResponse\x12\x1a\n\x08\x66\x65\x61tures\x18\x01 \x03(\x0b\x32\x08.
|
|
19
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n/global_vo_grpc_service/protos/feature_api.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a)global_vo_grpc_service/protos/utils.proto\x1a\x1cgoogle/protobuf/struct.proto\"\xdc\x01\n\x07\x46\x65\x61ture\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\"\xb3\x01\n\x1a\x46indOrCreateFeatureRequest\x12\x13\n\x0bvendor_name\x18\x01 \x01(\t\x12\x11\n\tvendor_id\x18\x02 \x01(\t\x12(\n\x07\x66\x65\x61ture\x18\x03 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x15\n\rsun_elevation\x18\x04 \x01(\x02\x12\x17\n\x0foff_nadir_angle\x18\x05 \x01(\x02\x12\x13\n\x0bsun_azimuth\x18\x06 \x01(\x02\"K\n\x1b\x46indOrCreateFeatureResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\n\n\x02id\x18\x02 \x01(\x05\"3\n\x16\x46indFeatureByIdRequest\x12\x19\n\x07\x66\x65\x61ture\x18\x01 \x01(\x0b\x32\x08.Feature\"V\n\x17\x46indFeatureByIdResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x19\n\x07\x66\x65\x61ture\x18\x02 \x01(\x0b\x32\x08.Feature\"&\n\x17GetFeaturesByIdsRequest\x12\x0b\n\x03ids\x18\x01 \x03(\x05\"6\n\x18GetFeaturesByIdsResponse\x12\x1a\n\x08\x66\x65\x61tures\x18\x01 \x03(\x0b\x32\x08.Feature\"1\n\x1cGetFeaturesByImageIdsRequest\x12\x11\n\timage_ids\x18\x01 \x03(\x05\";\n\x1dGetFeaturesByImageIdsResponse\x12\x1a\n\x08\x66\x65\x61tures\x18\x01 \x03(\x0b\x32\x08.Feature2\xc5\x02\n\nFeatureApi\x12P\n\x13\x46indOrCreateFeature\x12\x1b.FindOrCreateFeatureRequest\x1a\x1c.FindOrCreateFeatureResponse\x12\x44\n\x0f\x46indFeatureById\x12\x17.FindFeatureByIdRequest\x1a\x18.FindFeatureByIdResponse\x12G\n\x10GetFeaturesByIds\x12\x18.GetFeaturesByIdsRequest\x1a\x19.GetFeaturesByIdsResponse\x12V\n\x15GetFeaturesByImageIds\x12\x1d.GetFeaturesByImageIdsRequest\x1a\x1e.GetFeaturesByImageIdsResponseb\x06proto3')
|
|
20
20
|
|
|
21
21
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
|
|
22
22
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'global_vo_grpc_service.protos.feature_api_pb2', globals())
|
|
@@ -37,6 +37,10 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
37
37
|
_GETFEATURESBYIDSREQUEST._serialized_end=818
|
|
38
38
|
_GETFEATURESBYIDSRESPONSE._serialized_start=820
|
|
39
39
|
_GETFEATURESBYIDSRESPONSE._serialized_end=874
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
_GETFEATURESBYIMAGEIDSREQUEST._serialized_start=876
|
|
41
|
+
_GETFEATURESBYIMAGEIDSREQUEST._serialized_end=925
|
|
42
|
+
_GETFEATURESBYIMAGEIDSRESPONSE._serialized_start=927
|
|
43
|
+
_GETFEATURESBYIMAGEIDSRESPONSE._serialized_end=986
|
|
44
|
+
_FEATUREAPI._serialized_start=989
|
|
45
|
+
_FEATUREAPI._serialized_end=1314
|
|
42
46
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -29,6 +29,11 @@ class FeatureApiStub(object):
|
|
|
29
29
|
request_serializer=global__vo__grpc__service_dot_protos_dot_feature__api__pb2.GetFeaturesByIdsRequest.SerializeToString,
|
|
30
30
|
response_deserializer=global__vo__grpc__service_dot_protos_dot_feature__api__pb2.GetFeaturesByIdsResponse.FromString,
|
|
31
31
|
)
|
|
32
|
+
self.GetFeaturesByImageIds = channel.unary_unary(
|
|
33
|
+
'/FeatureApi/GetFeaturesByImageIds',
|
|
34
|
+
request_serializer=global__vo__grpc__service_dot_protos_dot_feature__api__pb2.GetFeaturesByImageIdsRequest.SerializeToString,
|
|
35
|
+
response_deserializer=global__vo__grpc__service_dot_protos_dot_feature__api__pb2.GetFeaturesByImageIdsResponse.FromString,
|
|
36
|
+
)
|
|
32
37
|
|
|
33
38
|
|
|
34
39
|
class FeatureApiServicer(object):
|
|
@@ -52,6 +57,12 @@ class FeatureApiServicer(object):
|
|
|
52
57
|
context.set_details('Method not implemented!')
|
|
53
58
|
raise NotImplementedError('Method not implemented!')
|
|
54
59
|
|
|
60
|
+
def GetFeaturesByImageIds(self, request, context):
|
|
61
|
+
"""Missing associated documentation comment in .proto file."""
|
|
62
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
63
|
+
context.set_details('Method not implemented!')
|
|
64
|
+
raise NotImplementedError('Method not implemented!')
|
|
65
|
+
|
|
55
66
|
|
|
56
67
|
def add_FeatureApiServicer_to_server(servicer, server):
|
|
57
68
|
rpc_method_handlers = {
|
|
@@ -70,6 +81,11 @@ def add_FeatureApiServicer_to_server(servicer, server):
|
|
|
70
81
|
request_deserializer=global__vo__grpc__service_dot_protos_dot_feature__api__pb2.GetFeaturesByIdsRequest.FromString,
|
|
71
82
|
response_serializer=global__vo__grpc__service_dot_protos_dot_feature__api__pb2.GetFeaturesByIdsResponse.SerializeToString,
|
|
72
83
|
),
|
|
84
|
+
'GetFeaturesByImageIds': grpc.unary_unary_rpc_method_handler(
|
|
85
|
+
servicer.GetFeaturesByImageIds,
|
|
86
|
+
request_deserializer=global__vo__grpc__service_dot_protos_dot_feature__api__pb2.GetFeaturesByImageIdsRequest.FromString,
|
|
87
|
+
response_serializer=global__vo__grpc__service_dot_protos_dot_feature__api__pb2.GetFeaturesByImageIdsResponse.SerializeToString,
|
|
88
|
+
),
|
|
73
89
|
}
|
|
74
90
|
generic_handler = grpc.method_handlers_generic_handler(
|
|
75
91
|
'FeatureApi', rpc_method_handlers)
|
|
@@ -130,3 +146,20 @@ class FeatureApi(object):
|
|
|
130
146
|
global__vo__grpc__service_dot_protos_dot_feature__api__pb2.GetFeaturesByIdsResponse.FromString,
|
|
131
147
|
options, channel_credentials,
|
|
132
148
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
149
|
+
|
|
150
|
+
@staticmethod
|
|
151
|
+
def GetFeaturesByImageIds(request,
|
|
152
|
+
target,
|
|
153
|
+
options=(),
|
|
154
|
+
channel_credentials=None,
|
|
155
|
+
call_credentials=None,
|
|
156
|
+
insecure=False,
|
|
157
|
+
compression=None,
|
|
158
|
+
wait_for_ready=None,
|
|
159
|
+
timeout=None,
|
|
160
|
+
metadata=None):
|
|
161
|
+
return grpc.experimental.unary_unary(request, target, '/FeatureApi/GetFeaturesByImageIds',
|
|
162
|
+
global__vo__grpc__service_dot_protos_dot_feature__api__pb2.GetFeaturesByImageIdsRequest.SerializeToString,
|
|
163
|
+
global__vo__grpc__service_dot_protos_dot_feature__api__pb2.GetFeaturesByImageIdsResponse.FromString,
|
|
164
|
+
options, channel_credentials,
|
|
165
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
File without changes
|