fsai-proto-specs 0.0.379__py3-none-any.whl → 0.0.386__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.379
3
+ Version: 0.0.386
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
@@ -42,12 +42,14 @@ global_vo_grpc_service/protos/audit_query_api_pb2.py,sha256=4B_xFllUhq89xiQ-n3zK
42
42
  global_vo_grpc_service/protos/audit_query_api_pb2_grpc.py,sha256=KkM-BMVsdFlJv3ZshuNDFyHjs3LOd7f2Da9gu9cBWmg,5117
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
+ global_vo_grpc_service/protos/category_changelog_api_pb2.py,sha256=utcMnmzp6x_wNUbFI0N5b0iPpdxK7yrLfKlSvSj299c,2824
46
+ global_vo_grpc_service/protos/category_changelog_api_pb2_grpc.py,sha256=HzflwVLXd23omsc1RiO-F1vtix7AJ9VL2TH70Fskvfw,5291
47
+ global_vo_grpc_service/protos/customer_api_pb2.py,sha256=4ihptYrq2fZXz8z5JYgsZlEvQ12cEH-p-ZqQjd-bJKY,1523
48
+ global_vo_grpc_service/protos/customer_api_pb2_grpc.py,sha256=S_OVW5vibkGtcNj7TOhzs-2RONxnQCiyB5Y5GCoHzPw,2986
45
49
  global_vo_grpc_service/protos/detection_api_pb2.py,sha256=1imIR2QqbqhkAL4Ehc6JSjJ5sGVxCOSDtj96iUdwL1Q,1561
46
50
  global_vo_grpc_service/protos/detection_api_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
47
51
  global_vo_grpc_service/protos/detection_instance_api_pb2.py,sha256=O57Auf4qh8UnAOhRTfIAlGVkwl0IyMWD_kn-3Q23Bx8,20642
48
52
  global_vo_grpc_service/protos/detection_instance_api_pb2_grpc.py,sha256=Sa1XQgzEPfjc0dxhyzBKShu_I3N3H4UztuFomBl-Kx8,50346
49
- global_vo_grpc_service/protos/detection_instance_metadata_api_pb2.py,sha256=yV9f8GPAdFRiuDoKgYwZPCjvR6tPE2yx72vOM_5dk4Y,6640
50
- global_vo_grpc_service/protos/detection_instance_metadata_api_pb2_grpc.py,sha256=dtlnVMfuRNYdySw8kuhKpn2b9V8tP8ubUtrAHrY6kxs,16424
51
53
  global_vo_grpc_service/protos/feature_api_pb2.py,sha256=JAfuXFCI2ez6CZEPBQAvJbZCrBJdrzmBsBZaZXn4f2o,3651
52
54
  global_vo_grpc_service/protos/feature_api_pb2_grpc.py,sha256=I5ISOdLBjV6FJqk2JGv4zpVTg0BneeA5m13BjGsX9i4,6590
53
55
  global_vo_grpc_service/protos/geo_data_api_pb2.py,sha256=BgkSIccXSVEEoe1pyKktVycztZ-rdzt11V6is_ssZUU,3113
@@ -64,6 +66,8 @@ global_vo_grpc_service/protos/invitation_response_api_pb2.py,sha256=fYGdOU8W-hS_
64
66
  global_vo_grpc_service/protos/invitation_response_api_pb2_grpc.py,sha256=Zu6vCYBYIiz2_7NEIC-P4i4B8t1HVYkRQQ5QgvE12-c,7423
65
67
  global_vo_grpc_service/protos/mission_api_pb2.py,sha256=XevbYoQBPk5czs6H0cpNdGW9ECUpIElXwTnDScwmBSE,6206
66
68
  global_vo_grpc_service/protos/mission_api_pb2_grpc.py,sha256=gw6AvO1mpzShEAXps-O-hbrB6HkLuUtNJuyRuyhPflU,15800
69
+ global_vo_grpc_service/protos/model_assessment_api_pb2.py,sha256=QTnJc0UFJ5ttm1l3lwB-j7zE2YJBsro28opq16EFjic,3578
70
+ global_vo_grpc_service/protos/model_assessment_api_pb2_grpc.py,sha256=SPaLL19BKAWGV4cC7-wmCMMDOA-p2q1uD_JtvikhGAw,4954
67
71
  global_vo_grpc_service/protos/permission_api_pb2.py,sha256=r-kGWRZfytc5nbsSFMy1B0euC6hvI2zIOMJ39R_1mEs,2485
68
72
  global_vo_grpc_service/protos/permission_api_pb2_grpc.py,sha256=AqaNSjZxphjTOSuD1d_4q64L1p8BUD5M7xwoiFuGkT0,4843
69
73
  global_vo_grpc_service/protos/query_api_pb2.py,sha256=BZxuoc42UnM8I0GpOTIUNoCyt797Snf6j84ejgDrYs0,6810
@@ -110,6 +114,6 @@ search_grpc_service/protos/index_api_pb2.py,sha256=6gqbhy6__LQ0nXPbJ_j-I2LIWbYPY
110
114
  search_grpc_service/protos/index_api_pb2_grpc.py,sha256=qrtGUh9HpN1wiavtpRCtqkGQonq8aanT3MZfsjWaVCM,10672
111
115
  search_grpc_service/protos/search_api_pb2.py,sha256=lYpAYgNlDWQ2Zpo4t8qW3Pz8wC3GrcZ4ygK7d68Tyk8,5890
112
116
  search_grpc_service/protos/search_api_pb2_grpc.py,sha256=Sd8hqJhnGpqUQbGpNvUXNdr4rSXNbxbCR3AJrn9aMa4,8992
113
- fsai_proto_specs-0.0.379.dist-info/METADATA,sha256=PuX0-36-cKwIqhz0iLT9eUpZ20Cnii-mfg8mVk2hns4,972
114
- fsai_proto_specs-0.0.379.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
115
- fsai_proto_specs-0.0.379.dist-info/RECORD,,
117
+ fsai_proto_specs-0.0.386.dist-info/METADATA,sha256=E9g8ey1e6oZsIMjiAtKPM3dgw8-gLcKoUiAD9TbMy5Q,972
118
+ fsai_proto_specs-0.0.386.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
119
+ fsai_proto_specs-0.0.386.dist-info/RECORD,,
@@ -0,0 +1,36 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: global_vo_grpc_service/protos/category_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
+
16
+
17
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n:global_vo_grpc_service/protos/category_changelog_api.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xca\x01\n\x11\x43\x61tegoryChangelog\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x13\n\x0b\x63\x61tegory_id\x18\x02 \x01(\x05\x12\x0c\n\x04note\x18\x03 \x01(\t\x12.\n\ncreated_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\ncreated_by\x18\x05 \x01(\x05\x12.\n\nupdated_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\nupdated_by\x18\x07 \x01(\x05\"@\n)ListCategoryChangelogsByCategoryIdRequest\x12\x13\n\x0b\x63\x61tegory_id\x18\x01 \x01(\x05\"]\n*ListCategoryChangelogsByCategoryIdResponse\x12/\n\x13\x63\x61tegory_changelogs\x18\x01 \x03(\x0b\x32\x12.CategoryChangelog\"C\n\x1e\x43reateCategoryChangelogRequest\x12\x13\n\x0b\x63\x61tegory_id\x18\x01 \x01(\x05\x12\x0c\n\x04note\x18\x02 \x01(\t\"-\n\x1f\x43reateCategoryChangelogResponse\x12\n\n\x02id\x18\x01 \x01(\x05\x32\xf3\x01\n\x14\x43\x61tegoryChangelogApi\x12}\n\"ListCategoryChangelogsByCategoryId\x12*.ListCategoryChangelogsByCategoryIdRequest\x1a+.ListCategoryChangelogsByCategoryIdResponse\x12\\\n\x17\x43reateCategoryChangelog\x12\x1f.CreateCategoryChangelogRequest\x1a .CreateCategoryChangelogResponseb\x06proto3')
18
+
19
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
20
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'global_vo_grpc_service.protos.category_changelog_api_pb2', globals())
21
+ if _descriptor._USE_C_DESCRIPTORS == False:
22
+
23
+ DESCRIPTOR._options = None
24
+ _CATEGORYCHANGELOG._serialized_start=96
25
+ _CATEGORYCHANGELOG._serialized_end=298
26
+ _LISTCATEGORYCHANGELOGSBYCATEGORYIDREQUEST._serialized_start=300
27
+ _LISTCATEGORYCHANGELOGSBYCATEGORYIDREQUEST._serialized_end=364
28
+ _LISTCATEGORYCHANGELOGSBYCATEGORYIDRESPONSE._serialized_start=366
29
+ _LISTCATEGORYCHANGELOGSBYCATEGORYIDRESPONSE._serialized_end=459
30
+ _CREATECATEGORYCHANGELOGREQUEST._serialized_start=461
31
+ _CREATECATEGORYCHANGELOGREQUEST._serialized_end=528
32
+ _CREATECATEGORYCHANGELOGRESPONSE._serialized_start=530
33
+ _CREATECATEGORYCHANGELOGRESPONSE._serialized_end=575
34
+ _CATEGORYCHANGELOGAPI._serialized_start=578
35
+ _CATEGORYCHANGELOGAPI._serialized_end=821
36
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,99 @@
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 category_changelog_api_pb2 as global__vo__grpc__service_dot_protos_dot_category__changelog__api__pb2
6
+
7
+
8
+ class CategoryChangelogApiStub(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.ListCategoryChangelogsByCategoryId = channel.unary_unary(
18
+ '/CategoryChangelogApi/ListCategoryChangelogsByCategoryId',
19
+ request_serializer=global__vo__grpc__service_dot_protos_dot_category__changelog__api__pb2.ListCategoryChangelogsByCategoryIdRequest.SerializeToString,
20
+ response_deserializer=global__vo__grpc__service_dot_protos_dot_category__changelog__api__pb2.ListCategoryChangelogsByCategoryIdResponse.FromString,
21
+ )
22
+ self.CreateCategoryChangelog = channel.unary_unary(
23
+ '/CategoryChangelogApi/CreateCategoryChangelog',
24
+ request_serializer=global__vo__grpc__service_dot_protos_dot_category__changelog__api__pb2.CreateCategoryChangelogRequest.SerializeToString,
25
+ response_deserializer=global__vo__grpc__service_dot_protos_dot_category__changelog__api__pb2.CreateCategoryChangelogResponse.FromString,
26
+ )
27
+
28
+
29
+ class CategoryChangelogApiServicer(object):
30
+ """Missing associated documentation comment in .proto file."""
31
+
32
+ def ListCategoryChangelogsByCategoryId(self, request, context):
33
+ """Missing associated documentation comment in .proto file."""
34
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
35
+ context.set_details('Method not implemented!')
36
+ raise NotImplementedError('Method not implemented!')
37
+
38
+ def CreateCategoryChangelog(self, request, context):
39
+ """Missing associated documentation comment in .proto file."""
40
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
41
+ context.set_details('Method not implemented!')
42
+ raise NotImplementedError('Method not implemented!')
43
+
44
+
45
+ def add_CategoryChangelogApiServicer_to_server(servicer, server):
46
+ rpc_method_handlers = {
47
+ 'ListCategoryChangelogsByCategoryId': grpc.unary_unary_rpc_method_handler(
48
+ servicer.ListCategoryChangelogsByCategoryId,
49
+ request_deserializer=global__vo__grpc__service_dot_protos_dot_category__changelog__api__pb2.ListCategoryChangelogsByCategoryIdRequest.FromString,
50
+ response_serializer=global__vo__grpc__service_dot_protos_dot_category__changelog__api__pb2.ListCategoryChangelogsByCategoryIdResponse.SerializeToString,
51
+ ),
52
+ 'CreateCategoryChangelog': grpc.unary_unary_rpc_method_handler(
53
+ servicer.CreateCategoryChangelog,
54
+ request_deserializer=global__vo__grpc__service_dot_protos_dot_category__changelog__api__pb2.CreateCategoryChangelogRequest.FromString,
55
+ response_serializer=global__vo__grpc__service_dot_protos_dot_category__changelog__api__pb2.CreateCategoryChangelogResponse.SerializeToString,
56
+ ),
57
+ }
58
+ generic_handler = grpc.method_handlers_generic_handler(
59
+ 'CategoryChangelogApi', rpc_method_handlers)
60
+ server.add_generic_rpc_handlers((generic_handler,))
61
+
62
+
63
+ # This class is part of an EXPERIMENTAL API.
64
+ class CategoryChangelogApi(object):
65
+ """Missing associated documentation comment in .proto file."""
66
+
67
+ @staticmethod
68
+ def ListCategoryChangelogsByCategoryId(request,
69
+ target,
70
+ options=(),
71
+ channel_credentials=None,
72
+ call_credentials=None,
73
+ insecure=False,
74
+ compression=None,
75
+ wait_for_ready=None,
76
+ timeout=None,
77
+ metadata=None):
78
+ return grpc.experimental.unary_unary(request, target, '/CategoryChangelogApi/ListCategoryChangelogsByCategoryId',
79
+ global__vo__grpc__service_dot_protos_dot_category__changelog__api__pb2.ListCategoryChangelogsByCategoryIdRequest.SerializeToString,
80
+ global__vo__grpc__service_dot_protos_dot_category__changelog__api__pb2.ListCategoryChangelogsByCategoryIdResponse.FromString,
81
+ options, channel_credentials,
82
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
83
+
84
+ @staticmethod
85
+ def CreateCategoryChangelog(request,
86
+ target,
87
+ options=(),
88
+ channel_credentials=None,
89
+ call_credentials=None,
90
+ insecure=False,
91
+ compression=None,
92
+ wait_for_ready=None,
93
+ timeout=None,
94
+ metadata=None):
95
+ return grpc.experimental.unary_unary(request, target, '/CategoryChangelogApi/CreateCategoryChangelog',
96
+ global__vo__grpc__service_dot_protos_dot_category__changelog__api__pb2.CreateCategoryChangelogRequest.SerializeToString,
97
+ global__vo__grpc__service_dot_protos_dot_category__changelog__api__pb2.CreateCategoryChangelogResponse.FromString,
98
+ options, channel_credentials,
99
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@@ -0,0 +1,29 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: global_vo_grpc_service/protos/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
+
15
+
16
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n0global_vo_grpc_service/protos/customer_api.proto\"7\n GetCustomerIdByWorkflowIdRequest\x12\x13\n\x0bworkflow_id\x18\x01 \x01(\x05\"8\n!GetCustomerIdByWorkflowIdResponse\x12\x13\n\x0b\x63ustomer_id\x18\x01 \x01(\x05\x32q\n\x0b\x43ustomerApi\x12\x62\n\x19GetCustomerIdByWorkflowId\x12!.GetCustomerIdByWorkflowIdRequest\x1a\".GetCustomerIdByWorkflowIdResponseb\x06proto3')
17
+
18
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
19
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'global_vo_grpc_service.protos.customer_api_pb2', globals())
20
+ if _descriptor._USE_C_DESCRIPTORS == False:
21
+
22
+ DESCRIPTOR._options = None
23
+ _GETCUSTOMERIDBYWORKFLOWIDREQUEST._serialized_start=52
24
+ _GETCUSTOMERIDBYWORKFLOWIDREQUEST._serialized_end=107
25
+ _GETCUSTOMERIDBYWORKFLOWIDRESPONSE._serialized_start=109
26
+ _GETCUSTOMERIDBYWORKFLOWIDRESPONSE._serialized_end=165
27
+ _CUSTOMERAPI._serialized_start=167
28
+ _CUSTOMERAPI._serialized_end=280
29
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,66 @@
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 customer_api_pb2 as global__vo__grpc__service_dot_protos_dot_customer__api__pb2
6
+
7
+
8
+ class CustomerApiStub(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.GetCustomerIdByWorkflowId = channel.unary_unary(
18
+ '/CustomerApi/GetCustomerIdByWorkflowId',
19
+ request_serializer=global__vo__grpc__service_dot_protos_dot_customer__api__pb2.GetCustomerIdByWorkflowIdRequest.SerializeToString,
20
+ response_deserializer=global__vo__grpc__service_dot_protos_dot_customer__api__pb2.GetCustomerIdByWorkflowIdResponse.FromString,
21
+ )
22
+
23
+
24
+ class CustomerApiServicer(object):
25
+ """Missing associated documentation comment in .proto file."""
26
+
27
+ def GetCustomerIdByWorkflowId(self, request, context):
28
+ """Missing associated documentation comment in .proto file."""
29
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
30
+ context.set_details('Method not implemented!')
31
+ raise NotImplementedError('Method not implemented!')
32
+
33
+
34
+ def add_CustomerApiServicer_to_server(servicer, server):
35
+ rpc_method_handlers = {
36
+ 'GetCustomerIdByWorkflowId': grpc.unary_unary_rpc_method_handler(
37
+ servicer.GetCustomerIdByWorkflowId,
38
+ request_deserializer=global__vo__grpc__service_dot_protos_dot_customer__api__pb2.GetCustomerIdByWorkflowIdRequest.FromString,
39
+ response_serializer=global__vo__grpc__service_dot_protos_dot_customer__api__pb2.GetCustomerIdByWorkflowIdResponse.SerializeToString,
40
+ ),
41
+ }
42
+ generic_handler = grpc.method_handlers_generic_handler(
43
+ 'CustomerApi', rpc_method_handlers)
44
+ server.add_generic_rpc_handlers((generic_handler,))
45
+
46
+
47
+ # This class is part of an EXPERIMENTAL API.
48
+ class CustomerApi(object):
49
+ """Missing associated documentation comment in .proto file."""
50
+
51
+ @staticmethod
52
+ def GetCustomerIdByWorkflowId(request,
53
+ target,
54
+ options=(),
55
+ channel_credentials=None,
56
+ call_credentials=None,
57
+ insecure=False,
58
+ compression=None,
59
+ wait_for_ready=None,
60
+ timeout=None,
61
+ metadata=None):
62
+ return grpc.experimental.unary_unary(request, target, '/CustomerApi/GetCustomerIdByWorkflowId',
63
+ global__vo__grpc__service_dot_protos_dot_customer__api__pb2.GetCustomerIdByWorkflowIdRequest.SerializeToString,
64
+ global__vo__grpc__service_dot_protos_dot_customer__api__pb2.GetCustomerIdByWorkflowIdResponse.FromString,
65
+ options, channel_credentials,
66
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@@ -0,0 +1,43 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: global_vo_grpc_service/protos/model_assessment_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 global_vo_grpc_service.protos import source_api_pb2 as global__vo__grpc__service_dot_protos_dot_source__api__pb2
15
+ from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
16
+
17
+
18
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n8global_vo_grpc_service/protos/model_assessment_api.proto\x1a.global_vo_grpc_service/protos/source_api.proto\x1a\x1bgoogle/protobuf/empty.proto\"6\n\x1fListModelScoreThresholdsRequest\x12\x13\n\x0b\x63onfig_type\x18\x01 \x01(\t\"\xab\x01\n\x13ModelScoreThreshold\x12\x17\n\x06source\x18\x01 \x01(\x0b\x32\x07.Source\x12\x43\n\x10score_thresholds\x18\x02 \x03(\x0b\x32).ModelScoreThreshold.ScoreThresholdsEntry\x1a\x36\n\x14ScoreThresholdsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x01:\x02\x38\x01\"X\n ListModelScoreThresholdsResponse\x12\x34\n\x16model_score_thresholds\x18\x01 \x03(\x0b\x32\x14.ModelScoreThreshold\"\x92\x01\n\x16ModelAssessmentMetrics\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x11\n\tprecision\x18\x03 \x01(\x01\x12\x0e\n\x06recall\x18\x04 \x01(\x01\x12\x11\n\tmiss_rate\x18\x05 \x01(\x01\x12\x0f\n\x07\x66p_rate\x18\x06 \x01(\x01\x12\x17\n\x0fscore_threshold\x18\x07 \x01(\x01\"\x84\x01\n\x1b\x41ssessmentVersionConfigData\x12\x15\n\rmodel_version\x18\x01 \x01(\t\x12\x13\n\x0b\x63onfig_type\x18\x02 \x01(\t\x12\x39\n\x18model_assessment_metrics\x18\x03 \x03(\x0b\x32\x17.ModelAssessmentMetrics\"a\n\x19GetAssessmentDataResponse\x12\x44\n\x1e\x61ssessment_version_config_data\x18\x01 \x03(\x0b\x32\x1c.AssessmentVersionConfigData2\xbe\x01\n\x12ModelAssessmentApi\x12_\n\x18ListModelScoreThresholds\x12 .ListModelScoreThresholdsRequest\x1a!.ListModelScoreThresholdsResponse\x12G\n\x11GetAssessmentData\x12\x16.google.protobuf.Empty\x1a\x1a.GetAssessmentDataResponseb\x06proto3')
19
+
20
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
21
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'global_vo_grpc_service.protos.model_assessment_api_pb2', globals())
22
+ if _descriptor._USE_C_DESCRIPTORS == False:
23
+
24
+ DESCRIPTOR._options = None
25
+ _MODELSCORETHRESHOLD_SCORETHRESHOLDSENTRY._options = None
26
+ _MODELSCORETHRESHOLD_SCORETHRESHOLDSENTRY._serialized_options = b'8\001'
27
+ _LISTMODELSCORETHRESHOLDSREQUEST._serialized_start=137
28
+ _LISTMODELSCORETHRESHOLDSREQUEST._serialized_end=191
29
+ _MODELSCORETHRESHOLD._serialized_start=194
30
+ _MODELSCORETHRESHOLD._serialized_end=365
31
+ _MODELSCORETHRESHOLD_SCORETHRESHOLDSENTRY._serialized_start=311
32
+ _MODELSCORETHRESHOLD_SCORETHRESHOLDSENTRY._serialized_end=365
33
+ _LISTMODELSCORETHRESHOLDSRESPONSE._serialized_start=367
34
+ _LISTMODELSCORETHRESHOLDSRESPONSE._serialized_end=455
35
+ _MODELASSESSMENTMETRICS._serialized_start=458
36
+ _MODELASSESSMENTMETRICS._serialized_end=604
37
+ _ASSESSMENTVERSIONCONFIGDATA._serialized_start=607
38
+ _ASSESSMENTVERSIONCONFIGDATA._serialized_end=739
39
+ _GETASSESSMENTDATARESPONSE._serialized_start=741
40
+ _GETASSESSMENTDATARESPONSE._serialized_end=838
41
+ _MODELASSESSMENTAPI._serialized_start=841
42
+ _MODELASSESSMENTAPI._serialized_end=1031
43
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,100 @@
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 model_assessment_api_pb2 as global__vo__grpc__service_dot_protos_dot_model__assessment__api__pb2
6
+ from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
7
+
8
+
9
+ class ModelAssessmentApiStub(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.ListModelScoreThresholds = channel.unary_unary(
19
+ '/ModelAssessmentApi/ListModelScoreThresholds',
20
+ request_serializer=global__vo__grpc__service_dot_protos_dot_model__assessment__api__pb2.ListModelScoreThresholdsRequest.SerializeToString,
21
+ response_deserializer=global__vo__grpc__service_dot_protos_dot_model__assessment__api__pb2.ListModelScoreThresholdsResponse.FromString,
22
+ )
23
+ self.GetAssessmentData = channel.unary_unary(
24
+ '/ModelAssessmentApi/GetAssessmentData',
25
+ request_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
26
+ response_deserializer=global__vo__grpc__service_dot_protos_dot_model__assessment__api__pb2.GetAssessmentDataResponse.FromString,
27
+ )
28
+
29
+
30
+ class ModelAssessmentApiServicer(object):
31
+ """Missing associated documentation comment in .proto file."""
32
+
33
+ def ListModelScoreThresholds(self, request, context):
34
+ """Missing associated documentation comment in .proto file."""
35
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
36
+ context.set_details('Method not implemented!')
37
+ raise NotImplementedError('Method not implemented!')
38
+
39
+ def GetAssessmentData(self, request, context):
40
+ """Missing associated documentation comment in .proto file."""
41
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
42
+ context.set_details('Method not implemented!')
43
+ raise NotImplementedError('Method not implemented!')
44
+
45
+
46
+ def add_ModelAssessmentApiServicer_to_server(servicer, server):
47
+ rpc_method_handlers = {
48
+ 'ListModelScoreThresholds': grpc.unary_unary_rpc_method_handler(
49
+ servicer.ListModelScoreThresholds,
50
+ request_deserializer=global__vo__grpc__service_dot_protos_dot_model__assessment__api__pb2.ListModelScoreThresholdsRequest.FromString,
51
+ response_serializer=global__vo__grpc__service_dot_protos_dot_model__assessment__api__pb2.ListModelScoreThresholdsResponse.SerializeToString,
52
+ ),
53
+ 'GetAssessmentData': grpc.unary_unary_rpc_method_handler(
54
+ servicer.GetAssessmentData,
55
+ request_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
56
+ response_serializer=global__vo__grpc__service_dot_protos_dot_model__assessment__api__pb2.GetAssessmentDataResponse.SerializeToString,
57
+ ),
58
+ }
59
+ generic_handler = grpc.method_handlers_generic_handler(
60
+ 'ModelAssessmentApi', rpc_method_handlers)
61
+ server.add_generic_rpc_handlers((generic_handler,))
62
+
63
+
64
+ # This class is part of an EXPERIMENTAL API.
65
+ class ModelAssessmentApi(object):
66
+ """Missing associated documentation comment in .proto file."""
67
+
68
+ @staticmethod
69
+ def ListModelScoreThresholds(request,
70
+ target,
71
+ options=(),
72
+ channel_credentials=None,
73
+ call_credentials=None,
74
+ insecure=False,
75
+ compression=None,
76
+ wait_for_ready=None,
77
+ timeout=None,
78
+ metadata=None):
79
+ return grpc.experimental.unary_unary(request, target, '/ModelAssessmentApi/ListModelScoreThresholds',
80
+ global__vo__grpc__service_dot_protos_dot_model__assessment__api__pb2.ListModelScoreThresholdsRequest.SerializeToString,
81
+ global__vo__grpc__service_dot_protos_dot_model__assessment__api__pb2.ListModelScoreThresholdsResponse.FromString,
82
+ options, channel_credentials,
83
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
84
+
85
+ @staticmethod
86
+ def GetAssessmentData(request,
87
+ target,
88
+ options=(),
89
+ channel_credentials=None,
90
+ call_credentials=None,
91
+ insecure=False,
92
+ compression=None,
93
+ wait_for_ready=None,
94
+ timeout=None,
95
+ metadata=None):
96
+ return grpc.experimental.unary_unary(request, target, '/ModelAssessmentApi/GetAssessmentData',
97
+ google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
98
+ global__vo__grpc__service_dot_protos_dot_model__assessment__api__pb2.GetAssessmentDataResponse.FromString,
99
+ options, channel_credentials,
100
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@@ -1,58 +0,0 @@
1
- # -*- coding: utf-8 -*-
2
- # Generated by the protocol buffer compiler. DO NOT EDIT!
3
- # source: global_vo_grpc_service/protos/detection_instance_metadata_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
- from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__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'\nCglobal_vo_grpc_service/protos/detection_instance_metadata_api.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a)global_vo_grpc_service/protos/utils.proto\"D\n\x11ShadowDiscrepancy\x12\x0c\n\x04\x65num\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\"a\n/ListAllDetectionInstanceMetadataConfigsResponse\x12.\n\x12shadow_discrepancy\x18\x01 \x03(\x0b\x32\x12.ShadowDiscrepancy\"\xf3\x01\n\x19\x44\x65tectionInstanceMetadata\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x1d\n\x15\x64\x65tection_instance_id\x18\x02 \x01(\x05\x12\x0b\n\x03key\x18\x03 \x01(\t\x12\x16\n\x0evalue_json_str\x18\x04 \x01(\t\x12\x12\n\ncreated_by\x18\x05 \x01(\x05\x12\x12\n\nupdated_by\x18\x06 \x01(\x05\x12.\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"H\n\'GetMetadataByDetectionInstanceIdRequest\x12\x1d\n\x15\x64\x65tection_instance_id\x18\x01 \x01(\x05\"k\n(GetMetadataByDetectionInstanceIdResponse\x12?\n\x1b\x64\x65tection_instance_metadata\x18\x01 \x03(\x0b\x32\x1a.DetectionInstanceMetadata\"N\n,GetMetadataByDetectionInstanceIdsListRequest\x12\x1e\n\x16\x64\x65tection_instance_ids\x18\x01 \x03(\x05\"p\n-GetMetadataByDetectionInstanceIdsListResponse\x12?\n\x1b\x64\x65tection_instance_metadata\x18\x01 \x03(\x0b\x32\x1a.DetectionInstanceMetadata\"\x9c\x01\n)GetMostSubmittedTagsByCurrentUserResponse\x12G\n\ntag_counts\x18\x01 \x03(\x0b\x32\x33.GetMostSubmittedTagsByCurrentUserResponse.TagCount\x1a&\n\x08TagCount\x12\x0b\n\x03tag\x18\x01 \x01(\t\x12\r\n\x05\x63ount\x18\x02 \x01(\x05\"l\n&CreateDetectionInstanceMetadataRequest\x12\x1d\n\x15\x64\x65tection_instance_id\x18\x01 \x01(\x05\x12\x0b\n\x03key\x18\x02 \x01(\t\x12\x16\n\x0evalue_json_str\x18\x03 \x01(\t\"W\n\'CreateDetectionInstanceMetadataResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\n\n\x02id\x18\x02 \x01(\x05\"j\n$EditDetectionInstanceMetadataRequest\x12\x1d\n\x15\x64\x65tection_instance_id\x18\x01 \x01(\x05\x12\x0b\n\x03key\x18\x02 \x01(\t\x12\x16\n\x0evalue_json_str\x18\x03 \x01(\t\"U\n%EditDetectionInstanceMetadataResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\n\n\x02id\x18\x02 \x01(\x05\"4\n&DeleteDetectionInstanceMetadataRequest\x12\n\n\x02id\x18\x01 \x01(\x05\"K\n\'DeleteDetectionInstanceMetadataResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType2\xda\x06\n\x1c\x44\x65tectionInstanceMetadataApi\x12s\n\'ListAllDetectionInstanceMetadataConfigs\x12\x16.google.protobuf.Empty\x1a\x30.ListAllDetectionInstanceMetadataConfigsResponse\x12w\n GetMetadataByDetectionInstanceId\x12(.GetMetadataByDetectionInstanceIdRequest\x1a).GetMetadataByDetectionInstanceIdResponse\x12\x86\x01\n%GetMetadataByDetectionInstanceIdsList\x12-.GetMetadataByDetectionInstanceIdsListRequest\x1a..GetMetadataByDetectionInstanceIdsListResponse\x12g\n!GetMostSubmittedTagsByCurrentUser\x12\x16.google.protobuf.Empty\x1a*.GetMostSubmittedTagsByCurrentUserResponse\x12t\n\x1f\x43reateDetectionInstanceMetadata\x12\'.CreateDetectionInstanceMetadataRequest\x1a(.CreateDetectionInstanceMetadataResponse\x12n\n\x1d\x45\x64itDetectionInstanceMetadata\x12%.EditDetectionInstanceMetadataRequest\x1a&.EditDetectionInstanceMetadataResponse\x12t\n\x1f\x44\x65leteDetectionInstanceMetadata\x12\'.DeleteDetectionInstanceMetadataRequest\x1a(.DeleteDetectionInstanceMetadataResponseb\x06proto3')
20
-
21
- _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
22
- _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'global_vo_grpc_service.protos.detection_instance_metadata_api_pb2', globals())
23
- if _descriptor._USE_C_DESCRIPTORS == False:
24
-
25
- DESCRIPTOR._options = None
26
- _SHADOWDISCREPANCY._serialized_start=176
27
- _SHADOWDISCREPANCY._serialized_end=244
28
- _LISTALLDETECTIONINSTANCEMETADATACONFIGSRESPONSE._serialized_start=246
29
- _LISTALLDETECTIONINSTANCEMETADATACONFIGSRESPONSE._serialized_end=343
30
- _DETECTIONINSTANCEMETADATA._serialized_start=346
31
- _DETECTIONINSTANCEMETADATA._serialized_end=589
32
- _GETMETADATABYDETECTIONINSTANCEIDREQUEST._serialized_start=591
33
- _GETMETADATABYDETECTIONINSTANCEIDREQUEST._serialized_end=663
34
- _GETMETADATABYDETECTIONINSTANCEIDRESPONSE._serialized_start=665
35
- _GETMETADATABYDETECTIONINSTANCEIDRESPONSE._serialized_end=772
36
- _GETMETADATABYDETECTIONINSTANCEIDSLISTREQUEST._serialized_start=774
37
- _GETMETADATABYDETECTIONINSTANCEIDSLISTREQUEST._serialized_end=852
38
- _GETMETADATABYDETECTIONINSTANCEIDSLISTRESPONSE._serialized_start=854
39
- _GETMETADATABYDETECTIONINSTANCEIDSLISTRESPONSE._serialized_end=966
40
- _GETMOSTSUBMITTEDTAGSBYCURRENTUSERRESPONSE._serialized_start=969
41
- _GETMOSTSUBMITTEDTAGSBYCURRENTUSERRESPONSE._serialized_end=1125
42
- _GETMOSTSUBMITTEDTAGSBYCURRENTUSERRESPONSE_TAGCOUNT._serialized_start=1087
43
- _GETMOSTSUBMITTEDTAGSBYCURRENTUSERRESPONSE_TAGCOUNT._serialized_end=1125
44
- _CREATEDETECTIONINSTANCEMETADATAREQUEST._serialized_start=1127
45
- _CREATEDETECTIONINSTANCEMETADATAREQUEST._serialized_end=1235
46
- _CREATEDETECTIONINSTANCEMETADATARESPONSE._serialized_start=1237
47
- _CREATEDETECTIONINSTANCEMETADATARESPONSE._serialized_end=1324
48
- _EDITDETECTIONINSTANCEMETADATAREQUEST._serialized_start=1326
49
- _EDITDETECTIONINSTANCEMETADATAREQUEST._serialized_end=1432
50
- _EDITDETECTIONINSTANCEMETADATARESPONSE._serialized_start=1434
51
- _EDITDETECTIONINSTANCEMETADATARESPONSE._serialized_end=1519
52
- _DELETEDETECTIONINSTANCEMETADATAREQUEST._serialized_start=1521
53
- _DELETEDETECTIONINSTANCEMETADATAREQUEST._serialized_end=1573
54
- _DELETEDETECTIONINSTANCEMETADATARESPONSE._serialized_start=1575
55
- _DELETEDETECTIONINSTANCEMETADATARESPONSE._serialized_end=1650
56
- _DETECTIONINSTANCEMETADATAAPI._serialized_start=1653
57
- _DETECTIONINSTANCEMETADATAAPI._serialized_end=2511
58
- # @@protoc_insertion_point(module_scope)
@@ -1,265 +0,0 @@
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 detection_instance_metadata_api_pb2 as global__vo__grpc__service_dot_protos_dot_detection__instance__metadata__api__pb2
6
- from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
7
-
8
-
9
- class DetectionInstanceMetadataApiStub(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.ListAllDetectionInstanceMetadataConfigs = channel.unary_unary(
19
- '/DetectionInstanceMetadataApi/ListAllDetectionInstanceMetadataConfigs',
20
- request_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
21
- response_deserializer=global__vo__grpc__service_dot_protos_dot_detection__instance__metadata__api__pb2.ListAllDetectionInstanceMetadataConfigsResponse.FromString,
22
- )
23
- self.GetMetadataByDetectionInstanceId = channel.unary_unary(
24
- '/DetectionInstanceMetadataApi/GetMetadataByDetectionInstanceId',
25
- request_serializer=global__vo__grpc__service_dot_protos_dot_detection__instance__metadata__api__pb2.GetMetadataByDetectionInstanceIdRequest.SerializeToString,
26
- response_deserializer=global__vo__grpc__service_dot_protos_dot_detection__instance__metadata__api__pb2.GetMetadataByDetectionInstanceIdResponse.FromString,
27
- )
28
- self.GetMetadataByDetectionInstanceIdsList = channel.unary_unary(
29
- '/DetectionInstanceMetadataApi/GetMetadataByDetectionInstanceIdsList',
30
- request_serializer=global__vo__grpc__service_dot_protos_dot_detection__instance__metadata__api__pb2.GetMetadataByDetectionInstanceIdsListRequest.SerializeToString,
31
- response_deserializer=global__vo__grpc__service_dot_protos_dot_detection__instance__metadata__api__pb2.GetMetadataByDetectionInstanceIdsListResponse.FromString,
32
- )
33
- self.GetMostSubmittedTagsByCurrentUser = channel.unary_unary(
34
- '/DetectionInstanceMetadataApi/GetMostSubmittedTagsByCurrentUser',
35
- request_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
36
- response_deserializer=global__vo__grpc__service_dot_protos_dot_detection__instance__metadata__api__pb2.GetMostSubmittedTagsByCurrentUserResponse.FromString,
37
- )
38
- self.CreateDetectionInstanceMetadata = channel.unary_unary(
39
- '/DetectionInstanceMetadataApi/CreateDetectionInstanceMetadata',
40
- request_serializer=global__vo__grpc__service_dot_protos_dot_detection__instance__metadata__api__pb2.CreateDetectionInstanceMetadataRequest.SerializeToString,
41
- response_deserializer=global__vo__grpc__service_dot_protos_dot_detection__instance__metadata__api__pb2.CreateDetectionInstanceMetadataResponse.FromString,
42
- )
43
- self.EditDetectionInstanceMetadata = channel.unary_unary(
44
- '/DetectionInstanceMetadataApi/EditDetectionInstanceMetadata',
45
- request_serializer=global__vo__grpc__service_dot_protos_dot_detection__instance__metadata__api__pb2.EditDetectionInstanceMetadataRequest.SerializeToString,
46
- response_deserializer=global__vo__grpc__service_dot_protos_dot_detection__instance__metadata__api__pb2.EditDetectionInstanceMetadataResponse.FromString,
47
- )
48
- self.DeleteDetectionInstanceMetadata = channel.unary_unary(
49
- '/DetectionInstanceMetadataApi/DeleteDetectionInstanceMetadata',
50
- request_serializer=global__vo__grpc__service_dot_protos_dot_detection__instance__metadata__api__pb2.DeleteDetectionInstanceMetadataRequest.SerializeToString,
51
- response_deserializer=global__vo__grpc__service_dot_protos_dot_detection__instance__metadata__api__pb2.DeleteDetectionInstanceMetadataResponse.FromString,
52
- )
53
-
54
-
55
- class DetectionInstanceMetadataApiServicer(object):
56
- """Missing associated documentation comment in .proto file."""
57
-
58
- def ListAllDetectionInstanceMetadataConfigs(self, request, context):
59
- """Missing associated documentation comment in .proto file."""
60
- context.set_code(grpc.StatusCode.UNIMPLEMENTED)
61
- context.set_details('Method not implemented!')
62
- raise NotImplementedError('Method not implemented!')
63
-
64
- def GetMetadataByDetectionInstanceId(self, request, context):
65
- """Missing associated documentation comment in .proto file."""
66
- context.set_code(grpc.StatusCode.UNIMPLEMENTED)
67
- context.set_details('Method not implemented!')
68
- raise NotImplementedError('Method not implemented!')
69
-
70
- def GetMetadataByDetectionInstanceIdsList(self, request, context):
71
- """Missing associated documentation comment in .proto file."""
72
- context.set_code(grpc.StatusCode.UNIMPLEMENTED)
73
- context.set_details('Method not implemented!')
74
- raise NotImplementedError('Method not implemented!')
75
-
76
- def GetMostSubmittedTagsByCurrentUser(self, request, context):
77
- """Missing associated documentation comment in .proto file."""
78
- context.set_code(grpc.StatusCode.UNIMPLEMENTED)
79
- context.set_details('Method not implemented!')
80
- raise NotImplementedError('Method not implemented!')
81
-
82
- def CreateDetectionInstanceMetadata(self, request, context):
83
- """Missing associated documentation comment in .proto file."""
84
- context.set_code(grpc.StatusCode.UNIMPLEMENTED)
85
- context.set_details('Method not implemented!')
86
- raise NotImplementedError('Method not implemented!')
87
-
88
- def EditDetectionInstanceMetadata(self, request, context):
89
- """Missing associated documentation comment in .proto file."""
90
- context.set_code(grpc.StatusCode.UNIMPLEMENTED)
91
- context.set_details('Method not implemented!')
92
- raise NotImplementedError('Method not implemented!')
93
-
94
- def DeleteDetectionInstanceMetadata(self, request, context):
95
- """Missing associated documentation comment in .proto file."""
96
- context.set_code(grpc.StatusCode.UNIMPLEMENTED)
97
- context.set_details('Method not implemented!')
98
- raise NotImplementedError('Method not implemented!')
99
-
100
-
101
- def add_DetectionInstanceMetadataApiServicer_to_server(servicer, server):
102
- rpc_method_handlers = {
103
- 'ListAllDetectionInstanceMetadataConfigs': grpc.unary_unary_rpc_method_handler(
104
- servicer.ListAllDetectionInstanceMetadataConfigs,
105
- request_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
106
- response_serializer=global__vo__grpc__service_dot_protos_dot_detection__instance__metadata__api__pb2.ListAllDetectionInstanceMetadataConfigsResponse.SerializeToString,
107
- ),
108
- 'GetMetadataByDetectionInstanceId': grpc.unary_unary_rpc_method_handler(
109
- servicer.GetMetadataByDetectionInstanceId,
110
- request_deserializer=global__vo__grpc__service_dot_protos_dot_detection__instance__metadata__api__pb2.GetMetadataByDetectionInstanceIdRequest.FromString,
111
- response_serializer=global__vo__grpc__service_dot_protos_dot_detection__instance__metadata__api__pb2.GetMetadataByDetectionInstanceIdResponse.SerializeToString,
112
- ),
113
- 'GetMetadataByDetectionInstanceIdsList': grpc.unary_unary_rpc_method_handler(
114
- servicer.GetMetadataByDetectionInstanceIdsList,
115
- request_deserializer=global__vo__grpc__service_dot_protos_dot_detection__instance__metadata__api__pb2.GetMetadataByDetectionInstanceIdsListRequest.FromString,
116
- response_serializer=global__vo__grpc__service_dot_protos_dot_detection__instance__metadata__api__pb2.GetMetadataByDetectionInstanceIdsListResponse.SerializeToString,
117
- ),
118
- 'GetMostSubmittedTagsByCurrentUser': grpc.unary_unary_rpc_method_handler(
119
- servicer.GetMostSubmittedTagsByCurrentUser,
120
- request_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
121
- response_serializer=global__vo__grpc__service_dot_protos_dot_detection__instance__metadata__api__pb2.GetMostSubmittedTagsByCurrentUserResponse.SerializeToString,
122
- ),
123
- 'CreateDetectionInstanceMetadata': grpc.unary_unary_rpc_method_handler(
124
- servicer.CreateDetectionInstanceMetadata,
125
- request_deserializer=global__vo__grpc__service_dot_protos_dot_detection__instance__metadata__api__pb2.CreateDetectionInstanceMetadataRequest.FromString,
126
- response_serializer=global__vo__grpc__service_dot_protos_dot_detection__instance__metadata__api__pb2.CreateDetectionInstanceMetadataResponse.SerializeToString,
127
- ),
128
- 'EditDetectionInstanceMetadata': grpc.unary_unary_rpc_method_handler(
129
- servicer.EditDetectionInstanceMetadata,
130
- request_deserializer=global__vo__grpc__service_dot_protos_dot_detection__instance__metadata__api__pb2.EditDetectionInstanceMetadataRequest.FromString,
131
- response_serializer=global__vo__grpc__service_dot_protos_dot_detection__instance__metadata__api__pb2.EditDetectionInstanceMetadataResponse.SerializeToString,
132
- ),
133
- 'DeleteDetectionInstanceMetadata': grpc.unary_unary_rpc_method_handler(
134
- servicer.DeleteDetectionInstanceMetadata,
135
- request_deserializer=global__vo__grpc__service_dot_protos_dot_detection__instance__metadata__api__pb2.DeleteDetectionInstanceMetadataRequest.FromString,
136
- response_serializer=global__vo__grpc__service_dot_protos_dot_detection__instance__metadata__api__pb2.DeleteDetectionInstanceMetadataResponse.SerializeToString,
137
- ),
138
- }
139
- generic_handler = grpc.method_handlers_generic_handler(
140
- 'DetectionInstanceMetadataApi', rpc_method_handlers)
141
- server.add_generic_rpc_handlers((generic_handler,))
142
-
143
-
144
- # This class is part of an EXPERIMENTAL API.
145
- class DetectionInstanceMetadataApi(object):
146
- """Missing associated documentation comment in .proto file."""
147
-
148
- @staticmethod
149
- def ListAllDetectionInstanceMetadataConfigs(request,
150
- target,
151
- options=(),
152
- channel_credentials=None,
153
- call_credentials=None,
154
- insecure=False,
155
- compression=None,
156
- wait_for_ready=None,
157
- timeout=None,
158
- metadata=None):
159
- return grpc.experimental.unary_unary(request, target, '/DetectionInstanceMetadataApi/ListAllDetectionInstanceMetadataConfigs',
160
- google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
161
- global__vo__grpc__service_dot_protos_dot_detection__instance__metadata__api__pb2.ListAllDetectionInstanceMetadataConfigsResponse.FromString,
162
- options, channel_credentials,
163
- insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
164
-
165
- @staticmethod
166
- def GetMetadataByDetectionInstanceId(request,
167
- target,
168
- options=(),
169
- channel_credentials=None,
170
- call_credentials=None,
171
- insecure=False,
172
- compression=None,
173
- wait_for_ready=None,
174
- timeout=None,
175
- metadata=None):
176
- return grpc.experimental.unary_unary(request, target, '/DetectionInstanceMetadataApi/GetMetadataByDetectionInstanceId',
177
- global__vo__grpc__service_dot_protos_dot_detection__instance__metadata__api__pb2.GetMetadataByDetectionInstanceIdRequest.SerializeToString,
178
- global__vo__grpc__service_dot_protos_dot_detection__instance__metadata__api__pb2.GetMetadataByDetectionInstanceIdResponse.FromString,
179
- options, channel_credentials,
180
- insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
181
-
182
- @staticmethod
183
- def GetMetadataByDetectionInstanceIdsList(request,
184
- target,
185
- options=(),
186
- channel_credentials=None,
187
- call_credentials=None,
188
- insecure=False,
189
- compression=None,
190
- wait_for_ready=None,
191
- timeout=None,
192
- metadata=None):
193
- return grpc.experimental.unary_unary(request, target, '/DetectionInstanceMetadataApi/GetMetadataByDetectionInstanceIdsList',
194
- global__vo__grpc__service_dot_protos_dot_detection__instance__metadata__api__pb2.GetMetadataByDetectionInstanceIdsListRequest.SerializeToString,
195
- global__vo__grpc__service_dot_protos_dot_detection__instance__metadata__api__pb2.GetMetadataByDetectionInstanceIdsListResponse.FromString,
196
- options, channel_credentials,
197
- insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
198
-
199
- @staticmethod
200
- def GetMostSubmittedTagsByCurrentUser(request,
201
- target,
202
- options=(),
203
- channel_credentials=None,
204
- call_credentials=None,
205
- insecure=False,
206
- compression=None,
207
- wait_for_ready=None,
208
- timeout=None,
209
- metadata=None):
210
- return grpc.experimental.unary_unary(request, target, '/DetectionInstanceMetadataApi/GetMostSubmittedTagsByCurrentUser',
211
- google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
212
- global__vo__grpc__service_dot_protos_dot_detection__instance__metadata__api__pb2.GetMostSubmittedTagsByCurrentUserResponse.FromString,
213
- options, channel_credentials,
214
- insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
215
-
216
- @staticmethod
217
- def CreateDetectionInstanceMetadata(request,
218
- target,
219
- options=(),
220
- channel_credentials=None,
221
- call_credentials=None,
222
- insecure=False,
223
- compression=None,
224
- wait_for_ready=None,
225
- timeout=None,
226
- metadata=None):
227
- return grpc.experimental.unary_unary(request, target, '/DetectionInstanceMetadataApi/CreateDetectionInstanceMetadata',
228
- global__vo__grpc__service_dot_protos_dot_detection__instance__metadata__api__pb2.CreateDetectionInstanceMetadataRequest.SerializeToString,
229
- global__vo__grpc__service_dot_protos_dot_detection__instance__metadata__api__pb2.CreateDetectionInstanceMetadataResponse.FromString,
230
- options, channel_credentials,
231
- insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
232
-
233
- @staticmethod
234
- def EditDetectionInstanceMetadata(request,
235
- target,
236
- options=(),
237
- channel_credentials=None,
238
- call_credentials=None,
239
- insecure=False,
240
- compression=None,
241
- wait_for_ready=None,
242
- timeout=None,
243
- metadata=None):
244
- return grpc.experimental.unary_unary(request, target, '/DetectionInstanceMetadataApi/EditDetectionInstanceMetadata',
245
- global__vo__grpc__service_dot_protos_dot_detection__instance__metadata__api__pb2.EditDetectionInstanceMetadataRequest.SerializeToString,
246
- global__vo__grpc__service_dot_protos_dot_detection__instance__metadata__api__pb2.EditDetectionInstanceMetadataResponse.FromString,
247
- options, channel_credentials,
248
- insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
249
-
250
- @staticmethod
251
- def DeleteDetectionInstanceMetadata(request,
252
- target,
253
- options=(),
254
- channel_credentials=None,
255
- call_credentials=None,
256
- insecure=False,
257
- compression=None,
258
- wait_for_ready=None,
259
- timeout=None,
260
- metadata=None):
261
- return grpc.experimental.unary_unary(request, target, '/DetectionInstanceMetadataApi/DeleteDetectionInstanceMetadata',
262
- global__vo__grpc__service_dot_protos_dot_detection__instance__metadata__api__pb2.DeleteDetectionInstanceMetadataRequest.SerializeToString,
263
- global__vo__grpc__service_dot_protos_dot_detection__instance__metadata__api__pb2.DeleteDetectionInstanceMetadataResponse.FromString,
264
- options, channel_credentials,
265
- insecure, call_credentials, compression, wait_for_ready, timeout, metadata)