public Builder addResearchedTechs(org.bwapi.proxy.messages.GameMessages.TechType value) {
        if (researchedTechsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureResearchedTechsIsMutable();
          researchedTechs_.add(value);
          onChanged();
        } else {
          researchedTechsBuilder_.addMessage(value);
        }
        return this;
      }