public Builder addBaseLocations(
          int index, org.bwapi.proxy.messages.TerrainMessages.BaseLocation.Builder builderForValue) {
        if (baseLocationsBuilder_ == null) {
          ensureBaseLocationsIsMutable();
          baseLocations_.add(index, builderForValue.build());
          onChanged();
        } else {
          baseLocationsBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }