This chapter applies to all agencies of the United States and the State of California and its subdivisions or to their officers, agents, or employees. Nothing in this section affects the liability of a public entity under Section 862 of the Government Code.