The San Francisco Fire department first announced the fire at 1300 Donner Avenue at 1:11 p.m. Friday. The single-story warehouse is located near Candlestick Point and just north of the site of the demolished Candlestick Park stadium.
Firefighters battled a blaze at a warehouse on Friday.
By 2:19 p.m., the blaze was declared a four-alarm fire.
Fire Chief Joanne Hayes-White says she believes that the building used to be a metal shop that housed toxic materials. The shelter-in-place order was lifted around 5:30 p.m.by which time the flames had been contained.
Trump submits financial information detailing trust assets
By law, Trump could have postponed releasing the 51-page disclosure document, the first he has filed as president, until 2018. That includes $19.8 million from his club in Bedminster, New Jersey, where he has spent some weekends as president.
A fire department spokesman said firefighters were forced to take a defensive approach to fighting the fire.
The San Francisco firefighters' union tweeted that the building had been boarded up prior to the fire.
The public was urged to avoid the area due to the presence of "many hazards associated to this fire", officials wrote on Twitter.
No injuries have been reported.