From b884b5161f58a176e838b9203fb005b33b924f69 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 16 Dec 2020 09:12:08 +0000 Subject: [PATCH 01/26] chore: release 0.1.8-SNAPSHOT (#86) :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-video-transcoder-bom/pom.xml | 8 ++++---- google-cloud-video-transcoder/pom.xml | 4 ++-- grpc-google-cloud-video-transcoder-v1beta1/pom.xml | 4 ++-- pom.xml | 8 ++++---- proto-google-cloud-video-transcoder-v1beta1/pom.xml | 4 ++-- samples/snapshot/pom.xml | 2 +- versions.txt | 6 +++--- 7 files changed, 18 insertions(+), 18 deletions(-) diff --git a/google-cloud-video-transcoder-bom/pom.xml b/google-cloud-video-transcoder-bom/pom.xml index cba55fb3..f3184d98 100644 --- a/google-cloud-video-transcoder-bom/pom.xml +++ b/google-cloud-video-transcoder-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-video-transcoder-bom - 0.1.7 + 0.1.8-SNAPSHOT pom com.google.cloud @@ -68,17 +68,17 @@ com.google.cloud google-cloud-video-transcoder - 0.1.7 + 0.1.8-SNAPSHOT com.google.api.grpc proto-google-cloud-video-transcoder-v1beta1 - 0.1.7 + 0.1.8-SNAPSHOT com.google.api.grpc grpc-google-cloud-video-transcoder-v1beta1 - 0.1.7 + 0.1.8-SNAPSHOT diff --git a/google-cloud-video-transcoder/pom.xml b/google-cloud-video-transcoder/pom.xml index 6beaedfb..2c045a8e 100644 --- a/google-cloud-video-transcoder/pom.xml +++ b/google-cloud-video-transcoder/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-video-transcoder - 0.1.7 + 0.1.8-SNAPSHOT jar Google Video Transcoder https://github.com/googleapis/java-video-transcoder @@ -11,7 +11,7 @@ com.google.cloud google-cloud-video-transcoder-parent - 0.1.7 + 0.1.8-SNAPSHOT google-cloud-video-transcoder diff --git a/grpc-google-cloud-video-transcoder-v1beta1/pom.xml b/grpc-google-cloud-video-transcoder-v1beta1/pom.xml index e745dbec..1a44a545 100644 --- a/grpc-google-cloud-video-transcoder-v1beta1/pom.xml +++ b/grpc-google-cloud-video-transcoder-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-video-transcoder-v1beta1 - 0.1.7 + 0.1.8-SNAPSHOT grpc-google-cloud-video-transcoder-v1beta1 GRPC library for google-cloud-video-transcoder com.google.cloud google-cloud-video-transcoder-parent - 0.1.7 + 0.1.8-SNAPSHOT diff --git a/pom.xml b/pom.xml index c4123621..4eb96797 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-video-transcoder-parent pom - 0.1.7 + 0.1.8-SNAPSHOT Google Video Transcoder Parent https://github.com/googleapis/java- @@ -70,17 +70,17 @@ com.google.cloud google-cloud-video-transcoder - 0.1.7 + 0.1.8-SNAPSHOT com.google.api.grpc proto-google-cloud-video-transcoder-v1beta1 - 0.1.7 + 0.1.8-SNAPSHOT com.google.api.grpc grpc-google-cloud-video-transcoder-v1beta1 - 0.1.7 + 0.1.8-SNAPSHOT diff --git a/proto-google-cloud-video-transcoder-v1beta1/pom.xml b/proto-google-cloud-video-transcoder-v1beta1/pom.xml index d4609d1a..21ecd113 100644 --- a/proto-google-cloud-video-transcoder-v1beta1/pom.xml +++ b/proto-google-cloud-video-transcoder-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-video-transcoder-v1beta1 - 0.1.7 + 0.1.8-SNAPSHOT proto-google-cloud-video-transcoder-v1beta1 Proto library for google-cloud-video-transcoder com.google.cloud google-cloud-video-transcoder-parent - 0.1.7 + 0.1.8-SNAPSHOT diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 0c749b85..92ff7173 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -28,7 +28,7 @@ com.google.cloud google-cloud-video-transcoder - 0.1.7 + 0.1.8-SNAPSHOT diff --git a/versions.txt b/versions.txt index 796f6b88..dd6a2213 100644 --- a/versions.txt +++ b/versions.txt @@ -1,6 +1,6 @@ # Format: # module:released-version:current-version -google-cloud-video-transcoder:0.1.7:0.1.7 -proto-google-cloud-video-transcoder-v1beta1:0.1.7:0.1.7 -grpc-google-cloud-video-transcoder-v1beta1:0.1.7:0.1.7 \ No newline at end of file +google-cloud-video-transcoder:0.1.7:0.1.8-SNAPSHOT +proto-google-cloud-video-transcoder-v1beta1:0.1.7:0.1.8-SNAPSHOT +grpc-google-cloud-video-transcoder-v1beta1:0.1.7:0.1.8-SNAPSHOT \ No newline at end of file From d749dd51fe7de54f07b34a21c97fc937da9ea504 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 16 Dec 2020 09:02:18 -0800 Subject: [PATCH 02/26] ci(java): ignore bot users for generate-files-bot (#87) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/14d66b96-4e42-4fc8-851c-9e7ade6c839a/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/3f67ceece7e797a5736a25488aae35405649b90b --- .github/generated-files-bot.yml | 4 ++++ synth.metadata | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/generated-files-bot.yml b/.github/generated-files-bot.yml index 20f3acc2..47c2ba13 100644 --- a/.github/generated-files-bot.yml +++ b/.github/generated-files-bot.yml @@ -5,3 +5,7 @@ externalManifests: - type: json file: '.github/readme/synth.metadata/synth.metadata' jsonpath: '$.generatedFiles[*]' +ignoreAuthors: +- 'renovate-bot' +- 'yoshi-automation' +- 'release-please[bot]' diff --git a/synth.metadata b/synth.metadata index 45a83292..511a2523 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-video-transcoder.git", - "sha": "b94e01a681e1e5583791702ab58e3cf9b5bd2aa2" + "sha": "b884b5161f58a176e838b9203fb005b33b924f69" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "5d11bd2888c38ce1fb6fa6bf25494a4219a73928" + "sha": "3f67ceece7e797a5736a25488aae35405649b90b" } } ], From 4beb4c948245ec0fbcc8cbe6fccd4b0ddf413fed Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 29 Dec 2020 14:37:55 -0800 Subject: [PATCH 03/26] chore(java): remove formatter action Source-Author: Jeff Ching Source-Date: Tue Dec 29 10:50:17 2020 -0800 Source-Repo: googleapis/synthtool Source-Sha: 6133907dbb3ddab204a17a15d5c53ec0aae9b033 Source-Link: https://github.com/googleapis/synthtool/commit/6133907dbb3ddab204a17a15d5c53ec0aae9b033 --- .github/workflows/formatting.yaml | 25 ------------------------- synth.metadata | 5 ++--- 2 files changed, 2 insertions(+), 28 deletions(-) delete mode 100644 .github/workflows/formatting.yaml diff --git a/.github/workflows/formatting.yaml b/.github/workflows/formatting.yaml deleted file mode 100644 index 6844407b..00000000 --- a/.github/workflows/formatting.yaml +++ /dev/null @@ -1,25 +0,0 @@ -on: - pull_request_target: - types: [opened, synchronize] - branches: - - master -name: format -jobs: - format-code: - runs-on: ubuntu-latest - env: - ACCESS_TOKEN: ${{ secrets.YOSHI_CODE_BOT_TOKEN }} - steps: - - uses: actions/checkout@v2 - with: - ref: ${{github.event.pull_request.head.ref}} - repository: ${{github.event.pull_request.head.repo.full_name}} - - uses: actions/setup-java@v1 - with: - java-version: 11 - - run: "mvn com.coveo:fmt-maven-plugin:format" - - uses: googleapis/code-suggester@v1 - with: - command: review - pull_number: ${{ github.event.pull_request.number }} - git_dir: '.' diff --git a/synth.metadata b/synth.metadata index 511a2523..efd5adbb 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-video-transcoder.git", - "sha": "b884b5161f58a176e838b9203fb005b33b924f69" + "sha": "d749dd51fe7de54f07b34a21c97fc937da9ea504" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "3f67ceece7e797a5736a25488aae35405649b90b" + "sha": "6133907dbb3ddab204a17a15d5c53ec0aae9b033" } } ], @@ -49,7 +49,6 @@ ".github/workflows/approve-readme.yaml", ".github/workflows/auto-release.yaml", ".github/workflows/ci.yaml", - ".github/workflows/formatting.yaml", ".github/workflows/samples.yaml", ".kokoro/build.bat", ".kokoro/build.sh", From 65d7c6fa2ce0917bc77f2e8e94fd53c2c0a432b4 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 12 Jan 2021 13:00:06 -0800 Subject: [PATCH 04/26] docs: put FPS table in code block (#88) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/3fc1ee75-f130-4853-926c-b62d72d389c1/targets - [ ] To automatically regenerate this PR, check this box. PiperOrigin-RevId: 348857882 Source-Link: https://github.com/googleapis/googleapis/commit/2ccf8f460800e98884d1aa4ba61e344ad4cd5d04 --- .../cloud/video/transcoder/v1beta1/VideoStream.java | 8 ++++++++ .../video/transcoder/v1beta1/VideoStreamOrBuilder.java | 2 ++ .../google/cloud/video/transcoder/v1beta1/resources.proto | 3 ++- synth.metadata | 4 ++-- 4 files changed, 14 insertions(+), 3 deletions(-) diff --git a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/VideoStream.java b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/VideoStream.java index 31136c60..13154e56 100644 --- a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/VideoStream.java +++ b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/VideoStream.java @@ -957,6 +957,7 @@ public int getBFrameCount() { * the input FPS, and smaller or equal to the target FPS. * The following table shows the computed video FPS given the target FPS (in * parenthesis) and input FPS (in the first column): + * ``` * | | (30) | (60) | (25) | (50) | * |--------|--------|--------|------|------| * | 240 | Fail | Fail | Fail | Fail | @@ -973,6 +974,7 @@ public int getBFrameCount() { * | 15 | 15 | 15 | 20 | 30 | * | 12 | 12 | 12 | 20 | 30 | * | 10 | 10 | 10 | 20 | 30 | + * ``` * * * double frame_rate = 20 [(.google.api.field_behavior) = REQUIRED]; @@ -3389,6 +3391,7 @@ public Builder clearBFrameCount() { * the input FPS, and smaller or equal to the target FPS. * The following table shows the computed video FPS given the target FPS (in * parenthesis) and input FPS (in the first column): + * ``` * | | (30) | (60) | (25) | (50) | * |--------|--------|--------|------|------| * | 240 | Fail | Fail | Fail | Fail | @@ -3405,6 +3408,7 @@ public Builder clearBFrameCount() { * | 15 | 15 | 15 | 20 | 30 | * | 12 | 12 | 12 | 20 | 30 | * | 10 | 10 | 10 | 20 | 30 | + * ``` * * * double frame_rate = 20 [(.google.api.field_behavior) = REQUIRED]; @@ -3425,6 +3429,7 @@ public double getFrameRate() { * the input FPS, and smaller or equal to the target FPS. * The following table shows the computed video FPS given the target FPS (in * parenthesis) and input FPS (in the first column): + * ``` * | | (30) | (60) | (25) | (50) | * |--------|--------|--------|------|------| * | 240 | Fail | Fail | Fail | Fail | @@ -3441,6 +3446,7 @@ public double getFrameRate() { * | 15 | 15 | 15 | 20 | 30 | * | 12 | 12 | 12 | 20 | 30 | * | 10 | 10 | 10 | 20 | 30 | + * ``` * * * double frame_rate = 20 [(.google.api.field_behavior) = REQUIRED]; @@ -3464,6 +3470,7 @@ public Builder setFrameRate(double value) { * the input FPS, and smaller or equal to the target FPS. * The following table shows the computed video FPS given the target FPS (in * parenthesis) and input FPS (in the first column): + * ``` * | | (30) | (60) | (25) | (50) | * |--------|--------|--------|------|------| * | 240 | Fail | Fail | Fail | Fail | @@ -3480,6 +3487,7 @@ public Builder setFrameRate(double value) { * | 15 | 15 | 15 | 20 | 30 | * | 12 | 12 | 12 | 20 | 30 | * | 10 | 10 | 10 | 20 | 30 | + * ``` * * * double frame_rate = 20 [(.google.api.field_behavior) = REQUIRED]; diff --git a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/VideoStreamOrBuilder.java b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/VideoStreamOrBuilder.java index 0ee6f072..90900323 100644 --- a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/VideoStreamOrBuilder.java +++ b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/VideoStreamOrBuilder.java @@ -450,6 +450,7 @@ public interface VideoStreamOrBuilder * the input FPS, and smaller or equal to the target FPS. * The following table shows the computed video FPS given the target FPS (in * parenthesis) and input FPS (in the first column): + * ``` * | | (30) | (60) | (25) | (50) | * |--------|--------|--------|------|------| * | 240 | Fail | Fail | Fail | Fail | @@ -466,6 +467,7 @@ public interface VideoStreamOrBuilder * | 15 | 15 | 15 | 20 | 30 | * | 12 | 12 | 12 | 20 | 30 | * | 10 | 10 | 10 | 20 | 30 | + * ``` * * * double frame_rate = 20 [(.google.api.field_behavior) = REQUIRED]; diff --git a/proto-google-cloud-video-transcoder-v1beta1/src/main/proto/google/cloud/video/transcoder/v1beta1/resources.proto b/proto-google-cloud-video-transcoder-v1beta1/src/main/proto/google/cloud/video/transcoder/v1beta1/resources.proto index 4e2163c9..71ba38f9 100644 --- a/proto-google-cloud-video-transcoder-v1beta1/src/main/proto/google/cloud/video/transcoder/v1beta1/resources.proto +++ b/proto-google-cloud-video-transcoder-v1beta1/src/main/proto/google/cloud/video/transcoder/v1beta1/resources.proto @@ -654,7 +654,7 @@ message VideoStream { // // The following table shows the computed video FPS given the target FPS (in // parenthesis) and input FPS (in the first column): - // + // ``` // | | (30) | (60) | (25) | (50) | // |--------|--------|--------|------|------| // | 240 | Fail | Fail | Fail | Fail | @@ -671,6 +671,7 @@ message VideoStream { // | 15 | 15 | 15 | 20 | 30 | // | 12 | 12 | 12 | 20 | 30 | // | 10 | 10 | 10 | 20 | 30 | + // ``` double frame_rate = 20 [(google.api.field_behavior) = REQUIRED]; // Specify the intensity of the adaptive quantizer (AQ). Must be between 0 and diff --git a/synth.metadata b/synth.metadata index efd5adbb..a0769edd 100644 --- a/synth.metadata +++ b/synth.metadata @@ -11,8 +11,8 @@ "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "857f70daef9f4c38f042fb3dfb7b8423ae18fd19", - "internalRef": "346372957" + "sha": "2ccf8f460800e98884d1aa4ba61e344ad4cd5d04", + "internalRef": "348857882" } }, { From a89edf9d9627be149ea697fbda52b68264bfca0e Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 12 Jan 2021 13:08:04 -0800 Subject: [PATCH 05/26] chore: regenerate README (#94) This PR was generated using Autosynth. :rainbow:
Log from Synthtool ``` 2021-01-12 21:02:28,735 synthtool [DEBUG] > Executing /root/.cache/synthtool/java-video-transcoder/.github/readme/synth.py. On branch autosynth-readme nothing to commit, working tree clean 2021-01-12 21:02:29,606 synthtool [DEBUG] > Wrote metadata to .github/readme/synth.metadata/synth.metadata. ```
Full log will be available here: https://source.cloud.google.com/results/invocations/5384e92e-b69b-453f-8498-7679aee11385/targets - [ ] To automatically regenerate this PR, check this box. --- .github/readme/synth.metadata/synth.metadata | 4 ++-- README.md | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/readme/synth.metadata/synth.metadata b/.github/readme/synth.metadata/synth.metadata index 0d6b1f63..04e2f85e 100644 --- a/.github/readme/synth.metadata/synth.metadata +++ b/.github/readme/synth.metadata/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-video-transcoder.git", - "sha": "c665b2d5e05c4ed33ed205cf55dfe50d3f040a93" + "sha": "65d7c6fa2ce0917bc77f2e8e94fd53c2c0a432b4" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "996775eca5fd934edac3c2ae34b80ff0395b1717" + "sha": "16ec872dd898d7de6e1822badfac32484b5d9031" } } ] diff --git a/README.md b/README.md index 38d5e4d2..80e020ce 100644 --- a/README.md +++ b/README.md @@ -24,10 +24,11 @@ If you are using Maven, add this to your pom.xml file:
``` -If you are using Gradle, add this to your dependencies +If you are using Gradle without BOM, add this to your dependencies ```Groovy compile 'com.google.cloud:google-cloud-video-transcoder:0.1.4' ``` + If you are using SBT, add this to your dependencies ```Scala libraryDependencies += "com.google.cloud" % "google-cloud-video-transcoder" % "0.1.4" From 83d4c0544478105fc1b61932ecaa5cd0060af3ed Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 12 Jan 2021 17:10:05 -0800 Subject: [PATCH 06/26] chore: Re-generated to pick up changes from googleapis (#95) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/abc2b042-dec9-4d5c-b512-741471bd387d/targets - [ ] To automatically regenerate this PR, check this box. PiperOrigin-RevId: 350949863 Source-Link: https://github.com/googleapis/googleapis/commit/91e206bcfeaf8948ea03fe3cb1b7616108496cd3 PiperOrigin-RevId: 350067652 Source-Link: https://github.com/googleapis/googleapis/commit/ad3bb00ed7750cd0625b3a36e0e2eff29f778e4a --- .../video/transcoder/v1beta1/TranscoderServiceClient.java | 2 +- .../video/transcoder/v1beta1/TranscoderServiceSettings.java | 1 + .../v1beta1/stub/GrpcTranscoderServiceCallableFactory.java | 4 +++- .../transcoder/v1beta1/stub/GrpcTranscoderServiceStub.java | 2 ++ .../transcoder/v1beta1/stub/TranscoderServiceStub.java | 4 +++- .../transcoder/v1beta1/TranscoderServiceClientTest.java | 4 ++++ synth.metadata | 6 +++--- 7 files changed, 17 insertions(+), 6 deletions(-) diff --git a/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1beta1/TranscoderServiceClient.java b/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1beta1/TranscoderServiceClient.java index 16c5b294..fa15c964 100644 --- a/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1beta1/TranscoderServiceClient.java +++ b/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1beta1/TranscoderServiceClient.java @@ -96,7 +96,7 @@ *

Please refer to the GitHub repository's samples for more quickstart code snippets. */ @BetaApi -@Generated("by gapic-generator") +@Generated("by gapic-generator-java") public class TranscoderServiceClient implements BackgroundResource { private final TranscoderServiceSettings settings; private final TranscoderServiceStub stub; diff --git a/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1beta1/TranscoderServiceSettings.java b/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1beta1/TranscoderServiceSettings.java index ee12c358..704e3c29 100644 --- a/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1beta1/TranscoderServiceSettings.java +++ b/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1beta1/TranscoderServiceSettings.java @@ -68,6 +68,7 @@ * TranscoderServiceSettings transcoderServiceSettings = transcoderServiceSettingsBuilder.build(); * } */ +@BetaApi @Generated("by gapic-generator-java") public class TranscoderServiceSettings extends ClientSettings { diff --git a/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1beta1/stub/GrpcTranscoderServiceCallableFactory.java b/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1beta1/stub/GrpcTranscoderServiceCallableFactory.java index 990959f4..180efcc9 100644 --- a/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1beta1/stub/GrpcTranscoderServiceCallableFactory.java +++ b/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1beta1/stub/GrpcTranscoderServiceCallableFactory.java @@ -16,6 +16,7 @@ package com.google.cloud.video.transcoder.v1beta1.stub; +import com.google.api.core.BetaApi; import com.google.api.gax.grpc.GrpcCallSettings; import com.google.api.gax.grpc.GrpcCallableFactory; import com.google.api.gax.grpc.GrpcStubCallableFactory; @@ -41,7 +42,8 @@ * *

This class is for advanced usage. */ -@Generated("by gapic-generator") +@BetaApi +@Generated("by gapic-generator-java") public class GrpcTranscoderServiceCallableFactory implements GrpcStubCallableFactory { @Override diff --git a/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1beta1/stub/GrpcTranscoderServiceStub.java b/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1beta1/stub/GrpcTranscoderServiceStub.java index e73175cd..b3138495 100644 --- a/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1beta1/stub/GrpcTranscoderServiceStub.java +++ b/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1beta1/stub/GrpcTranscoderServiceStub.java @@ -19,6 +19,7 @@ import static com.google.cloud.video.transcoder.v1beta1.TranscoderServiceClient.ListJobTemplatesPagedResponse; import static com.google.cloud.video.transcoder.v1beta1.TranscoderServiceClient.ListJobsPagedResponse; +import com.google.api.core.BetaApi; import com.google.api.gax.core.BackgroundResource; import com.google.api.gax.core.BackgroundResourceAggregation; import com.google.api.gax.grpc.GrpcCallSettings; @@ -54,6 +55,7 @@ * *

This class is for advanced usage and reflects the underlying API directly. */ +@BetaApi @Generated("by gapic-generator-java") public class GrpcTranscoderServiceStub extends TranscoderServiceStub { private static final MethodDescriptor createJobMethodDescriptor = diff --git a/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1beta1/stub/TranscoderServiceStub.java b/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1beta1/stub/TranscoderServiceStub.java index f9e985a3..e6f74aca 100644 --- a/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1beta1/stub/TranscoderServiceStub.java +++ b/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1beta1/stub/TranscoderServiceStub.java @@ -19,6 +19,7 @@ import static com.google.cloud.video.transcoder.v1beta1.TranscoderServiceClient.ListJobTemplatesPagedResponse; import static com.google.cloud.video.transcoder.v1beta1.TranscoderServiceClient.ListJobsPagedResponse; +import com.google.api.core.BetaApi; import com.google.api.gax.core.BackgroundResource; import com.google.api.gax.rpc.UnaryCallable; import com.google.cloud.video.transcoder.v1beta1.CreateJobRequest; @@ -42,7 +43,8 @@ * *

This class is for advanced usage and reflects the underlying API directly. */ -@Generated("by gapic-generator") +@BetaApi +@Generated("by gapic-generator-java") public abstract class TranscoderServiceStub implements BackgroundResource { public UnaryCallable createJobCallable() { diff --git a/google-cloud-video-transcoder/src/test/java/com/google/cloud/video/transcoder/v1beta1/TranscoderServiceClientTest.java b/google-cloud-video-transcoder/src/test/java/com/google/cloud/video/transcoder/v1beta1/TranscoderServiceClientTest.java index d14e9c4b..9feb94ec 100644 --- a/google-cloud-video-transcoder/src/test/java/com/google/cloud/video/transcoder/v1beta1/TranscoderServiceClientTest.java +++ b/google-cloud-video-transcoder/src/test/java/com/google/cloud/video/transcoder/v1beta1/TranscoderServiceClientTest.java @@ -90,6 +90,7 @@ public void createJobTest() throws Exception { .setInputUri("inputUri470706498") .setOutputUri("outputUri-2119300949") .setPriority(-1165461084) + .setOriginUri(Job.OriginUri.newBuilder().build()) .setProgress(Progress.newBuilder().build()) .setFailureReason("failureReason-1990598546") .addAllFailureDetails(new ArrayList()) @@ -140,6 +141,7 @@ public void createJobTest2() throws Exception { .setInputUri("inputUri470706498") .setOutputUri("outputUri-2119300949") .setPriority(-1165461084) + .setOriginUri(Job.OriginUri.newBuilder().build()) .setProgress(Progress.newBuilder().build()) .setFailureReason("failureReason-1990598546") .addAllFailureDetails(new ArrayList()) @@ -278,6 +280,7 @@ public void getJobTest() throws Exception { .setInputUri("inputUri470706498") .setOutputUri("outputUri-2119300949") .setPriority(-1165461084) + .setOriginUri(Job.OriginUri.newBuilder().build()) .setProgress(Progress.newBuilder().build()) .setFailureReason("failureReason-1990598546") .addAllFailureDetails(new ArrayList()) @@ -325,6 +328,7 @@ public void getJobTest2() throws Exception { .setInputUri("inputUri470706498") .setOutputUri("outputUri-2119300949") .setPriority(-1165461084) + .setOriginUri(Job.OriginUri.newBuilder().build()) .setProgress(Progress.newBuilder().build()) .setFailureReason("failureReason-1990598546") .addAllFailureDetails(new ArrayList()) diff --git a/synth.metadata b/synth.metadata index a0769edd..6aa9d3c1 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,15 +4,15 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-video-transcoder.git", - "sha": "d749dd51fe7de54f07b34a21c97fc937da9ea504" + "sha": "a89edf9d9627be149ea697fbda52b68264bfca0e" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "2ccf8f460800e98884d1aa4ba61e344ad4cd5d04", - "internalRef": "348857882" + "sha": "91e206bcfeaf8948ea03fe3cb1b7616108496cd3", + "internalRef": "350949863" } }, { From 0ce5f5ba364654ebd4391b73577163c277cdc538 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 14 Jan 2021 01:52:13 +0100 Subject: [PATCH 07/26] deps: update dependency com.google.cloud:google-cloud-shared-dependencies to v0.18.0 (#92) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:google-cloud-shared-dependencies](https://togithub.com/googleapis/java-shared-dependencies) | minor | `0.17.0` -> `0.18.0` | --- ### Release Notes

googleapis/java-shared-dependencies ### [`v0.18.0`](https://togithub.com/googleapis/java-shared-dependencies/blob/master/CHANGELOG.md#​0180-httpswwwgithubcomgoogleapisjava-shared-dependenciescompare0171v0180-2021-01-13) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v0.17.1...v0.18.0) ##### Features - add commons-codec to dependencyManagement ([#​251](https://www.github.com/googleapis/java-shared-dependencies/issues/251)) ([4ee990d](https://www.github.com/googleapis/java-shared-dependencies/commit/4ee990d79c9207c81155f6ee9279308a2d4d0f9d)) ##### Dependencies - update dependency com.google.errorprone:error_prone_annotations to v2.5.0 ([#​247](https://www.github.com/googleapis/java-shared-dependencies/issues/247)) ([37c0861](https://www.github.com/googleapis/java-shared-dependencies/commit/37c0861cfb89f13a0682c98067c633b13b30b827)) ##### [0.17.1](https://www.github.com/googleapis/java-shared-dependencies/compare/0.17.0...v0.17.1) (2021-01-12) ##### Dependencies - update dependency com.fasterxml.jackson:jackson-bom to v2.12.1 ([#​245](https://www.github.com/googleapis/java-shared-dependencies/issues/245)) ([5ffc8a0](https://www.github.com/googleapis/java-shared-dependencies/commit/5ffc8a0d173ea0222ac9610ece0ac2aeb1d17f27)) ### [`v0.17.1`](https://togithub.com/googleapis/java-shared-dependencies/blob/master/CHANGELOG.md#​0171-httpswwwgithubcomgoogleapisjava-shared-dependenciescompare0170v0171-2021-01-12) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v0.17.0...v0.17.1)
--- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-video-transcoder). --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 4eb96797..56293f55 100644 --- a/pom.xml +++ b/pom.xml @@ -86,7 +86,7 @@ com.google.cloud google-cloud-shared-dependencies - 0.17.0 + 0.18.0 pom import From 0cc27e6af5dc1af81ef189881671d715f9dbbf0a Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Sat, 16 Jan 2021 16:00:08 -0800 Subject: [PATCH 08/26] chore: Re-generated to pick up changes in the API or client library generator (#90) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/0d13ce56-089e-44d5-a017-9fcaf24c32ca/targets - [ ] To automatically regenerate this PR, check this box. PiperOrigin-RevId: 350949863 Source-Link: https://github.com/googleapis/googleapis/commit/91e206bcfeaf8948ea03fe3cb1b7616108496cd3 PiperOrigin-RevId: 350067652 Source-Link: https://github.com/googleapis/googleapis/commit/ad3bb00ed7750cd0625b3a36e0e2eff29f778e4a PiperOrigin-RevId: 348857882 Source-Link: https://github.com/googleapis/googleapis/commit/2ccf8f460800e98884d1aa4ba61e344ad4cd5d04 --- synth.metadata | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/synth.metadata b/synth.metadata index 6aa9d3c1..60e3e231 100644 --- a/synth.metadata +++ b/synth.metadata @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "6133907dbb3ddab204a17a15d5c53ec0aae9b033" + "sha": "fb53b6fb373b7c3edf4e55f3e8036bc6d73fa483" } } ], From 711ca135bd6fca1ac0a9b50376f72d879ab0804a Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 25 Jan 2021 18:32:36 +0100 Subject: [PATCH 09/26] test(deps): update dependency com.google.truth:truth to v1.1.2 (#96) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.truth:truth](com/google/truth/truth) | `1.1` -> `1.1.2` | [![age](https://badges.renovateapi.com/packages/maven/com.google.truth:truth/1.1.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.truth:truth/1.1.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.truth:truth/1.1.2/compatibility-slim/1.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.truth:truth/1.1.2/confidence-slim/1.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-video-transcoder). --- samples/install-without-bom/pom.xml | 2 +- samples/snapshot/pom.xml | 2 +- samples/snippets/pom.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index dc9707c4..21054f10 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -42,7 +42,7 @@ com.google.truth truth - 1.1 + 1.1.2 test
diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 92ff7173..9c271498 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -41,7 +41,7 @@ com.google.truth truth - 1.1 + 1.1.2 test
diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index 8d702511..6037dad0 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -40,7 +40,7 @@ com.google.truth truth - 1.1 + 1.1.2 test From ffb2a12c0c611aa2df8f06f6e4e57dfdc95888b1 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 26 Jan 2021 19:30:31 +0100 Subject: [PATCH 10/26] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v0.10.0 (#97) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | `0.9.4` -> `0.10.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/0.10.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/0.10.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/0.10.0/compatibility-slim/0.9.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/0.10.0/confidence-slim/0.9.4)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-shared-config ### [`v0.10.0`](https://togithub.com/googleapis/java-shared-config/blob/master/CHANGELOG.md#​0100-httpswwwgithubcomgoogleapisjava-shared-configcomparev094v0100-2021-01-21) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v0.9.4...v0.10.0) ##### Features - adding pom profile to generate docfx yml from javadoc ([#​213](https://www.github.com/googleapis/java-shared-config/issues/213)) ([3527c47](https://www.github.com/googleapis/java-shared-config/commit/3527c47ff413d415f87fccca84358da2c837841d)) ##### Dependencies - update dependency com.puppycrawl.tools:checkstyle to v8.39 ([#​209](https://www.github.com/googleapis/java-shared-config/issues/209)) ([fb53922](https://www.github.com/googleapis/java-shared-config/commit/fb539226d407001822a56c7fff792922cd85d1fe)) ##### [0.9.4](https://www.github.com/googleapis/java-shared-config/compare/v0.9.3...v0.9.4) (2020-10-21) ##### Documentation - Latest for Cloud-RAD ([#​199](https://www.github.com/googleapis/java-shared-config/issues/199)) ([34712af](https://www.github.com/googleapis/java-shared-config/commit/34712afac58aa0d148f0843026b3ff770ee030c2)) ##### [0.9.3](https://www.github.com/googleapis/java-shared-config/compare/v0.9.2...v0.9.3) (2020-10-15) ##### Dependencies - update auto-value-annotation.version to v1.7.4 ([#​157](https://www.github.com/googleapis/java-shared-config/issues/157)) ([5d7e394](https://www.github.com/googleapis/java-shared-config/commit/5d7e394d964010a3e32af492cec4be85aabc3ebf)) ##### [0.9.2](https://www.github.com/googleapis/java-shared-config/compare/v0.9.1...v0.9.2) (2020-07-02) ##### Dependencies - update dependency org.apache.maven.surefire:surefire-junit47 to v3.0.0-M5 ([#​180](https://www.github.com/googleapis/java-shared-config/issues/180)) ([802d9c5](https://www.github.com/googleapis/java-shared-config/commit/802d9c528d34b386face69ca75a014ce57fc3ac1)) ##### [0.9.1](https://www.github.com/googleapis/java-shared-config/compare/v0.9.0...v0.9.1) (2020-07-01) ##### Bug Fixes - maven-dependency-plugin configuration breaking downstream config ([#​174](https://www.github.com/googleapis/java-shared-config/issues/174)) ([507217f](https://www.github.com/googleapis/java-shared-config/commit/507217fe509cd4f16eb50c8075ab43229238e08d)) ##### Documentation - change Devsite output path to /java/docs/reference ([#​176](https://www.github.com/googleapis/java-shared-config/issues/176)) ([8b98af5](https://www.github.com/googleapis/java-shared-config/commit/8b98af54bf503d97bb86b6d02a5c4301b39384e1))
--- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-video-transcoder). --- google-cloud-video-transcoder-bom/pom.xml | 2 +- pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/google-cloud-video-transcoder-bom/pom.xml b/google-cloud-video-transcoder-bom/pom.xml index f3184d98..394e5087 100644 --- a/google-cloud-video-transcoder-bom/pom.xml +++ b/google-cloud-video-transcoder-bom/pom.xml @@ -8,7 +8,7 @@ com.google.cloud google-cloud-shared-config - 0.9.4 + 0.10.0 Google Video Transcoder BOM diff --git a/pom.xml b/pom.xml index 56293f55..dbc7db63 100644 --- a/pom.xml +++ b/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 0.9.4 + 0.10.0 From e6090dd403824db1a9a8d294824b165fb4993276 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 26 Jan 2021 11:20:12 -0800 Subject: [PATCH 11/26] chore: adding docfx doclet resource (#98) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/fb259c82-85f3-40d2-bc0f-f477ba1cd888/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/3816b080296d4d52975079fd26c110dd26ba25af --- .kokoro/release/publish_javadoc.cfg | 3 +++ synth.metadata | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.kokoro/release/publish_javadoc.cfg b/.kokoro/release/publish_javadoc.cfg index 0ff08fd6..79d8921a 100644 --- a/.kokoro/release/publish_javadoc.cfg +++ b/.kokoro/release/publish_javadoc.cfg @@ -27,3 +27,6 @@ before_action { } } } + +# Downloads docfx doclet resource. This will be in ${KOKORO_GFILE_DIR}/ +gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/docfx" \ No newline at end of file diff --git a/synth.metadata b/synth.metadata index 60e3e231..852414db 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-video-transcoder.git", - "sha": "a89edf9d9627be149ea697fbda52b68264bfca0e" + "sha": "711ca135bd6fca1ac0a9b50376f72d879ab0804a" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "fb53b6fb373b7c3edf4e55f3e8036bc6d73fa483" + "sha": "3816b080296d4d52975079fd26c110dd26ba25af" } } ], From 8caa6afb3c76bef13441992094a48a83766157d7 Mon Sep 17 00:00:00 2001 From: Justin Beckwith Date: Thu, 28 Jan 2021 22:14:12 -0800 Subject: [PATCH 12/26] build: migrate to flakybot (#99) --- .kokoro/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.kokoro/build.sh b/.kokoro/build.sh index c20c1ee5..0a2c479c 100755 --- a/.kokoro/build.sh +++ b/.kokoro/build.sh @@ -110,8 +110,8 @@ bash .kokoro/coerce_logs.sh if [[ "${ENABLE_BUILD_COP}" == "true" ]] then - chmod +x ${KOKORO_GFILE_DIR}/linux_amd64/buildcop - ${KOKORO_GFILE_DIR}/linux_amd64/buildcop -repo=googleapis/java-video-transcoder + chmod +x ${KOKORO_GFILE_DIR}/linux_amd64/flakybot + ${KOKORO_GFILE_DIR}/linux_amd64/flakybot -repo=googleapis/java-video-transcoder fi echo "exiting with ${RETURN_CODE}" From 68c5a67edb5f9417f74e5c687f5049e21ca5f2a2 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 3 Feb 2021 09:06:24 -0800 Subject: [PATCH 13/26] chore: Re-generated to pick up changes from synthtool. (#103) * changes without context autosynth cannot find the source of changes triggered by earlier changes in this repository, or by version upgrades to tools such as linters. * build: migrate to flakybot Source-Author: Justin Beckwith Source-Date: Thu Jan 28 22:22:38 2021 -0800 Source-Repo: googleapis/synthtool Source-Sha: d1bb9173100f62c0cfc8f3138b62241e7f47ca6a Source-Link: https://github.com/googleapis/synthtool/commit/d1bb9173100f62c0cfc8f3138b62241e7f47ca6a * build(java): generate docfx yml on release * feat: generate docfx yml on release * fix: updates name variable * fix: remove non needed resource * fix: update date Source-Author: Emily Ball Source-Date: Mon Feb 1 15:24:59 2021 -0800 Source-Repo: googleapis/synthtool Source-Sha: 5de29e9434b63ea6d7e46dc348521c62969af1a1 Source-Link: https://github.com/googleapis/synthtool/commit/5de29e9434b63ea6d7e46dc348521c62969af1a1 * build(java): run linkage monitor as GitHub action Source-Author: Tomo Suzuki Source-Date: Tue Feb 2 16:20:26 2021 -0500 Source-Repo: googleapis/synthtool Source-Sha: e935c9ecb47da0f2e054f5f1845f7cf7c95fa625 Source-Link: https://github.com/googleapis/synthtool/commit/e935c9ecb47da0f2e054f5f1845f7cf7c95fa625 --- .github/workflows/ci.yaml | 13 ++++++- .kokoro/linkage-monitor.sh | 46 ---------------------- .kokoro/release/publish_javadoc.cfg | 5 +-- .kokoro/release/publish_javadoc11.cfg | 30 +++++++++++++++ .kokoro/release/publish_javadoc11.sh | 55 +++++++++++++++++++++++++++ synth.metadata | 7 ++-- 6 files changed, 102 insertions(+), 54 deletions(-) delete mode 100755 .kokoro/linkage-monitor.sh create mode 100644 .kokoro/release/publish_javadoc11.cfg create mode 100755 .kokoro/release/publish_javadoc11.sh diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 68302207..98a472e1 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -54,7 +54,18 @@ jobs: with: java-version: 8 - run: java -version - - run: .kokoro/linkage-monitor.sh + - name: Install artifacts to local Maven repository + run: | + source .kokoro/common.sh + retry_with_backoff 3 10 \ + mvn install -B -V \ + -Dmaven.test.skip -DskipTests=true \ + -Dclirr.skip=true \ + -Denforcer.skip=true \ + -Dmaven.javadoc.skip=true \ + -Dgcloud.download.skip=true + shell: bash + - uses: GoogleCloudPlatform/cloud-opensource-java/linkage-monitor@v1-linkagemonitor lint: runs-on: ubuntu-latest steps: diff --git a/.kokoro/linkage-monitor.sh b/.kokoro/linkage-monitor.sh deleted file mode 100755 index 759ab4e2..00000000 --- a/.kokoro/linkage-monitor.sh +++ /dev/null @@ -1,46 +0,0 @@ -#!/bin/bash -# Copyright 2019 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 -# Display commands being run. -set -x - -## 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} - -# 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 -curl -v -O "https://storage.googleapis.com/cloud-opensource-java-linkage-monitor/${JAR}" - -# Fails if there's new linkage errors compared with baseline -java -jar ${JAR} com.google.cloud:libraries-bom diff --git a/.kokoro/release/publish_javadoc.cfg b/.kokoro/release/publish_javadoc.cfg index 79d8921a..2b1d0662 100644 --- a/.kokoro/release/publish_javadoc.cfg +++ b/.kokoro/release/publish_javadoc.cfg @@ -26,7 +26,4 @@ before_action { keyname: "docuploader_service_account" } } -} - -# Downloads docfx doclet resource. This will be in ${KOKORO_GFILE_DIR}/ -gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/docfx" \ No newline at end of file +} \ No newline at end of file diff --git a/.kokoro/release/publish_javadoc11.cfg b/.kokoro/release/publish_javadoc11.cfg new file mode 100644 index 00000000..2ddd71ce --- /dev/null +++ b/.kokoro/release/publish_javadoc11.cfg @@ -0,0 +1,30 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +env_vars: { + key: "STAGING_BUCKET_V2" + value: "docs-staging-v2" + # Production will be at: docs-staging-v2 +} + +# Configure the docker image for kokoro-trampoline +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/java11" +} + +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/java-memcache/.kokoro/release/publish_javadoc11.sh" +} + +before_action { + fetch_keystore { + keystore_resource { + keystore_config_id: 73713 + keyname: "docuploader_service_account" + } + } +} + +# Downloads docfx doclet resource. This will be in ${KOKORO_GFILE_DIR}/ +gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/docfx" \ No newline at end of file diff --git a/.kokoro/release/publish_javadoc11.sh b/.kokoro/release/publish_javadoc11.sh new file mode 100755 index 00000000..41e71da9 --- /dev/null +++ b/.kokoro/release/publish_javadoc11.sh @@ -0,0 +1,55 @@ +#!/bin/bash +# Copyright 2021 Google Inc. +# +# 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 + +if [[ -z "${CREDENTIALS}" ]]; then + CREDENTIALS=${KOKORO_KEYSTORE_DIR}/73713_docuploader_service_account +fi + +if [[ -z "${STAGING_BUCKET_V2}" ]]; then + echo "Need to set STAGING_BUCKET_V2 environment variable" + exit 1 +fi + +# work from the git root directory +pushd $(dirname "$0")/../../ + +# install docuploader package +python3 -m pip install gcp-docuploader + +# compile all packages +mvn clean install -B -q -DskipTests=true + +export NAME=google-cloud-video-transcoder +export VERSION=$(grep ${NAME}: versions.txt | cut -d: -f3) + +# V3 generates docfx yml from javadoc +# generate yml +mvn clean site -B -q -P docFX + +pushd target/docfx-yml + +# create metadata +python3 -m docuploader create-metadata \ + --name ${NAME} \ + --version ${VERSION} \ + --language java + +# upload yml +python3 -m docuploader upload . \ + --credentials ${CREDENTIALS} \ + --staging-bucket ${STAGING_BUCKET_V2} \ + --destination-prefix docfx- diff --git a/synth.metadata b/synth.metadata index 852414db..f65119fe 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-video-transcoder.git", - "sha": "711ca135bd6fca1ac0a9b50376f72d879ab0804a" + "sha": "8caa6afb3c76bef13441992094a48a83766157d7" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "3816b080296d4d52975079fd26c110dd26ba25af" + "sha": "e935c9ecb47da0f2e054f5f1845f7cf7c95fa625" } } ], @@ -59,7 +59,6 @@ ".kokoro/continuous/java8.cfg", ".kokoro/continuous/readme.cfg", ".kokoro/dependencies.sh", - ".kokoro/linkage-monitor.sh", ".kokoro/nightly/common.cfg", ".kokoro/nightly/integration.cfg", ".kokoro/nightly/java11.cfg", @@ -91,6 +90,8 @@ ".kokoro/release/promote.sh", ".kokoro/release/publish_javadoc.cfg", ".kokoro/release/publish_javadoc.sh", + ".kokoro/release/publish_javadoc11.cfg", + ".kokoro/release/publish_javadoc11.sh", ".kokoro/release/snapshot.cfg", ".kokoro/release/snapshot.sh", ".kokoro/release/stage.cfg", From 0f63e6c8415ab8b5c45166f9818c38c3a20a084f Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Thu, 4 Feb 2021 10:02:21 -0800 Subject: [PATCH 14/26] build(java): update autorelease branch name check (#105) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/60da91af-9648-4052-9caa-101541f2f1f9/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/140ba24a136c63e7f10a998a63e7898aed63ea7d --- .github/workflows/auto-release.yaml | 2 +- synth.metadata | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/auto-release.yaml b/.github/workflows/auto-release.yaml index 2b6cdbc9..76e6404b 100644 --- a/.github/workflows/auto-release.yaml +++ b/.github/workflows/auto-release.yaml @@ -17,7 +17,7 @@ jobs: } // only approve PRs like "chore: release " - if ( !context.payload.pull_request.title.startsWith("chore: release") ) { + if ( !context.payload.pull_request.title.startsWith("chore(master): release") ) { return; } diff --git a/synth.metadata b/synth.metadata index f65119fe..598fae12 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-video-transcoder.git", - "sha": "8caa6afb3c76bef13441992094a48a83766157d7" + "sha": "68c5a67edb5f9417f74e5c687f5049e21ca5f2a2" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "e935c9ecb47da0f2e054f5f1845f7cf7c95fa625" + "sha": "140ba24a136c63e7f10a998a63e7898aed63ea7d" } } ], From 10f9faba4198e698f35ae9d6e0ef02f673037dce Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Thu, 4 Feb 2021 16:20:14 -0800 Subject: [PATCH 15/26] chore: Re-generated to pick up changes from synthtool. (#106) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/124079dd-5a36-49ca-b6e8-8481cdde6c76/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/692715c0f23a7bb3bfbbaa300f7620ddfa8c47e5 Source-Link: https://github.com/googleapis/synthtool/commit/27b2d4f4674840628d0b75c5941e89c12af4764f --- .kokoro/release/publish_javadoc11.cfg | 4 ++-- LICENSE | 1 - synth.metadata | 4 ++-- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.kokoro/release/publish_javadoc11.cfg b/.kokoro/release/publish_javadoc11.cfg index 2ddd71ce..d92f8e44 100644 --- a/.kokoro/release/publish_javadoc11.cfg +++ b/.kokoro/release/publish_javadoc11.cfg @@ -14,7 +14,7 @@ env_vars: { env_vars: { key: "TRAMPOLINE_BUILD_FILE" - value: "github/java-memcache/.kokoro/release/publish_javadoc11.sh" + value: "github/java-video-transcoder/.kokoro/release/publish_javadoc11.sh" } before_action { @@ -27,4 +27,4 @@ before_action { } # Downloads docfx doclet resource. This will be in ${KOKORO_GFILE_DIR}/ -gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/docfx" \ No newline at end of file +gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/docfx" diff --git a/LICENSE b/LICENSE index d6456956..261eeb9e 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,3 @@ - Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ diff --git a/synth.metadata b/synth.metadata index 598fae12..6f023020 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-video-transcoder.git", - "sha": "68c5a67edb5f9417f74e5c687f5049e21ca5f2a2" + "sha": "0f63e6c8415ab8b5c45166f9818c38c3a20a084f" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "140ba24a136c63e7f10a998a63e7898aed63ea7d" + "sha": "692715c0f23a7bb3bfbbaa300f7620ddfa8c47e5" } } ], From 5fe6226fdbc87aab888a049fd2d5040dbedbd0d2 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 9 Feb 2021 10:56:04 -0800 Subject: [PATCH 16/26] docs: generate sample code in the Java microgenerator (#108) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/b5715173-fa09-4f29-8c69-530ae787b970/targets - [ ] To automatically regenerate this PR, check this box. PiperOrigin-RevId: 356341083 Source-Link: https://github.com/googleapis/googleapis/commit/8d8c008e56f1af31d57f75561e0f1848ffb29eeb --- .../v1beta1/TranscoderServiceClient.java | 421 ++++++++++++++++++ .../transcoder/v1beta1/package-info.java | 8 + synth.metadata | 6 +- 3 files changed, 432 insertions(+), 3 deletions(-) diff --git a/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1beta1/TranscoderServiceClient.java b/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1beta1/TranscoderServiceClient.java index fa15c964..364f4f4e 100644 --- a/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1beta1/TranscoderServiceClient.java +++ b/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1beta1/TranscoderServiceClient.java @@ -46,6 +46,14 @@ *

This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. Sample code to get started: * + *

{@code
+ * try (TranscoderServiceClient transcoderServiceClient = TranscoderServiceClient.create()) {
+ *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
+ *   Job job = Job.newBuilder().build();
+ *   Job response = transcoderServiceClient.createJob(parent, job);
+ * }
+ * }
+ * *

Note: close() needs to be called on the TranscoderServiceClient object to clean up resources * such as threads. In the example above, try-with-resources is used, which automatically calls * close(). @@ -153,6 +161,16 @@ public TranscoderServiceStub getStub() { /** * Creates a job in the specified region. * + *

Sample code: + * + *

{@code
+   * try (TranscoderServiceClient transcoderServiceClient = TranscoderServiceClient.create()) {
+   *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
+   *   Job job = Job.newBuilder().build();
+   *   Job response = transcoderServiceClient.createJob(parent, job);
+   * }
+   * }
+ * * @param parent Required. The parent location to create and process this job. Format: * `projects/{project}/locations/{location}` * @param job Required. Parameters for creating transcoding job. @@ -171,6 +189,16 @@ public final Job createJob(LocationName parent, Job job) { /** * Creates a job in the specified region. * + *

Sample code: + * + *

{@code
+   * try (TranscoderServiceClient transcoderServiceClient = TranscoderServiceClient.create()) {
+   *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
+   *   Job job = Job.newBuilder().build();
+   *   Job response = transcoderServiceClient.createJob(parent, job);
+   * }
+   * }
+ * * @param parent Required. The parent location to create and process this job. Format: * `projects/{project}/locations/{location}` * @param job Required. Parameters for creating transcoding job. @@ -185,6 +213,19 @@ public final Job createJob(String parent, Job job) { /** * Creates a job in the specified region. * + *

Sample code: + * + *

{@code
+   * try (TranscoderServiceClient transcoderServiceClient = TranscoderServiceClient.create()) {
+   *   CreateJobRequest request =
+   *       CreateJobRequest.newBuilder()
+   *           .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+   *           .setJob(Job.newBuilder().build())
+   *           .build();
+   *   Job response = transcoderServiceClient.createJob(request);
+   * }
+   * }
+ * * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -197,6 +238,19 @@ public final Job createJob(CreateJobRequest request) { * Creates a job in the specified region. * *

Sample code: + * + *

{@code
+   * try (TranscoderServiceClient transcoderServiceClient = TranscoderServiceClient.create()) {
+   *   CreateJobRequest request =
+   *       CreateJobRequest.newBuilder()
+   *           .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+   *           .setJob(Job.newBuilder().build())
+   *           .build();
+   *   ApiFuture future = transcoderServiceClient.createJobCallable().futureCall(request);
+   *   // Do something.
+   *   Job response = future.get();
+   * }
+   * }
*/ public final UnaryCallable createJobCallable() { return stub.createJobCallable(); @@ -206,6 +260,17 @@ public final UnaryCallable createJobCallable() { /** * Lists jobs in the specified region. * + *

Sample code: + * + *

{@code
+   * try (TranscoderServiceClient transcoderServiceClient = TranscoderServiceClient.create()) {
+   *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
+   *   for (Job element : transcoderServiceClient.listJobs(parent).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * * @param parent Required. Format: `projects/{project}/locations/{location}` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -219,6 +284,17 @@ public final ListJobsPagedResponse listJobs(LocationName parent) { /** * Lists jobs in the specified region. * + *

Sample code: + * + *

{@code
+   * try (TranscoderServiceClient transcoderServiceClient = TranscoderServiceClient.create()) {
+   *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
+   *   for (Job element : transcoderServiceClient.listJobs(parent).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * * @param parent Required. Format: `projects/{project}/locations/{location}` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -231,6 +307,22 @@ public final ListJobsPagedResponse listJobs(String parent) { /** * Lists jobs in the specified region. * + *

Sample code: + * + *

{@code
+   * try (TranscoderServiceClient transcoderServiceClient = TranscoderServiceClient.create()) {
+   *   ListJobsRequest request =
+   *       ListJobsRequest.newBuilder()
+   *           .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   for (Job element : transcoderServiceClient.listJobs(request).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -243,6 +335,22 @@ public final ListJobsPagedResponse listJobs(ListJobsRequest request) { * Lists jobs in the specified region. * *

Sample code: + * + *

{@code
+   * try (TranscoderServiceClient transcoderServiceClient = TranscoderServiceClient.create()) {
+   *   ListJobsRequest request =
+   *       ListJobsRequest.newBuilder()
+   *           .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   ApiFuture future = transcoderServiceClient.listJobsPagedCallable().futureCall(request);
+   *   // Do something.
+   *   for (Job element : future.get().iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
*/ public final UnaryCallable listJobsPagedCallable() { return stub.listJobsPagedCallable(); @@ -253,6 +361,23 @@ public final UnaryCallable listJobsPaged * Lists jobs in the specified region. * *

Sample code: + * + *

{@code
+   * try (TranscoderServiceClient transcoderServiceClient = TranscoderServiceClient.create()) {
+   *   while (true) {
+   *     ListJobsResponse response = transcoderServiceClient.listJobsCallable().call(request);
+   *     for (Job element : response.getResponsesList()) {
+   *       // doThingsWith(element);
+   *     }
+   *     String nextPageToken = response.getNextPageToken();
+   *     if (!Strings.isNullOrEmpty(nextPageToken)) {
+   *       request = request.toBuilder().setPageToken(nextPageToken).build();
+   *     } else {
+   *       break;
+   *     }
+   *   }
+   * }
+   * }
*/ public final UnaryCallable listJobsCallable() { return stub.listJobsCallable(); @@ -262,6 +387,15 @@ public final UnaryCallable listJobsCallable() /** * Returns the job data. * + *

Sample code: + * + *

{@code
+   * try (TranscoderServiceClient transcoderServiceClient = TranscoderServiceClient.create()) {
+   *   JobName name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]");
+   *   Job response = transcoderServiceClient.getJob(name);
+   * }
+   * }
+ * * @param name Required. The name of the job to retrieve. Format: * `projects/{project}/locations/{location}/jobs/{job}` * @throws com.google.api.gax.rpc.ApiException if the remote call fails @@ -276,6 +410,15 @@ public final Job getJob(JobName name) { /** * Returns the job data. * + *

Sample code: + * + *

{@code
+   * try (TranscoderServiceClient transcoderServiceClient = TranscoderServiceClient.create()) {
+   *   String name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]").toString();
+   *   Job response = transcoderServiceClient.getJob(name);
+   * }
+   * }
+ * * @param name Required. The name of the job to retrieve. Format: * `projects/{project}/locations/{location}/jobs/{job}` * @throws com.google.api.gax.rpc.ApiException if the remote call fails @@ -289,6 +432,18 @@ public final Job getJob(String name) { /** * Returns the job data. * + *

Sample code: + * + *

{@code
+   * try (TranscoderServiceClient transcoderServiceClient = TranscoderServiceClient.create()) {
+   *   GetJobRequest request =
+   *       GetJobRequest.newBuilder()
+   *           .setName(JobName.of("[PROJECT]", "[LOCATION]", "[JOB]").toString())
+   *           .build();
+   *   Job response = transcoderServiceClient.getJob(request);
+   * }
+   * }
+ * * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -301,6 +456,18 @@ public final Job getJob(GetJobRequest request) { * Returns the job data. * *

Sample code: + * + *

{@code
+   * try (TranscoderServiceClient transcoderServiceClient = TranscoderServiceClient.create()) {
+   *   GetJobRequest request =
+   *       GetJobRequest.newBuilder()
+   *           .setName(JobName.of("[PROJECT]", "[LOCATION]", "[JOB]").toString())
+   *           .build();
+   *   ApiFuture future = transcoderServiceClient.getJobCallable().futureCall(request);
+   *   // Do something.
+   *   Job response = future.get();
+   * }
+   * }
*/ public final UnaryCallable getJobCallable() { return stub.getJobCallable(); @@ -310,6 +477,15 @@ public final UnaryCallable getJobCallable() { /** * Deletes a job. * + *

Sample code: + * + *

{@code
+   * try (TranscoderServiceClient transcoderServiceClient = TranscoderServiceClient.create()) {
+   *   JobName name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]");
+   *   transcoderServiceClient.deleteJob(name);
+   * }
+   * }
+ * * @param name Required. The name of the job to delete. Format: * `projects/{project}/locations/{location}/jobs/{job}` * @throws com.google.api.gax.rpc.ApiException if the remote call fails @@ -324,6 +500,15 @@ public final void deleteJob(JobName name) { /** * Deletes a job. * + *

Sample code: + * + *

{@code
+   * try (TranscoderServiceClient transcoderServiceClient = TranscoderServiceClient.create()) {
+   *   String name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]").toString();
+   *   transcoderServiceClient.deleteJob(name);
+   * }
+   * }
+ * * @param name Required. The name of the job to delete. Format: * `projects/{project}/locations/{location}/jobs/{job}` * @throws com.google.api.gax.rpc.ApiException if the remote call fails @@ -337,6 +522,18 @@ public final void deleteJob(String name) { /** * Deletes a job. * + *

Sample code: + * + *

{@code
+   * try (TranscoderServiceClient transcoderServiceClient = TranscoderServiceClient.create()) {
+   *   DeleteJobRequest request =
+   *       DeleteJobRequest.newBuilder()
+   *           .setName(JobName.of("[PROJECT]", "[LOCATION]", "[JOB]").toString())
+   *           .build();
+   *   transcoderServiceClient.deleteJob(request);
+   * }
+   * }
+ * * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -349,6 +546,18 @@ public final void deleteJob(DeleteJobRequest request) { * Deletes a job. * *

Sample code: + * + *

{@code
+   * try (TranscoderServiceClient transcoderServiceClient = TranscoderServiceClient.create()) {
+   *   DeleteJobRequest request =
+   *       DeleteJobRequest.newBuilder()
+   *           .setName(JobName.of("[PROJECT]", "[LOCATION]", "[JOB]").toString())
+   *           .build();
+   *   ApiFuture future = transcoderServiceClient.deleteJobCallable().futureCall(request);
+   *   // Do something.
+   *   future.get();
+   * }
+   * }
*/ public final UnaryCallable deleteJobCallable() { return stub.deleteJobCallable(); @@ -358,6 +567,18 @@ public final UnaryCallable deleteJobCallable() { /** * Creates a job template in the specified region. * + *

Sample code: + * + *

{@code
+   * try (TranscoderServiceClient transcoderServiceClient = TranscoderServiceClient.create()) {
+   *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
+   *   JobTemplate jobTemplate = JobTemplate.newBuilder().build();
+   *   String jobTemplateId = "jobTemplateId-597733678";
+   *   JobTemplate response =
+   *       transcoderServiceClient.createJobTemplate(parent, jobTemplate, jobTemplateId);
+   * }
+   * }
+ * * @param parent Required. The parent location to create this job template. Format: * `projects/{project}/locations/{location}` * @param jobTemplate Required. Parameters for creating job template. @@ -382,6 +603,18 @@ public final JobTemplate createJobTemplate( /** * Creates a job template in the specified region. * + *

Sample code: + * + *

{@code
+   * try (TranscoderServiceClient transcoderServiceClient = TranscoderServiceClient.create()) {
+   *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
+   *   JobTemplate jobTemplate = JobTemplate.newBuilder().build();
+   *   String jobTemplateId = "jobTemplateId-597733678";
+   *   JobTemplate response =
+   *       transcoderServiceClient.createJobTemplate(parent, jobTemplate, jobTemplateId);
+   * }
+   * }
+ * * @param parent Required. The parent location to create this job template. Format: * `projects/{project}/locations/{location}` * @param jobTemplate Required. Parameters for creating job template. @@ -406,6 +639,20 @@ public final JobTemplate createJobTemplate( /** * Creates a job template in the specified region. * + *

Sample code: + * + *

{@code
+   * try (TranscoderServiceClient transcoderServiceClient = TranscoderServiceClient.create()) {
+   *   CreateJobTemplateRequest request =
+   *       CreateJobTemplateRequest.newBuilder()
+   *           .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+   *           .setJobTemplate(JobTemplate.newBuilder().build())
+   *           .setJobTemplateId("jobTemplateId-597733678")
+   *           .build();
+   *   JobTemplate response = transcoderServiceClient.createJobTemplate(request);
+   * }
+   * }
+ * * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -418,6 +665,21 @@ public final JobTemplate createJobTemplate(CreateJobTemplateRequest request) { * Creates a job template in the specified region. * *

Sample code: + * + *

{@code
+   * try (TranscoderServiceClient transcoderServiceClient = TranscoderServiceClient.create()) {
+   *   CreateJobTemplateRequest request =
+   *       CreateJobTemplateRequest.newBuilder()
+   *           .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+   *           .setJobTemplate(JobTemplate.newBuilder().build())
+   *           .setJobTemplateId("jobTemplateId-597733678")
+   *           .build();
+   *   ApiFuture future =
+   *       transcoderServiceClient.createJobTemplateCallable().futureCall(request);
+   *   // Do something.
+   *   JobTemplate response = future.get();
+   * }
+   * }
*/ public final UnaryCallable createJobTemplateCallable() { return stub.createJobTemplateCallable(); @@ -427,6 +689,17 @@ public final UnaryCallable createJobTempl /** * Lists job templates in the specified region. * + *

Sample code: + * + *

{@code
+   * try (TranscoderServiceClient transcoderServiceClient = TranscoderServiceClient.create()) {
+   *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
+   *   for (JobTemplate element : transcoderServiceClient.listJobTemplates(parent).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * * @param parent Required. The parent location from which to retrieve the collection of job * templates. Format: `projects/{project}/locations/{location}` * @throws com.google.api.gax.rpc.ApiException if the remote call fails @@ -443,6 +716,17 @@ public final ListJobTemplatesPagedResponse listJobTemplates(LocationName parent) /** * Lists job templates in the specified region. * + *

Sample code: + * + *

{@code
+   * try (TranscoderServiceClient transcoderServiceClient = TranscoderServiceClient.create()) {
+   *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
+   *   for (JobTemplate element : transcoderServiceClient.listJobTemplates(parent).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * * @param parent Required. The parent location from which to retrieve the collection of job * templates. Format: `projects/{project}/locations/{location}` * @throws com.google.api.gax.rpc.ApiException if the remote call fails @@ -457,6 +741,22 @@ public final ListJobTemplatesPagedResponse listJobTemplates(String parent) { /** * Lists job templates in the specified region. * + *

Sample code: + * + *

{@code
+   * try (TranscoderServiceClient transcoderServiceClient = TranscoderServiceClient.create()) {
+   *   ListJobTemplatesRequest request =
+   *       ListJobTemplatesRequest.newBuilder()
+   *           .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   for (JobTemplate element : transcoderServiceClient.listJobTemplates(request).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -469,6 +769,23 @@ public final ListJobTemplatesPagedResponse listJobTemplates(ListJobTemplatesRequ * Lists job templates in the specified region. * *

Sample code: + * + *

{@code
+   * try (TranscoderServiceClient transcoderServiceClient = TranscoderServiceClient.create()) {
+   *   ListJobTemplatesRequest request =
+   *       ListJobTemplatesRequest.newBuilder()
+   *           .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   ApiFuture future =
+   *       transcoderServiceClient.listJobTemplatesPagedCallable().futureCall(request);
+   *   // Do something.
+   *   for (JobTemplate element : future.get().iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
*/ public final UnaryCallable listJobTemplatesPagedCallable() { @@ -480,6 +797,24 @@ public final ListJobTemplatesPagedResponse listJobTemplates(ListJobTemplatesRequ * Lists job templates in the specified region. * *

Sample code: + * + *

{@code
+   * try (TranscoderServiceClient transcoderServiceClient = TranscoderServiceClient.create()) {
+   *   while (true) {
+   *     ListJobTemplatesResponse response =
+   *         transcoderServiceClient.listJobTemplatesCallable().call(request);
+   *     for (JobTemplate element : response.getResponsesList()) {
+   *       // doThingsWith(element);
+   *     }
+   *     String nextPageToken = response.getNextPageToken();
+   *     if (!Strings.isNullOrEmpty(nextPageToken)) {
+   *       request = request.toBuilder().setPageToken(nextPageToken).build();
+   *     } else {
+   *       break;
+   *     }
+   *   }
+   * }
+   * }
*/ public final UnaryCallable listJobTemplatesCallable() { @@ -490,6 +825,15 @@ public final ListJobTemplatesPagedResponse listJobTemplates(ListJobTemplatesRequ /** * Returns the job template data. * + *

Sample code: + * + *

{@code
+   * try (TranscoderServiceClient transcoderServiceClient = TranscoderServiceClient.create()) {
+   *   JobTemplateName name = JobTemplateName.of("[PROJECT]", "[LOCATION]", "[JOB_TEMPLATE]");
+   *   JobTemplate response = transcoderServiceClient.getJobTemplate(name);
+   * }
+   * }
+ * * @param name Required. The name of the job template to retrieve. Format: * `projects/{project}/locations/{location}/jobTemplates/{job_template}` * @throws com.google.api.gax.rpc.ApiException if the remote call fails @@ -504,6 +848,15 @@ public final JobTemplate getJobTemplate(JobTemplateName name) { /** * Returns the job template data. * + *

Sample code: + * + *

{@code
+   * try (TranscoderServiceClient transcoderServiceClient = TranscoderServiceClient.create()) {
+   *   String name = JobTemplateName.of("[PROJECT]", "[LOCATION]", "[JOB_TEMPLATE]").toString();
+   *   JobTemplate response = transcoderServiceClient.getJobTemplate(name);
+   * }
+   * }
+ * * @param name Required. The name of the job template to retrieve. Format: * `projects/{project}/locations/{location}/jobTemplates/{job_template}` * @throws com.google.api.gax.rpc.ApiException if the remote call fails @@ -517,6 +870,18 @@ public final JobTemplate getJobTemplate(String name) { /** * Returns the job template data. * + *

Sample code: + * + *

{@code
+   * try (TranscoderServiceClient transcoderServiceClient = TranscoderServiceClient.create()) {
+   *   GetJobTemplateRequest request =
+   *       GetJobTemplateRequest.newBuilder()
+   *           .setName(JobTemplateName.of("[PROJECT]", "[LOCATION]", "[JOB_TEMPLATE]").toString())
+   *           .build();
+   *   JobTemplate response = transcoderServiceClient.getJobTemplate(request);
+   * }
+   * }
+ * * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -529,6 +894,19 @@ public final JobTemplate getJobTemplate(GetJobTemplateRequest request) { * Returns the job template data. * *

Sample code: + * + *

{@code
+   * try (TranscoderServiceClient transcoderServiceClient = TranscoderServiceClient.create()) {
+   *   GetJobTemplateRequest request =
+   *       GetJobTemplateRequest.newBuilder()
+   *           .setName(JobTemplateName.of("[PROJECT]", "[LOCATION]", "[JOB_TEMPLATE]").toString())
+   *           .build();
+   *   ApiFuture future =
+   *       transcoderServiceClient.getJobTemplateCallable().futureCall(request);
+   *   // Do something.
+   *   JobTemplate response = future.get();
+   * }
+   * }
*/ public final UnaryCallable getJobTemplateCallable() { return stub.getJobTemplateCallable(); @@ -538,6 +916,15 @@ public final UnaryCallable getJobTemplateCal /** * Deletes a job template. * + *

Sample code: + * + *

{@code
+   * try (TranscoderServiceClient transcoderServiceClient = TranscoderServiceClient.create()) {
+   *   JobTemplateName name = JobTemplateName.of("[PROJECT]", "[LOCATION]", "[JOB_TEMPLATE]");
+   *   transcoderServiceClient.deleteJobTemplate(name);
+   * }
+   * }
+ * * @param name Required. The name of the job template to delete. * `projects/{project}/locations/{location}/jobTemplates/{job_template}` * @throws com.google.api.gax.rpc.ApiException if the remote call fails @@ -554,6 +941,15 @@ public final void deleteJobTemplate(JobTemplateName name) { /** * Deletes a job template. * + *

Sample code: + * + *

{@code
+   * try (TranscoderServiceClient transcoderServiceClient = TranscoderServiceClient.create()) {
+   *   String name = JobTemplateName.of("[PROJECT]", "[LOCATION]", "[JOB_TEMPLATE]").toString();
+   *   transcoderServiceClient.deleteJobTemplate(name);
+   * }
+   * }
+ * * @param name Required. The name of the job template to delete. * `projects/{project}/locations/{location}/jobTemplates/{job_template}` * @throws com.google.api.gax.rpc.ApiException if the remote call fails @@ -567,6 +963,18 @@ public final void deleteJobTemplate(String name) { /** * Deletes a job template. * + *

Sample code: + * + *

{@code
+   * try (TranscoderServiceClient transcoderServiceClient = TranscoderServiceClient.create()) {
+   *   DeleteJobTemplateRequest request =
+   *       DeleteJobTemplateRequest.newBuilder()
+   *           .setName(JobTemplateName.of("[PROJECT]", "[LOCATION]", "[JOB_TEMPLATE]").toString())
+   *           .build();
+   *   transcoderServiceClient.deleteJobTemplate(request);
+   * }
+   * }
+ * * @param request The request object containing all of the parameters for the API call. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -579,6 +987,19 @@ public final void deleteJobTemplate(DeleteJobTemplateRequest request) { * Deletes a job template. * *

Sample code: + * + *

{@code
+   * try (TranscoderServiceClient transcoderServiceClient = TranscoderServiceClient.create()) {
+   *   DeleteJobTemplateRequest request =
+   *       DeleteJobTemplateRequest.newBuilder()
+   *           .setName(JobTemplateName.of("[PROJECT]", "[LOCATION]", "[JOB_TEMPLATE]").toString())
+   *           .build();
+   *   ApiFuture future =
+   *       transcoderServiceClient.deleteJobTemplateCallable().futureCall(request);
+   *   // Do something.
+   *   future.get();
+   * }
+   * }
*/ public final UnaryCallable deleteJobTemplateCallable() { return stub.deleteJobTemplateCallable(); diff --git a/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1beta1/package-info.java b/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1beta1/package-info.java index 83080c28..7f99f214 100644 --- a/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1beta1/package-info.java +++ b/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1beta1/package-info.java @@ -26,6 +26,14 @@ * equalization, content concatenation, and digital ad-stitch ready content generation. * *

Sample for TranscoderServiceClient: + * + *

{@code
+ * try (TranscoderServiceClient transcoderServiceClient = TranscoderServiceClient.create()) {
+ *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
+ *   Job job = Job.newBuilder().build();
+ *   Job response = transcoderServiceClient.createJob(parent, job);
+ * }
+ * }
*/ @Generated("by gapic-generator-java") package com.google.cloud.video.transcoder.v1beta1; diff --git a/synth.metadata b/synth.metadata index 6f023020..8ce2a6d4 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,15 +4,15 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-video-transcoder.git", - "sha": "0f63e6c8415ab8b5c45166f9818c38c3a20a084f" + "sha": "10f9faba4198e698f35ae9d6e0ef02f673037dce" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "91e206bcfeaf8948ea03fe3cb1b7616108496cd3", - "internalRef": "350949863" + "sha": "8d8c008e56f1af31d57f75561e0f1848ffb29eeb", + "internalRef": "356341083" } }, { From 789c3eded68a7c363369368be4b8b303cd445f9d Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 10 Feb 2021 09:02:49 -0800 Subject: [PATCH 17/26] build(java): update autorelease script (#109) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/3ed56491-ec66-4d43-9f98-af35b45c75fe/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/2414b817065726eae0bc525346c7e874f969369d --- .github/workflows/auto-release.yaml | 4 ++-- synth.metadata | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/auto-release.yaml b/.github/workflows/auto-release.yaml index 76e6404b..7c8816a7 100644 --- a/.github/workflows/auto-release.yaml +++ b/.github/workflows/auto-release.yaml @@ -4,7 +4,7 @@ name: auto-release jobs: approve: runs-on: ubuntu-latest - if: contains(github.head_ref, 'release-v') + if: contains(github.head_ref, 'release-please') steps: - uses: actions/github-script@v3 with: @@ -16,7 +16,7 @@ jobs: return; } - // only approve PRs like "chore: release " + // only approve PRs like "chore(master): release " if ( !context.payload.pull_request.title.startsWith("chore(master): release") ) { return; } diff --git a/synth.metadata b/synth.metadata index 8ce2a6d4..27629f07 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-video-transcoder.git", - "sha": "10f9faba4198e698f35ae9d6e0ef02f673037dce" + "sha": "5fe6226fdbc87aab888a049fd2d5040dbedbd0d2" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "692715c0f23a7bb3bfbbaa300f7620ddfa8c47e5" + "sha": "2414b817065726eae0bc525346c7e874f969369d" } } ], From 12ccd9e13504afe2bdc50877c4de486aff2923cc Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 16 Feb 2021 19:04:26 +0100 Subject: [PATCH 18/26] test(deps): update dependency junit:junit to v4.13.2 (#110) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [junit:junit](http://junit.org) ([source](https://togithub.com/junit-team/junit4)) | `4.13.1` -> `4.13.2` | [![age](https://badges.renovateapi.com/packages/maven/junit:junit/4.13.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/junit:junit/4.13.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/junit:junit/4.13.2/compatibility-slim/4.13.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/junit:junit/4.13.2/confidence-slim/4.13.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-video-transcoder). --- google-cloud-video-transcoder/pom.xml | 2 +- samples/install-without-bom/pom.xml | 2 +- samples/snapshot/pom.xml | 2 +- samples/snippets/pom.xml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/google-cloud-video-transcoder/pom.xml b/google-cloud-video-transcoder/pom.xml index 2c045a8e..4054523f 100644 --- a/google-cloud-video-transcoder/pom.xml +++ b/google-cloud-video-transcoder/pom.xml @@ -68,7 +68,7 @@ junit junit test - 4.13.1 + 4.13.2 diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index 21054f10..b348d230 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -36,7 +36,7 @@ junit junit - 4.13.1 + 4.13.2 test diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 9c271498..4586b2a2 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -35,7 +35,7 @@ junit junit - 4.13.1 + 4.13.2 test diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index 6037dad0..507ad530 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -34,7 +34,7 @@ junit junit - 4.13.1 + 4.13.2 test From aae5f6816024186d38938783d65f1b9ca984d702 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 16 Feb 2021 16:20:28 -0800 Subject: [PATCH 19/26] ci: linkage monitor CI job to use build.sh (#112) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/ca0c8ac8-6f14-468f-80f2-67e8a2c09f54/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/f327d3b657a63ae4a8efd7f011a15eacae36b59c --- .github/workflows/ci.yaml | 13 +++---------- synth.metadata | 4 ++-- 2 files changed, 5 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 98a472e1..def8b3a2 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -55,17 +55,10 @@ jobs: java-version: 8 - run: java -version - name: Install artifacts to local Maven repository - run: | - source .kokoro/common.sh - retry_with_backoff 3 10 \ - mvn install -B -V \ - -Dmaven.test.skip -DskipTests=true \ - -Dclirr.skip=true \ - -Denforcer.skip=true \ - -Dmaven.javadoc.skip=true \ - -Dgcloud.download.skip=true + run: .kokoro/build.sh shell: bash - - uses: GoogleCloudPlatform/cloud-opensource-java/linkage-monitor@v1-linkagemonitor + - name: Validate any conflicts with regard to com.google.cloud:libraries-bom (latest release) + uses: GoogleCloudPlatform/cloud-opensource-java/linkage-monitor@v1-linkagemonitor lint: runs-on: ubuntu-latest steps: diff --git a/synth.metadata b/synth.metadata index 27629f07..b84ce0c3 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-video-transcoder.git", - "sha": "5fe6226fdbc87aab888a049fd2d5040dbedbd0d2" + "sha": "12ccd9e13504afe2bdc50877c4de486aff2923cc" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "2414b817065726eae0bc525346c7e874f969369d" + "sha": "f327d3b657a63ae4a8efd7f011a15eacae36b59c" } } ], From 47e69af3d3e4f8d2c891aca8af7d68037671b8a0 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 17 Feb 2021 08:58:07 -0800 Subject: [PATCH 20/26] chore: update gapic-generator-java to 0.0.20 (#111) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/ca0c8ac8-6f14-468f-80f2-67e8a2c09f54/targets - [ ] To automatically regenerate this PR, check this box. PiperOrigin-RevId: 357800868 Source-Link: https://github.com/googleapis/googleapis/commit/e8bc4471a88ac5f60defe3ed436f517174e59ba0 --- .../stub/GrpcTranscoderServiceStub.java | 10 ++++ .../v1beta1/MockTranscoderServiceImpl.java | 60 ++++++++++++++++--- synth.metadata | 4 +- 3 files changed, 64 insertions(+), 10 deletions(-) diff --git a/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1beta1/stub/GrpcTranscoderServiceStub.java b/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1beta1/stub/GrpcTranscoderServiceStub.java index b3138495..076828de 100644 --- a/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1beta1/stub/GrpcTranscoderServiceStub.java +++ b/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1beta1/stub/GrpcTranscoderServiceStub.java @@ -342,44 +342,54 @@ public GrpcOperationsStub getOperationsStub() { return operationsStub; } + @Override public UnaryCallable createJobCallable() { return createJobCallable; } + @Override public UnaryCallable listJobsCallable() { return listJobsCallable; } + @Override public UnaryCallable listJobsPagedCallable() { return listJobsPagedCallable; } + @Override public UnaryCallable getJobCallable() { return getJobCallable; } + @Override public UnaryCallable deleteJobCallable() { return deleteJobCallable; } + @Override public UnaryCallable createJobTemplateCallable() { return createJobTemplateCallable; } + @Override public UnaryCallable listJobTemplatesCallable() { return listJobTemplatesCallable; } + @Override public UnaryCallable listJobTemplatesPagedCallable() { return listJobTemplatesPagedCallable; } + @Override public UnaryCallable getJobTemplateCallable() { return getJobTemplateCallable; } + @Override public UnaryCallable deleteJobTemplateCallable() { return deleteJobTemplateCallable; } diff --git a/google-cloud-video-transcoder/src/test/java/com/google/cloud/video/transcoder/v1beta1/MockTranscoderServiceImpl.java b/google-cloud-video-transcoder/src/test/java/com/google/cloud/video/transcoder/v1beta1/MockTranscoderServiceImpl.java index b8883801..1e307ced 100644 --- a/google-cloud-video-transcoder/src/test/java/com/google/cloud/video/transcoder/v1beta1/MockTranscoderServiceImpl.java +++ b/google-cloud-video-transcoder/src/test/java/com/google/cloud/video/transcoder/v1beta1/MockTranscoderServiceImpl.java @@ -69,7 +69,11 @@ public void createJob(CreateJobRequest request, StreamObserver responseObse } else if (response instanceof Exception) { responseObserver.onError(((Exception) response)); } else { - responseObserver.onError(new IllegalArgumentException("Unrecognized response type")); + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method CreateJob, expected %s or %s", + response.getClass().getName(), Job.class.getName(), Exception.class.getName()))); } } @@ -83,7 +87,13 @@ public void listJobs(ListJobsRequest request, StreamObserver r } else if (response instanceof Exception) { responseObserver.onError(((Exception) response)); } else { - responseObserver.onError(new IllegalArgumentException("Unrecognized response type")); + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method ListJobs, expected %s or %s", + response.getClass().getName(), + ListJobsResponse.class.getName(), + Exception.class.getName()))); } } @@ -97,7 +107,11 @@ public void getJob(GetJobRequest request, StreamObserver responseObserver) } else if (response instanceof Exception) { responseObserver.onError(((Exception) response)); } else { - responseObserver.onError(new IllegalArgumentException("Unrecognized response type")); + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method GetJob, expected %s or %s", + response.getClass().getName(), Job.class.getName(), Exception.class.getName()))); } } @@ -111,7 +125,13 @@ public void deleteJob(DeleteJobRequest request, StreamObserver responseOb } else if (response instanceof Exception) { responseObserver.onError(((Exception) response)); } else { - responseObserver.onError(new IllegalArgumentException("Unrecognized response type")); + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method DeleteJob, expected %s or %s", + response.getClass().getName(), + Empty.class.getName(), + Exception.class.getName()))); } } @@ -126,7 +146,13 @@ public void createJobTemplate( } else if (response instanceof Exception) { responseObserver.onError(((Exception) response)); } else { - responseObserver.onError(new IllegalArgumentException("Unrecognized response type")); + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method CreateJobTemplate, expected %s or %s", + response.getClass().getName(), + JobTemplate.class.getName(), + Exception.class.getName()))); } } @@ -141,7 +167,13 @@ public void listJobTemplates( } else if (response instanceof Exception) { responseObserver.onError(((Exception) response)); } else { - responseObserver.onError(new IllegalArgumentException("Unrecognized response type")); + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method ListJobTemplates, expected %s or %s", + response.getClass().getName(), + ListJobTemplatesResponse.class.getName(), + Exception.class.getName()))); } } @@ -156,7 +188,13 @@ public void getJobTemplate( } else if (response instanceof Exception) { responseObserver.onError(((Exception) response)); } else { - responseObserver.onError(new IllegalArgumentException("Unrecognized response type")); + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method GetJobTemplate, expected %s or %s", + response.getClass().getName(), + JobTemplate.class.getName(), + Exception.class.getName()))); } } @@ -171,7 +209,13 @@ public void deleteJobTemplate( } else if (response instanceof Exception) { responseObserver.onError(((Exception) response)); } else { - responseObserver.onError(new IllegalArgumentException("Unrecognized response type")); + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method DeleteJobTemplate, expected %s or %s", + response.getClass().getName(), + Empty.class.getName(), + Exception.class.getName()))); } } } diff --git a/synth.metadata b/synth.metadata index b84ce0c3..a26413ec 100644 --- a/synth.metadata +++ b/synth.metadata @@ -11,8 +11,8 @@ "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "8d8c008e56f1af31d57f75561e0f1848ffb29eeb", - "internalRef": "356341083" + "sha": "e8bc4471a88ac5f60defe3ed436f517174e59ba0", + "internalRef": "357800868" } }, { From 7969e8da8ef8dbf56c1d2bb5c2e5ff62557ee3ea Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 17 Feb 2021 09:06:13 -0800 Subject: [PATCH 21/26] chore: update cloud-rad buckets (#113) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/dc86a8d4-74de-4aa2-a434-16c0755f90e6/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/b416a7befcdbc42de41cf387dcf428f894fb812b --- .kokoro/release/publish_javadoc.cfg | 4 ++-- .kokoro/release/publish_javadoc.sh | 2 +- .kokoro/release/publish_javadoc11.cfg | 2 +- .kokoro/release/publish_javadoc11.sh | 2 +- synth.metadata | 4 ++-- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.kokoro/release/publish_javadoc.cfg b/.kokoro/release/publish_javadoc.cfg index 2b1d0662..31f9b9a3 100644 --- a/.kokoro/release/publish_javadoc.cfg +++ b/.kokoro/release/publish_javadoc.cfg @@ -7,10 +7,10 @@ env_vars: { value: "docs-staging" } +# cloud-rad staging env_vars: { key: "STAGING_BUCKET_V2" - value: "docs-staging-v2" - # Production will be at: docs-staging-v2 + value: "docs-staging-v2-staging" } env_vars: { diff --git a/.kokoro/release/publish_javadoc.sh b/.kokoro/release/publish_javadoc.sh index 1c4c777f..7777ead0 100755 --- a/.kokoro/release/publish_javadoc.sh +++ b/.kokoro/release/publish_javadoc.sh @@ -71,7 +71,7 @@ python3 -m docuploader create-metadata \ --version ${VERSION} \ --language java -# upload docs +# upload docs to staging bucket python3 -m docuploader upload . \ --credentials ${CREDENTIALS} \ --staging-bucket ${STAGING_BUCKET_V2} diff --git a/.kokoro/release/publish_javadoc11.cfg b/.kokoro/release/publish_javadoc11.cfg index d92f8e44..eeb15e29 100644 --- a/.kokoro/release/publish_javadoc11.cfg +++ b/.kokoro/release/publish_javadoc11.cfg @@ -1,9 +1,9 @@ # Format: //devtools/kokoro/config/proto/build.proto +# cloud-rad production env_vars: { key: "STAGING_BUCKET_V2" value: "docs-staging-v2" - # Production will be at: docs-staging-v2 } # Configure the docker image for kokoro-trampoline diff --git a/.kokoro/release/publish_javadoc11.sh b/.kokoro/release/publish_javadoc11.sh index 41e71da9..e80860d4 100755 --- a/.kokoro/release/publish_javadoc11.sh +++ b/.kokoro/release/publish_javadoc11.sh @@ -48,7 +48,7 @@ python3 -m docuploader create-metadata \ --version ${VERSION} \ --language java -# upload yml +# upload yml to production bucket python3 -m docuploader upload . \ --credentials ${CREDENTIALS} \ --staging-bucket ${STAGING_BUCKET_V2} \ diff --git a/synth.metadata b/synth.metadata index a26413ec..3aba933f 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-video-transcoder.git", - "sha": "12ccd9e13504afe2bdc50877c4de486aff2923cc" + "sha": "aae5f6816024186d38938783d65f1b9ca984d702" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "f327d3b657a63ae4a8efd7f011a15eacae36b59c" + "sha": "b416a7befcdbc42de41cf387dcf428f894fb812b" } } ], From fc3a8407f655843897f39f01fea50cc04ceeed75 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Thu, 18 Feb 2021 16:42:24 -0800 Subject: [PATCH 22/26] build: skip Maven download logs (#114) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/1cfe249d-582a-46b2-92f3-d6f26802cf88/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/1aeca92e4a38f47134cb955f52ea76f84f09ff88 --- .kokoro/build.sh | 2 ++ synth.metadata | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.kokoro/build.sh b/.kokoro/build.sh index 0a2c479c..f6c2088f 100755 --- a/.kokoro/build.sh +++ b/.kokoro/build.sh @@ -60,6 +60,7 @@ javadoc) ;; integration) mvn -B ${INTEGRATION_TEST_ARGS} \ + -ntp \ -Penable-integration-tests \ -DtrimStackTrace=false \ -Dclirr.skip=true \ @@ -81,6 +82,7 @@ samples) pushd ${SAMPLES_DIR} mvn -B \ -Penable-samples \ + -ntp \ -DtrimStackTrace=false \ -Dclirr.skip=true \ -Denforcer.skip=true \ diff --git a/synth.metadata b/synth.metadata index 3aba933f..e636d005 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-video-transcoder.git", - "sha": "aae5f6816024186d38938783d65f1b9ca984d702" + "sha": "7969e8da8ef8dbf56c1d2bb5c2e5ff62557ee3ea" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "b416a7befcdbc42de41cf387dcf428f894fb812b" + "sha": "1aeca92e4a38f47134cb955f52ea76f84f09ff88" } } ], From 31403e542a308033812308c6643bc1c64bd650e4 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Fri, 19 Feb 2021 07:46:37 -0800 Subject: [PATCH 23/26] build: reduce download junk in log files (#115) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/5ca314f8-bcdf-4d62-a0dc-4202f37e4401/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/6946fd71ae9215b0e7ae188f5057df765ee6d7d2 --- .kokoro/build.sh | 2 +- .kokoro/dependencies.sh | 4 ++-- synth.metadata | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.kokoro/build.sh b/.kokoro/build.sh index f6c2088f..171320e3 100755 --- a/.kokoro/build.sh +++ b/.kokoro/build.sh @@ -29,7 +29,7 @@ echo ${JOB_TYPE} # attempt to install 3 times with exponential backoff (starting with 10 seconds) retry_with_backoff 3 10 \ - mvn install -B -V \ + mvn install -B -V -ntp \ -DskipTests=true \ -Dclirr.skip=true \ -Denforcer.skip=true \ diff --git a/.kokoro/dependencies.sh b/.kokoro/dependencies.sh index c91e5a56..0fb8c843 100755 --- a/.kokoro/dependencies.sh +++ b/.kokoro/dependencies.sh @@ -31,7 +31,7 @@ export MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=128m" # this should run maven enforcer retry_with_backoff 3 10 \ - mvn install -B -V \ + mvn install -B -V -ntp \ -DskipTests=true \ -Dclirr.skip=true @@ -86,4 +86,4 @@ then else msg "Errors found. See log statements above." exit 1 -fi \ No newline at end of file +fi diff --git a/synth.metadata b/synth.metadata index e636d005..d6a7b2c0 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-video-transcoder.git", - "sha": "7969e8da8ef8dbf56c1d2bb5c2e5ff62557ee3ea" + "sha": "fc3a8407f655843897f39f01fea50cc04ceeed75" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "1aeca92e4a38f47134cb955f52ea76f84f09ff88" + "sha": "6946fd71ae9215b0e7ae188f5057df765ee6d7d2" } } ], From d643ba3ccbb17c30042540434554dae5ff74a12c Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 19 Feb 2021 22:50:34 +0100 Subject: [PATCH 24/26] deps: update dependency com.google.cloud:google-cloud-shared-dependencies to v0.19.0 (#116) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-dependencies](https://togithub.com/googleapis/java-shared-dependencies) | `0.18.0` -> `0.19.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/0.19.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/0.19.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/0.19.0/compatibility-slim/0.18.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/0.19.0/confidence-slim/0.18.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-shared-dependencies ### [`v0.19.0`](https://togithub.com/googleapis/java-shared-dependencies/blob/master/CHANGELOG.md#​0190-httpswwwgithubcomgoogleapisjava-shared-dependenciescompare0180v0190-2021-02-19) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v0.18.0...v0.19.0) ##### Bug Fixes - update repo name ([#​274](https://www.github.com/googleapis/java-shared-dependencies/issues/274)) ([4a98470](https://www.github.com/googleapis/java-shared-dependencies/commit/4a98470b7493c98137191b7bb3cabca23f98628f)) ##### Dependencies - downgrade opencensus version back to 0.28.0 ([#​265](https://www.github.com/googleapis/java-shared-dependencies/issues/265)) ([f37025c](https://www.github.com/googleapis/java-shared-dependencies/commit/f37025c70f951b1e34904ee983815c0ed8ec4086)) - update dependency com.google.api-client:google-api-client-bom to v1.31.2 ([#​254](https://www.github.com/googleapis/java-shared-dependencies/issues/254)) ([1b0b4a6](https://www.github.com/googleapis/java-shared-dependencies/commit/1b0b4a637cae0c22cd0336c527002025780317d5)) - update dependency com.google.auth:google-auth-library-bom to v0.23.0 ([#​261](https://www.github.com/googleapis/java-shared-dependencies/issues/261)) ([1c0b7bd](https://www.github.com/googleapis/java-shared-dependencies/commit/1c0b7bd60b3d73c16cc6c19ab90d8ccedece3706)) - update dependency com.google.cloud:google-cloud-core to v1.94.1 ([#​272](https://www.github.com/googleapis/java-shared-dependencies/issues/272)) ([44fd4c3](https://www.github.com/googleapis/java-shared-dependencies/commit/44fd4c3c6cae98bd514525f03462b830050828a8)) - update dependency com.google.errorprone:error_prone_annotations to v2.5.1 ([#​255](https://www.github.com/googleapis/java-shared-dependencies/issues/255)) ([6367023](https://www.github.com/googleapis/java-shared-dependencies/commit/63670233424e8f24c3924bba5e2cb6ca97525795)) - update dependency com.google.http-client:google-http-client-bom to v1.38.1 ([#​253](https://www.github.com/googleapis/java-shared-dependencies/issues/253)) ([ad87c74](https://www.github.com/googleapis/java-shared-dependencies/commit/ad87c74d9d893726042156d65850806d92e79952)) - update dependency com.google.protobuf:protobuf-bom to v3.15.0 ([#​278](https://www.github.com/googleapis/java-shared-dependencies/issues/278)) ([989efbd](https://www.github.com/googleapis/java-shared-dependencies/commit/989efbd29bcf4135f7abce49a697303df2cf1a60)) - update dependency io.grpc:grpc-bom to v1.35.0 ([#​248](https://www.github.com/googleapis/java-shared-dependencies/issues/248)) ([7a28c6e](https://www.github.com/googleapis/java-shared-dependencies/commit/7a28c6e7053c181993b1288adcae56de89312113)) - update gax.version to v1.61.0 ([#​277](https://www.github.com/googleapis/java-shared-dependencies/issues/277)) ([f1c3fb9](https://www.github.com/googleapis/java-shared-dependencies/commit/f1c3fb9295f2e1c130b9fc329faa60f4f8474ba6)) - update iam.version to v1.0.7 ([#​252](https://www.github.com/googleapis/java-shared-dependencies/issues/252)) ([5cb3ed9](https://www.github.com/googleapis/java-shared-dependencies/commit/5cb3ed906537269cd7f8d9ccf4b065754b5f5b48)) - update iam.version to v1.0.8 ([#​273](https://www.github.com/googleapis/java-shared-dependencies/issues/273)) ([4d5e7f7](https://www.github.com/googleapis/java-shared-dependencies/commit/4d5e7f720d847918b307a83c95cea10c244ba595))
--- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-video-transcoder). --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index dbc7db63..df4dafb7 100644 --- a/pom.xml +++ b/pom.xml @@ -86,7 +86,7 @@ com.google.cloud google-cloud-shared-dependencies - 0.18.0 + 0.19.0 pom import From 33e8b65e9377cd0eeed9cfd439a96d4dc063b06f Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Mon, 22 Feb 2021 09:02:10 -0800 Subject: [PATCH 25/26] chore: release gapic-generator-java v0.0.21 with gapic_metadata.json support (#117) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/bc4407d7-80ed-4ebf-9617-ee3d61497796/targets - [ ] To automatically regenerate this PR, check this box. PiperOrigin-RevId: 358516065 Source-Link: https://github.com/googleapis/googleapis/commit/af8f71dae961ee036a0ac52a1965270149a6b2c9 --- .../transcoder/v1beta1/gapic_metadata.json | 42 +++++++++++++++++++ synth.metadata | 7 ++-- 2 files changed, 46 insertions(+), 3 deletions(-) create mode 100644 google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1beta1/gapic_metadata.json diff --git a/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1beta1/gapic_metadata.json b/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1beta1/gapic_metadata.json new file mode 100644 index 00000000..79aa4d75 --- /dev/null +++ b/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1beta1/gapic_metadata.json @@ -0,0 +1,42 @@ +{ + "schema": "1.0", + "comment": "This file maps proto services/RPCs to the corresponding library clients/methods", + "language": "java", + "protoPackage": "google.cloud.video.transcoder.v1beta1", + "libraryPackage": "com.google.cloud.video.transcoder.v1beta1", + "services": { + "TranscoderService": { + "clients": { + "grpc": { + "libraryClient": "TranscoderServiceClient", + "rpcs": { + "CreateJob": { + "methods": ["createJob", "createJob", "createJob", "createJobCallable"] + }, + "CreateJobTemplate": { + "methods": ["createJobTemplate", "createJobTemplate", "createJobTemplate", "createJobTemplateCallable"] + }, + "DeleteJob": { + "methods": ["deleteJob", "deleteJob", "deleteJob", "deleteJobCallable"] + }, + "DeleteJobTemplate": { + "methods": ["deleteJobTemplate", "deleteJobTemplate", "deleteJobTemplate", "deleteJobTemplateCallable"] + }, + "GetJob": { + "methods": ["getJob", "getJob", "getJob", "getJobCallable"] + }, + "GetJobTemplate": { + "methods": ["getJobTemplate", "getJobTemplate", "getJobTemplate", "getJobTemplateCallable"] + }, + "ListJobTemplates": { + "methods": ["listJobTemplates", "listJobTemplates", "listJobTemplates", "listJobTemplatesPagedCallable", "listJobTemplatesCallable"] + }, + "ListJobs": { + "methods": ["listJobs", "listJobs", "listJobs", "listJobsPagedCallable", "listJobsCallable"] + } + } + } + } + } + } +} \ No newline at end of file diff --git a/synth.metadata b/synth.metadata index d6a7b2c0..fb205df1 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,15 +4,15 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-video-transcoder.git", - "sha": "fc3a8407f655843897f39f01fea50cc04ceeed75" + "sha": "d643ba3ccbb17c30042540434554dae5ff74a12c" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "e8bc4471a88ac5f60defe3ed436f517174e59ba0", - "internalRef": "357800868" + "sha": "af8f71dae961ee036a0ac52a1965270149a6b2c9", + "internalRef": "358516065" } }, { @@ -103,6 +103,7 @@ "codecov.yaml", "google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1beta1/TranscoderServiceClient.java", "google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1beta1/TranscoderServiceSettings.java", + "google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1beta1/gapic_metadata.json", "google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1beta1/package-info.java", "google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1beta1/stub/GrpcTranscoderServiceCallableFactory.java", "google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1beta1/stub/GrpcTranscoderServiceStub.java", From e7ae5fd0f9a3631e61b1dcfb48f171e03100f680 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 24 Feb 2021 23:08:07 +0000 Subject: [PATCH 26/26] chore(master): release 0.1.8 (#104) :robot: I have created a release \*beep\* \*boop\* --- ### [0.1.8](https://www.github.com/googleapis/java-video-transcoder/compare/v0.1.7...v0.1.8) (2021-02-22) ### Documentation * generate sample code in the Java microgenerator ([#108](https://www.github.com/googleapis/java-video-transcoder/issues/108)) ([5fe6226](https://www.github.com/googleapis/java-video-transcoder/commit/5fe6226fdbc87aab888a049fd2d5040dbedbd0d2)) * put FPS table in code block ([#88](https://www.github.com/googleapis/java-video-transcoder/issues/88)) ([65d7c6f](https://www.github.com/googleapis/java-video-transcoder/commit/65d7c6fa2ce0917bc77f2e8e94fd53c2c0a432b4)) ### Dependencies * update dependency com.google.cloud:google-cloud-shared-dependencies to v0.18.0 ([#92](https://www.github.com/googleapis/java-video-transcoder/issues/92)) ([0ce5f5b](https://www.github.com/googleapis/java-video-transcoder/commit/0ce5f5ba364654ebd4391b73577163c277cdc538)) * update dependency com.google.cloud:google-cloud-shared-dependencies to v0.19.0 ([#116](https://www.github.com/googleapis/java-video-transcoder/issues/116)) ([d643ba3](https://www.github.com/googleapis/java-video-transcoder/commit/d643ba3ccbb17c30042540434554dae5ff74a12c)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- CHANGELOG.md | 14 ++++++++++++++ google-cloud-video-transcoder-bom/pom.xml | 8 ++++---- google-cloud-video-transcoder/pom.xml | 4 ++-- grpc-google-cloud-video-transcoder-v1beta1/pom.xml | 4 ++-- pom.xml | 8 ++++---- .../pom.xml | 4 ++-- samples/snapshot/pom.xml | 2 +- versions.txt | 6 +++--- 8 files changed, 32 insertions(+), 18 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9c455195..0e5bf8a9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,19 @@ # Changelog +### [0.1.8](https://www.github.com/googleapis/java-video-transcoder/compare/v0.1.7...v0.1.8) (2021-02-22) + + +### Documentation + +* generate sample code in the Java microgenerator ([#108](https://www.github.com/googleapis/java-video-transcoder/issues/108)) ([5fe6226](https://www.github.com/googleapis/java-video-transcoder/commit/5fe6226fdbc87aab888a049fd2d5040dbedbd0d2)) +* put FPS table in code block ([#88](https://www.github.com/googleapis/java-video-transcoder/issues/88)) ([65d7c6f](https://www.github.com/googleapis/java-video-transcoder/commit/65d7c6fa2ce0917bc77f2e8e94fd53c2c0a432b4)) + + +### Dependencies + +* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.18.0 ([#92](https://www.github.com/googleapis/java-video-transcoder/issues/92)) ([0ce5f5b](https://www.github.com/googleapis/java-video-transcoder/commit/0ce5f5ba364654ebd4391b73577163c277cdc538)) +* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.19.0 ([#116](https://www.github.com/googleapis/java-video-transcoder/issues/116)) ([d643ba3](https://www.github.com/googleapis/java-video-transcoder/commit/d643ba3ccbb17c30042540434554dae5ff74a12c)) + ### [0.1.7](https://www.github.com/googleapis/java-video-transcoder/compare/v0.1.6...v0.1.7) (2020-12-15) diff --git a/google-cloud-video-transcoder-bom/pom.xml b/google-cloud-video-transcoder-bom/pom.xml index 394e5087..889f39f9 100644 --- a/google-cloud-video-transcoder-bom/pom.xml +++ b/google-cloud-video-transcoder-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-video-transcoder-bom - 0.1.8-SNAPSHOT + 0.1.8 pom com.google.cloud @@ -68,17 +68,17 @@ com.google.cloud google-cloud-video-transcoder - 0.1.8-SNAPSHOT + 0.1.8 com.google.api.grpc proto-google-cloud-video-transcoder-v1beta1 - 0.1.8-SNAPSHOT + 0.1.8 com.google.api.grpc grpc-google-cloud-video-transcoder-v1beta1 - 0.1.8-SNAPSHOT + 0.1.8 diff --git a/google-cloud-video-transcoder/pom.xml b/google-cloud-video-transcoder/pom.xml index 4054523f..9a3d8ed1 100644 --- a/google-cloud-video-transcoder/pom.xml +++ b/google-cloud-video-transcoder/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-video-transcoder - 0.1.8-SNAPSHOT + 0.1.8 jar Google Video Transcoder https://github.com/googleapis/java-video-transcoder @@ -11,7 +11,7 @@ com.google.cloud google-cloud-video-transcoder-parent - 0.1.8-SNAPSHOT + 0.1.8 google-cloud-video-transcoder diff --git a/grpc-google-cloud-video-transcoder-v1beta1/pom.xml b/grpc-google-cloud-video-transcoder-v1beta1/pom.xml index 1a44a545..43e72fcb 100644 --- a/grpc-google-cloud-video-transcoder-v1beta1/pom.xml +++ b/grpc-google-cloud-video-transcoder-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-video-transcoder-v1beta1 - 0.1.8-SNAPSHOT + 0.1.8 grpc-google-cloud-video-transcoder-v1beta1 GRPC library for google-cloud-video-transcoder com.google.cloud google-cloud-video-transcoder-parent - 0.1.8-SNAPSHOT + 0.1.8 diff --git a/pom.xml b/pom.xml index df4dafb7..9cd48391 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-video-transcoder-parent pom - 0.1.8-SNAPSHOT + 0.1.8 Google Video Transcoder Parent https://github.com/googleapis/java- @@ -70,17 +70,17 @@ com.google.cloud google-cloud-video-transcoder - 0.1.8-SNAPSHOT + 0.1.8 com.google.api.grpc proto-google-cloud-video-transcoder-v1beta1 - 0.1.8-SNAPSHOT + 0.1.8 com.google.api.grpc grpc-google-cloud-video-transcoder-v1beta1 - 0.1.8-SNAPSHOT + 0.1.8 diff --git a/proto-google-cloud-video-transcoder-v1beta1/pom.xml b/proto-google-cloud-video-transcoder-v1beta1/pom.xml index 21ecd113..e834d351 100644 --- a/proto-google-cloud-video-transcoder-v1beta1/pom.xml +++ b/proto-google-cloud-video-transcoder-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-video-transcoder-v1beta1 - 0.1.8-SNAPSHOT + 0.1.8 proto-google-cloud-video-transcoder-v1beta1 Proto library for google-cloud-video-transcoder com.google.cloud google-cloud-video-transcoder-parent - 0.1.8-SNAPSHOT + 0.1.8 diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 4586b2a2..cc050697 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -28,7 +28,7 @@ com.google.cloud google-cloud-video-transcoder - 0.1.8-SNAPSHOT + 0.1.8 diff --git a/versions.txt b/versions.txt index dd6a2213..5dc9eba4 100644 --- a/versions.txt +++ b/versions.txt @@ -1,6 +1,6 @@ # Format: # module:released-version:current-version -google-cloud-video-transcoder:0.1.7:0.1.8-SNAPSHOT -proto-google-cloud-video-transcoder-v1beta1:0.1.7:0.1.8-SNAPSHOT -grpc-google-cloud-video-transcoder-v1beta1:0.1.7:0.1.8-SNAPSHOT \ No newline at end of file +google-cloud-video-transcoder:0.1.8:0.1.8 +proto-google-cloud-video-transcoder-v1beta1:0.1.8:0.1.8 +grpc-google-cloud-video-transcoder-v1beta1:0.1.8:0.1.8 \ No newline at end of file