Although the US Coast Guard could probably handle pirate ships of the size which could plausibly operate in the waters off the California coast, the US Navy almost certainly has more than adequate assets to address even the most well equipped pirates from a standoff range (e.g. By only using in port assets from San Diego).