=rem #16428 optimize protobuf serializer

change to message