=rem #16428 optimize protobuf serializer for master

#16428 for master
`getParserForType` doesn't work for here, it's on the message instance

we rely on the generated API if we cache the `PARSER` or the `parseFrom`
it would be interesting to see the performance diff between those two alternatives