|
32 | 32 |
|
33 | 33 | # Wrap the RPC method; this adds retry and timeout information, |
34 | 34 | # and friendly error handling. |
35 | | - rpc = gapic_v1.method.wrap_method( |
36 | | - self._transport.list_operations, |
37 | | - default_timeout=None, |
38 | | - client_info=DEFAULT_CLIENT_INFO, |
39 | | - ) |
| 35 | + rpc = self._transport._wrapped_methods[self._transport.list_operations] |
40 | 36 |
|
41 | 37 | # Certain fields should be provided within the metadata header; |
42 | 38 | # add these here. |
|
86 | 82 |
|
87 | 83 | # Wrap the RPC method; this adds retry and timeout information, |
88 | 84 | # and friendly error handling. |
89 | | - rpc = gapic_v1.method.wrap_method( |
90 | | - self._transport.get_operation, |
91 | | - default_timeout=None, |
92 | | - client_info=DEFAULT_CLIENT_INFO, |
93 | | - ) |
| 85 | + rpc = self._transport._wrapped_methods[self._transport.get_operation] |
94 | 86 |
|
95 | 87 | # Certain fields should be provided within the metadata header; |
96 | 88 | # add these here. |
|
143 | 135 |
|
144 | 136 | # Wrap the RPC method; this adds retry and timeout information, |
145 | 137 | # and friendly error handling. |
146 | | - rpc = gapic_v1.method.wrap_method( |
147 | | - self._transport.delete_operation, |
148 | | - default_timeout=None, |
149 | | - client_info=DEFAULT_CLIENT_INFO, |
150 | | - ) |
| 138 | + rpc = self._transport._wrapped_methods[self._transport.delete_operation] |
151 | 139 |
|
152 | 140 | # Certain fields should be provided within the metadata header; |
153 | 141 | # add these here. |
|
195 | 183 |
|
196 | 184 | # Wrap the RPC method; this adds retry and timeout information, |
197 | 185 | # and friendly error handling. |
198 | | - rpc = gapic_v1.method.wrap_method( |
199 | | - self._transport.cancel_operation, |
200 | | - default_timeout=None, |
201 | | - client_info=DEFAULT_CLIENT_INFO, |
202 | | - ) |
| 186 | + rpc = self._transport._wrapped_methods[self._transport.cancel_operation] |
203 | 187 |
|
204 | 188 | # Certain fields should be provided within the metadata header; |
205 | 189 | # add these here. |
|
250 | 234 |
|
251 | 235 | # Wrap the RPC method; this adds retry and timeout information, |
252 | 236 | # and friendly error handling. |
253 | | - rpc = gapic_v1.method.wrap_method( |
254 | | - self._transport.wait_operation, |
255 | | - default_timeout=None, |
256 | | - client_info=DEFAULT_CLIENT_INFO, |
257 | | - ) |
| 237 | + rpc = self._transport._wrapped_methods[self._transport.wait_operation] |
258 | 238 |
|
259 | 239 | metadata = tuple(metadata) |
260 | 240 |
|
|
369 | 349 |
|
370 | 350 | # Wrap the RPC method; this adds retry and timeout information, |
371 | 351 | # and friendly error handling. |
372 | | - rpc = gapic_v1.method.wrap_method( |
373 | | - self._transport.set_iam_policy, |
374 | | - default_timeout=None, |
375 | | - client_info=DEFAULT_CLIENT_INFO, |
376 | | - ) |
| 352 | + rpc = self._transport._wrapped_methods[self._transport.set_iam_policy] |
377 | 353 |
|
378 | 354 | # Certain fields should be provided within the metadata header; |
379 | 355 | # add these here. |
|
489 | 465 |
|
490 | 466 | # Wrap the RPC method; this adds retry and timeout information, |
491 | 467 | # and friendly error handling. |
492 | | - rpc = gapic_v1.method.wrap_method( |
493 | | - self._transport.get_iam_policy, |
494 | | - default_timeout=None, |
495 | | - client_info=DEFAULT_CLIENT_INFO, |
496 | | - ) |
| 468 | + rpc = self._transport._wrapped_methods[self._transport.get_iam_policy] |
497 | 469 |
|
498 | 470 | # Certain fields should be provided within the metadata header; |
499 | 471 | # add these here. |
|
547 | 519 |
|
548 | 520 | # Wrap the RPC method; this adds retry and timeout information, |
549 | 521 | # and friendly error handling. |
550 | | - rpc = gapic_v1.method.wrap_method( |
551 | | - self._transport.test_iam_permissions, |
552 | | - default_timeout=None, |
553 | | - client_info=DEFAULT_CLIENT_INFO, |
554 | | - ) |
| 522 | + rpc = self._transport._wrapped_methods[self._transport.test_iam_permissions] |
555 | 523 |
|
556 | 524 | # Certain fields should be provided within the metadata header; |
557 | 525 | # add these here. |
|
604 | 572 |
|
605 | 573 | # Wrap the RPC method; this adds retry and timeout information, |
606 | 574 | # and friendly error handling. |
607 | | - rpc = gapic_v1.method.wrap_method( |
608 | | - self._transport.get_location, |
609 | | - default_timeout=None, |
610 | | - client_info=DEFAULT_CLIENT_INFO, |
611 | | - ) |
| 575 | + rpc = self._transport._wrapped_methods[self._transport.get_location] |
612 | 576 |
|
613 | 577 | # Certain fields should be provided within the metadata header; |
614 | 578 | # add these here. |
|
657 | 621 |
|
658 | 622 | # Wrap the RPC method; this adds retry and timeout information, |
659 | 623 | # and friendly error handling. |
660 | | - rpc = gapic_v1.method.wrap_method( |
661 | | - self._transport.list_locations, |
662 | | - default_timeout=None, |
663 | | - client_info=DEFAULT_CLIENT_INFO, |
664 | | - ) |
| 624 | + rpc = self._transport._wrapped_methods[self._transport.list_locations] |
665 | 625 |
|
666 | 626 | # Certain fields should be provided within the metadata header; |
667 | 627 | # add these here. |
|
0 commit comments