public org.bwapi.proxy.messages.GameMessages.UnitIdOrBuilder getLoadedUnitsOrBuilder(
          int index) {
        if (loadedUnitsBuilder_ == null) {
          return loadedUnits_.get(index);  } else {
          return loadedUnitsBuilder_.getMessageOrBuilder(index);
        }
      }