1 # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
2 """Client and server classes corresponding to protobuf-defined services."""
5 import proto.BluePrintProcessing_pb2 as BluePrintProcessing__pb2
8 class BluePrintProcessingServiceStub(object):
9 """Missing associated documentation comment in .proto file."""
11 def __init__(self, channel):
15 channel: A grpc.Channel.
17 self.process = channel.stream_stream(
18 '/org.onap.ccsdk.cds.controllerblueprints.processing.api.BluePrintProcessingService/process',
19 request_serializer=BluePrintProcessing__pb2.ExecutionServiceInput.SerializeToString,
20 response_deserializer=BluePrintProcessing__pb2.ExecutionServiceOutput.FromString,
24 class BluePrintProcessingServiceServicer(object):
25 """Missing associated documentation comment in .proto file."""
27 def process(self, request_iterator, context):
28 """Missing associated documentation comment in .proto file."""
29 context.set_code(grpc.StatusCode.UNIMPLEMENTED)
30 context.set_details('Method not implemented!')
31 raise NotImplementedError('Method not implemented!')
34 def add_BluePrintProcessingServiceServicer_to_server(servicer, server):
35 rpc_method_handlers = {
36 'process': grpc.stream_stream_rpc_method_handler(
38 request_deserializer=BluePrintProcessing__pb2.ExecutionServiceInput.FromString,
39 response_serializer=BluePrintProcessing__pb2.ExecutionServiceOutput.SerializeToString,
42 generic_handler = grpc.method_handlers_generic_handler(
43 'org.onap.ccsdk.cds.controllerblueprints.processing.api.BluePrintProcessingService', rpc_method_handlers)
44 server.add_generic_rpc_handlers((generic_handler,))
47 # This class is part of an EXPERIMENTAL API.
48 class BluePrintProcessingService(object):
49 """Missing associated documentation comment in .proto file."""
52 def process(request_iterator,
55 channel_credentials=None,
56 call_credentials=None,
62 return grpc.experimental.stream_stream(request_iterator, target, '/org.onap.ccsdk.cds.controllerblueprints.processing.api.BluePrintProcessingService/process',
63 BluePrintProcessing__pb2.ExecutionServiceInput.SerializeToString,
64 BluePrintProcessing__pb2.ExecutionServiceOutput.FromString,
65 options, channel_credentials,
66 insecure, call_credentials, compression, wait_for_ready, timeout, metadata)