Adding grpc library
[osm/LCM.git] / osm_lcm / frontend_pb2.py
1 # -*- coding: utf-8 -*-
2 ##
3 # Copyright 2020 Telefonica Investigacion y Desarrollo, S.A.U.
4 #
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
8 #
9 # http://www.apache.org/licenses/LICENSE-2.0
10 #
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
14 # implied.
15 # See the License for the specific language governing permissions and
16 # limitations under the License.
17 #
18 ##
19 # Generated by the protocol buffer compiler. DO NOT EDIT!
20 # source: osm_lcm/frontend.proto
21
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)
27
28 _sym_db = _symbol_database.Default()
29
30
31
32
33 DESCRIPTOR = _descriptor.FileDescriptor(
34 name='osm_lcm/frontend.proto',
35 package='osm_lcm',
36 syntax='proto3',
37 serialized_options=b'\n\027com.etsi.osm.lcm.osm_lcmB\014GrpcExecutorP\001\242\002\003OEE',
38 serialized_pb=b'\n\x15osm_lcm/frontend.proto\x12\x06osm_lcm\"<\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_lcm.PrimitiveRequest\x1a\x16.osm_lcm.PrimitiveReply\"\x00\x30\x01\x12\x39\n\tGetSshKey\x12\x15.osm_lcm.SshKeyRequest\x1a\x13.osm_lcm.SshKeyReply\"\x00\x42/\n\x17\x63om.etsi.osm.lcm.osm_lcmB\x0cGrpcExecutorP\x01\xa2\x02\x03OEEb\x06proto3'
39 )
40
41
42
43
44 _PRIMITIVEREQUEST = _descriptor.Descriptor(
45 name='PrimitiveRequest',
46 full_name='osm_lcm.PrimitiveRequest',
47 filename=None,
48 file=DESCRIPTOR,
49 containing_type=None,
50 fields=[
51 _descriptor.FieldDescriptor(
52 name='id', full_name='osm_lcm.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_lcm.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_lcm.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),
72 ],
73 extensions=[
74 ],
75 nested_types=[],
76 enum_types=[
77 ],
78 serialized_options=None,
79 is_extendable=False,
80 syntax='proto3',
81 extension_ranges=[],
82 oneofs=[
83 ],
84 serialized_start=33,
85 serialized_end=93,
86 )
87
88
89 _PRIMITIVEREPLY = _descriptor.Descriptor(
90 name='PrimitiveReply',
91 full_name='osm_lcm.PrimitiveReply',
92 filename=None,
93 file=DESCRIPTOR,
94 containing_type=None,
95 fields=[
96 _descriptor.FieldDescriptor(
97 name='status', full_name='osm_lcm.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_lcm.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),
110 ],
111 extensions=[
112 ],
113 nested_types=[],
114 enum_types=[
115 ],
116 serialized_options=None,
117 is_extendable=False,
118 syntax='proto3',
119 extension_ranges=[],
120 oneofs=[
121 ],
122 serialized_start=95,
123 serialized_end=153,
124 )
125
126
127 _SSHKEYREQUEST = _descriptor.Descriptor(
128 name='SshKeyRequest',
129 full_name='osm_lcm.SshKeyRequest',
130 filename=None,
131 file=DESCRIPTOR,
132 containing_type=None,
133 fields=[
134 ],
135 extensions=[
136 ],
137 nested_types=[],
138 enum_types=[
139 ],
140 serialized_options=None,
141 is_extendable=False,
142 syntax='proto3',
143 extension_ranges=[],
144 oneofs=[
145 ],
146 serialized_start=155,
147 serialized_end=170,
148 )
149
150
151 _SSHKEYREPLY = _descriptor.Descriptor(
152 name='SshKeyReply',
153 full_name='osm_lcm.SshKeyReply',
154 filename=None,
155 file=DESCRIPTOR,
156 containing_type=None,
157 fields=[
158 _descriptor.FieldDescriptor(
159 name='message', full_name='osm_lcm.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),
165 ],
166 extensions=[
167 ],
168 nested_types=[],
169 enum_types=[
170 ],
171 serialized_options=None,
172 is_extendable=False,
173 syntax='proto3',
174 extension_ranges=[],
175 oneofs=[
176 ],
177 serialized_start=172,
178 serialized_end=202,
179 )
180
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)
186
187 PrimitiveRequest = _reflection.GeneratedProtocolMessageType('PrimitiveRequest', (_message.Message,), {
188 'DESCRIPTOR' : _PRIMITIVEREQUEST,
189 '__module__' : 'osm_lcm.frontend_pb2'
190 # @@protoc_insertion_point(class_scope:osm_lcm.PrimitiveRequest)
191 })
192 _sym_db.RegisterMessage(PrimitiveRequest)
193
194 PrimitiveReply = _reflection.GeneratedProtocolMessageType('PrimitiveReply', (_message.Message,), {
195 'DESCRIPTOR' : _PRIMITIVEREPLY,
196 '__module__' : 'osm_lcm.frontend_pb2'
197 # @@protoc_insertion_point(class_scope:osm_lcm.PrimitiveReply)
198 })
199 _sym_db.RegisterMessage(PrimitiveReply)
200
201 SshKeyRequest = _reflection.GeneratedProtocolMessageType('SshKeyRequest', (_message.Message,), {
202 'DESCRIPTOR' : _SSHKEYREQUEST,
203 '__module__' : 'osm_lcm.frontend_pb2'
204 # @@protoc_insertion_point(class_scope:osm_lcm.SshKeyRequest)
205 })
206 _sym_db.RegisterMessage(SshKeyRequest)
207
208 SshKeyReply = _reflection.GeneratedProtocolMessageType('SshKeyReply', (_message.Message,), {
209 'DESCRIPTOR' : _SSHKEYREPLY,
210 '__module__' : 'osm_lcm.frontend_pb2'
211 # @@protoc_insertion_point(class_scope:osm_lcm.SshKeyReply)
212 })
213 _sym_db.RegisterMessage(SshKeyReply)
214
215
216 DESCRIPTOR._options = None
217
218 _FRONTENDEXECUTOR = _descriptor.ServiceDescriptor(
219 name='FrontendExecutor',
220 full_name='osm_lcm.FrontendExecutor',
221 file=DESCRIPTOR,
222 index=0,
223 serialized_options=None,
224 serialized_start=205,
225 serialized_end=352,
226 methods=[
227 _descriptor.MethodDescriptor(
228 name='RunPrimitive',
229 full_name='osm_lcm.FrontendExecutor.RunPrimitive',
230 index=0,
231 containing_service=None,
232 input_type=_PRIMITIVEREQUEST,
233 output_type=_PRIMITIVEREPLY,
234 serialized_options=None,
235 ),
236 _descriptor.MethodDescriptor(
237 name='GetSshKey',
238 full_name='osm_lcm.FrontendExecutor.GetSshKey',
239 index=1,
240 containing_service=None,
241 input_type=_SSHKEYREQUEST,
242 output_type=_SSHKEYREPLY,
243 serialized_options=None,
244 ),
245 ])
246 _sym_db.RegisterServiceDescriptor(_FRONTENDEXECUTOR)
247
248 DESCRIPTOR.services_by_name['FrontendExecutor'] = _FRONTENDEXECUTOR
249
250 # @@protoc_insertion_point(module_scope)