Unlike a lot of states, California law is pretty clear and specifics when it covers mechanic’s liens. Section 3110 set forth the class of people a mechanic lien is designed to protect or covers.
3110. Mechanics, materialmen, contractors, subcontractors, lessors
of equipment, artisans, architects, registered engineers, licensed
land surveyors, machinists, builders, teamsters, and draymen, and all
persons and laborers of every class performing labor upon or
bestowing skill or other necessary services on, or furnishing
materials or leasing equipment to be used or consumed in or
furnishing appliances, teams, or power contributing to a work of
improvement shall have a lien upon the property upon which they have
bestowed labor or furnished materials or appliances or leased
equipment for the value of such labor done or materials furnished and
for the value of the use of such appliances, equipment, teams, or
power whether done or furnished at the instance of the owner or of
any person acting by his authority or under him as contractor or
otherwise. For the purposes of this chapter, every contractor,
subcontractor, sub-subcontractor, architect, builder, or other person
having charge of a work of improvement or portion thereof shall be
held to be the agent of the owner.