Currently both are updated by separate setters. If an exception is thrown between the two setters, the state may not be consistent. Avoid this problem by always setting them together. PiperOrigin-RevId: 290293600