|
28 | 28 | import com.google.api.pathtemplate.PathTemplate; |
29 | 29 | import com.google.cloud.websecurityscanner.v1alpha.stub.WebSecurityScannerStub; |
30 | 30 | import com.google.cloud.websecurityscanner.v1alpha.stub.WebSecurityScannerStubSettings; |
| 31 | +import com.google.common.util.concurrent.MoreExecutors; |
31 | 32 | import com.google.protobuf.Empty; |
32 | 33 | import com.google.protobuf.FieldMask; |
33 | 34 | import java.io.IOException; |
@@ -1391,7 +1392,8 @@ public static ApiFuture<ListScanConfigsPagedResponse> createAsync( |
1391 | 1392 | public ListScanConfigsPagedResponse apply(ListScanConfigsPage input) { |
1392 | 1393 | return new ListScanConfigsPagedResponse(input); |
1393 | 1394 | } |
1394 | | - }); |
| 1395 | + }, |
| 1396 | + MoreExecutors.directExecutor()); |
1395 | 1397 | } |
1396 | 1398 |
|
1397 | 1399 | private ListScanConfigsPagedResponse(ListScanConfigsPage page) { |
@@ -1472,7 +1474,8 @@ public static ApiFuture<ListScanRunsPagedResponse> createAsync( |
1472 | 1474 | public ListScanRunsPagedResponse apply(ListScanRunsPage input) { |
1473 | 1475 | return new ListScanRunsPagedResponse(input); |
1474 | 1476 | } |
1475 | | - }); |
| 1477 | + }, |
| 1478 | + MoreExecutors.directExecutor()); |
1476 | 1479 | } |
1477 | 1480 |
|
1478 | 1481 | private ListScanRunsPagedResponse(ListScanRunsPage page) { |
@@ -1551,7 +1554,8 @@ public static ApiFuture<ListCrawledUrlsPagedResponse> createAsync( |
1551 | 1554 | public ListCrawledUrlsPagedResponse apply(ListCrawledUrlsPage input) { |
1552 | 1555 | return new ListCrawledUrlsPagedResponse(input); |
1553 | 1556 | } |
1554 | | - }); |
| 1557 | + }, |
| 1558 | + MoreExecutors.directExecutor()); |
1555 | 1559 | } |
1556 | 1560 |
|
1557 | 1561 | private ListCrawledUrlsPagedResponse(ListCrawledUrlsPage page) { |
@@ -1632,7 +1636,8 @@ public static ApiFuture<ListFindingsPagedResponse> createAsync( |
1632 | 1636 | public ListFindingsPagedResponse apply(ListFindingsPage input) { |
1633 | 1637 | return new ListFindingsPagedResponse(input); |
1634 | 1638 | } |
1635 | | - }); |
| 1639 | + }, |
| 1640 | + MoreExecutors.directExecutor()); |
1636 | 1641 | } |
1637 | 1642 |
|
1638 | 1643 | private ListFindingsPagedResponse(ListFindingsPage page) { |
|
0 commit comments