public Builder setDestroyedUnits(
          int index, org.bwapi.proxy.messages.GameMessages.UnitId.Builder builderForValue) {
        if (destroyedUnitsBuilder_ == null) {
          ensureDestroyedUnitsIsMutable();
          destroyedUnits_.set(index, builderForValue.build());
          onChanged();
        } else {
          destroyedUnitsBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }