From f208336bf454fd8b2c35401612dd448060b2802b Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 26 Jun 2020 07:25:21 +0200 Subject: [PATCH 1/9] chore(deps): update dependency com.google.cloud:libraries-bom to v8 (#67) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | major | `7.0.2` -> `8.0.0` | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-bigqueryconnection). --- samples/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index 4cf5deda..7b3b8198 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -28,7 +28,7 @@ com.google.cloud libraries-bom - 7.0.2 + 8.0.0 pom import From a68422c7bc64169c18263417a89d68ddf8cde8d7 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 26 Jun 2020 07:34:18 +0200 Subject: [PATCH 2/9] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v0.9.0 (#68) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | minor | `0.8.1` -> `0.9.0` | --- ### Release Notes
googleapis/java-shared-config ### [`v0.9.0`](https://togithub.com/googleapis/java-shared-config/blob/master/CHANGELOG.md#​090-httpswwwgithubcomgoogleapisjava-shared-configcomparev081v090-2020-06-25) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v0.8.1...v0.9.0) ##### Features - add ignore rule for javax annotations to handle error in java11 ([#​171](https://www.github.com/googleapis/java-shared-config/issues/171)) ([cd635ad](https://www.github.com/googleapis/java-shared-config/commit/cd635ad6e8e5d71ac3a30e7656eb788027f1c370)) ##### [0.8.1](https://www.github.com/googleapis/java-shared-config/compare/v0.8.0...v0.8.1) (2020-06-15) ##### Bug Fixes - bump flatten plugin version to fix missing version in profile section issue ([#​159](https://www.github.com/googleapis/java-shared-config/issues/159)) ([5b34939](https://www.github.com/googleapis/java-shared-config/commit/5b349399a590b589718b7049f66c82ee38742372))
--- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-bigqueryconnection). --- google-cloud-bigqueryconnection-bom/pom.xml | 2 +- pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/google-cloud-bigqueryconnection-bom/pom.xml b/google-cloud-bigqueryconnection-bom/pom.xml index 10e12d2e..9321edce 100644 --- a/google-cloud-bigqueryconnection-bom/pom.xml +++ b/google-cloud-bigqueryconnection-bom/pom.xml @@ -8,7 +8,7 @@ com.google.cloud google-cloud-shared-config - 0.8.1 + 0.9.0 Google Cloud BigQuery Connections BOM diff --git a/pom.xml b/pom.xml index fcdbd37a..967a0bed 100644 --- a/pom.xml +++ b/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 0.8.1 + 0.9.0 From 70cec5026dfa8f37a32b42ec4112d49e64f9f73b Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 26 Jun 2020 06:34:31 +0000 Subject: [PATCH 3/9] chore: release 0.2.1-SNAPSHOT (#69) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- google-cloud-bigqueryconnection-bom/pom.xml | 12 ++++++------ google-cloud-bigqueryconnection/pom.xml | 4 ++-- grpc-google-cloud-bigqueryconnection-v1/pom.xml | 4 ++-- grpc-google-cloud-bigqueryconnection-v1beta1/pom.xml | 4 ++-- pom.xml | 12 ++++++------ proto-google-cloud-bigqueryconnection-v1/pom.xml | 4 ++-- .../pom.xml | 4 ++-- samples/snapshot/pom.xml | 2 +- versions.txt | 10 +++++----- 9 files changed, 28 insertions(+), 28 deletions(-) diff --git a/google-cloud-bigqueryconnection-bom/pom.xml b/google-cloud-bigqueryconnection-bom/pom.xml index 9321edce..289da407 100644 --- a/google-cloud-bigqueryconnection-bom/pom.xml +++ b/google-cloud-bigqueryconnection-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-bigqueryconnection-bom - 0.2.0 + 0.2.1-SNAPSHOT pom com.google.cloud @@ -64,27 +64,27 @@ com.google.cloud google-cloud-bigqueryconnection - 0.2.0 + 0.2.1-SNAPSHOT com.google.api.grpc proto-google-cloud-bigqueryconnection-v1 - 0.2.0 + 0.2.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-bigqueryconnection-v1 - 0.2.0 + 0.2.1-SNAPSHOT com.google.api.grpc proto-google-cloud-bigqueryconnection-v1beta1 - 0.2.0 + 0.2.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-bigqueryconnection-v1beta1 - 0.2.0 + 0.2.1-SNAPSHOT diff --git a/google-cloud-bigqueryconnection/pom.xml b/google-cloud-bigqueryconnection/pom.xml index 158dacc9..42e2ae49 100644 --- a/google-cloud-bigqueryconnection/pom.xml +++ b/google-cloud-bigqueryconnection/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-bigqueryconnection - 0.2.0 + 0.2.1-SNAPSHOT jar Google Cloud BigQuery Connections https://github.com/googleapis/java-bigqueryconnection @@ -11,7 +11,7 @@ com.google.cloud google-cloud-bigqueryconnection-parent - 0.2.0 + 0.2.1-SNAPSHOT google-cloud-bigqueryconnection diff --git a/grpc-google-cloud-bigqueryconnection-v1/pom.xml b/grpc-google-cloud-bigqueryconnection-v1/pom.xml index b09a90e4..bf393993 100644 --- a/grpc-google-cloud-bigqueryconnection-v1/pom.xml +++ b/grpc-google-cloud-bigqueryconnection-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-bigqueryconnection-v1 - 0.2.0 + 0.2.1-SNAPSHOT grpc-google-cloud-bigqueryconnection-v1 GRPC library for grpc-google-cloud-bigqueryconnection-v1 com.google.cloud google-cloud-bigqueryconnection-parent - 0.2.0 + 0.2.1-SNAPSHOT diff --git a/grpc-google-cloud-bigqueryconnection-v1beta1/pom.xml b/grpc-google-cloud-bigqueryconnection-v1beta1/pom.xml index 5ca3c91d..bc75c9cd 100644 --- a/grpc-google-cloud-bigqueryconnection-v1beta1/pom.xml +++ b/grpc-google-cloud-bigqueryconnection-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-bigqueryconnection-v1beta1 - 0.2.0 + 0.2.1-SNAPSHOT grpc-google-cloud-bigqueryconnection-v1beta1 GRPC library for grpc-google-cloud-bigqueryconnection-v1beta1 com.google.cloud google-cloud-bigqueryconnection-parent - 0.2.0 + 0.2.1-SNAPSHOT diff --git a/pom.xml b/pom.xml index 967a0bed..b0561848 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-bigqueryconnection-parent pom - 0.2.0 + 0.2.1-SNAPSHOT Google Cloud BigQuery Connections Parent https://github.com/googleapis/java-bigqueryconnection @@ -70,27 +70,27 @@ com.google.cloud google-cloud-bigqueryconnection - 0.2.0 + 0.2.1-SNAPSHOT com.google.api.grpc proto-google-cloud-bigqueryconnection-v1 - 0.2.0 + 0.2.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-bigqueryconnection-v1 - 0.2.0 + 0.2.1-SNAPSHOT com.google.api.grpc proto-google-cloud-bigqueryconnection-v1beta1 - 0.2.0 + 0.2.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-bigqueryconnection-v1beta1 - 0.2.0 + 0.2.1-SNAPSHOT diff --git a/proto-google-cloud-bigqueryconnection-v1/pom.xml b/proto-google-cloud-bigqueryconnection-v1/pom.xml index ef73ea42..91a778ac 100644 --- a/proto-google-cloud-bigqueryconnection-v1/pom.xml +++ b/proto-google-cloud-bigqueryconnection-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-bigqueryconnection-v1 - 0.2.0 + 0.2.1-SNAPSHOT proto-google-cloud-bigqueryconnection-v1 PROTO library for proto-google-cloud-bigqueryconnection-v1 com.google.cloud google-cloud-bigqueryconnection-parent - 0.2.0 + 0.2.1-SNAPSHOT diff --git a/proto-google-cloud-bigqueryconnection-v1beta1/pom.xml b/proto-google-cloud-bigqueryconnection-v1beta1/pom.xml index def58ec8..4aae8114 100644 --- a/proto-google-cloud-bigqueryconnection-v1beta1/pom.xml +++ b/proto-google-cloud-bigqueryconnection-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-bigqueryconnection-v1beta1 - 0.2.0 + 0.2.1-SNAPSHOT proto-google-cloud-bigqueryconnection-v1beta1 PROTO library for proto-google-cloud-bigqueryconnection-v1beta1 com.google.cloud google-cloud-bigqueryconnection-parent - 0.2.0 + 0.2.1-SNAPSHOT diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 151f60aa..9dbeff34 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -28,7 +28,7 @@ com.google.cloud google-cloud-bigqueryconnection - 0.2.0 + 0.2.1-SNAPSHOT diff --git a/versions.txt b/versions.txt index e48c5a86..111c6e39 100644 --- a/versions.txt +++ b/versions.txt @@ -1,8 +1,8 @@ # Format: # module:released-version:current-version -google-cloud-bigqueryconnection:0.2.0:0.2.0 -proto-google-cloud-bigqueryconnection-v1:0.2.0:0.2.0 -grpc-google-cloud-bigqueryconnection-v1:0.2.0:0.2.0 -proto-google-cloud-bigqueryconnection-v1beta1:0.2.0:0.2.0 -grpc-google-cloud-bigqueryconnection-v1beta1:0.2.0:0.2.0 \ No newline at end of file +google-cloud-bigqueryconnection:0.2.0:0.2.1-SNAPSHOT +proto-google-cloud-bigqueryconnection-v1:0.2.0:0.2.1-SNAPSHOT +grpc-google-cloud-bigqueryconnection-v1:0.2.0:0.2.1-SNAPSHOT +proto-google-cloud-bigqueryconnection-v1beta1:0.2.0:0.2.1-SNAPSHOT +grpc-google-cloud-bigqueryconnection-v1beta1:0.2.0:0.2.1-SNAPSHOT \ No newline at end of file From 75d63e4d69e181c8d389cec320dcb3f433ddaf05 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Fri, 26 Jun 2020 08:54:50 -0700 Subject: [PATCH 4/9] chore: update template (#70) autosynth cannot find the source of changes triggered by earlier changes in this repository, or by version upgrades to tools such as linters. --- README.md | 4 ++-- synth.metadata | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 292d568d..bb96c4b6 100644 --- a/README.md +++ b/README.md @@ -29,11 +29,11 @@ If you are using Maven, add this to your pom.xml file: If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-bigqueryconnection:0.2.0' +compile 'com.google.cloud:google-cloud-bigqueryconnection:0.1.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-bigqueryconnection" % "0.2.0" +libraryDependencies += "com.google.cloud" % "google-cloud-bigqueryconnection" % "0.1.0" ``` [//]: # ({x-version-update-end}) diff --git a/synth.metadata b/synth.metadata index b5ad4d1d..8ad5ca23 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-bigqueryconnection.git", - "sha": "2b2f45d4475c04a32ab5ade53192b1589290bb6b" + "sha": "70cec5026dfa8f37a32b42ec4112d49e64f9f73b" } }, { From b3b3129554c0933e36cd1ac37318889015aa50c4 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 1 Jul 2020 21:07:39 +0200 Subject: [PATCH 5/9] deps: update dependency com.google.cloud:google-cloud-shared-dependencies to v0.8.2 (#72) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:google-cloud-shared-dependencies](https://togithub.com/googleapis/java-shared-dependencies) | patch | `0.8.1` -> `0.8.2` | --- ### Release Notes
googleapis/java-shared-dependencies ### [`v0.8.2`](https://togithub.com/googleapis/java-shared-dependencies/blob/master/CHANGELOG.md#​082-httpswwwgithubcomgoogleapisjava-shared-dependenciescomparev081v082-2020-07-01) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v0.8.1...v0.8.2)
--- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-bigqueryconnection). --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index b0561848..bb69c05e 100644 --- a/pom.xml +++ b/pom.xml @@ -96,7 +96,7 @@ com.google.cloud google-cloud-shared-dependencies - 0.8.1 + 0.8.2 pom import From 0c37cf328bf0e40e8fcb74416049b591e4e7d73e Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 7 Jul 2020 21:20:49 +0200 Subject: [PATCH 6/9] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v0.9.2 (#75) --- google-cloud-bigqueryconnection-bom/pom.xml | 2 +- pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/google-cloud-bigqueryconnection-bom/pom.xml b/google-cloud-bigqueryconnection-bom/pom.xml index 289da407..24752070 100644 --- a/google-cloud-bigqueryconnection-bom/pom.xml +++ b/google-cloud-bigqueryconnection-bom/pom.xml @@ -8,7 +8,7 @@ com.google.cloud google-cloud-shared-config - 0.9.0 + 0.9.2 Google Cloud BigQuery Connections BOM diff --git a/pom.xml b/pom.xml index bb69c05e..3f470c93 100644 --- a/pom.xml +++ b/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 0.9.0 + 0.9.2 From 8ce50d09538a646dbbea6199767b3678a4ba3b9f Mon Sep 17 00:00:00 2001 From: Stephanie Wang Date: Tue, 7 Jul 2020 15:44:45 -0400 Subject: [PATCH 7/9] ci(java): run dependency test on Java 8 and 11 (#76) * ci(java): run dependency test on Java 8 and 11 Redo fix in #633 with proper jinja templating format Source-Author: Jeff Ching Source-Date: Fri Jun 19 16:52:15 2020 -0700 Source-Repo: googleapis/synthtool Source-Sha: 4f2c9f752a94042472fc03c5bd9e06e89817d2bd Source-Link: https://github.com/googleapis/synthtool/commit/4f2c9f752a94042472fc03c5bd9e06e89817d2bd * remove unused profiles Co-authored-by: yoshi-automation --- .github/workflows/ci.yaml | 5 ++++- .kokoro/dependencies.sh | 4 +++- google-cloud-bigqueryconnection/pom.xml | 15 --------------- grpc-google-cloud-bigqueryconnection-v1/pom.xml | 15 --------------- .../pom.xml | 15 --------------- synth.metadata | 12 ++++++------ 6 files changed, 13 insertions(+), 53 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 445b4bf8..68302207 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -36,11 +36,14 @@ jobs: JOB_TYPE: test dependencies: runs-on: ubuntu-latest + strategy: + matrix: + java: [8, 11] steps: - uses: actions/checkout@v2 - uses: actions/setup-java@v1 with: - java-version: 8 + java-version: ${{matrix.java}} - run: java -version - run: .kokoro/dependencies.sh linkage-monitor: diff --git a/.kokoro/dependencies.sh b/.kokoro/dependencies.sh index cf3bb434..cee4f11e 100755 --- a/.kokoro/dependencies.sh +++ b/.kokoro/dependencies.sh @@ -41,8 +41,10 @@ echo "****************** DEPENDENCY LIST COMPLETENESS CHECK *******************" ## Run dependency list completeness check function completenessCheck() { # Output dep list with compile scope generated using the original pom + # Running mvn dependency:list on Java versions that support modules will also include the module of the dependency. + # This is stripped from the output as it is not present in the flattened pom. msg "Generating dependency list using original pom..." - mvn dependency:list -f pom.xml -Dsort=true | grep '\[INFO] .*:.*:.*:.*:.*' | grep -v ':test$' >.org-list.txt + mvn dependency:list -f pom.xml -Dsort=true | grep '\[INFO] .*:.*:.*:.*:.*' | sed -e s/\\s--\\smodule.*// | grep -v ':test$' >.org-list.txt # Output dep list generated using the flattened pom (test scope deps are ommitted) msg "Generating dependency list using flattened pom..." diff --git a/google-cloud-bigqueryconnection/pom.xml b/google-cloud-bigqueryconnection/pom.xml index 42e2ae49..a6a5f456 100644 --- a/google-cloud-bigqueryconnection/pom.xml +++ b/google-cloud-bigqueryconnection/pom.xml @@ -97,21 +97,6 @@
- - - java9 - - [9,) - - - - javax.annotation - javax.annotation-api - - - - - diff --git a/grpc-google-cloud-bigqueryconnection-v1/pom.xml b/grpc-google-cloud-bigqueryconnection-v1/pom.xml index bf393993..db900918 100644 --- a/grpc-google-cloud-bigqueryconnection-v1/pom.xml +++ b/grpc-google-cloud-bigqueryconnection-v1/pom.xml @@ -43,21 +43,6 @@
- - - java9 - - [9,) - - - - javax.annotation - javax.annotation-api - - - - - diff --git a/grpc-google-cloud-bigqueryconnection-v1beta1/pom.xml b/grpc-google-cloud-bigqueryconnection-v1beta1/pom.xml index bc75c9cd..e2187d5b 100644 --- a/grpc-google-cloud-bigqueryconnection-v1beta1/pom.xml +++ b/grpc-google-cloud-bigqueryconnection-v1beta1/pom.xml @@ -43,21 +43,6 @@
- - - java9 - - [9,) - - - - javax.annotation - javax.annotation-api - - - - - diff --git a/synth.metadata b/synth.metadata index 8ad5ca23..508024ca 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,30 +4,30 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-bigqueryconnection.git", - "sha": "70cec5026dfa8f37a32b42ec4112d49e64f9f73b" + "sha": "75d63e4d69e181c8d389cec320dcb3f433ddaf05" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "163aa04ede887024d245ab2c6af2528d9460bb9c", - "internalRef": "317204502" + "sha": "79a17b8c64efa7bafff0a16b467754c73d570b6e", + "internalRef": "317385359" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "163aa04ede887024d245ab2c6af2528d9460bb9c", - "internalRef": "317204502" + "sha": "79a17b8c64efa7bafff0a16b467754c73d570b6e", + "internalRef": "317385359" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "c4f3059c27591eb24d6942a0e357ec94c80459f2" + "sha": "4f2c9f752a94042472fc03c5bd9e06e89817d2bd" } } ], From 2d47c35289889de83d84b2b8fafd5edee11e553f Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Thu, 9 Jul 2020 09:12:35 -0700 Subject: [PATCH 8/9] feat: proto updates (#78) * fix: migrate bq/connection/v1beta1 to grpc_service_config PiperOrigin-RevId: 320216738 Source-Author: Google APIs Source-Date: Wed Jul 8 10:33:41 2020 -0700 Source-Repo: googleapis/googleapis Source-Sha: f0919d48d5fcbfd2d2e30ad3fe6ad7ea2685efc5 Source-Link: https://github.com/googleapis/googleapis/commit/f0919d48d5fcbfd2d2e30ad3fe6ad7ea2685efc5 * fix: migrate bq/connection/v1 to grpc_service_config PiperOrigin-RevId: 320217000 Source-Author: Google APIs Source-Date: Wed Jul 8 10:34:46 2020 -0700 Source-Repo: googleapis/googleapis Source-Sha: c4ed5e8114b75a84929aa146a72e9e75a4027c8d Source-Link: https://github.com/googleapis/googleapis/commit/c4ed5e8114b75a84929aa146a72e9e75a4027c8d --- .../v1beta1/ConnectionServiceClient.java | 186 +++++++++--------- .../v1beta1/ConnectionServiceSettings.java | 26 +-- .../connection/v1beta1/package-info.java | 6 +- .../v1beta1/stub/ConnectionServiceStub.java | 8 +- .../stub/ConnectionServiceStubSettings.java | 110 ++++++----- .../stub/GrpcConnectionServiceStub.java | 62 +++--- .../stub/ConnectionServiceStubSettings.java | 56 +++--- .../v1beta1/ConnectionServiceClientTest.java | 74 +++---- synth.metadata | 10 +- 9 files changed, 283 insertions(+), 255 deletions(-) diff --git a/google-cloud-bigqueryconnection/src/main/java/com/google/cloud/bigquery/connection/v1beta1/ConnectionServiceClient.java b/google-cloud-bigqueryconnection/src/main/java/com/google/cloud/bigquery/connection/v1beta1/ConnectionServiceClient.java index 2979c91f..2dc04fff 100644 --- a/google-cloud-bigqueryconnection/src/main/java/com/google/cloud/bigquery/connection/v1beta1/ConnectionServiceClient.java +++ b/google-cloud-bigqueryconnection/src/main/java/com/google/cloud/bigquery/connection/v1beta1/ConnectionServiceClient.java @@ -54,8 +54,10 @@ *
  * 
  * try (ConnectionServiceClient connectionServiceClient = ConnectionServiceClient.create()) {
- *   ConnectionName name = ConnectionName.of("[PROJECT]", "[LOCATION]", "[CONNECTION]");
- *   connectionServiceClient.deleteConnection(name);
+ *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
+ *   Connection connection = Connection.newBuilder().build();
+ *   String connectionId = "";
+ *   Connection response = connectionServiceClient.createConnection(parent, connection, connectionId);
  * }
  * 
  * 
@@ -165,96 +167,6 @@ public ConnectionServiceStub getStub() { return stub; } - // AUTO-GENERATED DOCUMENTATION AND METHOD - /** - * Deletes connection and associated credential. - * - *

Sample code: - * - *


-   * try (ConnectionServiceClient connectionServiceClient = ConnectionServiceClient.create()) {
-   *   ConnectionName name = ConnectionName.of("[PROJECT]", "[LOCATION]", "[CONNECTION]");
-   *   connectionServiceClient.deleteConnection(name);
-   * }
-   * 
- * - * @param name Required. Name of the deleted connection, for example: - * `projects/{project_id}/locations/{location_id}/connections/{connection_id}` - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final void deleteConnection(ConnectionName name) { - DeleteConnectionRequest request = - DeleteConnectionRequest.newBuilder().setName(name == null ? null : name.toString()).build(); - deleteConnection(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD - /** - * Deletes connection and associated credential. - * - *

Sample code: - * - *


-   * try (ConnectionServiceClient connectionServiceClient = ConnectionServiceClient.create()) {
-   *   ConnectionName name = ConnectionName.of("[PROJECT]", "[LOCATION]", "[CONNECTION]");
-   *   connectionServiceClient.deleteConnection(name.toString());
-   * }
-   * 
- * - * @param name Required. Name of the deleted connection, for example: - * `projects/{project_id}/locations/{location_id}/connections/{connection_id}` - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final void deleteConnection(String name) { - DeleteConnectionRequest request = DeleteConnectionRequest.newBuilder().setName(name).build(); - deleteConnection(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD - /** - * Deletes connection and associated credential. - * - *

Sample code: - * - *


-   * try (ConnectionServiceClient connectionServiceClient = ConnectionServiceClient.create()) {
-   *   ConnectionName name = ConnectionName.of("[PROJECT]", "[LOCATION]", "[CONNECTION]");
-   *   DeleteConnectionRequest request = DeleteConnectionRequest.newBuilder()
-   *     .setName(name.toString())
-   *     .build();
-   *   connectionServiceClient.deleteConnection(request);
-   * }
-   * 
- * - * @param request The request object containing all of the parameters for the API call. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final void deleteConnection(DeleteConnectionRequest request) { - deleteConnectionCallable().call(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD - /** - * Deletes connection and associated credential. - * - *

Sample code: - * - *


-   * try (ConnectionServiceClient connectionServiceClient = ConnectionServiceClient.create()) {
-   *   ConnectionName name = ConnectionName.of("[PROJECT]", "[LOCATION]", "[CONNECTION]");
-   *   DeleteConnectionRequest request = DeleteConnectionRequest.newBuilder()
-   *     .setName(name.toString())
-   *     .build();
-   *   ApiFuture<Void> future = connectionServiceClient.deleteConnectionCallable().futureCall(request);
-   *   // Do something
-   *   future.get();
-   * }
-   * 
- */ - public final UnaryCallable deleteConnectionCallable() { - return stub.deleteConnectionCallable(); - } - // AUTO-GENERATED DOCUMENTATION AND METHOD /** * Creates a new connection. @@ -761,6 +673,96 @@ public final void updateConnectionCredential(UpdateConnectionCredentialRequest r return stub.updateConnectionCredentialCallable(); } + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Deletes connection and associated credential. + * + *

Sample code: + * + *


+   * try (ConnectionServiceClient connectionServiceClient = ConnectionServiceClient.create()) {
+   *   ConnectionName name = ConnectionName.of("[PROJECT]", "[LOCATION]", "[CONNECTION]");
+   *   connectionServiceClient.deleteConnection(name);
+   * }
+   * 
+ * + * @param name Required. Name of the deleted connection, for example: + * `projects/{project_id}/locations/{location_id}/connections/{connection_id}` + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteConnection(ConnectionName name) { + DeleteConnectionRequest request = + DeleteConnectionRequest.newBuilder().setName(name == null ? null : name.toString()).build(); + deleteConnection(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Deletes connection and associated credential. + * + *

Sample code: + * + *


+   * try (ConnectionServiceClient connectionServiceClient = ConnectionServiceClient.create()) {
+   *   ConnectionName name = ConnectionName.of("[PROJECT]", "[LOCATION]", "[CONNECTION]");
+   *   connectionServiceClient.deleteConnection(name.toString());
+   * }
+   * 
+ * + * @param name Required. Name of the deleted connection, for example: + * `projects/{project_id}/locations/{location_id}/connections/{connection_id}` + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteConnection(String name) { + DeleteConnectionRequest request = DeleteConnectionRequest.newBuilder().setName(name).build(); + deleteConnection(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Deletes connection and associated credential. + * + *

Sample code: + * + *


+   * try (ConnectionServiceClient connectionServiceClient = ConnectionServiceClient.create()) {
+   *   ConnectionName name = ConnectionName.of("[PROJECT]", "[LOCATION]", "[CONNECTION]");
+   *   DeleteConnectionRequest request = DeleteConnectionRequest.newBuilder()
+   *     .setName(name.toString())
+   *     .build();
+   *   connectionServiceClient.deleteConnection(request);
+   * }
+   * 
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteConnection(DeleteConnectionRequest request) { + deleteConnectionCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Deletes connection and associated credential. + * + *

Sample code: + * + *


+   * try (ConnectionServiceClient connectionServiceClient = ConnectionServiceClient.create()) {
+   *   ConnectionName name = ConnectionName.of("[PROJECT]", "[LOCATION]", "[CONNECTION]");
+   *   DeleteConnectionRequest request = DeleteConnectionRequest.newBuilder()
+   *     .setName(name.toString())
+   *     .build();
+   *   ApiFuture<Void> future = connectionServiceClient.deleteConnectionCallable().futureCall(request);
+   *   // Do something
+   *   future.get();
+   * }
+   * 
+ */ + public final UnaryCallable deleteConnectionCallable() { + return stub.deleteConnectionCallable(); + } + // AUTO-GENERATED DOCUMENTATION AND METHOD /** * Gets the access control policy for a resource. Returns an empty policy if the resource exists diff --git a/google-cloud-bigqueryconnection/src/main/java/com/google/cloud/bigquery/connection/v1beta1/ConnectionServiceSettings.java b/google-cloud-bigqueryconnection/src/main/java/com/google/cloud/bigquery/connection/v1beta1/ConnectionServiceSettings.java index 8b1f3731..4a983a81 100644 --- a/google-cloud-bigqueryconnection/src/main/java/com/google/cloud/bigquery/connection/v1beta1/ConnectionServiceSettings.java +++ b/google-cloud-bigqueryconnection/src/main/java/com/google/cloud/bigquery/connection/v1beta1/ConnectionServiceSettings.java @@ -60,16 +60,16 @@ *

The builder of this class is recursive, so contained classes are themselves builders. When * build() is called, the tree of builders is called to create the complete settings object. * - *

For example, to set the total timeout of deleteConnection to 30 seconds: + *

For example, to set the total timeout of createConnection to 30 seconds: * *

  * 
  * ConnectionServiceSettings.Builder connectionServiceSettingsBuilder =
  *     ConnectionServiceSettings.newBuilder();
  * connectionServiceSettingsBuilder
- *     .deleteConnectionSettings()
+ *     .createConnectionSettings()
  *     .setRetrySettings(
- *         connectionServiceSettingsBuilder.deleteConnectionSettings().getRetrySettings().toBuilder()
+ *         connectionServiceSettingsBuilder.createConnectionSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * ConnectionServiceSettings connectionServiceSettings = connectionServiceSettingsBuilder.build();
@@ -79,11 +79,6 @@
 @Generated("by gapic-generator")
 @BetaApi
 public class ConnectionServiceSettings extends ClientSettings {
-  /** Returns the object with the settings used for calls to deleteConnection. */
-  public UnaryCallSettings deleteConnectionSettings() {
-    return ((ConnectionServiceStubSettings) getStubSettings()).deleteConnectionSettings();
-  }
-
   /** Returns the object with the settings used for calls to createConnection. */
   public UnaryCallSettings createConnectionSettings() {
     return ((ConnectionServiceStubSettings) getStubSettings()).createConnectionSettings();
@@ -111,6 +106,11 @@ public UnaryCallSettings updateConnectionSe
     return ((ConnectionServiceStubSettings) getStubSettings()).updateConnectionCredentialSettings();
   }
 
+  /** Returns the object with the settings used for calls to deleteConnection. */
+  public UnaryCallSettings deleteConnectionSettings() {
+    return ((ConnectionServiceStubSettings) getStubSettings()).deleteConnectionSettings();
+  }
+
   /** Returns the object with the settings used for calls to getIamPolicy. */
   public UnaryCallSettings getIamPolicySettings() {
     return ((ConnectionServiceStubSettings) getStubSettings()).getIamPolicySettings();
@@ -224,11 +224,6 @@ public Builder applyToAllUnaryMethods(
       return this;
     }
 
-    /** Returns the builder for the settings used for calls to deleteConnection. */
-    public UnaryCallSettings.Builder deleteConnectionSettings() {
-      return getStubSettingsBuilder().deleteConnectionSettings();
-    }
-
     /** Returns the builder for the settings used for calls to createConnection. */
     public UnaryCallSettings.Builder
         createConnectionSettings() {
@@ -258,6 +253,11 @@ public UnaryCallSettings.Builder getConnection
       return getStubSettingsBuilder().updateConnectionCredentialSettings();
     }
 
+    /** Returns the builder for the settings used for calls to deleteConnection. */
+    public UnaryCallSettings.Builder deleteConnectionSettings() {
+      return getStubSettingsBuilder().deleteConnectionSettings();
+    }
+
     /** Returns the builder for the settings used for calls to getIamPolicy. */
     public UnaryCallSettings.Builder getIamPolicySettings() {
       return getStubSettingsBuilder().getIamPolicySettings();
diff --git a/google-cloud-bigqueryconnection/src/main/java/com/google/cloud/bigquery/connection/v1beta1/package-info.java b/google-cloud-bigqueryconnection/src/main/java/com/google/cloud/bigquery/connection/v1beta1/package-info.java
index 45bbab0a..dfc46794 100644
--- a/google-cloud-bigqueryconnection/src/main/java/com/google/cloud/bigquery/connection/v1beta1/package-info.java
+++ b/google-cloud-bigqueryconnection/src/main/java/com/google/cloud/bigquery/connection/v1beta1/package-info.java
@@ -28,8 +28,10 @@
  * 
  * 
  * try (ConnectionServiceClient connectionServiceClient = ConnectionServiceClient.create()) {
- *   ConnectionName name = ConnectionName.of("[PROJECT]", "[LOCATION]", "[CONNECTION]");
- *   connectionServiceClient.deleteConnection(name);
+ *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
+ *   Connection connection = Connection.newBuilder().build();
+ *   String connectionId = "";
+ *   Connection response = connectionServiceClient.createConnection(parent, connection, connectionId);
  * }
  * 
  * 
diff --git a/google-cloud-bigqueryconnection/src/main/java/com/google/cloud/bigquery/connection/v1beta1/stub/ConnectionServiceStub.java b/google-cloud-bigqueryconnection/src/main/java/com/google/cloud/bigquery/connection/v1beta1/stub/ConnectionServiceStub.java index 2e5f4a0f..3e46e264 100644 --- a/google-cloud-bigqueryconnection/src/main/java/com/google/cloud/bigquery/connection/v1beta1/stub/ConnectionServiceStub.java +++ b/google-cloud-bigqueryconnection/src/main/java/com/google/cloud/bigquery/connection/v1beta1/stub/ConnectionServiceStub.java @@ -44,10 +44,6 @@ @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public abstract class ConnectionServiceStub implements BackgroundResource { - public UnaryCallable deleteConnectionCallable() { - throw new UnsupportedOperationException("Not implemented: deleteConnectionCallable()"); - } - public UnaryCallable createConnectionCallable() { throw new UnsupportedOperationException("Not implemented: createConnectionCallable()"); } @@ -70,6 +66,10 @@ public UnaryCallable updateConnectionCallab "Not implemented: updateConnectionCredentialCallable()"); } + public UnaryCallable deleteConnectionCallable() { + throw new UnsupportedOperationException("Not implemented: deleteConnectionCallable()"); + } + public UnaryCallable getIamPolicyCallable() { throw new UnsupportedOperationException("Not implemented: getIamPolicyCallable()"); } diff --git a/google-cloud-bigqueryconnection/src/main/java/com/google/cloud/bigquery/connection/v1beta1/stub/ConnectionServiceStubSettings.java b/google-cloud-bigqueryconnection/src/main/java/com/google/cloud/bigquery/connection/v1beta1/stub/ConnectionServiceStubSettings.java index 778ff4cd..0698cdc1 100644 --- a/google-cloud-bigqueryconnection/src/main/java/com/google/cloud/bigquery/connection/v1beta1/stub/ConnectionServiceStubSettings.java +++ b/google-cloud-bigqueryconnection/src/main/java/com/google/cloud/bigquery/connection/v1beta1/stub/ConnectionServiceStubSettings.java @@ -69,16 +69,16 @@ *

The builder of this class is recursive, so contained classes are themselves builders. When * build() is called, the tree of builders is called to create the complete settings object. * - *

For example, to set the total timeout of deleteConnection to 30 seconds: + *

For example, to set the total timeout of createConnection to 30 seconds: * *

  * 
  * ConnectionServiceStubSettings.Builder connectionServiceSettingsBuilder =
  *     ConnectionServiceStubSettings.newBuilder();
  * connectionServiceSettingsBuilder
- *     .deleteConnectionSettings()
+ *     .createConnectionSettings()
  *     .setRetrySettings(
- *         connectionServiceSettingsBuilder.deleteConnectionSettings().getRetrySettings().toBuilder()
+ *         connectionServiceSettingsBuilder.createConnectionSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * ConnectionServiceStubSettings connectionServiceSettings = connectionServiceSettingsBuilder.build();
@@ -95,7 +95,6 @@ public class ConnectionServiceStubSettings extends StubSettings deleteConnectionSettings;
   private final UnaryCallSettings createConnectionSettings;
   private final UnaryCallSettings getConnectionSettings;
   private final UnaryCallSettings
@@ -103,16 +102,12 @@ public class ConnectionServiceStubSettings extends StubSettings updateConnectionSettings;
   private final UnaryCallSettings
       updateConnectionCredentialSettings;
+  private final UnaryCallSettings deleteConnectionSettings;
   private final UnaryCallSettings getIamPolicySettings;
   private final UnaryCallSettings setIamPolicySettings;
   private final UnaryCallSettings
       testIamPermissionsSettings;
 
-  /** Returns the object with the settings used for calls to deleteConnection. */
-  public UnaryCallSettings deleteConnectionSettings() {
-    return deleteConnectionSettings;
-  }
-
   /** Returns the object with the settings used for calls to createConnection. */
   public UnaryCallSettings createConnectionSettings() {
     return createConnectionSettings;
@@ -140,6 +135,11 @@ public UnaryCallSettings updateConnectionSe
     return updateConnectionCredentialSettings;
   }
 
+  /** Returns the object with the settings used for calls to deleteConnection. */
+  public UnaryCallSettings deleteConnectionSettings() {
+    return deleteConnectionSettings;
+  }
+
   /** Returns the object with the settings used for calls to getIamPolicy. */
   public UnaryCallSettings getIamPolicySettings() {
     return getIamPolicySettings;
@@ -225,13 +225,13 @@ public Builder toBuilder() {
   protected ConnectionServiceStubSettings(Builder settingsBuilder) throws IOException {
     super(settingsBuilder);
 
-    deleteConnectionSettings = settingsBuilder.deleteConnectionSettings().build();
     createConnectionSettings = settingsBuilder.createConnectionSettings().build();
     getConnectionSettings = settingsBuilder.getConnectionSettings().build();
     listConnectionsSettings = settingsBuilder.listConnectionsSettings().build();
     updateConnectionSettings = settingsBuilder.updateConnectionSettings().build();
     updateConnectionCredentialSettings =
         settingsBuilder.updateConnectionCredentialSettings().build();
+    deleteConnectionSettings = settingsBuilder.deleteConnectionSettings().build();
     getIamPolicySettings = settingsBuilder.getIamPolicySettings().build();
     setIamPolicySettings = settingsBuilder.setIamPolicySettings().build();
     testIamPermissionsSettings = settingsBuilder.testIamPermissionsSettings().build();
@@ -241,8 +241,6 @@ protected ConnectionServiceStubSettings(Builder settingsBuilder) throws IOExcept
   public static class Builder extends StubSettings.Builder {
     private final ImmutableList> unaryMethodSettingsBuilders;
 
-    private final UnaryCallSettings.Builder
-        deleteConnectionSettings;
     private final UnaryCallSettings.Builder
         createConnectionSettings;
     private final UnaryCallSettings.Builder getConnectionSettings;
@@ -252,6 +250,8 @@ public static class Builder extends StubSettings.Builder
         updateConnectionCredentialSettings;
+    private final UnaryCallSettings.Builder
+        deleteConnectionSettings;
     private final UnaryCallSettings.Builder getIamPolicySettings;
     private final UnaryCallSettings.Builder setIamPolicySettings;
     private final UnaryCallSettings.Builder
@@ -264,11 +264,13 @@ public static class Builder extends StubSettings.Builder> definitions =
           ImmutableMap.builder();
       definitions.put(
-          "idempotent",
+          "retry_policy_1_codes",
           ImmutableSet.copyOf(
               Lists.newArrayList(
                   StatusCode.Code.DEADLINE_EXCEEDED, StatusCode.Code.UNAVAILABLE)));
-      definitions.put("non_idempotent", ImmutableSet.copyOf(Lists.newArrayList()));
+      definitions.put("no_retry_codes", ImmutableSet.copyOf(Lists.newArrayList()));
+      definitions.put(
+          "no_retry_1_codes", ImmutableSet.copyOf(Lists.newArrayList()));
       RETRYABLE_CODE_DEFINITIONS = definitions.build();
     }
 
@@ -282,12 +284,22 @@ public static class Builder extends StubSettings.Builder>of(
-              deleteConnectionSettings,
               createConnectionSettings,
               getConnectionSettings,
               listConnectionsSettings,
               updateConnectionSettings,
               updateConnectionCredentialSettings,
+              deleteConnectionSettings,
               getIamPolicySettings,
               setIamPolicySettings,
               testIamPermissionsSettings);
@@ -342,50 +354,50 @@ private static Builder createDefault() {
 
     private static Builder initDefaults(Builder builder) {
 
-      builder
-          .deleteConnectionSettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
-          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
-
       builder
           .createConnectionSettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
-          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes"))
+          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params"));
 
       builder
           .getConnectionSettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
-          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_1_codes"))
+          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_1_params"));
 
       builder
           .listConnectionsSettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
-          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_1_codes"))
+          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_1_params"));
 
       builder
           .updateConnectionSettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
-          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes"))
+          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params"));
 
       builder
           .updateConnectionCredentialSettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
-          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes"))
+          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params"));
+
+      builder
+          .deleteConnectionSettings()
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_1_codes"))
+          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_1_params"));
 
       builder
           .getIamPolicySettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
-          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes"))
+          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params"));
 
       builder
           .setIamPolicySettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
-          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes"))
+          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params"));
 
       builder
           .testIamPermissionsSettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
-          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes"))
+          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params"));
 
       return builder;
     }
@@ -393,24 +405,24 @@ private static Builder initDefaults(Builder builder) {
     protected Builder(ConnectionServiceStubSettings settings) {
       super(settings);
 
-      deleteConnectionSettings = settings.deleteConnectionSettings.toBuilder();
       createConnectionSettings = settings.createConnectionSettings.toBuilder();
       getConnectionSettings = settings.getConnectionSettings.toBuilder();
       listConnectionsSettings = settings.listConnectionsSettings.toBuilder();
       updateConnectionSettings = settings.updateConnectionSettings.toBuilder();
       updateConnectionCredentialSettings = settings.updateConnectionCredentialSettings.toBuilder();
+      deleteConnectionSettings = settings.deleteConnectionSettings.toBuilder();
       getIamPolicySettings = settings.getIamPolicySettings.toBuilder();
       setIamPolicySettings = settings.setIamPolicySettings.toBuilder();
       testIamPermissionsSettings = settings.testIamPermissionsSettings.toBuilder();
 
       unaryMethodSettingsBuilders =
           ImmutableList.>of(
-              deleteConnectionSettings,
               createConnectionSettings,
               getConnectionSettings,
               listConnectionsSettings,
               updateConnectionSettings,
               updateConnectionCredentialSettings,
+              deleteConnectionSettings,
               getIamPolicySettings,
               setIamPolicySettings,
               testIamPermissionsSettings);
@@ -432,11 +444,6 @@ public Builder applyToAllUnaryMethods(
       return unaryMethodSettingsBuilders;
     }
 
-    /** Returns the builder for the settings used for calls to deleteConnection. */
-    public UnaryCallSettings.Builder deleteConnectionSettings() {
-      return deleteConnectionSettings;
-    }
-
     /** Returns the builder for the settings used for calls to createConnection. */
     public UnaryCallSettings.Builder
         createConnectionSettings() {
@@ -466,6 +473,11 @@ public UnaryCallSettings.Builder getConnection
       return updateConnectionCredentialSettings;
     }
 
+    /** Returns the builder for the settings used for calls to deleteConnection. */
+    public UnaryCallSettings.Builder deleteConnectionSettings() {
+      return deleteConnectionSettings;
+    }
+
     /** Returns the builder for the settings used for calls to getIamPolicy. */
     public UnaryCallSettings.Builder getIamPolicySettings() {
       return getIamPolicySettings;
diff --git a/google-cloud-bigqueryconnection/src/main/java/com/google/cloud/bigquery/connection/v1beta1/stub/GrpcConnectionServiceStub.java b/google-cloud-bigqueryconnection/src/main/java/com/google/cloud/bigquery/connection/v1beta1/stub/GrpcConnectionServiceStub.java
index 6f5bb611..5f40e7c6 100644
--- a/google-cloud-bigqueryconnection/src/main/java/com/google/cloud/bigquery/connection/v1beta1/stub/GrpcConnectionServiceStub.java
+++ b/google-cloud-bigqueryconnection/src/main/java/com/google/cloud/bigquery/connection/v1beta1/stub/GrpcConnectionServiceStub.java
@@ -55,16 +55,6 @@
 @BetaApi("A restructuring of stub classes is planned, so this may break in the future")
 public class GrpcConnectionServiceStub extends ConnectionServiceStub {
 
-  private static final MethodDescriptor
-      deleteConnectionMethodDescriptor =
-          MethodDescriptor.newBuilder()
-              .setType(MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(
-                  "google.cloud.bigquery.connection.v1beta1.ConnectionService/DeleteConnection")
-              .setRequestMarshaller(
-                  ProtoUtils.marshaller(DeleteConnectionRequest.getDefaultInstance()))
-              .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance()))
-              .build();
   private static final MethodDescriptor
       createConnectionMethodDescriptor =
           MethodDescriptor.newBuilder()
@@ -116,6 +106,16 @@ public class GrpcConnectionServiceStub extends ConnectionServiceStub {
                   ProtoUtils.marshaller(UpdateConnectionCredentialRequest.getDefaultInstance()))
               .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance()))
               .build();
+  private static final MethodDescriptor
+      deleteConnectionMethodDescriptor =
+          MethodDescriptor.newBuilder()
+              .setType(MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(
+                  "google.cloud.bigquery.connection.v1beta1.ConnectionService/DeleteConnection")
+              .setRequestMarshaller(
+                  ProtoUtils.marshaller(DeleteConnectionRequest.getDefaultInstance()))
+              .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance()))
+              .build();
   private static final MethodDescriptor getIamPolicyMethodDescriptor =
       MethodDescriptor.newBuilder()
           .setType(MethodDescriptor.MethodType.UNARY)
@@ -146,7 +146,6 @@ public class GrpcConnectionServiceStub extends ConnectionServiceStub {
 
   private final BackgroundResource backgroundResources;
 
-  private final UnaryCallable deleteConnectionCallable;
   private final UnaryCallable createConnectionCallable;
   private final UnaryCallable getConnectionCallable;
   private final UnaryCallable
@@ -154,6 +153,7 @@ public class GrpcConnectionServiceStub extends ConnectionServiceStub {
   private final UnaryCallable updateConnectionCallable;
   private final UnaryCallable
       updateConnectionCredentialCallable;
+  private final UnaryCallable deleteConnectionCallable;
   private final UnaryCallable getIamPolicyCallable;
   private final UnaryCallable setIamPolicyCallable;
   private final UnaryCallable
@@ -200,19 +200,6 @@ protected GrpcConnectionServiceStub(
       throws IOException {
     this.callableFactory = callableFactory;
 
-    GrpcCallSettings deleteConnectionTransportSettings =
-        GrpcCallSettings.newBuilder()
-            .setMethodDescriptor(deleteConnectionMethodDescriptor)
-            .setParamsExtractor(
-                new RequestParamsExtractor() {
-                  @Override
-                  public Map extract(DeleteConnectionRequest request) {
-                    ImmutableMap.Builder params = ImmutableMap.builder();
-                    params.put("name", String.valueOf(request.getName()));
-                    return params.build();
-                  }
-                })
-            .build();
     GrpcCallSettings createConnectionTransportSettings =
         GrpcCallSettings.newBuilder()
             .setMethodDescriptor(createConnectionMethodDescriptor)
@@ -281,6 +268,19 @@ public Map extract(
                       }
                     })
                 .build();
+    GrpcCallSettings deleteConnectionTransportSettings =
+        GrpcCallSettings.newBuilder()
+            .setMethodDescriptor(deleteConnectionMethodDescriptor)
+            .setParamsExtractor(
+                new RequestParamsExtractor() {
+                  @Override
+                  public Map extract(DeleteConnectionRequest request) {
+                    ImmutableMap.Builder params = ImmutableMap.builder();
+                    params.put("name", String.valueOf(request.getName()));
+                    return params.build();
+                  }
+                })
+            .build();
     GrpcCallSettings getIamPolicyTransportSettings =
         GrpcCallSettings.newBuilder()
             .setMethodDescriptor(getIamPolicyMethodDescriptor)
@@ -322,9 +322,6 @@ public Map extract(TestIamPermissionsRequest request) {
                     })
                 .build();
 
-    this.deleteConnectionCallable =
-        callableFactory.createUnaryCallable(
-            deleteConnectionTransportSettings, settings.deleteConnectionSettings(), clientContext);
     this.createConnectionCallable =
         callableFactory.createUnaryCallable(
             createConnectionTransportSettings, settings.createConnectionSettings(), clientContext);
@@ -342,6 +339,9 @@ public Map extract(TestIamPermissionsRequest request) {
             updateConnectionCredentialTransportSettings,
             settings.updateConnectionCredentialSettings(),
             clientContext);
+    this.deleteConnectionCallable =
+        callableFactory.createUnaryCallable(
+            deleteConnectionTransportSettings, settings.deleteConnectionSettings(), clientContext);
     this.getIamPolicyCallable =
         callableFactory.createUnaryCallable(
             getIamPolicyTransportSettings, settings.getIamPolicySettings(), clientContext);
@@ -357,10 +357,6 @@ public Map extract(TestIamPermissionsRequest request) {
     backgroundResources = new BackgroundResourceAggregation(clientContext.getBackgroundResources());
   }
 
-  public UnaryCallable deleteConnectionCallable() {
-    return deleteConnectionCallable;
-  }
-
   public UnaryCallable createConnectionCallable() {
     return createConnectionCallable;
   }
@@ -382,6 +378,10 @@ public UnaryCallable updateConnectionCallab
     return updateConnectionCredentialCallable;
   }
 
+  public UnaryCallable deleteConnectionCallable() {
+    return deleteConnectionCallable;
+  }
+
   public UnaryCallable getIamPolicyCallable() {
     return getIamPolicyCallable;
   }
diff --git a/google-cloud-bigqueryconnection/src/main/java/com/google/cloud/bigqueryconnection/v1/stub/ConnectionServiceStubSettings.java b/google-cloud-bigqueryconnection/src/main/java/com/google/cloud/bigqueryconnection/v1/stub/ConnectionServiceStubSettings.java
index 89ceaa72..ae95d91b 100644
--- a/google-cloud-bigqueryconnection/src/main/java/com/google/cloud/bigqueryconnection/v1/stub/ConnectionServiceStubSettings.java
+++ b/google-cloud-bigqueryconnection/src/main/java/com/google/cloud/bigqueryconnection/v1/stub/ConnectionServiceStubSettings.java
@@ -319,11 +319,13 @@ public static class Builder extends StubSettings.Builder> definitions =
           ImmutableMap.builder();
       definitions.put(
-          "idempotent",
+          "retry_policy_1_codes",
           ImmutableSet.copyOf(
               Lists.newArrayList(
                   StatusCode.Code.DEADLINE_EXCEEDED, StatusCode.Code.UNAVAILABLE)));
-      definitions.put("non_idempotent", ImmutableSet.copyOf(Lists.newArrayList()));
+      definitions.put("no_retry_codes", ImmutableSet.copyOf(Lists.newArrayList()));
+      definitions.put(
+          "no_retry_1_codes", ImmutableSet.copyOf(Lists.newArrayList()));
       RETRYABLE_CODE_DEFINITIONS = definitions.build();
     }
 
@@ -337,12 +339,22 @@ public static class Builder extends StubSettings.Builder actualRequests = mockConnectionService.getRequests();
-    Assert.assertEquals(1, actualRequests.size());
-    DeleteConnectionRequest actualRequest = (DeleteConnectionRequest) actualRequests.get(0);
-
-    Assert.assertEquals(name, ConnectionName.parse(actualRequest.getName()));
-    Assert.assertTrue(
-        channelProvider.isHeaderSent(
-            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
-            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
-  }
-
-  @Test
-  @SuppressWarnings("all")
-  public void deleteConnectionExceptionTest() throws Exception {
-    StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT);
-    mockConnectionService.addException(exception);
-
-    try {
-      ConnectionName name = ConnectionName.of("[PROJECT]", "[LOCATION]", "[CONNECTION]");
-
-      client.deleteConnection(name);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception
-    }
-  }
-
   @Test
   @SuppressWarnings("all")
   public void createConnectionTest() {
@@ -385,6 +348,43 @@ public void updateConnectionCredentialExceptionTest() throws Exception {
     }
   }
 
+  @Test
+  @SuppressWarnings("all")
+  public void deleteConnectionTest() {
+    Empty expectedResponse = Empty.newBuilder().build();
+    mockConnectionService.addResponse(expectedResponse);
+
+    ConnectionName name = ConnectionName.of("[PROJECT]", "[LOCATION]", "[CONNECTION]");
+
+    client.deleteConnection(name);
+
+    List actualRequests = mockConnectionService.getRequests();
+    Assert.assertEquals(1, actualRequests.size());
+    DeleteConnectionRequest actualRequest = (DeleteConnectionRequest) actualRequests.get(0);
+
+    Assert.assertEquals(name, ConnectionName.parse(actualRequest.getName()));
+    Assert.assertTrue(
+        channelProvider.isHeaderSent(
+            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
+            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
+  }
+
+  @Test
+  @SuppressWarnings("all")
+  public void deleteConnectionExceptionTest() throws Exception {
+    StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT);
+    mockConnectionService.addException(exception);
+
+    try {
+      ConnectionName name = ConnectionName.of("[PROJECT]", "[LOCATION]", "[CONNECTION]");
+
+      client.deleteConnection(name);
+      Assert.fail("No exception raised");
+    } catch (InvalidArgumentException e) {
+      // Expected exception
+    }
+  }
+
   @Test
   @SuppressWarnings("all")
   public void getIamPolicyTest() {
diff --git a/synth.metadata b/synth.metadata
index 508024ca..bf8c2999 100644
--- a/synth.metadata
+++ b/synth.metadata
@@ -4,23 +4,23 @@
       "git": {
         "name": ".",
         "remote": "https://github.com/googleapis/java-bigqueryconnection.git",
-        "sha": "75d63e4d69e181c8d389cec320dcb3f433ddaf05"
+        "sha": "8ce50d09538a646dbbea6199767b3678a4ba3b9f"
       }
     },
     {
       "git": {
         "name": "googleapis",
         "remote": "https://github.com/googleapis/googleapis.git",
-        "sha": "79a17b8c64efa7bafff0a16b467754c73d570b6e",
-        "internalRef": "317385359"
+        "sha": "c4ed5e8114b75a84929aa146a72e9e75a4027c8d",
+        "internalRef": "320217000"
       }
     },
     {
       "git": {
         "name": "googleapis",
         "remote": "https://github.com/googleapis/googleapis.git",
-        "sha": "79a17b8c64efa7bafff0a16b467754c73d570b6e",
-        "internalRef": "317385359"
+        "sha": "c4ed5e8114b75a84929aa146a72e9e75a4027c8d",
+        "internalRef": "320217000"
       }
     },
     {

From d609f03202fb7feffd985312b7e0667b1820ef9b Mon Sep 17 00:00:00 2001
From: "release-please[bot]"
 <55107282+release-please[bot]@users.noreply.github.com>
Date: Thu, 9 Jul 2020 16:20:04 +0000
Subject: [PATCH 9/9] chore: release 0.3.0 (#79)

:robot: I have created a release \*beep\* \*boop\*
---
## [0.3.0](https://www.github.com/googleapis/java-bigqueryconnection/compare/v0.2.0...v0.3.0) (2020-07-09)


### Features

* proto updates ([#78](https://www.github.com/googleapis/java-bigqueryconnection/issues/78)) ([2d47c35](https://www.github.com/googleapis/java-bigqueryconnection/commit/2d47c35289889de83d84b2b8fafd5edee11e553f))


### Dependencies

* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.8.2 ([#72](https://www.github.com/googleapis/java-bigqueryconnection/issues/72)) ([b3b3129](https://www.github.com/googleapis/java-bigqueryconnection/commit/b3b3129554c0933e36cd1ac37318889015aa50c4))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please).
---
 CHANGELOG.md                                         | 12 ++++++++++++
 README.md                                            |  4 ++--
 google-cloud-bigqueryconnection-bom/pom.xml          | 12 ++++++------
 google-cloud-bigqueryconnection/pom.xml              |  4 ++--
 grpc-google-cloud-bigqueryconnection-v1/pom.xml      |  4 ++--
 grpc-google-cloud-bigqueryconnection-v1beta1/pom.xml |  4 ++--
 pom.xml                                              | 12 ++++++------
 proto-google-cloud-bigqueryconnection-v1/pom.xml     |  4 ++--
 .../pom.xml                                          |  4 ++--
 samples/snapshot/pom.xml                             |  2 +-
 versions.txt                                         | 10 +++++-----
 11 files changed, 42 insertions(+), 30 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 3b7163ca..cb29a1d6 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,17 @@
 # Changelog
 
+## [0.3.0](https://www.github.com/googleapis/java-bigqueryconnection/compare/v0.2.0...v0.3.0) (2020-07-09)
+
+
+### Features
+
+* proto updates ([#78](https://www.github.com/googleapis/java-bigqueryconnection/issues/78)) ([2d47c35](https://www.github.com/googleapis/java-bigqueryconnection/commit/2d47c35289889de83d84b2b8fafd5edee11e553f))
+
+
+### Dependencies
+
+* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.8.2 ([#72](https://www.github.com/googleapis/java-bigqueryconnection/issues/72)) ([b3b3129](https://www.github.com/googleapis/java-bigqueryconnection/commit/b3b3129554c0933e36cd1ac37318889015aa50c4))
+
 ## [0.2.0](https://www.github.com/googleapis/java-bigqueryconnection/compare/v0.1.0...v0.2.0) (2020-06-23)
 
 
diff --git a/README.md b/README.md
index bb96c4b6..d22b881d 100644
--- a/README.md
+++ b/README.md
@@ -29,11 +29,11 @@ If you are using Maven, add this to your pom.xml file:
 
 If you are using Gradle, add this to your dependencies
 ```Groovy
-compile 'com.google.cloud:google-cloud-bigqueryconnection:0.1.0'
+compile 'com.google.cloud:google-cloud-bigqueryconnection:0.3.0'
 ```
 If you are using SBT, add this to your dependencies
 ```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-bigqueryconnection" % "0.1.0"
+libraryDependencies += "com.google.cloud" % "google-cloud-bigqueryconnection" % "0.3.0"
 ```
 [//]: # ({x-version-update-end})
 
diff --git a/google-cloud-bigqueryconnection-bom/pom.xml b/google-cloud-bigqueryconnection-bom/pom.xml
index 24752070..ead70f8e 100644
--- a/google-cloud-bigqueryconnection-bom/pom.xml
+++ b/google-cloud-bigqueryconnection-bom/pom.xml
@@ -3,7 +3,7 @@
   4.0.0
   com.google.cloud
   google-cloud-bigqueryconnection-bom
-  0.2.1-SNAPSHOT
+  0.3.0
   pom
   
     com.google.cloud
@@ -64,27 +64,27 @@
       
         com.google.cloud
         google-cloud-bigqueryconnection
-        0.2.1-SNAPSHOT
+        0.3.0
       
       
         com.google.api.grpc
         proto-google-cloud-bigqueryconnection-v1
-        0.2.1-SNAPSHOT
+        0.3.0
       
       
         com.google.api.grpc
         grpc-google-cloud-bigqueryconnection-v1
-        0.2.1-SNAPSHOT
+        0.3.0
       
       
         com.google.api.grpc
         proto-google-cloud-bigqueryconnection-v1beta1
-        0.2.1-SNAPSHOT
+        0.3.0
       
       
         com.google.api.grpc
         grpc-google-cloud-bigqueryconnection-v1beta1
-        0.2.1-SNAPSHOT
+        0.3.0
       
     
   
diff --git a/google-cloud-bigqueryconnection/pom.xml b/google-cloud-bigqueryconnection/pom.xml
index a6a5f456..8b652425 100644
--- a/google-cloud-bigqueryconnection/pom.xml
+++ b/google-cloud-bigqueryconnection/pom.xml
@@ -3,7 +3,7 @@
   4.0.0
   com.google.cloud
   google-cloud-bigqueryconnection
-  0.2.1-SNAPSHOT
+  0.3.0
   jar
   Google Cloud BigQuery Connections
   https://github.com/googleapis/java-bigqueryconnection
@@ -11,7 +11,7 @@
   
     com.google.cloud
     google-cloud-bigqueryconnection-parent
-    0.2.1-SNAPSHOT
+    0.3.0
   
   
     google-cloud-bigqueryconnection
diff --git a/grpc-google-cloud-bigqueryconnection-v1/pom.xml b/grpc-google-cloud-bigqueryconnection-v1/pom.xml
index db900918..9b44341c 100644
--- a/grpc-google-cloud-bigqueryconnection-v1/pom.xml
+++ b/grpc-google-cloud-bigqueryconnection-v1/pom.xml
@@ -4,13 +4,13 @@
   4.0.0
   com.google.api.grpc
   grpc-google-cloud-bigqueryconnection-v1
-  0.2.1-SNAPSHOT
+  0.3.0
   grpc-google-cloud-bigqueryconnection-v1
   GRPC library for grpc-google-cloud-bigqueryconnection-v1
   
     com.google.cloud
     google-cloud-bigqueryconnection-parent
-    0.2.1-SNAPSHOT
+    0.3.0
   
   
     
diff --git a/grpc-google-cloud-bigqueryconnection-v1beta1/pom.xml b/grpc-google-cloud-bigqueryconnection-v1beta1/pom.xml
index e2187d5b..3989c22c 100644
--- a/grpc-google-cloud-bigqueryconnection-v1beta1/pom.xml
+++ b/grpc-google-cloud-bigqueryconnection-v1beta1/pom.xml
@@ -4,13 +4,13 @@
   4.0.0
   com.google.api.grpc
   grpc-google-cloud-bigqueryconnection-v1beta1
-  0.2.1-SNAPSHOT
+  0.3.0
   grpc-google-cloud-bigqueryconnection-v1beta1
   GRPC library for grpc-google-cloud-bigqueryconnection-v1beta1
   
     com.google.cloud
     google-cloud-bigqueryconnection-parent
-    0.2.1-SNAPSHOT
+    0.3.0
   
   
     
diff --git a/pom.xml b/pom.xml
index 3f470c93..c93ec106 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
   com.google.cloud
   google-cloud-bigqueryconnection-parent
   pom
-  0.2.1-SNAPSHOT
+  0.3.0
   Google Cloud BigQuery Connections Parent
   https://github.com/googleapis/java-bigqueryconnection
   
@@ -70,27 +70,27 @@
       
         com.google.cloud
         google-cloud-bigqueryconnection
-        0.2.1-SNAPSHOT
+        0.3.0
       
       
         com.google.api.grpc
         proto-google-cloud-bigqueryconnection-v1
-        0.2.1-SNAPSHOT
+        0.3.0
       
       
         com.google.api.grpc
         grpc-google-cloud-bigqueryconnection-v1
-        0.2.1-SNAPSHOT
+        0.3.0
       
       
         com.google.api.grpc
         proto-google-cloud-bigqueryconnection-v1beta1
-        0.2.1-SNAPSHOT
+        0.3.0
       
       
         com.google.api.grpc
         grpc-google-cloud-bigqueryconnection-v1beta1
-        0.2.1-SNAPSHOT
+        0.3.0
       
 
       
diff --git a/proto-google-cloud-bigqueryconnection-v1/pom.xml b/proto-google-cloud-bigqueryconnection-v1/pom.xml
index 91a778ac..3e136044 100644
--- a/proto-google-cloud-bigqueryconnection-v1/pom.xml
+++ b/proto-google-cloud-bigqueryconnection-v1/pom.xml
@@ -4,13 +4,13 @@
   4.0.0
   com.google.api.grpc
   proto-google-cloud-bigqueryconnection-v1
-  0.2.1-SNAPSHOT
+  0.3.0
   proto-google-cloud-bigqueryconnection-v1
   PROTO library for proto-google-cloud-bigqueryconnection-v1
   
     com.google.cloud
     google-cloud-bigqueryconnection-parent
-    0.2.1-SNAPSHOT
+    0.3.0
   
   
     
diff --git a/proto-google-cloud-bigqueryconnection-v1beta1/pom.xml b/proto-google-cloud-bigqueryconnection-v1beta1/pom.xml
index 4aae8114..4cd78ce7 100644
--- a/proto-google-cloud-bigqueryconnection-v1beta1/pom.xml
+++ b/proto-google-cloud-bigqueryconnection-v1beta1/pom.xml
@@ -4,13 +4,13 @@
   4.0.0
   com.google.api.grpc
   proto-google-cloud-bigqueryconnection-v1beta1
-  0.2.1-SNAPSHOT
+  0.3.0
   proto-google-cloud-bigqueryconnection-v1beta1
   PROTO library for proto-google-cloud-bigqueryconnection-v1beta1
   
     com.google.cloud
     google-cloud-bigqueryconnection-parent
-    0.2.1-SNAPSHOT
+    0.3.0
   
   
     
diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml
index 9dbeff34..da084d12 100644
--- a/samples/snapshot/pom.xml
+++ b/samples/snapshot/pom.xml
@@ -28,7 +28,7 @@
     
       com.google.cloud
       google-cloud-bigqueryconnection
-      0.2.1-SNAPSHOT
+      0.3.0
     
     
 
diff --git a/versions.txt b/versions.txt
index 111c6e39..96a7e9c5 100644
--- a/versions.txt
+++ b/versions.txt
@@ -1,8 +1,8 @@
 # Format:
 # module:released-version:current-version
 
-google-cloud-bigqueryconnection:0.2.0:0.2.1-SNAPSHOT
-proto-google-cloud-bigqueryconnection-v1:0.2.0:0.2.1-SNAPSHOT
-grpc-google-cloud-bigqueryconnection-v1:0.2.0:0.2.1-SNAPSHOT
-proto-google-cloud-bigqueryconnection-v1beta1:0.2.0:0.2.1-SNAPSHOT
-grpc-google-cloud-bigqueryconnection-v1beta1:0.2.0:0.2.1-SNAPSHOT
\ No newline at end of file
+google-cloud-bigqueryconnection:0.3.0:0.3.0
+proto-google-cloud-bigqueryconnection-v1:0.3.0:0.3.0
+grpc-google-cloud-bigqueryconnection-v1:0.3.0:0.3.0
+proto-google-cloud-bigqueryconnection-v1beta1:0.3.0:0.3.0
+grpc-google-cloud-bigqueryconnection-v1beta1:0.3.0:0.3.0
\ No newline at end of file