The fire protection system is typically designed for the protection of occupants and buildings. Also, the equipment can be protected up to a certain extent.
Referring to ISO 834 fire temperature curve, the temperature can reach about 1000 deg C after 1 hour. It may be futile to try a long-duration protection of pipes after such a fire. To cover the expenses against such an incident, we have fire insurance.
However, to a limited extent, the piping can be protected. B31.1 allows a factor of 3 for allowable stress range S_A, refer to 102.3.2 (b) (2) for non-cyclic thermal displacement.
Again, the degree of protection required will be determined by AHJ as per NFPA.