personally I would have this at the beginning.. i.e. read parents fields first. matches type hierarchy and make it more compatible ( ProtobufWritable would also work on the same record).