public org.bwapi.proxy.messages.GameMessages.TechType getResearching(int index) {
        if (researchingBuilder_ == null) {
          return researching_.get(index);
        } else {
          return researchingBuilder_.getMessage(index);
        }
      }