@@ -275,8 +275,7 @@ R"""( std::unique_ptr<::google::cloud::AsyncStreamingReadWriteRpc<
275275 {deprecation_macro},
276276 {" $return_type$\n " },
277277 // clang-format off
278- {" $method_name$($request_type$ const& request, Options opts = {});\n " }
279- // clang-format on
278+ {" $method_name$($request_type$ const& request, Options opts = {});\n " } // clang-format on
280279 },
281280 All (IsNonStreaming, Not (IsLongrunningOperation),
282281 Not (IsPaginated))),
@@ -307,8 +306,7 @@ R"""( std::unique_ptr<::google::cloud::AsyncStreamingReadWriteRpc<
307306 // clang-format off
308307 " future<Status>\n " ,
309308 " future<StatusOr<$longrunning_deduced_response_type$>>\n " },
310- {" $method_name$($longrunning_operation_type$ const& operation, Options opts = {});\n " }
311- // clang-format on
309+ {" $method_name$($longrunning_operation_type$ const& operation, Options opts = {});\n " } // clang-format on
312310 },
313311 All (IsNonStreaming, IsLongrunningOperation, Not (IsPaginated))),
314312 MethodPattern (
@@ -364,21 +362,21 @@ R"""( std::unique_ptr<::google::cloud::AsyncStreamingReadWriteRpc<
364362 Not (IsPaginated)))},
365363 __FILE__, __LINE__);
366364 }
367- HeaderPrintMethod (method,
368- { MethodPattern (
369- {
370- { " \n " },
371- { FormatMethodCommentsProtobufRequest (
372- method, IsDiscoveryDocumentProto ())},
373- {deprecation_macro },
374- { " future<$return_type$> \n " },
375- // clang-format off
376- { " Async$method_name$($request_type$ const& request, Options opts = {}); \n " }
377- // clang-format on
378- },
379- All (IsNonStreaming, Not (IsLongrunningOperation),
380- Not (IsPaginated)))},
381- __FILE__, __LINE__);
365+ HeaderPrintMethod (
366+ method,
367+ { MethodPattern (
368+ {
369+ { " \n " },
370+ { FormatMethodCommentsProtobufRequest (
371+ method, IsDiscoveryDocumentProto ()) },
372+ {deprecation_macro },
373+ { " future<$return_type$> \n " },
374+ // clang-format off
375+ { " Async$method_name$($request_type$ const& request, Options opts = {}); \n " } // clang-format on
376+ },
377+ All (IsNonStreaming, Not (IsLongrunningOperation),
378+ Not (IsPaginated)))},
379+ __FILE__, __LINE__);
382380 }
383381
384382 HeaderPrint ( // clang-format off
@@ -473,8 +471,7 @@ std::unique_ptr<::google::cloud::AsyncStreamingReadWriteRpc<
473471 {" $request_type$ request;\n " },
474472 {method_request_string},
475473 {" return connection_->$method_name$(request);\n "
476- " }\n " }
477- // clang-format on
474+ " }\n " } // clang-format on
478475 },
479476 All (IsNonStreaming, Not (IsLongrunningOperation),
480477 Not (IsPaginated))),
@@ -502,8 +499,7 @@ std::unique_ptr<::google::cloud::AsyncStreamingReadWriteRpc<
502499 {" $request_type$ request;\n " },
503500 {method_request_string},
504501 {" return connection_->$method_name$(NoAwaitTag{}, request);\n "
505- " }\n " }
506- // clang-format on
502+ " }\n " } // clang-format on
507503 },
508504 All (IsNonStreaming, IsLongrunningOperation, Not (IsPaginated))),
509505 MethodPattern (
@@ -516,8 +512,7 @@ std::unique_ptr<::google::cloud::AsyncStreamingReadWriteRpc<
516512 {" $request_type$ request;\n " },
517513 {method_request_string},
518514 {" return connection_->$method_name$(request);\n "
519- " }\n " }
520- // clang-format on
515+ " }\n " } // clang-format on
521516 },
522517 All (IsNonStreaming, Not (IsLongrunningOperation), IsPaginated)),
523518 MethodPattern (
@@ -530,8 +525,7 @@ std::unique_ptr<::google::cloud::AsyncStreamingReadWriteRpc<
530525 {" $request_type$ request;\n " },
531526 {method_request_string},
532527 {" return connection_->$method_name$(request);\n "
533- " }\n " }
534- // clang-format on
528+ " }\n " } // clang-format on
535529 },
536530 IsStreamingRead)},
537531 __FILE__, __LINE__);
@@ -606,8 +600,7 @@ std::unique_ptr<::google::cloud::AsyncStreamingReadWriteRpc<
606600 " internal::OptionsSpan span(internal::MergeOptions("
607601 " std::move(opts), options_));\n "
608602 " return connection_->$method_name$(request);\n "
609- " }\n " }
610- // clang-format on
603+ " }\n " } // clang-format on
611604 },
612605 All (IsNonStreaming, Not (IsLongrunningOperation),
613606 Not (IsPaginated))),
@@ -645,8 +638,7 @@ std::unique_ptr<::google::cloud::AsyncStreamingReadWriteRpc<
645638 " internal::OptionsSpan span(internal::MergeOptions("
646639 " std::move(opts), options_));\n "
647640 " return connection_->$method_name$(operation);\n " },
648- {" }\n " }
649- // clang-format on
641+ {" }\n " } // clang-format on
650642 },
651643 All (IsNonStreaming, IsLongrunningOperation, Not (IsPaginated))),
652644 MethodPattern (
@@ -658,8 +650,7 @@ std::unique_ptr<::google::cloud::AsyncStreamingReadWriteRpc<
658650 " internal::OptionsSpan span(internal::MergeOptions("
659651 " std::move(opts), options_));\n "
660652 " return connection_->$method_name$(std::move(request));\n "
661- " }\n " }
662- // clang-format on
653+ " }\n " } // clang-format on
663654 },
664655 All (IsNonStreaming, Not (IsLongrunningOperation), IsPaginated)),
665656 MethodPattern (
@@ -671,8 +662,7 @@ std::unique_ptr<::google::cloud::AsyncStreamingReadWriteRpc<
671662 " internal::OptionsSpan span(internal::MergeOptions("
672663 " std::move(opts), options_));\n "
673664 " return connection_->$method_name$(request);\n "
674- " }\n " }
675- // clang-format on
665+ " }\n " } // clang-format on
676666 },
677667 IsStreamingRead)},
678668 __FILE__, __LINE__);
@@ -701,8 +691,7 @@ std::unique_ptr<::google::cloud::AsyncStreamingReadWriteRpc<
701691 {" $request_type$ request;\n " },
702692 {method_request_string},
703693 {" return connection_->Async$method_name$(request);\n "
704- " }\n " }
705- // clang-format on
694+ " }\n " } // clang-format on
706695 },
707696 All (IsNonStreaming, Not (IsLongrunningOperation),
708697 Not (IsPaginated)))},
@@ -719,8 +708,7 @@ std::unique_ptr<::google::cloud::AsyncStreamingReadWriteRpc<
719708 " internal::OptionsSpan span(internal::MergeOptions("
720709 " std::move(opts), options_));\n "
721710 " return connection_->Async$method_name$(request);\n "
722- " }\n " }
723- // clang-format on
711+ " }\n " } // clang-format on
724712 },
725713 All (IsNonStreaming, Not (IsLongrunningOperation),
726714 Not (IsPaginated)))},
0 commit comments