From bb893b65fb37c8606cf51a89822a9e8c5f9ccb36 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 12 Jul 2021 22:56:37 +0000 Subject: [PATCH 01/17] chore: release 0.2.1-SNAPSHOT (#181) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- google-cloud-video-transcoder-bom/pom.xml | 12 ++++++------ google-cloud-video-transcoder/pom.xml | 4 ++-- grpc-google-cloud-video-transcoder-v1/pom.xml | 4 ++-- grpc-google-cloud-video-transcoder-v1beta1/pom.xml | 4 ++-- pom.xml | 12 ++++++------ proto-google-cloud-video-transcoder-v1/pom.xml | 4 ++-- .../clirr-ignored-differences.xml | 12 +++++++++++- proto-google-cloud-video-transcoder-v1beta1/pom.xml | 4 ++-- samples/snapshot/pom.xml | 2 +- versions.txt | 10 +++++----- 10 files changed, 39 insertions(+), 29 deletions(-) diff --git a/google-cloud-video-transcoder-bom/pom.xml b/google-cloud-video-transcoder-bom/pom.xml index 9305d8ba..364c388e 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.2.0 + 0.2.1-SNAPSHOT pom com.google.cloud @@ -57,27 +57,27 @@ com.google.cloud google-cloud-video-transcoder - 0.2.0 + 0.2.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-video-transcoder-v1beta1 - 0.2.0 + 0.2.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-video-transcoder-v1 - 0.2.0 + 0.2.1-SNAPSHOT com.google.api.grpc proto-google-cloud-video-transcoder-v1beta1 - 0.2.0 + 0.2.1-SNAPSHOT com.google.api.grpc proto-google-cloud-video-transcoder-v1 - 0.2.0 + 0.2.1-SNAPSHOT diff --git a/google-cloud-video-transcoder/pom.xml b/google-cloud-video-transcoder/pom.xml index d5fd2592..1e1ac8f2 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.2.0 + 0.2.1-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.2.0 + 0.2.1-SNAPSHOT google-cloud-video-transcoder diff --git a/grpc-google-cloud-video-transcoder-v1/pom.xml b/grpc-google-cloud-video-transcoder-v1/pom.xml index 93a2455b..b6267520 100644 --- a/grpc-google-cloud-video-transcoder-v1/pom.xml +++ b/grpc-google-cloud-video-transcoder-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-video-transcoder-v1 - 0.2.0 + 0.2.1-SNAPSHOT grpc-google-cloud-video-transcoder-v1 GRPC library for google-cloud-video-transcoder com.google.cloud google-cloud-video-transcoder-parent - 0.2.0 + 0.2.1-SNAPSHOT diff --git a/grpc-google-cloud-video-transcoder-v1beta1/pom.xml b/grpc-google-cloud-video-transcoder-v1beta1/pom.xml index f285df37..56839515 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.2.0 + 0.2.1-SNAPSHOT grpc-google-cloud-video-transcoder-v1beta1 GRPC library for google-cloud-video-transcoder com.google.cloud google-cloud-video-transcoder-parent - 0.2.0 + 0.2.1-SNAPSHOT diff --git a/pom.xml b/pom.xml index 4f64326a..ff743bfc 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-video-transcoder-parent pom - 0.2.0 + 0.2.1-SNAPSHOT Google Video Transcoder Parent https://github.com/googleapis/java- @@ -61,27 +61,27 @@ com.google.cloud google-cloud-video-transcoder - 0.2.0 + 0.2.1-SNAPSHOT com.google.api.grpc proto-google-cloud-video-transcoder-v1 - 0.2.0 + 0.2.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-video-transcoder-v1 - 0.2.0 + 0.2.1-SNAPSHOT com.google.api.grpc proto-google-cloud-video-transcoder-v1beta1 - 0.2.0 + 0.2.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-video-transcoder-v1beta1 - 0.2.0 + 0.2.1-SNAPSHOT diff --git a/proto-google-cloud-video-transcoder-v1/pom.xml b/proto-google-cloud-video-transcoder-v1/pom.xml index 073cb6e5..b00b105d 100644 --- a/proto-google-cloud-video-transcoder-v1/pom.xml +++ b/proto-google-cloud-video-transcoder-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-video-transcoder-v1 - 0.2.0 + 0.2.1-SNAPSHOT proto-google-cloud-video-transcoder-v1 Proto library for google-cloud-video-transcoder com.google.cloud google-cloud-video-transcoder-parent - 0.2.0 + 0.2.1-SNAPSHOT diff --git a/proto-google-cloud-video-transcoder-v1beta1/clirr-ignored-differences.xml b/proto-google-cloud-video-transcoder-v1beta1/clirr-ignored-differences.xml index 30ed4411..313e1f69 100644 --- a/proto-google-cloud-video-transcoder-v1beta1/clirr-ignored-differences.xml +++ b/proto-google-cloud-video-transcoder-v1beta1/clirr-ignored-differences.xml @@ -4,6 +4,16 @@ 7012 com/google/cloud/video/transcoder/v1beta1/*OrBuilder - * has*(*) + * get*(*) + + + 7012 + com/google/cloud/video/transcoder/v1beta1/*OrBuilder + boolean contains*(*) + + + 7012 + com/google/cloud/video/transcoder/v1beta1/*OrBuilder + boolean has*(*) diff --git a/proto-google-cloud-video-transcoder-v1beta1/pom.xml b/proto-google-cloud-video-transcoder-v1beta1/pom.xml index 4f92429c..71df4201 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.2.0 + 0.2.1-SNAPSHOT proto-google-cloud-video-transcoder-v1beta1 Proto library for google-cloud-video-transcoder com.google.cloud google-cloud-video-transcoder-parent - 0.2.0 + 0.2.1-SNAPSHOT diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index b26976a5..cdb9119e 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -28,7 +28,7 @@ com.google.cloud google-cloud-video-transcoder - 0.2.0 + 0.2.1-SNAPSHOT diff --git a/versions.txt b/versions.txt index cf8624dd..9df5828c 100644 --- a/versions.txt +++ b/versions.txt @@ -1,8 +1,8 @@ # Format: # module:released-version:current-version -google-cloud-video-transcoder:0.2.0:0.2.0 -grpc-google-cloud-video-transcoder-v1beta1:0.2.0:0.2.0 -grpc-google-cloud-video-transcoder-v1:0.2.0:0.2.0 -proto-google-cloud-video-transcoder-v1beta1:0.2.0:0.2.0 -proto-google-cloud-video-transcoder-v1:0.2.0:0.2.0 +google-cloud-video-transcoder:0.2.0:0.2.1-SNAPSHOT +grpc-google-cloud-video-transcoder-v1beta1:0.2.0:0.2.1-SNAPSHOT +grpc-google-cloud-video-transcoder-v1:0.2.0:0.2.1-SNAPSHOT +proto-google-cloud-video-transcoder-v1beta1:0.2.0:0.2.1-SNAPSHOT +proto-google-cloud-video-transcoder-v1:0.2.0:0.2.1-SNAPSHOT From 414474b0954ee704808bb218f0f6653155febf04 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 14 Jul 2021 18:15:00 +0200 Subject: [PATCH 02/17] chore(deps): update dependency com.google.cloud:google-cloud-video-transcoder to v0.2.0 (#182) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![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-video-transcoder](https://togithub.com/googleapis/java-) | `0.1.9` -> `0.2.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-video-transcoder/0.2.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-video-transcoder/0.2.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-video-transcoder/0.2.0/compatibility-slim/0.1.9)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-video-transcoder/0.2.0/confidence-slim/0.1.9)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **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/snippets/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index b57c43fd..db5b99a9 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -29,7 +29,7 @@ com.google.cloud google-cloud-video-transcoder - 0.1.9 + 0.2.0 diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index 6e368c20..b4aadac0 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -28,7 +28,7 @@ com.google.cloud google-cloud-video-transcoder - 0.1.9 + 0.2.0 From 203d0e7c39313fe402b8ab6836043c5accc157a3 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 14 Jul 2021 09:24:32 -0700 Subject: [PATCH 03/17] chore: regenerate README (#184) This PR was generated using Autosynth. :rainbow:
Log from Synthtool ``` 2021-07-14 16:17:36,650 synthtool [DEBUG] > Executing /root/.cache/synthtool/java-video-transcoder/.github/readme/synth.py. On branch autosynth-readme nothing to commit, working tree clean 2021-07-14 16:17:38,213 synthtool [DEBUG] > Wrote metadata to .github/readme/synth.metadata/synth.metadata. ```
Full log will be available here: https://source.cloud.google.com/results/invocations/c50c4e89-5b39-454f-a5d7-7d863cd5fc69/targets - [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.) --- .github/readme/synth.metadata/synth.metadata | 4 +- README.md | 54 ++++++++++++++++++-- 2 files changed, 52 insertions(+), 6 deletions(-) diff --git a/.github/readme/synth.metadata/synth.metadata b/.github/readme/synth.metadata/synth.metadata index 8bf2504c..165bb9aa 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": "7ece9cc87c30169c1c5952271a8c18cd3cfd0bd1" + "sha": "414474b0954ee704808bb218f0f6653155febf04" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "0a071b3460344886297a304253bf924aa68ddb7e" + "sha": "e44dc0c742b1230887a73552357e0c18dcc30b92" } } ] diff --git a/README.md b/README.md index 95ac4819..dd68bc8e 100644 --- a/README.md +++ b/README.md @@ -20,18 +20,18 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-video-transcoder - 0.1.9 + 0.2.0 ``` If you are using Gradle without BOM, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-video-transcoder:0.1.9' +compile 'com.google.cloud:google-cloud-video-transcoder:0.2.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-video-transcoder" % "0.1.9" +libraryDependencies += "com.google.cloud" % "google-cloud-video-transcoder" % "0.2.0" ``` ## Authentication @@ -74,10 +74,50 @@ To get help, follow the instructions in the [shared Troubleshooting document][tr Video Transcoder uses gRPC for the transport layer. -## Java Versions +## Supported Java Versions Java 7 or above is required for using this client. +Google's Java client libraries, +[Google Cloud Client Libraries][cloudlibs] +and +[Google Cloud API Libraries][apilibs], +follow the +[Oracle Java SE support roadmap][oracle] +(see the Oracle Java SE Product Releases section). + +### For new development + +In general, new feature development occurs with support for the lowest Java +LTS version covered by Oracle's Premier Support (which typically lasts 5 years +from initial General Availability). If the minimum required JVM for a given +library is changed, it is accompanied by a [semver][semver] major release. + +Java 11 and (in September 2021) Java 17 are the best choices for new +development. + +### Keeping production systems current + +Google tests its client libraries with all current LTS versions covered by +Oracle's Extended Support (which typically lasts 8 years from initial +General Availability). + +#### Legacy support + +Google's client libraries support legacy versions of Java runtimes with long +term stable libraries that don't receive feature updates on a best efforts basis +as it may not be possible to backport all patches. + +Google provides updates on a best efforts basis to apps that continue to use +Java 7, though apps might need to upgrade to current versions of the library +that supports their JVM. + +#### Where to find specific information + +The latest versions and the supported Java versions are identified on +the individual GitHub repository `github.com/GoogleAPIs/java-SERVICENAME` +and on [google-cloud-java][g-c-j]. + ## Versioning @@ -141,3 +181,9 @@ Java is a registered trademark of Oracle and/or its affiliates. [enable-api]: https://console.cloud.google.com/flows/enableapi?apiid=video-transcoder.googleapis.com [libraries-bom]: https://github.com/GoogleCloudPlatform/cloud-opensource-java/wiki/The-Google-Cloud-Platform-Libraries-BOM [shell_img]: https://gstatic.com/cloudssh/images/open-btn.png + +[semver]: https://semver.org/ +[cloudlibs]: https://cloud.google.com/apis/docs/client-libraries-explained +[apilibs]: https://cloud.google.com/apis/docs/client-libraries-explained#google_api_client_libraries +[oracle]: https://www.oracle.com/java/technologies/java-se-support-roadmap.html +[g-c-j]: http://github.com/googleapis/google-cloud-java From c05e8405cbe54deb310217bbadd4e6d854e494da Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Wed, 14 Jul 2021 23:34:50 +0000 Subject: [PATCH 04/17] chore: add dependencyDashboardLabels to renovate.json (#1156) (#185) Source-Link: https://github.com/googleapis/synthtool/commit/5d3c52f5db664eee9026db76b5bcb466f3a09ca9 Post-Processor: gcr.io/repo-automation-bots/owlbot-java:latest@sha256:b3f8a219abf58ed4a775da5b90934b34f477b74f6f4e5d15781694dcc67b6f41 --- .github/.OwlBot.lock.yaml | 2 +- renovate.json | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml index 4201012d..98f19efe 100644 --- a/.github/.OwlBot.lock.yaml +++ b/.github/.OwlBot.lock.yaml @@ -1,3 +1,3 @@ docker: - digest: sha256:2e88a4a7fe3377cf8de1fa5982134f6ef2768980fa2f94edcc1ba6604ae2e7ca image: gcr.io/repo-automation-bots/owlbot-java:latest + digest: sha256:b3f8a219abf58ed4a775da5b90934b34f477b74f6f4e5d15781694dcc67b6f41 diff --git a/renovate.json b/renovate.json index f2850eb7..ff04e8c8 100644 --- a/renovate.json +++ b/renovate.json @@ -69,5 +69,8 @@ } ], "semanticCommits": true, - "masterIssue": true + "dependencyDashboard": true, + "dependencyDashboardLabels": [ + "type: process" + ] } From f222a8245554fb8b41c8de36524f34b02a25e4bb Mon Sep 17 00:00:00 2001 From: Neenu Shaji Date: Thu, 15 Jul 2021 12:44:31 -0400 Subject: [PATCH 05/17] chore: make owlbot check required (#186) --- .github/sync-repo-settings.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/sync-repo-settings.yaml b/.github/sync-repo-settings.yaml index 6bddd18e..dbe495a7 100644 --- a/.github/sync-repo-settings.yaml +++ b/.github/sync-repo-settings.yaml @@ -39,6 +39,7 @@ branchProtectionRules: - "units (11)" - "Kokoro - Test: Integration" - "cla/google" + - "OwlBot Post Processor" # List of explicit permissions to add (additive only) permissionRules: - team: yoshi-admins From dee9115c1e87a36e123fc72433e5d1a32796e08c Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 27 Jul 2021 22:50:54 +0200 Subject: [PATCH 06/17] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v0.13.1 (#190) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![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.12.0` -> `0.13.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/0.13.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/0.13.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/0.13.1/compatibility-slim/0.12.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/0.13.1/confidence-slim/0.12.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-shared-config ### [`v0.13.1`](https://togithub.com/googleapis/java-shared-config/blob/master/CHANGELOG.md#​0131-httpswwwgithubcomgoogleapisjava-shared-configcomparev0130v0131-2021-07-27) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v0.13.0...v0.13.1) ### [`v0.13.0`](https://togithub.com/googleapis/java-shared-config/releases/v0.13.0) ##### Features - add `gcf-owl-bot[bot]` to `ignoreAuthors` ([#​264](https://www.github.com/googleapis/java-shared-config/issues/264)) ([d274af8](https://www.github.com/googleapis/java-shared-config/commit/d274af836ac9b3e98be84e551b7e9e552397ecc1)) ##### Bug Fixes - Add shopt -s nullglob to dependencies script ([865ca3c](https://www.github.com/googleapis/java-shared-config/commit/865ca3cbf106a7aaae1a989320a1ad5a47b6ffaf)) - Update dependencies.sh to not break on mac ([#​276](https://www.github.com/googleapis/java-shared-config/issues/276)) ([865ca3c](https://www.github.com/googleapis/java-shared-config/commit/865ca3cbf106a7aaae1a989320a1ad5a47b6ffaf)) ##### Dependencies - update auto-value-annotation.version to v1.8.2 ([#​275](https://www.github.com/googleapis/java-shared-config/issues/275)) ([4d15246](https://www.github.com/googleapis/java-shared-config/commit/4d152461a5592940a8be762c7a8698a02dbe26cf)) - update dependency com.puppycrawl.tools:checkstyle to v8.43 ([#​266](https://www.github.com/googleapis/java-shared-config/issues/266)) ([fae7961](https://www.github.com/googleapis/java-shared-config/commit/fae7961412b33e34e8fcfec78d1451894d4e61d9)) - update dependency com.puppycrawl.tools:checkstyle to v8.44 ([#​274](https://www.github.com/googleapis/java-shared-config/issues/274)) ([d53d0e0](https://www.github.com/googleapis/java-shared-config/commit/d53d0e0935e908d16f4e7cf763577cf3fd8128d3)) ***
--- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **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 364c388e..d35d01a0 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.12.0 + 0.13.1 Google Video Transcoder BOM diff --git a/pom.xml b/pom.xml index ff743bfc..3d220853 100644 --- a/pom.xml +++ b/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 0.12.0 + 0.13.1 From 034e78d24426d8e2d1426a06973781d498b1b715 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Wed, 28 Jul 2021 00:02:53 +0000 Subject: [PATCH 07/17] chore(docs): add Authorization section to Java README template (#1161) (#189) as a part of the PR 582 for java-logging an authorization section is added to the Java README template. Fixing googleapis/java-logging#570. Source-Link: https://github.com/googleapis/synthtool/commit/3d32990b6f4b57be77455e3ca89e6e21cd0c06b3 Post-Processor: gcr.io/repo-automation-bots/owlbot-java:latest@sha256:2904b9ad921ecc1343d1cf815bfaafbcc1115c1f39593aef9f8e333ffda552f7 --- .github/.OwlBot.lock.yaml | 2 +- README.md | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml index 98f19efe..419ccb9a 100644 --- a/.github/.OwlBot.lock.yaml +++ b/.github/.OwlBot.lock.yaml @@ -1,3 +1,3 @@ docker: image: gcr.io/repo-automation-bots/owlbot-java:latest - digest: sha256:b3f8a219abf58ed4a775da5b90934b34f477b74f6f4e5d15781694dcc67b6f41 + digest: sha256:2904b9ad921ecc1343d1cf815bfaafbcc1115c1f39593aef9f8e333ffda552f7 diff --git a/README.md b/README.md index dd68bc8e..7059c84a 100644 --- a/README.md +++ b/README.md @@ -11,11 +11,13 @@ Java idiomatic client for [Video Transcoder][product-docs]. > Note: This client is a work-in-progress, and may occasionally > make backwards-incompatible changes. + ## Quickstart If you are using Maven, add this to your pom.xml file: + ```xml com.google.cloud @@ -25,11 +27,13 @@ If you are using Maven, add this to your pom.xml file: ``` If you are using Gradle without BOM, add this to your dependencies + ```Groovy compile 'com.google.cloud:google-cloud-video-transcoder:0.2.0' ``` If you are using SBT, add this to your dependencies + ```Scala libraryDependencies += "com.google.cloud" % "google-cloud-video-transcoder" % "0.2.0" ``` @@ -38,6 +42,10 @@ libraryDependencies += "com.google.cloud" % "google-cloud-video-transcoder" % "0 See the [Authentication][authentication] section in the base directory's README. +## Authorization + +The client application making API calls must be granted [authorization scopes][auth-scopes] required for the desired Video Transcoder APIs, and the authenticated principal must have the [IAM role(s)][predefined-iam-roles] required to access GCP resources using the Video Transcoder API calls. + ## Getting Started ### Prerequisites @@ -127,6 +135,7 @@ This library follows [Semantic Versioning](http://semver.org/). It is currently in major version zero (``0.y.z``), which means that anything may change at any time and the public API should not be considered stable. + ## Contributing @@ -138,6 +147,7 @@ Please note that this project is released with a Contributor Code of Conduct. By this project you agree to abide by its terms. See [Code of Conduct][code-of-conduct] for more information. + ## License Apache 2.0 - See [LICENSE][license] for more information. @@ -170,6 +180,9 @@ Java is a registered trademark of Oracle and/or its affiliates. [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-video-transcoder.svg [maven-version-link]: https://search.maven.org/search?q=g:com.google.cloud%20AND%20a:google-cloud-video-transcoder&core=gav [authentication]: https://github.com/googleapis/google-cloud-java#authentication +[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes +[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles +[iam-policy]: https://cloud.google.com/iam/docs/overview#cloud-iam-policy [developer-console]: https://console.developers.google.com/ [create-project]: https://cloud.google.com/resource-manager/docs/creating-managing-projects [cloud-sdk]: https://cloud.google.com/sdk/ From 9cf9d5ab8debc6a53e3b369fe6c39ab3babb45e9 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 28 Jul 2021 08:58:34 -0700 Subject: [PATCH 08/17] chore: regenerate README (#191) This PR was generated using Autosynth. :rainbow:
Log from Synthtool ``` 2021-07-27 20:57:00,468 synthtool [DEBUG] > Executing /root/.cache/synthtool/java-video-transcoder/.github/readme/synth.py. On branch autosynth-readme nothing to commit, working tree clean 2021-07-27 20:57:01,975 synthtool [DEBUG] > Wrote metadata to .github/readme/synth.metadata/synth.metadata. ```
Full log will be available here: https://source.cloud.google.com/results/invocations/153ba41e-9f8c-4189-81ea-b502a1f7f411/targets - [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.) --- .github/readme/synth.metadata/synth.metadata | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/readme/synth.metadata/synth.metadata b/.github/readme/synth.metadata/synth.metadata index 165bb9aa..d23ee485 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": "414474b0954ee704808bb218f0f6653155febf04" + "sha": "dee9115c1e87a36e123fc72433e5d1a32796e08c" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "e44dc0c742b1230887a73552357e0c18dcc30b92" + "sha": "3d32990b6f4b57be77455e3ca89e6e21cd0c06b3" } } ] From bf29e539e9a1f5348f6e3104314b3e6ca11a866f Mon Sep 17 00:00:00 2001 From: Neenu Shaji Date: Thu, 29 Jul 2021 15:48:53 -0400 Subject: [PATCH 09/17] build: configure branch java7 as a release branch (#195) enable releases --- .github/release-please.yml | 5 ++ .github/sync-repo-settings.yaml | 85 ++++++++++++++++----------------- 2 files changed, 45 insertions(+), 45 deletions(-) diff --git a/.github/release-please.yml b/.github/release-please.yml index 8ca7f9ca..7bf58076 100644 --- a/.github/release-please.yml +++ b/.github/release-please.yml @@ -1,3 +1,8 @@ bumpMinorPreMajor: true handleGHRelease: true releaseType: java-yoshi +branches: + - bumpMinorPreMajor: true + handleGHRelease: true + releaseType: java-yoshi + branch: java7 diff --git a/.github/sync-repo-settings.yaml b/.github/sync-repo-settings.yaml index dbe495a7..84b918e8 100644 --- a/.github/sync-repo-settings.yaml +++ b/.github/sync-repo-settings.yaml @@ -1,50 +1,45 @@ - -# Whether or not rebase-merging is enabled on this repository. -# Defaults to `true` rebaseMergeAllowed: false - -# Whether or not squash-merging is enabled on this repository. -# Defaults to `true` squashMergeAllowed: true - -# Whether or not PRs are merged with a merge commit on this repository. -# Defaults to `false` mergeCommitAllowed: false - -# Rules for master branch protection branchProtectionRules: -# Identifies the protection rule pattern. Name of the branch to be protected. -# Defaults to `master` -- pattern: master - # Can admins overwrite branch protection. - # Defaults to `true` - isAdminEnforced: true - # Number of approving reviews required to update matching branches. - # Defaults to `1` - requiredApprovingReviewCount: 1 - # Are reviews from code owners required to update matching branches. - # Defaults to `false` - requiresCodeOwnerReviews: true - # Require up to date branches - requiresStrictStatusChecks: false - # List of required status check contexts that must pass for commits to be accepted to matching branches. - requiredStatusCheckContexts: - - "dependencies (8)" - - "dependencies (11)" - - "linkage-monitor" - - "lint" - - "clirr" - - "units (7)" - - "units (8)" - - "units (11)" - - "Kokoro - Test: Integration" - - "cla/google" - - "OwlBot Post Processor" -# List of explicit permissions to add (additive only) + - pattern: master + isAdminEnforced: true + requiredApprovingReviewCount: 1 + requiresCodeOwnerReviews: true + requiresStrictStatusChecks: false + requiredStatusCheckContexts: + - dependencies (8) + - dependencies (11) + - linkage-monitor + - lint + - clirr + - units (7) + - units (8) + - units (11) + - 'Kokoro - Test: Integration' + - cla/google + - OwlBot Post Processor + - pattern: java7 + isAdminEnforced: true + requiredApprovingReviewCount: 1 + requiresCodeOwnerReviews: true + requiresStrictStatusChecks: false + requiredStatusCheckContexts: + - dependencies (8) + - dependencies (11) + - linkage-monitor + - lint + - clirr + - units (7) + - units (8) + - units (11) + - 'Kokoro - Test: Integration' + - cla/google + - OwlBot Post Processor permissionRules: -- team: yoshi-admins - permission: admin -- team: yoshi-java-admins - permission: admin -- team: yoshi-java - permission: push \ No newline at end of file + - team: yoshi-admins + permission: admin + - team: yoshi-java-admins + permission: admin + - team: yoshi-java + permission: push From fd452a892351ed5c3ae15558b63103b7084ce6f4 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 4 Aug 2021 23:57:47 +0200 Subject: [PATCH 10/17] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v1 (#194) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![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.13.1` -> `1.0.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.0.0/compatibility-slim/0.13.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.0.0/confidence-slim/0.13.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-shared-config ### [`v1.0.0`](https://togithub.com/googleapis/java-shared-config/blob/master/CHANGELOG.md#​100-httpswwwgithubcomgoogleapisjava-shared-configcomparev0131v100-2021-07-29) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v0.13.1...v1.0.0) ##### âš  BREAKING CHANGES - update shared-config to java 1.8 ([#​277](https://togithub.com/googleapis/java-shared-config/issues/277)) ##### Features - update shared-config to java 1.8 ([#​277](https://www.github.com/googleapis/java-shared-config/issues/277)) ([9c297a2](https://www.github.com/googleapis/java-shared-config/commit/9c297a27bc236092aab3ae292c7bed206293bc51)) ##### [0.13.1](https://www.github.com/googleapis/java-shared-config/compare/v0.13.0...v0.13.1) (2021-07-27) ##### Bug Fixes - revert update dependency org.apache.maven.plugins:maven-dependency-plugin to v3.2.0 ([#​280](https://www.github.com/googleapis/java-shared-config/issues/280)) ([bdbbb9c](https://www.github.com/googleapis/java-shared-config/commit/bdbbb9c13571d0ef06009ebf03bc25c6e6fcbc17))
--- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **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 d35d01a0..953d5672 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.13.1 + 1.0.0 Google Video Transcoder BOM diff --git a/pom.xml b/pom.xml index 3d220853..116f2332 100644 --- a/pom.xml +++ b/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 0.13.1 + 1.0.0 From b399ae2acccfdf2067f80adebb33aa159255b1ef Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Wed, 4 Aug 2021 23:04:51 +0000 Subject: [PATCH 11/17] chore: release gapic-generator-java v1.0.17 (#198) Committer: @miraleung PiperOrigin-RevId: 388499329 Source-Link: https://github.com/googleapis/googleapis/commit/bb0a090d9204110042ab5dee2ce9e06e8071ce54 Source-Link: https://github.com/googleapis/googleapis-gen/commit/d196f38277f745f7d99d468c5af0950bc9925b44 --- .../transcoder/v1/stub/GrpcTranscoderServiceStub.java | 8 +++++++- .../v1beta1/stub/GrpcTranscoderServiceStub.java | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1/stub/GrpcTranscoderServiceStub.java b/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1/stub/GrpcTranscoderServiceStub.java index 957683a0..20967f77 100644 --- a/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1/stub/GrpcTranscoderServiceStub.java +++ b/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1/stub/GrpcTranscoderServiceStub.java @@ -394,7 +394,13 @@ public UnaryCallable deleteJobTemplateCallable( @Override public final void close() { - shutdown(); + try { + backgroundResources.close(); + } catch (RuntimeException e) { + throw e; + } catch (Exception e) { + throw new IllegalStateException("Failed to close resource", e); + } } @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 8bf54fb7..76ce818a 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 @@ -396,7 +396,13 @@ public UnaryCallable deleteJobTemplateCallable( @Override public final void close() { - shutdown(); + try { + backgroundResources.close(); + } catch (RuntimeException e) { + throw e; + } catch (Exception e) { + throw new IllegalStateException("Failed to close resource", e); + } } @Override From 6300e88f8c85ed6093a75f1c59e4140d2099ce59 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Wed, 4 Aug 2021 23:16:37 +0000 Subject: [PATCH 12/17] feat!: release gapic-generator-java v2.0.0 (#199) Committer: @miraleung PiperOrigin-RevId: 388535346 Source-Link: https://github.com/googleapis/googleapis/commit/d9eaf41de44d953458b18712a3f240bb4c564e48 Source-Link: https://github.com/googleapis/googleapis-gen/commit/976c5ab6f24b58c91fe04847ead1953f99d19e6a --- .../v1/TranscoderServiceClient.java | 17 +--- .../v1/TranscoderServiceSettings.java | 3 +- .../v1/stub/GrpcTranscoderServiceStub.java | 90 +++++++------------ .../stub/TranscoderServiceStubSettings.java | 3 +- .../v1beta1/TranscoderServiceClient.java | 17 +--- .../v1beta1/TranscoderServiceSettings.java | 3 +- .../stub/GrpcTranscoderServiceStub.java | 90 +++++++------------ .../stub/TranscoderServiceStubSettings.java | 3 +- 8 files changed, 72 insertions(+), 154 deletions(-) diff --git a/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1/TranscoderServiceClient.java b/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1/TranscoderServiceClient.java index 37f95d54..1f8b678d 100644 --- a/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1/TranscoderServiceClient.java +++ b/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1/TranscoderServiceClient.java @@ -16,7 +16,6 @@ package com.google.cloud.video.transcoder.v1; -import com.google.api.core.ApiFunction; import com.google.api.core.ApiFuture; import com.google.api.core.ApiFutures; import com.google.api.core.BetaApi; @@ -1068,14 +1067,7 @@ public static ApiFuture createAsync( ApiFuture futurePage = ListJobsPage.createEmptyPage().createPageAsync(context, futureResponse); return ApiFutures.transform( - futurePage, - new ApiFunction() { - @Override - public ListJobsPagedResponse apply(ListJobsPage input) { - return new ListJobsPagedResponse(input); - } - }, - MoreExecutors.directExecutor()); + futurePage, input -> new ListJobsPagedResponse(input), MoreExecutors.directExecutor()); } private ListJobsPagedResponse(ListJobsPage page) { @@ -1143,12 +1135,7 @@ public static ApiFuture createAsync( ListJobTemplatesPage.createEmptyPage().createPageAsync(context, futureResponse); return ApiFutures.transform( futurePage, - new ApiFunction() { - @Override - public ListJobTemplatesPagedResponse apply(ListJobTemplatesPage input) { - return new ListJobTemplatesPagedResponse(input); - } - }, + input -> new ListJobTemplatesPagedResponse(input), MoreExecutors.directExecutor()); } diff --git a/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1/TranscoderServiceSettings.java b/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1/TranscoderServiceSettings.java index 00f0a747..eb6546c1 100644 --- a/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1/TranscoderServiceSettings.java +++ b/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1/TranscoderServiceSettings.java @@ -199,14 +199,13 @@ public TranscoderServiceStubSettings.Builder getStubSettingsBuilder() { return ((TranscoderServiceStubSettings.Builder) getStubSettings()); } - // NEXT_MAJOR_VER: remove 'throws Exception'. /** * Applies the given settings updater function to all of the unary API methods in this service. * *

Note: This method does not support applying settings to streaming methods. */ public Builder applyToAllUnaryMethods( - ApiFunction, Void> settingsUpdater) throws Exception { + ApiFunction, Void> settingsUpdater) { super.applyToAllUnaryMethods( getStubSettingsBuilder().unaryMethodSettingsBuilders(), settingsUpdater); return this; diff --git a/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1/stub/GrpcTranscoderServiceStub.java b/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1/stub/GrpcTranscoderServiceStub.java index 20967f77..780124b8 100644 --- a/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1/stub/GrpcTranscoderServiceStub.java +++ b/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1/stub/GrpcTranscoderServiceStub.java @@ -24,7 +24,6 @@ import com.google.api.gax.grpc.GrpcCallSettings; import com.google.api.gax.grpc.GrpcStubCallableFactory; import com.google.api.gax.rpc.ClientContext; -import com.google.api.gax.rpc.RequestParamsExtractor; import com.google.api.gax.rpc.UnaryCallable; import com.google.cloud.video.transcoder.v1.CreateJobRequest; import com.google.cloud.video.transcoder.v1.CreateJobTemplateRequest; @@ -44,7 +43,6 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; -import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; @@ -195,65 +193,50 @@ protected GrpcTranscoderServiceStub( GrpcCallSettings.newBuilder() .setMethodDescriptor(createJobMethodDescriptor) .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(CreateJobRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); - } + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("parent", String.valueOf(request.getParent())); + return params.build(); }) .build(); GrpcCallSettings listJobsTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(listJobsMethodDescriptor) .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(ListJobsRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); - } + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("parent", String.valueOf(request.getParent())); + return params.build(); }) .build(); GrpcCallSettings getJobTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(getJobMethodDescriptor) .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(GetJobRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); - } + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); }) .build(); GrpcCallSettings deleteJobTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(deleteJobMethodDescriptor) .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(DeleteJobRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); - } + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); }) .build(); GrpcCallSettings createJobTemplateTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(createJobTemplateMethodDescriptor) .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(CreateJobTemplateRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); - } + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("parent", String.valueOf(request.getParent())); + return params.build(); }) .build(); GrpcCallSettings @@ -261,39 +244,30 @@ public Map extract(CreateJobTemplateRequest request) { GrpcCallSettings.newBuilder() .setMethodDescriptor(listJobTemplatesMethodDescriptor) .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(ListJobTemplatesRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); - } + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("parent", String.valueOf(request.getParent())); + return params.build(); }) .build(); GrpcCallSettings getJobTemplateTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(getJobTemplateMethodDescriptor) .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(GetJobTemplateRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); - } + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); }) .build(); GrpcCallSettings deleteJobTemplateTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(deleteJobTemplateMethodDescriptor) .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(DeleteJobTemplateRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); - } + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); }) .build(); diff --git a/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1/stub/TranscoderServiceStubSettings.java b/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1/stub/TranscoderServiceStubSettings.java index c180567a..ad83962d 100644 --- a/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1/stub/TranscoderServiceStubSettings.java +++ b/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1/stub/TranscoderServiceStubSettings.java @@ -507,14 +507,13 @@ private static Builder initDefaults(Builder builder) { return builder; } - // NEXT_MAJOR_VER: remove 'throws Exception'. /** * Applies the given settings updater function to all of the unary API methods in this service. * *

Note: This method does not support applying settings to streaming methods. */ public Builder applyToAllUnaryMethods( - ApiFunction, Void> settingsUpdater) throws Exception { + ApiFunction, Void> settingsUpdater) { super.applyToAllUnaryMethods(unaryMethodSettingsBuilders, settingsUpdater); return this; } 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 614787f4..23776813 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 @@ -16,7 +16,6 @@ package com.google.cloud.video.transcoder.v1beta1; -import com.google.api.core.ApiFunction; import com.google.api.core.ApiFuture; import com.google.api.core.ApiFutures; import com.google.api.core.BetaApi; @@ -1057,14 +1056,7 @@ public static ApiFuture createAsync( ApiFuture futurePage = ListJobsPage.createEmptyPage().createPageAsync(context, futureResponse); return ApiFutures.transform( - futurePage, - new ApiFunction() { - @Override - public ListJobsPagedResponse apply(ListJobsPage input) { - return new ListJobsPagedResponse(input); - } - }, - MoreExecutors.directExecutor()); + futurePage, input -> new ListJobsPagedResponse(input), MoreExecutors.directExecutor()); } private ListJobsPagedResponse(ListJobsPage page) { @@ -1132,12 +1124,7 @@ public static ApiFuture createAsync( ListJobTemplatesPage.createEmptyPage().createPageAsync(context, futureResponse); return ApiFutures.transform( futurePage, - new ApiFunction() { - @Override - public ListJobTemplatesPagedResponse apply(ListJobTemplatesPage input) { - return new ListJobTemplatesPagedResponse(input); - } - }, + input -> new ListJobTemplatesPagedResponse(input), MoreExecutors.directExecutor()); } 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 ad1c04a8..4ed5139d 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 @@ -200,14 +200,13 @@ public TranscoderServiceStubSettings.Builder getStubSettingsBuilder() { return ((TranscoderServiceStubSettings.Builder) getStubSettings()); } - // NEXT_MAJOR_VER: remove 'throws Exception'. /** * Applies the given settings updater function to all of the unary API methods in this service. * *

Note: This method does not support applying settings to streaming methods. */ public Builder applyToAllUnaryMethods( - ApiFunction, Void> settingsUpdater) throws Exception { + ApiFunction, Void> settingsUpdater) { super.applyToAllUnaryMethods( getStubSettingsBuilder().unaryMethodSettingsBuilders(), settingsUpdater); return this; 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 76ce818a..09e6a77a 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 @@ -25,7 +25,6 @@ import com.google.api.gax.grpc.GrpcCallSettings; import com.google.api.gax.grpc.GrpcStubCallableFactory; import com.google.api.gax.rpc.ClientContext; -import com.google.api.gax.rpc.RequestParamsExtractor; import com.google.api.gax.rpc.UnaryCallable; import com.google.cloud.video.transcoder.v1beta1.CreateJobRequest; import com.google.cloud.video.transcoder.v1beta1.CreateJobTemplateRequest; @@ -45,7 +44,6 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; -import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; @@ -197,65 +195,50 @@ protected GrpcTranscoderServiceStub( GrpcCallSettings.newBuilder() .setMethodDescriptor(createJobMethodDescriptor) .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(CreateJobRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); - } + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("parent", String.valueOf(request.getParent())); + return params.build(); }) .build(); GrpcCallSettings listJobsTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(listJobsMethodDescriptor) .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(ListJobsRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); - } + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("parent", String.valueOf(request.getParent())); + return params.build(); }) .build(); GrpcCallSettings getJobTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(getJobMethodDescriptor) .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(GetJobRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); - } + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); }) .build(); GrpcCallSettings deleteJobTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(deleteJobMethodDescriptor) .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(DeleteJobRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); - } + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); }) .build(); GrpcCallSettings createJobTemplateTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(createJobTemplateMethodDescriptor) .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(CreateJobTemplateRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); - } + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("parent", String.valueOf(request.getParent())); + return params.build(); }) .build(); GrpcCallSettings @@ -263,39 +246,30 @@ public Map extract(CreateJobTemplateRequest request) { GrpcCallSettings.newBuilder() .setMethodDescriptor(listJobTemplatesMethodDescriptor) .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(ListJobTemplatesRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); - } + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("parent", String.valueOf(request.getParent())); + return params.build(); }) .build(); GrpcCallSettings getJobTemplateTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(getJobTemplateMethodDescriptor) .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(GetJobTemplateRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); - } + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); }) .build(); GrpcCallSettings deleteJobTemplateTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(deleteJobTemplateMethodDescriptor) .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(DeleteJobTemplateRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); - } + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); }) .build(); diff --git a/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1beta1/stub/TranscoderServiceStubSettings.java b/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1beta1/stub/TranscoderServiceStubSettings.java index 77d0292d..7bbd6a31 100644 --- a/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1beta1/stub/TranscoderServiceStubSettings.java +++ b/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1beta1/stub/TranscoderServiceStubSettings.java @@ -508,14 +508,13 @@ private static Builder initDefaults(Builder builder) { return builder; } - // NEXT_MAJOR_VER: remove 'throws Exception'. /** * Applies the given settings updater function to all of the unary API methods in this service. * *

Note: This method does not support applying settings to streaming methods. */ public Builder applyToAllUnaryMethods( - ApiFunction, Void> settingsUpdater) throws Exception { + ApiFunction, Void> settingsUpdater) { super.applyToAllUnaryMethods(unaryMethodSettingsBuilders, settingsUpdater); return this; } From 8f518bfac3ef21829dd0c86c00b617dedc4f88ba Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Thu, 5 Aug 2021 11:56:14 -0400 Subject: [PATCH 13/17] chore: remove java 7 units check (#1168) (#192) Source-Link: https://github.com/googleapis/synthtool/commit/1a2878d6909dd10ca4e3c1b5943d6622e996054e Post-Processor: gcr.io/repo-automation-bots/owlbot-java:latest@sha256:12cbdc4f137152a1a8b83f50ebc1a4098be0d3baff78b46efaec306f7cfafd13 Co-authored-by: Owl Bot --- .github/.OwlBot.lock.yaml | 2 +- .github/workflows/ci.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml index 419ccb9a..3f7432a5 100644 --- a/.github/.OwlBot.lock.yaml +++ b/.github/.OwlBot.lock.yaml @@ -1,3 +1,3 @@ docker: image: gcr.io/repo-automation-bots/owlbot-java:latest - digest: sha256:2904b9ad921ecc1343d1cf815bfaafbcc1115c1f39593aef9f8e333ffda552f7 + digest: sha256:12cbdc4f137152a1a8b83f50ebc1a4098be0d3baff78b46efaec306f7cfafd13 diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 0195b32f..65ae6ecd 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - java: [7, 8, 11] + java: [8, 11] steps: - uses: actions/checkout@v2 - uses: actions/setup-java@v1 From 34790ca6aeeafbd418c9f5f361eda264a74159c9 Mon Sep 17 00:00:00 2001 From: Neenu Shaji Date: Thu, 5 Aug 2021 15:24:27 -0400 Subject: [PATCH 14/17] chore: remove java7 units check from required checks in master (#204) --- .github/sync-repo-settings.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/sync-repo-settings.yaml b/.github/sync-repo-settings.yaml index 84b918e8..ffd39f6f 100644 --- a/.github/sync-repo-settings.yaml +++ b/.github/sync-repo-settings.yaml @@ -13,7 +13,6 @@ branchProtectionRules: - linkage-monitor - lint - clirr - - units (7) - units (8) - units (11) - 'Kokoro - Test: Integration' From 667278c93ff8d44ae4fa429dac61a4f9f6fc9ccc Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Tue, 10 Aug 2021 15:20:16 -0400 Subject: [PATCH 15/17] feat: Add video cropping feature (#205) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat: Add video cropping feature feat: Add video padding feature feat: Add ttl_after_completion_days field to Job docs: Update proto documentation docs: Indicate v1beta1 deprecation PiperOrigin-RevId: 389250478 Source-Link: https://github.com/googleapis/googleapis/commit/9a7d19079b5e3c22a5a08eaa94273f5d1eebb317 Source-Link: https://github.com/googleapis/googleapis-gen/commit/c27e567bdcb376f4f12235cfa8b205458cdf5274 * 🦉 Updates from OwlBot See https://github.com/googleapis/repo-automation-bots/blob/master/packages/owl-bot/README.md Co-authored-by: Owl Bot --- .../v1beta1/TranscoderServiceClient.java | 3 + .../v1beta1/TranscoderServiceSettings.java | 3 + .../GrpcTranscoderServiceCallableFactory.java | 3 + .../stub/GrpcTranscoderServiceStub.java | 3 + .../v1beta1/stub/TranscoderServiceStub.java | 3 + .../stub/TranscoderServiceStubSettings.java | 3 + .../v1beta1/TranscoderServiceClientTest.java | 4 + .../v1beta1/TranscoderServiceGrpc.java | 5 + .../cloud/video/transcoder/v1beta1/Input.java | 42 +- .../transcoder/v1beta1/InputOrBuilder.java | 12 +- .../cloud/video/transcoder/v1beta1/Job.java | 209 +- .../transcoder/v1beta1/JobOrBuilder.java | 34 +- .../video/transcoder/v1beta1/Overlay.java | 176 +- .../v1beta1/PreprocessingConfig.java | 2781 +++++++++++++++-- .../v1beta1/PreprocessingConfigOrBuilder.java | 70 + .../transcoder/v1beta1/ResourcesProto.java | 382 ++- .../transcoder/v1beta1/SegmentSettings.java | 60 +- .../v1beta1/SegmentSettingsOrBuilder.java | 15 +- .../transcoder/v1beta1/ServicesProto.java | 16 +- .../video/transcoder/v1beta1/SpriteSheet.java | 142 +- .../v1beta1/SpriteSheetOrBuilder.java | 26 +- .../video/transcoder/v1beta1/VideoStream.java | 416 +-- .../v1beta1/VideoStreamOrBuilder.java | 113 +- .../video/transcoder/v1beta1/resources.proto | 192 +- .../video/transcoder/v1beta1/services.proto | 3 +- 25 files changed, 3872 insertions(+), 844 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 23776813..03451ad4 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 @@ -101,8 +101,11 @@ * } * *

Please refer to the GitHub repository's samples for more quickstart code snippets. + * + * @deprecated This class is deprecated and will be removed in the next major version update. */ @BetaApi +@Deprecated @Generated("by gapic-generator-java") public class TranscoderServiceClient implements BackgroundResource { private final TranscoderServiceSettings settings; 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 4ed5139d..963a6ed6 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 @@ -67,8 +67,11 @@ * .build()); * TranscoderServiceSettings transcoderServiceSettings = transcoderServiceSettingsBuilder.build(); * } + * + * @deprecated This class is deprecated and will be removed in the next major version update. */ @BetaApi +@Deprecated @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 7b0aaec7..36948bf6 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 @@ -41,8 +41,11 @@ * gRPC callable factory implementation for the TranscoderService service API. * *

This class is for advanced usage. + * + * @deprecated This class is deprecated and will be removed in the next major version update. */ @BetaApi +@Deprecated @Generated("by gapic-generator-java") public class GrpcTranscoderServiceCallableFactory implements GrpcStubCallableFactory { 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 09e6a77a..4bc02923 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 @@ -52,8 +52,11 @@ * gRPC stub implementation for the TranscoderService service API. * *

This class is for advanced usage and reflects the underlying API directly. + * + * @deprecated This class is deprecated and will be removed in the next major version update. */ @BetaApi +@Deprecated @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 ebaf896a..cada3df2 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 @@ -42,8 +42,11 @@ * Base stub class for the TranscoderService service API. * *

This class is for advanced usage and reflects the underlying API directly. + * + * @deprecated This class is deprecated and will be removed in the next major version update. */ @BetaApi +@Deprecated @Generated("by gapic-generator-java") public abstract class TranscoderServiceStub implements BackgroundResource { diff --git a/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1beta1/stub/TranscoderServiceStubSettings.java b/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1beta1/stub/TranscoderServiceStubSettings.java index 7bbd6a31..b6d7d951 100644 --- a/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1beta1/stub/TranscoderServiceStubSettings.java +++ b/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1beta1/stub/TranscoderServiceStubSettings.java @@ -95,8 +95,11 @@ * TranscoderServiceStubSettings transcoderServiceSettings = * transcoderServiceSettingsBuilder.build(); * } + * + * @deprecated This class is deprecated and will be removed in the next major version update. */ @BetaApi +@Deprecated @Generated("by gapic-generator-java") public class TranscoderServiceStubSettings extends StubSettings { /** The default scopes of the service. */ 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 7760d20c..b1cc834d 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 @@ -97,6 +97,7 @@ public void createJobTest() throws Exception { .setCreateTime(Timestamp.newBuilder().build()) .setStartTime(Timestamp.newBuilder().build()) .setEndTime(Timestamp.newBuilder().build()) + .setTtlAfterCompletionDays(107576420) .build(); mockTranscoderService.addResponse(expectedResponse); @@ -148,6 +149,7 @@ public void createJobTest2() throws Exception { .setCreateTime(Timestamp.newBuilder().build()) .setStartTime(Timestamp.newBuilder().build()) .setEndTime(Timestamp.newBuilder().build()) + .setTtlAfterCompletionDays(107576420) .build(); mockTranscoderService.addResponse(expectedResponse); @@ -287,6 +289,7 @@ public void getJobTest() throws Exception { .setCreateTime(Timestamp.newBuilder().build()) .setStartTime(Timestamp.newBuilder().build()) .setEndTime(Timestamp.newBuilder().build()) + .setTtlAfterCompletionDays(107576420) .build(); mockTranscoderService.addResponse(expectedResponse); @@ -335,6 +338,7 @@ public void getJobTest2() throws Exception { .setCreateTime(Timestamp.newBuilder().build()) .setStartTime(Timestamp.newBuilder().build()) .setEndTime(Timestamp.newBuilder().build()) + .setTtlAfterCompletionDays(107576420) .build(); mockTranscoderService.addResponse(expectedResponse); diff --git a/grpc-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/TranscoderServiceGrpc.java b/grpc-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/TranscoderServiceGrpc.java index 62a501d6..a0900742 100644 --- a/grpc-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/TranscoderServiceGrpc.java +++ b/grpc-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/TranscoderServiceGrpc.java @@ -32,6 +32,7 @@ @javax.annotation.Generated( value = "by gRPC proto compiler", comments = "Source: google/cloud/video/transcoder/v1beta1/services.proto") +@java.lang.Deprecated public final class TranscoderServiceGrpc { private TranscoderServiceGrpc() {} @@ -463,6 +464,7 @@ public TranscoderServiceFutureStub newStub( * concatenation, and digital ad-stitch ready content generation. * */ + @java.lang.Deprecated public abstract static class TranscoderServiceImplBase implements io.grpc.BindableService { /** @@ -651,6 +653,7 @@ public final io.grpc.ServerServiceDefinition bindService() { * concatenation, and digital ad-stitch ready content generation. * */ + @java.lang.Deprecated public static final class TranscoderServiceStub extends io.grpc.stub.AbstractAsyncStub { private TranscoderServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { @@ -803,6 +806,7 @@ public void deleteJobTemplate( * concatenation, and digital ad-stitch ready content generation. * */ + @java.lang.Deprecated public static final class TranscoderServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { private TranscoderServiceBlockingStub( @@ -933,6 +937,7 @@ public com.google.protobuf.Empty deleteJobTemplate( * concatenation, and digital ad-stitch ready content generation. * */ + @java.lang.Deprecated public static final class TranscoderServiceFutureStub extends io.grpc.stub.AbstractFutureStub { private TranscoderServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { diff --git a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/Input.java b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/Input.java index 6cca5052..4c83aa4d 100644 --- a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/Input.java +++ b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/Input.java @@ -194,9 +194,9 @@ public com.google.protobuf.ByteString getKeyBytes() { * * *

-   * URI of the media. It must be stored in Cloud Storage. Example
-   * `gs://bucket/inputs/file.mp4`.
-   * If empty the value will be populated from `Job.input_uri`.
+   * URI of the media. Input files must be at least 5 seconds in duration and
+   * stored in Cloud Storage (for example, `gs://bucket/inputs/file.mp4`).
+   * If empty, the value will be populated from `Job.input_uri`.
    * 
* * string uri = 2; @@ -219,9 +219,9 @@ public java.lang.String getUri() { * * *
-   * URI of the media. It must be stored in Cloud Storage. Example
-   * `gs://bucket/inputs/file.mp4`.
-   * If empty the value will be populated from `Job.input_uri`.
+   * URI of the media. Input files must be at least 5 seconds in duration and
+   * stored in Cloud Storage (for example, `gs://bucket/inputs/file.mp4`).
+   * If empty, the value will be populated from `Job.input_uri`.
    * 
* * string uri = 2; @@ -770,9 +770,9 @@ public Builder setKeyBytes(com.google.protobuf.ByteString value) { * * *
-     * URI of the media. It must be stored in Cloud Storage. Example
-     * `gs://bucket/inputs/file.mp4`.
-     * If empty the value will be populated from `Job.input_uri`.
+     * URI of the media. Input files must be at least 5 seconds in duration and
+     * stored in Cloud Storage (for example, `gs://bucket/inputs/file.mp4`).
+     * If empty, the value will be populated from `Job.input_uri`.
      * 
* * string uri = 2; @@ -794,9 +794,9 @@ public java.lang.String getUri() { * * *
-     * URI of the media. It must be stored in Cloud Storage. Example
-     * `gs://bucket/inputs/file.mp4`.
-     * If empty the value will be populated from `Job.input_uri`.
+     * URI of the media. Input files must be at least 5 seconds in duration and
+     * stored in Cloud Storage (for example, `gs://bucket/inputs/file.mp4`).
+     * If empty, the value will be populated from `Job.input_uri`.
      * 
* * string uri = 2; @@ -818,9 +818,9 @@ public com.google.protobuf.ByteString getUriBytes() { * * *
-     * URI of the media. It must be stored in Cloud Storage. Example
-     * `gs://bucket/inputs/file.mp4`.
-     * If empty the value will be populated from `Job.input_uri`.
+     * URI of the media. Input files must be at least 5 seconds in duration and
+     * stored in Cloud Storage (for example, `gs://bucket/inputs/file.mp4`).
+     * If empty, the value will be populated from `Job.input_uri`.
      * 
* * string uri = 2; @@ -841,9 +841,9 @@ public Builder setUri(java.lang.String value) { * * *
-     * URI of the media. It must be stored in Cloud Storage. Example
-     * `gs://bucket/inputs/file.mp4`.
-     * If empty the value will be populated from `Job.input_uri`.
+     * URI of the media. Input files must be at least 5 seconds in duration and
+     * stored in Cloud Storage (for example, `gs://bucket/inputs/file.mp4`).
+     * If empty, the value will be populated from `Job.input_uri`.
      * 
* * string uri = 2; @@ -860,9 +860,9 @@ public Builder clearUri() { * * *
-     * URI of the media. It must be stored in Cloud Storage. Example
-     * `gs://bucket/inputs/file.mp4`.
-     * If empty the value will be populated from `Job.input_uri`.
+     * URI of the media. Input files must be at least 5 seconds in duration and
+     * stored in Cloud Storage (for example, `gs://bucket/inputs/file.mp4`).
+     * If empty, the value will be populated from `Job.input_uri`.
      * 
* * string uri = 2; diff --git a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/InputOrBuilder.java b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/InputOrBuilder.java index 10b8c388..53891dac 100644 --- a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/InputOrBuilder.java +++ b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/InputOrBuilder.java @@ -54,9 +54,9 @@ public interface InputOrBuilder * * *
-   * URI of the media. It must be stored in Cloud Storage. Example
-   * `gs://bucket/inputs/file.mp4`.
-   * If empty the value will be populated from `Job.input_uri`.
+   * URI of the media. Input files must be at least 5 seconds in duration and
+   * stored in Cloud Storage (for example, `gs://bucket/inputs/file.mp4`).
+   * If empty, the value will be populated from `Job.input_uri`.
    * 
* * string uri = 2; @@ -68,9 +68,9 @@ public interface InputOrBuilder * * *
-   * URI of the media. It must be stored in Cloud Storage. Example
-   * `gs://bucket/inputs/file.mp4`.
-   * If empty the value will be populated from `Job.input_uri`.
+   * URI of the media. Input files must be at least 5 seconds in duration and
+   * stored in Cloud Storage (for example, `gs://bucket/inputs/file.mp4`).
+   * If empty, the value will be populated from `Job.input_uri`.
    * 
* * string uri = 2; diff --git a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/Job.java b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/Job.java index e86fa21a..24d3bf10 100644 --- a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/Job.java +++ b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/Job.java @@ -233,6 +233,11 @@ private Job( endTime_ = subBuilder.buildPartial(); } + break; + } + case 120: + { + ttlAfterCompletionDays_ = input.readInt32(); break; } default: @@ -486,8 +491,8 @@ public interface OriginUriOrBuilder * * *
-     * HLS master manifest URI. If multiple HLS master manifests are created
-     * only first one is listed.
+     * HLS manifest URI per https://tools.ietf.org/html/rfc8216#section-4.3.4.
+     * If multiple HLS manifests are created, only the first one is listed.
      * 
* * string hls = 1; @@ -499,8 +504,8 @@ public interface OriginUriOrBuilder * * *
-     * HLS master manifest URI. If multiple HLS master manifests are created
-     * only first one is listed.
+     * HLS manifest URI per https://tools.ietf.org/html/rfc8216#section-4.3.4.
+     * If multiple HLS manifests are created, only the first one is listed.
      * 
* * string hls = 1; @@ -643,8 +648,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-     * HLS master manifest URI. If multiple HLS master manifests are created
-     * only first one is listed.
+     * HLS manifest URI per https://tools.ietf.org/html/rfc8216#section-4.3.4.
+     * If multiple HLS manifests are created, only the first one is listed.
      * 
* * string hls = 1; @@ -667,8 +672,8 @@ public java.lang.String getHls() { * * *
-     * HLS master manifest URI. If multiple HLS master manifests are created
-     * only first one is listed.
+     * HLS manifest URI per https://tools.ietf.org/html/rfc8216#section-4.3.4.
+     * If multiple HLS manifests are created, only the first one is listed.
      * 
* * string hls = 1; @@ -1083,8 +1088,8 @@ public Builder mergeFrom( * * *
-       * HLS master manifest URI. If multiple HLS master manifests are created
-       * only first one is listed.
+       * HLS manifest URI per https://tools.ietf.org/html/rfc8216#section-4.3.4.
+       * If multiple HLS manifests are created, only the first one is listed.
        * 
* * string hls = 1; @@ -1106,8 +1111,8 @@ public java.lang.String getHls() { * * *
-       * HLS master manifest URI. If multiple HLS master manifests are created
-       * only first one is listed.
+       * HLS manifest URI per https://tools.ietf.org/html/rfc8216#section-4.3.4.
+       * If multiple HLS manifests are created, only the first one is listed.
        * 
* * string hls = 1; @@ -1129,8 +1134,8 @@ public com.google.protobuf.ByteString getHlsBytes() { * * *
-       * HLS master manifest URI. If multiple HLS master manifests are created
-       * only first one is listed.
+       * HLS manifest URI per https://tools.ietf.org/html/rfc8216#section-4.3.4.
+       * If multiple HLS manifests are created, only the first one is listed.
        * 
* * string hls = 1; @@ -1151,8 +1156,8 @@ public Builder setHls(java.lang.String value) { * * *
-       * HLS master manifest URI. If multiple HLS master manifests are created
-       * only first one is listed.
+       * HLS manifest URI per https://tools.ietf.org/html/rfc8216#section-4.3.4.
+       * If multiple HLS manifests are created, only the first one is listed.
        * 
* * string hls = 1; @@ -1169,8 +1174,8 @@ public Builder clearHls() { * * *
-       * HLS master manifest URI. If multiple HLS master manifests are created
-       * only first one is listed.
+       * HLS manifest URI per https://tools.ietf.org/html/rfc8216#section-4.3.4.
+       * If multiple HLS manifests are created, only the first one is listed.
        * 
* * string hls = 1; @@ -1458,8 +1463,8 @@ public com.google.protobuf.ByteString getNameBytes() { *
    * Input only. Specify the `input_uri` to populate empty `uri` fields in each element of
    * `Job.config.inputs` or `JobTemplate.config.inputs` when using template.
-   * URI of the media. It must be stored in Cloud Storage. For example,
-   * `gs://bucket/inputs/file.mp4`.
+   * URI of the media. Input files must be at least 5 seconds in duration and
+   * stored in Cloud Storage (for example, `gs://bucket/inputs/file.mp4`).
    * 
* * string input_uri = 2 [(.google.api.field_behavior) = INPUT_ONLY]; @@ -1484,8 +1489,8 @@ public java.lang.String getInputUri() { *
    * Input only. Specify the `input_uri` to populate empty `uri` fields in each element of
    * `Job.config.inputs` or `JobTemplate.config.inputs` when using template.
-   * URI of the media. It must be stored in Cloud Storage. For example,
-   * `gs://bucket/inputs/file.mp4`.
+   * URI of the media. Input files must be at least 5 seconds in duration and
+   * stored in Cloud Storage (for example, `gs://bucket/inputs/file.mp4`).
    * 
* * string input_uri = 2 [(.google.api.field_behavior) = INPUT_ONLY]; @@ -1720,6 +1725,7 @@ public int getPriority() { * *
    * Output only. The origin URI.
+   * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
    * 
* * @@ -1737,6 +1743,7 @@ public boolean hasOriginUri() { * *
    * Output only. The origin URI.
+   * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
    * 
* * @@ -1756,6 +1763,7 @@ public com.google.cloud.video.transcoder.v1beta1.Job.OriginUri getOriginUri() { * *
    * Output only. The origin URI.
+   * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
    * 
* * @@ -1817,6 +1825,7 @@ public com.google.cloud.video.transcoder.v1beta1.Job.ProcessingState getState() *
    * Output only. Estimated fractional progress, from `0` to `1` for each
    * step.
+   * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
    * 
* * @@ -1835,6 +1844,7 @@ public boolean hasProgress() { *
    * Output only. Estimated fractional progress, from `0` to `1` for each
    * step.
+   * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
    * 
* * @@ -1855,6 +1865,7 @@ public com.google.cloud.video.transcoder.v1beta1.Progress getProgress() { *
    * Output only. Estimated fractional progress, from `0` to `1` for each
    * step.
+   * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
    * 
* * @@ -1925,6 +1936,7 @@ public com.google.protobuf.ByteString getFailureReasonBytes() { *
    * Output only. List of failure details. This property may contain additional
    * information about the failure when `failure_reason` is present.
+   * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
    * 
* * @@ -1942,6 +1954,7 @@ public com.google.protobuf.ByteString getFailureReasonBytes() { *
    * Output only. List of failure details. This property may contain additional
    * information about the failure when `failure_reason` is present.
+   * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
    * 
* * @@ -1959,6 +1972,7 @@ public com.google.protobuf.ByteString getFailureReasonBytes() { *
    * Output only. List of failure details. This property may contain additional
    * information about the failure when `failure_reason` is present.
+   * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
    * 
* * @@ -1975,6 +1989,7 @@ public int getFailureDetailsCount() { *
    * Output only. List of failure details. This property may contain additional
    * information about the failure when `failure_reason` is present.
+   * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
    * 
* * @@ -1991,6 +2006,7 @@ public com.google.cloud.video.transcoder.v1beta1.FailureDetail getFailureDetails *
    * Output only. List of failure details. This property may contain additional
    * information about the failure when `failure_reason` is present.
+   * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
    * 
* * @@ -2150,6 +2166,26 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { return getEndTime(); } + public static final int TTL_AFTER_COMPLETION_DAYS_FIELD_NUMBER = 15; + private int ttlAfterCompletionDays_; + /** + * + * + *
+   * Job time to live value in days, which will be effective after job
+   * completion. Job should be deleted automatically after the given TTL. Enter
+   * a value between 1 and 90. The default is 30.
+   * 
+ * + * int32 ttl_after_completion_days = 15; + * + * @return The ttlAfterCompletionDays. + */ + @java.lang.Override + public int getTtlAfterCompletionDays() { + return ttlAfterCompletionDays_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -2209,6 +2245,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (endTime_ != null) { output.writeMessage(14, getEndTime()); } + if (ttlAfterCompletionDays_ != 0) { + output.writeInt32(15, ttlAfterCompletionDays_); + } unknownFields.writeTo(output); } @@ -2265,6 +2304,9 @@ public int getSerializedSize() { if (endTime_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(14, getEndTime()); } + if (ttlAfterCompletionDays_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(15, ttlAfterCompletionDays_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -2308,6 +2350,7 @@ public boolean equals(final java.lang.Object obj) { if (hasEndTime()) { if (!getEndTime().equals(other.getEndTime())) return false; } + if (getTtlAfterCompletionDays() != other.getTtlAfterCompletionDays()) return false; if (!getJobConfigCase().equals(other.getJobConfigCase())) return false; switch (jobConfigCase_) { case 4: @@ -2366,6 +2409,8 @@ public int hashCode() { hash = (37 * hash) + END_TIME_FIELD_NUMBER; hash = (53 * hash) + getEndTime().hashCode(); } + hash = (37 * hash) + TTL_AFTER_COMPLETION_DAYS_FIELD_NUMBER; + hash = (53 * hash) + getTtlAfterCompletionDays(); switch (jobConfigCase_) { case 4: hash = (37 * hash) + TEMPLATE_ID_FIELD_NUMBER; @@ -2573,6 +2618,8 @@ public Builder clear() { endTime_ = null; endTimeBuilder_ = null; } + ttlAfterCompletionDays_ = 0; + jobConfigCase_ = 0; jobConfig_ = null; return this; @@ -2653,6 +2700,7 @@ public com.google.cloud.video.transcoder.v1beta1.Job buildPartial() { } else { result.endTime_ = endTimeBuilder_.build(); } + result.ttlAfterCompletionDays_ = ttlAfterCompletionDays_; result.jobConfigCase_ = jobConfigCase_; onBuilt(); return result; @@ -2767,6 +2815,9 @@ public Builder mergeFrom(com.google.cloud.video.transcoder.v1beta1.Job other) { if (other.hasEndTime()) { mergeEndTime(other.getEndTime()); } + if (other.getTtlAfterCompletionDays() != 0) { + setTtlAfterCompletionDays(other.getTtlAfterCompletionDays()); + } switch (other.getJobConfigCase()) { case TEMPLATE_ID: { @@ -2948,8 +2999,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { *
      * Input only. Specify the `input_uri` to populate empty `uri` fields in each element of
      * `Job.config.inputs` or `JobTemplate.config.inputs` when using template.
-     * URI of the media. It must be stored in Cloud Storage. For example,
-     * `gs://bucket/inputs/file.mp4`.
+     * URI of the media. Input files must be at least 5 seconds in duration and
+     * stored in Cloud Storage (for example, `gs://bucket/inputs/file.mp4`).
      * 
* * string input_uri = 2 [(.google.api.field_behavior) = INPUT_ONLY]; @@ -2973,8 +3024,8 @@ public java.lang.String getInputUri() { *
      * Input only. Specify the `input_uri` to populate empty `uri` fields in each element of
      * `Job.config.inputs` or `JobTemplate.config.inputs` when using template.
-     * URI of the media. It must be stored in Cloud Storage. For example,
-     * `gs://bucket/inputs/file.mp4`.
+     * URI of the media. Input files must be at least 5 seconds in duration and
+     * stored in Cloud Storage (for example, `gs://bucket/inputs/file.mp4`).
      * 
* * string input_uri = 2 [(.google.api.field_behavior) = INPUT_ONLY]; @@ -2998,8 +3049,8 @@ public com.google.protobuf.ByteString getInputUriBytes() { *
      * Input only. Specify the `input_uri` to populate empty `uri` fields in each element of
      * `Job.config.inputs` or `JobTemplate.config.inputs` when using template.
-     * URI of the media. It must be stored in Cloud Storage. For example,
-     * `gs://bucket/inputs/file.mp4`.
+     * URI of the media. Input files must be at least 5 seconds in duration and
+     * stored in Cloud Storage (for example, `gs://bucket/inputs/file.mp4`).
      * 
* * string input_uri = 2 [(.google.api.field_behavior) = INPUT_ONLY]; @@ -3022,8 +3073,8 @@ public Builder setInputUri(java.lang.String value) { *
      * Input only. Specify the `input_uri` to populate empty `uri` fields in each element of
      * `Job.config.inputs` or `JobTemplate.config.inputs` when using template.
-     * URI of the media. It must be stored in Cloud Storage. For example,
-     * `gs://bucket/inputs/file.mp4`.
+     * URI of the media. Input files must be at least 5 seconds in duration and
+     * stored in Cloud Storage (for example, `gs://bucket/inputs/file.mp4`).
      * 
* * string input_uri = 2 [(.google.api.field_behavior) = INPUT_ONLY]; @@ -3042,8 +3093,8 @@ public Builder clearInputUri() { *
      * Input only. Specify the `input_uri` to populate empty `uri` fields in each element of
      * `Job.config.inputs` or `JobTemplate.config.inputs` when using template.
-     * URI of the media. It must be stored in Cloud Storage. For example,
-     * `gs://bucket/inputs/file.mp4`.
+     * URI of the media. Input files must be at least 5 seconds in duration and
+     * stored in Cloud Storage (for example, `gs://bucket/inputs/file.mp4`).
      * 
* * string input_uri = 2 [(.google.api.field_behavior) = INPUT_ONLY]; @@ -3618,6 +3669,7 @@ public Builder clearPriority() { * *
      * Output only. The origin URI.
+     * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
      * 
* * @@ -3634,6 +3686,7 @@ public boolean hasOriginUri() { * *
      * Output only. The origin URI.
+     * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
      * 
* * @@ -3656,6 +3709,7 @@ public com.google.cloud.video.transcoder.v1beta1.Job.OriginUri getOriginUri() { * *
      * Output only. The origin URI.
+     * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
      * 
* * @@ -3680,6 +3734,7 @@ public Builder setOriginUri(com.google.cloud.video.transcoder.v1beta1.Job.Origin * *
      * Output only. The origin URI.
+     * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
      * 
* * @@ -3702,6 +3757,7 @@ public Builder setOriginUri( * *
      * Output only. The origin URI.
+     * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
      * 
* * @@ -3730,6 +3786,7 @@ public Builder mergeOriginUri(com.google.cloud.video.transcoder.v1beta1.Job.Orig * *
      * Output only. The origin URI.
+     * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
      * 
* * @@ -3752,6 +3809,7 @@ public Builder clearOriginUri() { * *
      * Output only. The origin URI.
+     * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
      * 
* * @@ -3768,6 +3826,7 @@ public com.google.cloud.video.transcoder.v1beta1.Job.OriginUri.Builder getOrigin * *
      * Output only. The origin URI.
+     * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
      * 
* * @@ -3789,6 +3848,7 @@ public com.google.cloud.video.transcoder.v1beta1.Job.OriginUri.Builder getOrigin * *
      * Output only. The origin URI.
+     * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
      * 
* * @@ -3927,6 +3987,7 @@ public Builder clearState() { *
      * Output only. Estimated fractional progress, from `0` to `1` for each
      * step.
+     * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
      * 
* * @@ -3944,6 +4005,7 @@ public boolean hasProgress() { *
      * Output only. Estimated fractional progress, from `0` to `1` for each
      * step.
+     * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
      * 
* * @@ -3967,6 +4029,7 @@ public com.google.cloud.video.transcoder.v1beta1.Progress getProgress() { *
      * Output only. Estimated fractional progress, from `0` to `1` for each
      * step.
+     * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
      * 
* * @@ -3992,6 +4055,7 @@ public Builder setProgress(com.google.cloud.video.transcoder.v1beta1.Progress va *
      * Output only. Estimated fractional progress, from `0` to `1` for each
      * step.
+     * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
      * 
* * @@ -4015,6 +4079,7 @@ public Builder setProgress( *
      * Output only. Estimated fractional progress, from `0` to `1` for each
      * step.
+     * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
      * 
* * @@ -4044,6 +4109,7 @@ public Builder mergeProgress(com.google.cloud.video.transcoder.v1beta1.Progress *
      * Output only. Estimated fractional progress, from `0` to `1` for each
      * step.
+     * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
      * 
* * @@ -4067,6 +4133,7 @@ public Builder clearProgress() { *
      * Output only. Estimated fractional progress, from `0` to `1` for each
      * step.
+     * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
      * 
* * @@ -4084,6 +4151,7 @@ public com.google.cloud.video.transcoder.v1beta1.Progress.Builder getProgressBui *
      * Output only. Estimated fractional progress, from `0` to `1` for each
      * step.
+     * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
      * 
* * @@ -4105,6 +4173,7 @@ public com.google.cloud.video.transcoder.v1beta1.ProgressOrBuilder getProgressOr *
      * Output only. Estimated fractional progress, from `0` to `1` for each
      * step.
+     * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
      * 
* * @@ -4263,6 +4332,7 @@ private void ensureFailureDetailsIsMutable() { *
      * Output only. List of failure details. This property may contain additional
      * information about the failure when `failure_reason` is present.
+     * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
      * 
* * @@ -4283,6 +4353,7 @@ private void ensureFailureDetailsIsMutable() { *
      * Output only. List of failure details. This property may contain additional
      * information about the failure when `failure_reason` is present.
+     * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
      * 
* * @@ -4302,6 +4373,7 @@ public int getFailureDetailsCount() { *
      * Output only. List of failure details. This property may contain additional
      * information about the failure when `failure_reason` is present.
+     * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
      * 
* * @@ -4321,6 +4393,7 @@ public com.google.cloud.video.transcoder.v1beta1.FailureDetail getFailureDetails *
      * Output only. List of failure details. This property may contain additional
      * information about the failure when `failure_reason` is present.
+     * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
      * 
* * @@ -4347,6 +4420,7 @@ public Builder setFailureDetails( *
      * Output only. List of failure details. This property may contain additional
      * information about the failure when `failure_reason` is present.
+     * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
      * 
* * @@ -4371,6 +4445,7 @@ public Builder setFailureDetails( *
      * Output only. List of failure details. This property may contain additional
      * information about the failure when `failure_reason` is present.
+     * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
      * 
* * @@ -4397,6 +4472,7 @@ public Builder addFailureDetails( *
      * Output only. List of failure details. This property may contain additional
      * information about the failure when `failure_reason` is present.
+     * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
      * 
* * @@ -4423,6 +4499,7 @@ public Builder addFailureDetails( *
      * Output only. List of failure details. This property may contain additional
      * information about the failure when `failure_reason` is present.
+     * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
      * 
* * @@ -4446,6 +4523,7 @@ public Builder addFailureDetails( *
      * Output only. List of failure details. This property may contain additional
      * information about the failure when `failure_reason` is present.
+     * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
      * 
* * @@ -4470,6 +4548,7 @@ public Builder addFailureDetails( *
      * Output only. List of failure details. This property may contain additional
      * information about the failure when `failure_reason` is present.
+     * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
      * 
* * @@ -4494,6 +4573,7 @@ public Builder addAllFailureDetails( *
      * Output only. List of failure details. This property may contain additional
      * information about the failure when `failure_reason` is present.
+     * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
      * 
* * @@ -4516,6 +4596,7 @@ public Builder clearFailureDetails() { *
      * Output only. List of failure details. This property may contain additional
      * information about the failure when `failure_reason` is present.
+     * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
      * 
* * @@ -4538,6 +4619,7 @@ public Builder removeFailureDetails(int index) { *
      * Output only. List of failure details. This property may contain additional
      * information about the failure when `failure_reason` is present.
+     * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
      * 
* * @@ -4554,6 +4636,7 @@ public com.google.cloud.video.transcoder.v1beta1.FailureDetail.Builder getFailur *
      * Output only. List of failure details. This property may contain additional
      * information about the failure when `failure_reason` is present.
+     * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
      * 
* * @@ -4574,6 +4657,7 @@ public com.google.cloud.video.transcoder.v1beta1.FailureDetail.Builder getFailur *
      * Output only. List of failure details. This property may contain additional
      * information about the failure when `failure_reason` is present.
+     * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
      * 
* * @@ -4595,6 +4679,7 @@ public com.google.cloud.video.transcoder.v1beta1.FailureDetail.Builder getFailur *
      * Output only. List of failure details. This property may contain additional
      * information about the failure when `failure_reason` is present.
+     * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
      * 
* * @@ -4612,6 +4697,7 @@ public com.google.cloud.video.transcoder.v1beta1.FailureDetail.Builder getFailur *
      * Output only. List of failure details. This property may contain additional
      * information about the failure when `failure_reason` is present.
+     * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
      * 
* * @@ -4630,6 +4716,7 @@ public com.google.cloud.video.transcoder.v1beta1.FailureDetail.Builder addFailur *
      * Output only. List of failure details. This property may contain additional
      * information about the failure when `failure_reason` is present.
+     * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
      * 
* * @@ -5247,6 +5334,64 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { return endTimeBuilder_; } + private int ttlAfterCompletionDays_; + /** + * + * + *
+     * Job time to live value in days, which will be effective after job
+     * completion. Job should be deleted automatically after the given TTL. Enter
+     * a value between 1 and 90. The default is 30.
+     * 
+ * + * int32 ttl_after_completion_days = 15; + * + * @return The ttlAfterCompletionDays. + */ + @java.lang.Override + public int getTtlAfterCompletionDays() { + return ttlAfterCompletionDays_; + } + /** + * + * + *
+     * Job time to live value in days, which will be effective after job
+     * completion. Job should be deleted automatically after the given TTL. Enter
+     * a value between 1 and 90. The default is 30.
+     * 
+ * + * int32 ttl_after_completion_days = 15; + * + * @param value The ttlAfterCompletionDays to set. + * @return This builder for chaining. + */ + public Builder setTtlAfterCompletionDays(int value) { + + ttlAfterCompletionDays_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Job time to live value in days, which will be effective after job
+     * completion. Job should be deleted automatically after the given TTL. Enter
+     * a value between 1 and 90. The default is 30.
+     * 
+ * + * int32 ttl_after_completion_days = 15; + * + * @return This builder for chaining. + */ + public Builder clearTtlAfterCompletionDays() { + + ttlAfterCompletionDays_ = 0; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/JobOrBuilder.java b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/JobOrBuilder.java index 4cd614d2..b209c1a7 100644 --- a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/JobOrBuilder.java +++ b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/JobOrBuilder.java @@ -56,8 +56,8 @@ public interface JobOrBuilder *
    * Input only. Specify the `input_uri` to populate empty `uri` fields in each element of
    * `Job.config.inputs` or `JobTemplate.config.inputs` when using template.
-   * URI of the media. It must be stored in Cloud Storage. For example,
-   * `gs://bucket/inputs/file.mp4`.
+   * URI of the media. Input files must be at least 5 seconds in duration and
+   * stored in Cloud Storage (for example, `gs://bucket/inputs/file.mp4`).
    * 
* * string input_uri = 2 [(.google.api.field_behavior) = INPUT_ONLY]; @@ -71,8 +71,8 @@ public interface JobOrBuilder *
    * Input only. Specify the `input_uri` to populate empty `uri` fields in each element of
    * `Job.config.inputs` or `JobTemplate.config.inputs` when using template.
-   * URI of the media. It must be stored in Cloud Storage. For example,
-   * `gs://bucket/inputs/file.mp4`.
+   * URI of the media. Input files must be at least 5 seconds in duration and
+   * stored in Cloud Storage (for example, `gs://bucket/inputs/file.mp4`).
    * 
* * string input_uri = 2 [(.google.api.field_behavior) = INPUT_ONLY]; @@ -216,6 +216,7 @@ public interface JobOrBuilder * *
    * Output only. The origin URI.
+   * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
    * 
* * @@ -230,6 +231,7 @@ public interface JobOrBuilder * *
    * Output only. The origin URI.
+   * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
    * 
* * @@ -244,6 +246,7 @@ public interface JobOrBuilder * *
    * Output only. The origin URI.
+   * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
    * 
* * @@ -287,6 +290,7 @@ public interface JobOrBuilder *
    * Output only. Estimated fractional progress, from `0` to `1` for each
    * step.
+   * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
    * 
* * @@ -302,6 +306,7 @@ public interface JobOrBuilder *
    * Output only. Estimated fractional progress, from `0` to `1` for each
    * step.
+   * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
    * 
* * @@ -317,6 +322,7 @@ public interface JobOrBuilder *
    * Output only. Estimated fractional progress, from `0` to `1` for each
    * step.
+   * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
    * 
* * @@ -358,6 +364,7 @@ public interface JobOrBuilder *
    * Output only. List of failure details. This property may contain additional
    * information about the failure when `failure_reason` is present.
+   * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
    * 
* * @@ -371,6 +378,7 @@ public interface JobOrBuilder *
    * Output only. List of failure details. This property may contain additional
    * information about the failure when `failure_reason` is present.
+   * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
    * 
* * @@ -384,6 +392,7 @@ public interface JobOrBuilder *
    * Output only. List of failure details. This property may contain additional
    * information about the failure when `failure_reason` is present.
+   * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
    * 
* * @@ -397,6 +406,7 @@ public interface JobOrBuilder *
    * Output only. List of failure details. This property may contain additional
    * information about the failure when `failure_reason` is present.
+   * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
    * 
* * @@ -411,6 +421,7 @@ public interface JobOrBuilder *
    * Output only. List of failure details. This property may contain additional
    * information about the failure when `failure_reason` is present.
+   * <aside class="note"><b>Note</b>: This feature is not yet available.</aside>
    * 
* * @@ -534,5 +545,20 @@ com.google.cloud.video.transcoder.v1beta1.FailureDetailOrBuilder getFailureDetai */ com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); + /** + * + * + *
+   * Job time to live value in days, which will be effective after job
+   * completion. Job should be deleted automatically after the given TTL. Enter
+   * a value between 1 and 90. The default is 30.
+   * 
+ * + * int32 ttl_after_completion_days = 15; + * + * @return The ttlAfterCompletionDays. + */ + int getTtlAfterCompletionDays(); + public com.google.cloud.video.transcoder.v1beta1.Job.JobConfigCase getJobConfigCase(); } diff --git a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/Overlay.java b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/Overlay.java index 2ccd23a7..400730bb 100644 --- a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/Overlay.java +++ b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/Overlay.java @@ -983,8 +983,8 @@ public interface ImageOrBuilder * * *
-     * Required. URI of the image in Cloud Storage. For example,
-     * `gs://bucket/inputs/image.jpeg`.
+     * Required. URI of the JPEG image in Cloud Storage. For example,
+     * `gs://bucket/inputs/image.jpeg`. JPEG is the only supported image type.
      * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -996,8 +996,8 @@ public interface ImageOrBuilder * * *
-     * Required. URI of the image in Cloud Storage. For example,
-     * `gs://bucket/inputs/image.jpeg`.
+     * Required. URI of the JPEG image in Cloud Storage. For example,
+     * `gs://bucket/inputs/image.jpeg`. JPEG is the only supported image type.
      * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -1058,8 +1058,8 @@ public interface ImageOrBuilder * * *
-     * Target image opacity. Valid values: `1` (solid, default),
-     * `0` (transparent).
+     * Target image opacity. Valid values are from  `1.0` (solid, default) to
+     * `0.0` (transparent), exclusive. Set this to a value greater than `0.0`.
      * 
* * double alpha = 3; @@ -1191,8 +1191,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-     * Required. URI of the image in Cloud Storage. For example,
-     * `gs://bucket/inputs/image.jpeg`.
+     * Required. URI of the JPEG image in Cloud Storage. For example,
+     * `gs://bucket/inputs/image.jpeg`. JPEG is the only supported image type.
      * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -1215,8 +1215,8 @@ public java.lang.String getUri() { * * *
-     * Required. URI of the image in Cloud Storage. For example,
-     * `gs://bucket/inputs/image.jpeg`.
+     * Required. URI of the JPEG image in Cloud Storage. For example,
+     * `gs://bucket/inputs/image.jpeg`. JPEG is the only supported image type.
      * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -1304,8 +1304,8 @@ public com.google.cloud.video.transcoder.v1beta1.Overlay.NormalizedCoordinate ge * * *
-     * Target image opacity. Valid values: `1` (solid, default),
-     * `0` (transparent).
+     * Target image opacity. Valid values are from  `1.0` (solid, default) to
+     * `0.0` (transparent), exclusive. Set this to a value greater than `0.0`.
      * 
* * double alpha = 3; @@ -1692,8 +1692,8 @@ public Builder mergeFrom( * * *
-       * Required. URI of the image in Cloud Storage. For example,
-       * `gs://bucket/inputs/image.jpeg`.
+       * Required. URI of the JPEG image in Cloud Storage. For example,
+       * `gs://bucket/inputs/image.jpeg`. JPEG is the only supported image type.
        * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -1715,8 +1715,8 @@ public java.lang.String getUri() { * * *
-       * Required. URI of the image in Cloud Storage. For example,
-       * `gs://bucket/inputs/image.jpeg`.
+       * Required. URI of the JPEG image in Cloud Storage. For example,
+       * `gs://bucket/inputs/image.jpeg`. JPEG is the only supported image type.
        * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -1738,8 +1738,8 @@ public com.google.protobuf.ByteString getUriBytes() { * * *
-       * Required. URI of the image in Cloud Storage. For example,
-       * `gs://bucket/inputs/image.jpeg`.
+       * Required. URI of the JPEG image in Cloud Storage. For example,
+       * `gs://bucket/inputs/image.jpeg`. JPEG is the only supported image type.
        * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -1760,8 +1760,8 @@ public Builder setUri(java.lang.String value) { * * *
-       * Required. URI of the image in Cloud Storage. For example,
-       * `gs://bucket/inputs/image.jpeg`.
+       * Required. URI of the JPEG image in Cloud Storage. For example,
+       * `gs://bucket/inputs/image.jpeg`. JPEG is the only supported image type.
        * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -1778,8 +1778,8 @@ public Builder clearUri() { * * *
-       * Required. URI of the image in Cloud Storage. For example,
-       * `gs://bucket/inputs/image.jpeg`.
+       * Required. URI of the JPEG image in Cloud Storage. For example,
+       * `gs://bucket/inputs/image.jpeg`. JPEG is the only supported image type.
        * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -2034,8 +2034,8 @@ public Builder clearResolution() { * * *
-       * Target image opacity. Valid values: `1` (solid, default),
-       * `0` (transparent).
+       * Target image opacity. Valid values are from  `1.0` (solid, default) to
+       * `0.0` (transparent), exclusive. Set this to a value greater than `0.0`.
        * 
* * double alpha = 3; @@ -2050,8 +2050,8 @@ public double getAlpha() { * * *
-       * Target image opacity. Valid values: `1` (solid, default),
-       * `0` (transparent).
+       * Target image opacity. Valid values are from  `1.0` (solid, default) to
+       * `0.0` (transparent), exclusive. Set this to a value greater than `0.0`.
        * 
* * double alpha = 3; @@ -2069,8 +2069,8 @@ public Builder setAlpha(double value) { * * *
-       * Target image opacity. Valid values: `1` (solid, default),
-       * `0` (transparent).
+       * Target image opacity. Valid values are from  `1.0` (solid, default) to
+       * `0.0` (transparent), exclusive. Set this to a value greater than `0.0`.
        * 
* * double alpha = 3; @@ -2147,7 +2147,9 @@ public interface AnimationStaticOrBuilder *
      * Normalized coordinates based on output video resolution. Valid
      * values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
-     * object.
+     * object. For example, use the x and y coordinates {0,0} to position the
+     * top-left corner of the overlay animation in the top-left corner of the
+     * output video.
      * 
* * .google.cloud.video.transcoder.v1beta1.Overlay.NormalizedCoordinate xy = 1; @@ -2161,7 +2163,9 @@ public interface AnimationStaticOrBuilder *
      * Normalized coordinates based on output video resolution. Valid
      * values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
-     * object.
+     * object. For example, use the x and y coordinates {0,0} to position the
+     * top-left corner of the overlay animation in the top-left corner of the
+     * output video.
      * 
* * .google.cloud.video.transcoder.v1beta1.Overlay.NormalizedCoordinate xy = 1; @@ -2175,7 +2179,9 @@ public interface AnimationStaticOrBuilder *
      * Normalized coordinates based on output video resolution. Valid
      * values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
-     * object.
+     * object. For example, use the x and y coordinates {0,0} to position the
+     * top-left corner of the overlay animation in the top-left corner of the
+     * output video.
      * 
* * .google.cloud.video.transcoder.v1beta1.Overlay.NormalizedCoordinate xy = 1; @@ -2344,7 +2350,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { *
      * Normalized coordinates based on output video resolution. Valid
      * values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
-     * object.
+     * object. For example, use the x and y coordinates {0,0} to position the
+     * top-left corner of the overlay animation in the top-left corner of the
+     * output video.
      * 
* * .google.cloud.video.transcoder.v1beta1.Overlay.NormalizedCoordinate xy = 1; @@ -2361,7 +2369,9 @@ public boolean hasXy() { *
      * Normalized coordinates based on output video resolution. Valid
      * values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
-     * object.
+     * object. For example, use the x and y coordinates {0,0} to position the
+     * top-left corner of the overlay animation in the top-left corner of the
+     * output video.
      * 
* * .google.cloud.video.transcoder.v1beta1.Overlay.NormalizedCoordinate xy = 1; @@ -2381,7 +2391,9 @@ public com.google.cloud.video.transcoder.v1beta1.Overlay.NormalizedCoordinate ge *
      * Normalized coordinates based on output video resolution. Valid
      * values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
-     * object.
+     * object. For example, use the x and y coordinates {0,0} to position the
+     * top-left corner of the overlay animation in the top-left corner of the
+     * output video.
      * 
* * .google.cloud.video.transcoder.v1beta1.Overlay.NormalizedCoordinate xy = 1; @@ -2823,7 +2835,9 @@ public Builder mergeFrom( *
        * Normalized coordinates based on output video resolution. Valid
        * values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
-       * object.
+       * object. For example, use the x and y coordinates {0,0} to position the
+       * top-left corner of the overlay animation in the top-left corner of the
+       * output video.
        * 
* * .google.cloud.video.transcoder.v1beta1.Overlay.NormalizedCoordinate xy = 1; @@ -2839,7 +2853,9 @@ public boolean hasXy() { *
        * Normalized coordinates based on output video resolution. Valid
        * values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
-       * object.
+       * object. For example, use the x and y coordinates {0,0} to position the
+       * top-left corner of the overlay animation in the top-left corner of the
+       * output video.
        * 
* * .google.cloud.video.transcoder.v1beta1.Overlay.NormalizedCoordinate xy = 1; @@ -2862,7 +2878,9 @@ public com.google.cloud.video.transcoder.v1beta1.Overlay.NormalizedCoordinate ge *
        * Normalized coordinates based on output video resolution. Valid
        * values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
-       * object.
+       * object. For example, use the x and y coordinates {0,0} to position the
+       * top-left corner of the overlay animation in the top-left corner of the
+       * output video.
        * 
* * .google.cloud.video.transcoder.v1beta1.Overlay.NormalizedCoordinate xy = 1; @@ -2887,7 +2905,9 @@ public Builder setXy( *
        * Normalized coordinates based on output video resolution. Valid
        * values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
-       * object.
+       * object. For example, use the x and y coordinates {0,0} to position the
+       * top-left corner of the overlay animation in the top-left corner of the
+       * output video.
        * 
* * .google.cloud.video.transcoder.v1beta1.Overlay.NormalizedCoordinate xy = 1; @@ -2910,7 +2930,9 @@ public Builder setXy( *
        * Normalized coordinates based on output video resolution. Valid
        * values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
-       * object.
+       * object. For example, use the x and y coordinates {0,0} to position the
+       * top-left corner of the overlay animation in the top-left corner of the
+       * output video.
        * 
* * .google.cloud.video.transcoder.v1beta1.Overlay.NormalizedCoordinate xy = 1; @@ -2940,7 +2962,9 @@ public Builder mergeXy( *
        * Normalized coordinates based on output video resolution. Valid
        * values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
-       * object.
+       * object. For example, use the x and y coordinates {0,0} to position the
+       * top-left corner of the overlay animation in the top-left corner of the
+       * output video.
        * 
* * .google.cloud.video.transcoder.v1beta1.Overlay.NormalizedCoordinate xy = 1; @@ -2962,7 +2986,9 @@ public Builder clearXy() { *
        * Normalized coordinates based on output video resolution. Valid
        * values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
-       * object.
+       * object. For example, use the x and y coordinates {0,0} to position the
+       * top-left corner of the overlay animation in the top-left corner of the
+       * output video.
        * 
* * .google.cloud.video.transcoder.v1beta1.Overlay.NormalizedCoordinate xy = 1; @@ -2979,7 +3005,9 @@ public Builder clearXy() { *
        * Normalized coordinates based on output video resolution. Valid
        * values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
-       * object.
+       * object. For example, use the x and y coordinates {0,0} to position the
+       * top-left corner of the overlay animation in the top-left corner of the
+       * output video.
        * 
* * .google.cloud.video.transcoder.v1beta1.Overlay.NormalizedCoordinate xy = 1; @@ -3001,7 +3029,9 @@ public Builder clearXy() { *
        * Normalized coordinates based on output video resolution. Valid
        * values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
-       * object.
+       * object. For example, use the x and y coordinates {0,0} to position the
+       * top-left corner of the overlay animation in the top-left corner of the
+       * output video.
        * 
* * .google.cloud.video.transcoder.v1beta1.Overlay.NormalizedCoordinate xy = 1; @@ -3303,7 +3333,9 @@ public interface AnimationFadeOrBuilder *
      * Normalized coordinates based on output video resolution. Valid
      * values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
-     * object.
+     * object. For example, use the x and y coordinates {0,0} to position the
+     * top-left corner of the overlay animation in the top-left corner of the
+     * output video.
      * 
* * .google.cloud.video.transcoder.v1beta1.Overlay.NormalizedCoordinate xy = 2; @@ -3317,7 +3349,9 @@ public interface AnimationFadeOrBuilder *
      * Normalized coordinates based on output video resolution. Valid
      * values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
-     * object.
+     * object. For example, use the x and y coordinates {0,0} to position the
+     * top-left corner of the overlay animation in the top-left corner of the
+     * output video.
      * 
* * .google.cloud.video.transcoder.v1beta1.Overlay.NormalizedCoordinate xy = 2; @@ -3331,7 +3365,9 @@ public interface AnimationFadeOrBuilder *
      * Normalized coordinates based on output video resolution. Valid
      * values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
-     * object.
+     * object. For example, use the x and y coordinates {0,0} to position the
+     * top-left corner of the overlay animation in the top-left corner of the
+     * output video.
      * 
* * .google.cloud.video.transcoder.v1beta1.Overlay.NormalizedCoordinate xy = 2; @@ -3604,7 +3640,9 @@ public com.google.cloud.video.transcoder.v1beta1.Overlay.FadeType getFadeType() *
      * Normalized coordinates based on output video resolution. Valid
      * values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
-     * object.
+     * object. For example, use the x and y coordinates {0,0} to position the
+     * top-left corner of the overlay animation in the top-left corner of the
+     * output video.
      * 
* * .google.cloud.video.transcoder.v1beta1.Overlay.NormalizedCoordinate xy = 2; @@ -3621,7 +3659,9 @@ public boolean hasXy() { *
      * Normalized coordinates based on output video resolution. Valid
      * values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
-     * object.
+     * object. For example, use the x and y coordinates {0,0} to position the
+     * top-left corner of the overlay animation in the top-left corner of the
+     * output video.
      * 
* * .google.cloud.video.transcoder.v1beta1.Overlay.NormalizedCoordinate xy = 2; @@ -3641,7 +3681,9 @@ public com.google.cloud.video.transcoder.v1beta1.Overlay.NormalizedCoordinate ge *
      * Normalized coordinates based on output video resolution. Valid
      * values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
-     * object.
+     * object. For example, use the x and y coordinates {0,0} to position the
+     * top-left corner of the overlay animation in the top-left corner of the
+     * output video.
      * 
* * .google.cloud.video.transcoder.v1beta1.Overlay.NormalizedCoordinate xy = 2; @@ -4282,7 +4324,9 @@ public Builder clearFadeType() { *
        * Normalized coordinates based on output video resolution. Valid
        * values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
-       * object.
+       * object. For example, use the x and y coordinates {0,0} to position the
+       * top-left corner of the overlay animation in the top-left corner of the
+       * output video.
        * 
* * .google.cloud.video.transcoder.v1beta1.Overlay.NormalizedCoordinate xy = 2; @@ -4298,7 +4342,9 @@ public boolean hasXy() { *
        * Normalized coordinates based on output video resolution. Valid
        * values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
-       * object.
+       * object. For example, use the x and y coordinates {0,0} to position the
+       * top-left corner of the overlay animation in the top-left corner of the
+       * output video.
        * 
* * .google.cloud.video.transcoder.v1beta1.Overlay.NormalizedCoordinate xy = 2; @@ -4321,7 +4367,9 @@ public com.google.cloud.video.transcoder.v1beta1.Overlay.NormalizedCoordinate ge *
        * Normalized coordinates based on output video resolution. Valid
        * values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
-       * object.
+       * object. For example, use the x and y coordinates {0,0} to position the
+       * top-left corner of the overlay animation in the top-left corner of the
+       * output video.
        * 
* * .google.cloud.video.transcoder.v1beta1.Overlay.NormalizedCoordinate xy = 2; @@ -4346,7 +4394,9 @@ public Builder setXy( *
        * Normalized coordinates based on output video resolution. Valid
        * values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
-       * object.
+       * object. For example, use the x and y coordinates {0,0} to position the
+       * top-left corner of the overlay animation in the top-left corner of the
+       * output video.
        * 
* * .google.cloud.video.transcoder.v1beta1.Overlay.NormalizedCoordinate xy = 2; @@ -4369,7 +4419,9 @@ public Builder setXy( *
        * Normalized coordinates based on output video resolution. Valid
        * values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
-       * object.
+       * object. For example, use the x and y coordinates {0,0} to position the
+       * top-left corner of the overlay animation in the top-left corner of the
+       * output video.
        * 
* * .google.cloud.video.transcoder.v1beta1.Overlay.NormalizedCoordinate xy = 2; @@ -4399,7 +4451,9 @@ public Builder mergeXy( *
        * Normalized coordinates based on output video resolution. Valid
        * values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
-       * object.
+       * object. For example, use the x and y coordinates {0,0} to position the
+       * top-left corner of the overlay animation in the top-left corner of the
+       * output video.
        * 
* * .google.cloud.video.transcoder.v1beta1.Overlay.NormalizedCoordinate xy = 2; @@ -4421,7 +4475,9 @@ public Builder clearXy() { *
        * Normalized coordinates based on output video resolution. Valid
        * values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
-       * object.
+       * object. For example, use the x and y coordinates {0,0} to position the
+       * top-left corner of the overlay animation in the top-left corner of the
+       * output video.
        * 
* * .google.cloud.video.transcoder.v1beta1.Overlay.NormalizedCoordinate xy = 2; @@ -4438,7 +4494,9 @@ public Builder clearXy() { *
        * Normalized coordinates based on output video resolution. Valid
        * values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
-       * object.
+       * object. For example, use the x and y coordinates {0,0} to position the
+       * top-left corner of the overlay animation in the top-left corner of the
+       * output video.
        * 
* * .google.cloud.video.transcoder.v1beta1.Overlay.NormalizedCoordinate xy = 2; @@ -4460,7 +4518,9 @@ public Builder clearXy() { *
        * Normalized coordinates based on output video resolution. Valid
        * values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
-       * object.
+       * object. For example, use the x and y coordinates {0,0} to position the
+       * top-left corner of the overlay animation in the top-left corner of the
+       * output video.
        * 
* * .google.cloud.video.transcoder.v1beta1.Overlay.NormalizedCoordinate xy = 2; diff --git a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/PreprocessingConfig.java b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/PreprocessingConfig.java index 7c44c81d..b4c85e44 100644 --- a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/PreprocessingConfig.java +++ b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/PreprocessingConfig.java @@ -140,6 +140,42 @@ private PreprocessingConfig( audio_ = subBuilder.buildPartial(); } + break; + } + case 42: + { + com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Crop.Builder + subBuilder = null; + if (crop_ != null) { + subBuilder = crop_.toBuilder(); + } + crop_ = + input.readMessage( + com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Crop.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(crop_); + crop_ = subBuilder.buildPartial(); + } + + break; + } + case 50: + { + com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Pad.Builder subBuilder = + null; + if (pad_ != null) { + subBuilder = pad_.toBuilder(); + } + pad_ = + input.readMessage( + com.google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Pad.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(pad_); + pad_ = subBuilder.buildPartial(); + } + break; } default: @@ -2486,12 +2522,15 @@ public interface AudioOrBuilder * *
      * Specify audio loudness normalization in loudness units relative to full
-     * scale (LUFS). Enter a value between -24 and 0, where -24 is the Advanced
-     * Television Systems Committee (ATSC A/85), -23 is the EU R128 broadcast
-     * standard, -19 is the prior standard for online mono audio, -18 is the
-     * ReplayGain standard, -16 is the prior standard for stereo audio, -14 is
-     * the new online audio standard recommended by Spotify, as well as Amazon
-     * Echo, and 0 disables normalization. The default is 0.
+     * scale (LUFS). Enter a value between -24 and 0 (the default), where:
+     * *   -24 is the Advanced Television Systems Committee (ATSC A/85) standard
+     * *   -23 is the EU R128 broadcast standard
+     * *   -19 is the prior standard for online mono audio
+     * *   -18 is the ReplayGain standard
+     * *   -16 is the prior standard for stereo audio
+     * *   -14 is the new online audio standard recommended by Spotify, as well
+     *     as Amazon Echo
+     * *   0 disables normalization
      * 
* * double lufs = 1; @@ -2632,12 +2671,15 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
      * Specify audio loudness normalization in loudness units relative to full
-     * scale (LUFS). Enter a value between -24 and 0, where -24 is the Advanced
-     * Television Systems Committee (ATSC A/85), -23 is the EU R128 broadcast
-     * standard, -19 is the prior standard for online mono audio, -18 is the
-     * ReplayGain standard, -16 is the prior standard for stereo audio, -14 is
-     * the new online audio standard recommended by Spotify, as well as Amazon
-     * Echo, and 0 disables normalization. The default is 0.
+     * scale (LUFS). Enter a value between -24 and 0 (the default), where:
+     * *   -24 is the Advanced Television Systems Committee (ATSC A/85) standard
+     * *   -23 is the EU R128 broadcast standard
+     * *   -19 is the prior standard for online mono audio
+     * *   -18 is the ReplayGain standard
+     * *   -16 is the prior standard for stereo audio
+     * *   -14 is the new online audio standard recommended by Spotify, as well
+     *     as Amazon Echo
+     * *   0 disables normalization
      * 
* * double lufs = 1; @@ -3054,12 +3096,15 @@ public Builder mergeFrom( * *
        * Specify audio loudness normalization in loudness units relative to full
-       * scale (LUFS). Enter a value between -24 and 0, where -24 is the Advanced
-       * Television Systems Committee (ATSC A/85), -23 is the EU R128 broadcast
-       * standard, -19 is the prior standard for online mono audio, -18 is the
-       * ReplayGain standard, -16 is the prior standard for stereo audio, -14 is
-       * the new online audio standard recommended by Spotify, as well as Amazon
-       * Echo, and 0 disables normalization. The default is 0.
+       * scale (LUFS). Enter a value between -24 and 0 (the default), where:
+       * *   -24 is the Advanced Television Systems Committee (ATSC A/85) standard
+       * *   -23 is the EU R128 broadcast standard
+       * *   -19 is the prior standard for online mono audio
+       * *   -18 is the ReplayGain standard
+       * *   -16 is the prior standard for stereo audio
+       * *   -14 is the new online audio standard recommended by Spotify, as well
+       *     as Amazon Echo
+       * *   0 disables normalization
        * 
* * double lufs = 1; @@ -3075,12 +3120,15 @@ public double getLufs() { * *
        * Specify audio loudness normalization in loudness units relative to full
-       * scale (LUFS). Enter a value between -24 and 0, where -24 is the Advanced
-       * Television Systems Committee (ATSC A/85), -23 is the EU R128 broadcast
-       * standard, -19 is the prior standard for online mono audio, -18 is the
-       * ReplayGain standard, -16 is the prior standard for stereo audio, -14 is
-       * the new online audio standard recommended by Spotify, as well as Amazon
-       * Echo, and 0 disables normalization. The default is 0.
+       * scale (LUFS). Enter a value between -24 and 0 (the default), where:
+       * *   -24 is the Advanced Television Systems Committee (ATSC A/85) standard
+       * *   -23 is the EU R128 broadcast standard
+       * *   -19 is the prior standard for online mono audio
+       * *   -18 is the ReplayGain standard
+       * *   -16 is the prior standard for stereo audio
+       * *   -14 is the new online audio standard recommended by Spotify, as well
+       *     as Amazon Echo
+       * *   0 disables normalization
        * 
* * double lufs = 1; @@ -3099,12 +3147,15 @@ public Builder setLufs(double value) { * *
        * Specify audio loudness normalization in loudness units relative to full
-       * scale (LUFS). Enter a value between -24 and 0, where -24 is the Advanced
-       * Television Systems Committee (ATSC A/85), -23 is the EU R128 broadcast
-       * standard, -19 is the prior standard for online mono audio, -18 is the
-       * ReplayGain standard, -16 is the prior standard for stereo audio, -14 is
-       * the new online audio standard recommended by Spotify, as well as Amazon
-       * Echo, and 0 disables normalization. The default is 0.
+       * scale (LUFS). Enter a value between -24 and 0 (the default), where:
+       * *   -24 is the Advanced Television Systems Committee (ATSC A/85) standard
+       * *   -23 is the EU R128 broadcast standard
+       * *   -19 is the prior standard for online mono audio
+       * *   -18 is the ReplayGain standard
+       * *   -16 is the prior standard for stereo audio
+       * *   -14 is the new online audio standard recommended by Spotify, as well
+       *     as Amazon Echo
+       * *   0 disables normalization
        * 
* * double lufs = 1; @@ -3277,213 +3328,2057 @@ public com.google.protobuf.Parser
diff --git a/google-cloud-video-transcoder/pom.xml b/google-cloud-video-transcoder/pom.xml index 1e1ac8f2..5cc7f523 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.2.1-SNAPSHOT + 0.3.0 jar Google Video Transcoder https://github.com/googleapis/java-video-transcoder @@ -11,7 +11,7 @@ com.google.cloud google-cloud-video-transcoder-parent - 0.2.1-SNAPSHOT + 0.3.0 google-cloud-video-transcoder diff --git a/grpc-google-cloud-video-transcoder-v1/pom.xml b/grpc-google-cloud-video-transcoder-v1/pom.xml index b6267520..8ec3668c 100644 --- a/grpc-google-cloud-video-transcoder-v1/pom.xml +++ b/grpc-google-cloud-video-transcoder-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-video-transcoder-v1 - 0.2.1-SNAPSHOT + 0.3.0 grpc-google-cloud-video-transcoder-v1 GRPC library for google-cloud-video-transcoder com.google.cloud google-cloud-video-transcoder-parent - 0.2.1-SNAPSHOT + 0.3.0 diff --git a/grpc-google-cloud-video-transcoder-v1beta1/pom.xml b/grpc-google-cloud-video-transcoder-v1beta1/pom.xml index 56839515..93ca1c6d 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.2.1-SNAPSHOT + 0.3.0 grpc-google-cloud-video-transcoder-v1beta1 GRPC library for google-cloud-video-transcoder com.google.cloud google-cloud-video-transcoder-parent - 0.2.1-SNAPSHOT + 0.3.0 diff --git a/pom.xml b/pom.xml index fc49379b..343161a5 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-video-transcoder-parent pom - 0.2.1-SNAPSHOT + 0.3.0 Google Video Transcoder Parent https://github.com/googleapis/java- @@ -61,27 +61,27 @@ com.google.cloud google-cloud-video-transcoder - 0.2.1-SNAPSHOT + 0.3.0 com.google.api.grpc proto-google-cloud-video-transcoder-v1 - 0.2.1-SNAPSHOT + 0.3.0 com.google.api.grpc grpc-google-cloud-video-transcoder-v1 - 0.2.1-SNAPSHOT + 0.3.0 com.google.api.grpc proto-google-cloud-video-transcoder-v1beta1 - 0.2.1-SNAPSHOT + 0.3.0 com.google.api.grpc grpc-google-cloud-video-transcoder-v1beta1 - 0.2.1-SNAPSHOT + 0.3.0 diff --git a/proto-google-cloud-video-transcoder-v1/pom.xml b/proto-google-cloud-video-transcoder-v1/pom.xml index b00b105d..38463d06 100644 --- a/proto-google-cloud-video-transcoder-v1/pom.xml +++ b/proto-google-cloud-video-transcoder-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-video-transcoder-v1 - 0.2.1-SNAPSHOT + 0.3.0 proto-google-cloud-video-transcoder-v1 Proto library for google-cloud-video-transcoder com.google.cloud google-cloud-video-transcoder-parent - 0.2.1-SNAPSHOT + 0.3.0 diff --git a/proto-google-cloud-video-transcoder-v1beta1/pom.xml b/proto-google-cloud-video-transcoder-v1beta1/pom.xml index 71df4201..a6f5463c 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.2.1-SNAPSHOT + 0.3.0 proto-google-cloud-video-transcoder-v1beta1 Proto library for google-cloud-video-transcoder com.google.cloud google-cloud-video-transcoder-parent - 0.2.1-SNAPSHOT + 0.3.0 diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index cdb9119e..c0513efd 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -28,7 +28,7 @@ com.google.cloud google-cloud-video-transcoder - 0.2.1-SNAPSHOT + 0.3.0 diff --git a/versions.txt b/versions.txt index 9df5828c..a3603e41 100644 --- a/versions.txt +++ b/versions.txt @@ -1,8 +1,8 @@ # Format: # module:released-version:current-version -google-cloud-video-transcoder:0.2.0:0.2.1-SNAPSHOT -grpc-google-cloud-video-transcoder-v1beta1:0.2.0:0.2.1-SNAPSHOT -grpc-google-cloud-video-transcoder-v1:0.2.0:0.2.1-SNAPSHOT -proto-google-cloud-video-transcoder-v1beta1:0.2.0:0.2.1-SNAPSHOT -proto-google-cloud-video-transcoder-v1:0.2.0:0.2.1-SNAPSHOT +google-cloud-video-transcoder:0.3.0:0.3.0 +grpc-google-cloud-video-transcoder-v1beta1:0.3.0:0.3.0 +grpc-google-cloud-video-transcoder-v1:0.3.0:0.3.0 +proto-google-cloud-video-transcoder-v1beta1:0.3.0:0.3.0 +proto-google-cloud-video-transcoder-v1:0.3.0:0.3.0