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\"\xba\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\"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**\n\x0bPackageType\x12\x07\n\x03pip\x10\x00\x12\x12\n\x0e\x61nsible_galaxy\x10\x01\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=1116,
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,
69 serialized_options=None,
70 serialized_start=1160,
73 _sym_db.RegisterEnumDescriptor(_PACKAGETYPE)
75 PackageType = enum_type_wrapper.EnumTypeWrapper(_PACKAGETYPE)
83 _EXECUTIONINPUT = _descriptor.Descriptor(
84 name='ExecutionInput',
85 full_name='org.onap.ccsdk.cds.controllerblueprints.command.api.ExecutionInput',
90 _descriptor.FieldDescriptor(
91 name='requestId', full_name='org.onap.ccsdk.cds.controllerblueprints.command.api.ExecutionInput.requestId', index=0,
92 number=1, type=9, cpp_type=9, label=1,
93 has_default_value=False, default_value=_b("").decode('utf-8'),
94 message_type=None, enum_type=None, containing_type=None,
95 is_extension=False, extension_scope=None,
96 serialized_options=None, file=DESCRIPTOR),
97 _descriptor.FieldDescriptor(
98 name='correlationId', full_name='org.onap.ccsdk.cds.controllerblueprints.command.api.ExecutionInput.correlationId', index=1,
99 number=2, type=9, cpp_type=9, label=1,
100 has_default_value=False, default_value=_b("").decode('utf-8'),
101 message_type=None, enum_type=None, containing_type=None,
102 is_extension=False, extension_scope=None,
103 serialized_options=None, file=DESCRIPTOR),
104 _descriptor.FieldDescriptor(
105 name='identifiers', full_name='org.onap.ccsdk.cds.controllerblueprints.command.api.ExecutionInput.identifiers', index=2,
106 number=3, type=11, cpp_type=10, label=1,
107 has_default_value=False, default_value=None,
108 message_type=None, enum_type=None, containing_type=None,
109 is_extension=False, extension_scope=None,
110 serialized_options=None, file=DESCRIPTOR),
111 _descriptor.FieldDescriptor(
112 name='command', full_name='org.onap.ccsdk.cds.controllerblueprints.command.api.ExecutionInput.command', index=3,
113 number=4, type=9, cpp_type=9, label=1,
114 has_default_value=False, default_value=_b("").decode('utf-8'),
115 message_type=None, enum_type=None, containing_type=None,
116 is_extension=False, extension_scope=None,
117 serialized_options=None, file=DESCRIPTOR),
118 _descriptor.FieldDescriptor(
119 name='timeOut', full_name='org.onap.ccsdk.cds.controllerblueprints.command.api.ExecutionInput.timeOut', index=4,
120 number=5, type=5, cpp_type=1, label=1,
121 has_default_value=False, default_value=0,
122 message_type=None, enum_type=None, containing_type=None,
123 is_extension=False, extension_scope=None,
124 serialized_options=None, file=DESCRIPTOR),
125 _descriptor.FieldDescriptor(
126 name='properties', full_name='org.onap.ccsdk.cds.controllerblueprints.command.api.ExecutionInput.properties', index=5,
127 number=6, type=11, cpp_type=10, label=1,
128 has_default_value=False, default_value=None,
129 message_type=None, enum_type=None, containing_type=None,
130 is_extension=False, extension_scope=None,
131 serialized_options=None, file=DESCRIPTOR),
132 _descriptor.FieldDescriptor(
133 name='timestamp', full_name='org.onap.ccsdk.cds.controllerblueprints.command.api.ExecutionInput.timestamp', index=6,
134 number=7, type=11, cpp_type=10, label=1,
135 has_default_value=False, default_value=None,
136 message_type=None, enum_type=None, containing_type=None,
137 is_extension=False, extension_scope=None,
138 serialized_options=None, file=DESCRIPTOR),
145 serialized_options=None,
151 serialized_start=142,
156 _PREPAREENVINPUT = _descriptor.Descriptor(
157 name='PrepareEnvInput',
158 full_name='org.onap.ccsdk.cds.controllerblueprints.command.api.PrepareEnvInput',
161 containing_type=None,
163 _descriptor.FieldDescriptor(
164 name='identifiers', full_name='org.onap.ccsdk.cds.controllerblueprints.command.api.PrepareEnvInput.identifiers', index=0,
165 number=1, type=11, cpp_type=10, label=1,
166 has_default_value=False, default_value=None,
167 message_type=None, enum_type=None, containing_type=None,
168 is_extension=False, extension_scope=None,
169 serialized_options=None, file=DESCRIPTOR),
170 _descriptor.FieldDescriptor(
171 name='requestId', full_name='org.onap.ccsdk.cds.controllerblueprints.command.api.PrepareEnvInput.requestId', index=1,
172 number=2, type=9, cpp_type=9, label=1,
173 has_default_value=False, default_value=_b("").decode('utf-8'),
174 message_type=None, enum_type=None, containing_type=None,
175 is_extension=False, extension_scope=None,
176 serialized_options=None, file=DESCRIPTOR),
177 _descriptor.FieldDescriptor(
178 name='correlationId', full_name='org.onap.ccsdk.cds.controllerblueprints.command.api.PrepareEnvInput.correlationId', index=2,
179 number=3, type=9, cpp_type=9, label=1,
180 has_default_value=False, default_value=_b("").decode('utf-8'),
181 message_type=None, enum_type=None, containing_type=None,
182 is_extension=False, extension_scope=None,
183 serialized_options=None, file=DESCRIPTOR),
184 _descriptor.FieldDescriptor(
185 name='packages', full_name='org.onap.ccsdk.cds.controllerblueprints.command.api.PrepareEnvInput.packages', index=3,
186 number=4, type=11, cpp_type=10, label=3,
187 has_default_value=False, default_value=[],
188 message_type=None, enum_type=None, containing_type=None,
189 is_extension=False, extension_scope=None,
190 serialized_options=None, file=DESCRIPTOR),
191 _descriptor.FieldDescriptor(
192 name='timeOut', full_name='org.onap.ccsdk.cds.controllerblueprints.command.api.PrepareEnvInput.timeOut', index=4,
193 number=5, type=5, cpp_type=1, label=1,
194 has_default_value=False, default_value=0,
195 message_type=None, enum_type=None, containing_type=None,
196 is_extension=False, extension_scope=None,
197 serialized_options=None, file=DESCRIPTOR),
198 _descriptor.FieldDescriptor(
199 name='properties', full_name='org.onap.ccsdk.cds.controllerblueprints.command.api.PrepareEnvInput.properties', index=5,
200 number=6, type=11, cpp_type=10, label=1,
201 has_default_value=False, default_value=None,
202 message_type=None, enum_type=None, containing_type=None,
203 is_extension=False, extension_scope=None,
204 serialized_options=None, file=DESCRIPTOR),
205 _descriptor.FieldDescriptor(
206 name='timestamp', full_name='org.onap.ccsdk.cds.controllerblueprints.command.api.PrepareEnvInput.timestamp', index=6,
207 number=7, type=11, cpp_type=10, label=1,
208 has_default_value=False, default_value=None,
209 message_type=None, enum_type=None, containing_type=None,
210 is_extension=False, extension_scope=None,
211 serialized_options=None, file=DESCRIPTOR),
218 serialized_options=None,
224 serialized_start=416,
229 _IDENTIFIERS = _descriptor.Descriptor(
231 full_name='org.onap.ccsdk.cds.controllerblueprints.command.api.Identifiers',
234 containing_type=None,
236 _descriptor.FieldDescriptor(
237 name='blueprintName', full_name='org.onap.ccsdk.cds.controllerblueprints.command.api.Identifiers.blueprintName', index=0,
238 number=1, type=9, cpp_type=9, label=1,
239 has_default_value=False, default_value=_b("").decode('utf-8'),
240 message_type=None, enum_type=None, containing_type=None,
241 is_extension=False, extension_scope=None,
242 serialized_options=None, file=DESCRIPTOR),
243 _descriptor.FieldDescriptor(
244 name='blueprintVersion', full_name='org.onap.ccsdk.cds.controllerblueprints.command.api.Identifiers.blueprintVersion', index=1,
245 number=2, type=9, cpp_type=9, label=1,
246 has_default_value=False, default_value=_b("").decode('utf-8'),
247 message_type=None, enum_type=None, containing_type=None,
248 is_extension=False, extension_scope=None,
249 serialized_options=None, file=DESCRIPTOR),
256 serialized_options=None,
262 serialized_start=754,
267 _EXECUTIONOUTPUT = _descriptor.Descriptor(
268 name='ExecutionOutput',
269 full_name='org.onap.ccsdk.cds.controllerblueprints.command.api.ExecutionOutput',
272 containing_type=None,
274 _descriptor.FieldDescriptor(
275 name='requestId', full_name='org.onap.ccsdk.cds.controllerblueprints.command.api.ExecutionOutput.requestId', index=0,
276 number=1, type=9, cpp_type=9, label=1,
277 has_default_value=False, default_value=_b("").decode('utf-8'),
278 message_type=None, enum_type=None, containing_type=None,
279 is_extension=False, extension_scope=None,
280 serialized_options=None, file=DESCRIPTOR),
281 _descriptor.FieldDescriptor(
282 name='response', full_name='org.onap.ccsdk.cds.controllerblueprints.command.api.ExecutionOutput.response', index=1,
283 number=2, type=9, cpp_type=9, label=3,
284 has_default_value=False, default_value=[],
285 message_type=None, enum_type=None, containing_type=None,
286 is_extension=False, extension_scope=None,
287 serialized_options=None, file=DESCRIPTOR),
288 _descriptor.FieldDescriptor(
289 name='status', full_name='org.onap.ccsdk.cds.controllerblueprints.command.api.ExecutionOutput.status', index=2,
290 number=3, type=14, cpp_type=8, label=1,
291 has_default_value=False, default_value=0,
292 message_type=None, enum_type=None, containing_type=None,
293 is_extension=False, extension_scope=None,
294 serialized_options=None, file=DESCRIPTOR),
295 _descriptor.FieldDescriptor(
296 name='timestamp', full_name='org.onap.ccsdk.cds.controllerblueprints.command.api.ExecutionOutput.timestamp', index=3,
297 number=4, type=11, cpp_type=10, label=1,
298 has_default_value=False, default_value=None,
299 message_type=None, enum_type=None, containing_type=None,
300 is_extension=False, extension_scope=None,
301 serialized_options=None, file=DESCRIPTOR),
308 serialized_options=None,
314 serialized_start=819,
319 _PACKAGES = _descriptor.Descriptor(
321 full_name='org.onap.ccsdk.cds.controllerblueprints.command.api.Packages',
324 containing_type=None,
326 _descriptor.FieldDescriptor(
327 name='type', full_name='org.onap.ccsdk.cds.controllerblueprints.command.api.Packages.type', index=0,
328 number=1, type=14, cpp_type=8, label=1,
329 has_default_value=False, default_value=0,
330 message_type=None, enum_type=None, containing_type=None,
331 is_extension=False, extension_scope=None,
332 serialized_options=None, file=DESCRIPTOR),
333 _descriptor.FieldDescriptor(
334 name='package', full_name='org.onap.ccsdk.cds.controllerblueprints.command.api.Packages.package', index=1,
335 number=2, type=9, cpp_type=9, label=3,
336 has_default_value=False, default_value=[],
337 message_type=None, enum_type=None, containing_type=None,
338 is_extension=False, extension_scope=None,
339 serialized_options=None, file=DESCRIPTOR),
346 serialized_options=None,
352 serialized_start=1007,
356 _EXECUTIONINPUT.fields_by_name['identifiers'].message_type = _IDENTIFIERS
357 _EXECUTIONINPUT.fields_by_name['properties'].message_type = google_dot_protobuf_dot_struct__pb2._STRUCT
358 _EXECUTIONINPUT.fields_by_name['timestamp'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP
359 _PREPAREENVINPUT.fields_by_name['identifiers'].message_type = _IDENTIFIERS
360 _PREPAREENVINPUT.fields_by_name['packages'].message_type = _PACKAGES
361 _PREPAREENVINPUT.fields_by_name['properties'].message_type = google_dot_protobuf_dot_struct__pb2._STRUCT
362 _PREPAREENVINPUT.fields_by_name['timestamp'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP
363 _EXECUTIONOUTPUT.fields_by_name['status'].enum_type = _RESPONSESTATUS
364 _EXECUTIONOUTPUT.fields_by_name['timestamp'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP
365 _PACKAGES.fields_by_name['type'].enum_type = _PACKAGETYPE
366 DESCRIPTOR.message_types_by_name['ExecutionInput'] = _EXECUTIONINPUT
367 DESCRIPTOR.message_types_by_name['PrepareEnvInput'] = _PREPAREENVINPUT
368 DESCRIPTOR.message_types_by_name['Identifiers'] = _IDENTIFIERS
369 DESCRIPTOR.message_types_by_name['ExecutionOutput'] = _EXECUTIONOUTPUT
370 DESCRIPTOR.message_types_by_name['Packages'] = _PACKAGES
371 DESCRIPTOR.enum_types_by_name['ResponseStatus'] = _RESPONSESTATUS
372 DESCRIPTOR.enum_types_by_name['PackageType'] = _PACKAGETYPE
373 _sym_db.RegisterFileDescriptor(DESCRIPTOR)
375 ExecutionInput = _reflection.GeneratedProtocolMessageType('ExecutionInput', (_message.Message,), dict(
376 DESCRIPTOR = _EXECUTIONINPUT,
377 __module__ = 'CommandExecutor_pb2'
378 # @@protoc_insertion_point(class_scope:org.onap.ccsdk.cds.controllerblueprints.command.api.ExecutionInput)
380 _sym_db.RegisterMessage(ExecutionInput)
382 PrepareEnvInput = _reflection.GeneratedProtocolMessageType('PrepareEnvInput', (_message.Message,), dict(
383 DESCRIPTOR = _PREPAREENVINPUT,
384 __module__ = 'CommandExecutor_pb2'
385 # @@protoc_insertion_point(class_scope:org.onap.ccsdk.cds.controllerblueprints.command.api.PrepareEnvInput)
387 _sym_db.RegisterMessage(PrepareEnvInput)
389 Identifiers = _reflection.GeneratedProtocolMessageType('Identifiers', (_message.Message,), dict(
390 DESCRIPTOR = _IDENTIFIERS,
391 __module__ = 'CommandExecutor_pb2'
392 # @@protoc_insertion_point(class_scope:org.onap.ccsdk.cds.controllerblueprints.command.api.Identifiers)
394 _sym_db.RegisterMessage(Identifiers)
396 ExecutionOutput = _reflection.GeneratedProtocolMessageType('ExecutionOutput', (_message.Message,), dict(
397 DESCRIPTOR = _EXECUTIONOUTPUT,
398 __module__ = 'CommandExecutor_pb2'
399 # @@protoc_insertion_point(class_scope:org.onap.ccsdk.cds.controllerblueprints.command.api.ExecutionOutput)
401 _sym_db.RegisterMessage(ExecutionOutput)
403 Packages = _reflection.GeneratedProtocolMessageType('Packages', (_message.Message,), dict(
404 DESCRIPTOR = _PACKAGES,
405 __module__ = 'CommandExecutor_pb2'
406 # @@protoc_insertion_point(class_scope:org.onap.ccsdk.cds.controllerblueprints.command.api.Packages)
408 _sym_db.RegisterMessage(Packages)
411 DESCRIPTOR._options = None
413 _COMMANDEXECUTORSERVICE = _descriptor.ServiceDescriptor(
414 name='CommandExecutorService',
415 full_name='org.onap.ccsdk.cds.controllerblueprints.command.api.CommandExecutorService',
418 serialized_options=None,
419 serialized_start=1205,
422 _descriptor.MethodDescriptor(
424 full_name='org.onap.ccsdk.cds.controllerblueprints.command.api.CommandExecutorService.prepareEnv',
426 containing_service=None,
427 input_type=_PREPAREENVINPUT,
428 output_type=_EXECUTIONOUTPUT,
429 serialized_options=None,
431 _descriptor.MethodDescriptor(
432 name='executeCommand',
433 full_name='org.onap.ccsdk.cds.controllerblueprints.command.api.CommandExecutorService.executeCommand',
435 containing_service=None,
436 input_type=_EXECUTIONINPUT,
437 output_type=_EXECUTIONOUTPUT,
438 serialized_options=None,
441 _sym_db.RegisterServiceDescriptor(_COMMANDEXECUTORSERVICE)
443 DESCRIPTOR.services_by_name['CommandExecutorService'] = _COMMANDEXECUTORSERVICE
445 # @@protoc_insertion_point(module_scope)