public java.util.List<org.bwapi.proxy.messages.GameMessages.UnitId> getSelectedUnitsList() {
        if (selectedUnitsBuilder_ == null) {
          return java.util.Collections.unmodifiableList(selectedUnits_);
        } else {
          return selectedUnitsBuilder_.getMessageList();
        }
      }