Defining the gRPC service contract