public Builder addUpgrading(
          int index, org.bwapi.proxy.messages.GameMessages.UpgradeType.Builder builderForValue) {
        if (upgradingBuilder_ == null) {
          ensureUpgradingIsMutable();
          upgrading_.add(index, builderForValue.build());
          onChanged();
        } else {
          upgradingBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }