From e13408cdd9cc631ca9ae75b1e789dcf443f51a30 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot <44816363+yoshi-automation@users.noreply.github.com> Date: Wed, 6 Mar 2019 03:14:51 -0800 Subject: [PATCH] Regenerate logging client (#4641) --- .../java/com/google/cloud/logging/v2/ConfigClient.java | 7 +++++-- .../com/google/cloud/logging/v2/LoggingClient.java | 10 +++++++--- .../com/google/cloud/logging/v2/MetricsClient.java | 4 +++- .../google-cloud-logging/synth.metadata | 10 +++++----- 4 files changed, 20 insertions(+), 11 deletions(-) diff --git a/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/ConfigClient.java b/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/ConfigClient.java index ccc6bee49746..4970b9a9798e 100644 --- a/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/ConfigClient.java +++ b/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/ConfigClient.java @@ -27,6 +27,7 @@ import com.google.api.gax.rpc.UnaryCallable; import com.google.cloud.logging.v2.stub.ConfigServiceV2Stub; import com.google.cloud.logging.v2.stub.ConfigServiceV2StubSettings; +import com.google.common.util.concurrent.MoreExecutors; import com.google.logging.v2.CreateExclusionRequest; import com.google.logging.v2.CreateSinkRequest; import com.google.logging.v2.DeleteExclusionRequest; @@ -1490,7 +1491,8 @@ public static ApiFuture createAsync( public ListSinksPagedResponse apply(ListSinksPage input) { return new ListSinksPagedResponse(input); } - }); + }, + MoreExecutors.directExecutor()); } private ListSinksPagedResponse(ListSinksPage page) { @@ -1569,7 +1571,8 @@ public static ApiFuture createAsync( public ListExclusionsPagedResponse apply(ListExclusionsPage input) { return new ListExclusionsPagedResponse(input); } - }); + }, + MoreExecutors.directExecutor()); } private ListExclusionsPagedResponse(ListExclusionsPage page) { diff --git a/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/LoggingClient.java b/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/LoggingClient.java index 1f3bf042ea6d..34110d4471ae 100644 --- a/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/LoggingClient.java +++ b/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/LoggingClient.java @@ -29,6 +29,7 @@ import com.google.api.gax.rpc.UnaryCallable; import com.google.cloud.logging.v2.stub.LoggingServiceV2Stub; import com.google.cloud.logging.v2.stub.LoggingServiceV2StubSettings; +import com.google.common.util.concurrent.MoreExecutors; import com.google.logging.v2.DeleteLogRequest; import com.google.logging.v2.ListLogEntriesRequest; import com.google.logging.v2.ListLogEntriesResponse; @@ -866,7 +867,8 @@ public static ApiFuture createAsync( public ListLogEntriesPagedResponse apply(ListLogEntriesPage input) { return new ListLogEntriesPagedResponse(input); } - }); + }, + MoreExecutors.directExecutor()); } private ListLogEntriesPagedResponse(ListLogEntriesPage page) { @@ -954,7 +956,8 @@ public ListMonitoredResourceDescriptorsPagedResponse apply( ListMonitoredResourceDescriptorsPage input) { return new ListMonitoredResourceDescriptorsPagedResponse(input); } - }); + }, + MoreExecutors.directExecutor()); } private ListMonitoredResourceDescriptorsPagedResponse( @@ -1047,7 +1050,8 @@ public static ApiFuture createAsync( public ListLogsPagedResponse apply(ListLogsPage input) { return new ListLogsPagedResponse(input); } - }); + }, + MoreExecutors.directExecutor()); } private ListLogsPagedResponse(ListLogsPage page) { diff --git a/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/MetricsClient.java b/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/MetricsClient.java index 82b70a58f747..f72fb7fae008 100644 --- a/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/MetricsClient.java +++ b/google-cloud-clients/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/MetricsClient.java @@ -27,6 +27,7 @@ import com.google.api.gax.rpc.UnaryCallable; import com.google.cloud.logging.v2.stub.MetricsServiceV2Stub; import com.google.cloud.logging.v2.stub.MetricsServiceV2StubSettings; +import com.google.common.util.concurrent.MoreExecutors; import com.google.logging.v2.CreateLogMetricRequest; import com.google.logging.v2.DeleteLogMetricRequest; import com.google.logging.v2.GetLogMetricRequest; @@ -749,7 +750,8 @@ public static ApiFuture createAsync( public ListLogMetricsPagedResponse apply(ListLogMetricsPage input) { return new ListLogMetricsPagedResponse(input); } - }); + }, + MoreExecutors.directExecutor()); } private ListLogMetricsPagedResponse(ListLogMetricsPage page) { diff --git a/google-cloud-clients/google-cloud-logging/synth.metadata b/google-cloud-clients/google-cloud-logging/synth.metadata index 187ee79b23c1..a65f6d4fb48d 100644 --- a/google-cloud-clients/google-cloud-logging/synth.metadata +++ b/google-cloud-clients/google-cloud-logging/synth.metadata @@ -1,19 +1,19 @@ { - "updateTime": "2019-02-26T08:46:31.768482Z", + "updateTime": "2019-03-06T08:47:08.312966Z", "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": "29f098cb03a9983cc9cb15993de5da64419046f2", - "internalRef": "235621085" + "sha": "856117505ff9075b3e9c0b5674113667b6cf9e00", + "internalRef": "236931378" } } ],