. . "The building official is the officer or other designated authority charged with the administration and enforcement of this code, or the building official's duly authorized representative in accordance with state law." . .