public Builder addBaseLocations(org.bwapi.proxy.messages.TerrainMessages.BaseLocation value) {
        if (baseLocationsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureBaseLocationsIsMutable();
          baseLocations_.add(value);
          onChanged();
        } else {
          baseLocationsBuilder_.addMessage(value);
        }
        return this;
      }