public Builder addDeadUnitCount(
          int index, org.bwapi.proxy.messages.GameMessages.UnitTypeIntPair value) {
        if (deadUnitCountBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureDeadUnitCountIsMutable();
          deadUnitCount_.add(index, value);
          onChanged();
        } else {
          deadUnitCountBuilder_.addMessage(index, value);
        }
        return this;
      }