public org.bwapi.proxy.messages.GameMessages.UnitId getShownUnits(int index) {
        if (shownUnitsBuilder_ == null) {
          return shownUnits_.get(index);
        } else {
          return shownUnitsBuilder_.getMessage(index);
        }
      }