public org.bwapi.proxy.messages.TerrainMessages.BaseLocation getBaseLocations(int index) {
        if (baseLocationsBuilder_ == null) {
          return baseLocations_.get(index);
        } else {
          return baseLocationsBuilder_.getMessage(index);
        }
      }