public int getBaseLocationsCount() {
        if (baseLocationsBuilder_ == null) {
          return baseLocations_.size();
        } else {
          return baseLocationsBuilder_.getCount();
        }
      }