From bf23854f802b9089d425d81336e36bf7014e5149 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:15 +0000 Subject: [PATCH] chore(deps): upgrade gapic-generator-java to 2.8.0 and update gax-java to 2.18.1 (#1143) - [ ] 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 --- .../main/java/com/google/cloud/automl/v1/AutoMlClient.java | 4 ---- .../com/google/cloud/automl/v1/PredictionServiceClient.java | 4 ---- .../com/google/cloud/automl/v1/stub/AutoMlStubSettings.java | 1 - .../cloud/automl/v1/stub/PredictionServiceStubSettings.java | 1 - .../java/com/google/cloud/automl/v1beta1/AutoMlClient.java | 3 --- .../google/cloud/automl/v1beta1/PredictionServiceClient.java | 3 --- .../google/cloud/automl/v1beta1/stub/AutoMlStubSettings.java | 1 - .../automl/v1beta1/stub/PredictionServiceStubSettings.java | 1 - 8 files changed, 18 deletions(-) diff --git a/google-cloud-automl/src/main/java/com/google/cloud/automl/v1/AutoMlClient.java b/google-cloud-automl/src/main/java/com/google/cloud/automl/v1/AutoMlClient.java index 1158a8e75..4509b62a8 100644 --- a/google-cloud-automl/src/main/java/com/google/cloud/automl/v1/AutoMlClient.java +++ b/google-cloud-automl/src/main/java/com/google/cloud/automl/v1/AutoMlClient.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.longrunning.OperationFuture; import com.google.api.gax.paging.AbstractFixedSizeCollection; @@ -139,7 +138,6 @@ public static final AutoMlClient create(AutoMlSettings settings) throws IOExcept * Constructs an instance of AutoMlClient, using the given stub for making calls. This is for * advanced usage - prefer using create(AutoMlSettings). */ - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public static final AutoMlClient create(AutoMlStub stub) { return new AutoMlClient(stub); } @@ -154,7 +152,6 @@ protected AutoMlClient(AutoMlSettings settings) throws IOException { this.operationsClient = OperationsClient.create(this.stub.getOperationsStub()); } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") protected AutoMlClient(AutoMlStub stub) { this.settings = null; this.stub = stub; @@ -165,7 +162,6 @@ public final AutoMlSettings getSettings() { return settings; } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public AutoMlStub getStub() { return stub; } diff --git a/google-cloud-automl/src/main/java/com/google/cloud/automl/v1/PredictionServiceClient.java b/google-cloud-automl/src/main/java/com/google/cloud/automl/v1/PredictionServiceClient.java index f4307191d..b3032e530 100644 --- a/google-cloud-automl/src/main/java/com/google/cloud/automl/v1/PredictionServiceClient.java +++ b/google-cloud-automl/src/main/java/com/google/cloud/automl/v1/PredictionServiceClient.java @@ -16,7 +16,6 @@ package com.google.cloud.automl.v1; -import com.google.api.core.BetaApi; import com.google.api.gax.core.BackgroundResource; import com.google.api.gax.longrunning.OperationFuture; import com.google.api.gax.rpc.OperationCallable; @@ -128,7 +127,6 @@ public static final PredictionServiceClient create(PredictionServiceSettings set * Constructs an instance of PredictionServiceClient, using the given stub for making calls. This * is for advanced usage - prefer using create(PredictionServiceSettings). */ - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public static final PredictionServiceClient create(PredictionServiceStub stub) { return new PredictionServiceClient(stub); } @@ -144,7 +142,6 @@ protected PredictionServiceClient(PredictionServiceSettings settings) throws IOE this.operationsClient = OperationsClient.create(this.stub.getOperationsStub()); } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") protected PredictionServiceClient(PredictionServiceStub stub) { this.settings = null; this.stub = stub; @@ -155,7 +152,6 @@ public final PredictionServiceSettings getSettings() { return settings; } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public PredictionServiceStub getStub() { return stub; } diff --git a/google-cloud-automl/src/main/java/com/google/cloud/automl/v1/stub/AutoMlStubSettings.java b/google-cloud-automl/src/main/java/com/google/cloud/automl/v1/stub/AutoMlStubSettings.java index dff5da4fc..06996c634 100644 --- a/google-cloud-automl/src/main/java/com/google/cloud/automl/v1/stub/AutoMlStubSettings.java +++ b/google-cloud-automl/src/main/java/com/google/cloud/automl/v1/stub/AutoMlStubSettings.java @@ -490,7 +490,6 @@ public UnaryCallSettings exportModelSettings() { return listModelEvaluationsSettings; } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public AutoMlStub createStub() throws IOException { if (getTransportChannelProvider() .getTransportName() diff --git a/google-cloud-automl/src/main/java/com/google/cloud/automl/v1/stub/PredictionServiceStubSettings.java b/google-cloud-automl/src/main/java/com/google/cloud/automl/v1/stub/PredictionServiceStubSettings.java index 073957404..f959d9228 100644 --- a/google-cloud-automl/src/main/java/com/google/cloud/automl/v1/stub/PredictionServiceStubSettings.java +++ b/google-cloud-automl/src/main/java/com/google/cloud/automl/v1/stub/PredictionServiceStubSettings.java @@ -112,7 +112,6 @@ public UnaryCallSettings batchPredictSettings() return batchPredictOperationSettings; } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public PredictionServiceStub createStub() throws IOException { if (getTransportChannelProvider() .getTransportName() diff --git a/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/AutoMlClient.java b/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/AutoMlClient.java index 896bbcb47..3ec984e7c 100644 --- a/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/AutoMlClient.java +++ b/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/AutoMlClient.java @@ -140,7 +140,6 @@ public static final AutoMlClient create(AutoMlSettings settings) throws IOExcept * Constructs an instance of AutoMlClient, using the given stub for making calls. This is for * advanced usage - prefer using create(AutoMlSettings). */ - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public static final AutoMlClient create(AutoMlStub stub) { return new AutoMlClient(stub); } @@ -155,7 +154,6 @@ protected AutoMlClient(AutoMlSettings settings) throws IOException { this.operationsClient = OperationsClient.create(this.stub.getOperationsStub()); } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") protected AutoMlClient(AutoMlStub stub) { this.settings = null; this.stub = stub; @@ -166,7 +164,6 @@ public final AutoMlSettings getSettings() { return settings; } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public AutoMlStub getStub() { return stub; } diff --git a/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/PredictionServiceClient.java b/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/PredictionServiceClient.java index 16532065d..b99f4de1a 100644 --- a/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/PredictionServiceClient.java +++ b/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/PredictionServiceClient.java @@ -129,7 +129,6 @@ public static final PredictionServiceClient create(PredictionServiceSettings set * Constructs an instance of PredictionServiceClient, using the given stub for making calls. This * is for advanced usage - prefer using create(PredictionServiceSettings). */ - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public static final PredictionServiceClient create(PredictionServiceStub stub) { return new PredictionServiceClient(stub); } @@ -145,7 +144,6 @@ protected PredictionServiceClient(PredictionServiceSettings settings) throws IOE this.operationsClient = OperationsClient.create(this.stub.getOperationsStub()); } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") protected PredictionServiceClient(PredictionServiceStub stub) { this.settings = null; this.stub = stub; @@ -156,7 +154,6 @@ public final PredictionServiceSettings getSettings() { return settings; } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public PredictionServiceStub getStub() { return stub; } diff --git a/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/stub/AutoMlStubSettings.java b/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/stub/AutoMlStubSettings.java index ce5fb5f5a..c84c2772e 100644 --- a/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/stub/AutoMlStubSettings.java +++ b/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/stub/AutoMlStubSettings.java @@ -659,7 +659,6 @@ public UnaryCallSettings exportModelSettings() { return listModelEvaluationsSettings; } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public AutoMlStub createStub() throws IOException { if (getTransportChannelProvider() .getTransportName() diff --git a/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/stub/PredictionServiceStubSettings.java b/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/stub/PredictionServiceStubSettings.java index 7e4334a56..e8ef3bd90 100644 --- a/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/stub/PredictionServiceStubSettings.java +++ b/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/stub/PredictionServiceStubSettings.java @@ -113,7 +113,6 @@ public UnaryCallSettings batchPredictSettings() return batchPredictOperationSettings; } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public PredictionServiceStub createStub() throws IOException { if (getTransportChannelProvider() .getTransportName()