fsai-proto-specs 0.0.187__py3-none-any.whl → 0.0.388__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.
- audit_grpc_service/__init__.py +0 -0
- audit_grpc_service/protos/__init__.py +0 -0
- audit_grpc_service/protos/audit_api_pb2.py +37 -0
- audit_grpc_service/protos/audit_api_pb2_grpc.py +99 -0
- data_grpc_service/protos/detection_chip_data_api_pb2.py +42 -0
- data_grpc_service/protos/detection_chip_data_api_pb2_grpc.py +99 -0
- data_grpc_service/protos/detection_instance_data_api_pb2.py +7 -14
- data_grpc_service/protos/detection_instance_data_api_pb2_grpc.py +0 -33
- {fsai_proto_specs-0.0.187.dist-info → fsai_proto_specs-0.0.388.dist-info}/METADATA +2 -2
- fsai_proto_specs-0.0.388.dist-info/RECORD +119 -0
- geospatial_toolkit_grpc_service/protos/mgrs_api_pb2.py +7 -3
- geospatial_toolkit_grpc_service/protos/mgrs_api_pb2_grpc.py +33 -0
- global_vo_grpc_service/protos/admin_consumption_api_pb2.py +30 -0
- global_vo_grpc_service/protos/admin_consumption_api_pb2_grpc.py +67 -0
- global_vo_grpc_service/protos/admin_contract_range_allotment_api_pb2.py +45 -0
- global_vo_grpc_service/protos/admin_contract_range_allotment_api_pb2_grpc.py +165 -0
- global_vo_grpc_service/protos/admin_customer_api_pb2.py +45 -0
- global_vo_grpc_service/protos/{user_metadata_api_pb2_grpc.py → admin_customer_api_pb2_grpc.py} +58 -58
- global_vo_grpc_service/protos/admin_system_permission_api_pb2.py +31 -0
- global_vo_grpc_service/protos/admin_system_permission_api_pb2_grpc.py +67 -0
- global_vo_grpc_service/protos/admin_team_api_pb2.py +43 -0
- global_vo_grpc_service/protos/admin_team_api_pb2_grpc.py +165 -0
- global_vo_grpc_service/protos/admin_team_role_api_pb2.py +38 -0
- global_vo_grpc_service/protos/admin_team_role_api_pb2_grpc.py +132 -0
- global_vo_grpc_service/protos/admin_team_role_permission_api_pb2.py +41 -0
- global_vo_grpc_service/protos/admin_team_role_permission_api_pb2_grpc.py +132 -0
- global_vo_grpc_service/protos/admin_user_api_pb2.py +59 -0
- global_vo_grpc_service/protos/admin_user_api_pb2_grpc.py +266 -0
- global_vo_grpc_service/protos/audit_query_api_pb2.py +37 -0
- global_vo_grpc_service/protos/audit_query_api_pb2_grpc.py +99 -0
- global_vo_grpc_service/protos/category_api_pb2.py +16 -9
- global_vo_grpc_service/protos/category_api_pb2_grpc.py +70 -3
- global_vo_grpc_service/protos/category_changelog_api_pb2.py +36 -0
- global_vo_grpc_service/protos/category_changelog_api_pb2_grpc.py +99 -0
- global_vo_grpc_service/protos/customer_api_pb2.py +29 -0
- global_vo_grpc_service/protos/customer_api_pb2_grpc.py +66 -0
- global_vo_grpc_service/protos/detection_instance_api_pb2.py +100 -64
- global_vo_grpc_service/protos/detection_instance_api_pb2_grpc.py +303 -37
- global_vo_grpc_service/protos/feature_api_pb2.py +16 -12
- global_vo_grpc_service/protos/feature_api_pb2_grpc.py +39 -6
- global_vo_grpc_service/protos/geo_data_api_pb2.py +37 -0
- global_vo_grpc_service/protos/geo_data_api_pb2_grpc.py +99 -0
- global_vo_grpc_service/protos/image_api_pb2.py +26 -16
- global_vo_grpc_service/protos/image_api_pb2_grpc.py +79 -13
- global_vo_grpc_service/protos/image_scan_api_pb2.py +37 -0
- global_vo_grpc_service/protos/image_scan_api_pb2_grpc.py +99 -0
- global_vo_grpc_service/protos/invitation_api_pb2.py +37 -0
- global_vo_grpc_service/protos/invitation_api_pb2_grpc.py +99 -0
- global_vo_grpc_service/protos/invitation_response_api_pb2.py +43 -0
- global_vo_grpc_service/protos/invitation_response_api_pb2_grpc.py +132 -0
- global_vo_grpc_service/protos/mission_api_pb2.py +11 -3
- global_vo_grpc_service/protos/mission_api_pb2_grpc.py +66 -0
- global_vo_grpc_service/protos/model_assessment_api_pb2.py +42 -0
- global_vo_grpc_service/protos/model_assessment_api_pb2_grpc.py +99 -0
- global_vo_grpc_service/protos/query_api_pb2.py +18 -4
- global_vo_grpc_service/protos/query_api_pb2_grpc.py +68 -0
- global_vo_grpc_service/protos/review_api_pb2.py +70 -44
- global_vo_grpc_service/protos/review_api_pb2_grpc.py +198 -0
- global_vo_grpc_service/protos/source_api_pb2.py +18 -9
- global_vo_grpc_service/protos/source_api_pb2_grpc.py +100 -0
- global_vo_grpc_service/protos/task_api_pb2.py +54 -38
- global_vo_grpc_service/protos/task_api_pb2_grpc.py +145 -13
- global_vo_grpc_service/protos/task_image_api_pb2.py +23 -25
- global_vo_grpc_service/protos/team_api_pb2.py +31 -23
- global_vo_grpc_service/protos/team_api_pb2_grpc.py +116 -50
- global_vo_grpc_service/protos/team_member_api_pb2.py +16 -16
- global_vo_grpc_service/protos/team_member_api_pb2_grpc.py +20 -20
- global_vo_grpc_service/protos/team_member_role_api_pb2.py +41 -0
- global_vo_grpc_service/protos/team_member_role_api_pb2_grpc.py +132 -0
- global_vo_grpc_service/protos/team_role_api_pb2.py +32 -0
- global_vo_grpc_service/protos/team_role_api_pb2_grpc.py +66 -0
- global_vo_grpc_service/protos/user_api_pb2.py +32 -47
- global_vo_grpc_service/protos/user_api_pb2_grpc.py +79 -178
- global_vo_grpc_service/protos/user_favorites_api_pb2.py +45 -0
- global_vo_grpc_service/protos/user_favorites_api_pb2_grpc.py +165 -0
- global_vo_grpc_service/protos/user_metric_api_pb2.py +37 -0
- global_vo_grpc_service/protos/user_metric_api_pb2_grpc.py +100 -0
- global_vo_grpc_service/protos/user_password_reset_request_api_pb2.py +40 -0
- global_vo_grpc_service/protos/user_password_reset_request_api_pb2_grpc.py +132 -0
- global_vo_grpc_service/protos/utils_pb2.py +9 -3
- global_vo_grpc_service/protos/workflow_api_pb2.py +37 -33
- global_vo_grpc_service/protos/workflow_api_pb2_grpc.py +34 -1
- search_grpc_service/protos/index_api_pb2.py +20 -12
- search_grpc_service/protos/index_api_pb2_grpc.py +83 -14
- search_grpc_service/protos/search_api_pb2.py +34 -21
- search_grpc_service/protos/search_api_pb2_grpc.py +66 -0
- fsai_proto_specs-0.0.187.dist-info/RECORD +0 -75
- global_vo_grpc_service/protos/detection_instance_metadata_api_pb2.py +0 -58
- global_vo_grpc_service/protos/detection_instance_metadata_api_pb2_grpc.py +0 -265
- global_vo_grpc_service/protos/user_metadata_api_pb2.py +0 -45
- {fsai_proto_specs-0.0.187.dist-info → fsai_proto_specs-0.0.388.dist-info}/WHEEL +0 -0
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: global_vo_grpc_service/protos/admin_consumption_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 empty_pb2 as google_dot_protobuf_dot_empty__pb2
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n9global_vo_grpc_service/protos/admin_consumption_api.proto\x1a\x1bgoogle/protobuf/empty.proto\"\x9c\x01\n\x0b\x43onsumption\x12\x13\n\x0b\x63ustomer_id\x18\x01 \x01(\x05\x12\x0f\n\x07team_id\x18\x02 \x01(\x05\x12#\n\x1b\x63ontract_range_allotment_id\x18\x03 \x01(\x05\x12\x17\n\x0f\x63onsumption_km2\x18\x04 \x01(\x05\x12\x15\n\rallotment_km2\x18\x05 \x01(\x05\x12\x12\n\nis_current\x18\x06 \x01(\x08\";\n\x16GetConsumptionResponse\x12!\n\x0b\x63onsumption\x18\x01 \x03(\x0b\x32\x0c.Consumption2X\n\x13\x41\x64minConsumptionApi\x12\x41\n\x0eGetConsumption\x12\x16.google.protobuf.Empty\x1a\x17.GetConsumptionResponseb\x06proto3')
|
|
18
|
+
|
|
19
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
|
|
20
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'global_vo_grpc_service.protos.admin_consumption_api_pb2', globals())
|
|
21
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
22
|
+
|
|
23
|
+
DESCRIPTOR._options = None
|
|
24
|
+
_CONSUMPTION._serialized_start=91
|
|
25
|
+
_CONSUMPTION._serialized_end=247
|
|
26
|
+
_GETCONSUMPTIONRESPONSE._serialized_start=249
|
|
27
|
+
_GETCONSUMPTIONRESPONSE._serialized_end=308
|
|
28
|
+
_ADMINCONSUMPTIONAPI._serialized_start=310
|
|
29
|
+
_ADMINCONSUMPTIONAPI._serialized_end=398
|
|
30
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,67 @@
|
|
|
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 admin_consumption_api_pb2 as global__vo__grpc__service_dot_protos_dot_admin__consumption__api__pb2
|
|
6
|
+
from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class AdminConsumptionApiStub(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.GetConsumption = channel.unary_unary(
|
|
19
|
+
'/AdminConsumptionApi/GetConsumption',
|
|
20
|
+
request_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
|
21
|
+
response_deserializer=global__vo__grpc__service_dot_protos_dot_admin__consumption__api__pb2.GetConsumptionResponse.FromString,
|
|
22
|
+
)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
class AdminConsumptionApiServicer(object):
|
|
26
|
+
"""Missing associated documentation comment in .proto file."""
|
|
27
|
+
|
|
28
|
+
def GetConsumption(self, request, context):
|
|
29
|
+
"""Missing associated documentation comment in .proto file."""
|
|
30
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
31
|
+
context.set_details('Method not implemented!')
|
|
32
|
+
raise NotImplementedError('Method not implemented!')
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
def add_AdminConsumptionApiServicer_to_server(servicer, server):
|
|
36
|
+
rpc_method_handlers = {
|
|
37
|
+
'GetConsumption': grpc.unary_unary_rpc_method_handler(
|
|
38
|
+
servicer.GetConsumption,
|
|
39
|
+
request_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
|
40
|
+
response_serializer=global__vo__grpc__service_dot_protos_dot_admin__consumption__api__pb2.GetConsumptionResponse.SerializeToString,
|
|
41
|
+
),
|
|
42
|
+
}
|
|
43
|
+
generic_handler = grpc.method_handlers_generic_handler(
|
|
44
|
+
'AdminConsumptionApi', rpc_method_handlers)
|
|
45
|
+
server.add_generic_rpc_handlers((generic_handler,))
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
# This class is part of an EXPERIMENTAL API.
|
|
49
|
+
class AdminConsumptionApi(object):
|
|
50
|
+
"""Missing associated documentation comment in .proto file."""
|
|
51
|
+
|
|
52
|
+
@staticmethod
|
|
53
|
+
def GetConsumption(request,
|
|
54
|
+
target,
|
|
55
|
+
options=(),
|
|
56
|
+
channel_credentials=None,
|
|
57
|
+
call_credentials=None,
|
|
58
|
+
insecure=False,
|
|
59
|
+
compression=None,
|
|
60
|
+
wait_for_ready=None,
|
|
61
|
+
timeout=None,
|
|
62
|
+
metadata=None):
|
|
63
|
+
return grpc.experimental.unary_unary(request, target, '/AdminConsumptionApi/GetConsumption',
|
|
64
|
+
google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
|
65
|
+
global__vo__grpc__service_dot_protos_dot_admin__consumption__api__pb2.GetConsumptionResponse.FromString,
|
|
66
|
+
options, channel_credentials,
|
|
67
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: global_vo_grpc_service/protos/admin_contract_range_allotment_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 global_vo_grpc_service.protos import utils_pb2 as global__vo__grpc__service_dot_protos_dot_utils__pb2
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\nFglobal_vo_grpc_service/protos/admin_contract_range_allotment_api.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a)global_vo_grpc_service/protos/utils.proto\"\xac\x03\n\x16\x43ontractRangeAllotment\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x13\n\x0b\x63ustomer_id\x18\x02 \x01(\x05\x12\x17\n\x0f\x63ontract_number\x18\x03 \x01(\t\x12\x11\n\tallotment\x18\x04 \x01(\x05\x12.\n\nstart_date\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_date\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12 \n\x18\x63ontracting_organization\x18\x07 \x01(\t\x12\r\n\x05notes\x18\x08 \x01(\t\x12\x12\n\ncreated_by\x18\t \x01(\x05\x12\x12\n\nupdated_by\x18\n \x01(\x05\x12.\n\ncreated_at\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\ndeleted_at\x18\r \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"H\n\"ListContractRangeAllotmentsRequest\x12\r\n\x05query\x18\x01 \x01(\t\x12\x13\n\x0b\x63ustomer_id\x18\x02 \x01(\x05\"a\n#ListContractRangeAllotmentsResponse\x12:\n\x19\x63ontract_range_allotments\x18\x01 \x03(\x0b\x32\x17.ContractRangeAllotment\"\xf5\x01\n#CreateContractRangeAllotmentRequest\x12\x13\n\x0b\x63ustomer_id\x18\x01 \x01(\x05\x12\x17\n\x0f\x63ontract_number\x18\x02 \x01(\t\x12\x11\n\tallotment\x18\x03 \x01(\x05\x12.\n\nstart_date\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_date\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12 \n\x18\x63ontracting_organization\x18\x06 \x01(\t\x12\r\n\x05notes\x18\x07 \x01(\t\"T\n$CreateContractRangeAllotmentResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\n\n\x02id\x18\x02 \x01(\x05\"\xec\x01\n#UpdateContractRangeAllotmentRequest\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x17\n\x0f\x63ontract_number\x18\x02 \x01(\t\x12\x11\n\tallotment\x18\x03 \x01(\x05\x12.\n\nstart_date\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_date\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12 \n\x18\x63ontracting_organization\x18\x06 \x01(\t\x12\r\n\x05notes\x18\x07 \x01(\t\"T\n$UpdateContractRangeAllotmentResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\n\n\x02id\x18\x02 \x01(\x05\"1\n#DeleteContractRangeAllotmentRequest\x12\n\n\x02id\x18\x01 \x01(\x05\"H\n$DeleteContractRangeAllotmentResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType2\xd1\x03\n\x1e\x41\x64minContractRangeAllotmentApi\x12h\n\x1bListContractRangeAllotments\x12#.ListContractRangeAllotmentsRequest\x1a$.ListContractRangeAllotmentsResponse\x12k\n\x1c\x43reateContractRangeAllotment\x12$.CreateContractRangeAllotmentRequest\x1a%.CreateContractRangeAllotmentResponse\x12k\n\x1cUpdateContractRangeAllotment\x12$.UpdateContractRangeAllotmentRequest\x1a%.UpdateContractRangeAllotmentResponse\x12k\n\x1c\x44\x65leteContractRangeAllotment\x12$.DeleteContractRangeAllotmentRequest\x1a%.DeleteContractRangeAllotmentResponseb\x06proto3')
|
|
19
|
+
|
|
20
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
|
|
21
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'global_vo_grpc_service.protos.admin_contract_range_allotment_api_pb2', globals())
|
|
22
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
23
|
+
|
|
24
|
+
DESCRIPTOR._options = None
|
|
25
|
+
_CONTRACTRANGEALLOTMENT._serialized_start=151
|
|
26
|
+
_CONTRACTRANGEALLOTMENT._serialized_end=579
|
|
27
|
+
_LISTCONTRACTRANGEALLOTMENTSREQUEST._serialized_start=581
|
|
28
|
+
_LISTCONTRACTRANGEALLOTMENTSREQUEST._serialized_end=653
|
|
29
|
+
_LISTCONTRACTRANGEALLOTMENTSRESPONSE._serialized_start=655
|
|
30
|
+
_LISTCONTRACTRANGEALLOTMENTSRESPONSE._serialized_end=752
|
|
31
|
+
_CREATECONTRACTRANGEALLOTMENTREQUEST._serialized_start=755
|
|
32
|
+
_CREATECONTRACTRANGEALLOTMENTREQUEST._serialized_end=1000
|
|
33
|
+
_CREATECONTRACTRANGEALLOTMENTRESPONSE._serialized_start=1002
|
|
34
|
+
_CREATECONTRACTRANGEALLOTMENTRESPONSE._serialized_end=1086
|
|
35
|
+
_UPDATECONTRACTRANGEALLOTMENTREQUEST._serialized_start=1089
|
|
36
|
+
_UPDATECONTRACTRANGEALLOTMENTREQUEST._serialized_end=1325
|
|
37
|
+
_UPDATECONTRACTRANGEALLOTMENTRESPONSE._serialized_start=1327
|
|
38
|
+
_UPDATECONTRACTRANGEALLOTMENTRESPONSE._serialized_end=1411
|
|
39
|
+
_DELETECONTRACTRANGEALLOTMENTREQUEST._serialized_start=1413
|
|
40
|
+
_DELETECONTRACTRANGEALLOTMENTREQUEST._serialized_end=1462
|
|
41
|
+
_DELETECONTRACTRANGEALLOTMENTRESPONSE._serialized_start=1464
|
|
42
|
+
_DELETECONTRACTRANGEALLOTMENTRESPONSE._serialized_end=1536
|
|
43
|
+
_ADMINCONTRACTRANGEALLOTMENTAPI._serialized_start=1539
|
|
44
|
+
_ADMINCONTRACTRANGEALLOTMENTAPI._serialized_end=2004
|
|
45
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,165 @@
|
|
|
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 admin_contract_range_allotment_api_pb2 as global__vo__grpc__service_dot_protos_dot_admin__contract__range__allotment__api__pb2
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class AdminContractRangeAllotmentApiStub(object):
|
|
9
|
+
"""Missing associated documentation comment in .proto file."""
|
|
10
|
+
|
|
11
|
+
def __init__(self, channel):
|
|
12
|
+
"""Constructor.
|
|
13
|
+
|
|
14
|
+
Args:
|
|
15
|
+
channel: A grpc.Channel.
|
|
16
|
+
"""
|
|
17
|
+
self.ListContractRangeAllotments = channel.unary_unary(
|
|
18
|
+
'/AdminContractRangeAllotmentApi/ListContractRangeAllotments',
|
|
19
|
+
request_serializer=global__vo__grpc__service_dot_protos_dot_admin__contract__range__allotment__api__pb2.ListContractRangeAllotmentsRequest.SerializeToString,
|
|
20
|
+
response_deserializer=global__vo__grpc__service_dot_protos_dot_admin__contract__range__allotment__api__pb2.ListContractRangeAllotmentsResponse.FromString,
|
|
21
|
+
)
|
|
22
|
+
self.CreateContractRangeAllotment = channel.unary_unary(
|
|
23
|
+
'/AdminContractRangeAllotmentApi/CreateContractRangeAllotment',
|
|
24
|
+
request_serializer=global__vo__grpc__service_dot_protos_dot_admin__contract__range__allotment__api__pb2.CreateContractRangeAllotmentRequest.SerializeToString,
|
|
25
|
+
response_deserializer=global__vo__grpc__service_dot_protos_dot_admin__contract__range__allotment__api__pb2.CreateContractRangeAllotmentResponse.FromString,
|
|
26
|
+
)
|
|
27
|
+
self.UpdateContractRangeAllotment = channel.unary_unary(
|
|
28
|
+
'/AdminContractRangeAllotmentApi/UpdateContractRangeAllotment',
|
|
29
|
+
request_serializer=global__vo__grpc__service_dot_protos_dot_admin__contract__range__allotment__api__pb2.UpdateContractRangeAllotmentRequest.SerializeToString,
|
|
30
|
+
response_deserializer=global__vo__grpc__service_dot_protos_dot_admin__contract__range__allotment__api__pb2.UpdateContractRangeAllotmentResponse.FromString,
|
|
31
|
+
)
|
|
32
|
+
self.DeleteContractRangeAllotment = channel.unary_unary(
|
|
33
|
+
'/AdminContractRangeAllotmentApi/DeleteContractRangeAllotment',
|
|
34
|
+
request_serializer=global__vo__grpc__service_dot_protos_dot_admin__contract__range__allotment__api__pb2.DeleteContractRangeAllotmentRequest.SerializeToString,
|
|
35
|
+
response_deserializer=global__vo__grpc__service_dot_protos_dot_admin__contract__range__allotment__api__pb2.DeleteContractRangeAllotmentResponse.FromString,
|
|
36
|
+
)
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
class AdminContractRangeAllotmentApiServicer(object):
|
|
40
|
+
"""Missing associated documentation comment in .proto file."""
|
|
41
|
+
|
|
42
|
+
def ListContractRangeAllotments(self, request, context):
|
|
43
|
+
"""Missing associated documentation comment in .proto file."""
|
|
44
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
45
|
+
context.set_details('Method not implemented!')
|
|
46
|
+
raise NotImplementedError('Method not implemented!')
|
|
47
|
+
|
|
48
|
+
def CreateContractRangeAllotment(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 UpdateContractRangeAllotment(self, request, context):
|
|
55
|
+
"""Missing associated documentation comment in .proto file."""
|
|
56
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
57
|
+
context.set_details('Method not implemented!')
|
|
58
|
+
raise NotImplementedError('Method not implemented!')
|
|
59
|
+
|
|
60
|
+
def DeleteContractRangeAllotment(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
|
+
|
|
66
|
+
|
|
67
|
+
def add_AdminContractRangeAllotmentApiServicer_to_server(servicer, server):
|
|
68
|
+
rpc_method_handlers = {
|
|
69
|
+
'ListContractRangeAllotments': grpc.unary_unary_rpc_method_handler(
|
|
70
|
+
servicer.ListContractRangeAllotments,
|
|
71
|
+
request_deserializer=global__vo__grpc__service_dot_protos_dot_admin__contract__range__allotment__api__pb2.ListContractRangeAllotmentsRequest.FromString,
|
|
72
|
+
response_serializer=global__vo__grpc__service_dot_protos_dot_admin__contract__range__allotment__api__pb2.ListContractRangeAllotmentsResponse.SerializeToString,
|
|
73
|
+
),
|
|
74
|
+
'CreateContractRangeAllotment': grpc.unary_unary_rpc_method_handler(
|
|
75
|
+
servicer.CreateContractRangeAllotment,
|
|
76
|
+
request_deserializer=global__vo__grpc__service_dot_protos_dot_admin__contract__range__allotment__api__pb2.CreateContractRangeAllotmentRequest.FromString,
|
|
77
|
+
response_serializer=global__vo__grpc__service_dot_protos_dot_admin__contract__range__allotment__api__pb2.CreateContractRangeAllotmentResponse.SerializeToString,
|
|
78
|
+
),
|
|
79
|
+
'UpdateContractRangeAllotment': grpc.unary_unary_rpc_method_handler(
|
|
80
|
+
servicer.UpdateContractRangeAllotment,
|
|
81
|
+
request_deserializer=global__vo__grpc__service_dot_protos_dot_admin__contract__range__allotment__api__pb2.UpdateContractRangeAllotmentRequest.FromString,
|
|
82
|
+
response_serializer=global__vo__grpc__service_dot_protos_dot_admin__contract__range__allotment__api__pb2.UpdateContractRangeAllotmentResponse.SerializeToString,
|
|
83
|
+
),
|
|
84
|
+
'DeleteContractRangeAllotment': grpc.unary_unary_rpc_method_handler(
|
|
85
|
+
servicer.DeleteContractRangeAllotment,
|
|
86
|
+
request_deserializer=global__vo__grpc__service_dot_protos_dot_admin__contract__range__allotment__api__pb2.DeleteContractRangeAllotmentRequest.FromString,
|
|
87
|
+
response_serializer=global__vo__grpc__service_dot_protos_dot_admin__contract__range__allotment__api__pb2.DeleteContractRangeAllotmentResponse.SerializeToString,
|
|
88
|
+
),
|
|
89
|
+
}
|
|
90
|
+
generic_handler = grpc.method_handlers_generic_handler(
|
|
91
|
+
'AdminContractRangeAllotmentApi', rpc_method_handlers)
|
|
92
|
+
server.add_generic_rpc_handlers((generic_handler,))
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
# This class is part of an EXPERIMENTAL API.
|
|
96
|
+
class AdminContractRangeAllotmentApi(object):
|
|
97
|
+
"""Missing associated documentation comment in .proto file."""
|
|
98
|
+
|
|
99
|
+
@staticmethod
|
|
100
|
+
def ListContractRangeAllotments(request,
|
|
101
|
+
target,
|
|
102
|
+
options=(),
|
|
103
|
+
channel_credentials=None,
|
|
104
|
+
call_credentials=None,
|
|
105
|
+
insecure=False,
|
|
106
|
+
compression=None,
|
|
107
|
+
wait_for_ready=None,
|
|
108
|
+
timeout=None,
|
|
109
|
+
metadata=None):
|
|
110
|
+
return grpc.experimental.unary_unary(request, target, '/AdminContractRangeAllotmentApi/ListContractRangeAllotments',
|
|
111
|
+
global__vo__grpc__service_dot_protos_dot_admin__contract__range__allotment__api__pb2.ListContractRangeAllotmentsRequest.SerializeToString,
|
|
112
|
+
global__vo__grpc__service_dot_protos_dot_admin__contract__range__allotment__api__pb2.ListContractRangeAllotmentsResponse.FromString,
|
|
113
|
+
options, channel_credentials,
|
|
114
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
115
|
+
|
|
116
|
+
@staticmethod
|
|
117
|
+
def CreateContractRangeAllotment(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, '/AdminContractRangeAllotmentApi/CreateContractRangeAllotment',
|
|
128
|
+
global__vo__grpc__service_dot_protos_dot_admin__contract__range__allotment__api__pb2.CreateContractRangeAllotmentRequest.SerializeToString,
|
|
129
|
+
global__vo__grpc__service_dot_protos_dot_admin__contract__range__allotment__api__pb2.CreateContractRangeAllotmentResponse.FromString,
|
|
130
|
+
options, channel_credentials,
|
|
131
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
132
|
+
|
|
133
|
+
@staticmethod
|
|
134
|
+
def UpdateContractRangeAllotment(request,
|
|
135
|
+
target,
|
|
136
|
+
options=(),
|
|
137
|
+
channel_credentials=None,
|
|
138
|
+
call_credentials=None,
|
|
139
|
+
insecure=False,
|
|
140
|
+
compression=None,
|
|
141
|
+
wait_for_ready=None,
|
|
142
|
+
timeout=None,
|
|
143
|
+
metadata=None):
|
|
144
|
+
return grpc.experimental.unary_unary(request, target, '/AdminContractRangeAllotmentApi/UpdateContractRangeAllotment',
|
|
145
|
+
global__vo__grpc__service_dot_protos_dot_admin__contract__range__allotment__api__pb2.UpdateContractRangeAllotmentRequest.SerializeToString,
|
|
146
|
+
global__vo__grpc__service_dot_protos_dot_admin__contract__range__allotment__api__pb2.UpdateContractRangeAllotmentResponse.FromString,
|
|
147
|
+
options, channel_credentials,
|
|
148
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
149
|
+
|
|
150
|
+
@staticmethod
|
|
151
|
+
def DeleteContractRangeAllotment(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, '/AdminContractRangeAllotmentApi/DeleteContractRangeAllotment',
|
|
162
|
+
global__vo__grpc__service_dot_protos_dot_admin__contract__range__allotment__api__pb2.DeleteContractRangeAllotmentRequest.SerializeToString,
|
|
163
|
+
global__vo__grpc__service_dot_protos_dot_admin__contract__range__allotment__api__pb2.DeleteContractRangeAllotmentResponse.FromString,
|
|
164
|
+
options, channel_credentials,
|
|
165
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: global_vo_grpc_service/protos/admin_customer_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 global_vo_grpc_service.protos import utils_pb2 as global__vo__grpc__service_dot_protos_dot_utils__pb2
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n6global_vo_grpc_service/protos/admin_customer_api.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a)global_vo_grpc_service/protos/utils.proto\"\x94\x02\n\x08\x43ustomer\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x10\n\x08\x66sai_poc\x18\x03 \x01(\t\x12\x15\n\rsecondary_poc\x18\x04 \x01(\t\x12\r\n\x05notes\x18\x05 \x01(\t\x12\x12\n\ncreated_by\x18\x06 \x01(\x05\x12\x12\n\nupdated_by\x18\x07 \x01(\x05\x12.\n\ncreated_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\ndeleted_at\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"%\n\x14ListCustomersRequest\x12\r\n\x05query\x18\x01 \x01(\t\"5\n\x15ListCustomersResponse\x12\x1c\n\tcustomers\x18\x01 \x03(\x0b\x32\t.Customer\"o\n\x15\x43reateCustomerRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x10\n\x08\x66sai_poc\x18\x02 \x01(\t\x12\x15\n\rsecondary_poc\x18\x03 \x01(\t\x12\r\n\x05notes\x18\x04 \x01(\t\x12\x10\n\x08team_ids\x18\x05 \x03(\x05\"F\n\x16\x43reateCustomerResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\n\n\x02id\x18\x02 \x01(\x05\"{\n\x15UpdateCustomerRequest\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x10\n\x08\x66sai_poc\x18\x03 \x01(\t\x12\x15\n\rsecondary_poc\x18\x04 \x01(\t\x12\r\n\x05notes\x18\x05 \x01(\t\x12\x10\n\x08team_ids\x18\x06 \x03(\x05\"F\n\x16UpdateCustomerResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\n\n\x02id\x18\x02 \x01(\x05\"#\n\x15\x44\x65leteCustomerRequest\x12\n\n\x02id\x18\x01 \x01(\x05\":\n\x16\x44\x65leteCustomerResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType2\x9b\x02\n\x10\x41\x64minCustomerApi\x12>\n\rListCustomers\x12\x15.ListCustomersRequest\x1a\x16.ListCustomersResponse\x12\x41\n\x0e\x43reateCustomer\x12\x16.CreateCustomerRequest\x1a\x17.CreateCustomerResponse\x12\x41\n\x0eUpdateCustomer\x12\x16.UpdateCustomerRequest\x1a\x17.UpdateCustomerResponse\x12\x41\n\x0e\x44\x65leteCustomer\x12\x16.DeleteCustomerRequest\x1a\x17.DeleteCustomerResponseb\x06proto3')
|
|
19
|
+
|
|
20
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
|
|
21
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'global_vo_grpc_service.protos.admin_customer_api_pb2', globals())
|
|
22
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
23
|
+
|
|
24
|
+
DESCRIPTOR._options = None
|
|
25
|
+
_CUSTOMER._serialized_start=135
|
|
26
|
+
_CUSTOMER._serialized_end=411
|
|
27
|
+
_LISTCUSTOMERSREQUEST._serialized_start=413
|
|
28
|
+
_LISTCUSTOMERSREQUEST._serialized_end=450
|
|
29
|
+
_LISTCUSTOMERSRESPONSE._serialized_start=452
|
|
30
|
+
_LISTCUSTOMERSRESPONSE._serialized_end=505
|
|
31
|
+
_CREATECUSTOMERREQUEST._serialized_start=507
|
|
32
|
+
_CREATECUSTOMERREQUEST._serialized_end=618
|
|
33
|
+
_CREATECUSTOMERRESPONSE._serialized_start=620
|
|
34
|
+
_CREATECUSTOMERRESPONSE._serialized_end=690
|
|
35
|
+
_UPDATECUSTOMERREQUEST._serialized_start=692
|
|
36
|
+
_UPDATECUSTOMERREQUEST._serialized_end=815
|
|
37
|
+
_UPDATECUSTOMERRESPONSE._serialized_start=817
|
|
38
|
+
_UPDATECUSTOMERRESPONSE._serialized_end=887
|
|
39
|
+
_DELETECUSTOMERREQUEST._serialized_start=889
|
|
40
|
+
_DELETECUSTOMERREQUEST._serialized_end=924
|
|
41
|
+
_DELETECUSTOMERRESPONSE._serialized_start=926
|
|
42
|
+
_DELETECUSTOMERRESPONSE._serialized_end=984
|
|
43
|
+
_ADMINCUSTOMERAPI._serialized_start=987
|
|
44
|
+
_ADMINCUSTOMERAPI._serialized_end=1270
|
|
45
|
+
# @@protoc_insertion_point(module_scope)
|
global_vo_grpc_service/protos/{user_metadata_api_pb2_grpc.py → admin_customer_api_pb2_grpc.py}
RENAMED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
"""Client and server classes corresponding to protobuf-defined services."""
|
|
3
3
|
import grpc
|
|
4
4
|
|
|
5
|
-
from global_vo_grpc_service.protos import
|
|
5
|
+
from global_vo_grpc_service.protos import admin_customer_api_pb2 as global__vo__grpc__service_dot_protos_dot_admin__customer__api__pb2
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
class
|
|
8
|
+
class AdminCustomerApiStub(object):
|
|
9
9
|
"""Missing associated documentation comment in .proto file."""
|
|
10
10
|
|
|
11
11
|
def __init__(self, channel):
|
|
@@ -14,90 +14,90 @@ class UserMetadataApiStub(object):
|
|
|
14
14
|
Args:
|
|
15
15
|
channel: A grpc.Channel.
|
|
16
16
|
"""
|
|
17
|
-
self.
|
|
18
|
-
'/
|
|
19
|
-
request_serializer=
|
|
20
|
-
response_deserializer=
|
|
17
|
+
self.ListCustomers = channel.unary_unary(
|
|
18
|
+
'/AdminCustomerApi/ListCustomers',
|
|
19
|
+
request_serializer=global__vo__grpc__service_dot_protos_dot_admin__customer__api__pb2.ListCustomersRequest.SerializeToString,
|
|
20
|
+
response_deserializer=global__vo__grpc__service_dot_protos_dot_admin__customer__api__pb2.ListCustomersResponse.FromString,
|
|
21
21
|
)
|
|
22
|
-
self.
|
|
23
|
-
'/
|
|
24
|
-
request_serializer=
|
|
25
|
-
response_deserializer=
|
|
22
|
+
self.CreateCustomer = channel.unary_unary(
|
|
23
|
+
'/AdminCustomerApi/CreateCustomer',
|
|
24
|
+
request_serializer=global__vo__grpc__service_dot_protos_dot_admin__customer__api__pb2.CreateCustomerRequest.SerializeToString,
|
|
25
|
+
response_deserializer=global__vo__grpc__service_dot_protos_dot_admin__customer__api__pb2.CreateCustomerResponse.FromString,
|
|
26
26
|
)
|
|
27
|
-
self.
|
|
28
|
-
'/
|
|
29
|
-
request_serializer=
|
|
30
|
-
response_deserializer=
|
|
27
|
+
self.UpdateCustomer = channel.unary_unary(
|
|
28
|
+
'/AdminCustomerApi/UpdateCustomer',
|
|
29
|
+
request_serializer=global__vo__grpc__service_dot_protos_dot_admin__customer__api__pb2.UpdateCustomerRequest.SerializeToString,
|
|
30
|
+
response_deserializer=global__vo__grpc__service_dot_protos_dot_admin__customer__api__pb2.UpdateCustomerResponse.FromString,
|
|
31
31
|
)
|
|
32
|
-
self.
|
|
33
|
-
'/
|
|
34
|
-
request_serializer=
|
|
35
|
-
response_deserializer=
|
|
32
|
+
self.DeleteCustomer = channel.unary_unary(
|
|
33
|
+
'/AdminCustomerApi/DeleteCustomer',
|
|
34
|
+
request_serializer=global__vo__grpc__service_dot_protos_dot_admin__customer__api__pb2.DeleteCustomerRequest.SerializeToString,
|
|
35
|
+
response_deserializer=global__vo__grpc__service_dot_protos_dot_admin__customer__api__pb2.DeleteCustomerResponse.FromString,
|
|
36
36
|
)
|
|
37
37
|
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class AdminCustomerApiServicer(object):
|
|
40
40
|
"""Missing associated documentation comment in .proto file."""
|
|
41
41
|
|
|
42
|
-
def
|
|
42
|
+
def ListCustomers(self, request, context):
|
|
43
43
|
"""Missing associated documentation comment in .proto file."""
|
|
44
44
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
45
45
|
context.set_details('Method not implemented!')
|
|
46
46
|
raise NotImplementedError('Method not implemented!')
|
|
47
47
|
|
|
48
|
-
def
|
|
48
|
+
def CreateCustomer(self, request, context):
|
|
49
49
|
"""Missing associated documentation comment in .proto file."""
|
|
50
50
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
51
51
|
context.set_details('Method not implemented!')
|
|
52
52
|
raise NotImplementedError('Method not implemented!')
|
|
53
53
|
|
|
54
|
-
def
|
|
54
|
+
def UpdateCustomer(self, request, context):
|
|
55
55
|
"""Missing associated documentation comment in .proto file."""
|
|
56
56
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
57
57
|
context.set_details('Method not implemented!')
|
|
58
58
|
raise NotImplementedError('Method not implemented!')
|
|
59
59
|
|
|
60
|
-
def
|
|
60
|
+
def DeleteCustomer(self, request, context):
|
|
61
61
|
"""Missing associated documentation comment in .proto file."""
|
|
62
62
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
63
63
|
context.set_details('Method not implemented!')
|
|
64
64
|
raise NotImplementedError('Method not implemented!')
|
|
65
65
|
|
|
66
66
|
|
|
67
|
-
def
|
|
67
|
+
def add_AdminCustomerApiServicer_to_server(servicer, server):
|
|
68
68
|
rpc_method_handlers = {
|
|
69
|
-
'
|
|
70
|
-
servicer.
|
|
71
|
-
request_deserializer=
|
|
72
|
-
response_serializer=
|
|
69
|
+
'ListCustomers': grpc.unary_unary_rpc_method_handler(
|
|
70
|
+
servicer.ListCustomers,
|
|
71
|
+
request_deserializer=global__vo__grpc__service_dot_protos_dot_admin__customer__api__pb2.ListCustomersRequest.FromString,
|
|
72
|
+
response_serializer=global__vo__grpc__service_dot_protos_dot_admin__customer__api__pb2.ListCustomersResponse.SerializeToString,
|
|
73
73
|
),
|
|
74
|
-
'
|
|
75
|
-
servicer.
|
|
76
|
-
request_deserializer=
|
|
77
|
-
response_serializer=
|
|
74
|
+
'CreateCustomer': grpc.unary_unary_rpc_method_handler(
|
|
75
|
+
servicer.CreateCustomer,
|
|
76
|
+
request_deserializer=global__vo__grpc__service_dot_protos_dot_admin__customer__api__pb2.CreateCustomerRequest.FromString,
|
|
77
|
+
response_serializer=global__vo__grpc__service_dot_protos_dot_admin__customer__api__pb2.CreateCustomerResponse.SerializeToString,
|
|
78
78
|
),
|
|
79
|
-
'
|
|
80
|
-
servicer.
|
|
81
|
-
request_deserializer=
|
|
82
|
-
response_serializer=
|
|
79
|
+
'UpdateCustomer': grpc.unary_unary_rpc_method_handler(
|
|
80
|
+
servicer.UpdateCustomer,
|
|
81
|
+
request_deserializer=global__vo__grpc__service_dot_protos_dot_admin__customer__api__pb2.UpdateCustomerRequest.FromString,
|
|
82
|
+
response_serializer=global__vo__grpc__service_dot_protos_dot_admin__customer__api__pb2.UpdateCustomerResponse.SerializeToString,
|
|
83
83
|
),
|
|
84
|
-
'
|
|
85
|
-
servicer.
|
|
86
|
-
request_deserializer=
|
|
87
|
-
response_serializer=
|
|
84
|
+
'DeleteCustomer': grpc.unary_unary_rpc_method_handler(
|
|
85
|
+
servicer.DeleteCustomer,
|
|
86
|
+
request_deserializer=global__vo__grpc__service_dot_protos_dot_admin__customer__api__pb2.DeleteCustomerRequest.FromString,
|
|
87
|
+
response_serializer=global__vo__grpc__service_dot_protos_dot_admin__customer__api__pb2.DeleteCustomerResponse.SerializeToString,
|
|
88
88
|
),
|
|
89
89
|
}
|
|
90
90
|
generic_handler = grpc.method_handlers_generic_handler(
|
|
91
|
-
'
|
|
91
|
+
'AdminCustomerApi', rpc_method_handlers)
|
|
92
92
|
server.add_generic_rpc_handlers((generic_handler,))
|
|
93
93
|
|
|
94
94
|
|
|
95
95
|
# This class is part of an EXPERIMENTAL API.
|
|
96
|
-
class
|
|
96
|
+
class AdminCustomerApi(object):
|
|
97
97
|
"""Missing associated documentation comment in .proto file."""
|
|
98
98
|
|
|
99
99
|
@staticmethod
|
|
100
|
-
def
|
|
100
|
+
def ListCustomers(request,
|
|
101
101
|
target,
|
|
102
102
|
options=(),
|
|
103
103
|
channel_credentials=None,
|
|
@@ -107,14 +107,14 @@ class UserMetadataApi(object):
|
|
|
107
107
|
wait_for_ready=None,
|
|
108
108
|
timeout=None,
|
|
109
109
|
metadata=None):
|
|
110
|
-
return grpc.experimental.unary_unary(request, target, '/
|
|
111
|
-
|
|
112
|
-
|
|
110
|
+
return grpc.experimental.unary_unary(request, target, '/AdminCustomerApi/ListCustomers',
|
|
111
|
+
global__vo__grpc__service_dot_protos_dot_admin__customer__api__pb2.ListCustomersRequest.SerializeToString,
|
|
112
|
+
global__vo__grpc__service_dot_protos_dot_admin__customer__api__pb2.ListCustomersResponse.FromString,
|
|
113
113
|
options, channel_credentials,
|
|
114
114
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
115
115
|
|
|
116
116
|
@staticmethod
|
|
117
|
-
def
|
|
117
|
+
def CreateCustomer(request,
|
|
118
118
|
target,
|
|
119
119
|
options=(),
|
|
120
120
|
channel_credentials=None,
|
|
@@ -124,14 +124,14 @@ class UserMetadataApi(object):
|
|
|
124
124
|
wait_for_ready=None,
|
|
125
125
|
timeout=None,
|
|
126
126
|
metadata=None):
|
|
127
|
-
return grpc.experimental.unary_unary(request, target, '/
|
|
128
|
-
|
|
129
|
-
|
|
127
|
+
return grpc.experimental.unary_unary(request, target, '/AdminCustomerApi/CreateCustomer',
|
|
128
|
+
global__vo__grpc__service_dot_protos_dot_admin__customer__api__pb2.CreateCustomerRequest.SerializeToString,
|
|
129
|
+
global__vo__grpc__service_dot_protos_dot_admin__customer__api__pb2.CreateCustomerResponse.FromString,
|
|
130
130
|
options, channel_credentials,
|
|
131
131
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
132
132
|
|
|
133
133
|
@staticmethod
|
|
134
|
-
def
|
|
134
|
+
def UpdateCustomer(request,
|
|
135
135
|
target,
|
|
136
136
|
options=(),
|
|
137
137
|
channel_credentials=None,
|
|
@@ -141,14 +141,14 @@ class UserMetadataApi(object):
|
|
|
141
141
|
wait_for_ready=None,
|
|
142
142
|
timeout=None,
|
|
143
143
|
metadata=None):
|
|
144
|
-
return grpc.experimental.unary_unary(request, target, '/
|
|
145
|
-
|
|
146
|
-
|
|
144
|
+
return grpc.experimental.unary_unary(request, target, '/AdminCustomerApi/UpdateCustomer',
|
|
145
|
+
global__vo__grpc__service_dot_protos_dot_admin__customer__api__pb2.UpdateCustomerRequest.SerializeToString,
|
|
146
|
+
global__vo__grpc__service_dot_protos_dot_admin__customer__api__pb2.UpdateCustomerResponse.FromString,
|
|
147
147
|
options, channel_credentials,
|
|
148
148
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
149
149
|
|
|
150
150
|
@staticmethod
|
|
151
|
-
def
|
|
151
|
+
def DeleteCustomer(request,
|
|
152
152
|
target,
|
|
153
153
|
options=(),
|
|
154
154
|
channel_credentials=None,
|
|
@@ -158,8 +158,8 @@ class UserMetadataApi(object):
|
|
|
158
158
|
wait_for_ready=None,
|
|
159
159
|
timeout=None,
|
|
160
160
|
metadata=None):
|
|
161
|
-
return grpc.experimental.unary_unary(request, target, '/
|
|
162
|
-
|
|
163
|
-
|
|
161
|
+
return grpc.experimental.unary_unary(request, target, '/AdminCustomerApi/DeleteCustomer',
|
|
162
|
+
global__vo__grpc__service_dot_protos_dot_admin__customer__api__pb2.DeleteCustomerRequest.SerializeToString,
|
|
163
|
+
global__vo__grpc__service_dot_protos_dot_admin__customer__api__pb2.DeleteCustomerResponse.FromString,
|
|
164
164
|
options, channel_credentials,
|
|
165
165
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: global_vo_grpc_service/protos/admin_system_permission_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
|
+
|
|
17
|
+
|
|
18
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n?global_vo_grpc_service/protos/admin_system_permission_api.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1bgoogle/protobuf/empty.proto\"\xbd\x01\n\x10SystemPermission\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.\n\ncreated_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04type\x18\x07 \x01(\t\"N\n\x1dListSystemPermissionsResponse\x12-\n\x12system_permissions\x18\x01 \x03(\x0b\x32\x11.SystemPermission2k\n\x18\x41\x64minSystemPermissionApi\x12O\n\x15ListSystemPermissions\x12\x16.google.protobuf.Empty\x1a\x1e.ListSystemPermissionsResponseb\x06proto3')
|
|
19
|
+
|
|
20
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
|
|
21
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'global_vo_grpc_service.protos.admin_system_permission_api_pb2', globals())
|
|
22
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
23
|
+
|
|
24
|
+
DESCRIPTOR._options = None
|
|
25
|
+
_SYSTEMPERMISSION._serialized_start=130
|
|
26
|
+
_SYSTEMPERMISSION._serialized_end=319
|
|
27
|
+
_LISTSYSTEMPERMISSIONSRESPONSE._serialized_start=321
|
|
28
|
+
_LISTSYSTEMPERMISSIONSRESPONSE._serialized_end=399
|
|
29
|
+
_ADMINSYSTEMPERMISSIONAPI._serialized_start=401
|
|
30
|
+
_ADMINSYSTEMPERMISSIONAPI._serialized_end=508
|
|
31
|
+
# @@protoc_insertion_point(module_scope)
|