=rem #16428 optimize protobuf serializer for master

#16428 for master
thanks for clarify,```getParserForType()```is a instance method.would try the method cache for now.