public Builder addUpgradeLevels(
          int index, org.bwapi.proxy.messages.GameMessages.UpgradeLevel.Builder builderForValue) {
        if (upgradeLevelsBuilder_ == null) {
          ensureUpgradeLevelsIsMutable();
          upgradeLevels_.add(index, builderForValue.build());
          onChanged();
        } else {
          upgradeLevelsBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }