|
27 | 27 | import com.google.api.gax.rpc.UnaryCallable; |
28 | 28 | import com.google.cloud.dlp.v2.stub.DlpServiceStub; |
29 | 29 | import com.google.cloud.dlp.v2.stub.DlpServiceStubSettings; |
30 | | -import com.google.common.util.concurrent.MoreExecutors; |
31 | 30 | import com.google.privacy.dlp.v2.CancelDlpJobRequest; |
32 | 31 | import com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest; |
33 | 32 | import com.google.privacy.dlp.v2.CreateDlpJobRequest; |
@@ -1916,8 +1915,7 @@ public static ApiFuture<ListInspectTemplatesPagedResponse> createAsync( |
1916 | 1915 | public ListInspectTemplatesPagedResponse apply(ListInspectTemplatesPage input) { |
1917 | 1916 | return new ListInspectTemplatesPagedResponse(input); |
1918 | 1917 | } |
1919 | | - }, |
1920 | | - MoreExecutors.directExecutor()); |
| 1918 | + }); |
1921 | 1919 | } |
1922 | 1920 |
|
1923 | 1921 | private ListInspectTemplatesPagedResponse(ListInspectTemplatesPage page) { |
@@ -2006,8 +2004,7 @@ public static ApiFuture<ListDeidentifyTemplatesPagedResponse> createAsync( |
2006 | 2004 | public ListDeidentifyTemplatesPagedResponse apply(ListDeidentifyTemplatesPage input) { |
2007 | 2005 | return new ListDeidentifyTemplatesPagedResponse(input); |
2008 | 2006 | } |
2009 | | - }, |
2010 | | - MoreExecutors.directExecutor()); |
| 2007 | + }); |
2011 | 2008 | } |
2012 | 2009 |
|
2013 | 2010 | private ListDeidentifyTemplatesPagedResponse(ListDeidentifyTemplatesPage page) { |
@@ -2097,8 +2094,7 @@ public static ApiFuture<ListDlpJobsPagedResponse> createAsync( |
2097 | 2094 | public ListDlpJobsPagedResponse apply(ListDlpJobsPage input) { |
2098 | 2095 | return new ListDlpJobsPagedResponse(input); |
2099 | 2096 | } |
2100 | | - }, |
2101 | | - MoreExecutors.directExecutor()); |
| 2097 | + }); |
2102 | 2098 | } |
2103 | 2099 |
|
2104 | 2100 | private ListDlpJobsPagedResponse(ListDlpJobsPage page) { |
@@ -2177,8 +2173,7 @@ public static ApiFuture<ListJobTriggersPagedResponse> createAsync( |
2177 | 2173 | public ListJobTriggersPagedResponse apply(ListJobTriggersPage input) { |
2178 | 2174 | return new ListJobTriggersPagedResponse(input); |
2179 | 2175 | } |
2180 | | - }, |
2181 | | - MoreExecutors.directExecutor()); |
| 2176 | + }); |
2182 | 2177 | } |
2183 | 2178 |
|
2184 | 2179 | private ListJobTriggersPagedResponse(ListJobTriggersPage page) { |
@@ -2260,8 +2255,7 @@ public static ApiFuture<ListStoredInfoTypesPagedResponse> createAsync( |
2260 | 2255 | public ListStoredInfoTypesPagedResponse apply(ListStoredInfoTypesPage input) { |
2261 | 2256 | return new ListStoredInfoTypesPagedResponse(input); |
2262 | 2257 | } |
2263 | | - }, |
2264 | | - MoreExecutors.directExecutor()); |
| 2258 | + }); |
2265 | 2259 | } |
2266 | 2260 |
|
2267 | 2261 | private ListStoredInfoTypesPagedResponse(ListStoredInfoTypesPage page) { |
|
0 commit comments