|
27 | 27 | import com.google.api.gax.rpc.UnaryCallable; |
28 | 28 | import com.google.cloud.bigquery.datatransfer.v1.stub.DataTransferServiceStub; |
29 | 29 | import com.google.cloud.bigquery.datatransfer.v1.stub.DataTransferServiceStubSettings; |
30 | | -import com.google.common.util.concurrent.MoreExecutors; |
31 | 30 | import com.google.protobuf.Empty; |
32 | 31 | import com.google.protobuf.FieldMask; |
33 | 32 | import com.google.protobuf.Timestamp; |
@@ -1640,8 +1639,7 @@ public static ApiFuture<ListDataSourcesPagedResponse> createAsync( |
1640 | 1639 | public ListDataSourcesPagedResponse apply(ListDataSourcesPage input) { |
1641 | 1640 | return new ListDataSourcesPagedResponse(input); |
1642 | 1641 | } |
1643 | | - }, |
1644 | | - MoreExecutors.directExecutor()); |
| 1642 | + }); |
1645 | 1643 | } |
1646 | 1644 |
|
1647 | 1645 | private ListDataSourcesPagedResponse(ListDataSourcesPage page) { |
@@ -1723,8 +1721,7 @@ public static ApiFuture<ListTransferConfigsPagedResponse> createAsync( |
1723 | 1721 | public ListTransferConfigsPagedResponse apply(ListTransferConfigsPage input) { |
1724 | 1722 | return new ListTransferConfigsPagedResponse(input); |
1725 | 1723 | } |
1726 | | - }, |
1727 | | - MoreExecutors.directExecutor()); |
| 1724 | + }); |
1728 | 1725 | } |
1729 | 1726 |
|
1730 | 1727 | private ListTransferConfigsPagedResponse(ListTransferConfigsPage page) { |
@@ -1811,8 +1808,7 @@ public static ApiFuture<ListTransferRunsPagedResponse> createAsync( |
1811 | 1808 | public ListTransferRunsPagedResponse apply(ListTransferRunsPage input) { |
1812 | 1809 | return new ListTransferRunsPagedResponse(input); |
1813 | 1810 | } |
1814 | | - }, |
1815 | | - MoreExecutors.directExecutor()); |
| 1811 | + }); |
1816 | 1812 | } |
1817 | 1813 |
|
1818 | 1814 | private ListTransferRunsPagedResponse(ListTransferRunsPage page) { |
@@ -1893,8 +1889,7 @@ public static ApiFuture<ListTransferLogsPagedResponse> createAsync( |
1893 | 1889 | public ListTransferLogsPagedResponse apply(ListTransferLogsPage input) { |
1894 | 1890 | return new ListTransferLogsPagedResponse(input); |
1895 | 1891 | } |
1896 | | - }, |
1897 | | - MoreExecutors.directExecutor()); |
| 1892 | + }); |
1898 | 1893 | } |
1899 | 1894 |
|
1900 | 1895 | private ListTransferLogsPagedResponse(ListTransferLogsPage page) { |
|
0 commit comments