public Builder addAllUpgrades(
          java.lang.Iterable<? extends org.bwapi.proxy.messages.GameMessages.UpgradeType> values) {
        if (upgradesBuilder_ == null) {
          ensureUpgradesIsMutable();
          super.addAll(values, upgrades_);
          onChanged();
        } else {
          upgradesBuilder_.addAllMessages(values);
        }
        return this;
      }