All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.volcengine.service.vod.model.business.TranscodeVideoTaskParams Maven / Gradle / Ivy

There is a newer version: 1.0.192
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: volcengine/vod/business/vod_workflow.proto

package com.volcengine.service.vod.model.business;

/**
 * Protobuf type {@code Volcengine.Vod.Models.Business.TranscodeVideoTaskParams}
 */
public final class TranscodeVideoTaskParams extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:Volcengine.Vod.Models.Business.TranscodeVideoTaskParams)
    TranscodeVideoTaskParamsOrBuilder {
private static final long serialVersionUID = 0L;
  // Use TranscodeVideoTaskParams.newBuilder() to construct.
  private TranscodeVideoTaskParams(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private TranscodeVideoTaskParams() {
    transcodeTemplateType_ = "";
    container_ = "";
    quality_ = "";
    vladder_ = "";
    userTag_ = "";
  }

  @java.lang.Override
  @SuppressWarnings({"unused"})
  protected java.lang.Object newInstance(
      UnusedPrivateParameter unused) {
    return new TranscodeVideoTaskParams();
  }

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private TranscodeVideoTaskParams(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    this();
    if (extensionRegistry == null) {
      throw new java.lang.NullPointerException();
    }
    com.google.protobuf.UnknownFieldSet.Builder unknownFields =
        com.google.protobuf.UnknownFieldSet.newBuilder();
    try {
      boolean done = false;
      while (!done) {
        int tag = input.readTag();
        switch (tag) {
          case 0:
            done = true;
            break;
          case 10: {
            java.lang.String s = input.readStringRequireUtf8();

            transcodeTemplateType_ = s;
            break;
          }
          case 18: {
            java.lang.String s = input.readStringRequireUtf8();

            container_ = s;
            break;
          }
          case 26: {
            com.volcengine.service.vod.model.business.Video.Builder subBuilder = null;
            if (video_ != null) {
              subBuilder = video_.toBuilder();
            }
            video_ = input.readMessage(com.volcengine.service.vod.model.business.Video.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(video_);
              video_ = subBuilder.buildPartial();
            }

            break;
          }
          case 34: {
            com.volcengine.service.vod.model.business.Audio.Builder subBuilder = null;
            if (audio_ != null) {
              subBuilder = audio_.toBuilder();
            }
            audio_ = input.readMessage(com.volcengine.service.vod.model.business.Audio.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(audio_);
              audio_ = subBuilder.buildPartial();
            }

            break;
          }
          case 40: {

            disableAudio_ = input.readBool();
            break;
          }
          case 50: {
            java.lang.String s = input.readStringRequireUtf8();

            quality_ = s;
            break;
          }
          case 58: {
            java.lang.String s = input.readStringRequireUtf8();

            vladder_ = s;
            break;
          }
          case 66: {
            java.lang.String s = input.readStringRequireUtf8();

            userTag_ = s;
            break;
          }
          case 72: {

            encrypt_ = input.readBool();
            break;
          }
          case 82: {
            com.volcengine.service.vod.model.business.Encryption.Builder subBuilder = null;
            if (encryption_ != null) {
              subBuilder = encryption_.toBuilder();
            }
            encryption_ = input.readMessage(com.volcengine.service.vod.model.business.Encryption.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(encryption_);
              encryption_ = subBuilder.buildPartial();
            }

            break;
          }
          case 90: {
            com.volcengine.service.vod.model.business.Segment.Builder subBuilder = null;
            if (segment_ != null) {
              subBuilder = segment_.toBuilder();
            }
            segment_ = input.readMessage(com.volcengine.service.vod.model.business.Segment.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(segment_);
              segment_ = subBuilder.buildPartial();
            }

            break;
          }
          case 98: {
            com.volcengine.service.vod.model.business.Volume.Builder subBuilder = null;
            if (volume_ != null) {
              subBuilder = volume_.toBuilder();
            }
            volume_ = input.readMessage(com.volcengine.service.vod.model.business.Volume.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(volume_);
              volume_ = subBuilder.buildPartial();
            }

            break;
          }
          default: {
            if (!parseUnknownField(
                input, unknownFields, extensionRegistry, tag)) {
              done = true;
            }
            break;
          }
        }
      }
    } catch (com.google.protobuf.InvalidProtocolBufferException e) {
      throw e.setUnfinishedMessage(this);
    } catch (java.io.IOException e) {
      throw new com.google.protobuf.InvalidProtocolBufferException(
          e).setUnfinishedMessage(this);
    } finally {
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return com.volcengine.service.vod.model.business.VodWorkflow.internal_static_Volcengine_Vod_Models_Business_TranscodeVideoTaskParams_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return com.volcengine.service.vod.model.business.VodWorkflow.internal_static_Volcengine_Vod_Models_Business_TranscodeVideoTaskParams_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.volcengine.service.vod.model.business.TranscodeVideoTaskParams.class, com.volcengine.service.vod.model.business.TranscodeVideoTaskParams.Builder.class);
  }

  public static final int TRANSCODETEMPLATETYPE_FIELD_NUMBER = 1;
  private volatile java.lang.Object transcodeTemplateType_;
  /**
   * string TranscodeTemplateType = 1;
   * @return The transcodeTemplateType.
   */
  @java.lang.Override
  public java.lang.String getTranscodeTemplateType() {
    java.lang.Object ref = transcodeTemplateType_;
    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();
      transcodeTemplateType_ = s;
      return s;
    }
  }
  /**
   * string TranscodeTemplateType = 1;
   * @return The bytes for transcodeTemplateType.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getTranscodeTemplateTypeBytes() {
    java.lang.Object ref = transcodeTemplateType_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      transcodeTemplateType_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int CONTAINER_FIELD_NUMBER = 2;
  private volatile java.lang.Object container_;
  /**
   * string Container = 2;
   * @return The container.
   */
  @java.lang.Override
  public java.lang.String getContainer() {
    java.lang.Object ref = container_;
    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();
      container_ = s;
      return s;
    }
  }
  /**
   * string Container = 2;
   * @return The bytes for container.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getContainerBytes() {
    java.lang.Object ref = container_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      container_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int VIDEO_FIELD_NUMBER = 3;
  private com.volcengine.service.vod.model.business.Video video_;
  /**
   * .Volcengine.Vod.Models.Business.Video Video = 3;
   * @return Whether the video field is set.
   */
  @java.lang.Override
  public boolean hasVideo() {
    return video_ != null;
  }
  /**
   * .Volcengine.Vod.Models.Business.Video Video = 3;
   * @return The video.
   */
  @java.lang.Override
  public com.volcengine.service.vod.model.business.Video getVideo() {
    return video_ == null ? com.volcengine.service.vod.model.business.Video.getDefaultInstance() : video_;
  }
  /**
   * .Volcengine.Vod.Models.Business.Video Video = 3;
   */
  @java.lang.Override
  public com.volcengine.service.vod.model.business.VideoOrBuilder getVideoOrBuilder() {
    return getVideo();
  }

  public static final int AUDIO_FIELD_NUMBER = 4;
  private com.volcengine.service.vod.model.business.Audio audio_;
  /**
   * .Volcengine.Vod.Models.Business.Audio Audio = 4;
   * @return Whether the audio field is set.
   */
  @java.lang.Override
  public boolean hasAudio() {
    return audio_ != null;
  }
  /**
   * .Volcengine.Vod.Models.Business.Audio Audio = 4;
   * @return The audio.
   */
  @java.lang.Override
  public com.volcengine.service.vod.model.business.Audio getAudio() {
    return audio_ == null ? com.volcengine.service.vod.model.business.Audio.getDefaultInstance() : audio_;
  }
  /**
   * .Volcengine.Vod.Models.Business.Audio Audio = 4;
   */
  @java.lang.Override
  public com.volcengine.service.vod.model.business.AudioOrBuilder getAudioOrBuilder() {
    return getAudio();
  }

  public static final int DISABLEAUDIO_FIELD_NUMBER = 5;
  private boolean disableAudio_;
  /**
   * bool DisableAudio = 5;
   * @return The disableAudio.
   */
  @java.lang.Override
  public boolean getDisableAudio() {
    return disableAudio_;
  }

  public static final int QUALITY_FIELD_NUMBER = 6;
  private volatile java.lang.Object quality_;
  /**
   * string Quality = 6;
   * @return The quality.
   */
  @java.lang.Override
  public java.lang.String getQuality() {
    java.lang.Object ref = quality_;
    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();
      quality_ = s;
      return s;
    }
  }
  /**
   * string Quality = 6;
   * @return The bytes for quality.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getQualityBytes() {
    java.lang.Object ref = quality_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      quality_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int VLADDER_FIELD_NUMBER = 7;
  private volatile java.lang.Object vladder_;
  /**
   * string Vladder = 7;
   * @return The vladder.
   */
  @java.lang.Override
  public java.lang.String getVladder() {
    java.lang.Object ref = vladder_;
    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();
      vladder_ = s;
      return s;
    }
  }
  /**
   * string Vladder = 7;
   * @return The bytes for vladder.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getVladderBytes() {
    java.lang.Object ref = vladder_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      vladder_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int USERTAG_FIELD_NUMBER = 8;
  private volatile java.lang.Object userTag_;
  /**
   * string UserTag = 8;
   * @return The userTag.
   */
  @java.lang.Override
  public java.lang.String getUserTag() {
    java.lang.Object ref = userTag_;
    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();
      userTag_ = s;
      return s;
    }
  }
  /**
   * string UserTag = 8;
   * @return The bytes for userTag.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getUserTagBytes() {
    java.lang.Object ref = userTag_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      userTag_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int ENCRYPT_FIELD_NUMBER = 9;
  private boolean encrypt_;
  /**
   * bool Encrypt = 9;
   * @return The encrypt.
   */
  @java.lang.Override
  public boolean getEncrypt() {
    return encrypt_;
  }

  public static final int ENCRYPTION_FIELD_NUMBER = 10;
  private com.volcengine.service.vod.model.business.Encryption encryption_;
  /**
   * .Volcengine.Vod.Models.Business.Encryption Encryption = 10;
   * @return Whether the encryption field is set.
   */
  @java.lang.Override
  public boolean hasEncryption() {
    return encryption_ != null;
  }
  /**
   * .Volcengine.Vod.Models.Business.Encryption Encryption = 10;
   * @return The encryption.
   */
  @java.lang.Override
  public com.volcengine.service.vod.model.business.Encryption getEncryption() {
    return encryption_ == null ? com.volcengine.service.vod.model.business.Encryption.getDefaultInstance() : encryption_;
  }
  /**
   * .Volcengine.Vod.Models.Business.Encryption Encryption = 10;
   */
  @java.lang.Override
  public com.volcengine.service.vod.model.business.EncryptionOrBuilder getEncryptionOrBuilder() {
    return getEncryption();
  }

  public static final int SEGMENT_FIELD_NUMBER = 11;
  private com.volcengine.service.vod.model.business.Segment segment_;
  /**
   * .Volcengine.Vod.Models.Business.Segment Segment = 11;
   * @return Whether the segment field is set.
   */
  @java.lang.Override
  public boolean hasSegment() {
    return segment_ != null;
  }
  /**
   * .Volcengine.Vod.Models.Business.Segment Segment = 11;
   * @return The segment.
   */
  @java.lang.Override
  public com.volcengine.service.vod.model.business.Segment getSegment() {
    return segment_ == null ? com.volcengine.service.vod.model.business.Segment.getDefaultInstance() : segment_;
  }
  /**
   * .Volcengine.Vod.Models.Business.Segment Segment = 11;
   */
  @java.lang.Override
  public com.volcengine.service.vod.model.business.SegmentOrBuilder getSegmentOrBuilder() {
    return getSegment();
  }

  public static final int VOLUME_FIELD_NUMBER = 12;
  private com.volcengine.service.vod.model.business.Volume volume_;
  /**
   * .Volcengine.Vod.Models.Business.Volume Volume = 12;
   * @return Whether the volume field is set.
   */
  @java.lang.Override
  public boolean hasVolume() {
    return volume_ != null;
  }
  /**
   * .Volcengine.Vod.Models.Business.Volume Volume = 12;
   * @return The volume.
   */
  @java.lang.Override
  public com.volcengine.service.vod.model.business.Volume getVolume() {
    return volume_ == null ? com.volcengine.service.vod.model.business.Volume.getDefaultInstance() : volume_;
  }
  /**
   * .Volcengine.Vod.Models.Business.Volume Volume = 12;
   */
  @java.lang.Override
  public com.volcengine.service.vod.model.business.VolumeOrBuilder getVolumeOrBuilder() {
    return getVolume();
  }

  private byte memoizedIsInitialized = -1;
  @java.lang.Override
  public final boolean isInitialized() {
    byte isInitialized = memoizedIsInitialized;
    if (isInitialized == 1) return true;
    if (isInitialized == 0) return false;

    memoizedIsInitialized = 1;
    return true;
  }

  @java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output)
                      throws java.io.IOException {
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(transcodeTemplateType_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, transcodeTemplateType_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(container_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, container_);
    }
    if (video_ != null) {
      output.writeMessage(3, getVideo());
    }
    if (audio_ != null) {
      output.writeMessage(4, getAudio());
    }
    if (disableAudio_ != false) {
      output.writeBool(5, disableAudio_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(quality_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 6, quality_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(vladder_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 7, vladder_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userTag_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 8, userTag_);
    }
    if (encrypt_ != false) {
      output.writeBool(9, encrypt_);
    }
    if (encryption_ != null) {
      output.writeMessage(10, getEncryption());
    }
    if (segment_ != null) {
      output.writeMessage(11, getSegment());
    }
    if (volume_ != null) {
      output.writeMessage(12, getVolume());
    }
    unknownFields.writeTo(output);
  }

  @java.lang.Override
  public int getSerializedSize() {
    int size = memoizedSize;
    if (size != -1) return size;

    size = 0;
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(transcodeTemplateType_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, transcodeTemplateType_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(container_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, container_);
    }
    if (video_ != null) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(3, getVideo());
    }
    if (audio_ != null) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(4, getAudio());
    }
    if (disableAudio_ != false) {
      size += com.google.protobuf.CodedOutputStream
        .computeBoolSize(5, disableAudio_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(quality_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, quality_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(vladder_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, vladder_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userTag_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, userTag_);
    }
    if (encrypt_ != false) {
      size += com.google.protobuf.CodedOutputStream
        .computeBoolSize(9, encrypt_);
    }
    if (encryption_ != null) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(10, getEncryption());
    }
    if (segment_ != null) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(11, getSegment());
    }
    if (volume_ != null) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(12, getVolume());
    }
    size += unknownFields.getSerializedSize();
    memoizedSize = size;
    return size;
  }

  @java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
     return true;
    }
    if (!(obj instanceof com.volcengine.service.vod.model.business.TranscodeVideoTaskParams)) {
      return super.equals(obj);
    }
    com.volcengine.service.vod.model.business.TranscodeVideoTaskParams other = (com.volcengine.service.vod.model.business.TranscodeVideoTaskParams) obj;

    if (!getTranscodeTemplateType()
        .equals(other.getTranscodeTemplateType())) return false;
    if (!getContainer()
        .equals(other.getContainer())) return false;
    if (hasVideo() != other.hasVideo()) return false;
    if (hasVideo()) {
      if (!getVideo()
          .equals(other.getVideo())) return false;
    }
    if (hasAudio() != other.hasAudio()) return false;
    if (hasAudio()) {
      if (!getAudio()
          .equals(other.getAudio())) return false;
    }
    if (getDisableAudio()
        != other.getDisableAudio()) return false;
    if (!getQuality()
        .equals(other.getQuality())) return false;
    if (!getVladder()
        .equals(other.getVladder())) return false;
    if (!getUserTag()
        .equals(other.getUserTag())) return false;
    if (getEncrypt()
        != other.getEncrypt()) return false;
    if (hasEncryption() != other.hasEncryption()) return false;
    if (hasEncryption()) {
      if (!getEncryption()
          .equals(other.getEncryption())) return false;
    }
    if (hasSegment() != other.hasSegment()) return false;
    if (hasSegment()) {
      if (!getSegment()
          .equals(other.getSegment())) return false;
    }
    if (hasVolume() != other.hasVolume()) return false;
    if (hasVolume()) {
      if (!getVolume()
          .equals(other.getVolume())) return false;
    }
    if (!unknownFields.equals(other.unknownFields)) return false;
    return true;
  }

  @java.lang.Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    hash = (37 * hash) + TRANSCODETEMPLATETYPE_FIELD_NUMBER;
    hash = (53 * hash) + getTranscodeTemplateType().hashCode();
    hash = (37 * hash) + CONTAINER_FIELD_NUMBER;
    hash = (53 * hash) + getContainer().hashCode();
    if (hasVideo()) {
      hash = (37 * hash) + VIDEO_FIELD_NUMBER;
      hash = (53 * hash) + getVideo().hashCode();
    }
    if (hasAudio()) {
      hash = (37 * hash) + AUDIO_FIELD_NUMBER;
      hash = (53 * hash) + getAudio().hashCode();
    }
    hash = (37 * hash) + DISABLEAUDIO_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
        getDisableAudio());
    hash = (37 * hash) + QUALITY_FIELD_NUMBER;
    hash = (53 * hash) + getQuality().hashCode();
    hash = (37 * hash) + VLADDER_FIELD_NUMBER;
    hash = (53 * hash) + getVladder().hashCode();
    hash = (37 * hash) + USERTAG_FIELD_NUMBER;
    hash = (53 * hash) + getUserTag().hashCode();
    hash = (37 * hash) + ENCRYPT_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
        getEncrypt());
    if (hasEncryption()) {
      hash = (37 * hash) + ENCRYPTION_FIELD_NUMBER;
      hash = (53 * hash) + getEncryption().hashCode();
    }
    if (hasSegment()) {
      hash = (37 * hash) + SEGMENT_FIELD_NUMBER;
      hash = (53 * hash) + getSegment().hashCode();
    }
    if (hasVolume()) {
      hash = (37 * hash) + VOLUME_FIELD_NUMBER;
      hash = (53 * hash) + getVolume().hashCode();
    }
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static com.volcengine.service.vod.model.business.TranscodeVideoTaskParams parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.volcengine.service.vod.model.business.TranscodeVideoTaskParams parseFrom(
      java.nio.ByteBuffer data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.volcengine.service.vod.model.business.TranscodeVideoTaskParams parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.volcengine.service.vod.model.business.TranscodeVideoTaskParams parseFrom(
      com.google.protobuf.ByteString data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.volcengine.service.vod.model.business.TranscodeVideoTaskParams parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.volcengine.service.vod.model.business.TranscodeVideoTaskParams parseFrom(
      byte[] data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.volcengine.service.vod.model.business.TranscodeVideoTaskParams parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.volcengine.service.vod.model.business.TranscodeVideoTaskParams parseFrom(
      java.io.InputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input, extensionRegistry);
  }
  public static com.volcengine.service.vod.model.business.TranscodeVideoTaskParams parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input);
  }
  public static com.volcengine.service.vod.model.business.TranscodeVideoTaskParams parseDelimitedFrom(
      java.io.InputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
  }
  public static com.volcengine.service.vod.model.business.TranscodeVideoTaskParams parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.volcengine.service.vod.model.business.TranscodeVideoTaskParams parseFrom(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input, extensionRegistry);
  }

  @java.lang.Override
  public Builder newBuilderForType() { return newBuilder(); }
  public static Builder newBuilder() {
    return DEFAULT_INSTANCE.toBuilder();
  }
  public static Builder newBuilder(com.volcengine.service.vod.model.business.TranscodeVideoTaskParams prototype) {
    return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
  }
  @java.lang.Override
  public Builder toBuilder() {
    return this == DEFAULT_INSTANCE
        ? new Builder() : new Builder().mergeFrom(this);
  }

  @java.lang.Override
  protected Builder newBuilderForType(
      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
    Builder builder = new Builder(parent);
    return builder;
  }
  /**
   * Protobuf type {@code Volcengine.Vod.Models.Business.TranscodeVideoTaskParams}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder implements
      // @@protoc_insertion_point(builder_implements:Volcengine.Vod.Models.Business.TranscodeVideoTaskParams)
      com.volcengine.service.vod.model.business.TranscodeVideoTaskParamsOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.volcengine.service.vod.model.business.VodWorkflow.internal_static_Volcengine_Vod_Models_Business_TranscodeVideoTaskParams_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.volcengine.service.vod.model.business.VodWorkflow.internal_static_Volcengine_Vod_Models_Business_TranscodeVideoTaskParams_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.volcengine.service.vod.model.business.TranscodeVideoTaskParams.class, com.volcengine.service.vod.model.business.TranscodeVideoTaskParams.Builder.class);
    }

    // Construct using com.volcengine.service.vod.model.business.TranscodeVideoTaskParams.newBuilder()
    private Builder() {
      maybeForceBuilderInitialization();
    }

    private Builder(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      super(parent);
      maybeForceBuilderInitialization();
    }
    private void maybeForceBuilderInitialization() {
      if (com.google.protobuf.GeneratedMessageV3
              .alwaysUseFieldBuilders) {
      }
    }
    @java.lang.Override
    public Builder clear() {
      super.clear();
      transcodeTemplateType_ = "";

      container_ = "";

      if (videoBuilder_ == null) {
        video_ = null;
      } else {
        video_ = null;
        videoBuilder_ = null;
      }
      if (audioBuilder_ == null) {
        audio_ = null;
      } else {
        audio_ = null;
        audioBuilder_ = null;
      }
      disableAudio_ = false;

      quality_ = "";

      vladder_ = "";

      userTag_ = "";

      encrypt_ = false;

      if (encryptionBuilder_ == null) {
        encryption_ = null;
      } else {
        encryption_ = null;
        encryptionBuilder_ = null;
      }
      if (segmentBuilder_ == null) {
        segment_ = null;
      } else {
        segment_ = null;
        segmentBuilder_ = null;
      }
      if (volumeBuilder_ == null) {
        volume_ = null;
      } else {
        volume_ = null;
        volumeBuilder_ = null;
      }
      return this;
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return com.volcengine.service.vod.model.business.VodWorkflow.internal_static_Volcengine_Vod_Models_Business_TranscodeVideoTaskParams_descriptor;
    }

    @java.lang.Override
    public com.volcengine.service.vod.model.business.TranscodeVideoTaskParams getDefaultInstanceForType() {
      return com.volcengine.service.vod.model.business.TranscodeVideoTaskParams.getDefaultInstance();
    }

    @java.lang.Override
    public com.volcengine.service.vod.model.business.TranscodeVideoTaskParams build() {
      com.volcengine.service.vod.model.business.TranscodeVideoTaskParams result = buildPartial();
      if (!result.isInitialized()) {
        throw newUninitializedMessageException(result);
      }
      return result;
    }

    @java.lang.Override
    public com.volcengine.service.vod.model.business.TranscodeVideoTaskParams buildPartial() {
      com.volcengine.service.vod.model.business.TranscodeVideoTaskParams result = new com.volcengine.service.vod.model.business.TranscodeVideoTaskParams(this);
      result.transcodeTemplateType_ = transcodeTemplateType_;
      result.container_ = container_;
      if (videoBuilder_ == null) {
        result.video_ = video_;
      } else {
        result.video_ = videoBuilder_.build();
      }
      if (audioBuilder_ == null) {
        result.audio_ = audio_;
      } else {
        result.audio_ = audioBuilder_.build();
      }
      result.disableAudio_ = disableAudio_;
      result.quality_ = quality_;
      result.vladder_ = vladder_;
      result.userTag_ = userTag_;
      result.encrypt_ = encrypt_;
      if (encryptionBuilder_ == null) {
        result.encryption_ = encryption_;
      } else {
        result.encryption_ = encryptionBuilder_.build();
      }
      if (segmentBuilder_ == null) {
        result.segment_ = segment_;
      } else {
        result.segment_ = segmentBuilder_.build();
      }
      if (volumeBuilder_ == null) {
        result.volume_ = volume_;
      } else {
        result.volume_ = volumeBuilder_.build();
      }
      onBuilt();
      return result;
    }

    @java.lang.Override
    public Builder clone() {
      return super.clone();
    }
    @java.lang.Override
    public Builder setField(
        com.google.protobuf.Descriptors.FieldDescriptor field,
        java.lang.Object value) {
      return super.setField(field, value);
    }
    @java.lang.Override
    public Builder clearField(
        com.google.protobuf.Descriptors.FieldDescriptor field) {
      return super.clearField(field);
    }
    @java.lang.Override
    public Builder clearOneof(
        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
      return super.clearOneof(oneof);
    }
    @java.lang.Override
    public Builder setRepeatedField(
        com.google.protobuf.Descriptors.FieldDescriptor field,
        int index, java.lang.Object value) {
      return super.setRepeatedField(field, index, value);
    }
    @java.lang.Override
    public Builder addRepeatedField(
        com.google.protobuf.Descriptors.FieldDescriptor field,
        java.lang.Object value) {
      return super.addRepeatedField(field, value);
    }
    @java.lang.Override
    public Builder mergeFrom(com.google.protobuf.Message other) {
      if (other instanceof com.volcengine.service.vod.model.business.TranscodeVideoTaskParams) {
        return mergeFrom((com.volcengine.service.vod.model.business.TranscodeVideoTaskParams)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(com.volcengine.service.vod.model.business.TranscodeVideoTaskParams other) {
      if (other == com.volcengine.service.vod.model.business.TranscodeVideoTaskParams.getDefaultInstance()) return this;
      if (!other.getTranscodeTemplateType().isEmpty()) {
        transcodeTemplateType_ = other.transcodeTemplateType_;
        onChanged();
      }
      if (!other.getContainer().isEmpty()) {
        container_ = other.container_;
        onChanged();
      }
      if (other.hasVideo()) {
        mergeVideo(other.getVideo());
      }
      if (other.hasAudio()) {
        mergeAudio(other.getAudio());
      }
      if (other.getDisableAudio() != false) {
        setDisableAudio(other.getDisableAudio());
      }
      if (!other.getQuality().isEmpty()) {
        quality_ = other.quality_;
        onChanged();
      }
      if (!other.getVladder().isEmpty()) {
        vladder_ = other.vladder_;
        onChanged();
      }
      if (!other.getUserTag().isEmpty()) {
        userTag_ = other.userTag_;
        onChanged();
      }
      if (other.getEncrypt() != false) {
        setEncrypt(other.getEncrypt());
      }
      if (other.hasEncryption()) {
        mergeEncryption(other.getEncryption());
      }
      if (other.hasSegment()) {
        mergeSegment(other.getSegment());
      }
      if (other.hasVolume()) {
        mergeVolume(other.getVolume());
      }
      this.mergeUnknownFields(other.unknownFields);
      onChanged();
      return this;
    }

    @java.lang.Override
    public final boolean isInitialized() {
      return true;
    }

    @java.lang.Override
    public Builder mergeFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      com.volcengine.service.vod.model.business.TranscodeVideoTaskParams parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (com.volcengine.service.vod.model.business.TranscodeVideoTaskParams) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }

    private java.lang.Object transcodeTemplateType_ = "";
    /**
     * string TranscodeTemplateType = 1;
     * @return The transcodeTemplateType.
     */
    public java.lang.String getTranscodeTemplateType() {
      java.lang.Object ref = transcodeTemplateType_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        transcodeTemplateType_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * string TranscodeTemplateType = 1;
     * @return The bytes for transcodeTemplateType.
     */
    public com.google.protobuf.ByteString
        getTranscodeTemplateTypeBytes() {
      java.lang.Object ref = transcodeTemplateType_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        transcodeTemplateType_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * string TranscodeTemplateType = 1;
     * @param value The transcodeTemplateType to set.
     * @return This builder for chaining.
     */
    public Builder setTranscodeTemplateType(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      transcodeTemplateType_ = value;
      onChanged();
      return this;
    }
    /**
     * string TranscodeTemplateType = 1;
     * @return This builder for chaining.
     */
    public Builder clearTranscodeTemplateType() {
      
      transcodeTemplateType_ = getDefaultInstance().getTranscodeTemplateType();
      onChanged();
      return this;
    }
    /**
     * string TranscodeTemplateType = 1;
     * @param value The bytes for transcodeTemplateType to set.
     * @return This builder for chaining.
     */
    public Builder setTranscodeTemplateTypeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      transcodeTemplateType_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object container_ = "";
    /**
     * string Container = 2;
     * @return The container.
     */
    public java.lang.String getContainer() {
      java.lang.Object ref = container_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        container_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * string Container = 2;
     * @return The bytes for container.
     */
    public com.google.protobuf.ByteString
        getContainerBytes() {
      java.lang.Object ref = container_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        container_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * string Container = 2;
     * @param value The container to set.
     * @return This builder for chaining.
     */
    public Builder setContainer(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      container_ = value;
      onChanged();
      return this;
    }
    /**
     * string Container = 2;
     * @return This builder for chaining.
     */
    public Builder clearContainer() {
      
      container_ = getDefaultInstance().getContainer();
      onChanged();
      return this;
    }
    /**
     * string Container = 2;
     * @param value The bytes for container to set.
     * @return This builder for chaining.
     */
    public Builder setContainerBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      container_ = value;
      onChanged();
      return this;
    }

    private com.volcengine.service.vod.model.business.Video video_;
    private com.google.protobuf.SingleFieldBuilderV3<
        com.volcengine.service.vod.model.business.Video, com.volcengine.service.vod.model.business.Video.Builder, com.volcengine.service.vod.model.business.VideoOrBuilder> videoBuilder_;
    /**
     * .Volcengine.Vod.Models.Business.Video Video = 3;
     * @return Whether the video field is set.
     */
    public boolean hasVideo() {
      return videoBuilder_ != null || video_ != null;
    }
    /**
     * .Volcengine.Vod.Models.Business.Video Video = 3;
     * @return The video.
     */
    public com.volcengine.service.vod.model.business.Video getVideo() {
      if (videoBuilder_ == null) {
        return video_ == null ? com.volcengine.service.vod.model.business.Video.getDefaultInstance() : video_;
      } else {
        return videoBuilder_.getMessage();
      }
    }
    /**
     * .Volcengine.Vod.Models.Business.Video Video = 3;
     */
    public Builder setVideo(com.volcengine.service.vod.model.business.Video value) {
      if (videoBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        video_ = value;
        onChanged();
      } else {
        videoBuilder_.setMessage(value);
      }

      return this;
    }
    /**
     * .Volcengine.Vod.Models.Business.Video Video = 3;
     */
    public Builder setVideo(
        com.volcengine.service.vod.model.business.Video.Builder builderForValue) {
      if (videoBuilder_ == null) {
        video_ = builderForValue.build();
        onChanged();
      } else {
        videoBuilder_.setMessage(builderForValue.build());
      }

      return this;
    }
    /**
     * .Volcengine.Vod.Models.Business.Video Video = 3;
     */
    public Builder mergeVideo(com.volcengine.service.vod.model.business.Video value) {
      if (videoBuilder_ == null) {
        if (video_ != null) {
          video_ =
            com.volcengine.service.vod.model.business.Video.newBuilder(video_).mergeFrom(value).buildPartial();
        } else {
          video_ = value;
        }
        onChanged();
      } else {
        videoBuilder_.mergeFrom(value);
      }

      return this;
    }
    /**
     * .Volcengine.Vod.Models.Business.Video Video = 3;
     */
    public Builder clearVideo() {
      if (videoBuilder_ == null) {
        video_ = null;
        onChanged();
      } else {
        video_ = null;
        videoBuilder_ = null;
      }

      return this;
    }
    /**
     * .Volcengine.Vod.Models.Business.Video Video = 3;
     */
    public com.volcengine.service.vod.model.business.Video.Builder getVideoBuilder() {
      
      onChanged();
      return getVideoFieldBuilder().getBuilder();
    }
    /**
     * .Volcengine.Vod.Models.Business.Video Video = 3;
     */
    public com.volcengine.service.vod.model.business.VideoOrBuilder getVideoOrBuilder() {
      if (videoBuilder_ != null) {
        return videoBuilder_.getMessageOrBuilder();
      } else {
        return video_ == null ?
            com.volcengine.service.vod.model.business.Video.getDefaultInstance() : video_;
      }
    }
    /**
     * .Volcengine.Vod.Models.Business.Video Video = 3;
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        com.volcengine.service.vod.model.business.Video, com.volcengine.service.vod.model.business.Video.Builder, com.volcengine.service.vod.model.business.VideoOrBuilder> 
        getVideoFieldBuilder() {
      if (videoBuilder_ == null) {
        videoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            com.volcengine.service.vod.model.business.Video, com.volcengine.service.vod.model.business.Video.Builder, com.volcengine.service.vod.model.business.VideoOrBuilder>(
                getVideo(),
                getParentForChildren(),
                isClean());
        video_ = null;
      }
      return videoBuilder_;
    }

    private com.volcengine.service.vod.model.business.Audio audio_;
    private com.google.protobuf.SingleFieldBuilderV3<
        com.volcengine.service.vod.model.business.Audio, com.volcengine.service.vod.model.business.Audio.Builder, com.volcengine.service.vod.model.business.AudioOrBuilder> audioBuilder_;
    /**
     * .Volcengine.Vod.Models.Business.Audio Audio = 4;
     * @return Whether the audio field is set.
     */
    public boolean hasAudio() {
      return audioBuilder_ != null || audio_ != null;
    }
    /**
     * .Volcengine.Vod.Models.Business.Audio Audio = 4;
     * @return The audio.
     */
    public com.volcengine.service.vod.model.business.Audio getAudio() {
      if (audioBuilder_ == null) {
        return audio_ == null ? com.volcengine.service.vod.model.business.Audio.getDefaultInstance() : audio_;
      } else {
        return audioBuilder_.getMessage();
      }
    }
    /**
     * .Volcengine.Vod.Models.Business.Audio Audio = 4;
     */
    public Builder setAudio(com.volcengine.service.vod.model.business.Audio value) {
      if (audioBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        audio_ = value;
        onChanged();
      } else {
        audioBuilder_.setMessage(value);
      }

      return this;
    }
    /**
     * .Volcengine.Vod.Models.Business.Audio Audio = 4;
     */
    public Builder setAudio(
        com.volcengine.service.vod.model.business.Audio.Builder builderForValue) {
      if (audioBuilder_ == null) {
        audio_ = builderForValue.build();
        onChanged();
      } else {
        audioBuilder_.setMessage(builderForValue.build());
      }

      return this;
    }
    /**
     * .Volcengine.Vod.Models.Business.Audio Audio = 4;
     */
    public Builder mergeAudio(com.volcengine.service.vod.model.business.Audio value) {
      if (audioBuilder_ == null) {
        if (audio_ != null) {
          audio_ =
            com.volcengine.service.vod.model.business.Audio.newBuilder(audio_).mergeFrom(value).buildPartial();
        } else {
          audio_ = value;
        }
        onChanged();
      } else {
        audioBuilder_.mergeFrom(value);
      }

      return this;
    }
    /**
     * .Volcengine.Vod.Models.Business.Audio Audio = 4;
     */
    public Builder clearAudio() {
      if (audioBuilder_ == null) {
        audio_ = null;
        onChanged();
      } else {
        audio_ = null;
        audioBuilder_ = null;
      }

      return this;
    }
    /**
     * .Volcengine.Vod.Models.Business.Audio Audio = 4;
     */
    public com.volcengine.service.vod.model.business.Audio.Builder getAudioBuilder() {
      
      onChanged();
      return getAudioFieldBuilder().getBuilder();
    }
    /**
     * .Volcengine.Vod.Models.Business.Audio Audio = 4;
     */
    public com.volcengine.service.vod.model.business.AudioOrBuilder getAudioOrBuilder() {
      if (audioBuilder_ != null) {
        return audioBuilder_.getMessageOrBuilder();
      } else {
        return audio_ == null ?
            com.volcengine.service.vod.model.business.Audio.getDefaultInstance() : audio_;
      }
    }
    /**
     * .Volcengine.Vod.Models.Business.Audio Audio = 4;
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        com.volcengine.service.vod.model.business.Audio, com.volcengine.service.vod.model.business.Audio.Builder, com.volcengine.service.vod.model.business.AudioOrBuilder> 
        getAudioFieldBuilder() {
      if (audioBuilder_ == null) {
        audioBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            com.volcengine.service.vod.model.business.Audio, com.volcengine.service.vod.model.business.Audio.Builder, com.volcengine.service.vod.model.business.AudioOrBuilder>(
                getAudio(),
                getParentForChildren(),
                isClean());
        audio_ = null;
      }
      return audioBuilder_;
    }

    private boolean disableAudio_ ;
    /**
     * bool DisableAudio = 5;
     * @return The disableAudio.
     */
    @java.lang.Override
    public boolean getDisableAudio() {
      return disableAudio_;
    }
    /**
     * bool DisableAudio = 5;
     * @param value The disableAudio to set.
     * @return This builder for chaining.
     */
    public Builder setDisableAudio(boolean value) {
      
      disableAudio_ = value;
      onChanged();
      return this;
    }
    /**
     * bool DisableAudio = 5;
     * @return This builder for chaining.
     */
    public Builder clearDisableAudio() {
      
      disableAudio_ = false;
      onChanged();
      return this;
    }

    private java.lang.Object quality_ = "";
    /**
     * string Quality = 6;
     * @return The quality.
     */
    public java.lang.String getQuality() {
      java.lang.Object ref = quality_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        quality_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * string Quality = 6;
     * @return The bytes for quality.
     */
    public com.google.protobuf.ByteString
        getQualityBytes() {
      java.lang.Object ref = quality_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        quality_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * string Quality = 6;
     * @param value The quality to set.
     * @return This builder for chaining.
     */
    public Builder setQuality(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      quality_ = value;
      onChanged();
      return this;
    }
    /**
     * string Quality = 6;
     * @return This builder for chaining.
     */
    public Builder clearQuality() {
      
      quality_ = getDefaultInstance().getQuality();
      onChanged();
      return this;
    }
    /**
     * string Quality = 6;
     * @param value The bytes for quality to set.
     * @return This builder for chaining.
     */
    public Builder setQualityBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      quality_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object vladder_ = "";
    /**
     * string Vladder = 7;
     * @return The vladder.
     */
    public java.lang.String getVladder() {
      java.lang.Object ref = vladder_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        vladder_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * string Vladder = 7;
     * @return The bytes for vladder.
     */
    public com.google.protobuf.ByteString
        getVladderBytes() {
      java.lang.Object ref = vladder_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        vladder_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * string Vladder = 7;
     * @param value The vladder to set.
     * @return This builder for chaining.
     */
    public Builder setVladder(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      vladder_ = value;
      onChanged();
      return this;
    }
    /**
     * string Vladder = 7;
     * @return This builder for chaining.
     */
    public Builder clearVladder() {
      
      vladder_ = getDefaultInstance().getVladder();
      onChanged();
      return this;
    }
    /**
     * string Vladder = 7;
     * @param value The bytes for vladder to set.
     * @return This builder for chaining.
     */
    public Builder setVladderBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      vladder_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object userTag_ = "";
    /**
     * string UserTag = 8;
     * @return The userTag.
     */
    public java.lang.String getUserTag() {
      java.lang.Object ref = userTag_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        userTag_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * string UserTag = 8;
     * @return The bytes for userTag.
     */
    public com.google.protobuf.ByteString
        getUserTagBytes() {
      java.lang.Object ref = userTag_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        userTag_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * string UserTag = 8;
     * @param value The userTag to set.
     * @return This builder for chaining.
     */
    public Builder setUserTag(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      userTag_ = value;
      onChanged();
      return this;
    }
    /**
     * string UserTag = 8;
     * @return This builder for chaining.
     */
    public Builder clearUserTag() {
      
      userTag_ = getDefaultInstance().getUserTag();
      onChanged();
      return this;
    }
    /**
     * string UserTag = 8;
     * @param value The bytes for userTag to set.
     * @return This builder for chaining.
     */
    public Builder setUserTagBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      userTag_ = value;
      onChanged();
      return this;
    }

    private boolean encrypt_ ;
    /**
     * bool Encrypt = 9;
     * @return The encrypt.
     */
    @java.lang.Override
    public boolean getEncrypt() {
      return encrypt_;
    }
    /**
     * bool Encrypt = 9;
     * @param value The encrypt to set.
     * @return This builder for chaining.
     */
    public Builder setEncrypt(boolean value) {
      
      encrypt_ = value;
      onChanged();
      return this;
    }
    /**
     * bool Encrypt = 9;
     * @return This builder for chaining.
     */
    public Builder clearEncrypt() {
      
      encrypt_ = false;
      onChanged();
      return this;
    }

    private com.volcengine.service.vod.model.business.Encryption encryption_;
    private com.google.protobuf.SingleFieldBuilderV3<
        com.volcengine.service.vod.model.business.Encryption, com.volcengine.service.vod.model.business.Encryption.Builder, com.volcengine.service.vod.model.business.EncryptionOrBuilder> encryptionBuilder_;
    /**
     * .Volcengine.Vod.Models.Business.Encryption Encryption = 10;
     * @return Whether the encryption field is set.
     */
    public boolean hasEncryption() {
      return encryptionBuilder_ != null || encryption_ != null;
    }
    /**
     * .Volcengine.Vod.Models.Business.Encryption Encryption = 10;
     * @return The encryption.
     */
    public com.volcengine.service.vod.model.business.Encryption getEncryption() {
      if (encryptionBuilder_ == null) {
        return encryption_ == null ? com.volcengine.service.vod.model.business.Encryption.getDefaultInstance() : encryption_;
      } else {
        return encryptionBuilder_.getMessage();
      }
    }
    /**
     * .Volcengine.Vod.Models.Business.Encryption Encryption = 10;
     */
    public Builder setEncryption(com.volcengine.service.vod.model.business.Encryption value) {
      if (encryptionBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        encryption_ = value;
        onChanged();
      } else {
        encryptionBuilder_.setMessage(value);
      }

      return this;
    }
    /**
     * .Volcengine.Vod.Models.Business.Encryption Encryption = 10;
     */
    public Builder setEncryption(
        com.volcengine.service.vod.model.business.Encryption.Builder builderForValue) {
      if (encryptionBuilder_ == null) {
        encryption_ = builderForValue.build();
        onChanged();
      } else {
        encryptionBuilder_.setMessage(builderForValue.build());
      }

      return this;
    }
    /**
     * .Volcengine.Vod.Models.Business.Encryption Encryption = 10;
     */
    public Builder mergeEncryption(com.volcengine.service.vod.model.business.Encryption value) {
      if (encryptionBuilder_ == null) {
        if (encryption_ != null) {
          encryption_ =
            com.volcengine.service.vod.model.business.Encryption.newBuilder(encryption_).mergeFrom(value).buildPartial();
        } else {
          encryption_ = value;
        }
        onChanged();
      } else {
        encryptionBuilder_.mergeFrom(value);
      }

      return this;
    }
    /**
     * .Volcengine.Vod.Models.Business.Encryption Encryption = 10;
     */
    public Builder clearEncryption() {
      if (encryptionBuilder_ == null) {
        encryption_ = null;
        onChanged();
      } else {
        encryption_ = null;
        encryptionBuilder_ = null;
      }

      return this;
    }
    /**
     * .Volcengine.Vod.Models.Business.Encryption Encryption = 10;
     */
    public com.volcengine.service.vod.model.business.Encryption.Builder getEncryptionBuilder() {
      
      onChanged();
      return getEncryptionFieldBuilder().getBuilder();
    }
    /**
     * .Volcengine.Vod.Models.Business.Encryption Encryption = 10;
     */
    public com.volcengine.service.vod.model.business.EncryptionOrBuilder getEncryptionOrBuilder() {
      if (encryptionBuilder_ != null) {
        return encryptionBuilder_.getMessageOrBuilder();
      } else {
        return encryption_ == null ?
            com.volcengine.service.vod.model.business.Encryption.getDefaultInstance() : encryption_;
      }
    }
    /**
     * .Volcengine.Vod.Models.Business.Encryption Encryption = 10;
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        com.volcengine.service.vod.model.business.Encryption, com.volcengine.service.vod.model.business.Encryption.Builder, com.volcengine.service.vod.model.business.EncryptionOrBuilder> 
        getEncryptionFieldBuilder() {
      if (encryptionBuilder_ == null) {
        encryptionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            com.volcengine.service.vod.model.business.Encryption, com.volcengine.service.vod.model.business.Encryption.Builder, com.volcengine.service.vod.model.business.EncryptionOrBuilder>(
                getEncryption(),
                getParentForChildren(),
                isClean());
        encryption_ = null;
      }
      return encryptionBuilder_;
    }

    private com.volcengine.service.vod.model.business.Segment segment_;
    private com.google.protobuf.SingleFieldBuilderV3<
        com.volcengine.service.vod.model.business.Segment, com.volcengine.service.vod.model.business.Segment.Builder, com.volcengine.service.vod.model.business.SegmentOrBuilder> segmentBuilder_;
    /**
     * .Volcengine.Vod.Models.Business.Segment Segment = 11;
     * @return Whether the segment field is set.
     */
    public boolean hasSegment() {
      return segmentBuilder_ != null || segment_ != null;
    }
    /**
     * .Volcengine.Vod.Models.Business.Segment Segment = 11;
     * @return The segment.
     */
    public com.volcengine.service.vod.model.business.Segment getSegment() {
      if (segmentBuilder_ == null) {
        return segment_ == null ? com.volcengine.service.vod.model.business.Segment.getDefaultInstance() : segment_;
      } else {
        return segmentBuilder_.getMessage();
      }
    }
    /**
     * .Volcengine.Vod.Models.Business.Segment Segment = 11;
     */
    public Builder setSegment(com.volcengine.service.vod.model.business.Segment value) {
      if (segmentBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        segment_ = value;
        onChanged();
      } else {
        segmentBuilder_.setMessage(value);
      }

      return this;
    }
    /**
     * .Volcengine.Vod.Models.Business.Segment Segment = 11;
     */
    public Builder setSegment(
        com.volcengine.service.vod.model.business.Segment.Builder builderForValue) {
      if (segmentBuilder_ == null) {
        segment_ = builderForValue.build();
        onChanged();
      } else {
        segmentBuilder_.setMessage(builderForValue.build());
      }

      return this;
    }
    /**
     * .Volcengine.Vod.Models.Business.Segment Segment = 11;
     */
    public Builder mergeSegment(com.volcengine.service.vod.model.business.Segment value) {
      if (segmentBuilder_ == null) {
        if (segment_ != null) {
          segment_ =
            com.volcengine.service.vod.model.business.Segment.newBuilder(segment_).mergeFrom(value).buildPartial();
        } else {
          segment_ = value;
        }
        onChanged();
      } else {
        segmentBuilder_.mergeFrom(value);
      }

      return this;
    }
    /**
     * .Volcengine.Vod.Models.Business.Segment Segment = 11;
     */
    public Builder clearSegment() {
      if (segmentBuilder_ == null) {
        segment_ = null;
        onChanged();
      } else {
        segment_ = null;
        segmentBuilder_ = null;
      }

      return this;
    }
    /**
     * .Volcengine.Vod.Models.Business.Segment Segment = 11;
     */
    public com.volcengine.service.vod.model.business.Segment.Builder getSegmentBuilder() {
      
      onChanged();
      return getSegmentFieldBuilder().getBuilder();
    }
    /**
     * .Volcengine.Vod.Models.Business.Segment Segment = 11;
     */
    public com.volcengine.service.vod.model.business.SegmentOrBuilder getSegmentOrBuilder() {
      if (segmentBuilder_ != null) {
        return segmentBuilder_.getMessageOrBuilder();
      } else {
        return segment_ == null ?
            com.volcengine.service.vod.model.business.Segment.getDefaultInstance() : segment_;
      }
    }
    /**
     * .Volcengine.Vod.Models.Business.Segment Segment = 11;
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        com.volcengine.service.vod.model.business.Segment, com.volcengine.service.vod.model.business.Segment.Builder, com.volcengine.service.vod.model.business.SegmentOrBuilder> 
        getSegmentFieldBuilder() {
      if (segmentBuilder_ == null) {
        segmentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            com.volcengine.service.vod.model.business.Segment, com.volcengine.service.vod.model.business.Segment.Builder, com.volcengine.service.vod.model.business.SegmentOrBuilder>(
                getSegment(),
                getParentForChildren(),
                isClean());
        segment_ = null;
      }
      return segmentBuilder_;
    }

    private com.volcengine.service.vod.model.business.Volume volume_;
    private com.google.protobuf.SingleFieldBuilderV3<
        com.volcengine.service.vod.model.business.Volume, com.volcengine.service.vod.model.business.Volume.Builder, com.volcengine.service.vod.model.business.VolumeOrBuilder> volumeBuilder_;
    /**
     * .Volcengine.Vod.Models.Business.Volume Volume = 12;
     * @return Whether the volume field is set.
     */
    public boolean hasVolume() {
      return volumeBuilder_ != null || volume_ != null;
    }
    /**
     * .Volcengine.Vod.Models.Business.Volume Volume = 12;
     * @return The volume.
     */
    public com.volcengine.service.vod.model.business.Volume getVolume() {
      if (volumeBuilder_ == null) {
        return volume_ == null ? com.volcengine.service.vod.model.business.Volume.getDefaultInstance() : volume_;
      } else {
        return volumeBuilder_.getMessage();
      }
    }
    /**
     * .Volcengine.Vod.Models.Business.Volume Volume = 12;
     */
    public Builder setVolume(com.volcengine.service.vod.model.business.Volume value) {
      if (volumeBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        volume_ = value;
        onChanged();
      } else {
        volumeBuilder_.setMessage(value);
      }

      return this;
    }
    /**
     * .Volcengine.Vod.Models.Business.Volume Volume = 12;
     */
    public Builder setVolume(
        com.volcengine.service.vod.model.business.Volume.Builder builderForValue) {
      if (volumeBuilder_ == null) {
        volume_ = builderForValue.build();
        onChanged();
      } else {
        volumeBuilder_.setMessage(builderForValue.build());
      }

      return this;
    }
    /**
     * .Volcengine.Vod.Models.Business.Volume Volume = 12;
     */
    public Builder mergeVolume(com.volcengine.service.vod.model.business.Volume value) {
      if (volumeBuilder_ == null) {
        if (volume_ != null) {
          volume_ =
            com.volcengine.service.vod.model.business.Volume.newBuilder(volume_).mergeFrom(value).buildPartial();
        } else {
          volume_ = value;
        }
        onChanged();
      } else {
        volumeBuilder_.mergeFrom(value);
      }

      return this;
    }
    /**
     * .Volcengine.Vod.Models.Business.Volume Volume = 12;
     */
    public Builder clearVolume() {
      if (volumeBuilder_ == null) {
        volume_ = null;
        onChanged();
      } else {
        volume_ = null;
        volumeBuilder_ = null;
      }

      return this;
    }
    /**
     * .Volcengine.Vod.Models.Business.Volume Volume = 12;
     */
    public com.volcengine.service.vod.model.business.Volume.Builder getVolumeBuilder() {
      
      onChanged();
      return getVolumeFieldBuilder().getBuilder();
    }
    /**
     * .Volcengine.Vod.Models.Business.Volume Volume = 12;
     */
    public com.volcengine.service.vod.model.business.VolumeOrBuilder getVolumeOrBuilder() {
      if (volumeBuilder_ != null) {
        return volumeBuilder_.getMessageOrBuilder();
      } else {
        return volume_ == null ?
            com.volcengine.service.vod.model.business.Volume.getDefaultInstance() : volume_;
      }
    }
    /**
     * .Volcengine.Vod.Models.Business.Volume Volume = 12;
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        com.volcengine.service.vod.model.business.Volume, com.volcengine.service.vod.model.business.Volume.Builder, com.volcengine.service.vod.model.business.VolumeOrBuilder> 
        getVolumeFieldBuilder() {
      if (volumeBuilder_ == null) {
        volumeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            com.volcengine.service.vod.model.business.Volume, com.volcengine.service.vod.model.business.Volume.Builder, com.volcengine.service.vod.model.business.VolumeOrBuilder>(
                getVolume(),
                getParentForChildren(),
                isClean());
        volume_ = null;
      }
      return volumeBuilder_;
    }
    @java.lang.Override
    public final Builder setUnknownFields(
        final com.google.protobuf.UnknownFieldSet unknownFields) {
      return super.setUnknownFields(unknownFields);
    }

    @java.lang.Override
    public final Builder mergeUnknownFields(
        final com.google.protobuf.UnknownFieldSet unknownFields) {
      return super.mergeUnknownFields(unknownFields);
    }


    // @@protoc_insertion_point(builder_scope:Volcengine.Vod.Models.Business.TranscodeVideoTaskParams)
  }

  // @@protoc_insertion_point(class_scope:Volcengine.Vod.Models.Business.TranscodeVideoTaskParams)
  private static final com.volcengine.service.vod.model.business.TranscodeVideoTaskParams DEFAULT_INSTANCE;
  static {
    DEFAULT_INSTANCE = new com.volcengine.service.vod.model.business.TranscodeVideoTaskParams();
  }

  public static com.volcengine.service.vod.model.business.TranscodeVideoTaskParams getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

  private static final com.google.protobuf.Parser
      PARSER = new com.google.protobuf.AbstractParser() {
    @java.lang.Override
    public TranscodeVideoTaskParams parsePartialFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return new TranscodeVideoTaskParams(input, extensionRegistry);
    }
  };

  public static com.google.protobuf.Parser parser() {
    return PARSER;
  }

  @java.lang.Override
  public com.google.protobuf.Parser getParserForType() {
    return PARSER;
  }

  @java.lang.Override
  public com.volcengine.service.vod.model.business.TranscodeVideoTaskParams getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy