From 134a82f82f7cbab9ba6f8e4f8f33ba77e7734966 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 17 Mar 2020 16:12:16 -0700 Subject: [PATCH 01/13] samples: scaffold pom.xml files (#88) This PR was generated using Autosynth. :rainbow:
Log from Synthtool ``` 2020-03-17 12:19:19,426 synthtool > Executing /tmpfs/src/git/autosynth/working_repo/synth.py. 2020-03-17 12:19:19,481 synthtool > Ensuring dependencies. 2020-03-17 12:19:19,486 synthtool > Pulling artman image. latest: Pulling from googleapis/artman Digest: sha256:5ef340c8d9334719bc5c6981d95f4a5d2737b0a6a24f2b9a0d430e96fff85c5b Status: Image is up to date for googleapis/artman:latest 2020-03-17 12:19:20,479 synthtool > Cloning googleapis. 2020-03-17 12:19:20,835 synthtool > Running generator for google/cloud/webrisk/artman_webrisk_v1beta1.yaml. 2020-03-17 12:19:29,408 synthtool > Generated code into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java. 2020-03-17 12:19:29,411 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/SearchUrisResponse.java. 2020-03-17 12:19:29,411 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/SearchHashesRequest.java. 2020-03-17 12:19:29,411 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/RawHashesOrBuilder.java. 2020-03-17 12:19:29,412 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/SearchHashesResponse.java. 2020-03-17 12:19:29,412 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/ThreatEntryRemovalsOrBuilder.java. 2020-03-17 12:19:29,412 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/ThreatType.java. 2020-03-17 12:19:29,412 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/RawIndicesOrBuilder.java. 2020-03-17 12:19:29,413 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/ComputeThreatListDiffRequestOrBuilder.java. 2020-03-17 12:19:29,413 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/ThreatEntryAdditions.java. 2020-03-17 12:19:29,413 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/RiceDeltaEncodingOrBuilder.java. 2020-03-17 12:19:29,413 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/ThreatEntryAdditionsOrBuilder.java. 2020-03-17 12:19:29,413 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/SearchHashesResponseOrBuilder.java. 2020-03-17 12:19:29,414 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/SearchUrisResponseOrBuilder.java. 2020-03-17 12:19:29,414 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/RawIndices.java. 2020-03-17 12:19:29,414 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/WebRiskProto.java. 2020-03-17 12:19:29,414 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/CompressionType.java. 2020-03-17 12:19:29,415 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/RawHashes.java. 2020-03-17 12:19:29,415 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/SearchUrisRequestOrBuilder.java. 2020-03-17 12:19:29,415 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/SearchUrisRequest.java. 2020-03-17 12:19:29,415 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/ComputeThreatListDiffResponseOrBuilder.java. 2020-03-17 12:19:29,415 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/ThreatEntryRemovals.java. 2020-03-17 12:19:29,416 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/ComputeThreatListDiffRequest.java. 2020-03-17 12:19:29,416 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/ComputeThreatListDiffResponse.java. 2020-03-17 12:19:29,416 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/RiceDeltaEncoding.java. 2020-03-17 12:19:29,417 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/SearchHashesRequestOrBuilder.java. 2020-03-17 12:19:29,421 synthtool > No replacements made in [PosixPath('/home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-webrisk-v1beta1/src/**/*Name.java'), PosixPath('/home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-webrisk-v1beta1/src/**/*Names.java')] for pattern /\* \* Copyright \d{4} Google LLC \* \* Licensed under the Apache License, Version 2.0 \(the "License"\); you may not use this file except \* in compliance with the License. You may obtain a copy of the License at \* \* http://www.apache.org/licenses/LICENSE-2.0 \* \* Unless required by applicable law or agreed to in writing, software distributed under the License \* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express \* or implied. See the License for the specific language governing permissions and limitations under \* the License. \*/ , maybe replacement is no longer needed? 2020-03-17 12:19:29,422 synthtool > Replaced '^package (.*);' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/grpc-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/WebRiskServiceV1Beta1Grpc.java. 2020-03-17 12:19:29,433 synthtool > No files in sources [PosixPath('/home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/gapic-google-cloud-webrisk-v1beta1/samples/src')] were copied. Does the source contain files? 2020-03-17 12:19:29,433 synthtool > No files in sources [PosixPath('/home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/gapic-google-cloud-webrisk-v1beta1/samples/resources')] were copied. Does the source contain files? 2020-03-17 12:19:29,434 synthtool > No files in sources [PosixPath('/home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/gapic-google-cloud-webrisk-v1beta1/samples/src/**/*.manifest.yaml')] were copied. Does the source contain files? 2020-03-17 12:19:29,435 synthtool > Running java formatter on 20 files 2020-03-17 12:19:32,268 synthtool > Running java formatter on 1 files 2020-03-17 12:19:34,144 synthtool > Running java formatter on 25 files 2020-03-17 12:19:38,729 synthtool > Running java formatter on 0 files 2020-03-17 12:19:38,994 synthtool > Ensuring dependencies. 2020-03-17 12:19:39,004 synthtool > Cloning googleapis. 2020-03-17 12:19:39,332 synthtool > Generating code for: google/cloud/webrisk/v1. 2020-03-17 12:19:55,358 synthtool > Generated code into /tmpfs/tmp/tmpyz9r_b4x. 2020-03-17 12:19:55,360 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpyz9r_b4x/google-cloud-webrisk-v1-java/proto-google-cloud-webrisk-v1-java/src/main/java/com/google/webrisk/v1/SearchHashesResponse.java. 2020-03-17 12:19:55,361 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpyz9r_b4x/google-cloud-webrisk-v1-java/proto-google-cloud-webrisk-v1-java/src/main/java/com/google/webrisk/v1/SearchHashesRequest.java. 2020-03-17 12:19:55,361 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpyz9r_b4x/google-cloud-webrisk-v1-java/proto-google-cloud-webrisk-v1-java/src/main/java/com/google/webrisk/v1/ComputeThreatListDiffRequest.java. 2020-03-17 12:19:55,361 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpyz9r_b4x/google-cloud-webrisk-v1-java/proto-google-cloud-webrisk-v1-java/src/main/java/com/google/webrisk/v1/ThreatEntryAdditionsOrBuilder.java. 2020-03-17 12:19:55,362 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpyz9r_b4x/google-cloud-webrisk-v1-java/proto-google-cloud-webrisk-v1-java/src/main/java/com/google/webrisk/v1/SearchUrisRequest.java. 2020-03-17 12:19:55,362 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpyz9r_b4x/google-cloud-webrisk-v1-java/proto-google-cloud-webrisk-v1-java/src/main/java/com/google/webrisk/v1/SearchUrisResponse.java. 2020-03-17 12:19:55,363 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpyz9r_b4x/google-cloud-webrisk-v1-java/proto-google-cloud-webrisk-v1-java/src/main/java/com/google/webrisk/v1/RawHashesOrBuilder.java. 2020-03-17 12:19:55,363 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpyz9r_b4x/google-cloud-webrisk-v1-java/proto-google-cloud-webrisk-v1-java/src/main/java/com/google/webrisk/v1/ComputeThreatListDiffRequestOrBuilder.java. 2020-03-17 12:19:55,363 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpyz9r_b4x/google-cloud-webrisk-v1-java/proto-google-cloud-webrisk-v1-java/src/main/java/com/google/webrisk/v1/SearchUrisRequestOrBuilder.java. 2020-03-17 12:19:55,364 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpyz9r_b4x/google-cloud-webrisk-v1-java/proto-google-cloud-webrisk-v1-java/src/main/java/com/google/webrisk/v1/RawIndices.java. 2020-03-17 12:19:55,364 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpyz9r_b4x/google-cloud-webrisk-v1-java/proto-google-cloud-webrisk-v1-java/src/main/java/com/google/webrisk/v1/RiceDeltaEncoding.java. 2020-03-17 12:19:55,364 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpyz9r_b4x/google-cloud-webrisk-v1-java/proto-google-cloud-webrisk-v1-java/src/main/java/com/google/webrisk/v1/RiceDeltaEncodingOrBuilder.java. 2020-03-17 12:19:55,365 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpyz9r_b4x/google-cloud-webrisk-v1-java/proto-google-cloud-webrisk-v1-java/src/main/java/com/google/webrisk/v1/ComputeThreatListDiffResponseOrBuilder.java. 2020-03-17 12:19:55,365 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpyz9r_b4x/google-cloud-webrisk-v1-java/proto-google-cloud-webrisk-v1-java/src/main/java/com/google/webrisk/v1/ThreatEntryRemovalsOrBuilder.java. 2020-03-17 12:19:55,365 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpyz9r_b4x/google-cloud-webrisk-v1-java/proto-google-cloud-webrisk-v1-java/src/main/java/com/google/webrisk/v1/SubmissionOrBuilder.java. 2020-03-17 12:19:55,365 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpyz9r_b4x/google-cloud-webrisk-v1-java/proto-google-cloud-webrisk-v1-java/src/main/java/com/google/webrisk/v1/CreateSubmissionRequest.java. 2020-03-17 12:19:55,366 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpyz9r_b4x/google-cloud-webrisk-v1-java/proto-google-cloud-webrisk-v1-java/src/main/java/com/google/webrisk/v1/ThreatEntryRemovals.java. 2020-03-17 12:19:55,366 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpyz9r_b4x/google-cloud-webrisk-v1-java/proto-google-cloud-webrisk-v1-java/src/main/java/com/google/webrisk/v1/CompressionType.java. 2020-03-17 12:19:55,367 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpyz9r_b4x/google-cloud-webrisk-v1-java/proto-google-cloud-webrisk-v1-java/src/main/java/com/google/webrisk/v1/ComputeThreatListDiffResponse.java. 2020-03-17 12:19:55,367 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpyz9r_b4x/google-cloud-webrisk-v1-java/proto-google-cloud-webrisk-v1-java/src/main/java/com/google/webrisk/v1/ThreatEntryAdditions.java. 2020-03-17 12:19:55,367 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpyz9r_b4x/google-cloud-webrisk-v1-java/proto-google-cloud-webrisk-v1-java/src/main/java/com/google/webrisk/v1/Submission.java. 2020-03-17 12:19:55,368 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpyz9r_b4x/google-cloud-webrisk-v1-java/proto-google-cloud-webrisk-v1-java/src/main/java/com/google/webrisk/v1/SearchHashesRequestOrBuilder.java. 2020-03-17 12:19:55,368 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpyz9r_b4x/google-cloud-webrisk-v1-java/proto-google-cloud-webrisk-v1-java/src/main/java/com/google/webrisk/v1/SearchUrisResponseOrBuilder.java. 2020-03-17 12:19:55,368 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpyz9r_b4x/google-cloud-webrisk-v1-java/proto-google-cloud-webrisk-v1-java/src/main/java/com/google/webrisk/v1/WebRiskProto.java. 2020-03-17 12:19:55,368 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpyz9r_b4x/google-cloud-webrisk-v1-java/proto-google-cloud-webrisk-v1-java/src/main/java/com/google/webrisk/v1/SearchHashesResponseOrBuilder.java. 2020-03-17 12:19:55,369 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpyz9r_b4x/google-cloud-webrisk-v1-java/proto-google-cloud-webrisk-v1-java/src/main/java/com/google/webrisk/v1/ThreatType.java. 2020-03-17 12:19:55,369 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpyz9r_b4x/google-cloud-webrisk-v1-java/proto-google-cloud-webrisk-v1-java/src/main/java/com/google/webrisk/v1/RawIndicesOrBuilder.java. 2020-03-17 12:19:55,369 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpyz9r_b4x/google-cloud-webrisk-v1-java/proto-google-cloud-webrisk-v1-java/src/main/java/com/google/webrisk/v1/RawHashes.java. 2020-03-17 12:19:55,370 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmpyz9r_b4x/google-cloud-webrisk-v1-java/proto-google-cloud-webrisk-v1-java/src/main/java/com/google/webrisk/v1/CreateSubmissionRequestOrBuilder.java. 2020-03-17 12:19:55,371 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /tmpfs/tmp/tmpyz9r_b4x/google-cloud-webrisk-v1-java/proto-google-cloud-webrisk-v1-java/src/main/java/com/google/webrisk/v1/ProjectName.java. 2020-03-17 12:19:55,373 synthtool > Replaced '^package (.*);' in /tmpfs/tmp/tmpyz9r_b4x/google-cloud-webrisk-v1-java/grpc-google-cloud-webrisk-v1-java/src/main/java/com/google/webrisk/v1/WebRiskServiceGrpc.java. 2020-03-17 12:19:55,389 synthtool > No files in sources [PosixPath('/tmpfs/tmp/tmpyz9r_b4x/google-cloud-webrisk-v1-java/gapic-google-cloud-webrisk-v1-java/samples/src')] were copied. Does the source contain files? 2020-03-17 12:19:55,389 synthtool > No files in sources [PosixPath('/tmpfs/tmp/tmpyz9r_b4x/google-cloud-webrisk-v1-java/gapic-google-cloud-webrisk-v1-java/samples/resources')] were copied. Does the source contain files? 2020-03-17 12:19:55,389 synthtool > No files in sources [PosixPath('/tmpfs/tmp/tmpyz9r_b4x/google-cloud-webrisk-v1-java/gapic-google-cloud-webrisk-v1-java/samples/src/**/*.manifest.yaml')] were copied. Does the source contain files? 2020-03-17 12:19:55,390 synthtool > Running java formatter on 20 files 2020-03-17 12:19:58,170 synthtool > Running java formatter on 1 files 2020-03-17 12:20:00,138 synthtool > Running java formatter on 30 files 2020-03-17 12:20:04,861 synthtool > Running java formatter on 0 files .github/ISSUE_TEMPLATE/bug_report.md .github/ISSUE_TEMPLATE/feature_request.md .github/ISSUE_TEMPLATE/support_request.md .github/PULL_REQUEST_TEMPLATE.md .github/release-please.yml .github/trusted-contribution.yml .kokoro/build.bat .kokoro/build.sh .kokoro/coerce_logs.sh .kokoro/common.cfg .kokoro/continuous/common.cfg .kokoro/continuous/dependencies.cfg .kokoro/continuous/integration.cfg .kokoro/continuous/java11.cfg .kokoro/continuous/java7.cfg .kokoro/continuous/java8-osx.cfg .kokoro/continuous/java8-win.cfg .kokoro/continuous/java8.cfg .kokoro/continuous/lint.cfg .kokoro/continuous/propose_release.cfg .kokoro/continuous/samples.cfg .kokoro/dependencies.sh .kokoro/linkage-monitor.sh .kokoro/nightly/common.cfg .kokoro/nightly/dependencies.cfg .kokoro/nightly/integration.cfg .kokoro/nightly/java11.cfg .kokoro/nightly/java7.cfg .kokoro/nightly/java8-osx.cfg .kokoro/nightly/java8-win.cfg .kokoro/nightly/java8.cfg .kokoro/nightly/lint.cfg .kokoro/nightly/samples.cfg .kokoro/presubmit/clirr.cfg .kokoro/presubmit/common.cfg .kokoro/presubmit/dependencies.cfg .kokoro/presubmit/integration.cfg .kokoro/presubmit/java11.cfg .kokoro/presubmit/java7.cfg .kokoro/presubmit/java8-osx.cfg .kokoro/presubmit/java8-win.cfg .kokoro/presubmit/java8.cfg .kokoro/presubmit/linkage-monitor.cfg .kokoro/presubmit/lint.cfg .kokoro/presubmit/samples.cfg .kokoro/release/bump_snapshot.cfg .kokoro/release/common.cfg .kokoro/release/common.sh .kokoro/release/drop.cfg .kokoro/release/drop.sh .kokoro/release/promote.cfg .kokoro/release/promote.sh .kokoro/release/publish_javadoc.cfg .kokoro/release/publish_javadoc.sh .kokoro/release/snapshot.cfg .kokoro/release/snapshot.sh .kokoro/release/stage.cfg .kokoro/release/stage.sh .kokoro/trampoline.sh CODE_OF_CONDUCT.md CONTRIBUTING.md LICENSE README.md codecov.yaml java.header license-checks.xml renovate.json samples/install-without-bom/pom.xml samples/pom.xml samples/snapshot/pom.xml samples/snippets/pom.xml 2020-03-17 12:20:05,407 synthtool > merge: CODE_OF_CONDUCT.md 2020-03-17 12:20:05,408 synthtool > merge: java.header 2020-03-17 12:20:05,408 synthtool > merge: license-checks.xml 2020-03-17 12:20:05,409 synthtool > merge: LICENSE 2020-03-17 12:20:05,409 synthtool > merge: README.md 2020-03-17 12:20:05,409 synthtool > merge: CONTRIBUTING.md 2020-03-17 12:20:05,410 synthtool > merge: renovate.json 2020-03-17 12:20:05,410 synthtool > merge: codecov.yaml 2020-03-17 12:20:05,412 synthtool > merge: .kokoro/build.sh 2020-03-17 12:20:05,412 synthtool > merge: .kokoro/coerce_logs.sh 2020-03-17 12:20:05,413 synthtool > merge: .kokoro/dependencies.sh 2020-03-17 12:20:05,413 synthtool > merge: .kokoro/linkage-monitor.sh 2020-03-17 12:20:05,414 synthtool > merge: .kokoro/trampoline.sh 2020-03-17 12:20:05,414 synthtool > merge: .kokoro/common.cfg 2020-03-17 12:20:05,414 synthtool > merge: .kokoro/build.bat 2020-03-17 12:20:05,415 synthtool > merge: .kokoro/release/promote.sh 2020-03-17 12:20:05,415 synthtool > merge: .kokoro/release/snapshot.sh 2020-03-17 12:20:05,416 synthtool > merge: .kokoro/release/stage.sh 2020-03-17 12:20:05,416 synthtool > merge: .kokoro/release/bump_snapshot.cfg 2020-03-17 12:20:05,416 synthtool > merge: .kokoro/release/drop.cfg 2020-03-17 12:20:05,417 synthtool > merge: .kokoro/release/snapshot.cfg 2020-03-17 12:20:05,417 synthtool > merge: .kokoro/release/promote.cfg 2020-03-17 12:20:05,418 synthtool > merge: .kokoro/release/publish_javadoc.sh 2020-03-17 12:20:05,418 synthtool > merge: .kokoro/release/common.cfg 2020-03-17 12:20:05,419 synthtool > merge: .kokoro/release/drop.sh 2020-03-17 12:20:05,419 synthtool > merge: .kokoro/release/publish_javadoc.cfg 2020-03-17 12:20:05,419 synthtool > merge: .kokoro/release/stage.cfg 2020-03-17 12:20:05,420 synthtool > merge: .kokoro/release/common.sh 2020-03-17 12:20:05,420 synthtool > merge: .kokoro/nightly/lint.cfg 2020-03-17 12:20:05,421 synthtool > merge: .kokoro/nightly/java11.cfg 2020-03-17 12:20:05,421 synthtool > merge: .kokoro/nightly/samples.cfg 2020-03-17 12:20:05,421 synthtool > merge: .kokoro/nightly/java8.cfg 2020-03-17 12:20:05,422 synthtool > merge: .kokoro/nightly/java7.cfg 2020-03-17 12:20:05,422 synthtool > merge: .kokoro/nightly/common.cfg 2020-03-17 12:20:05,423 synthtool > merge: .kokoro/nightly/dependencies.cfg 2020-03-17 12:20:05,423 synthtool > merge: .kokoro/nightly/java8-osx.cfg 2020-03-17 12:20:05,423 synthtool > merge: .kokoro/nightly/java8-win.cfg 2020-03-17 12:20:05,424 synthtool > merge: .kokoro/nightly/integration.cfg 2020-03-17 12:20:05,424 synthtool > merge: .kokoro/presubmit/lint.cfg 2020-03-17 12:20:05,425 synthtool > merge: .kokoro/presubmit/clirr.cfg 2020-03-17 12:20:05,425 synthtool > merge: .kokoro/presubmit/java11.cfg 2020-03-17 12:20:05,426 synthtool > merge: .kokoro/presubmit/samples.cfg 2020-03-17 12:20:05,426 synthtool > merge: .kokoro/presubmit/linkage-monitor.cfg 2020-03-17 12:20:05,426 synthtool > merge: .kokoro/presubmit/java8.cfg 2020-03-17 12:20:05,427 synthtool > merge: .kokoro/presubmit/java7.cfg 2020-03-17 12:20:05,427 synthtool > merge: .kokoro/presubmit/common.cfg 2020-03-17 12:20:05,428 synthtool > merge: .kokoro/presubmit/dependencies.cfg 2020-03-17 12:20:05,428 synthtool > merge: .kokoro/presubmit/java8-osx.cfg 2020-03-17 12:20:05,428 synthtool > merge: .kokoro/presubmit/java8-win.cfg 2020-03-17 12:20:05,429 synthtool > merge: .kokoro/presubmit/integration.cfg 2020-03-17 12:20:05,429 synthtool > merge: .kokoro/continuous/lint.cfg 2020-03-17 12:20:05,430 synthtool > merge: .kokoro/continuous/java11.cfg 2020-03-17 12:20:05,430 synthtool > merge: .kokoro/continuous/samples.cfg 2020-03-17 12:20:05,431 synthtool > merge: .kokoro/continuous/java8.cfg 2020-03-17 12:20:05,431 synthtool > merge: .kokoro/continuous/java7.cfg 2020-03-17 12:20:05,431 synthtool > merge: .kokoro/continuous/propose_release.cfg 2020-03-17 12:20:05,432 synthtool > merge: .kokoro/continuous/common.cfg 2020-03-17 12:20:05,432 synthtool > merge: .kokoro/continuous/dependencies.cfg 2020-03-17 12:20:05,433 synthtool > merge: .kokoro/continuous/java8-osx.cfg 2020-03-17 12:20:05,433 synthtool > merge: .kokoro/continuous/java8-win.cfg 2020-03-17 12:20:05,434 synthtool > merge: .kokoro/continuous/integration.cfg 2020-03-17 12:20:05,434 synthtool > merge: .github/trusted-contribution.yml 2020-03-17 12:20:05,434 synthtool > merge: .github/release-please.yml 2020-03-17 12:20:05,435 synthtool > merge: .github/PULL_REQUEST_TEMPLATE.md 2020-03-17 12:20:05,435 synthtool > merge: .github/ISSUE_TEMPLATE/feature_request.md 2020-03-17 12:20:05,436 synthtool > merge: .github/ISSUE_TEMPLATE/bug_report.md 2020-03-17 12:20:05,436 synthtool > merge: .github/ISSUE_TEMPLATE/support_request.md 2020-03-17 12:20:05,443 synthtool > Wrote metadata to synth.metadata. ```
--- samples/install-without-bom/pom.xml | 84 +++++++++++++++++++++++++++++ samples/pom.xml | 56 +++++++++++++++++++ samples/snapshot/pom.xml | 83 ++++++++++++++++++++++++++++ samples/snippets/pom.xml | 60 +++++++++++++++++++++ synth.metadata | 15 +++--- 5 files changed, 291 insertions(+), 7 deletions(-) create mode 100644 samples/install-without-bom/pom.xml create mode 100644 samples/pom.xml create mode 100644 samples/snapshot/pom.xml create mode 100644 samples/snippets/pom.xml diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml new file mode 100644 index 00000000..65edbe6c --- /dev/null +++ b/samples/install-without-bom/pom.xml @@ -0,0 +1,84 @@ + + + 4.0.0 + com.google.cloud + webrisk-install-without-bom + jar + Google Web Risk Install Without Bom + https://github.com/googleapis/java-webrisk + + + + com.google.cloud.samples + shared-configuration + 1.0.12 + + + + 1.8 + 1.8 + UTF-8 + + + + + + + com.google.cloud + google-cloud-webrisk + 0.33.0 + + + + + junit + junit + 4.13 + test + + + com.google.truth + truth + 1.0.1 + test + + + + + + + + org.codehaus.mojo + build-helper-maven-plugin + 3.1.0 + + + add-snippets-source + + add-source + + + + ../snippets/src/main/java + + + + + add-snippets-tests + + add-test-source + + + + ../snippets/src/test/java + + + + + + + + diff --git a/samples/pom.xml b/samples/pom.xml new file mode 100644 index 00000000..a42c066b --- /dev/null +++ b/samples/pom.xml @@ -0,0 +1,56 @@ + + + 4.0.0 + com.google.cloud + google-cloud-webrisk-samples + 0.0.1-SNAPSHOT + pom + Google Web Risk Samples Parent + https://github.com/googleapis/java-webrisk + + Java idiomatic client for Google Cloud Platform services. + + + + + com.google.cloud.samples + shared-configuration + 1.0.12 + + + + 1.8 + 1.8 + UTF-8 + + + + install-without-bom + snapshot + snippets + + + + + + org.apache.maven.plugins + maven-deploy-plugin + 2.8.2 + + true + + + + org.sonatype.plugins + nexus-staging-maven-plugin + 1.6.8 + + true + + + + + diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml new file mode 100644 index 00000000..cfc0d6a5 --- /dev/null +++ b/samples/snapshot/pom.xml @@ -0,0 +1,83 @@ + + + 4.0.0 + com.google.cloud + webrisk-snapshot + jar + Google Web Risk Snapshot Samples + https://github.com/googleapis/java-webrisk + + + + com.google.cloud.samples + shared-configuration + 1.0.12 + + + + 1.8 + 1.8 + UTF-8 + + + + + + com.google.cloud + google-cloud-webrisk + 0.33.0 + + + + junit + junit + 4.13 + test + + + com.google.truth + truth + 1.0.1 + test + + + + + + + + + org.codehaus.mojo + build-helper-maven-plugin + 3.1.0 + + + add-snippets-source + + add-source + + + + ../snippets/src/main/java + + + + + add-snippets-tests + + add-test-source + + + + ../snippets/src/test/java + + + + + + + + \ No newline at end of file diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml new file mode 100644 index 00000000..0995b35c --- /dev/null +++ b/samples/snippets/pom.xml @@ -0,0 +1,60 @@ + + + 4.0.0 + com.google.cloud + webrisk-snippets + jar + Google Web Risk Snippets + https://github.com/googleapis/java-webrisk + + + + com.google.cloud.samples + shared-configuration + 1.0.12 + + + + 1.8 + 1.8 + UTF-8 + + + + + + + + com.google.cloud + libraries-bom + 4.2.0 + pom + import + + + + + + + com.google.cloud + google-cloud-webrisk + + + + + junit + junit + 4.13 + test + + + com.google.truth + truth + 1.0.1 + test + + + diff --git a/synth.metadata b/synth.metadata index a82c6677..50e47712 100644 --- a/synth.metadata +++ b/synth.metadata @@ -1,27 +1,28 @@ { - "updateTime": "2020-03-16T17:51:44.887676Z", + "updateTime": "2020-03-17T19:20:05.442365Z", "sources": [ { "generator": { "name": "artman", - "version": "1.1.0", - "dockerImage": "googleapis/artman@sha256:f54b7644a1d2e7a37b23f5c0dfe9bba473e41c675002a507a244389e27487ca9" + "version": "1.1.1", + "dockerImage": "googleapis/artman@sha256:5ef340c8d9334719bc5c6981d95f4a5d2737b0a6a24f2b9a0d430e96fff85c5b" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "ae78682c05e864d71223ce22532219813b0245ac", - "internalRef": "301185150" + "sha": "64ab9744073de81fec1b3a6a931befc8a90edf90", + "internalRef": "301373760" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "ae78682c05e864d71223ce22532219813b0245ac", - "internalRef": "301185150" + "sha": "64ab9744073de81fec1b3a6a931befc8a90edf90", + "internalRef": "301373760", + "log": "64ab9744073de81fec1b3a6a931befc8a90edf90\nFix: Introduce location-based organization/folder/billing-account resources\nChore: Update copyright years\n\nPiperOrigin-RevId: 301373760\n\n23d5f09e670ebb0c1b36214acf78704e2ecfc2ac\nUpdate field_behavior annotations in V1 and V2.\n\nPiperOrigin-RevId: 301337970\n\nb2cf37e7fd62383a811aa4d54d013ecae638851d\nData Catalog V1 API\n\nPiperOrigin-RevId: 301282503\n\n1976b9981e2900c8172b7d34b4220bdb18c5db42\nCloud DLP api update. Adds missing fields to Finding and adds support for hybrid jobs.\n\nPiperOrigin-RevId: 301205325\n\n" } }, { From e26f7633685533cc8653a6bbf0a6cb3d84d5fd4a Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Wed, 18 Mar 2020 09:02:10 -0700 Subject: [PATCH 02/13] samples: fix snippet closing tag (#91) --- samples/install-without-bom/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index 65edbe6c..be738823 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -31,7 +31,7 @@ google-cloud-webrisk 0.33.0 - + junit From f936e3dda0b18c291ec2cd6a644e5b4621138de1 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Thu, 19 Mar 2020 07:50:23 -0700 Subject: [PATCH 03/13] chore: updated grpc code output (#93) This PR was generated using Autosynth. :rainbow:
Log from Synthtool ``` 2020-03-19 02:47:49,040 synthtool > Executing /tmpfs/src/git/autosynth/working_repo/synth.py. 2020-03-19 02:47:49,095 synthtool > Ensuring dependencies. 2020-03-19 02:47:49,100 synthtool > Pulling artman image. latest: Pulling from googleapis/artman Digest: sha256:5ef340c8d9334719bc5c6981d95f4a5d2737b0a6a24f2b9a0d430e96fff85c5b Status: Image is up to date for googleapis/artman:latest 2020-03-19 02:47:50,680 synthtool > Cloning googleapis. 2020-03-19 02:47:51,319 synthtool > Running generator for google/cloud/webrisk/artman_webrisk_v1beta1.yaml. 2020-03-19 02:47:59,982 synthtool > Generated code into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java. 2020-03-19 02:47:59,986 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/SearchUrisResponse.java. 2020-03-19 02:47:59,986 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/SearchHashesRequest.java. 2020-03-19 02:47:59,987 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/RawHashesOrBuilder.java. 2020-03-19 02:47:59,987 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/SearchHashesResponse.java. 2020-03-19 02:47:59,987 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/ThreatEntryRemovalsOrBuilder.java. 2020-03-19 02:47:59,987 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/ThreatType.java. 2020-03-19 02:47:59,988 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/RawIndicesOrBuilder.java. 2020-03-19 02:47:59,988 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/ComputeThreatListDiffRequestOrBuilder.java. 2020-03-19 02:47:59,988 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/ThreatEntryAdditions.java. 2020-03-19 02:47:59,988 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/RiceDeltaEncodingOrBuilder.java. 2020-03-19 02:47:59,988 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/ThreatEntryAdditionsOrBuilder.java. 2020-03-19 02:47:59,989 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/SearchHashesResponseOrBuilder.java. 2020-03-19 02:47:59,989 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/SearchUrisResponseOrBuilder.java. 2020-03-19 02:47:59,989 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/RawIndices.java. 2020-03-19 02:47:59,989 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/WebRiskProto.java. 2020-03-19 02:47:59,989 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/CompressionType.java. 2020-03-19 02:47:59,990 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/RawHashes.java. 2020-03-19 02:47:59,990 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/SearchUrisRequestOrBuilder.java. 2020-03-19 02:47:59,990 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/SearchUrisRequest.java. 2020-03-19 02:47:59,990 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/ComputeThreatListDiffResponseOrBuilder.java. 2020-03-19 02:47:59,990 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/ThreatEntryRemovals.java. 2020-03-19 02:47:59,991 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/ComputeThreatListDiffRequest.java. 2020-03-19 02:47:59,991 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/ComputeThreatListDiffResponse.java. 2020-03-19 02:47:59,991 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/RiceDeltaEncoding.java. 2020-03-19 02:47:59,991 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/SearchHashesRequestOrBuilder.java. 2020-03-19 02:47:59,996 synthtool > No replacements made in [PosixPath('/home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-webrisk-v1beta1/src/**/*Name.java'), PosixPath('/home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-webrisk-v1beta1/src/**/*Names.java')] for pattern /\* \* Copyright \d{4} Google LLC \* \* Licensed under the Apache License, Version 2.0 \(the "License"\); you may not use this file except \* in compliance with the License. You may obtain a copy of the License at \* \* http://www.apache.org/licenses/LICENSE-2.0 \* \* Unless required by applicable law or agreed to in writing, software distributed under the License \* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express \* or implied. See the License for the specific language governing permissions and limitations under \* the License. \*/ , maybe replacement is no longer needed? 2020-03-19 02:47:59,997 synthtool > Replaced '^package (.*);' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/grpc-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/WebRiskServiceV1Beta1Grpc.java. 2020-03-19 02:48:00,008 synthtool > No files in sources [PosixPath('/home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/gapic-google-cloud-webrisk-v1beta1/samples/src')] were copied. Does the source contain files? 2020-03-19 02:48:00,009 synthtool > No files in sources [PosixPath('/home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/gapic-google-cloud-webrisk-v1beta1/samples/resources')] were copied. Does the source contain files? 2020-03-19 02:48:00,009 synthtool > No files in sources [PosixPath('/home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/gapic-google-cloud-webrisk-v1beta1/samples/src/**/*.manifest.yaml')] were copied. Does the source contain files? 2020-03-19 02:48:00,010 synthtool > Running java formatter on 20 files 2020-03-19 02:48:02,746 synthtool > Running java formatter on 1 files 2020-03-19 02:48:04,647 synthtool > Running java formatter on 25 files 2020-03-19 02:48:09,257 synthtool > Running java formatter on 0 files 2020-03-19 02:48:09,537 synthtool > Ensuring dependencies. 2020-03-19 02:48:09,549 synthtool > Cloning googleapis. 2020-03-19 02:48:10,192 synthtool > Generating code for: google/cloud/webrisk/v1. 2020-03-19 02:48:24,963 synthtool > Generated code into /tmpfs/tmp/tmp9qhd2zs6. 2020-03-19 02:48:24,965 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmp9qhd2zs6/google-cloud-webrisk-v1-java/proto-google-cloud-webrisk-v1-java/src/main/java/com/google/webrisk/v1/RawHashesOrBuilder.java. 2020-03-19 02:48:24,965 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmp9qhd2zs6/google-cloud-webrisk-v1-java/proto-google-cloud-webrisk-v1-java/src/main/java/com/google/webrisk/v1/SearchUrisRequest.java. 2020-03-19 02:48:24,965 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmp9qhd2zs6/google-cloud-webrisk-v1-java/proto-google-cloud-webrisk-v1-java/src/main/java/com/google/webrisk/v1/RawHashes.java. 2020-03-19 02:48:24,966 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmp9qhd2zs6/google-cloud-webrisk-v1-java/proto-google-cloud-webrisk-v1-java/src/main/java/com/google/webrisk/v1/SearchUrisRequestOrBuilder.java. 2020-03-19 02:48:24,966 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmp9qhd2zs6/google-cloud-webrisk-v1-java/proto-google-cloud-webrisk-v1-java/src/main/java/com/google/webrisk/v1/ThreatEntryAdditionsOrBuilder.java. 2020-03-19 02:48:24,966 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmp9qhd2zs6/google-cloud-webrisk-v1-java/proto-google-cloud-webrisk-v1-java/src/main/java/com/google/webrisk/v1/RawIndices.java. 2020-03-19 02:48:24,967 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmp9qhd2zs6/google-cloud-webrisk-v1-java/proto-google-cloud-webrisk-v1-java/src/main/java/com/google/webrisk/v1/ThreatEntryRemovals.java. 2020-03-19 02:48:24,967 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmp9qhd2zs6/google-cloud-webrisk-v1-java/proto-google-cloud-webrisk-v1-java/src/main/java/com/google/webrisk/v1/RiceDeltaEncoding.java. 2020-03-19 02:48:24,968 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmp9qhd2zs6/google-cloud-webrisk-v1-java/proto-google-cloud-webrisk-v1-java/src/main/java/com/google/webrisk/v1/WebRiskProto.java. 2020-03-19 02:48:24,968 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmp9qhd2zs6/google-cloud-webrisk-v1-java/proto-google-cloud-webrisk-v1-java/src/main/java/com/google/webrisk/v1/ComputeThreatListDiffResponse.java. 2020-03-19 02:48:24,968 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmp9qhd2zs6/google-cloud-webrisk-v1-java/proto-google-cloud-webrisk-v1-java/src/main/java/com/google/webrisk/v1/SearchHashesResponseOrBuilder.java. 2020-03-19 02:48:24,969 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmp9qhd2zs6/google-cloud-webrisk-v1-java/proto-google-cloud-webrisk-v1-java/src/main/java/com/google/webrisk/v1/ComputeThreatListDiffRequest.java. 2020-03-19 02:48:24,969 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmp9qhd2zs6/google-cloud-webrisk-v1-java/proto-google-cloud-webrisk-v1-java/src/main/java/com/google/webrisk/v1/Submission.java. 2020-03-19 02:48:24,970 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmp9qhd2zs6/google-cloud-webrisk-v1-java/proto-google-cloud-webrisk-v1-java/src/main/java/com/google/webrisk/v1/CreateSubmissionRequest.java. 2020-03-19 02:48:24,970 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmp9qhd2zs6/google-cloud-webrisk-v1-java/proto-google-cloud-webrisk-v1-java/src/main/java/com/google/webrisk/v1/CreateSubmissionRequestOrBuilder.java. 2020-03-19 02:48:24,970 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmp9qhd2zs6/google-cloud-webrisk-v1-java/proto-google-cloud-webrisk-v1-java/src/main/java/com/google/webrisk/v1/CompressionType.java. 2020-03-19 02:48:24,970 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmp9qhd2zs6/google-cloud-webrisk-v1-java/proto-google-cloud-webrisk-v1-java/src/main/java/com/google/webrisk/v1/ComputeThreatListDiffResponseOrBuilder.java. 2020-03-19 02:48:24,971 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmp9qhd2zs6/google-cloud-webrisk-v1-java/proto-google-cloud-webrisk-v1-java/src/main/java/com/google/webrisk/v1/SearchUrisResponseOrBuilder.java. 2020-03-19 02:48:24,971 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmp9qhd2zs6/google-cloud-webrisk-v1-java/proto-google-cloud-webrisk-v1-java/src/main/java/com/google/webrisk/v1/ThreatEntryAdditions.java. 2020-03-19 02:48:24,971 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmp9qhd2zs6/google-cloud-webrisk-v1-java/proto-google-cloud-webrisk-v1-java/src/main/java/com/google/webrisk/v1/ThreatEntryRemovalsOrBuilder.java. 2020-03-19 02:48:24,972 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmp9qhd2zs6/google-cloud-webrisk-v1-java/proto-google-cloud-webrisk-v1-java/src/main/java/com/google/webrisk/v1/SearchHashesResponse.java. 2020-03-19 02:48:24,972 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmp9qhd2zs6/google-cloud-webrisk-v1-java/proto-google-cloud-webrisk-v1-java/src/main/java/com/google/webrisk/v1/RawIndicesOrBuilder.java. 2020-03-19 02:48:24,973 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmp9qhd2zs6/google-cloud-webrisk-v1-java/proto-google-cloud-webrisk-v1-java/src/main/java/com/google/webrisk/v1/SearchHashesRequest.java. 2020-03-19 02:48:24,973 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmp9qhd2zs6/google-cloud-webrisk-v1-java/proto-google-cloud-webrisk-v1-java/src/main/java/com/google/webrisk/v1/SubmissionOrBuilder.java. 2020-03-19 02:48:24,973 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmp9qhd2zs6/google-cloud-webrisk-v1-java/proto-google-cloud-webrisk-v1-java/src/main/java/com/google/webrisk/v1/RiceDeltaEncodingOrBuilder.java. 2020-03-19 02:48:24,974 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmp9qhd2zs6/google-cloud-webrisk-v1-java/proto-google-cloud-webrisk-v1-java/src/main/java/com/google/webrisk/v1/SearchHashesRequestOrBuilder.java. 2020-03-19 02:48:24,974 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmp9qhd2zs6/google-cloud-webrisk-v1-java/proto-google-cloud-webrisk-v1-java/src/main/java/com/google/webrisk/v1/ComputeThreatListDiffRequestOrBuilder.java. 2020-03-19 02:48:24,974 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmp9qhd2zs6/google-cloud-webrisk-v1-java/proto-google-cloud-webrisk-v1-java/src/main/java/com/google/webrisk/v1/ThreatType.java. 2020-03-19 02:48:24,975 synthtool > Replaced '// Generated by the protocol buffer compiler. DO NOT EDIT!' in /tmpfs/tmp/tmp9qhd2zs6/google-cloud-webrisk-v1-java/proto-google-cloud-webrisk-v1-java/src/main/java/com/google/webrisk/v1/SearchUrisResponse.java. 2020-03-19 02:48:24,976 synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /tmpfs/tmp/tmp9qhd2zs6/google-cloud-webrisk-v1-java/proto-google-cloud-webrisk-v1-java/src/main/java/com/google/webrisk/v1/ProjectName.java. 2020-03-19 02:48:24,978 synthtool > Replaced '^package (.*);' in /tmpfs/tmp/tmp9qhd2zs6/google-cloud-webrisk-v1-java/grpc-google-cloud-webrisk-v1-java/src/main/java/com/google/webrisk/v1/WebRiskServiceGrpc.java. 2020-03-19 02:48:24,995 synthtool > No files in sources [PosixPath('/tmpfs/tmp/tmp9qhd2zs6/google-cloud-webrisk-v1-java/gapic-google-cloud-webrisk-v1-java/samples/src')] were copied. Does the source contain files? 2020-03-19 02:48:24,995 synthtool > No files in sources [PosixPath('/tmpfs/tmp/tmp9qhd2zs6/google-cloud-webrisk-v1-java/gapic-google-cloud-webrisk-v1-java/samples/resources')] were copied. Does the source contain files? 2020-03-19 02:48:24,995 synthtool > No files in sources [PosixPath('/tmpfs/tmp/tmp9qhd2zs6/google-cloud-webrisk-v1-java/gapic-google-cloud-webrisk-v1-java/samples/src/**/*.manifest.yaml')] were copied. Does the source contain files? 2020-03-19 02:48:24,996 synthtool > Running java formatter on 20 files 2020-03-19 02:48:27,752 synthtool > Running java formatter on 1 files 2020-03-19 02:48:29,704 synthtool > Running java formatter on 30 files 2020-03-19 02:48:34,598 synthtool > Running java formatter on 0 files .github/ISSUE_TEMPLATE/bug_report.md .github/ISSUE_TEMPLATE/feature_request.md .github/ISSUE_TEMPLATE/support_request.md .github/PULL_REQUEST_TEMPLATE.md .github/release-please.yml .github/trusted-contribution.yml .kokoro/build.bat .kokoro/build.sh .kokoro/coerce_logs.sh .kokoro/common.cfg .kokoro/continuous/common.cfg .kokoro/continuous/dependencies.cfg .kokoro/continuous/integration.cfg .kokoro/continuous/java11.cfg .kokoro/continuous/java7.cfg .kokoro/continuous/java8-osx.cfg .kokoro/continuous/java8-win.cfg .kokoro/continuous/java8.cfg .kokoro/continuous/lint.cfg .kokoro/continuous/propose_release.cfg .kokoro/continuous/samples.cfg .kokoro/dependencies.sh .kokoro/linkage-monitor.sh .kokoro/nightly/common.cfg .kokoro/nightly/dependencies.cfg .kokoro/nightly/integration.cfg .kokoro/nightly/java11.cfg .kokoro/nightly/java7.cfg .kokoro/nightly/java8-osx.cfg .kokoro/nightly/java8-win.cfg .kokoro/nightly/java8.cfg .kokoro/nightly/lint.cfg .kokoro/nightly/samples.cfg .kokoro/presubmit/clirr.cfg .kokoro/presubmit/common.cfg .kokoro/presubmit/dependencies.cfg .kokoro/presubmit/integration.cfg .kokoro/presubmit/java11.cfg .kokoro/presubmit/java7.cfg .kokoro/presubmit/java8-osx.cfg .kokoro/presubmit/java8-win.cfg .kokoro/presubmit/java8.cfg .kokoro/presubmit/linkage-monitor.cfg .kokoro/presubmit/lint.cfg .kokoro/presubmit/samples.cfg .kokoro/release/bump_snapshot.cfg .kokoro/release/common.cfg .kokoro/release/common.sh .kokoro/release/drop.cfg .kokoro/release/drop.sh .kokoro/release/promote.cfg .kokoro/release/promote.sh .kokoro/release/publish_javadoc.cfg .kokoro/release/publish_javadoc.sh .kokoro/release/snapshot.cfg .kokoro/release/snapshot.sh .kokoro/release/stage.cfg .kokoro/release/stage.sh .kokoro/trampoline.sh CODE_OF_CONDUCT.md CONTRIBUTING.md LICENSE README.md codecov.yaml java.header license-checks.xml renovate.json samples/install-without-bom/pom.xml samples/pom.xml samples/snapshot/pom.xml samples/snippets/pom.xml 2020-03-19 02:48:35,470 synthtool > merge: codecov.yaml 2020-03-19 02:48:35,470 synthtool > merge: CODE_OF_CONDUCT.md 2020-03-19 02:48:35,471 synthtool > merge: java.header 2020-03-19 02:48:35,471 synthtool > merge: CONTRIBUTING.md 2020-03-19 02:48:35,471 synthtool > merge: LICENSE 2020-03-19 02:48:35,471 synthtool > merge: README.md 2020-03-19 02:48:35,472 synthtool > merge: license-checks.xml 2020-03-19 02:48:35,472 synthtool > merge: renovate.json 2020-03-19 02:48:35,472 synthtool > merge: .kokoro/build.bat 2020-03-19 02:48:35,473 synthtool > merge: .kokoro/dependencies.sh 2020-03-19 02:48:35,473 synthtool > merge: .kokoro/trampoline.sh 2020-03-19 02:48:35,473 synthtool > merge: .kokoro/coerce_logs.sh 2020-03-19 02:48:35,473 synthtool > merge: .kokoro/common.cfg 2020-03-19 02:48:35,474 synthtool > merge: .kokoro/linkage-monitor.sh 2020-03-19 02:48:35,474 synthtool > merge: .kokoro/build.sh 2020-03-19 02:48:35,474 synthtool > merge: .kokoro/presubmit/samples.cfg 2020-03-19 02:48:35,474 synthtool > merge: .kokoro/presubmit/integration.cfg 2020-03-19 02:48:35,475 synthtool > merge: .kokoro/presubmit/java11.cfg 2020-03-19 02:48:35,475 synthtool > merge: .kokoro/presubmit/java8-win.cfg 2020-03-19 02:48:35,475 synthtool > merge: .kokoro/presubmit/dependencies.cfg 2020-03-19 02:48:35,475 synthtool > merge: .kokoro/presubmit/java8.cfg 2020-03-19 02:48:35,476 synthtool > merge: .kokoro/presubmit/clirr.cfg 2020-03-19 02:48:35,476 synthtool > merge: .kokoro/presubmit/java7.cfg 2020-03-19 02:48:35,476 synthtool > merge: .kokoro/presubmit/common.cfg 2020-03-19 02:48:35,476 synthtool > merge: .kokoro/presubmit/lint.cfg 2020-03-19 02:48:35,477 synthtool > merge: .kokoro/presubmit/java8-osx.cfg 2020-03-19 02:48:35,477 synthtool > merge: .kokoro/presubmit/linkage-monitor.cfg 2020-03-19 02:48:35,477 synthtool > merge: .kokoro/continuous/samples.cfg 2020-03-19 02:48:35,478 synthtool > merge: .kokoro/continuous/integration.cfg 2020-03-19 02:48:35,478 synthtool > merge: .kokoro/continuous/java11.cfg 2020-03-19 02:48:35,478 synthtool > merge: .kokoro/continuous/java8-win.cfg 2020-03-19 02:48:35,478 synthtool > merge: .kokoro/continuous/dependencies.cfg 2020-03-19 02:48:35,479 synthtool > merge: .kokoro/continuous/java8.cfg 2020-03-19 02:48:35,479 synthtool > merge: .kokoro/continuous/java7.cfg 2020-03-19 02:48:35,479 synthtool > merge: .kokoro/continuous/common.cfg 2020-03-19 02:48:35,479 synthtool > merge: .kokoro/continuous/propose_release.cfg 2020-03-19 02:48:35,480 synthtool > merge: .kokoro/continuous/lint.cfg 2020-03-19 02:48:35,480 synthtool > merge: .kokoro/continuous/java8-osx.cfg 2020-03-19 02:48:35,480 synthtool > merge: .kokoro/nightly/samples.cfg 2020-03-19 02:48:35,480 synthtool > merge: .kokoro/nightly/integration.cfg 2020-03-19 02:48:35,481 synthtool > merge: .kokoro/nightly/java11.cfg 2020-03-19 02:48:35,481 synthtool > merge: .kokoro/nightly/java8-win.cfg 2020-03-19 02:48:35,481 synthtool > merge: .kokoro/nightly/dependencies.cfg 2020-03-19 02:48:35,481 synthtool > merge: .kokoro/nightly/java8.cfg 2020-03-19 02:48:35,482 synthtool > merge: .kokoro/nightly/java7.cfg 2020-03-19 02:48:35,482 synthtool > merge: .kokoro/nightly/common.cfg 2020-03-19 02:48:35,482 synthtool > merge: .kokoro/nightly/lint.cfg 2020-03-19 02:48:35,482 synthtool > merge: .kokoro/nightly/java8-osx.cfg 2020-03-19 02:48:35,483 synthtool > merge: .kokoro/release/common.sh 2020-03-19 02:48:35,483 synthtool > merge: .kokoro/release/drop.sh 2020-03-19 02:48:35,484 synthtool > merge: .kokoro/release/publish_javadoc.cfg 2020-03-19 02:48:35,484 synthtool > merge: .kokoro/release/bump_snapshot.cfg 2020-03-19 02:48:35,484 synthtool > merge: .kokoro/release/publish_javadoc.sh 2020-03-19 02:48:35,484 synthtool > merge: .kokoro/release/stage.sh 2020-03-19 02:48:35,485 synthtool > merge: .kokoro/release/common.cfg 2020-03-19 02:48:35,485 synthtool > merge: .kokoro/release/drop.cfg 2020-03-19 02:48:35,485 synthtool > merge: .kokoro/release/snapshot.sh 2020-03-19 02:48:35,485 synthtool > merge: .kokoro/release/stage.cfg 2020-03-19 02:48:35,486 synthtool > merge: .kokoro/release/promote.cfg 2020-03-19 02:48:35,486 synthtool > merge: .kokoro/release/promote.sh 2020-03-19 02:48:35,486 synthtool > merge: .kokoro/release/snapshot.cfg 2020-03-19 02:48:35,487 synthtool > merge: .github/PULL_REQUEST_TEMPLATE.md 2020-03-19 02:48:35,487 synthtool > merge: .github/trusted-contribution.yml 2020-03-19 02:48:35,487 synthtool > merge: .github/release-please.yml 2020-03-19 02:48:35,487 synthtool > merge: .github/ISSUE_TEMPLATE/feature_request.md 2020-03-19 02:48:35,488 synthtool > merge: .github/ISSUE_TEMPLATE/support_request.md 2020-03-19 02:48:35,488 synthtool > merge: .github/ISSUE_TEMPLATE/bug_report.md 2020-03-19 02:48:35,488 synthtool > merge: samples/pom.xml 2020-03-19 02:48:35,488 synthtool > existing pom file found (samples/pom.xml) - keeping the existing 2020-03-19 02:48:35,489 synthtool > merge: samples/snapshot/pom.xml 2020-03-19 02:48:35,489 synthtool > existing pom file found (samples/snapshot/pom.xml) - keeping the existing 2020-03-19 02:48:35,489 synthtool > merge: samples/snippets/pom.xml 2020-03-19 02:48:35,489 synthtool > existing pom file found (samples/snippets/pom.xml) - keeping the existing 2020-03-19 02:48:35,489 synthtool > merge: samples/install-without-bom/pom.xml 2020-03-19 02:48:35,489 synthtool > existing pom file found (samples/install-without-bom/pom.xml) - keeping the existing 2020-03-19 02:48:35,496 synthtool > Wrote metadata to synth.metadata. ```
--- README.md | 4 +- .../google/webrisk/v1/WebRiskServiceGrpc.java | 48 ++++++++++++------- synth.metadata | 27 +++++++---- 3 files changed, 50 insertions(+), 29 deletions(-) diff --git a/README.md b/README.md index 15a2bd4d..866d88a9 100644 --- a/README.md +++ b/README.md @@ -26,12 +26,13 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file
+ com.google.cloud google-cloud-webrisk - + ``` [//]: # ({x-version-update-start:google-cloud-webrisk:released}) @@ -44,6 +45,7 @@ If you are using Maven without BOM, add this to your dependencies: google-cloud-webrisk 0.33.0 + ``` If you are using Gradle, add this to your dependencies diff --git a/grpc-google-cloud-webrisk-v1/src/main/java/com/google/webrisk/v1/WebRiskServiceGrpc.java b/grpc-google-cloud-webrisk-v1/src/main/java/com/google/webrisk/v1/WebRiskServiceGrpc.java index a1eb73aa..213b7c0c 100644 --- a/grpc-google-cloud-webrisk-v1/src/main/java/com/google/webrisk/v1/WebRiskServiceGrpc.java +++ b/grpc-google-cloud-webrisk-v1/src/main/java/com/google/webrisk/v1/WebRiskServiceGrpc.java @@ -217,19 +217,43 @@ private WebRiskServiceGrpc() {} /** Creates a new async stub that supports all call types for the service */ public static WebRiskServiceStub newStub(io.grpc.Channel channel) { - return new WebRiskServiceStub(channel); + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public WebRiskServiceStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new WebRiskServiceStub(channel, callOptions); + } + }; + return WebRiskServiceStub.newStub(factory, channel); } /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ public static WebRiskServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { - return new WebRiskServiceBlockingStub(channel); + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public WebRiskServiceBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new WebRiskServiceBlockingStub(channel, callOptions); + } + }; + return WebRiskServiceBlockingStub.newStub(factory, channel); } /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ public static WebRiskServiceFutureStub newFutureStub(io.grpc.Channel channel) { - return new WebRiskServiceFutureStub(channel); + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public WebRiskServiceFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new WebRiskServiceFutureStub(channel, callOptions); + } + }; + return WebRiskServiceFutureStub.newStub(factory, channel); } /** @@ -354,11 +378,7 @@ public final io.grpc.ServerServiceDefinition bindService() { * */ public static final class WebRiskServiceStub - extends io.grpc.stub.AbstractStub { - private WebRiskServiceStub(io.grpc.Channel channel) { - super(channel); - } - + extends io.grpc.stub.AbstractAsyncStub { private WebRiskServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -459,11 +479,7 @@ public void createSubmission( * */ public static final class WebRiskServiceBlockingStub - extends io.grpc.stub.AbstractStub { - private WebRiskServiceBlockingStub(io.grpc.Channel channel) { - super(channel); - } - + extends io.grpc.stub.AbstractBlockingStub { private WebRiskServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -552,11 +568,7 @@ public com.google.webrisk.v1.Submission createSubmission( * */ public static final class WebRiskServiceFutureStub - extends io.grpc.stub.AbstractStub { - private WebRiskServiceFutureStub(io.grpc.Channel channel) { - super(channel); - } - + extends io.grpc.stub.AbstractFutureStub { private WebRiskServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } diff --git a/synth.metadata b/synth.metadata index 50e47712..7b448636 100644 --- a/synth.metadata +++ b/synth.metadata @@ -1,5 +1,5 @@ { - "updateTime": "2020-03-17T19:20:05.442365Z", + "updateTime": "2020-03-19T09:48:35.495114Z", "sources": [ { "generator": { @@ -12,24 +12,31 @@ "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "64ab9744073de81fec1b3a6a931befc8a90edf90", - "internalRef": "301373760" + "sha": "275fbcce2c900278d487c33293a3c7e1fbcd3a34", + "internalRef": "301661567" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "64ab9744073de81fec1b3a6a931befc8a90edf90", - "internalRef": "301373760", - "log": "64ab9744073de81fec1b3a6a931befc8a90edf90\nFix: Introduce location-based organization/folder/billing-account resources\nChore: Update copyright years\n\nPiperOrigin-RevId: 301373760\n\n23d5f09e670ebb0c1b36214acf78704e2ecfc2ac\nUpdate field_behavior annotations in V1 and V2.\n\nPiperOrigin-RevId: 301337970\n\nb2cf37e7fd62383a811aa4d54d013ecae638851d\nData Catalog V1 API\n\nPiperOrigin-RevId: 301282503\n\n1976b9981e2900c8172b7d34b4220bdb18c5db42\nCloud DLP api update. Adds missing fields to Finding and adds support for hybrid jobs.\n\nPiperOrigin-RevId: 301205325\n\n" + "sha": "275fbcce2c900278d487c33293a3c7e1fbcd3a34", + "internalRef": "301661567", + "log": "275fbcce2c900278d487c33293a3c7e1fbcd3a34\nfeat: pubsub/v1 add an experimental filter field to Subscription\n\nPiperOrigin-RevId: 301661567\n\nf2b18cec51d27c999ad30011dba17f3965677e9c\nFix: UpdateBackupRequest.backup is a resource, not a resource reference - remove annotation.\n\nPiperOrigin-RevId: 301636171\n\n800384063ac93a0cac3a510d41726fa4b2cd4a83\nCloud Billing Budget API v1beta1\nModified api documentation to include warnings about the new filter field.\n\nPiperOrigin-RevId: 301634389\n\n0cc6c146b660db21f04056c3d58a4b752ee445e3\nCloud Billing Budget API v1alpha1\nModified api documentation to include warnings about the new filter field.\n\nPiperOrigin-RevId: 301630018\n\nff2ea00f69065585c3ac0993c8b582af3b6fc215\nFix: Add resource definition for a parent of InspectTemplate which was otherwise missing.\n\nPiperOrigin-RevId: 301623052\n\n55fa441c9daf03173910760191646399338f2b7c\nAdd proto definition for AccessLevel, AccessPolicy, and ServicePerimeter.\n\nPiperOrigin-RevId: 301620844\n\ne7b10591c5408a67cf14ffafa267556f3290e262\nCloud Bigtable Managed Backup service and message proto files.\n\nPiperOrigin-RevId: 301585144\n\nd8e226f702f8ddf92915128c9f4693b63fb8685d\nfeat: Add time-to-live in a queue for builds\n\nPiperOrigin-RevId: 301579876\n\n430375af011f8c7a5174884f0d0e539c6ffa7675\ndocs: add missing closing backtick\n\nPiperOrigin-RevId: 301538851\n\n0e9f1f60ded9ad1c2e725e37719112f5b487ab65\nbazel: Use latest release of gax_java\n\nPiperOrigin-RevId: 301480457\n\n5058c1c96d0ece7f5301a154cf5a07b2ad03a571\nUpdate GAPIC v2 with batching parameters for Logging API\n\nPiperOrigin-RevId: 301443847\n\n" } }, { - "template": { - "name": "java_library", - "origin": "synthtool.gcp", - "version": "2020.2.4" + "git": { + "name": "synthtool", + "remote": "https://github.com/googleapis/synthtool.git", + "sha": "bcad3e01b69851ad682a87f8202003a1683ad73a" + } + }, + { + "git": { + "name": "synthtool", + "remote": "https://github.com/googleapis/synthtool.git", + "sha": "bcad3e01b69851ad682a87f8202003a1683ad73a" } } ], From 358ddb0806f444537661009adc737c9b42d65b4d Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 19 Mar 2020 18:10:22 +0000 Subject: [PATCH 04/13] chore: release 0.33.1-SNAPSHOT (#89) :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-webrisk-bom/pom.xml | 8 ++++---- google-cloud-webrisk/pom.xml | 4 ++-- grpc-google-cloud-webrisk-v1/pom.xml | 2 +- grpc-google-cloud-webrisk-v1beta1/pom.xml | 4 ++-- pom.xml | 8 ++++---- proto-google-cloud-webrisk-v1/pom.xml | 2 +- proto-google-cloud-webrisk-v1beta1/pom.xml | 4 ++-- versions.txt | 6 +++--- 8 files changed, 19 insertions(+), 19 deletions(-) diff --git a/google-cloud-webrisk-bom/pom.xml b/google-cloud-webrisk-bom/pom.xml index b05613f0..c6bdcd6f 100644 --- a/google-cloud-webrisk-bom/pom.xml +++ b/google-cloud-webrisk-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-webrisk-bom - 0.33.0 + 0.33.1-SNAPSHOT pom com.google.cloud @@ -63,7 +63,7 @@ com.google.cloud google-cloud-webrisk - 0.33.0 + 0.33.1-SNAPSHOT com.google.api.grpc @@ -73,7 +73,7 @@ com.google.api.grpc grpc-google-cloud-webrisk-v1beta1 - 0.33.0 + 0.33.1-SNAPSHOT com.google.api.grpc @@ -83,7 +83,7 @@ com.google.api.grpc proto-google-cloud-webrisk-v1beta1 - 0.33.0 + 0.33.1-SNAPSHOT diff --git a/google-cloud-webrisk/pom.xml b/google-cloud-webrisk/pom.xml index 06ab8696..f90771bc 100644 --- a/google-cloud-webrisk/pom.xml +++ b/google-cloud-webrisk/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-webrisk - 0.33.0 + 0.33.1-SNAPSHOT jar Google Cloud Web Risk https://github.com/googleapis/java-webrisk @@ -11,7 +11,7 @@ com.google.cloud google-cloud-webrisk-parent - 0.33.0 + 0.33.1-SNAPSHOT google-cloud-webrisk diff --git a/grpc-google-cloud-webrisk-v1/pom.xml b/grpc-google-cloud-webrisk-v1/pom.xml index 4c30b1a2..7436fe2a 100644 --- a/grpc-google-cloud-webrisk-v1/pom.xml +++ b/grpc-google-cloud-webrisk-v1/pom.xml @@ -10,7 +10,7 @@ com.google.cloud google-cloud-webrisk-parent - 0.33.0 + 0.33.1-SNAPSHOT diff --git a/grpc-google-cloud-webrisk-v1beta1/pom.xml b/grpc-google-cloud-webrisk-v1beta1/pom.xml index 42dcb12e..0daf1790 100644 --- a/grpc-google-cloud-webrisk-v1beta1/pom.xml +++ b/grpc-google-cloud-webrisk-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-webrisk-v1beta1 - 0.33.0 + 0.33.1-SNAPSHOT grpc-google-cloud-webrisk-v1beta1 GRPC library for grpc-google-cloud-webrisk-v1beta1 com.google.cloud google-cloud-webrisk-parent - 0.33.0 + 0.33.1-SNAPSHOT diff --git a/pom.xml b/pom.xml index 70b48b9a..8bacd5c1 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-webrisk-parent pom - 0.33.0 + 0.33.1-SNAPSHOT Google Cloud Web Risk Parent https://github.com/googleapis/java-webrisk @@ -86,7 +86,7 @@ com.google.api.grpc proto-google-cloud-webrisk-v1beta1 - 0.33.0 + 0.33.1-SNAPSHOT com.google.api.grpc @@ -96,12 +96,12 @@ com.google.api.grpc grpc-google-cloud-webrisk-v1beta1 - 0.33.0 + 0.33.1-SNAPSHOT com.google.cloud google-cloud-webrisk - 0.33.0 + 0.33.1-SNAPSHOT diff --git a/proto-google-cloud-webrisk-v1/pom.xml b/proto-google-cloud-webrisk-v1/pom.xml index 4411b0b1..7f73dcb4 100644 --- a/proto-google-cloud-webrisk-v1/pom.xml +++ b/proto-google-cloud-webrisk-v1/pom.xml @@ -10,7 +10,7 @@ com.google.cloud google-cloud-webrisk-parent - 0.33.0 + 0.33.1-SNAPSHOT diff --git a/proto-google-cloud-webrisk-v1beta1/pom.xml b/proto-google-cloud-webrisk-v1beta1/pom.xml index 3c2a8743..1708a5a9 100644 --- a/proto-google-cloud-webrisk-v1beta1/pom.xml +++ b/proto-google-cloud-webrisk-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-webrisk-v1beta1 - 0.33.0 + 0.33.1-SNAPSHOT proto-google-cloud-webrisk-v1beta1 PROTO library for proto-google-cloud-webrisk-v1beta1 com.google.cloud google-cloud-webrisk-parent - 0.33.0 + 0.33.1-SNAPSHOT diff --git a/versions.txt b/versions.txt index edd3fbe8..e9d7a18b 100644 --- a/versions.txt +++ b/versions.txt @@ -1,6 +1,6 @@ # Format: # module:released-version:current-version -proto-google-cloud-webrisk-v1beta1:0.33.0:0.33.0 -grpc-google-cloud-webrisk-v1beta1:0.33.0:0.33.0 -google-cloud-webrisk:0.33.0:0.33.0 +proto-google-cloud-webrisk-v1beta1:0.33.0:0.33.1-SNAPSHOT +grpc-google-cloud-webrisk-v1beta1:0.33.0:0.33.1-SNAPSHOT +google-cloud-webrisk:0.33.0:0.33.1-SNAPSHOT From 16fbab85cd1d86ccc9ba757a5ff088d8f9302d3b Mon Sep 17 00:00:00 2001 From: Vadym Matsishevskyi <25311427+vam-google@users.noreply.github.com> Date: Mon, 23 Mar 2020 09:22:24 -0700 Subject: [PATCH 05/13] chore: Migrate webrisk synth.py to bazel (#95) The changes in grpc stubs are caused by the gRPC upgrade from 1.10 (more than a year old) to 1.27 (same version which is used as runtime dependency) --- .../clirr-ignored-differences.xml | 10 ++ .../v1beta1/WebRiskServiceV1Beta1Grpc.java | 162 ++++++++---------- synth.py | 22 +-- 3 files changed, 82 insertions(+), 112 deletions(-) create mode 100644 grpc-google-cloud-webrisk-v1beta1/clirr-ignored-differences.xml diff --git a/grpc-google-cloud-webrisk-v1beta1/clirr-ignored-differences.xml b/grpc-google-cloud-webrisk-v1beta1/clirr-ignored-differences.xml new file mode 100644 index 00000000..fd100e61 --- /dev/null +++ b/grpc-google-cloud-webrisk-v1beta1/clirr-ignored-differences.xml @@ -0,0 +1,10 @@ + + + + + + 6001 + com/google/webrisk/v1beta1/*Grpc + METHOD_* + + diff --git a/grpc-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/WebRiskServiceV1Beta1Grpc.java b/grpc-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/WebRiskServiceV1Beta1Grpc.java index b739eea7..5aec6b4d 100644 --- a/grpc-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/WebRiskServiceV1Beta1Grpc.java +++ b/grpc-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/WebRiskServiceV1Beta1Grpc.java @@ -31,7 +31,7 @@ * */ @javax.annotation.Generated( - value = "by gRPC proto compiler (version 1.10.0)", + value = "by gRPC proto compiler", comments = "Source: google/cloud/webrisk/v1beta1/webrisk.proto") public final class WebRiskServiceV1Beta1Grpc { @@ -40,30 +40,20 @@ private WebRiskServiceV1Beta1Grpc() {} public static final String SERVICE_NAME = "google.cloud.webrisk.v1beta1.WebRiskServiceV1Beta1"; // Static method descriptors that strictly reflect the proto. - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getComputeThreatListDiffMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.webrisk.v1beta1.ComputeThreatListDiffRequest, - com.google.webrisk.v1beta1.ComputeThreatListDiffResponse> - METHOD_COMPUTE_THREAT_LIST_DIFF = getComputeThreatListDiffMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.webrisk.v1beta1.ComputeThreatListDiffRequest, com.google.webrisk.v1beta1.ComputeThreatListDiffResponse> getComputeThreatListDiffMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ComputeThreatListDiff", + requestType = com.google.webrisk.v1beta1.ComputeThreatListDiffRequest.class, + responseType = com.google.webrisk.v1beta1.ComputeThreatListDiffResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.webrisk.v1beta1.ComputeThreatListDiffRequest, com.google.webrisk.v1beta1.ComputeThreatListDiffResponse> getComputeThreatListDiffMethod() { - return getComputeThreatListDiffMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.webrisk.v1beta1.ComputeThreatListDiffRequest, - com.google.webrisk.v1beta1.ComputeThreatListDiffResponse> - getComputeThreatListDiffMethodHelper() { io.grpc.MethodDescriptor< com.google.webrisk.v1beta1.ComputeThreatListDiffRequest, com.google.webrisk.v1beta1.ComputeThreatListDiffResponse> @@ -82,9 +72,7 @@ private WebRiskServiceV1Beta1Grpc() {} newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName( - generateFullMethodName( - "google.cloud.webrisk.v1beta1.WebRiskServiceV1Beta1", - "ComputeThreatListDiff")) + generateFullMethodName(SERVICE_NAME, "ComputeThreatListDiff")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -104,30 +92,20 @@ private WebRiskServiceV1Beta1Grpc() {} return getComputeThreatListDiffMethod; } - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getSearchUrisMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.webrisk.v1beta1.SearchUrisRequest, - com.google.webrisk.v1beta1.SearchUrisResponse> - METHOD_SEARCH_URIS = getSearchUrisMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.webrisk.v1beta1.SearchUrisRequest, com.google.webrisk.v1beta1.SearchUrisResponse> getSearchUrisMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SearchUris", + requestType = com.google.webrisk.v1beta1.SearchUrisRequest.class, + responseType = com.google.webrisk.v1beta1.SearchUrisResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.webrisk.v1beta1.SearchUrisRequest, com.google.webrisk.v1beta1.SearchUrisResponse> getSearchUrisMethod() { - return getSearchUrisMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.webrisk.v1beta1.SearchUrisRequest, - com.google.webrisk.v1beta1.SearchUrisResponse> - getSearchUrisMethodHelper() { io.grpc.MethodDescriptor< com.google.webrisk.v1beta1.SearchUrisRequest, com.google.webrisk.v1beta1.SearchUrisResponse> @@ -142,9 +120,7 @@ private WebRiskServiceV1Beta1Grpc() {} com.google.webrisk.v1beta1.SearchUrisResponse> newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - "google.cloud.webrisk.v1beta1.WebRiskServiceV1Beta1", "SearchUris")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SearchUris")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -161,30 +137,20 @@ private WebRiskServiceV1Beta1Grpc() {} return getSearchUrisMethod; } - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getSearchHashesMethod()} instead. - public static final io.grpc.MethodDescriptor< - com.google.webrisk.v1beta1.SearchHashesRequest, - com.google.webrisk.v1beta1.SearchHashesResponse> - METHOD_SEARCH_HASHES = getSearchHashesMethodHelper(); - private static volatile io.grpc.MethodDescriptor< com.google.webrisk.v1beta1.SearchHashesRequest, com.google.webrisk.v1beta1.SearchHashesResponse> getSearchHashesMethod; - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SearchHashes", + requestType = com.google.webrisk.v1beta1.SearchHashesRequest.class, + responseType = com.google.webrisk.v1beta1.SearchHashesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.webrisk.v1beta1.SearchHashesRequest, com.google.webrisk.v1beta1.SearchHashesResponse> getSearchHashesMethod() { - return getSearchHashesMethodHelper(); - } - - private static io.grpc.MethodDescriptor< - com.google.webrisk.v1beta1.SearchHashesRequest, - com.google.webrisk.v1beta1.SearchHashesResponse> - getSearchHashesMethodHelper() { io.grpc.MethodDescriptor< com.google.webrisk.v1beta1.SearchHashesRequest, com.google.webrisk.v1beta1.SearchHashesResponse> @@ -199,9 +165,7 @@ private WebRiskServiceV1Beta1Grpc() {} com.google.webrisk.v1beta1.SearchHashesResponse> newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - "google.cloud.webrisk.v1beta1.WebRiskServiceV1Beta1", "SearchHashes")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SearchHashes")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( @@ -220,19 +184,43 @@ private WebRiskServiceV1Beta1Grpc() {} /** Creates a new async stub that supports all call types for the service */ public static WebRiskServiceV1Beta1Stub newStub(io.grpc.Channel channel) { - return new WebRiskServiceV1Beta1Stub(channel); + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public WebRiskServiceV1Beta1Stub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new WebRiskServiceV1Beta1Stub(channel, callOptions); + } + }; + return WebRiskServiceV1Beta1Stub.newStub(factory, channel); } /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ public static WebRiskServiceV1Beta1BlockingStub newBlockingStub(io.grpc.Channel channel) { - return new WebRiskServiceV1Beta1BlockingStub(channel); + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public WebRiskServiceV1Beta1BlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new WebRiskServiceV1Beta1BlockingStub(channel, callOptions); + } + }; + return WebRiskServiceV1Beta1BlockingStub.newStub(factory, channel); } /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ public static WebRiskServiceV1Beta1FutureStub newFutureStub(io.grpc.Channel channel) { - return new WebRiskServiceV1Beta1FutureStub(channel); + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public WebRiskServiceV1Beta1FutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new WebRiskServiceV1Beta1FutureStub(channel, callOptions); + } + }; + return WebRiskServiceV1Beta1FutureStub.newStub(factory, channel); } /** @@ -256,7 +244,7 @@ public void computeThreatListDiff( com.google.webrisk.v1beta1.ComputeThreatListDiffRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getComputeThreatListDiffMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getComputeThreatListDiffMethod(), responseObserver); } /** @@ -270,7 +258,7 @@ public void searchUris( com.google.webrisk.v1beta1.SearchUrisRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getSearchUrisMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getSearchUrisMethod(), responseObserver); } /** @@ -288,27 +276,27 @@ public void searchHashes( com.google.webrisk.v1beta1.SearchHashesRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getSearchHashesMethodHelper(), responseObserver); + asyncUnimplementedUnaryCall(getSearchHashesMethod(), responseObserver); } @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getComputeThreatListDiffMethodHelper(), + getComputeThreatListDiffMethod(), asyncUnaryCall( new MethodHandlers< com.google.webrisk.v1beta1.ComputeThreatListDiffRequest, com.google.webrisk.v1beta1.ComputeThreatListDiffResponse>( this, METHODID_COMPUTE_THREAT_LIST_DIFF))) .addMethod( - getSearchUrisMethodHelper(), + getSearchUrisMethod(), asyncUnaryCall( new MethodHandlers< com.google.webrisk.v1beta1.SearchUrisRequest, com.google.webrisk.v1beta1.SearchUrisResponse>(this, METHODID_SEARCH_URIS))) .addMethod( - getSearchHashesMethodHelper(), + getSearchHashesMethod(), asyncUnaryCall( new MethodHandlers< com.google.webrisk.v1beta1.SearchHashesRequest, @@ -327,11 +315,7 @@ public final io.grpc.ServerServiceDefinition bindService() { * */ public static final class WebRiskServiceV1Beta1Stub - extends io.grpc.stub.AbstractStub { - private WebRiskServiceV1Beta1Stub(io.grpc.Channel channel) { - super(channel); - } - + extends io.grpc.stub.AbstractAsyncStub { private WebRiskServiceV1Beta1Stub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -354,7 +338,7 @@ public void computeThreatListDiff( io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getComputeThreatListDiffMethodHelper(), getCallOptions()), + getChannel().newCall(getComputeThreatListDiffMethod(), getCallOptions()), request, responseObserver); } @@ -371,9 +355,7 @@ public void searchUris( io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getSearchUrisMethodHelper(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getSearchUrisMethod(), getCallOptions()), request, responseObserver); } /** @@ -392,7 +374,7 @@ public void searchHashes( io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getSearchHashesMethodHelper(), getCallOptions()), + getChannel().newCall(getSearchHashesMethod(), getCallOptions()), request, responseObserver); } @@ -407,11 +389,7 @@ public void searchHashes( * */ public static final class WebRiskServiceV1Beta1BlockingStub - extends io.grpc.stub.AbstractStub { - private WebRiskServiceV1Beta1BlockingStub(io.grpc.Channel channel) { - super(channel); - } - + extends io.grpc.stub.AbstractBlockingStub { private WebRiskServiceV1Beta1BlockingStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); @@ -433,7 +411,7 @@ protected WebRiskServiceV1Beta1BlockingStub build( public com.google.webrisk.v1beta1.ComputeThreatListDiffResponse computeThreatListDiff( com.google.webrisk.v1beta1.ComputeThreatListDiffRequest request) { return blockingUnaryCall( - getChannel(), getComputeThreatListDiffMethodHelper(), getCallOptions(), request); + getChannel(), getComputeThreatListDiffMethod(), getCallOptions(), request); } /** @@ -445,8 +423,7 @@ public com.google.webrisk.v1beta1.ComputeThreatListDiffResponse computeThreatLis */ public com.google.webrisk.v1beta1.SearchUrisResponse searchUris( com.google.webrisk.v1beta1.SearchUrisRequest request) { - return blockingUnaryCall( - getChannel(), getSearchUrisMethodHelper(), getCallOptions(), request); + return blockingUnaryCall(getChannel(), getSearchUrisMethod(), getCallOptions(), request); } /** @@ -462,8 +439,7 @@ public com.google.webrisk.v1beta1.SearchUrisResponse searchUris( */ public com.google.webrisk.v1beta1.SearchHashesResponse searchHashes( com.google.webrisk.v1beta1.SearchHashesRequest request) { - return blockingUnaryCall( - getChannel(), getSearchHashesMethodHelper(), getCallOptions(), request); + return blockingUnaryCall(getChannel(), getSearchHashesMethod(), getCallOptions(), request); } } @@ -476,11 +452,7 @@ public com.google.webrisk.v1beta1.SearchHashesResponse searchHashes( * */ public static final class WebRiskServiceV1Beta1FutureStub - extends io.grpc.stub.AbstractStub { - private WebRiskServiceV1Beta1FutureStub(io.grpc.Channel channel) { - super(channel); - } - + extends io.grpc.stub.AbstractFutureStub { private WebRiskServiceV1Beta1FutureStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); @@ -503,7 +475,7 @@ protected WebRiskServiceV1Beta1FutureStub build( com.google.webrisk.v1beta1.ComputeThreatListDiffResponse> computeThreatListDiff(com.google.webrisk.v1beta1.ComputeThreatListDiffRequest request) { return futureUnaryCall( - getChannel().newCall(getComputeThreatListDiffMethodHelper(), getCallOptions()), request); + getChannel().newCall(getComputeThreatListDiffMethod(), getCallOptions()), request); } /** @@ -517,7 +489,7 @@ protected WebRiskServiceV1Beta1FutureStub build( com.google.webrisk.v1beta1.SearchUrisResponse> searchUris(com.google.webrisk.v1beta1.SearchUrisRequest request) { return futureUnaryCall( - getChannel().newCall(getSearchUrisMethodHelper(), getCallOptions()), request); + getChannel().newCall(getSearchUrisMethod(), getCallOptions()), request); } /** @@ -535,7 +507,7 @@ protected WebRiskServiceV1Beta1FutureStub build( com.google.webrisk.v1beta1.SearchHashesResponse> searchHashes(com.google.webrisk.v1beta1.SearchHashesRequest request) { return futureUnaryCall( - getChannel().newCall(getSearchHashesMethodHelper(), getCallOptions()), request); + getChannel().newCall(getSearchHashesMethod(), getCallOptions()), request); } } @@ -643,9 +615,9 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) .setSchemaDescriptor(new WebRiskServiceV1Beta1FileDescriptorSupplier()) - .addMethod(getComputeThreatListDiffMethodHelper()) - .addMethod(getSearchUrisMethodHelper()) - .addMethod(getSearchHashesMethodHelper()) + .addMethod(getComputeThreatListDiffMethod()) + .addMethod(getSearchUrisMethod()) + .addMethod(getSearchHashesMethod()) .build(); } } diff --git a/synth.py b/synth.py index eeefbec1..ad74ceda 100644 --- a/synth.py +++ b/synth.py @@ -14,28 +14,16 @@ """This script is used to synthesize generated parts of this library.""" -import synthtool.gcp as gcp import synthtool.languages.java as java -gapic = gcp.GAPICGenerator() -common_templates = gcp.CommonTemplates() - -versions = ['v1beta1'] +versions = ['v1beta1', 'v1'] service = 'webrisk' -config_pattern = '/google/cloud/webrisk/artman_webrisk_{version}.yaml' for version in versions: - java.gapic_library( - service=service, - version=version, - config_pattern=config_pattern, - package_pattern='com.google.webrisk.{version}', - gapic=gapic, + library = java.bazel_library( + service=service, + version=version, + bazel_target=f'//google/cloud/{service}/{version}:google-cloud-{service}-{version}-java', ) -java.bazel_library( - service=service, - version='v1', -) - java.common_templates() From d815c9e121b32245c0bfa1eaa63db1f2c28e06bf Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 23 Mar 2020 18:23:58 +0100 Subject: [PATCH 06/13] chore(deps): update dependency com.google.cloud:libraries-bom to v4.3.0 (#96) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | minor | `4.2.0` -> `4.3.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-webrisk). --- 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 0995b35c..ed51147c 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 4.2.0 + 4.3.0 pom import From 423377ec71f0e9d7e5371c9eb1995c150700413b Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Mon, 23 Mar 2020 20:56:32 -0700 Subject: [PATCH 07/13] chore: enable context aware commits (#98) --- synth.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/synth.py b/synth.py index ad74ceda..831a9bcc 100644 --- a/synth.py +++ b/synth.py @@ -16,6 +16,8 @@ import synthtool.languages.java as java +AUTOSYNTH_MULTIPLE_COMMITS = True + versions = ['v1beta1', 'v1'] service = 'webrisk' From 7bc169e0982c0cfd05ea546b79a2f853bb466f49 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 24 Mar 2020 11:58:36 -0700 Subject: [PATCH 08/13] chore: regenerate README with libraries-bom 4.3.0 (#100) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/a125b45b-0076-42f9-a19b-08e11e75194b/targets --- README.md | 2 +- synth.metadata | 30 +++++++----------------------- 2 files changed, 8 insertions(+), 24 deletions(-) diff --git a/README.md b/README.md index 866d88a9..5c24b786 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file com.google.cloud libraries-bom - 4.2.0 + 4.3.0 pom import diff --git a/synth.metadata b/synth.metadata index 7b448636..19b101e2 100644 --- a/synth.metadata +++ b/synth.metadata @@ -1,42 +1,27 @@ { - "updateTime": "2020-03-19T09:48:35.495114Z", + "updateTime": "2020-03-24T18:31:58.427997Z", "sources": [ - { - "generator": { - "name": "artman", - "version": "1.1.1", - "dockerImage": "googleapis/artman@sha256:5ef340c8d9334719bc5c6981d95f4a5d2737b0a6a24f2b9a0d430e96fff85c5b" - } - }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "275fbcce2c900278d487c33293a3c7e1fbcd3a34", - "internalRef": "301661567" + "sha": "36c0febd0fa7267ab66d14408eec2afd1b6bec4e", + "internalRef": "302639621" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "275fbcce2c900278d487c33293a3c7e1fbcd3a34", - "internalRef": "301661567", - "log": "275fbcce2c900278d487c33293a3c7e1fbcd3a34\nfeat: pubsub/v1 add an experimental filter field to Subscription\n\nPiperOrigin-RevId: 301661567\n\nf2b18cec51d27c999ad30011dba17f3965677e9c\nFix: UpdateBackupRequest.backup is a resource, not a resource reference - remove annotation.\n\nPiperOrigin-RevId: 301636171\n\n800384063ac93a0cac3a510d41726fa4b2cd4a83\nCloud Billing Budget API v1beta1\nModified api documentation to include warnings about the new filter field.\n\nPiperOrigin-RevId: 301634389\n\n0cc6c146b660db21f04056c3d58a4b752ee445e3\nCloud Billing Budget API v1alpha1\nModified api documentation to include warnings about the new filter field.\n\nPiperOrigin-RevId: 301630018\n\nff2ea00f69065585c3ac0993c8b582af3b6fc215\nFix: Add resource definition for a parent of InspectTemplate which was otherwise missing.\n\nPiperOrigin-RevId: 301623052\n\n55fa441c9daf03173910760191646399338f2b7c\nAdd proto definition for AccessLevel, AccessPolicy, and ServicePerimeter.\n\nPiperOrigin-RevId: 301620844\n\ne7b10591c5408a67cf14ffafa267556f3290e262\nCloud Bigtable Managed Backup service and message proto files.\n\nPiperOrigin-RevId: 301585144\n\nd8e226f702f8ddf92915128c9f4693b63fb8685d\nfeat: Add time-to-live in a queue for builds\n\nPiperOrigin-RevId: 301579876\n\n430375af011f8c7a5174884f0d0e539c6ffa7675\ndocs: add missing closing backtick\n\nPiperOrigin-RevId: 301538851\n\n0e9f1f60ded9ad1c2e725e37719112f5b487ab65\nbazel: Use latest release of gax_java\n\nPiperOrigin-RevId: 301480457\n\n5058c1c96d0ece7f5301a154cf5a07b2ad03a571\nUpdate GAPIC v2 with batching parameters for Logging API\n\nPiperOrigin-RevId: 301443847\n\n" - } - }, - { - "git": { - "name": "synthtool", - "remote": "https://github.com/googleapis/synthtool.git", - "sha": "bcad3e01b69851ad682a87f8202003a1683ad73a" + "sha": "36c0febd0fa7267ab66d14408eec2afd1b6bec4e", + "internalRef": "302639621" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "bcad3e01b69851ad682a87f8202003a1683ad73a" + "sha": "6a17abc7652e2fe563e1288c6e8c23fc260dda97" } } ], @@ -47,8 +32,7 @@ "apiName": "webrisk", "apiVersion": "v1beta1", "language": "java", - "generator": "gapic", - "config": "google/cloud/webrisk/artman_webrisk_v1beta1.yaml" + "generator": "bazel" } }, { From 0affdb92f1b5fbc121a2b46e5c7af7c7d9a16c08 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 26 Mar 2020 00:22:27 +0100 Subject: [PATCH 09/13] deps: update dependency com.google.api:api-common to v1.9.0 (#102) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.api:api-common](https://togithub.com/googleapis/api-common-java) | minor | `1.8.1` -> `1.9.0` | --- ### Release Notes
googleapis/api-common-java ### [`v1.9.0`](https://togithub.com/googleapis/api-common-java/releases/v1.9.0) [Compare Source](https://togithub.com/googleapis/api-common-java/compare/v1.8.1...v1.9.0) 03-25-2020 14:09 PST #### New Features - Add `@BetaApi` `ApiFutres.catchingAsync()` ([#​117](https://togithub.com/googleapis/api-common-java/pull/117)) ##### Dependencies - Update guava to v28.2-android ([#​110](https://togithub.com/googleapis/api-common-java/pull/110)) - Update error_prone_annotations to v2.2.3 ([#​111](https://togithub.com/googleapis/api-common-java/pull/111))
--- ### 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-webrisk). --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 8bacd5c1..b49e0d69 100644 --- a/pom.xml +++ b/pom.xml @@ -64,7 +64,7 @@ github google-cloud-webrisk-parent 1.91.1 - 1.8.1 + 1.9.0 1.17.0 1.54.0 1.27.2 From 3b218ffae4a58c5232e18a471769628b24cb5ccb Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 25 Mar 2020 22:10:29 -0700 Subject: [PATCH 10/13] chore: update common templates (#103) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/f193fffb-af3a-401a-a8ed-2548fbd8844c/targets --- .kokoro/build.sh | 19 ++++++++++------ .kokoro/common.sh | 44 ++++++++++++++++++++++++++++++++++++++ .kokoro/dependencies.sh | 15 +++++++++---- .kokoro/linkage-monitor.sh | 22 +++++++++++++------ renovate.json | 6 ++++-- synth.metadata | 14 ++++++------ 6 files changed, 94 insertions(+), 26 deletions(-) create mode 100644 .kokoro/common.sh diff --git a/.kokoro/build.sh b/.kokoro/build.sh index 178458be..fd9c186b 100755 --- a/.kokoro/build.sh +++ b/.kokoro/build.sh @@ -20,17 +20,22 @@ scriptDir=$(realpath $(dirname "${BASH_SOURCE[0]}")) ## cd to the parent directory, i.e. the root of the git repo cd ${scriptDir}/.. +# include common functions +source ${scriptDir}/common.sh + # Print out Java version java -version echo ${JOB_TYPE} -mvn install -B -V \ - -DskipTests=true \ - -Dclirr.skip=true \ - -Denforcer.skip=true \ - -Dmaven.javadoc.skip=true \ - -Dgcloud.download.skip=true \ - -T 1C +# attempt to install 3 times with exponential backoff (starting with 10 seconds) +retry_with_backoff 3 10 \ + mvn install -B -V \ + -DskipTests=true \ + -Dclirr.skip=true \ + -Denforcer.skip=true \ + -Dmaven.javadoc.skip=true \ + -Dgcloud.download.skip=true \ + -T 1C # if GOOGLE_APPLICATION_CREDIENTIALS is specified as a relative path prepend Kokoro root directory onto it if [[ ! -z "${GOOGLE_APPLICATION_CREDENTIALS}" && "${GOOGLE_APPLICATION_CREDENTIALS}" != /* ]]; then diff --git a/.kokoro/common.sh b/.kokoro/common.sh new file mode 100644 index 00000000..a3bbc5f6 --- /dev/null +++ b/.kokoro/common.sh @@ -0,0 +1,44 @@ +#!/bin/bash +# Copyright 2020 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# set -eo pipefail + +function retry_with_backoff { + attempts_left=$1 + sleep_seconds=$2 + shift 2 + command=$@ + + echo "${command}" + ${command} + exit_code=$? + + if [[ $exit_code == 0 ]] + then + return 0 + fi + + # failure + if [[ ${attempts_left} > 0 ]] + then + echo "failure (${exit_code}), sleeping ${sleep_seconds}..." + sleep ${sleep_seconds} + new_attempts=$((${attempts_left} - 1)) + new_sleep=$((${sleep_seconds} * 2)) + retry_with_backoff ${new_attempts} ${new_sleep} ${command} + fi + + return $exit_code +} diff --git a/.kokoro/dependencies.sh b/.kokoro/dependencies.sh index b3e110f5..0aade871 100755 --- a/.kokoro/dependencies.sh +++ b/.kokoro/dependencies.sh @@ -15,7 +15,13 @@ set -eo pipefail -cd github/java-webrisk/ +## Get the directory of the build script +scriptDir=$(realpath $(dirname "${BASH_SOURCE[0]}")) +## cd to the parent directory, i.e. the root of the git repo +cd ${scriptDir}/.. + +# include common functions +source ${scriptDir}/common.sh # Print out Java java -version @@ -24,8 +30,9 @@ echo $JOB_TYPE export MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=128m" # this should run maven enforcer -mvn install -B -V \ - -DskipTests=true \ - -Dclirr.skip=true +retry_with_backoff 3 10 \ + mvn install -B -V \ + -DskipTests=true \ + -Dclirr.skip=true mvn -B dependency:analyze -DfailOnWarning=true diff --git a/.kokoro/linkage-monitor.sh b/.kokoro/linkage-monitor.sh index 1534f414..759ab4e2 100755 --- a/.kokoro/linkage-monitor.sh +++ b/.kokoro/linkage-monitor.sh @@ -17,18 +17,26 @@ set -eo pipefail # Display commands being run. set -x -cd github/java-webrisk/ +## Get the directory of the build script +scriptDir=$(realpath $(dirname "${BASH_SOURCE[0]}")) +## cd to the parent directory, i.e. the root of the git repo +cd ${scriptDir}/.. + +# include common functions +source ${scriptDir}/common.sh # Print out Java version java -version echo ${JOB_TYPE} -mvn install -B -V \ - -DskipTests=true \ - -Dclirr.skip=true \ - -Denforcer.skip=true \ - -Dmaven.javadoc.skip=true \ - -Dgcloud.download.skip=true +# attempt to install 3 times with exponential backoff (starting with 10 seconds) +retry_with_backoff 3 10 \ + mvn install -B -V \ + -DskipTests=true \ + -Dclirr.skip=true \ + -Denforcer.skip=true \ + -Dmaven.javadoc.skip=true \ + -Dgcloud.download.skip=true # Kokoro job cloud-opensource-java/ubuntu/linkage-monitor-gcs creates this JAR JAR=linkage-monitor-latest-all-deps.jar diff --git a/renovate.json b/renovate.json index fc641270..ff17a672 100644 --- a/renovate.json +++ b/renovate.json @@ -56,7 +56,9 @@ }, { "packagePatterns": [ - "^com.google.cloud:libraries-bom" + "^com.google.cloud:google-cloud-webrisk", + "^com.google.cloud:libraries-bom", + "^com.google.cloud.samples:shared-configuration" ], "semanticCommitType": "chore", "semanticCommitScope": "deps" @@ -75,4 +77,4 @@ } ], "semanticCommits": true -} +} \ No newline at end of file diff --git a/synth.metadata b/synth.metadata index 19b101e2..6f9154a5 100644 --- a/synth.metadata +++ b/synth.metadata @@ -1,27 +1,29 @@ { - "updateTime": "2020-03-24T18:31:58.427997Z", + "updateTime": "2020-03-25T23:22:04.500328Z", "sources": [ { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "36c0febd0fa7267ab66d14408eec2afd1b6bec4e", - "internalRef": "302639621" + "sha": "0341fa3fc2f4073a1b1f260d37b2ce620799f545", + "internalRef": "302980301" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "36c0febd0fa7267ab66d14408eec2afd1b6bec4e", - "internalRef": "302639621" + "sha": "0341fa3fc2f4073a1b1f260d37b2ce620799f545", + "internalRef": "302980301", + "log": "0341fa3fc2f4073a1b1f260d37b2ce620799f545\nTurn on gapic config v2 for kms.\n\nCommitter: @hzyi-google\nPiperOrigin-RevId: 302980301\n\n32dc6e832039b61ac3fb82c72eb0a27570aebcd6\nredis: v1beta1 enables REDIS_5_0 as an option for redis_version field and adds two new redis configs --stream-node-max-entries --stream-node-max-bytes\n\nPiperOrigin-RevId: 302958009\n\n685f16483cc4d87c35051f21f8f13ef4fdc919b4\nredis: v1 enables REDIS_5_0 as an option for redis_version field and adds two new redis configs --stream-node-max-entries --stream-node-max-bytes\n\nPiperOrigin-RevId: 302957729\n\n733cb282ae5e64673ef86c9a5dff647df803d8b7\nAdd GAPIC cofiguration for v1 client library genetration.\n\nPiperOrigin-RevId: 302928200\n\n1b0fff5f2ec6dc4a9443d9b50e70e9c94c30c45b\ndocs: remove an internal lint declaration\n\nPiperOrigin-RevId: 302928106\n\n2be23f3f3036a6f7ce0844def3d2d3da74e5d415\nfix(google/maps): Add post-processing rules for Google Maps APIs\n\nPiperOrigin-RevId: 302925222\n\nfd83ab212176a1042e8d45ea90766b3bf59ac679\nfix: migrate osconfig/agentendpoint/v1 go_gapic_library target to microgen impl\n\nPiperOrigin-RevId: 302913609\n\n0e07113e776bdd8fcc0783372e08bb6e76cb1b5b\ndocs: Update documentation with links to smart home developer guides and reference pages. Remove outdated authorization instructions.\n\nPiperOrigin-RevId: 302892245\n\n551cf1e6e3addcc63740427c4f9b40dedd3dac27\nfeat: Add OS Config AgentEndpointService v1 PatchJobs and Tasks APIs.\n\nPiperOrigin-RevId: 302792195\n\n1df117114c73299b614dfd3ba3632bf246669336\nSynchronize new proto/yaml changes.\n\nPiperOrigin-RevId: 302753982\n\n71d6c56a14bb433beb1237dccb48dabcd9597924\nRefresh monitoring client libraries.\nRename to Cloud Monitoring API.\nAdded support for TimeSeriesQueryLanguageCondition condition type in alert policies.\n\nPiperOrigin-RevId: 302735422\n\n25a1781c096974df99d556cc5888fefa82bc6425\nbazel: migrate all go_gapic_library targets to microgenerator implementation\n\n* update rules_go and gazelle bazel dependencies\n* update gapic-generator bazel dependency (with build file generator changes)\n\nPiperOrigin-RevId: 302730217\n\n" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "6a17abc7652e2fe563e1288c6e8c23fc260dda97" + "sha": "e36822bfa0acb355502dab391b8ef9c4f30208d8", + "log": "e36822bfa0acb355502dab391b8ef9c4f30208d8\nchore(java): treat samples shared configuration dependency update as chore (#457)\n\n\n1b4cc80a7aaf164f6241937dd87f3bd1f4149e0c\nfix: do not run node 8 CI (#456)\n\n\nee4330a0e5f4b93978e8683fbda8e6d4148326b7\nchore(java_templates): mark version bumps of current library as a chore (#452)\n\nWith the samples/install-without-bom/pom.xml referencing the latest released library, we want to mark updates of this version as a chore for renovate bot.\na0d3133a5d45544a66345059eebf76933265c099\nfix(java): run mvn install with retry (#453)\n\n* fix(java): run mvn install with retry\n\n* fix invocation of command\n" } } ], From 49e68397c9547641d114f38bcb79eee184bbfb91 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 26 Mar 2020 16:56:37 +0100 Subject: [PATCH 11/13] deps: update dependency com.google.cloud.samples:shared-configuration to v1.0.13 (#101) --- samples/install-without-bom/pom.xml | 2 +- samples/pom.xml | 2 +- samples/snapshot/pom.xml | 2 +- samples/snippets/pom.xml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index be738823..c517e79c 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -14,7 +14,7 @@ com.google.cloud.samples shared-configuration - 1.0.12 + 1.0.13 diff --git a/samples/pom.xml b/samples/pom.xml index a42c066b..345775de 100644 --- a/samples/pom.xml +++ b/samples/pom.xml @@ -18,7 +18,7 @@ com.google.cloud.samples shared-configuration - 1.0.12 + 1.0.13 diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index cfc0d6a5..b743c531 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -14,7 +14,7 @@ com.google.cloud.samples shared-configuration - 1.0.12 + 1.0.13 diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index ed51147c..78b1bcde 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -14,7 +14,7 @@ com.google.cloud.samples shared-configuration - 1.0.12 + 1.0.13 From 5e22597463a87d0f96370e008d747b5677622244 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 30 Mar 2020 19:57:59 +0200 Subject: [PATCH 12/13] chore(deps): update dependency com.google.cloud.samples:shared-configuration to v1.0.14 (#105) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud.samples:shared-configuration](https://togithub.com/GoogleCloudPlatform/java-repo-tools) | patch | `1.0.13` -> `1.0.14` | --- ### Release Notes
GoogleCloudPlatform/java-repo-tools ### [`v1.0.14`](https://togithub.com/GoogleCloudPlatform/java-repo-tools/releases/v1.0.14) [Compare Source](https://togithub.com/GoogleCloudPlatform/java-repo-tools/compare/v1.0.13...v1.0.14) - Update CheckStyle to 8.31 - Add SpotBugs
--- ### 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-webrisk). --- samples/install-without-bom/pom.xml | 2 +- samples/pom.xml | 2 +- samples/snapshot/pom.xml | 2 +- samples/snippets/pom.xml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index c517e79c..054bc99d 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -14,7 +14,7 @@ com.google.cloud.samples shared-configuration - 1.0.13 + 1.0.14 diff --git a/samples/pom.xml b/samples/pom.xml index 345775de..508759df 100644 --- a/samples/pom.xml +++ b/samples/pom.xml @@ -18,7 +18,7 @@ com.google.cloud.samples shared-configuration - 1.0.13 + 1.0.14 diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index b743c531..28f11f55 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -14,7 +14,7 @@ com.google.cloud.samples shared-configuration - 1.0.13 + 1.0.14 diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index 78b1bcde..999e9eb8 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -14,7 +14,7 @@ com.google.cloud.samples shared-configuration - 1.0.13 + 1.0.14 From 20b346fc86b05f820180161851e8d579f98a3ff7 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 1 Apr 2020 19:08:04 +0000 Subject: [PATCH 13/13] chore: release 0.33.1 (#104) :robot: I have created a release \*beep\* \*boop\* --- ### [0.33.1](https://www.github.com/googleapis/java-webrisk/compare/v0.33.0...v0.33.1) (2020-03-30) ### Dependencies * update dependency com.google.api:api-common to v1.9.0 ([#102](https://www.github.com/googleapis/java-webrisk/issues/102)) ([0affdb9](https://www.github.com/googleapis/java-webrisk/commit/0affdb92f1b5fbc121a2b46e5c7af7c7d9a16c08)) * update dependency com.google.cloud.samples:shared-configuration to v1.0.13 ([#101](https://www.github.com/googleapis/java-webrisk/issues/101)) ([49e6839](https://www.github.com/googleapis/java-webrisk/commit/49e68397c9547641d114f38bcb79eee184bbfb91)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- CHANGELOG.md | 8 ++++++++ README.md | 6 +++--- google-cloud-webrisk-bom/pom.xml | 8 ++++---- google-cloud-webrisk/pom.xml | 4 ++-- grpc-google-cloud-webrisk-v1/pom.xml | 2 +- grpc-google-cloud-webrisk-v1beta1/pom.xml | 4 ++-- pom.xml | 8 ++++---- proto-google-cloud-webrisk-v1/pom.xml | 2 +- proto-google-cloud-webrisk-v1beta1/pom.xml | 4 ++-- versions.txt | 6 +++--- 10 files changed, 30 insertions(+), 22 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 81337bbb..d7568ee8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +### [0.33.1](https://www.github.com/googleapis/java-webrisk/compare/v0.33.0...v0.33.1) (2020-03-30) + + +### Dependencies + +* update dependency com.google.api:api-common to v1.9.0 ([#102](https://www.github.com/googleapis/java-webrisk/issues/102)) ([0affdb9](https://www.github.com/googleapis/java-webrisk/commit/0affdb92f1b5fbc121a2b46e5c7af7c7d9a16c08)) +* update dependency com.google.cloud.samples:shared-configuration to v1.0.13 ([#101](https://www.github.com/googleapis/java-webrisk/issues/101)) ([49e6839](https://www.github.com/googleapis/java-webrisk/commit/49e68397c9547641d114f38bcb79eee184bbfb91)) + ## [0.33.0](https://www.github.com/googleapis/java-webrisk/compare/v0.32.1...v0.33.0) (2020-03-16) diff --git a/README.md b/README.md index 5c24b786..42e9ea5d 100644 --- a/README.md +++ b/README.md @@ -43,18 +43,18 @@ If you are using Maven without BOM, add this to your dependencies: com.google.cloud google-cloud-webrisk - 0.33.0 + 0.33.1 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-webrisk:0.33.0' +compile 'com.google.cloud:google-cloud-webrisk:0.33.1' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-webrisk" % "0.33.0" +libraryDependencies += "com.google.cloud" % "google-cloud-webrisk" % "0.33.1" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-webrisk-bom/pom.xml b/google-cloud-webrisk-bom/pom.xml index c6bdcd6f..ef37571d 100644 --- a/google-cloud-webrisk-bom/pom.xml +++ b/google-cloud-webrisk-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-webrisk-bom - 0.33.1-SNAPSHOT + 0.33.1 pom com.google.cloud @@ -63,7 +63,7 @@ com.google.cloud google-cloud-webrisk - 0.33.1-SNAPSHOT + 0.33.1 com.google.api.grpc @@ -73,7 +73,7 @@ com.google.api.grpc grpc-google-cloud-webrisk-v1beta1 - 0.33.1-SNAPSHOT + 0.33.1 com.google.api.grpc @@ -83,7 +83,7 @@ com.google.api.grpc proto-google-cloud-webrisk-v1beta1 - 0.33.1-SNAPSHOT + 0.33.1
diff --git a/google-cloud-webrisk/pom.xml b/google-cloud-webrisk/pom.xml index f90771bc..3dc849ec 100644 --- a/google-cloud-webrisk/pom.xml +++ b/google-cloud-webrisk/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-webrisk - 0.33.1-SNAPSHOT + 0.33.1 jar Google Cloud Web Risk https://github.com/googleapis/java-webrisk @@ -11,7 +11,7 @@ com.google.cloud google-cloud-webrisk-parent - 0.33.1-SNAPSHOT + 0.33.1 google-cloud-webrisk diff --git a/grpc-google-cloud-webrisk-v1/pom.xml b/grpc-google-cloud-webrisk-v1/pom.xml index 7436fe2a..f50699a5 100644 --- a/grpc-google-cloud-webrisk-v1/pom.xml +++ b/grpc-google-cloud-webrisk-v1/pom.xml @@ -10,7 +10,7 @@ com.google.cloud google-cloud-webrisk-parent - 0.33.1-SNAPSHOT + 0.33.1 diff --git a/grpc-google-cloud-webrisk-v1beta1/pom.xml b/grpc-google-cloud-webrisk-v1beta1/pom.xml index 0daf1790..99e9ce11 100644 --- a/grpc-google-cloud-webrisk-v1beta1/pom.xml +++ b/grpc-google-cloud-webrisk-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-webrisk-v1beta1 - 0.33.1-SNAPSHOT + 0.33.1 grpc-google-cloud-webrisk-v1beta1 GRPC library for grpc-google-cloud-webrisk-v1beta1 com.google.cloud google-cloud-webrisk-parent - 0.33.1-SNAPSHOT + 0.33.1 diff --git a/pom.xml b/pom.xml index b49e0d69..517af6bb 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-webrisk-parent pom - 0.33.1-SNAPSHOT + 0.33.1 Google Cloud Web Risk Parent https://github.com/googleapis/java-webrisk @@ -86,7 +86,7 @@ com.google.api.grpc proto-google-cloud-webrisk-v1beta1 - 0.33.1-SNAPSHOT + 0.33.1 com.google.api.grpc @@ -96,12 +96,12 @@ com.google.api.grpc grpc-google-cloud-webrisk-v1beta1 - 0.33.1-SNAPSHOT + 0.33.1 com.google.cloud google-cloud-webrisk - 0.33.1-SNAPSHOT + 0.33.1 diff --git a/proto-google-cloud-webrisk-v1/pom.xml b/proto-google-cloud-webrisk-v1/pom.xml index 7f73dcb4..9a0c4ef9 100644 --- a/proto-google-cloud-webrisk-v1/pom.xml +++ b/proto-google-cloud-webrisk-v1/pom.xml @@ -10,7 +10,7 @@ com.google.cloud google-cloud-webrisk-parent - 0.33.1-SNAPSHOT + 0.33.1 diff --git a/proto-google-cloud-webrisk-v1beta1/pom.xml b/proto-google-cloud-webrisk-v1beta1/pom.xml index 1708a5a9..0c5dffbc 100644 --- a/proto-google-cloud-webrisk-v1beta1/pom.xml +++ b/proto-google-cloud-webrisk-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-webrisk-v1beta1 - 0.33.1-SNAPSHOT + 0.33.1 proto-google-cloud-webrisk-v1beta1 PROTO library for proto-google-cloud-webrisk-v1beta1 com.google.cloud google-cloud-webrisk-parent - 0.33.1-SNAPSHOT + 0.33.1 diff --git a/versions.txt b/versions.txt index e9d7a18b..1edcd9a1 100644 --- a/versions.txt +++ b/versions.txt @@ -1,6 +1,6 @@ # Format: # module:released-version:current-version -proto-google-cloud-webrisk-v1beta1:0.33.0:0.33.1-SNAPSHOT -grpc-google-cloud-webrisk-v1beta1:0.33.0:0.33.1-SNAPSHOT -google-cloud-webrisk:0.33.0:0.33.1-SNAPSHOT +proto-google-cloud-webrisk-v1beta1:0.33.1:0.33.1 +grpc-google-cloud-webrisk-v1beta1:0.33.1:0.33.1 +google-cloud-webrisk:0.33.1:0.33.1