From 45d2993710e1aa7c58548a19cc783e527dfd800e Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Fri, 27 May 2022 04:08:36 +0000 Subject: [PATCH] chore(deps): upgrade gapic-generator-java to 2.8.0 and update gax-java to 2.18.1 (#856) - [ ] Regenerate this pull request now. PiperOrigin-RevId: 450543911 Source-Link: https://github.com/googleapis/googleapis/commit/55283447ab72f10b6c2571d770af0498b593e84f Source-Link: https://github.com/googleapis/googleapis-gen/commit/9f6775cab1958982b88967a43e5e806af0f135db Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiOWY2Nzc1Y2FiMTk1ODk4MmI4ODk2N2E0M2U1ZTgwNmFmMGYxMzVkYiJ9 --- .../google/cloud/monitoring/v3/AlertPolicyServiceClient.java | 4 ---- .../com/google/cloud/monitoring/v3/GroupServiceClient.java | 4 ---- .../com/google/cloud/monitoring/v3/MetricServiceClient.java | 4 ---- .../cloud/monitoring/v3/NotificationChannelServiceClient.java | 4 ---- .../com/google/cloud/monitoring/v3/QueryServiceClient.java | 4 ---- .../cloud/monitoring/v3/ServiceMonitoringServiceClient.java | 4 ---- .../google/cloud/monitoring/v3/UptimeCheckServiceClient.java | 4 ---- .../monitoring/v3/stub/AlertPolicyServiceStubSettings.java | 1 - .../cloud/monitoring/v3/stub/GroupServiceStubSettings.java | 1 - .../cloud/monitoring/v3/stub/MetricServiceStubSettings.java | 1 - .../v3/stub/NotificationChannelServiceStubSettings.java | 1 - .../cloud/monitoring/v3/stub/QueryServiceStubSettings.java | 1 - .../v3/stub/ServiceMonitoringServiceStubSettings.java | 1 - .../monitoring/v3/stub/UptimeCheckServiceStubSettings.java | 1 - 14 files changed, 35 deletions(-) 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 35e5f6cb7890..aa3894b196de 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 @@ -18,7 +18,6 @@ import com.google.api.core.ApiFuture; import com.google.api.core.ApiFutures; -import com.google.api.core.BetaApi; import com.google.api.gax.core.BackgroundResource; import com.google.api.gax.paging.AbstractFixedSizeCollection; import com.google.api.gax.paging.AbstractPage; @@ -144,7 +143,6 @@ public static final AlertPolicyServiceClient create(AlertPolicyServiceSettings s * Constructs an instance of AlertPolicyServiceClient, using the given stub for making calls. This * is for advanced usage - prefer using create(AlertPolicyServiceSettings). */ - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public static final AlertPolicyServiceClient create(AlertPolicyServiceStub stub) { return new AlertPolicyServiceClient(stub); } @@ -159,7 +157,6 @@ protected AlertPolicyServiceClient(AlertPolicyServiceSettings settings) throws I this.stub = ((AlertPolicyServiceStubSettings) settings.getStubSettings()).createStub(); } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") protected AlertPolicyServiceClient(AlertPolicyServiceStub stub) { this.settings = null; this.stub = stub; @@ -169,7 +166,6 @@ public final AlertPolicyServiceSettings getSettings() { return settings; } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public AlertPolicyServiceStub getStub() { return stub; } 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 ec57cf8fb190..7fa3bea89c43 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 @@ -19,7 +19,6 @@ import com.google.api.MonitoredResource; import com.google.api.core.ApiFuture; import com.google.api.core.ApiFutures; -import com.google.api.core.BetaApi; import com.google.api.gax.core.BackgroundResource; import com.google.api.gax.paging.AbstractFixedSizeCollection; import com.google.api.gax.paging.AbstractPage; @@ -144,7 +143,6 @@ public static final GroupServiceClient create(GroupServiceSettings settings) thr * Constructs an instance of GroupServiceClient, using the given stub for making calls. This is * for advanced usage - prefer using create(GroupServiceSettings). */ - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public static final GroupServiceClient create(GroupServiceStub stub) { return new GroupServiceClient(stub); } @@ -159,7 +157,6 @@ protected GroupServiceClient(GroupServiceSettings settings) throws IOException { this.stub = ((GroupServiceStubSettings) settings.getStubSettings()).createStub(); } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") protected GroupServiceClient(GroupServiceStub stub) { this.settings = null; this.stub = stub; @@ -169,7 +166,6 @@ public final GroupServiceSettings getSettings() { return settings; } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public GroupServiceStub getStub() { return stub; } 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 54453478b886..b617990575ca 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 @@ -20,7 +20,6 @@ import com.google.api.MonitoredResourceDescriptor; import com.google.api.core.ApiFuture; import com.google.api.core.ApiFutures; -import com.google.api.core.BetaApi; import com.google.api.gax.core.BackgroundResource; import com.google.api.gax.paging.AbstractFixedSizeCollection; import com.google.api.gax.paging.AbstractPage; @@ -147,7 +146,6 @@ public static final MetricServiceClient create(MetricServiceSettings settings) * Constructs an instance of MetricServiceClient, using the given stub for making calls. This is * for advanced usage - prefer using create(MetricServiceSettings). */ - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public static final MetricServiceClient create(MetricServiceStub stub) { return new MetricServiceClient(stub); } @@ -162,7 +160,6 @@ protected MetricServiceClient(MetricServiceSettings settings) throws IOException this.stub = ((MetricServiceStubSettings) settings.getStubSettings()).createStub(); } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") protected MetricServiceClient(MetricServiceStub stub) { this.settings = null; this.stub = stub; @@ -172,7 +169,6 @@ public final MetricServiceSettings getSettings() { return settings; } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public MetricServiceStub getStub() { return stub; } 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 02dd07ac8d1a..865aaf56e8c7 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 @@ -18,7 +18,6 @@ import com.google.api.core.ApiFuture; import com.google.api.core.ApiFutures; -import com.google.api.core.BetaApi; import com.google.api.gax.core.BackgroundResource; import com.google.api.gax.paging.AbstractFixedSizeCollection; import com.google.api.gax.paging.AbstractPage; @@ -153,7 +152,6 @@ public static final NotificationChannelServiceClient create( * Constructs an instance of NotificationChannelServiceClient, using the given stub for making * calls. This is for advanced usage - prefer using create(NotificationChannelServiceSettings). */ - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public static final NotificationChannelServiceClient create(NotificationChannelServiceStub stub) { return new NotificationChannelServiceClient(stub); } @@ -169,7 +167,6 @@ protected NotificationChannelServiceClient(NotificationChannelServiceSettings se this.stub = ((NotificationChannelServiceStubSettings) settings.getStubSettings()).createStub(); } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") protected NotificationChannelServiceClient(NotificationChannelServiceStub stub) { this.settings = null; this.stub = stub; @@ -179,7 +176,6 @@ public final NotificationChannelServiceSettings getSettings() { return settings; } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public NotificationChannelServiceStub getStub() { return stub; } 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 568e2001f8c1..eca53195ae45 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 @@ -18,7 +18,6 @@ import com.google.api.core.ApiFuture; import com.google.api.core.ApiFutures; -import com.google.api.core.BetaApi; import com.google.api.gax.core.BackgroundResource; import com.google.api.gax.paging.AbstractFixedSizeCollection; import com.google.api.gax.paging.AbstractPage; @@ -134,7 +133,6 @@ public static final QueryServiceClient create(QueryServiceSettings settings) thr * Constructs an instance of QueryServiceClient, using the given stub for making calls. This is * for advanced usage - prefer using create(QueryServiceSettings). */ - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public static final QueryServiceClient create(QueryServiceStub stub) { return new QueryServiceClient(stub); } @@ -149,7 +147,6 @@ protected QueryServiceClient(QueryServiceSettings settings) throws IOException { this.stub = ((QueryServiceStubSettings) settings.getStubSettings()).createStub(); } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") protected QueryServiceClient(QueryServiceStub stub) { this.settings = null; this.stub = stub; @@ -159,7 +156,6 @@ public final QueryServiceSettings getSettings() { return settings; } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public QueryServiceStub getStub() { return stub; } 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 c1474ece7139..f0c4ce96b2b1 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 @@ -18,7 +18,6 @@ import com.google.api.core.ApiFuture; import com.google.api.core.ApiFutures; -import com.google.api.core.BetaApi; import com.google.api.gax.core.BackgroundResource; import com.google.api.gax.paging.AbstractFixedSizeCollection; import com.google.api.gax.paging.AbstractPage; @@ -150,7 +149,6 @@ public static final ServiceMonitoringServiceClient create( * Constructs an instance of ServiceMonitoringServiceClient, using the given stub for making * calls. This is for advanced usage - prefer using create(ServiceMonitoringServiceSettings). */ - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public static final ServiceMonitoringServiceClient create(ServiceMonitoringServiceStub stub) { return new ServiceMonitoringServiceClient(stub); } @@ -166,7 +164,6 @@ protected ServiceMonitoringServiceClient(ServiceMonitoringServiceSettings settin this.stub = ((ServiceMonitoringServiceStubSettings) settings.getStubSettings()).createStub(); } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") protected ServiceMonitoringServiceClient(ServiceMonitoringServiceStub stub) { this.settings = null; this.stub = stub; @@ -176,7 +173,6 @@ public final ServiceMonitoringServiceSettings getSettings() { return settings; } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public ServiceMonitoringServiceStub getStub() { return stub; } 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 a9feaf683661..3b251e337dd5 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 @@ -18,7 +18,6 @@ import com.google.api.core.ApiFuture; import com.google.api.core.ApiFutures; -import com.google.api.core.BetaApi; import com.google.api.gax.core.BackgroundResource; import com.google.api.gax.paging.AbstractFixedSizeCollection; import com.google.api.gax.paging.AbstractPage; @@ -147,7 +146,6 @@ public static final UptimeCheckServiceClient create(UptimeCheckServiceSettings s * Constructs an instance of UptimeCheckServiceClient, using the given stub for making calls. This * is for advanced usage - prefer using create(UptimeCheckServiceSettings). */ - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public static final UptimeCheckServiceClient create(UptimeCheckServiceStub stub) { return new UptimeCheckServiceClient(stub); } @@ -162,7 +160,6 @@ protected UptimeCheckServiceClient(UptimeCheckServiceSettings settings) throws I this.stub = ((UptimeCheckServiceStubSettings) settings.getStubSettings()).createStub(); } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") protected UptimeCheckServiceClient(UptimeCheckServiceStub stub) { this.settings = null; this.stub = stub; @@ -172,7 +169,6 @@ public final UptimeCheckServiceSettings getSettings() { return settings; } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public UptimeCheckServiceStub getStub() { return stub; } diff --git a/java-monitoring/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/AlertPolicyServiceStubSettings.java b/java-monitoring/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/AlertPolicyServiceStubSettings.java index ecf7338ff385..b3bbdcdaa674 100644 --- a/java-monitoring/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/AlertPolicyServiceStubSettings.java +++ b/java-monitoring/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/AlertPolicyServiceStubSettings.java @@ -198,7 +198,6 @@ public UnaryCallSettings updateAlertPolic return updateAlertPolicySettings; } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public AlertPolicyServiceStub createStub() throws IOException { if (getTransportChannelProvider() .getTransportName() diff --git a/java-monitoring/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GroupServiceStubSettings.java b/java-monitoring/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GroupServiceStubSettings.java index 2d895e388148..c8e60781a585 100644 --- a/java-monitoring/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GroupServiceStubSettings.java +++ b/java-monitoring/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GroupServiceStubSettings.java @@ -260,7 +260,6 @@ public UnaryCallSettings deleteGroupSettings() { return listGroupMembersSettings; } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public GroupServiceStub createStub() throws IOException { if (getTransportChannelProvider() .getTransportName() diff --git a/java-monitoring/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/MetricServiceStubSettings.java b/java-monitoring/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/MetricServiceStubSettings.java index ef6b8d3dc403..16598cdca86b 100644 --- a/java-monitoring/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/MetricServiceStubSettings.java +++ b/java-monitoring/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/MetricServiceStubSettings.java @@ -396,7 +396,6 @@ public UnaryCallSettings createServiceTimeSeries return createServiceTimeSeriesSettings; } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public MetricServiceStub createStub() throws IOException { if (getTransportChannelProvider() .getTransportName() diff --git a/java-monitoring/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/NotificationChannelServiceStubSettings.java b/java-monitoring/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/NotificationChannelServiceStubSettings.java index 6ebd6368f4de..2d3c3ef748f5 100644 --- a/java-monitoring/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/NotificationChannelServiceStubSettings.java +++ b/java-monitoring/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/NotificationChannelServiceStubSettings.java @@ -371,7 +371,6 @@ public ApiFuture getFuturePagedResponse( return verifyNotificationChannelSettings; } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public NotificationChannelServiceStub createStub() throws IOException { if (getTransportChannelProvider() .getTransportName() diff --git a/java-monitoring/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/QueryServiceStubSettings.java b/java-monitoring/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/QueryServiceStubSettings.java index 3ae578d36e09..6bc7edac9b08 100644 --- a/java-monitoring/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/QueryServiceStubSettings.java +++ b/java-monitoring/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/QueryServiceStubSettings.java @@ -165,7 +165,6 @@ public ApiFuture getFuturePagedResponse( return queryTimeSeriesSettings; } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public QueryServiceStub createStub() throws IOException { if (getTransportChannelProvider() .getTransportName() diff --git a/java-monitoring/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/ServiceMonitoringServiceStubSettings.java b/java-monitoring/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/ServiceMonitoringServiceStubSettings.java index fc32e4b9a59e..ea1b600b216e 100644 --- a/java-monitoring/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/ServiceMonitoringServiceStubSettings.java +++ b/java-monitoring/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/ServiceMonitoringServiceStubSettings.java @@ -321,7 +321,6 @@ public UnaryCallSettings deleteServiceSettings() { return deleteServiceLevelObjectiveSettings; } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public ServiceMonitoringServiceStub createStub() throws IOException { if (getTransportChannelProvider() .getTransportName() diff --git a/java-monitoring/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/UptimeCheckServiceStubSettings.java b/java-monitoring/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/UptimeCheckServiceStubSettings.java index 30c7f1449b6b..fe46cea9b5f4 100644 --- a/java-monitoring/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/UptimeCheckServiceStubSettings.java +++ b/java-monitoring/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/UptimeCheckServiceStubSettings.java @@ -294,7 +294,6 @@ public ApiFuture getFuturePagedResponse( return listUptimeCheckIpsSettings; } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public UptimeCheckServiceStub createStub() throws IOException { if (getTransportChannelProvider() .getTransportName()