public java.util.List<? extends org.bwapi.proxy.messages.GameMessages.UpgradeTypeOrBuilder> 
           getUpgradingOrBuilderList() {
        if (upgradingBuilder_ != null) {
          return upgradingBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(upgrading_);
        }
      }