From aabf27ae8b6a56bf17006014e7599d5ee3930bf4 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Mon, 13 Jun 2022 20:12:37 +0000 Subject: [PATCH] chore: Integrate new gapic-generator-java and rules_gapic (#866) - [ ] Regenerate this pull request now. PiperOrigin-RevId: 454027580 Source-Link: https://github.com/googleapis/googleapis/commit/1b222777baa702e7135610355706570ed2b56318 Source-Link: https://github.com/googleapis/googleapis-gen/commit/e04cea20d0d12eb5c3bdb360a9e72b654edcb638 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZTA0Y2VhMjBkMGQxMmViNWMzYmRiMzYwYTllNzJiNjU0ZWRjYjYzOCJ9 --- java-monitoring/README.md | 2 +- .../cloud/monitoring/v3/AlertPolicyServiceClient.java | 2 +- .../com/google/cloud/monitoring/v3/GroupServiceClient.java | 4 ++-- .../com/google/cloud/monitoring/v3/MetricServiceClient.java | 6 +++--- .../monitoring/v3/NotificationChannelServiceClient.java | 4 ++-- .../com/google/cloud/monitoring/v3/QueryServiceClient.java | 2 +- .../cloud/monitoring/v3/ServiceMonitoringServiceClient.java | 4 ++-- .../cloud/monitoring/v3/UptimeCheckServiceClient.java | 4 ++-- 8 files changed, 14 insertions(+), 14 deletions(-) diff --git a/java-monitoring/README.md b/java-monitoring/README.md index ff5fea93727c..e64fbd72a9f7 100644 --- a/java-monitoring/README.md +++ b/java-monitoring/README.md @@ -50,7 +50,7 @@ If you are using Maven without BOM, add this to your dependencies: If you are using Gradle 5.x or later, add this to your dependencies ```Groovy -implementation platform('com.google.cloud:libraries-bom:25.3.0') +implementation platform('com.google.cloud:libraries-bom:25.4.0') implementation 'com.google.cloud:google-cloud-monitoring' ``` diff --git a/java-monitoring/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/AlertPolicyServiceClient.java b/java-monitoring/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/AlertPolicyServiceClient.java index aa3894b196de..855c0be49493 100644 --- a/java-monitoring/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/AlertPolicyServiceClient.java +++ b/java-monitoring/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/AlertPolicyServiceClient.java @@ -387,7 +387,7 @@ public final ListAlertPoliciesPagedResponse listAlertPolicies(ListAlertPoliciesR * while (true) { * ListAlertPoliciesResponse response = * alertPolicyServiceClient.listAlertPoliciesCallable().call(request); - * for (AlertPolicy element : response.getResponsesList()) { + * for (AlertPolicy element : response.getAlertPoliciesList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); diff --git a/java-monitoring/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/GroupServiceClient.java b/java-monitoring/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/GroupServiceClient.java index 7fa3bea89c43..bc92cc523efb 100644 --- a/java-monitoring/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/GroupServiceClient.java +++ b/java-monitoring/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/GroupServiceClient.java @@ -356,7 +356,7 @@ public final UnaryCallable listGroup * .build(); * while (true) { * ListGroupsResponse response = groupServiceClient.listGroupsCallable().call(request); - * for (Group element : response.getResponsesList()) { + * for (Group element : response.getGroupList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); @@ -961,7 +961,7 @@ public final ListGroupMembersPagedResponse listGroupMembers(ListGroupMembersRequ * while (true) { * ListGroupMembersResponse response = * groupServiceClient.listGroupMembersCallable().call(request); - * for (MonitoredResource element : response.getResponsesList()) { + * for (MonitoredResource element : response.getMembersList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); diff --git a/java-monitoring/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/MetricServiceClient.java b/java-monitoring/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/MetricServiceClient.java index b617990575ca..71345973711d 100644 --- a/java-monitoring/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/MetricServiceClient.java +++ b/java-monitoring/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/MetricServiceClient.java @@ -390,7 +390,7 @@ public final ListMonitoredResourceDescriptorsPagedResponse listMonitoredResource * while (true) { * ListMonitoredResourceDescriptorsResponse response = * metricServiceClient.listMonitoredResourceDescriptorsCallable().call(request); - * for (MonitoredResourceDescriptor element : response.getResponsesList()) { + * for (MonitoredResourceDescriptor element : response.getResourceDescriptorsList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); @@ -735,7 +735,7 @@ public final ListMetricDescriptorsPagedResponse listMetricDescriptors( * while (true) { * ListMetricDescriptorsResponse response = * metricServiceClient.listMetricDescriptorsCallable().call(request); - * for (MetricDescriptor element : response.getResponsesList()) { + * for (MetricDescriptor element : response.getMetricDescriptorsList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); @@ -1477,7 +1477,7 @@ public final ListTimeSeriesPagedResponse listTimeSeries(ListTimeSeriesRequest re * while (true) { * ListTimeSeriesResponse response = * metricServiceClient.listTimeSeriesCallable().call(request); - * for (TimeSeries element : response.getResponsesList()) { + * for (TimeSeries element : response.getTimeSeriesList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); diff --git a/java-monitoring/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/NotificationChannelServiceClient.java b/java-monitoring/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/NotificationChannelServiceClient.java index 865aaf56e8c7..7bebfbcce916 100644 --- a/java-monitoring/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/NotificationChannelServiceClient.java +++ b/java-monitoring/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/NotificationChannelServiceClient.java @@ -428,7 +428,7 @@ public final ListNotificationChannelDescriptorsPagedResponse listNotificationCha * notificationChannelServiceClient * .listNotificationChannelDescriptorsCallable() * .call(request); - * for (NotificationChannelDescriptor element : response.getResponsesList()) { + * for (NotificationChannelDescriptor element : response.getChannelDescriptorsList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); @@ -810,7 +810,7 @@ public final ListNotificationChannelsPagedResponse listNotificationChannels( * while (true) { * ListNotificationChannelsResponse response = * notificationChannelServiceClient.listNotificationChannelsCallable().call(request); - * for (NotificationChannel element : response.getResponsesList()) { + * for (NotificationChannel element : response.getNotificationChannelsList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); diff --git a/java-monitoring/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/QueryServiceClient.java b/java-monitoring/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/QueryServiceClient.java index eca53195ae45..a6fb49b556b0 100644 --- a/java-monitoring/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/QueryServiceClient.java +++ b/java-monitoring/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/QueryServiceClient.java @@ -241,7 +241,7 @@ public final QueryTimeSeriesPagedResponse queryTimeSeries(QueryTimeSeriesRequest * while (true) { * QueryTimeSeriesResponse response = * queryServiceClient.queryTimeSeriesCallable().call(request); - * for (TimeSeriesData element : response.getResponsesList()) { + * for (TimeSeriesData element : response.getTimeSeriesDataList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); diff --git a/java-monitoring/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/ServiceMonitoringServiceClient.java b/java-monitoring/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/ServiceMonitoringServiceClient.java index f0c4ce96b2b1..b42804b84c77 100644 --- a/java-monitoring/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/ServiceMonitoringServiceClient.java +++ b/java-monitoring/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/ServiceMonitoringServiceClient.java @@ -674,7 +674,7 @@ public final ListServicesPagedResponse listServices(ListServicesRequest request) * while (true) { * ListServicesResponse response = * serviceMonitoringServiceClient.listServicesCallable().call(request); - * for (Service element : response.getResponsesList()) { + * for (Service element : response.getServicesList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); @@ -1276,7 +1276,7 @@ public final ListServiceLevelObjectivesPagedResponse listServiceLevelObjectives( * while (true) { * ListServiceLevelObjectivesResponse response = * serviceMonitoringServiceClient.listServiceLevelObjectivesCallable().call(request); - * for (ServiceLevelObjective element : response.getResponsesList()) { + * for (ServiceLevelObjective element : response.getServiceLevelObjectivesList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); diff --git a/java-monitoring/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/UptimeCheckServiceClient.java b/java-monitoring/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/UptimeCheckServiceClient.java index 3b251e337dd5..0f429916edf6 100644 --- a/java-monitoring/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/UptimeCheckServiceClient.java +++ b/java-monitoring/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/UptimeCheckServiceClient.java @@ -382,7 +382,7 @@ public final ListUptimeCheckConfigsPagedResponse listUptimeCheckConfigs( * while (true) { * ListUptimeCheckConfigsResponse response = * uptimeCheckServiceClient.listUptimeCheckConfigsCallable().call(request); - * for (UptimeCheckConfig element : response.getResponsesList()) { + * for (UptimeCheckConfig element : response.getUptimeCheckConfigsList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); @@ -987,7 +987,7 @@ public final ListUptimeCheckIpsPagedResponse listUptimeCheckIps( * while (true) { * ListUptimeCheckIpsResponse response = * uptimeCheckServiceClient.listUptimeCheckIpsCallable().call(request); - * for (UptimeCheckIp element : response.getResponsesList()) { + * for (UptimeCheckIp element : response.getUptimeCheckIpsList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken();