|
29 | 29 | import com.google.api.gax.rpc.UnaryCallable; |
30 | 30 | import com.google.cloud.securitycenter.v1beta1.stub.SecurityCenterStub; |
31 | 31 | import com.google.cloud.securitycenter.v1beta1.stub.SecurityCenterStubSettings; |
| 32 | +import com.google.common.util.concurrent.MoreExecutors; |
32 | 33 | import com.google.iam.v1.GetIamPolicyRequest; |
33 | 34 | import com.google.iam.v1.Policy; |
34 | 35 | import com.google.iam.v1.SetIamPolicyRequest; |
@@ -2067,7 +2068,8 @@ public static ApiFuture<GroupAssetsPagedResponse> createAsync( |
2067 | 2068 | public GroupAssetsPagedResponse apply(GroupAssetsPage input) { |
2068 | 2069 | return new GroupAssetsPagedResponse(input); |
2069 | 2070 | } |
2070 | | - }); |
| 2071 | + }, |
| 2072 | + MoreExecutors.directExecutor()); |
2071 | 2073 | } |
2072 | 2074 |
|
2073 | 2075 | private GroupAssetsPagedResponse(GroupAssetsPage page) { |
@@ -2146,7 +2148,8 @@ public static ApiFuture<GroupFindingsPagedResponse> createAsync( |
2146 | 2148 | public GroupFindingsPagedResponse apply(GroupFindingsPage input) { |
2147 | 2149 | return new GroupFindingsPagedResponse(input); |
2148 | 2150 | } |
2149 | | - }); |
| 2151 | + }, |
| 2152 | + MoreExecutors.directExecutor()); |
2150 | 2153 | } |
2151 | 2154 |
|
2152 | 2155 | private GroupFindingsPagedResponse(GroupFindingsPage page) { |
@@ -2227,7 +2230,8 @@ public static ApiFuture<ListAssetsPagedResponse> createAsync( |
2227 | 2230 | public ListAssetsPagedResponse apply(ListAssetsPage input) { |
2228 | 2231 | return new ListAssetsPagedResponse(input); |
2229 | 2232 | } |
2230 | | - }); |
| 2233 | + }, |
| 2234 | + MoreExecutors.directExecutor()); |
2231 | 2235 | } |
2232 | 2236 |
|
2233 | 2237 | private ListAssetsPagedResponse(ListAssetsPage page) { |
@@ -2313,7 +2317,8 @@ public static ApiFuture<ListFindingsPagedResponse> createAsync( |
2313 | 2317 | public ListFindingsPagedResponse apply(ListFindingsPage input) { |
2314 | 2318 | return new ListFindingsPagedResponse(input); |
2315 | 2319 | } |
2316 | | - }); |
| 2320 | + }, |
| 2321 | + MoreExecutors.directExecutor()); |
2317 | 2322 | } |
2318 | 2323 |
|
2319 | 2324 | private ListFindingsPagedResponse(ListFindingsPage page) { |
@@ -2392,7 +2397,8 @@ public static ApiFuture<ListSourcesPagedResponse> createAsync( |
2392 | 2397 | public ListSourcesPagedResponse apply(ListSourcesPage input) { |
2393 | 2398 | return new ListSourcesPagedResponse(input); |
2394 | 2399 | } |
2395 | | - }); |
| 2400 | + }, |
| 2401 | + MoreExecutors.directExecutor()); |
2396 | 2402 | } |
2397 | 2403 |
|
2398 | 2404 | private ListSourcesPagedResponse(ListSourcesPage page) { |
|
0 commit comments