diff --git a/google-cloud-clients/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/DlpServiceClient.java b/google-cloud-clients/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/DlpServiceClient.java index c19ea07fae1f..2cd3cf4b6ff8 100644 --- a/google-cloud-clients/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/DlpServiceClient.java +++ b/google-cloud-clients/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/DlpServiceClient.java @@ -27,6 +27,7 @@ import com.google.api.gax.rpc.UnaryCallable; import com.google.cloud.dlp.v2.stub.DlpServiceStub; import com.google.cloud.dlp.v2.stub.DlpServiceStubSettings; +import com.google.common.util.concurrent.MoreExecutors; import com.google.privacy.dlp.v2.CancelDlpJobRequest; import com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest; import com.google.privacy.dlp.v2.CreateDlpJobRequest; @@ -1915,7 +1916,8 @@ public static ApiFuture createAsync( public ListInspectTemplatesPagedResponse apply(ListInspectTemplatesPage input) { return new ListInspectTemplatesPagedResponse(input); } - }); + }, + MoreExecutors.directExecutor()); } private ListInspectTemplatesPagedResponse(ListInspectTemplatesPage page) { @@ -2004,7 +2006,8 @@ public static ApiFuture createAsync( public ListDeidentifyTemplatesPagedResponse apply(ListDeidentifyTemplatesPage input) { return new ListDeidentifyTemplatesPagedResponse(input); } - }); + }, + MoreExecutors.directExecutor()); } private ListDeidentifyTemplatesPagedResponse(ListDeidentifyTemplatesPage page) { @@ -2094,7 +2097,8 @@ public static ApiFuture createAsync( public ListDlpJobsPagedResponse apply(ListDlpJobsPage input) { return new ListDlpJobsPagedResponse(input); } - }); + }, + MoreExecutors.directExecutor()); } private ListDlpJobsPagedResponse(ListDlpJobsPage page) { @@ -2173,7 +2177,8 @@ public static ApiFuture createAsync( public ListJobTriggersPagedResponse apply(ListJobTriggersPage input) { return new ListJobTriggersPagedResponse(input); } - }); + }, + MoreExecutors.directExecutor()); } private ListJobTriggersPagedResponse(ListJobTriggersPage page) { @@ -2255,7 +2260,8 @@ public static ApiFuture createAsync( public ListStoredInfoTypesPagedResponse apply(ListStoredInfoTypesPage input) { return new ListStoredInfoTypesPagedResponse(input); } - }); + }, + MoreExecutors.directExecutor()); } private ListStoredInfoTypesPagedResponse(ListStoredInfoTypesPage page) { diff --git a/google-cloud-clients/google-cloud-dlp/synth.metadata b/google-cloud-clients/google-cloud-dlp/synth.metadata index 27448efd927b..a0cba20d7c2a 100644 --- a/google-cloud-clients/google-cloud-dlp/synth.metadata +++ b/google-cloud-clients/google-cloud-dlp/synth.metadata @@ -1,19 +1,19 @@ { - "updateTime": "2019-03-01T08:42:40.608536Z", + "updateTime": "2019-03-06T08:42:16.001412Z", "sources": [ { "generator": { "name": "artman", - "version": "0.16.14", - "dockerImage": "googleapis/artman@sha256:f3d61ae45abaeefb6be5f228cda22732c2f1b00fb687c79c4bd4f2c42bb1e1a7" + "version": "0.16.15", + "dockerImage": "googleapis/artman@sha256:9caadfa59d48224cba5f3217eb9d61a155b78ccf31e628abef385bc5b7ed3bd2" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "41d72d444fbe445f4da89e13be02078734fb7875", - "internalRef": "236230004" + "sha": "856117505ff9075b3e9c0b5674113667b6cf9e00", + "internalRef": "236931378" } } ],