public org.bwapi.proxy.messages.TerrainMessages.BaseLocationOrBuilder getBaseLocationsOrBuilder(
          int index) {
        if (baseLocationsBuilder_ == null) {
          return baseLocations_.get(index);  } else {
          return baseLocationsBuilder_.getMessageOrBuilder(index);
        }
      }