From 2a99979aa065342132bbabf0529316c3f5f2c610 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 9 Mar 2021 14:52:36 -0800 Subject: [PATCH 01/10] chore: regenerate with latest gax (#6) * changes without context autosynth cannot find the source of changes triggered by earlier changes in this repository, or by version upgrades to tools such as linters. * chore: update gax-java dependency to 1.62 PiperOrigin-RevId: 361377784 Source-Link: https://github.com/googleapis/googleapis/commit/0e915217fb5261c1e57bfaf0e16ee5c7feaaba89 Source-Author: Bazel Bot Source-Date: Sun Mar 7 07:56:24 2021 +0000 Source-Repo: googleapis/googleapis-gen Source-Sha: ba5ec70708cd72caa1692a95ce57891e3ade61dd Source-Link: https://github.com/googleapis/googleapis-gen/commit/ba5ec70708cd72caa1692a95ce57891e3ade61dd --- .github/workflows/auto-release.yaml | 4 +- .github/workflows/ci.yaml | 13 +- .kokoro/build.sh | 4 +- .kokoro/dependencies.sh | 4 +- .kokoro/release/publish_javadoc.cfg | 8 +- .kokoro/release/publish_javadoc.sh | 19 ++ .kokoro/release/publish_javadoc11.cfg | 2 +- .kokoro/release/publish_javadoc11.sh | 7 +- .../v1beta2/ArtifactRegistryGrpc.java | 250 ++++++++++-------- synth.metadata | 6 +- 10 files changed, 187 insertions(+), 130 deletions(-) diff --git a/.github/workflows/auto-release.yaml b/.github/workflows/auto-release.yaml index 7c8816a7..76e6404b 100644 --- a/.github/workflows/auto-release.yaml +++ b/.github/workflows/auto-release.yaml @@ -4,7 +4,7 @@ name: auto-release jobs: approve: runs-on: ubuntu-latest - if: contains(github.head_ref, 'release-please') + if: contains(github.head_ref, 'release-v') steps: - uses: actions/github-script@v3 with: @@ -16,7 +16,7 @@ jobs: return; } - // only approve PRs like "chore(master): release " + // only approve PRs like "chore: release " if ( !context.payload.pull_request.title.startsWith("chore(master): release") ) { return; } diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index def8b3a2..98a472e1 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -55,10 +55,17 @@ jobs: java-version: 8 - run: java -version - name: Install artifacts to local Maven repository - run: .kokoro/build.sh + run: | + source .kokoro/common.sh + retry_with_backoff 3 10 \ + mvn install -B -V \ + -Dmaven.test.skip -DskipTests=true \ + -Dclirr.skip=true \ + -Denforcer.skip=true \ + -Dmaven.javadoc.skip=true \ + -Dgcloud.download.skip=true shell: bash - - name: Validate any conflicts with regard to com.google.cloud:libraries-bom (latest release) - uses: GoogleCloudPlatform/cloud-opensource-java/linkage-monitor@v1-linkagemonitor + - uses: GoogleCloudPlatform/cloud-opensource-java/linkage-monitor@v1-linkagemonitor lint: runs-on: ubuntu-latest steps: diff --git a/.kokoro/build.sh b/.kokoro/build.sh index 86e7b9f2..0cd78c8e 100755 --- a/.kokoro/build.sh +++ b/.kokoro/build.sh @@ -29,7 +29,7 @@ echo ${JOB_TYPE} # attempt to install 3 times with exponential backoff (starting with 10 seconds) retry_with_backoff 3 10 \ - mvn install -B -V -ntp \ + mvn install -B -V \ -DskipTests=true \ -Dclirr.skip=true \ -Denforcer.skip=true \ @@ -60,7 +60,6 @@ javadoc) ;; integration) mvn -B ${INTEGRATION_TEST_ARGS} \ - -ntp \ -Penable-integration-tests \ -DtrimStackTrace=false \ -Dclirr.skip=true \ @@ -82,7 +81,6 @@ samples) pushd ${SAMPLES_DIR} mvn -B \ -Penable-samples \ - -ntp \ -DtrimStackTrace=false \ -Dclirr.skip=true \ -Denforcer.skip=true \ diff --git a/.kokoro/dependencies.sh b/.kokoro/dependencies.sh index 0fb8c843..c91e5a56 100755 --- a/.kokoro/dependencies.sh +++ b/.kokoro/dependencies.sh @@ -31,7 +31,7 @@ export MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=128m" # this should run maven enforcer retry_with_backoff 3 10 \ - mvn install -B -V -ntp \ + mvn install -B -V \ -DskipTests=true \ -Dclirr.skip=true @@ -86,4 +86,4 @@ then else msg "Errors found. See log statements above." exit 1 -fi +fi \ No newline at end of file diff --git a/.kokoro/release/publish_javadoc.cfg b/.kokoro/release/publish_javadoc.cfg index c2b9ad6e..bd1bbcf0 100644 --- a/.kokoro/release/publish_javadoc.cfg +++ b/.kokoro/release/publish_javadoc.cfg @@ -7,6 +7,12 @@ env_vars: { value: "docs-staging" } +env_vars: { + key: "STAGING_BUCKET_V2" + value: "docs-staging-v2" + # Production will be at: docs-staging-v2 +} + env_vars: { key: "TRAMPOLINE_BUILD_FILE" value: "github/java-artifact-registry/.kokoro/release/publish_javadoc.sh" @@ -20,4 +26,4 @@ before_action { keyname: "docuploader_service_account" } } -} +} \ No newline at end of file diff --git a/.kokoro/release/publish_javadoc.sh b/.kokoro/release/publish_javadoc.sh index c4d6647f..27c2947f 100755 --- a/.kokoro/release/publish_javadoc.sh +++ b/.kokoro/release/publish_javadoc.sh @@ -56,3 +56,22 @@ python3 -m docuploader create-metadata \ python3 -m docuploader upload . \ --credentials ${CREDENTIALS} \ --staging-bucket ${STAGING_BUCKET} + +popd + +# V2 due to problems w/ the released javadoc plugin doclava, Java 8 is required. Beware of accidental updates. + +mvn clean site -B -q -Ddevsite.template="${KOKORO_GFILE_DIR}/java/" + +pushd target/devsite/reference + +# create metadata +python3 -m docuploader create-metadata \ + --name ${NAME} \ + --version ${VERSION} \ + --language java + +# upload docs +python3 -m docuploader upload . \ + --credentials ${CREDENTIALS} \ + --staging-bucket ${STAGING_BUCKET_V2} diff --git a/.kokoro/release/publish_javadoc11.cfg b/.kokoro/release/publish_javadoc11.cfg index 43e0c144..31174408 100644 --- a/.kokoro/release/publish_javadoc11.cfg +++ b/.kokoro/release/publish_javadoc11.cfg @@ -1,9 +1,9 @@ # Format: //devtools/kokoro/config/proto/build.proto -# cloud-rad production env_vars: { key: "STAGING_BUCKET_V2" value: "docs-staging-v2" + # Production will be at: docs-staging-v2 } # Configure the docker image for kokoro-trampoline diff --git a/.kokoro/release/publish_javadoc11.sh b/.kokoro/release/publish_javadoc11.sh index b7434691..df224e32 100755 --- a/.kokoro/release/publish_javadoc11.sh +++ b/.kokoro/release/publish_javadoc11.sh @@ -40,9 +40,6 @@ export VERSION=$(grep ${NAME}: versions.txt | cut -d: -f3) # generate yml mvn clean site -B -q -P docFX -# copy README to docfx-yml dir and rename index.md -cp README.md target/docfx-yml/index.md - pushd target/docfx-yml # create metadata @@ -51,8 +48,8 @@ python3 -m docuploader create-metadata \ --version ${VERSION} \ --language java -# upload yml to production bucket +# upload yml python3 -m docuploader upload . \ --credentials ${CREDENTIALS} \ --staging-bucket ${STAGING_BUCKET_V2} \ - --destination-prefix docfx + --destination-prefix docfx- diff --git a/grpc-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryGrpc.java b/grpc-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryGrpc.java index 3c6b8852..9975a608 100644 --- a/grpc-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryGrpc.java +++ b/grpc-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryGrpc.java @@ -16,11 +16,6 @@ package com.google.devtools.artifactregistry.v1beta2; import static io.grpc.MethodDescriptor.generateFullMethodName; -import static io.grpc.stub.ClientCalls.asyncUnaryCall; -import static io.grpc.stub.ClientCalls.blockingUnaryCall; -import static io.grpc.stub.ClientCalls.futureUnaryCall; -import static io.grpc.stub.ServerCalls.asyncUnaryCall; -import static io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall; /** * @@ -1078,7 +1073,8 @@ public void listRepositories( io.grpc.stub.StreamObserver< com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse> responseObserver) { - asyncUnimplementedUnaryCall(getListRepositoriesMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListRepositoriesMethod(), responseObserver); } /** @@ -1092,7 +1088,8 @@ public void getRepository( com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getGetRepositoryMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetRepositoryMethod(), responseObserver); } /** @@ -1106,7 +1103,8 @@ public void getRepository( public void createRepository( com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getCreateRepositoryMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateRepositoryMethod(), responseObserver); } /** @@ -1120,7 +1118,8 @@ public void updateRepository( com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getUpdateRepositoryMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateRepositoryMethod(), responseObserver); } /** @@ -1135,7 +1134,8 @@ public void updateRepository( public void deleteRepository( com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getDeleteRepositoryMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteRepositoryMethod(), responseObserver); } /** @@ -1150,7 +1150,8 @@ public void listPackages( io.grpc.stub.StreamObserver< com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse> responseObserver) { - asyncUnimplementedUnaryCall(getListPackagesMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListPackagesMethod(), responseObserver); } /** @@ -1164,7 +1165,7 @@ public void getPackage( com.google.devtools.artifactregistry.v1beta2.GetPackageRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getGetPackageMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetPackageMethod(), responseObserver); } /** @@ -1178,7 +1179,8 @@ public void getPackage( public void deletePackage( com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getDeletePackageMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeletePackageMethod(), responseObserver); } /** @@ -1193,7 +1195,8 @@ public void listVersions( io.grpc.stub.StreamObserver< com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse> responseObserver) { - asyncUnimplementedUnaryCall(getListVersionsMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListVersionsMethod(), responseObserver); } /** @@ -1207,7 +1210,7 @@ public void getVersion( com.google.devtools.artifactregistry.v1beta2.GetVersionRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getGetVersionMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetVersionMethod(), responseObserver); } /** @@ -1221,7 +1224,8 @@ public void getVersion( public void deleteVersion( com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getDeleteVersionMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteVersionMethod(), responseObserver); } /** @@ -1235,7 +1239,7 @@ public void listFiles( com.google.devtools.artifactregistry.v1beta2.ListFilesRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getListFilesMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListFilesMethod(), responseObserver); } /** @@ -1249,7 +1253,7 @@ public void getFile( com.google.devtools.artifactregistry.v1beta2.GetFileRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getGetFileMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetFileMethod(), responseObserver); } /** @@ -1263,7 +1267,7 @@ public void listTags( com.google.devtools.artifactregistry.v1beta2.ListTagsRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getListTagsMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTagsMethod(), responseObserver); } /** @@ -1277,7 +1281,7 @@ public void getTag( com.google.devtools.artifactregistry.v1beta2.GetTagRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getGetTagMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTagMethod(), responseObserver); } /** @@ -1291,7 +1295,7 @@ public void createTag( com.google.devtools.artifactregistry.v1beta2.CreateTagRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getCreateTagMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTagMethod(), responseObserver); } /** @@ -1305,7 +1309,7 @@ public void updateTag( com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getUpdateTagMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTagMethod(), responseObserver); } /** @@ -1318,7 +1322,7 @@ public void updateTag( public void deleteTag( com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getDeleteTagMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTagMethod(), responseObserver); } /** @@ -1331,7 +1335,8 @@ public void deleteTag( public void setIamPolicy( com.google.iam.v1.SetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getSetIamPolicyMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getSetIamPolicyMethod(), responseObserver); } /** @@ -1344,7 +1349,8 @@ public void setIamPolicy( public void getIamPolicy( com.google.iam.v1.GetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getGetIamPolicyMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetIamPolicyMethod(), responseObserver); } /** @@ -1358,7 +1364,8 @@ public void testIamPermissions( com.google.iam.v1.TestIamPermissionsRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getTestIamPermissionsMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getTestIamPermissionsMethod(), responseObserver); } @java.lang.Override @@ -1366,136 +1373,136 @@ public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( getListRepositoriesMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest, com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse>( this, METHODID_LIST_REPOSITORIES))) .addMethod( getGetRepositoryMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest, com.google.devtools.artifactregistry.v1beta2.Repository>( this, METHODID_GET_REPOSITORY))) .addMethod( getCreateRepositoryMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest, com.google.longrunning.Operation>(this, METHODID_CREATE_REPOSITORY))) .addMethod( getUpdateRepositoryMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest, com.google.devtools.artifactregistry.v1beta2.Repository>( this, METHODID_UPDATE_REPOSITORY))) .addMethod( getDeleteRepositoryMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest, com.google.longrunning.Operation>(this, METHODID_DELETE_REPOSITORY))) .addMethod( getListPackagesMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest, com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse>( this, METHODID_LIST_PACKAGES))) .addMethod( getGetPackageMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.devtools.artifactregistry.v1beta2.GetPackageRequest, com.google.devtools.artifactregistry.v1beta2.Package>( this, METHODID_GET_PACKAGE))) .addMethod( getDeletePackageMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest, com.google.longrunning.Operation>(this, METHODID_DELETE_PACKAGE))) .addMethod( getListVersionsMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest, com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse>( this, METHODID_LIST_VERSIONS))) .addMethod( getGetVersionMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.devtools.artifactregistry.v1beta2.GetVersionRequest, com.google.devtools.artifactregistry.v1beta2.Version>( this, METHODID_GET_VERSION))) .addMethod( getDeleteVersionMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest, com.google.longrunning.Operation>(this, METHODID_DELETE_VERSION))) .addMethod( getListFilesMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.devtools.artifactregistry.v1beta2.ListFilesRequest, com.google.devtools.artifactregistry.v1beta2.ListFilesResponse>( this, METHODID_LIST_FILES))) .addMethod( getGetFileMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.devtools.artifactregistry.v1beta2.GetFileRequest, com.google.devtools.artifactregistry.v1beta2.File>(this, METHODID_GET_FILE))) .addMethod( getListTagsMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.devtools.artifactregistry.v1beta2.ListTagsRequest, com.google.devtools.artifactregistry.v1beta2.ListTagsResponse>( this, METHODID_LIST_TAGS))) .addMethod( getGetTagMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.devtools.artifactregistry.v1beta2.GetTagRequest, com.google.devtools.artifactregistry.v1beta2.Tag>(this, METHODID_GET_TAG))) .addMethod( getCreateTagMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.devtools.artifactregistry.v1beta2.CreateTagRequest, com.google.devtools.artifactregistry.v1beta2.Tag>(this, METHODID_CREATE_TAG))) .addMethod( getUpdateTagMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest, com.google.devtools.artifactregistry.v1beta2.Tag>(this, METHODID_UPDATE_TAG))) .addMethod( getDeleteTagMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest, com.google.protobuf.Empty>(this, METHODID_DELETE_TAG))) .addMethod( getSetIamPolicyMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>( this, METHODID_SET_IAM_POLICY))) .addMethod( getGetIamPolicyMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>( this, METHODID_GET_IAM_POLICY))) .addMethod( getTestIamPermissionsMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse>( @@ -1543,7 +1550,7 @@ public void listRepositories( io.grpc.stub.StreamObserver< com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse> responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListRepositoriesMethod(), getCallOptions()), request, responseObserver); @@ -1560,7 +1567,7 @@ public void getRepository( com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetRepositoryMethod(), getCallOptions()), request, responseObserver); @@ -1577,7 +1584,7 @@ public void getRepository( public void createRepository( com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCreateRepositoryMethod(), getCallOptions()), request, responseObserver); @@ -1594,7 +1601,7 @@ public void updateRepository( com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getUpdateRepositoryMethod(), getCallOptions()), request, responseObserver); @@ -1612,7 +1619,7 @@ public void updateRepository( public void deleteRepository( com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDeleteRepositoryMethod(), getCallOptions()), request, responseObserver); @@ -1630,7 +1637,7 @@ public void listPackages( io.grpc.stub.StreamObserver< com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse> responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListPackagesMethod(), getCallOptions()), request, responseObserver); @@ -1647,7 +1654,7 @@ public void getPackage( com.google.devtools.artifactregistry.v1beta2.GetPackageRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetPackageMethod(), getCallOptions()), request, responseObserver); } @@ -1662,7 +1669,7 @@ public void getPackage( public void deletePackage( com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDeletePackageMethod(), getCallOptions()), request, responseObserver); @@ -1680,7 +1687,7 @@ public void listVersions( io.grpc.stub.StreamObserver< com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse> responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListVersionsMethod(), getCallOptions()), request, responseObserver); @@ -1697,7 +1704,7 @@ public void getVersion( com.google.devtools.artifactregistry.v1beta2.GetVersionRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetVersionMethod(), getCallOptions()), request, responseObserver); } @@ -1712,7 +1719,7 @@ public void getVersion( public void deleteVersion( com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDeleteVersionMethod(), getCallOptions()), request, responseObserver); @@ -1729,7 +1736,7 @@ public void listFiles( com.google.devtools.artifactregistry.v1beta2.ListFilesRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListFilesMethod(), getCallOptions()), request, responseObserver); } @@ -1744,7 +1751,7 @@ public void getFile( com.google.devtools.artifactregistry.v1beta2.GetFileRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetFileMethod(), getCallOptions()), request, responseObserver); } @@ -1759,7 +1766,7 @@ public void listTags( com.google.devtools.artifactregistry.v1beta2.ListTagsRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListTagsMethod(), getCallOptions()), request, responseObserver); } @@ -1774,7 +1781,7 @@ public void getTag( com.google.devtools.artifactregistry.v1beta2.GetTagRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetTagMethod(), getCallOptions()), request, responseObserver); } @@ -1789,7 +1796,7 @@ public void createTag( com.google.devtools.artifactregistry.v1beta2.CreateTagRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCreateTagMethod(), getCallOptions()), request, responseObserver); } @@ -1804,7 +1811,7 @@ public void updateTag( com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getUpdateTagMethod(), getCallOptions()), request, responseObserver); } @@ -1818,7 +1825,7 @@ public void updateTag( public void deleteTag( com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDeleteTagMethod(), getCallOptions()), request, responseObserver); } @@ -1832,7 +1839,7 @@ public void deleteTag( public void setIamPolicy( com.google.iam.v1.SetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request, responseObserver); @@ -1848,7 +1855,7 @@ public void setIamPolicy( public void getIamPolicy( com.google.iam.v1.GetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request, responseObserver); @@ -1865,7 +1872,7 @@ public void testIamPermissions( com.google.iam.v1.TestIamPermissionsRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request, responseObserver); @@ -1909,7 +1916,7 @@ protected ArtifactRegistryBlockingStub build( */ public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse listRepositories( com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest request) { - return blockingUnaryCall( + return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListRepositoriesMethod(), getCallOptions(), request); } @@ -1922,7 +1929,8 @@ public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse lis */ public com.google.devtools.artifactregistry.v1beta2.Repository getRepository( com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest request) { - return blockingUnaryCall(getChannel(), getGetRepositoryMethod(), getCallOptions(), request); + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetRepositoryMethod(), getCallOptions(), request); } /** @@ -1935,7 +1943,7 @@ public com.google.devtools.artifactregistry.v1beta2.Repository getRepository( */ public com.google.longrunning.Operation createRepository( com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest request) { - return blockingUnaryCall( + return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateRepositoryMethod(), getCallOptions(), request); } @@ -1948,7 +1956,7 @@ public com.google.longrunning.Operation createRepository( */ public com.google.devtools.artifactregistry.v1beta2.Repository updateRepository( com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest request) { - return blockingUnaryCall( + return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateRepositoryMethod(), getCallOptions(), request); } @@ -1963,7 +1971,7 @@ public com.google.devtools.artifactregistry.v1beta2.Repository updateRepository( */ public com.google.longrunning.Operation deleteRepository( com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest request) { - return blockingUnaryCall( + return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteRepositoryMethod(), getCallOptions(), request); } @@ -1976,7 +1984,8 @@ public com.google.longrunning.Operation deleteRepository( */ public com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse listPackages( com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest request) { - return blockingUnaryCall(getChannel(), getListPackagesMethod(), getCallOptions(), request); + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListPackagesMethod(), getCallOptions(), request); } /** @@ -1988,7 +1997,8 @@ public com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse listPac */ public com.google.devtools.artifactregistry.v1beta2.Package getPackage( com.google.devtools.artifactregistry.v1beta2.GetPackageRequest request) { - return blockingUnaryCall(getChannel(), getGetPackageMethod(), getCallOptions(), request); + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetPackageMethod(), getCallOptions(), request); } /** @@ -2001,7 +2011,8 @@ public com.google.devtools.artifactregistry.v1beta2.Package getPackage( */ public com.google.longrunning.Operation deletePackage( com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest request) { - return blockingUnaryCall(getChannel(), getDeletePackageMethod(), getCallOptions(), request); + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeletePackageMethod(), getCallOptions(), request); } /** @@ -2013,7 +2024,8 @@ public com.google.longrunning.Operation deletePackage( */ public com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse listVersions( com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest request) { - return blockingUnaryCall(getChannel(), getListVersionsMethod(), getCallOptions(), request); + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListVersionsMethod(), getCallOptions(), request); } /** @@ -2025,7 +2037,8 @@ public com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse listVer */ public com.google.devtools.artifactregistry.v1beta2.Version getVersion( com.google.devtools.artifactregistry.v1beta2.GetVersionRequest request) { - return blockingUnaryCall(getChannel(), getGetVersionMethod(), getCallOptions(), request); + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetVersionMethod(), getCallOptions(), request); } /** @@ -2038,7 +2051,8 @@ public com.google.devtools.artifactregistry.v1beta2.Version getVersion( */ public com.google.longrunning.Operation deleteVersion( com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest request) { - return blockingUnaryCall(getChannel(), getDeleteVersionMethod(), getCallOptions(), request); + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteVersionMethod(), getCallOptions(), request); } /** @@ -2050,7 +2064,8 @@ public com.google.longrunning.Operation deleteVersion( */ public com.google.devtools.artifactregistry.v1beta2.ListFilesResponse listFiles( com.google.devtools.artifactregistry.v1beta2.ListFilesRequest request) { - return blockingUnaryCall(getChannel(), getListFilesMethod(), getCallOptions(), request); + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListFilesMethod(), getCallOptions(), request); } /** @@ -2062,7 +2077,8 @@ public com.google.devtools.artifactregistry.v1beta2.ListFilesResponse listFiles( */ public com.google.devtools.artifactregistry.v1beta2.File getFile( com.google.devtools.artifactregistry.v1beta2.GetFileRequest request) { - return blockingUnaryCall(getChannel(), getGetFileMethod(), getCallOptions(), request); + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetFileMethod(), getCallOptions(), request); } /** @@ -2074,7 +2090,8 @@ public com.google.devtools.artifactregistry.v1beta2.File getFile( */ public com.google.devtools.artifactregistry.v1beta2.ListTagsResponse listTags( com.google.devtools.artifactregistry.v1beta2.ListTagsRequest request) { - return blockingUnaryCall(getChannel(), getListTagsMethod(), getCallOptions(), request); + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListTagsMethod(), getCallOptions(), request); } /** @@ -2086,7 +2103,8 @@ public com.google.devtools.artifactregistry.v1beta2.ListTagsResponse listTags( */ public com.google.devtools.artifactregistry.v1beta2.Tag getTag( com.google.devtools.artifactregistry.v1beta2.GetTagRequest request) { - return blockingUnaryCall(getChannel(), getGetTagMethod(), getCallOptions(), request); + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetTagMethod(), getCallOptions(), request); } /** @@ -2098,7 +2116,8 @@ public com.google.devtools.artifactregistry.v1beta2.Tag getTag( */ public com.google.devtools.artifactregistry.v1beta2.Tag createTag( com.google.devtools.artifactregistry.v1beta2.CreateTagRequest request) { - return blockingUnaryCall(getChannel(), getCreateTagMethod(), getCallOptions(), request); + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateTagMethod(), getCallOptions(), request); } /** @@ -2110,7 +2129,8 @@ public com.google.devtools.artifactregistry.v1beta2.Tag createTag( */ public com.google.devtools.artifactregistry.v1beta2.Tag updateTag( com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest request) { - return blockingUnaryCall(getChannel(), getUpdateTagMethod(), getCallOptions(), request); + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateTagMethod(), getCallOptions(), request); } /** @@ -2122,7 +2142,8 @@ public com.google.devtools.artifactregistry.v1beta2.Tag updateTag( */ public com.google.protobuf.Empty deleteTag( com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest request) { - return blockingUnaryCall(getChannel(), getDeleteTagMethod(), getCallOptions(), request); + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteTagMethod(), getCallOptions(), request); } /** @@ -2133,7 +2154,8 @@ public com.google.protobuf.Empty deleteTag( * */ public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { - return blockingUnaryCall(getChannel(), getSetIamPolicyMethod(), getCallOptions(), request); + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetIamPolicyMethod(), getCallOptions(), request); } /** @@ -2144,7 +2166,8 @@ public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyReque * */ public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { - return blockingUnaryCall(getChannel(), getGetIamPolicyMethod(), getCallOptions(), request); + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetIamPolicyMethod(), getCallOptions(), request); } /** @@ -2156,7 +2179,7 @@ public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyReque */ public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions( com.google.iam.v1.TestIamPermissionsRequest request) { - return blockingUnaryCall( + return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); } } @@ -2200,7 +2223,7 @@ protected ArtifactRegistryFutureStub build( com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse> listRepositories( com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListRepositoriesMethod(), getCallOptions()), request); } @@ -2214,7 +2237,7 @@ protected ArtifactRegistryFutureStub build( public com.google.common.util.concurrent.ListenableFuture< com.google.devtools.artifactregistry.v1beta2.Repository> getRepository(com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetRepositoryMethod(), getCallOptions()), request); } @@ -2229,7 +2252,7 @@ protected ArtifactRegistryFutureStub build( public com.google.common.util.concurrent.ListenableFuture createRepository( com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateRepositoryMethod(), getCallOptions()), request); } @@ -2244,7 +2267,7 @@ protected ArtifactRegistryFutureStub build( com.google.devtools.artifactregistry.v1beta2.Repository> updateRepository( com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateRepositoryMethod(), getCallOptions()), request); } @@ -2260,7 +2283,7 @@ protected ArtifactRegistryFutureStub build( public com.google.common.util.concurrent.ListenableFuture deleteRepository( com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteRepositoryMethod(), getCallOptions()), request); } @@ -2274,7 +2297,7 @@ protected ArtifactRegistryFutureStub build( public com.google.common.util.concurrent.ListenableFuture< com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse> listPackages(com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListPackagesMethod(), getCallOptions()), request); } @@ -2288,7 +2311,7 @@ protected ArtifactRegistryFutureStub build( public com.google.common.util.concurrent.ListenableFuture< com.google.devtools.artifactregistry.v1beta2.Package> getPackage(com.google.devtools.artifactregistry.v1beta2.GetPackageRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetPackageMethod(), getCallOptions()), request); } @@ -2302,7 +2325,7 @@ protected ArtifactRegistryFutureStub build( */ public com.google.common.util.concurrent.ListenableFuture deletePackage(com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeletePackageMethod(), getCallOptions()), request); } @@ -2316,7 +2339,7 @@ protected ArtifactRegistryFutureStub build( public com.google.common.util.concurrent.ListenableFuture< com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse> listVersions(com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListVersionsMethod(), getCallOptions()), request); } @@ -2330,7 +2353,7 @@ protected ArtifactRegistryFutureStub build( public com.google.common.util.concurrent.ListenableFuture< com.google.devtools.artifactregistry.v1beta2.Version> getVersion(com.google.devtools.artifactregistry.v1beta2.GetVersionRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetVersionMethod(), getCallOptions()), request); } @@ -2344,7 +2367,7 @@ protected ArtifactRegistryFutureStub build( */ public com.google.common.util.concurrent.ListenableFuture deleteVersion(com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteVersionMethod(), getCallOptions()), request); } @@ -2358,7 +2381,8 @@ protected ArtifactRegistryFutureStub build( public com.google.common.util.concurrent.ListenableFuture< com.google.devtools.artifactregistry.v1beta2.ListFilesResponse> listFiles(com.google.devtools.artifactregistry.v1beta2.ListFilesRequest request) { - return futureUnaryCall(getChannel().newCall(getListFilesMethod(), getCallOptions()), request); + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListFilesMethod(), getCallOptions()), request); } /** @@ -2371,7 +2395,8 @@ protected ArtifactRegistryFutureStub build( public com.google.common.util.concurrent.ListenableFuture< com.google.devtools.artifactregistry.v1beta2.File> getFile(com.google.devtools.artifactregistry.v1beta2.GetFileRequest request) { - return futureUnaryCall(getChannel().newCall(getGetFileMethod(), getCallOptions()), request); + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetFileMethod(), getCallOptions()), request); } /** @@ -2384,7 +2409,8 @@ protected ArtifactRegistryFutureStub build( public com.google.common.util.concurrent.ListenableFuture< com.google.devtools.artifactregistry.v1beta2.ListTagsResponse> listTags(com.google.devtools.artifactregistry.v1beta2.ListTagsRequest request) { - return futureUnaryCall(getChannel().newCall(getListTagsMethod(), getCallOptions()), request); + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListTagsMethod(), getCallOptions()), request); } /** @@ -2397,7 +2423,8 @@ protected ArtifactRegistryFutureStub build( public com.google.common.util.concurrent.ListenableFuture< com.google.devtools.artifactregistry.v1beta2.Tag> getTag(com.google.devtools.artifactregistry.v1beta2.GetTagRequest request) { - return futureUnaryCall(getChannel().newCall(getGetTagMethod(), getCallOptions()), request); + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetTagMethod(), getCallOptions()), request); } /** @@ -2410,7 +2437,8 @@ protected ArtifactRegistryFutureStub build( public com.google.common.util.concurrent.ListenableFuture< com.google.devtools.artifactregistry.v1beta2.Tag> createTag(com.google.devtools.artifactregistry.v1beta2.CreateTagRequest request) { - return futureUnaryCall(getChannel().newCall(getCreateTagMethod(), getCallOptions()), request); + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateTagMethod(), getCallOptions()), request); } /** @@ -2423,7 +2451,8 @@ protected ArtifactRegistryFutureStub build( public com.google.common.util.concurrent.ListenableFuture< com.google.devtools.artifactregistry.v1beta2.Tag> updateTag(com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest request) { - return futureUnaryCall(getChannel().newCall(getUpdateTagMethod(), getCallOptions()), request); + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateTagMethod(), getCallOptions()), request); } /** @@ -2435,7 +2464,8 @@ protected ArtifactRegistryFutureStub build( */ public com.google.common.util.concurrent.ListenableFuture deleteTag( com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest request) { - return futureUnaryCall(getChannel().newCall(getDeleteTagMethod(), getCallOptions()), request); + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteTagMethod(), getCallOptions()), request); } /** @@ -2447,7 +2477,7 @@ public com.google.common.util.concurrent.ListenableFuture setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request); } @@ -2460,7 +2490,7 @@ public com.google.common.util.concurrent.ListenableFuture getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request); } @@ -2474,7 +2504,7 @@ public com.google.common.util.concurrent.ListenableFuture testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request); } } diff --git a/synth.metadata b/synth.metadata index e3292de7..4e14d0e5 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,15 +4,15 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-artifact-registry.git", - "sha": "14bb5db3755f790c7b460a0434b8c878adf6a7ae" + "sha": "93c4b6fb6996730274c8bb818ec836a4b3387374" } }, { "git": { "name": "googleapis-gen", "remote": "https://github.com/googleapis/googleapis-gen.git", - "sha": "1ad043d44370c3639640b1f1f549296c005448f5", - "internalRef": "360805639" + "sha": "ba5ec70708cd72caa1692a95ce57891e3ade61dd", + "internalRef": "361377784" } }, { From 3dae78c61a8228bf7a4b3396f80caf525ef0b8e5 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 9 Mar 2021 22:58:04 +0000 Subject: [PATCH 02/10] chore: release 0.1.1-SNAPSHOT (#4) :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). See [documentation](https://github.com/googleapis/release-please#release-please). --- google-cloud-artifact-registry-bom/pom.xml | 8 ++++---- google-cloud-artifact-registry/pom.xml | 4 ++-- grpc-google-cloud-artifact-registry-v1beta2/pom.xml | 4 ++-- pom.xml | 8 ++++---- proto-google-cloud-artifact-registry-v1beta2/pom.xml | 4 ++-- versions.txt | 6 +++--- 6 files changed, 17 insertions(+), 17 deletions(-) diff --git a/google-cloud-artifact-registry-bom/pom.xml b/google-cloud-artifact-registry-bom/pom.xml index 9537b4e6..53cecc71 100644 --- a/google-cloud-artifact-registry-bom/pom.xml +++ b/google-cloud-artifact-registry-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-artifact-registry-bom - 0.1.0 + 0.1.1-SNAPSHOT pom com.google.cloud @@ -68,17 +68,17 @@ com.google.cloud google-cloud-artifact-registry - 0.1.0 + 0.1.1-SNAPSHOT com.google.api.grpc proto-google-cloud-artifact-registry-v1beta2 - 0.1.0 + 0.1.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-artifact-registry-v1beta2 - 0.1.0 + 0.1.1-SNAPSHOT diff --git a/google-cloud-artifact-registry/pom.xml b/google-cloud-artifact-registry/pom.xml index 24a30a0f..27f36be2 100644 --- a/google-cloud-artifact-registry/pom.xml +++ b/google-cloud-artifact-registry/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-artifact-registry - 0.1.0 + 0.1.1-SNAPSHOT jar Google Artifact Registry https://github.com/googleapis/java-artifact-registry @@ -11,7 +11,7 @@ com.google.cloud google-cloud-artifact-registry-parent - 0.1.0 + 0.1.1-SNAPSHOT google-cloud-artifact-registry diff --git a/grpc-google-cloud-artifact-registry-v1beta2/pom.xml b/grpc-google-cloud-artifact-registry-v1beta2/pom.xml index 3992fb78..dcebef81 100644 --- a/grpc-google-cloud-artifact-registry-v1beta2/pom.xml +++ b/grpc-google-cloud-artifact-registry-v1beta2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-artifact-registry-v1beta2 - 0.1.0 + 0.1.1-SNAPSHOT grpc-google-cloud-artifact-registry-v1beta2 GRPC library for google-cloud-artifact-registry com.google.cloud google-cloud-artifact-registry-parent - 0.1.0 + 0.1.1-SNAPSHOT diff --git a/pom.xml b/pom.xml index 13b55d2a..d3b1e91a 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-artifact-registry-parent pom - 0.1.0 + 0.1.1-SNAPSHOT Google Artifact Registry Parent https://github.com/googleapis/java-artifact-registry @@ -70,17 +70,17 @@ com.google.cloud google-cloud-artifact-registry - 0.1.0 + 0.1.1-SNAPSHOT com.google.api.grpc proto-google-cloud-artifact-registry-v1beta2 - 0.1.0 + 0.1.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-artifact-registry-v1beta2 - 0.1.0 + 0.1.1-SNAPSHOT diff --git a/proto-google-cloud-artifact-registry-v1beta2/pom.xml b/proto-google-cloud-artifact-registry-v1beta2/pom.xml index ebe1b142..86c22931 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/pom.xml +++ b/proto-google-cloud-artifact-registry-v1beta2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-artifact-registry-v1beta2 - 0.1.0 + 0.1.1-SNAPSHOT grpc-google-cloud-artifact-registry-v1beta2 Proto library for google-cloud-artifact-registry com.google.cloud google-cloud-artifact-registry-parent - 0.1.0 + 0.1.1-SNAPSHOT diff --git a/versions.txt b/versions.txt index 09dd04c8..ee51cbbe 100644 --- a/versions.txt +++ b/versions.txt @@ -1,6 +1,6 @@ # Format: # module:released-version:current-version -google-cloud-artifact-registry:0.1.0:0.1.0 -proto-google-cloud-artifact-registry-v1beta2:0.1.0:0.1.0 -grpc-google-cloud-artifact-registry-v1beta2:0.1.0:0.1.0 \ No newline at end of file +google-cloud-artifact-registry:0.1.0:0.1.1-SNAPSHOT +proto-google-cloud-artifact-registry-v1beta2:0.1.0:0.1.1-SNAPSHOT +grpc-google-cloud-artifact-registry-v1beta2:0.1.0:0.1.1-SNAPSHOT \ No newline at end of file From 56b33cdc623df46355250436fb885f8b60526706 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 10 Mar 2021 17:22:02 +0100 Subject: [PATCH 03/10] deps: update dependency com.google.cloud:google-cloud-shared-dependencies to v0.20.1 (#10) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-dependencies](https://togithub.com/googleapis/java-shared-dependencies) | `0.18.0` -> `0.20.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/0.20.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/0.20.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/0.20.1/compatibility-slim/0.18.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/0.20.1/confidence-slim/0.18.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-shared-dependencies ### [`v0.20.1`](https://togithub.com/googleapis/java-shared-dependencies/blob/master/CHANGELOG.md#​0201-httpswwwgithubcomgoogleapisjava-shared-dependenciescompare0200v0201-2021-03-09) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v0.20.0...v0.20.1) ### [`v0.20.0`](https://togithub.com/googleapis/java-shared-dependencies/blob/master/CHANGELOG.md#​0200-httpswwwgithubcomgoogleapisjava-shared-dependenciescompare0190v0200-2021-02-25) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v0.19.0...v0.20.0) ##### Dependencies - update dependency com.google.auth:google-auth-library-bom to v0.24.0 ([#​284](https://www.github.com/googleapis/java-shared-dependencies/issues/284)) ([5e4914c](https://www.github.com/googleapis/java-shared-dependencies/commit/5e4914cc4a8ccd41a219f150a7455da116d1594b)) - update dependency com.google.http-client:google-http-client-bom to v1.39.0 ([#​288](https://www.github.com/googleapis/java-shared-dependencies/issues/288)) ([70bb862](https://www.github.com/googleapis/java-shared-dependencies/commit/70bb862029b840fbd99ba0109fa2b8f585812793)) - update dependency com.google.protobuf:protobuf-bom to v3.15.1 ([#​282](https://www.github.com/googleapis/java-shared-dependencies/issues/282)) ([44283bd](https://www.github.com/googleapis/java-shared-dependencies/commit/44283bdfdc9288b4a8d16b6ed3a61541792d147e)) - update dependency com.google.protobuf:protobuf-bom to v3.15.2 ([#​287](https://www.github.com/googleapis/java-shared-dependencies/issues/287)) ([bdae560](https://www.github.com/googleapis/java-shared-dependencies/commit/bdae5600f9033219ef8beb6c4d1c521fb062eaec)) - update dependency io.grpc:grpc-bom to v1.36.0 ([#​285](https://www.github.com/googleapis/java-shared-dependencies/issues/285)) ([c59771b](https://www.github.com/googleapis/java-shared-dependencies/commit/c59771b2436ac1a4fbc92b48049900472dd6d3ff)) - update gax.version to v1.62.0 ([#​291](https://www.github.com/googleapis/java-shared-dependencies/issues/291)) ([66bd070](https://www.github.com/googleapis/java-shared-dependencies/commit/66bd0702bd3deb64e0f6c73635e0ffd51a4d637e)) - update google.common-protos.version to v2.1.0 ([#​289](https://www.github.com/googleapis/java-shared-dependencies/issues/289)) ([43c9f02](https://www.github.com/googleapis/java-shared-dependencies/commit/43c9f026b1fa82f38dcb93b902281c2559e82d8e)) - update iam.version to v1.0.9 ([#​281](https://www.github.com/googleapis/java-shared-dependencies/issues/281)) ([ee44d0b](https://www.github.com/googleapis/java-shared-dependencies/commit/ee44d0b41e101931ccf5de2561dfcfcc9ff88b88)) ### [`v0.19.0`](https://togithub.com/googleapis/java-shared-dependencies/blob/master/CHANGELOG.md#​0190-httpswwwgithubcomgoogleapisjava-shared-dependenciescompare0180v0190-2021-02-19) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v0.18.0...v0.19.0) ##### Bug Fixes - update repo name ([#​274](https://www.github.com/googleapis/java-shared-dependencies/issues/274)) ([4a98470](https://www.github.com/googleapis/java-shared-dependencies/commit/4a98470b7493c98137191b7bb3cabca23f98628f)) ##### Dependencies - downgrade opencensus version back to 0.28.0 ([#​265](https://www.github.com/googleapis/java-shared-dependencies/issues/265)) ([f37025c](https://www.github.com/googleapis/java-shared-dependencies/commit/f37025c70f951b1e34904ee983815c0ed8ec4086)) - update dependency com.google.api-client:google-api-client-bom to v1.31.2 ([#​254](https://www.github.com/googleapis/java-shared-dependencies/issues/254)) ([1b0b4a6](https://www.github.com/googleapis/java-shared-dependencies/commit/1b0b4a637cae0c22cd0336c527002025780317d5)) - update dependency com.google.auth:google-auth-library-bom to v0.23.0 ([#​261](https://www.github.com/googleapis/java-shared-dependencies/issues/261)) ([1c0b7bd](https://www.github.com/googleapis/java-shared-dependencies/commit/1c0b7bd60b3d73c16cc6c19ab90d8ccedece3706)) - update dependency com.google.cloud:google-cloud-core to v1.94.1 ([#​272](https://www.github.com/googleapis/java-shared-dependencies/issues/272)) ([44fd4c3](https://www.github.com/googleapis/java-shared-dependencies/commit/44fd4c3c6cae98bd514525f03462b830050828a8)) - update dependency com.google.errorprone:error_prone_annotations to v2.5.1 ([#​255](https://www.github.com/googleapis/java-shared-dependencies/issues/255)) ([6367023](https://www.github.com/googleapis/java-shared-dependencies/commit/63670233424e8f24c3924bba5e2cb6ca97525795)) - update dependency com.google.http-client:google-http-client-bom to v1.38.1 ([#​253](https://www.github.com/googleapis/java-shared-dependencies/issues/253)) ([ad87c74](https://www.github.com/googleapis/java-shared-dependencies/commit/ad87c74d9d893726042156d65850806d92e79952)) - update dependency com.google.protobuf:protobuf-bom to v3.15.0 ([#​278](https://www.github.com/googleapis/java-shared-dependencies/issues/278)) ([989efbd](https://www.github.com/googleapis/java-shared-dependencies/commit/989efbd29bcf4135f7abce49a697303df2cf1a60)) - update dependency io.grpc:grpc-bom to v1.35.0 ([#​248](https://www.github.com/googleapis/java-shared-dependencies/issues/248)) ([7a28c6e](https://www.github.com/googleapis/java-shared-dependencies/commit/7a28c6e7053c181993b1288adcae56de89312113)) - update gax.version to v1.61.0 ([#​277](https://www.github.com/googleapis/java-shared-dependencies/issues/277)) ([f1c3fb9](https://www.github.com/googleapis/java-shared-dependencies/commit/f1c3fb9295f2e1c130b9fc329faa60f4f8474ba6)) - update iam.version to v1.0.7 ([#​252](https://www.github.com/googleapis/java-shared-dependencies/issues/252)) ([5cb3ed9](https://www.github.com/googleapis/java-shared-dependencies/commit/5cb3ed906537269cd7f8d9ccf4b065754b5f5b48)) - update iam.version to v1.0.8 ([#​273](https://www.github.com/googleapis/java-shared-dependencies/issues/273)) ([4d5e7f7](https://www.github.com/googleapis/java-shared-dependencies/commit/4d5e7f720d847918b307a83c95cea10c244ba595))
--- ### 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#github/googleapis/java-artifact-registry). --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index d3b1e91a..a2c63a35 100644 --- a/pom.xml +++ b/pom.xml @@ -86,7 +86,7 @@ com.google.cloud google-cloud-shared-dependencies - 0.18.0 + 0.20.1 pom import From b2a9b0afc73fead4c078aef3698e177b3af4ec54 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 10 Mar 2021 21:55:49 +0100 Subject: [PATCH 04/10] chore(deps): update dependency com.google.cloud.samples:shared-configuration to v1.0.21 (#9) --- samples/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/pom.xml b/samples/pom.xml index 3840bf54..ef62f03c 100644 --- a/samples/pom.xml +++ b/samples/pom.xml @@ -18,7 +18,7 @@ com.google.cloud.samples shared-configuration - 1.0.18 + 1.0.21 From 2a938d042a8cfe05e1af1f9b26008e647885725a Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 10 Mar 2021 21:56:13 +0100 Subject: [PATCH 05/10] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v0.11.0 (#7) --- google-cloud-artifact-registry-bom/pom.xml | 2 +- pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/google-cloud-artifact-registry-bom/pom.xml b/google-cloud-artifact-registry-bom/pom.xml index 53cecc71..5a850234 100644 --- a/google-cloud-artifact-registry-bom/pom.xml +++ b/google-cloud-artifact-registry-bom/pom.xml @@ -8,7 +8,7 @@ com.google.cloud google-cloud-shared-config - 0.10.0 + 0.11.0 Google Artifact Registry BOM diff --git a/pom.xml b/pom.xml index a2c63a35..eb8aa01f 100644 --- a/pom.xml +++ b/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 0.10.0 + 0.11.0 From cff8487dd94b592794f8186dd24fbc675f8f8fcd Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 10 Mar 2021 21:56:38 +0100 Subject: [PATCH 06/10] test(deps): update dependency junit:junit to v4.13.2 (#13) --- google-cloud-artifact-registry/pom.xml | 2 +- samples/install-without-bom/pom.xml | 2 +- samples/snapshot/pom.xml | 2 +- samples/snippets/pom.xml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/google-cloud-artifact-registry/pom.xml b/google-cloud-artifact-registry/pom.xml index 27f36be2..f92899c9 100644 --- a/google-cloud-artifact-registry/pom.xml +++ b/google-cloud-artifact-registry/pom.xml @@ -72,7 +72,7 @@ junit junit test - 4.13.1 + 4.13.2
diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index 5e4d258f..ef2ea6b1 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -36,7 +36,7 @@ junit junit - 4.13.1 + 4.13.2 test diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 7175aca9..15a7ecd4 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -35,7 +35,7 @@ junit junit - 4.13.1 + 4.13.2 test diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index 772b1cf8..de7039a1 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -34,7 +34,7 @@ junit junit - 4.13.1 + 4.13.2 test From 4bc8e1030e8e232dfbc7e36db22e83e619fecc21 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 10 Mar 2021 21:57:03 +0100 Subject: [PATCH 07/10] build(deps): update dependency org.codehaus.mojo:build-helper-maven-plugin to v3.2.0 (#8) --- samples/install-without-bom/pom.xml | 2 +- samples/snapshot/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index ef2ea6b1..4a776e9b 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -53,7 +53,7 @@ org.codehaus.mojo build-helper-maven-plugin - 3.1.0 + 3.2.0 add-snippets-source diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 15a7ecd4..1e5b6335 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -52,7 +52,7 @@ org.codehaus.mojo build-helper-maven-plugin - 3.1.0 + 3.2.0 add-snippets-source From 38a879ff44906f6de80dc105df5217f67a7e69b5 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 10 Mar 2021 21:57:51 +0100 Subject: [PATCH 08/10] test(deps): update dependency com.google.truth:truth to v1.1.2 (#12) --- samples/install-without-bom/pom.xml | 2 +- samples/snapshot/pom.xml | 2 +- samples/snippets/pom.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index 4a776e9b..d54a2a12 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -42,7 +42,7 @@ com.google.truth truth - 1.0.1 + 1.1.2 test
diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 1e5b6335..9161aba1 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -41,7 +41,7 @@ com.google.truth truth - 1.0.1 + 1.1.2 test
diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index de7039a1..5fecadcd 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -40,7 +40,7 @@ com.google.truth truth - 1.0.1 + 1.1.2 test From e3e1e5c101eb4ea0ae33253246e8bcdafadf26bb Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 10 Mar 2021 12:58:04 -0800 Subject: [PATCH 09/10] chore: regenerate common templates (#14) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/314043bc-2040-41ef-9dd4-d3060773736b/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/d0bdade9a962042dc0f770cf631086f3db59b5b0 Source-Link: https://github.com/googleapis/synthtool/commit/21da7d9fa02f6916d9f87cf4072b3547b5c72eb5 Source-Link: https://github.com/googleapis/synthtool/commit/6946fd71ae9215b0e7ae188f5057df765ee6d7d2 Source-Link: https://github.com/googleapis/synthtool/commit/1aeca92e4a38f47134cb955f52ea76f84f09ff88 Source-Link: https://github.com/googleapis/synthtool/commit/b416a7befcdbc42de41cf387dcf428f894fb812b Source-Link: https://github.com/googleapis/synthtool/commit/f327d3b657a63ae4a8efd7f011a15eacae36b59c Source-Link: https://github.com/googleapis/synthtool/commit/2414b817065726eae0bc525346c7e874f969369d --- .github/workflows/auto-release.yaml | 4 ++-- .github/workflows/ci.yaml | 13 +++---------- .kokoro/build.sh | 4 +++- .kokoro/dependencies.sh | 4 ++-- .kokoro/release/publish_javadoc.cfg | 8 +------- .kokoro/release/publish_javadoc.sh | 19 ------------------- .kokoro/release/publish_javadoc11.cfg | 2 +- .kokoro/release/publish_javadoc11.sh | 7 +++++-- synth.metadata | 4 ++-- 9 files changed, 19 insertions(+), 46 deletions(-) diff --git a/.github/workflows/auto-release.yaml b/.github/workflows/auto-release.yaml index 76e6404b..7c8816a7 100644 --- a/.github/workflows/auto-release.yaml +++ b/.github/workflows/auto-release.yaml @@ -4,7 +4,7 @@ name: auto-release jobs: approve: runs-on: ubuntu-latest - if: contains(github.head_ref, 'release-v') + if: contains(github.head_ref, 'release-please') steps: - uses: actions/github-script@v3 with: @@ -16,7 +16,7 @@ jobs: return; } - // only approve PRs like "chore: release " + // only approve PRs like "chore(master): release " if ( !context.payload.pull_request.title.startsWith("chore(master): release") ) { return; } diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 98a472e1..def8b3a2 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -55,17 +55,10 @@ jobs: java-version: 8 - run: java -version - name: Install artifacts to local Maven repository - run: | - source .kokoro/common.sh - retry_with_backoff 3 10 \ - mvn install -B -V \ - -Dmaven.test.skip -DskipTests=true \ - -Dclirr.skip=true \ - -Denforcer.skip=true \ - -Dmaven.javadoc.skip=true \ - -Dgcloud.download.skip=true + run: .kokoro/build.sh shell: bash - - uses: GoogleCloudPlatform/cloud-opensource-java/linkage-monitor@v1-linkagemonitor + - name: Validate any conflicts with regard to com.google.cloud:libraries-bom (latest release) + uses: GoogleCloudPlatform/cloud-opensource-java/linkage-monitor@v1-linkagemonitor lint: runs-on: ubuntu-latest steps: diff --git a/.kokoro/build.sh b/.kokoro/build.sh index 0cd78c8e..86e7b9f2 100755 --- a/.kokoro/build.sh +++ b/.kokoro/build.sh @@ -29,7 +29,7 @@ echo ${JOB_TYPE} # attempt to install 3 times with exponential backoff (starting with 10 seconds) retry_with_backoff 3 10 \ - mvn install -B -V \ + mvn install -B -V -ntp \ -DskipTests=true \ -Dclirr.skip=true \ -Denforcer.skip=true \ @@ -60,6 +60,7 @@ javadoc) ;; integration) mvn -B ${INTEGRATION_TEST_ARGS} \ + -ntp \ -Penable-integration-tests \ -DtrimStackTrace=false \ -Dclirr.skip=true \ @@ -81,6 +82,7 @@ samples) pushd ${SAMPLES_DIR} mvn -B \ -Penable-samples \ + -ntp \ -DtrimStackTrace=false \ -Dclirr.skip=true \ -Denforcer.skip=true \ diff --git a/.kokoro/dependencies.sh b/.kokoro/dependencies.sh index c91e5a56..0fb8c843 100755 --- a/.kokoro/dependencies.sh +++ b/.kokoro/dependencies.sh @@ -31,7 +31,7 @@ export MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=128m" # this should run maven enforcer retry_with_backoff 3 10 \ - mvn install -B -V \ + mvn install -B -V -ntp \ -DskipTests=true \ -Dclirr.skip=true @@ -86,4 +86,4 @@ then else msg "Errors found. See log statements above." exit 1 -fi \ No newline at end of file +fi diff --git a/.kokoro/release/publish_javadoc.cfg b/.kokoro/release/publish_javadoc.cfg index bd1bbcf0..c2b9ad6e 100644 --- a/.kokoro/release/publish_javadoc.cfg +++ b/.kokoro/release/publish_javadoc.cfg @@ -7,12 +7,6 @@ env_vars: { value: "docs-staging" } -env_vars: { - key: "STAGING_BUCKET_V2" - value: "docs-staging-v2" - # Production will be at: docs-staging-v2 -} - env_vars: { key: "TRAMPOLINE_BUILD_FILE" value: "github/java-artifact-registry/.kokoro/release/publish_javadoc.sh" @@ -26,4 +20,4 @@ before_action { keyname: "docuploader_service_account" } } -} \ No newline at end of file +} diff --git a/.kokoro/release/publish_javadoc.sh b/.kokoro/release/publish_javadoc.sh index 27c2947f..c4d6647f 100755 --- a/.kokoro/release/publish_javadoc.sh +++ b/.kokoro/release/publish_javadoc.sh @@ -56,22 +56,3 @@ python3 -m docuploader create-metadata \ python3 -m docuploader upload . \ --credentials ${CREDENTIALS} \ --staging-bucket ${STAGING_BUCKET} - -popd - -# V2 due to problems w/ the released javadoc plugin doclava, Java 8 is required. Beware of accidental updates. - -mvn clean site -B -q -Ddevsite.template="${KOKORO_GFILE_DIR}/java/" - -pushd target/devsite/reference - -# create metadata -python3 -m docuploader create-metadata \ - --name ${NAME} \ - --version ${VERSION} \ - --language java - -# upload docs -python3 -m docuploader upload . \ - --credentials ${CREDENTIALS} \ - --staging-bucket ${STAGING_BUCKET_V2} diff --git a/.kokoro/release/publish_javadoc11.cfg b/.kokoro/release/publish_javadoc11.cfg index 31174408..43e0c144 100644 --- a/.kokoro/release/publish_javadoc11.cfg +++ b/.kokoro/release/publish_javadoc11.cfg @@ -1,9 +1,9 @@ # Format: //devtools/kokoro/config/proto/build.proto +# cloud-rad production env_vars: { key: "STAGING_BUCKET_V2" value: "docs-staging-v2" - # Production will be at: docs-staging-v2 } # Configure the docker image for kokoro-trampoline diff --git a/.kokoro/release/publish_javadoc11.sh b/.kokoro/release/publish_javadoc11.sh index df224e32..b7434691 100755 --- a/.kokoro/release/publish_javadoc11.sh +++ b/.kokoro/release/publish_javadoc11.sh @@ -40,6 +40,9 @@ export VERSION=$(grep ${NAME}: versions.txt | cut -d: -f3) # generate yml mvn clean site -B -q -P docFX +# copy README to docfx-yml dir and rename index.md +cp README.md target/docfx-yml/index.md + pushd target/docfx-yml # create metadata @@ -48,8 +51,8 @@ python3 -m docuploader create-metadata \ --version ${VERSION} \ --language java -# upload yml +# upload yml to production bucket python3 -m docuploader upload . \ --credentials ${CREDENTIALS} \ --staging-bucket ${STAGING_BUCKET_V2} \ - --destination-prefix docfx- + --destination-prefix docfx diff --git a/synth.metadata b/synth.metadata index 4e14d0e5..95085747 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-artifact-registry.git", - "sha": "93c4b6fb6996730274c8bb818ec836a4b3387374" + "sha": "3dae78c61a8228bf7a4b3396f80caf525ef0b8e5" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "4679e7e415221f03ff2a71e3ffad75b9ec41d87e" + "sha": "d0bdade9a962042dc0f770cf631086f3db59b5b0" } } ], From 4102afdb736f6a4b21ad47fcef7f5e439c1c2d37 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 10 Mar 2021 21:08:04 +0000 Subject: [PATCH 10/10] chore: release 0.1.1 (#15) :robot: I have created a release \*beep\* \*boop\* --- ### [0.1.1](https://www.github.com/googleapis/java-artifact-registry/compare/v0.1.0...v0.1.1) (2021-03-10) ### Dependencies * update dependency com.google.cloud:google-cloud-shared-dependencies to v0.20.1 ([#10](https://www.github.com/googleapis/java-artifact-registry/issues/10)) ([56b33cd](https://www.github.com/googleapis/java-artifact-registry/commit/56b33cdc623df46355250436fb885f8b60526706)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- CHANGELOG.md | 7 +++++++ google-cloud-artifact-registry-bom/pom.xml | 8 ++++---- google-cloud-artifact-registry/pom.xml | 4 ++-- grpc-google-cloud-artifact-registry-v1beta2/pom.xml | 4 ++-- pom.xml | 8 ++++---- proto-google-cloud-artifact-registry-v1beta2/pom.xml | 4 ++-- versions.txt | 6 +++--- 7 files changed, 24 insertions(+), 17 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d13ba063..3f7c4b7c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +### [0.1.1](https://www.github.com/googleapis/java-artifact-registry/compare/v0.1.0...v0.1.1) (2021-03-10) + + +### Dependencies + +* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.20.1 ([#10](https://www.github.com/googleapis/java-artifact-registry/issues/10)) ([56b33cd](https://www.github.com/googleapis/java-artifact-registry/commit/56b33cdc623df46355250436fb885f8b60526706)) + ## 0.1.0 (2021-03-04) diff --git a/google-cloud-artifact-registry-bom/pom.xml b/google-cloud-artifact-registry-bom/pom.xml index 5a850234..a607a3e7 100644 --- a/google-cloud-artifact-registry-bom/pom.xml +++ b/google-cloud-artifact-registry-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-artifact-registry-bom - 0.1.1-SNAPSHOT + 0.1.1 pom com.google.cloud @@ -68,17 +68,17 @@ com.google.cloud google-cloud-artifact-registry - 0.1.1-SNAPSHOT + 0.1.1 com.google.api.grpc proto-google-cloud-artifact-registry-v1beta2 - 0.1.1-SNAPSHOT + 0.1.1 com.google.api.grpc grpc-google-cloud-artifact-registry-v1beta2 - 0.1.1-SNAPSHOT + 0.1.1 diff --git a/google-cloud-artifact-registry/pom.xml b/google-cloud-artifact-registry/pom.xml index f92899c9..101383ef 100644 --- a/google-cloud-artifact-registry/pom.xml +++ b/google-cloud-artifact-registry/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-artifact-registry - 0.1.1-SNAPSHOT + 0.1.1 jar Google Artifact Registry https://github.com/googleapis/java-artifact-registry @@ -11,7 +11,7 @@ com.google.cloud google-cloud-artifact-registry-parent - 0.1.1-SNAPSHOT + 0.1.1 google-cloud-artifact-registry diff --git a/grpc-google-cloud-artifact-registry-v1beta2/pom.xml b/grpc-google-cloud-artifact-registry-v1beta2/pom.xml index dcebef81..7bc4ab42 100644 --- a/grpc-google-cloud-artifact-registry-v1beta2/pom.xml +++ b/grpc-google-cloud-artifact-registry-v1beta2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-artifact-registry-v1beta2 - 0.1.1-SNAPSHOT + 0.1.1 grpc-google-cloud-artifact-registry-v1beta2 GRPC library for google-cloud-artifact-registry com.google.cloud google-cloud-artifact-registry-parent - 0.1.1-SNAPSHOT + 0.1.1 diff --git a/pom.xml b/pom.xml index eb8aa01f..3114f93f 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-artifact-registry-parent pom - 0.1.1-SNAPSHOT + 0.1.1 Google Artifact Registry Parent https://github.com/googleapis/java-artifact-registry @@ -70,17 +70,17 @@ com.google.cloud google-cloud-artifact-registry - 0.1.1-SNAPSHOT + 0.1.1 com.google.api.grpc proto-google-cloud-artifact-registry-v1beta2 - 0.1.1-SNAPSHOT + 0.1.1 com.google.api.grpc grpc-google-cloud-artifact-registry-v1beta2 - 0.1.1-SNAPSHOT + 0.1.1 diff --git a/proto-google-cloud-artifact-registry-v1beta2/pom.xml b/proto-google-cloud-artifact-registry-v1beta2/pom.xml index 86c22931..d8b46734 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/pom.xml +++ b/proto-google-cloud-artifact-registry-v1beta2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-artifact-registry-v1beta2 - 0.1.1-SNAPSHOT + 0.1.1 grpc-google-cloud-artifact-registry-v1beta2 Proto library for google-cloud-artifact-registry com.google.cloud google-cloud-artifact-registry-parent - 0.1.1-SNAPSHOT + 0.1.1 diff --git a/versions.txt b/versions.txt index ee51cbbe..0f7773f1 100644 --- a/versions.txt +++ b/versions.txt @@ -1,6 +1,6 @@ # Format: # module:released-version:current-version -google-cloud-artifact-registry:0.1.0:0.1.1-SNAPSHOT -proto-google-cloud-artifact-registry-v1beta2:0.1.0:0.1.1-SNAPSHOT -grpc-google-cloud-artifact-registry-v1beta2:0.1.0:0.1.1-SNAPSHOT \ No newline at end of file +google-cloud-artifact-registry:0.1.1:0.1.1 +proto-google-cloud-artifact-registry-v1beta2:0.1.1:0.1.1 +grpc-google-cloud-artifact-registry-v1beta2:0.1.1:0.1.1 \ No newline at end of file