diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml index afb21e42..3d2f8282 100644 --- a/.github/.OwlBot.lock.yaml +++ b/.github/.OwlBot.lock.yaml @@ -1,3 +1,3 @@ docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:52b5557b7155a80e6f1684c2376d5eef0df6d8d5c785551e1ff8cc000603b62a + digest: sha256:a4d7b2cfc6a9d6b378a6b2458740eae15fcab28854bd23dad3a15102d2e47c87 diff --git a/.github/blunderbuss.yml b/.github/blunderbuss.yml index 1a23ea42..2176b054 100644 --- a/.github/blunderbuss.yml +++ b/.github/blunderbuss.yml @@ -1,5 +1,5 @@ # Configuration for the Blunderbuss GitHub app. For more info see -# https://github.com/googleapis/repo-automation-bots/tree/master/packages/blunderbuss +# https://github.com/googleapis/repo-automation-bots/tree/main/packages/blunderbuss assign_prs_by: - labels: - samples diff --git a/.github/sync-repo-settings.yaml b/.github/sync-repo-settings.yaml index 32e0ea5a..6f09d695 100644 --- a/.github/sync-repo-settings.yaml +++ b/.github/sync-repo-settings.yaml @@ -2,7 +2,7 @@ rebaseMergeAllowed: false squashMergeAllowed: true mergeCommitAllowed: false branchProtectionRules: - - pattern: master + - pattern: main isAdminEnforced: true requiredApprovingReviewCount: 1 requiresCodeOwnerReviews: true diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 3becb5c0..05de1f60 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1,22 +1,21 @@ on: push: branches: - - master + - main pull_request: name: ci jobs: units: runs-on: ubuntu-latest strategy: + fail-fast: false matrix: - java: [8, 11] + java: [8, 11, 17] steps: - uses: actions/checkout@v2 - - uses: stCarolas/setup-maven@v4 - with: - maven-version: 3.8.1 - - uses: actions/setup-java@v1 + - uses: actions/setup-java@v2 with: + distribution: zulu java-version: ${{matrix.java}} - run: java -version - run: .kokoro/build.sh @@ -26,11 +25,9 @@ jobs: runs-on: windows-latest steps: - uses: actions/checkout@v2 - - uses: stCarolas/setup-maven@v4 - with: - maven-version: 3.8.1 - - uses: actions/setup-java@v1 + - uses: actions/setup-java@v2 with: + distribution: zulu java-version: 8 - run: java -version - run: .kokoro/build.bat @@ -40,14 +37,12 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - java: [8, 11] + java: [8, 11, 17] steps: - uses: actions/checkout@v2 - - uses: stCarolas/setup-maven@v4 - with: - maven-version: 3.8.1 - - uses: actions/setup-java@v1 + - uses: actions/setup-java@v2 with: + distribution: zulu java-version: ${{matrix.java}} - run: java -version - run: .kokoro/dependencies.sh @@ -55,12 +50,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - uses: stCarolas/setup-maven@v4 + - uses: actions/setup-java@v2 with: - maven-version: 3.8.1 - - uses: actions/setup-java@v1 - with: - java-version: 8 + distribution: zulu + java-version: 11 - run: java -version - run: .kokoro/build.sh env: @@ -69,11 +62,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - uses: stCarolas/setup-maven@v4 - with: - maven-version: 3.8.1 - - uses: actions/setup-java@v1 + - uses: actions/setup-java@v2 with: + distribution: zulu java-version: 8 - run: java -version - run: .kokoro/build.sh diff --git a/.kokoro/build.sh b/.kokoro/build.sh index 1a7feb39..6bc5e3e4 100755 --- a/.kokoro/build.sh +++ b/.kokoro/build.sh @@ -69,6 +69,11 @@ integration) verify RETURN_CODE=$? ;; +graalvm) + # Run Unit and Integration Tests with Native Image + mvn -ntp -Pnative -Penable-integration-tests test + RETURN_CODE=$? + ;; samples) SAMPLES_DIR=samples # only run ITs in snapshot/ on presubmit PRs. run ITs in all 3 samples/ subdirectories otherwise. @@ -86,7 +91,6 @@ samples) pushd ${SAMPLES_DIR} mvn -B \ - -Penable-samples \ -ntp \ -DtrimStackTrace=false \ -Dclirr.skip=true \ diff --git a/.kokoro/dependencies.sh b/.kokoro/dependencies.sh index 9030ba8f..d7476cfe 100755 --- a/.kokoro/dependencies.sh +++ b/.kokoro/dependencies.sh @@ -28,7 +28,26 @@ source ${scriptDir}/common.sh java -version echo $JOB_TYPE -export MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=128m" +function determineMavenOpts() { + local javaVersion=$( + # filter down to the version line, then pull out the version between quotes, + # then trim the version number down to its minimal number (removing any + # update or suffix number). + java -version 2>&1 | grep "version" \ + | sed -E 's/^.*"(.*?)".*$/\1/g' \ + | sed -E 's/^(1\.[0-9]\.0).*$/\1/g' + ) + + if [[ $javaVersion == 17* ]] + then + # MaxPermSize is no longer supported as of jdk 17 + echo -n "-Xmx1024m" + else + echo -n "-Xmx1024m -XX:MaxPermSize=128m" + fi +} + +export MAVEN_OPTS=$(determineMavenOpts) # this should run maven enforcer retry_with_backoff 3 10 \ diff --git a/.kokoro/presubmit/graalvm-native.cfg b/.kokoro/presubmit/graalvm-native.cfg new file mode 100644 index 00000000..4c7225ec --- /dev/null +++ b/.kokoro/presubmit/graalvm-native.cfg @@ -0,0 +1,33 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/graalvm" +} + +env_vars: { + key: "JOB_TYPE" + value: "graalvm" +} + +# TODO: remove this after we've migrated all tests and scripts +env_vars: { + key: "GCLOUD_PROJECT" + value: "gcloud-devel" +} + +env_vars: { + key: "GOOGLE_CLOUD_PROJECT" + value: "gcloud-devel" +} + +env_vars: { + key: "GOOGLE_APPLICATION_CREDENTIALS" + value: "secret_manager/java-it-service-account" +} + +env_vars: { + key: "SECRET_MANAGER_KEYS" + value: "java-it-service-account" +} diff --git a/.kokoro/release/publish_javadoc11.sh b/.kokoro/release/publish_javadoc11.sh index 92933248..68157a03 100755 --- a/.kokoro/release/publish_javadoc11.sh +++ b/.kokoro/release/publish_javadoc11.sh @@ -36,13 +36,9 @@ mvn clean install -B -q -DskipTests=true export NAME=google-cloud-video-transcoder export VERSION=$(grep ${NAME}: versions.txt | cut -d: -f3) -# V3 generates docfx yml from javadoc -# generate yml -mvn clean site -B -q -P docFX - -# copy README to docfx-yml dir and rename index.md -cp README.md target/docfx-yml/index.md -# copy CHANGELOG to docfx-yml dir and rename history.md +# cloud RAD generation +mvn clean javadoc:aggregate -B -q -P docFX +# include CHANGELOG cp CHANGELOG.md target/docfx-yml/history.md pushd target/docfx-yml diff --git a/.repo-metadata.json b/.repo-metadata.json index f547e380..b9d267a9 100644 --- a/.repo-metadata.json +++ b/.repo-metadata.json @@ -3,7 +3,7 @@ "name_pretty": "Video Transcoder", "product_documentation": "https://cloud.google.com/transcoder/docs", "api_description": "allows you to transcode videos into a variety of formats. The Transcoder API benefits broadcasters, production companies, businesses, and individuals looking to transform their video content for use across a variety of user devices.", - "client_documentation": "https://googleapis.dev/java/google-cloud-video-transcoder/latest/index.html", + "client_documentation": "https://cloud.google.com/java/docs/reference/google-cloud-video-transcoder/latest/history", "release_level": "beta", "transport": "grpc", "language": "java", diff --git a/CHANGELOG.md b/CHANGELOG.md index 7f570179..a3ad338c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,25 @@ # Changelog +### [0.4.2](https://www.github.com/googleapis/java-video-transcoder/compare/v0.4.1...v0.4.2) (2021-12-06) + + +### Bug Fixes + +* **java:** add -ntp flag to native image testing command ([#1299](https://www.github.com/googleapis/java-video-transcoder/issues/1299)) ([#269](https://www.github.com/googleapis/java-video-transcoder/issues/269)) ([f5ab0d7](https://www.github.com/googleapis/java-video-transcoder/commit/f5ab0d7433140a0aab2b1ca3d4006a2fd673c7b5)) +* **java:** java 17 dependency arguments ([#1266](https://www.github.com/googleapis/java-video-transcoder/issues/1266)) ([#255](https://www.github.com/googleapis/java-video-transcoder/issues/255)) ([1e74e68](https://www.github.com/googleapis/java-video-transcoder/commit/1e74e6898106ce96910c90e2ce0a48d3b5b07008)) + + +### Documentation + +* clarify that project number is used as the canonical project identifier for job and job template names ([#247](https://www.github.com/googleapis/java-video-transcoder/issues/247)) ([27b43b5](https://www.github.com/googleapis/java-video-transcoder/commit/27b43b50f83eed71c568e572b03374db53b9a0d0)) + + +### Dependencies + +* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.4.0 ([#253](https://www.github.com/googleapis/java-video-transcoder/issues/253)) ([651582c](https://www.github.com/googleapis/java-video-transcoder/commit/651582cce07f167e39557fdbd825ceed8b05a38c)) +* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.5.0 ([#263](https://www.github.com/googleapis/java-video-transcoder/issues/263)) ([216ac11](https://www.github.com/googleapis/java-video-transcoder/commit/216ac110642cca13ce10876533ab1b1bae7561eb)) +* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.5.1 ([#268](https://www.github.com/googleapis/java-video-transcoder/issues/268)) ([af5d51f](https://www.github.com/googleapis/java-video-transcoder/commit/af5d51f6b01f2f465fae2d1f3ef730bbb9424749)) + ### [0.4.1](https://www.github.com/googleapis/java-video-transcoder/compare/v0.4.0...v0.4.1) (2021-09-27) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index f2dbdee0..b65dd279 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -53,12 +53,12 @@ mvn -Penable-integration-tests clean verify ## Code Samples -Code Samples must be bundled in separate Maven modules, and guarded by a -Maven profile with the name `enable-samples`. +All code samples must be in compliance with the [java sample formatting guide][3]. +Code Samples must be bundled in separate Maven modules. The samples must be separate from the primary project for a few reasons: -1. Primary projects have a minimum Java version of Java 7 whereas samples have - a minimum Java version of Java 8. Due to this we need the ability to +1. Primary projects have a minimum Java version of Java 8 whereas samples can have + Java version of Java 11. Due to this we need the ability to selectively exclude samples from a build run. 2. Many code samples depend on external GCP services and need credentials to access the service. @@ -68,39 +68,16 @@ The samples must be separate from the primary project for a few reasons: ### Building ```bash -mvn -Penable-samples clean verify +mvn clean verify ``` Some samples require access to GCP services and require a service account: ```bash export GOOGLE_APPLICATION_CREDENTIALS=/path/to/service/account.json -mvn -Penable-samples clean verify +mvn clean verify ``` -### Profile Config - -1. To add samples in a profile to your Maven project, add the following to your -`pom.xml` - - ```xml - - [...] - - - enable-samples - - sample - - - - [...] - - ``` - -2. [Activate](#profile-activation) the profile. -3. Define your samples in a normal Maven project in the `samples/` directory. - ### Code Formatting Code in this repo is formatted with @@ -110,30 +87,6 @@ To run formatting on your project, you can run: mvn com.coveo:fmt-maven-plugin:format ``` -### Profile Activation - -To include code samples when building and testing the project, enable the -`enable-samples` Maven profile. - -#### Command line - -To activate the Maven profile on the command line add `-Penable-samples` to your -Maven command. - -#### Maven `settings.xml` - -To activate the Maven profile in your `~/.m2/settings.xml` add an entry of -`enable-samples` following the instructions in [Active Profiles][2]. - -This method has the benefit of applying to all projects you build (and is -respected by IntelliJ IDEA) and is recommended if you are going to be -contributing samples to several projects. - -#### IntelliJ IDEA - -To activate the Maven Profile inside IntelliJ IDEA, follow the instructions in -[Activate Maven profiles][3] to activate `enable-samples`. - [1]: https://cloud.google.com/docs/authentication/getting-started#creating_a_service_account [2]: https://maven.apache.org/settings.html#Active_Profiles -[3]: https://www.jetbrains.com/help/idea/work-with-maven-profiles.html#activate_maven_profiles +[3]: https://github.com/GoogleCloudPlatform/java-docs-samples/blob/main/SAMPLE_FORMAT.md \ No newline at end of file diff --git a/README.md b/README.md index 2f2a1594..3af07759 100644 --- a/README.md +++ b/README.md @@ -22,20 +22,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-video-transcoder - 0.4.0 + 0.4.1 ``` If you are using Gradle without BOM, add this to your dependencies ```Groovy -implementation 'com.google.cloud:google-cloud-video-transcoder:0.4.0' +implementation 'com.google.cloud:google-cloud-video-transcoder:0.4.1' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-video-transcoder" % "0.4.0" +libraryDependencies += "com.google.cloud" % "google-cloud-video-transcoder" % "0.4.1" ``` ## Authentication @@ -84,7 +84,7 @@ Video Transcoder uses gRPC for the transport layer. ## Supported Java Versions -Java 7 or above is required for using this client. +Java 8 or above is required for using this client. Google's Java client libraries, [Google Cloud Client Libraries][cloudlibs] @@ -156,7 +156,6 @@ Apache 2.0 - See [LICENSE][license] for more information. Java Version | Status ------------ | ------ -Java 7 | [![Kokoro CI][kokoro-badge-image-1]][kokoro-badge-link-1] Java 8 | [![Kokoro CI][kokoro-badge-image-2]][kokoro-badge-link-2] Java 8 OSX | [![Kokoro CI][kokoro-badge-image-3]][kokoro-badge-link-3] Java 8 Windows | [![Kokoro CI][kokoro-badge-image-4]][kokoro-badge-link-4] @@ -165,7 +164,7 @@ Java 11 | [![Kokoro CI][kokoro-badge-image-5]][kokoro-badge-link-5] Java is a registered trademark of Oracle and/or its affiliates. [product-docs]: https://cloud.google.com/transcoder/docs -[javadocs]: https://googleapis.dev/java/google-cloud-video-transcoder/latest/index.html +[javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-video-transcoder/latest/history [kokoro-badge-image-1]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-video-transcoder/java7.svg [kokoro-badge-link-1]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-video-transcoder/java7.html [kokoro-badge-image-2]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-video-transcoder/java8.svg @@ -186,10 +185,10 @@ Java is a registered trademark of Oracle and/or its affiliates. [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/ -[troubleshooting]: https://github.com/googleapis/google-cloud-common/blob/master/troubleshooting/readme.md#troubleshooting -[contributing]: https://github.com/googleapis/java-video-transcoder/blob/master/CONTRIBUTING.md -[code-of-conduct]: https://github.com/googleapis/java-video-transcoder/blob/master/CODE_OF_CONDUCT.md#contributor-code-of-conduct -[license]: https://github.com/googleapis/java-video-transcoder/blob/master/LICENSE +[troubleshooting]: https://github.com/googleapis/google-cloud-common/blob/main/troubleshooting/readme.md#troubleshooting +[contributing]: https://github.com/googleapis/java-video-transcoder/blob/main/CONTRIBUTING.md +[code-of-conduct]: https://github.com/googleapis/java-video-transcoder/blob/main/CODE_OF_CONDUCT.md#contributor-code-of-conduct +[license]: https://github.com/googleapis/java-video-transcoder/blob/main/LICENSE [enable-billing]: https://cloud.google.com/apis/docs/getting-started#enabling_billing [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 diff --git a/google-cloud-video-transcoder-bom/pom.xml b/google-cloud-video-transcoder-bom/pom.xml index 7be2c9e2..eb656312 100644 --- a/google-cloud-video-transcoder-bom/pom.xml +++ b/google-cloud-video-transcoder-bom/pom.xml @@ -3,12 +3,12 @@ 4.0.0 com.google.cloud google-cloud-video-transcoder-bom - 0.4.1 + 0.4.2 pom com.google.cloud google-cloud-shared-config - 1.0.3 + 1.2.2 Google Video Transcoder BOM @@ -57,27 +57,27 @@ com.google.cloud google-cloud-video-transcoder - 0.4.1 + 0.4.2 com.google.api.grpc grpc-google-cloud-video-transcoder-v1beta1 - 0.4.1 + 0.4.2 com.google.api.grpc grpc-google-cloud-video-transcoder-v1 - 0.4.1 + 0.4.2 com.google.api.grpc proto-google-cloud-video-transcoder-v1beta1 - 0.4.1 + 0.4.2 com.google.api.grpc proto-google-cloud-video-transcoder-v1 - 0.4.1 + 0.4.2 diff --git a/google-cloud-video-transcoder/pom.xml b/google-cloud-video-transcoder/pom.xml index 13ba602b..ac092977 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.4.1 + 0.4.2 jar Google Video Transcoder https://github.com/googleapis/java-video-transcoder @@ -11,7 +11,7 @@ com.google.cloud google-cloud-video-transcoder-parent - 0.4.1 + 0.4.2 google-cloud-video-transcoder 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 1f8b678d..88ec3306 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 @@ -539,6 +539,7 @@ public final void deleteJob(String name) { * DeleteJobRequest request = * DeleteJobRequest.newBuilder() * .setName(JobName.of("[PROJECT]", "[LOCATION]", "[JOB]").toString()) + * .setAllowMissing(true) * .build(); * transcoderServiceClient.deleteJob(request); * } @@ -562,6 +563,7 @@ public final void deleteJob(DeleteJobRequest request) { * DeleteJobRequest request = * DeleteJobRequest.newBuilder() * .setName(JobName.of("[PROJECT]", "[LOCATION]", "[JOB]").toString()) + * .setAllowMissing(true) * .build(); * ApiFuture future = transcoderServiceClient.deleteJobCallable().futureCall(request); * // Do something. @@ -992,6 +994,7 @@ public final void deleteJobTemplate(String name) { * DeleteJobTemplateRequest request = * DeleteJobTemplateRequest.newBuilder() * .setName(JobTemplateName.of("[PROJECT]", "[LOCATION]", "[JOB_TEMPLATE]").toString()) + * .setAllowMissing(true) * .build(); * transcoderServiceClient.deleteJobTemplate(request); * } @@ -1015,6 +1018,7 @@ public final void deleteJobTemplate(DeleteJobTemplateRequest request) { * DeleteJobTemplateRequest request = * DeleteJobTemplateRequest.newBuilder() * .setName(JobTemplateName.of("[PROJECT]", "[LOCATION]", "[JOB_TEMPLATE]").toString()) + * .setAllowMissing(true) * .build(); * ApiFuture future = * transcoderServiceClient.deleteJobTemplateCallable().futureCall(request); diff --git a/grpc-google-cloud-video-transcoder-v1/pom.xml b/grpc-google-cloud-video-transcoder-v1/pom.xml index 3cfa6450..ed80839f 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.4.1 + 0.4.2 grpc-google-cloud-video-transcoder-v1 GRPC library for google-cloud-video-transcoder com.google.cloud google-cloud-video-transcoder-parent - 0.4.1 + 0.4.2 diff --git a/grpc-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/TranscoderServiceGrpc.java b/grpc-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/TranscoderServiceGrpc.java index 3cf1db65..6476fa16 100644 --- a/grpc-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/TranscoderServiceGrpc.java +++ b/grpc-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/TranscoderServiceGrpc.java @@ -32,6 +32,7 @@ @javax.annotation.Generated( value = "by gRPC proto compiler", comments = "Source: google/cloud/video/transcoder/v1/services.proto") +@io.grpc.stub.annotations.GrpcGenerated public final class TranscoderServiceGrpc { private TranscoderServiceGrpc() {} diff --git a/grpc-google-cloud-video-transcoder-v1beta1/pom.xml b/grpc-google-cloud-video-transcoder-v1beta1/pom.xml index cfc4d0fd..e517e13b 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.4.1 + 0.4.2 grpc-google-cloud-video-transcoder-v1beta1 GRPC library for google-cloud-video-transcoder com.google.cloud google-cloud-video-transcoder-parent - 0.4.1 + 0.4.2 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 a0900742..b9af2b09 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") +@io.grpc.stub.annotations.GrpcGenerated @java.lang.Deprecated public final class TranscoderServiceGrpc { diff --git a/pom.xml b/pom.xml index a4d29215..f81b4025 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-video-transcoder-parent pom - 0.4.1 + 0.4.2 Google Video Transcoder Parent https://github.com/googleapis/java- @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 1.0.3 + 1.2.2 @@ -61,33 +61,33 @@ com.google.cloud google-cloud-video-transcoder - 0.4.1 + 0.4.2 com.google.api.grpc proto-google-cloud-video-transcoder-v1 - 0.4.1 + 0.4.2 com.google.api.grpc grpc-google-cloud-video-transcoder-v1 - 0.4.1 + 0.4.2 com.google.api.grpc proto-google-cloud-video-transcoder-v1beta1 - 0.4.1 + 0.4.2 com.google.api.grpc grpc-google-cloud-video-transcoder-v1beta1 - 0.4.1 + 0.4.2 com.google.cloud google-cloud-shared-dependencies - 2.3.0 + 2.5.1 pom import diff --git a/proto-google-cloud-video-transcoder-v1/clirr-ignored-differences.xml b/proto-google-cloud-video-transcoder-v1/clirr-ignored-differences.xml index c460468c..dfb75013 100644 --- a/proto-google-cloud-video-transcoder-v1/clirr-ignored-differences.xml +++ b/proto-google-cloud-video-transcoder-v1/clirr-ignored-differences.xml @@ -16,4 +16,33 @@ com/google/cloud/video/transcoder/v1/*OrBuilder boolean has*(*) + + 8001 + com/google/cloud/video/transcoder/v1/Encryption* + + + 6011 + com/google/cloud/video/transcoder/v1/MuxStream + ENCRYPTION_FIELD_NUMBER + + + 7002 + com/google/cloud/video/transcoder/v1/MuxStream + *Encryption() + + + 7002 + com/google/cloud/video/transcoder/v1/MuxStream + *EncryptionOrBuilder() + + + 7002 + com/google/cloud/video/transcoder/v1/MuxStream*Builder + *Encryption(*) + + + 7002 + com/google/cloud/video/transcoder/v1/MuxStream*Builder + *Encryption*Builder(*) + diff --git a/proto-google-cloud-video-transcoder-v1/pom.xml b/proto-google-cloud-video-transcoder-v1/pom.xml index a14a6432..08312fcb 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.4.1 + 0.4.2 proto-google-cloud-video-transcoder-v1 Proto library for google-cloud-video-transcoder com.google.cloud google-cloud-video-transcoder-parent - 0.4.1 + 0.4.2 diff --git a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/AudioStream.java b/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/AudioStream.java index 382d1f05..97165358 100644 --- a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/AudioStream.java +++ b/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/AudioStream.java @@ -577,10 +577,10 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getAtomKeyBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(atomKey_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, atomKey_); } - if (!getInputKeyBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inputKey_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, inputKey_); } if (inputTrack_ != 0) { @@ -604,10 +604,10 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getAtomKeyBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(atomKey_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, atomKey_); } - if (!getInputKeyBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inputKey_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, inputKey_); } if (inputTrack_ != 0) { @@ -1459,14 +1459,14 @@ public com.google.protobuf.Parser getParserForType() { * * *
-   * The codec for this audio stream. The default is `"aac"`.
+   * The codec for this audio stream. The default is `aac`.
    * Supported audio codecs:
-   * - 'aac'
-   * - 'aac-he'
-   * - 'aac-he-v2'
-   * - 'mp3'
-   * - 'ac3'
-   * - 'eac3'
+   * - `aac`
+   * - `aac-he`
+   * - `aac-he-v2`
+   * - `mp3`
+   * - `ac3`
+   * - `eac3`
    * 
* * string codec = 1; @@ -1489,14 +1489,14 @@ public java.lang.String getCodec() { * * *
-   * The codec for this audio stream. The default is `"aac"`.
+   * The codec for this audio stream. The default is `aac`.
    * Supported audio codecs:
-   * - 'aac'
-   * - 'aac-he'
-   * - 'aac-he-v2'
-   * - 'mp3'
-   * - 'ac3'
-   * - 'eac3'
+   * - `aac`
+   * - `aac-he`
+   * - `aac-he-v2`
+   * - `mp3`
+   * - `ac3`
+   * - `eac3`
    * 
* * string codec = 1; @@ -1562,12 +1562,12 @@ public int getChannelCount() { * This only affects the metadata embedded in the container headers, if * supported by the specified format. The default is `["fl", "fr"]`. * Supported channel names: - * - 'fl' - Front left channel - * - 'fr' - Front right channel - * - 'sl' - Side left channel - * - 'sr' - Side right channel - * - 'fc' - Front center channel - * - 'lfe' - Low frequency + * - `fl` - Front left channel + * - `fr` - Front right channel + * - `sl` - Side left channel + * - `sr` - Side right channel + * - `fc` - Front center channel + * - `lfe` - Low frequency * * * repeated string channel_layout = 4; @@ -1585,12 +1585,12 @@ public com.google.protobuf.ProtocolStringList getChannelLayoutList() { * This only affects the metadata embedded in the container headers, if * supported by the specified format. The default is `["fl", "fr"]`. * Supported channel names: - * - 'fl' - Front left channel - * - 'fr' - Front right channel - * - 'sl' - Side left channel - * - 'sr' - Side right channel - * - 'fc' - Front center channel - * - 'lfe' - Low frequency + * - `fl` - Front left channel + * - `fr` - Front right channel + * - `sl` - Side left channel + * - `sr` - Side right channel + * - `fc` - Front center channel + * - `lfe` - Low frequency * * * repeated string channel_layout = 4; @@ -1608,12 +1608,12 @@ public int getChannelLayoutCount() { * This only affects the metadata embedded in the container headers, if * supported by the specified format. The default is `["fl", "fr"]`. * Supported channel names: - * - 'fl' - Front left channel - * - 'fr' - Front right channel - * - 'sl' - Side left channel - * - 'sr' - Side right channel - * - 'fc' - Front center channel - * - 'lfe' - Low frequency + * - `fl` - Front left channel + * - `fr` - Front right channel + * - `sl` - Side left channel + * - `sr` - Side right channel + * - `fc` - Front center channel + * - `lfe` - Low frequency * * * repeated string channel_layout = 4; @@ -1632,12 +1632,12 @@ public java.lang.String getChannelLayout(int index) { * This only affects the metadata embedded in the container headers, if * supported by the specified format. The default is `["fl", "fr"]`. * Supported channel names: - * - 'fl' - Front left channel - * - 'fr' - Front right channel - * - 'sl' - Side left channel - * - 'sr' - Side right channel - * - 'fc' - Front center channel - * - 'lfe' - Low frequency + * - `fl` - Front left channel + * - `fr` - Front right channel + * - `sl` - Side left channel + * - `sr` - Side right channel + * - `fc` - Front center channel + * - `lfe` - Low frequency * * * repeated string channel_layout = 4; @@ -1753,7 +1753,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getCodecBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(codec_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, codec_); } if (bitrateBps_ != 0) { @@ -1780,7 +1780,7 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getCodecBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(codec_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, codec_); } if (bitrateBps_ != 0) { @@ -2197,14 +2197,14 @@ public Builder mergeFrom( * * *
-     * The codec for this audio stream. The default is `"aac"`.
+     * The codec for this audio stream. The default is `aac`.
      * Supported audio codecs:
-     * - 'aac'
-     * - 'aac-he'
-     * - 'aac-he-v2'
-     * - 'mp3'
-     * - 'ac3'
-     * - 'eac3'
+     * - `aac`
+     * - `aac-he`
+     * - `aac-he-v2`
+     * - `mp3`
+     * - `ac3`
+     * - `eac3`
      * 
* * string codec = 1; @@ -2226,14 +2226,14 @@ public java.lang.String getCodec() { * * *
-     * The codec for this audio stream. The default is `"aac"`.
+     * The codec for this audio stream. The default is `aac`.
      * Supported audio codecs:
-     * - 'aac'
-     * - 'aac-he'
-     * - 'aac-he-v2'
-     * - 'mp3'
-     * - 'ac3'
-     * - 'eac3'
+     * - `aac`
+     * - `aac-he`
+     * - `aac-he-v2`
+     * - `mp3`
+     * - `ac3`
+     * - `eac3`
      * 
* * string codec = 1; @@ -2255,14 +2255,14 @@ public com.google.protobuf.ByteString getCodecBytes() { * * *
-     * The codec for this audio stream. The default is `"aac"`.
+     * The codec for this audio stream. The default is `aac`.
      * Supported audio codecs:
-     * - 'aac'
-     * - 'aac-he'
-     * - 'aac-he-v2'
-     * - 'mp3'
-     * - 'ac3'
-     * - 'eac3'
+     * - `aac`
+     * - `aac-he`
+     * - `aac-he-v2`
+     * - `mp3`
+     * - `ac3`
+     * - `eac3`
      * 
* * string codec = 1; @@ -2283,14 +2283,14 @@ public Builder setCodec(java.lang.String value) { * * *
-     * The codec for this audio stream. The default is `"aac"`.
+     * The codec for this audio stream. The default is `aac`.
      * Supported audio codecs:
-     * - 'aac'
-     * - 'aac-he'
-     * - 'aac-he-v2'
-     * - 'mp3'
-     * - 'ac3'
-     * - 'eac3'
+     * - `aac`
+     * - `aac-he`
+     * - `aac-he-v2`
+     * - `mp3`
+     * - `ac3`
+     * - `eac3`
      * 
* * string codec = 1; @@ -2307,14 +2307,14 @@ public Builder clearCodec() { * * *
-     * The codec for this audio stream. The default is `"aac"`.
+     * The codec for this audio stream. The default is `aac`.
      * Supported audio codecs:
-     * - 'aac'
-     * - 'aac-he'
-     * - 'aac-he-v2'
-     * - 'mp3'
-     * - 'ac3'
-     * - 'eac3'
+     * - `aac`
+     * - `aac-he`
+     * - `aac-he-v2`
+     * - `mp3`
+     * - `ac3`
+     * - `eac3`
      * 
* * string codec = 1; @@ -2454,12 +2454,12 @@ private void ensureChannelLayoutIsMutable() { * This only affects the metadata embedded in the container headers, if * supported by the specified format. The default is `["fl", "fr"]`. * Supported channel names: - * - 'fl' - Front left channel - * - 'fr' - Front right channel - * - 'sl' - Side left channel - * - 'sr' - Side right channel - * - 'fc' - Front center channel - * - 'lfe' - Low frequency + * - `fl` - Front left channel + * - `fr` - Front right channel + * - `sl` - Side left channel + * - `sr` - Side right channel + * - `fc` - Front center channel + * - `lfe` - Low frequency * * * repeated string channel_layout = 4; @@ -2477,12 +2477,12 @@ public com.google.protobuf.ProtocolStringList getChannelLayoutList() { * This only affects the metadata embedded in the container headers, if * supported by the specified format. The default is `["fl", "fr"]`. * Supported channel names: - * - 'fl' - Front left channel - * - 'fr' - Front right channel - * - 'sl' - Side left channel - * - 'sr' - Side right channel - * - 'fc' - Front center channel - * - 'lfe' - Low frequency + * - `fl` - Front left channel + * - `fr` - Front right channel + * - `sl` - Side left channel + * - `sr` - Side right channel + * - `fc` - Front center channel + * - `lfe` - Low frequency * * * repeated string channel_layout = 4; @@ -2500,12 +2500,12 @@ public int getChannelLayoutCount() { * This only affects the metadata embedded in the container headers, if * supported by the specified format. The default is `["fl", "fr"]`. * Supported channel names: - * - 'fl' - Front left channel - * - 'fr' - Front right channel - * - 'sl' - Side left channel - * - 'sr' - Side right channel - * - 'fc' - Front center channel - * - 'lfe' - Low frequency + * - `fl` - Front left channel + * - `fr` - Front right channel + * - `sl` - Side left channel + * - `sr` - Side right channel + * - `fc` - Front center channel + * - `lfe` - Low frequency * * * repeated string channel_layout = 4; @@ -2524,12 +2524,12 @@ public java.lang.String getChannelLayout(int index) { * This only affects the metadata embedded in the container headers, if * supported by the specified format. The default is `["fl", "fr"]`. * Supported channel names: - * - 'fl' - Front left channel - * - 'fr' - Front right channel - * - 'sl' - Side left channel - * - 'sr' - Side right channel - * - 'fc' - Front center channel - * - 'lfe' - Low frequency + * - `fl` - Front left channel + * - `fr` - Front right channel + * - `sl` - Side left channel + * - `sr` - Side right channel + * - `fc` - Front center channel + * - `lfe` - Low frequency * * * repeated string channel_layout = 4; @@ -2548,12 +2548,12 @@ public com.google.protobuf.ByteString getChannelLayoutBytes(int index) { * This only affects the metadata embedded in the container headers, if * supported by the specified format. The default is `["fl", "fr"]`. * Supported channel names: - * - 'fl' - Front left channel - * - 'fr' - Front right channel - * - 'sl' - Side left channel - * - 'sr' - Side right channel - * - 'fc' - Front center channel - * - 'lfe' - Low frequency + * - `fl` - Front left channel + * - `fr` - Front right channel + * - `sl` - Side left channel + * - `sr` - Side right channel + * - `fc` - Front center channel + * - `lfe` - Low frequency * * * repeated string channel_layout = 4; @@ -2579,12 +2579,12 @@ public Builder setChannelLayout(int index, java.lang.String value) { * This only affects the metadata embedded in the container headers, if * supported by the specified format. The default is `["fl", "fr"]`. * Supported channel names: - * - 'fl' - Front left channel - * - 'fr' - Front right channel - * - 'sl' - Side left channel - * - 'sr' - Side right channel - * - 'fc' - Front center channel - * - 'lfe' - Low frequency + * - `fl` - Front left channel + * - `fr` - Front right channel + * - `sl` - Side left channel + * - `sr` - Side right channel + * - `fc` - Front center channel + * - `lfe` - Low frequency * * * repeated string channel_layout = 4; @@ -2609,12 +2609,12 @@ public Builder addChannelLayout(java.lang.String value) { * This only affects the metadata embedded in the container headers, if * supported by the specified format. The default is `["fl", "fr"]`. * Supported channel names: - * - 'fl' - Front left channel - * - 'fr' - Front right channel - * - 'sl' - Side left channel - * - 'sr' - Side right channel - * - 'fc' - Front center channel - * - 'lfe' - Low frequency + * - `fl` - Front left channel + * - `fr` - Front right channel + * - `sl` - Side left channel + * - `sr` - Side right channel + * - `fc` - Front center channel + * - `lfe` - Low frequency * * * repeated string channel_layout = 4; @@ -2636,12 +2636,12 @@ public Builder addAllChannelLayout(java.lang.Iterable values) * This only affects the metadata embedded in the container headers, if * supported by the specified format. The default is `["fl", "fr"]`. * Supported channel names: - * - 'fl' - Front left channel - * - 'fr' - Front right channel - * - 'sl' - Side left channel - * - 'sr' - Side right channel - * - 'fc' - Front center channel - * - 'lfe' - Low frequency + * - `fl` - Front left channel + * - `fr` - Front right channel + * - `sl` - Side left channel + * - `sr` - Side right channel + * - `fc` - Front center channel + * - `lfe` - Low frequency * * * repeated string channel_layout = 4; @@ -2662,12 +2662,12 @@ public Builder clearChannelLayout() { * This only affects the metadata embedded in the container headers, if * supported by the specified format. The default is `["fl", "fr"]`. * Supported channel names: - * - 'fl' - Front left channel - * - 'fr' - Front right channel - * - 'sl' - Side left channel - * - 'sr' - Side right channel - * - 'fc' - Front center channel - * - 'lfe' - Low frequency + * - `fl` - Front left channel + * - `fr` - Front right channel + * - `sl` - Side left channel + * - `sr` - Side right channel + * - `fc` - Front center channel + * - `lfe` - Low frequency * * * repeated string channel_layout = 4; diff --git a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/AudioStreamOrBuilder.java b/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/AudioStreamOrBuilder.java index f222f54a..a5462f6e 100644 --- a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/AudioStreamOrBuilder.java +++ b/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/AudioStreamOrBuilder.java @@ -27,14 +27,14 @@ public interface AudioStreamOrBuilder * * *
-   * The codec for this audio stream. The default is `"aac"`.
+   * The codec for this audio stream. The default is `aac`.
    * Supported audio codecs:
-   * - 'aac'
-   * - 'aac-he'
-   * - 'aac-he-v2'
-   * - 'mp3'
-   * - 'ac3'
-   * - 'eac3'
+   * - `aac`
+   * - `aac-he`
+   * - `aac-he-v2`
+   * - `mp3`
+   * - `ac3`
+   * - `eac3`
    * 
* * string codec = 1; @@ -46,14 +46,14 @@ public interface AudioStreamOrBuilder * * *
-   * The codec for this audio stream. The default is `"aac"`.
+   * The codec for this audio stream. The default is `aac`.
    * Supported audio codecs:
-   * - 'aac'
-   * - 'aac-he'
-   * - 'aac-he-v2'
-   * - 'mp3'
-   * - 'ac3'
-   * - 'eac3'
+   * - `aac`
+   * - `aac-he`
+   * - `aac-he-v2`
+   * - `mp3`
+   * - `ac3`
+   * - `eac3`
    * 
* * string codec = 1; @@ -96,12 +96,12 @@ public interface AudioStreamOrBuilder * This only affects the metadata embedded in the container headers, if * supported by the specified format. The default is `["fl", "fr"]`. * Supported channel names: - * - 'fl' - Front left channel - * - 'fr' - Front right channel - * - 'sl' - Side left channel - * - 'sr' - Side right channel - * - 'fc' - Front center channel - * - 'lfe' - Low frequency + * - `fl` - Front left channel + * - `fr` - Front right channel + * - `sl` - Side left channel + * - `sr` - Side right channel + * - `fc` - Front center channel + * - `lfe` - Low frequency * * * repeated string channel_layout = 4; @@ -117,12 +117,12 @@ public interface AudioStreamOrBuilder * This only affects the metadata embedded in the container headers, if * supported by the specified format. The default is `["fl", "fr"]`. * Supported channel names: - * - 'fl' - Front left channel - * - 'fr' - Front right channel - * - 'sl' - Side left channel - * - 'sr' - Side right channel - * - 'fc' - Front center channel - * - 'lfe' - Low frequency + * - `fl` - Front left channel + * - `fr` - Front right channel + * - `sl` - Side left channel + * - `sr` - Side right channel + * - `fc` - Front center channel + * - `lfe` - Low frequency * * * repeated string channel_layout = 4; @@ -138,12 +138,12 @@ public interface AudioStreamOrBuilder * This only affects the metadata embedded in the container headers, if * supported by the specified format. The default is `["fl", "fr"]`. * Supported channel names: - * - 'fl' - Front left channel - * - 'fr' - Front right channel - * - 'sl' - Side left channel - * - 'sr' - Side right channel - * - 'fc' - Front center channel - * - 'lfe' - Low frequency + * - `fl` - Front left channel + * - `fr` - Front right channel + * - `sl` - Side left channel + * - `sr` - Side right channel + * - `fc` - Front center channel + * - `lfe` - Low frequency * * * repeated string channel_layout = 4; @@ -160,12 +160,12 @@ public interface AudioStreamOrBuilder * This only affects the metadata embedded in the container headers, if * supported by the specified format. The default is `["fl", "fr"]`. * Supported channel names: - * - 'fl' - Front left channel - * - 'fr' - Front right channel - * - 'sl' - Side left channel - * - 'sr' - Side right channel - * - 'fc' - Front center channel - * - 'lfe' - Low frequency + * - `fl` - Front left channel + * - `fr` - Front right channel + * - `sl` - Side left channel + * - `sr` - Side right channel + * - `fc` - Front center channel + * - `lfe` - Low frequency * * * repeated string channel_layout = 4; diff --git a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/CreateJobRequest.java b/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/CreateJobRequest.java index 1035a870..14b5416c 100644 --- a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/CreateJobRequest.java +++ b/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/CreateJobRequest.java @@ -245,7 +245,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getParentBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } if (job_ != null) { @@ -260,7 +260,7 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getParentBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (job_ != null) { diff --git a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/CreateJobTemplateRequest.java b/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/CreateJobTemplateRequest.java index 0d76591f..134c6828 100644 --- a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/CreateJobTemplateRequest.java +++ b/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/CreateJobTemplateRequest.java @@ -313,13 +313,13 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getParentBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } if (jobTemplate_ != null) { output.writeMessage(2, getJobTemplate()); } - if (!getJobTemplateIdBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(jobTemplateId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, jobTemplateId_); } unknownFields.writeTo(output); @@ -331,13 +331,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getParentBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (jobTemplate_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getJobTemplate()); } - if (!getJobTemplateIdBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(jobTemplateId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, jobTemplateId_); } size += unknownFields.getSerializedSize(); diff --git a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/DeleteJobRequest.java b/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/DeleteJobRequest.java index cfd9ed0b..e56a475d 100644 --- a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/DeleteJobRequest.java +++ b/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/DeleteJobRequest.java @@ -77,6 +77,11 @@ private DeleteJobRequest( name_ = s; break; } + case 16: + { + allowMissing_ = input.readBool(); + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -166,6 +171,25 @@ public com.google.protobuf.ByteString getNameBytes() { } } + public static final int ALLOW_MISSING_FIELD_NUMBER = 2; + private boolean allowMissing_; + /** + * + * + *
+   * If set to true, and the job is not found, the request will succeed but no
+   * action will be taken on the server.
+   * 
+ * + * bool allow_missing = 2; + * + * @return The allowMissing. + */ + @java.lang.Override + public boolean getAllowMissing() { + return allowMissing_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -180,9 +204,12 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } + if (allowMissing_ != false) { + output.writeBool(2, allowMissing_); + } unknownFields.writeTo(output); } @@ -192,9 +219,12 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } + if (allowMissing_ != false) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, allowMissing_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -212,6 +242,7 @@ public boolean equals(final java.lang.Object obj) { (com.google.cloud.video.transcoder.v1.DeleteJobRequest) obj; if (!getName().equals(other.getName())) return false; + if (getAllowMissing() != other.getAllowMissing()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -225,6 +256,8 @@ public int hashCode() { hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); + hash = (37 * hash) + ALLOW_MISSING_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowMissing()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -373,6 +406,8 @@ public Builder clear() { super.clear(); name_ = ""; + allowMissing_ = false; + return this; } @@ -401,6 +436,7 @@ public com.google.cloud.video.transcoder.v1.DeleteJobRequest buildPartial() { com.google.cloud.video.transcoder.v1.DeleteJobRequest result = new com.google.cloud.video.transcoder.v1.DeleteJobRequest(this); result.name_ = name_; + result.allowMissing_ = allowMissing_; onBuilt(); return result; } @@ -455,6 +491,9 @@ public Builder mergeFrom(com.google.cloud.video.transcoder.v1.DeleteJobRequest o name_ = other.name_; onChanged(); } + if (other.getAllowMissing() != false) { + setAllowMissing(other.getAllowMissing()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -606,6 +645,61 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { return this; } + private boolean allowMissing_; + /** + * + * + *
+     * If set to true, and the job is not found, the request will succeed but no
+     * action will be taken on the server.
+     * 
+ * + * bool allow_missing = 2; + * + * @return The allowMissing. + */ + @java.lang.Override + public boolean getAllowMissing() { + return allowMissing_; + } + /** + * + * + *
+     * If set to true, and the job is not found, the request will succeed but no
+     * action will be taken on the server.
+     * 
+ * + * bool allow_missing = 2; + * + * @param value The allowMissing to set. + * @return This builder for chaining. + */ + public Builder setAllowMissing(boolean value) { + + allowMissing_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * If set to true, and the job is not found, the request will succeed but no
+     * action will be taken on the server.
+     * 
+ * + * bool allow_missing = 2; + * + * @return This builder for chaining. + */ + public Builder clearAllowMissing() { + + allowMissing_ = false; + 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-v1/src/main/java/com/google/cloud/video/transcoder/v1/DeleteJobRequestOrBuilder.java b/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/DeleteJobRequestOrBuilder.java index bb96dab4..33c9c4ee 100644 --- a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/DeleteJobRequestOrBuilder.java +++ b/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/DeleteJobRequestOrBuilder.java @@ -53,4 +53,18 @@ public interface DeleteJobRequestOrBuilder * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); + + /** + * + * + *
+   * If set to true, and the job is not found, the request will succeed but no
+   * action will be taken on the server.
+   * 
+ * + * bool allow_missing = 2; + * + * @return The allowMissing. + */ + boolean getAllowMissing(); } diff --git a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/DeleteJobTemplateRequest.java b/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/DeleteJobTemplateRequest.java index 5f18648b..fd72a66b 100644 --- a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/DeleteJobTemplateRequest.java +++ b/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/DeleteJobTemplateRequest.java @@ -77,6 +77,11 @@ private DeleteJobTemplateRequest( name_ = s; break; } + case 16: + { + allowMissing_ = input.readBool(); + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -166,6 +171,25 @@ public com.google.protobuf.ByteString getNameBytes() { } } + public static final int ALLOW_MISSING_FIELD_NUMBER = 2; + private boolean allowMissing_; + /** + * + * + *
+   * If set to true, and the job template is not found, the request will succeed
+   * but no action will be taken on the server.
+   * 
+ * + * bool allow_missing = 2; + * + * @return The allowMissing. + */ + @java.lang.Override + public boolean getAllowMissing() { + return allowMissing_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -180,9 +204,12 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } + if (allowMissing_ != false) { + output.writeBool(2, allowMissing_); + } unknownFields.writeTo(output); } @@ -192,9 +219,12 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } + if (allowMissing_ != false) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, allowMissing_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -212,6 +242,7 @@ public boolean equals(final java.lang.Object obj) { (com.google.cloud.video.transcoder.v1.DeleteJobTemplateRequest) obj; if (!getName().equals(other.getName())) return false; + if (getAllowMissing() != other.getAllowMissing()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -225,6 +256,8 @@ public int hashCode() { hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); + hash = (37 * hash) + ALLOW_MISSING_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowMissing()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -373,6 +406,8 @@ public Builder clear() { super.clear(); name_ = ""; + allowMissing_ = false; + return this; } @@ -402,6 +437,7 @@ public com.google.cloud.video.transcoder.v1.DeleteJobTemplateRequest buildPartia com.google.cloud.video.transcoder.v1.DeleteJobTemplateRequest result = new com.google.cloud.video.transcoder.v1.DeleteJobTemplateRequest(this); result.name_ = name_; + result.allowMissing_ = allowMissing_; onBuilt(); return result; } @@ -457,6 +493,9 @@ public Builder mergeFrom(com.google.cloud.video.transcoder.v1.DeleteJobTemplateR name_ = other.name_; onChanged(); } + if (other.getAllowMissing() != false) { + setAllowMissing(other.getAllowMissing()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -609,6 +648,61 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { return this; } + private boolean allowMissing_; + /** + * + * + *
+     * If set to true, and the job template is not found, the request will succeed
+     * but no action will be taken on the server.
+     * 
+ * + * bool allow_missing = 2; + * + * @return The allowMissing. + */ + @java.lang.Override + public boolean getAllowMissing() { + return allowMissing_; + } + /** + * + * + *
+     * If set to true, and the job template is not found, the request will succeed
+     * but no action will be taken on the server.
+     * 
+ * + * bool allow_missing = 2; + * + * @param value The allowMissing to set. + * @return This builder for chaining. + */ + public Builder setAllowMissing(boolean value) { + + allowMissing_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * If set to true, and the job template is not found, the request will succeed
+     * but no action will be taken on the server.
+     * 
+ * + * bool allow_missing = 2; + * + * @return This builder for chaining. + */ + public Builder clearAllowMissing() { + + allowMissing_ = false; + 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-v1/src/main/java/com/google/cloud/video/transcoder/v1/DeleteJobTemplateRequestOrBuilder.java b/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/DeleteJobTemplateRequestOrBuilder.java index 54743cd9..aa3f196a 100644 --- a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/DeleteJobTemplateRequestOrBuilder.java +++ b/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/DeleteJobTemplateRequestOrBuilder.java @@ -53,4 +53,18 @@ public interface DeleteJobTemplateRequestOrBuilder * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); + + /** + * + * + *
+   * If set to true, and the job template is not found, the request will succeed
+   * but no action will be taken on the server.
+   * 
+ * + * bool allow_missing = 2; + * + * @return The allowMissing. + */ + boolean getAllowMissing(); } diff --git a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/EditAtom.java b/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/EditAtom.java index 37e6c821..73ef9b07 100644 --- a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/EditAtom.java +++ b/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/EditAtom.java @@ -391,7 +391,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getKeyBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, key_); } for (int i = 0; i < inputs_.size(); i++) { @@ -412,7 +412,7 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getKeyBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, key_); } { diff --git a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ElementaryStream.java b/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ElementaryStream.java index 03d4ce05..a3984c53 100644 --- a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ElementaryStream.java +++ b/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ElementaryStream.java @@ -445,7 +445,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (elementaryStreamCase_ == 3) { output.writeMessage(3, (com.google.cloud.video.transcoder.v1.TextStream) elementaryStream_); } - if (!getKeyBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, key_); } unknownFields.writeTo(output); @@ -472,7 +472,7 @@ public int getSerializedSize() { com.google.protobuf.CodedOutputStream.computeMessageSize( 3, (com.google.cloud.video.transcoder.v1.TextStream) elementaryStream_); } - if (!getKeyBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, key_); } size += unknownFields.getSerializedSize(); diff --git a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/Encryption.java b/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/Encryption.java deleted file mode 100644 index abe5bf41..00000000 --- a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/Encryption.java +++ /dev/null @@ -1,4141 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/video/transcoder/v1/resources.proto - -package com.google.cloud.video.transcoder.v1; - -/** - * - * - *
- * Encryption settings.
- * 
- * - * Protobuf type {@code google.cloud.video.transcoder.v1.Encryption} - */ -public final class Encryption extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.cloud.video.transcoder.v1.Encryption) - EncryptionOrBuilder { - private static final long serialVersionUID = 0L; - // Use Encryption.newBuilder() to construct. - private Encryption(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private Encryption() { - key_ = ""; - iv_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Encryption(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private Encryption( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - key_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - - iv_ = s; - break; - } - case 26: - { - com.google.cloud.video.transcoder.v1.Encryption.Aes128Encryption.Builder subBuilder = - null; - if (encryptionModeCase_ == 3) { - subBuilder = - ((com.google.cloud.video.transcoder.v1.Encryption.Aes128Encryption) - encryptionMode_) - .toBuilder(); - } - encryptionMode_ = - input.readMessage( - com.google.cloud.video.transcoder.v1.Encryption.Aes128Encryption.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.video.transcoder.v1.Encryption.Aes128Encryption) - encryptionMode_); - encryptionMode_ = subBuilder.buildPartial(); - } - encryptionModeCase_ = 3; - break; - } - case 34: - { - com.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption.Builder - subBuilder = null; - if (encryptionModeCase_ == 4) { - subBuilder = - ((com.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption) - encryptionMode_) - .toBuilder(); - } - encryptionMode_ = - input.readMessage( - com.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption) - encryptionMode_); - encryptionMode_ = subBuilder.buildPartial(); - } - encryptionModeCase_ = 4; - break; - } - case 42: - { - com.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption.Builder - subBuilder = null; - if (encryptionModeCase_ == 5) { - subBuilder = - ((com.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption) - encryptionMode_) - .toBuilder(); - } - encryptionMode_ = - input.readMessage( - com.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption) - encryptionMode_); - encryptionMode_ = subBuilder.buildPartial(); - } - encryptionModeCase_ = 5; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_Encryption_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_Encryption_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.video.transcoder.v1.Encryption.class, - com.google.cloud.video.transcoder.v1.Encryption.Builder.class); - } - - public interface Aes128EncryptionOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.video.transcoder.v1.Encryption.Aes128Encryption) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-     * Required. URI of the key delivery service. This URI is inserted into the M3U8
-     * header.
-     * 
- * - * string key_uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The keyUri. - */ - java.lang.String getKeyUri(); - /** - * - * - *
-     * Required. URI of the key delivery service. This URI is inserted into the M3U8
-     * header.
-     * 
- * - * string key_uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for keyUri. - */ - com.google.protobuf.ByteString getKeyUriBytes(); - } - /** - * - * - *
-   * Configuration for AES-128 encryption.
-   * 
- * - * Protobuf type {@code google.cloud.video.transcoder.v1.Encryption.Aes128Encryption} - */ - public static final class Aes128Encryption extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.cloud.video.transcoder.v1.Encryption.Aes128Encryption) - Aes128EncryptionOrBuilder { - private static final long serialVersionUID = 0L; - // Use Aes128Encryption.newBuilder() to construct. - private Aes128Encryption(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private Aes128Encryption() { - keyUri_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Aes128Encryption(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private Aes128Encryption( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - keyUri_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_Encryption_Aes128Encryption_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_Encryption_Aes128Encryption_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.video.transcoder.v1.Encryption.Aes128Encryption.class, - com.google.cloud.video.transcoder.v1.Encryption.Aes128Encryption.Builder.class); - } - - public static final int KEY_URI_FIELD_NUMBER = 1; - private volatile java.lang.Object keyUri_; - /** - * - * - *
-     * Required. URI of the key delivery service. This URI is inserted into the M3U8
-     * header.
-     * 
- * - * string key_uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The keyUri. - */ - @java.lang.Override - public java.lang.String getKeyUri() { - java.lang.Object ref = keyUri_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - keyUri_ = s; - return s; - } - } - /** - * - * - *
-     * Required. URI of the key delivery service. This URI is inserted into the M3U8
-     * header.
-     * 
- * - * string key_uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for keyUri. - */ - @java.lang.Override - public com.google.protobuf.ByteString getKeyUriBytes() { - java.lang.Object ref = keyUri_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - keyUri_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getKeyUriBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, keyUri_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getKeyUriBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, keyUri_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.cloud.video.transcoder.v1.Encryption.Aes128Encryption)) { - return super.equals(obj); - } - com.google.cloud.video.transcoder.v1.Encryption.Aes128Encryption other = - (com.google.cloud.video.transcoder.v1.Encryption.Aes128Encryption) obj; - - if (!getKeyUri().equals(other.getKeyUri())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + KEY_URI_FIELD_NUMBER; - hash = (53 * hash) + getKeyUri().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.cloud.video.transcoder.v1.Encryption.Aes128Encryption parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.video.transcoder.v1.Encryption.Aes128Encryption parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.cloud.video.transcoder.v1.Encryption.Aes128Encryption parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.video.transcoder.v1.Encryption.Aes128Encryption parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.cloud.video.transcoder.v1.Encryption.Aes128Encryption parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.video.transcoder.v1.Encryption.Aes128Encryption parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.cloud.video.transcoder.v1.Encryption.Aes128Encryption parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.cloud.video.transcoder.v1.Encryption.Aes128Encryption parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.cloud.video.transcoder.v1.Encryption.Aes128Encryption - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.cloud.video.transcoder.v1.Encryption.Aes128Encryption - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.cloud.video.transcoder.v1.Encryption.Aes128Encryption parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.cloud.video.transcoder.v1.Encryption.Aes128Encryption parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder( - com.google.cloud.video.transcoder.v1.Encryption.Aes128Encryption prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
-     * Configuration for AES-128 encryption.
-     * 
- * - * Protobuf type {@code google.cloud.video.transcoder.v1.Encryption.Aes128Encryption} - */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.cloud.video.transcoder.v1.Encryption.Aes128Encryption) - com.google.cloud.video.transcoder.v1.Encryption.Aes128EncryptionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_Encryption_Aes128Encryption_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_Encryption_Aes128Encryption_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.video.transcoder.v1.Encryption.Aes128Encryption.class, - com.google.cloud.video.transcoder.v1.Encryption.Aes128Encryption.Builder.class); - } - - // Construct using - // com.google.cloud.video.transcoder.v1.Encryption.Aes128Encryption.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} - } - - @java.lang.Override - public Builder clear() { - super.clear(); - keyUri_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_Encryption_Aes128Encryption_descriptor; - } - - @java.lang.Override - public com.google.cloud.video.transcoder.v1.Encryption.Aes128Encryption - getDefaultInstanceForType() { - return com.google.cloud.video.transcoder.v1.Encryption.Aes128Encryption - .getDefaultInstance(); - } - - @java.lang.Override - public com.google.cloud.video.transcoder.v1.Encryption.Aes128Encryption build() { - com.google.cloud.video.transcoder.v1.Encryption.Aes128Encryption result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.cloud.video.transcoder.v1.Encryption.Aes128Encryption buildPartial() { - com.google.cloud.video.transcoder.v1.Encryption.Aes128Encryption result = - new com.google.cloud.video.transcoder.v1.Encryption.Aes128Encryption(this); - result.keyUri_ = keyUri_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.video.transcoder.v1.Encryption.Aes128Encryption) { - return mergeFrom( - (com.google.cloud.video.transcoder.v1.Encryption.Aes128Encryption) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom( - com.google.cloud.video.transcoder.v1.Encryption.Aes128Encryption other) { - if (other - == com.google.cloud.video.transcoder.v1.Encryption.Aes128Encryption - .getDefaultInstance()) return this; - if (!other.getKeyUri().isEmpty()) { - keyUri_ = other.keyUri_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - com.google.cloud.video.transcoder.v1.Encryption.Aes128Encryption parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.video.transcoder.v1.Encryption.Aes128Encryption) - e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object keyUri_ = ""; - /** - * - * - *
-       * Required. URI of the key delivery service. This URI is inserted into the M3U8
-       * header.
-       * 
- * - * string key_uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The keyUri. - */ - public java.lang.String getKeyUri() { - java.lang.Object ref = keyUri_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - keyUri_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
-       * Required. URI of the key delivery service. This URI is inserted into the M3U8
-       * header.
-       * 
- * - * string key_uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for keyUri. - */ - public com.google.protobuf.ByteString getKeyUriBytes() { - java.lang.Object ref = keyUri_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - keyUri_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
-       * Required. URI of the key delivery service. This URI is inserted into the M3U8
-       * header.
-       * 
- * - * string key_uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @param value The keyUri to set. - * @return This builder for chaining. - */ - public Builder setKeyUri(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - keyUri_ = value; - onChanged(); - return this; - } - /** - * - * - *
-       * Required. URI of the key delivery service. This URI is inserted into the M3U8
-       * header.
-       * 
- * - * string key_uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return This builder for chaining. - */ - public Builder clearKeyUri() { - - keyUri_ = getDefaultInstance().getKeyUri(); - onChanged(); - return this; - } - /** - * - * - *
-       * Required. URI of the key delivery service. This URI is inserted into the M3U8
-       * header.
-       * 
- * - * string key_uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @param value The bytes for keyUri to set. - * @return This builder for chaining. - */ - public Builder setKeyUriBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - keyUri_ = value; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.cloud.video.transcoder.v1.Encryption.Aes128Encryption) - } - - // @@protoc_insertion_point(class_scope:google.cloud.video.transcoder.v1.Encryption.Aes128Encryption) - private static final com.google.cloud.video.transcoder.v1.Encryption.Aes128Encryption - DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.cloud.video.transcoder.v1.Encryption.Aes128Encryption(); - } - - public static com.google.cloud.video.transcoder.v1.Encryption.Aes128Encryption - getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Aes128Encryption parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Aes128Encryption(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.cloud.video.transcoder.v1.Encryption.Aes128Encryption - getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - } - - public interface SampleAesEncryptionOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-     * Required. URI of the key delivery service. This URI is inserted into the M3U8
-     * header.
-     * 
- * - * string key_uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The keyUri. - */ - java.lang.String getKeyUri(); - /** - * - * - *
-     * Required. URI of the key delivery service. This URI is inserted into the M3U8
-     * header.
-     * 
- * - * string key_uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for keyUri. - */ - com.google.protobuf.ByteString getKeyUriBytes(); - } - /** - * - * - *
-   * Configuration for SAMPLE-AES encryption.
-   * 
- * - * Protobuf type {@code google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption} - */ - public static final class SampleAesEncryption extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption) - SampleAesEncryptionOrBuilder { - private static final long serialVersionUID = 0L; - // Use SampleAesEncryption.newBuilder() to construct. - private SampleAesEncryption(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private SampleAesEncryption() { - keyUri_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new SampleAesEncryption(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private SampleAesEncryption( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - keyUri_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_Encryption_SampleAesEncryption_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_Encryption_SampleAesEncryption_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption.class, - com.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption.Builder.class); - } - - public static final int KEY_URI_FIELD_NUMBER = 1; - private volatile java.lang.Object keyUri_; - /** - * - * - *
-     * Required. URI of the key delivery service. This URI is inserted into the M3U8
-     * header.
-     * 
- * - * string key_uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The keyUri. - */ - @java.lang.Override - public java.lang.String getKeyUri() { - java.lang.Object ref = keyUri_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - keyUri_ = s; - return s; - } - } - /** - * - * - *
-     * Required. URI of the key delivery service. This URI is inserted into the M3U8
-     * header.
-     * 
- * - * string key_uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for keyUri. - */ - @java.lang.Override - public com.google.protobuf.ByteString getKeyUriBytes() { - java.lang.Object ref = keyUri_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - keyUri_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getKeyUriBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, keyUri_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getKeyUriBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, keyUri_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption)) { - return super.equals(obj); - } - com.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption other = - (com.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption) obj; - - if (!getKeyUri().equals(other.getKeyUri())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + KEY_URI_FIELD_NUMBER; - hash = (53 * hash) + getKeyUri().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder( - com.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
-     * Configuration for SAMPLE-AES encryption.
-     * 
- * - * Protobuf type {@code google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption} - */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption) - com.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryptionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_Encryption_SampleAesEncryption_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_Encryption_SampleAesEncryption_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption.class, - com.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption.Builder.class); - } - - // Construct using - // com.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} - } - - @java.lang.Override - public Builder clear() { - super.clear(); - keyUri_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_Encryption_SampleAesEncryption_descriptor; - } - - @java.lang.Override - public com.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption - getDefaultInstanceForType() { - return com.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption - .getDefaultInstance(); - } - - @java.lang.Override - public com.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption build() { - com.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption buildPartial() { - com.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption result = - new com.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption(this); - result.keyUri_ = keyUri_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption) { - return mergeFrom( - (com.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom( - com.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption other) { - if (other - == com.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption - .getDefaultInstance()) return this; - if (!other.getKeyUri().isEmpty()) { - keyUri_ = other.keyUri_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - com.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption) - e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object keyUri_ = ""; - /** - * - * - *
-       * Required. URI of the key delivery service. This URI is inserted into the M3U8
-       * header.
-       * 
- * - * string key_uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The keyUri. - */ - public java.lang.String getKeyUri() { - java.lang.Object ref = keyUri_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - keyUri_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
-       * Required. URI of the key delivery service. This URI is inserted into the M3U8
-       * header.
-       * 
- * - * string key_uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for keyUri. - */ - public com.google.protobuf.ByteString getKeyUriBytes() { - java.lang.Object ref = keyUri_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - keyUri_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
-       * Required. URI of the key delivery service. This URI is inserted into the M3U8
-       * header.
-       * 
- * - * string key_uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @param value The keyUri to set. - * @return This builder for chaining. - */ - public Builder setKeyUri(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - keyUri_ = value; - onChanged(); - return this; - } - /** - * - * - *
-       * Required. URI of the key delivery service. This URI is inserted into the M3U8
-       * header.
-       * 
- * - * string key_uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return This builder for chaining. - */ - public Builder clearKeyUri() { - - keyUri_ = getDefaultInstance().getKeyUri(); - onChanged(); - return this; - } - /** - * - * - *
-       * Required. URI of the key delivery service. This URI is inserted into the M3U8
-       * header.
-       * 
- * - * string key_uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @param value The bytes for keyUri to set. - * @return This builder for chaining. - */ - public Builder setKeyUriBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - keyUri_ = value; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption) - } - - // @@protoc_insertion_point(class_scope:google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption) - private static final com.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption - DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption(); - } - - public static com.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption - getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SampleAesEncryption parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SampleAesEncryption(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption - getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - } - - public interface MpegCommonEncryptionOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-     * Required. 128 bit Key ID represented as lowercase hexadecimal digits for use with
-     * common encryption.
-     * 
- * - * string key_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The keyId. - */ - java.lang.String getKeyId(); - /** - * - * - *
-     * Required. 128 bit Key ID represented as lowercase hexadecimal digits for use with
-     * common encryption.
-     * 
- * - * string key_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for keyId. - */ - com.google.protobuf.ByteString getKeyIdBytes(); - - /** - * - * - *
-     * Required. Specify the encryption scheme.
-     * Supported encryption schemes:
-     * - 'cenc'
-     * - 'cbcs'
-     * 
- * - * string scheme = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The scheme. - */ - java.lang.String getScheme(); - /** - * - * - *
-     * Required. Specify the encryption scheme.
-     * Supported encryption schemes:
-     * - 'cenc'
-     * - 'cbcs'
-     * 
- * - * string scheme = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for scheme. - */ - com.google.protobuf.ByteString getSchemeBytes(); - } - /** - * - * - *
-   * Configuration for MPEG Common Encryption (MPEG-CENC).
-   * 
- * - * Protobuf type {@code google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption} - */ - public static final class MpegCommonEncryption extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption) - MpegCommonEncryptionOrBuilder { - private static final long serialVersionUID = 0L; - // Use MpegCommonEncryption.newBuilder() to construct. - private MpegCommonEncryption(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private MpegCommonEncryption() { - keyId_ = ""; - scheme_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new MpegCommonEncryption(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private MpegCommonEncryption( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - keyId_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - - scheme_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_Encryption_MpegCommonEncryption_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_Encryption_MpegCommonEncryption_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption.class, - com.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption.Builder.class); - } - - public static final int KEY_ID_FIELD_NUMBER = 1; - private volatile java.lang.Object keyId_; - /** - * - * - *
-     * Required. 128 bit Key ID represented as lowercase hexadecimal digits for use with
-     * common encryption.
-     * 
- * - * string key_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The keyId. - */ - @java.lang.Override - public java.lang.String getKeyId() { - java.lang.Object ref = keyId_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - keyId_ = s; - return s; - } - } - /** - * - * - *
-     * Required. 128 bit Key ID represented as lowercase hexadecimal digits for use with
-     * common encryption.
-     * 
- * - * string key_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for keyId. - */ - @java.lang.Override - public com.google.protobuf.ByteString getKeyIdBytes() { - java.lang.Object ref = keyId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - keyId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int SCHEME_FIELD_NUMBER = 2; - private volatile java.lang.Object scheme_; - /** - * - * - *
-     * Required. Specify the encryption scheme.
-     * Supported encryption schemes:
-     * - 'cenc'
-     * - 'cbcs'
-     * 
- * - * string scheme = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The scheme. - */ - @java.lang.Override - public java.lang.String getScheme() { - java.lang.Object ref = scheme_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - scheme_ = s; - return s; - } - } - /** - * - * - *
-     * Required. Specify the encryption scheme.
-     * Supported encryption schemes:
-     * - 'cenc'
-     * - 'cbcs'
-     * 
- * - * string scheme = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for scheme. - */ - @java.lang.Override - public com.google.protobuf.ByteString getSchemeBytes() { - java.lang.Object ref = scheme_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - scheme_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getKeyIdBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, keyId_); - } - if (!getSchemeBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, scheme_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getKeyIdBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, keyId_); - } - if (!getSchemeBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, scheme_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption)) { - return super.equals(obj); - } - com.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption other = - (com.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption) obj; - - if (!getKeyId().equals(other.getKeyId())) return false; - if (!getScheme().equals(other.getScheme())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + KEY_ID_FIELD_NUMBER; - hash = (53 * hash) + getKeyId().hashCode(); - hash = (37 * hash) + SCHEME_FIELD_NUMBER; - hash = (53 * hash) + getScheme().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder( - com.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
-     * Configuration for MPEG Common Encryption (MPEG-CENC).
-     * 
- * - * Protobuf type {@code google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption} - */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption) - com.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryptionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_Encryption_MpegCommonEncryption_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_Encryption_MpegCommonEncryption_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption.class, - com.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption.Builder.class); - } - - // Construct using - // com.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} - } - - @java.lang.Override - public Builder clear() { - super.clear(); - keyId_ = ""; - - scheme_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_Encryption_MpegCommonEncryption_descriptor; - } - - @java.lang.Override - public com.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption - getDefaultInstanceForType() { - return com.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption - .getDefaultInstance(); - } - - @java.lang.Override - public com.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption build() { - com.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption result = - buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption buildPartial() { - com.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption result = - new com.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption(this); - result.keyId_ = keyId_; - result.scheme_ = scheme_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption) { - return mergeFrom( - (com.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom( - com.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption other) { - if (other - == com.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption - .getDefaultInstance()) return this; - if (!other.getKeyId().isEmpty()) { - keyId_ = other.keyId_; - onChanged(); - } - if (!other.getScheme().isEmpty()) { - scheme_ = other.scheme_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - com.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption) - e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object keyId_ = ""; - /** - * - * - *
-       * Required. 128 bit Key ID represented as lowercase hexadecimal digits for use with
-       * common encryption.
-       * 
- * - * string key_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The keyId. - */ - public java.lang.String getKeyId() { - java.lang.Object ref = keyId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - keyId_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
-       * Required. 128 bit Key ID represented as lowercase hexadecimal digits for use with
-       * common encryption.
-       * 
- * - * string key_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for keyId. - */ - public com.google.protobuf.ByteString getKeyIdBytes() { - java.lang.Object ref = keyId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - keyId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
-       * Required. 128 bit Key ID represented as lowercase hexadecimal digits for use with
-       * common encryption.
-       * 
- * - * string key_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @param value The keyId to set. - * @return This builder for chaining. - */ - public Builder setKeyId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - keyId_ = value; - onChanged(); - return this; - } - /** - * - * - *
-       * Required. 128 bit Key ID represented as lowercase hexadecimal digits for use with
-       * common encryption.
-       * 
- * - * string key_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return This builder for chaining. - */ - public Builder clearKeyId() { - - keyId_ = getDefaultInstance().getKeyId(); - onChanged(); - return this; - } - /** - * - * - *
-       * Required. 128 bit Key ID represented as lowercase hexadecimal digits for use with
-       * common encryption.
-       * 
- * - * string key_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @param value The bytes for keyId to set. - * @return This builder for chaining. - */ - public Builder setKeyIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - keyId_ = value; - onChanged(); - return this; - } - - private java.lang.Object scheme_ = ""; - /** - * - * - *
-       * Required. Specify the encryption scheme.
-       * Supported encryption schemes:
-       * - 'cenc'
-       * - 'cbcs'
-       * 
- * - * string scheme = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The scheme. - */ - public java.lang.String getScheme() { - java.lang.Object ref = scheme_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - scheme_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
-       * Required. Specify the encryption scheme.
-       * Supported encryption schemes:
-       * - 'cenc'
-       * - 'cbcs'
-       * 
- * - * string scheme = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for scheme. - */ - public com.google.protobuf.ByteString getSchemeBytes() { - java.lang.Object ref = scheme_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - scheme_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
-       * Required. Specify the encryption scheme.
-       * Supported encryption schemes:
-       * - 'cenc'
-       * - 'cbcs'
-       * 
- * - * string scheme = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @param value The scheme to set. - * @return This builder for chaining. - */ - public Builder setScheme(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - scheme_ = value; - onChanged(); - return this; - } - /** - * - * - *
-       * Required. Specify the encryption scheme.
-       * Supported encryption schemes:
-       * - 'cenc'
-       * - 'cbcs'
-       * 
- * - * string scheme = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @return This builder for chaining. - */ - public Builder clearScheme() { - - scheme_ = getDefaultInstance().getScheme(); - onChanged(); - return this; - } - /** - * - * - *
-       * Required. Specify the encryption scheme.
-       * Supported encryption schemes:
-       * - 'cenc'
-       * - 'cbcs'
-       * 
- * - * string scheme = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @param value The bytes for scheme to set. - * @return This builder for chaining. - */ - public Builder setSchemeBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - scheme_ = value; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption) - } - - // @@protoc_insertion_point(class_scope:google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption) - private static final com.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption - DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption(); - } - - public static com.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption - getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MpegCommonEncryption parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MpegCommonEncryption(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption - getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - } - - private int encryptionModeCase_ = 0; - private java.lang.Object encryptionMode_; - - public enum EncryptionModeCase - implements - com.google.protobuf.Internal.EnumLite, - com.google.protobuf.AbstractMessage.InternalOneOfEnum { - AES_128(3), - SAMPLE_AES(4), - MPEG_CENC(5), - ENCRYPTIONMODE_NOT_SET(0); - private final int value; - - private EncryptionModeCase(int value) { - this.value = value; - } - /** - * @param value The number of the enum to look for. - * @return The enum associated with the given number. - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static EncryptionModeCase valueOf(int value) { - return forNumber(value); - } - - public static EncryptionModeCase forNumber(int value) { - switch (value) { - case 3: - return AES_128; - case 4: - return SAMPLE_AES; - case 5: - return MPEG_CENC; - case 0: - return ENCRYPTIONMODE_NOT_SET; - default: - return null; - } - } - - public int getNumber() { - return this.value; - } - }; - - public EncryptionModeCase getEncryptionModeCase() { - return EncryptionModeCase.forNumber(encryptionModeCase_); - } - - public static final int KEY_FIELD_NUMBER = 1; - private volatile java.lang.Object key_; - /** - * - * - *
-   * Required. 128 bit encryption key represented as lowercase hexadecimal digits.
-   * 
- * - * string key = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The key. - */ - @java.lang.Override - public java.lang.String getKey() { - java.lang.Object ref = key_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - key_ = s; - return s; - } - } - /** - * - * - *
-   * Required. 128 bit encryption key represented as lowercase hexadecimal digits.
-   * 
- * - * string key = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for key. - */ - @java.lang.Override - public com.google.protobuf.ByteString getKeyBytes() { - java.lang.Object ref = key_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - key_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int IV_FIELD_NUMBER = 2; - private volatile java.lang.Object iv_; - /** - * - * - *
-   * Required. 128 bit Initialization Vector (IV) represented as lowercase hexadecimal
-   * digits.
-   * 
- * - * string iv = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The iv. - */ - @java.lang.Override - public java.lang.String getIv() { - java.lang.Object ref = iv_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - iv_ = s; - return s; - } - } - /** - * - * - *
-   * Required. 128 bit Initialization Vector (IV) represented as lowercase hexadecimal
-   * digits.
-   * 
- * - * string iv = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for iv. - */ - @java.lang.Override - public com.google.protobuf.ByteString getIvBytes() { - java.lang.Object ref = iv_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - iv_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int AES_128_FIELD_NUMBER = 3; - /** - * - * - *
-   * Configuration for AES-128 encryption.
-   * 
- * - * .google.cloud.video.transcoder.v1.Encryption.Aes128Encryption aes_128 = 3; - * - * @return Whether the aes128 field is set. - */ - @java.lang.Override - public boolean hasAes128() { - return encryptionModeCase_ == 3; - } - /** - * - * - *
-   * Configuration for AES-128 encryption.
-   * 
- * - * .google.cloud.video.transcoder.v1.Encryption.Aes128Encryption aes_128 = 3; - * - * @return The aes128. - */ - @java.lang.Override - public com.google.cloud.video.transcoder.v1.Encryption.Aes128Encryption getAes128() { - if (encryptionModeCase_ == 3) { - return (com.google.cloud.video.transcoder.v1.Encryption.Aes128Encryption) encryptionMode_; - } - return com.google.cloud.video.transcoder.v1.Encryption.Aes128Encryption.getDefaultInstance(); - } - /** - * - * - *
-   * Configuration for AES-128 encryption.
-   * 
- * - * .google.cloud.video.transcoder.v1.Encryption.Aes128Encryption aes_128 = 3; - */ - @java.lang.Override - public com.google.cloud.video.transcoder.v1.Encryption.Aes128EncryptionOrBuilder - getAes128OrBuilder() { - if (encryptionModeCase_ == 3) { - return (com.google.cloud.video.transcoder.v1.Encryption.Aes128Encryption) encryptionMode_; - } - return com.google.cloud.video.transcoder.v1.Encryption.Aes128Encryption.getDefaultInstance(); - } - - public static final int SAMPLE_AES_FIELD_NUMBER = 4; - /** - * - * - *
-   * Configuration for SAMPLE-AES encryption.
-   * 
- * - * .google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption sample_aes = 4; - * - * @return Whether the sampleAes field is set. - */ - @java.lang.Override - public boolean hasSampleAes() { - return encryptionModeCase_ == 4; - } - /** - * - * - *
-   * Configuration for SAMPLE-AES encryption.
-   * 
- * - * .google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption sample_aes = 4; - * - * @return The sampleAes. - */ - @java.lang.Override - public com.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption getSampleAes() { - if (encryptionModeCase_ == 4) { - return (com.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption) encryptionMode_; - } - return com.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption.getDefaultInstance(); - } - /** - * - * - *
-   * Configuration for SAMPLE-AES encryption.
-   * 
- * - * .google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption sample_aes = 4; - */ - @java.lang.Override - public com.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryptionOrBuilder - getSampleAesOrBuilder() { - if (encryptionModeCase_ == 4) { - return (com.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption) encryptionMode_; - } - return com.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption.getDefaultInstance(); - } - - public static final int MPEG_CENC_FIELD_NUMBER = 5; - /** - * - * - *
-   * Configuration for MPEG Common Encryption (MPEG-CENC).
-   * 
- * - * .google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption mpeg_cenc = 5; - * - * @return Whether the mpegCenc field is set. - */ - @java.lang.Override - public boolean hasMpegCenc() { - return encryptionModeCase_ == 5; - } - /** - * - * - *
-   * Configuration for MPEG Common Encryption (MPEG-CENC).
-   * 
- * - * .google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption mpeg_cenc = 5; - * - * @return The mpegCenc. - */ - @java.lang.Override - public com.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption getMpegCenc() { - if (encryptionModeCase_ == 5) { - return (com.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption) encryptionMode_; - } - return com.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption - .getDefaultInstance(); - } - /** - * - * - *
-   * Configuration for MPEG Common Encryption (MPEG-CENC).
-   * 
- * - * .google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption mpeg_cenc = 5; - */ - @java.lang.Override - public com.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryptionOrBuilder - getMpegCencOrBuilder() { - if (encryptionModeCase_ == 5) { - return (com.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption) encryptionMode_; - } - return com.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption - .getDefaultInstance(); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getKeyBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, key_); - } - if (!getIvBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, iv_); - } - if (encryptionModeCase_ == 3) { - output.writeMessage( - 3, (com.google.cloud.video.transcoder.v1.Encryption.Aes128Encryption) encryptionMode_); - } - if (encryptionModeCase_ == 4) { - output.writeMessage( - 4, (com.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption) encryptionMode_); - } - if (encryptionModeCase_ == 5) { - output.writeMessage( - 5, - (com.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption) encryptionMode_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!getKeyBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, key_); - } - if (!getIvBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, iv_); - } - if (encryptionModeCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, - (com.google.cloud.video.transcoder.v1.Encryption.Aes128Encryption) encryptionMode_); - } - if (encryptionModeCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 4, - (com.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption) - encryptionMode_); - } - if (encryptionModeCase_ == 5) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 5, - (com.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption) - encryptionMode_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.cloud.video.transcoder.v1.Encryption)) { - return super.equals(obj); - } - com.google.cloud.video.transcoder.v1.Encryption other = - (com.google.cloud.video.transcoder.v1.Encryption) obj; - - if (!getKey().equals(other.getKey())) return false; - if (!getIv().equals(other.getIv())) return false; - if (!getEncryptionModeCase().equals(other.getEncryptionModeCase())) return false; - switch (encryptionModeCase_) { - case 3: - if (!getAes128().equals(other.getAes128())) return false; - break; - case 4: - if (!getSampleAes().equals(other.getSampleAes())) return false; - break; - case 5: - if (!getMpegCenc().equals(other.getMpegCenc())) return false; - break; - case 0: - default: - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + KEY_FIELD_NUMBER; - hash = (53 * hash) + getKey().hashCode(); - hash = (37 * hash) + IV_FIELD_NUMBER; - hash = (53 * hash) + getIv().hashCode(); - switch (encryptionModeCase_) { - case 3: - hash = (37 * hash) + AES_128_FIELD_NUMBER; - hash = (53 * hash) + getAes128().hashCode(); - break; - case 4: - hash = (37 * hash) + SAMPLE_AES_FIELD_NUMBER; - hash = (53 * hash) + getSampleAes().hashCode(); - break; - case 5: - hash = (37 * hash) + MPEG_CENC_FIELD_NUMBER; - hash = (53 * hash) + getMpegCenc().hashCode(); - break; - case 0: - default: - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.cloud.video.transcoder.v1.Encryption parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.video.transcoder.v1.Encryption parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.cloud.video.transcoder.v1.Encryption parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.video.transcoder.v1.Encryption parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.cloud.video.transcoder.v1.Encryption parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.video.transcoder.v1.Encryption parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.cloud.video.transcoder.v1.Encryption parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.cloud.video.transcoder.v1.Encryption parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.cloud.video.transcoder.v1.Encryption parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.cloud.video.transcoder.v1.Encryption parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.cloud.video.transcoder.v1.Encryption parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.cloud.video.transcoder.v1.Encryption parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.cloud.video.transcoder.v1.Encryption prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
-   * Encryption settings.
-   * 
- * - * Protobuf type {@code google.cloud.video.transcoder.v1.Encryption} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.cloud.video.transcoder.v1.Encryption) - com.google.cloud.video.transcoder.v1.EncryptionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_Encryption_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_Encryption_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.video.transcoder.v1.Encryption.class, - com.google.cloud.video.transcoder.v1.Encryption.Builder.class); - } - - // Construct using com.google.cloud.video.transcoder.v1.Encryption.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} - } - - @java.lang.Override - public Builder clear() { - super.clear(); - key_ = ""; - - iv_ = ""; - - encryptionModeCase_ = 0; - encryptionMode_ = null; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.video.transcoder.v1.ResourcesProto - .internal_static_google_cloud_video_transcoder_v1_Encryption_descriptor; - } - - @java.lang.Override - public com.google.cloud.video.transcoder.v1.Encryption getDefaultInstanceForType() { - return com.google.cloud.video.transcoder.v1.Encryption.getDefaultInstance(); - } - - @java.lang.Override - public com.google.cloud.video.transcoder.v1.Encryption build() { - com.google.cloud.video.transcoder.v1.Encryption result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.cloud.video.transcoder.v1.Encryption buildPartial() { - com.google.cloud.video.transcoder.v1.Encryption result = - new com.google.cloud.video.transcoder.v1.Encryption(this); - result.key_ = key_; - result.iv_ = iv_; - if (encryptionModeCase_ == 3) { - if (aes128Builder_ == null) { - result.encryptionMode_ = encryptionMode_; - } else { - result.encryptionMode_ = aes128Builder_.build(); - } - } - if (encryptionModeCase_ == 4) { - if (sampleAesBuilder_ == null) { - result.encryptionMode_ = encryptionMode_; - } else { - result.encryptionMode_ = sampleAesBuilder_.build(); - } - } - if (encryptionModeCase_ == 5) { - if (mpegCencBuilder_ == null) { - result.encryptionMode_ = encryptionMode_; - } else { - result.encryptionMode_ = mpegCencBuilder_.build(); - } - } - result.encryptionModeCase_ = encryptionModeCase_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.video.transcoder.v1.Encryption) { - return mergeFrom((com.google.cloud.video.transcoder.v1.Encryption) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.cloud.video.transcoder.v1.Encryption other) { - if (other == com.google.cloud.video.transcoder.v1.Encryption.getDefaultInstance()) - return this; - if (!other.getKey().isEmpty()) { - key_ = other.key_; - onChanged(); - } - if (!other.getIv().isEmpty()) { - iv_ = other.iv_; - onChanged(); - } - switch (other.getEncryptionModeCase()) { - case AES_128: - { - mergeAes128(other.getAes128()); - break; - } - case SAMPLE_AES: - { - mergeSampleAes(other.getSampleAes()); - break; - } - case MPEG_CENC: - { - mergeMpegCenc(other.getMpegCenc()); - break; - } - case ENCRYPTIONMODE_NOT_SET: - { - break; - } - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - com.google.cloud.video.transcoder.v1.Encryption parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.video.transcoder.v1.Encryption) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int encryptionModeCase_ = 0; - private java.lang.Object encryptionMode_; - - public EncryptionModeCase getEncryptionModeCase() { - return EncryptionModeCase.forNumber(encryptionModeCase_); - } - - public Builder clearEncryptionMode() { - encryptionModeCase_ = 0; - encryptionMode_ = null; - onChanged(); - return this; - } - - private java.lang.Object key_ = ""; - /** - * - * - *
-     * Required. 128 bit encryption key represented as lowercase hexadecimal digits.
-     * 
- * - * string key = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The key. - */ - public java.lang.String getKey() { - java.lang.Object ref = key_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - key_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
-     * Required. 128 bit encryption key represented as lowercase hexadecimal digits.
-     * 
- * - * string key = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for key. - */ - public com.google.protobuf.ByteString getKeyBytes() { - java.lang.Object ref = key_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - key_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
-     * Required. 128 bit encryption key represented as lowercase hexadecimal digits.
-     * 
- * - * string key = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @param value The key to set. - * @return This builder for chaining. - */ - public Builder setKey(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - key_ = value; - onChanged(); - return this; - } - /** - * - * - *
-     * Required. 128 bit encryption key represented as lowercase hexadecimal digits.
-     * 
- * - * string key = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return This builder for chaining. - */ - public Builder clearKey() { - - key_ = getDefaultInstance().getKey(); - onChanged(); - return this; - } - /** - * - * - *
-     * Required. 128 bit encryption key represented as lowercase hexadecimal digits.
-     * 
- * - * string key = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @param value The bytes for key to set. - * @return This builder for chaining. - */ - public Builder setKeyBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - key_ = value; - onChanged(); - return this; - } - - private java.lang.Object iv_ = ""; - /** - * - * - *
-     * Required. 128 bit Initialization Vector (IV) represented as lowercase hexadecimal
-     * digits.
-     * 
- * - * string iv = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The iv. - */ - public java.lang.String getIv() { - java.lang.Object ref = iv_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - iv_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
-     * Required. 128 bit Initialization Vector (IV) represented as lowercase hexadecimal
-     * digits.
-     * 
- * - * string iv = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for iv. - */ - public com.google.protobuf.ByteString getIvBytes() { - java.lang.Object ref = iv_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - iv_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
-     * Required. 128 bit Initialization Vector (IV) represented as lowercase hexadecimal
-     * digits.
-     * 
- * - * string iv = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @param value The iv to set. - * @return This builder for chaining. - */ - public Builder setIv(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - iv_ = value; - onChanged(); - return this; - } - /** - * - * - *
-     * Required. 128 bit Initialization Vector (IV) represented as lowercase hexadecimal
-     * digits.
-     * 
- * - * string iv = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @return This builder for chaining. - */ - public Builder clearIv() { - - iv_ = getDefaultInstance().getIv(); - onChanged(); - return this; - } - /** - * - * - *
-     * Required. 128 bit Initialization Vector (IV) represented as lowercase hexadecimal
-     * digits.
-     * 
- * - * string iv = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @param value The bytes for iv to set. - * @return This builder for chaining. - */ - public Builder setIvBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - iv_ = value; - onChanged(); - return this; - } - - private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.transcoder.v1.Encryption.Aes128Encryption, - com.google.cloud.video.transcoder.v1.Encryption.Aes128Encryption.Builder, - com.google.cloud.video.transcoder.v1.Encryption.Aes128EncryptionOrBuilder> - aes128Builder_; - /** - * - * - *
-     * Configuration for AES-128 encryption.
-     * 
- * - * .google.cloud.video.transcoder.v1.Encryption.Aes128Encryption aes_128 = 3; - * - * @return Whether the aes128 field is set. - */ - @java.lang.Override - public boolean hasAes128() { - return encryptionModeCase_ == 3; - } - /** - * - * - *
-     * Configuration for AES-128 encryption.
-     * 
- * - * .google.cloud.video.transcoder.v1.Encryption.Aes128Encryption aes_128 = 3; - * - * @return The aes128. - */ - @java.lang.Override - public com.google.cloud.video.transcoder.v1.Encryption.Aes128Encryption getAes128() { - if (aes128Builder_ == null) { - if (encryptionModeCase_ == 3) { - return (com.google.cloud.video.transcoder.v1.Encryption.Aes128Encryption) encryptionMode_; - } - return com.google.cloud.video.transcoder.v1.Encryption.Aes128Encryption - .getDefaultInstance(); - } else { - if (encryptionModeCase_ == 3) { - return aes128Builder_.getMessage(); - } - return com.google.cloud.video.transcoder.v1.Encryption.Aes128Encryption - .getDefaultInstance(); - } - } - /** - * - * - *
-     * Configuration for AES-128 encryption.
-     * 
- * - * .google.cloud.video.transcoder.v1.Encryption.Aes128Encryption aes_128 = 3; - */ - public Builder setAes128( - com.google.cloud.video.transcoder.v1.Encryption.Aes128Encryption value) { - if (aes128Builder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - encryptionMode_ = value; - onChanged(); - } else { - aes128Builder_.setMessage(value); - } - encryptionModeCase_ = 3; - return this; - } - /** - * - * - *
-     * Configuration for AES-128 encryption.
-     * 
- * - * .google.cloud.video.transcoder.v1.Encryption.Aes128Encryption aes_128 = 3; - */ - public Builder setAes128( - com.google.cloud.video.transcoder.v1.Encryption.Aes128Encryption.Builder builderForValue) { - if (aes128Builder_ == null) { - encryptionMode_ = builderForValue.build(); - onChanged(); - } else { - aes128Builder_.setMessage(builderForValue.build()); - } - encryptionModeCase_ = 3; - return this; - } - /** - * - * - *
-     * Configuration for AES-128 encryption.
-     * 
- * - * .google.cloud.video.transcoder.v1.Encryption.Aes128Encryption aes_128 = 3; - */ - public Builder mergeAes128( - com.google.cloud.video.transcoder.v1.Encryption.Aes128Encryption value) { - if (aes128Builder_ == null) { - if (encryptionModeCase_ == 3 - && encryptionMode_ - != com.google.cloud.video.transcoder.v1.Encryption.Aes128Encryption - .getDefaultInstance()) { - encryptionMode_ = - com.google.cloud.video.transcoder.v1.Encryption.Aes128Encryption.newBuilder( - (com.google.cloud.video.transcoder.v1.Encryption.Aes128Encryption) - encryptionMode_) - .mergeFrom(value) - .buildPartial(); - } else { - encryptionMode_ = value; - } - onChanged(); - } else { - if (encryptionModeCase_ == 3) { - aes128Builder_.mergeFrom(value); - } - aes128Builder_.setMessage(value); - } - encryptionModeCase_ = 3; - return this; - } - /** - * - * - *
-     * Configuration for AES-128 encryption.
-     * 
- * - * .google.cloud.video.transcoder.v1.Encryption.Aes128Encryption aes_128 = 3; - */ - public Builder clearAes128() { - if (aes128Builder_ == null) { - if (encryptionModeCase_ == 3) { - encryptionModeCase_ = 0; - encryptionMode_ = null; - onChanged(); - } - } else { - if (encryptionModeCase_ == 3) { - encryptionModeCase_ = 0; - encryptionMode_ = null; - } - aes128Builder_.clear(); - } - return this; - } - /** - * - * - *
-     * Configuration for AES-128 encryption.
-     * 
- * - * .google.cloud.video.transcoder.v1.Encryption.Aes128Encryption aes_128 = 3; - */ - public com.google.cloud.video.transcoder.v1.Encryption.Aes128Encryption.Builder - getAes128Builder() { - return getAes128FieldBuilder().getBuilder(); - } - /** - * - * - *
-     * Configuration for AES-128 encryption.
-     * 
- * - * .google.cloud.video.transcoder.v1.Encryption.Aes128Encryption aes_128 = 3; - */ - @java.lang.Override - public com.google.cloud.video.transcoder.v1.Encryption.Aes128EncryptionOrBuilder - getAes128OrBuilder() { - if ((encryptionModeCase_ == 3) && (aes128Builder_ != null)) { - return aes128Builder_.getMessageOrBuilder(); - } else { - if (encryptionModeCase_ == 3) { - return (com.google.cloud.video.transcoder.v1.Encryption.Aes128Encryption) encryptionMode_; - } - return com.google.cloud.video.transcoder.v1.Encryption.Aes128Encryption - .getDefaultInstance(); - } - } - /** - * - * - *
-     * Configuration for AES-128 encryption.
-     * 
- * - * .google.cloud.video.transcoder.v1.Encryption.Aes128Encryption aes_128 = 3; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.transcoder.v1.Encryption.Aes128Encryption, - com.google.cloud.video.transcoder.v1.Encryption.Aes128Encryption.Builder, - com.google.cloud.video.transcoder.v1.Encryption.Aes128EncryptionOrBuilder> - getAes128FieldBuilder() { - if (aes128Builder_ == null) { - if (!(encryptionModeCase_ == 3)) { - encryptionMode_ = - com.google.cloud.video.transcoder.v1.Encryption.Aes128Encryption.getDefaultInstance(); - } - aes128Builder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.transcoder.v1.Encryption.Aes128Encryption, - com.google.cloud.video.transcoder.v1.Encryption.Aes128Encryption.Builder, - com.google.cloud.video.transcoder.v1.Encryption.Aes128EncryptionOrBuilder>( - (com.google.cloud.video.transcoder.v1.Encryption.Aes128Encryption) encryptionMode_, - getParentForChildren(), - isClean()); - encryptionMode_ = null; - } - encryptionModeCase_ = 3; - onChanged(); - ; - return aes128Builder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption, - com.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption.Builder, - com.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryptionOrBuilder> - sampleAesBuilder_; - /** - * - * - *
-     * Configuration for SAMPLE-AES encryption.
-     * 
- * - * .google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption sample_aes = 4; - * - * @return Whether the sampleAes field is set. - */ - @java.lang.Override - public boolean hasSampleAes() { - return encryptionModeCase_ == 4; - } - /** - * - * - *
-     * Configuration for SAMPLE-AES encryption.
-     * 
- * - * .google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption sample_aes = 4; - * - * @return The sampleAes. - */ - @java.lang.Override - public com.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption getSampleAes() { - if (sampleAesBuilder_ == null) { - if (encryptionModeCase_ == 4) { - return (com.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption) - encryptionMode_; - } - return com.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption - .getDefaultInstance(); - } else { - if (encryptionModeCase_ == 4) { - return sampleAesBuilder_.getMessage(); - } - return com.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption - .getDefaultInstance(); - } - } - /** - * - * - *
-     * Configuration for SAMPLE-AES encryption.
-     * 
- * - * .google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption sample_aes = 4; - */ - public Builder setSampleAes( - com.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption value) { - if (sampleAesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - encryptionMode_ = value; - onChanged(); - } else { - sampleAesBuilder_.setMessage(value); - } - encryptionModeCase_ = 4; - return this; - } - /** - * - * - *
-     * Configuration for SAMPLE-AES encryption.
-     * 
- * - * .google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption sample_aes = 4; - */ - public Builder setSampleAes( - com.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption.Builder - builderForValue) { - if (sampleAesBuilder_ == null) { - encryptionMode_ = builderForValue.build(); - onChanged(); - } else { - sampleAesBuilder_.setMessage(builderForValue.build()); - } - encryptionModeCase_ = 4; - return this; - } - /** - * - * - *
-     * Configuration for SAMPLE-AES encryption.
-     * 
- * - * .google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption sample_aes = 4; - */ - public Builder mergeSampleAes( - com.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption value) { - if (sampleAesBuilder_ == null) { - if (encryptionModeCase_ == 4 - && encryptionMode_ - != com.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption - .getDefaultInstance()) { - encryptionMode_ = - com.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption.newBuilder( - (com.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption) - encryptionMode_) - .mergeFrom(value) - .buildPartial(); - } else { - encryptionMode_ = value; - } - onChanged(); - } else { - if (encryptionModeCase_ == 4) { - sampleAesBuilder_.mergeFrom(value); - } - sampleAesBuilder_.setMessage(value); - } - encryptionModeCase_ = 4; - return this; - } - /** - * - * - *
-     * Configuration for SAMPLE-AES encryption.
-     * 
- * - * .google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption sample_aes = 4; - */ - public Builder clearSampleAes() { - if (sampleAesBuilder_ == null) { - if (encryptionModeCase_ == 4) { - encryptionModeCase_ = 0; - encryptionMode_ = null; - onChanged(); - } - } else { - if (encryptionModeCase_ == 4) { - encryptionModeCase_ = 0; - encryptionMode_ = null; - } - sampleAesBuilder_.clear(); - } - return this; - } - /** - * - * - *
-     * Configuration for SAMPLE-AES encryption.
-     * 
- * - * .google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption sample_aes = 4; - */ - public com.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption.Builder - getSampleAesBuilder() { - return getSampleAesFieldBuilder().getBuilder(); - } - /** - * - * - *
-     * Configuration for SAMPLE-AES encryption.
-     * 
- * - * .google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption sample_aes = 4; - */ - @java.lang.Override - public com.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryptionOrBuilder - getSampleAesOrBuilder() { - if ((encryptionModeCase_ == 4) && (sampleAesBuilder_ != null)) { - return sampleAesBuilder_.getMessageOrBuilder(); - } else { - if (encryptionModeCase_ == 4) { - return (com.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption) - encryptionMode_; - } - return com.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption - .getDefaultInstance(); - } - } - /** - * - * - *
-     * Configuration for SAMPLE-AES encryption.
-     * 
- * - * .google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption sample_aes = 4; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption, - com.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption.Builder, - com.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryptionOrBuilder> - getSampleAesFieldBuilder() { - if (sampleAesBuilder_ == null) { - if (!(encryptionModeCase_ == 4)) { - encryptionMode_ = - com.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption - .getDefaultInstance(); - } - sampleAesBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption, - com.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption.Builder, - com.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryptionOrBuilder>( - (com.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption) - encryptionMode_, - getParentForChildren(), - isClean()); - encryptionMode_ = null; - } - encryptionModeCase_ = 4; - onChanged(); - ; - return sampleAesBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption, - com.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption.Builder, - com.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryptionOrBuilder> - mpegCencBuilder_; - /** - * - * - *
-     * Configuration for MPEG Common Encryption (MPEG-CENC).
-     * 
- * - * .google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption mpeg_cenc = 5; - * - * @return Whether the mpegCenc field is set. - */ - @java.lang.Override - public boolean hasMpegCenc() { - return encryptionModeCase_ == 5; - } - /** - * - * - *
-     * Configuration for MPEG Common Encryption (MPEG-CENC).
-     * 
- * - * .google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption mpeg_cenc = 5; - * - * @return The mpegCenc. - */ - @java.lang.Override - public com.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption getMpegCenc() { - if (mpegCencBuilder_ == null) { - if (encryptionModeCase_ == 5) { - return (com.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption) - encryptionMode_; - } - return com.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption - .getDefaultInstance(); - } else { - if (encryptionModeCase_ == 5) { - return mpegCencBuilder_.getMessage(); - } - return com.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption - .getDefaultInstance(); - } - } - /** - * - * - *
-     * Configuration for MPEG Common Encryption (MPEG-CENC).
-     * 
- * - * .google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption mpeg_cenc = 5; - */ - public Builder setMpegCenc( - com.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption value) { - if (mpegCencBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - encryptionMode_ = value; - onChanged(); - } else { - mpegCencBuilder_.setMessage(value); - } - encryptionModeCase_ = 5; - return this; - } - /** - * - * - *
-     * Configuration for MPEG Common Encryption (MPEG-CENC).
-     * 
- * - * .google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption mpeg_cenc = 5; - */ - public Builder setMpegCenc( - com.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption.Builder - builderForValue) { - if (mpegCencBuilder_ == null) { - encryptionMode_ = builderForValue.build(); - onChanged(); - } else { - mpegCencBuilder_.setMessage(builderForValue.build()); - } - encryptionModeCase_ = 5; - return this; - } - /** - * - * - *
-     * Configuration for MPEG Common Encryption (MPEG-CENC).
-     * 
- * - * .google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption mpeg_cenc = 5; - */ - public Builder mergeMpegCenc( - com.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption value) { - if (mpegCencBuilder_ == null) { - if (encryptionModeCase_ == 5 - && encryptionMode_ - != com.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption - .getDefaultInstance()) { - encryptionMode_ = - com.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption.newBuilder( - (com.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption) - encryptionMode_) - .mergeFrom(value) - .buildPartial(); - } else { - encryptionMode_ = value; - } - onChanged(); - } else { - if (encryptionModeCase_ == 5) { - mpegCencBuilder_.mergeFrom(value); - } - mpegCencBuilder_.setMessage(value); - } - encryptionModeCase_ = 5; - return this; - } - /** - * - * - *
-     * Configuration for MPEG Common Encryption (MPEG-CENC).
-     * 
- * - * .google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption mpeg_cenc = 5; - */ - public Builder clearMpegCenc() { - if (mpegCencBuilder_ == null) { - if (encryptionModeCase_ == 5) { - encryptionModeCase_ = 0; - encryptionMode_ = null; - onChanged(); - } - } else { - if (encryptionModeCase_ == 5) { - encryptionModeCase_ = 0; - encryptionMode_ = null; - } - mpegCencBuilder_.clear(); - } - return this; - } - /** - * - * - *
-     * Configuration for MPEG Common Encryption (MPEG-CENC).
-     * 
- * - * .google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption mpeg_cenc = 5; - */ - public com.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption.Builder - getMpegCencBuilder() { - return getMpegCencFieldBuilder().getBuilder(); - } - /** - * - * - *
-     * Configuration for MPEG Common Encryption (MPEG-CENC).
-     * 
- * - * .google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption mpeg_cenc = 5; - */ - @java.lang.Override - public com.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryptionOrBuilder - getMpegCencOrBuilder() { - if ((encryptionModeCase_ == 5) && (mpegCencBuilder_ != null)) { - return mpegCencBuilder_.getMessageOrBuilder(); - } else { - if (encryptionModeCase_ == 5) { - return (com.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption) - encryptionMode_; - } - return com.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption - .getDefaultInstance(); - } - } - /** - * - * - *
-     * Configuration for MPEG Common Encryption (MPEG-CENC).
-     * 
- * - * .google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption mpeg_cenc = 5; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption, - com.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption.Builder, - com.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryptionOrBuilder> - getMpegCencFieldBuilder() { - if (mpegCencBuilder_ == null) { - if (!(encryptionModeCase_ == 5)) { - encryptionMode_ = - com.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption - .getDefaultInstance(); - } - mpegCencBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption, - com.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption.Builder, - com.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryptionOrBuilder>( - (com.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption) - encryptionMode_, - getParentForChildren(), - isClean()); - encryptionMode_ = null; - } - encryptionModeCase_ = 5; - onChanged(); - ; - return mpegCencBuilder_; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.cloud.video.transcoder.v1.Encryption) - } - - // @@protoc_insertion_point(class_scope:google.cloud.video.transcoder.v1.Encryption) - private static final com.google.cloud.video.transcoder.v1.Encryption DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.cloud.video.transcoder.v1.Encryption(); - } - - public static com.google.cloud.video.transcoder.v1.Encryption getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Encryption parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Encryption(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.cloud.video.transcoder.v1.Encryption getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/EncryptionOrBuilder.java b/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/EncryptionOrBuilder.java deleted file mode 100644 index d6386a2a..00000000 --- a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/EncryptionOrBuilder.java +++ /dev/null @@ -1,186 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/video/transcoder/v1/resources.proto - -package com.google.cloud.video.transcoder.v1; - -public interface EncryptionOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.video.transcoder.v1.Encryption) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. 128 bit encryption key represented as lowercase hexadecimal digits.
-   * 
- * - * string key = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The key. - */ - java.lang.String getKey(); - /** - * - * - *
-   * Required. 128 bit encryption key represented as lowercase hexadecimal digits.
-   * 
- * - * string key = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for key. - */ - com.google.protobuf.ByteString getKeyBytes(); - - /** - * - * - *
-   * Required. 128 bit Initialization Vector (IV) represented as lowercase hexadecimal
-   * digits.
-   * 
- * - * string iv = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The iv. - */ - java.lang.String getIv(); - /** - * - * - *
-   * Required. 128 bit Initialization Vector (IV) represented as lowercase hexadecimal
-   * digits.
-   * 
- * - * string iv = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for iv. - */ - com.google.protobuf.ByteString getIvBytes(); - - /** - * - * - *
-   * Configuration for AES-128 encryption.
-   * 
- * - * .google.cloud.video.transcoder.v1.Encryption.Aes128Encryption aes_128 = 3; - * - * @return Whether the aes128 field is set. - */ - boolean hasAes128(); - /** - * - * - *
-   * Configuration for AES-128 encryption.
-   * 
- * - * .google.cloud.video.transcoder.v1.Encryption.Aes128Encryption aes_128 = 3; - * - * @return The aes128. - */ - com.google.cloud.video.transcoder.v1.Encryption.Aes128Encryption getAes128(); - /** - * - * - *
-   * Configuration for AES-128 encryption.
-   * 
- * - * .google.cloud.video.transcoder.v1.Encryption.Aes128Encryption aes_128 = 3; - */ - com.google.cloud.video.transcoder.v1.Encryption.Aes128EncryptionOrBuilder getAes128OrBuilder(); - - /** - * - * - *
-   * Configuration for SAMPLE-AES encryption.
-   * 
- * - * .google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption sample_aes = 4; - * - * @return Whether the sampleAes field is set. - */ - boolean hasSampleAes(); - /** - * - * - *
-   * Configuration for SAMPLE-AES encryption.
-   * 
- * - * .google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption sample_aes = 4; - * - * @return The sampleAes. - */ - com.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption getSampleAes(); - /** - * - * - *
-   * Configuration for SAMPLE-AES encryption.
-   * 
- * - * .google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption sample_aes = 4; - */ - com.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryptionOrBuilder - getSampleAesOrBuilder(); - - /** - * - * - *
-   * Configuration for MPEG Common Encryption (MPEG-CENC).
-   * 
- * - * .google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption mpeg_cenc = 5; - * - * @return Whether the mpegCenc field is set. - */ - boolean hasMpegCenc(); - /** - * - * - *
-   * Configuration for MPEG Common Encryption (MPEG-CENC).
-   * 
- * - * .google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption mpeg_cenc = 5; - * - * @return The mpegCenc. - */ - com.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption getMpegCenc(); - /** - * - * - *
-   * Configuration for MPEG Common Encryption (MPEG-CENC).
-   * 
- * - * .google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption mpeg_cenc = 5; - */ - com.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryptionOrBuilder - getMpegCencOrBuilder(); - - public com.google.cloud.video.transcoder.v1.Encryption.EncryptionModeCase getEncryptionModeCase(); -} diff --git a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/GetJobRequest.java b/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/GetJobRequest.java index 6a172625..018985bd 100644 --- a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/GetJobRequest.java +++ b/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/GetJobRequest.java @@ -180,7 +180,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } unknownFields.writeTo(output); @@ -192,7 +192,7 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } size += unknownFields.getSerializedSize(); diff --git a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/GetJobTemplateRequest.java b/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/GetJobTemplateRequest.java index 08d522f0..25762a31 100644 --- a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/GetJobTemplateRequest.java +++ b/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/GetJobTemplateRequest.java @@ -182,7 +182,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } unknownFields.writeTo(output); @@ -194,7 +194,7 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } size += unknownFields.getSerializedSize(); diff --git a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/Input.java b/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/Input.java index f5f91d2a..d4268ab8 100644 --- a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/Input.java +++ b/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/Input.java @@ -303,10 +303,10 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getKeyBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, key_); } - if (!getUriBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, uri_); } if (preprocessingConfig_ != null) { @@ -321,10 +321,10 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getKeyBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, key_); } - if (!getUriBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, uri_); } if (preprocessingConfig_ != null) { diff --git a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/Job.java b/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/Job.java index 1929e0d0..a74c6139 100644 --- a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/Job.java +++ b/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/Job.java @@ -482,7 +482,7 @@ public JobConfigCase getJobConfigCase() { * *
    * The resource name of the job.
-   * Format: `projects/{project}/locations/{location}/jobs/{job}`
+   * Format: `projects/{project_number}/locations/{location}/jobs/{job}`
    * 
* * string name = 1; @@ -506,7 +506,7 @@ public java.lang.String getName() { * *
    * The resource name of the job.
-   * Format: `projects/{project}/locations/{location}/jobs/{job}`
+   * Format: `projects/{project_number}/locations/{location}/jobs/{job}`
    * 
* * string name = 1; @@ -1042,13 +1042,13 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (!getInputUriBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inputUri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, inputUri_); } - if (!getOutputUriBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(outputUri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, outputUri_); } if (jobConfigCase_ == 4) { @@ -1086,13 +1086,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (!getInputUriBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inputUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, inputUri_); } - if (!getOutputUriBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(outputUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, outputUri_); } if (jobConfigCase_ == 4) { @@ -1609,7 +1609,7 @@ public Builder clearJobConfig() { * *
      * The resource name of the job.
-     * Format: `projects/{project}/locations/{location}/jobs/{job}`
+     * Format: `projects/{project_number}/locations/{location}/jobs/{job}`
      * 
* * string name = 1; @@ -1632,7 +1632,7 @@ public java.lang.String getName() { * *
      * The resource name of the job.
-     * Format: `projects/{project}/locations/{location}/jobs/{job}`
+     * Format: `projects/{project_number}/locations/{location}/jobs/{job}`
      * 
* * string name = 1; @@ -1655,7 +1655,7 @@ public com.google.protobuf.ByteString getNameBytes() { * *
      * The resource name of the job.
-     * Format: `projects/{project}/locations/{location}/jobs/{job}`
+     * Format: `projects/{project_number}/locations/{location}/jobs/{job}`
      * 
* * string name = 1; @@ -1677,7 +1677,7 @@ public Builder setName(java.lang.String value) { * *
      * The resource name of the job.
-     * Format: `projects/{project}/locations/{location}/jobs/{job}`
+     * Format: `projects/{project_number}/locations/{location}/jobs/{job}`
      * 
* * string name = 1; @@ -1695,7 +1695,7 @@ public Builder clearName() { * *
      * The resource name of the job.
-     * Format: `projects/{project}/locations/{location}/jobs/{job}`
+     * Format: `projects/{project_number}/locations/{location}/jobs/{job}`
      * 
* * string name = 1; diff --git a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/JobOrBuilder.java b/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/JobOrBuilder.java index b0a4769a..3ddaa5a4 100644 --- a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/JobOrBuilder.java +++ b/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/JobOrBuilder.java @@ -28,7 +28,7 @@ public interface JobOrBuilder * *
    * The resource name of the job.
-   * Format: `projects/{project}/locations/{location}/jobs/{job}`
+   * Format: `projects/{project_number}/locations/{location}/jobs/{job}`
    * 
* * string name = 1; @@ -41,7 +41,7 @@ public interface JobOrBuilder * *
    * The resource name of the job.
-   * Format: `projects/{project}/locations/{location}/jobs/{job}`
+   * Format: `projects/{project_number}/locations/{location}/jobs/{job}`
    * 
* * string name = 1; diff --git a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/JobTemplate.java b/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/JobTemplate.java index d94628d6..1de12374 100644 --- a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/JobTemplate.java +++ b/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/JobTemplate.java @@ -135,7 +135,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { *
    * The resource name of the job template.
    * Format:
-   * `projects/{project}/locations/{location}/jobTemplates/{job_template}`
+   * `projects/{project_number}/locations/{location}/jobTemplates/{job_template}`
    * 
* * string name = 1; @@ -160,7 +160,7 @@ public java.lang.String getName() { *
    * The resource name of the job template.
    * Format:
-   * `projects/{project}/locations/{location}/jobTemplates/{job_template}`
+   * `projects/{project_number}/locations/{location}/jobTemplates/{job_template}`
    * 
* * string name = 1; @@ -242,7 +242,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (config_ != null) { @@ -257,7 +257,7 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (config_ != null) { @@ -580,7 +580,7 @@ public Builder mergeFrom( *
      * The resource name of the job template.
      * Format:
-     * `projects/{project}/locations/{location}/jobTemplates/{job_template}`
+     * `projects/{project_number}/locations/{location}/jobTemplates/{job_template}`
      * 
* * string name = 1; @@ -604,7 +604,7 @@ public java.lang.String getName() { *
      * The resource name of the job template.
      * Format:
-     * `projects/{project}/locations/{location}/jobTemplates/{job_template}`
+     * `projects/{project_number}/locations/{location}/jobTemplates/{job_template}`
      * 
* * string name = 1; @@ -628,7 +628,7 @@ public com.google.protobuf.ByteString getNameBytes() { *
      * The resource name of the job template.
      * Format:
-     * `projects/{project}/locations/{location}/jobTemplates/{job_template}`
+     * `projects/{project_number}/locations/{location}/jobTemplates/{job_template}`
      * 
* * string name = 1; @@ -651,7 +651,7 @@ public Builder setName(java.lang.String value) { *
      * The resource name of the job template.
      * Format:
-     * `projects/{project}/locations/{location}/jobTemplates/{job_template}`
+     * `projects/{project_number}/locations/{location}/jobTemplates/{job_template}`
      * 
* * string name = 1; @@ -670,7 +670,7 @@ public Builder clearName() { *
      * The resource name of the job template.
      * Format:
-     * `projects/{project}/locations/{location}/jobTemplates/{job_template}`
+     * `projects/{project_number}/locations/{location}/jobTemplates/{job_template}`
      * 
* * string name = 1; diff --git a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/JobTemplateOrBuilder.java b/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/JobTemplateOrBuilder.java index 59a95e50..0d8decfc 100644 --- a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/JobTemplateOrBuilder.java +++ b/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/JobTemplateOrBuilder.java @@ -29,7 +29,7 @@ public interface JobTemplateOrBuilder *
    * The resource name of the job template.
    * Format:
-   * `projects/{project}/locations/{location}/jobTemplates/{job_template}`
+   * `projects/{project_number}/locations/{location}/jobTemplates/{job_template}`
    * 
* * string name = 1; @@ -43,7 +43,7 @@ public interface JobTemplateOrBuilder *
    * The resource name of the job template.
    * Format:
-   * `projects/{project}/locations/{location}/jobTemplates/{job_template}`
+   * `projects/{project_number}/locations/{location}/jobTemplates/{job_template}`
    * 
* * string name = 1; diff --git a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ListJobTemplatesRequest.java b/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ListJobTemplatesRequest.java index 97f7eaff..d683000c 100644 --- a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ListJobTemplatesRequest.java +++ b/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ListJobTemplatesRequest.java @@ -380,19 +380,19 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getParentBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } if (pageSize_ != 0) { output.writeInt32(2, pageSize_); } - if (!getPageTokenBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_); } - if (!getFilterBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, filter_); } - if (!getOrderByBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, orderBy_); } unknownFields.writeTo(output); @@ -404,19 +404,19 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getParentBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } - if (!getPageTokenBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); } - if (!getFilterBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, filter_); } - if (!getOrderByBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, orderBy_); } size += unknownFields.getSerializedSize(); diff --git a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ListJobTemplatesResponse.java b/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ListJobTemplatesResponse.java index 68eb912f..a82ef523 100644 --- a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ListJobTemplatesResponse.java +++ b/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ListJobTemplatesResponse.java @@ -340,7 +340,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < jobTemplates_.size(); i++) { output.writeMessage(1, jobTemplates_.get(i)); } - if (!getNextPageTokenBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); } for (int i = 0; i < unreachable_.size(); i++) { @@ -358,7 +358,7 @@ public int getSerializedSize() { for (int i = 0; i < jobTemplates_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, jobTemplates_.get(i)); } - if (!getNextPageTokenBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); } { diff --git a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ListJobsRequest.java b/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ListJobsRequest.java index e7d545cb..ff0678d9 100644 --- a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ListJobsRequest.java +++ b/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ListJobsRequest.java @@ -379,19 +379,19 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getParentBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } if (pageSize_ != 0) { output.writeInt32(2, pageSize_); } - if (!getPageTokenBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_); } - if (!getFilterBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, filter_); } - if (!getOrderByBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, orderBy_); } unknownFields.writeTo(output); @@ -403,19 +403,19 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getParentBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } - if (!getPageTokenBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); } - if (!getFilterBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, filter_); } - if (!getOrderByBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, orderBy_); } size += unknownFields.getSerializedSize(); diff --git a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ListJobsResponse.java b/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ListJobsResponse.java index 0cf8d82c..1b844a20 100644 --- a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ListJobsResponse.java +++ b/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ListJobsResponse.java @@ -337,7 +337,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < jobs_.size(); i++) { output.writeMessage(1, jobs_.get(i)); } - if (!getNextPageTokenBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); } for (int i = 0; i < unreachable_.size(); i++) { @@ -355,7 +355,7 @@ public int getSerializedSize() { for (int i = 0; i < jobs_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, jobs_.get(i)); } - if (!getNextPageTokenBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); } { diff --git a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/Manifest.java b/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/Manifest.java index 032009b7..909b5256 100644 --- a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/Manifest.java +++ b/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/Manifest.java @@ -138,7 +138,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The manifest type can be either `"HLS"` or `"DASH"`.
+   * The manifest type can be either `HLS` or `DASH`.
    * 
* * Protobuf enum {@code google.cloud.video.transcoder.v1.Manifest.ManifestType} @@ -158,7 +158,7 @@ public enum ManifestType implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * Create `"HLS"` manifest. The corresponding file extension is `".m3u8"`.
+     * Create `HLS` manifest. The corresponding file extension is `.m3u8`.
      * 
* * HLS = 1; @@ -168,7 +168,7 @@ public enum ManifestType implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * Create `"DASH"` manifest. The corresponding file extension is `".mpd"`.
+     * Create `DASH` manifest. The corresponding file extension is `.mpd`.
      * 
* * DASH = 2; @@ -191,7 +191,7 @@ public enum ManifestType implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * Create `"HLS"` manifest. The corresponding file extension is `".m3u8"`.
+     * Create `HLS` manifest. The corresponding file extension is `.m3u8`.
      * 
* * HLS = 1; @@ -201,7 +201,7 @@ public enum ManifestType implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * Create `"DASH"` manifest. The corresponding file extension is `".mpd"`.
+     * Create `DASH` manifest. The corresponding file extension is `.mpd`.
      * 
* * DASH = 2; @@ -297,7 +297,7 @@ private ManifestType(int value) { * * *
-   * The name of the generated file. The default is `"manifest"` with the
+   * The name of the generated file. The default is `manifest` with the
    * extension suffix corresponding to the `Manifest.type`.
    * 
* @@ -321,7 +321,7 @@ public java.lang.String getFileName() { * * *
-   * The name of the generated file. The default is `"manifest"` with the
+   * The name of the generated file. The default is `manifest` with the
    * extension suffix corresponding to the `Manifest.type`.
    * 
* @@ -348,7 +348,7 @@ public com.google.protobuf.ByteString getFileNameBytes() { * * *
-   * Required. Type of the manifest, can be "HLS" or "DASH".
+   * Required. Type of the manifest, can be `HLS` or `DASH`.
    * 
* * @@ -365,7 +365,7 @@ public int getTypeValue() { * * *
-   * Required. Type of the manifest, can be "HLS" or "DASH".
+   * Required. Type of the manifest, can be `HLS` or `DASH`.
    * 
* * @@ -471,7 +471,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getFileNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fileName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, fileName_); } if (type_ @@ -491,7 +491,7 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getFileNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fileName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, fileName_); } if (type_ @@ -833,7 +833,7 @@ public Builder mergeFrom( * * *
-     * The name of the generated file. The default is `"manifest"` with the
+     * The name of the generated file. The default is `manifest` with the
      * extension suffix corresponding to the `Manifest.type`.
      * 
* @@ -856,7 +856,7 @@ public java.lang.String getFileName() { * * *
-     * The name of the generated file. The default is `"manifest"` with the
+     * The name of the generated file. The default is `manifest` with the
      * extension suffix corresponding to the `Manifest.type`.
      * 
* @@ -879,7 +879,7 @@ public com.google.protobuf.ByteString getFileNameBytes() { * * *
-     * The name of the generated file. The default is `"manifest"` with the
+     * The name of the generated file. The default is `manifest` with the
      * extension suffix corresponding to the `Manifest.type`.
      * 
* @@ -901,7 +901,7 @@ public Builder setFileName(java.lang.String value) { * * *
-     * The name of the generated file. The default is `"manifest"` with the
+     * The name of the generated file. The default is `manifest` with the
      * extension suffix corresponding to the `Manifest.type`.
      * 
* @@ -919,7 +919,7 @@ public Builder clearFileName() { * * *
-     * The name of the generated file. The default is `"manifest"` with the
+     * The name of the generated file. The default is `manifest` with the
      * extension suffix corresponding to the `Manifest.type`.
      * 
* @@ -944,7 +944,7 @@ public Builder setFileNameBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. Type of the manifest, can be "HLS" or "DASH".
+     * Required. Type of the manifest, can be `HLS` or `DASH`.
      * 
* * @@ -961,7 +961,7 @@ public int getTypeValue() { * * *
-     * Required. Type of the manifest, can be "HLS" or "DASH".
+     * Required. Type of the manifest, can be `HLS` or `DASH`.
      * 
* * @@ -981,7 +981,7 @@ public Builder setTypeValue(int value) { * * *
-     * Required. Type of the manifest, can be "HLS" or "DASH".
+     * Required. Type of the manifest, can be `HLS` or `DASH`.
      * 
* * @@ -1003,7 +1003,7 @@ public com.google.cloud.video.transcoder.v1.Manifest.ManifestType getType() { * * *
-     * Required. Type of the manifest, can be "HLS" or "DASH".
+     * Required. Type of the manifest, can be `HLS` or `DASH`.
      * 
* * @@ -1026,7 +1026,7 @@ public Builder setType(com.google.cloud.video.transcoder.v1.Manifest.ManifestTyp * * *
-     * Required. Type of the manifest, can be "HLS" or "DASH".
+     * Required. Type of the manifest, can be `HLS` or `DASH`.
      * 
* * diff --git a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ManifestOrBuilder.java b/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ManifestOrBuilder.java index 8e344284..84a8fa5b 100644 --- a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ManifestOrBuilder.java +++ b/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ManifestOrBuilder.java @@ -27,7 +27,7 @@ public interface ManifestOrBuilder * * *
-   * The name of the generated file. The default is `"manifest"` with the
+   * The name of the generated file. The default is `manifest` with the
    * extension suffix corresponding to the `Manifest.type`.
    * 
* @@ -40,7 +40,7 @@ public interface ManifestOrBuilder * * *
-   * The name of the generated file. The default is `"manifest"` with the
+   * The name of the generated file. The default is `manifest` with the
    * extension suffix corresponding to the `Manifest.type`.
    * 
* @@ -54,7 +54,7 @@ public interface ManifestOrBuilder * * *
-   * Required. Type of the manifest, can be "HLS" or "DASH".
+   * Required. Type of the manifest, can be `HLS` or `DASH`.
    * 
* * @@ -68,7 +68,7 @@ public interface ManifestOrBuilder * * *
-   * Required. Type of the manifest, can be "HLS" or "DASH".
+   * Required. Type of the manifest, can be `HLS` or `DASH`.
    * 
* * diff --git a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/MuxStream.java b/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/MuxStream.java index 9bce2141..a8cdfbda 100644 --- a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/MuxStream.java +++ b/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/MuxStream.java @@ -120,22 +120,6 @@ private MuxStream( segmentSettings_ = subBuilder.buildPartial(); } - break; - } - case 50: - { - com.google.cloud.video.transcoder.v1.Encryption.Builder subBuilder = null; - if (encryption_ != null) { - subBuilder = encryption_.toBuilder(); - } - encryption_ = - input.readMessage( - com.google.cloud.video.transcoder.v1.Encryption.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(encryption_); - encryption_ = subBuilder.buildPartial(); - } - break; } default: @@ -182,7 +166,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * A unique key for this multiplexed stream. HLS media manifests will be
-   * named `MuxStream.key` with the `".m3u8"` extension suffix.
+   * named `MuxStream.key` with the `.m3u8` extension suffix.
    * 
* * string key = 1; @@ -206,7 +190,7 @@ public java.lang.String getKey() { * *
    * A unique key for this multiplexed stream. HLS media manifests will be
-   * named `MuxStream.key` with the `".m3u8"` extension suffix.
+   * named `MuxStream.key` with the `.m3u8` extension suffix.
    * 
* * string key = 1; @@ -235,7 +219,7 @@ public com.google.protobuf.ByteString getKeyBytes() { * The name of the generated file. The default is `MuxStream.key` with the * extension suffix corresponding to the `MuxStream.container`. * Individual segments also have an incremental 10-digit zero-padded suffix - * starting from 0 before the extension, such as `"mux_stream0000000123.ts"`. + * starting from 0 before the extension, such as `mux_stream0000000123.ts`. * * * string file_name = 2; @@ -261,7 +245,7 @@ public java.lang.String getFileName() { * The name of the generated file. The default is `MuxStream.key` with the * extension suffix corresponding to the `MuxStream.container`. * Individual segments also have an incremental 10-digit zero-padded suffix - * starting from 0 before the extension, such as `"mux_stream0000000123.ts"`. + * starting from 0 before the extension, such as `mux_stream0000000123.ts`. * * * string file_name = 2; @@ -287,12 +271,12 @@ public com.google.protobuf.ByteString getFileNameBytes() { * * *
-   * The container format. The default is `"mp4"`
+   * The container format. The default is `mp4`
    * Supported container formats:
-   * - 'ts'
-   * - 'fmp4'- the corresponding file extension is `".m4s"`
-   * - 'mp4'
-   * - 'vtt'
+   * - `ts`
+   * - `fmp4`- the corresponding file extension is `.m4s`
+   * - `mp4`
+   * - `vtt`
    * 
* * string container = 3; @@ -315,12 +299,12 @@ public java.lang.String getContainer() { * * *
-   * The container format. The default is `"mp4"`
+   * The container format. The default is `mp4`
    * Supported container formats:
-   * - 'ts'
-   * - 'fmp4'- the corresponding file extension is `".m4s"`
-   * - 'mp4'
-   * - 'vtt'
+   * - `ts`
+   * - `fmp4`- the corresponding file extension is `.m4s`
+   * - `mp4`
+   * - `vtt`
    * 
* * string container = 3; @@ -407,7 +391,7 @@ public com.google.protobuf.ByteString getElementaryStreamsBytes(int index) { * * *
-   * Segment settings for `"ts"`, `"fmp4"` and `"vtt"`.
+   * Segment settings for `ts`, `fmp4` and `vtt`.
    * 
* * .google.cloud.video.transcoder.v1.SegmentSettings segment_settings = 5; @@ -422,7 +406,7 @@ public boolean hasSegmentSettings() { * * *
-   * Segment settings for `"ts"`, `"fmp4"` and `"vtt"`.
+   * Segment settings for `ts`, `fmp4` and `vtt`.
    * 
* * .google.cloud.video.transcoder.v1.SegmentSettings segment_settings = 5; @@ -439,7 +423,7 @@ public com.google.cloud.video.transcoder.v1.SegmentSettings getSegmentSettings() * * *
-   * Segment settings for `"ts"`, `"fmp4"` and `"vtt"`.
+   * Segment settings for `ts`, `fmp4` and `vtt`.
    * 
* * .google.cloud.video.transcoder.v1.SegmentSettings segment_settings = 5; @@ -450,54 +434,6 @@ public com.google.cloud.video.transcoder.v1.SegmentSettings getSegmentSettings() return getSegmentSettings(); } - public static final int ENCRYPTION_FIELD_NUMBER = 6; - private com.google.cloud.video.transcoder.v1.Encryption encryption_; - /** - * - * - *
-   * Encryption settings.
-   * 
- * - * .google.cloud.video.transcoder.v1.Encryption encryption = 6; - * - * @return Whether the encryption field is set. - */ - @java.lang.Override - public boolean hasEncryption() { - return encryption_ != null; - } - /** - * - * - *
-   * Encryption settings.
-   * 
- * - * .google.cloud.video.transcoder.v1.Encryption encryption = 6; - * - * @return The encryption. - */ - @java.lang.Override - public com.google.cloud.video.transcoder.v1.Encryption getEncryption() { - return encryption_ == null - ? com.google.cloud.video.transcoder.v1.Encryption.getDefaultInstance() - : encryption_; - } - /** - * - * - *
-   * Encryption settings.
-   * 
- * - * .google.cloud.video.transcoder.v1.Encryption encryption = 6; - */ - @java.lang.Override - public com.google.cloud.video.transcoder.v1.EncryptionOrBuilder getEncryptionOrBuilder() { - return getEncryption(); - } - private byte memoizedIsInitialized = -1; @java.lang.Override @@ -512,13 +448,13 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getKeyBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, key_); } - if (!getFileNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fileName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, fileName_); } - if (!getContainerBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(container_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, container_); } for (int i = 0; i < elementaryStreams_.size(); i++) { @@ -527,9 +463,6 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (segmentSettings_ != null) { output.writeMessage(5, getSegmentSettings()); } - if (encryption_ != null) { - output.writeMessage(6, getEncryption()); - } unknownFields.writeTo(output); } @@ -539,13 +472,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getKeyBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, key_); } - if (!getFileNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fileName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, fileName_); } - if (!getContainerBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(container_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, container_); } { @@ -559,9 +492,6 @@ public int getSerializedSize() { if (segmentSettings_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getSegmentSettings()); } - if (encryption_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getEncryption()); - } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -586,10 +516,6 @@ public boolean equals(final java.lang.Object obj) { if (hasSegmentSettings()) { if (!getSegmentSettings().equals(other.getSegmentSettings())) return false; } - if (hasEncryption() != other.hasEncryption()) return false; - if (hasEncryption()) { - if (!getEncryption().equals(other.getEncryption())) return false; - } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -615,10 +541,6 @@ public int hashCode() { hash = (37 * hash) + SEGMENT_SETTINGS_FIELD_NUMBER; hash = (53 * hash) + getSegmentSettings().hashCode(); } - if (hasEncryption()) { - hash = (37 * hash) + ENCRYPTION_FIELD_NUMBER; - hash = (53 * hash) + getEncryption().hashCode(); - } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -778,12 +700,6 @@ public Builder clear() { segmentSettings_ = null; segmentSettingsBuilder_ = null; } - if (encryptionBuilder_ == null) { - encryption_ = null; - } else { - encryption_ = null; - encryptionBuilder_ = null; - } return this; } @@ -825,11 +741,6 @@ public com.google.cloud.video.transcoder.v1.MuxStream buildPartial() { } else { result.segmentSettings_ = segmentSettingsBuilder_.build(); } - if (encryptionBuilder_ == null) { - result.encryption_ = encryption_; - } else { - result.encryption_ = encryptionBuilder_.build(); - } onBuilt(); return result; } @@ -904,9 +815,6 @@ public Builder mergeFrom(com.google.cloud.video.transcoder.v1.MuxStream other) { if (other.hasSegmentSettings()) { mergeSegmentSettings(other.getSegmentSettings()); } - if (other.hasEncryption()) { - mergeEncryption(other.getEncryption()); - } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -944,7 +852,7 @@ public Builder mergeFrom( * *
      * A unique key for this multiplexed stream. HLS media manifests will be
-     * named `MuxStream.key` with the `".m3u8"` extension suffix.
+     * named `MuxStream.key` with the `.m3u8` extension suffix.
      * 
* * string key = 1; @@ -967,7 +875,7 @@ public java.lang.String getKey() { * *
      * A unique key for this multiplexed stream. HLS media manifests will be
-     * named `MuxStream.key` with the `".m3u8"` extension suffix.
+     * named `MuxStream.key` with the `.m3u8` extension suffix.
      * 
* * string key = 1; @@ -990,7 +898,7 @@ public com.google.protobuf.ByteString getKeyBytes() { * *
      * A unique key for this multiplexed stream. HLS media manifests will be
-     * named `MuxStream.key` with the `".m3u8"` extension suffix.
+     * named `MuxStream.key` with the `.m3u8` extension suffix.
      * 
* * string key = 1; @@ -1012,7 +920,7 @@ public Builder setKey(java.lang.String value) { * *
      * A unique key for this multiplexed stream. HLS media manifests will be
-     * named `MuxStream.key` with the `".m3u8"` extension suffix.
+     * named `MuxStream.key` with the `.m3u8` extension suffix.
      * 
* * string key = 1; @@ -1030,7 +938,7 @@ public Builder clearKey() { * *
      * A unique key for this multiplexed stream. HLS media manifests will be
-     * named `MuxStream.key` with the `".m3u8"` extension suffix.
+     * named `MuxStream.key` with the `.m3u8` extension suffix.
      * 
* * string key = 1; @@ -1057,7 +965,7 @@ public Builder setKeyBytes(com.google.protobuf.ByteString value) { * The name of the generated file. The default is `MuxStream.key` with the * extension suffix corresponding to the `MuxStream.container`. * Individual segments also have an incremental 10-digit zero-padded suffix - * starting from 0 before the extension, such as `"mux_stream0000000123.ts"`. + * starting from 0 before the extension, such as `mux_stream0000000123.ts`. * * * string file_name = 2; @@ -1082,7 +990,7 @@ public java.lang.String getFileName() { * The name of the generated file. The default is `MuxStream.key` with the * extension suffix corresponding to the `MuxStream.container`. * Individual segments also have an incremental 10-digit zero-padded suffix - * starting from 0 before the extension, such as `"mux_stream0000000123.ts"`. + * starting from 0 before the extension, such as `mux_stream0000000123.ts`. * * * string file_name = 2; @@ -1107,7 +1015,7 @@ public com.google.protobuf.ByteString getFileNameBytes() { * The name of the generated file. The default is `MuxStream.key` with the * extension suffix corresponding to the `MuxStream.container`. * Individual segments also have an incremental 10-digit zero-padded suffix - * starting from 0 before the extension, such as `"mux_stream0000000123.ts"`. + * starting from 0 before the extension, such as `mux_stream0000000123.ts`. * * * string file_name = 2; @@ -1131,7 +1039,7 @@ public Builder setFileName(java.lang.String value) { * The name of the generated file. The default is `MuxStream.key` with the * extension suffix corresponding to the `MuxStream.container`. * Individual segments also have an incremental 10-digit zero-padded suffix - * starting from 0 before the extension, such as `"mux_stream0000000123.ts"`. + * starting from 0 before the extension, such as `mux_stream0000000123.ts`. * * * string file_name = 2; @@ -1151,7 +1059,7 @@ public Builder clearFileName() { * The name of the generated file. The default is `MuxStream.key` with the * extension suffix corresponding to the `MuxStream.container`. * Individual segments also have an incremental 10-digit zero-padded suffix - * starting from 0 before the extension, such as `"mux_stream0000000123.ts"`. + * starting from 0 before the extension, such as `mux_stream0000000123.ts`. * * * string file_name = 2; @@ -1175,12 +1083,12 @@ public Builder setFileNameBytes(com.google.protobuf.ByteString value) { * * *
-     * The container format. The default is `"mp4"`
+     * The container format. The default is `mp4`
      * Supported container formats:
-     * - 'ts'
-     * - 'fmp4'- the corresponding file extension is `".m4s"`
-     * - 'mp4'
-     * - 'vtt'
+     * - `ts`
+     * - `fmp4`- the corresponding file extension is `.m4s`
+     * - `mp4`
+     * - `vtt`
      * 
* * string container = 3; @@ -1202,12 +1110,12 @@ public java.lang.String getContainer() { * * *
-     * The container format. The default is `"mp4"`
+     * The container format. The default is `mp4`
      * Supported container formats:
-     * - 'ts'
-     * - 'fmp4'- the corresponding file extension is `".m4s"`
-     * - 'mp4'
-     * - 'vtt'
+     * - `ts`
+     * - `fmp4`- the corresponding file extension is `.m4s`
+     * - `mp4`
+     * - `vtt`
      * 
* * string container = 3; @@ -1229,12 +1137,12 @@ public com.google.protobuf.ByteString getContainerBytes() { * * *
-     * The container format. The default is `"mp4"`
+     * The container format. The default is `mp4`
      * Supported container formats:
-     * - 'ts'
-     * - 'fmp4'- the corresponding file extension is `".m4s"`
-     * - 'mp4'
-     * - 'vtt'
+     * - `ts`
+     * - `fmp4`- the corresponding file extension is `.m4s`
+     * - `mp4`
+     * - `vtt`
      * 
* * string container = 3; @@ -1255,12 +1163,12 @@ public Builder setContainer(java.lang.String value) { * * *
-     * The container format. The default is `"mp4"`
+     * The container format. The default is `mp4`
      * Supported container formats:
-     * - 'ts'
-     * - 'fmp4'- the corresponding file extension is `".m4s"`
-     * - 'mp4'
-     * - 'vtt'
+     * - `ts`
+     * - `fmp4`- the corresponding file extension is `.m4s`
+     * - `mp4`
+     * - `vtt`
      * 
* * string container = 3; @@ -1277,12 +1185,12 @@ public Builder clearContainer() { * * *
-     * The container format. The default is `"mp4"`
+     * The container format. The default is `mp4`
      * Supported container formats:
-     * - 'ts'
-     * - 'fmp4'- the corresponding file extension is `".m4s"`
-     * - 'mp4'
-     * - 'vtt'
+     * - `ts`
+     * - `fmp4`- the corresponding file extension is `.m4s`
+     * - `mp4`
+     * - `vtt`
      * 
* * string container = 3; @@ -1479,7 +1387,7 @@ public Builder addElementaryStreamsBytes(com.google.protobuf.ByteString value) { * * *
-     * Segment settings for `"ts"`, `"fmp4"` and `"vtt"`.
+     * Segment settings for `ts`, `fmp4` and `vtt`.
      * 
* * .google.cloud.video.transcoder.v1.SegmentSettings segment_settings = 5; @@ -1493,7 +1401,7 @@ public boolean hasSegmentSettings() { * * *
-     * Segment settings for `"ts"`, `"fmp4"` and `"vtt"`.
+     * Segment settings for `ts`, `fmp4` and `vtt`.
      * 
* * .google.cloud.video.transcoder.v1.SegmentSettings segment_settings = 5; @@ -1513,7 +1421,7 @@ public com.google.cloud.video.transcoder.v1.SegmentSettings getSegmentSettings() * * *
-     * Segment settings for `"ts"`, `"fmp4"` and `"vtt"`.
+     * Segment settings for `ts`, `fmp4` and `vtt`.
      * 
* * .google.cloud.video.transcoder.v1.SegmentSettings segment_settings = 5; @@ -1535,7 +1443,7 @@ public Builder setSegmentSettings(com.google.cloud.video.transcoder.v1.SegmentSe * * *
-     * Segment settings for `"ts"`, `"fmp4"` and `"vtt"`.
+     * Segment settings for `ts`, `fmp4` and `vtt`.
      * 
* * .google.cloud.video.transcoder.v1.SegmentSettings segment_settings = 5; @@ -1555,7 +1463,7 @@ public Builder setSegmentSettings( * * *
-     * Segment settings for `"ts"`, `"fmp4"` and `"vtt"`.
+     * Segment settings for `ts`, `fmp4` and `vtt`.
      * 
* * .google.cloud.video.transcoder.v1.SegmentSettings segment_settings = 5; @@ -1582,7 +1490,7 @@ public Builder mergeSegmentSettings( * * *
-     * Segment settings for `"ts"`, `"fmp4"` and `"vtt"`.
+     * Segment settings for `ts`, `fmp4` and `vtt`.
      * 
* * .google.cloud.video.transcoder.v1.SegmentSettings segment_settings = 5; @@ -1602,7 +1510,7 @@ public Builder clearSegmentSettings() { * * *
-     * Segment settings for `"ts"`, `"fmp4"` and `"vtt"`.
+     * Segment settings for `ts`, `fmp4` and `vtt`.
      * 
* * .google.cloud.video.transcoder.v1.SegmentSettings segment_settings = 5; @@ -1617,7 +1525,7 @@ public Builder clearSegmentSettings() { * * *
-     * Segment settings for `"ts"`, `"fmp4"` and `"vtt"`.
+     * Segment settings for `ts`, `fmp4` and `vtt`.
      * 
* * .google.cloud.video.transcoder.v1.SegmentSettings segment_settings = 5; @@ -1636,7 +1544,7 @@ public Builder clearSegmentSettings() { * * *
-     * Segment settings for `"ts"`, `"fmp4"` and `"vtt"`.
+     * Segment settings for `ts`, `fmp4` and `vtt`.
      * 
* * .google.cloud.video.transcoder.v1.SegmentSettings segment_settings = 5; @@ -1658,192 +1566,6 @@ public Builder clearSegmentSettings() { return segmentSettingsBuilder_; } - private com.google.cloud.video.transcoder.v1.Encryption encryption_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.transcoder.v1.Encryption, - com.google.cloud.video.transcoder.v1.Encryption.Builder, - com.google.cloud.video.transcoder.v1.EncryptionOrBuilder> - encryptionBuilder_; - /** - * - * - *
-     * Encryption settings.
-     * 
- * - * .google.cloud.video.transcoder.v1.Encryption encryption = 6; - * - * @return Whether the encryption field is set. - */ - public boolean hasEncryption() { - return encryptionBuilder_ != null || encryption_ != null; - } - /** - * - * - *
-     * Encryption settings.
-     * 
- * - * .google.cloud.video.transcoder.v1.Encryption encryption = 6; - * - * @return The encryption. - */ - public com.google.cloud.video.transcoder.v1.Encryption getEncryption() { - if (encryptionBuilder_ == null) { - return encryption_ == null - ? com.google.cloud.video.transcoder.v1.Encryption.getDefaultInstance() - : encryption_; - } else { - return encryptionBuilder_.getMessage(); - } - } - /** - * - * - *
-     * Encryption settings.
-     * 
- * - * .google.cloud.video.transcoder.v1.Encryption encryption = 6; - */ - public Builder setEncryption(com.google.cloud.video.transcoder.v1.Encryption value) { - if (encryptionBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - encryption_ = value; - onChanged(); - } else { - encryptionBuilder_.setMessage(value); - } - - return this; - } - /** - * - * - *
-     * Encryption settings.
-     * 
- * - * .google.cloud.video.transcoder.v1.Encryption encryption = 6; - */ - public Builder setEncryption( - com.google.cloud.video.transcoder.v1.Encryption.Builder builderForValue) { - if (encryptionBuilder_ == null) { - encryption_ = builderForValue.build(); - onChanged(); - } else { - encryptionBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * - * - *
-     * Encryption settings.
-     * 
- * - * .google.cloud.video.transcoder.v1.Encryption encryption = 6; - */ - public Builder mergeEncryption(com.google.cloud.video.transcoder.v1.Encryption value) { - if (encryptionBuilder_ == null) { - if (encryption_ != null) { - encryption_ = - com.google.cloud.video.transcoder.v1.Encryption.newBuilder(encryption_) - .mergeFrom(value) - .buildPartial(); - } else { - encryption_ = value; - } - onChanged(); - } else { - encryptionBuilder_.mergeFrom(value); - } - - return this; - } - /** - * - * - *
-     * Encryption settings.
-     * 
- * - * .google.cloud.video.transcoder.v1.Encryption encryption = 6; - */ - public Builder clearEncryption() { - if (encryptionBuilder_ == null) { - encryption_ = null; - onChanged(); - } else { - encryption_ = null; - encryptionBuilder_ = null; - } - - return this; - } - /** - * - * - *
-     * Encryption settings.
-     * 
- * - * .google.cloud.video.transcoder.v1.Encryption encryption = 6; - */ - public com.google.cloud.video.transcoder.v1.Encryption.Builder getEncryptionBuilder() { - - onChanged(); - return getEncryptionFieldBuilder().getBuilder(); - } - /** - * - * - *
-     * Encryption settings.
-     * 
- * - * .google.cloud.video.transcoder.v1.Encryption encryption = 6; - */ - public com.google.cloud.video.transcoder.v1.EncryptionOrBuilder getEncryptionOrBuilder() { - if (encryptionBuilder_ != null) { - return encryptionBuilder_.getMessageOrBuilder(); - } else { - return encryption_ == null - ? com.google.cloud.video.transcoder.v1.Encryption.getDefaultInstance() - : encryption_; - } - } - /** - * - * - *
-     * Encryption settings.
-     * 
- * - * .google.cloud.video.transcoder.v1.Encryption encryption = 6; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.transcoder.v1.Encryption, - com.google.cloud.video.transcoder.v1.Encryption.Builder, - com.google.cloud.video.transcoder.v1.EncryptionOrBuilder> - getEncryptionFieldBuilder() { - if (encryptionBuilder_ == null) { - encryptionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.video.transcoder.v1.Encryption, - com.google.cloud.video.transcoder.v1.Encryption.Builder, - com.google.cloud.video.transcoder.v1.EncryptionOrBuilder>( - getEncryption(), getParentForChildren(), isClean()); - encryption_ = null; - } - return encryptionBuilder_; - } - @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-v1/src/main/java/com/google/cloud/video/transcoder/v1/MuxStreamOrBuilder.java b/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/MuxStreamOrBuilder.java index 1f6b694d..f188cda7 100644 --- a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/MuxStreamOrBuilder.java +++ b/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/MuxStreamOrBuilder.java @@ -28,7 +28,7 @@ public interface MuxStreamOrBuilder * *
    * A unique key for this multiplexed stream. HLS media manifests will be
-   * named `MuxStream.key` with the `".m3u8"` extension suffix.
+   * named `MuxStream.key` with the `.m3u8` extension suffix.
    * 
* * string key = 1; @@ -41,7 +41,7 @@ public interface MuxStreamOrBuilder * *
    * A unique key for this multiplexed stream. HLS media manifests will be
-   * named `MuxStream.key` with the `".m3u8"` extension suffix.
+   * named `MuxStream.key` with the `.m3u8` extension suffix.
    * 
* * string key = 1; @@ -57,7 +57,7 @@ public interface MuxStreamOrBuilder * The name of the generated file. The default is `MuxStream.key` with the * extension suffix corresponding to the `MuxStream.container`. * Individual segments also have an incremental 10-digit zero-padded suffix - * starting from 0 before the extension, such as `"mux_stream0000000123.ts"`. + * starting from 0 before the extension, such as `mux_stream0000000123.ts`. * * * string file_name = 2; @@ -72,7 +72,7 @@ public interface MuxStreamOrBuilder * The name of the generated file. The default is `MuxStream.key` with the * extension suffix corresponding to the `MuxStream.container`. * Individual segments also have an incremental 10-digit zero-padded suffix - * starting from 0 before the extension, such as `"mux_stream0000000123.ts"`. + * starting from 0 before the extension, such as `mux_stream0000000123.ts`. * * * string file_name = 2; @@ -85,12 +85,12 @@ public interface MuxStreamOrBuilder * * *
-   * The container format. The default is `"mp4"`
+   * The container format. The default is `mp4`
    * Supported container formats:
-   * - 'ts'
-   * - 'fmp4'- the corresponding file extension is `".m4s"`
-   * - 'mp4'
-   * - 'vtt'
+   * - `ts`
+   * - `fmp4`- the corresponding file extension is `.m4s`
+   * - `mp4`
+   * - `vtt`
    * 
* * string container = 3; @@ -102,12 +102,12 @@ public interface MuxStreamOrBuilder * * *
-   * The container format. The default is `"mp4"`
+   * The container format. The default is `mp4`
    * Supported container formats:
-   * - 'ts'
-   * - 'fmp4'- the corresponding file extension is `".m4s"`
-   * - 'mp4'
-   * - 'vtt'
+   * - `ts`
+   * - `fmp4`- the corresponding file extension is `.m4s`
+   * - `mp4`
+   * - `vtt`
    * 
* * string container = 3; @@ -171,7 +171,7 @@ public interface MuxStreamOrBuilder * * *
-   * Segment settings for `"ts"`, `"fmp4"` and `"vtt"`.
+   * Segment settings for `ts`, `fmp4` and `vtt`.
    * 
* * .google.cloud.video.transcoder.v1.SegmentSettings segment_settings = 5; @@ -183,7 +183,7 @@ public interface MuxStreamOrBuilder * * *
-   * Segment settings for `"ts"`, `"fmp4"` and `"vtt"`.
+   * Segment settings for `ts`, `fmp4` and `vtt`.
    * 
* * .google.cloud.video.transcoder.v1.SegmentSettings segment_settings = 5; @@ -195,45 +195,10 @@ public interface MuxStreamOrBuilder * * *
-   * Segment settings for `"ts"`, `"fmp4"` and `"vtt"`.
+   * Segment settings for `ts`, `fmp4` and `vtt`.
    * 
* * .google.cloud.video.transcoder.v1.SegmentSettings segment_settings = 5; */ com.google.cloud.video.transcoder.v1.SegmentSettingsOrBuilder getSegmentSettingsOrBuilder(); - - /** - * - * - *
-   * Encryption settings.
-   * 
- * - * .google.cloud.video.transcoder.v1.Encryption encryption = 6; - * - * @return Whether the encryption field is set. - */ - boolean hasEncryption(); - /** - * - * - *
-   * Encryption settings.
-   * 
- * - * .google.cloud.video.transcoder.v1.Encryption encryption = 6; - * - * @return The encryption. - */ - com.google.cloud.video.transcoder.v1.Encryption getEncryption(); - /** - * - * - *
-   * Encryption settings.
-   * 
- * - * .google.cloud.video.transcoder.v1.Encryption encryption = 6; - */ - com.google.cloud.video.transcoder.v1.EncryptionOrBuilder getEncryptionOrBuilder(); } diff --git a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/Output.java b/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/Output.java index ea4d7ac4..b17c4bf2 100644 --- a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/Output.java +++ b/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/Output.java @@ -176,7 +176,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getUriBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uri_); } unknownFields.writeTo(output); @@ -188,7 +188,7 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getUriBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, uri_); } size += unknownFields.getSerializedSize(); diff --git a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/Overlay.java b/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/Overlay.java index f023ffbe..5b5436d6 100644 --- a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/Overlay.java +++ b/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/Overlay.java @@ -1316,7 +1316,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getUriBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uri_); } if (resolution_ != null) { @@ -1334,7 +1334,7 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getUriBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, uri_); } if (resolution_ != null) { diff --git a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/PreprocessingConfig.java b/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/PreprocessingConfig.java index 42e9eb95..089ae365 100644 --- a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/PreprocessingConfig.java +++ b/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/PreprocessingConfig.java @@ -1039,10 +1039,10 @@ public interface DenoiseOrBuilder * * *
-     * Set the denoiser mode. The default is `"standard"`.
+     * Set the denoiser mode. The default is `standard`.
      * Supported denoiser modes:
-     * - 'standard'
-     * - 'grain'
+     * - `standard`
+     * - `grain`
      * 
* * string tune = 2; @@ -1054,10 +1054,10 @@ public interface DenoiseOrBuilder * * *
-     * Set the denoiser mode. The default is `"standard"`.
+     * Set the denoiser mode. The default is `standard`.
      * Supported denoiser modes:
-     * - 'standard'
-     * - 'grain'
+     * - `standard`
+     * - `grain`
      * 
* * string tune = 2; @@ -1189,10 +1189,10 @@ public double getStrength() { * * *
-     * Set the denoiser mode. The default is `"standard"`.
+     * Set the denoiser mode. The default is `standard`.
      * Supported denoiser modes:
-     * - 'standard'
-     * - 'grain'
+     * - `standard`
+     * - `grain`
      * 
* * string tune = 2; @@ -1215,10 +1215,10 @@ public java.lang.String getTune() { * * *
-     * Set the denoiser mode. The default is `"standard"`.
+     * Set the denoiser mode. The default is `standard`.
      * Supported denoiser modes:
-     * - 'standard'
-     * - 'grain'
+     * - `standard`
+     * - `grain`
      * 
* * string tune = 2; @@ -1255,7 +1255,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (strength_ != 0D) { output.writeDouble(1, strength_); } - if (!getTuneBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tune_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, tune_); } unknownFields.writeTo(output); @@ -1270,7 +1270,7 @@ public int getSerializedSize() { if (strength_ != 0D) { size += com.google.protobuf.CodedOutputStream.computeDoubleSize(1, strength_); } - if (!getTuneBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tune_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, tune_); } size += unknownFields.getSerializedSize(); @@ -1648,10 +1648,10 @@ public Builder clearStrength() { * * *
-       * Set the denoiser mode. The default is `"standard"`.
+       * Set the denoiser mode. The default is `standard`.
        * Supported denoiser modes:
-       * - 'standard'
-       * - 'grain'
+       * - `standard`
+       * - `grain`
        * 
* * string tune = 2; @@ -1673,10 +1673,10 @@ public java.lang.String getTune() { * * *
-       * Set the denoiser mode. The default is `"standard"`.
+       * Set the denoiser mode. The default is `standard`.
        * Supported denoiser modes:
-       * - 'standard'
-       * - 'grain'
+       * - `standard`
+       * - `grain`
        * 
* * string tune = 2; @@ -1698,10 +1698,10 @@ public com.google.protobuf.ByteString getTuneBytes() { * * *
-       * Set the denoiser mode. The default is `"standard"`.
+       * Set the denoiser mode. The default is `standard`.
        * Supported denoiser modes:
-       * - 'standard'
-       * - 'grain'
+       * - `standard`
+       * - `grain`
        * 
* * string tune = 2; @@ -1722,10 +1722,10 @@ public Builder setTune(java.lang.String value) { * * *
-       * Set the denoiser mode. The default is `"standard"`.
+       * Set the denoiser mode. The default is `standard`.
        * Supported denoiser modes:
-       * - 'standard'
-       * - 'grain'
+       * - `standard`
+       * - `grain`
        * 
* * string tune = 2; @@ -1742,10 +1742,10 @@ public Builder clearTune() { * * *
-       * Set the denoiser mode. The default is `"standard"`.
+       * Set the denoiser mode. The default is `standard`.
        * Supported denoiser modes:
-       * - 'standard'
-       * - 'grain'
+       * - `standard`
+       * - `grain`
        * 
* * string tune = 2; diff --git a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/PubsubDestination.java b/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/PubsubDestination.java index aa173dbe..213f9bed 100644 --- a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/PubsubDestination.java +++ b/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/PubsubDestination.java @@ -176,7 +176,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getTopicBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(topic_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, topic_); } unknownFields.writeTo(output); @@ -188,7 +188,7 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getTopicBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(topic_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, topic_); } size += unknownFields.getSerializedSize(); diff --git a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ResourcesProto.java b/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ResourcesProto.java index 98cbf7e2..138a8ff9 100644 --- a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ResourcesProto.java +++ b/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ResourcesProto.java @@ -167,22 +167,6 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_video_transcoder_v1_SegmentSettings_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_video_transcoder_v1_SegmentSettings_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_transcoder_v1_Encryption_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_transcoder_v1_Encryption_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_transcoder_v1_Encryption_Aes128Encryption_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_transcoder_v1_Encryption_Aes128Encryption_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_transcoder_v1_Encryption_SampleAesEncryption_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_transcoder_v1_Encryption_SampleAesEncryption_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_video_transcoder_v1_Encryption_MpegCommonEncryption_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_video_transcoder_v1_Encryption_MpegCommonEncryption_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; @@ -252,151 +236,137 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "gle.cloud.video.transcoder.v1.AudioStrea" + "mH\000\022C\n\013text_stream\030\003 \001(\0132,.google.cloud." + "video.transcoder.v1.TextStreamH\000B\023\n\021elem" - + "entary_stream\"\351\001\n\tMuxStream\022\013\n\003key\030\001 \001(\t" + + "entary_stream\"\247\001\n\tMuxStream\022\013\n\003key\030\001 \001(\t" + "\022\021\n\tfile_name\030\002 \001(\t\022\021\n\tcontainer\030\003 \001(\t\022\032" + "\n\022elementary_streams\030\004 \003(\t\022K\n\020segment_se" + "ttings\030\005 \001(\01321.google.cloud.video.transc" - + "oder.v1.SegmentSettings\022@\n\nencryption\030\006 " - + "\001(\0132,.google.cloud.video.transcoder.v1.E" - + "ncryption\"\305\001\n\010Manifest\022\021\n\tfile_name\030\001 \001(" - + "\t\022J\n\004type\030\002 \001(\01627.google.cloud.video.tra" - + "nscoder.v1.Manifest.ManifestTypeB\003\340A\002\022\030\n" - + "\013mux_streams\030\003 \003(\tB\003\340A\002\"@\n\014ManifestType\022" - + "\035\n\031MANIFEST_TYPE_UNSPECIFIED\020\000\022\007\n\003HLS\020\001\022" - + "\010\n\004DASH\020\002\"\"\n\021PubsubDestination\022\r\n\005topic\030" - + "\001 \001(\t\"\375\002\n\013SpriteSheet\022\016\n\006format\030\001 \001(\t\022\030\n" - + "\013file_prefix\030\002 \001(\tB\003\340A\002\022 \n\023sprite_width_" - + "pixels\030\003 \001(\005B\003\340A\002\022!\n\024sprite_height_pixel" - + "s\030\004 \001(\005B\003\340A\002\022\024\n\014column_count\030\005 \001(\005\022\021\n\tro" - + "w_count\030\006 \001(\005\0224\n\021start_time_offset\030\007 \001(\013" - + "2\031.google.protobuf.Duration\0222\n\017end_time_" - + "offset\030\010 \001(\0132\031.google.protobuf.Duration\022" - + "\025\n\013total_count\030\t \001(\005H\000\022-\n\010interval\030\n \001(\013" - + "2\031.google.protobuf.DurationH\000\022\017\n\007quality" - + "\030\013 \001(\005B\025\n\023extraction_strategy\"\213\t\n\007Overla" - + "y\022>\n\005image\030\001 \001(\0132/.google.cloud.video.tr" - + "anscoder.v1.Overlay.Image\022G\n\nanimations\030" - + "\002 \003(\01323.google.cloud.video.transcoder.v1" - + ".Overlay.Animation\032,\n\024NormalizedCoordina" - + "te\022\t\n\001x\030\001 \001(\001\022\t\n\001y\030\002 \001(\001\032|\n\005Image\022\020\n\003uri" - + "\030\001 \001(\tB\003\340A\002\022R\n\nresolution\030\002 \001(\0132>.google" - + ".cloud.video.transcoder.v1.Overlay.Norma" - + "lizedCoordinate\022\r\n\005alpha\030\003 \001(\001\032\223\001\n\017Anima" - + "tionStatic\022J\n\002xy\030\001 \001(\0132>.google.cloud.vi" - + "deo.transcoder.v1.Overlay.NormalizedCoor" - + "dinate\0224\n\021start_time_offset\030\002 \001(\0132\031.goog" - + "le.protobuf.Duration\032\221\002\n\rAnimationFade\022J" - + "\n\tfade_type\030\001 \001(\01622.google.cloud.video.t" - + "ranscoder.v1.Overlay.FadeTypeB\003\340A\002\022J\n\002xy" - + "\030\002 \001(\0132>.google.cloud.video.transcoder.v" - + "1.Overlay.NormalizedCoordinate\0224\n\021start_" - + "time_offset\030\003 \001(\0132\031.google.protobuf.Dura" - + "tion\0222\n\017end_time_offset\030\004 \001(\0132\031.google.p" - + "rotobuf.Duration\032D\n\014AnimationEnd\0224\n\021star" - + "t_time_offset\030\001 \001(\0132\031.google.protobuf.Du" - + "ration\032\230\002\n\tAnimation\022U\n\020animation_static" - + "\030\001 \001(\01329.google.cloud.video.transcoder.v" - + "1.Overlay.AnimationStaticH\000\022Q\n\016animation" - + "_fade\030\002 \001(\01327.google.cloud.video.transco" - + "der.v1.Overlay.AnimationFadeH\000\022O\n\ranimat" - + "ion_end\030\003 \001(\01326.google.cloud.video.trans" - + "coder.v1.Overlay.AnimationEndH\000B\020\n\016anima" - + "tion_type\"@\n\010FadeType\022\031\n\025FADE_TYPE_UNSPE" - + "CIFIED\020\000\022\013\n\007FADE_IN\020\001\022\014\n\010FADE_OUT\020\002\"\364\006\n\023" - + "PreprocessingConfig\022J\n\005color\030\001 \001(\0132;.goo" - + "gle.cloud.video.transcoder.v1.Preprocess" - + "ingConfig.Color\022N\n\007denoise\030\002 \001(\0132=.googl" - + "e.cloud.video.transcoder.v1.Preprocessin" - + "gConfig.Denoise\022N\n\007deblock\030\003 \001(\0132=.googl" + + "oder.v1.SegmentSettings\"\305\001\n\010Manifest\022\021\n\t" + + "file_name\030\001 \001(\t\022J\n\004type\030\002 \001(\01627.google.c" + + "loud.video.transcoder.v1.Manifest.Manife" + + "stTypeB\003\340A\002\022\030\n\013mux_streams\030\003 \003(\tB\003\340A\002\"@\n" + + "\014ManifestType\022\035\n\031MANIFEST_TYPE_UNSPECIFI" + + "ED\020\000\022\007\n\003HLS\020\001\022\010\n\004DASH\020\002\"\"\n\021PubsubDestina" + + "tion\022\r\n\005topic\030\001 \001(\t\"\375\002\n\013SpriteSheet\022\016\n\006f" + + "ormat\030\001 \001(\t\022\030\n\013file_prefix\030\002 \001(\tB\003\340A\002\022 \n" + + "\023sprite_width_pixels\030\003 \001(\005B\003\340A\002\022!\n\024sprit" + + "e_height_pixels\030\004 \001(\005B\003\340A\002\022\024\n\014column_cou" + + "nt\030\005 \001(\005\022\021\n\trow_count\030\006 \001(\005\0224\n\021start_tim" + + "e_offset\030\007 \001(\0132\031.google.protobuf.Duratio" + + "n\0222\n\017end_time_offset\030\010 \001(\0132\031.google.prot" + + "obuf.Duration\022\025\n\013total_count\030\t \001(\005H\000\022-\n\010" + + "interval\030\n \001(\0132\031.google.protobuf.Duratio" + + "nH\000\022\017\n\007quality\030\013 \001(\005B\025\n\023extraction_strat" + + "egy\"\213\t\n\007Overlay\022>\n\005image\030\001 \001(\0132/.google." + + "cloud.video.transcoder.v1.Overlay.Image\022" + + "G\n\nanimations\030\002 \003(\01323.google.cloud.video" + + ".transcoder.v1.Overlay.Animation\032,\n\024Norm" + + "alizedCoordinate\022\t\n\001x\030\001 \001(\001\022\t\n\001y\030\002 \001(\001\032|" + + "\n\005Image\022\020\n\003uri\030\001 \001(\tB\003\340A\002\022R\n\nresolution\030" + + "\002 \001(\0132>.google.cloud.video.transcoder.v1" + + ".Overlay.NormalizedCoordinate\022\r\n\005alpha\030\003" + + " \001(\001\032\223\001\n\017AnimationStatic\022J\n\002xy\030\001 \001(\0132>.g" + + "oogle.cloud.video.transcoder.v1.Overlay." + + "NormalizedCoordinate\0224\n\021start_time_offse" + + "t\030\002 \001(\0132\031.google.protobuf.Duration\032\221\002\n\rA" + + "nimationFade\022J\n\tfade_type\030\001 \001(\01622.google" + + ".cloud.video.transcoder.v1.Overlay.FadeT" + + "ypeB\003\340A\002\022J\n\002xy\030\002 \001(\0132>.google.cloud.vide" + + "o.transcoder.v1.Overlay.NormalizedCoordi" + + "nate\0224\n\021start_time_offset\030\003 \001(\0132\031.google" + + ".protobuf.Duration\0222\n\017end_time_offset\030\004 " + + "\001(\0132\031.google.protobuf.Duration\032D\n\014Animat" + + "ionEnd\0224\n\021start_time_offset\030\001 \001(\0132\031.goog" + + "le.protobuf.Duration\032\230\002\n\tAnimation\022U\n\020an" + + "imation_static\030\001 \001(\01329.google.cloud.vide" + + "o.transcoder.v1.Overlay.AnimationStaticH" + + "\000\022Q\n\016animation_fade\030\002 \001(\01327.google.cloud" + + ".video.transcoder.v1.Overlay.AnimationFa" + + "deH\000\022O\n\ranimation_end\030\003 \001(\01326.google.clo" + + "ud.video.transcoder.v1.Overlay.Animation" + + "EndH\000B\020\n\016animation_type\"@\n\010FadeType\022\031\n\025F" + + "ADE_TYPE_UNSPECIFIED\020\000\022\013\n\007FADE_IN\020\001\022\014\n\010F" + + "ADE_OUT\020\002\"\364\006\n\023PreprocessingConfig\022J\n\005col" + + "or\030\001 \001(\0132;.google.cloud.video.transcoder" + + ".v1.PreprocessingConfig.Color\022N\n\007denoise" + + "\030\002 \001(\0132=.google.cloud.video.transcoder.v" + + "1.PreprocessingConfig.Denoise\022N\n\007deblock" + + "\030\003 \001(\0132=.google.cloud.video.transcoder.v" + + "1.PreprocessingConfig.Deblock\022J\n\005audio\030\004" + + " \001(\0132;.google.cloud.video.transcoder.v1." + + "PreprocessingConfig.Audio\022H\n\004crop\030\005 \001(\0132" + + ":.google.cloud.video.transcoder.v1.Prepr" + + "ocessingConfig.Crop\022F\n\003pad\030\006 \001(\01329.googl" + "e.cloud.video.transcoder.v1.Preprocessin" - + "gConfig.Deblock\022J\n\005audio\030\004 \001(\0132;.google." - + "cloud.video.transcoder.v1.PreprocessingC" - + "onfig.Audio\022H\n\004crop\030\005 \001(\0132:.google.cloud" - + ".video.transcoder.v1.PreprocessingConfig" - + ".Crop\022F\n\003pad\030\006 \001(\01329.google.cloud.video." - + "transcoder.v1.PreprocessingConfig.Pad\032A\n" - + "\005Color\022\022\n\nsaturation\030\001 \001(\001\022\020\n\010contrast\030\002" - + " \001(\001\022\022\n\nbrightness\030\003 \001(\001\032)\n\007Denoise\022\020\n\010s" - + "trength\030\001 \001(\001\022\014\n\004tune\030\002 \001(\t\032,\n\007Deblock\022\020" - + "\n\010strength\030\001 \001(\001\022\017\n\007enabled\030\002 \001(\010\032<\n\005Aud" - + "io\022\014\n\004lufs\030\001 \001(\001\022\022\n\nhigh_boost\030\002 \001(\010\022\021\n\t" - + "low_boost\030\003 \001(\010\032\\\n\004Crop\022\022\n\ntop_pixels\030\001 " - + "\001(\005\022\025\n\rbottom_pixels\030\002 \001(\005\022\023\n\013left_pixel" - + "s\030\003 \001(\005\022\024\n\014right_pixels\030\004 \001(\005\032[\n\003Pad\022\022\n\n" - + "top_pixels\030\001 \001(\005\022\025\n\rbottom_pixels\030\002 \001(\005\022" - + "\023\n\013left_pixels\030\003 \001(\005\022\024\n\014right_pixels\030\004 \001" - + "(\005\"\225\014\n\013VideoStream\022O\n\004h264\030\001 \001(\0132?.googl" - + "e.cloud.video.transcoder.v1.VideoStream." - + "H264CodecSettingsH\000\022O\n\004h265\030\002 \001(\0132?.goog" - + "le.cloud.video.transcoder.v1.VideoStream" - + ".H265CodecSettingsH\000\022M\n\003vp9\030\003 \001(\0132>.goog" - + "le.cloud.video.transcoder.v1.VideoStream" - + ".Vp9CodecSettingsH\000\032\371\003\n\021H264CodecSetting" - + "s\022\024\n\014width_pixels\030\001 \001(\005\022\025\n\rheight_pixels" - + "\030\002 \001(\005\022\027\n\nframe_rate\030\003 \001(\001B\003\340A\002\022\030\n\013bitra" - + "te_bps\030\004 \001(\005B\003\340A\002\022\024\n\014pixel_format\030\005 \001(\t\022" - + "\031\n\021rate_control_mode\030\006 \001(\t\022\021\n\tcrf_level\030" - + "\007 \001(\005\022\026\n\016allow_open_gop\030\010 \001(\010\022\031\n\017gop_fra" - + "me_count\030\t \001(\005H\000\0221\n\014gop_duration\030\n \001(\0132\031" - + ".google.protobuf.DurationH\000\022\027\n\017enable_tw" - + "o_pass\030\013 \001(\010\022\025\n\rvbv_size_bits\030\014 \001(\005\022\031\n\021v" - + "bv_fullness_bits\030\r \001(\005\022\025\n\rentropy_coder\030" - + "\016 \001(\t\022\021\n\tb_pyramid\030\017 \001(\010\022\025\n\rb_frame_coun" - + "t\030\020 \001(\005\022\023\n\013aq_strength\030\021 \001(\001\022\017\n\007profile\030" - + "\022 \001(\t\022\014\n\004tune\030\023 \001(\t\022\016\n\006preset\030\024 \001(\tB\n\n\010g" - + "op_mode\032\342\003\n\021H265CodecSettings\022\024\n\014width_p" - + "ixels\030\001 \001(\005\022\025\n\rheight_pixels\030\002 \001(\005\022\027\n\nfr" - + "ame_rate\030\003 \001(\001B\003\340A\002\022\030\n\013bitrate_bps\030\004 \001(\005" - + "B\003\340A\002\022\024\n\014pixel_format\030\005 \001(\t\022\031\n\021rate_cont" - + "rol_mode\030\006 \001(\t\022\021\n\tcrf_level\030\007 \001(\005\022\026\n\016all" - + "ow_open_gop\030\010 \001(\010\022\031\n\017gop_frame_count\030\t \001" - + "(\005H\000\0221\n\014gop_duration\030\n \001(\0132\031.google.prot" - + "obuf.DurationH\000\022\027\n\017enable_two_pass\030\013 \001(\010" - + "\022\025\n\rvbv_size_bits\030\014 \001(\005\022\031\n\021vbv_fullness_" - + "bits\030\r \001(\005\022\021\n\tb_pyramid\030\016 \001(\010\022\025\n\rb_frame" - + "_count\030\017 \001(\005\022\023\n\013aq_strength\030\020 \001(\001\022\017\n\007pro" - + "file\030\021 \001(\t\022\014\n\004tune\030\022 \001(\t\022\016\n\006preset\030\023 \001(\t" - + "B\n\n\010gop_mode\032\241\002\n\020Vp9CodecSettings\022\024\n\014wid" - + "th_pixels\030\001 \001(\005\022\025\n\rheight_pixels\030\002 \001(\005\022\027" - + "\n\nframe_rate\030\003 \001(\001B\003\340A\002\022\030\n\013bitrate_bps\030\004" - + " \001(\005B\003\340A\002\022\024\n\014pixel_format\030\005 \001(\t\022\031\n\021rate_" - + "control_mode\030\006 \001(\t\022\021\n\tcrf_level\030\007 \001(\005\022\031\n" - + "\017gop_frame_count\030\010 \001(\005H\000\0221\n\014gop_duration" - + "\030\t \001(\0132\031.google.protobuf.DurationH\000\022\017\n\007p" - + "rofile\030\n \001(\tB\n\n\010gop_modeB\020\n\016codec_settin" - + "gs\"\361\002\n\013AudioStream\022\r\n\005codec\030\001 \001(\t\022\030\n\013bit" - + "rate_bps\030\002 \001(\005B\003\340A\002\022\025\n\rchannel_count\030\003 \001" - + "(\005\022\026\n\016channel_layout\030\004 \003(\t\022K\n\007mapping\030\005 " - + "\003(\0132:.google.cloud.video.transcoder.v1.A" - + "udioStream.AudioMapping\022\031\n\021sample_rate_h" - + "ertz\030\006 \001(\005\032\241\001\n\014AudioMapping\022\025\n\010atom_key\030" - + "\001 \001(\tB\003\340A\002\022\026\n\tinput_key\030\002 \001(\tB\003\340A\002\022\030\n\013in" - + "put_track\030\003 \001(\005B\003\340A\002\022\032\n\rinput_channel\030\004 " - + "\001(\005B\003\340A\002\022\033\n\016output_channel\030\005 \001(\005B\003\340A\002\022\017\n" - + "\007gain_db\030\006 \001(\001\"\276\001\n\nTextStream\022\r\n\005codec\030\001" - + " \001(\t\022I\n\007mapping\030\003 \003(\01328.google.cloud.vid" - + "eo.transcoder.v1.TextStream.TextMapping\032" - + "V\n\013TextMapping\022\025\n\010atom_key\030\001 \001(\tB\003\340A\002\022\026\n" - + "\tinput_key\030\002 \001(\tB\003\340A\002\022\030\n\013input_track\030\003 \001" - + "(\005B\003\340A\002\"h\n\017SegmentSettings\0223\n\020segment_du" - + "ration\030\001 \001(\0132\031.google.protobuf.Duration\022" - + " \n\023individual_segments\030\003 \001(\010B\003\340A\002\"\335\003\n\nEn" - + "cryption\022\020\n\003key\030\001 \001(\tB\003\340A\002\022\017\n\002iv\030\002 \001(\tB\003" - + "\340A\002\022P\n\007aes_128\030\003 \001(\0132=.google.cloud.vide" - + "o.transcoder.v1.Encryption.Aes128Encrypt" - + "ionH\000\022V\n\nsample_aes\030\004 \001(\0132@.google.cloud" - + ".video.transcoder.v1.Encryption.SampleAe" - + "sEncryptionH\000\022V\n\tmpeg_cenc\030\005 \001(\0132A.googl" - + "e.cloud.video.transcoder.v1.Encryption.M" - + "pegCommonEncryptionH\000\032(\n\020Aes128Encryptio" - + "n\022\024\n\007key_uri\030\001 \001(\tB\003\340A\002\032+\n\023SampleAesEncr" - + "yption\022\024\n\007key_uri\030\001 \001(\tB\003\340A\002\032@\n\024MpegComm" - + "onEncryption\022\023\n\006key_id\030\001 \001(\tB\003\340A\002\022\023\n\006sch" - + "eme\030\002 \001(\tB\003\340A\002B\021\n\017encryption_modeB\204\001\n$co" - + "m.google.cloud.video.transcoder.v1B\016Reso" - + "urcesProtoP\001ZJgoogle.golang.org/genproto" - + "/googleapis/cloud/video/transcoder/v1;tr" - + "anscoderb\006proto3" + + "gConfig.Pad\032A\n\005Color\022\022\n\nsaturation\030\001 \001(\001" + + "\022\020\n\010contrast\030\002 \001(\001\022\022\n\nbrightness\030\003 \001(\001\032)" + + "\n\007Denoise\022\020\n\010strength\030\001 \001(\001\022\014\n\004tune\030\002 \001(" + + "\t\032,\n\007Deblock\022\020\n\010strength\030\001 \001(\001\022\017\n\007enable" + + "d\030\002 \001(\010\032<\n\005Audio\022\014\n\004lufs\030\001 \001(\001\022\022\n\nhigh_b" + + "oost\030\002 \001(\010\022\021\n\tlow_boost\030\003 \001(\010\032\\\n\004Crop\022\022\n" + + "\ntop_pixels\030\001 \001(\005\022\025\n\rbottom_pixels\030\002 \001(\005" + + "\022\023\n\013left_pixels\030\003 \001(\005\022\024\n\014right_pixels\030\004 " + + "\001(\005\032[\n\003Pad\022\022\n\ntop_pixels\030\001 \001(\005\022\025\n\rbottom" + + "_pixels\030\002 \001(\005\022\023\n\013left_pixels\030\003 \001(\005\022\024\n\014ri" + + "ght_pixels\030\004 \001(\005\"\225\014\n\013VideoStream\022O\n\004h264" + + "\030\001 \001(\0132?.google.cloud.video.transcoder.v" + + "1.VideoStream.H264CodecSettingsH\000\022O\n\004h26" + + "5\030\002 \001(\0132?.google.cloud.video.transcoder." + + "v1.VideoStream.H265CodecSettingsH\000\022M\n\003vp" + + "9\030\003 \001(\0132>.google.cloud.video.transcoder." + + "v1.VideoStream.Vp9CodecSettingsH\000\032\371\003\n\021H2" + + "64CodecSettings\022\024\n\014width_pixels\030\001 \001(\005\022\025\n" + + "\rheight_pixels\030\002 \001(\005\022\027\n\nframe_rate\030\003 \001(\001" + + "B\003\340A\002\022\030\n\013bitrate_bps\030\004 \001(\005B\003\340A\002\022\024\n\014pixel" + + "_format\030\005 \001(\t\022\031\n\021rate_control_mode\030\006 \001(\t" + + "\022\021\n\tcrf_level\030\007 \001(\005\022\026\n\016allow_open_gop\030\010 " + + "\001(\010\022\031\n\017gop_frame_count\030\t \001(\005H\000\0221\n\014gop_du" + + "ration\030\n \001(\0132\031.google.protobuf.DurationH" + + "\000\022\027\n\017enable_two_pass\030\013 \001(\010\022\025\n\rvbv_size_b" + + "its\030\014 \001(\005\022\031\n\021vbv_fullness_bits\030\r \001(\005\022\025\n\r" + + "entropy_coder\030\016 \001(\t\022\021\n\tb_pyramid\030\017 \001(\010\022\025" + + "\n\rb_frame_count\030\020 \001(\005\022\023\n\013aq_strength\030\021 \001" + + "(\001\022\017\n\007profile\030\022 \001(\t\022\014\n\004tune\030\023 \001(\t\022\016\n\006pre" + + "set\030\024 \001(\tB\n\n\010gop_mode\032\342\003\n\021H265CodecSetti" + + "ngs\022\024\n\014width_pixels\030\001 \001(\005\022\025\n\rheight_pixe" + + "ls\030\002 \001(\005\022\027\n\nframe_rate\030\003 \001(\001B\003\340A\002\022\030\n\013bit" + + "rate_bps\030\004 \001(\005B\003\340A\002\022\024\n\014pixel_format\030\005 \001(" + + "\t\022\031\n\021rate_control_mode\030\006 \001(\t\022\021\n\tcrf_leve" + + "l\030\007 \001(\005\022\026\n\016allow_open_gop\030\010 \001(\010\022\031\n\017gop_f" + + "rame_count\030\t \001(\005H\000\0221\n\014gop_duration\030\n \001(\013" + + "2\031.google.protobuf.DurationH\000\022\027\n\017enable_" + + "two_pass\030\013 \001(\010\022\025\n\rvbv_size_bits\030\014 \001(\005\022\031\n" + + "\021vbv_fullness_bits\030\r \001(\005\022\021\n\tb_pyramid\030\016 " + + "\001(\010\022\025\n\rb_frame_count\030\017 \001(\005\022\023\n\013aq_strengt" + + "h\030\020 \001(\001\022\017\n\007profile\030\021 \001(\t\022\014\n\004tune\030\022 \001(\t\022\016" + + "\n\006preset\030\023 \001(\tB\n\n\010gop_mode\032\241\002\n\020Vp9CodecS" + + "ettings\022\024\n\014width_pixels\030\001 \001(\005\022\025\n\rheight_" + + "pixels\030\002 \001(\005\022\027\n\nframe_rate\030\003 \001(\001B\003\340A\002\022\030\n" + + "\013bitrate_bps\030\004 \001(\005B\003\340A\002\022\024\n\014pixel_format\030" + + "\005 \001(\t\022\031\n\021rate_control_mode\030\006 \001(\t\022\021\n\tcrf_" + + "level\030\007 \001(\005\022\031\n\017gop_frame_count\030\010 \001(\005H\000\0221" + + "\n\014gop_duration\030\t \001(\0132\031.google.protobuf.D" + + "urationH\000\022\017\n\007profile\030\n \001(\tB\n\n\010gop_modeB\020" + + "\n\016codec_settings\"\361\002\n\013AudioStream\022\r\n\005code" + + "c\030\001 \001(\t\022\030\n\013bitrate_bps\030\002 \001(\005B\003\340A\002\022\025\n\rcha" + + "nnel_count\030\003 \001(\005\022\026\n\016channel_layout\030\004 \003(\t" + + "\022K\n\007mapping\030\005 \003(\0132:.google.cloud.video.t" + + "ranscoder.v1.AudioStream.AudioMapping\022\031\n" + + "\021sample_rate_hertz\030\006 \001(\005\032\241\001\n\014AudioMappin" + + "g\022\025\n\010atom_key\030\001 \001(\tB\003\340A\002\022\026\n\tinput_key\030\002 " + + "\001(\tB\003\340A\002\022\030\n\013input_track\030\003 \001(\005B\003\340A\002\022\032\n\rin" + + "put_channel\030\004 \001(\005B\003\340A\002\022\033\n\016output_channel" + + "\030\005 \001(\005B\003\340A\002\022\017\n\007gain_db\030\006 \001(\001\"\276\001\n\nTextStr" + + "eam\022\r\n\005codec\030\001 \001(\t\022I\n\007mapping\030\003 \003(\01328.go" + + "ogle.cloud.video.transcoder.v1.TextStrea" + + "m.TextMapping\032V\n\013TextMapping\022\025\n\010atom_key" + + "\030\001 \001(\tB\003\340A\002\022\026\n\tinput_key\030\002 \001(\tB\003\340A\002\022\030\n\013i" + + "nput_track\030\003 \001(\005B\003\340A\002\"h\n\017SegmentSettings" + + "\0223\n\020segment_duration\030\001 \001(\0132\031.google.prot" + + "obuf.Duration\022 \n\023individual_segments\030\003 \001" + + "(\010B\003\340A\002B\204\001\n$com.google.cloud.video.trans" + + "coder.v1B\016ResourcesProtoP\001ZJgoogle.golan" + + "g.org/genproto/googleapis/cloud/video/tr" + + "anscoder/v1;transcoderb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -498,7 +468,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_video_transcoder_v1_MuxStream_descriptor, new java.lang.String[] { - "Key", "FileName", "Container", "ElementaryStreams", "SegmentSettings", "Encryption", + "Key", "FileName", "Container", "ElementaryStreams", "SegmentSettings", }); internal_static_google_cloud_video_transcoder_v1_Manifest_descriptor = getDescriptor().getMessageTypes().get(9); @@ -790,44 +760,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "SegmentDuration", "IndividualSegments", }); - internal_static_google_cloud_video_transcoder_v1_Encryption_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_cloud_video_transcoder_v1_Encryption_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_transcoder_v1_Encryption_descriptor, - new java.lang.String[] { - "Key", "Iv", "Aes128", "SampleAes", "MpegCenc", "EncryptionMode", - }); - internal_static_google_cloud_video_transcoder_v1_Encryption_Aes128Encryption_descriptor = - internal_static_google_cloud_video_transcoder_v1_Encryption_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_video_transcoder_v1_Encryption_Aes128Encryption_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_transcoder_v1_Encryption_Aes128Encryption_descriptor, - new java.lang.String[] { - "KeyUri", - }); - internal_static_google_cloud_video_transcoder_v1_Encryption_SampleAesEncryption_descriptor = - internal_static_google_cloud_video_transcoder_v1_Encryption_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_video_transcoder_v1_Encryption_SampleAesEncryption_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_transcoder_v1_Encryption_SampleAesEncryption_descriptor, - new java.lang.String[] { - "KeyUri", - }); - internal_static_google_cloud_video_transcoder_v1_Encryption_MpegCommonEncryption_descriptor = - internal_static_google_cloud_video_transcoder_v1_Encryption_descriptor - .getNestedTypes() - .get(2); - internal_static_google_cloud_video_transcoder_v1_Encryption_MpegCommonEncryption_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_video_transcoder_v1_Encryption_MpegCommonEncryption_descriptor, - new java.lang.String[] { - "KeyId", "Scheme", - }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); diff --git a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/SegmentSettings.java b/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/SegmentSettings.java index ff47a169..94fdcb42 100644 --- a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/SegmentSettings.java +++ b/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/SegmentSettings.java @@ -22,7 +22,7 @@ * * *
- * Segment settings for `"ts"`, `"fmp4"` and `"vtt"`.
+ * Segment settings for `ts`, `fmp4` and `vtt`.
  * 
* * Protobuf type {@code google.cloud.video.transcoder.v1.SegmentSettings} @@ -128,7 +128,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Duration of the segments in seconds. The default is `"6.0s"`. Note that
+   * Duration of the segments in seconds. The default is `6.0s`. Note that
    * `segmentDuration` must be greater than or equal to
    * [`gopDuration`](#videostream), and `segmentDuration` must be divisible by
    * [`gopDuration`](#videostream).
@@ -146,7 +146,7 @@ public boolean hasSegmentDuration() {
    *
    *
    * 
-   * Duration of the segments in seconds. The default is `"6.0s"`. Note that
+   * Duration of the segments in seconds. The default is `6.0s`. Note that
    * `segmentDuration` must be greater than or equal to
    * [`gopDuration`](#videostream), and `segmentDuration` must be divisible by
    * [`gopDuration`](#videostream).
@@ -166,7 +166,7 @@ public com.google.protobuf.Duration getSegmentDuration() {
    *
    *
    * 
-   * Duration of the segments in seconds. The default is `"6.0s"`. Note that
+   * Duration of the segments in seconds. The default is `6.0s`. Note that
    * `segmentDuration` must be greater than or equal to
    * [`gopDuration`](#videostream), and `segmentDuration` must be divisible by
    * [`gopDuration`](#videostream).
@@ -374,7 +374,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    *
    * 
-   * Segment settings for `"ts"`, `"fmp4"` and `"vtt"`.
+   * Segment settings for `ts`, `fmp4` and `vtt`.
    * 
* * Protobuf type {@code google.cloud.video.transcoder.v1.SegmentSettings} @@ -552,7 +552,7 @@ public Builder mergeFrom( * * *
-     * Duration of the segments in seconds. The default is `"6.0s"`. Note that
+     * Duration of the segments in seconds. The default is `6.0s`. Note that
      * `segmentDuration` must be greater than or equal to
      * [`gopDuration`](#videostream), and `segmentDuration` must be divisible by
      * [`gopDuration`](#videostream).
@@ -569,7 +569,7 @@ public boolean hasSegmentDuration() {
      *
      *
      * 
-     * Duration of the segments in seconds. The default is `"6.0s"`. Note that
+     * Duration of the segments in seconds. The default is `6.0s`. Note that
      * `segmentDuration` must be greater than or equal to
      * [`gopDuration`](#videostream), and `segmentDuration` must be divisible by
      * [`gopDuration`](#videostream).
@@ -592,7 +592,7 @@ public com.google.protobuf.Duration getSegmentDuration() {
      *
      *
      * 
-     * Duration of the segments in seconds. The default is `"6.0s"`. Note that
+     * Duration of the segments in seconds. The default is `6.0s`. Note that
      * `segmentDuration` must be greater than or equal to
      * [`gopDuration`](#videostream), and `segmentDuration` must be divisible by
      * [`gopDuration`](#videostream).
@@ -617,7 +617,7 @@ public Builder setSegmentDuration(com.google.protobuf.Duration value) {
      *
      *
      * 
-     * Duration of the segments in seconds. The default is `"6.0s"`. Note that
+     * Duration of the segments in seconds. The default is `6.0s`. Note that
      * `segmentDuration` must be greater than or equal to
      * [`gopDuration`](#videostream), and `segmentDuration` must be divisible by
      * [`gopDuration`](#videostream).
@@ -639,7 +639,7 @@ public Builder setSegmentDuration(com.google.protobuf.Duration.Builder builderFo
      *
      *
      * 
-     * Duration of the segments in seconds. The default is `"6.0s"`. Note that
+     * Duration of the segments in seconds. The default is `6.0s`. Note that
      * `segmentDuration` must be greater than or equal to
      * [`gopDuration`](#videostream), and `segmentDuration` must be divisible by
      * [`gopDuration`](#videostream).
@@ -668,7 +668,7 @@ public Builder mergeSegmentDuration(com.google.protobuf.Duration value) {
      *
      *
      * 
-     * Duration of the segments in seconds. The default is `"6.0s"`. Note that
+     * Duration of the segments in seconds. The default is `6.0s`. Note that
      * `segmentDuration` must be greater than or equal to
      * [`gopDuration`](#videostream), and `segmentDuration` must be divisible by
      * [`gopDuration`](#videostream).
@@ -691,7 +691,7 @@ public Builder clearSegmentDuration() {
      *
      *
      * 
-     * Duration of the segments in seconds. The default is `"6.0s"`. Note that
+     * Duration of the segments in seconds. The default is `6.0s`. Note that
      * `segmentDuration` must be greater than or equal to
      * [`gopDuration`](#videostream), and `segmentDuration` must be divisible by
      * [`gopDuration`](#videostream).
@@ -708,7 +708,7 @@ public com.google.protobuf.Duration.Builder getSegmentDurationBuilder() {
      *
      *
      * 
-     * Duration of the segments in seconds. The default is `"6.0s"`. Note that
+     * Duration of the segments in seconds. The default is `6.0s`. Note that
      * `segmentDuration` must be greater than or equal to
      * [`gopDuration`](#videostream), and `segmentDuration` must be divisible by
      * [`gopDuration`](#videostream).
@@ -729,7 +729,7 @@ public com.google.protobuf.DurationOrBuilder getSegmentDurationOrBuilder() {
      *
      *
      * 
-     * Duration of the segments in seconds. The default is `"6.0s"`. Note that
+     * Duration of the segments in seconds. The default is `6.0s`. Note that
      * `segmentDuration` must be greater than or equal to
      * [`gopDuration`](#videostream), and `segmentDuration` must be divisible by
      * [`gopDuration`](#videostream).
diff --git a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/SegmentSettingsOrBuilder.java b/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/SegmentSettingsOrBuilder.java
index e8b48c79..b9c2f906 100644
--- a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/SegmentSettingsOrBuilder.java
+++ b/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/SegmentSettingsOrBuilder.java
@@ -27,7 +27,7 @@ public interface SegmentSettingsOrBuilder
    *
    *
    * 
-   * Duration of the segments in seconds. The default is `"6.0s"`. Note that
+   * Duration of the segments in seconds. The default is `6.0s`. Note that
    * `segmentDuration` must be greater than or equal to
    * [`gopDuration`](#videostream), and `segmentDuration` must be divisible by
    * [`gopDuration`](#videostream).
@@ -42,7 +42,7 @@ public interface SegmentSettingsOrBuilder
    *
    *
    * 
-   * Duration of the segments in seconds. The default is `"6.0s"`. Note that
+   * Duration of the segments in seconds. The default is `6.0s`. Note that
    * `segmentDuration` must be greater than or equal to
    * [`gopDuration`](#videostream), and `segmentDuration` must be divisible by
    * [`gopDuration`](#videostream).
@@ -57,7 +57,7 @@ public interface SegmentSettingsOrBuilder
    *
    *
    * 
-   * Duration of the segments in seconds. The default is `"6.0s"`. Note that
+   * Duration of the segments in seconds. The default is `6.0s`. Note that
    * `segmentDuration` must be greater than or equal to
    * [`gopDuration`](#videostream), and `segmentDuration` must be divisible by
    * [`gopDuration`](#videostream).
diff --git a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ServicesProto.java b/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ServicesProto.java
index f241299d..25b0c447 100644
--- a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ServicesProto.java
+++ b/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ServicesProto.java
@@ -91,74 +91,75 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + ".com/Location\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage"
           + "_token\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\022\020\n\010order_by"
           + "\030\005 \001(\t\"D\n\rGetJobRequest\0223\n\004name\030\001 \001(\tB%\340"
-          + "A\002\372A\037\n\035transcoder.googleapis.com/Job\"G\n\020"
+          + "A\002\372A\037\n\035transcoder.googleapis.com/Job\"^\n\020"
           + "DeleteJobRequest\0223\n\004name\030\001 \001(\tB%\340A\002\372A\037\n\035"
-          + "transcoder.googleapis.com/Job\"u\n\020ListJob"
-          + "sResponse\0223\n\004jobs\030\001 \003(\0132%.google.cloud.v"
-          + "ideo.transcoder.v1.Job\022\027\n\017next_page_toke"
-          + "n\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t\"\275\001\n\030CreateJ"
-          + "obTemplateRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A"
-          + "#\n!locations.googleapis.com/Location\022H\n\014"
-          + "job_template\030\002 \001(\0132-.google.cloud.video."
-          + "transcoder.v1.JobTemplateB\003\340A\002\022\034\n\017job_te"
-          + "mplate_id\030\003 \001(\tB\003\340A\002\"\235\001\n\027ListJobTemplate"
-          + "sRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!locati"
-          + "ons.googleapis.com/Location\022\021\n\tpage_size"
-          + "\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006filter\030\004 \001"
-          + "(\t\022\020\n\010order_by\030\005 \001(\t\"T\n\025GetJobTemplateRe"
-          + "quest\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%transcoder."
-          + "googleapis.com/JobTemplate\"W\n\030DeleteJobT"
-          + "emplateRequest\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%tr"
-          + "anscoder.googleapis.com/JobTemplate\"\216\001\n\030"
-          + "ListJobTemplatesResponse\022D\n\rjob_template"
-          + "s\030\001 \003(\0132-.google.cloud.video.transcoder."
-          + "v1.JobTemplate\022\027\n\017next_page_token\030\002 \001(\t\022"
-          + "\023\n\013unreachable\030\003 \003(\t2\222\014\n\021TranscoderServi"
-          + "ce\022\252\001\n\tCreateJob\0222.google.cloud.video.tr"
-          + "anscoder.v1.CreateJobRequest\032%.google.cl"
-          + "oud.video.transcoder.v1.Job\"B\202\323\344\223\002/\"(/v1"
-          + "/{parent=projects/*/locations/*}/jobs:\003j"
-          + "ob\332A\nparent,job\022\254\001\n\010ListJobs\0221.google.cl"
-          + "oud.video.transcoder.v1.ListJobsRequest\032"
-          + "2.google.cloud.video.transcoder.v1.ListJ"
-          + "obsResponse\"9\202\323\344\223\002*\022(/v1/{parent=project"
-          + "s/*/locations/*}/jobs\332A\006parent\022\231\001\n\006GetJo"
-          + "b\022/.google.cloud.video.transcoder.v1.Get"
-          + "JobRequest\032%.google.cloud.video.transcod"
-          + "er.v1.Job\"7\202\323\344\223\002*\022(/v1/{name=projects/*/"
-          + "locations/*/jobs/*}\332A\004name\022\220\001\n\tDeleteJob"
-          + "\0222.google.cloud.video.transcoder.v1.Dele"
-          + "teJobRequest\032\026.google.protobuf.Empty\"7\202\323"
-          + "\344\223\002**(/v1/{name=projects/*/locations/*/j"
-          + "obs/*}\332A\004name\022\354\001\n\021CreateJobTemplate\022:.go"
-          + "ogle.cloud.video.transcoder.v1.CreateJob"
-          + "TemplateRequest\032-.google.cloud.video.tra"
-          + "nscoder.v1.JobTemplate\"l\202\323\344\223\002@\"0/v1/{par"
-          + "ent=projects/*/locations/*}/jobTemplates"
-          + ":\014job_template\332A#parent,job_template,job"
-          + "_template_id\022\314\001\n\020ListJobTemplates\0229.goog"
-          + "le.cloud.video.transcoder.v1.ListJobTemp"
-          + "latesRequest\032:.google.cloud.video.transc"
-          + "oder.v1.ListJobTemplatesResponse\"A\202\323\344\223\0022"
-          + "\0220/v1/{parent=projects/*/locations/*}/jo"
-          + "bTemplates\332A\006parent\022\271\001\n\016GetJobTemplate\0227"
-          + ".google.cloud.video.transcoder.v1.GetJob"
-          + "TemplateRequest\032-.google.cloud.video.tra"
-          + "nscoder.v1.JobTemplate\"?\202\323\344\223\0022\0220/v1/{nam"
-          + "e=projects/*/locations/*/jobTemplates/*}"
-          + "\332A\004name\022\250\001\n\021DeleteJobTemplate\022:.google.c"
-          + "loud.video.transcoder.v1.DeleteJobTempla"
-          + "teRequest\032\026.google.protobuf.Empty\"?\202\323\344\223\002"
-          + "2*0/v1/{name=projects/*/locations/*/jobT"
-          + "emplates/*}\332A\004name\032M\312A\031transcoder.google"
-          + "apis.com\322A.https://www.googleapis.com/au"
-          + "th/cloud-platformB\360\001\n$com.google.cloud.v"
-          + "ideo.transcoder.v1B\rServicesProtoP\001ZJgoo"
-          + "gle.golang.org/genproto/googleapis/cloud"
-          + "/video/transcoder/v1;transcoder\252\002 Google"
-          + ".Cloud.Video.Transcoder.V1\312\002 Google\\Clou"
-          + "d\\Video\\Transcoder\\V1\352\002$Google::Cloud::V"
-          + "ideo::Transcoder::V1b\006proto3"
+          + "transcoder.googleapis.com/Job\022\025\n\rallow_m"
+          + "issing\030\002 \001(\010\"u\n\020ListJobsResponse\0223\n\004jobs"
+          + "\030\001 \003(\0132%.google.cloud.video.transcoder.v"
+          + "1.Job\022\027\n\017next_page_token\030\002 \001(\t\022\023\n\013unreac"
+          + "hable\030\003 \003(\t\"\275\001\n\030CreateJobTemplateRequest"
+          + "\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!locations.goog"
+          + "leapis.com/Location\022H\n\014job_template\030\002 \001("
+          + "\0132-.google.cloud.video.transcoder.v1.Job"
+          + "TemplateB\003\340A\002\022\034\n\017job_template_id\030\003 \001(\tB\003"
+          + "\340A\002\"\235\001\n\027ListJobTemplatesRequest\0229\n\006paren"
+          + "t\030\001 \001(\tB)\340A\002\372A#\n!locations.googleapis.co"
+          + "m/Location\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_to"
+          + "ken\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\022\020\n\010order_by\030\005 "
+          + "\001(\t\"T\n\025GetJobTemplateRequest\022;\n\004name\030\001 \001"
+          + "(\tB-\340A\002\372A\'\n%transcoder.googleapis.com/Jo"
+          + "bTemplate\"n\n\030DeleteJobTemplateRequest\022;\n"
+          + "\004name\030\001 \001(\tB-\340A\002\372A\'\n%transcoder.googleap"
+          + "is.com/JobTemplate\022\025\n\rallow_missing\030\002 \001("
+          + "\010\"\216\001\n\030ListJobTemplatesResponse\022D\n\rjob_te"
+          + "mplates\030\001 \003(\0132-.google.cloud.video.trans"
+          + "coder.v1.JobTemplate\022\027\n\017next_page_token\030"
+          + "\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t2\222\014\n\021Transcode"
+          + "rService\022\252\001\n\tCreateJob\0222.google.cloud.vi"
+          + "deo.transcoder.v1.CreateJobRequest\032%.goo"
+          + "gle.cloud.video.transcoder.v1.Job\"B\202\323\344\223\002"
+          + "/\"(/v1/{parent=projects/*/locations/*}/j"
+          + "obs:\003job\332A\nparent,job\022\254\001\n\010ListJobs\0221.goo"
+          + "gle.cloud.video.transcoder.v1.ListJobsRe"
+          + "quest\0322.google.cloud.video.transcoder.v1"
+          + ".ListJobsResponse\"9\202\323\344\223\002*\022(/v1/{parent=p"
+          + "rojects/*/locations/*}/jobs\332A\006parent\022\231\001\n"
+          + "\006GetJob\022/.google.cloud.video.transcoder."
+          + "v1.GetJobRequest\032%.google.cloud.video.tr"
+          + "anscoder.v1.Job\"7\202\323\344\223\002*\022(/v1/{name=proje"
+          + "cts/*/locations/*/jobs/*}\332A\004name\022\220\001\n\tDel"
+          + "eteJob\0222.google.cloud.video.transcoder.v"
+          + "1.DeleteJobRequest\032\026.google.protobuf.Emp"
+          + "ty\"7\202\323\344\223\002**(/v1/{name=projects/*/locatio"
+          + "ns/*/jobs/*}\332A\004name\022\354\001\n\021CreateJobTemplat"
+          + "e\022:.google.cloud.video.transcoder.v1.Cre"
+          + "ateJobTemplateRequest\032-.google.cloud.vid"
+          + "eo.transcoder.v1.JobTemplate\"l\202\323\344\223\002@\"0/v"
+          + "1/{parent=projects/*/locations/*}/jobTem"
+          + "plates:\014job_template\332A#parent,job_templa"
+          + "te,job_template_id\022\314\001\n\020ListJobTemplates\022"
+          + "9.google.cloud.video.transcoder.v1.ListJ"
+          + "obTemplatesRequest\032:.google.cloud.video."
+          + "transcoder.v1.ListJobTemplatesResponse\"A"
+          + "\202\323\344\223\0022\0220/v1/{parent=projects/*/locations"
+          + "/*}/jobTemplates\332A\006parent\022\271\001\n\016GetJobTemp"
+          + "late\0227.google.cloud.video.transcoder.v1."
+          + "GetJobTemplateRequest\032-.google.cloud.vid"
+          + "eo.transcoder.v1.JobTemplate\"?\202\323\344\223\0022\0220/v"
+          + "1/{name=projects/*/locations/*/jobTempla"
+          + "tes/*}\332A\004name\022\250\001\n\021DeleteJobTemplate\022:.go"
+          + "ogle.cloud.video.transcoder.v1.DeleteJob"
+          + "TemplateRequest\032\026.google.protobuf.Empty\""
+          + "?\202\323\344\223\0022*0/v1/{name=projects/*/locations/"
+          + "*/jobTemplates/*}\332A\004name\032M\312A\031transcoder."
+          + "googleapis.com\322A.https://www.googleapis."
+          + "com/auth/cloud-platformB\360\001\n$com.google.c"
+          + "loud.video.transcoder.v1B\rServicesProtoP"
+          + "\001ZJgoogle.golang.org/genproto/googleapis"
+          + "/cloud/video/transcoder/v1;transcoder\252\002 "
+          + "Google.Cloud.Video.Transcoder.V1\312\002 Googl"
+          + "e\\Cloud\\Video\\Transcoder\\V1\352\002$Google::Cl"
+          + "oud::Video::Transcoder::V1b\006proto3"
     };
     descriptor =
         com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -201,7 +202,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
             internal_static_google_cloud_video_transcoder_v1_DeleteJobRequest_descriptor,
             new java.lang.String[] {
-              "Name",
+              "Name", "AllowMissing",
             });
     internal_static_google_cloud_video_transcoder_v1_ListJobsResponse_descriptor =
         getDescriptor().getMessageTypes().get(4);
@@ -241,7 +242,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
             internal_static_google_cloud_video_transcoder_v1_DeleteJobTemplateRequest_descriptor,
             new java.lang.String[] {
-              "Name",
+              "Name", "AllowMissing",
             });
     internal_static_google_cloud_video_transcoder_v1_ListJobTemplatesResponse_descriptor =
         getDescriptor().getMessageTypes().get(9);
diff --git a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/SpriteSheet.java b/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/SpriteSheet.java
index fc8837fc..93170114 100644
--- a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/SpriteSheet.java
+++ b/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/SpriteSheet.java
@@ -248,9 +248,9 @@ public ExtractionStrategyCase getExtractionStrategyCase() {
    *
    *
    * 
-   * Format type. The default is `"jpeg"`.
+   * Format type. The default is `jpeg`.
    * Supported formats:
-   * - 'jpeg'
+   * - `jpeg`
    * 
* * string format = 1; @@ -273,9 +273,9 @@ public java.lang.String getFormat() { * * *
-   * Format type. The default is `"jpeg"`.
+   * Format type. The default is `jpeg`.
    * Supported formats:
-   * - 'jpeg'
+   * - `jpeg`
    * 
* * string format = 1; @@ -303,7 +303,7 @@ public com.google.protobuf.ByteString getFormatBytes() { *
    * Required. File name prefix for the generated sprite sheets.
    * Each sprite sheet has an incremental 10-digit zero-padded suffix starting
-   * from 0 before the extension, such as `"sprite_sheet0000000123.jpeg"`.
+   * from 0 before the extension, such as `sprite_sheet0000000123.jpeg`.
    * 
* * string file_prefix = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -328,7 +328,7 @@ public java.lang.String getFilePrefix() { *
    * Required. File name prefix for the generated sprite sheets.
    * Each sprite sheet has an incremental 10-digit zero-padded suffix starting
-   * from 0 before the extension, such as `"sprite_sheet0000000123.jpeg"`.
+   * from 0 before the extension, such as `sprite_sheet0000000123.jpeg`.
    * 
* * string file_prefix = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -662,10 +662,10 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getFormatBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(format_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, format_); } - if (!getFilePrefixBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filePrefix_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, filePrefix_); } if (spriteWidthPixels_ != 0) { @@ -704,10 +704,10 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getFormatBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(format_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, format_); } - if (!getFilePrefixBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filePrefix_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, filePrefix_); } if (spriteWidthPixels_ != 0) { @@ -1199,9 +1199,9 @@ public Builder clearExtractionStrategy() { * * *
-     * Format type. The default is `"jpeg"`.
+     * Format type. The default is `jpeg`.
      * Supported formats:
-     * - 'jpeg'
+     * - `jpeg`
      * 
* * string format = 1; @@ -1223,9 +1223,9 @@ public java.lang.String getFormat() { * * *
-     * Format type. The default is `"jpeg"`.
+     * Format type. The default is `jpeg`.
      * Supported formats:
-     * - 'jpeg'
+     * - `jpeg`
      * 
* * string format = 1; @@ -1247,9 +1247,9 @@ public com.google.protobuf.ByteString getFormatBytes() { * * *
-     * Format type. The default is `"jpeg"`.
+     * Format type. The default is `jpeg`.
      * Supported formats:
-     * - 'jpeg'
+     * - `jpeg`
      * 
* * string format = 1; @@ -1270,9 +1270,9 @@ public Builder setFormat(java.lang.String value) { * * *
-     * Format type. The default is `"jpeg"`.
+     * Format type. The default is `jpeg`.
      * Supported formats:
-     * - 'jpeg'
+     * - `jpeg`
      * 
* * string format = 1; @@ -1289,9 +1289,9 @@ public Builder clearFormat() { * * *
-     * Format type. The default is `"jpeg"`.
+     * Format type. The default is `jpeg`.
      * Supported formats:
-     * - 'jpeg'
+     * - `jpeg`
      * 
* * string format = 1; @@ -1317,7 +1317,7 @@ public Builder setFormatBytes(com.google.protobuf.ByteString value) { *
      * Required. File name prefix for the generated sprite sheets.
      * Each sprite sheet has an incremental 10-digit zero-padded suffix starting
-     * from 0 before the extension, such as `"sprite_sheet0000000123.jpeg"`.
+     * from 0 before the extension, such as `sprite_sheet0000000123.jpeg`.
      * 
* * string file_prefix = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -1341,7 +1341,7 @@ public java.lang.String getFilePrefix() { *
      * Required. File name prefix for the generated sprite sheets.
      * Each sprite sheet has an incremental 10-digit zero-padded suffix starting
-     * from 0 before the extension, such as `"sprite_sheet0000000123.jpeg"`.
+     * from 0 before the extension, such as `sprite_sheet0000000123.jpeg`.
      * 
* * string file_prefix = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -1365,7 +1365,7 @@ public com.google.protobuf.ByteString getFilePrefixBytes() { *
      * Required. File name prefix for the generated sprite sheets.
      * Each sprite sheet has an incremental 10-digit zero-padded suffix starting
-     * from 0 before the extension, such as `"sprite_sheet0000000123.jpeg"`.
+     * from 0 before the extension, such as `sprite_sheet0000000123.jpeg`.
      * 
* * string file_prefix = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -1388,7 +1388,7 @@ public Builder setFilePrefix(java.lang.String value) { *
      * Required. File name prefix for the generated sprite sheets.
      * Each sprite sheet has an incremental 10-digit zero-padded suffix starting
-     * from 0 before the extension, such as `"sprite_sheet0000000123.jpeg"`.
+     * from 0 before the extension, such as `sprite_sheet0000000123.jpeg`.
      * 
* * string file_prefix = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -1407,7 +1407,7 @@ public Builder clearFilePrefix() { *
      * Required. File name prefix for the generated sprite sheets.
      * Each sprite sheet has an incremental 10-digit zero-padded suffix starting
-     * from 0 before the extension, such as `"sprite_sheet0000000123.jpeg"`.
+     * from 0 before the extension, such as `sprite_sheet0000000123.jpeg`.
      * 
* * string file_prefix = 2 [(.google.api.field_behavior) = REQUIRED]; diff --git a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/SpriteSheetOrBuilder.java b/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/SpriteSheetOrBuilder.java index 9e88a3ba..ddfb14b0 100644 --- a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/SpriteSheetOrBuilder.java +++ b/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/SpriteSheetOrBuilder.java @@ -27,9 +27,9 @@ public interface SpriteSheetOrBuilder * * *
-   * Format type. The default is `"jpeg"`.
+   * Format type. The default is `jpeg`.
    * Supported formats:
-   * - 'jpeg'
+   * - `jpeg`
    * 
* * string format = 1; @@ -41,9 +41,9 @@ public interface SpriteSheetOrBuilder * * *
-   * Format type. The default is `"jpeg"`.
+   * Format type. The default is `jpeg`.
    * Supported formats:
-   * - 'jpeg'
+   * - `jpeg`
    * 
* * string format = 1; @@ -58,7 +58,7 @@ public interface SpriteSheetOrBuilder *
    * Required. File name prefix for the generated sprite sheets.
    * Each sprite sheet has an incremental 10-digit zero-padded suffix starting
-   * from 0 before the extension, such as `"sprite_sheet0000000123.jpeg"`.
+   * from 0 before the extension, such as `sprite_sheet0000000123.jpeg`.
    * 
* * string file_prefix = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -72,7 +72,7 @@ public interface SpriteSheetOrBuilder *
    * Required. File name prefix for the generated sprite sheets.
    * Each sprite sheet has an incremental 10-digit zero-padded suffix starting
-   * from 0 before the extension, such as `"sprite_sheet0000000123.jpeg"`.
+   * from 0 before the extension, such as `sprite_sheet0000000123.jpeg`.
    * 
* * string file_prefix = 2 [(.google.api.field_behavior) = REQUIRED]; diff --git a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/TextStream.java b/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/TextStream.java index 98985d31..23491206 100644 --- a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/TextStream.java +++ b/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/TextStream.java @@ -438,10 +438,10 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getAtomKeyBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(atomKey_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, atomKey_); } - if (!getInputKeyBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inputKey_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, inputKey_); } if (inputTrack_ != 0) { @@ -456,10 +456,10 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getAtomKeyBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(atomKey_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, atomKey_); } - if (!getInputKeyBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inputKey_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, inputKey_); } if (inputTrack_ != 0) { @@ -1109,13 +1109,13 @@ public com.google.cloud.video.transcoder.v1.TextStream.TextMapping getDefaultIns * * *
-   * The codec for this text stream. The default is `"webvtt"`.
+   * The codec for this text stream. The default is `webvtt`.
    * Supported text codecs:
-   * - 'srt'
-   * - 'ttml'
-   * - 'cea608'
-   * - 'cea708'
-   * - 'webvtt'
+   * - `srt`
+   * - `ttml`
+   * - `cea608`
+   * - `cea708`
+   * - `webvtt`
    * 
* * string codec = 1; @@ -1138,13 +1138,13 @@ public java.lang.String getCodec() { * * *
-   * The codec for this text stream. The default is `"webvtt"`.
+   * The codec for this text stream. The default is `webvtt`.
    * Supported text codecs:
-   * - 'srt'
-   * - 'ttml'
-   * - 'cea608'
-   * - 'cea708'
-   * - 'webvtt'
+   * - `srt`
+   * - `ttml`
+   * - `cea608`
+   * - `cea708`
+   * - `webvtt`
    * 
* * string codec = 1; @@ -1250,7 +1250,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getCodecBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(codec_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, codec_); } for (int i = 0; i < mapping_.size(); i++) { @@ -1265,7 +1265,7 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getCodecBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(codec_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, codec_); } for (int i = 0; i < mapping_.size(); i++) { @@ -1616,13 +1616,13 @@ public Builder mergeFrom( * * *
-     * The codec for this text stream. The default is `"webvtt"`.
+     * The codec for this text stream. The default is `webvtt`.
      * Supported text codecs:
-     * - 'srt'
-     * - 'ttml'
-     * - 'cea608'
-     * - 'cea708'
-     * - 'webvtt'
+     * - `srt`
+     * - `ttml`
+     * - `cea608`
+     * - `cea708`
+     * - `webvtt`
      * 
* * string codec = 1; @@ -1644,13 +1644,13 @@ public java.lang.String getCodec() { * * *
-     * The codec for this text stream. The default is `"webvtt"`.
+     * The codec for this text stream. The default is `webvtt`.
      * Supported text codecs:
-     * - 'srt'
-     * - 'ttml'
-     * - 'cea608'
-     * - 'cea708'
-     * - 'webvtt'
+     * - `srt`
+     * - `ttml`
+     * - `cea608`
+     * - `cea708`
+     * - `webvtt`
      * 
* * string codec = 1; @@ -1672,13 +1672,13 @@ public com.google.protobuf.ByteString getCodecBytes() { * * *
-     * The codec for this text stream. The default is `"webvtt"`.
+     * The codec for this text stream. The default is `webvtt`.
      * Supported text codecs:
-     * - 'srt'
-     * - 'ttml'
-     * - 'cea608'
-     * - 'cea708'
-     * - 'webvtt'
+     * - `srt`
+     * - `ttml`
+     * - `cea608`
+     * - `cea708`
+     * - `webvtt`
      * 
* * string codec = 1; @@ -1699,13 +1699,13 @@ public Builder setCodec(java.lang.String value) { * * *
-     * The codec for this text stream. The default is `"webvtt"`.
+     * The codec for this text stream. The default is `webvtt`.
      * Supported text codecs:
-     * - 'srt'
-     * - 'ttml'
-     * - 'cea608'
-     * - 'cea708'
-     * - 'webvtt'
+     * - `srt`
+     * - `ttml`
+     * - `cea608`
+     * - `cea708`
+     * - `webvtt`
      * 
* * string codec = 1; @@ -1722,13 +1722,13 @@ public Builder clearCodec() { * * *
-     * The codec for this text stream. The default is `"webvtt"`.
+     * The codec for this text stream. The default is `webvtt`.
      * Supported text codecs:
-     * - 'srt'
-     * - 'ttml'
-     * - 'cea608'
-     * - 'cea708'
-     * - 'webvtt'
+     * - `srt`
+     * - `ttml`
+     * - `cea608`
+     * - `cea708`
+     * - `webvtt`
      * 
* * string codec = 1; diff --git a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/TextStreamOrBuilder.java b/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/TextStreamOrBuilder.java index a9228b9d..be1c7254 100644 --- a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/TextStreamOrBuilder.java +++ b/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/TextStreamOrBuilder.java @@ -27,13 +27,13 @@ public interface TextStreamOrBuilder * * *
-   * The codec for this text stream. The default is `"webvtt"`.
+   * The codec for this text stream. The default is `webvtt`.
    * Supported text codecs:
-   * - 'srt'
-   * - 'ttml'
-   * - 'cea608'
-   * - 'cea708'
-   * - 'webvtt'
+   * - `srt`
+   * - `ttml`
+   * - `cea608`
+   * - `cea708`
+   * - `webvtt`
    * 
* * string codec = 1; @@ -45,13 +45,13 @@ public interface TextStreamOrBuilder * * *
-   * The codec for this text stream. The default is `"webvtt"`.
+   * The codec for this text stream. The default is `webvtt`.
    * Supported text codecs:
-   * - 'srt'
-   * - 'ttml'
-   * - 'cea608'
-   * - 'cea708'
-   * - 'webvtt'
+   * - `srt`
+   * - `ttml`
+   * - `cea608`
+   * - `cea708`
+   * - `webvtt`
    * 
* * string codec = 1; diff --git a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/VideoStream.java b/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/VideoStream.java index ba6f42e7..76250683 100644 --- a/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/VideoStream.java +++ b/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/VideoStream.java @@ -229,8 +229,8 @@ public interface H264CodecSettingsOrBuilder * * *
-     * Required. The video bitrate in bits per second. Must be between 1 and
-     * 1,000,000,000.
+     * Required. The video bitrate in bits per second. The minimum value is 1,000.
+     * The maximum value is 800,000,000.
      * 
* * int32 bitrate_bps = 4 [(.google.api.field_behavior) = REQUIRED]; @@ -243,17 +243,17 @@ public interface H264CodecSettingsOrBuilder * * *
-     * Pixel format to use. The default is `"yuv420p"`.
+     * Pixel format to use. The default is `yuv420p`.
      * Supported pixel formats:
-     * - 'yuv420p' pixel format.
-     * - 'yuv422p' pixel format.
-     * - 'yuv444p' pixel format.
-     * - 'yuv420p10' 10-bit HDR pixel format.
-     * - 'yuv422p10' 10-bit HDR pixel format.
-     * - 'yuv444p10' 10-bit HDR pixel format.
-     * - 'yuv420p12' 12-bit HDR pixel format.
-     * - 'yuv422p12' 12-bit HDR pixel format.
-     * - 'yuv444p12' 12-bit HDR pixel format.
+     * - `yuv420p` pixel format
+     * - `yuv422p` pixel format
+     * - `yuv444p` pixel format
+     * - `yuv420p10` 10-bit HDR pixel format
+     * - `yuv422p10` 10-bit HDR pixel format
+     * - `yuv444p10` 10-bit HDR pixel format
+     * - `yuv420p12` 12-bit HDR pixel format
+     * - `yuv422p12` 12-bit HDR pixel format
+     * - `yuv444p12` 12-bit HDR pixel format
      * 
* * string pixel_format = 5; @@ -265,17 +265,17 @@ public interface H264CodecSettingsOrBuilder * * *
-     * Pixel format to use. The default is `"yuv420p"`.
+     * Pixel format to use. The default is `yuv420p`.
      * Supported pixel formats:
-     * - 'yuv420p' pixel format.
-     * - 'yuv422p' pixel format.
-     * - 'yuv444p' pixel format.
-     * - 'yuv420p10' 10-bit HDR pixel format.
-     * - 'yuv422p10' 10-bit HDR pixel format.
-     * - 'yuv444p10' 10-bit HDR pixel format.
-     * - 'yuv420p12' 12-bit HDR pixel format.
-     * - 'yuv422p12' 12-bit HDR pixel format.
-     * - 'yuv444p12' 12-bit HDR pixel format.
+     * - `yuv420p` pixel format
+     * - `yuv422p` pixel format
+     * - `yuv444p` pixel format
+     * - `yuv420p10` 10-bit HDR pixel format
+     * - `yuv422p10` 10-bit HDR pixel format
+     * - `yuv444p10` 10-bit HDR pixel format
+     * - `yuv420p12` 12-bit HDR pixel format
+     * - `yuv422p12` 12-bit HDR pixel format
+     * - `yuv444p12` 12-bit HDR pixel format
      * 
* * string pixel_format = 5; @@ -288,10 +288,10 @@ public interface H264CodecSettingsOrBuilder * * *
-     * Specify the `rate_control_mode`. The default is `"vbr"`.
+     * Specify the `rate_control_mode`. The default is `vbr`.
      * Supported rate control modes:
-     * - 'vbr' - variable bitrate
-     * - 'crf' - constant rate factor
+     * - `vbr` - variable bitrate
+     * - `crf` - constant rate factor
      * 
* * string rate_control_mode = 6; @@ -303,10 +303,10 @@ public interface H264CodecSettingsOrBuilder * * *
-     * Specify the `rate_control_mode`. The default is `"vbr"`.
+     * Specify the `rate_control_mode`. The default is `vbr`.
      * Supported rate control modes:
-     * - 'vbr' - variable bitrate
-     * - 'crf' - constant rate factor
+     * - `vbr` - variable bitrate
+     * - `crf` - constant rate factor
      * 
* * string rate_control_mode = 6; @@ -375,7 +375,7 @@ public interface H264CodecSettingsOrBuilder * *
      * Select the GOP size based on the specified duration. The default is
-     * `"3s"`. Note that `gopDuration` must be less than or equal to
+     * `3s`. Note that `gopDuration` must be less than or equal to
      * [`segmentDuration`](#SegmentSettings), and
      * [`segmentDuration`](#SegmentSettings) must be divisible by
      * `gopDuration`.
@@ -391,7 +391,7 @@ public interface H264CodecSettingsOrBuilder
      *
      * 
      * Select the GOP size based on the specified duration. The default is
-     * `"3s"`. Note that `gopDuration` must be less than or equal to
+     * `3s`. Note that `gopDuration` must be less than or equal to
      * [`segmentDuration`](#SegmentSettings), and
      * [`segmentDuration`](#SegmentSettings) must be divisible by
      * `gopDuration`.
@@ -407,7 +407,7 @@ public interface H264CodecSettingsOrBuilder
      *
      * 
      * Select the GOP size based on the specified duration. The default is
-     * `"3s"`. Note that `gopDuration` must be less than or equal to
+     * `3s`. Note that `gopDuration` must be less than or equal to
      * [`segmentDuration`](#SegmentSettings), and
      * [`segmentDuration`](#SegmentSettings) must be divisible by
      * `gopDuration`.
@@ -422,7 +422,7 @@ public interface H264CodecSettingsOrBuilder
      *
      * 
      * Use two-pass encoding strategy to achieve better video quality.
-     * `VideoStream.rate_control_mode` must be `"vbr"`. The default is `false`.
+     * `VideoStream.rate_control_mode` must be `vbr`. The default is `false`.
      * 
* * bool enable_two_pass = 11; @@ -464,10 +464,10 @@ public interface H264CodecSettingsOrBuilder * * *
-     * The entropy coder to use. The default is `"cabac"`.
+     * The entropy coder to use. The default is `cabac`.
      * Supported entropy coders:
-     * - 'cavlc'
-     * - 'cabac'
+     * - `cavlc`
+     * - `cabac`
      * 
* * string entropy_coder = 14; @@ -479,10 +479,10 @@ public interface H264CodecSettingsOrBuilder * * *
-     * The entropy coder to use. The default is `"cabac"`.
+     * The entropy coder to use. The default is `cabac`.
      * Supported entropy coders:
-     * - 'cavlc'
-     * - 'cabac'
+     * - `cavlc`
+     * - `cabac`
      * 
* * string entropy_coder = 14; @@ -545,8 +545,8 @@ public interface H264CodecSettingsOrBuilder * * `main` * * `high` (default) * The available options are - * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.264#Profile){: - * class="external" }. Note that certain values for this field may cause the + * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.264#Tune). + * Note that certain values for this field may cause the * transcoder to override other fields you set in the `H264CodecSettings` * message. *
@@ -566,8 +566,8 @@ public interface H264CodecSettingsOrBuilder * * `main` * * `high` (default) * The available options are - * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.264#Profile){: - * class="external" }. Note that certain values for this field may cause the + * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.264#Tune). + * Note that certain values for this field may cause the * transcoder to override other fields you set in the `H264CodecSettings` * message. *
@@ -583,8 +583,8 @@ public interface H264CodecSettingsOrBuilder * *
      * Enforces the specified codec tune. The available options are
-     * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.264#Tune){:
-     * class="external" }. Note that certain values for this field may cause the
+     * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.264#Tune).
+     * Note that certain values for this field may cause the
      * transcoder to override other fields you set in the `H264CodecSettings`
      * message.
      * 
@@ -599,8 +599,8 @@ public interface H264CodecSettingsOrBuilder * *
      * Enforces the specified codec tune. The available options are
-     * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.264#Tune){:
-     * class="external" }. Note that certain values for this field may cause the
+     * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.264#Tune).
+     * Note that certain values for this field may cause the
      * transcoder to override other fields you set in the `H264CodecSettings`
      * message.
      * 
@@ -617,8 +617,8 @@ public interface H264CodecSettingsOrBuilder *
      * Enforces the specified codec preset. The default is `veryfast`. The
      * available options are
-     * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.264#Preset){:
-     * class="external" }. Note that certain values for this field may cause the
+     * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.264#Preset).
+     * Note that certain values for this field may cause the
      * transcoder to override other fields you set in the `H264CodecSettings`
      * message.
      * 
@@ -634,8 +634,8 @@ public interface H264CodecSettingsOrBuilder *
      * Enforces the specified codec preset. The default is `veryfast`. The
      * available options are
-     * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.264#Preset){:
-     * class="external" }. Note that certain values for this field may cause the
+     * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.264#Preset).
+     * Note that certain values for this field may cause the
      * transcoder to override other fields you set in the `H264CodecSettings`
      * message.
      * 
@@ -980,8 +980,8 @@ public double getFrameRate() { * * *
-     * Required. The video bitrate in bits per second. Must be between 1 and
-     * 1,000,000,000.
+     * Required. The video bitrate in bits per second. The minimum value is 1,000.
+     * The maximum value is 800,000,000.
      * 
* * int32 bitrate_bps = 4 [(.google.api.field_behavior) = REQUIRED]; @@ -999,17 +999,17 @@ public int getBitrateBps() { * * *
-     * Pixel format to use. The default is `"yuv420p"`.
+     * Pixel format to use. The default is `yuv420p`.
      * Supported pixel formats:
-     * - 'yuv420p' pixel format.
-     * - 'yuv422p' pixel format.
-     * - 'yuv444p' pixel format.
-     * - 'yuv420p10' 10-bit HDR pixel format.
-     * - 'yuv422p10' 10-bit HDR pixel format.
-     * - 'yuv444p10' 10-bit HDR pixel format.
-     * - 'yuv420p12' 12-bit HDR pixel format.
-     * - 'yuv422p12' 12-bit HDR pixel format.
-     * - 'yuv444p12' 12-bit HDR pixel format.
+     * - `yuv420p` pixel format
+     * - `yuv422p` pixel format
+     * - `yuv444p` pixel format
+     * - `yuv420p10` 10-bit HDR pixel format
+     * - `yuv422p10` 10-bit HDR pixel format
+     * - `yuv444p10` 10-bit HDR pixel format
+     * - `yuv420p12` 12-bit HDR pixel format
+     * - `yuv422p12` 12-bit HDR pixel format
+     * - `yuv444p12` 12-bit HDR pixel format
      * 
* * string pixel_format = 5; @@ -1032,17 +1032,17 @@ public java.lang.String getPixelFormat() { * * *
-     * Pixel format to use. The default is `"yuv420p"`.
+     * Pixel format to use. The default is `yuv420p`.
      * Supported pixel formats:
-     * - 'yuv420p' pixel format.
-     * - 'yuv422p' pixel format.
-     * - 'yuv444p' pixel format.
-     * - 'yuv420p10' 10-bit HDR pixel format.
-     * - 'yuv422p10' 10-bit HDR pixel format.
-     * - 'yuv444p10' 10-bit HDR pixel format.
-     * - 'yuv420p12' 12-bit HDR pixel format.
-     * - 'yuv422p12' 12-bit HDR pixel format.
-     * - 'yuv444p12' 12-bit HDR pixel format.
+     * - `yuv420p` pixel format
+     * - `yuv422p` pixel format
+     * - `yuv444p` pixel format
+     * - `yuv420p10` 10-bit HDR pixel format
+     * - `yuv422p10` 10-bit HDR pixel format
+     * - `yuv444p10` 10-bit HDR pixel format
+     * - `yuv420p12` 12-bit HDR pixel format
+     * - `yuv422p12` 12-bit HDR pixel format
+     * - `yuv444p12` 12-bit HDR pixel format
      * 
* * string pixel_format = 5; @@ -1068,10 +1068,10 @@ public com.google.protobuf.ByteString getPixelFormatBytes() { * * *
-     * Specify the `rate_control_mode`. The default is `"vbr"`.
+     * Specify the `rate_control_mode`. The default is `vbr`.
      * Supported rate control modes:
-     * - 'vbr' - variable bitrate
-     * - 'crf' - constant rate factor
+     * - `vbr` - variable bitrate
+     * - `crf` - constant rate factor
      * 
* * string rate_control_mode = 6; @@ -1094,10 +1094,10 @@ public java.lang.String getRateControlMode() { * * *
-     * Specify the `rate_control_mode`. The default is `"vbr"`.
+     * Specify the `rate_control_mode`. The default is `vbr`.
      * Supported rate control modes:
-     * - 'vbr' - variable bitrate
-     * - 'crf' - constant rate factor
+     * - `vbr` - variable bitrate
+     * - `crf` - constant rate factor
      * 
* * string rate_control_mode = 6; @@ -1198,7 +1198,7 @@ public int getGopFrameCount() { * *
      * Select the GOP size based on the specified duration. The default is
-     * `"3s"`. Note that `gopDuration` must be less than or equal to
+     * `3s`. Note that `gopDuration` must be less than or equal to
      * [`segmentDuration`](#SegmentSettings), and
      * [`segmentDuration`](#SegmentSettings) must be divisible by
      * `gopDuration`.
@@ -1217,7 +1217,7 @@ public boolean hasGopDuration() {
      *
      * 
      * Select the GOP size based on the specified duration. The default is
-     * `"3s"`. Note that `gopDuration` must be less than or equal to
+     * `3s`. Note that `gopDuration` must be less than or equal to
      * [`segmentDuration`](#SegmentSettings), and
      * [`segmentDuration`](#SegmentSettings) must be divisible by
      * `gopDuration`.
@@ -1239,7 +1239,7 @@ public com.google.protobuf.Duration getGopDuration() {
      *
      * 
      * Select the GOP size based on the specified duration. The default is
-     * `"3s"`. Note that `gopDuration` must be less than or equal to
+     * `3s`. Note that `gopDuration` must be less than or equal to
      * [`segmentDuration`](#SegmentSettings), and
      * [`segmentDuration`](#SegmentSettings) must be divisible by
      * `gopDuration`.
@@ -1262,7 +1262,7 @@ public com.google.protobuf.DurationOrBuilder getGopDurationOrBuilder() {
      *
      * 
      * Use two-pass encoding strategy to achieve better video quality.
-     * `VideoStream.rate_control_mode` must be `"vbr"`. The default is `false`.
+     * `VideoStream.rate_control_mode` must be `vbr`. The default is `false`.
      * 
* * bool enable_two_pass = 11; @@ -1319,10 +1319,10 @@ public int getVbvFullnessBits() { * * *
-     * The entropy coder to use. The default is `"cabac"`.
+     * The entropy coder to use. The default is `cabac`.
      * Supported entropy coders:
-     * - 'cavlc'
-     * - 'cabac'
+     * - `cavlc`
+     * - `cabac`
      * 
* * string entropy_coder = 14; @@ -1345,10 +1345,10 @@ public java.lang.String getEntropyCoder() { * * *
-     * The entropy coder to use. The default is `"cabac"`.
+     * The entropy coder to use. The default is `cabac`.
      * Supported entropy coders:
-     * - 'cavlc'
-     * - 'cabac'
+     * - `cavlc`
+     * - `cabac`
      * 
* * string entropy_coder = 14; @@ -1439,8 +1439,8 @@ public double getAqStrength() { * * `main` * * `high` (default) * The available options are - * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.264#Profile){: - * class="external" }. Note that certain values for this field may cause the + * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.264#Tune). + * Note that certain values for this field may cause the * transcoder to override other fields you set in the `H264CodecSettings` * message. *
@@ -1471,8 +1471,8 @@ public java.lang.String getProfile() { * * `main` * * `high` (default) * The available options are - * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.264#Profile){: - * class="external" }. Note that certain values for this field may cause the + * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.264#Tune). + * Note that certain values for this field may cause the * transcoder to override other fields you set in the `H264CodecSettings` * message. *
@@ -1501,8 +1501,8 @@ public com.google.protobuf.ByteString getProfileBytes() { * *
      * Enforces the specified codec tune. The available options are
-     * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.264#Tune){:
-     * class="external" }. Note that certain values for this field may cause the
+     * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.264#Tune).
+     * Note that certain values for this field may cause the
      * transcoder to override other fields you set in the `H264CodecSettings`
      * message.
      * 
@@ -1528,8 +1528,8 @@ public java.lang.String getTune() { * *
      * Enforces the specified codec tune. The available options are
-     * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.264#Tune){:
-     * class="external" }. Note that certain values for this field may cause the
+     * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.264#Tune).
+     * Note that certain values for this field may cause the
      * transcoder to override other fields you set in the `H264CodecSettings`
      * message.
      * 
@@ -1559,8 +1559,8 @@ public com.google.protobuf.ByteString getTuneBytes() { *
      * Enforces the specified codec preset. The default is `veryfast`. The
      * available options are
-     * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.264#Preset){:
-     * class="external" }. Note that certain values for this field may cause the
+     * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.264#Preset).
+     * Note that certain values for this field may cause the
      * transcoder to override other fields you set in the `H264CodecSettings`
      * message.
      * 
@@ -1587,8 +1587,8 @@ public java.lang.String getPreset() { *
      * Enforces the specified codec preset. The default is `veryfast`. The
      * available options are
-     * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.264#Preset){:
-     * class="external" }. Note that certain values for this field may cause the
+     * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.264#Preset).
+     * Note that certain values for this field may cause the
      * transcoder to override other fields you set in the `H264CodecSettings`
      * message.
      * 
@@ -1636,10 +1636,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (bitrateBps_ != 0) { output.writeInt32(4, bitrateBps_); } - if (!getPixelFormatBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pixelFormat_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, pixelFormat_); } - if (!getRateControlModeBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(rateControlMode_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, rateControlMode_); } if (crfLevel_ != 0) { @@ -1663,7 +1663,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (vbvFullnessBits_ != 0) { output.writeInt32(13, vbvFullnessBits_); } - if (!getEntropyCoderBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entropyCoder_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 14, entropyCoder_); } if (bPyramid_ != false) { @@ -1675,13 +1675,13 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (aqStrength_ != 0D) { output.writeDouble(17, aqStrength_); } - if (!getProfileBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(profile_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 18, profile_); } - if (!getTuneBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tune_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 19, tune_); } - if (!getPresetBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(preset_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 20, preset_); } unknownFields.writeTo(output); @@ -1705,10 +1705,10 @@ public int getSerializedSize() { if (bitrateBps_ != 0) { size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, bitrateBps_); } - if (!getPixelFormatBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pixelFormat_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, pixelFormat_); } - if (!getRateControlModeBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(rateControlMode_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, rateControlMode_); } if (crfLevel_ != 0) { @@ -1736,7 +1736,7 @@ public int getSerializedSize() { if (vbvFullnessBits_ != 0) { size += com.google.protobuf.CodedOutputStream.computeInt32Size(13, vbvFullnessBits_); } - if (!getEntropyCoderBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entropyCoder_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, entropyCoder_); } if (bPyramid_ != false) { @@ -1748,13 +1748,13 @@ public int getSerializedSize() { if (aqStrength_ != 0D) { size += com.google.protobuf.CodedOutputStream.computeDoubleSize(17, aqStrength_); } - if (!getProfileBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(profile_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, profile_); } - if (!getTuneBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tune_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(19, tune_); } - if (!getPresetBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(preset_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(20, preset_); } size += unknownFields.getSerializedSize(); @@ -2482,8 +2482,8 @@ public Builder clearFrameRate() { * * *
-       * Required. The video bitrate in bits per second. Must be between 1 and
-       * 1,000,000,000.
+       * Required. The video bitrate in bits per second. The minimum value is 1,000.
+       * The maximum value is 800,000,000.
        * 
* * int32 bitrate_bps = 4 [(.google.api.field_behavior) = REQUIRED]; @@ -2498,8 +2498,8 @@ public int getBitrateBps() { * * *
-       * Required. The video bitrate in bits per second. Must be between 1 and
-       * 1,000,000,000.
+       * Required. The video bitrate in bits per second. The minimum value is 1,000.
+       * The maximum value is 800,000,000.
        * 
* * int32 bitrate_bps = 4 [(.google.api.field_behavior) = REQUIRED]; @@ -2517,8 +2517,8 @@ public Builder setBitrateBps(int value) { * * *
-       * Required. The video bitrate in bits per second. Must be between 1 and
-       * 1,000,000,000.
+       * Required. The video bitrate in bits per second. The minimum value is 1,000.
+       * The maximum value is 800,000,000.
        * 
* * int32 bitrate_bps = 4 [(.google.api.field_behavior) = REQUIRED]; @@ -2537,17 +2537,17 @@ public Builder clearBitrateBps() { * * *
-       * Pixel format to use. The default is `"yuv420p"`.
+       * Pixel format to use. The default is `yuv420p`.
        * Supported pixel formats:
-       * - 'yuv420p' pixel format.
-       * - 'yuv422p' pixel format.
-       * - 'yuv444p' pixel format.
-       * - 'yuv420p10' 10-bit HDR pixel format.
-       * - 'yuv422p10' 10-bit HDR pixel format.
-       * - 'yuv444p10' 10-bit HDR pixel format.
-       * - 'yuv420p12' 12-bit HDR pixel format.
-       * - 'yuv422p12' 12-bit HDR pixel format.
-       * - 'yuv444p12' 12-bit HDR pixel format.
+       * - `yuv420p` pixel format
+       * - `yuv422p` pixel format
+       * - `yuv444p` pixel format
+       * - `yuv420p10` 10-bit HDR pixel format
+       * - `yuv422p10` 10-bit HDR pixel format
+       * - `yuv444p10` 10-bit HDR pixel format
+       * - `yuv420p12` 12-bit HDR pixel format
+       * - `yuv422p12` 12-bit HDR pixel format
+       * - `yuv444p12` 12-bit HDR pixel format
        * 
* * string pixel_format = 5; @@ -2569,17 +2569,17 @@ public java.lang.String getPixelFormat() { * * *
-       * Pixel format to use. The default is `"yuv420p"`.
+       * Pixel format to use. The default is `yuv420p`.
        * Supported pixel formats:
-       * - 'yuv420p' pixel format.
-       * - 'yuv422p' pixel format.
-       * - 'yuv444p' pixel format.
-       * - 'yuv420p10' 10-bit HDR pixel format.
-       * - 'yuv422p10' 10-bit HDR pixel format.
-       * - 'yuv444p10' 10-bit HDR pixel format.
-       * - 'yuv420p12' 12-bit HDR pixel format.
-       * - 'yuv422p12' 12-bit HDR pixel format.
-       * - 'yuv444p12' 12-bit HDR pixel format.
+       * - `yuv420p` pixel format
+       * - `yuv422p` pixel format
+       * - `yuv444p` pixel format
+       * - `yuv420p10` 10-bit HDR pixel format
+       * - `yuv422p10` 10-bit HDR pixel format
+       * - `yuv444p10` 10-bit HDR pixel format
+       * - `yuv420p12` 12-bit HDR pixel format
+       * - `yuv422p12` 12-bit HDR pixel format
+       * - `yuv444p12` 12-bit HDR pixel format
        * 
* * string pixel_format = 5; @@ -2601,17 +2601,17 @@ public com.google.protobuf.ByteString getPixelFormatBytes() { * * *
-       * Pixel format to use. The default is `"yuv420p"`.
+       * Pixel format to use. The default is `yuv420p`.
        * Supported pixel formats:
-       * - 'yuv420p' pixel format.
-       * - 'yuv422p' pixel format.
-       * - 'yuv444p' pixel format.
-       * - 'yuv420p10' 10-bit HDR pixel format.
-       * - 'yuv422p10' 10-bit HDR pixel format.
-       * - 'yuv444p10' 10-bit HDR pixel format.
-       * - 'yuv420p12' 12-bit HDR pixel format.
-       * - 'yuv422p12' 12-bit HDR pixel format.
-       * - 'yuv444p12' 12-bit HDR pixel format.
+       * - `yuv420p` pixel format
+       * - `yuv422p` pixel format
+       * - `yuv444p` pixel format
+       * - `yuv420p10` 10-bit HDR pixel format
+       * - `yuv422p10` 10-bit HDR pixel format
+       * - `yuv444p10` 10-bit HDR pixel format
+       * - `yuv420p12` 12-bit HDR pixel format
+       * - `yuv422p12` 12-bit HDR pixel format
+       * - `yuv444p12` 12-bit HDR pixel format
        * 
* * string pixel_format = 5; @@ -2632,17 +2632,17 @@ public Builder setPixelFormat(java.lang.String value) { * * *
-       * Pixel format to use. The default is `"yuv420p"`.
+       * Pixel format to use. The default is `yuv420p`.
        * Supported pixel formats:
-       * - 'yuv420p' pixel format.
-       * - 'yuv422p' pixel format.
-       * - 'yuv444p' pixel format.
-       * - 'yuv420p10' 10-bit HDR pixel format.
-       * - 'yuv422p10' 10-bit HDR pixel format.
-       * - 'yuv444p10' 10-bit HDR pixel format.
-       * - 'yuv420p12' 12-bit HDR pixel format.
-       * - 'yuv422p12' 12-bit HDR pixel format.
-       * - 'yuv444p12' 12-bit HDR pixel format.
+       * - `yuv420p` pixel format
+       * - `yuv422p` pixel format
+       * - `yuv444p` pixel format
+       * - `yuv420p10` 10-bit HDR pixel format
+       * - `yuv422p10` 10-bit HDR pixel format
+       * - `yuv444p10` 10-bit HDR pixel format
+       * - `yuv420p12` 12-bit HDR pixel format
+       * - `yuv422p12` 12-bit HDR pixel format
+       * - `yuv444p12` 12-bit HDR pixel format
        * 
* * string pixel_format = 5; @@ -2659,17 +2659,17 @@ public Builder clearPixelFormat() { * * *
-       * Pixel format to use. The default is `"yuv420p"`.
+       * Pixel format to use. The default is `yuv420p`.
        * Supported pixel formats:
-       * - 'yuv420p' pixel format.
-       * - 'yuv422p' pixel format.
-       * - 'yuv444p' pixel format.
-       * - 'yuv420p10' 10-bit HDR pixel format.
-       * - 'yuv422p10' 10-bit HDR pixel format.
-       * - 'yuv444p10' 10-bit HDR pixel format.
-       * - 'yuv420p12' 12-bit HDR pixel format.
-       * - 'yuv422p12' 12-bit HDR pixel format.
-       * - 'yuv444p12' 12-bit HDR pixel format.
+       * - `yuv420p` pixel format
+       * - `yuv422p` pixel format
+       * - `yuv444p` pixel format
+       * - `yuv420p10` 10-bit HDR pixel format
+       * - `yuv422p10` 10-bit HDR pixel format
+       * - `yuv444p10` 10-bit HDR pixel format
+       * - `yuv420p12` 12-bit HDR pixel format
+       * - `yuv422p12` 12-bit HDR pixel format
+       * - `yuv444p12` 12-bit HDR pixel format
        * 
* * string pixel_format = 5; @@ -2693,10 +2693,10 @@ public Builder setPixelFormatBytes(com.google.protobuf.ByteString value) { * * *
-       * Specify the `rate_control_mode`. The default is `"vbr"`.
+       * Specify the `rate_control_mode`. The default is `vbr`.
        * Supported rate control modes:
-       * - 'vbr' - variable bitrate
-       * - 'crf' - constant rate factor
+       * - `vbr` - variable bitrate
+       * - `crf` - constant rate factor
        * 
* * string rate_control_mode = 6; @@ -2718,10 +2718,10 @@ public java.lang.String getRateControlMode() { * * *
-       * Specify the `rate_control_mode`. The default is `"vbr"`.
+       * Specify the `rate_control_mode`. The default is `vbr`.
        * Supported rate control modes:
-       * - 'vbr' - variable bitrate
-       * - 'crf' - constant rate factor
+       * - `vbr` - variable bitrate
+       * - `crf` - constant rate factor
        * 
* * string rate_control_mode = 6; @@ -2743,10 +2743,10 @@ public com.google.protobuf.ByteString getRateControlModeBytes() { * * *
-       * Specify the `rate_control_mode`. The default is `"vbr"`.
+       * Specify the `rate_control_mode`. The default is `vbr`.
        * Supported rate control modes:
-       * - 'vbr' - variable bitrate
-       * - 'crf' - constant rate factor
+       * - `vbr` - variable bitrate
+       * - `crf` - constant rate factor
        * 
* * string rate_control_mode = 6; @@ -2767,10 +2767,10 @@ public Builder setRateControlMode(java.lang.String value) { * * *
-       * Specify the `rate_control_mode`. The default is `"vbr"`.
+       * Specify the `rate_control_mode`. The default is `vbr`.
        * Supported rate control modes:
-       * - 'vbr' - variable bitrate
-       * - 'crf' - constant rate factor
+       * - `vbr` - variable bitrate
+       * - `crf` - constant rate factor
        * 
* * string rate_control_mode = 6; @@ -2787,10 +2787,10 @@ public Builder clearRateControlMode() { * * *
-       * Specify the `rate_control_mode`. The default is `"vbr"`.
+       * Specify the `rate_control_mode`. The default is `vbr`.
        * Supported rate control modes:
-       * - 'vbr' - variable bitrate
-       * - 'crf' - constant rate factor
+       * - `vbr` - variable bitrate
+       * - `crf` - constant rate factor
        * 
* * string rate_control_mode = 6; @@ -3002,7 +3002,7 @@ public Builder clearGopFrameCount() { * *
        * Select the GOP size based on the specified duration. The default is
-       * `"3s"`. Note that `gopDuration` must be less than or equal to
+       * `3s`. Note that `gopDuration` must be less than or equal to
        * [`segmentDuration`](#SegmentSettings), and
        * [`segmentDuration`](#SegmentSettings) must be divisible by
        * `gopDuration`.
@@ -3021,7 +3021,7 @@ public boolean hasGopDuration() {
        *
        * 
        * Select the GOP size based on the specified duration. The default is
-       * `"3s"`. Note that `gopDuration` must be less than or equal to
+       * `3s`. Note that `gopDuration` must be less than or equal to
        * [`segmentDuration`](#SegmentSettings), and
        * [`segmentDuration`](#SegmentSettings) must be divisible by
        * `gopDuration`.
@@ -3050,7 +3050,7 @@ public com.google.protobuf.Duration getGopDuration() {
        *
        * 
        * Select the GOP size based on the specified duration. The default is
-       * `"3s"`. Note that `gopDuration` must be less than or equal to
+       * `3s`. Note that `gopDuration` must be less than or equal to
        * [`segmentDuration`](#SegmentSettings), and
        * [`segmentDuration`](#SegmentSettings) must be divisible by
        * `gopDuration`.
@@ -3076,7 +3076,7 @@ public Builder setGopDuration(com.google.protobuf.Duration value) {
        *
        * 
        * Select the GOP size based on the specified duration. The default is
-       * `"3s"`. Note that `gopDuration` must be less than or equal to
+       * `3s`. Note that `gopDuration` must be less than or equal to
        * [`segmentDuration`](#SegmentSettings), and
        * [`segmentDuration`](#SegmentSettings) must be divisible by
        * `gopDuration`.
@@ -3099,7 +3099,7 @@ public Builder setGopDuration(com.google.protobuf.Duration.Builder builderForVal
        *
        * 
        * Select the GOP size based on the specified duration. The default is
-       * `"3s"`. Note that `gopDuration` must be less than or equal to
+       * `3s`. Note that `gopDuration` must be less than or equal to
        * [`segmentDuration`](#SegmentSettings), and
        * [`segmentDuration`](#SegmentSettings) must be divisible by
        * `gopDuration`.
@@ -3132,7 +3132,7 @@ public Builder mergeGopDuration(com.google.protobuf.Duration value) {
        *
        * 
        * Select the GOP size based on the specified duration. The default is
-       * `"3s"`. Note that `gopDuration` must be less than or equal to
+       * `3s`. Note that `gopDuration` must be less than or equal to
        * [`segmentDuration`](#SegmentSettings), and
        * [`segmentDuration`](#SegmentSettings) must be divisible by
        * `gopDuration`.
@@ -3161,7 +3161,7 @@ public Builder clearGopDuration() {
        *
        * 
        * Select the GOP size based on the specified duration. The default is
-       * `"3s"`. Note that `gopDuration` must be less than or equal to
+       * `3s`. Note that `gopDuration` must be less than or equal to
        * [`segmentDuration`](#SegmentSettings), and
        * [`segmentDuration`](#SegmentSettings) must be divisible by
        * `gopDuration`.
@@ -3177,7 +3177,7 @@ public com.google.protobuf.Duration.Builder getGopDurationBuilder() {
        *
        * 
        * Select the GOP size based on the specified duration. The default is
-       * `"3s"`. Note that `gopDuration` must be less than or equal to
+       * `3s`. Note that `gopDuration` must be less than or equal to
        * [`segmentDuration`](#SegmentSettings), and
        * [`segmentDuration`](#SegmentSettings) must be divisible by
        * `gopDuration`.
@@ -3201,7 +3201,7 @@ public com.google.protobuf.DurationOrBuilder getGopDurationOrBuilder() {
        *
        * 
        * Select the GOP size based on the specified duration. The default is
-       * `"3s"`. Note that `gopDuration` must be less than or equal to
+       * `3s`. Note that `gopDuration` must be less than or equal to
        * [`segmentDuration`](#SegmentSettings), and
        * [`segmentDuration`](#SegmentSettings) must be divisible by
        * `gopDuration`.
@@ -3238,7 +3238,7 @@ public com.google.protobuf.DurationOrBuilder getGopDurationOrBuilder() {
        *
        * 
        * Use two-pass encoding strategy to achieve better video quality.
-       * `VideoStream.rate_control_mode` must be `"vbr"`. The default is `false`.
+       * `VideoStream.rate_control_mode` must be `vbr`. The default is `false`.
        * 
* * bool enable_two_pass = 11; @@ -3254,7 +3254,7 @@ public boolean getEnableTwoPass() { * *
        * Use two-pass encoding strategy to achieve better video quality.
-       * `VideoStream.rate_control_mode` must be `"vbr"`. The default is `false`.
+       * `VideoStream.rate_control_mode` must be `vbr`. The default is `false`.
        * 
* * bool enable_two_pass = 11; @@ -3273,7 +3273,7 @@ public Builder setEnableTwoPass(boolean value) { * *
        * Use two-pass encoding strategy to achieve better video quality.
-       * `VideoStream.rate_control_mode` must be `"vbr"`. The default is `false`.
+       * `VideoStream.rate_control_mode` must be `vbr`. The default is `false`.
        * 
* * bool enable_two_pass = 11; @@ -3405,10 +3405,10 @@ public Builder clearVbvFullnessBits() { * * *
-       * The entropy coder to use. The default is `"cabac"`.
+       * The entropy coder to use. The default is `cabac`.
        * Supported entropy coders:
-       * - 'cavlc'
-       * - 'cabac'
+       * - `cavlc`
+       * - `cabac`
        * 
* * string entropy_coder = 14; @@ -3430,10 +3430,10 @@ public java.lang.String getEntropyCoder() { * * *
-       * The entropy coder to use. The default is `"cabac"`.
+       * The entropy coder to use. The default is `cabac`.
        * Supported entropy coders:
-       * - 'cavlc'
-       * - 'cabac'
+       * - `cavlc`
+       * - `cabac`
        * 
* * string entropy_coder = 14; @@ -3455,10 +3455,10 @@ public com.google.protobuf.ByteString getEntropyCoderBytes() { * * *
-       * The entropy coder to use. The default is `"cabac"`.
+       * The entropy coder to use. The default is `cabac`.
        * Supported entropy coders:
-       * - 'cavlc'
-       * - 'cabac'
+       * - `cavlc`
+       * - `cabac`
        * 
* * string entropy_coder = 14; @@ -3479,10 +3479,10 @@ public Builder setEntropyCoder(java.lang.String value) { * * *
-       * The entropy coder to use. The default is `"cabac"`.
+       * The entropy coder to use. The default is `cabac`.
        * Supported entropy coders:
-       * - 'cavlc'
-       * - 'cabac'
+       * - `cavlc`
+       * - `cabac`
        * 
* * string entropy_coder = 14; @@ -3499,10 +3499,10 @@ public Builder clearEntropyCoder() { * * *
-       * The entropy coder to use. The default is `"cabac"`.
+       * The entropy coder to use. The default is `cabac`.
        * Supported entropy coders:
-       * - 'cavlc'
-       * - 'cabac'
+       * - `cavlc`
+       * - `cabac`
        * 
* * string entropy_coder = 14; @@ -3703,8 +3703,8 @@ public Builder clearAqStrength() { * * `main` * * `high` (default) * The available options are - * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.264#Profile){: - * class="external" }. Note that certain values for this field may cause the + * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.264#Tune). + * Note that certain values for this field may cause the * transcoder to override other fields you set in the `H264CodecSettings` * message. *
@@ -3734,8 +3734,8 @@ public java.lang.String getProfile() { * * `main` * * `high` (default) * The available options are - * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.264#Profile){: - * class="external" }. Note that certain values for this field may cause the + * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.264#Tune). + * Note that certain values for this field may cause the * transcoder to override other fields you set in the `H264CodecSettings` * message. *
@@ -3765,8 +3765,8 @@ public com.google.protobuf.ByteString getProfileBytes() { * * `main` * * `high` (default) * The available options are - * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.264#Profile){: - * class="external" }. Note that certain values for this field may cause the + * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.264#Tune). + * Note that certain values for this field may cause the * transcoder to override other fields you set in the `H264CodecSettings` * message. *
@@ -3795,8 +3795,8 @@ public Builder setProfile(java.lang.String value) { * * `main` * * `high` (default) * The available options are - * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.264#Profile){: - * class="external" }. Note that certain values for this field may cause the + * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.264#Tune). + * Note that certain values for this field may cause the * transcoder to override other fields you set in the `H264CodecSettings` * message. *
@@ -3821,8 +3821,8 @@ public Builder clearProfile() { * * `main` * * `high` (default) * The available options are - * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.264#Profile){: - * class="external" }. Note that certain values for this field may cause the + * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.264#Tune). + * Note that certain values for this field may cause the * transcoder to override other fields you set in the `H264CodecSettings` * message. *
@@ -3849,8 +3849,8 @@ public Builder setProfileBytes(com.google.protobuf.ByteString value) { * *
        * Enforces the specified codec tune. The available options are
-       * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.264#Tune){:
-       * class="external" }. Note that certain values for this field may cause the
+       * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.264#Tune).
+       * Note that certain values for this field may cause the
        * transcoder to override other fields you set in the `H264CodecSettings`
        * message.
        * 
@@ -3875,8 +3875,8 @@ public java.lang.String getTune() { * *
        * Enforces the specified codec tune. The available options are
-       * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.264#Tune){:
-       * class="external" }. Note that certain values for this field may cause the
+       * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.264#Tune).
+       * Note that certain values for this field may cause the
        * transcoder to override other fields you set in the `H264CodecSettings`
        * message.
        * 
@@ -3901,8 +3901,8 @@ public com.google.protobuf.ByteString getTuneBytes() { * *
        * Enforces the specified codec tune. The available options are
-       * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.264#Tune){:
-       * class="external" }. Note that certain values for this field may cause the
+       * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.264#Tune).
+       * Note that certain values for this field may cause the
        * transcoder to override other fields you set in the `H264CodecSettings`
        * message.
        * 
@@ -3926,8 +3926,8 @@ public Builder setTune(java.lang.String value) { * *
        * Enforces the specified codec tune. The available options are
-       * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.264#Tune){:
-       * class="external" }. Note that certain values for this field may cause the
+       * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.264#Tune).
+       * Note that certain values for this field may cause the
        * transcoder to override other fields you set in the `H264CodecSettings`
        * message.
        * 
@@ -3947,8 +3947,8 @@ public Builder clearTune() { * *
        * Enforces the specified codec tune. The available options are
-       * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.264#Tune){:
-       * class="external" }. Note that certain values for this field may cause the
+       * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.264#Tune).
+       * Note that certain values for this field may cause the
        * transcoder to override other fields you set in the `H264CodecSettings`
        * message.
        * 
@@ -3976,8 +3976,8 @@ public Builder setTuneBytes(com.google.protobuf.ByteString value) { *
        * Enforces the specified codec preset. The default is `veryfast`. The
        * available options are
-       * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.264#Preset){:
-       * class="external" }. Note that certain values for this field may cause the
+       * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.264#Preset).
+       * Note that certain values for this field may cause the
        * transcoder to override other fields you set in the `H264CodecSettings`
        * message.
        * 
@@ -4003,8 +4003,8 @@ public java.lang.String getPreset() { *
        * Enforces the specified codec preset. The default is `veryfast`. The
        * available options are
-       * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.264#Preset){:
-       * class="external" }. Note that certain values for this field may cause the
+       * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.264#Preset).
+       * Note that certain values for this field may cause the
        * transcoder to override other fields you set in the `H264CodecSettings`
        * message.
        * 
@@ -4030,8 +4030,8 @@ public com.google.protobuf.ByteString getPresetBytes() { *
        * Enforces the specified codec preset. The default is `veryfast`. The
        * available options are
-       * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.264#Preset){:
-       * class="external" }. Note that certain values for this field may cause the
+       * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.264#Preset).
+       * Note that certain values for this field may cause the
        * transcoder to override other fields you set in the `H264CodecSettings`
        * message.
        * 
@@ -4056,8 +4056,8 @@ public Builder setPreset(java.lang.String value) { *
        * Enforces the specified codec preset. The default is `veryfast`. The
        * available options are
-       * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.264#Preset){:
-       * class="external" }. Note that certain values for this field may cause the
+       * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.264#Preset).
+       * Note that certain values for this field may cause the
        * transcoder to override other fields you set in the `H264CodecSettings`
        * message.
        * 
@@ -4078,8 +4078,8 @@ public Builder clearPreset() { *
        * Enforces the specified codec preset. The default is `veryfast`. The
        * available options are
-       * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.264#Preset){:
-       * class="external" }. Note that certain values for this field may cause the
+       * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.264#Preset).
+       * Note that certain values for this field may cause the
        * transcoder to override other fields you set in the `H264CodecSettings`
        * message.
        * 
@@ -4213,8 +4213,8 @@ public interface H265CodecSettingsOrBuilder * * *
-     * Required. The video bitrate in bits per second. Must be between 1 and
-     * 1,000,000,000.
+     * Required. The video bitrate in bits per second. The minimum value is 1,000.
+     * The maximum value is 800,000,000.
      * 
* * int32 bitrate_bps = 4 [(.google.api.field_behavior) = REQUIRED]; @@ -4227,17 +4227,17 @@ public interface H265CodecSettingsOrBuilder * * *
-     * Pixel format to use. The default is `"yuv420p"`.
+     * Pixel format to use. The default is `yuv420p`.
      * Supported pixel formats:
-     * - 'yuv420p' pixel format.
-     * - 'yuv422p' pixel format.
-     * - 'yuv444p' pixel format.
-     * - 'yuv420p10' 10-bit HDR pixel format.
-     * - 'yuv422p10' 10-bit HDR pixel format.
-     * - 'yuv444p10' 10-bit HDR pixel format.
-     * - 'yuv420p12' 12-bit HDR pixel format.
-     * - 'yuv422p12' 12-bit HDR pixel format.
-     * - 'yuv444p12' 12-bit HDR pixel format.
+     * - `yuv420p` pixel format
+     * - `yuv422p` pixel format
+     * - `yuv444p` pixel format
+     * - `yuv420p10` 10-bit HDR pixel format
+     * - `yuv422p10` 10-bit HDR pixel format
+     * - `yuv444p10` 10-bit HDR pixel format
+     * - `yuv420p12` 12-bit HDR pixel format
+     * - `yuv422p12` 12-bit HDR pixel format
+     * - `yuv444p12` 12-bit HDR pixel format
      * 
* * string pixel_format = 5; @@ -4249,17 +4249,17 @@ public interface H265CodecSettingsOrBuilder * * *
-     * Pixel format to use. The default is `"yuv420p"`.
+     * Pixel format to use. The default is `yuv420p`.
      * Supported pixel formats:
-     * - 'yuv420p' pixel format.
-     * - 'yuv422p' pixel format.
-     * - 'yuv444p' pixel format.
-     * - 'yuv420p10' 10-bit HDR pixel format.
-     * - 'yuv422p10' 10-bit HDR pixel format.
-     * - 'yuv444p10' 10-bit HDR pixel format.
-     * - 'yuv420p12' 12-bit HDR pixel format.
-     * - 'yuv422p12' 12-bit HDR pixel format.
-     * - 'yuv444p12' 12-bit HDR pixel format.
+     * - `yuv420p` pixel format
+     * - `yuv422p` pixel format
+     * - `yuv444p` pixel format
+     * - `yuv420p10` 10-bit HDR pixel format
+     * - `yuv422p10` 10-bit HDR pixel format
+     * - `yuv444p10` 10-bit HDR pixel format
+     * - `yuv420p12` 12-bit HDR pixel format
+     * - `yuv422p12` 12-bit HDR pixel format
+     * - `yuv444p12` 12-bit HDR pixel format
      * 
* * string pixel_format = 5; @@ -4272,10 +4272,10 @@ public interface H265CodecSettingsOrBuilder * * *
-     * Specify the `rate_control_mode`. The default is `"vbr"`.
+     * Specify the `rate_control_mode`. The default is `vbr`.
      * Supported rate control modes:
-     * - 'vbr' - variable bitrate
-     * - 'crf' - constant rate factor
+     * - `vbr` - variable bitrate
+     * - `crf` - constant rate factor
      * 
* * string rate_control_mode = 6; @@ -4287,10 +4287,10 @@ public interface H265CodecSettingsOrBuilder * * *
-     * Specify the `rate_control_mode`. The default is `"vbr"`.
+     * Specify the `rate_control_mode`. The default is `vbr`.
      * Supported rate control modes:
-     * - 'vbr' - variable bitrate
-     * - 'crf' - constant rate factor
+     * - `vbr` - variable bitrate
+     * - `crf` - constant rate factor
      * 
* * string rate_control_mode = 6; @@ -4359,7 +4359,7 @@ public interface H265CodecSettingsOrBuilder * *
      * Select the GOP size based on the specified duration. The default is
-     * `"3s"`. Note that `gopDuration` must be less than or equal to
+     * `3s`. Note that `gopDuration` must be less than or equal to
      * [`segmentDuration`](#SegmentSettings), and
      * [`segmentDuration`](#SegmentSettings) must be divisible by
      * `gopDuration`.
@@ -4375,7 +4375,7 @@ public interface H265CodecSettingsOrBuilder
      *
      * 
      * Select the GOP size based on the specified duration. The default is
-     * `"3s"`. Note that `gopDuration` must be less than or equal to
+     * `3s`. Note that `gopDuration` must be less than or equal to
      * [`segmentDuration`](#SegmentSettings), and
      * [`segmentDuration`](#SegmentSettings) must be divisible by
      * `gopDuration`.
@@ -4391,7 +4391,7 @@ public interface H265CodecSettingsOrBuilder
      *
      * 
      * Select the GOP size based on the specified duration. The default is
-     * `"3s"`. Note that `gopDuration` must be less than or equal to
+     * `3s`. Note that `gopDuration` must be less than or equal to
      * [`segmentDuration`](#SegmentSettings), and
      * [`segmentDuration`](#SegmentSettings) must be divisible by
      * `gopDuration`.
@@ -4406,7 +4406,7 @@ public interface H265CodecSettingsOrBuilder
      *
      * 
      * Use two-pass encoding strategy to achieve better video quality.
-     * `VideoStream.rate_control_mode` must be `"vbr"`. The default is `false`.
+     * `VideoStream.rate_control_mode` must be `vbr`. The default is `false`.
      * 
* * bool enable_two_pass = 11; @@ -4494,27 +4494,27 @@ public interface H265CodecSettingsOrBuilder *
      * Enforces the specified codec profile. The following profiles are
      * supported:
-     * 8bit profiles
-     * *   `main` (default)
-     * *   `main-intra`
-     * *   `mainstillpicture`
-     * 10bit profiles
-     * *   `main10` (default)
-     * *   `main10-intra`
-     * *   `main422-10`
-     * *   `main422-10-intra`
-     * *   `main444-10`
-     * *   `main444-10-intra`
-     * 12bit profiles
-     * *   `main12` (default)
-     * *   `main12-intra`
-     * *   `main422-12`
-     * *   `main422-12-intra`
-     * *   `main444-12`
-     * *   `main444-12-intra`
+     * *   8-bit profiles
+     *     *   `main` (default)
+     *     *   `main-intra`
+     *     *   `mainstillpicture`
+     * *   10-bit profiles
+     *     *   `main10` (default)
+     *     *   `main10-intra`
+     *     *   `main422-10`
+     *     *   `main422-10-intra`
+     *     *   `main444-10`
+     *     *   `main444-10-intra`
+     * *   12-bit profiles
+     *     *   `main12` (default)
+     *     *   `main12-intra`
+     *     *   `main422-12`
+     *     *   `main422-12-intra`
+     *     *   `main444-12`
+     *     *   `main444-12-intra`
      * The available options are
-     * [FFmpeg-compatible](https://x265.readthedocs.io/){:
-     * class="external" }. Note that certain values for this field may cause the
+     * [FFmpeg-compatible](https://x265.readthedocs.io/).
+     * Note that certain values for this field may cause the
      * transcoder to override other fields you set in the `H265CodecSettings`
      * message.
      * 
@@ -4530,27 +4530,27 @@ public interface H265CodecSettingsOrBuilder *
      * Enforces the specified codec profile. The following profiles are
      * supported:
-     * 8bit profiles
-     * *   `main` (default)
-     * *   `main-intra`
-     * *   `mainstillpicture`
-     * 10bit profiles
-     * *   `main10` (default)
-     * *   `main10-intra`
-     * *   `main422-10`
-     * *   `main422-10-intra`
-     * *   `main444-10`
-     * *   `main444-10-intra`
-     * 12bit profiles
-     * *   `main12` (default)
-     * *   `main12-intra`
-     * *   `main422-12`
-     * *   `main422-12-intra`
-     * *   `main444-12`
-     * *   `main444-12-intra`
+     * *   8-bit profiles
+     *     *   `main` (default)
+     *     *   `main-intra`
+     *     *   `mainstillpicture`
+     * *   10-bit profiles
+     *     *   `main10` (default)
+     *     *   `main10-intra`
+     *     *   `main422-10`
+     *     *   `main422-10-intra`
+     *     *   `main444-10`
+     *     *   `main444-10-intra`
+     * *   12-bit profiles
+     *     *   `main12` (default)
+     *     *   `main12-intra`
+     *     *   `main422-12`
+     *     *   `main422-12-intra`
+     *     *   `main444-12`
+     *     *   `main444-12-intra`
      * The available options are
-     * [FFmpeg-compatible](https://x265.readthedocs.io/){:
-     * class="external" }. Note that certain values for this field may cause the
+     * [FFmpeg-compatible](https://x265.readthedocs.io/).
+     * Note that certain values for this field may cause the
      * transcoder to override other fields you set in the `H265CodecSettings`
      * message.
      * 
@@ -4566,8 +4566,8 @@ public interface H265CodecSettingsOrBuilder * *
      * Enforces the specified codec tune. The available options are
-     * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.265){:
-     * class="external" }. Note that certain values for this field may cause the
+     * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.265).
+     * Note that certain values for this field may cause the
      * transcoder to override other fields you set in the `H265CodecSettings`
      * message.
      * 
@@ -4582,8 +4582,8 @@ public interface H265CodecSettingsOrBuilder * *
      * Enforces the specified codec tune. The available options are
-     * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.265){:
-     * class="external" }. Note that certain values for this field may cause the
+     * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.265).
+     * Note that certain values for this field may cause the
      * transcoder to override other fields you set in the `H265CodecSettings`
      * message.
      * 
@@ -4600,8 +4600,8 @@ public interface H265CodecSettingsOrBuilder *
      * Enforces the specified codec preset. The default is `veryfast`. The
      * available options are
-     * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.265){:
-     * class="external" }. Note that certain values for this field may cause the
+     * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.265).
+     * Note that certain values for this field may cause the
      * transcoder to override other fields you set in the `H265CodecSettings`
      * message.
      * 
@@ -4617,8 +4617,8 @@ public interface H265CodecSettingsOrBuilder *
      * Enforces the specified codec preset. The default is `veryfast`. The
      * available options are
-     * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.265){:
-     * class="external" }. Note that certain values for this field may cause the
+     * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.265).
+     * Note that certain values for this field may cause the
      * transcoder to override other fields you set in the `H265CodecSettings`
      * message.
      * 
@@ -4955,8 +4955,8 @@ public double getFrameRate() { * * *
-     * Required. The video bitrate in bits per second. Must be between 1 and
-     * 1,000,000,000.
+     * Required. The video bitrate in bits per second. The minimum value is 1,000.
+     * The maximum value is 800,000,000.
      * 
* * int32 bitrate_bps = 4 [(.google.api.field_behavior) = REQUIRED]; @@ -4974,17 +4974,17 @@ public int getBitrateBps() { * * *
-     * Pixel format to use. The default is `"yuv420p"`.
+     * Pixel format to use. The default is `yuv420p`.
      * Supported pixel formats:
-     * - 'yuv420p' pixel format.
-     * - 'yuv422p' pixel format.
-     * - 'yuv444p' pixel format.
-     * - 'yuv420p10' 10-bit HDR pixel format.
-     * - 'yuv422p10' 10-bit HDR pixel format.
-     * - 'yuv444p10' 10-bit HDR pixel format.
-     * - 'yuv420p12' 12-bit HDR pixel format.
-     * - 'yuv422p12' 12-bit HDR pixel format.
-     * - 'yuv444p12' 12-bit HDR pixel format.
+     * - `yuv420p` pixel format
+     * - `yuv422p` pixel format
+     * - `yuv444p` pixel format
+     * - `yuv420p10` 10-bit HDR pixel format
+     * - `yuv422p10` 10-bit HDR pixel format
+     * - `yuv444p10` 10-bit HDR pixel format
+     * - `yuv420p12` 12-bit HDR pixel format
+     * - `yuv422p12` 12-bit HDR pixel format
+     * - `yuv444p12` 12-bit HDR pixel format
      * 
* * string pixel_format = 5; @@ -5007,17 +5007,17 @@ public java.lang.String getPixelFormat() { * * *
-     * Pixel format to use. The default is `"yuv420p"`.
+     * Pixel format to use. The default is `yuv420p`.
      * Supported pixel formats:
-     * - 'yuv420p' pixel format.
-     * - 'yuv422p' pixel format.
-     * - 'yuv444p' pixel format.
-     * - 'yuv420p10' 10-bit HDR pixel format.
-     * - 'yuv422p10' 10-bit HDR pixel format.
-     * - 'yuv444p10' 10-bit HDR pixel format.
-     * - 'yuv420p12' 12-bit HDR pixel format.
-     * - 'yuv422p12' 12-bit HDR pixel format.
-     * - 'yuv444p12' 12-bit HDR pixel format.
+     * - `yuv420p` pixel format
+     * - `yuv422p` pixel format
+     * - `yuv444p` pixel format
+     * - `yuv420p10` 10-bit HDR pixel format
+     * - `yuv422p10` 10-bit HDR pixel format
+     * - `yuv444p10` 10-bit HDR pixel format
+     * - `yuv420p12` 12-bit HDR pixel format
+     * - `yuv422p12` 12-bit HDR pixel format
+     * - `yuv444p12` 12-bit HDR pixel format
      * 
* * string pixel_format = 5; @@ -5043,10 +5043,10 @@ public com.google.protobuf.ByteString getPixelFormatBytes() { * * *
-     * Specify the `rate_control_mode`. The default is `"vbr"`.
+     * Specify the `rate_control_mode`. The default is `vbr`.
      * Supported rate control modes:
-     * - 'vbr' - variable bitrate
-     * - 'crf' - constant rate factor
+     * - `vbr` - variable bitrate
+     * - `crf` - constant rate factor
      * 
* * string rate_control_mode = 6; @@ -5069,10 +5069,10 @@ public java.lang.String getRateControlMode() { * * *
-     * Specify the `rate_control_mode`. The default is `"vbr"`.
+     * Specify the `rate_control_mode`. The default is `vbr`.
      * Supported rate control modes:
-     * - 'vbr' - variable bitrate
-     * - 'crf' - constant rate factor
+     * - `vbr` - variable bitrate
+     * - `crf` - constant rate factor
      * 
* * string rate_control_mode = 6; @@ -5173,7 +5173,7 @@ public int getGopFrameCount() { * *
      * Select the GOP size based on the specified duration. The default is
-     * `"3s"`. Note that `gopDuration` must be less than or equal to
+     * `3s`. Note that `gopDuration` must be less than or equal to
      * [`segmentDuration`](#SegmentSettings), and
      * [`segmentDuration`](#SegmentSettings) must be divisible by
      * `gopDuration`.
@@ -5192,7 +5192,7 @@ public boolean hasGopDuration() {
      *
      * 
      * Select the GOP size based on the specified duration. The default is
-     * `"3s"`. Note that `gopDuration` must be less than or equal to
+     * `3s`. Note that `gopDuration` must be less than or equal to
      * [`segmentDuration`](#SegmentSettings), and
      * [`segmentDuration`](#SegmentSettings) must be divisible by
      * `gopDuration`.
@@ -5214,7 +5214,7 @@ public com.google.protobuf.Duration getGopDuration() {
      *
      * 
      * Select the GOP size based on the specified duration. The default is
-     * `"3s"`. Note that `gopDuration` must be less than or equal to
+     * `3s`. Note that `gopDuration` must be less than or equal to
      * [`segmentDuration`](#SegmentSettings), and
      * [`segmentDuration`](#SegmentSettings) must be divisible by
      * `gopDuration`.
@@ -5237,7 +5237,7 @@ public com.google.protobuf.DurationOrBuilder getGopDurationOrBuilder() {
      *
      * 
      * Use two-pass encoding strategy to achieve better video quality.
-     * `VideoStream.rate_control_mode` must be `"vbr"`. The default is `false`.
+     * `VideoStream.rate_control_mode` must be `vbr`. The default is `false`.
      * 
* * bool enable_two_pass = 11; @@ -5355,27 +5355,27 @@ public double getAqStrength() { *
      * Enforces the specified codec profile. The following profiles are
      * supported:
-     * 8bit profiles
-     * *   `main` (default)
-     * *   `main-intra`
-     * *   `mainstillpicture`
-     * 10bit profiles
-     * *   `main10` (default)
-     * *   `main10-intra`
-     * *   `main422-10`
-     * *   `main422-10-intra`
-     * *   `main444-10`
-     * *   `main444-10-intra`
-     * 12bit profiles
-     * *   `main12` (default)
-     * *   `main12-intra`
-     * *   `main422-12`
-     * *   `main422-12-intra`
-     * *   `main444-12`
-     * *   `main444-12-intra`
+     * *   8-bit profiles
+     *     *   `main` (default)
+     *     *   `main-intra`
+     *     *   `mainstillpicture`
+     * *   10-bit profiles
+     *     *   `main10` (default)
+     *     *   `main10-intra`
+     *     *   `main422-10`
+     *     *   `main422-10-intra`
+     *     *   `main444-10`
+     *     *   `main444-10-intra`
+     * *   12-bit profiles
+     *     *   `main12` (default)
+     *     *   `main12-intra`
+     *     *   `main422-12`
+     *     *   `main422-12-intra`
+     *     *   `main444-12`
+     *     *   `main444-12-intra`
      * The available options are
-     * [FFmpeg-compatible](https://x265.readthedocs.io/){:
-     * class="external" }. Note that certain values for this field may cause the
+     * [FFmpeg-compatible](https://x265.readthedocs.io/).
+     * Note that certain values for this field may cause the
      * transcoder to override other fields you set in the `H265CodecSettings`
      * message.
      * 
@@ -5402,27 +5402,27 @@ public java.lang.String getProfile() { *
      * Enforces the specified codec profile. The following profiles are
      * supported:
-     * 8bit profiles
-     * *   `main` (default)
-     * *   `main-intra`
-     * *   `mainstillpicture`
-     * 10bit profiles
-     * *   `main10` (default)
-     * *   `main10-intra`
-     * *   `main422-10`
-     * *   `main422-10-intra`
-     * *   `main444-10`
-     * *   `main444-10-intra`
-     * 12bit profiles
-     * *   `main12` (default)
-     * *   `main12-intra`
-     * *   `main422-12`
-     * *   `main422-12-intra`
-     * *   `main444-12`
-     * *   `main444-12-intra`
+     * *   8-bit profiles
+     *     *   `main` (default)
+     *     *   `main-intra`
+     *     *   `mainstillpicture`
+     * *   10-bit profiles
+     *     *   `main10` (default)
+     *     *   `main10-intra`
+     *     *   `main422-10`
+     *     *   `main422-10-intra`
+     *     *   `main444-10`
+     *     *   `main444-10-intra`
+     * *   12-bit profiles
+     *     *   `main12` (default)
+     *     *   `main12-intra`
+     *     *   `main422-12`
+     *     *   `main422-12-intra`
+     *     *   `main444-12`
+     *     *   `main444-12-intra`
      * The available options are
-     * [FFmpeg-compatible](https://x265.readthedocs.io/){:
-     * class="external" }. Note that certain values for this field may cause the
+     * [FFmpeg-compatible](https://x265.readthedocs.io/).
+     * Note that certain values for this field may cause the
      * transcoder to override other fields you set in the `H265CodecSettings`
      * message.
      * 
@@ -5451,8 +5451,8 @@ public com.google.protobuf.ByteString getProfileBytes() { * *
      * Enforces the specified codec tune. The available options are
-     * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.265){:
-     * class="external" }. Note that certain values for this field may cause the
+     * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.265).
+     * Note that certain values for this field may cause the
      * transcoder to override other fields you set in the `H265CodecSettings`
      * message.
      * 
@@ -5478,8 +5478,8 @@ public java.lang.String getTune() { * *
      * Enforces the specified codec tune. The available options are
-     * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.265){:
-     * class="external" }. Note that certain values for this field may cause the
+     * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.265).
+     * Note that certain values for this field may cause the
      * transcoder to override other fields you set in the `H265CodecSettings`
      * message.
      * 
@@ -5509,8 +5509,8 @@ public com.google.protobuf.ByteString getTuneBytes() { *
      * Enforces the specified codec preset. The default is `veryfast`. The
      * available options are
-     * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.265){:
-     * class="external" }. Note that certain values for this field may cause the
+     * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.265).
+     * Note that certain values for this field may cause the
      * transcoder to override other fields you set in the `H265CodecSettings`
      * message.
      * 
@@ -5537,8 +5537,8 @@ public java.lang.String getPreset() { *
      * Enforces the specified codec preset. The default is `veryfast`. The
      * available options are
-     * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.265){:
-     * class="external" }. Note that certain values for this field may cause the
+     * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.265).
+     * Note that certain values for this field may cause the
      * transcoder to override other fields you set in the `H265CodecSettings`
      * message.
      * 
@@ -5586,10 +5586,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (bitrateBps_ != 0) { output.writeInt32(4, bitrateBps_); } - if (!getPixelFormatBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pixelFormat_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, pixelFormat_); } - if (!getRateControlModeBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(rateControlMode_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, rateControlMode_); } if (crfLevel_ != 0) { @@ -5622,13 +5622,13 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (aqStrength_ != 0D) { output.writeDouble(16, aqStrength_); } - if (!getProfileBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(profile_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 17, profile_); } - if (!getTuneBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tune_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 18, tune_); } - if (!getPresetBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(preset_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 19, preset_); } unknownFields.writeTo(output); @@ -5652,10 +5652,10 @@ public int getSerializedSize() { if (bitrateBps_ != 0) { size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, bitrateBps_); } - if (!getPixelFormatBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pixelFormat_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, pixelFormat_); } - if (!getRateControlModeBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(rateControlMode_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, rateControlMode_); } if (crfLevel_ != 0) { @@ -5692,13 +5692,13 @@ public int getSerializedSize() { if (aqStrength_ != 0D) { size += com.google.protobuf.CodedOutputStream.computeDoubleSize(16, aqStrength_); } - if (!getProfileBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(profile_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(17, profile_); } - if (!getTuneBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tune_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, tune_); } - if (!getPresetBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(preset_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(19, preset_); } size += unknownFields.getSerializedSize(); @@ -6416,8 +6416,8 @@ public Builder clearFrameRate() { * * *
-       * Required. The video bitrate in bits per second. Must be between 1 and
-       * 1,000,000,000.
+       * Required. The video bitrate in bits per second. The minimum value is 1,000.
+       * The maximum value is 800,000,000.
        * 
* * int32 bitrate_bps = 4 [(.google.api.field_behavior) = REQUIRED]; @@ -6432,8 +6432,8 @@ public int getBitrateBps() { * * *
-       * Required. The video bitrate in bits per second. Must be between 1 and
-       * 1,000,000,000.
+       * Required. The video bitrate in bits per second. The minimum value is 1,000.
+       * The maximum value is 800,000,000.
        * 
* * int32 bitrate_bps = 4 [(.google.api.field_behavior) = REQUIRED]; @@ -6451,8 +6451,8 @@ public Builder setBitrateBps(int value) { * * *
-       * Required. The video bitrate in bits per second. Must be between 1 and
-       * 1,000,000,000.
+       * Required. The video bitrate in bits per second. The minimum value is 1,000.
+       * The maximum value is 800,000,000.
        * 
* * int32 bitrate_bps = 4 [(.google.api.field_behavior) = REQUIRED]; @@ -6471,17 +6471,17 @@ public Builder clearBitrateBps() { * * *
-       * Pixel format to use. The default is `"yuv420p"`.
+       * Pixel format to use. The default is `yuv420p`.
        * Supported pixel formats:
-       * - 'yuv420p' pixel format.
-       * - 'yuv422p' pixel format.
-       * - 'yuv444p' pixel format.
-       * - 'yuv420p10' 10-bit HDR pixel format.
-       * - 'yuv422p10' 10-bit HDR pixel format.
-       * - 'yuv444p10' 10-bit HDR pixel format.
-       * - 'yuv420p12' 12-bit HDR pixel format.
-       * - 'yuv422p12' 12-bit HDR pixel format.
-       * - 'yuv444p12' 12-bit HDR pixel format.
+       * - `yuv420p` pixel format
+       * - `yuv422p` pixel format
+       * - `yuv444p` pixel format
+       * - `yuv420p10` 10-bit HDR pixel format
+       * - `yuv422p10` 10-bit HDR pixel format
+       * - `yuv444p10` 10-bit HDR pixel format
+       * - `yuv420p12` 12-bit HDR pixel format
+       * - `yuv422p12` 12-bit HDR pixel format
+       * - `yuv444p12` 12-bit HDR pixel format
        * 
* * string pixel_format = 5; @@ -6503,17 +6503,17 @@ public java.lang.String getPixelFormat() { * * *
-       * Pixel format to use. The default is `"yuv420p"`.
+       * Pixel format to use. The default is `yuv420p`.
        * Supported pixel formats:
-       * - 'yuv420p' pixel format.
-       * - 'yuv422p' pixel format.
-       * - 'yuv444p' pixel format.
-       * - 'yuv420p10' 10-bit HDR pixel format.
-       * - 'yuv422p10' 10-bit HDR pixel format.
-       * - 'yuv444p10' 10-bit HDR pixel format.
-       * - 'yuv420p12' 12-bit HDR pixel format.
-       * - 'yuv422p12' 12-bit HDR pixel format.
-       * - 'yuv444p12' 12-bit HDR pixel format.
+       * - `yuv420p` pixel format
+       * - `yuv422p` pixel format
+       * - `yuv444p` pixel format
+       * - `yuv420p10` 10-bit HDR pixel format
+       * - `yuv422p10` 10-bit HDR pixel format
+       * - `yuv444p10` 10-bit HDR pixel format
+       * - `yuv420p12` 12-bit HDR pixel format
+       * - `yuv422p12` 12-bit HDR pixel format
+       * - `yuv444p12` 12-bit HDR pixel format
        * 
* * string pixel_format = 5; @@ -6535,17 +6535,17 @@ public com.google.protobuf.ByteString getPixelFormatBytes() { * * *
-       * Pixel format to use. The default is `"yuv420p"`.
+       * Pixel format to use. The default is `yuv420p`.
        * Supported pixel formats:
-       * - 'yuv420p' pixel format.
-       * - 'yuv422p' pixel format.
-       * - 'yuv444p' pixel format.
-       * - 'yuv420p10' 10-bit HDR pixel format.
-       * - 'yuv422p10' 10-bit HDR pixel format.
-       * - 'yuv444p10' 10-bit HDR pixel format.
-       * - 'yuv420p12' 12-bit HDR pixel format.
-       * - 'yuv422p12' 12-bit HDR pixel format.
-       * - 'yuv444p12' 12-bit HDR pixel format.
+       * - `yuv420p` pixel format
+       * - `yuv422p` pixel format
+       * - `yuv444p` pixel format
+       * - `yuv420p10` 10-bit HDR pixel format
+       * - `yuv422p10` 10-bit HDR pixel format
+       * - `yuv444p10` 10-bit HDR pixel format
+       * - `yuv420p12` 12-bit HDR pixel format
+       * - `yuv422p12` 12-bit HDR pixel format
+       * - `yuv444p12` 12-bit HDR pixel format
        * 
* * string pixel_format = 5; @@ -6566,17 +6566,17 @@ public Builder setPixelFormat(java.lang.String value) { * * *
-       * Pixel format to use. The default is `"yuv420p"`.
+       * Pixel format to use. The default is `yuv420p`.
        * Supported pixel formats:
-       * - 'yuv420p' pixel format.
-       * - 'yuv422p' pixel format.
-       * - 'yuv444p' pixel format.
-       * - 'yuv420p10' 10-bit HDR pixel format.
-       * - 'yuv422p10' 10-bit HDR pixel format.
-       * - 'yuv444p10' 10-bit HDR pixel format.
-       * - 'yuv420p12' 12-bit HDR pixel format.
-       * - 'yuv422p12' 12-bit HDR pixel format.
-       * - 'yuv444p12' 12-bit HDR pixel format.
+       * - `yuv420p` pixel format
+       * - `yuv422p` pixel format
+       * - `yuv444p` pixel format
+       * - `yuv420p10` 10-bit HDR pixel format
+       * - `yuv422p10` 10-bit HDR pixel format
+       * - `yuv444p10` 10-bit HDR pixel format
+       * - `yuv420p12` 12-bit HDR pixel format
+       * - `yuv422p12` 12-bit HDR pixel format
+       * - `yuv444p12` 12-bit HDR pixel format
        * 
* * string pixel_format = 5; @@ -6593,17 +6593,17 @@ public Builder clearPixelFormat() { * * *
-       * Pixel format to use. The default is `"yuv420p"`.
+       * Pixel format to use. The default is `yuv420p`.
        * Supported pixel formats:
-       * - 'yuv420p' pixel format.
-       * - 'yuv422p' pixel format.
-       * - 'yuv444p' pixel format.
-       * - 'yuv420p10' 10-bit HDR pixel format.
-       * - 'yuv422p10' 10-bit HDR pixel format.
-       * - 'yuv444p10' 10-bit HDR pixel format.
-       * - 'yuv420p12' 12-bit HDR pixel format.
-       * - 'yuv422p12' 12-bit HDR pixel format.
-       * - 'yuv444p12' 12-bit HDR pixel format.
+       * - `yuv420p` pixel format
+       * - `yuv422p` pixel format
+       * - `yuv444p` pixel format
+       * - `yuv420p10` 10-bit HDR pixel format
+       * - `yuv422p10` 10-bit HDR pixel format
+       * - `yuv444p10` 10-bit HDR pixel format
+       * - `yuv420p12` 12-bit HDR pixel format
+       * - `yuv422p12` 12-bit HDR pixel format
+       * - `yuv444p12` 12-bit HDR pixel format
        * 
* * string pixel_format = 5; @@ -6627,10 +6627,10 @@ public Builder setPixelFormatBytes(com.google.protobuf.ByteString value) { * * *
-       * Specify the `rate_control_mode`. The default is `"vbr"`.
+       * Specify the `rate_control_mode`. The default is `vbr`.
        * Supported rate control modes:
-       * - 'vbr' - variable bitrate
-       * - 'crf' - constant rate factor
+       * - `vbr` - variable bitrate
+       * - `crf` - constant rate factor
        * 
* * string rate_control_mode = 6; @@ -6652,10 +6652,10 @@ public java.lang.String getRateControlMode() { * * *
-       * Specify the `rate_control_mode`. The default is `"vbr"`.
+       * Specify the `rate_control_mode`. The default is `vbr`.
        * Supported rate control modes:
-       * - 'vbr' - variable bitrate
-       * - 'crf' - constant rate factor
+       * - `vbr` - variable bitrate
+       * - `crf` - constant rate factor
        * 
* * string rate_control_mode = 6; @@ -6677,10 +6677,10 @@ public com.google.protobuf.ByteString getRateControlModeBytes() { * * *
-       * Specify the `rate_control_mode`. The default is `"vbr"`.
+       * Specify the `rate_control_mode`. The default is `vbr`.
        * Supported rate control modes:
-       * - 'vbr' - variable bitrate
-       * - 'crf' - constant rate factor
+       * - `vbr` - variable bitrate
+       * - `crf` - constant rate factor
        * 
* * string rate_control_mode = 6; @@ -6701,10 +6701,10 @@ public Builder setRateControlMode(java.lang.String value) { * * *
-       * Specify the `rate_control_mode`. The default is `"vbr"`.
+       * Specify the `rate_control_mode`. The default is `vbr`.
        * Supported rate control modes:
-       * - 'vbr' - variable bitrate
-       * - 'crf' - constant rate factor
+       * - `vbr` - variable bitrate
+       * - `crf` - constant rate factor
        * 
* * string rate_control_mode = 6; @@ -6721,10 +6721,10 @@ public Builder clearRateControlMode() { * * *
-       * Specify the `rate_control_mode`. The default is `"vbr"`.
+       * Specify the `rate_control_mode`. The default is `vbr`.
        * Supported rate control modes:
-       * - 'vbr' - variable bitrate
-       * - 'crf' - constant rate factor
+       * - `vbr` - variable bitrate
+       * - `crf` - constant rate factor
        * 
* * string rate_control_mode = 6; @@ -6936,7 +6936,7 @@ public Builder clearGopFrameCount() { * *
        * Select the GOP size based on the specified duration. The default is
-       * `"3s"`. Note that `gopDuration` must be less than or equal to
+       * `3s`. Note that `gopDuration` must be less than or equal to
        * [`segmentDuration`](#SegmentSettings), and
        * [`segmentDuration`](#SegmentSettings) must be divisible by
        * `gopDuration`.
@@ -6955,7 +6955,7 @@ public boolean hasGopDuration() {
        *
        * 
        * Select the GOP size based on the specified duration. The default is
-       * `"3s"`. Note that `gopDuration` must be less than or equal to
+       * `3s`. Note that `gopDuration` must be less than or equal to
        * [`segmentDuration`](#SegmentSettings), and
        * [`segmentDuration`](#SegmentSettings) must be divisible by
        * `gopDuration`.
@@ -6984,7 +6984,7 @@ public com.google.protobuf.Duration getGopDuration() {
        *
        * 
        * Select the GOP size based on the specified duration. The default is
-       * `"3s"`. Note that `gopDuration` must be less than or equal to
+       * `3s`. Note that `gopDuration` must be less than or equal to
        * [`segmentDuration`](#SegmentSettings), and
        * [`segmentDuration`](#SegmentSettings) must be divisible by
        * `gopDuration`.
@@ -7010,7 +7010,7 @@ public Builder setGopDuration(com.google.protobuf.Duration value) {
        *
        * 
        * Select the GOP size based on the specified duration. The default is
-       * `"3s"`. Note that `gopDuration` must be less than or equal to
+       * `3s`. Note that `gopDuration` must be less than or equal to
        * [`segmentDuration`](#SegmentSettings), and
        * [`segmentDuration`](#SegmentSettings) must be divisible by
        * `gopDuration`.
@@ -7033,7 +7033,7 @@ public Builder setGopDuration(com.google.protobuf.Duration.Builder builderForVal
        *
        * 
        * Select the GOP size based on the specified duration. The default is
-       * `"3s"`. Note that `gopDuration` must be less than or equal to
+       * `3s`. Note that `gopDuration` must be less than or equal to
        * [`segmentDuration`](#SegmentSettings), and
        * [`segmentDuration`](#SegmentSettings) must be divisible by
        * `gopDuration`.
@@ -7066,7 +7066,7 @@ public Builder mergeGopDuration(com.google.protobuf.Duration value) {
        *
        * 
        * Select the GOP size based on the specified duration. The default is
-       * `"3s"`. Note that `gopDuration` must be less than or equal to
+       * `3s`. Note that `gopDuration` must be less than or equal to
        * [`segmentDuration`](#SegmentSettings), and
        * [`segmentDuration`](#SegmentSettings) must be divisible by
        * `gopDuration`.
@@ -7095,7 +7095,7 @@ public Builder clearGopDuration() {
        *
        * 
        * Select the GOP size based on the specified duration. The default is
-       * `"3s"`. Note that `gopDuration` must be less than or equal to
+       * `3s`. Note that `gopDuration` must be less than or equal to
        * [`segmentDuration`](#SegmentSettings), and
        * [`segmentDuration`](#SegmentSettings) must be divisible by
        * `gopDuration`.
@@ -7111,7 +7111,7 @@ public com.google.protobuf.Duration.Builder getGopDurationBuilder() {
        *
        * 
        * Select the GOP size based on the specified duration. The default is
-       * `"3s"`. Note that `gopDuration` must be less than or equal to
+       * `3s`. Note that `gopDuration` must be less than or equal to
        * [`segmentDuration`](#SegmentSettings), and
        * [`segmentDuration`](#SegmentSettings) must be divisible by
        * `gopDuration`.
@@ -7135,7 +7135,7 @@ public com.google.protobuf.DurationOrBuilder getGopDurationOrBuilder() {
        *
        * 
        * Select the GOP size based on the specified duration. The default is
-       * `"3s"`. Note that `gopDuration` must be less than or equal to
+       * `3s`. Note that `gopDuration` must be less than or equal to
        * [`segmentDuration`](#SegmentSettings), and
        * [`segmentDuration`](#SegmentSettings) must be divisible by
        * `gopDuration`.
@@ -7172,7 +7172,7 @@ public com.google.protobuf.DurationOrBuilder getGopDurationOrBuilder() {
        *
        * 
        * Use two-pass encoding strategy to achieve better video quality.
-       * `VideoStream.rate_control_mode` must be `"vbr"`. The default is `false`.
+       * `VideoStream.rate_control_mode` must be `vbr`. The default is `false`.
        * 
* * bool enable_two_pass = 11; @@ -7188,7 +7188,7 @@ public boolean getEnableTwoPass() { * *
        * Use two-pass encoding strategy to achieve better video quality.
-       * `VideoStream.rate_control_mode` must be `"vbr"`. The default is `false`.
+       * `VideoStream.rate_control_mode` must be `vbr`. The default is `false`.
        * 
* * bool enable_two_pass = 11; @@ -7207,7 +7207,7 @@ public Builder setEnableTwoPass(boolean value) { * *
        * Use two-pass encoding strategy to achieve better video quality.
-       * `VideoStream.rate_control_mode` must be `"vbr"`. The default is `false`.
+       * `VideoStream.rate_control_mode` must be `vbr`. The default is `false`.
        * 
* * bool enable_two_pass = 11; @@ -7512,27 +7512,27 @@ public Builder clearAqStrength() { *
        * Enforces the specified codec profile. The following profiles are
        * supported:
-       * 8bit profiles
-       * *   `main` (default)
-       * *   `main-intra`
-       * *   `mainstillpicture`
-       * 10bit profiles
-       * *   `main10` (default)
-       * *   `main10-intra`
-       * *   `main422-10`
-       * *   `main422-10-intra`
-       * *   `main444-10`
-       * *   `main444-10-intra`
-       * 12bit profiles
-       * *   `main12` (default)
-       * *   `main12-intra`
-       * *   `main422-12`
-       * *   `main422-12-intra`
-       * *   `main444-12`
-       * *   `main444-12-intra`
+       * *   8-bit profiles
+       *     *   `main` (default)
+       *     *   `main-intra`
+       *     *   `mainstillpicture`
+       * *   10-bit profiles
+       *     *   `main10` (default)
+       *     *   `main10-intra`
+       *     *   `main422-10`
+       *     *   `main422-10-intra`
+       *     *   `main444-10`
+       *     *   `main444-10-intra`
+       * *   12-bit profiles
+       *     *   `main12` (default)
+       *     *   `main12-intra`
+       *     *   `main422-12`
+       *     *   `main422-12-intra`
+       *     *   `main444-12`
+       *     *   `main444-12-intra`
        * The available options are
-       * [FFmpeg-compatible](https://x265.readthedocs.io/){:
-       * class="external" }. Note that certain values for this field may cause the
+       * [FFmpeg-compatible](https://x265.readthedocs.io/).
+       * Note that certain values for this field may cause the
        * transcoder to override other fields you set in the `H265CodecSettings`
        * message.
        * 
@@ -7558,27 +7558,27 @@ public java.lang.String getProfile() { *
        * Enforces the specified codec profile. The following profiles are
        * supported:
-       * 8bit profiles
-       * *   `main` (default)
-       * *   `main-intra`
-       * *   `mainstillpicture`
-       * 10bit profiles
-       * *   `main10` (default)
-       * *   `main10-intra`
-       * *   `main422-10`
-       * *   `main422-10-intra`
-       * *   `main444-10`
-       * *   `main444-10-intra`
-       * 12bit profiles
-       * *   `main12` (default)
-       * *   `main12-intra`
-       * *   `main422-12`
-       * *   `main422-12-intra`
-       * *   `main444-12`
-       * *   `main444-12-intra`
+       * *   8-bit profiles
+       *     *   `main` (default)
+       *     *   `main-intra`
+       *     *   `mainstillpicture`
+       * *   10-bit profiles
+       *     *   `main10` (default)
+       *     *   `main10-intra`
+       *     *   `main422-10`
+       *     *   `main422-10-intra`
+       *     *   `main444-10`
+       *     *   `main444-10-intra`
+       * *   12-bit profiles
+       *     *   `main12` (default)
+       *     *   `main12-intra`
+       *     *   `main422-12`
+       *     *   `main422-12-intra`
+       *     *   `main444-12`
+       *     *   `main444-12-intra`
        * The available options are
-       * [FFmpeg-compatible](https://x265.readthedocs.io/){:
-       * class="external" }. Note that certain values for this field may cause the
+       * [FFmpeg-compatible](https://x265.readthedocs.io/).
+       * Note that certain values for this field may cause the
        * transcoder to override other fields you set in the `H265CodecSettings`
        * message.
        * 
@@ -7604,27 +7604,27 @@ public com.google.protobuf.ByteString getProfileBytes() { *
        * Enforces the specified codec profile. The following profiles are
        * supported:
-       * 8bit profiles
-       * *   `main` (default)
-       * *   `main-intra`
-       * *   `mainstillpicture`
-       * 10bit profiles
-       * *   `main10` (default)
-       * *   `main10-intra`
-       * *   `main422-10`
-       * *   `main422-10-intra`
-       * *   `main444-10`
-       * *   `main444-10-intra`
-       * 12bit profiles
-       * *   `main12` (default)
-       * *   `main12-intra`
-       * *   `main422-12`
-       * *   `main422-12-intra`
-       * *   `main444-12`
-       * *   `main444-12-intra`
+       * *   8-bit profiles
+       *     *   `main` (default)
+       *     *   `main-intra`
+       *     *   `mainstillpicture`
+       * *   10-bit profiles
+       *     *   `main10` (default)
+       *     *   `main10-intra`
+       *     *   `main422-10`
+       *     *   `main422-10-intra`
+       *     *   `main444-10`
+       *     *   `main444-10-intra`
+       * *   12-bit profiles
+       *     *   `main12` (default)
+       *     *   `main12-intra`
+       *     *   `main422-12`
+       *     *   `main422-12-intra`
+       *     *   `main444-12`
+       *     *   `main444-12-intra`
        * The available options are
-       * [FFmpeg-compatible](https://x265.readthedocs.io/){:
-       * class="external" }. Note that certain values for this field may cause the
+       * [FFmpeg-compatible](https://x265.readthedocs.io/).
+       * Note that certain values for this field may cause the
        * transcoder to override other fields you set in the `H265CodecSettings`
        * message.
        * 
@@ -7649,27 +7649,27 @@ public Builder setProfile(java.lang.String value) { *
        * Enforces the specified codec profile. The following profiles are
        * supported:
-       * 8bit profiles
-       * *   `main` (default)
-       * *   `main-intra`
-       * *   `mainstillpicture`
-       * 10bit profiles
-       * *   `main10` (default)
-       * *   `main10-intra`
-       * *   `main422-10`
-       * *   `main422-10-intra`
-       * *   `main444-10`
-       * *   `main444-10-intra`
-       * 12bit profiles
-       * *   `main12` (default)
-       * *   `main12-intra`
-       * *   `main422-12`
-       * *   `main422-12-intra`
-       * *   `main444-12`
-       * *   `main444-12-intra`
+       * *   8-bit profiles
+       *     *   `main` (default)
+       *     *   `main-intra`
+       *     *   `mainstillpicture`
+       * *   10-bit profiles
+       *     *   `main10` (default)
+       *     *   `main10-intra`
+       *     *   `main422-10`
+       *     *   `main422-10-intra`
+       *     *   `main444-10`
+       *     *   `main444-10-intra`
+       * *   12-bit profiles
+       *     *   `main12` (default)
+       *     *   `main12-intra`
+       *     *   `main422-12`
+       *     *   `main422-12-intra`
+       *     *   `main444-12`
+       *     *   `main444-12-intra`
        * The available options are
-       * [FFmpeg-compatible](https://x265.readthedocs.io/){:
-       * class="external" }. Note that certain values for this field may cause the
+       * [FFmpeg-compatible](https://x265.readthedocs.io/).
+       * Note that certain values for this field may cause the
        * transcoder to override other fields you set in the `H265CodecSettings`
        * message.
        * 
@@ -7690,27 +7690,27 @@ public Builder clearProfile() { *
        * Enforces the specified codec profile. The following profiles are
        * supported:
-       * 8bit profiles
-       * *   `main` (default)
-       * *   `main-intra`
-       * *   `mainstillpicture`
-       * 10bit profiles
-       * *   `main10` (default)
-       * *   `main10-intra`
-       * *   `main422-10`
-       * *   `main422-10-intra`
-       * *   `main444-10`
-       * *   `main444-10-intra`
-       * 12bit profiles
-       * *   `main12` (default)
-       * *   `main12-intra`
-       * *   `main422-12`
-       * *   `main422-12-intra`
-       * *   `main444-12`
-       * *   `main444-12-intra`
+       * *   8-bit profiles
+       *     *   `main` (default)
+       *     *   `main-intra`
+       *     *   `mainstillpicture`
+       * *   10-bit profiles
+       *     *   `main10` (default)
+       *     *   `main10-intra`
+       *     *   `main422-10`
+       *     *   `main422-10-intra`
+       *     *   `main444-10`
+       *     *   `main444-10-intra`
+       * *   12-bit profiles
+       *     *   `main12` (default)
+       *     *   `main12-intra`
+       *     *   `main422-12`
+       *     *   `main422-12-intra`
+       *     *   `main444-12`
+       *     *   `main444-12-intra`
        * The available options are
-       * [FFmpeg-compatible](https://x265.readthedocs.io/){:
-       * class="external" }. Note that certain values for this field may cause the
+       * [FFmpeg-compatible](https://x265.readthedocs.io/).
+       * Note that certain values for this field may cause the
        * transcoder to override other fields you set in the `H265CodecSettings`
        * message.
        * 
@@ -7737,8 +7737,8 @@ public Builder setProfileBytes(com.google.protobuf.ByteString value) { * *
        * Enforces the specified codec tune. The available options are
-       * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.265){:
-       * class="external" }. Note that certain values for this field may cause the
+       * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.265).
+       * Note that certain values for this field may cause the
        * transcoder to override other fields you set in the `H265CodecSettings`
        * message.
        * 
@@ -7763,8 +7763,8 @@ public java.lang.String getTune() { * *
        * Enforces the specified codec tune. The available options are
-       * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.265){:
-       * class="external" }. Note that certain values for this field may cause the
+       * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.265).
+       * Note that certain values for this field may cause the
        * transcoder to override other fields you set in the `H265CodecSettings`
        * message.
        * 
@@ -7789,8 +7789,8 @@ public com.google.protobuf.ByteString getTuneBytes() { * *
        * Enforces the specified codec tune. The available options are
-       * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.265){:
-       * class="external" }. Note that certain values for this field may cause the
+       * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.265).
+       * Note that certain values for this field may cause the
        * transcoder to override other fields you set in the `H265CodecSettings`
        * message.
        * 
@@ -7814,8 +7814,8 @@ public Builder setTune(java.lang.String value) { * *
        * Enforces the specified codec tune. The available options are
-       * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.265){:
-       * class="external" }. Note that certain values for this field may cause the
+       * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.265).
+       * Note that certain values for this field may cause the
        * transcoder to override other fields you set in the `H265CodecSettings`
        * message.
        * 
@@ -7835,8 +7835,8 @@ public Builder clearTune() { * *
        * Enforces the specified codec tune. The available options are
-       * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.265){:
-       * class="external" }. Note that certain values for this field may cause the
+       * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.265).
+       * Note that certain values for this field may cause the
        * transcoder to override other fields you set in the `H265CodecSettings`
        * message.
        * 
@@ -7864,8 +7864,8 @@ public Builder setTuneBytes(com.google.protobuf.ByteString value) { *
        * Enforces the specified codec preset. The default is `veryfast`. The
        * available options are
-       * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.265){:
-       * class="external" }. Note that certain values for this field may cause the
+       * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.265).
+       * Note that certain values for this field may cause the
        * transcoder to override other fields you set in the `H265CodecSettings`
        * message.
        * 
@@ -7891,8 +7891,8 @@ public java.lang.String getPreset() { *
        * Enforces the specified codec preset. The default is `veryfast`. The
        * available options are
-       * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.265){:
-       * class="external" }. Note that certain values for this field may cause the
+       * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.265).
+       * Note that certain values for this field may cause the
        * transcoder to override other fields you set in the `H265CodecSettings`
        * message.
        * 
@@ -7918,8 +7918,8 @@ public com.google.protobuf.ByteString getPresetBytes() { *
        * Enforces the specified codec preset. The default is `veryfast`. The
        * available options are
-       * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.265){:
-       * class="external" }. Note that certain values for this field may cause the
+       * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.265).
+       * Note that certain values for this field may cause the
        * transcoder to override other fields you set in the `H265CodecSettings`
        * message.
        * 
@@ -7944,8 +7944,8 @@ public Builder setPreset(java.lang.String value) { *
        * Enforces the specified codec preset. The default is `veryfast`. The
        * available options are
-       * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.265){:
-       * class="external" }. Note that certain values for this field may cause the
+       * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.265).
+       * Note that certain values for this field may cause the
        * transcoder to override other fields you set in the `H265CodecSettings`
        * message.
        * 
@@ -7966,8 +7966,8 @@ public Builder clearPreset() { *
        * Enforces the specified codec preset. The default is `veryfast`. The
        * available options are
-       * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.265){:
-       * class="external" }. Note that certain values for this field may cause the
+       * [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.265).
+       * Note that certain values for this field may cause the
        * transcoder to override other fields you set in the `H265CodecSettings`
        * message.
        * 
@@ -8101,8 +8101,8 @@ public interface Vp9CodecSettingsOrBuilder * * *
-     * Required. The video bitrate in bits per second. Must be between 1 and
-     * 1,000,000,000.
+     * Required. The video bitrate in bits per second. The minimum value is 1,000.
+     * The maximum value is 480,000,000.
      * 
* * int32 bitrate_bps = 4 [(.google.api.field_behavior) = REQUIRED]; @@ -8115,17 +8115,17 @@ public interface Vp9CodecSettingsOrBuilder * * *
-     * Pixel format to use. The default is `"yuv420p"`.
+     * Pixel format to use. The default is `yuv420p`.
      * Supported pixel formats:
-     * - 'yuv420p' pixel format.
-     * - 'yuv422p' pixel format.
-     * - 'yuv444p' pixel format.
-     * - 'yuv420p10' 10-bit HDR pixel format.
-     * - 'yuv422p10' 10-bit HDR pixel format.
-     * - 'yuv444p10' 10-bit HDR pixel format.
-     * - 'yuv420p12' 12-bit HDR pixel format.
-     * - 'yuv422p12' 12-bit HDR pixel format.
-     * - 'yuv444p12' 12-bit HDR pixel format.
+     * - `yuv420p` pixel format
+     * - `yuv422p` pixel format
+     * - `yuv444p` pixel format
+     * - `yuv420p10` 10-bit HDR pixel format
+     * - `yuv422p10` 10-bit HDR pixel format
+     * - `yuv444p10` 10-bit HDR pixel format
+     * - `yuv420p12` 12-bit HDR pixel format
+     * - `yuv422p12` 12-bit HDR pixel format
+     * - `yuv444p12` 12-bit HDR pixel format
      * 
* * string pixel_format = 5; @@ -8137,17 +8137,17 @@ public interface Vp9CodecSettingsOrBuilder * * *
-     * Pixel format to use. The default is `"yuv420p"`.
+     * Pixel format to use. The default is `yuv420p`.
      * Supported pixel formats:
-     * - 'yuv420p' pixel format.
-     * - 'yuv422p' pixel format.
-     * - 'yuv444p' pixel format.
-     * - 'yuv420p10' 10-bit HDR pixel format.
-     * - 'yuv422p10' 10-bit HDR pixel format.
-     * - 'yuv444p10' 10-bit HDR pixel format.
-     * - 'yuv420p12' 12-bit HDR pixel format.
-     * - 'yuv422p12' 12-bit HDR pixel format.
-     * - 'yuv444p12' 12-bit HDR pixel format.
+     * - `yuv420p` pixel format
+     * - `yuv422p` pixel format
+     * - `yuv444p` pixel format
+     * - `yuv420p10` 10-bit HDR pixel format
+     * - `yuv422p10` 10-bit HDR pixel format
+     * - `yuv444p10` 10-bit HDR pixel format
+     * - `yuv420p12` 12-bit HDR pixel format
+     * - `yuv422p12` 12-bit HDR pixel format
+     * - `yuv444p12` 12-bit HDR pixel format
      * 
* * string pixel_format = 5; @@ -8160,10 +8160,10 @@ public interface Vp9CodecSettingsOrBuilder * * *
-     * Specify the `rate_control_mode`. The default is `"vbr"`.
+     * Specify the `rate_control_mode`. The default is `vbr`.
      * Supported rate control modes:
-     * - 'vbr' - variable bitrate
-     * - 'crf' - constant rate factor
+     * - `vbr` - variable bitrate
+     * - `crf` - constant rate factor
      * 
* * string rate_control_mode = 6; @@ -8175,10 +8175,10 @@ public interface Vp9CodecSettingsOrBuilder * * *
-     * Specify the `rate_control_mode`. The default is `"vbr"`.
+     * Specify the `rate_control_mode`. The default is `vbr`.
      * Supported rate control modes:
-     * - 'vbr' - variable bitrate
-     * - 'crf' - constant rate factor
+     * - `vbr` - variable bitrate
+     * - `crf` - constant rate factor
      * 
* * string rate_control_mode = 6; @@ -8233,7 +8233,7 @@ public interface Vp9CodecSettingsOrBuilder * *
      * Select the GOP size based on the specified duration. The default is
-     * `"3s"`. Note that `gopDuration` must be less than or equal to
+     * `3s`. Note that `gopDuration` must be less than or equal to
      * [`segmentDuration`](#SegmentSettings), and
      * [`segmentDuration`](#SegmentSettings) must be divisible by
      * `gopDuration`.
@@ -8249,7 +8249,7 @@ public interface Vp9CodecSettingsOrBuilder
      *
      * 
      * Select the GOP size based on the specified duration. The default is
-     * `"3s"`. Note that `gopDuration` must be less than or equal to
+     * `3s`. Note that `gopDuration` must be less than or equal to
      * [`segmentDuration`](#SegmentSettings), and
      * [`segmentDuration`](#SegmentSettings) must be divisible by
      * `gopDuration`.
@@ -8265,7 +8265,7 @@ public interface Vp9CodecSettingsOrBuilder
      *
      * 
      * Select the GOP size based on the specified duration. The default is
-     * `"3s"`. Note that `gopDuration` must be less than or equal to
+     * `3s`. Note that `gopDuration` must be less than or equal to
      * [`segmentDuration`](#SegmentSettings), and
      * [`segmentDuration`](#SegmentSettings) must be divisible by
      * `gopDuration`.
@@ -8286,8 +8286,8 @@ public interface Vp9CodecSettingsOrBuilder
      * *   `profile2`
      * *   `profile3`
      * The available options are
-     * [WebM-compatible](https://www.webmproject.org/vp9/profiles/){:
-     * class="external" }. Note that certain values for this field may cause the
+     * [WebM-compatible](https://www.webmproject.org/vp9/profiles/).
+     * Note that certain values for this field may cause the
      * transcoder to override other fields you set in the `Vp9CodecSettings`
      * message.
      * 
@@ -8308,8 +8308,8 @@ public interface Vp9CodecSettingsOrBuilder * * `profile2` * * `profile3` * The available options are - * [WebM-compatible](https://www.webmproject.org/vp9/profiles/){: - * class="external" }. Note that certain values for this field may cause the + * [WebM-compatible](https://www.webmproject.org/vp9/profiles/). + * Note that certain values for this field may cause the * transcoder to override other fields you set in the `Vp9CodecSettings` * message. *
@@ -8595,8 +8595,8 @@ public double getFrameRate() { * * *
-     * Required. The video bitrate in bits per second. Must be between 1 and
-     * 1,000,000,000.
+     * Required. The video bitrate in bits per second. The minimum value is 1,000.
+     * The maximum value is 480,000,000.
      * 
* * int32 bitrate_bps = 4 [(.google.api.field_behavior) = REQUIRED]; @@ -8614,17 +8614,17 @@ public int getBitrateBps() { * * *
-     * Pixel format to use. The default is `"yuv420p"`.
+     * Pixel format to use. The default is `yuv420p`.
      * Supported pixel formats:
-     * - 'yuv420p' pixel format.
-     * - 'yuv422p' pixel format.
-     * - 'yuv444p' pixel format.
-     * - 'yuv420p10' 10-bit HDR pixel format.
-     * - 'yuv422p10' 10-bit HDR pixel format.
-     * - 'yuv444p10' 10-bit HDR pixel format.
-     * - 'yuv420p12' 12-bit HDR pixel format.
-     * - 'yuv422p12' 12-bit HDR pixel format.
-     * - 'yuv444p12' 12-bit HDR pixel format.
+     * - `yuv420p` pixel format
+     * - `yuv422p` pixel format
+     * - `yuv444p` pixel format
+     * - `yuv420p10` 10-bit HDR pixel format
+     * - `yuv422p10` 10-bit HDR pixel format
+     * - `yuv444p10` 10-bit HDR pixel format
+     * - `yuv420p12` 12-bit HDR pixel format
+     * - `yuv422p12` 12-bit HDR pixel format
+     * - `yuv444p12` 12-bit HDR pixel format
      * 
* * string pixel_format = 5; @@ -8647,17 +8647,17 @@ public java.lang.String getPixelFormat() { * * *
-     * Pixel format to use. The default is `"yuv420p"`.
+     * Pixel format to use. The default is `yuv420p`.
      * Supported pixel formats:
-     * - 'yuv420p' pixel format.
-     * - 'yuv422p' pixel format.
-     * - 'yuv444p' pixel format.
-     * - 'yuv420p10' 10-bit HDR pixel format.
-     * - 'yuv422p10' 10-bit HDR pixel format.
-     * - 'yuv444p10' 10-bit HDR pixel format.
-     * - 'yuv420p12' 12-bit HDR pixel format.
-     * - 'yuv422p12' 12-bit HDR pixel format.
-     * - 'yuv444p12' 12-bit HDR pixel format.
+     * - `yuv420p` pixel format
+     * - `yuv422p` pixel format
+     * - `yuv444p` pixel format
+     * - `yuv420p10` 10-bit HDR pixel format
+     * - `yuv422p10` 10-bit HDR pixel format
+     * - `yuv444p10` 10-bit HDR pixel format
+     * - `yuv420p12` 12-bit HDR pixel format
+     * - `yuv422p12` 12-bit HDR pixel format
+     * - `yuv444p12` 12-bit HDR pixel format
      * 
* * string pixel_format = 5; @@ -8683,10 +8683,10 @@ public com.google.protobuf.ByteString getPixelFormatBytes() { * * *
-     * Specify the `rate_control_mode`. The default is `"vbr"`.
+     * Specify the `rate_control_mode`. The default is `vbr`.
      * Supported rate control modes:
-     * - 'vbr' - variable bitrate
-     * - 'crf' - constant rate factor
+     * - `vbr` - variable bitrate
+     * - `crf` - constant rate factor
      * 
* * string rate_control_mode = 6; @@ -8709,10 +8709,10 @@ public java.lang.String getRateControlMode() { * * *
-     * Specify the `rate_control_mode`. The default is `"vbr"`.
+     * Specify the `rate_control_mode`. The default is `vbr`.
      * Supported rate control modes:
-     * - 'vbr' - variable bitrate
-     * - 'crf' - constant rate factor
+     * - `vbr` - variable bitrate
+     * - `crf` - constant rate factor
      * 
* * string rate_control_mode = 6; @@ -8794,7 +8794,7 @@ public int getGopFrameCount() { * *
      * Select the GOP size based on the specified duration. The default is
-     * `"3s"`. Note that `gopDuration` must be less than or equal to
+     * `3s`. Note that `gopDuration` must be less than or equal to
      * [`segmentDuration`](#SegmentSettings), and
      * [`segmentDuration`](#SegmentSettings) must be divisible by
      * `gopDuration`.
@@ -8813,7 +8813,7 @@ public boolean hasGopDuration() {
      *
      * 
      * Select the GOP size based on the specified duration. The default is
-     * `"3s"`. Note that `gopDuration` must be less than or equal to
+     * `3s`. Note that `gopDuration` must be less than or equal to
      * [`segmentDuration`](#SegmentSettings), and
      * [`segmentDuration`](#SegmentSettings) must be divisible by
      * `gopDuration`.
@@ -8835,7 +8835,7 @@ public com.google.protobuf.Duration getGopDuration() {
      *
      * 
      * Select the GOP size based on the specified duration. The default is
-     * `"3s"`. Note that `gopDuration` must be less than or equal to
+     * `3s`. Note that `gopDuration` must be less than or equal to
      * [`segmentDuration`](#SegmentSettings), and
      * [`segmentDuration`](#SegmentSettings) must be divisible by
      * `gopDuration`.
@@ -8864,8 +8864,8 @@ public com.google.protobuf.DurationOrBuilder getGopDurationOrBuilder() {
      * *   `profile2`
      * *   `profile3`
      * The available options are
-     * [WebM-compatible](https://www.webmproject.org/vp9/profiles/){:
-     * class="external" }. Note that certain values for this field may cause the
+     * [WebM-compatible](https://www.webmproject.org/vp9/profiles/).
+     * Note that certain values for this field may cause the
      * transcoder to override other fields you set in the `Vp9CodecSettings`
      * message.
      * 
@@ -8897,8 +8897,8 @@ public java.lang.String getProfile() { * * `profile2` * * `profile3` * The available options are - * [WebM-compatible](https://www.webmproject.org/vp9/profiles/){: - * class="external" }. Note that certain values for this field may cause the + * [WebM-compatible](https://www.webmproject.org/vp9/profiles/). + * Note that certain values for this field may cause the * transcoder to override other fields you set in the `Vp9CodecSettings` * message. *
@@ -8946,10 +8946,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (bitrateBps_ != 0) { output.writeInt32(4, bitrateBps_); } - if (!getPixelFormatBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pixelFormat_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, pixelFormat_); } - if (!getRateControlModeBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(rateControlMode_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, rateControlMode_); } if (crfLevel_ != 0) { @@ -8961,7 +8961,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (gopModeCase_ == 9) { output.writeMessage(9, (com.google.protobuf.Duration) gopMode_); } - if (!getProfileBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(profile_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 10, profile_); } unknownFields.writeTo(output); @@ -8985,10 +8985,10 @@ public int getSerializedSize() { if (bitrateBps_ != 0) { size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, bitrateBps_); } - if (!getPixelFormatBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pixelFormat_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, pixelFormat_); } - if (!getRateControlModeBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(rateControlMode_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, rateControlMode_); } if (crfLevel_ != 0) { @@ -9004,7 +9004,7 @@ public int getSerializedSize() { com.google.protobuf.CodedOutputStream.computeMessageSize( 9, (com.google.protobuf.Duration) gopMode_); } - if (!getProfileBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(profile_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, profile_); } size += unknownFields.getSerializedSize(); @@ -9635,8 +9635,8 @@ public Builder clearFrameRate() { * * *
-       * Required. The video bitrate in bits per second. Must be between 1 and
-       * 1,000,000,000.
+       * Required. The video bitrate in bits per second. The minimum value is 1,000.
+       * The maximum value is 480,000,000.
        * 
* * int32 bitrate_bps = 4 [(.google.api.field_behavior) = REQUIRED]; @@ -9651,8 +9651,8 @@ public int getBitrateBps() { * * *
-       * Required. The video bitrate in bits per second. Must be between 1 and
-       * 1,000,000,000.
+       * Required. The video bitrate in bits per second. The minimum value is 1,000.
+       * The maximum value is 480,000,000.
        * 
* * int32 bitrate_bps = 4 [(.google.api.field_behavior) = REQUIRED]; @@ -9670,8 +9670,8 @@ public Builder setBitrateBps(int value) { * * *
-       * Required. The video bitrate in bits per second. Must be between 1 and
-       * 1,000,000,000.
+       * Required. The video bitrate in bits per second. The minimum value is 1,000.
+       * The maximum value is 480,000,000.
        * 
* * int32 bitrate_bps = 4 [(.google.api.field_behavior) = REQUIRED]; @@ -9690,17 +9690,17 @@ public Builder clearBitrateBps() { * * *
-       * Pixel format to use. The default is `"yuv420p"`.
+       * Pixel format to use. The default is `yuv420p`.
        * Supported pixel formats:
-       * - 'yuv420p' pixel format.
-       * - 'yuv422p' pixel format.
-       * - 'yuv444p' pixel format.
-       * - 'yuv420p10' 10-bit HDR pixel format.
-       * - 'yuv422p10' 10-bit HDR pixel format.
-       * - 'yuv444p10' 10-bit HDR pixel format.
-       * - 'yuv420p12' 12-bit HDR pixel format.
-       * - 'yuv422p12' 12-bit HDR pixel format.
-       * - 'yuv444p12' 12-bit HDR pixel format.
+       * - `yuv420p` pixel format
+       * - `yuv422p` pixel format
+       * - `yuv444p` pixel format
+       * - `yuv420p10` 10-bit HDR pixel format
+       * - `yuv422p10` 10-bit HDR pixel format
+       * - `yuv444p10` 10-bit HDR pixel format
+       * - `yuv420p12` 12-bit HDR pixel format
+       * - `yuv422p12` 12-bit HDR pixel format
+       * - `yuv444p12` 12-bit HDR pixel format
        * 
* * string pixel_format = 5; @@ -9722,17 +9722,17 @@ public java.lang.String getPixelFormat() { * * *
-       * Pixel format to use. The default is `"yuv420p"`.
+       * Pixel format to use. The default is `yuv420p`.
        * Supported pixel formats:
-       * - 'yuv420p' pixel format.
-       * - 'yuv422p' pixel format.
-       * - 'yuv444p' pixel format.
-       * - 'yuv420p10' 10-bit HDR pixel format.
-       * - 'yuv422p10' 10-bit HDR pixel format.
-       * - 'yuv444p10' 10-bit HDR pixel format.
-       * - 'yuv420p12' 12-bit HDR pixel format.
-       * - 'yuv422p12' 12-bit HDR pixel format.
-       * - 'yuv444p12' 12-bit HDR pixel format.
+       * - `yuv420p` pixel format
+       * - `yuv422p` pixel format
+       * - `yuv444p` pixel format
+       * - `yuv420p10` 10-bit HDR pixel format
+       * - `yuv422p10` 10-bit HDR pixel format
+       * - `yuv444p10` 10-bit HDR pixel format
+       * - `yuv420p12` 12-bit HDR pixel format
+       * - `yuv422p12` 12-bit HDR pixel format
+       * - `yuv444p12` 12-bit HDR pixel format
        * 
* * string pixel_format = 5; @@ -9754,17 +9754,17 @@ public com.google.protobuf.ByteString getPixelFormatBytes() { * * *
-       * Pixel format to use. The default is `"yuv420p"`.
+       * Pixel format to use. The default is `yuv420p`.
        * Supported pixel formats:
-       * - 'yuv420p' pixel format.
-       * - 'yuv422p' pixel format.
-       * - 'yuv444p' pixel format.
-       * - 'yuv420p10' 10-bit HDR pixel format.
-       * - 'yuv422p10' 10-bit HDR pixel format.
-       * - 'yuv444p10' 10-bit HDR pixel format.
-       * - 'yuv420p12' 12-bit HDR pixel format.
-       * - 'yuv422p12' 12-bit HDR pixel format.
-       * - 'yuv444p12' 12-bit HDR pixel format.
+       * - `yuv420p` pixel format
+       * - `yuv422p` pixel format
+       * - `yuv444p` pixel format
+       * - `yuv420p10` 10-bit HDR pixel format
+       * - `yuv422p10` 10-bit HDR pixel format
+       * - `yuv444p10` 10-bit HDR pixel format
+       * - `yuv420p12` 12-bit HDR pixel format
+       * - `yuv422p12` 12-bit HDR pixel format
+       * - `yuv444p12` 12-bit HDR pixel format
        * 
* * string pixel_format = 5; @@ -9785,17 +9785,17 @@ public Builder setPixelFormat(java.lang.String value) { * * *
-       * Pixel format to use. The default is `"yuv420p"`.
+       * Pixel format to use. The default is `yuv420p`.
        * Supported pixel formats:
-       * - 'yuv420p' pixel format.
-       * - 'yuv422p' pixel format.
-       * - 'yuv444p' pixel format.
-       * - 'yuv420p10' 10-bit HDR pixel format.
-       * - 'yuv422p10' 10-bit HDR pixel format.
-       * - 'yuv444p10' 10-bit HDR pixel format.
-       * - 'yuv420p12' 12-bit HDR pixel format.
-       * - 'yuv422p12' 12-bit HDR pixel format.
-       * - 'yuv444p12' 12-bit HDR pixel format.
+       * - `yuv420p` pixel format
+       * - `yuv422p` pixel format
+       * - `yuv444p` pixel format
+       * - `yuv420p10` 10-bit HDR pixel format
+       * - `yuv422p10` 10-bit HDR pixel format
+       * - `yuv444p10` 10-bit HDR pixel format
+       * - `yuv420p12` 12-bit HDR pixel format
+       * - `yuv422p12` 12-bit HDR pixel format
+       * - `yuv444p12` 12-bit HDR pixel format
        * 
* * string pixel_format = 5; @@ -9812,17 +9812,17 @@ public Builder clearPixelFormat() { * * *
-       * Pixel format to use. The default is `"yuv420p"`.
+       * Pixel format to use. The default is `yuv420p`.
        * Supported pixel formats:
-       * - 'yuv420p' pixel format.
-       * - 'yuv422p' pixel format.
-       * - 'yuv444p' pixel format.
-       * - 'yuv420p10' 10-bit HDR pixel format.
-       * - 'yuv422p10' 10-bit HDR pixel format.
-       * - 'yuv444p10' 10-bit HDR pixel format.
-       * - 'yuv420p12' 12-bit HDR pixel format.
-       * - 'yuv422p12' 12-bit HDR pixel format.
-       * - 'yuv444p12' 12-bit HDR pixel format.
+       * - `yuv420p` pixel format
+       * - `yuv422p` pixel format
+       * - `yuv444p` pixel format
+       * - `yuv420p10` 10-bit HDR pixel format
+       * - `yuv422p10` 10-bit HDR pixel format
+       * - `yuv444p10` 10-bit HDR pixel format
+       * - `yuv420p12` 12-bit HDR pixel format
+       * - `yuv422p12` 12-bit HDR pixel format
+       * - `yuv444p12` 12-bit HDR pixel format
        * 
* * string pixel_format = 5; @@ -9846,10 +9846,10 @@ public Builder setPixelFormatBytes(com.google.protobuf.ByteString value) { * * *
-       * Specify the `rate_control_mode`. The default is `"vbr"`.
+       * Specify the `rate_control_mode`. The default is `vbr`.
        * Supported rate control modes:
-       * - 'vbr' - variable bitrate
-       * - 'crf' - constant rate factor
+       * - `vbr` - variable bitrate
+       * - `crf` - constant rate factor
        * 
* * string rate_control_mode = 6; @@ -9871,10 +9871,10 @@ public java.lang.String getRateControlMode() { * * *
-       * Specify the `rate_control_mode`. The default is `"vbr"`.
+       * Specify the `rate_control_mode`. The default is `vbr`.
        * Supported rate control modes:
-       * - 'vbr' - variable bitrate
-       * - 'crf' - constant rate factor
+       * - `vbr` - variable bitrate
+       * - `crf` - constant rate factor
        * 
* * string rate_control_mode = 6; @@ -9896,10 +9896,10 @@ public com.google.protobuf.ByteString getRateControlModeBytes() { * * *
-       * Specify the `rate_control_mode`. The default is `"vbr"`.
+       * Specify the `rate_control_mode`. The default is `vbr`.
        * Supported rate control modes:
-       * - 'vbr' - variable bitrate
-       * - 'crf' - constant rate factor
+       * - `vbr` - variable bitrate
+       * - `crf` - constant rate factor
        * 
* * string rate_control_mode = 6; @@ -9920,10 +9920,10 @@ public Builder setRateControlMode(java.lang.String value) { * * *
-       * Specify the `rate_control_mode`. The default is `"vbr"`.
+       * Specify the `rate_control_mode`. The default is `vbr`.
        * Supported rate control modes:
-       * - 'vbr' - variable bitrate
-       * - 'crf' - constant rate factor
+       * - `vbr` - variable bitrate
+       * - `crf` - constant rate factor
        * 
* * string rate_control_mode = 6; @@ -9940,10 +9940,10 @@ public Builder clearRateControlMode() { * * *
-       * Specify the `rate_control_mode`. The default is `"vbr"`.
+       * Specify the `rate_control_mode`. The default is `vbr`.
        * Supported rate control modes:
-       * - 'vbr' - variable bitrate
-       * - 'crf' - constant rate factor
+       * - `vbr` - variable bitrate
+       * - `crf` - constant rate factor
        * 
* * string rate_control_mode = 6; @@ -10100,7 +10100,7 @@ public Builder clearGopFrameCount() { * *
        * Select the GOP size based on the specified duration. The default is
-       * `"3s"`. Note that `gopDuration` must be less than or equal to
+       * `3s`. Note that `gopDuration` must be less than or equal to
        * [`segmentDuration`](#SegmentSettings), and
        * [`segmentDuration`](#SegmentSettings) must be divisible by
        * `gopDuration`.
@@ -10119,7 +10119,7 @@ public boolean hasGopDuration() {
        *
        * 
        * Select the GOP size based on the specified duration. The default is
-       * `"3s"`. Note that `gopDuration` must be less than or equal to
+       * `3s`. Note that `gopDuration` must be less than or equal to
        * [`segmentDuration`](#SegmentSettings), and
        * [`segmentDuration`](#SegmentSettings) must be divisible by
        * `gopDuration`.
@@ -10148,7 +10148,7 @@ public com.google.protobuf.Duration getGopDuration() {
        *
        * 
        * Select the GOP size based on the specified duration. The default is
-       * `"3s"`. Note that `gopDuration` must be less than or equal to
+       * `3s`. Note that `gopDuration` must be less than or equal to
        * [`segmentDuration`](#SegmentSettings), and
        * [`segmentDuration`](#SegmentSettings) must be divisible by
        * `gopDuration`.
@@ -10174,7 +10174,7 @@ public Builder setGopDuration(com.google.protobuf.Duration value) {
        *
        * 
        * Select the GOP size based on the specified duration. The default is
-       * `"3s"`. Note that `gopDuration` must be less than or equal to
+       * `3s`. Note that `gopDuration` must be less than or equal to
        * [`segmentDuration`](#SegmentSettings), and
        * [`segmentDuration`](#SegmentSettings) must be divisible by
        * `gopDuration`.
@@ -10197,7 +10197,7 @@ public Builder setGopDuration(com.google.protobuf.Duration.Builder builderForVal
        *
        * 
        * Select the GOP size based on the specified duration. The default is
-       * `"3s"`. Note that `gopDuration` must be less than or equal to
+       * `3s`. Note that `gopDuration` must be less than or equal to
        * [`segmentDuration`](#SegmentSettings), and
        * [`segmentDuration`](#SegmentSettings) must be divisible by
        * `gopDuration`.
@@ -10230,7 +10230,7 @@ public Builder mergeGopDuration(com.google.protobuf.Duration value) {
        *
        * 
        * Select the GOP size based on the specified duration. The default is
-       * `"3s"`. Note that `gopDuration` must be less than or equal to
+       * `3s`. Note that `gopDuration` must be less than or equal to
        * [`segmentDuration`](#SegmentSettings), and
        * [`segmentDuration`](#SegmentSettings) must be divisible by
        * `gopDuration`.
@@ -10259,7 +10259,7 @@ public Builder clearGopDuration() {
        *
        * 
        * Select the GOP size based on the specified duration. The default is
-       * `"3s"`. Note that `gopDuration` must be less than or equal to
+       * `3s`. Note that `gopDuration` must be less than or equal to
        * [`segmentDuration`](#SegmentSettings), and
        * [`segmentDuration`](#SegmentSettings) must be divisible by
        * `gopDuration`.
@@ -10275,7 +10275,7 @@ public com.google.protobuf.Duration.Builder getGopDurationBuilder() {
        *
        * 
        * Select the GOP size based on the specified duration. The default is
-       * `"3s"`. Note that `gopDuration` must be less than or equal to
+       * `3s`. Note that `gopDuration` must be less than or equal to
        * [`segmentDuration`](#SegmentSettings), and
        * [`segmentDuration`](#SegmentSettings) must be divisible by
        * `gopDuration`.
@@ -10299,7 +10299,7 @@ public com.google.protobuf.DurationOrBuilder getGopDurationOrBuilder() {
        *
        * 
        * Select the GOP size based on the specified duration. The default is
-       * `"3s"`. Note that `gopDuration` must be less than or equal to
+       * `3s`. Note that `gopDuration` must be less than or equal to
        * [`segmentDuration`](#SegmentSettings), and
        * [`segmentDuration`](#SegmentSettings) must be divisible by
        * `gopDuration`.
@@ -10342,8 +10342,8 @@ public com.google.protobuf.DurationOrBuilder getGopDurationOrBuilder() {
        * *   `profile2`
        * *   `profile3`
        * The available options are
-       * [WebM-compatible](https://www.webmproject.org/vp9/profiles/){:
-       * class="external" }. Note that certain values for this field may cause the
+       * [WebM-compatible](https://www.webmproject.org/vp9/profiles/).
+       * Note that certain values for this field may cause the
        * transcoder to override other fields you set in the `Vp9CodecSettings`
        * message.
        * 
@@ -10374,8 +10374,8 @@ public java.lang.String getProfile() { * * `profile2` * * `profile3` * The available options are - * [WebM-compatible](https://www.webmproject.org/vp9/profiles/){: - * class="external" }. Note that certain values for this field may cause the + * [WebM-compatible](https://www.webmproject.org/vp9/profiles/). + * Note that certain values for this field may cause the * transcoder to override other fields you set in the `Vp9CodecSettings` * message. *
@@ -10406,8 +10406,8 @@ public com.google.protobuf.ByteString getProfileBytes() { * * `profile2` * * `profile3` * The available options are - * [WebM-compatible](https://www.webmproject.org/vp9/profiles/){: - * class="external" }. Note that certain values for this field may cause the + * [WebM-compatible](https://www.webmproject.org/vp9/profiles/). + * Note that certain values for this field may cause the * transcoder to override other fields you set in the `Vp9CodecSettings` * message. *
@@ -10437,8 +10437,8 @@ public Builder setProfile(java.lang.String value) { * * `profile2` * * `profile3` * The available options are - * [WebM-compatible](https://www.webmproject.org/vp9/profiles/){: - * class="external" }. Note that certain values for this field may cause the + * [WebM-compatible](https://www.webmproject.org/vp9/profiles/). + * Note that certain values for this field may cause the * transcoder to override other fields you set in the `Vp9CodecSettings` * message. *
@@ -10464,8 +10464,8 @@ public Builder clearProfile() { * * `profile2` * * `profile3` * The available options are - * [WebM-compatible](https://www.webmproject.org/vp9/profiles/){: - * class="external" }. Note that certain values for this field may cause the + * [WebM-compatible](https://www.webmproject.org/vp9/profiles/). + * Note that certain values for this field may cause the * transcoder to override other fields you set in the `Vp9CodecSettings` * message. *
diff --git a/proto-google-cloud-video-transcoder-v1/src/main/proto/google/cloud/video/transcoder/v1/resources.proto b/proto-google-cloud-video-transcoder-v1/src/main/proto/google/cloud/video/transcoder/v1/resources.proto index 1677868b..42b9d62f 100644 --- a/proto-google-cloud-video-transcoder-v1/src/main/proto/google/cloud/video/transcoder/v1/resources.proto +++ b/proto-google-cloud-video-transcoder-v1/src/main/proto/google/cloud/video/transcoder/v1/resources.proto @@ -54,7 +54,7 @@ message Job { } // The resource name of the job. - // Format: `projects/{project}/locations/{location}/jobs/{job}` + // Format: `projects/{project_number}/locations/{location}/jobs/{job}` string name = 1; // Input only. Specify the `input_uri` to populate empty `uri` fields in each element of @@ -118,7 +118,7 @@ message JobTemplate { // The resource name of the job template. // Format: - // `projects/{project}/locations/{location}/jobTemplates/{job_template}` + // `projects/{project_number}/locations/{location}/jobTemplates/{job_template}` string name = 1; // The configuration for this template. @@ -232,54 +232,52 @@ message ElementaryStream { // Multiplexing settings for output stream. message MuxStream { // A unique key for this multiplexed stream. HLS media manifests will be - // named `MuxStream.key` with the `".m3u8"` extension suffix. + // named `MuxStream.key` with the `.m3u8` extension suffix. string key = 1; // The name of the generated file. The default is `MuxStream.key` with the // extension suffix corresponding to the `MuxStream.container`. // // Individual segments also have an incremental 10-digit zero-padded suffix - // starting from 0 before the extension, such as `"mux_stream0000000123.ts"`. + // starting from 0 before the extension, such as `mux_stream0000000123.ts`. string file_name = 2; - // The container format. The default is `"mp4"` + // The container format. The default is `mp4` // // Supported container formats: - // - 'ts' - // - 'fmp4'- the corresponding file extension is `".m4s"` - // - 'mp4' - // - 'vtt' + // + // - `ts` + // - `fmp4`- the corresponding file extension is `.m4s` + // - `mp4` + // - `vtt` string container = 3; // List of `ElementaryStream.key`s multiplexed in this stream. repeated string elementary_streams = 4; - // Segment settings for `"ts"`, `"fmp4"` and `"vtt"`. + // Segment settings for `ts`, `fmp4` and `vtt`. SegmentSettings segment_settings = 5; - - // Encryption settings. - Encryption encryption = 6; } // Manifest configuration. message Manifest { - // The manifest type can be either `"HLS"` or `"DASH"`. + // The manifest type can be either `HLS` or `DASH`. enum ManifestType { // The manifest type is not specified. MANIFEST_TYPE_UNSPECIFIED = 0; - // Create `"HLS"` manifest. The corresponding file extension is `".m3u8"`. + // Create `HLS` manifest. The corresponding file extension is `.m3u8`. HLS = 1; - // Create `"DASH"` manifest. The corresponding file extension is `".mpd"`. + // Create `DASH` manifest. The corresponding file extension is `.mpd`. DASH = 2; } - // The name of the generated file. The default is `"manifest"` with the + // The name of the generated file. The default is `manifest` with the // extension suffix corresponding to the `Manifest.type`. string file_name = 1; - // Required. Type of the manifest, can be "HLS" or "DASH". + // Required. Type of the manifest, can be `HLS` or `DASH`. ManifestType type = 2 [(google.api.field_behavior) = REQUIRED]; // Required. List of user given `MuxStream.key`s that should appear in this manifest. @@ -299,16 +297,17 @@ message PubsubDestination { // Sprite sheet configuration. message SpriteSheet { - // Format type. The default is `"jpeg"`. + // Format type. The default is `jpeg`. // // Supported formats: - // - 'jpeg' + // + // - `jpeg` string format = 1; // Required. File name prefix for the generated sprite sheets. // // Each sprite sheet has an incremental 10-digit zero-padded suffix starting - // from 0 before the extension, such as `"sprite_sheet0000000123.jpeg"`. + // from 0 before the extension, such as `sprite_sheet0000000123.jpeg`. string file_prefix = 2 [(google.api.field_behavior) = REQUIRED]; // Required. The width of sprite in pixels. Must be an even integer. To preserve the @@ -490,11 +489,12 @@ message PreprocessingConfig { // the value, the smoother the image. 0 is no denoising. The default is 0. double strength = 1; - // Set the denoiser mode. The default is `"standard"`. + // Set the denoiser mode. The default is `standard`. // // Supported denoiser modes: - // - 'standard' - // - 'grain' + // + // - `standard` + // - `grain` string tune = 2; } @@ -605,29 +605,31 @@ message VideoStream { // more information. double frame_rate = 3 [(google.api.field_behavior) = REQUIRED]; - // Required. The video bitrate in bits per second. Must be between 1 and - // 1,000,000,000. + // Required. The video bitrate in bits per second. The minimum value is 1,000. + // The maximum value is 800,000,000. int32 bitrate_bps = 4 [(google.api.field_behavior) = REQUIRED]; - // Pixel format to use. The default is `"yuv420p"`. + // Pixel format to use. The default is `yuv420p`. // // Supported pixel formats: - // - 'yuv420p' pixel format. - // - 'yuv422p' pixel format. - // - 'yuv444p' pixel format. - // - 'yuv420p10' 10-bit HDR pixel format. - // - 'yuv422p10' 10-bit HDR pixel format. - // - 'yuv444p10' 10-bit HDR pixel format. - // - 'yuv420p12' 12-bit HDR pixel format. - // - 'yuv422p12' 12-bit HDR pixel format. - // - 'yuv444p12' 12-bit HDR pixel format. + // + // - `yuv420p` pixel format + // - `yuv422p` pixel format + // - `yuv444p` pixel format + // - `yuv420p10` 10-bit HDR pixel format + // - `yuv422p10` 10-bit HDR pixel format + // - `yuv444p10` 10-bit HDR pixel format + // - `yuv420p12` 12-bit HDR pixel format + // - `yuv422p12` 12-bit HDR pixel format + // - `yuv444p12` 12-bit HDR pixel format string pixel_format = 5; - // Specify the `rate_control_mode`. The default is `"vbr"`. + // Specify the `rate_control_mode`. The default is `vbr`. // // Supported rate control modes: - // - 'vbr' - variable bitrate - // - 'crf' - constant rate factor + // + // - `vbr` - variable bitrate + // - `crf` - constant rate factor string rate_control_mode = 6; // Target CRF level. Must be between 10 and 36, where 10 is the highest @@ -645,7 +647,7 @@ message VideoStream { int32 gop_frame_count = 9; // Select the GOP size based on the specified duration. The default is - // `"3s"`. Note that `gopDuration` must be less than or equal to + // `3s`. Note that `gopDuration` must be less than or equal to // [`segmentDuration`](#SegmentSettings), and // [`segmentDuration`](#SegmentSettings) must be divisible by // `gopDuration`. @@ -653,7 +655,7 @@ message VideoStream { } // Use two-pass encoding strategy to achieve better video quality. - // `VideoStream.rate_control_mode` must be `"vbr"`. The default is `false`. + // `VideoStream.rate_control_mode` must be `vbr`. The default is `false`. bool enable_two_pass = 11; // Size of the Video Buffering Verifier (VBV) buffer in bits. Must be @@ -665,11 +667,12 @@ message VideoStream { // `VideoStream.vbv_size_bits`. int32 vbv_fullness_bits = 13; - // The entropy coder to use. The default is `"cabac"`. + // The entropy coder to use. The default is `cabac`. // // Supported entropy coders: - // - 'cavlc' - // - 'cabac' + // + // - `cavlc` + // - `cabac` string entropy_coder = 14; // Allow B-pyramid for reference frame selection. This may not be supported @@ -694,23 +697,23 @@ message VideoStream { // * `high` (default) // // The available options are - // [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.264#Profile){: - // class="external" }. Note that certain values for this field may cause the + // [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.264#Tune). + // Note that certain values for this field may cause the // transcoder to override other fields you set in the `H264CodecSettings` // message. string profile = 18; // Enforces the specified codec tune. The available options are - // [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.264#Tune){: - // class="external" }. Note that certain values for this field may cause the + // [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.264#Tune). + // Note that certain values for this field may cause the // transcoder to override other fields you set in the `H264CodecSettings` // message. string tune = 19; // Enforces the specified codec preset. The default is `veryfast`. The // available options are - // [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.264#Preset){: - // class="external" }. Note that certain values for this field may cause the + // [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.264#Preset). + // Note that certain values for this field may cause the // transcoder to override other fields you set in the `H264CodecSettings` // message. string preset = 20; @@ -737,29 +740,31 @@ message VideoStream { // more information. double frame_rate = 3 [(google.api.field_behavior) = REQUIRED]; - // Required. The video bitrate in bits per second. Must be between 1 and - // 1,000,000,000. + // Required. The video bitrate in bits per second. The minimum value is 1,000. + // The maximum value is 800,000,000. int32 bitrate_bps = 4 [(google.api.field_behavior) = REQUIRED]; - // Pixel format to use. The default is `"yuv420p"`. + // Pixel format to use. The default is `yuv420p`. // // Supported pixel formats: - // - 'yuv420p' pixel format. - // - 'yuv422p' pixel format. - // - 'yuv444p' pixel format. - // - 'yuv420p10' 10-bit HDR pixel format. - // - 'yuv422p10' 10-bit HDR pixel format. - // - 'yuv444p10' 10-bit HDR pixel format. - // - 'yuv420p12' 12-bit HDR pixel format. - // - 'yuv422p12' 12-bit HDR pixel format. - // - 'yuv444p12' 12-bit HDR pixel format. + // + // - `yuv420p` pixel format + // - `yuv422p` pixel format + // - `yuv444p` pixel format + // - `yuv420p10` 10-bit HDR pixel format + // - `yuv422p10` 10-bit HDR pixel format + // - `yuv444p10` 10-bit HDR pixel format + // - `yuv420p12` 12-bit HDR pixel format + // - `yuv422p12` 12-bit HDR pixel format + // - `yuv444p12` 12-bit HDR pixel format string pixel_format = 5; - // Specify the `rate_control_mode`. The default is `"vbr"`. + // Specify the `rate_control_mode`. The default is `vbr`. // // Supported rate control modes: - // - 'vbr' - variable bitrate - // - 'crf' - constant rate factor + // + // - `vbr` - variable bitrate + // - `crf` - constant rate factor string rate_control_mode = 6; // Target CRF level. Must be between 10 and 36, where 10 is the highest @@ -777,7 +782,7 @@ message VideoStream { int32 gop_frame_count = 9; // Select the GOP size based on the specified duration. The default is - // `"3s"`. Note that `gopDuration` must be less than or equal to + // `3s`. Note that `gopDuration` must be less than or equal to // [`segmentDuration`](#SegmentSettings), and // [`segmentDuration`](#SegmentSettings) must be divisible by // `gopDuration`. @@ -785,7 +790,7 @@ message VideoStream { } // Use two-pass encoding strategy to achieve better video quality. - // `VideoStream.rate_control_mode` must be `"vbr"`. The default is `false`. + // `VideoStream.rate_control_mode` must be `vbr`. The default is `false`. bool enable_two_pass = 11; // Size of the Video Buffering Verifier (VBV) buffer in bits. Must be @@ -814,45 +819,43 @@ message VideoStream { // Enforces the specified codec profile. The following profiles are // supported: // - // 8bit profiles - // * `main` (default) - // * `main-intra` - // * `mainstillpicture` - // - // 10bit profiles - // * `main10` (default) - // * `main10-intra` - // * `main422-10` - // * `main422-10-intra` - // * `main444-10` - // * `main444-10-intra` - // - // 12bit profiles - // * `main12` (default) - // * `main12-intra` - // * `main422-12` - // * `main422-12-intra` - // * `main444-12` - // * `main444-12-intra` + // * 8-bit profiles + // * `main` (default) + // * `main-intra` + // * `mainstillpicture` + // * 10-bit profiles + // * `main10` (default) + // * `main10-intra` + // * `main422-10` + // * `main422-10-intra` + // * `main444-10` + // * `main444-10-intra` + // * 12-bit profiles + // * `main12` (default) + // * `main12-intra` + // * `main422-12` + // * `main422-12-intra` + // * `main444-12` + // * `main444-12-intra` // // The available options are - // [FFmpeg-compatible](https://x265.readthedocs.io/){: - // class="external" }. Note that certain values for this field may cause the + // [FFmpeg-compatible](https://x265.readthedocs.io/). + // Note that certain values for this field may cause the // transcoder to override other fields you set in the `H265CodecSettings` // message. string profile = 17; // Enforces the specified codec tune. The available options are - // [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.265){: - // class="external" }. Note that certain values for this field may cause the + // [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.265). + // Note that certain values for this field may cause the // transcoder to override other fields you set in the `H265CodecSettings` // message. string tune = 18; // Enforces the specified codec preset. The default is `veryfast`. The // available options are - // [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.265){: - // class="external" }. Note that certain values for this field may cause the + // [FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.265). + // Note that certain values for this field may cause the // transcoder to override other fields you set in the `H265CodecSettings` // message. string preset = 19; @@ -879,29 +882,31 @@ message VideoStream { // more information. double frame_rate = 3 [(google.api.field_behavior) = REQUIRED]; - // Required. The video bitrate in bits per second. Must be between 1 and - // 1,000,000,000. + // Required. The video bitrate in bits per second. The minimum value is 1,000. + // The maximum value is 480,000,000. int32 bitrate_bps = 4 [(google.api.field_behavior) = REQUIRED]; - // Pixel format to use. The default is `"yuv420p"`. + // Pixel format to use. The default is `yuv420p`. // // Supported pixel formats: - // - 'yuv420p' pixel format. - // - 'yuv422p' pixel format. - // - 'yuv444p' pixel format. - // - 'yuv420p10' 10-bit HDR pixel format. - // - 'yuv422p10' 10-bit HDR pixel format. - // - 'yuv444p10' 10-bit HDR pixel format. - // - 'yuv420p12' 12-bit HDR pixel format. - // - 'yuv422p12' 12-bit HDR pixel format. - // - 'yuv444p12' 12-bit HDR pixel format. + // + // - `yuv420p` pixel format + // - `yuv422p` pixel format + // - `yuv444p` pixel format + // - `yuv420p10` 10-bit HDR pixel format + // - `yuv422p10` 10-bit HDR pixel format + // - `yuv444p10` 10-bit HDR pixel format + // - `yuv420p12` 12-bit HDR pixel format + // - `yuv422p12` 12-bit HDR pixel format + // - `yuv444p12` 12-bit HDR pixel format string pixel_format = 5; - // Specify the `rate_control_mode`. The default is `"vbr"`. + // Specify the `rate_control_mode`. The default is `vbr`. // // Supported rate control modes: - // - 'vbr' - variable bitrate - // - 'crf' - constant rate factor + // + // - `vbr` - variable bitrate + // - `crf` - constant rate factor string rate_control_mode = 6; // Target CRF level. Must be between 10 and 36, where 10 is the highest @@ -915,7 +920,7 @@ message VideoStream { int32 gop_frame_count = 8; // Select the GOP size based on the specified duration. The default is - // `"3s"`. Note that `gopDuration` must be less than or equal to + // `3s`. Note that `gopDuration` must be less than or equal to // [`segmentDuration`](#SegmentSettings), and // [`segmentDuration`](#SegmentSettings) must be divisible by // `gopDuration`. @@ -931,8 +936,8 @@ message VideoStream { // * `profile3` // // The available options are - // [WebM-compatible](https://www.webmproject.org/vp9/profiles/){: - // class="external" }. Note that certain values for this field may cause the + // [WebM-compatible](https://www.webmproject.org/vp9/profiles/). + // Note that certain values for this field may cause the // transcoder to override other fields you set in the `Vp9CodecSettings` // message. string profile = 10; @@ -976,15 +981,16 @@ message AudioStream { double gain_db = 6; } - // The codec for this audio stream. The default is `"aac"`. + // The codec for this audio stream. The default is `aac`. // // Supported audio codecs: - // - 'aac' - // - 'aac-he' - // - 'aac-he-v2' - // - 'mp3' - // - 'ac3' - // - 'eac3' + // + // - `aac` + // - `aac-he` + // - `aac-he-v2` + // - `mp3` + // - `ac3` + // - `eac3` string codec = 1; // Required. Audio bitrate in bits per second. Must be between 1 and 10,000,000. @@ -998,12 +1004,13 @@ message AudioStream { // supported by the specified format. The default is `["fl", "fr"]`. // // Supported channel names: - // - 'fl' - Front left channel - // - 'fr' - Front right channel - // - 'sl' - Side left channel - // - 'sr' - Side right channel - // - 'fc' - Front center channel - // - 'lfe' - Low frequency + // + // - `fl` - Front left channel + // - `fr` - Front right channel + // - `sl` - Side left channel + // - `sr` - Side right channel + // - `fc` - Front center channel + // - `lfe` - Low frequency repeated string channel_layout = 4; // The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`. @@ -1028,23 +1035,24 @@ message TextStream { int32 input_track = 3 [(google.api.field_behavior) = REQUIRED]; } - // The codec for this text stream. The default is `"webvtt"`. + // The codec for this text stream. The default is `webvtt`. // // Supported text codecs: - // - 'srt' - // - 'ttml' - // - 'cea608' - // - 'cea708' - // - 'webvtt' + // + // - `srt` + // - `ttml` + // - `cea608` + // - `cea708` + // - `webvtt` string codec = 1; // The mapping for the `Job.edit_list` atoms with text `EditAtom.inputs`. repeated TextMapping mapping = 3; } -// Segment settings for `"ts"`, `"fmp4"` and `"vtt"`. +// Segment settings for `ts`, `fmp4` and `vtt`. message SegmentSettings { - // Duration of the segments in seconds. The default is `"6.0s"`. Note that + // Duration of the segments in seconds. The default is `6.0s`. Note that // `segmentDuration` must be greater than or equal to // [`gopDuration`](#videostream), and `segmentDuration` must be divisible by // [`gopDuration`](#videostream). @@ -1053,53 +1061,3 @@ message SegmentSettings { // Required. Create an individual segment file. The default is `false`. bool individual_segments = 3 [(google.api.field_behavior) = REQUIRED]; } - -// Encryption settings. -message Encryption { - // Configuration for AES-128 encryption. - message Aes128Encryption { - // Required. URI of the key delivery service. This URI is inserted into the M3U8 - // header. - string key_uri = 1 [(google.api.field_behavior) = REQUIRED]; - } - - // Configuration for SAMPLE-AES encryption. - message SampleAesEncryption { - // Required. URI of the key delivery service. This URI is inserted into the M3U8 - // header. - string key_uri = 1 [(google.api.field_behavior) = REQUIRED]; - } - - // Configuration for MPEG Common Encryption (MPEG-CENC). - message MpegCommonEncryption { - // Required. 128 bit Key ID represented as lowercase hexadecimal digits for use with - // common encryption. - string key_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. Specify the encryption scheme. - // - // Supported encryption schemes: - // - 'cenc' - // - 'cbcs' - string scheme = 2 [(google.api.field_behavior) = REQUIRED]; - } - - // Required. 128 bit encryption key represented as lowercase hexadecimal digits. - string key = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. 128 bit Initialization Vector (IV) represented as lowercase hexadecimal - // digits. - string iv = 2 [(google.api.field_behavior) = REQUIRED]; - - // Encryption mode can be either `aes` or `cenc`. - oneof encryption_mode { - // Configuration for AES-128 encryption. - Aes128Encryption aes_128 = 3; - - // Configuration for SAMPLE-AES encryption. - SampleAesEncryption sample_aes = 4; - - // Configuration for MPEG Common Encryption (MPEG-CENC). - MpegCommonEncryption mpeg_cenc = 5; - } -} diff --git a/proto-google-cloud-video-transcoder-v1/src/main/proto/google/cloud/video/transcoder/v1/services.proto b/proto-google-cloud-video-transcoder-v1/src/main/proto/google/cloud/video/transcoder/v1/services.proto index 1fadf816..992b3a1e 100644 --- a/proto-google-cloud-video-transcoder-v1/src/main/proto/google/cloud/video/transcoder/v1/services.proto +++ b/proto-google-cloud-video-transcoder-v1/src/main/proto/google/cloud/video/transcoder/v1/services.proto @@ -172,6 +172,10 @@ message DeleteJobRequest { type: "transcoder.googleapis.com/Job" } ]; + + // If set to true, and the job is not found, the request will succeed but no + // action will be taken on the server. + bool allow_missing = 2; } // Response message for `TranscoderService.ListJobs`. @@ -258,6 +262,10 @@ message DeleteJobTemplateRequest { type: "transcoder.googleapis.com/JobTemplate" } ]; + + // If set to true, and the job template is not found, the request will succeed + // but no action will be taken on the server. + bool allow_missing = 2; } // Response message for `TranscoderService.ListJobTemplates`. diff --git a/proto-google-cloud-video-transcoder-v1beta1/pom.xml b/proto-google-cloud-video-transcoder-v1beta1/pom.xml index 52a308ce..8895f57e 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.4.1 + 0.4.2 proto-google-cloud-video-transcoder-v1beta1 Proto library for google-cloud-video-transcoder com.google.cloud google-cloud-video-transcoder-parent - 0.4.1 + 0.4.2 diff --git a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/AudioStream.java b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/AudioStream.java index 93d54cb1..b0291e80 100644 --- a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/AudioStream.java +++ b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/AudioStream.java @@ -864,7 +864,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getKeyBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, key_); } if (track_ != 0) { @@ -885,7 +885,7 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getKeyBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, key_); } if (track_ != 0) { @@ -2755,7 +2755,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getKeyBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, key_); } for (int i = 0; i < channels_.size(); i++) { @@ -2770,7 +2770,7 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getKeyBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, key_); } for (int i = 0; i < channels_.size(); i++) { @@ -4033,7 +4033,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getCodecBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(codec_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, codec_); } if (bitrateBps_ != 0) { @@ -4060,7 +4060,7 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getCodecBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(codec_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, codec_); } if (bitrateBps_ != 0) { diff --git a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/CreateJobRequest.java b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/CreateJobRequest.java index 071db7d9..3c4ef171 100644 --- a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/CreateJobRequest.java +++ b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/CreateJobRequest.java @@ -248,7 +248,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getParentBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } if (job_ != null) { @@ -263,7 +263,7 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getParentBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (job_ != null) { diff --git a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/CreateJobTemplateRequest.java b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/CreateJobTemplateRequest.java index 01adb3d7..aede817e 100644 --- a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/CreateJobTemplateRequest.java +++ b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/CreateJobTemplateRequest.java @@ -314,13 +314,13 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getParentBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } if (jobTemplate_ != null) { output.writeMessage(2, getJobTemplate()); } - if (!getJobTemplateIdBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(jobTemplateId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, jobTemplateId_); } unknownFields.writeTo(output); @@ -332,13 +332,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getParentBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (jobTemplate_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getJobTemplate()); } - if (!getJobTemplateIdBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(jobTemplateId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, jobTemplateId_); } size += unknownFields.getSerializedSize(); diff --git a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/DeleteJobRequest.java b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/DeleteJobRequest.java index 33fb5ebd..e1c27b3f 100644 --- a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/DeleteJobRequest.java +++ b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/DeleteJobRequest.java @@ -180,7 +180,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } unknownFields.writeTo(output); @@ -192,7 +192,7 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } size += unknownFields.getSerializedSize(); diff --git a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/DeleteJobTemplateRequest.java b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/DeleteJobTemplateRequest.java index 6b3eb690..d48785a3 100644 --- a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/DeleteJobTemplateRequest.java +++ b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/DeleteJobTemplateRequest.java @@ -180,7 +180,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } unknownFields.writeTo(output); @@ -192,7 +192,7 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } size += unknownFields.getSerializedSize(); diff --git a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/EditAtom.java b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/EditAtom.java index 5d5a0a90..1878d738 100644 --- a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/EditAtom.java +++ b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/EditAtom.java @@ -391,7 +391,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getKeyBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, key_); } for (int i = 0; i < inputs_.size(); i++) { @@ -412,7 +412,7 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getKeyBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, key_); } { diff --git a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/ElementaryStream.java b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/ElementaryStream.java index d6cbabae..4d2ec77b 100644 --- a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/ElementaryStream.java +++ b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/ElementaryStream.java @@ -451,7 +451,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeMessage( 3, (com.google.cloud.video.transcoder.v1beta1.TextStream) elementaryStream_); } - if (!getKeyBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, key_); } unknownFields.writeTo(output); @@ -478,7 +478,7 @@ public int getSerializedSize() { com.google.protobuf.CodedOutputStream.computeMessageSize( 3, (com.google.cloud.video.transcoder.v1beta1.TextStream) elementaryStream_); } - if (!getKeyBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, key_); } size += unknownFields.getSerializedSize(); diff --git a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/Encryption.java b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/Encryption.java index a8e0fe06..b116f742 100644 --- a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/Encryption.java +++ b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/Encryption.java @@ -381,7 +381,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getKeyUriBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(keyUri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, keyUri_); } unknownFields.writeTo(output); @@ -393,7 +393,7 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getKeyUriBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(keyUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, keyUri_); } size += unknownFields.getSerializedSize(); @@ -1059,7 +1059,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getKeyUriBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(keyUri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, keyUri_); } unknownFields.writeTo(output); @@ -1071,7 +1071,7 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getKeyUriBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(keyUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, keyUri_); } size += unknownFields.getSerializedSize(); @@ -1839,10 +1839,10 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getKeyIdBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(keyId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, keyId_); } - if (!getSchemeBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(scheme_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, scheme_); } unknownFields.writeTo(output); @@ -1854,10 +1854,10 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getKeyIdBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(keyId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, keyId_); } - if (!getSchemeBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(scheme_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, scheme_); } size += unknownFields.getSerializedSize(); @@ -2809,10 +2809,10 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getKeyBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, key_); } - if (!getIvBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(iv_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, iv_); } if (encryptionModeCase_ == 3) { @@ -2841,10 +2841,10 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getKeyBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, key_); } - if (!getIvBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(iv_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, iv_); } if (encryptionModeCase_ == 3) { diff --git a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/FailureDetail.java b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/FailureDetail.java index 9fa94588..5067e3ea 100644 --- a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/FailureDetail.java +++ b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/FailureDetail.java @@ -174,7 +174,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getDescriptionBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, description_); } unknownFields.writeTo(output); @@ -186,7 +186,7 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getDescriptionBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, description_); } size += unknownFields.getSerializedSize(); diff --git a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/GetJobRequest.java b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/GetJobRequest.java index 4cdc1cbe..773d05db 100644 --- a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/GetJobRequest.java +++ b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/GetJobRequest.java @@ -180,7 +180,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } unknownFields.writeTo(output); @@ -192,7 +192,7 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } size += unknownFields.getSerializedSize(); diff --git a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/GetJobTemplateRequest.java b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/GetJobTemplateRequest.java index a657ca71..6ed32510 100644 --- a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/GetJobTemplateRequest.java +++ b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/GetJobTemplateRequest.java @@ -182,7 +182,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } unknownFields.writeTo(output); @@ -194,7 +194,7 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } size += unknownFields.getSerializedSize(); 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 4c83aa4d..5c64557c 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 @@ -307,10 +307,10 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getKeyBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, key_); } - if (!getUriBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, uri_); } if (preprocessingConfig_ != null) { @@ -325,10 +325,10 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getKeyBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, key_); } - if (!getUriBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, uri_); } if (preprocessingConfig_ != null) { 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 24d3bf10..ac32f45b 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 @@ -758,10 +758,10 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getHlsBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(hls_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, hls_); } - if (!getDashBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dash_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, dash_); } unknownFields.writeTo(output); @@ -773,10 +773,10 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getHlsBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(hls_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, hls_); } - if (!getDashBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dash_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, dash_); } size += unknownFields.getSerializedSize(); @@ -2200,13 +2200,13 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (!getInputUriBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inputUri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, inputUri_); } - if (!getOutputUriBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(outputUri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, outputUri_); } if (jobConfigCase_ == 4) { @@ -2230,7 +2230,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (progress_ != null) { output.writeMessage(9, getProgress()); } - if (!getFailureReasonBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(failureReason_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 10, failureReason_); } for (int i = 0; i < failureDetails_.size(); i++) { @@ -2257,13 +2257,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (!getInputUriBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inputUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, inputUri_); } - if (!getOutputUriBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(outputUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, outputUri_); } if (jobConfigCase_ == 4) { @@ -2289,7 +2289,7 @@ public int getSerializedSize() { if (progress_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getProgress()); } - if (!getFailureReasonBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(failureReason_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, failureReason_); } for (int i = 0; i < failureDetails_.size(); i++) { diff --git a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/JobTemplate.java b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/JobTemplate.java index f8c14d97..f511f701 100644 --- a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/JobTemplate.java +++ b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/JobTemplate.java @@ -243,7 +243,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (config_ != null) { @@ -258,7 +258,7 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (config_ != null) { diff --git a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/ListJobTemplatesRequest.java b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/ListJobTemplatesRequest.java index 573dc772..2bb8cb29 100644 --- a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/ListJobTemplatesRequest.java +++ b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/ListJobTemplatesRequest.java @@ -262,13 +262,13 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getParentBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } if (pageSize_ != 0) { output.writeInt32(2, pageSize_); } - if (!getPageTokenBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_); } unknownFields.writeTo(output); @@ -280,13 +280,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getParentBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } - if (!getPageTokenBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); } size += unknownFields.getSerializedSize(); diff --git a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/ListJobTemplatesResponse.java b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/ListJobTemplatesResponse.java index ae33a09a..2f0f4e23 100644 --- a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/ListJobTemplatesResponse.java +++ b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/ListJobTemplatesResponse.java @@ -267,7 +267,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < jobTemplates_.size(); i++) { output.writeMessage(1, jobTemplates_.get(i)); } - if (!getNextPageTokenBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); } unknownFields.writeTo(output); @@ -282,7 +282,7 @@ public int getSerializedSize() { for (int i = 0; i < jobTemplates_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, jobTemplates_.get(i)); } - if (!getNextPageTokenBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); } size += unknownFields.getSerializedSize(); diff --git a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/ListJobsRequest.java b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/ListJobsRequest.java index e44d103b..e8d5a9a4 100644 --- a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/ListJobsRequest.java +++ b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/ListJobsRequest.java @@ -261,13 +261,13 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getParentBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } if (pageSize_ != 0) { output.writeInt32(2, pageSize_); } - if (!getPageTokenBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_); } unknownFields.writeTo(output); @@ -279,13 +279,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getParentBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } - if (!getPageTokenBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); } size += unknownFields.getSerializedSize(); diff --git a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/ListJobsResponse.java b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/ListJobsResponse.java index a8a9abe4..cb0ad905 100644 --- a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/ListJobsResponse.java +++ b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/ListJobsResponse.java @@ -262,7 +262,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < jobs_.size(); i++) { output.writeMessage(1, jobs_.get(i)); } - if (!getNextPageTokenBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); } unknownFields.writeTo(output); @@ -277,7 +277,7 @@ public int getSerializedSize() { for (int i = 0; i < jobs_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, jobs_.get(i)); } - if (!getNextPageTokenBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); } size += unknownFields.getSerializedSize(); diff --git a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/Manifest.java b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/Manifest.java index ef9330c2..8d8daece 100644 --- a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/Manifest.java +++ b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/Manifest.java @@ -473,7 +473,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getFileNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fileName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, fileName_); } if (type_ @@ -493,7 +493,7 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getFileNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fileName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, fileName_); } if (type_ diff --git a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/MuxStream.java b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/MuxStream.java index c4fb6f75..d5f0b700 100644 --- a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/MuxStream.java +++ b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/MuxStream.java @@ -513,13 +513,13 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getKeyBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, key_); } - if (!getFileNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fileName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, fileName_); } - if (!getContainerBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(container_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, container_); } for (int i = 0; i < elementaryStreams_.size(); i++) { @@ -540,13 +540,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getKeyBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, key_); } - if (!getFileNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fileName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, fileName_); } - if (!getContainerBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(container_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, container_); } { diff --git a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/Output.java b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/Output.java index aa8ddb57..27ed5d93 100644 --- a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/Output.java +++ b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/Output.java @@ -176,7 +176,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getUriBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uri_); } unknownFields.writeTo(output); @@ -188,7 +188,7 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getUriBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, uri_); } size += unknownFields.getSerializedSize(); 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 400730bb..95da81f7 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 @@ -1331,7 +1331,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getUriBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uri_); } if (resolution_ != null) { @@ -1349,7 +1349,7 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getUriBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, uri_); } if (resolution_ != null) { 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 b4c85e44..eca3954c 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 @@ -1261,7 +1261,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (strength_ != 0D) { output.writeDouble(1, strength_); } - if (!getTuneBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tune_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, tune_); } unknownFields.writeTo(output); @@ -1276,7 +1276,7 @@ public int getSerializedSize() { if (strength_ != 0D) { size += com.google.protobuf.CodedOutputStream.computeDoubleSize(1, strength_); } - if (!getTuneBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tune_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, tune_); } size += unknownFields.getSerializedSize(); diff --git a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/PubsubDestination.java b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/PubsubDestination.java index 56a72374..3ec29d8c 100644 --- a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/PubsubDestination.java +++ b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/PubsubDestination.java @@ -176,7 +176,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getTopicBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(topic_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, topic_); } unknownFields.writeTo(output); @@ -188,7 +188,7 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getTopicBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(topic_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, topic_); } size += unknownFields.getSerializedSize(); diff --git a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/SpriteSheet.java b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/SpriteSheet.java index c6cd452d..06924390 100644 --- a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/SpriteSheet.java +++ b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/SpriteSheet.java @@ -662,10 +662,10 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getFormatBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(format_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, format_); } - if (!getFilePrefixBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filePrefix_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, filePrefix_); } if (spriteWidthPixels_ != 0) { @@ -704,10 +704,10 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getFormatBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(format_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, format_); } - if (!getFilePrefixBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filePrefix_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, filePrefix_); } if (spriteWidthPixels_ != 0) { diff --git a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/TextStream.java b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/TextStream.java index c0e3a9d8..5fb54b0d 100644 --- a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/TextStream.java +++ b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/TextStream.java @@ -579,7 +579,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getKeyBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, key_); } if (track_ != 0) { @@ -594,7 +594,7 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getKeyBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, key_); } if (track_ != 0) { @@ -1293,7 +1293,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getKeyBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, key_); } for (int i = 0; i < inputs_.size(); i++) { @@ -1308,7 +1308,7 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getKeyBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, key_); } for (int i = 0; i < inputs_.size(); i++) { @@ -2463,10 +2463,10 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getCodecBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(codec_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, codec_); } - if (!getLanguageCodeBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(languageCode_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, languageCode_); } for (int i = 0; i < mapping_.size(); i++) { @@ -2481,10 +2481,10 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getCodecBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(codec_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, codec_); } - if (!getLanguageCodeBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(languageCode_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, languageCode_); } for (int i = 0; i < mapping_.size(); i++) { diff --git a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/VideoStream.java b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/VideoStream.java index d5bd78fd..046ac1b4 100644 --- a/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/VideoStream.java +++ b/proto-google-cloud-video-transcoder-v1beta1/src/main/java/com/google/cloud/video/transcoder/v1beta1/VideoStream.java @@ -1051,16 +1051,16 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getCodecBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(codec_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, codec_); } - if (!getProfileBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(profile_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, profile_); } - if (!getTuneBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tune_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, tune_); } - if (!getPresetBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(preset_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, preset_); } if (heightPixels_ != 0) { @@ -1069,13 +1069,13 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (widthPixels_ != 0) { output.writeInt32(6, widthPixels_); } - if (!getPixelFormatBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pixelFormat_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, pixelFormat_); } if (bitrateBps_ != 0) { output.writeInt32(8, bitrateBps_); } - if (!getRateControlModeBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(rateControlMode_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 9, rateControlMode_); } if (enableTwoPass_ != false) { @@ -1099,7 +1099,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (gopModeCase_ == 16) { output.writeMessage(16, (com.google.protobuf.Duration) gopMode_); } - if (!getEntropyCoderBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entropyCoder_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 17, entropyCoder_); } if (bPyramid_ != false) { @@ -1123,16 +1123,16 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getCodecBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(codec_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, codec_); } - if (!getProfileBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(profile_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, profile_); } - if (!getTuneBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tune_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, tune_); } - if (!getPresetBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(preset_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, preset_); } if (heightPixels_ != 0) { @@ -1141,13 +1141,13 @@ public int getSerializedSize() { if (widthPixels_ != 0) { size += com.google.protobuf.CodedOutputStream.computeInt32Size(6, widthPixels_); } - if (!getPixelFormatBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pixelFormat_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, pixelFormat_); } if (bitrateBps_ != 0) { size += com.google.protobuf.CodedOutputStream.computeInt32Size(8, bitrateBps_); } - if (!getRateControlModeBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(rateControlMode_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, rateControlMode_); } if (enableTwoPass_ != false) { @@ -1175,7 +1175,7 @@ public int getSerializedSize() { com.google.protobuf.CodedOutputStream.computeMessageSize( 16, (com.google.protobuf.Duration) gopMode_); } - if (!getEntropyCoderBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entropyCoder_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(17, entropyCoder_); } if (bPyramid_ != false) { diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index b906e03d..c635610f 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.4.0 + 0.4.1 diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 20e53136..f5aa7f8a 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -28,7 +28,7 @@ com.google.cloud google-cloud-video-transcoder - 0.4.1 + 0.4.2 diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index ab5d54b8..5127680c 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -28,7 +28,7 @@ com.google.cloud google-cloud-video-transcoder - 0.4.0 + 0.4.1 diff --git a/versions.txt b/versions.txt index f640435b..6efec7af 100644 --- a/versions.txt +++ b/versions.txt @@ -1,8 +1,8 @@ # Format: # module:released-version:current-version -google-cloud-video-transcoder:0.4.1:0.4.1 -grpc-google-cloud-video-transcoder-v1beta1:0.4.1:0.4.1 -grpc-google-cloud-video-transcoder-v1:0.4.1:0.4.1 -proto-google-cloud-video-transcoder-v1beta1:0.4.1:0.4.1 -proto-google-cloud-video-transcoder-v1:0.4.1:0.4.1 +google-cloud-video-transcoder:0.4.2:0.4.2 +grpc-google-cloud-video-transcoder-v1beta1:0.4.2:0.4.2 +grpc-google-cloud-video-transcoder-v1:0.4.2:0.4.2 +proto-google-cloud-video-transcoder-v1beta1:0.4.2:0.4.2 +proto-google-cloud-video-transcoder-v1:0.4.2:0.4.2