public org.bwapi.proxy.messages.GameMessages.UnitType getWhatUpgrades() {
        if (whatUpgradesBuilder_ == null) {
          return whatUpgrades_;
        } else {
          return whatUpgradesBuilder_.getMessage();
        }
      }