withDetectPartialError(detectPartialError) {
    this.detectPartialError = detectPartialError;
    return this;
  }
Configures partial error detection for this BatchCall.

@param {function(!Object):boolean=} detectPartialError Checks if response
    JSON should be returned directly instead of throwing an error.
    Needed for Operations. See https://google.aip.dev/193#partial-errors
@return {!BatchCall}
@override