Paint for UV. Wrapping pvc does the same while insulating and allowing for expansion/contraction, impact shock and rocks.
UV and corrosion protection primarily. All above ground PVC and steel pipe and fittings should be wrapped, particularly that which is under constant pressure. I wrap all above ground PVC to a minimum of 40 mil, per IAPMO IS 13-2006