# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc import jfjoch_pb2 as jfjoch__pb2 class gRPC_JFJochBrokerStub(object): """Missing associated documentation comment in .proto file.""" def __init__(self, channel): """Constructor. Args: channel: A grpc.Channel. """ self.Start = channel.unary_unary( '/JFJochProtoBuf.gRPC_JFJochBroker/Start', request_serializer=jfjoch__pb2.DatasetSettings.SerializeToString, response_deserializer=jfjoch__pb2.Empty.FromString, ) self.Stop = channel.unary_unary( '/JFJochProtoBuf.gRPC_JFJochBroker/Stop', request_serializer=jfjoch__pb2.Empty.SerializeToString, response_deserializer=jfjoch__pb2.Empty.FromString, ) self.Pedestal = channel.unary_unary( '/JFJochProtoBuf.gRPC_JFJochBroker/Pedestal', request_serializer=jfjoch__pb2.Empty.SerializeToString, response_deserializer=jfjoch__pb2.Empty.FromString, ) self.Initialize = channel.unary_unary( '/JFJochProtoBuf.gRPC_JFJochBroker/Initialize', request_serializer=jfjoch__pb2.Empty.SerializeToString, response_deserializer=jfjoch__pb2.Empty.FromString, ) self.Cancel = channel.unary_unary( '/JFJochProtoBuf.gRPC_JFJochBroker/Cancel', request_serializer=jfjoch__pb2.Empty.SerializeToString, response_deserializer=jfjoch__pb2.Empty.FromString, ) self.Deactivate = channel.unary_unary( '/JFJochProtoBuf.gRPC_JFJochBroker/Deactivate', request_serializer=jfjoch__pb2.Empty.SerializeToString, response_deserializer=jfjoch__pb2.Empty.FromString, ) self.Trigger = channel.unary_unary( '/JFJochProtoBuf.gRPC_JFJochBroker/Trigger', request_serializer=jfjoch__pb2.Empty.SerializeToString, response_deserializer=jfjoch__pb2.Empty.FromString, ) self.GetStatus = channel.unary_unary( '/JFJochProtoBuf.gRPC_JFJochBroker/GetStatus', request_serializer=jfjoch__pb2.Empty.SerializeToString, response_deserializer=jfjoch__pb2.BrokerStatus.FromString, ) self.GetCalibrationStatistics = channel.unary_unary( '/JFJochProtoBuf.gRPC_JFJochBroker/GetCalibrationStatistics', request_serializer=jfjoch__pb2.Empty.SerializeToString, response_deserializer=jfjoch__pb2.JFCalibrationStatistics.FromString, ) self.GetDetectorSettings = channel.unary_unary( '/JFJochProtoBuf.gRPC_JFJochBroker/GetDetectorSettings', request_serializer=jfjoch__pb2.Empty.SerializeToString, response_deserializer=jfjoch__pb2.DetectorSettings.FromString, ) self.PutDetectorSettings = channel.unary_unary( '/JFJochProtoBuf.gRPC_JFJochBroker/PutDetectorSettings', request_serializer=jfjoch__pb2.DetectorSettings.SerializeToString, response_deserializer=jfjoch__pb2.Empty.FromString, ) self.GetMeasurementStatistics = channel.unary_unary( '/JFJochProtoBuf.gRPC_JFJochBroker/GetMeasurementStatistics', request_serializer=jfjoch__pb2.Empty.SerializeToString, response_deserializer=jfjoch__pb2.MeasurementStatistics.FromString, ) self.GetDataProcessingSettings = channel.unary_unary( '/JFJochProtoBuf.gRPC_JFJochBroker/GetDataProcessingSettings', request_serializer=jfjoch__pb2.Empty.SerializeToString, response_deserializer=jfjoch__pb2.DataProcessingSettings.FromString, ) self.PutDataProcessingSettings = channel.unary_unary( '/JFJochProtoBuf.gRPC_JFJochBroker/PutDataProcessingSettings', request_serializer=jfjoch__pb2.DataProcessingSettings.SerializeToString, response_deserializer=jfjoch__pb2.Empty.FromString, ) self.GetPlots = channel.unary_unary( '/JFJochProtoBuf.gRPC_JFJochBroker/GetPlots', request_serializer=jfjoch__pb2.PlotRequest.SerializeToString, response_deserializer=jfjoch__pb2.Plot.FromString, ) self.GetRadialIntegrationProfiles = channel.unary_unary( '/JFJochProtoBuf.gRPC_JFJochBroker/GetRadialIntegrationProfiles', request_serializer=jfjoch__pb2.Empty.SerializeToString, response_deserializer=jfjoch__pb2.RadialIntegrationProfiles.FromString, ) self.GetDetectorList = channel.unary_unary( '/JFJochProtoBuf.gRPC_JFJochBroker/GetDetectorList', request_serializer=jfjoch__pb2.Empty.SerializeToString, response_deserializer=jfjoch__pb2.DetectorList.FromString, ) self.SelectDetector = channel.unary_unary( '/JFJochProtoBuf.gRPC_JFJochBroker/SelectDetector', request_serializer=jfjoch__pb2.DetectorSelection.SerializeToString, response_deserializer=jfjoch__pb2.Empty.FromString, ) class gRPC_JFJochBrokerServicer(object): """Missing associated documentation comment in .proto file.""" def Start(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') def Stop(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') def Pedestal(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') def Initialize(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') def Cancel(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') def Deactivate(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') def Trigger(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') def GetStatus(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') def GetCalibrationStatistics(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') def GetDetectorSettings(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') def PutDetectorSettings(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') def GetMeasurementStatistics(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') def GetDataProcessingSettings(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') def PutDataProcessingSettings(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') def GetPlots(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') def GetRadialIntegrationProfiles(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') def GetDetectorList(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') def SelectDetector(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') def add_gRPC_JFJochBrokerServicer_to_server(servicer, server): rpc_method_handlers = { 'Start': grpc.unary_unary_rpc_method_handler( servicer.Start, request_deserializer=jfjoch__pb2.DatasetSettings.FromString, response_serializer=jfjoch__pb2.Empty.SerializeToString, ), 'Stop': grpc.unary_unary_rpc_method_handler( servicer.Stop, request_deserializer=jfjoch__pb2.Empty.FromString, response_serializer=jfjoch__pb2.Empty.SerializeToString, ), 'Pedestal': grpc.unary_unary_rpc_method_handler( servicer.Pedestal, request_deserializer=jfjoch__pb2.Empty.FromString, response_serializer=jfjoch__pb2.Empty.SerializeToString, ), 'Initialize': grpc.unary_unary_rpc_method_handler( servicer.Initialize, request_deserializer=jfjoch__pb2.Empty.FromString, response_serializer=jfjoch__pb2.Empty.SerializeToString, ), 'Cancel': grpc.unary_unary_rpc_method_handler( servicer.Cancel, request_deserializer=jfjoch__pb2.Empty.FromString, response_serializer=jfjoch__pb2.Empty.SerializeToString, ), 'Deactivate': grpc.unary_unary_rpc_method_handler( servicer.Deactivate, request_deserializer=jfjoch__pb2.Empty.FromString, response_serializer=jfjoch__pb2.Empty.SerializeToString, ), 'Trigger': grpc.unary_unary_rpc_method_handler( servicer.Trigger, request_deserializer=jfjoch__pb2.Empty.FromString, response_serializer=jfjoch__pb2.Empty.SerializeToString, ), 'GetStatus': grpc.unary_unary_rpc_method_handler( servicer.GetStatus, request_deserializer=jfjoch__pb2.Empty.FromString, response_serializer=jfjoch__pb2.BrokerStatus.SerializeToString, ), 'GetCalibrationStatistics': grpc.unary_unary_rpc_method_handler( servicer.GetCalibrationStatistics, request_deserializer=jfjoch__pb2.Empty.FromString, response_serializer=jfjoch__pb2.JFCalibrationStatistics.SerializeToString, ), 'GetDetectorSettings': grpc.unary_unary_rpc_method_handler( servicer.GetDetectorSettings, request_deserializer=jfjoch__pb2.Empty.FromString, response_serializer=jfjoch__pb2.DetectorSettings.SerializeToString, ), 'PutDetectorSettings': grpc.unary_unary_rpc_method_handler( servicer.PutDetectorSettings, request_deserializer=jfjoch__pb2.DetectorSettings.FromString, response_serializer=jfjoch__pb2.Empty.SerializeToString, ), 'GetMeasurementStatistics': grpc.unary_unary_rpc_method_handler( servicer.GetMeasurementStatistics, request_deserializer=jfjoch__pb2.Empty.FromString, response_serializer=jfjoch__pb2.MeasurementStatistics.SerializeToString, ), 'GetDataProcessingSettings': grpc.unary_unary_rpc_method_handler( servicer.GetDataProcessingSettings, request_deserializer=jfjoch__pb2.Empty.FromString, response_serializer=jfjoch__pb2.DataProcessingSettings.SerializeToString, ), 'PutDataProcessingSettings': grpc.unary_unary_rpc_method_handler( servicer.PutDataProcessingSettings, request_deserializer=jfjoch__pb2.DataProcessingSettings.FromString, response_serializer=jfjoch__pb2.Empty.SerializeToString, ), 'GetPlots': grpc.unary_unary_rpc_method_handler( servicer.GetPlots, request_deserializer=jfjoch__pb2.PlotRequest.FromString, response_serializer=jfjoch__pb2.Plot.SerializeToString, ), 'GetRadialIntegrationProfiles': grpc.unary_unary_rpc_method_handler( servicer.GetRadialIntegrationProfiles, request_deserializer=jfjoch__pb2.Empty.FromString, response_serializer=jfjoch__pb2.RadialIntegrationProfiles.SerializeToString, ), 'GetDetectorList': grpc.unary_unary_rpc_method_handler( servicer.GetDetectorList, request_deserializer=jfjoch__pb2.Empty.FromString, response_serializer=jfjoch__pb2.DetectorList.SerializeToString, ), 'SelectDetector': grpc.unary_unary_rpc_method_handler( servicer.SelectDetector, request_deserializer=jfjoch__pb2.DetectorSelection.FromString, response_serializer=jfjoch__pb2.Empty.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( 'JFJochProtoBuf.gRPC_JFJochBroker', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) # This class is part of an EXPERIMENTAL API. class gRPC_JFJochBroker(object): """Missing associated documentation comment in .proto file.""" @staticmethod def Start(request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None): return grpc.experimental.unary_unary(request, target, '/JFJochProtoBuf.gRPC_JFJochBroker/Start', jfjoch__pb2.DatasetSettings.SerializeToString, jfjoch__pb2.Empty.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Stop(request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None): return grpc.experimental.unary_unary(request, target, '/JFJochProtoBuf.gRPC_JFJochBroker/Stop', jfjoch__pb2.Empty.SerializeToString, jfjoch__pb2.Empty.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Pedestal(request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None): return grpc.experimental.unary_unary(request, target, '/JFJochProtoBuf.gRPC_JFJochBroker/Pedestal', jfjoch__pb2.Empty.SerializeToString, jfjoch__pb2.Empty.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Initialize(request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None): return grpc.experimental.unary_unary(request, target, '/JFJochProtoBuf.gRPC_JFJochBroker/Initialize', jfjoch__pb2.Empty.SerializeToString, jfjoch__pb2.Empty.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Cancel(request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None): return grpc.experimental.unary_unary(request, target, '/JFJochProtoBuf.gRPC_JFJochBroker/Cancel', jfjoch__pb2.Empty.SerializeToString, jfjoch__pb2.Empty.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Deactivate(request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None): return grpc.experimental.unary_unary(request, target, '/JFJochProtoBuf.gRPC_JFJochBroker/Deactivate', jfjoch__pb2.Empty.SerializeToString, jfjoch__pb2.Empty.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Trigger(request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None): return grpc.experimental.unary_unary(request, target, '/JFJochProtoBuf.gRPC_JFJochBroker/Trigger', jfjoch__pb2.Empty.SerializeToString, jfjoch__pb2.Empty.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetStatus(request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None): return grpc.experimental.unary_unary(request, target, '/JFJochProtoBuf.gRPC_JFJochBroker/GetStatus', jfjoch__pb2.Empty.SerializeToString, jfjoch__pb2.BrokerStatus.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetCalibrationStatistics(request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None): return grpc.experimental.unary_unary(request, target, '/JFJochProtoBuf.gRPC_JFJochBroker/GetCalibrationStatistics', jfjoch__pb2.Empty.SerializeToString, jfjoch__pb2.JFCalibrationStatistics.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetDetectorSettings(request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None): return grpc.experimental.unary_unary(request, target, '/JFJochProtoBuf.gRPC_JFJochBroker/GetDetectorSettings', jfjoch__pb2.Empty.SerializeToString, jfjoch__pb2.DetectorSettings.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def PutDetectorSettings(request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None): return grpc.experimental.unary_unary(request, target, '/JFJochProtoBuf.gRPC_JFJochBroker/PutDetectorSettings', jfjoch__pb2.DetectorSettings.SerializeToString, jfjoch__pb2.Empty.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetMeasurementStatistics(request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None): return grpc.experimental.unary_unary(request, target, '/JFJochProtoBuf.gRPC_JFJochBroker/GetMeasurementStatistics', jfjoch__pb2.Empty.SerializeToString, jfjoch__pb2.MeasurementStatistics.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetDataProcessingSettings(request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None): return grpc.experimental.unary_unary(request, target, '/JFJochProtoBuf.gRPC_JFJochBroker/GetDataProcessingSettings', jfjoch__pb2.Empty.SerializeToString, jfjoch__pb2.DataProcessingSettings.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def PutDataProcessingSettings(request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None): return grpc.experimental.unary_unary(request, target, '/JFJochProtoBuf.gRPC_JFJochBroker/PutDataProcessingSettings', jfjoch__pb2.DataProcessingSettings.SerializeToString, jfjoch__pb2.Empty.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetPlots(request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None): return grpc.experimental.unary_unary(request, target, '/JFJochProtoBuf.gRPC_JFJochBroker/GetPlots', jfjoch__pb2.PlotRequest.SerializeToString, jfjoch__pb2.Plot.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetRadialIntegrationProfiles(request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None): return grpc.experimental.unary_unary(request, target, '/JFJochProtoBuf.gRPC_JFJochBroker/GetRadialIntegrationProfiles', jfjoch__pb2.Empty.SerializeToString, jfjoch__pb2.RadialIntegrationProfiles.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetDetectorList(request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None): return grpc.experimental.unary_unary(request, target, '/JFJochProtoBuf.gRPC_JFJochBroker/GetDetectorList', jfjoch__pb2.Empty.SerializeToString, jfjoch__pb2.DetectorList.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SelectDetector(request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None): return grpc.experimental.unary_unary(request, target, '/JFJochProtoBuf.gRPC_JFJochBroker/SelectDetector', jfjoch__pb2.DetectorSelection.SerializeToString, jfjoch__pb2.Empty.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata)