docs: private RpcBatch.Callback<ManagedZone> createZoneCallback(
        final DnsOptions serviceOptions,
        final DnsBatchResult<Zone> result,
        final boolean nullForNotFound,
        final boolean idempotent) {
      return new RpcBatch.Callback<ManagedZone>() {
        @Override
        public void onSuccess(ManagedZone response) {
          result.success(
              response == null ? null : Zone.fromPb(serviceOptions.getService(), response));
        }
  
        @Override
        public void onFailure(GoogleJsonError googleJsonError) {
          DnsException serviceException = new DnsException(googleJsonError, idempotent);
          if (nullForNotFound && serviceException.getCode() == HTTP_NOT_FOUND) {
            result.success(null);
          } else {
            result.error(serviceException);
          }
        }
      };
    }