fsai-proto-specs 0.0.393__py3-none-any.whl → 0.0.400__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.393
3
+ Version: 0.0.400
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
@@ -44,6 +44,8 @@ global_vo_grpc_service/protos/category_api_pb2.py,sha256=S4ejycyOzGNweFILaOeadww
44
44
  global_vo_grpc_service/protos/category_api_pb2_grpc.py,sha256=erxPMZGXPHzDgWhGTA6bfh3R4JA7v2pzk4-SOZMDaKU,6561
45
45
  global_vo_grpc_service/protos/category_changelog_api_pb2.py,sha256=utcMnmzp6x_wNUbFI0N5b0iPpdxK7yrLfKlSvSj299c,2824
46
46
  global_vo_grpc_service/protos/category_changelog_api_pb2_grpc.py,sha256=HzflwVLXd23omsc1RiO-F1vtix7AJ9VL2TH70Fskvfw,5291
47
+ global_vo_grpc_service/protos/correction_api_pb2.py,sha256=HrYU7Fa6qXMQJrFMnBdMOH2t2QJWDGZF019NWIjetg8,4527
48
+ global_vo_grpc_service/protos/correction_api_pb2_grpc.py,sha256=yOHyhje8oC5CXjR9ltny203hhLMfJmCgY_MHZpZFiDQ,10883
47
49
  global_vo_grpc_service/protos/customer_api_pb2.py,sha256=4ihptYrq2fZXz8z5JYgsZlEvQ12cEH-p-ZqQjd-bJKY,1523
48
50
  global_vo_grpc_service/protos/customer_api_pb2_grpc.py,sha256=S_OVW5vibkGtcNj7TOhzs-2RONxnQCiyB5Y5GCoHzPw,2986
49
51
  global_vo_grpc_service/protos/detection_api_pb2.py,sha256=1imIR2QqbqhkAL4Ehc6JSjJ5sGVxCOSDtj96iUdwL1Q,1561
@@ -70,8 +72,12 @@ global_vo_grpc_service/protos/model_assessment_api_pb2.py,sha256=xUJHuNYWZSTViML
70
72
  global_vo_grpc_service/protos/model_assessment_api_pb2_grpc.py,sha256=EwVFTLoI_drwbrcbKPOMqv3HwIcY4vQnC65OIFehrpc,6938
71
73
  global_vo_grpc_service/protos/permission_api_pb2.py,sha256=r-kGWRZfytc5nbsSFMy1B0euC6hvI2zIOMJ39R_1mEs,2485
72
74
  global_vo_grpc_service/protos/permission_api_pb2_grpc.py,sha256=AqaNSjZxphjTOSuD1d_4q64L1p8BUD5M7xwoiFuGkT0,4843
75
+ global_vo_grpc_service/protos/product_changelog_api_pb2.py,sha256=fHijZW094Key8fX76Xi4vTglt-CsU3pIQd_doANyUmM,4014
76
+ global_vo_grpc_service/protos/product_changelog_api_pb2_grpc.py,sha256=5U_itNWLS7HVAr6Kx0IfLQMi6mpOWAoZtAgUS-BnjyM,9022
73
77
  global_vo_grpc_service/protos/query_api_pb2.py,sha256=BZxuoc42UnM8I0GpOTIUNoCyt797Snf6j84ejgDrYs0,6810
74
78
  global_vo_grpc_service/protos/query_api_pb2_grpc.py,sha256=2QA_Os2JW1FwwTZhk2pzuw8G8TIVkfedjU3IaXco9CA,8967
79
+ global_vo_grpc_service/protos/reporting_api_pb2.py,sha256=k3ZwecG3yCotzjKoU9ghpGKNy6aeyMzLDCzC0Hlfn4A,5731
80
+ global_vo_grpc_service/protos/reporting_api_pb2_grpc.py,sha256=QnYfPbM6JB5zXvHGscJYPn-PMGj8TACG0O3pC1uLkMo,7238
75
81
  global_vo_grpc_service/protos/review_api_pb2.py,sha256=92N1aM81NdjUb1InbypKIr1GXkk-rDAD5dGmu3uldAA,11890
76
82
  global_vo_grpc_service/protos/review_api_pb2_grpc.py,sha256=lwGsarvkyBpQyhT2_uc-uh6l4U8BOBcfw6lvLOfM-KY,27474
77
83
  global_vo_grpc_service/protos/role_api_pb2.py,sha256=8IKAeOK52gwEnzrHzmPu8ACrPd5OINyJ1iNtGEZLVIA,2287
@@ -102,7 +108,7 @@ global_vo_grpc_service/protos/user_metric_api_pb2.py,sha256=lU6xEPY7nHPoLq6a6-O5
102
108
  global_vo_grpc_service/protos/user_metric_api_pb2_grpc.py,sha256=VVA5ygMmXEnP7nlYSqYKmcVK41zbIOVTvbahx0dvWvk,4895
103
109
  global_vo_grpc_service/protos/user_password_reset_request_api_pb2.py,sha256=0Sc4Qg30I2_5RwHmm_fphBlcMc43beTEVVHRmzyCueQ,3391
104
110
  global_vo_grpc_service/protos/user_password_reset_request_api_pb2_grpc.py,sha256=AMInD8TCFmnwOAUsSOy9bf5KtxR5NPxSBLS65vvifHo,7611
105
- global_vo_grpc_service/protos/utils_pb2.py,sha256=p70uDah7pWp0Y1VxS7TvXj8TTeFTSqK1IDWOKStbR2Q,3085
111
+ global_vo_grpc_service/protos/utils_pb2.py,sha256=CrP4EavSYXmr0ZnlJ9eXFKJ2qpD31DTnaPkGc76DT30,3301
106
112
  global_vo_grpc_service/protos/utils_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
107
113
  global_vo_grpc_service/protos/workflow_analyzer_api_pb2.py,sha256=UfUYdoHI4SoH4kvCEJOxH5ojXtJhgW28mwszNJyNedA,2975
108
114
  global_vo_grpc_service/protos/workflow_analyzer_api_pb2_grpc.py,sha256=2EprSKuNtQh5Pt47ae2_u58Qr8IfkeZ-ePY5_zfOfmY,7132
@@ -114,6 +120,6 @@ search_grpc_service/protos/index_api_pb2.py,sha256=6gqbhy6__LQ0nXPbJ_j-I2LIWbYPY
114
120
  search_grpc_service/protos/index_api_pb2_grpc.py,sha256=qrtGUh9HpN1wiavtpRCtqkGQonq8aanT3MZfsjWaVCM,10672
115
121
  search_grpc_service/protos/search_api_pb2.py,sha256=M9ziQ8pQydNhpldCDy_-g9Mrd8ik48Q9olLZtmdcVIE,5243
116
122
  search_grpc_service/protos/search_api_pb2_grpc.py,sha256=1aRML4YmgvB_2TgjkVD59HKsSHT88pnt7omLL_CnMzA,6870
117
- fsai_proto_specs-0.0.393.dist-info/METADATA,sha256=dS_Tl0eAhjKDV3BqIHCCIGAwJ29GTeMni93GB5OFIjw,972
118
- fsai_proto_specs-0.0.393.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
119
- fsai_proto_specs-0.0.393.dist-info/RECORD,,
123
+ fsai_proto_specs-0.0.400.dist-info/METADATA,sha256=re7FhYOtucyd-Ia-ZIEwLymIUTWxnAVNDXVY9ePrSck,972
124
+ fsai_proto_specs-0.0.400.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
125
+ fsai_proto_specs-0.0.400.dist-info/RECORD,,
@@ -0,0 +1,49 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: global_vo_grpc_service/protos/correction_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'\n2global_vo_grpc_service/protos/correction_api.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a)global_vo_grpc_service/protos/utils.proto\"\xdb\x01\n\nCorrection\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x1d\n\x15\x64\x65tection_instance_id\x18\x02 \x01(\x05\x12\x13\n\x0b\x61ssigned_to\x18\x03 \x01(\x05\x12\x13\n\x0b\x61ssigned_by\x18\x04 \x01(\x05\x12\x30\n\x0crequested_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x30\n\x0c\x63ompleted_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x14\n\x0c\x63ompleted_by\x18\x07 \x01(\x05\"E\n#GetCorrectionsByDetectionIdsRequest\x12\x1e\n\x16\x64\x65tection_instance_ids\x18\x01 \x03(\x05\"H\n$GetCorrectionsByDetectionIdsResponse\x12 \n\x0b\x63orrections\x18\x01 \x03(\x0b\x32\x0b.Correction\"8\n!GetCorrectionsByAssignedToRequest\x12\x13\n\x0b\x61ssigned_to\x18\x01 \x01(\x05\"F\n\"GetCorrectionsByAssignedToResponse\x12 \n\x0b\x63orrections\x18\x01 \x03(\x0b\x32\x0b.Correction\"8\n!GetCorrectionsByAssignedByRequest\x12\x13\n\x0b\x61ssigned_by\x18\x01 \x01(\x05\"F\n\"GetCorrectionsByAssignedByResponse\x12 \n\x0b\x63orrections\x18\x01 \x03(\x0b\x32\x0b.Correction\":\n\x18\x43reateCorrectionsRequest\x12\x1e\n\x16\x64\x65tection_instance_ids\x18\x01 \x03(\x05\"J\n\x19\x43reateCorrectionsResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x0b\n\x03ids\x18\x02 \x03(\x05\"9\n\x1a\x43ompleteCorrectionsRequest\x12\x0b\n\x03ids\x18\x01 \x03(\x05\x12\x0e\n\x06\x61\x63tion\x18\x02 \x01(\t\"L\n\x1b\x43ompleteCorrectionsResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x0b\n\x03ids\x18\x02 \x03(\x05\x32\xe8\x03\n\rCorrectionApi\x12k\n\x1cGetCorrectionsByDetectionIds\x12$.GetCorrectionsByDetectionIdsRequest\x1a%.GetCorrectionsByDetectionIdsResponse\x12\x65\n\x1aGetCorrectionsByAssignedTo\x12\".GetCorrectionsByAssignedToRequest\x1a#.GetCorrectionsByAssignedToResponse\x12\x65\n\x1aGetCorrectionsByAssignedBy\x12\".GetCorrectionsByAssignedByRequest\x1a#.GetCorrectionsByAssignedByResponse\x12J\n\x11\x43reateCorrections\x12\x19.CreateCorrectionsRequest\x1a\x1a.CreateCorrectionsResponse\x12P\n\x13\x43ompleteCorrections\x12\x1b.CompleteCorrectionsRequest\x1a\x1c.CompleteCorrectionsResponseb\x06proto3')
19
+
20
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
21
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'global_vo_grpc_service.protos.correction_api_pb2', globals())
22
+ if _descriptor._USE_C_DESCRIPTORS == False:
23
+
24
+ DESCRIPTOR._options = None
25
+ _CORRECTION._serialized_start=131
26
+ _CORRECTION._serialized_end=350
27
+ _GETCORRECTIONSBYDETECTIONIDSREQUEST._serialized_start=352
28
+ _GETCORRECTIONSBYDETECTIONIDSREQUEST._serialized_end=421
29
+ _GETCORRECTIONSBYDETECTIONIDSRESPONSE._serialized_start=423
30
+ _GETCORRECTIONSBYDETECTIONIDSRESPONSE._serialized_end=495
31
+ _GETCORRECTIONSBYASSIGNEDTOREQUEST._serialized_start=497
32
+ _GETCORRECTIONSBYASSIGNEDTOREQUEST._serialized_end=553
33
+ _GETCORRECTIONSBYASSIGNEDTORESPONSE._serialized_start=555
34
+ _GETCORRECTIONSBYASSIGNEDTORESPONSE._serialized_end=625
35
+ _GETCORRECTIONSBYASSIGNEDBYREQUEST._serialized_start=627
36
+ _GETCORRECTIONSBYASSIGNEDBYREQUEST._serialized_end=683
37
+ _GETCORRECTIONSBYASSIGNEDBYRESPONSE._serialized_start=685
38
+ _GETCORRECTIONSBYASSIGNEDBYRESPONSE._serialized_end=755
39
+ _CREATECORRECTIONSREQUEST._serialized_start=757
40
+ _CREATECORRECTIONSREQUEST._serialized_end=815
41
+ _CREATECORRECTIONSRESPONSE._serialized_start=817
42
+ _CREATECORRECTIONSRESPONSE._serialized_end=891
43
+ _COMPLETECORRECTIONSREQUEST._serialized_start=893
44
+ _COMPLETECORRECTIONSREQUEST._serialized_end=950
45
+ _COMPLETECORRECTIONSRESPONSE._serialized_start=952
46
+ _COMPLETECORRECTIONSRESPONSE._serialized_end=1028
47
+ _CORRECTIONAPI._serialized_start=1031
48
+ _CORRECTIONAPI._serialized_end=1519
49
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,198 @@
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 correction_api_pb2 as global__vo__grpc__service_dot_protos_dot_correction__api__pb2
6
+
7
+
8
+ class CorrectionApiStub(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.GetCorrectionsByDetectionIds = channel.unary_unary(
18
+ '/CorrectionApi/GetCorrectionsByDetectionIds',
19
+ request_serializer=global__vo__grpc__service_dot_protos_dot_correction__api__pb2.GetCorrectionsByDetectionIdsRequest.SerializeToString,
20
+ response_deserializer=global__vo__grpc__service_dot_protos_dot_correction__api__pb2.GetCorrectionsByDetectionIdsResponse.FromString,
21
+ )
22
+ self.GetCorrectionsByAssignedTo = channel.unary_unary(
23
+ '/CorrectionApi/GetCorrectionsByAssignedTo',
24
+ request_serializer=global__vo__grpc__service_dot_protos_dot_correction__api__pb2.GetCorrectionsByAssignedToRequest.SerializeToString,
25
+ response_deserializer=global__vo__grpc__service_dot_protos_dot_correction__api__pb2.GetCorrectionsByAssignedToResponse.FromString,
26
+ )
27
+ self.GetCorrectionsByAssignedBy = channel.unary_unary(
28
+ '/CorrectionApi/GetCorrectionsByAssignedBy',
29
+ request_serializer=global__vo__grpc__service_dot_protos_dot_correction__api__pb2.GetCorrectionsByAssignedByRequest.SerializeToString,
30
+ response_deserializer=global__vo__grpc__service_dot_protos_dot_correction__api__pb2.GetCorrectionsByAssignedByResponse.FromString,
31
+ )
32
+ self.CreateCorrections = channel.unary_unary(
33
+ '/CorrectionApi/CreateCorrections',
34
+ request_serializer=global__vo__grpc__service_dot_protos_dot_correction__api__pb2.CreateCorrectionsRequest.SerializeToString,
35
+ response_deserializer=global__vo__grpc__service_dot_protos_dot_correction__api__pb2.CreateCorrectionsResponse.FromString,
36
+ )
37
+ self.CompleteCorrections = channel.unary_unary(
38
+ '/CorrectionApi/CompleteCorrections',
39
+ request_serializer=global__vo__grpc__service_dot_protos_dot_correction__api__pb2.CompleteCorrectionsRequest.SerializeToString,
40
+ response_deserializer=global__vo__grpc__service_dot_protos_dot_correction__api__pb2.CompleteCorrectionsResponse.FromString,
41
+ )
42
+
43
+
44
+ class CorrectionApiServicer(object):
45
+ """Missing associated documentation comment in .proto file."""
46
+
47
+ def GetCorrectionsByDetectionIds(self, request, context):
48
+ """Missing associated documentation comment in .proto file."""
49
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
50
+ context.set_details('Method not implemented!')
51
+ raise NotImplementedError('Method not implemented!')
52
+
53
+ def GetCorrectionsByAssignedTo(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
+
59
+ def GetCorrectionsByAssignedBy(self, request, context):
60
+ """Missing associated documentation comment in .proto file."""
61
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
62
+ context.set_details('Method not implemented!')
63
+ raise NotImplementedError('Method not implemented!')
64
+
65
+ def CreateCorrections(self, request, context):
66
+ """Missing associated documentation comment in .proto file."""
67
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
68
+ context.set_details('Method not implemented!')
69
+ raise NotImplementedError('Method not implemented!')
70
+
71
+ def CompleteCorrections(self, request, context):
72
+ """Missing associated documentation comment in .proto file."""
73
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
74
+ context.set_details('Method not implemented!')
75
+ raise NotImplementedError('Method not implemented!')
76
+
77
+
78
+ def add_CorrectionApiServicer_to_server(servicer, server):
79
+ rpc_method_handlers = {
80
+ 'GetCorrectionsByDetectionIds': grpc.unary_unary_rpc_method_handler(
81
+ servicer.GetCorrectionsByDetectionIds,
82
+ request_deserializer=global__vo__grpc__service_dot_protos_dot_correction__api__pb2.GetCorrectionsByDetectionIdsRequest.FromString,
83
+ response_serializer=global__vo__grpc__service_dot_protos_dot_correction__api__pb2.GetCorrectionsByDetectionIdsResponse.SerializeToString,
84
+ ),
85
+ 'GetCorrectionsByAssignedTo': grpc.unary_unary_rpc_method_handler(
86
+ servicer.GetCorrectionsByAssignedTo,
87
+ request_deserializer=global__vo__grpc__service_dot_protos_dot_correction__api__pb2.GetCorrectionsByAssignedToRequest.FromString,
88
+ response_serializer=global__vo__grpc__service_dot_protos_dot_correction__api__pb2.GetCorrectionsByAssignedToResponse.SerializeToString,
89
+ ),
90
+ 'GetCorrectionsByAssignedBy': grpc.unary_unary_rpc_method_handler(
91
+ servicer.GetCorrectionsByAssignedBy,
92
+ request_deserializer=global__vo__grpc__service_dot_protos_dot_correction__api__pb2.GetCorrectionsByAssignedByRequest.FromString,
93
+ response_serializer=global__vo__grpc__service_dot_protos_dot_correction__api__pb2.GetCorrectionsByAssignedByResponse.SerializeToString,
94
+ ),
95
+ 'CreateCorrections': grpc.unary_unary_rpc_method_handler(
96
+ servicer.CreateCorrections,
97
+ request_deserializer=global__vo__grpc__service_dot_protos_dot_correction__api__pb2.CreateCorrectionsRequest.FromString,
98
+ response_serializer=global__vo__grpc__service_dot_protos_dot_correction__api__pb2.CreateCorrectionsResponse.SerializeToString,
99
+ ),
100
+ 'CompleteCorrections': grpc.unary_unary_rpc_method_handler(
101
+ servicer.CompleteCorrections,
102
+ request_deserializer=global__vo__grpc__service_dot_protos_dot_correction__api__pb2.CompleteCorrectionsRequest.FromString,
103
+ response_serializer=global__vo__grpc__service_dot_protos_dot_correction__api__pb2.CompleteCorrectionsResponse.SerializeToString,
104
+ ),
105
+ }
106
+ generic_handler = grpc.method_handlers_generic_handler(
107
+ 'CorrectionApi', rpc_method_handlers)
108
+ server.add_generic_rpc_handlers((generic_handler,))
109
+
110
+
111
+ # This class is part of an EXPERIMENTAL API.
112
+ class CorrectionApi(object):
113
+ """Missing associated documentation comment in .proto file."""
114
+
115
+ @staticmethod
116
+ def GetCorrectionsByDetectionIds(request,
117
+ target,
118
+ options=(),
119
+ channel_credentials=None,
120
+ call_credentials=None,
121
+ insecure=False,
122
+ compression=None,
123
+ wait_for_ready=None,
124
+ timeout=None,
125
+ metadata=None):
126
+ return grpc.experimental.unary_unary(request, target, '/CorrectionApi/GetCorrectionsByDetectionIds',
127
+ global__vo__grpc__service_dot_protos_dot_correction__api__pb2.GetCorrectionsByDetectionIdsRequest.SerializeToString,
128
+ global__vo__grpc__service_dot_protos_dot_correction__api__pb2.GetCorrectionsByDetectionIdsResponse.FromString,
129
+ options, channel_credentials,
130
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
131
+
132
+ @staticmethod
133
+ def GetCorrectionsByAssignedTo(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, '/CorrectionApi/GetCorrectionsByAssignedTo',
144
+ global__vo__grpc__service_dot_protos_dot_correction__api__pb2.GetCorrectionsByAssignedToRequest.SerializeToString,
145
+ global__vo__grpc__service_dot_protos_dot_correction__api__pb2.GetCorrectionsByAssignedToResponse.FromString,
146
+ options, channel_credentials,
147
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
148
+
149
+ @staticmethod
150
+ def GetCorrectionsByAssignedBy(request,
151
+ target,
152
+ options=(),
153
+ channel_credentials=None,
154
+ call_credentials=None,
155
+ insecure=False,
156
+ compression=None,
157
+ wait_for_ready=None,
158
+ timeout=None,
159
+ metadata=None):
160
+ return grpc.experimental.unary_unary(request, target, '/CorrectionApi/GetCorrectionsByAssignedBy',
161
+ global__vo__grpc__service_dot_protos_dot_correction__api__pb2.GetCorrectionsByAssignedByRequest.SerializeToString,
162
+ global__vo__grpc__service_dot_protos_dot_correction__api__pb2.GetCorrectionsByAssignedByResponse.FromString,
163
+ options, channel_credentials,
164
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
165
+
166
+ @staticmethod
167
+ def CreateCorrections(request,
168
+ target,
169
+ options=(),
170
+ channel_credentials=None,
171
+ call_credentials=None,
172
+ insecure=False,
173
+ compression=None,
174
+ wait_for_ready=None,
175
+ timeout=None,
176
+ metadata=None):
177
+ return grpc.experimental.unary_unary(request, target, '/CorrectionApi/CreateCorrections',
178
+ global__vo__grpc__service_dot_protos_dot_correction__api__pb2.CreateCorrectionsRequest.SerializeToString,
179
+ global__vo__grpc__service_dot_protos_dot_correction__api__pb2.CreateCorrectionsResponse.FromString,
180
+ options, channel_credentials,
181
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
182
+
183
+ @staticmethod
184
+ def CompleteCorrections(request,
185
+ target,
186
+ options=(),
187
+ channel_credentials=None,
188
+ call_credentials=None,
189
+ insecure=False,
190
+ compression=None,
191
+ wait_for_ready=None,
192
+ timeout=None,
193
+ metadata=None):
194
+ return grpc.experimental.unary_unary(request, target, '/CorrectionApi/CompleteCorrections',
195
+ global__vo__grpc__service_dot_protos_dot_correction__api__pb2.CompleteCorrectionsRequest.SerializeToString,
196
+ global__vo__grpc__service_dot_protos_dot_correction__api__pb2.CompleteCorrectionsResponse.FromString,
197
+ options, channel_credentials,
198
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@@ -0,0 +1,44 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: global_vo_grpc_service/protos/product_changelog_api.proto
4
+ """Generated protocol buffer code."""
5
+ from google.protobuf.internal import builder as _builder
6
+ from google.protobuf import descriptor as _descriptor
7
+ from google.protobuf import descriptor_pool as _descriptor_pool
8
+ from google.protobuf import symbol_database as _symbol_database
9
+ # @@protoc_insertion_point(imports)
10
+
11
+ _sym_db = _symbol_database.Default()
12
+
13
+
14
+ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
15
+ from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
16
+ from global_vo_grpc_service.protos import utils_pb2 as global__vo__grpc__service_dot_protos_dot_utils__pb2
17
+
18
+
19
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n9global_vo_grpc_service/protos/product_changelog_api.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a)global_vo_grpc_service/protos/utils.proto\"\xd4\x01\n\x10ProductChangelog\x12\n\n\x02id\x18\x01 \x01(\x05\x12\r\n\x05title\x18\x02 \x01(\t\x12\x0f\n\x07\x63ontent\x18\x03 \x01(\t\x12\x0c\n\x04type\x18\x04 \x01(\t\x12.\n\ncreated_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\ncreated_by\x18\x06 \x01(\x05\x12.\n\nupdated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\nupdated_by\x18\x08 \x01(\x05\"N\n\x1dListProductChangelogsResponse\x12-\n\x12product_changelogs\x18\x01 \x03(\x0b\x32\x11.ProductChangelog\"M\n\x1d\x43reateProductChangelogRequest\x12\r\n\x05title\x18\x01 \x01(\t\x12\x0f\n\x07\x63ontent\x18\x02 \x01(\t\x12\x0c\n\x04type\x18\x03 \x01(\t\"N\n\x1e\x43reateProductChangelogResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\n\n\x02id\x18\x02 \x01(\x05\"Y\n\x1dUpdateProductChangelogRequest\x12\n\n\x02id\x18\x01 \x01(\x05\x12\r\n\x05title\x18\x02 \x01(\t\x12\x0f\n\x07\x63ontent\x18\x03 \x01(\t\x12\x0c\n\x04type\x18\x04 \x01(\t\"N\n\x1eUpdateProductChangelogResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\n\n\x02id\x18\x02 \x01(\x05\"+\n\x1d\x44\x65leteProductChangelogRequest\x12\n\n\x02id\x18\x01 \x01(\x05\"B\n\x1e\x44\x65leteProductChangelogResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType2\xf7\x02\n\x13ProductChangelogApi\x12O\n\x15ListProductChangelogs\x12\x16.google.protobuf.Empty\x1a\x1e.ListProductChangelogsResponse\x12Y\n\x16\x43reateProductChangelog\x12\x1e.CreateProductChangelogRequest\x1a\x1f.CreateProductChangelogResponse\x12Y\n\x16UpdateProductChangelog\x12\x1e.UpdateProductChangelogRequest\x1a\x1f.UpdateProductChangelogResponse\x12Y\n\x16\x44\x65leteProductChangelog\x12\x1e.DeleteProductChangelogRequest\x1a\x1f.DeleteProductChangelogResponseb\x06proto3')
20
+
21
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
22
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'global_vo_grpc_service.protos.product_changelog_api_pb2', globals())
23
+ if _descriptor._USE_C_DESCRIPTORS == False:
24
+
25
+ DESCRIPTOR._options = None
26
+ _PRODUCTCHANGELOG._serialized_start=167
27
+ _PRODUCTCHANGELOG._serialized_end=379
28
+ _LISTPRODUCTCHANGELOGSRESPONSE._serialized_start=381
29
+ _LISTPRODUCTCHANGELOGSRESPONSE._serialized_end=459
30
+ _CREATEPRODUCTCHANGELOGREQUEST._serialized_start=461
31
+ _CREATEPRODUCTCHANGELOGREQUEST._serialized_end=538
32
+ _CREATEPRODUCTCHANGELOGRESPONSE._serialized_start=540
33
+ _CREATEPRODUCTCHANGELOGRESPONSE._serialized_end=618
34
+ _UPDATEPRODUCTCHANGELOGREQUEST._serialized_start=620
35
+ _UPDATEPRODUCTCHANGELOGREQUEST._serialized_end=709
36
+ _UPDATEPRODUCTCHANGELOGRESPONSE._serialized_start=711
37
+ _UPDATEPRODUCTCHANGELOGRESPONSE._serialized_end=789
38
+ _DELETEPRODUCTCHANGELOGREQUEST._serialized_start=791
39
+ _DELETEPRODUCTCHANGELOGREQUEST._serialized_end=834
40
+ _DELETEPRODUCTCHANGELOGRESPONSE._serialized_start=836
41
+ _DELETEPRODUCTCHANGELOGRESPONSE._serialized_end=902
42
+ _PRODUCTCHANGELOGAPI._serialized_start=905
43
+ _PRODUCTCHANGELOGAPI._serialized_end=1280
44
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,166 @@
1
+ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
2
+ """Client and server classes corresponding to protobuf-defined services."""
3
+ import grpc
4
+
5
+ from global_vo_grpc_service.protos import product_changelog_api_pb2 as global__vo__grpc__service_dot_protos_dot_product__changelog__api__pb2
6
+ from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
7
+
8
+
9
+ class ProductChangelogApiStub(object):
10
+ """Missing associated documentation comment in .proto file."""
11
+
12
+ def __init__(self, channel):
13
+ """Constructor.
14
+
15
+ Args:
16
+ channel: A grpc.Channel.
17
+ """
18
+ self.ListProductChangelogs = channel.unary_unary(
19
+ '/ProductChangelogApi/ListProductChangelogs',
20
+ request_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
21
+ response_deserializer=global__vo__grpc__service_dot_protos_dot_product__changelog__api__pb2.ListProductChangelogsResponse.FromString,
22
+ )
23
+ self.CreateProductChangelog = channel.unary_unary(
24
+ '/ProductChangelogApi/CreateProductChangelog',
25
+ request_serializer=global__vo__grpc__service_dot_protos_dot_product__changelog__api__pb2.CreateProductChangelogRequest.SerializeToString,
26
+ response_deserializer=global__vo__grpc__service_dot_protos_dot_product__changelog__api__pb2.CreateProductChangelogResponse.FromString,
27
+ )
28
+ self.UpdateProductChangelog = channel.unary_unary(
29
+ '/ProductChangelogApi/UpdateProductChangelog',
30
+ request_serializer=global__vo__grpc__service_dot_protos_dot_product__changelog__api__pb2.UpdateProductChangelogRequest.SerializeToString,
31
+ response_deserializer=global__vo__grpc__service_dot_protos_dot_product__changelog__api__pb2.UpdateProductChangelogResponse.FromString,
32
+ )
33
+ self.DeleteProductChangelog = channel.unary_unary(
34
+ '/ProductChangelogApi/DeleteProductChangelog',
35
+ request_serializer=global__vo__grpc__service_dot_protos_dot_product__changelog__api__pb2.DeleteProductChangelogRequest.SerializeToString,
36
+ response_deserializer=global__vo__grpc__service_dot_protos_dot_product__changelog__api__pb2.DeleteProductChangelogResponse.FromString,
37
+ )
38
+
39
+
40
+ class ProductChangelogApiServicer(object):
41
+ """Missing associated documentation comment in .proto file."""
42
+
43
+ def ListProductChangelogs(self, request, context):
44
+ """Missing associated documentation comment in .proto file."""
45
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
46
+ context.set_details('Method not implemented!')
47
+ raise NotImplementedError('Method not implemented!')
48
+
49
+ def CreateProductChangelog(self, request, context):
50
+ """Missing associated documentation comment in .proto file."""
51
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
52
+ context.set_details('Method not implemented!')
53
+ raise NotImplementedError('Method not implemented!')
54
+
55
+ def UpdateProductChangelog(self, request, context):
56
+ """Missing associated documentation comment in .proto file."""
57
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
58
+ context.set_details('Method not implemented!')
59
+ raise NotImplementedError('Method not implemented!')
60
+
61
+ def DeleteProductChangelog(self, request, context):
62
+ """Missing associated documentation comment in .proto file."""
63
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
64
+ context.set_details('Method not implemented!')
65
+ raise NotImplementedError('Method not implemented!')
66
+
67
+
68
+ def add_ProductChangelogApiServicer_to_server(servicer, server):
69
+ rpc_method_handlers = {
70
+ 'ListProductChangelogs': grpc.unary_unary_rpc_method_handler(
71
+ servicer.ListProductChangelogs,
72
+ request_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
73
+ response_serializer=global__vo__grpc__service_dot_protos_dot_product__changelog__api__pb2.ListProductChangelogsResponse.SerializeToString,
74
+ ),
75
+ 'CreateProductChangelog': grpc.unary_unary_rpc_method_handler(
76
+ servicer.CreateProductChangelog,
77
+ request_deserializer=global__vo__grpc__service_dot_protos_dot_product__changelog__api__pb2.CreateProductChangelogRequest.FromString,
78
+ response_serializer=global__vo__grpc__service_dot_protos_dot_product__changelog__api__pb2.CreateProductChangelogResponse.SerializeToString,
79
+ ),
80
+ 'UpdateProductChangelog': grpc.unary_unary_rpc_method_handler(
81
+ servicer.UpdateProductChangelog,
82
+ request_deserializer=global__vo__grpc__service_dot_protos_dot_product__changelog__api__pb2.UpdateProductChangelogRequest.FromString,
83
+ response_serializer=global__vo__grpc__service_dot_protos_dot_product__changelog__api__pb2.UpdateProductChangelogResponse.SerializeToString,
84
+ ),
85
+ 'DeleteProductChangelog': grpc.unary_unary_rpc_method_handler(
86
+ servicer.DeleteProductChangelog,
87
+ request_deserializer=global__vo__grpc__service_dot_protos_dot_product__changelog__api__pb2.DeleteProductChangelogRequest.FromString,
88
+ response_serializer=global__vo__grpc__service_dot_protos_dot_product__changelog__api__pb2.DeleteProductChangelogResponse.SerializeToString,
89
+ ),
90
+ }
91
+ generic_handler = grpc.method_handlers_generic_handler(
92
+ 'ProductChangelogApi', rpc_method_handlers)
93
+ server.add_generic_rpc_handlers((generic_handler,))
94
+
95
+
96
+ # This class is part of an EXPERIMENTAL API.
97
+ class ProductChangelogApi(object):
98
+ """Missing associated documentation comment in .proto file."""
99
+
100
+ @staticmethod
101
+ def ListProductChangelogs(request,
102
+ target,
103
+ options=(),
104
+ channel_credentials=None,
105
+ call_credentials=None,
106
+ insecure=False,
107
+ compression=None,
108
+ wait_for_ready=None,
109
+ timeout=None,
110
+ metadata=None):
111
+ return grpc.experimental.unary_unary(request, target, '/ProductChangelogApi/ListProductChangelogs',
112
+ google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
113
+ global__vo__grpc__service_dot_protos_dot_product__changelog__api__pb2.ListProductChangelogsResponse.FromString,
114
+ options, channel_credentials,
115
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
116
+
117
+ @staticmethod
118
+ def CreateProductChangelog(request,
119
+ target,
120
+ options=(),
121
+ channel_credentials=None,
122
+ call_credentials=None,
123
+ insecure=False,
124
+ compression=None,
125
+ wait_for_ready=None,
126
+ timeout=None,
127
+ metadata=None):
128
+ return grpc.experimental.unary_unary(request, target, '/ProductChangelogApi/CreateProductChangelog',
129
+ global__vo__grpc__service_dot_protos_dot_product__changelog__api__pb2.CreateProductChangelogRequest.SerializeToString,
130
+ global__vo__grpc__service_dot_protos_dot_product__changelog__api__pb2.CreateProductChangelogResponse.FromString,
131
+ options, channel_credentials,
132
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
133
+
134
+ @staticmethod
135
+ def UpdateProductChangelog(request,
136
+ target,
137
+ options=(),
138
+ channel_credentials=None,
139
+ call_credentials=None,
140
+ insecure=False,
141
+ compression=None,
142
+ wait_for_ready=None,
143
+ timeout=None,
144
+ metadata=None):
145
+ return grpc.experimental.unary_unary(request, target, '/ProductChangelogApi/UpdateProductChangelog',
146
+ global__vo__grpc__service_dot_protos_dot_product__changelog__api__pb2.UpdateProductChangelogRequest.SerializeToString,
147
+ global__vo__grpc__service_dot_protos_dot_product__changelog__api__pb2.UpdateProductChangelogResponse.FromString,
148
+ options, channel_credentials,
149
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
150
+
151
+ @staticmethod
152
+ def DeleteProductChangelog(request,
153
+ target,
154
+ options=(),
155
+ channel_credentials=None,
156
+ call_credentials=None,
157
+ insecure=False,
158
+ compression=None,
159
+ wait_for_ready=None,
160
+ timeout=None,
161
+ metadata=None):
162
+ return grpc.experimental.unary_unary(request, target, '/ProductChangelogApi/DeleteProductChangelog',
163
+ global__vo__grpc__service_dot_protos_dot_product__changelog__api__pb2.DeleteProductChangelogRequest.SerializeToString,
164
+ global__vo__grpc__service_dot_protos_dot_product__changelog__api__pb2.DeleteProductChangelogResponse.FromString,
165
+ options, channel_credentials,
166
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@@ -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/reporting_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'\n1global_vo_grpc_service/protos/reporting_api.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a)global_vo_grpc_service/protos/utils.proto\"\xdf\x01\n\x13UserActivityMetrics\x12\x0f\n\x07user_id\x18\x01 \x01(\x05\x12\x11\n\tfull_name\x18\x02 \x01(\t\x12\x13\n\x0btotal_hours\x18\x03 \x01(\x01\x12\x17\n\x0futilization_pct\x18\x04 \x01(\x01\x12\x1b\n\x13hours_with_activity\x18\x05 \x01(\x05\x12&\n\x1e\x61\x63tive_minutes_per_active_hour\x18\x06 \x01(\x01\x12\x18\n\x10\x66irst_action_est\x18\x07 \x01(\t\x12\x17\n\x0flast_action_est\x18\x08 \x01(\t\"\x95\x02\n\x18\x44\x61ilyUserActivityMetrics\x12\x0f\n\x07user_id\x18\x01 \x01(\x05\x12\x11\n\tfull_name\x18\x02 \x01(\t\x12/\n\x0b\x61\x63tion_date\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x13\n\x0btotal_hours\x18\x04 \x01(\x01\x12\x17\n\x0futilization_pct\x18\x05 \x01(\x01\x12\x1b\n\x13hours_with_activity\x18\x06 \x01(\x05\x12&\n\x1e\x61\x63tive_minutes_per_active_hour\x18\x07 \x01(\x01\x12\x18\n\x10\x66irst_action_est\x18\x08 \x01(\t\x12\x17\n\x0flast_action_est\x18\t \x01(\t\"\xdb\x02\n\x1aMonthlyUserActivityMetrics\x12\x0f\n\x07user_id\x18\x01 \x01(\x05\x12\x11\n\tfull_name\x18\x02 \x01(\t\x12\x19\n\x11total_hours_month\x18\x03 \x01(\x01\x12\x17\n\x0f\x61vg_daily_hours\x18\x04 \x01(\x01\x12\x1d\n\x15utilization_pct_month\x18\x05 \x01(\x01\x12!\n\x19\x61vg_daily_utilization_pct\x18\x06 \x01(\x01\x12!\n\x19hours_with_activity_month\x18\x07 \x01(\x05\x12,\n$active_minutes_per_active_hour_month\x18\x08 \x01(\x01\x12\x13\n\x0b\x61\x63tive_days\x18\t \x01(\x05\x12\x1e\n\x16\x66irst_action_est_month\x18\n \x01(\t\x12\x1d\n\x15last_action_est_month\x18\x0b \x01(\t\"\x7f\n\x1cGetUserActivityReportRequest\x12\x0f\n\x07user_id\x18\x01 \x01(\x05\x12\x1d\n\x06period\x18\x02 \x01(\x0e\x32\r.ReportPeriod\x12/\n\x0btarget_date\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xd2\x01\n\x1dGetUserActivityReportResponse\x12\x1d\n\x06period\x18\x01 \x01(\x0e\x32\r.ReportPeriod\x12\x30\n\x0cperiod_start\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nperiod_end\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x30\n\rdaily_metrics\x18\x04 \x03(\x0b\x32\x19.DailyUserActivityMetrics\"r\n GetAllUsersActivityReportRequest\x12\x1d\n\x06period\x18\x01 \x01(\x0e\x32\r.ReportPeriod\x12/\n\x0btarget_date\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xd6\x01\n!GetAllUsersActivityReportResponse\x12\x1d\n\x06period\x18\x01 \x01(\x0e\x32\r.ReportPeriod\x12\x30\n\x0cperiod_start\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nperiod_end\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x30\n\rdaily_metrics\x18\x04 \x03(\x0b\x32\x19.DailyUserActivityMetrics\"m\n\x1bGetActivityAggregateRequest\x12\x1d\n\x06period\x18\x01 \x01(\x0e\x32\r.ReportPeriod\x12/\n\x0btarget_date\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x9a\x02\n\x1cGetActivityAggregateResponse\x12\x1d\n\x06period\x18\x01 \x01(\x0e\x32\r.ReportPeriod\x12\x30\n\x0cperiod_start\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nperiod_end\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x1c\n\x14is_monthly_aggregate\x18\x04 \x01(\x08\x12%\n\x07metrics\x18\x05 \x03(\x0b\x32\x14.UserActivityMetrics\x12\x34\n\x0fmonthly_metrics\x18\x06 \x03(\x0b\x32\x1b.MonthlyUserActivityMetrics2\x9f\x02\n\x0cReportingApi\x12V\n\x15GetUserActivityReport\x12\x1d.GetUserActivityReportRequest\x1a\x1e.GetUserActivityReportResponse\x12\x62\n\x19GetAllUsersActivityReport\x12!.GetAllUsersActivityReportRequest\x1a\".GetAllUsersActivityReportResponse\x12S\n\x14GetActivityAggregate\x12\x1c.GetActivityAggregateRequest\x1a\x1d.GetActivityAggregateResponseb\x06proto3')
19
+
20
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
21
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'global_vo_grpc_service.protos.reporting_api_pb2', globals())
22
+ if _descriptor._USE_C_DESCRIPTORS == False:
23
+
24
+ DESCRIPTOR._options = None
25
+ _USERACTIVITYMETRICS._serialized_start=130
26
+ _USERACTIVITYMETRICS._serialized_end=353
27
+ _DAILYUSERACTIVITYMETRICS._serialized_start=356
28
+ _DAILYUSERACTIVITYMETRICS._serialized_end=633
29
+ _MONTHLYUSERACTIVITYMETRICS._serialized_start=636
30
+ _MONTHLYUSERACTIVITYMETRICS._serialized_end=983
31
+ _GETUSERACTIVITYREPORTREQUEST._serialized_start=985
32
+ _GETUSERACTIVITYREPORTREQUEST._serialized_end=1112
33
+ _GETUSERACTIVITYREPORTRESPONSE._serialized_start=1115
34
+ _GETUSERACTIVITYREPORTRESPONSE._serialized_end=1325
35
+ _GETALLUSERSACTIVITYREPORTREQUEST._serialized_start=1327
36
+ _GETALLUSERSACTIVITYREPORTREQUEST._serialized_end=1441
37
+ _GETALLUSERSACTIVITYREPORTRESPONSE._serialized_start=1444
38
+ _GETALLUSERSACTIVITYREPORTRESPONSE._serialized_end=1658
39
+ _GETACTIVITYAGGREGATEREQUEST._serialized_start=1660
40
+ _GETACTIVITYAGGREGATEREQUEST._serialized_end=1769
41
+ _GETACTIVITYAGGREGATERESPONSE._serialized_start=1772
42
+ _GETACTIVITYAGGREGATERESPONSE._serialized_end=2054
43
+ _REPORTINGAPI._serialized_start=2057
44
+ _REPORTINGAPI._serialized_end=2344
45
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,138 @@
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 reporting_api_pb2 as global__vo__grpc__service_dot_protos_dot_reporting__api__pb2
6
+
7
+
8
+ class ReportingApiStub(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.GetUserActivityReport = channel.unary_unary(
18
+ '/ReportingApi/GetUserActivityReport',
19
+ request_serializer=global__vo__grpc__service_dot_protos_dot_reporting__api__pb2.GetUserActivityReportRequest.SerializeToString,
20
+ response_deserializer=global__vo__grpc__service_dot_protos_dot_reporting__api__pb2.GetUserActivityReportResponse.FromString,
21
+ )
22
+ self.GetAllUsersActivityReport = channel.unary_unary(
23
+ '/ReportingApi/GetAllUsersActivityReport',
24
+ request_serializer=global__vo__grpc__service_dot_protos_dot_reporting__api__pb2.GetAllUsersActivityReportRequest.SerializeToString,
25
+ response_deserializer=global__vo__grpc__service_dot_protos_dot_reporting__api__pb2.GetAllUsersActivityReportResponse.FromString,
26
+ )
27
+ self.GetActivityAggregate = channel.unary_unary(
28
+ '/ReportingApi/GetActivityAggregate',
29
+ request_serializer=global__vo__grpc__service_dot_protos_dot_reporting__api__pb2.GetActivityAggregateRequest.SerializeToString,
30
+ response_deserializer=global__vo__grpc__service_dot_protos_dot_reporting__api__pb2.GetActivityAggregateResponse.FromString,
31
+ )
32
+
33
+
34
+ class ReportingApiServicer(object):
35
+ """Missing associated documentation comment in .proto file."""
36
+
37
+ def GetUserActivityReport(self, request, context):
38
+ """Get daily breakdown of activity for a single user for a period (day, week, or month)
39
+ Returns one entry per day in the period (includes days with no activity, matching SQL calendar behavior)
40
+ """
41
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
42
+ context.set_details('Method not implemented!')
43
+ raise NotImplementedError('Method not implemented!')
44
+
45
+ def GetAllUsersActivityReport(self, request, context):
46
+ """Get daily breakdown of activity for all users for a period (day, week, or month)
47
+ Returns one entry per day per user (only includes days with activity)
48
+ """
49
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
50
+ context.set_details('Method not implemented!')
51
+ raise NotImplementedError('Method not implemented!')
52
+
53
+ def GetActivityAggregate(self, request, context):
54
+ """Get aggregated user activity metrics for a period (day, week, or month)
55
+ Returns one entry per user with aggregated metrics for the entire period (all users)
56
+ """
57
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
58
+ context.set_details('Method not implemented!')
59
+ raise NotImplementedError('Method not implemented!')
60
+
61
+
62
+ def add_ReportingApiServicer_to_server(servicer, server):
63
+ rpc_method_handlers = {
64
+ 'GetUserActivityReport': grpc.unary_unary_rpc_method_handler(
65
+ servicer.GetUserActivityReport,
66
+ request_deserializer=global__vo__grpc__service_dot_protos_dot_reporting__api__pb2.GetUserActivityReportRequest.FromString,
67
+ response_serializer=global__vo__grpc__service_dot_protos_dot_reporting__api__pb2.GetUserActivityReportResponse.SerializeToString,
68
+ ),
69
+ 'GetAllUsersActivityReport': grpc.unary_unary_rpc_method_handler(
70
+ servicer.GetAllUsersActivityReport,
71
+ request_deserializer=global__vo__grpc__service_dot_protos_dot_reporting__api__pb2.GetAllUsersActivityReportRequest.FromString,
72
+ response_serializer=global__vo__grpc__service_dot_protos_dot_reporting__api__pb2.GetAllUsersActivityReportResponse.SerializeToString,
73
+ ),
74
+ 'GetActivityAggregate': grpc.unary_unary_rpc_method_handler(
75
+ servicer.GetActivityAggregate,
76
+ request_deserializer=global__vo__grpc__service_dot_protos_dot_reporting__api__pb2.GetActivityAggregateRequest.FromString,
77
+ response_serializer=global__vo__grpc__service_dot_protos_dot_reporting__api__pb2.GetActivityAggregateResponse.SerializeToString,
78
+ ),
79
+ }
80
+ generic_handler = grpc.method_handlers_generic_handler(
81
+ 'ReportingApi', rpc_method_handlers)
82
+ server.add_generic_rpc_handlers((generic_handler,))
83
+
84
+
85
+ # This class is part of an EXPERIMENTAL API.
86
+ class ReportingApi(object):
87
+ """Missing associated documentation comment in .proto file."""
88
+
89
+ @staticmethod
90
+ def GetUserActivityReport(request,
91
+ target,
92
+ options=(),
93
+ channel_credentials=None,
94
+ call_credentials=None,
95
+ insecure=False,
96
+ compression=None,
97
+ wait_for_ready=None,
98
+ timeout=None,
99
+ metadata=None):
100
+ return grpc.experimental.unary_unary(request, target, '/ReportingApi/GetUserActivityReport',
101
+ global__vo__grpc__service_dot_protos_dot_reporting__api__pb2.GetUserActivityReportRequest.SerializeToString,
102
+ global__vo__grpc__service_dot_protos_dot_reporting__api__pb2.GetUserActivityReportResponse.FromString,
103
+ options, channel_credentials,
104
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
105
+
106
+ @staticmethod
107
+ def GetAllUsersActivityReport(request,
108
+ target,
109
+ options=(),
110
+ channel_credentials=None,
111
+ call_credentials=None,
112
+ insecure=False,
113
+ compression=None,
114
+ wait_for_ready=None,
115
+ timeout=None,
116
+ metadata=None):
117
+ return grpc.experimental.unary_unary(request, target, '/ReportingApi/GetAllUsersActivityReport',
118
+ global__vo__grpc__service_dot_protos_dot_reporting__api__pb2.GetAllUsersActivityReportRequest.SerializeToString,
119
+ global__vo__grpc__service_dot_protos_dot_reporting__api__pb2.GetAllUsersActivityReportResponse.FromString,
120
+ options, channel_credentials,
121
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
122
+
123
+ @staticmethod
124
+ def GetActivityAggregate(request,
125
+ target,
126
+ options=(),
127
+ channel_credentials=None,
128
+ call_credentials=None,
129
+ insecure=False,
130
+ compression=None,
131
+ wait_for_ready=None,
132
+ timeout=None,
133
+ metadata=None):
134
+ return grpc.experimental.unary_unary(request, target, '/ReportingApi/GetActivityAggregate',
135
+ global__vo__grpc__service_dot_protos_dot_reporting__api__pb2.GetActivityAggregateRequest.SerializeToString,
136
+ global__vo__grpc__service_dot_protos_dot_reporting__api__pb2.GetActivityAggregateResponse.FromString,
137
+ options, channel_credentials,
138
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@@ -13,7 +13,7 @@ _sym_db = _symbol_database.Default()
13
13
 
14
14
 
15
15
 
16
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)global_vo_grpc_service/protos/utils.proto\"M\n\x07GeoBbox\x12\x0f\n\x07min_lat\x18\x01 \x01(\x02\x12\x0f\n\x07max_lat\x18\x02 \x01(\x02\x12\x0f\n\x07min_lon\x18\x03 \x01(\x02\x12\x0f\n\x07max_lon\x18\x04 \x01(\x02\"3\n\x08GeoPoint\x12\x0b\n\x03lat\x18\x01 \x01(\x02\x12\x0b\n\x03lon\x18\x02 \x01(\x02\x12\r\n\x05score\x18\x03 \x01(\x02\"G\n\tPixelBbox\x12\r\n\x05min_x\x18\x01 \x01(\x02\x12\r\n\x05min_y\x18\x02 \x01(\x02\x12\r\n\x05max_x\x18\x03 \x01(\x02\x12\r\n\x05max_y\x18\x04 \x01(\x02\"\"\n\nPixelPoint\x12\t\n\x01x\x18\x01 \x01(\x02\x12\t\n\x01y\x18\x02 \x01(\x02\"9\n\nPagination\x12\x13\n\x0bpage_number\x18\x01 \x01(\x05\x12\x16\n\x0emax_page_items\x18\x02 \x01(\x05\"X\n\x0cTeamRoleInfo\x12\x0f\n\x07role_id\x18\x01 \x01(\x05\x12\x11\n\trole_name\x18\x02 \x01(\t\x12$\n\x0bpermissions\x18\x03 \x03(\x0b\x32\x0f.PermissionInfo\"y\n\x0ePermissionInfo\x12\x15\n\rpermission_id\x18\x01 \x01(\x05\x12\x17\n\x0fpermission_name\x18\x02 \x01(\t\x12\x1e\n\x16permission_description\x18\x03 \x01(\t\x12\x17\n\x0fpermission_type\x18\x04 \x01(\t\":\n\x0fUserDisplayInfo\x12\n\n\x02id\x18\x01 \x01(\x05\x12\r\n\x05\x66irst\x18\x02 \x01(\t\x12\x0c\n\x04last\x18\x03 \x01(\t*\xc0\x01\n\nChangeType\x12\x17\n\x13UNKNOWN_CHANGE_TYPE\x10\x00\x12\x0b\n\x07\x43REATED\x10\x01\x12\x08\n\x04READ\x10\x02\x12\x0b\n\x07UPDATED\x10\x03\x12\x0b\n\x07\x44\x45LETED\x10\x04\x12\n\n\x06\x45XISTS\x10\x05\x12\r\n\tNOT_FOUND\x10\x06\x12\n\n\x06QUEUED\x10\x07\x12\x0b\n\x07INDEXED\x10\x08\x12\n\n\x06\x43\x41\x43HED\x10\t\x12\x0c\n\x08\x44ISABLED\x10\n\x12\x0b\n\x07\x45NABLED\x10\x0b\x12\r\n\tCOMPLETED\x10\x0c\x62\x06proto3')
16
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)global_vo_grpc_service/protos/utils.proto\"M\n\x07GeoBbox\x12\x0f\n\x07min_lat\x18\x01 \x01(\x02\x12\x0f\n\x07max_lat\x18\x02 \x01(\x02\x12\x0f\n\x07min_lon\x18\x03 \x01(\x02\x12\x0f\n\x07max_lon\x18\x04 \x01(\x02\"3\n\x08GeoPoint\x12\x0b\n\x03lat\x18\x01 \x01(\x02\x12\x0b\n\x03lon\x18\x02 \x01(\x02\x12\r\n\x05score\x18\x03 \x01(\x02\"G\n\tPixelBbox\x12\r\n\x05min_x\x18\x01 \x01(\x02\x12\r\n\x05min_y\x18\x02 \x01(\x02\x12\r\n\x05max_x\x18\x03 \x01(\x02\x12\r\n\x05max_y\x18\x04 \x01(\x02\"\"\n\nPixelPoint\x12\t\n\x01x\x18\x01 \x01(\x02\x12\t\n\x01y\x18\x02 \x01(\x02\"9\n\nPagination\x12\x13\n\x0bpage_number\x18\x01 \x01(\x05\x12\x16\n\x0emax_page_items\x18\x02 \x01(\x05\"X\n\x0cTeamRoleInfo\x12\x0f\n\x07role_id\x18\x01 \x01(\x05\x12\x11\n\trole_name\x18\x02 \x01(\t\x12$\n\x0bpermissions\x18\x03 \x03(\x0b\x32\x0f.PermissionInfo\"y\n\x0ePermissionInfo\x12\x15\n\rpermission_id\x18\x01 \x01(\x05\x12\x17\n\x0fpermission_name\x18\x02 \x01(\t\x12\x1e\n\x16permission_description\x18\x03 \x01(\t\x12\x17\n\x0fpermission_type\x18\x04 \x01(\t\":\n\x0fUserDisplayInfo\x12\n\n\x02id\x18\x01 \x01(\x05\x12\r\n\x05\x66irst\x18\x02 \x01(\t\x12\x0c\n\x04last\x18\x03 \x01(\t*\xc0\x01\n\nChangeType\x12\x17\n\x13UNKNOWN_CHANGE_TYPE\x10\x00\x12\x0b\n\x07\x43REATED\x10\x01\x12\x08\n\x04READ\x10\x02\x12\x0b\n\x07UPDATED\x10\x03\x12\x0b\n\x07\x44\x45LETED\x10\x04\x12\n\n\x06\x45XISTS\x10\x05\x12\r\n\tNOT_FOUND\x10\x06\x12\n\n\x06QUEUED\x10\x07\x12\x0b\n\x07INDEXED\x10\x08\x12\n\n\x06\x43\x41\x43HED\x10\t\x12\x0c\n\x08\x44ISABLED\x10\n\x12\x0b\n\x07\x45NABLED\x10\x0b\x12\r\n\tCOMPLETED\x10\x0c*F\n\x0cReportPeriod\x12\x12\n\x0eUNKNOWN_PERIOD\x10\x00\x12\t\n\x05\x44\x41ILY\x10\x01\x12\n\n\x06WEEKLY\x10\x02\x12\x0b\n\x07MONTHLY\x10\x03\x62\x06proto3')
17
17
 
18
18
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
19
19
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'global_vo_grpc_service.protos.utils_pb2', globals())
@@ -22,6 +22,8 @@ if _descriptor._USE_C_DESCRIPTORS == False:
22
22
  DESCRIPTOR._options = None
23
23
  _CHANGETYPE._serialized_start=619
24
24
  _CHANGETYPE._serialized_end=811
25
+ _REPORTPERIOD._serialized_start=813
26
+ _REPORTPERIOD._serialized_end=883
25
27
  _GEOBBOX._serialized_start=45
26
28
  _GEOBBOX._serialized_end=122
27
29
  _GEOPOINT._serialized_start=124