agentic-mesh-protocol 0.2.1.dev0__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.
- agentic_mesh_protocol/__init__.py +5 -0
- agentic_mesh_protocol/__version__.py +8 -0
- agentic_mesh_protocol/cost/__init__.py +0 -0
- agentic_mesh_protocol/cost/v1/__init__.py +0 -0
- agentic_mesh_protocol/cost/v1/cost_pb2.py +108 -0
- agentic_mesh_protocol/cost/v1/cost_pb2.pyi +120 -0
- agentic_mesh_protocol/cost/v1/cost_pb2_grpc.py +4 -0
- agentic_mesh_protocol/cost/v1/cost_service_pb2.py +38 -0
- agentic_mesh_protocol/cost/v1/cost_service_pb2.pyi +5 -0
- agentic_mesh_protocol/cost/v1/cost_service_pb2_grpc.py +169 -0
- agentic_mesh_protocol/filesystem/__init__.py +0 -0
- agentic_mesh_protocol/filesystem/v1/__init__.py +0 -0
- agentic_mesh_protocol/filesystem/v1/filesystem_pb2.py +160 -0
- agentic_mesh_protocol/filesystem/v1/filesystem_pb2.pyi +248 -0
- agentic_mesh_protocol/filesystem/v1/filesystem_pb2_grpc.py +4 -0
- agentic_mesh_protocol/filesystem/v1/filesystem_service_pb2.py +38 -0
- agentic_mesh_protocol/filesystem/v1/filesystem_service_pb2.pyi +5 -0
- agentic_mesh_protocol/filesystem/v1/filesystem_service_pb2_grpc.py +274 -0
- agentic_mesh_protocol/module/__init__.py +0 -0
- agentic_mesh_protocol/module/v1/__init__.py +0 -0
- agentic_mesh_protocol/module/v1/information_pb2.py +77 -0
- agentic_mesh_protocol/module/v1/information_pb2.pyi +88 -0
- agentic_mesh_protocol/module/v1/information_pb2_grpc.py +4 -0
- agentic_mesh_protocol/module/v1/lifecycle_pb2.py +70 -0
- agentic_mesh_protocol/module/v1/lifecycle_pb2.pyi +61 -0
- agentic_mesh_protocol/module/v1/lifecycle_pb2_grpc.py +4 -0
- agentic_mesh_protocol/module/v1/module_service_pb2.py +40 -0
- agentic_mesh_protocol/module/v1/module_service_pb2.pyi +7 -0
- agentic_mesh_protocol/module/v1/module_service_pb2_grpc.py +500 -0
- agentic_mesh_protocol/module/v1/monitoring_pb2.py +58 -0
- agentic_mesh_protocol/module/v1/monitoring_pb2.pyi +64 -0
- agentic_mesh_protocol/module/v1/monitoring_pb2_grpc.py +4 -0
- agentic_mesh_protocol/module_registry/__init__.py +0 -0
- agentic_mesh_protocol/module_registry/v1/__init__.py +0 -0
- agentic_mesh_protocol/module_registry/v1/discover_pb2.py +63 -0
- agentic_mesh_protocol/module_registry/v1/discover_pb2.pyi +49 -0
- agentic_mesh_protocol/module_registry/v1/discover_pb2_grpc.py +4 -0
- agentic_mesh_protocol/module_registry/v1/metadata_pb2.py +46 -0
- agentic_mesh_protocol/module_registry/v1/metadata_pb2.pyi +24 -0
- agentic_mesh_protocol/module_registry/v1/metadata_pb2_grpc.py +4 -0
- agentic_mesh_protocol/module_registry/v1/module_registry_service_pb2.py +40 -0
- agentic_mesh_protocol/module_registry/v1/module_registry_service_pb2.pyi +7 -0
- agentic_mesh_protocol/module_registry/v1/module_registry_service_pb2_grpc.py +406 -0
- agentic_mesh_protocol/module_registry/v1/registration_pb2.py +57 -0
- agentic_mesh_protocol/module_registry/v1/registration_pb2.pyi +42 -0
- agentic_mesh_protocol/module_registry/v1/registration_pb2_grpc.py +4 -0
- agentic_mesh_protocol/module_registry/v1/status_pb2.py +58 -0
- agentic_mesh_protocol/module_registry/v1/status_pb2.pyi +70 -0
- agentic_mesh_protocol/module_registry/v1/status_pb2_grpc.py +4 -0
- agentic_mesh_protocol/py.typed +0 -0
- agentic_mesh_protocol/registry/__init__.py +0 -0
- agentic_mesh_protocol/registry/v1/__init__.py +0 -0
- agentic_mesh_protocol/registry/v1/registry_enums_pb2.py +43 -0
- agentic_mesh_protocol/registry/v1/registry_enums_pb2.pyi +59 -0
- agentic_mesh_protocol/registry/v1/registry_enums_pb2_grpc.py +4 -0
- agentic_mesh_protocol/registry/v1/registry_models_pb2.py +105 -0
- agentic_mesh_protocol/registry/v1/registry_models_pb2.pyi +82 -0
- agentic_mesh_protocol/registry/v1/registry_models_pb2_grpc.py +4 -0
- agentic_mesh_protocol/registry/v1/registry_requests_pb2.py +110 -0
- agentic_mesh_protocol/registry/v1/registry_requests_pb2.pyi +102 -0
- agentic_mesh_protocol/registry/v1/registry_requests_pb2_grpc.py +4 -0
- agentic_mesh_protocol/registry/v1/registry_service_pb2.py +39 -0
- agentic_mesh_protocol/registry/v1/registry_service_pb2.pyi +6 -0
- agentic_mesh_protocol/registry/v1/registry_service_pb2_grpc.py +322 -0
- agentic_mesh_protocol/setup/__init__.py +0 -0
- agentic_mesh_protocol/setup/v1/__init__.py +0 -0
- agentic_mesh_protocol/setup/v1/setup_pb2.py +142 -0
- agentic_mesh_protocol/setup/v1/setup_pb2.pyi +234 -0
- agentic_mesh_protocol/setup/v1/setup_pb2_grpc.py +4 -0
- agentic_mesh_protocol/setup/v1/setup_service_pb2.py +38 -0
- agentic_mesh_protocol/setup/v1/setup_service_pb2.pyi +5 -0
- agentic_mesh_protocol/setup/v1/setup_service_pb2_grpc.py +480 -0
- agentic_mesh_protocol/storage/__init__.py +0 -0
- agentic_mesh_protocol/storage/v1/__init__.py +0 -0
- agentic_mesh_protocol/storage/v1/data_pb2.py +136 -0
- agentic_mesh_protocol/storage/v1/data_pb2.pyi +148 -0
- agentic_mesh_protocol/storage/v1/data_pb2_grpc.py +4 -0
- agentic_mesh_protocol/storage/v1/storage_service_pb2.py +38 -0
- agentic_mesh_protocol/storage/v1/storage_service_pb2.pyi +5 -0
- agentic_mesh_protocol/storage/v1/storage_service_pb2_grpc.py +301 -0
- agentic_mesh_protocol/user_profile/__init__.py +0 -0
- agentic_mesh_protocol/user_profile/v1/__init__.py +0 -0
- agentic_mesh_protocol/user_profile/v1/user_profile_pb2.py +72 -0
- agentic_mesh_protocol/user_profile/v1/user_profile_pb2.pyi +82 -0
- agentic_mesh_protocol/user_profile/v1/user_profile_pb2_grpc.py +4 -0
- agentic_mesh_protocol/user_profile/v1/user_profile_service_pb2.py +38 -0
- agentic_mesh_protocol/user_profile/v1/user_profile_service_pb2.pyi +5 -0
- agentic_mesh_protocol/user_profile/v1/user_profile_service_pb2_grpc.py +81 -0
- agentic_mesh_protocol-0.2.1.dev0.dist-info/METADATA +177 -0
- agentic_mesh_protocol-0.2.1.dev0.dist-info/RECORD +100 -0
- agentic_mesh_protocol-0.2.1.dev0.dist-info/WHEEL +5 -0
- agentic_mesh_protocol-0.2.1.dev0.dist-info/licenses/LICENSE +430 -0
- agentic_mesh_protocol-0.2.1.dev0.dist-info/top_level.txt +3 -0
- buf/__init__.py +0 -0
- buf/validate/__init__.py +0 -0
- buf/validate/validate_pb2.py +465 -0
- buf/validate/validate_pb2.pyi +650 -0
- buf/validate/validate_pb2_grpc.py +4 -0
- digitalkin_proto/__init__.py +5 -0
- digitalkin_proto/__version__.py +8 -0
|
@@ -0,0 +1,500 @@
|
|
|
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 agentic_mesh_protocol.module.v1 import information_pb2 as agentic__mesh__protocol_dot_module_dot_v1_dot_information__pb2
|
|
6
|
+
from agentic_mesh_protocol.module.v1 import lifecycle_pb2 as agentic__mesh__protocol_dot_module_dot_v1_dot_lifecycle__pb2
|
|
7
|
+
from agentic_mesh_protocol.module.v1 import monitoring_pb2 as agentic__mesh__protocol_dot_module_dot_v1_dot_monitoring__pb2
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class ModuleServiceStub(object):
|
|
11
|
+
"""ModuleService
|
|
12
|
+
It represents a functional unit within an agent in the multi-agent system (SMA).
|
|
13
|
+
Modules can be of three types: Kin, Tool, and Trigger.
|
|
14
|
+
- Kin: Represents the agent's core data architecture or "brain", such as a workflow-based model or an LLM (Large Language Model).
|
|
15
|
+
- Tool: Refers to external utilities or tools that the agent uses to perform tasks or enhance its capabilities.
|
|
16
|
+
- Trigger: Serves as the entry point for the agent, initiating processes or actions based on external inputs.
|
|
17
|
+
This service manages the lifecycle and interactions of these modules, including starting, stopping,
|
|
18
|
+
and monitoring the module's status, as well as handling input and output operations.
|
|
19
|
+
"""
|
|
20
|
+
|
|
21
|
+
def __init__(self, channel):
|
|
22
|
+
"""Constructor.
|
|
23
|
+
|
|
24
|
+
Args:
|
|
25
|
+
channel: A grpc.Channel.
|
|
26
|
+
"""
|
|
27
|
+
self.StartModule = channel.unary_stream(
|
|
28
|
+
'/agentic_mesh_protocol.module.v1.ModuleService/StartModule',
|
|
29
|
+
request_serializer=agentic__mesh__protocol_dot_module_dot_v1_dot_lifecycle__pb2.StartModuleRequest.SerializeToString,
|
|
30
|
+
response_deserializer=agentic__mesh__protocol_dot_module_dot_v1_dot_lifecycle__pb2.StartModuleResponse.FromString,
|
|
31
|
+
_registered_method=True)
|
|
32
|
+
self.StopModule = channel.unary_unary(
|
|
33
|
+
'/agentic_mesh_protocol.module.v1.ModuleService/StopModule',
|
|
34
|
+
request_serializer=agentic__mesh__protocol_dot_module_dot_v1_dot_lifecycle__pb2.StopModuleRequest.SerializeToString,
|
|
35
|
+
response_deserializer=agentic__mesh__protocol_dot_module_dot_v1_dot_lifecycle__pb2.StopModuleResponse.FromString,
|
|
36
|
+
_registered_method=True)
|
|
37
|
+
self.GetModuleStatus = channel.unary_unary(
|
|
38
|
+
'/agentic_mesh_protocol.module.v1.ModuleService/GetModuleStatus',
|
|
39
|
+
request_serializer=agentic__mesh__protocol_dot_module_dot_v1_dot_monitoring__pb2.GetModuleStatusRequest.SerializeToString,
|
|
40
|
+
response_deserializer=agentic__mesh__protocol_dot_module_dot_v1_dot_monitoring__pb2.GetModuleStatusResponse.FromString,
|
|
41
|
+
_registered_method=True)
|
|
42
|
+
self.GetModuleJobs = channel.unary_unary(
|
|
43
|
+
'/agentic_mesh_protocol.module.v1.ModuleService/GetModuleJobs',
|
|
44
|
+
request_serializer=agentic__mesh__protocol_dot_module_dot_v1_dot_monitoring__pb2.GetModuleJobsRequest.SerializeToString,
|
|
45
|
+
response_deserializer=agentic__mesh__protocol_dot_module_dot_v1_dot_monitoring__pb2.GetModuleJobsResponse.FromString,
|
|
46
|
+
_registered_method=True)
|
|
47
|
+
self.GetModuleInput = channel.unary_unary(
|
|
48
|
+
'/agentic_mesh_protocol.module.v1.ModuleService/GetModuleInput',
|
|
49
|
+
request_serializer=agentic__mesh__protocol_dot_module_dot_v1_dot_information__pb2.GetModuleInputRequest.SerializeToString,
|
|
50
|
+
response_deserializer=agentic__mesh__protocol_dot_module_dot_v1_dot_information__pb2.GetModuleInputResponse.FromString,
|
|
51
|
+
_registered_method=True)
|
|
52
|
+
self.GetModuleOutput = channel.unary_unary(
|
|
53
|
+
'/agentic_mesh_protocol.module.v1.ModuleService/GetModuleOutput',
|
|
54
|
+
request_serializer=agentic__mesh__protocol_dot_module_dot_v1_dot_information__pb2.GetModuleOutputRequest.SerializeToString,
|
|
55
|
+
response_deserializer=agentic__mesh__protocol_dot_module_dot_v1_dot_information__pb2.GetModuleOutputResponse.FromString,
|
|
56
|
+
_registered_method=True)
|
|
57
|
+
self.GetModuleSetup = channel.unary_unary(
|
|
58
|
+
'/agentic_mesh_protocol.module.v1.ModuleService/GetModuleSetup',
|
|
59
|
+
request_serializer=agentic__mesh__protocol_dot_module_dot_v1_dot_information__pb2.GetModuleSetupRequest.SerializeToString,
|
|
60
|
+
response_deserializer=agentic__mesh__protocol_dot_module_dot_v1_dot_information__pb2.GetModuleSetupResponse.FromString,
|
|
61
|
+
_registered_method=True)
|
|
62
|
+
self.GetModuleSecret = channel.unary_unary(
|
|
63
|
+
'/agentic_mesh_protocol.module.v1.ModuleService/GetModuleSecret',
|
|
64
|
+
request_serializer=agentic__mesh__protocol_dot_module_dot_v1_dot_information__pb2.GetModuleSecretRequest.SerializeToString,
|
|
65
|
+
response_deserializer=agentic__mesh__protocol_dot_module_dot_v1_dot_information__pb2.GetModuleSecretResponse.FromString,
|
|
66
|
+
_registered_method=True)
|
|
67
|
+
self.GetConfigSetupModule = channel.unary_unary(
|
|
68
|
+
'/agentic_mesh_protocol.module.v1.ModuleService/GetConfigSetupModule',
|
|
69
|
+
request_serializer=agentic__mesh__protocol_dot_module_dot_v1_dot_information__pb2.GetConfigSetupModuleRequest.SerializeToString,
|
|
70
|
+
response_deserializer=agentic__mesh__protocol_dot_module_dot_v1_dot_information__pb2.GetConfigSetupModuleResponse.FromString,
|
|
71
|
+
_registered_method=True)
|
|
72
|
+
self.ConfigSetupModule = channel.unary_unary(
|
|
73
|
+
'/agentic_mesh_protocol.module.v1.ModuleService/ConfigSetupModule',
|
|
74
|
+
request_serializer=agentic__mesh__protocol_dot_module_dot_v1_dot_lifecycle__pb2.ConfigSetupModuleRequest.SerializeToString,
|
|
75
|
+
response_deserializer=agentic__mesh__protocol_dot_module_dot_v1_dot_lifecycle__pb2.ConfigSetupModuleResponse.FromString,
|
|
76
|
+
_registered_method=True)
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
class ModuleServiceServicer(object):
|
|
80
|
+
"""ModuleService
|
|
81
|
+
It represents a functional unit within an agent in the multi-agent system (SMA).
|
|
82
|
+
Modules can be of three types: Kin, Tool, and Trigger.
|
|
83
|
+
- Kin: Represents the agent's core data architecture or "brain", such as a workflow-based model or an LLM (Large Language Model).
|
|
84
|
+
- Tool: Refers to external utilities or tools that the agent uses to perform tasks or enhance its capabilities.
|
|
85
|
+
- Trigger: Serves as the entry point for the agent, initiating processes or actions based on external inputs.
|
|
86
|
+
This service manages the lifecycle and interactions of these modules, including starting, stopping,
|
|
87
|
+
and monitoring the module's status, as well as handling input and output operations.
|
|
88
|
+
"""
|
|
89
|
+
|
|
90
|
+
def StartModule(self, request, context):
|
|
91
|
+
"""StartModule
|
|
92
|
+
"""
|
|
93
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
94
|
+
context.set_details('Method not implemented!')
|
|
95
|
+
raise NotImplementedError('Method not implemented!')
|
|
96
|
+
|
|
97
|
+
def StopModule(self, request, context):
|
|
98
|
+
"""StopModule
|
|
99
|
+
"""
|
|
100
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
101
|
+
context.set_details('Method not implemented!')
|
|
102
|
+
raise NotImplementedError('Method not implemented!')
|
|
103
|
+
|
|
104
|
+
def GetModuleStatus(self, request, context):
|
|
105
|
+
"""GetModuleStatus
|
|
106
|
+
"""
|
|
107
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
108
|
+
context.set_details('Method not implemented!')
|
|
109
|
+
raise NotImplementedError('Method not implemented!')
|
|
110
|
+
|
|
111
|
+
def GetModuleJobs(self, request, context):
|
|
112
|
+
"""GetModuleJobs
|
|
113
|
+
"""
|
|
114
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
115
|
+
context.set_details('Method not implemented!')
|
|
116
|
+
raise NotImplementedError('Method not implemented!')
|
|
117
|
+
|
|
118
|
+
def GetModuleInput(self, request, context):
|
|
119
|
+
"""GetModuleInput
|
|
120
|
+
"""
|
|
121
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
122
|
+
context.set_details('Method not implemented!')
|
|
123
|
+
raise NotImplementedError('Method not implemented!')
|
|
124
|
+
|
|
125
|
+
def GetModuleOutput(self, request, context):
|
|
126
|
+
"""GetModuleOutput
|
|
127
|
+
"""
|
|
128
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
129
|
+
context.set_details('Method not implemented!')
|
|
130
|
+
raise NotImplementedError('Method not implemented!')
|
|
131
|
+
|
|
132
|
+
def GetModuleSetup(self, request, context):
|
|
133
|
+
"""GetModuleSetup
|
|
134
|
+
"""
|
|
135
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
136
|
+
context.set_details('Method not implemented!')
|
|
137
|
+
raise NotImplementedError('Method not implemented!')
|
|
138
|
+
|
|
139
|
+
def GetModuleSecret(self, request, context):
|
|
140
|
+
"""GetModuleSecret
|
|
141
|
+
"""
|
|
142
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
143
|
+
context.set_details('Method not implemented!')
|
|
144
|
+
raise NotImplementedError('Method not implemented!')
|
|
145
|
+
|
|
146
|
+
def GetConfigSetupModule(self, request, context):
|
|
147
|
+
"""GetConfigSetupModule
|
|
148
|
+
"""
|
|
149
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
150
|
+
context.set_details('Method not implemented!')
|
|
151
|
+
raise NotImplementedError('Method not implemented!')
|
|
152
|
+
|
|
153
|
+
def ConfigSetupModule(self, request, context):
|
|
154
|
+
"""ConfigSetupModule
|
|
155
|
+
"""
|
|
156
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
157
|
+
context.set_details('Method not implemented!')
|
|
158
|
+
raise NotImplementedError('Method not implemented!')
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
def add_ModuleServiceServicer_to_server(servicer, server):
|
|
162
|
+
rpc_method_handlers = {
|
|
163
|
+
'StartModule': grpc.unary_stream_rpc_method_handler(
|
|
164
|
+
servicer.StartModule,
|
|
165
|
+
request_deserializer=agentic__mesh__protocol_dot_module_dot_v1_dot_lifecycle__pb2.StartModuleRequest.FromString,
|
|
166
|
+
response_serializer=agentic__mesh__protocol_dot_module_dot_v1_dot_lifecycle__pb2.StartModuleResponse.SerializeToString,
|
|
167
|
+
),
|
|
168
|
+
'StopModule': grpc.unary_unary_rpc_method_handler(
|
|
169
|
+
servicer.StopModule,
|
|
170
|
+
request_deserializer=agentic__mesh__protocol_dot_module_dot_v1_dot_lifecycle__pb2.StopModuleRequest.FromString,
|
|
171
|
+
response_serializer=agentic__mesh__protocol_dot_module_dot_v1_dot_lifecycle__pb2.StopModuleResponse.SerializeToString,
|
|
172
|
+
),
|
|
173
|
+
'GetModuleStatus': grpc.unary_unary_rpc_method_handler(
|
|
174
|
+
servicer.GetModuleStatus,
|
|
175
|
+
request_deserializer=agentic__mesh__protocol_dot_module_dot_v1_dot_monitoring__pb2.GetModuleStatusRequest.FromString,
|
|
176
|
+
response_serializer=agentic__mesh__protocol_dot_module_dot_v1_dot_monitoring__pb2.GetModuleStatusResponse.SerializeToString,
|
|
177
|
+
),
|
|
178
|
+
'GetModuleJobs': grpc.unary_unary_rpc_method_handler(
|
|
179
|
+
servicer.GetModuleJobs,
|
|
180
|
+
request_deserializer=agentic__mesh__protocol_dot_module_dot_v1_dot_monitoring__pb2.GetModuleJobsRequest.FromString,
|
|
181
|
+
response_serializer=agentic__mesh__protocol_dot_module_dot_v1_dot_monitoring__pb2.GetModuleJobsResponse.SerializeToString,
|
|
182
|
+
),
|
|
183
|
+
'GetModuleInput': grpc.unary_unary_rpc_method_handler(
|
|
184
|
+
servicer.GetModuleInput,
|
|
185
|
+
request_deserializer=agentic__mesh__protocol_dot_module_dot_v1_dot_information__pb2.GetModuleInputRequest.FromString,
|
|
186
|
+
response_serializer=agentic__mesh__protocol_dot_module_dot_v1_dot_information__pb2.GetModuleInputResponse.SerializeToString,
|
|
187
|
+
),
|
|
188
|
+
'GetModuleOutput': grpc.unary_unary_rpc_method_handler(
|
|
189
|
+
servicer.GetModuleOutput,
|
|
190
|
+
request_deserializer=agentic__mesh__protocol_dot_module_dot_v1_dot_information__pb2.GetModuleOutputRequest.FromString,
|
|
191
|
+
response_serializer=agentic__mesh__protocol_dot_module_dot_v1_dot_information__pb2.GetModuleOutputResponse.SerializeToString,
|
|
192
|
+
),
|
|
193
|
+
'GetModuleSetup': grpc.unary_unary_rpc_method_handler(
|
|
194
|
+
servicer.GetModuleSetup,
|
|
195
|
+
request_deserializer=agentic__mesh__protocol_dot_module_dot_v1_dot_information__pb2.GetModuleSetupRequest.FromString,
|
|
196
|
+
response_serializer=agentic__mesh__protocol_dot_module_dot_v1_dot_information__pb2.GetModuleSetupResponse.SerializeToString,
|
|
197
|
+
),
|
|
198
|
+
'GetModuleSecret': grpc.unary_unary_rpc_method_handler(
|
|
199
|
+
servicer.GetModuleSecret,
|
|
200
|
+
request_deserializer=agentic__mesh__protocol_dot_module_dot_v1_dot_information__pb2.GetModuleSecretRequest.FromString,
|
|
201
|
+
response_serializer=agentic__mesh__protocol_dot_module_dot_v1_dot_information__pb2.GetModuleSecretResponse.SerializeToString,
|
|
202
|
+
),
|
|
203
|
+
'GetConfigSetupModule': grpc.unary_unary_rpc_method_handler(
|
|
204
|
+
servicer.GetConfigSetupModule,
|
|
205
|
+
request_deserializer=agentic__mesh__protocol_dot_module_dot_v1_dot_information__pb2.GetConfigSetupModuleRequest.FromString,
|
|
206
|
+
response_serializer=agentic__mesh__protocol_dot_module_dot_v1_dot_information__pb2.GetConfigSetupModuleResponse.SerializeToString,
|
|
207
|
+
),
|
|
208
|
+
'ConfigSetupModule': grpc.unary_unary_rpc_method_handler(
|
|
209
|
+
servicer.ConfigSetupModule,
|
|
210
|
+
request_deserializer=agentic__mesh__protocol_dot_module_dot_v1_dot_lifecycle__pb2.ConfigSetupModuleRequest.FromString,
|
|
211
|
+
response_serializer=agentic__mesh__protocol_dot_module_dot_v1_dot_lifecycle__pb2.ConfigSetupModuleResponse.SerializeToString,
|
|
212
|
+
),
|
|
213
|
+
}
|
|
214
|
+
generic_handler = grpc.method_handlers_generic_handler(
|
|
215
|
+
'agentic_mesh_protocol.module.v1.ModuleService', rpc_method_handlers)
|
|
216
|
+
server.add_generic_rpc_handlers((generic_handler,))
|
|
217
|
+
server.add_registered_method_handlers('agentic_mesh_protocol.module.v1.ModuleService', rpc_method_handlers)
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
# This class is part of an EXPERIMENTAL API.
|
|
221
|
+
class ModuleService(object):
|
|
222
|
+
"""ModuleService
|
|
223
|
+
It represents a functional unit within an agent in the multi-agent system (SMA).
|
|
224
|
+
Modules can be of three types: Kin, Tool, and Trigger.
|
|
225
|
+
- Kin: Represents the agent's core data architecture or "brain", such as a workflow-based model or an LLM (Large Language Model).
|
|
226
|
+
- Tool: Refers to external utilities or tools that the agent uses to perform tasks or enhance its capabilities.
|
|
227
|
+
- Trigger: Serves as the entry point for the agent, initiating processes or actions based on external inputs.
|
|
228
|
+
This service manages the lifecycle and interactions of these modules, including starting, stopping,
|
|
229
|
+
and monitoring the module's status, as well as handling input and output operations.
|
|
230
|
+
"""
|
|
231
|
+
|
|
232
|
+
@staticmethod
|
|
233
|
+
def StartModule(request,
|
|
234
|
+
target,
|
|
235
|
+
options=(),
|
|
236
|
+
channel_credentials=None,
|
|
237
|
+
call_credentials=None,
|
|
238
|
+
insecure=False,
|
|
239
|
+
compression=None,
|
|
240
|
+
wait_for_ready=None,
|
|
241
|
+
timeout=None,
|
|
242
|
+
metadata=None):
|
|
243
|
+
return grpc.experimental.unary_stream(
|
|
244
|
+
request,
|
|
245
|
+
target,
|
|
246
|
+
'/agentic_mesh_protocol.module.v1.ModuleService/StartModule',
|
|
247
|
+
agentic__mesh__protocol_dot_module_dot_v1_dot_lifecycle__pb2.StartModuleRequest.SerializeToString,
|
|
248
|
+
agentic__mesh__protocol_dot_module_dot_v1_dot_lifecycle__pb2.StartModuleResponse.FromString,
|
|
249
|
+
options,
|
|
250
|
+
channel_credentials,
|
|
251
|
+
insecure,
|
|
252
|
+
call_credentials,
|
|
253
|
+
compression,
|
|
254
|
+
wait_for_ready,
|
|
255
|
+
timeout,
|
|
256
|
+
metadata,
|
|
257
|
+
_registered_method=True)
|
|
258
|
+
|
|
259
|
+
@staticmethod
|
|
260
|
+
def StopModule(request,
|
|
261
|
+
target,
|
|
262
|
+
options=(),
|
|
263
|
+
channel_credentials=None,
|
|
264
|
+
call_credentials=None,
|
|
265
|
+
insecure=False,
|
|
266
|
+
compression=None,
|
|
267
|
+
wait_for_ready=None,
|
|
268
|
+
timeout=None,
|
|
269
|
+
metadata=None):
|
|
270
|
+
return grpc.experimental.unary_unary(
|
|
271
|
+
request,
|
|
272
|
+
target,
|
|
273
|
+
'/agentic_mesh_protocol.module.v1.ModuleService/StopModule',
|
|
274
|
+
agentic__mesh__protocol_dot_module_dot_v1_dot_lifecycle__pb2.StopModuleRequest.SerializeToString,
|
|
275
|
+
agentic__mesh__protocol_dot_module_dot_v1_dot_lifecycle__pb2.StopModuleResponse.FromString,
|
|
276
|
+
options,
|
|
277
|
+
channel_credentials,
|
|
278
|
+
insecure,
|
|
279
|
+
call_credentials,
|
|
280
|
+
compression,
|
|
281
|
+
wait_for_ready,
|
|
282
|
+
timeout,
|
|
283
|
+
metadata,
|
|
284
|
+
_registered_method=True)
|
|
285
|
+
|
|
286
|
+
@staticmethod
|
|
287
|
+
def GetModuleStatus(request,
|
|
288
|
+
target,
|
|
289
|
+
options=(),
|
|
290
|
+
channel_credentials=None,
|
|
291
|
+
call_credentials=None,
|
|
292
|
+
insecure=False,
|
|
293
|
+
compression=None,
|
|
294
|
+
wait_for_ready=None,
|
|
295
|
+
timeout=None,
|
|
296
|
+
metadata=None):
|
|
297
|
+
return grpc.experimental.unary_unary(
|
|
298
|
+
request,
|
|
299
|
+
target,
|
|
300
|
+
'/agentic_mesh_protocol.module.v1.ModuleService/GetModuleStatus',
|
|
301
|
+
agentic__mesh__protocol_dot_module_dot_v1_dot_monitoring__pb2.GetModuleStatusRequest.SerializeToString,
|
|
302
|
+
agentic__mesh__protocol_dot_module_dot_v1_dot_monitoring__pb2.GetModuleStatusResponse.FromString,
|
|
303
|
+
options,
|
|
304
|
+
channel_credentials,
|
|
305
|
+
insecure,
|
|
306
|
+
call_credentials,
|
|
307
|
+
compression,
|
|
308
|
+
wait_for_ready,
|
|
309
|
+
timeout,
|
|
310
|
+
metadata,
|
|
311
|
+
_registered_method=True)
|
|
312
|
+
|
|
313
|
+
@staticmethod
|
|
314
|
+
def GetModuleJobs(request,
|
|
315
|
+
target,
|
|
316
|
+
options=(),
|
|
317
|
+
channel_credentials=None,
|
|
318
|
+
call_credentials=None,
|
|
319
|
+
insecure=False,
|
|
320
|
+
compression=None,
|
|
321
|
+
wait_for_ready=None,
|
|
322
|
+
timeout=None,
|
|
323
|
+
metadata=None):
|
|
324
|
+
return grpc.experimental.unary_unary(
|
|
325
|
+
request,
|
|
326
|
+
target,
|
|
327
|
+
'/agentic_mesh_protocol.module.v1.ModuleService/GetModuleJobs',
|
|
328
|
+
agentic__mesh__protocol_dot_module_dot_v1_dot_monitoring__pb2.GetModuleJobsRequest.SerializeToString,
|
|
329
|
+
agentic__mesh__protocol_dot_module_dot_v1_dot_monitoring__pb2.GetModuleJobsResponse.FromString,
|
|
330
|
+
options,
|
|
331
|
+
channel_credentials,
|
|
332
|
+
insecure,
|
|
333
|
+
call_credentials,
|
|
334
|
+
compression,
|
|
335
|
+
wait_for_ready,
|
|
336
|
+
timeout,
|
|
337
|
+
metadata,
|
|
338
|
+
_registered_method=True)
|
|
339
|
+
|
|
340
|
+
@staticmethod
|
|
341
|
+
def GetModuleInput(request,
|
|
342
|
+
target,
|
|
343
|
+
options=(),
|
|
344
|
+
channel_credentials=None,
|
|
345
|
+
call_credentials=None,
|
|
346
|
+
insecure=False,
|
|
347
|
+
compression=None,
|
|
348
|
+
wait_for_ready=None,
|
|
349
|
+
timeout=None,
|
|
350
|
+
metadata=None):
|
|
351
|
+
return grpc.experimental.unary_unary(
|
|
352
|
+
request,
|
|
353
|
+
target,
|
|
354
|
+
'/agentic_mesh_protocol.module.v1.ModuleService/GetModuleInput',
|
|
355
|
+
agentic__mesh__protocol_dot_module_dot_v1_dot_information__pb2.GetModuleInputRequest.SerializeToString,
|
|
356
|
+
agentic__mesh__protocol_dot_module_dot_v1_dot_information__pb2.GetModuleInputResponse.FromString,
|
|
357
|
+
options,
|
|
358
|
+
channel_credentials,
|
|
359
|
+
insecure,
|
|
360
|
+
call_credentials,
|
|
361
|
+
compression,
|
|
362
|
+
wait_for_ready,
|
|
363
|
+
timeout,
|
|
364
|
+
metadata,
|
|
365
|
+
_registered_method=True)
|
|
366
|
+
|
|
367
|
+
@staticmethod
|
|
368
|
+
def GetModuleOutput(request,
|
|
369
|
+
target,
|
|
370
|
+
options=(),
|
|
371
|
+
channel_credentials=None,
|
|
372
|
+
call_credentials=None,
|
|
373
|
+
insecure=False,
|
|
374
|
+
compression=None,
|
|
375
|
+
wait_for_ready=None,
|
|
376
|
+
timeout=None,
|
|
377
|
+
metadata=None):
|
|
378
|
+
return grpc.experimental.unary_unary(
|
|
379
|
+
request,
|
|
380
|
+
target,
|
|
381
|
+
'/agentic_mesh_protocol.module.v1.ModuleService/GetModuleOutput',
|
|
382
|
+
agentic__mesh__protocol_dot_module_dot_v1_dot_information__pb2.GetModuleOutputRequest.SerializeToString,
|
|
383
|
+
agentic__mesh__protocol_dot_module_dot_v1_dot_information__pb2.GetModuleOutputResponse.FromString,
|
|
384
|
+
options,
|
|
385
|
+
channel_credentials,
|
|
386
|
+
insecure,
|
|
387
|
+
call_credentials,
|
|
388
|
+
compression,
|
|
389
|
+
wait_for_ready,
|
|
390
|
+
timeout,
|
|
391
|
+
metadata,
|
|
392
|
+
_registered_method=True)
|
|
393
|
+
|
|
394
|
+
@staticmethod
|
|
395
|
+
def GetModuleSetup(request,
|
|
396
|
+
target,
|
|
397
|
+
options=(),
|
|
398
|
+
channel_credentials=None,
|
|
399
|
+
call_credentials=None,
|
|
400
|
+
insecure=False,
|
|
401
|
+
compression=None,
|
|
402
|
+
wait_for_ready=None,
|
|
403
|
+
timeout=None,
|
|
404
|
+
metadata=None):
|
|
405
|
+
return grpc.experimental.unary_unary(
|
|
406
|
+
request,
|
|
407
|
+
target,
|
|
408
|
+
'/agentic_mesh_protocol.module.v1.ModuleService/GetModuleSetup',
|
|
409
|
+
agentic__mesh__protocol_dot_module_dot_v1_dot_information__pb2.GetModuleSetupRequest.SerializeToString,
|
|
410
|
+
agentic__mesh__protocol_dot_module_dot_v1_dot_information__pb2.GetModuleSetupResponse.FromString,
|
|
411
|
+
options,
|
|
412
|
+
channel_credentials,
|
|
413
|
+
insecure,
|
|
414
|
+
call_credentials,
|
|
415
|
+
compression,
|
|
416
|
+
wait_for_ready,
|
|
417
|
+
timeout,
|
|
418
|
+
metadata,
|
|
419
|
+
_registered_method=True)
|
|
420
|
+
|
|
421
|
+
@staticmethod
|
|
422
|
+
def GetModuleSecret(request,
|
|
423
|
+
target,
|
|
424
|
+
options=(),
|
|
425
|
+
channel_credentials=None,
|
|
426
|
+
call_credentials=None,
|
|
427
|
+
insecure=False,
|
|
428
|
+
compression=None,
|
|
429
|
+
wait_for_ready=None,
|
|
430
|
+
timeout=None,
|
|
431
|
+
metadata=None):
|
|
432
|
+
return grpc.experimental.unary_unary(
|
|
433
|
+
request,
|
|
434
|
+
target,
|
|
435
|
+
'/agentic_mesh_protocol.module.v1.ModuleService/GetModuleSecret',
|
|
436
|
+
agentic__mesh__protocol_dot_module_dot_v1_dot_information__pb2.GetModuleSecretRequest.SerializeToString,
|
|
437
|
+
agentic__mesh__protocol_dot_module_dot_v1_dot_information__pb2.GetModuleSecretResponse.FromString,
|
|
438
|
+
options,
|
|
439
|
+
channel_credentials,
|
|
440
|
+
insecure,
|
|
441
|
+
call_credentials,
|
|
442
|
+
compression,
|
|
443
|
+
wait_for_ready,
|
|
444
|
+
timeout,
|
|
445
|
+
metadata,
|
|
446
|
+
_registered_method=True)
|
|
447
|
+
|
|
448
|
+
@staticmethod
|
|
449
|
+
def GetConfigSetupModule(request,
|
|
450
|
+
target,
|
|
451
|
+
options=(),
|
|
452
|
+
channel_credentials=None,
|
|
453
|
+
call_credentials=None,
|
|
454
|
+
insecure=False,
|
|
455
|
+
compression=None,
|
|
456
|
+
wait_for_ready=None,
|
|
457
|
+
timeout=None,
|
|
458
|
+
metadata=None):
|
|
459
|
+
return grpc.experimental.unary_unary(
|
|
460
|
+
request,
|
|
461
|
+
target,
|
|
462
|
+
'/agentic_mesh_protocol.module.v1.ModuleService/GetConfigSetupModule',
|
|
463
|
+
agentic__mesh__protocol_dot_module_dot_v1_dot_information__pb2.GetConfigSetupModuleRequest.SerializeToString,
|
|
464
|
+
agentic__mesh__protocol_dot_module_dot_v1_dot_information__pb2.GetConfigSetupModuleResponse.FromString,
|
|
465
|
+
options,
|
|
466
|
+
channel_credentials,
|
|
467
|
+
insecure,
|
|
468
|
+
call_credentials,
|
|
469
|
+
compression,
|
|
470
|
+
wait_for_ready,
|
|
471
|
+
timeout,
|
|
472
|
+
metadata,
|
|
473
|
+
_registered_method=True)
|
|
474
|
+
|
|
475
|
+
@staticmethod
|
|
476
|
+
def ConfigSetupModule(request,
|
|
477
|
+
target,
|
|
478
|
+
options=(),
|
|
479
|
+
channel_credentials=None,
|
|
480
|
+
call_credentials=None,
|
|
481
|
+
insecure=False,
|
|
482
|
+
compression=None,
|
|
483
|
+
wait_for_ready=None,
|
|
484
|
+
timeout=None,
|
|
485
|
+
metadata=None):
|
|
486
|
+
return grpc.experimental.unary_unary(
|
|
487
|
+
request,
|
|
488
|
+
target,
|
|
489
|
+
'/agentic_mesh_protocol.module.v1.ModuleService/ConfigSetupModule',
|
|
490
|
+
agentic__mesh__protocol_dot_module_dot_v1_dot_lifecycle__pb2.ConfigSetupModuleRequest.SerializeToString,
|
|
491
|
+
agentic__mesh__protocol_dot_module_dot_v1_dot_lifecycle__pb2.ConfigSetupModuleResponse.FromString,
|
|
492
|
+
options,
|
|
493
|
+
channel_credentials,
|
|
494
|
+
insecure,
|
|
495
|
+
call_credentials,
|
|
496
|
+
compression,
|
|
497
|
+
wait_for_ready,
|
|
498
|
+
timeout,
|
|
499
|
+
metadata,
|
|
500
|
+
_registered_method=True)
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: agentic_mesh_protocol/module/v1/monitoring.proto
|
|
5
|
+
# Protobuf Python Version: 6.33.0
|
|
6
|
+
"""Generated protocol buffer code."""
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
11
|
+
from google.protobuf.internal import builder as _builder
|
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
|
14
|
+
6,
|
|
15
|
+
33,
|
|
16
|
+
0,
|
|
17
|
+
'',
|
|
18
|
+
'agentic_mesh_protocol/module/v1/monitoring.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from buf.validate import validate_pb2 as buf_dot_validate_dot_validate__pb2
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n0agentic_mesh_protocol/module/v1/monitoring.proto\x12\x1f\x61gentic_mesh_protocol.module.v1\x1a\x1b\x62uf/validate/validate.proto\"\x8e\x01\n\x07JobInfo\x12(\n\x06job_id\x18\x01 \x01(\tB\x11\xbaH\x0er\t\x10\x01:\x05jobs:\xc8\x01\x01R\x05jobId\x12Y\n\njob_status\x18\x02 \x01(\x0e\x32-.agentic_mesh_protocol.module.v1.ModuleStatusB\x0b\xbaH\x08\x82\x01\x02\x10\x01\xc8\x01\x01R\tjobStatus\"B\n\x16GetModuleStatusRequest\x12(\n\x06job_id\x18\x01 \x01(\tB\x11\xbaH\x0er\t\x10\x01:\x05jobs:\xc8\x01\x01R\x05jobId\"\xb1\x01\n\x17GetModuleStatusResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success\x12R\n\x06status\x18\x02 \x01(\x0e\x32-.agentic_mesh_protocol.module.v1.ModuleStatusB\x0b\xbaH\x08\x82\x01\x02\x10\x01\xc8\x01\x01R\x06status\x12(\n\x06job_id\x18\x03 \x01(\tB\x11\xbaH\x0er\t\x10\x01:\x05jobs:\xc8\x01\x01R\x05jobId\"\x16\n\x14GetModuleJobsRequest\"o\n\x15GetModuleJobsResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success\x12<\n\x04jobs\x18\x03 \x03(\x0b\x32(.agentic_mesh_protocol.module.v1.JobInfoR\x04jobs*\xee\x01\n\x0cModuleStatus\x12\x1d\n\x19MODULE_STATUS_UNSPECIFIED\x10\x00\x12\x1a\n\x16MODULE_STATUS_STARTING\x10\x01\x12\x1c\n\x18MODULE_STATUS_PROCESSING\x10\x02\x12\x1a\n\x16MODULE_STATUS_CANCELED\x10\x03\x12\x18\n\x14MODULE_STATUS_FAILED\x10\x04\x12\x19\n\x15MODULE_STATUS_EXPIRED\x10\x05\x12\x19\n\x15MODULE_STATUS_SUCCESS\x10\x06\x12\x19\n\x15MODULE_STATUS_STOPPED\x10\x07\x42\xcc\x01\n#com.agentic_mesh_protocol.module.v1B\x0fMonitoringProtoP\x01\xa2\x02\x03\x41MX\xaa\x02\x1d\x41genticMeshProtocol.Module.V1\xca\x02\x1d\x41genticMeshProtocol\\Module\\V1\xe2\x02)AgenticMeshProtocol\\Module\\V1\\GPBMetadata\xea\x02\x1f\x41genticMeshProtocol::Module::V1b\x06proto3')
|
|
29
|
+
|
|
30
|
+
_globals = globals()
|
|
31
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
32
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'agentic_mesh_protocol.module.v1.monitoring_pb2', _globals)
|
|
33
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
34
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
35
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n#com.agentic_mesh_protocol.module.v1B\017MonitoringProtoP\001\242\002\003AMX\252\002\035AgenticMeshProtocol.Module.V1\312\002\035AgenticMeshProtocol\\Module\\V1\342\002)AgenticMeshProtocol\\Module\\V1\\GPBMetadata\352\002\037AgenticMeshProtocol::Module::V1'
|
|
36
|
+
_globals['_JOBINFO'].fields_by_name['job_id']._loaded_options = None
|
|
37
|
+
_globals['_JOBINFO'].fields_by_name['job_id']._serialized_options = b'\272H\016r\t\020\001:\005jobs:\310\001\001'
|
|
38
|
+
_globals['_JOBINFO'].fields_by_name['job_status']._loaded_options = None
|
|
39
|
+
_globals['_JOBINFO'].fields_by_name['job_status']._serialized_options = b'\272H\010\202\001\002\020\001\310\001\001'
|
|
40
|
+
_globals['_GETMODULESTATUSREQUEST'].fields_by_name['job_id']._loaded_options = None
|
|
41
|
+
_globals['_GETMODULESTATUSREQUEST'].fields_by_name['job_id']._serialized_options = b'\272H\016r\t\020\001:\005jobs:\310\001\001'
|
|
42
|
+
_globals['_GETMODULESTATUSRESPONSE'].fields_by_name['status']._loaded_options = None
|
|
43
|
+
_globals['_GETMODULESTATUSRESPONSE'].fields_by_name['status']._serialized_options = b'\272H\010\202\001\002\020\001\310\001\001'
|
|
44
|
+
_globals['_GETMODULESTATUSRESPONSE'].fields_by_name['job_id']._loaded_options = None
|
|
45
|
+
_globals['_GETMODULESTATUSRESPONSE'].fields_by_name['job_id']._serialized_options = b'\272H\016r\t\020\001:\005jobs:\310\001\001'
|
|
46
|
+
_globals['_MODULESTATUS']._serialized_start=645
|
|
47
|
+
_globals['_MODULESTATUS']._serialized_end=883
|
|
48
|
+
_globals['_JOBINFO']._serialized_start=115
|
|
49
|
+
_globals['_JOBINFO']._serialized_end=257
|
|
50
|
+
_globals['_GETMODULESTATUSREQUEST']._serialized_start=259
|
|
51
|
+
_globals['_GETMODULESTATUSREQUEST']._serialized_end=325
|
|
52
|
+
_globals['_GETMODULESTATUSRESPONSE']._serialized_start=328
|
|
53
|
+
_globals['_GETMODULESTATUSRESPONSE']._serialized_end=505
|
|
54
|
+
_globals['_GETMODULEJOBSREQUEST']._serialized_start=507
|
|
55
|
+
_globals['_GETMODULEJOBSREQUEST']._serialized_end=529
|
|
56
|
+
_globals['_GETMODULEJOBSRESPONSE']._serialized_start=531
|
|
57
|
+
_globals['_GETMODULEJOBSRESPONSE']._serialized_end=642
|
|
58
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
from buf.validate import validate_pb2 as _validate_pb2
|
|
2
|
+
from google.protobuf.internal import containers as _containers
|
|
3
|
+
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
|
|
4
|
+
from google.protobuf import descriptor as _descriptor
|
|
5
|
+
from google.protobuf import message as _message
|
|
6
|
+
from collections.abc import Iterable as _Iterable, Mapping as _Mapping
|
|
7
|
+
from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
|
|
8
|
+
|
|
9
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
10
|
+
|
|
11
|
+
class ModuleStatus(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
12
|
+
__slots__ = ()
|
|
13
|
+
MODULE_STATUS_UNSPECIFIED: _ClassVar[ModuleStatus]
|
|
14
|
+
MODULE_STATUS_STARTING: _ClassVar[ModuleStatus]
|
|
15
|
+
MODULE_STATUS_PROCESSING: _ClassVar[ModuleStatus]
|
|
16
|
+
MODULE_STATUS_CANCELED: _ClassVar[ModuleStatus]
|
|
17
|
+
MODULE_STATUS_FAILED: _ClassVar[ModuleStatus]
|
|
18
|
+
MODULE_STATUS_EXPIRED: _ClassVar[ModuleStatus]
|
|
19
|
+
MODULE_STATUS_SUCCESS: _ClassVar[ModuleStatus]
|
|
20
|
+
MODULE_STATUS_STOPPED: _ClassVar[ModuleStatus]
|
|
21
|
+
MODULE_STATUS_UNSPECIFIED: ModuleStatus
|
|
22
|
+
MODULE_STATUS_STARTING: ModuleStatus
|
|
23
|
+
MODULE_STATUS_PROCESSING: ModuleStatus
|
|
24
|
+
MODULE_STATUS_CANCELED: ModuleStatus
|
|
25
|
+
MODULE_STATUS_FAILED: ModuleStatus
|
|
26
|
+
MODULE_STATUS_EXPIRED: ModuleStatus
|
|
27
|
+
MODULE_STATUS_SUCCESS: ModuleStatus
|
|
28
|
+
MODULE_STATUS_STOPPED: ModuleStatus
|
|
29
|
+
|
|
30
|
+
class JobInfo(_message.Message):
|
|
31
|
+
__slots__ = ()
|
|
32
|
+
JOB_ID_FIELD_NUMBER: _ClassVar[int]
|
|
33
|
+
JOB_STATUS_FIELD_NUMBER: _ClassVar[int]
|
|
34
|
+
job_id: str
|
|
35
|
+
job_status: ModuleStatus
|
|
36
|
+
def __init__(self, job_id: _Optional[str] = ..., job_status: _Optional[_Union[ModuleStatus, str]] = ...) -> None: ...
|
|
37
|
+
|
|
38
|
+
class GetModuleStatusRequest(_message.Message):
|
|
39
|
+
__slots__ = ()
|
|
40
|
+
JOB_ID_FIELD_NUMBER: _ClassVar[int]
|
|
41
|
+
job_id: str
|
|
42
|
+
def __init__(self, job_id: _Optional[str] = ...) -> None: ...
|
|
43
|
+
|
|
44
|
+
class GetModuleStatusResponse(_message.Message):
|
|
45
|
+
__slots__ = ()
|
|
46
|
+
SUCCESS_FIELD_NUMBER: _ClassVar[int]
|
|
47
|
+
STATUS_FIELD_NUMBER: _ClassVar[int]
|
|
48
|
+
JOB_ID_FIELD_NUMBER: _ClassVar[int]
|
|
49
|
+
success: bool
|
|
50
|
+
status: ModuleStatus
|
|
51
|
+
job_id: str
|
|
52
|
+
def __init__(self, success: _Optional[bool] = ..., status: _Optional[_Union[ModuleStatus, str]] = ..., job_id: _Optional[str] = ...) -> None: ...
|
|
53
|
+
|
|
54
|
+
class GetModuleJobsRequest(_message.Message):
|
|
55
|
+
__slots__ = ()
|
|
56
|
+
def __init__(self) -> None: ...
|
|
57
|
+
|
|
58
|
+
class GetModuleJobsResponse(_message.Message):
|
|
59
|
+
__slots__ = ()
|
|
60
|
+
SUCCESS_FIELD_NUMBER: _ClassVar[int]
|
|
61
|
+
JOBS_FIELD_NUMBER: _ClassVar[int]
|
|
62
|
+
success: bool
|
|
63
|
+
jobs: _containers.RepeatedCompositeFieldContainer[JobInfo]
|
|
64
|
+
def __init__(self, success: _Optional[bool] = ..., jobs: _Optional[_Iterable[_Union[JobInfo, _Mapping]]] = ...) -> None: ...
|
|
File without changes
|
|
File without changes
|