Unify MessageSchema.parseMessage proto2 and proto3 codepaths

This handles the following proto2/3 differences in single parseMessage codepath that works for proto2, proto3, and editions
- Groups (proto2)
- Open (proto3) vs closed (proto2) enums, incl closed enums in unknown fields
- Extensions (proto2)
- No presence (proto3)

PiperOrigin-RevId: 542872685
pull/13133/head
Sandy Zhang 1 year ago committed by Copybara-Service
parent 8113bdef84
commit e5936049ae
Loading…
Cancel
Save