def Add(self, request, context): local_sum = request.a + request.b return calculator_pb2.AddReply(sum=local_sum)
def Add(self, request, context): addition = request.x + request.y return calculator_pb2.AddReply(result=addition)
def PerformAddition(self, request, context): return calculator_pb2.AddReply(message=request.nbr1 + request.nbr2)
def Addition(self, request, context): return calculator_pb2.AddReply(result=request.num1 + request.num2)
def Add(self, request, context): return calculator_pb2.AddReply(z=request.x + request.y)
def Add(self, request, context): return calculator_pb2.AddReply(n1=request.n1 + request.n2)
def Add(self, request, context): return calculator_pb2.AddReply(num3=request.num1 + request.num2)