fsai-proto-specs 0.0.400__py3-none-any.whl → 0.0.402__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.
- {fsai_proto_specs-0.0.400.dist-info → fsai_proto_specs-0.0.402.dist-info}/METADATA +1 -1
- {fsai_proto_specs-0.0.400.dist-info → fsai_proto_specs-0.0.402.dist-info}/RECORD +8 -8
- global_vo_grpc_service/protos/audit_query_api_pb2.py +13 -9
- global_vo_grpc_service/protos/audit_query_api_pb2_grpc.py +33 -0
- global_vo_grpc_service/protos/reporting_api_pb2.py +21 -22
- global_vo_grpc_service/protos/reporting_api_pb2_grpc.py +42 -42
- global_vo_grpc_service/protos/utils_pb2.py +1 -3
- {fsai_proto_specs-0.0.400.dist-info → fsai_proto_specs-0.0.402.dist-info}/WHEEL +0 -0
|
@@ -38,8 +38,8 @@ global_vo_grpc_service/protos/admin_user_api_pb2.py,sha256=-GcTy9-WgqduUs5-xHDhf
|
|
|
38
38
|
global_vo_grpc_service/protos/admin_user_api_pb2_grpc.py,sha256=x-VH8aivS7hdUO__q_Ga6PGNGxvPeDveRYuaUgWTjsM,14194
|
|
39
39
|
global_vo_grpc_service/protos/area_of_interest_api_pb2.py,sha256=3g40q1psIjQBmogK_NTWYucTT-RcRtDBvoO5jVgyLYg,5988
|
|
40
40
|
global_vo_grpc_service/protos/area_of_interest_api_pb2_grpc.py,sha256=E6mbPOe3AEUVJV0EmSSArGEb8wgDRhpxNEqI7dRrrt4,15343
|
|
41
|
-
global_vo_grpc_service/protos/audit_query_api_pb2.py,sha256=
|
|
42
|
-
global_vo_grpc_service/protos/audit_query_api_pb2_grpc.py,sha256=
|
|
41
|
+
global_vo_grpc_service/protos/audit_query_api_pb2.py,sha256=9BxMjWRBpVmZTtL3o5chV1gc7ZqfzDXoq-qqIi3tFio,3207
|
|
42
|
+
global_vo_grpc_service/protos/audit_query_api_pb2_grpc.py,sha256=AVQQZdSIrC5XqlpLXtwcRQU4KMa_-RIn8I1p-6305Kk,7034
|
|
43
43
|
global_vo_grpc_service/protos/category_api_pb2.py,sha256=S4ejycyOzGNweFILaOeadwwuvyfOOov0duBzjbIkPVo,3822
|
|
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
|
|
@@ -76,8 +76,8 @@ global_vo_grpc_service/protos/product_changelog_api_pb2.py,sha256=fHijZW094Key8f
|
|
|
76
76
|
global_vo_grpc_service/protos/product_changelog_api_pb2_grpc.py,sha256=5U_itNWLS7HVAr6Kx0IfLQMi6mpOWAoZtAgUS-BnjyM,9022
|
|
77
77
|
global_vo_grpc_service/protos/query_api_pb2.py,sha256=BZxuoc42UnM8I0GpOTIUNoCyt797Snf6j84ejgDrYs0,6810
|
|
78
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=
|
|
80
|
-
global_vo_grpc_service/protos/reporting_api_pb2_grpc.py,sha256=
|
|
79
|
+
global_vo_grpc_service/protos/reporting_api_pb2.py,sha256=taTEbbyiUd5ONOEqiXUvYA1iuRcLLayIRLK1-qaQPX0,5766
|
|
80
|
+
global_vo_grpc_service/protos/reporting_api_pb2_grpc.py,sha256=f5P46f7AqFqiG3FeMDQMkMKMabzG3O1kUEoqxaAct-I,7465
|
|
81
81
|
global_vo_grpc_service/protos/review_api_pb2.py,sha256=92N1aM81NdjUb1InbypKIr1GXkk-rDAD5dGmu3uldAA,11890
|
|
82
82
|
global_vo_grpc_service/protos/review_api_pb2_grpc.py,sha256=lwGsarvkyBpQyhT2_uc-uh6l4U8BOBcfw6lvLOfM-KY,27474
|
|
83
83
|
global_vo_grpc_service/protos/role_api_pb2.py,sha256=8IKAeOK52gwEnzrHzmPu8ACrPd5OINyJ1iNtGEZLVIA,2287
|
|
@@ -108,7 +108,7 @@ global_vo_grpc_service/protos/user_metric_api_pb2.py,sha256=lU6xEPY7nHPoLq6a6-O5
|
|
|
108
108
|
global_vo_grpc_service/protos/user_metric_api_pb2_grpc.py,sha256=VVA5ygMmXEnP7nlYSqYKmcVK41zbIOVTvbahx0dvWvk,4895
|
|
109
109
|
global_vo_grpc_service/protos/user_password_reset_request_api_pb2.py,sha256=0Sc4Qg30I2_5RwHmm_fphBlcMc43beTEVVHRmzyCueQ,3391
|
|
110
110
|
global_vo_grpc_service/protos/user_password_reset_request_api_pb2_grpc.py,sha256=AMInD8TCFmnwOAUsSOy9bf5KtxR5NPxSBLS65vvifHo,7611
|
|
111
|
-
global_vo_grpc_service/protos/utils_pb2.py,sha256=
|
|
111
|
+
global_vo_grpc_service/protos/utils_pb2.py,sha256=p70uDah7pWp0Y1VxS7TvXj8TTeFTSqK1IDWOKStbR2Q,3085
|
|
112
112
|
global_vo_grpc_service/protos/utils_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
|
|
113
113
|
global_vo_grpc_service/protos/workflow_analyzer_api_pb2.py,sha256=UfUYdoHI4SoH4kvCEJOxH5ojXtJhgW28mwszNJyNedA,2975
|
|
114
114
|
global_vo_grpc_service/protos/workflow_analyzer_api_pb2_grpc.py,sha256=2EprSKuNtQh5Pt47ae2_u58Qr8IfkeZ-ePY5_zfOfmY,7132
|
|
@@ -120,6 +120,6 @@ search_grpc_service/protos/index_api_pb2.py,sha256=6gqbhy6__LQ0nXPbJ_j-I2LIWbYPY
|
|
|
120
120
|
search_grpc_service/protos/index_api_pb2_grpc.py,sha256=qrtGUh9HpN1wiavtpRCtqkGQonq8aanT3MZfsjWaVCM,10672
|
|
121
121
|
search_grpc_service/protos/search_api_pb2.py,sha256=M9ziQ8pQydNhpldCDy_-g9Mrd8ik48Q9olLZtmdcVIE,5243
|
|
122
122
|
search_grpc_service/protos/search_api_pb2_grpc.py,sha256=1aRML4YmgvB_2TgjkVD59HKsSHT88pnt7omLL_CnMzA,6870
|
|
123
|
-
fsai_proto_specs-0.0.
|
|
124
|
-
fsai_proto_specs-0.0.
|
|
125
|
-
fsai_proto_specs-0.0.
|
|
123
|
+
fsai_proto_specs-0.0.402.dist-info/METADATA,sha256=ukb3w-M8emorcQJXCCV1FAwQtCj405DTJ4TtyEVzk3A,972
|
|
124
|
+
fsai_proto_specs-0.0.402.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
125
|
+
fsai_proto_specs-0.0.402.dist-info/RECORD,,
|
|
@@ -15,7 +15,7 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__
|
|
|
15
15
|
from audit_grpc_service.protos import audit_api_pb2 as audit__grpc__service_dot_protos_dot_audit__api__pb2
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n3global_vo_grpc_service/protos/audit_query_api.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a)audit_grpc_service/protos/audit_api.proto\"G\n&ListAuditsByDetectionInstanceIdRequest\x12\x1d\n\x15\x64\x65tection_instance_id\x18\x01 \x01(\x05\"A\n\'ListAuditsByDetectionInstanceIdResponse\x12\x16\n\x06\x61udits\x18\x01 \x03(\x0b\x32\x06.Audit\"4\n ListContributorsByImageIdRequest\x12\x10\n\x08image_id\x18\x01 \x01(\x05\"\xba\x01\n!ListContributorsByImageIdResponse\x12\x44\n\x0c\x63ontributors\x18\x01 \x03(\x0b\x32..ListContributorsByImageIdResponse.Contributor\x1aO\n\x0b\x43ontributor\x12\x0f\n\x07user_id\x18\x01 \x01(\x05\x12/\n\x0b\x61\x63tioned_at\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp2\
|
|
18
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n3global_vo_grpc_service/protos/audit_query_api.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a)audit_grpc_service/protos/audit_api.proto\"G\n&ListAuditsByDetectionInstanceIdRequest\x12\x1d\n\x15\x64\x65tection_instance_id\x18\x01 \x01(\x05\"A\n\'ListAuditsByDetectionInstanceIdResponse\x12\x16\n\x06\x61udits\x18\x01 \x03(\x0b\x32\x06.Audit\",\n\x19ListAuditsByUserIdRequest\x12\x0f\n\x07user_id\x18\x01 \x01(\x05\"4\n\x1aListAuditsByUserIdResponse\x12\x16\n\x06\x61udits\x18\x01 \x03(\x0b\x32\x06.Audit\"4\n ListContributorsByImageIdRequest\x12\x10\n\x08image_id\x18\x01 \x01(\x05\"\xba\x01\n!ListContributorsByImageIdResponse\x12\x44\n\x0c\x63ontributors\x18\x01 \x03(\x0b\x32..ListContributorsByImageIdResponse.Contributor\x1aO\n\x0b\x43ontributor\x12\x0f\n\x07user_id\x18\x01 \x01(\x05\x12/\n\x0b\x61\x63tioned_at\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp2\xb8\x02\n\rAuditQueryApi\x12t\n\x1fListAuditsByDetectionInstanceId\x12\'.ListAuditsByDetectionInstanceIdRequest\x1a(.ListAuditsByDetectionInstanceIdResponse\x12M\n\x12ListAuditsByUserId\x12\x1a.ListAuditsByUserIdRequest\x1a\x1b.ListAuditsByUserIdResponse\x12\x62\n\x19ListContributorsByImageId\x12!.ListContributorsByImageIdRequest\x1a\".ListContributorsByImageIdResponseb\x06proto3')
|
|
19
19
|
|
|
20
20
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
|
|
21
21
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'global_vo_grpc_service.protos.audit_query_api_pb2', globals())
|
|
@@ -26,12 +26,16 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
26
26
|
_LISTAUDITSBYDETECTIONINSTANCEIDREQUEST._serialized_end=202
|
|
27
27
|
_LISTAUDITSBYDETECTIONINSTANCEIDRESPONSE._serialized_start=204
|
|
28
28
|
_LISTAUDITSBYDETECTIONINSTANCEIDRESPONSE._serialized_end=269
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
29
|
+
_LISTAUDITSBYUSERIDREQUEST._serialized_start=271
|
|
30
|
+
_LISTAUDITSBYUSERIDREQUEST._serialized_end=315
|
|
31
|
+
_LISTAUDITSBYUSERIDRESPONSE._serialized_start=317
|
|
32
|
+
_LISTAUDITSBYUSERIDRESPONSE._serialized_end=369
|
|
33
|
+
_LISTCONTRIBUTORSBYIMAGEIDREQUEST._serialized_start=371
|
|
34
|
+
_LISTCONTRIBUTORSBYIMAGEIDREQUEST._serialized_end=423
|
|
35
|
+
_LISTCONTRIBUTORSBYIMAGEIDRESPONSE._serialized_start=426
|
|
36
|
+
_LISTCONTRIBUTORSBYIMAGEIDRESPONSE._serialized_end=612
|
|
37
|
+
_LISTCONTRIBUTORSBYIMAGEIDRESPONSE_CONTRIBUTOR._serialized_start=533
|
|
38
|
+
_LISTCONTRIBUTORSBYIMAGEIDRESPONSE_CONTRIBUTOR._serialized_end=612
|
|
39
|
+
_AUDITQUERYAPI._serialized_start=615
|
|
40
|
+
_AUDITQUERYAPI._serialized_end=927
|
|
37
41
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -19,6 +19,11 @@ class AuditQueryApiStub(object):
|
|
|
19
19
|
request_serializer=global__vo__grpc__service_dot_protos_dot_audit__query__api__pb2.ListAuditsByDetectionInstanceIdRequest.SerializeToString,
|
|
20
20
|
response_deserializer=global__vo__grpc__service_dot_protos_dot_audit__query__api__pb2.ListAuditsByDetectionInstanceIdResponse.FromString,
|
|
21
21
|
)
|
|
22
|
+
self.ListAuditsByUserId = channel.unary_unary(
|
|
23
|
+
'/AuditQueryApi/ListAuditsByUserId',
|
|
24
|
+
request_serializer=global__vo__grpc__service_dot_protos_dot_audit__query__api__pb2.ListAuditsByUserIdRequest.SerializeToString,
|
|
25
|
+
response_deserializer=global__vo__grpc__service_dot_protos_dot_audit__query__api__pb2.ListAuditsByUserIdResponse.FromString,
|
|
26
|
+
)
|
|
22
27
|
self.ListContributorsByImageId = channel.unary_unary(
|
|
23
28
|
'/AuditQueryApi/ListContributorsByImageId',
|
|
24
29
|
request_serializer=global__vo__grpc__service_dot_protos_dot_audit__query__api__pb2.ListContributorsByImageIdRequest.SerializeToString,
|
|
@@ -35,6 +40,12 @@ class AuditQueryApiServicer(object):
|
|
|
35
40
|
context.set_details('Method not implemented!')
|
|
36
41
|
raise NotImplementedError('Method not implemented!')
|
|
37
42
|
|
|
43
|
+
def ListAuditsByUserId(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
|
+
|
|
38
49
|
def ListContributorsByImageId(self, request, context):
|
|
39
50
|
"""Missing associated documentation comment in .proto file."""
|
|
40
51
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
@@ -49,6 +60,11 @@ def add_AuditQueryApiServicer_to_server(servicer, server):
|
|
|
49
60
|
request_deserializer=global__vo__grpc__service_dot_protos_dot_audit__query__api__pb2.ListAuditsByDetectionInstanceIdRequest.FromString,
|
|
50
61
|
response_serializer=global__vo__grpc__service_dot_protos_dot_audit__query__api__pb2.ListAuditsByDetectionInstanceIdResponse.SerializeToString,
|
|
51
62
|
),
|
|
63
|
+
'ListAuditsByUserId': grpc.unary_unary_rpc_method_handler(
|
|
64
|
+
servicer.ListAuditsByUserId,
|
|
65
|
+
request_deserializer=global__vo__grpc__service_dot_protos_dot_audit__query__api__pb2.ListAuditsByUserIdRequest.FromString,
|
|
66
|
+
response_serializer=global__vo__grpc__service_dot_protos_dot_audit__query__api__pb2.ListAuditsByUserIdResponse.SerializeToString,
|
|
67
|
+
),
|
|
52
68
|
'ListContributorsByImageId': grpc.unary_unary_rpc_method_handler(
|
|
53
69
|
servicer.ListContributorsByImageId,
|
|
54
70
|
request_deserializer=global__vo__grpc__service_dot_protos_dot_audit__query__api__pb2.ListContributorsByImageIdRequest.FromString,
|
|
@@ -81,6 +97,23 @@ class AuditQueryApi(object):
|
|
|
81
97
|
options, channel_credentials,
|
|
82
98
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
83
99
|
|
|
100
|
+
@staticmethod
|
|
101
|
+
def ListAuditsByUserId(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, '/AuditQueryApi/ListAuditsByUserId',
|
|
112
|
+
global__vo__grpc__service_dot_protos_dot_audit__query__api__pb2.ListAuditsByUserIdRequest.SerializeToString,
|
|
113
|
+
global__vo__grpc__service_dot_protos_dot_audit__query__api__pb2.ListAuditsByUserIdResponse.FromString,
|
|
114
|
+
options, channel_credentials,
|
|
115
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
116
|
+
|
|
84
117
|
@staticmethod
|
|
85
118
|
def ListContributorsByImageId(request,
|
|
86
119
|
target,
|
|
@@ -12,34 +12,33 @@ _sym_db = _symbol_database.Default()
|
|
|
12
12
|
|
|
13
13
|
|
|
14
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
15
|
|
|
17
16
|
|
|
18
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n1global_vo_grpc_service/protos/reporting_api.proto\x1a\x1fgoogle/protobuf/timestamp.proto\
|
|
17
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n1global_vo_grpc_service/protos/reporting_api.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xcb\x02\n\x18UserDailyActivityMetrics\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\x33\n\x0f\x66irst_action_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x32\n\x0elast_action_at\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"u\n!GetUserDailyReportByPeriodRequest\x12\x0f\n\x07user_id\x18\x01 \x01(\x05\x12\x0e\n\x06period\x18\x02 \x01(\t\x12/\n\x0btarget_date\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xd6\x01\n\"GetUserDailyReportByPeriodResponse\x12\x0e\n\x06period\x18\x01 \x01(\t\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>\n\x1buser_daily_activity_metrics\x18\x04 \x03(\x0b\x32\x19.UserDailyActivityMetrics\"h\n%GetAllUsersDailyReportByPeriodRequest\x12\x0e\n\x06period\x18\x01 \x01(\t\x12/\n\x0btarget_date\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xda\x01\n&GetAllUsersDailyReportByPeriodResponse\x12\x0e\n\x06period\x18\x01 \x01(\t\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>\n\x1buser_daily_activity_metrics\x18\x04 \x03(\x0b\x32\x19.UserDailyActivityMetrics\"h\n%GetAllUsersReportTotalByPeriodRequest\x12\x0e\n\x06period\x18\x01 \x01(\t\x12/\n\x0btarget_date\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x92\x02\n\x10UserTotalMetrics\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\x33\n\x0f\x66irst_action_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x32\n\x0elast_action_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x82\x03\n\x17MonthlyUserTotalMetrics\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\x33\n\x0f\x66irst_action_at\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x32\n\x0elast_action_at\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x87\x02\n&GetAllUsersReportTotalByPeriodResponse\x12\x0e\n\x06period\x18\x01 \x01(\t\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-\n\x12user_total_metrics\x18\x04 \x03(\x0b\x32\x11.UserTotalMetrics\x12<\n\x1amonthly_user_total_metrics\x18\x05 \x03(\x0b\x32\x18.MonthlyUserTotalMetrics2\xdb\x02\n\x0cReportingApi\x12\x65\n\x1aGetUserDailyReportByPeriod\x12\".GetUserDailyReportByPeriodRequest\x1a#.GetUserDailyReportByPeriodResponse\x12q\n\x1eGetAllUsersDailyReportByPeriod\x12&.GetAllUsersDailyReportByPeriodRequest\x1a\'.GetAllUsersDailyReportByPeriodResponse\x12q\n\x1eGetAllUsersReportTotalByPeriod\x12&.GetAllUsersReportTotalByPeriodRequest\x1a\'.GetAllUsersReportTotalByPeriodResponseb\x06proto3')
|
|
19
18
|
|
|
20
19
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
|
|
21
20
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'global_vo_grpc_service.protos.reporting_api_pb2', globals())
|
|
22
21
|
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
23
22
|
|
|
24
23
|
DESCRIPTOR._options = None
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
_REPORTINGAPI._serialized_start=
|
|
44
|
-
_REPORTINGAPI._serialized_end=
|
|
24
|
+
_USERDAILYACTIVITYMETRICS._serialized_start=87
|
|
25
|
+
_USERDAILYACTIVITYMETRICS._serialized_end=418
|
|
26
|
+
_GETUSERDAILYREPORTBYPERIODREQUEST._serialized_start=420
|
|
27
|
+
_GETUSERDAILYREPORTBYPERIODREQUEST._serialized_end=537
|
|
28
|
+
_GETUSERDAILYREPORTBYPERIODRESPONSE._serialized_start=540
|
|
29
|
+
_GETUSERDAILYREPORTBYPERIODRESPONSE._serialized_end=754
|
|
30
|
+
_GETALLUSERSDAILYREPORTBYPERIODREQUEST._serialized_start=756
|
|
31
|
+
_GETALLUSERSDAILYREPORTBYPERIODREQUEST._serialized_end=860
|
|
32
|
+
_GETALLUSERSDAILYREPORTBYPERIODRESPONSE._serialized_start=863
|
|
33
|
+
_GETALLUSERSDAILYREPORTBYPERIODRESPONSE._serialized_end=1081
|
|
34
|
+
_GETALLUSERSREPORTTOTALBYPERIODREQUEST._serialized_start=1083
|
|
35
|
+
_GETALLUSERSREPORTTOTALBYPERIODREQUEST._serialized_end=1187
|
|
36
|
+
_USERTOTALMETRICS._serialized_start=1190
|
|
37
|
+
_USERTOTALMETRICS._serialized_end=1464
|
|
38
|
+
_MONTHLYUSERTOTALMETRICS._serialized_start=1467
|
|
39
|
+
_MONTHLYUSERTOTALMETRICS._serialized_end=1853
|
|
40
|
+
_GETALLUSERSREPORTTOTALBYPERIODRESPONSE._serialized_start=1856
|
|
41
|
+
_GETALLUSERSREPORTTOTALBYPERIODRESPONSE._serialized_end=2119
|
|
42
|
+
_REPORTINGAPI._serialized_start=2122
|
|
43
|
+
_REPORTINGAPI._serialized_end=2469
|
|
45
44
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -14,35 +14,35 @@ class ReportingApiStub(object):
|
|
|
14
14
|
Args:
|
|
15
15
|
channel: A grpc.Channel.
|
|
16
16
|
"""
|
|
17
|
-
self.
|
|
18
|
-
'/ReportingApi/
|
|
19
|
-
request_serializer=global__vo__grpc__service_dot_protos_dot_reporting__api__pb2.
|
|
20
|
-
response_deserializer=global__vo__grpc__service_dot_protos_dot_reporting__api__pb2.
|
|
17
|
+
self.GetUserDailyReportByPeriod = channel.unary_unary(
|
|
18
|
+
'/ReportingApi/GetUserDailyReportByPeriod',
|
|
19
|
+
request_serializer=global__vo__grpc__service_dot_protos_dot_reporting__api__pb2.GetUserDailyReportByPeriodRequest.SerializeToString,
|
|
20
|
+
response_deserializer=global__vo__grpc__service_dot_protos_dot_reporting__api__pb2.GetUserDailyReportByPeriodResponse.FromString,
|
|
21
21
|
)
|
|
22
|
-
self.
|
|
23
|
-
'/ReportingApi/
|
|
24
|
-
request_serializer=global__vo__grpc__service_dot_protos_dot_reporting__api__pb2.
|
|
25
|
-
response_deserializer=global__vo__grpc__service_dot_protos_dot_reporting__api__pb2.
|
|
22
|
+
self.GetAllUsersDailyReportByPeriod = channel.unary_unary(
|
|
23
|
+
'/ReportingApi/GetAllUsersDailyReportByPeriod',
|
|
24
|
+
request_serializer=global__vo__grpc__service_dot_protos_dot_reporting__api__pb2.GetAllUsersDailyReportByPeriodRequest.SerializeToString,
|
|
25
|
+
response_deserializer=global__vo__grpc__service_dot_protos_dot_reporting__api__pb2.GetAllUsersDailyReportByPeriodResponse.FromString,
|
|
26
26
|
)
|
|
27
|
-
self.
|
|
28
|
-
'/ReportingApi/
|
|
29
|
-
request_serializer=global__vo__grpc__service_dot_protos_dot_reporting__api__pb2.
|
|
30
|
-
response_deserializer=global__vo__grpc__service_dot_protos_dot_reporting__api__pb2.
|
|
27
|
+
self.GetAllUsersReportTotalByPeriod = channel.unary_unary(
|
|
28
|
+
'/ReportingApi/GetAllUsersReportTotalByPeriod',
|
|
29
|
+
request_serializer=global__vo__grpc__service_dot_protos_dot_reporting__api__pb2.GetAllUsersReportTotalByPeriodRequest.SerializeToString,
|
|
30
|
+
response_deserializer=global__vo__grpc__service_dot_protos_dot_reporting__api__pb2.GetAllUsersReportTotalByPeriodResponse.FromString,
|
|
31
31
|
)
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
class ReportingApiServicer(object):
|
|
35
35
|
"""Missing associated documentation comment in .proto file."""
|
|
36
36
|
|
|
37
|
-
def
|
|
37
|
+
def GetUserDailyReportByPeriod(self, request, context):
|
|
38
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
|
|
39
|
+
Returns one entry per day in the period (includes days with no activity)
|
|
40
40
|
"""
|
|
41
41
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
42
42
|
context.set_details('Method not implemented!')
|
|
43
43
|
raise NotImplementedError('Method not implemented!')
|
|
44
44
|
|
|
45
|
-
def
|
|
45
|
+
def GetAllUsersDailyReportByPeriod(self, request, context):
|
|
46
46
|
"""Get daily breakdown of activity for all users for a period (day, week, or month)
|
|
47
47
|
Returns one entry per day per user (only includes days with activity)
|
|
48
48
|
"""
|
|
@@ -50,9 +50,9 @@ class ReportingApiServicer(object):
|
|
|
50
50
|
context.set_details('Method not implemented!')
|
|
51
51
|
raise NotImplementedError('Method not implemented!')
|
|
52
52
|
|
|
53
|
-
def
|
|
54
|
-
"""Get
|
|
55
|
-
Returns one entry per user with
|
|
53
|
+
def GetAllUsersReportTotalByPeriod(self, request, context):
|
|
54
|
+
"""Get total activity metrics for all users for a period (day, week, or month)
|
|
55
|
+
Returns one entry per user with total metrics for the entire period (all users)
|
|
56
56
|
"""
|
|
57
57
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
58
58
|
context.set_details('Method not implemented!')
|
|
@@ -61,20 +61,20 @@ class ReportingApiServicer(object):
|
|
|
61
61
|
|
|
62
62
|
def add_ReportingApiServicer_to_server(servicer, server):
|
|
63
63
|
rpc_method_handlers = {
|
|
64
|
-
'
|
|
65
|
-
servicer.
|
|
66
|
-
request_deserializer=global__vo__grpc__service_dot_protos_dot_reporting__api__pb2.
|
|
67
|
-
response_serializer=global__vo__grpc__service_dot_protos_dot_reporting__api__pb2.
|
|
64
|
+
'GetUserDailyReportByPeriod': grpc.unary_unary_rpc_method_handler(
|
|
65
|
+
servicer.GetUserDailyReportByPeriod,
|
|
66
|
+
request_deserializer=global__vo__grpc__service_dot_protos_dot_reporting__api__pb2.GetUserDailyReportByPeriodRequest.FromString,
|
|
67
|
+
response_serializer=global__vo__grpc__service_dot_protos_dot_reporting__api__pb2.GetUserDailyReportByPeriodResponse.SerializeToString,
|
|
68
68
|
),
|
|
69
|
-
'
|
|
70
|
-
servicer.
|
|
71
|
-
request_deserializer=global__vo__grpc__service_dot_protos_dot_reporting__api__pb2.
|
|
72
|
-
response_serializer=global__vo__grpc__service_dot_protos_dot_reporting__api__pb2.
|
|
69
|
+
'GetAllUsersDailyReportByPeriod': grpc.unary_unary_rpc_method_handler(
|
|
70
|
+
servicer.GetAllUsersDailyReportByPeriod,
|
|
71
|
+
request_deserializer=global__vo__grpc__service_dot_protos_dot_reporting__api__pb2.GetAllUsersDailyReportByPeriodRequest.FromString,
|
|
72
|
+
response_serializer=global__vo__grpc__service_dot_protos_dot_reporting__api__pb2.GetAllUsersDailyReportByPeriodResponse.SerializeToString,
|
|
73
73
|
),
|
|
74
|
-
'
|
|
75
|
-
servicer.
|
|
76
|
-
request_deserializer=global__vo__grpc__service_dot_protos_dot_reporting__api__pb2.
|
|
77
|
-
response_serializer=global__vo__grpc__service_dot_protos_dot_reporting__api__pb2.
|
|
74
|
+
'GetAllUsersReportTotalByPeriod': grpc.unary_unary_rpc_method_handler(
|
|
75
|
+
servicer.GetAllUsersReportTotalByPeriod,
|
|
76
|
+
request_deserializer=global__vo__grpc__service_dot_protos_dot_reporting__api__pb2.GetAllUsersReportTotalByPeriodRequest.FromString,
|
|
77
|
+
response_serializer=global__vo__grpc__service_dot_protos_dot_reporting__api__pb2.GetAllUsersReportTotalByPeriodResponse.SerializeToString,
|
|
78
78
|
),
|
|
79
79
|
}
|
|
80
80
|
generic_handler = grpc.method_handlers_generic_handler(
|
|
@@ -87,7 +87,7 @@ class ReportingApi(object):
|
|
|
87
87
|
"""Missing associated documentation comment in .proto file."""
|
|
88
88
|
|
|
89
89
|
@staticmethod
|
|
90
|
-
def
|
|
90
|
+
def GetUserDailyReportByPeriod(request,
|
|
91
91
|
target,
|
|
92
92
|
options=(),
|
|
93
93
|
channel_credentials=None,
|
|
@@ -97,14 +97,14 @@ class ReportingApi(object):
|
|
|
97
97
|
wait_for_ready=None,
|
|
98
98
|
timeout=None,
|
|
99
99
|
metadata=None):
|
|
100
|
-
return grpc.experimental.unary_unary(request, target, '/ReportingApi/
|
|
101
|
-
global__vo__grpc__service_dot_protos_dot_reporting__api__pb2.
|
|
102
|
-
global__vo__grpc__service_dot_protos_dot_reporting__api__pb2.
|
|
100
|
+
return grpc.experimental.unary_unary(request, target, '/ReportingApi/GetUserDailyReportByPeriod',
|
|
101
|
+
global__vo__grpc__service_dot_protos_dot_reporting__api__pb2.GetUserDailyReportByPeriodRequest.SerializeToString,
|
|
102
|
+
global__vo__grpc__service_dot_protos_dot_reporting__api__pb2.GetUserDailyReportByPeriodResponse.FromString,
|
|
103
103
|
options, channel_credentials,
|
|
104
104
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
105
105
|
|
|
106
106
|
@staticmethod
|
|
107
|
-
def
|
|
107
|
+
def GetAllUsersDailyReportByPeriod(request,
|
|
108
108
|
target,
|
|
109
109
|
options=(),
|
|
110
110
|
channel_credentials=None,
|
|
@@ -114,14 +114,14 @@ class ReportingApi(object):
|
|
|
114
114
|
wait_for_ready=None,
|
|
115
115
|
timeout=None,
|
|
116
116
|
metadata=None):
|
|
117
|
-
return grpc.experimental.unary_unary(request, target, '/ReportingApi/
|
|
118
|
-
global__vo__grpc__service_dot_protos_dot_reporting__api__pb2.
|
|
119
|
-
global__vo__grpc__service_dot_protos_dot_reporting__api__pb2.
|
|
117
|
+
return grpc.experimental.unary_unary(request, target, '/ReportingApi/GetAllUsersDailyReportByPeriod',
|
|
118
|
+
global__vo__grpc__service_dot_protos_dot_reporting__api__pb2.GetAllUsersDailyReportByPeriodRequest.SerializeToString,
|
|
119
|
+
global__vo__grpc__service_dot_protos_dot_reporting__api__pb2.GetAllUsersDailyReportByPeriodResponse.FromString,
|
|
120
120
|
options, channel_credentials,
|
|
121
121
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
122
122
|
|
|
123
123
|
@staticmethod
|
|
124
|
-
def
|
|
124
|
+
def GetAllUsersReportTotalByPeriod(request,
|
|
125
125
|
target,
|
|
126
126
|
options=(),
|
|
127
127
|
channel_credentials=None,
|
|
@@ -131,8 +131,8 @@ class ReportingApi(object):
|
|
|
131
131
|
wait_for_ready=None,
|
|
132
132
|
timeout=None,
|
|
133
133
|
metadata=None):
|
|
134
|
-
return grpc.experimental.unary_unary(request, target, '/ReportingApi/
|
|
135
|
-
global__vo__grpc__service_dot_protos_dot_reporting__api__pb2.
|
|
136
|
-
global__vo__grpc__service_dot_protos_dot_reporting__api__pb2.
|
|
134
|
+
return grpc.experimental.unary_unary(request, target, '/ReportingApi/GetAllUsersReportTotalByPeriod',
|
|
135
|
+
global__vo__grpc__service_dot_protos_dot_reporting__api__pb2.GetAllUsersReportTotalByPeriodRequest.SerializeToString,
|
|
136
|
+
global__vo__grpc__service_dot_protos_dot_reporting__api__pb2.GetAllUsersReportTotalByPeriodResponse.FromString,
|
|
137
137
|
options, channel_credentials,
|
|
138
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
|
|
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')
|
|
17
17
|
|
|
18
18
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
|
|
19
19
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'global_vo_grpc_service.protos.utils_pb2', globals())
|
|
@@ -22,8 +22,6 @@ 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
|
|
27
25
|
_GEOBBOX._serialized_start=45
|
|
28
26
|
_GEOBBOX._serialized_end=122
|
|
29
27
|
_GEOPOINT._serialized_start=124
|
|
File without changes
|