Are there any legal restrictions on what the Chinese government can ask websites to censor? I am not aware of any, so I don't see where there would be an opportunity to protest.
I believe it's already established that operating in China means responding to all censorship requests. Nonetheless, there are still many things an ethical company could refuse: access to the private searches and information of an individual without a due legal process, collecting sensitive information altogether knowing that it's fair game for the state, knowingly alter or influence results to promote official narratives and propaganda, knowingly use or profit from the proceeds of labor camps, underage or other forms of work exploitation; and many, many more, which are surely not positively codified in any Chinese law, yet are widespread.