public org.bwapi.proxy.messages.GameMessages.UnitId getDestroyedUnits(int index) {
        if (destroyedUnitsBuilder_ == null) {
          return destroyedUnits_.get(index);
        } else {
          return destroyedUnitsBuilder_.getMessage(index);
        }
      }