public Builder addResearching(
          int index, org.bwapi.proxy.messages.GameMessages.TechType value) {
        if (researchingBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureResearchingIsMutable();
          researching_.add(index, value);
          onChanged();
        } else {
          researchingBuilder_.addMessage(index, value);
        }
        return this;
      }