diff --git a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/AlertPolicyServiceClient.java b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/AlertPolicyServiceClient.java index 8a1c87361b17..6a48c01fcb60 100644 --- a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/AlertPolicyServiceClient.java +++ b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/AlertPolicyServiceClient.java @@ -27,6 +27,7 @@ import com.google.api.gax.rpc.UnaryCallable; import com.google.cloud.monitoring.v3.stub.AlertPolicyServiceStub; import com.google.cloud.monitoring.v3.stub.AlertPolicyServiceStubSettings; +import com.google.common.util.concurrent.MoreExecutors; import com.google.monitoring.v3.AlertPolicy; import com.google.monitoring.v3.AlertPolicyName; import com.google.monitoring.v3.CreateAlertPolicyRequest; @@ -758,7 +759,8 @@ public static ApiFuture createAsync( public ListAlertPoliciesPagedResponse apply(ListAlertPoliciesPage input) { return new ListAlertPoliciesPagedResponse(input); } - }); + }, + MoreExecutors.directExecutor()); } private ListAlertPoliciesPagedResponse(ListAlertPoliciesPage page) { diff --git a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/GroupServiceClient.java b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/GroupServiceClient.java index 3badeb060a5a..f8d3578d0d06 100644 --- a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/GroupServiceClient.java +++ b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/GroupServiceClient.java @@ -28,6 +28,7 @@ import com.google.api.gax.rpc.UnaryCallable; import com.google.cloud.monitoring.v3.stub.GroupServiceStub; import com.google.cloud.monitoring.v3.stub.GroupServiceStubSettings; +import com.google.common.util.concurrent.MoreExecutors; import com.google.monitoring.v3.CreateGroupRequest; import com.google.monitoring.v3.DeleteGroupRequest; import com.google.monitoring.v3.GetGroupRequest; @@ -790,7 +791,8 @@ public static ApiFuture createAsync( public ListGroupsPagedResponse apply(ListGroupsPage input) { return new ListGroupsPagedResponse(input); } - }); + }, + MoreExecutors.directExecutor()); } private ListGroupsPagedResponse(ListGroupsPage page) { @@ -869,7 +871,8 @@ public static ApiFuture createAsync( public ListGroupMembersPagedResponse apply(ListGroupMembersPage input) { return new ListGroupMembersPagedResponse(input); } - }); + }, + MoreExecutors.directExecutor()); } private ListGroupMembersPagedResponse(ListGroupMembersPage page) { diff --git a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/MetricServiceClient.java b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/MetricServiceClient.java index a929908add2f..913183e33640 100644 --- a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/MetricServiceClient.java +++ b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/MetricServiceClient.java @@ -29,6 +29,7 @@ import com.google.api.gax.rpc.UnaryCallable; import com.google.cloud.monitoring.v3.stub.MetricServiceStub; import com.google.cloud.monitoring.v3.stub.MetricServiceStubSettings; +import com.google.common.util.concurrent.MoreExecutors; import com.google.monitoring.v3.CreateMetricDescriptorRequest; import com.google.monitoring.v3.CreateTimeSeriesRequest; import com.google.monitoring.v3.DeleteMetricDescriptorRequest; @@ -1239,7 +1240,8 @@ public ListMonitoredResourceDescriptorsPagedResponse apply( ListMonitoredResourceDescriptorsPage input) { return new ListMonitoredResourceDescriptorsPagedResponse(input); } - }); + }, + MoreExecutors.directExecutor()); } private ListMonitoredResourceDescriptorsPagedResponse( @@ -1337,7 +1339,8 @@ public static ApiFuture createAsync( public ListMetricDescriptorsPagedResponse apply(ListMetricDescriptorsPage input) { return new ListMetricDescriptorsPagedResponse(input); } - }); + }, + MoreExecutors.directExecutor()); } private ListMetricDescriptorsPagedResponse(ListMetricDescriptorsPage page) { @@ -1424,7 +1427,8 @@ public static ApiFuture createAsync( public ListTimeSeriesPagedResponse apply(ListTimeSeriesPage input) { return new ListTimeSeriesPagedResponse(input); } - }); + }, + MoreExecutors.directExecutor()); } private ListTimeSeriesPagedResponse(ListTimeSeriesPage page) { diff --git a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/NotificationChannelServiceClient.java b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/NotificationChannelServiceClient.java index 82b00915caa8..ec971fb6543c 100644 --- a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/NotificationChannelServiceClient.java +++ b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/NotificationChannelServiceClient.java @@ -27,6 +27,7 @@ import com.google.api.gax.rpc.UnaryCallable; import com.google.cloud.monitoring.v3.stub.NotificationChannelServiceStub; import com.google.cloud.monitoring.v3.stub.NotificationChannelServiceStubSettings; +import com.google.common.util.concurrent.MoreExecutors; import com.google.monitoring.v3.CreateNotificationChannelRequest; import com.google.monitoring.v3.DeleteNotificationChannelRequest; import com.google.monitoring.v3.GetNotificationChannelDescriptorRequest; @@ -1043,7 +1044,8 @@ public ListNotificationChannelDescriptorsPagedResponse apply( ListNotificationChannelDescriptorsPage input) { return new ListNotificationChannelDescriptorsPagedResponse(input); } - }); + }, + MoreExecutors.directExecutor()); } private ListNotificationChannelDescriptorsPagedResponse( @@ -1144,7 +1146,8 @@ public static ApiFuture createAsync( public ListNotificationChannelsPagedResponse apply(ListNotificationChannelsPage input) { return new ListNotificationChannelsPagedResponse(input); } - }); + }, + MoreExecutors.directExecutor()); } private ListNotificationChannelsPagedResponse(ListNotificationChannelsPage page) { diff --git a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/UptimeCheckServiceClient.java b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/UptimeCheckServiceClient.java index c812cdbc41c5..cfe1554df34f 100644 --- a/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/UptimeCheckServiceClient.java +++ b/google-cloud-clients/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/UptimeCheckServiceClient.java @@ -27,6 +27,7 @@ import com.google.api.gax.rpc.UnaryCallable; import com.google.cloud.monitoring.v3.stub.UptimeCheckServiceStub; import com.google.cloud.monitoring.v3.stub.UptimeCheckServiceStubSettings; +import com.google.common.util.concurrent.MoreExecutors; import com.google.monitoring.v3.CreateUptimeCheckConfigRequest; import com.google.monitoring.v3.DeleteUptimeCheckConfigRequest; import com.google.monitoring.v3.GetUptimeCheckConfigRequest; @@ -714,7 +715,8 @@ public static ApiFuture createAsync( public ListUptimeCheckConfigsPagedResponse apply(ListUptimeCheckConfigsPage input) { return new ListUptimeCheckConfigsPagedResponse(input); } - }); + }, + MoreExecutors.directExecutor()); } private ListUptimeCheckConfigsPagedResponse(ListUptimeCheckConfigsPage page) { @@ -804,7 +806,8 @@ public static ApiFuture createAsync( public ListUptimeCheckIpsPagedResponse apply(ListUptimeCheckIpsPage input) { return new ListUptimeCheckIpsPagedResponse(input); } - }); + }, + MoreExecutors.directExecutor()); } private ListUptimeCheckIpsPagedResponse(ListUptimeCheckIpsPage page) { diff --git a/google-cloud-clients/google-cloud-monitoring/synth.metadata b/google-cloud-clients/google-cloud-monitoring/synth.metadata index 3a6db89a9272..03c6c0e07a28 100644 --- a/google-cloud-clients/google-cloud-monitoring/synth.metadata +++ b/google-cloud-clients/google-cloud-monitoring/synth.metadata @@ -1,19 +1,19 @@ { - "updateTime": "2019-02-26T08:47:14.055530Z", + "updateTime": "2019-03-06T08:47:52.711546Z", "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" } } ],