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
26 # @@protoc_insertion_point(imports)
28 _sym_db
= _symbol_database
.Default()
33 DESCRIPTOR
= _descriptor
.FileDescriptor(
34 name
='osm_lcm/frontend.proto',
37 serialized_options
=b
'\n\027com.etsi.osm.lcm.osm_eeB\014GrpcExecutorP\001\242\002\003OEE',
38 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'
44 _PRIMITIVEREQUEST
= _descriptor
.Descriptor(
45 name
='PrimitiveRequest',
46 full_name
='osm_ee.PrimitiveRequest',
51 _descriptor
.FieldDescriptor(
52 name
='id', full_name
='osm_ee.PrimitiveRequest.id', index
=0,
53 number
=1, type=9, cpp_type
=9, label
=1,
54 has_default_value
=False, default_value
=b
"".decode('utf-8'),
55 message_type
=None, enum_type
=None, containing_type
=None,
56 is_extension
=False, extension_scope
=None,
57 serialized_options
=None, file=DESCRIPTOR
),
58 _descriptor
.FieldDescriptor(
59 name
='name', full_name
='osm_ee.PrimitiveRequest.name', index
=1,
60 number
=2, type=9, cpp_type
=9, label
=1,
61 has_default_value
=False, default_value
=b
"".decode('utf-8'),
62 message_type
=None, enum_type
=None, containing_type
=None,
63 is_extension
=False, extension_scope
=None,
64 serialized_options
=None, file=DESCRIPTOR
),
65 _descriptor
.FieldDescriptor(
66 name
='params', full_name
='osm_ee.PrimitiveRequest.params', index
=2,
67 number
=3, type=9, cpp_type
=9, label
=1,
68 has_default_value
=False, default_value
=b
"".decode('utf-8'),
69 message_type
=None, enum_type
=None, containing_type
=None,
70 is_extension
=False, extension_scope
=None,
71 serialized_options
=None, file=DESCRIPTOR
),
78 serialized_options
=None,
89 _PRIMITIVEREPLY
= _descriptor
.Descriptor(
90 name
='PrimitiveReply',
91 full_name
='osm_ee.PrimitiveReply',
96 _descriptor
.FieldDescriptor(
97 name
='status', full_name
='osm_ee.PrimitiveReply.status', index
=0,
98 number
=1, type=9, cpp_type
=9, label
=1,
99 has_default_value
=False, default_value
=b
"".decode('utf-8'),
100 message_type
=None, enum_type
=None, containing_type
=None,
101 is_extension
=False, extension_scope
=None,
102 serialized_options
=None, file=DESCRIPTOR
),
103 _descriptor
.FieldDescriptor(
104 name
='detailed_message', full_name
='osm_ee.PrimitiveReply.detailed_message', index
=1,
105 number
=2, type=9, cpp_type
=9, label
=1,
106 has_default_value
=False, default_value
=b
"".decode('utf-8'),
107 message_type
=None, enum_type
=None, containing_type
=None,
108 is_extension
=False, extension_scope
=None,
109 serialized_options
=None, file=DESCRIPTOR
),
116 serialized_options
=None,
127 _SSHKEYREQUEST
= _descriptor
.Descriptor(
128 name
='SshKeyRequest',
129 full_name
='osm_ee.SshKeyRequest',
132 containing_type
=None,
140 serialized_options
=None,
146 serialized_start
=156,
151 _SSHKEYREPLY
= _descriptor
.Descriptor(
153 full_name
='osm_ee.SshKeyReply',
156 containing_type
=None,
158 _descriptor
.FieldDescriptor(
159 name
='message', full_name
='osm_ee.SshKeyReply.message', index
=0,
160 number
=1, type=9, cpp_type
=9, label
=1,
161 has_default_value
=False, default_value
=b
"".decode('utf-8'),
162 message_type
=None, enum_type
=None, containing_type
=None,
163 is_extension
=False, extension_scope
=None,
164 serialized_options
=None, file=DESCRIPTOR
),
171 serialized_options
=None,
177 serialized_start
=173,
181 DESCRIPTOR
.message_types_by_name
['PrimitiveRequest'] = _PRIMITIVEREQUEST
182 DESCRIPTOR
.message_types_by_name
['PrimitiveReply'] = _PRIMITIVEREPLY
183 DESCRIPTOR
.message_types_by_name
['SshKeyRequest'] = _SSHKEYREQUEST
184 DESCRIPTOR
.message_types_by_name
['SshKeyReply'] = _SSHKEYREPLY
185 _sym_db
.RegisterFileDescriptor(DESCRIPTOR
)
187 PrimitiveRequest
= _reflection
.GeneratedProtocolMessageType('PrimitiveRequest', (_message
.Message
,), {
188 'DESCRIPTOR' : _PRIMITIVEREQUEST
,
189 '__module__' : 'osm_lcm.frontend_pb2'
190 # @@protoc_insertion_point(class_scope:osm_ee.PrimitiveRequest)
192 _sym_db
.RegisterMessage(PrimitiveRequest
)
194 PrimitiveReply
= _reflection
.GeneratedProtocolMessageType('PrimitiveReply', (_message
.Message
,), {
195 'DESCRIPTOR' : _PRIMITIVEREPLY
,
196 '__module__' : 'osm_lcm.frontend_pb2'
197 # @@protoc_insertion_point(class_scope:osm_ee.PrimitiveReply)
199 _sym_db
.RegisterMessage(PrimitiveReply
)
201 SshKeyRequest
= _reflection
.GeneratedProtocolMessageType('SshKeyRequest', (_message
.Message
,), {
202 'DESCRIPTOR' : _SSHKEYREQUEST
,
203 '__module__' : 'osm_lcm.frontend_pb2'
204 # @@protoc_insertion_point(class_scope:osm_ee.SshKeyRequest)
206 _sym_db
.RegisterMessage(SshKeyRequest
)
208 SshKeyReply
= _reflection
.GeneratedProtocolMessageType('SshKeyReply', (_message
.Message
,), {
209 'DESCRIPTOR' : _SSHKEYREPLY
,
210 '__module__' : 'osm_lcm.frontend_pb2'
211 # @@protoc_insertion_point(class_scope:osm_ee.SshKeyReply)
213 _sym_db
.RegisterMessage(SshKeyReply
)
216 DESCRIPTOR
._options
= None
218 _FRONTENDEXECUTOR
= _descriptor
.ServiceDescriptor(
219 name
='FrontendExecutor',
220 full_name
='osm_ee.FrontendExecutor',
223 serialized_options
=None,
224 serialized_start
=206,
227 _descriptor
.MethodDescriptor(
229 full_name
='osm_ee.FrontendExecutor.RunPrimitive',
231 containing_service
=None,
232 input_type
=_PRIMITIVEREQUEST
,
233 output_type
=_PRIMITIVEREPLY
,
234 serialized_options
=None,
236 _descriptor
.MethodDescriptor(
238 full_name
='osm_ee.FrontendExecutor.GetSshKey',
240 containing_service
=None,
241 input_type
=_SSHKEYREQUEST
,
242 output_type
=_SSHKEYREPLY
,
243 serialized_options
=None,
246 _sym_db
.RegisterServiceDescriptor(_FRONTENDEXECUTOR
)
248 DESCRIPTOR
.services_by_name
['FrontendExecutor'] = _FRONTENDEXECUTOR
250 # @@protoc_insertion_point(module_scope)