Add getTypeRef for querying the Protobuf class in a ProtobufWritable