diff --git a/java-video-transcoder/README.md b/java-video-transcoder/README.md index 7904484e7a0d..9dc917b2d75b 100644 --- a/java-video-transcoder/README.md +++ b/java-video-transcoder/README.md @@ -14,28 +14,26 @@ Java idiomatic client for [Video Transcoder][product-docs]. If you are using Maven, add this to your pom.xml file: - ```xml com.google.cloud google-cloud-video-transcoder - 1.8.0 + 1.10.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-video-transcoder:1.8.0' +implementation 'com.google.cloud:google-cloud-video-transcoder:1.10.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-video-transcoder" % "1.8.0" +libraryDependencies += "com.google.cloud" % "google-cloud-video-transcoder" % "1.10.0" ``` - ## Authentication diff --git a/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/AudioStream.java b/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/AudioStream.java index 3703fa3fa13d..b877f21ac57c 100644 --- a/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/AudioStream.java +++ b/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/AudioStream.java @@ -41,6 +41,8 @@ private AudioStream() { codec_ = ""; channelLayout_ = com.google.protobuf.LazyStringArrayList.EMPTY; mapping_ = java.util.Collections.emptyList(); + languageCode_ = ""; + displayName_ = ""; } @java.lang.Override @@ -78,8 +80,8 @@ public interface AudioMappingOrBuilder * * *
-     * Required. The `EditAtom.key` that references the atom with audio inputs in the
-     * `Job.edit_list`.
+     * Required. The `EditAtom.key` that references the atom with audio inputs
+     * in the `Job.edit_list`.
      * 
* * string atom_key = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -91,8 +93,8 @@ public interface AudioMappingOrBuilder * * *
-     * Required. The `EditAtom.key` that references the atom with audio inputs in the
-     * `Job.edit_list`.
+     * Required. The `EditAtom.key` that references the atom with audio inputs
+     * in the `Job.edit_list`.
      * 
* * string atom_key = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -237,8 +239,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-     * Required. The `EditAtom.key` that references the atom with audio inputs in the
-     * `Job.edit_list`.
+     * Required. The `EditAtom.key` that references the atom with audio inputs
+     * in the `Job.edit_list`.
      * 
* * string atom_key = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -261,8 +263,8 @@ public java.lang.String getAtomKey() { * * *
-     * Required. The `EditAtom.key` that references the atom with audio inputs in the
-     * `Job.edit_list`.
+     * Required. The `EditAtom.key` that references the atom with audio inputs
+     * in the `Job.edit_list`.
      * 
* * string atom_key = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -878,8 +880,8 @@ public Builder mergeFrom( * * *
-       * Required. The `EditAtom.key` that references the atom with audio inputs in the
-       * `Job.edit_list`.
+       * Required. The `EditAtom.key` that references the atom with audio inputs
+       * in the `Job.edit_list`.
        * 
* * string atom_key = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -901,8 +903,8 @@ public java.lang.String getAtomKey() { * * *
-       * Required. The `EditAtom.key` that references the atom with audio inputs in the
-       * `Job.edit_list`.
+       * Required. The `EditAtom.key` that references the atom with audio inputs
+       * in the `Job.edit_list`.
        * 
* * string atom_key = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -924,8 +926,8 @@ public com.google.protobuf.ByteString getAtomKeyBytes() { * * *
-       * Required. The `EditAtom.key` that references the atom with audio inputs in the
-       * `Job.edit_list`.
+       * Required. The `EditAtom.key` that references the atom with audio inputs
+       * in the `Job.edit_list`.
        * 
* * string atom_key = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -946,8 +948,8 @@ public Builder setAtomKey(java.lang.String value) { * * *
-       * Required. The `EditAtom.key` that references the atom with audio inputs in the
-       * `Job.edit_list`.
+       * Required. The `EditAtom.key` that references the atom with audio inputs
+       * in the `Job.edit_list`.
        * 
* * string atom_key = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -964,8 +966,8 @@ public Builder clearAtomKey() { * * *
-       * Required. The `EditAtom.key` that references the atom with audio inputs in the
-       * `Job.edit_list`.
+       * Required. The `EditAtom.key` that references the atom with audio inputs
+       * in the `Job.edit_list`.
        * 
* * string atom_key = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -1443,7 +1445,8 @@ public com.google.protobuf.ByteString getCodecBytes() { * * *
-   * Required. Audio bitrate in bits per second. Must be between 1 and 10,000,000.
+   * Required. Audio bitrate in bits per second. Must be between 1 and
+   * 10,000,000.
    * 
* * int32 bitrate_bps = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -1664,6 +1667,114 @@ public int getSampleRateHertz() { return sampleRateHertz_; } + public static final int LANGUAGE_CODE_FIELD_NUMBER = 7; + + @SuppressWarnings("serial") + private volatile java.lang.Object languageCode_ = ""; + /** + * + * + *
+   * The BCP-47 language code, such as `en-US` or `sr-Latn`. For more
+   * information, see
+   * https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
+   * 
+ * + * string language_code = 7; + * + * @return The languageCode. + */ + @java.lang.Override + public java.lang.String getLanguageCode() { + java.lang.Object ref = languageCode_; + 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(); + languageCode_ = s; + return s; + } + } + /** + * + * + *
+   * The BCP-47 language code, such as `en-US` or `sr-Latn`. For more
+   * information, see
+   * https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
+   * 
+ * + * string language_code = 7; + * + * @return The bytes for languageCode. + */ + @java.lang.Override + public com.google.protobuf.ByteString getLanguageCodeBytes() { + java.lang.Object ref = languageCode_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + languageCode_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DISPLAY_NAME_FIELD_NUMBER = 8; + + @SuppressWarnings("serial") + private volatile java.lang.Object displayName_ = ""; + /** + * + * + *
+   * The name for this particular audio stream that
+   * will be added to the HLS/DASH manifest.
+   * 
+ * + * string display_name = 8; + * + * @return The displayName. + */ + @java.lang.Override + public java.lang.String getDisplayName() { + java.lang.Object ref = displayName_; + 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(); + displayName_ = s; + return s; + } + } + /** + * + * + *
+   * The name for this particular audio stream that
+   * will be added to the HLS/DASH manifest.
+   * 
+ * + * string display_name = 8; + * + * @return The bytes for displayName. + */ + @java.lang.Override + public com.google.protobuf.ByteString getDisplayNameBytes() { + java.lang.Object ref = displayName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + displayName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -1696,6 +1807,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (sampleRateHertz_ != 0) { output.writeInt32(6, sampleRateHertz_); } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(languageCode_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 7, languageCode_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 8, displayName_); + } getUnknownFields().writeTo(output); } @@ -1728,6 +1845,12 @@ public int getSerializedSize() { if (sampleRateHertz_ != 0) { size += com.google.protobuf.CodedOutputStream.computeInt32Size(6, sampleRateHertz_); } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(languageCode_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, languageCode_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, displayName_); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -1750,6 +1873,8 @@ public boolean equals(final java.lang.Object obj) { if (!getChannelLayoutList().equals(other.getChannelLayoutList())) return false; if (!getMappingList().equals(other.getMappingList())) return false; if (getSampleRateHertz() != other.getSampleRateHertz()) return false; + if (!getLanguageCode().equals(other.getLanguageCode())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1777,6 +1902,10 @@ public int hashCode() { } hash = (37 * hash) + SAMPLE_RATE_HERTZ_FIELD_NUMBER; hash = (53 * hash) + getSampleRateHertz(); + hash = (37 * hash) + LANGUAGE_CODE_FIELD_NUMBER; + hash = (53 * hash) + getLanguageCode().hashCode(); + hash = (37 * hash) + DISPLAY_NAME_FIELD_NUMBER; + hash = (53 * hash) + getDisplayName().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -1929,6 +2058,8 @@ public Builder clear() { } bitField0_ = (bitField0_ & ~0x00000010); sampleRateHertz_ = 0; + languageCode_ = ""; + displayName_ = ""; return this; } @@ -1996,6 +2127,12 @@ private void buildPartial0(com.google.cloud.video.transcoder.v1.AudioStream resu if (((from_bitField0_ & 0x00000020) != 0)) { result.sampleRateHertz_ = sampleRateHertz_; } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.languageCode_ = languageCode_; + } + if (((from_bitField0_ & 0x00000080) != 0)) { + result.displayName_ = displayName_; + } } @java.lang.Override @@ -2095,6 +2232,16 @@ public Builder mergeFrom(com.google.cloud.video.transcoder.v1.AudioStream other) if (other.getSampleRateHertz() != 0) { setSampleRateHertz(other.getSampleRateHertz()); } + if (!other.getLanguageCode().isEmpty()) { + languageCode_ = other.languageCode_; + bitField0_ |= 0x00000040; + onChanged(); + } + if (!other.getDisplayName().isEmpty()) { + displayName_ = other.displayName_; + bitField0_ |= 0x00000080; + onChanged(); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -2166,6 +2313,18 @@ public Builder mergeFrom( bitField0_ |= 0x00000020; break; } // case 48 + case 58: + { + languageCode_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 58 + case 66: + { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000080; + break; + } // case 66 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -2331,7 +2490,8 @@ public Builder setCodecBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. Audio bitrate in bits per second. Must be between 1 and 10,000,000.
+     * Required. Audio bitrate in bits per second. Must be between 1 and
+     * 10,000,000.
      * 
* * int32 bitrate_bps = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -2346,7 +2506,8 @@ public int getBitrateBps() { * * *
-     * Required. Audio bitrate in bits per second. Must be between 1 and 10,000,000.
+     * Required. Audio bitrate in bits per second. Must be between 1 and
+     * 10,000,000.
      * 
* * int32 bitrate_bps = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -2365,7 +2526,8 @@ public Builder setBitrateBps(int value) { * * *
-     * Required. Audio bitrate in bits per second. Must be between 1 and 10,000,000.
+     * Required. Audio bitrate in bits per second. Must be between 1 and
+     * 10,000,000.
      * 
* * int32 bitrate_bps = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -3100,6 +3262,233 @@ public Builder clearSampleRateHertz() { return this; } + private java.lang.Object languageCode_ = ""; + /** + * + * + *
+     * The BCP-47 language code, such as `en-US` or `sr-Latn`. For more
+     * information, see
+     * https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
+     * 
+ * + * string language_code = 7; + * + * @return The languageCode. + */ + public java.lang.String getLanguageCode() { + java.lang.Object ref = languageCode_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + languageCode_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The BCP-47 language code, such as `en-US` or `sr-Latn`. For more
+     * information, see
+     * https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
+     * 
+ * + * string language_code = 7; + * + * @return The bytes for languageCode. + */ + public com.google.protobuf.ByteString getLanguageCodeBytes() { + java.lang.Object ref = languageCode_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + languageCode_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The BCP-47 language code, such as `en-US` or `sr-Latn`. For more
+     * information, see
+     * https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
+     * 
+ * + * string language_code = 7; + * + * @param value The languageCode to set. + * @return This builder for chaining. + */ + public Builder setLanguageCode(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + languageCode_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * + * + *
+     * The BCP-47 language code, such as `en-US` or `sr-Latn`. For more
+     * information, see
+     * https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
+     * 
+ * + * string language_code = 7; + * + * @return This builder for chaining. + */ + public Builder clearLanguageCode() { + languageCode_ = getDefaultInstance().getLanguageCode(); + bitField0_ = (bitField0_ & ~0x00000040); + onChanged(); + return this; + } + /** + * + * + *
+     * The BCP-47 language code, such as `en-US` or `sr-Latn`. For more
+     * information, see
+     * https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
+     * 
+ * + * string language_code = 7; + * + * @param value The bytes for languageCode to set. + * @return This builder for chaining. + */ + public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + languageCode_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + + private java.lang.Object displayName_ = ""; + /** + * + * + *
+     * The name for this particular audio stream that
+     * will be added to the HLS/DASH manifest.
+     * 
+ * + * string display_name = 8; + * + * @return The displayName. + */ + public java.lang.String getDisplayName() { + java.lang.Object ref = displayName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + displayName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The name for this particular audio stream that
+     * will be added to the HLS/DASH manifest.
+     * 
+ * + * string display_name = 8; + * + * @return The bytes for displayName. + */ + public com.google.protobuf.ByteString getDisplayNameBytes() { + java.lang.Object ref = displayName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + displayName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The name for this particular audio stream that
+     * will be added to the HLS/DASH manifest.
+     * 
+ * + * string display_name = 8; + * + * @param value The displayName to set. + * @return This builder for chaining. + */ + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + displayName_ = value; + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + * + * + *
+     * The name for this particular audio stream that
+     * will be added to the HLS/DASH manifest.
+     * 
+ * + * string display_name = 8; + * + * @return This builder for chaining. + */ + public Builder clearDisplayName() { + displayName_ = getDefaultInstance().getDisplayName(); + bitField0_ = (bitField0_ & ~0x00000080); + onChanged(); + return this; + } + /** + * + * + *
+     * The name for this particular audio stream that
+     * will be added to the HLS/DASH manifest.
+     * 
+ * + * string display_name = 8; + * + * @param value The bytes for displayName to set. + * @return This builder for chaining. + */ + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/AudioStreamOrBuilder.java b/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/AudioStreamOrBuilder.java index a5462f6e87dd..6fa7d03e1840 100644 --- a/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/AudioStreamOrBuilder.java +++ b/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/AudioStreamOrBuilder.java @@ -66,7 +66,8 @@ public interface AudioStreamOrBuilder * * *
-   * Required. Audio bitrate in bits per second. Must be between 1 and 10,000,000.
+   * Required. Audio bitrate in bits per second. Must be between 1 and
+   * 10,000,000.
    * 
* * int32 bitrate_bps = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -240,4 +241,60 @@ com.google.cloud.video.transcoder.v1.AudioStream.AudioMappingOrBuilder getMappin * @return The sampleRateHertz. */ int getSampleRateHertz(); + + /** + * + * + *
+   * The BCP-47 language code, such as `en-US` or `sr-Latn`. For more
+   * information, see
+   * https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
+   * 
+ * + * string language_code = 7; + * + * @return The languageCode. + */ + java.lang.String getLanguageCode(); + /** + * + * + *
+   * The BCP-47 language code, such as `en-US` or `sr-Latn`. For more
+   * information, see
+   * https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
+   * 
+ * + * string language_code = 7; + * + * @return The bytes for languageCode. + */ + com.google.protobuf.ByteString getLanguageCodeBytes(); + + /** + * + * + *
+   * The name for this particular audio stream that
+   * will be added to the HLS/DASH manifest.
+   * 
+ * + * string display_name = 8; + * + * @return The displayName. + */ + java.lang.String getDisplayName(); + /** + * + * + *
+   * The name for this particular audio stream that
+   * will be added to the HLS/DASH manifest.
+   * 
+ * + * string display_name = 8; + * + * @return The bytes for displayName. + */ + com.google.protobuf.ByteString getDisplayNameBytes(); } diff --git a/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/CreateJobTemplateRequest.java b/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/CreateJobTemplateRequest.java index cadd6e52cd11..1132696b0f7d 100644 --- a/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/CreateJobTemplateRequest.java +++ b/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/CreateJobTemplateRequest.java @@ -189,8 +189,8 @@ public com.google.cloud.video.transcoder.v1.JobTemplateOrBuilder getJobTemplateO * * *
-   * Required. The ID to use for the job template, which will become the final component
-   * of the job template's resource name.
+   * Required. The ID to use for the job template, which will become the final
+   * component of the job template's resource name.
    * This value should be 4-63 characters, and valid characters must match the
    * regular expression `[a-zA-Z][a-zA-Z0-9_-]*`.
    * 
@@ -215,8 +215,8 @@ public java.lang.String getJobTemplateId() { * * *
-   * Required. The ID to use for the job template, which will become the final component
-   * of the job template's resource name.
+   * Required. The ID to use for the job template, which will become the final
+   * component of the job template's resource name.
    * This value should be 4-63 characters, and valid characters must match the
    * regular expression `[a-zA-Z][a-zA-Z0-9_-]*`.
    * 
@@ -969,8 +969,8 @@ public com.google.cloud.video.transcoder.v1.JobTemplateOrBuilder getJobTemplateO * * *
-     * Required. The ID to use for the job template, which will become the final component
-     * of the job template's resource name.
+     * Required. The ID to use for the job template, which will become the final
+     * component of the job template's resource name.
      * This value should be 4-63 characters, and valid characters must match the
      * regular expression `[a-zA-Z][a-zA-Z0-9_-]*`.
      * 
@@ -994,8 +994,8 @@ public java.lang.String getJobTemplateId() { * * *
-     * Required. The ID to use for the job template, which will become the final component
-     * of the job template's resource name.
+     * Required. The ID to use for the job template, which will become the final
+     * component of the job template's resource name.
      * This value should be 4-63 characters, and valid characters must match the
      * regular expression `[a-zA-Z][a-zA-Z0-9_-]*`.
      * 
@@ -1019,8 +1019,8 @@ public com.google.protobuf.ByteString getJobTemplateIdBytes() { * * *
-     * Required. The ID to use for the job template, which will become the final component
-     * of the job template's resource name.
+     * Required. The ID to use for the job template, which will become the final
+     * component of the job template's resource name.
      * This value should be 4-63 characters, and valid characters must match the
      * regular expression `[a-zA-Z][a-zA-Z0-9_-]*`.
      * 
@@ -1043,8 +1043,8 @@ public Builder setJobTemplateId(java.lang.String value) { * * *
-     * Required. The ID to use for the job template, which will become the final component
-     * of the job template's resource name.
+     * Required. The ID to use for the job template, which will become the final
+     * component of the job template's resource name.
      * This value should be 4-63 characters, and valid characters must match the
      * regular expression `[a-zA-Z][a-zA-Z0-9_-]*`.
      * 
@@ -1063,8 +1063,8 @@ public Builder clearJobTemplateId() { * * *
-     * Required. The ID to use for the job template, which will become the final component
-     * of the job template's resource name.
+     * Required. The ID to use for the job template, which will become the final
+     * component of the job template's resource name.
      * This value should be 4-63 characters, and valid characters must match the
      * regular expression `[a-zA-Z][a-zA-Z0-9_-]*`.
      * 
diff --git a/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/CreateJobTemplateRequestOrBuilder.java b/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/CreateJobTemplateRequestOrBuilder.java index e81ea78aa957..d750f5558f65 100644 --- a/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/CreateJobTemplateRequestOrBuilder.java +++ b/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/CreateJobTemplateRequestOrBuilder.java @@ -99,8 +99,8 @@ public interface CreateJobTemplateRequestOrBuilder * * *
-   * Required. The ID to use for the job template, which will become the final component
-   * of the job template's resource name.
+   * Required. The ID to use for the job template, which will become the final
+   * component of the job template's resource name.
    * This value should be 4-63 characters, and valid characters must match the
    * regular expression `[a-zA-Z][a-zA-Z0-9_-]*`.
    * 
@@ -114,8 +114,8 @@ public interface CreateJobTemplateRequestOrBuilder * * *
-   * Required. The ID to use for the job template, which will become the final component
-   * of the job template's resource name.
+   * Required. The ID to use for the job template, which will become the final
+   * component of the job template's resource name.
    * This value should be 4-63 characters, and valid characters must match the
    * regular expression `[a-zA-Z][a-zA-Z0-9_-]*`.
    * 
diff --git a/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/Job.java b/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/Job.java index c91564eb2b3d..6fe470cb94e7 100644 --- a/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/Job.java +++ b/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/Job.java @@ -394,11 +394,11 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-   * Input only. Specify the `input_uri` to populate empty `uri` fields in each element of
-   * `Job.config.inputs` or `JobTemplate.config.inputs` when using template.
-   * URI of the media. Input files must be at least 5 seconds in duration and
-   * stored in Cloud Storage (for example, `gs://bucket/inputs/file.mp4`). See
-   * [Supported input and output
+   * Input only. Specify the `input_uri` to populate empty `uri` fields in each
+   * element of `Job.config.inputs` or `JobTemplate.config.inputs` when using
+   * template. URI of the media. Input files must be at least 5 seconds in
+   * duration and stored in Cloud Storage (for example,
+   * `gs://bucket/inputs/file.mp4`). See [Supported input and output
    * formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats).
    * 
* @@ -422,11 +422,11 @@ public java.lang.String getInputUri() { * * *
-   * Input only. Specify the `input_uri` to populate empty `uri` fields in each element of
-   * `Job.config.inputs` or `JobTemplate.config.inputs` when using template.
-   * URI of the media. Input files must be at least 5 seconds in duration and
-   * stored in Cloud Storage (for example, `gs://bucket/inputs/file.mp4`). See
-   * [Supported input and output
+   * Input only. Specify the `input_uri` to populate empty `uri` fields in each
+   * element of `Job.config.inputs` or `JobTemplate.config.inputs` when using
+   * template. URI of the media. Input files must be at least 5 seconds in
+   * duration and stored in Cloud Storage (for example,
+   * `gs://bucket/inputs/file.mp4`). See [Supported input and output
    * formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats).
    * 
* @@ -455,10 +455,10 @@ public com.google.protobuf.ByteString getInputUriBytes() { * * *
-   * Input only. Specify the `output_uri` to populate an empty `Job.config.output.uri` or
-   * `JobTemplate.config.output.uri` when using template.
-   * URI for the output file(s). For example, `gs://my-bucket/outputs/`. See
-   * [Supported input and output
+   * Input only. Specify the `output_uri` to populate an empty
+   * `Job.config.output.uri` or `JobTemplate.config.output.uri` when using
+   * template. URI for the output file(s). For example,
+   * `gs://my-bucket/outputs/`. See [Supported input and output
    * formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats).
    * 
* @@ -482,10 +482,10 @@ public java.lang.String getOutputUri() { * * *
-   * Input only. Specify the `output_uri` to populate an empty `Job.config.output.uri` or
-   * `JobTemplate.config.output.uri` when using template.
-   * URI for the output file(s). For example, `gs://my-bucket/outputs/`. See
-   * [Supported input and output
+   * Input only. Specify the `output_uri` to populate an empty
+   * `Job.config.output.uri` or `JobTemplate.config.output.uri` when using
+   * template. URI for the output file(s). For example,
+   * `gs://my-bucket/outputs/`. See [Supported input and output
    * formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats).
    * 
* @@ -511,8 +511,8 @@ public com.google.protobuf.ByteString getOutputUriBytes() { * * *
-   * Input only. Specify the `template_id` to use for populating `Job.config`. The default
-   * is `preset/web-hd`.
+   * Input only. Specify the `template_id` to use for populating `Job.config`.
+   * The default is `preset/web-hd`.
    * Preset Transcoder templates:
    * - `preset/{preset_id}`
    * - User defined JobTemplate:
@@ -530,8 +530,8 @@ public boolean hasTemplateId() {
    *
    *
    * 
-   * Input only. Specify the `template_id` to use for populating `Job.config`. The default
-   * is `preset/web-hd`.
+   * Input only. Specify the `template_id` to use for populating `Job.config`.
+   * The default is `preset/web-hd`.
    * Preset Transcoder templates:
    * - `preset/{preset_id}`
    * - User defined JobTemplate:
@@ -562,8 +562,8 @@ public java.lang.String getTemplateId() {
    *
    *
    * 
-   * Input only. Specify the `template_id` to use for populating `Job.config`. The default
-   * is `preset/web-hd`.
+   * Input only. Specify the `template_id` to use for populating `Job.config`.
+   * The default is `preset/web-hd`.
    * Preset Transcoder templates:
    * - `preset/{preset_id}`
    * - User defined JobTemplate:
@@ -1833,11 +1833,11 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      *
      *
      * 
-     * Input only. Specify the `input_uri` to populate empty `uri` fields in each element of
-     * `Job.config.inputs` or `JobTemplate.config.inputs` when using template.
-     * URI of the media. Input files must be at least 5 seconds in duration and
-     * stored in Cloud Storage (for example, `gs://bucket/inputs/file.mp4`). See
-     * [Supported input and output
+     * Input only. Specify the `input_uri` to populate empty `uri` fields in each
+     * element of `Job.config.inputs` or `JobTemplate.config.inputs` when using
+     * template. URI of the media. Input files must be at least 5 seconds in
+     * duration and stored in Cloud Storage (for example,
+     * `gs://bucket/inputs/file.mp4`). See [Supported input and output
      * formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats).
      * 
* @@ -1860,11 +1860,11 @@ public java.lang.String getInputUri() { * * *
-     * Input only. Specify the `input_uri` to populate empty `uri` fields in each element of
-     * `Job.config.inputs` or `JobTemplate.config.inputs` when using template.
-     * URI of the media. Input files must be at least 5 seconds in duration and
-     * stored in Cloud Storage (for example, `gs://bucket/inputs/file.mp4`). See
-     * [Supported input and output
+     * Input only. Specify the `input_uri` to populate empty `uri` fields in each
+     * element of `Job.config.inputs` or `JobTemplate.config.inputs` when using
+     * template. URI of the media. Input files must be at least 5 seconds in
+     * duration and stored in Cloud Storage (for example,
+     * `gs://bucket/inputs/file.mp4`). See [Supported input and output
      * formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats).
      * 
* @@ -1887,11 +1887,11 @@ public com.google.protobuf.ByteString getInputUriBytes() { * * *
-     * Input only. Specify the `input_uri` to populate empty `uri` fields in each element of
-     * `Job.config.inputs` or `JobTemplate.config.inputs` when using template.
-     * URI of the media. Input files must be at least 5 seconds in duration and
-     * stored in Cloud Storage (for example, `gs://bucket/inputs/file.mp4`). See
-     * [Supported input and output
+     * Input only. Specify the `input_uri` to populate empty `uri` fields in each
+     * element of `Job.config.inputs` or `JobTemplate.config.inputs` when using
+     * template. URI of the media. Input files must be at least 5 seconds in
+     * duration and stored in Cloud Storage (for example,
+     * `gs://bucket/inputs/file.mp4`). See [Supported input and output
      * formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats).
      * 
* @@ -1913,11 +1913,11 @@ public Builder setInputUri(java.lang.String value) { * * *
-     * Input only. Specify the `input_uri` to populate empty `uri` fields in each element of
-     * `Job.config.inputs` or `JobTemplate.config.inputs` when using template.
-     * URI of the media. Input files must be at least 5 seconds in duration and
-     * stored in Cloud Storage (for example, `gs://bucket/inputs/file.mp4`). See
-     * [Supported input and output
+     * Input only. Specify the `input_uri` to populate empty `uri` fields in each
+     * element of `Job.config.inputs` or `JobTemplate.config.inputs` when using
+     * template. URI of the media. Input files must be at least 5 seconds in
+     * duration and stored in Cloud Storage (for example,
+     * `gs://bucket/inputs/file.mp4`). See [Supported input and output
      * formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats).
      * 
* @@ -1935,11 +1935,11 @@ public Builder clearInputUri() { * * *
-     * Input only. Specify the `input_uri` to populate empty `uri` fields in each element of
-     * `Job.config.inputs` or `JobTemplate.config.inputs` when using template.
-     * URI of the media. Input files must be at least 5 seconds in duration and
-     * stored in Cloud Storage (for example, `gs://bucket/inputs/file.mp4`). See
-     * [Supported input and output
+     * Input only. Specify the `input_uri` to populate empty `uri` fields in each
+     * element of `Job.config.inputs` or `JobTemplate.config.inputs` when using
+     * template. URI of the media. Input files must be at least 5 seconds in
+     * duration and stored in Cloud Storage (for example,
+     * `gs://bucket/inputs/file.mp4`). See [Supported input and output
      * formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats).
      * 
* @@ -1964,10 +1964,10 @@ public Builder setInputUriBytes(com.google.protobuf.ByteString value) { * * *
-     * Input only. Specify the `output_uri` to populate an empty `Job.config.output.uri` or
-     * `JobTemplate.config.output.uri` when using template.
-     * URI for the output file(s). For example, `gs://my-bucket/outputs/`. See
-     * [Supported input and output
+     * Input only. Specify the `output_uri` to populate an empty
+     * `Job.config.output.uri` or `JobTemplate.config.output.uri` when using
+     * template. URI for the output file(s). For example,
+     * `gs://my-bucket/outputs/`. See [Supported input and output
      * formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats).
      * 
* @@ -1990,10 +1990,10 @@ public java.lang.String getOutputUri() { * * *
-     * Input only. Specify the `output_uri` to populate an empty `Job.config.output.uri` or
-     * `JobTemplate.config.output.uri` when using template.
-     * URI for the output file(s). For example, `gs://my-bucket/outputs/`. See
-     * [Supported input and output
+     * Input only. Specify the `output_uri` to populate an empty
+     * `Job.config.output.uri` or `JobTemplate.config.output.uri` when using
+     * template. URI for the output file(s). For example,
+     * `gs://my-bucket/outputs/`. See [Supported input and output
      * formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats).
      * 
* @@ -2016,10 +2016,10 @@ public com.google.protobuf.ByteString getOutputUriBytes() { * * *
-     * Input only. Specify the `output_uri` to populate an empty `Job.config.output.uri` or
-     * `JobTemplate.config.output.uri` when using template.
-     * URI for the output file(s). For example, `gs://my-bucket/outputs/`. See
-     * [Supported input and output
+     * Input only. Specify the `output_uri` to populate an empty
+     * `Job.config.output.uri` or `JobTemplate.config.output.uri` when using
+     * template. URI for the output file(s). For example,
+     * `gs://my-bucket/outputs/`. See [Supported input and output
      * formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats).
      * 
* @@ -2041,10 +2041,10 @@ public Builder setOutputUri(java.lang.String value) { * * *
-     * Input only. Specify the `output_uri` to populate an empty `Job.config.output.uri` or
-     * `JobTemplate.config.output.uri` when using template.
-     * URI for the output file(s). For example, `gs://my-bucket/outputs/`. See
-     * [Supported input and output
+     * Input only. Specify the `output_uri` to populate an empty
+     * `Job.config.output.uri` or `JobTemplate.config.output.uri` when using
+     * template. URI for the output file(s). For example,
+     * `gs://my-bucket/outputs/`. See [Supported input and output
      * formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats).
      * 
* @@ -2062,10 +2062,10 @@ public Builder clearOutputUri() { * * *
-     * Input only. Specify the `output_uri` to populate an empty `Job.config.output.uri` or
-     * `JobTemplate.config.output.uri` when using template.
-     * URI for the output file(s). For example, `gs://my-bucket/outputs/`. See
-     * [Supported input and output
+     * Input only. Specify the `output_uri` to populate an empty
+     * `Job.config.output.uri` or `JobTemplate.config.output.uri` when using
+     * template. URI for the output file(s). For example,
+     * `gs://my-bucket/outputs/`. See [Supported input and output
      * formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats).
      * 
* @@ -2089,8 +2089,8 @@ public Builder setOutputUriBytes(com.google.protobuf.ByteString value) { * * *
-     * Input only. Specify the `template_id` to use for populating `Job.config`. The default
-     * is `preset/web-hd`.
+     * Input only. Specify the `template_id` to use for populating `Job.config`.
+     * The default is `preset/web-hd`.
      * Preset Transcoder templates:
      * - `preset/{preset_id}`
      * - User defined JobTemplate:
@@ -2109,8 +2109,8 @@ public boolean hasTemplateId() {
      *
      *
      * 
-     * Input only. Specify the `template_id` to use for populating `Job.config`. The default
-     * is `preset/web-hd`.
+     * Input only. Specify the `template_id` to use for populating `Job.config`.
+     * The default is `preset/web-hd`.
      * Preset Transcoder templates:
      * - `preset/{preset_id}`
      * - User defined JobTemplate:
@@ -2142,8 +2142,8 @@ public java.lang.String getTemplateId() {
      *
      *
      * 
-     * Input only. Specify the `template_id` to use for populating `Job.config`. The default
-     * is `preset/web-hd`.
+     * Input only. Specify the `template_id` to use for populating `Job.config`.
+     * The default is `preset/web-hd`.
      * Preset Transcoder templates:
      * - `preset/{preset_id}`
      * - User defined JobTemplate:
@@ -2175,8 +2175,8 @@ public com.google.protobuf.ByteString getTemplateIdBytes() {
      *
      *
      * 
-     * Input only. Specify the `template_id` to use for populating `Job.config`. The default
-     * is `preset/web-hd`.
+     * Input only. Specify the `template_id` to use for populating `Job.config`.
+     * The default is `preset/web-hd`.
      * Preset Transcoder templates:
      * - `preset/{preset_id}`
      * - User defined JobTemplate:
@@ -2201,8 +2201,8 @@ public Builder setTemplateId(java.lang.String value) {
      *
      *
      * 
-     * Input only. Specify the `template_id` to use for populating `Job.config`. The default
-     * is `preset/web-hd`.
+     * Input only. Specify the `template_id` to use for populating `Job.config`.
+     * The default is `preset/web-hd`.
      * Preset Transcoder templates:
      * - `preset/{preset_id}`
      * - User defined JobTemplate:
@@ -2225,8 +2225,8 @@ public Builder clearTemplateId() {
      *
      *
      * 
-     * Input only. Specify the `template_id` to use for populating `Job.config`. The default
-     * is `preset/web-hd`.
+     * Input only. Specify the `template_id` to use for populating `Job.config`.
+     * The default is `preset/web-hd`.
      * Preset Transcoder templates:
      * - `preset/{preset_id}`
      * - User defined JobTemplate:
diff --git a/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/JobOrBuilder.java b/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/JobOrBuilder.java
index 01c02648a525..4322d5858abc 100644
--- a/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/JobOrBuilder.java
+++ b/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/JobOrBuilder.java
@@ -54,11 +54,11 @@ public interface JobOrBuilder
    *
    *
    * 
-   * Input only. Specify the `input_uri` to populate empty `uri` fields in each element of
-   * `Job.config.inputs` or `JobTemplate.config.inputs` when using template.
-   * URI of the media. Input files must be at least 5 seconds in duration and
-   * stored in Cloud Storage (for example, `gs://bucket/inputs/file.mp4`). See
-   * [Supported input and output
+   * Input only. Specify the `input_uri` to populate empty `uri` fields in each
+   * element of `Job.config.inputs` or `JobTemplate.config.inputs` when using
+   * template. URI of the media. Input files must be at least 5 seconds in
+   * duration and stored in Cloud Storage (for example,
+   * `gs://bucket/inputs/file.mp4`). See [Supported input and output
    * formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats).
    * 
* @@ -71,11 +71,11 @@ public interface JobOrBuilder * * *
-   * Input only. Specify the `input_uri` to populate empty `uri` fields in each element of
-   * `Job.config.inputs` or `JobTemplate.config.inputs` when using template.
-   * URI of the media. Input files must be at least 5 seconds in duration and
-   * stored in Cloud Storage (for example, `gs://bucket/inputs/file.mp4`). See
-   * [Supported input and output
+   * Input only. Specify the `input_uri` to populate empty `uri` fields in each
+   * element of `Job.config.inputs` or `JobTemplate.config.inputs` when using
+   * template. URI of the media. Input files must be at least 5 seconds in
+   * duration and stored in Cloud Storage (for example,
+   * `gs://bucket/inputs/file.mp4`). See [Supported input and output
    * formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats).
    * 
* @@ -89,10 +89,10 @@ public interface JobOrBuilder * * *
-   * Input only. Specify the `output_uri` to populate an empty `Job.config.output.uri` or
-   * `JobTemplate.config.output.uri` when using template.
-   * URI for the output file(s). For example, `gs://my-bucket/outputs/`. See
-   * [Supported input and output
+   * Input only. Specify the `output_uri` to populate an empty
+   * `Job.config.output.uri` or `JobTemplate.config.output.uri` when using
+   * template. URI for the output file(s). For example,
+   * `gs://my-bucket/outputs/`. See [Supported input and output
    * formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats).
    * 
* @@ -105,10 +105,10 @@ public interface JobOrBuilder * * *
-   * Input only. Specify the `output_uri` to populate an empty `Job.config.output.uri` or
-   * `JobTemplate.config.output.uri` when using template.
-   * URI for the output file(s). For example, `gs://my-bucket/outputs/`. See
-   * [Supported input and output
+   * Input only. Specify the `output_uri` to populate an empty
+   * `Job.config.output.uri` or `JobTemplate.config.output.uri` when using
+   * template. URI for the output file(s). For example,
+   * `gs://my-bucket/outputs/`. See [Supported input and output
    * formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats).
    * 
* @@ -122,8 +122,8 @@ public interface JobOrBuilder * * *
-   * Input only. Specify the `template_id` to use for populating `Job.config`. The default
-   * is `preset/web-hd`.
+   * Input only. Specify the `template_id` to use for populating `Job.config`.
+   * The default is `preset/web-hd`.
    * Preset Transcoder templates:
    * - `preset/{preset_id}`
    * - User defined JobTemplate:
@@ -139,8 +139,8 @@ public interface JobOrBuilder
    *
    *
    * 
-   * Input only. Specify the `template_id` to use for populating `Job.config`. The default
-   * is `preset/web-hd`.
+   * Input only. Specify the `template_id` to use for populating `Job.config`.
+   * The default is `preset/web-hd`.
    * Preset Transcoder templates:
    * - `preset/{preset_id}`
    * - User defined JobTemplate:
@@ -156,8 +156,8 @@ public interface JobOrBuilder
    *
    *
    * 
-   * Input only. Specify the `template_id` to use for populating `Job.config`. The default
-   * is `preset/web-hd`.
+   * Input only. Specify the `template_id` to use for populating `Job.config`.
+   * The default is `preset/web-hd`.
    * Preset Transcoder templates:
    * - `preset/{preset_id}`
    * - User defined JobTemplate:
diff --git a/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ListJobTemplatesRequest.java b/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ListJobTemplatesRequest.java
index db1080812710..e7147e399f0b 100644
--- a/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ListJobTemplatesRequest.java
+++ b/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ListJobTemplatesRequest.java
@@ -78,8 +78,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    *
    * 
-   * Required. The parent location from which to retrieve the collection of job templates.
-   * Format: `projects/{project}/locations/{location}`
+   * Required. The parent location from which to retrieve the collection of job
+   * templates. Format: `projects/{project}/locations/{location}`
    * 
* * @@ -104,8 +104,8 @@ public java.lang.String getParent() { * * *
-   * Required. The parent location from which to retrieve the collection of job templates.
-   * Format: `projects/{project}/locations/{location}`
+   * Required. The parent location from which to retrieve the collection of job
+   * templates. Format: `projects/{project}/locations/{location}`
    * 
* * @@ -749,8 +749,8 @@ public Builder mergeFrom( * * *
-     * Required. The parent location from which to retrieve the collection of job templates.
-     * Format: `projects/{project}/locations/{location}`
+     * Required. The parent location from which to retrieve the collection of job
+     * templates. Format: `projects/{project}/locations/{location}`
      * 
* * @@ -774,8 +774,8 @@ public java.lang.String getParent() { * * *
-     * Required. The parent location from which to retrieve the collection of job templates.
-     * Format: `projects/{project}/locations/{location}`
+     * Required. The parent location from which to retrieve the collection of job
+     * templates. Format: `projects/{project}/locations/{location}`
      * 
* * @@ -799,8 +799,8 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-     * Required. The parent location from which to retrieve the collection of job templates.
-     * Format: `projects/{project}/locations/{location}`
+     * Required. The parent location from which to retrieve the collection of job
+     * templates. Format: `projects/{project}/locations/{location}`
      * 
* * @@ -823,8 +823,8 @@ public Builder setParent(java.lang.String value) { * * *
-     * Required. The parent location from which to retrieve the collection of job templates.
-     * Format: `projects/{project}/locations/{location}`
+     * Required. The parent location from which to retrieve the collection of job
+     * templates. Format: `projects/{project}/locations/{location}`
      * 
* * @@ -843,8 +843,8 @@ public Builder clearParent() { * * *
-     * Required. The parent location from which to retrieve the collection of job templates.
-     * Format: `projects/{project}/locations/{location}`
+     * Required. The parent location from which to retrieve the collection of job
+     * templates. Format: `projects/{project}/locations/{location}`
      * 
* * diff --git a/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ListJobTemplatesRequestOrBuilder.java b/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ListJobTemplatesRequestOrBuilder.java index cd1acbc2dec6..b11b26012535 100644 --- a/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ListJobTemplatesRequestOrBuilder.java +++ b/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ListJobTemplatesRequestOrBuilder.java @@ -27,8 +27,8 @@ public interface ListJobTemplatesRequestOrBuilder * * *
-   * Required. The parent location from which to retrieve the collection of job templates.
-   * Format: `projects/{project}/locations/{location}`
+   * Required. The parent location from which to retrieve the collection of job
+   * templates. Format: `projects/{project}/locations/{location}`
    * 
* * @@ -42,8 +42,8 @@ public interface ListJobTemplatesRequestOrBuilder * * *
-   * Required. The parent location from which to retrieve the collection of job templates.
-   * Format: `projects/{project}/locations/{location}`
+   * Required. The parent location from which to retrieve the collection of job
+   * templates. Format: `projects/{project}/locations/{location}`
    * 
* * diff --git a/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/Manifest.java b/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/Manifest.java index 701a2a946954..8a3269e582e1 100644 --- a/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/Manifest.java +++ b/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/Manifest.java @@ -328,7 +328,8 @@ public com.google.cloud.video.transcoder.v1.Manifest.ManifestType getType() { * * *
-   * Required. List of user given `MuxStream.key`s that should appear in this manifest.
+   * Required. List of user given `MuxStream.key`s that should appear in this
+   * manifest.
    * When `Manifest.type` is `HLS`, a media manifest with name `MuxStream.key`
    * and `.m3u8` extension is generated for each element of the
    * `Manifest.mux_streams`.
@@ -345,7 +346,8 @@ public com.google.protobuf.ProtocolStringList getMuxStreamsList() {
    *
    *
    * 
-   * Required. List of user given `MuxStream.key`s that should appear in this manifest.
+   * Required. List of user given `MuxStream.key`s that should appear in this
+   * manifest.
    * When `Manifest.type` is `HLS`, a media manifest with name `MuxStream.key`
    * and `.m3u8` extension is generated for each element of the
    * `Manifest.mux_streams`.
@@ -362,7 +364,8 @@ public int getMuxStreamsCount() {
    *
    *
    * 
-   * Required. List of user given `MuxStream.key`s that should appear in this manifest.
+   * Required. List of user given `MuxStream.key`s that should appear in this
+   * manifest.
    * When `Manifest.type` is `HLS`, a media manifest with name `MuxStream.key`
    * and `.m3u8` extension is generated for each element of the
    * `Manifest.mux_streams`.
@@ -380,7 +383,8 @@ public java.lang.String getMuxStreams(int index) {
    *
    *
    * 
-   * Required. List of user given `MuxStream.key`s that should appear in this manifest.
+   * Required. List of user given `MuxStream.key`s that should appear in this
+   * manifest.
    * When `Manifest.type` is `HLS`, a media manifest with name `MuxStream.key`
    * and `.m3u8` extension is generated for each element of the
    * `Manifest.mux_streams`.
@@ -1032,7 +1036,8 @@ private void ensureMuxStreamsIsMutable() {
      *
      *
      * 
-     * Required. List of user given `MuxStream.key`s that should appear in this manifest.
+     * Required. List of user given `MuxStream.key`s that should appear in this
+     * manifest.
      * When `Manifest.type` is `HLS`, a media manifest with name `MuxStream.key`
      * and `.m3u8` extension is generated for each element of the
      * `Manifest.mux_streams`.
@@ -1049,7 +1054,8 @@ public com.google.protobuf.ProtocolStringList getMuxStreamsList() {
      *
      *
      * 
-     * Required. List of user given `MuxStream.key`s that should appear in this manifest.
+     * Required. List of user given `MuxStream.key`s that should appear in this
+     * manifest.
      * When `Manifest.type` is `HLS`, a media manifest with name `MuxStream.key`
      * and `.m3u8` extension is generated for each element of the
      * `Manifest.mux_streams`.
@@ -1066,7 +1072,8 @@ public int getMuxStreamsCount() {
      *
      *
      * 
-     * Required. List of user given `MuxStream.key`s that should appear in this manifest.
+     * Required. List of user given `MuxStream.key`s that should appear in this
+     * manifest.
      * When `Manifest.type` is `HLS`, a media manifest with name `MuxStream.key`
      * and `.m3u8` extension is generated for each element of the
      * `Manifest.mux_streams`.
@@ -1084,7 +1091,8 @@ public java.lang.String getMuxStreams(int index) {
      *
      *
      * 
-     * Required. List of user given `MuxStream.key`s that should appear in this manifest.
+     * Required. List of user given `MuxStream.key`s that should appear in this
+     * manifest.
      * When `Manifest.type` is `HLS`, a media manifest with name `MuxStream.key`
      * and `.m3u8` extension is generated for each element of the
      * `Manifest.mux_streams`.
@@ -1102,7 +1110,8 @@ public com.google.protobuf.ByteString getMuxStreamsBytes(int index) {
      *
      *
      * 
-     * Required. List of user given `MuxStream.key`s that should appear in this manifest.
+     * Required. List of user given `MuxStream.key`s that should appear in this
+     * manifest.
      * When `Manifest.type` is `HLS`, a media manifest with name `MuxStream.key`
      * and `.m3u8` extension is generated for each element of the
      * `Manifest.mux_streams`.
@@ -1127,7 +1136,8 @@ public Builder setMuxStreams(int index, java.lang.String value) {
      *
      *
      * 
-     * Required. List of user given `MuxStream.key`s that should appear in this manifest.
+     * Required. List of user given `MuxStream.key`s that should appear in this
+     * manifest.
      * When `Manifest.type` is `HLS`, a media manifest with name `MuxStream.key`
      * and `.m3u8` extension is generated for each element of the
      * `Manifest.mux_streams`.
@@ -1151,7 +1161,8 @@ public Builder addMuxStreams(java.lang.String value) {
      *
      *
      * 
-     * Required. List of user given `MuxStream.key`s that should appear in this manifest.
+     * Required. List of user given `MuxStream.key`s that should appear in this
+     * manifest.
      * When `Manifest.type` is `HLS`, a media manifest with name `MuxStream.key`
      * and `.m3u8` extension is generated for each element of the
      * `Manifest.mux_streams`.
@@ -1172,7 +1183,8 @@ public Builder addAllMuxStreams(java.lang.Iterable values) {
      *
      *
      * 
-     * Required. List of user given `MuxStream.key`s that should appear in this manifest.
+     * Required. List of user given `MuxStream.key`s that should appear in this
+     * manifest.
      * When `Manifest.type` is `HLS`, a media manifest with name `MuxStream.key`
      * and `.m3u8` extension is generated for each element of the
      * `Manifest.mux_streams`.
@@ -1192,7 +1204,8 @@ public Builder clearMuxStreams() {
      *
      *
      * 
-     * Required. List of user given `MuxStream.key`s that should appear in this manifest.
+     * Required. List of user given `MuxStream.key`s that should appear in this
+     * manifest.
      * When `Manifest.type` is `HLS`, a media manifest with name `MuxStream.key`
      * and `.m3u8` extension is generated for each element of the
      * `Manifest.mux_streams`.
diff --git a/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ManifestOrBuilder.java b/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ManifestOrBuilder.java
index 84a8fa5b69d4..c5800b00c21e 100644
--- a/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ManifestOrBuilder.java
+++ b/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ManifestOrBuilder.java
@@ -83,7 +83,8 @@ public interface ManifestOrBuilder
    *
    *
    * 
-   * Required. List of user given `MuxStream.key`s that should appear in this manifest.
+   * Required. List of user given `MuxStream.key`s that should appear in this
+   * manifest.
    * When `Manifest.type` is `HLS`, a media manifest with name `MuxStream.key`
    * and `.m3u8` extension is generated for each element of the
    * `Manifest.mux_streams`.
@@ -98,7 +99,8 @@ public interface ManifestOrBuilder
    *
    *
    * 
-   * Required. List of user given `MuxStream.key`s that should appear in this manifest.
+   * Required. List of user given `MuxStream.key`s that should appear in this
+   * manifest.
    * When `Manifest.type` is `HLS`, a media manifest with name `MuxStream.key`
    * and `.m3u8` extension is generated for each element of the
    * `Manifest.mux_streams`.
@@ -113,7 +115,8 @@ public interface ManifestOrBuilder
    *
    *
    * 
-   * Required. List of user given `MuxStream.key`s that should appear in this manifest.
+   * Required. List of user given `MuxStream.key`s that should appear in this
+   * manifest.
    * When `Manifest.type` is `HLS`, a media manifest with name `MuxStream.key`
    * and `.m3u8` extension is generated for each element of the
    * `Manifest.mux_streams`.
@@ -129,7 +132,8 @@ public interface ManifestOrBuilder
    *
    *
    * 
-   * Required. List of user given `MuxStream.key`s that should appear in this manifest.
+   * Required. List of user given `MuxStream.key`s that should appear in this
+   * manifest.
    * When `Manifest.type` is `HLS`, a media manifest with name `MuxStream.key`
    * and `.m3u8` extension is generated for each element of the
    * `Manifest.mux_streams`.
diff --git a/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ResourcesProto.java b/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ResourcesProto.java
index 4a527268c94e..9bf3d2aebc05 100644
--- a/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ResourcesProto.java
+++ b/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ResourcesProto.java
@@ -385,27 +385,29 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\n\017gop_frame_count\030\010 \001(\005H\000\0221\n\014gop_duratio"
           + "n\030\t \001(\0132\031.google.protobuf.DurationH\000\022\017\n\007"
           + "profile\030\n \001(\tB\n\n\010gop_modeB\020\n\016codec_setti"
-          + "ngs\"\361\002\n\013AudioStream\022\r\n\005codec\030\001 \001(\t\022\030\n\013bi"
+          + "ngs\"\236\003\n\013AudioStream\022\r\n\005codec\030\001 \001(\t\022\030\n\013bi"
           + "trate_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."
           + "AudioStream.AudioMapping\022\031\n\021sample_rate_"
-          + "hertz\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\013i"
-          + "nput_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.vi"
-          + "deo.transcoder.v1.TextStream.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\013input_track\030\003 "
-          + "\001(\005B\003\340A\002\"h\n\017SegmentSettings\0223\n\020segment_d"
-          + "uration\030\001 \001(\0132\031.google.protobuf.Duration"
-          + "\022 \n\023individual_segments\030\003 \001(\010B\003\340A\002B~\n$co"
-          + "m.google.cloud.video.transcoder.v1B\016Reso"
-          + "urcesProtoP\001ZDcloud.google.com/go/video/"
-          + "transcoder/apiv1/transcoderpb;transcoder"
-          + "pbb\006proto3"
+          + "hertz\030\006 \001(\005\022\025\n\rlanguage_code\030\007 \001(\t\022\024\n\014di"
+          + "splay_name\030\010 \001(\t\032\241\001\n\014AudioMapping\022\025\n\010ato"
+          + "m_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\rinput_chan"
+          + "nel\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\"\353\001\n\nTextStream\022\r\n\005c"
+          + "odec\030\001 \001(\t\022\025\n\rlanguage_code\030\002 \001(\t\022I\n\007map"
+          + "ping\030\003 \003(\01328.google.cloud.video.transcod"
+          + "er.v1.TextStream.TextMapping\022\024\n\014display_"
+          + "name\030\004 \001(\t\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\013inpu"
+          + "t_track\030\003 \001(\005B\003\340A\002\"h\n\017SegmentSettings\0223\n"
+          + "\020segment_duration\030\001 \001(\0132\031.google.protobu"
+          + "f.Duration\022 \n\023individual_segments\030\003 \001(\010B"
+          + "\003\340A\002B~\n$com.google.cloud.video.transcode"
+          + "r.v1B\016ResourcesProtoP\001ZDcloud.google.com"
+          + "/go/video/transcoder/apiv1/transcoderpb;"
+          + "transcoderpbb\006proto3"
     };
     descriptor =
         com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -810,7 +812,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
             internal_static_google_cloud_video_transcoder_v1_AudioStream_descriptor,
             new java.lang.String[] {
-              "Codec", "BitrateBps", "ChannelCount", "ChannelLayout", "Mapping", "SampleRateHertz",
+              "Codec",
+              "BitrateBps",
+              "ChannelCount",
+              "ChannelLayout",
+              "Mapping",
+              "SampleRateHertz",
+              "LanguageCode",
+              "DisplayName",
             });
     internal_static_google_cloud_video_transcoder_v1_AudioStream_AudioMapping_descriptor =
         internal_static_google_cloud_video_transcoder_v1_AudioStream_descriptor
@@ -828,7 +837,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
             internal_static_google_cloud_video_transcoder_v1_TextStream_descriptor,
             new java.lang.String[] {
-              "Codec", "Mapping",
+              "Codec", "LanguageCode", "Mapping", "DisplayName",
             });
     internal_static_google_cloud_video_transcoder_v1_TextStream_TextMapping_descriptor =
         internal_static_google_cloud_video_transcoder_v1_TextStream_descriptor
diff --git a/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/SpriteSheet.java b/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/SpriteSheet.java
index a72a38640969..0ccef4d65c39 100644
--- a/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/SpriteSheet.java
+++ b/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/SpriteSheet.java
@@ -231,10 +231,13 @@ public com.google.protobuf.ByteString getFilePrefixBytes() {
    *
    *
    * 
-   * Required. The width of sprite in pixels. Must be an even integer. To preserve the
-   * source aspect ratio, set the [SpriteSheet.sprite_width_pixels][google.cloud.video.transcoder.v1.SpriteSheet.sprite_width_pixels] field or
-   * the [SpriteSheet.sprite_height_pixels][google.cloud.video.transcoder.v1.SpriteSheet.sprite_height_pixels] field, but not both (the API will
-   * automatically calculate the missing field).
+   * Required. The width of sprite in pixels. Must be an even integer. To
+   * preserve the source aspect ratio, set the
+   * [SpriteSheet.sprite_width_pixels][google.cloud.video.transcoder.v1.SpriteSheet.sprite_width_pixels]
+   * field or the
+   * [SpriteSheet.sprite_height_pixels][google.cloud.video.transcoder.v1.SpriteSheet.sprite_height_pixels]
+   * field, but not both (the API will automatically calculate the missing
+   * field).
    * For portrait videos that contain horizontal ASR and rotation metadata,
    * provide the width, in pixels, per the horizontal ASR. The API calculates
    * the height per the horizontal ASR. The API detects any rotation metadata
@@ -256,10 +259,13 @@ public int getSpriteWidthPixels() {
    *
    *
    * 
-   * Required. The height of sprite in pixels. Must be an even integer. To preserve the
-   * source aspect ratio, set the [SpriteSheet.sprite_height_pixels][google.cloud.video.transcoder.v1.SpriteSheet.sprite_height_pixels] field or
-   * the [SpriteSheet.sprite_width_pixels][google.cloud.video.transcoder.v1.SpriteSheet.sprite_width_pixels] field, but not both (the API will
-   * automatically calculate the missing field).
+   * Required. The height of sprite in pixels. Must be an even integer. To
+   * preserve the source aspect ratio, set the
+   * [SpriteSheet.sprite_height_pixels][google.cloud.video.transcoder.v1.SpriteSheet.sprite_height_pixels]
+   * field or the
+   * [SpriteSheet.sprite_width_pixels][google.cloud.video.transcoder.v1.SpriteSheet.sprite_width_pixels]
+   * field, but not both (the API will automatically calculate the missing
+   * field).
    * For portrait videos that contain horizontal ASR and rotation metadata,
    * provide the height, in pixels, per the horizontal ASR. The API calculates
    * the width per the horizontal ASR. The API detects any rotation metadata
@@ -1409,10 +1415,13 @@ public Builder setFilePrefixBytes(com.google.protobuf.ByteString value) {
      *
      *
      * 
-     * Required. The width of sprite in pixels. Must be an even integer. To preserve the
-     * source aspect ratio, set the [SpriteSheet.sprite_width_pixels][google.cloud.video.transcoder.v1.SpriteSheet.sprite_width_pixels] field or
-     * the [SpriteSheet.sprite_height_pixels][google.cloud.video.transcoder.v1.SpriteSheet.sprite_height_pixels] field, but not both (the API will
-     * automatically calculate the missing field).
+     * Required. The width of sprite in pixels. Must be an even integer. To
+     * preserve the source aspect ratio, set the
+     * [SpriteSheet.sprite_width_pixels][google.cloud.video.transcoder.v1.SpriteSheet.sprite_width_pixels]
+     * field or the
+     * [SpriteSheet.sprite_height_pixels][google.cloud.video.transcoder.v1.SpriteSheet.sprite_height_pixels]
+     * field, but not both (the API will automatically calculate the missing
+     * field).
      * For portrait videos that contain horizontal ASR and rotation metadata,
      * provide the width, in pixels, per the horizontal ASR. The API calculates
      * the height per the horizontal ASR. The API detects any rotation metadata
@@ -1431,10 +1440,13 @@ public int getSpriteWidthPixels() {
      *
      *
      * 
-     * Required. The width of sprite in pixels. Must be an even integer. To preserve the
-     * source aspect ratio, set the [SpriteSheet.sprite_width_pixels][google.cloud.video.transcoder.v1.SpriteSheet.sprite_width_pixels] field or
-     * the [SpriteSheet.sprite_height_pixels][google.cloud.video.transcoder.v1.SpriteSheet.sprite_height_pixels] field, but not both (the API will
-     * automatically calculate the missing field).
+     * Required. The width of sprite in pixels. Must be an even integer. To
+     * preserve the source aspect ratio, set the
+     * [SpriteSheet.sprite_width_pixels][google.cloud.video.transcoder.v1.SpriteSheet.sprite_width_pixels]
+     * field or the
+     * [SpriteSheet.sprite_height_pixels][google.cloud.video.transcoder.v1.SpriteSheet.sprite_height_pixels]
+     * field, but not both (the API will automatically calculate the missing
+     * field).
      * For portrait videos that contain horizontal ASR and rotation metadata,
      * provide the width, in pixels, per the horizontal ASR. The API calculates
      * the height per the horizontal ASR. The API detects any rotation metadata
@@ -1457,10 +1469,13 @@ public Builder setSpriteWidthPixels(int value) {
      *
      *
      * 
-     * Required. The width of sprite in pixels. Must be an even integer. To preserve the
-     * source aspect ratio, set the [SpriteSheet.sprite_width_pixels][google.cloud.video.transcoder.v1.SpriteSheet.sprite_width_pixels] field or
-     * the [SpriteSheet.sprite_height_pixels][google.cloud.video.transcoder.v1.SpriteSheet.sprite_height_pixels] field, but not both (the API will
-     * automatically calculate the missing field).
+     * Required. The width of sprite in pixels. Must be an even integer. To
+     * preserve the source aspect ratio, set the
+     * [SpriteSheet.sprite_width_pixels][google.cloud.video.transcoder.v1.SpriteSheet.sprite_width_pixels]
+     * field or the
+     * [SpriteSheet.sprite_height_pixels][google.cloud.video.transcoder.v1.SpriteSheet.sprite_height_pixels]
+     * field, but not both (the API will automatically calculate the missing
+     * field).
      * For portrait videos that contain horizontal ASR and rotation metadata,
      * provide the width, in pixels, per the horizontal ASR. The API calculates
      * the height per the horizontal ASR. The API detects any rotation metadata
@@ -1483,10 +1498,13 @@ public Builder clearSpriteWidthPixels() {
      *
      *
      * 
-     * Required. The height of sprite in pixels. Must be an even integer. To preserve the
-     * source aspect ratio, set the [SpriteSheet.sprite_height_pixels][google.cloud.video.transcoder.v1.SpriteSheet.sprite_height_pixels] field or
-     * the [SpriteSheet.sprite_width_pixels][google.cloud.video.transcoder.v1.SpriteSheet.sprite_width_pixels] field, but not both (the API will
-     * automatically calculate the missing field).
+     * Required. The height of sprite in pixels. Must be an even integer. To
+     * preserve the source aspect ratio, set the
+     * [SpriteSheet.sprite_height_pixels][google.cloud.video.transcoder.v1.SpriteSheet.sprite_height_pixels]
+     * field or the
+     * [SpriteSheet.sprite_width_pixels][google.cloud.video.transcoder.v1.SpriteSheet.sprite_width_pixels]
+     * field, but not both (the API will automatically calculate the missing
+     * field).
      * For portrait videos that contain horizontal ASR and rotation metadata,
      * provide the height, in pixels, per the horizontal ASR. The API calculates
      * the width per the horizontal ASR. The API detects any rotation metadata
@@ -1505,10 +1523,13 @@ public int getSpriteHeightPixels() {
      *
      *
      * 
-     * Required. The height of sprite in pixels. Must be an even integer. To preserve the
-     * source aspect ratio, set the [SpriteSheet.sprite_height_pixels][google.cloud.video.transcoder.v1.SpriteSheet.sprite_height_pixels] field or
-     * the [SpriteSheet.sprite_width_pixels][google.cloud.video.transcoder.v1.SpriteSheet.sprite_width_pixels] field, but not both (the API will
-     * automatically calculate the missing field).
+     * Required. The height of sprite in pixels. Must be an even integer. To
+     * preserve the source aspect ratio, set the
+     * [SpriteSheet.sprite_height_pixels][google.cloud.video.transcoder.v1.SpriteSheet.sprite_height_pixels]
+     * field or the
+     * [SpriteSheet.sprite_width_pixels][google.cloud.video.transcoder.v1.SpriteSheet.sprite_width_pixels]
+     * field, but not both (the API will automatically calculate the missing
+     * field).
      * For portrait videos that contain horizontal ASR and rotation metadata,
      * provide the height, in pixels, per the horizontal ASR. The API calculates
      * the width per the horizontal ASR. The API detects any rotation metadata
@@ -1531,10 +1552,13 @@ public Builder setSpriteHeightPixels(int value) {
      *
      *
      * 
-     * Required. The height of sprite in pixels. Must be an even integer. To preserve the
-     * source aspect ratio, set the [SpriteSheet.sprite_height_pixels][google.cloud.video.transcoder.v1.SpriteSheet.sprite_height_pixels] field or
-     * the [SpriteSheet.sprite_width_pixels][google.cloud.video.transcoder.v1.SpriteSheet.sprite_width_pixels] field, but not both (the API will
-     * automatically calculate the missing field).
+     * Required. The height of sprite in pixels. Must be an even integer. To
+     * preserve the source aspect ratio, set the
+     * [SpriteSheet.sprite_height_pixels][google.cloud.video.transcoder.v1.SpriteSheet.sprite_height_pixels]
+     * field or the
+     * [SpriteSheet.sprite_width_pixels][google.cloud.video.transcoder.v1.SpriteSheet.sprite_width_pixels]
+     * field, but not both (the API will automatically calculate the missing
+     * field).
      * For portrait videos that contain horizontal ASR and rotation metadata,
      * provide the height, in pixels, per the horizontal ASR. The API calculates
      * the width per the horizontal ASR. The API detects any rotation metadata
diff --git a/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/SpriteSheetOrBuilder.java b/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/SpriteSheetOrBuilder.java
index 3332860d030b..525bbd6d9d38 100644
--- a/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/SpriteSheetOrBuilder.java
+++ b/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/SpriteSheetOrBuilder.java
@@ -85,10 +85,13 @@ public interface SpriteSheetOrBuilder
    *
    *
    * 
-   * Required. The width of sprite in pixels. Must be an even integer. To preserve the
-   * source aspect ratio, set the [SpriteSheet.sprite_width_pixels][google.cloud.video.transcoder.v1.SpriteSheet.sprite_width_pixels] field or
-   * the [SpriteSheet.sprite_height_pixels][google.cloud.video.transcoder.v1.SpriteSheet.sprite_height_pixels] field, but not both (the API will
-   * automatically calculate the missing field).
+   * Required. The width of sprite in pixels. Must be an even integer. To
+   * preserve the source aspect ratio, set the
+   * [SpriteSheet.sprite_width_pixels][google.cloud.video.transcoder.v1.SpriteSheet.sprite_width_pixels]
+   * field or the
+   * [SpriteSheet.sprite_height_pixels][google.cloud.video.transcoder.v1.SpriteSheet.sprite_height_pixels]
+   * field, but not both (the API will automatically calculate the missing
+   * field).
    * For portrait videos that contain horizontal ASR and rotation metadata,
    * provide the width, in pixels, per the horizontal ASR. The API calculates
    * the height per the horizontal ASR. The API detects any rotation metadata
@@ -105,10 +108,13 @@ public interface SpriteSheetOrBuilder
    *
    *
    * 
-   * Required. The height of sprite in pixels. Must be an even integer. To preserve the
-   * source aspect ratio, set the [SpriteSheet.sprite_height_pixels][google.cloud.video.transcoder.v1.SpriteSheet.sprite_height_pixels] field or
-   * the [SpriteSheet.sprite_width_pixels][google.cloud.video.transcoder.v1.SpriteSheet.sprite_width_pixels] field, but not both (the API will
-   * automatically calculate the missing field).
+   * Required. The height of sprite in pixels. Must be an even integer. To
+   * preserve the source aspect ratio, set the
+   * [SpriteSheet.sprite_height_pixels][google.cloud.video.transcoder.v1.SpriteSheet.sprite_height_pixels]
+   * field or the
+   * [SpriteSheet.sprite_width_pixels][google.cloud.video.transcoder.v1.SpriteSheet.sprite_width_pixels]
+   * field, but not both (the API will automatically calculate the missing
+   * field).
    * For portrait videos that contain horizontal ASR and rotation metadata,
    * provide the height, in pixels, per the horizontal ASR. The API calculates
    * the width per the horizontal ASR. The API detects any rotation metadata
diff --git a/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/TextStream.java b/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/TextStream.java
index 3cd1eb7d3e67..7b6ae9f9863b 100644
--- a/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/TextStream.java
+++ b/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/TextStream.java
@@ -39,7 +39,9 @@ private TextStream(com.google.protobuf.GeneratedMessageV3.Builder builder) {
 
   private TextStream() {
     codec_ = "";
+    languageCode_ = "";
     mapping_ = java.util.Collections.emptyList();
+    displayName_ = "";
   }
 
   @java.lang.Override
@@ -1104,6 +1106,61 @@ public com.google.protobuf.ByteString getCodecBytes() {
     }
   }
 
+  public static final int LANGUAGE_CODE_FIELD_NUMBER = 2;
+
+  @SuppressWarnings("serial")
+  private volatile java.lang.Object languageCode_ = "";
+  /**
+   *
+   *
+   * 
+   * The BCP-47 language code, such as `en-US` or `sr-Latn`. For more
+   * information, see
+   * https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
+   * 
+ * + * string language_code = 2; + * + * @return The languageCode. + */ + @java.lang.Override + public java.lang.String getLanguageCode() { + java.lang.Object ref = languageCode_; + 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(); + languageCode_ = s; + return s; + } + } + /** + * + * + *
+   * The BCP-47 language code, such as `en-US` or `sr-Latn`. For more
+   * information, see
+   * https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
+   * 
+ * + * string language_code = 2; + * + * @return The bytes for languageCode. + */ + @java.lang.Override + public com.google.protobuf.ByteString getLanguageCodeBytes() { + java.lang.Object ref = languageCode_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + languageCode_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + public static final int MAPPING_FIELD_NUMBER = 3; @SuppressWarnings("serial") @@ -1178,6 +1235,59 @@ public com.google.cloud.video.transcoder.v1.TextStream.TextMappingOrBuilder getM return mapping_.get(index); } + public static final int DISPLAY_NAME_FIELD_NUMBER = 4; + + @SuppressWarnings("serial") + private volatile java.lang.Object displayName_ = ""; + /** + * + * + *
+   * The name for this particular text stream that
+   * will be added to the HLS/DASH manifest.
+   * 
+ * + * string display_name = 4; + * + * @return The displayName. + */ + @java.lang.Override + public java.lang.String getDisplayName() { + java.lang.Object ref = displayName_; + 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(); + displayName_ = s; + return s; + } + } + /** + * + * + *
+   * The name for this particular text stream that
+   * will be added to the HLS/DASH manifest.
+   * 
+ * + * string display_name = 4; + * + * @return The bytes for displayName. + */ + @java.lang.Override + public com.google.protobuf.ByteString getDisplayNameBytes() { + java.lang.Object ref = displayName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + displayName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -1195,9 +1305,15 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(codec_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, codec_); } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(languageCode_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, languageCode_); + } for (int i = 0; i < mapping_.size(); i++) { output.writeMessage(3, mapping_.get(i)); } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, displayName_); + } getUnknownFields().writeTo(output); } @@ -1210,9 +1326,15 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(codec_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, codec_); } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(languageCode_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, languageCode_); + } for (int i = 0; i < mapping_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, mapping_.get(i)); } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, displayName_); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -1230,7 +1352,9 @@ public boolean equals(final java.lang.Object obj) { (com.google.cloud.video.transcoder.v1.TextStream) obj; if (!getCodec().equals(other.getCodec())) return false; + if (!getLanguageCode().equals(other.getLanguageCode())) return false; if (!getMappingList().equals(other.getMappingList())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1244,10 +1368,14 @@ public int hashCode() { hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + CODEC_FIELD_NUMBER; hash = (53 * hash) + getCodec().hashCode(); + hash = (37 * hash) + LANGUAGE_CODE_FIELD_NUMBER; + hash = (53 * hash) + getLanguageCode().hashCode(); if (getMappingCount() > 0) { hash = (37 * hash) + MAPPING_FIELD_NUMBER; hash = (53 * hash) + getMappingList().hashCode(); } + hash = (37 * hash) + DISPLAY_NAME_FIELD_NUMBER; + hash = (53 * hash) + getDisplayName().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -1388,13 +1516,15 @@ public Builder clear() { super.clear(); bitField0_ = 0; codec_ = ""; + languageCode_ = ""; if (mappingBuilder_ == null) { mapping_ = java.util.Collections.emptyList(); } else { mapping_ = null; mappingBuilder_.clear(); } - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000004); + displayName_ = ""; return this; } @@ -1433,9 +1563,9 @@ public com.google.cloud.video.transcoder.v1.TextStream buildPartial() { private void buildPartialRepeatedFields( com.google.cloud.video.transcoder.v1.TextStream result) { if (mappingBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0)) { + if (((bitField0_ & 0x00000004) != 0)) { mapping_ = java.util.Collections.unmodifiableList(mapping_); - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000004); } result.mapping_ = mapping_; } else { @@ -1448,6 +1578,12 @@ private void buildPartial0(com.google.cloud.video.transcoder.v1.TextStream resul if (((from_bitField0_ & 0x00000001) != 0)) { result.codec_ = codec_; } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.languageCode_ = languageCode_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.displayName_ = displayName_; + } } @java.lang.Override @@ -1501,11 +1637,16 @@ public Builder mergeFrom(com.google.cloud.video.transcoder.v1.TextStream other) bitField0_ |= 0x00000001; onChanged(); } + if (!other.getLanguageCode().isEmpty()) { + languageCode_ = other.languageCode_; + bitField0_ |= 0x00000002; + onChanged(); + } if (mappingBuilder_ == null) { if (!other.mapping_.isEmpty()) { if (mapping_.isEmpty()) { mapping_ = other.mapping_; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000004); } else { ensureMappingIsMutable(); mapping_.addAll(other.mapping_); @@ -1518,7 +1659,7 @@ public Builder mergeFrom(com.google.cloud.video.transcoder.v1.TextStream other) mappingBuilder_.dispose(); mappingBuilder_ = null; mapping_ = other.mapping_; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000004); mappingBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getMappingFieldBuilder() @@ -1528,6 +1669,11 @@ public Builder mergeFrom(com.google.cloud.video.transcoder.v1.TextStream other) } } } + if (!other.getDisplayName().isEmpty()) { + displayName_ = other.displayName_; + bitField0_ |= 0x00000008; + onChanged(); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -1560,6 +1706,12 @@ public Builder mergeFrom( bitField0_ |= 0x00000001; break; } // case 10 + case 18: + { + languageCode_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 case 26: { com.google.cloud.video.transcoder.v1.TextStream.TextMapping m = @@ -1574,6 +1726,12 @@ public Builder mergeFrom( } break; } // case 26 + case 34: + { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -1729,15 +1887,131 @@ public Builder setCodecBytes(com.google.protobuf.ByteString value) { return this; } + private java.lang.Object languageCode_ = ""; + /** + * + * + *
+     * The BCP-47 language code, such as `en-US` or `sr-Latn`. For more
+     * information, see
+     * https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
+     * 
+ * + * string language_code = 2; + * + * @return The languageCode. + */ + public java.lang.String getLanguageCode() { + java.lang.Object ref = languageCode_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + languageCode_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The BCP-47 language code, such as `en-US` or `sr-Latn`. For more
+     * information, see
+     * https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
+     * 
+ * + * string language_code = 2; + * + * @return The bytes for languageCode. + */ + public com.google.protobuf.ByteString getLanguageCodeBytes() { + java.lang.Object ref = languageCode_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + languageCode_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The BCP-47 language code, such as `en-US` or `sr-Latn`. For more
+     * information, see
+     * https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
+     * 
+ * + * string language_code = 2; + * + * @param value The languageCode to set. + * @return This builder for chaining. + */ + public Builder setLanguageCode(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + languageCode_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * The BCP-47 language code, such as `en-US` or `sr-Latn`. For more
+     * information, see
+     * https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
+     * 
+ * + * string language_code = 2; + * + * @return This builder for chaining. + */ + public Builder clearLanguageCode() { + languageCode_ = getDefaultInstance().getLanguageCode(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * + * + *
+     * The BCP-47 language code, such as `en-US` or `sr-Latn`. For more
+     * information, see
+     * https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
+     * 
+ * + * string language_code = 2; + * + * @param value The bytes for languageCode to set. + * @return This builder for chaining. + */ + public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + languageCode_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + private java.util.List mapping_ = java.util.Collections.emptyList(); private void ensureMappingIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { + if (!((bitField0_ & 0x00000004) != 0)) { mapping_ = new java.util.ArrayList( mapping_); - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000004; } } @@ -1959,7 +2233,7 @@ public Builder addAllMapping( public Builder clearMapping() { if (mappingBuilder_ == null) { mapping_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000004); onChanged(); } else { mappingBuilder_.clear(); @@ -2088,12 +2362,123 @@ public com.google.cloud.video.transcoder.v1.TextStream.TextMapping.Builder addMa com.google.cloud.video.transcoder.v1.TextStream.TextMapping, com.google.cloud.video.transcoder.v1.TextStream.TextMapping.Builder, com.google.cloud.video.transcoder.v1.TextStream.TextMappingOrBuilder>( - mapping_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + mapping_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); mapping_ = null; } return mappingBuilder_; } + private java.lang.Object displayName_ = ""; + /** + * + * + *
+     * The name for this particular text stream that
+     * will be added to the HLS/DASH manifest.
+     * 
+ * + * string display_name = 4; + * + * @return The displayName. + */ + public java.lang.String getDisplayName() { + java.lang.Object ref = displayName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + displayName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The name for this particular text stream that
+     * will be added to the HLS/DASH manifest.
+     * 
+ * + * string display_name = 4; + * + * @return The bytes for displayName. + */ + public com.google.protobuf.ByteString getDisplayNameBytes() { + java.lang.Object ref = displayName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + displayName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The name for this particular text stream that
+     * will be added to the HLS/DASH manifest.
+     * 
+ * + * string display_name = 4; + * + * @param value The displayName to set. + * @return This builder for chaining. + */ + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + displayName_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * The name for this particular text stream that
+     * will be added to the HLS/DASH manifest.
+     * 
+ * + * string display_name = 4; + * + * @return This builder for chaining. + */ + public Builder clearDisplayName() { + displayName_ = getDefaultInstance().getDisplayName(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + * + * + *
+     * The name for this particular text stream that
+     * will be added to the HLS/DASH manifest.
+     * 
+ * + * string display_name = 4; + * + * @param value The bytes for displayName to set. + * @return This builder for chaining. + */ + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/TextStreamOrBuilder.java b/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/TextStreamOrBuilder.java index be1c7254075e..ef8112338a03 100644 --- a/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/TextStreamOrBuilder.java +++ b/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/TextStreamOrBuilder.java @@ -60,6 +60,35 @@ public interface TextStreamOrBuilder */ com.google.protobuf.ByteString getCodecBytes(); + /** + * + * + *
+   * The BCP-47 language code, such as `en-US` or `sr-Latn`. For more
+   * information, see
+   * https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
+   * 
+ * + * string language_code = 2; + * + * @return The languageCode. + */ + java.lang.String getLanguageCode(); + /** + * + * + *
+   * The BCP-47 language code, such as `en-US` or `sr-Latn`. For more
+   * information, see
+   * https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
+   * 
+ * + * string language_code = 2; + * + * @return The bytes for languageCode. + */ + com.google.protobuf.ByteString getLanguageCodeBytes(); + /** * * @@ -112,4 +141,31 @@ public interface TextStreamOrBuilder */ com.google.cloud.video.transcoder.v1.TextStream.TextMappingOrBuilder getMappingOrBuilder( int index); + + /** + * + * + *
+   * The name for this particular text stream that
+   * will be added to the HLS/DASH manifest.
+   * 
+ * + * string display_name = 4; + * + * @return The displayName. + */ + java.lang.String getDisplayName(); + /** + * + * + *
+   * The name for this particular text stream that
+   * will be added to the HLS/DASH manifest.
+   * 
+ * + * string display_name = 4; + * + * @return The bytes for displayName. + */ + com.google.protobuf.ByteString getDisplayNameBytes(); } diff --git a/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/VideoStream.java b/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/VideoStream.java index 50d2b870566b..638d222a766b 100644 --- a/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/VideoStream.java +++ b/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/VideoStream.java @@ -112,10 +112,10 @@ public interface H264CodecSettingsOrBuilder * * *
-     * Required. The target video frame rate in frames per second (FPS). Must be less than
-     * or equal to 120. Will default to the input frame rate if larger than the
-     * input frame rate. The API will generate an output FPS that is divisible
-     * by the input FPS, and smaller or equal to the target FPS. See
+     * Required. The target video frame rate in frames per second (FPS). Must be
+     * less than or equal to 120. Will default to the input frame rate if larger
+     * than the input frame rate. The API will generate an output FPS that is
+     * divisible by the input FPS, and smaller or equal to the target FPS. See
      * [Calculating frame
      * rate](https://cloud.google.com/transcoder/docs/concepts/frame-rate) for
      * more information.
@@ -131,8 +131,8 @@ public interface H264CodecSettingsOrBuilder
      *
      *
      * 
-     * Required. The video bitrate in bits per second. The minimum value is 1,000.
-     * The maximum value is 800,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]; @@ -706,10 +706,10 @@ public int getHeightPixels() { * * *
-     * Required. The target video frame rate in frames per second (FPS). Must be less than
-     * or equal to 120. Will default to the input frame rate if larger than the
-     * input frame rate. The API will generate an output FPS that is divisible
-     * by the input FPS, and smaller or equal to the target FPS. See
+     * Required. The target video frame rate in frames per second (FPS). Must be
+     * less than or equal to 120. Will default to the input frame rate if larger
+     * than the input frame rate. The API will generate an output FPS that is
+     * divisible by the input FPS, and smaller or equal to the target FPS. See
      * [Calculating frame
      * rate](https://cloud.google.com/transcoder/docs/concepts/frame-rate) for
      * more information.
@@ -730,8 +730,8 @@ public double getFrameRate() {
      *
      *
      * 
-     * Required. The video bitrate in bits per second. The minimum value is 1,000.
-     * The maximum value is 800,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]; @@ -2362,10 +2362,10 @@ public Builder clearHeightPixels() { * * *
-       * Required. The target video frame rate in frames per second (FPS). Must be less than
-       * or equal to 120. Will default to the input frame rate if larger than the
-       * input frame rate. The API will generate an output FPS that is divisible
-       * by the input FPS, and smaller or equal to the target FPS. See
+       * Required. The target video frame rate in frames per second (FPS). Must be
+       * less than or equal to 120. Will default to the input frame rate if larger
+       * than the input frame rate. The API will generate an output FPS that is
+       * divisible by the input FPS, and smaller or equal to the target FPS. See
        * [Calculating frame
        * rate](https://cloud.google.com/transcoder/docs/concepts/frame-rate) for
        * more information.
@@ -2383,10 +2383,10 @@ public double getFrameRate() {
        *
        *
        * 
-       * Required. The target video frame rate in frames per second (FPS). Must be less than
-       * or equal to 120. Will default to the input frame rate if larger than the
-       * input frame rate. The API will generate an output FPS that is divisible
-       * by the input FPS, and smaller or equal to the target FPS. See
+       * Required. The target video frame rate in frames per second (FPS). Must be
+       * less than or equal to 120. Will default to the input frame rate if larger
+       * than the input frame rate. The API will generate an output FPS that is
+       * divisible by the input FPS, and smaller or equal to the target FPS. See
        * [Calculating frame
        * rate](https://cloud.google.com/transcoder/docs/concepts/frame-rate) for
        * more information.
@@ -2408,10 +2408,10 @@ public Builder setFrameRate(double value) {
        *
        *
        * 
-       * Required. The target video frame rate in frames per second (FPS). Must be less than
-       * or equal to 120. Will default to the input frame rate if larger than the
-       * input frame rate. The API will generate an output FPS that is divisible
-       * by the input FPS, and smaller or equal to the target FPS. See
+       * Required. The target video frame rate in frames per second (FPS). Must be
+       * less than or equal to 120. Will default to the input frame rate if larger
+       * than the input frame rate. The API will generate an output FPS that is
+       * divisible by the input FPS, and smaller or equal to the target FPS. See
        * [Calculating frame
        * rate](https://cloud.google.com/transcoder/docs/concepts/frame-rate) for
        * more information.
@@ -2433,8 +2433,8 @@ public Builder clearFrameRate() {
        *
        *
        * 
-       * Required. The video bitrate in bits per second. The minimum value is 1,000.
-       * The maximum value is 800,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]; @@ -2449,8 +2449,8 @@ public int getBitrateBps() { * * *
-       * Required. The video bitrate in bits per second. The minimum value is 1,000.
-       * The maximum value is 800,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]; @@ -2469,8 +2469,8 @@ public Builder setBitrateBps(int value) { * * *
-       * Required. The video bitrate in bits per second. The minimum value is 1,000.
-       * The maximum value is 800,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]; @@ -4175,10 +4175,10 @@ public interface H265CodecSettingsOrBuilder * * *
-     * Required. The target video frame rate in frames per second (FPS). Must be less than
-     * or equal to 120. Will default to the input frame rate if larger than the
-     * input frame rate. The API will generate an output FPS that is divisible
-     * by the input FPS, and smaller or equal to the target FPS. See
+     * Required. The target video frame rate in frames per second (FPS). Must be
+     * less than or equal to 120. Will default to the input frame rate if larger
+     * than the input frame rate. The API will generate an output FPS that is
+     * divisible by the input FPS, and smaller or equal to the target FPS. See
      * [Calculating frame
      * rate](https://cloud.google.com/transcoder/docs/concepts/frame-rate) for
      * more information.
@@ -4194,8 +4194,8 @@ public interface H265CodecSettingsOrBuilder
      *
      *
      * 
-     * Required. The video bitrate in bits per second. The minimum value is 1,000.
-     * The maximum value is 800,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]; @@ -4767,10 +4767,10 @@ public int getHeightPixels() { * * *
-     * Required. The target video frame rate in frames per second (FPS). Must be less than
-     * or equal to 120. Will default to the input frame rate if larger than the
-     * input frame rate. The API will generate an output FPS that is divisible
-     * by the input FPS, and smaller or equal to the target FPS. See
+     * Required. The target video frame rate in frames per second (FPS). Must be
+     * less than or equal to 120. Will default to the input frame rate if larger
+     * than the input frame rate. The API will generate an output FPS that is
+     * divisible by the input FPS, and smaller or equal to the target FPS. See
      * [Calculating frame
      * rate](https://cloud.google.com/transcoder/docs/concepts/frame-rate) for
      * more information.
@@ -4791,8 +4791,8 @@ public double getFrameRate() {
      *
      *
      * 
-     * Required. The video bitrate in bits per second. The minimum value is 1,000.
-     * The maximum value is 800,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]; @@ -6372,10 +6372,10 @@ public Builder clearHeightPixels() { * * *
-       * Required. The target video frame rate in frames per second (FPS). Must be less than
-       * or equal to 120. Will default to the input frame rate if larger than the
-       * input frame rate. The API will generate an output FPS that is divisible
-       * by the input FPS, and smaller or equal to the target FPS. See
+       * Required. The target video frame rate in frames per second (FPS). Must be
+       * less than or equal to 120. Will default to the input frame rate if larger
+       * than the input frame rate. The API will generate an output FPS that is
+       * divisible by the input FPS, and smaller or equal to the target FPS. See
        * [Calculating frame
        * rate](https://cloud.google.com/transcoder/docs/concepts/frame-rate) for
        * more information.
@@ -6393,10 +6393,10 @@ public double getFrameRate() {
        *
        *
        * 
-       * Required. The target video frame rate in frames per second (FPS). Must be less than
-       * or equal to 120. Will default to the input frame rate if larger than the
-       * input frame rate. The API will generate an output FPS that is divisible
-       * by the input FPS, and smaller or equal to the target FPS. See
+       * Required. The target video frame rate in frames per second (FPS). Must be
+       * less than or equal to 120. Will default to the input frame rate if larger
+       * than the input frame rate. The API will generate an output FPS that is
+       * divisible by the input FPS, and smaller or equal to the target FPS. See
        * [Calculating frame
        * rate](https://cloud.google.com/transcoder/docs/concepts/frame-rate) for
        * more information.
@@ -6418,10 +6418,10 @@ public Builder setFrameRate(double value) {
        *
        *
        * 
-       * Required. The target video frame rate in frames per second (FPS). Must be less than
-       * or equal to 120. Will default to the input frame rate if larger than the
-       * input frame rate. The API will generate an output FPS that is divisible
-       * by the input FPS, and smaller or equal to the target FPS. See
+       * Required. The target video frame rate in frames per second (FPS). Must be
+       * less than or equal to 120. Will default to the input frame rate if larger
+       * than the input frame rate. The API will generate an output FPS that is
+       * divisible by the input FPS, and smaller or equal to the target FPS. See
        * [Calculating frame
        * rate](https://cloud.google.com/transcoder/docs/concepts/frame-rate) for
        * more information.
@@ -6443,8 +6443,8 @@ public Builder clearFrameRate() {
        *
        *
        * 
-       * Required. The video bitrate in bits per second. The minimum value is 1,000.
-       * The maximum value is 800,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]; @@ -6459,8 +6459,8 @@ public int getBitrateBps() { * * *
-       * Required. The video bitrate in bits per second. The minimum value is 1,000.
-       * The maximum value is 800,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]; @@ -6479,8 +6479,8 @@ public Builder setBitrateBps(int value) { * * *
-       * Required. The video bitrate in bits per second. The minimum value is 1,000.
-       * The maximum value is 800,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]; @@ -8139,10 +8139,10 @@ public interface Vp9CodecSettingsOrBuilder * * *
-     * Required. The target video frame rate in frames per second (FPS). Must be less than
-     * or equal to 120. Will default to the input frame rate if larger than the
-     * input frame rate. The API will generate an output FPS that is divisible
-     * by the input FPS, and smaller or equal to the target FPS. See
+     * Required. The target video frame rate in frames per second (FPS). Must be
+     * less than or equal to 120. Will default to the input frame rate if larger
+     * than the input frame rate. The API will generate an output FPS that is
+     * divisible by the input FPS, and smaller or equal to the target FPS. See
      * [Calculating frame
      * rate](https://cloud.google.com/transcoder/docs/concepts/frame-rate) for
      * more information.
@@ -8158,8 +8158,8 @@ public interface Vp9CodecSettingsOrBuilder
      *
      *
      * 
-     * Required. The video bitrate in bits per second. The minimum value is 1,000.
-     * The maximum value is 480,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]; @@ -8531,10 +8531,10 @@ public int getHeightPixels() { * * *
-     * Required. The target video frame rate in frames per second (FPS). Must be less than
-     * or equal to 120. Will default to the input frame rate if larger than the
-     * input frame rate. The API will generate an output FPS that is divisible
-     * by the input FPS, and smaller or equal to the target FPS. See
+     * Required. The target video frame rate in frames per second (FPS). Must be
+     * less than or equal to 120. Will default to the input frame rate if larger
+     * than the input frame rate. The API will generate an output FPS that is
+     * divisible by the input FPS, and smaller or equal to the target FPS. See
      * [Calculating frame
      * rate](https://cloud.google.com/transcoder/docs/concepts/frame-rate) for
      * more information.
@@ -8555,8 +8555,8 @@ public double getFrameRate() {
      *
      *
      * 
-     * Required. The video bitrate in bits per second. The minimum value is 1,000.
-     * The maximum value is 480,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]; @@ -9645,10 +9645,10 @@ public Builder clearHeightPixels() { * * *
-       * Required. The target video frame rate in frames per second (FPS). Must be less than
-       * or equal to 120. Will default to the input frame rate if larger than the
-       * input frame rate. The API will generate an output FPS that is divisible
-       * by the input FPS, and smaller or equal to the target FPS. See
+       * Required. The target video frame rate in frames per second (FPS). Must be
+       * less than or equal to 120. Will default to the input frame rate if larger
+       * than the input frame rate. The API will generate an output FPS that is
+       * divisible by the input FPS, and smaller or equal to the target FPS. See
        * [Calculating frame
        * rate](https://cloud.google.com/transcoder/docs/concepts/frame-rate) for
        * more information.
@@ -9666,10 +9666,10 @@ public double getFrameRate() {
        *
        *
        * 
-       * Required. The target video frame rate in frames per second (FPS). Must be less than
-       * or equal to 120. Will default to the input frame rate if larger than the
-       * input frame rate. The API will generate an output FPS that is divisible
-       * by the input FPS, and smaller or equal to the target FPS. See
+       * Required. The target video frame rate in frames per second (FPS). Must be
+       * less than or equal to 120. Will default to the input frame rate if larger
+       * than the input frame rate. The API will generate an output FPS that is
+       * divisible by the input FPS, and smaller or equal to the target FPS. See
        * [Calculating frame
        * rate](https://cloud.google.com/transcoder/docs/concepts/frame-rate) for
        * more information.
@@ -9691,10 +9691,10 @@ public Builder setFrameRate(double value) {
        *
        *
        * 
-       * Required. The target video frame rate in frames per second (FPS). Must be less than
-       * or equal to 120. Will default to the input frame rate if larger than the
-       * input frame rate. The API will generate an output FPS that is divisible
-       * by the input FPS, and smaller or equal to the target FPS. See
+       * Required. The target video frame rate in frames per second (FPS). Must be
+       * less than or equal to 120. Will default to the input frame rate if larger
+       * than the input frame rate. The API will generate an output FPS that is
+       * divisible by the input FPS, and smaller or equal to the target FPS. See
        * [Calculating frame
        * rate](https://cloud.google.com/transcoder/docs/concepts/frame-rate) for
        * more information.
@@ -9716,8 +9716,8 @@ public Builder clearFrameRate() {
        *
        *
        * 
-       * Required. The video bitrate in bits per second. The minimum value is 1,000.
-       * The maximum value is 480,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]; @@ -9732,8 +9732,8 @@ public int getBitrateBps() { * * *
-       * Required. The video bitrate in bits per second. The minimum value is 1,000.
-       * The maximum value is 480,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]; @@ -9752,8 +9752,8 @@ public Builder setBitrateBps(int value) { * * *
-       * Required. The video bitrate in bits per second. The minimum value is 1,000.
-       * The maximum value is 480,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]; diff --git a/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/proto/google/cloud/video/transcoder/v1/resources.proto b/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/proto/google/cloud/video/transcoder/v1/resources.proto index 76f626f4eec8..d790089f50c8 100644 --- a/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/proto/google/cloud/video/transcoder/v1/resources.proto +++ b/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/proto/google/cloud/video/transcoder/v1/resources.proto @@ -57,18 +57,18 @@ message 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 - // `Job.config.inputs` or `JobTemplate.config.inputs` when using template. - // URI of the media. Input files must be at least 5 seconds in duration and - // stored in Cloud Storage (for example, `gs://bucket/inputs/file.mp4`). See - // [Supported input and output + // Input only. Specify the `input_uri` to populate empty `uri` fields in each + // element of `Job.config.inputs` or `JobTemplate.config.inputs` when using + // template. URI of the media. Input files must be at least 5 seconds in + // duration and stored in Cloud Storage (for example, + // `gs://bucket/inputs/file.mp4`). See [Supported input and output // formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats). string input_uri = 2 [(google.api.field_behavior) = INPUT_ONLY]; - // Input only. Specify the `output_uri` to populate an empty `Job.config.output.uri` or - // `JobTemplate.config.output.uri` when using template. - // URI for the output file(s). For example, `gs://my-bucket/outputs/`. See - // [Supported input and output + // Input only. Specify the `output_uri` to populate an empty + // `Job.config.output.uri` or `JobTemplate.config.output.uri` when using + // template. URI for the output file(s). For example, + // `gs://my-bucket/outputs/`. See [Supported input and output // formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats). string output_uri = 3 [(google.api.field_behavior) = INPUT_ONLY]; @@ -77,8 +77,8 @@ message Job { // `preset/web-hd` by default. When you use a `template_id` to create a job, // the `Job.config` is populated by the `JobTemplate.config`.
oneof job_config { - // Input only. Specify the `template_id` to use for populating `Job.config`. The default - // is `preset/web-hd`. + // Input only. Specify the `template_id` to use for populating `Job.config`. + // The default is `preset/web-hd`. // // Preset Transcoder templates: // - `preset/{preset_id}` @@ -95,13 +95,16 @@ message Job { ProcessingState state = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The time the job was created. - google.protobuf.Timestamp create_time = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 12 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The time the transcoding started. - google.protobuf.Timestamp start_time = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp start_time = 13 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The time the transcoding finished. - google.protobuf.Timestamp end_time = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp end_time = 14 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Job time to live value in days, which will be effective after job // completion. Job should be deleted automatically after the given TTL. Enter @@ -301,7 +304,8 @@ message Manifest { // 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. + // Required. List of user given `MuxStream.key`s that should appear in this + // manifest. // // When `Manifest.type` is `HLS`, a media manifest with name `MuxStream.key` // and `.m3u8` extension is generated for each element of the @@ -331,10 +335,13 @@ message SpriteSheet { // 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 - // source aspect ratio, set the [SpriteSheet.sprite_width_pixels][google.cloud.video.transcoder.v1.SpriteSheet.sprite_width_pixels] field or - // the [SpriteSheet.sprite_height_pixels][google.cloud.video.transcoder.v1.SpriteSheet.sprite_height_pixels] field, but not both (the API will - // automatically calculate the missing field). + // Required. The width of sprite in pixels. Must be an even integer. To + // preserve the source aspect ratio, set the + // [SpriteSheet.sprite_width_pixels][google.cloud.video.transcoder.v1.SpriteSheet.sprite_width_pixels] + // field or the + // [SpriteSheet.sprite_height_pixels][google.cloud.video.transcoder.v1.SpriteSheet.sprite_height_pixels] + // field, but not both (the API will automatically calculate the missing + // field). // // For portrait videos that contain horizontal ASR and rotation metadata, // provide the width, in pixels, per the horizontal ASR. The API calculates @@ -342,10 +349,13 @@ message SpriteSheet { // and swaps the requested height and width for the output. int32 sprite_width_pixels = 3 [(google.api.field_behavior) = REQUIRED]; - // Required. The height of sprite in pixels. Must be an even integer. To preserve the - // source aspect ratio, set the [SpriteSheet.sprite_height_pixels][google.cloud.video.transcoder.v1.SpriteSheet.sprite_height_pixels] field or - // the [SpriteSheet.sprite_width_pixels][google.cloud.video.transcoder.v1.SpriteSheet.sprite_width_pixels] field, but not both (the API will - // automatically calculate the missing field). + // Required. The height of sprite in pixels. Must be an even integer. To + // preserve the source aspect ratio, set the + // [SpriteSheet.sprite_height_pixels][google.cloud.video.transcoder.v1.SpriteSheet.sprite_height_pixels] + // field or the + // [SpriteSheet.sprite_width_pixels][google.cloud.video.transcoder.v1.SpriteSheet.sprite_width_pixels] + // field, but not both (the API will automatically calculate the missing + // field). // // For portrait videos that contain horizontal ASR and rotation metadata, // provide the height, in pixels, per the horizontal ASR. The API calculates @@ -714,17 +724,17 @@ message VideoStream { // and swaps the requested height and width for the output. int32 height_pixels = 2; - // Required. The target video frame rate in frames per second (FPS). Must be less than - // or equal to 120. Will default to the input frame rate if larger than the - // input frame rate. The API will generate an output FPS that is divisible - // by the input FPS, and smaller or equal to the target FPS. See + // Required. The target video frame rate in frames per second (FPS). Must be + // less than or equal to 120. Will default to the input frame rate if larger + // than the input frame rate. The API will generate an output FPS that is + // divisible by the input FPS, and smaller or equal to the target FPS. See // [Calculating frame // rate](https://cloud.google.com/transcoder/docs/concepts/frame-rate) for // more information. double frame_rate = 3 [(google.api.field_behavior) = REQUIRED]; - // Required. The video bitrate in bits per second. The minimum value is 1,000. - // The maximum value is 800,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`. @@ -859,17 +869,17 @@ message VideoStream { // and swaps the requested height and width for the output. int32 height_pixels = 2; - // Required. The target video frame rate in frames per second (FPS). Must be less than - // or equal to 120. Will default to the input frame rate if larger than the - // input frame rate. The API will generate an output FPS that is divisible - // by the input FPS, and smaller or equal to the target FPS. See + // Required. The target video frame rate in frames per second (FPS). Must be + // less than or equal to 120. Will default to the input frame rate if larger + // than the input frame rate. The API will generate an output FPS that is + // divisible by the input FPS, and smaller or equal to the target FPS. See // [Calculating frame // rate](https://cloud.google.com/transcoder/docs/concepts/frame-rate) for // more information. double frame_rate = 3 [(google.api.field_behavior) = REQUIRED]; - // Required. The video bitrate in bits per second. The minimum value is 1,000. - // The maximum value is 800,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`. @@ -1011,17 +1021,17 @@ message VideoStream { // and swaps the requested height and width for the output. int32 height_pixels = 2; - // Required. The target video frame rate in frames per second (FPS). Must be less than - // or equal to 120. Will default to the input frame rate if larger than the - // input frame rate. The API will generate an output FPS that is divisible - // by the input FPS, and smaller or equal to the target FPS. See + // Required. The target video frame rate in frames per second (FPS). Must be + // less than or equal to 120. Will default to the input frame rate if larger + // than the input frame rate. The API will generate an output FPS that is + // divisible by the input FPS, and smaller or equal to the target FPS. See // [Calculating frame // rate](https://cloud.google.com/transcoder/docs/concepts/frame-rate) for // more information. double frame_rate = 3 [(google.api.field_behavior) = REQUIRED]; - // Required. The video bitrate in bits per second. The minimum value is 1,000. - // The maximum value is 480,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`. @@ -1099,8 +1109,8 @@ message VideoStream { message AudioStream { // The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`. message AudioMapping { - // Required. The `EditAtom.key` that references the atom with audio inputs in the - // `Job.edit_list`. + // Required. The `EditAtom.key` that references the atom with audio inputs + // in the `Job.edit_list`. string atom_key = 1 [(google.api.field_behavior) = REQUIRED]; // Required. The `Input.key` that identifies the input file. @@ -1132,7 +1142,8 @@ message AudioStream { // - `eac3` string codec = 1; - // Required. Audio bitrate in bits per second. Must be between 1 and 10,000,000. + // Required. Audio bitrate in bits per second. Must be between 1 and + // 10,000,000. int32 bitrate_bps = 2 [(google.api.field_behavior) = REQUIRED]; // Number of audio channels. Must be between 1 and 6. The default is 2. @@ -1157,6 +1168,15 @@ message AudioStream { // The audio sample rate in Hertz. The default is 48000 Hertz. int32 sample_rate_hertz = 6; + + // The BCP-47 language code, such as `en-US` or `sr-Latn`. For more + // information, see + // https://www.unicode.org/reports/tr35/#Unicode_locale_identifier. + string language_code = 7; + + // The name for this particular audio stream that + // will be added to the HLS/DASH manifest. + string display_name = 8; } // Encoding of a text stream. For example, closed captions or subtitles. @@ -1185,8 +1205,17 @@ message TextStream { // - `webvtt` string codec = 1; + // The BCP-47 language code, such as `en-US` or `sr-Latn`. For more + // information, see + // https://www.unicode.org/reports/tr35/#Unicode_locale_identifier. + string language_code = 2; + // The mapping for the `Job.edit_list` atoms with text `EditAtom.inputs`. repeated TextMapping mapping = 3; + + // The name for this particular text stream that + // will be added to the HLS/DASH manifest. + string display_name = 4; } // Segment settings for `ts`, `fmp4` and `vtt`. diff --git a/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/proto/google/cloud/video/transcoder/v1/services.proto b/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/proto/google/cloud/video/transcoder/v1/services.proto index 658415c87906..726b4088e51d 100644 --- a/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/proto/google/cloud/video/transcoder/v1/services.proto +++ b/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/proto/google/cloud/video/transcoder/v1/services.proto @@ -39,7 +39,8 @@ option ruby_package = "Google::Cloud::Video::Transcoder::V1"; // concatenation, and digital ad-stitch ready content generation. service TranscoderService { option (google.api.default_host) = "transcoder.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform"; // Creates a job in the specified region. rpc CreateJob(CreateJobRequest) returns (Job) { @@ -80,11 +81,13 @@ service TranscoderService { post: "/v1/{parent=projects/*/locations/*}/jobTemplates" body: "job_template" }; - option (google.api.method_signature) = "parent,job_template,job_template_id"; + option (google.api.method_signature) = + "parent,job_template,job_template_id"; } // Lists job templates in the specified region. - rpc ListJobTemplates(ListJobTemplatesRequest) returns (ListJobTemplatesResponse) { + rpc ListJobTemplates(ListJobTemplatesRequest) + returns (ListJobTemplatesResponse) { option (google.api.http) = { get: "/v1/{parent=projects/*/locations/*}/jobTemplates" }; @@ -100,7 +103,8 @@ service TranscoderService { } // Deletes a job template. - rpc DeleteJobTemplate(DeleteJobTemplateRequest) returns (google.protobuf.Empty) { + rpc DeleteJobTemplate(DeleteJobTemplateRequest) + returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v1/{name=projects/*/locations/*/jobTemplates/*}" }; @@ -156,9 +160,7 @@ message GetJobRequest { // Format: `projects/{project}/locations/{location}/jobs/{job}` string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "transcoder.googleapis.com/Job" - } + (google.api.resource_reference) = { type: "transcoder.googleapis.com/Job" } ]; } @@ -168,9 +170,7 @@ message DeleteJobRequest { // Format: `projects/{project}/locations/{location}/jobs/{job}` string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "transcoder.googleapis.com/Job" - } + (google.api.resource_reference) = { type: "transcoder.googleapis.com/Job" } ]; // If set to true, and the job is not found, the request will succeed but no @@ -204,8 +204,8 @@ message CreateJobTemplateRequest { // Required. Parameters for creating job template. JobTemplate job_template = 2 [(google.api.field_behavior) = REQUIRED]; - // Required. The ID to use for the job template, which will become the final component - // of the job template's resource name. + // Required. The ID to use for the job template, which will become the final + // component of the job template's resource name. // // This value should be 4-63 characters, and valid characters must match the // regular expression `[a-zA-Z][a-zA-Z0-9_-]*`. @@ -214,8 +214,8 @@ message CreateJobTemplateRequest { // Request message for `TranscoderService.ListJobTemplates`. message ListJobTemplatesRequest { - // Required. The parent location from which to retrieve the collection of job templates. - // Format: `projects/{project}/locations/{location}` + // Required. The parent location from which to retrieve the collection of job + // templates. Format: `projects/{project}/locations/{location}` string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = {