Use `Format.buildUpon()` and `setXXX` instead. #minor-release PiperOrigin-RevId: 532840625 (cherry picked from commit 19b6ce501456cc1f04b36b72d073803fc1a5080e)