1 # -*- coding: utf-8 -*-
3 # Copyright 2020 Telefonica Investigacion y Desarrollo, S.A.U.
5 # Licensed under the Apache License, Version 2.0 (the "License");
6 # you may not use this file except in compliance with the License.
7 # You may obtain a copy of the License at
9 # http://www.apache.org/licenses/LICENSE-2.0
11 # Unless required by applicable law or agreed to in writing, software
12 # distributed under the License is distributed on an "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
15 # See the License for the specific language governing permissions and
16 # limitations under the License.
19 # Generated by the protocol buffer compiler. DO NOT EDIT!
20 # source: osm_lcm/frontend.proto
22 from google
.protobuf
import descriptor
as _descriptor
23 from google
.protobuf
import message
as _message
24 from google
.protobuf
import reflection
as _reflection
25 from google
.protobuf
import symbol_database
as _symbol_database
27 # @@protoc_insertion_point(imports)
29 _sym_db
= _symbol_database
.Default()
32 DESCRIPTOR
= _descriptor
.FileDescriptor(
33 name
="osm_lcm/frontend.proto",
36 serialized_options
=b
"\n\027com.etsi.osm.lcm.osm_eeB\014GrpcExecutorP\001\242\002\003OEE",
37 serialized_pb
=b
'\n\x16osm_lcm/frontend.proto\x12\x06osm_ee"<\n\x10PrimitiveRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0e\n\x06params\x18\x03 \x01(\t":\n\x0ePrimitiveReply\x12\x0e\n\x06status\x18\x01 \x01(\t\x12\x18\n\x10\x64\x65tailed_message\x18\x02 \x01(\t"\x0f\n\rSshKeyRequest"\x1e\n\x0bSshKeyReply\x12\x0f\n\x07message\x18\x01 \x01(\t2\x93\x01\n\x10\x46rontendExecutor\x12\x44\n\x0cRunPrimitive\x12\x18.osm_ee.PrimitiveRequest\x1a\x16.osm_ee.PrimitiveReply"\x00\x30\x01\x12\x39\n\tGetSshKey\x12\x15.osm_ee.SshKeyRequest\x1a\x13.osm_ee.SshKeyReply"\x00\x42/\n\x17\x63om.etsi.osm.lcm.osm_eeB\x0cGrpcExecutorP\x01\xa2\x02\x03OEEb\x06proto3',
41 _PRIMITIVEREQUEST
= _descriptor
.Descriptor(
42 name
="PrimitiveRequest",
43 full_name
="osm_ee.PrimitiveRequest",
48 _descriptor
.FieldDescriptor(
50 full_name
="osm_ee.PrimitiveRequest.id",
56 has_default_value
=False,
57 default_value
=b
"".decode("utf-8"),
63 serialized_options
=None,
66 _descriptor
.FieldDescriptor(
68 full_name
="osm_ee.PrimitiveRequest.name",
74 has_default_value
=False,
75 default_value
=b
"".decode("utf-8"),
81 serialized_options
=None,
84 _descriptor
.FieldDescriptor(
86 full_name
="osm_ee.PrimitiveRequest.params",
92 has_default_value
=False,
93 default_value
=b
"".decode("utf-8"),
99 serialized_options
=None,
106 serialized_options
=None,
116 _PRIMITIVEREPLY
= _descriptor
.Descriptor(
117 name
="PrimitiveReply",
118 full_name
="osm_ee.PrimitiveReply",
121 containing_type
=None,
123 _descriptor
.FieldDescriptor(
125 full_name
="osm_ee.PrimitiveReply.status",
131 has_default_value
=False,
132 default_value
=b
"".decode("utf-8"),
135 containing_type
=None,
137 extension_scope
=None,
138 serialized_options
=None,
141 _descriptor
.FieldDescriptor(
142 name
="detailed_message",
143 full_name
="osm_ee.PrimitiveReply.detailed_message",
149 has_default_value
=False,
150 default_value
=b
"".decode("utf-8"),
153 containing_type
=None,
155 extension_scope
=None,
156 serialized_options
=None,
163 serialized_options
=None,
173 _SSHKEYREQUEST
= _descriptor
.Descriptor(
174 name
="SshKeyRequest",
175 full_name
="osm_ee.SshKeyRequest",
178 containing_type
=None,
183 serialized_options
=None,
188 serialized_start
=156,
193 _SSHKEYREPLY
= _descriptor
.Descriptor(
195 full_name
="osm_ee.SshKeyReply",
198 containing_type
=None,
200 _descriptor
.FieldDescriptor(
202 full_name
="osm_ee.SshKeyReply.message",
208 has_default_value
=False,
209 default_value
=b
"".decode("utf-8"),
212 containing_type
=None,
214 extension_scope
=None,
215 serialized_options
=None,
222 serialized_options
=None,
227 serialized_start
=173,
231 DESCRIPTOR
.message_types_by_name
["PrimitiveRequest"] = _PRIMITIVEREQUEST
232 DESCRIPTOR
.message_types_by_name
["PrimitiveReply"] = _PRIMITIVEREPLY
233 DESCRIPTOR
.message_types_by_name
["SshKeyRequest"] = _SSHKEYREQUEST
234 DESCRIPTOR
.message_types_by_name
["SshKeyReply"] = _SSHKEYREPLY
235 _sym_db
.RegisterFileDescriptor(DESCRIPTOR
)
237 PrimitiveRequest
= _reflection
.GeneratedProtocolMessageType(
241 "DESCRIPTOR": _PRIMITIVEREQUEST
,
242 "__module__": "osm_lcm.frontend_pb2"
243 # @@protoc_insertion_point(class_scope:osm_ee.PrimitiveRequest)
246 _sym_db
.RegisterMessage(PrimitiveRequest
)
248 PrimitiveReply
= _reflection
.GeneratedProtocolMessageType(
252 "DESCRIPTOR": _PRIMITIVEREPLY
,
253 "__module__": "osm_lcm.frontend_pb2"
254 # @@protoc_insertion_point(class_scope:osm_ee.PrimitiveReply)
257 _sym_db
.RegisterMessage(PrimitiveReply
)
259 SshKeyRequest
= _reflection
.GeneratedProtocolMessageType(
263 "DESCRIPTOR": _SSHKEYREQUEST
,
264 "__module__": "osm_lcm.frontend_pb2"
265 # @@protoc_insertion_point(class_scope:osm_ee.SshKeyRequest)
268 _sym_db
.RegisterMessage(SshKeyRequest
)
270 SshKeyReply
= _reflection
.GeneratedProtocolMessageType(
274 "DESCRIPTOR": _SSHKEYREPLY
,
275 "__module__": "osm_lcm.frontend_pb2"
276 # @@protoc_insertion_point(class_scope:osm_ee.SshKeyReply)
279 _sym_db
.RegisterMessage(SshKeyReply
)
282 DESCRIPTOR
._options
= None
284 _FRONTENDEXECUTOR
= _descriptor
.ServiceDescriptor(
285 name
="FrontendExecutor",
286 full_name
="osm_ee.FrontendExecutor",
289 serialized_options
=None,
290 serialized_start
=206,
293 _descriptor
.MethodDescriptor(
295 full_name
="osm_ee.FrontendExecutor.RunPrimitive",
297 containing_service
=None,
298 input_type
=_PRIMITIVEREQUEST
,
299 output_type
=_PRIMITIVEREPLY
,
300 serialized_options
=None,
302 _descriptor
.MethodDescriptor(
304 full_name
="osm_ee.FrontendExecutor.GetSshKey",
306 containing_service
=None,
307 input_type
=_SSHKEYREQUEST
,
308 output_type
=_SSHKEYREPLY
,
309 serialized_options
=None,
313 _sym_db
.RegisterServiceDescriptor(_FRONTENDEXECUTOR
)
315 DESCRIPTOR
.services_by_name
["FrontendExecutor"] = _FRONTENDEXECUTOR
317 # @@protoc_insertion_point(module_scope)