code: def _convert(self, test_record_obj):
      
  
      if self._cached_proto is None:
        self._cached_proto = self._converter(test_record_obj)
  
      return self._cached_proto
docs: Convert and cache a test record to a mfg-inspector proto.