What you describe are sixteen 24..30 Vac voltages that share a common Vac return.
Using power diodes if pump relay has no switching supply
Each of sixteen can go through a power diode to regulator supply. That's smoothed by C1. When power is removed, C1 is mostly discharged by the relay coil, then further by the regulator, then down to 0 V by R1. The linear regulator gives an accurate voltage for driving your pump relay's coil or enable.
If the pump relay is a mechanical coil relay, it can drive the coil with the regulator 24 V output. Use another regulator for a different coil voltage but be mindful of the regulator power dissipation. A 40 mA coil current at 24 V would be reasonable and dissipate approx. 700 mW in the regulator at 30 Vac (42 V across C1), 320 mW at 24 Vac.
If the pump relay is an SSR, its control input will draw considerably less current, around 15 mA. This would dissipate approx. 260 mW in the regulator at 30 Vac, 120 mW at 24 Vac.
simulate this circuit – Schematic created using CircuitLab
Using opto-isolators if pump relay has a switching supply
The opto-isolator circuit uses more parts and draws more current in total from the inputs.
simulate this circuit