1 # -*- coding: utf-8 -*-
2 # Generated by the protocol buffer compiler. DO NOT EDIT!
3 # source: CommandExecutor.proto
6 _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
7 from google.protobuf.internal import enum_type_wrapper
8 from google.protobuf import descriptor as _descriptor
9 from google.protobuf import message as _message
10 from google.protobuf import reflection as _reflection
11 from google.protobuf import symbol_database as _symbol_database
12 # @@protoc_insertion_point(imports)
14 _sym_db = _symbol_database.Default()
17 from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
18 from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
21 DESCRIPTOR = _descriptor.FileDescriptor(
22 name='CommandExecutor.proto',
23 package='org.onap.ccsdk.cds.controllerblueprints.command.api',
25 serialized_options=_b('P\001'),
26 serialized_pb=_b('\n\x15\x43ommandExecutor.proto\x12\x33org.onap.ccsdk.cds.controllerblueprints.command.api\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x8f\x02\n\x0e\x45xecutionInput\x12\x11\n\trequestId\x18\x01 \x01(\t\x12\x15\n\rcorrelationId\x18\x02 \x01(\t\x12U\n\x0bidentifiers\x18\x03 \x01(\x0b\x32@.org.onap.ccsdk.cds.controllerblueprints.command.api.Identifiers\x12\x0f\n\x07\x63ommand\x18\x04 \x01(\t\x12\x0f\n\x07timeOut\x18\x05 \x01(\x05\x12+\n\nproperties\x18\x06 \x01(\x0b\x32\x17.google.protobuf.Struct\x12-\n\ttimestamp\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xd0\x02\n\x0fPrepareEnvInput\x12U\n\x0bidentifiers\x18\x01 \x01(\x0b\x32@.org.onap.ccsdk.cds.controllerblueprints.command.api.Identifiers\x12\x11\n\trequestId\x18\x02 \x01(\t\x12\x15\n\rcorrelationId\x18\x03 \x01(\t\x12O\n\x08packages\x18\x04 \x03(\x0b\x32=.org.onap.ccsdk.cds.controllerblueprints.command.api.Packages\x12\x0f\n\x07timeOut\x18\x05 \x01(\x05\x12+\n\nproperties\x18\x06 \x01(\x0b\x32\x17.google.protobuf.Struct\x12-\n\ttimestamp\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\">\n\x0bIdentifiers\x12\x15\n\rblueprintName\x18\x01 \x01(\t\x12\x18\n\x10\x62lueprintVersion\x18\x02 \x01(\t\"\xcb\x01\n\x0f\x45xecutionOutput\x12\x11\n\trequestId\x18\x01 \x01(\t\x12\x10\n\x08response\x18\x02 \x03(\t\x12S\n\x06status\x18\x03 \x01(\x0e\x32\x43.org.onap.ccsdk.cds.controllerblueprints.command.api.ResponseStatus\x12-\n\ttimestamp\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0f\n\x07payload\x18\x05 \x01(\t\"k\n\x08Packages\x12N\n\x04type\x18\x01 \x01(\x0e\x32@.org.onap.ccsdk.cds.controllerblueprints.command.api.PackageType\x12\x0f\n\x07package\x18\x02 \x03(\t**\n\x0eResponseStatus\x12\x0b\n\x07SUCCESS\x10\x00\x12\x0b\n\x07\x46\x41ILURE\x10\x01*9\n\x0bPackageType\x12\x07\n\x03pip\x10\x00\x12\x12\n\x0e\x61nsible_galaxy\x10\x01\x12\r\n\tutilities\x10\x02\x32\xd1\x02\n\x16\x43ommandExecutorService\x12\x98\x01\n\nprepareEnv\x12\x44.org.onap.ccsdk.cds.controllerblueprints.command.api.PrepareEnvInput\x1a\x44.org.onap.ccsdk.cds.controllerblueprints.command.api.ExecutionOutput\x12\x9b\x01\n\x0e\x65xecuteCommand\x12\x43.org.onap.ccsdk.cds.controllerblueprints.command.api.ExecutionInput\x1a\x44.org.onap.ccsdk.cds.controllerblueprints.command.api.ExecutionOutputB\x02P\x01\x62\x06proto3')
28 dependencies=[google_dot_protobuf_dot_struct__pb2.DESCRIPTOR,google_dot_protobuf_dot_timestamp__pb2.DESCRIPTOR,])
30 _RESPONSESTATUS = _descriptor.EnumDescriptor(
31 name='ResponseStatus',
32 full_name='org.onap.ccsdk.cds.controllerblueprints.command.api.ResponseStatus',
36 _descriptor.EnumValueDescriptor(
37 name='SUCCESS', index=0, number=0,
38 serialized_options=None,
40 _descriptor.EnumValueDescriptor(
41 name='FAILURE', index=1, number=1,
42 serialized_options=None,
46 serialized_options=None,
47 serialized_start=1133,
50 _sym_db.RegisterEnumDescriptor(_RESPONSESTATUS)
52 ResponseStatus = enum_type_wrapper.EnumTypeWrapper(_RESPONSESTATUS)
53 _PACKAGETYPE = _descriptor.EnumDescriptor(
55 full_name='org.onap.ccsdk.cds.controllerblueprints.command.api.PackageType',
59 _descriptor.EnumValueDescriptor(
60 name='pip', index=0, number=0,
61 serialized_options=None,
63 _descriptor.EnumValueDescriptor(
64 name='ansible_galaxy', index=1, number=1,
65 serialized_options=None,
67 _descriptor.EnumValueDescriptor(
68 name='utilities', index=2, number=2,
69 serialized_options=None,
73 serialized_options=None,
74 serialized_start=1177,
77 _sym_db.RegisterEnumDescriptor(_PACKAGETYPE)
79 PackageType = enum_type_wrapper.EnumTypeWrapper(_PACKAGETYPE)
88 _EXECUTIONINPUT = _descriptor.Descriptor(
89 name='ExecutionInput',
90 full_name='org.onap.ccsdk.cds.controllerblueprints.command.api.ExecutionInput',
95 _descriptor.FieldDescriptor(
96 name='requestId', full_name='org.onap.ccsdk.cds.controllerblueprints.command.api.ExecutionInput.requestId', index=0,
97 number=1, type=9, cpp_type=9, label=1,
98 has_default_value=False, default_value=_b("").decode('utf-8'),
99 message_type=None, enum_type=None, containing_type=None,
100 is_extension=False, extension_scope=None,
101 serialized_options=None, file=DESCRIPTOR),
102 _descriptor.FieldDescriptor(
103 name='correlationId', full_name='org.onap.ccsdk.cds.controllerblueprints.command.api.ExecutionInput.correlationId', index=1,
104 number=2, type=9, cpp_type=9, label=1,
105 has_default_value=False, default_value=_b("").decode('utf-8'),
106 message_type=None, enum_type=None, containing_type=None,
107 is_extension=False, extension_scope=None,
108 serialized_options=None, file=DESCRIPTOR),
109 _descriptor.FieldDescriptor(
110 name='identifiers', full_name='org.onap.ccsdk.cds.controllerblueprints.command.api.ExecutionInput.identifiers', index=2,
111 number=3, type=11, cpp_type=10, label=1,
112 has_default_value=False, default_value=None,
113 message_type=None, enum_type=None, containing_type=None,
114 is_extension=False, extension_scope=None,
115 serialized_options=None, file=DESCRIPTOR),
116 _descriptor.FieldDescriptor(
117 name='command', full_name='org.onap.ccsdk.cds.controllerblueprints.command.api.ExecutionInput.command', index=3,
118 number=4, type=9, cpp_type=9, label=1,
119 has_default_value=False, default_value=_b("").decode('utf-8'),
120 message_type=None, enum_type=None, containing_type=None,
121 is_extension=False, extension_scope=None,
122 serialized_options=None, file=DESCRIPTOR),
123 _descriptor.FieldDescriptor(
124 name='timeOut', full_name='org.onap.ccsdk.cds.controllerblueprints.command.api.ExecutionInput.timeOut', index=4,
125 number=5, type=5, cpp_type=1, label=1,
126 has_default_value=False, default_value=0,
127 message_type=None, enum_type=None, containing_type=None,
128 is_extension=False, extension_scope=None,
129 serialized_options=None, file=DESCRIPTOR),
130 _descriptor.FieldDescriptor(
131 name='properties', full_name='org.onap.ccsdk.cds.controllerblueprints.command.api.ExecutionInput.properties', index=5,
132 number=6, type=11, cpp_type=10, label=1,
133 has_default_value=False, default_value=None,
134 message_type=None, enum_type=None, containing_type=None,
135 is_extension=False, extension_scope=None,
136 serialized_options=None, file=DESCRIPTOR),
137 _descriptor.FieldDescriptor(
138 name='timestamp', full_name='org.onap.ccsdk.cds.controllerblueprints.command.api.ExecutionInput.timestamp', index=6,
139 number=7, type=11, cpp_type=10, label=1,
140 has_default_value=False, default_value=None,
141 message_type=None, enum_type=None, containing_type=None,
142 is_extension=False, extension_scope=None,
143 serialized_options=None, file=DESCRIPTOR),
150 serialized_options=None,
156 serialized_start=142,
161 _PREPAREENVINPUT = _descriptor.Descriptor(
162 name='PrepareEnvInput',
163 full_name='org.onap.ccsdk.cds.controllerblueprints.command.api.PrepareEnvInput',
166 containing_type=None,
168 _descriptor.FieldDescriptor(
169 name='identifiers', full_name='org.onap.ccsdk.cds.controllerblueprints.command.api.PrepareEnvInput.identifiers', index=0,
170 number=1, type=11, cpp_type=10, label=1,
171 has_default_value=False, default_value=None,
172 message_type=None, enum_type=None, containing_type=None,
173 is_extension=False, extension_scope=None,
174 serialized_options=None, file=DESCRIPTOR),
175 _descriptor.FieldDescriptor(
176 name='requestId', full_name='org.onap.ccsdk.cds.controllerblueprints.command.api.PrepareEnvInput.requestId', index=1,
177 number=2, type=9, cpp_type=9, label=1,
178 has_default_value=False, default_value=_b("").decode('utf-8'),
179 message_type=None, enum_type=None, containing_type=None,
180 is_extension=False, extension_scope=None,
181 serialized_options=None, file=DESCRIPTOR),
182 _descriptor.FieldDescriptor(
183 name='correlationId', full_name='org.onap.ccsdk.cds.controllerblueprints.command.api.PrepareEnvInput.correlationId', index=2,
184 number=3, type=9, cpp_type=9, label=1,
185 has_default_value=False, default_value=_b("").decode('utf-8'),
186 message_type=None, enum_type=None, containing_type=None,
187 is_extension=False, extension_scope=None,
188 serialized_options=None, file=DESCRIPTOR),
189 _descriptor.FieldDescriptor(
190 name='packages', full_name='org.onap.ccsdk.cds.controllerblueprints.command.api.PrepareEnvInput.packages', index=3,
191 number=4, type=11, cpp_type=10, label=3,
192 has_default_value=False, default_value=[],
193 message_type=None, enum_type=None, containing_type=None,
194 is_extension=False, extension_scope=None,
195 serialized_options=None, file=DESCRIPTOR),
196 _descriptor.FieldDescriptor(
197 name='timeOut', full_name='org.onap.ccsdk.cds.controllerblueprints.command.api.PrepareEnvInput.timeOut', index=4,
198 number=5, type=5, cpp_type=1, label=1,
199 has_default_value=False, default_value=0,
200 message_type=None, enum_type=None, containing_type=None,
201 is_extension=False, extension_scope=None,
202 serialized_options=None, file=DESCRIPTOR),
203 _descriptor.FieldDescriptor(
204 name='properties', full_name='org.onap.ccsdk.cds.controllerblueprints.command.api.PrepareEnvInput.properties', index=5,
205 number=6, type=11, cpp_type=10, label=1,
206 has_default_value=False, default_value=None,
207 message_type=None, enum_type=None, containing_type=None,
208 is_extension=False, extension_scope=None,
209 serialized_options=None, file=DESCRIPTOR),
210 _descriptor.FieldDescriptor(
211 name='timestamp', full_name='org.onap.ccsdk.cds.controllerblueprints.command.api.PrepareEnvInput.timestamp', index=6,
212 number=7, type=11, cpp_type=10, label=1,
213 has_default_value=False, default_value=None,
214 message_type=None, enum_type=None, containing_type=None,
215 is_extension=False, extension_scope=None,
216 serialized_options=None, file=DESCRIPTOR),
223 serialized_options=None,
229 serialized_start=416,
234 _IDENTIFIERS = _descriptor.Descriptor(
236 full_name='org.onap.ccsdk.cds.controllerblueprints.command.api.Identifiers',
239 containing_type=None,
241 _descriptor.FieldDescriptor(
242 name='blueprintName', full_name='org.onap.ccsdk.cds.controllerblueprints.command.api.Identifiers.blueprintName', index=0,
243 number=1, type=9, cpp_type=9, label=1,
244 has_default_value=False, default_value=_b("").decode('utf-8'),
245 message_type=None, enum_type=None, containing_type=None,
246 is_extension=False, extension_scope=None,
247 serialized_options=None, file=DESCRIPTOR),
248 _descriptor.FieldDescriptor(
249 name='blueprintVersion', full_name='org.onap.ccsdk.cds.controllerblueprints.command.api.Identifiers.blueprintVersion', index=1,
250 number=2, type=9, cpp_type=9, label=1,
251 has_default_value=False, default_value=_b("").decode('utf-8'),
252 message_type=None, enum_type=None, containing_type=None,
253 is_extension=False, extension_scope=None,
254 serialized_options=None, file=DESCRIPTOR),
261 serialized_options=None,
267 serialized_start=754,
272 _EXECUTIONOUTPUT = _descriptor.Descriptor(
273 name='ExecutionOutput',
274 full_name='org.onap.ccsdk.cds.controllerblueprints.command.api.ExecutionOutput',
277 containing_type=None,
279 _descriptor.FieldDescriptor(
280 name='requestId', full_name='org.onap.ccsdk.cds.controllerblueprints.command.api.ExecutionOutput.requestId', index=0,
281 number=1, type=9, cpp_type=9, label=1,
282 has_default_value=False, default_value=_b("").decode('utf-8'),
283 message_type=None, enum_type=None, containing_type=None,
284 is_extension=False, extension_scope=None,
285 serialized_options=None, file=DESCRIPTOR),
286 _descriptor.FieldDescriptor(
287 name='response', full_name='org.onap.ccsdk.cds.controllerblueprints.command.api.ExecutionOutput.response', index=1,
288 number=2, type=9, cpp_type=9, label=3,
289 has_default_value=False, default_value=[],
290 message_type=None, enum_type=None, containing_type=None,
291 is_extension=False, extension_scope=None,
292 serialized_options=None, file=DESCRIPTOR),
293 _descriptor.FieldDescriptor(
294 name='status', full_name='org.onap.ccsdk.cds.controllerblueprints.command.api.ExecutionOutput.status', index=2,
295 number=3, type=14, cpp_type=8, label=1,
296 has_default_value=False, default_value=0,
297 message_type=None, enum_type=None, containing_type=None,
298 is_extension=False, extension_scope=None,
299 serialized_options=None, file=DESCRIPTOR),
300 _descriptor.FieldDescriptor(
301 name='timestamp', full_name='org.onap.ccsdk.cds.controllerblueprints.command.api.ExecutionOutput.timestamp', index=3,
302 number=4, type=11, cpp_type=10, label=1,
303 has_default_value=False, default_value=None,
304 message_type=None, enum_type=None, containing_type=None,
305 is_extension=False, extension_scope=None,
306 serialized_options=None, file=DESCRIPTOR),
307 _descriptor.FieldDescriptor(
308 name='payload', full_name='org.onap.ccsdk.cds.controllerblueprints.command.api.ExecutionOutput.payload', index=4,
309 number=5, type=9, cpp_type=9, label=1,
310 has_default_value=False, default_value=_b("").decode('utf-8'),
311 message_type=None, enum_type=None, containing_type=None,
312 is_extension=False, extension_scope=None,
313 serialized_options=None, file=DESCRIPTOR),
320 serialized_options=None,
326 serialized_start=819,
331 _PACKAGES = _descriptor.Descriptor(
333 full_name='org.onap.ccsdk.cds.controllerblueprints.command.api.Packages',
336 containing_type=None,
338 _descriptor.FieldDescriptor(
339 name='type', full_name='org.onap.ccsdk.cds.controllerblueprints.command.api.Packages.type', index=0,
340 number=1, type=14, cpp_type=8, label=1,
341 has_default_value=False, default_value=0,
342 message_type=None, enum_type=None, containing_type=None,
343 is_extension=False, extension_scope=None,
344 serialized_options=None, file=DESCRIPTOR),
345 _descriptor.FieldDescriptor(
346 name='package', full_name='org.onap.ccsdk.cds.controllerblueprints.command.api.Packages.package', index=1,
347 number=2, type=9, cpp_type=9, label=3,
348 has_default_value=False, default_value=[],
349 message_type=None, enum_type=None, containing_type=None,
350 is_extension=False, extension_scope=None,
351 serialized_options=None, file=DESCRIPTOR),
358 serialized_options=None,
364 serialized_start=1024,
368 _EXECUTIONINPUT.fields_by_name['identifiers'].message_type = _IDENTIFIERS
369 _EXECUTIONINPUT.fields_by_name['properties'].message_type = google_dot_protobuf_dot_struct__pb2._STRUCT
370 _EXECUTIONINPUT.fields_by_name['timestamp'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP
371 _PREPAREENVINPUT.fields_by_name['identifiers'].message_type = _IDENTIFIERS
372 _PREPAREENVINPUT.fields_by_name['packages'].message_type = _PACKAGES
373 _PREPAREENVINPUT.fields_by_name['properties'].message_type = google_dot_protobuf_dot_struct__pb2._STRUCT
374 _PREPAREENVINPUT.fields_by_name['timestamp'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP
375 _EXECUTIONOUTPUT.fields_by_name['status'].enum_type = _RESPONSESTATUS
376 _EXECUTIONOUTPUT.fields_by_name['timestamp'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP
377 _PACKAGES.fields_by_name['type'].enum_type = _PACKAGETYPE
378 DESCRIPTOR.message_types_by_name['ExecutionInput'] = _EXECUTIONINPUT
379 DESCRIPTOR.message_types_by_name['PrepareEnvInput'] = _PREPAREENVINPUT
380 DESCRIPTOR.message_types_by_name['Identifiers'] = _IDENTIFIERS
381 DESCRIPTOR.message_types_by_name['ExecutionOutput'] = _EXECUTIONOUTPUT
382 DESCRIPTOR.message_types_by_name['Packages'] = _PACKAGES
383 DESCRIPTOR.enum_types_by_name['ResponseStatus'] = _RESPONSESTATUS
384 DESCRIPTOR.enum_types_by_name['PackageType'] = _PACKAGETYPE
385 _sym_db.RegisterFileDescriptor(DESCRIPTOR)
387 ExecutionInput = _reflection.GeneratedProtocolMessageType('ExecutionInput', (_message.Message,), {
388 'DESCRIPTOR' : _EXECUTIONINPUT,
389 '__module__' : 'CommandExecutor_pb2'
390 # @@protoc_insertion_point(class_scope:org.onap.ccsdk.cds.controllerblueprints.command.api.ExecutionInput)
392 _sym_db.RegisterMessage(ExecutionInput)
394 PrepareEnvInput = _reflection.GeneratedProtocolMessageType('PrepareEnvInput', (_message.Message,), {
395 'DESCRIPTOR' : _PREPAREENVINPUT,
396 '__module__' : 'CommandExecutor_pb2'
397 # @@protoc_insertion_point(class_scope:org.onap.ccsdk.cds.controllerblueprints.command.api.PrepareEnvInput)
399 _sym_db.RegisterMessage(PrepareEnvInput)
401 Identifiers = _reflection.GeneratedProtocolMessageType('Identifiers', (_message.Message,), {
402 'DESCRIPTOR' : _IDENTIFIERS,
403 '__module__' : 'CommandExecutor_pb2'
404 # @@protoc_insertion_point(class_scope:org.onap.ccsdk.cds.controllerblueprints.command.api.Identifiers)
406 _sym_db.RegisterMessage(Identifiers)
408 ExecutionOutput = _reflection.GeneratedProtocolMessageType('ExecutionOutput', (_message.Message,), {
409 'DESCRIPTOR' : _EXECUTIONOUTPUT,
410 '__module__' : 'CommandExecutor_pb2'
411 # @@protoc_insertion_point(class_scope:org.onap.ccsdk.cds.controllerblueprints.command.api.ExecutionOutput)
413 _sym_db.RegisterMessage(ExecutionOutput)
415 Packages = _reflection.GeneratedProtocolMessageType('Packages', (_message.Message,), {
416 'DESCRIPTOR' : _PACKAGES,
417 '__module__' : 'CommandExecutor_pb2'
418 # @@protoc_insertion_point(class_scope:org.onap.ccsdk.cds.controllerblueprints.command.api.Packages)
420 _sym_db.RegisterMessage(Packages)
423 DESCRIPTOR._options = None
425 _COMMANDEXECUTORSERVICE = _descriptor.ServiceDescriptor(
426 name='CommandExecutorService',
427 full_name='org.onap.ccsdk.cds.controllerblueprints.command.api.CommandExecutorService',
430 serialized_options=None,
431 serialized_start=1237,
434 _descriptor.MethodDescriptor(
436 full_name='org.onap.ccsdk.cds.controllerblueprints.command.api.CommandExecutorService.prepareEnv',
438 containing_service=None,
439 input_type=_PREPAREENVINPUT,
440 output_type=_EXECUTIONOUTPUT,
441 serialized_options=None,
443 _descriptor.MethodDescriptor(
444 name='executeCommand',
445 full_name='org.onap.ccsdk.cds.controllerblueprints.command.api.CommandExecutorService.executeCommand',
447 containing_service=None,
448 input_type=_EXECUTIONINPUT,
449 output_type=_EXECUTIONOUTPUT,
450 serialized_options=None,
453 _sym_db.RegisterServiceDescriptor(_COMMANDEXECUTORSERVICE)
455 DESCRIPTOR.services_by_name['CommandExecutorService'] = _COMMANDEXECUTORSERVICE
457 # @@protoc_insertion_point(module_scope)