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

com.volcengine.service.vod.model.business.TranscodeAudioTaskParams 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.TranscodeAudioTaskParams}
 */
public final class TranscodeAudioTaskParams extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:Volcengine.Vod.Models.Business.TranscodeAudioTaskParams)
    TranscodeAudioTaskParamsOrBuilder {
private static final long serialVersionUID = 0L;
  // Use TranscodeAudioTaskParams.newBuilder() to construct.
  private TranscodeAudioTaskParams(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private TranscodeAudioTaskParams() {
    container_ = "";
    quality_ = "";
    userTag_ = "";
  }

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

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private TranscodeAudioTaskParams(
      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();

            container_ = s;
            break;
          }
          case 18: {
            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 26: {
            java.lang.String s = input.readStringRequireUtf8();

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

            userTag_ = s;
            break;
          }
          case 40: {

            encrypt_ = input.readBool();
            break;
          }
          case 50: {
            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 58: {
            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 66: {
            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_TranscodeAudioTaskParams_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_TranscodeAudioTaskParams_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.volcengine.service.vod.model.business.TranscodeAudioTaskParams.class, com.volcengine.service.vod.model.business.TranscodeAudioTaskParams.Builder.class);
  }

  public static final int CONTAINER_FIELD_NUMBER = 1;
  private volatile java.lang.Object container_;
  /**
   * string Container = 1;
   * @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 = 1;
   * @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 AUDIO_FIELD_NUMBER = 2;
  private com.volcengine.service.vod.model.business.Audio audio_;
  /**
   * .Volcengine.Vod.Models.Business.Audio Audio = 2;
   * @return Whether the audio field is set.
   */
  @java.lang.Override
  public boolean hasAudio() {
    return audio_ != null;
  }
  /**
   * .Volcengine.Vod.Models.Business.Audio Audio = 2;
   * @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 = 2;
   */
  @java.lang.Override
  public com.volcengine.service.vod.model.business.AudioOrBuilder getAudioOrBuilder() {
    return getAudio();
  }

  public static final int QUALITY_FIELD_NUMBER = 3;
  private volatile java.lang.Object quality_;
  /**
   * string Quality = 3;
   * @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 = 3;
   * @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 USERTAG_FIELD_NUMBER = 4;
  private volatile java.lang.Object userTag_;
  /**
   * string UserTag = 4;
   * @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 = 4;
   * @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 = 5;
  private boolean encrypt_;
  /**
   * bool Encrypt = 5;
   * @return The encrypt.
   */
  @java.lang.Override
  public boolean getEncrypt() {
    return encrypt_;
  }

  public static final int ENCRYPTION_FIELD_NUMBER = 6;
  private com.volcengine.service.vod.model.business.Encryption encryption_;
  /**
   * .Volcengine.Vod.Models.Business.Encryption Encryption = 6;
   * @return Whether the encryption field is set.
   */
  @java.lang.Override
  public boolean hasEncryption() {
    return encryption_ != null;
  }
  /**
   * .Volcengine.Vod.Models.Business.Encryption Encryption = 6;
   * @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 = 6;
   */
  @java.lang.Override
  public com.volcengine.service.vod.model.business.EncryptionOrBuilder getEncryptionOrBuilder() {
    return getEncryption();
  }

  public static final int SEGMENT_FIELD_NUMBER = 7;
  private com.volcengine.service.vod.model.business.Segment segment_;
  /**
   * .Volcengine.Vod.Models.Business.Segment Segment = 7;
   * @return Whether the segment field is set.
   */
  @java.lang.Override
  public boolean hasSegment() {
    return segment_ != null;
  }
  /**
   * .Volcengine.Vod.Models.Business.Segment Segment = 7;
   * @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 = 7;
   */
  @java.lang.Override
  public com.volcengine.service.vod.model.business.SegmentOrBuilder getSegmentOrBuilder() {
    return getSegment();
  }

  public static final int VOLUME_FIELD_NUMBER = 8;
  private com.volcengine.service.vod.model.business.Volume volume_;
  /**
   * .Volcengine.Vod.Models.Business.Volume Volume = 8;
   * @return Whether the volume field is set.
   */
  @java.lang.Override
  public boolean hasVolume() {
    return volume_ != null;
  }
  /**
   * .Volcengine.Vod.Models.Business.Volume Volume = 8;
   * @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 = 8;
   */
  @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(container_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, container_);
    }
    if (audio_ != null) {
      output.writeMessage(2, getAudio());
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(quality_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, quality_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userTag_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 4, userTag_);
    }
    if (encrypt_ != false) {
      output.writeBool(5, encrypt_);
    }
    if (encryption_ != null) {
      output.writeMessage(6, getEncryption());
    }
    if (segment_ != null) {
      output.writeMessage(7, getSegment());
    }
    if (volume_ != null) {
      output.writeMessage(8, 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(container_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, container_);
    }
    if (audio_ != null) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(2, getAudio());
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(quality_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, quality_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userTag_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, userTag_);
    }
    if (encrypt_ != false) {
      size += com.google.protobuf.CodedOutputStream
        .computeBoolSize(5, encrypt_);
    }
    if (encryption_ != null) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(6, getEncryption());
    }
    if (segment_ != null) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(7, getSegment());
    }
    if (volume_ != null) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(8, 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.TranscodeAudioTaskParams)) {
      return super.equals(obj);
    }
    com.volcengine.service.vod.model.business.TranscodeAudioTaskParams other = (com.volcengine.service.vod.model.business.TranscodeAudioTaskParams) obj;

    if (!getContainer()
        .equals(other.getContainer())) return false;
    if (hasAudio() != other.hasAudio()) return false;
    if (hasAudio()) {
      if (!getAudio()
          .equals(other.getAudio())) return false;
    }
    if (!getQuality()
        .equals(other.getQuality())) 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) + CONTAINER_FIELD_NUMBER;
    hash = (53 * hash) + getContainer().hashCode();
    if (hasAudio()) {
      hash = (37 * hash) + AUDIO_FIELD_NUMBER;
      hash = (53 * hash) + getAudio().hashCode();
    }
    hash = (37 * hash) + QUALITY_FIELD_NUMBER;
    hash = (53 * hash) + getQuality().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.TranscodeAudioTaskParams parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.volcengine.service.vod.model.business.TranscodeAudioTaskParams 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.TranscodeAudioTaskParams parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.volcengine.service.vod.model.business.TranscodeAudioTaskParams 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.TranscodeAudioTaskParams parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.volcengine.service.vod.model.business.TranscodeAudioTaskParams 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.TranscodeAudioTaskParams 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.TranscodeAudioTaskParams 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.TranscodeAudioTaskParams 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.TranscodeAudioTaskParams 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.TranscodeAudioTaskParams 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.TranscodeAudioTaskParams 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.TranscodeAudioTaskParams 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.TranscodeAudioTaskParams}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder implements
      // @@protoc_insertion_point(builder_implements:Volcengine.Vod.Models.Business.TranscodeAudioTaskParams)
      com.volcengine.service.vod.model.business.TranscodeAudioTaskParamsOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.volcengine.service.vod.model.business.VodWorkflow.internal_static_Volcengine_Vod_Models_Business_TranscodeAudioTaskParams_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_TranscodeAudioTaskParams_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.volcengine.service.vod.model.business.TranscodeAudioTaskParams.class, com.volcengine.service.vod.model.business.TranscodeAudioTaskParams.Builder.class);
    }

    // Construct using com.volcengine.service.vod.model.business.TranscodeAudioTaskParams.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();
      container_ = "";

      if (audioBuilder_ == null) {
        audio_ = null;
      } else {
        audio_ = null;
        audioBuilder_ = null;
      }
      quality_ = "";

      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_TranscodeAudioTaskParams_descriptor;
    }

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

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

    @java.lang.Override
    public com.volcengine.service.vod.model.business.TranscodeAudioTaskParams buildPartial() {
      com.volcengine.service.vod.model.business.TranscodeAudioTaskParams result = new com.volcengine.service.vod.model.business.TranscodeAudioTaskParams(this);
      result.container_ = container_;
      if (audioBuilder_ == null) {
        result.audio_ = audio_;
      } else {
        result.audio_ = audioBuilder_.build();
      }
      result.quality_ = quality_;
      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.TranscodeAudioTaskParams) {
        return mergeFrom((com.volcengine.service.vod.model.business.TranscodeAudioTaskParams)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(com.volcengine.service.vod.model.business.TranscodeAudioTaskParams other) {
      if (other == com.volcengine.service.vod.model.business.TranscodeAudioTaskParams.getDefaultInstance()) return this;
      if (!other.getContainer().isEmpty()) {
        container_ = other.container_;
        onChanged();
      }
      if (other.hasAudio()) {
        mergeAudio(other.getAudio());
      }
      if (!other.getQuality().isEmpty()) {
        quality_ = other.quality_;
        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.TranscodeAudioTaskParams parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (com.volcengine.service.vod.model.business.TranscodeAudioTaskParams) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }

    private java.lang.Object container_ = "";
    /**
     * string Container = 1;
     * @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 = 1;
     * @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 = 1;
     * @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 = 1;
     * @return This builder for chaining.
     */
    public Builder clearContainer() {
      
      container_ = getDefaultInstance().getContainer();
      onChanged();
      return this;
    }
    /**
     * string Container = 1;
     * @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.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 = 2;
     * @return Whether the audio field is set.
     */
    public boolean hasAudio() {
      return audioBuilder_ != null || audio_ != null;
    }
    /**
     * .Volcengine.Vod.Models.Business.Audio Audio = 2;
     * @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 = 2;
     */
    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 = 2;
     */
    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 = 2;
     */
    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 = 2;
     */
    public Builder clearAudio() {
      if (audioBuilder_ == null) {
        audio_ = null;
        onChanged();
      } else {
        audio_ = null;
        audioBuilder_ = null;
      }

      return this;
    }
    /**
     * .Volcengine.Vod.Models.Business.Audio Audio = 2;
     */
    public com.volcengine.service.vod.model.business.Audio.Builder getAudioBuilder() {
      
      onChanged();
      return getAudioFieldBuilder().getBuilder();
    }
    /**
     * .Volcengine.Vod.Models.Business.Audio Audio = 2;
     */
    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 = 2;
     */
    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 java.lang.Object quality_ = "";
    /**
     * string Quality = 3;
     * @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 = 3;
     * @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 = 3;
     * @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 = 3;
     * @return This builder for chaining.
     */
    public Builder clearQuality() {
      
      quality_ = getDefaultInstance().getQuality();
      onChanged();
      return this;
    }
    /**
     * string Quality = 3;
     * @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 userTag_ = "";
    /**
     * string UserTag = 4;
     * @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 = 4;
     * @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 = 4;
     * @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 = 4;
     * @return This builder for chaining.
     */
    public Builder clearUserTag() {
      
      userTag_ = getDefaultInstance().getUserTag();
      onChanged();
      return this;
    }
    /**
     * string UserTag = 4;
     * @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 = 5;
     * @return The encrypt.
     */
    @java.lang.Override
    public boolean getEncrypt() {
      return encrypt_;
    }
    /**
     * bool Encrypt = 5;
     * @param value The encrypt to set.
     * @return This builder for chaining.
     */
    public Builder setEncrypt(boolean value) {
      
      encrypt_ = value;
      onChanged();
      return this;
    }
    /**
     * bool Encrypt = 5;
     * @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 = 6;
     * @return Whether the encryption field is set.
     */
    public boolean hasEncryption() {
      return encryptionBuilder_ != null || encryption_ != null;
    }
    /**
     * .Volcengine.Vod.Models.Business.Encryption Encryption = 6;
     * @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 = 6;
     */
    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 = 6;
     */
    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 = 6;
     */
    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 = 6;
     */
    public Builder clearEncryption() {
      if (encryptionBuilder_ == null) {
        encryption_ = null;
        onChanged();
      } else {
        encryption_ = null;
        encryptionBuilder_ = null;
      }

      return this;
    }
    /**
     * .Volcengine.Vod.Models.Business.Encryption Encryption = 6;
     */
    public com.volcengine.service.vod.model.business.Encryption.Builder getEncryptionBuilder() {
      
      onChanged();
      return getEncryptionFieldBuilder().getBuilder();
    }
    /**
     * .Volcengine.Vod.Models.Business.Encryption Encryption = 6;
     */
    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 = 6;
     */
    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 = 7;
     * @return Whether the segment field is set.
     */
    public boolean hasSegment() {
      return segmentBuilder_ != null || segment_ != null;
    }
    /**
     * .Volcengine.Vod.Models.Business.Segment Segment = 7;
     * @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 = 7;
     */
    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 = 7;
     */
    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 = 7;
     */
    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 = 7;
     */
    public Builder clearSegment() {
      if (segmentBuilder_ == null) {
        segment_ = null;
        onChanged();
      } else {
        segment_ = null;
        segmentBuilder_ = null;
      }

      return this;
    }
    /**
     * .Volcengine.Vod.Models.Business.Segment Segment = 7;
     */
    public com.volcengine.service.vod.model.business.Segment.Builder getSegmentBuilder() {
      
      onChanged();
      return getSegmentFieldBuilder().getBuilder();
    }
    /**
     * .Volcengine.Vod.Models.Business.Segment Segment = 7;
     */
    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 = 7;
     */
    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 = 8;
     * @return Whether the volume field is set.
     */
    public boolean hasVolume() {
      return volumeBuilder_ != null || volume_ != null;
    }
    /**
     * .Volcengine.Vod.Models.Business.Volume Volume = 8;
     * @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 = 8;
     */
    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 = 8;
     */
    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 = 8;
     */
    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 = 8;
     */
    public Builder clearVolume() {
      if (volumeBuilder_ == null) {
        volume_ = null;
        onChanged();
      } else {
        volume_ = null;
        volumeBuilder_ = null;
      }

      return this;
    }
    /**
     * .Volcengine.Vod.Models.Business.Volume Volume = 8;
     */
    public com.volcengine.service.vod.model.business.Volume.Builder getVolumeBuilder() {
      
      onChanged();
      return getVolumeFieldBuilder().getBuilder();
    }
    /**
     * .Volcengine.Vod.Models.Business.Volume Volume = 8;
     */
    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 = 8;
     */
    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.TranscodeAudioTaskParams)
  }

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

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

  private static final com.google.protobuf.Parser
      PARSER = new com.google.protobuf.AbstractParser() {
    @java.lang.Override
    public TranscodeAudioTaskParams parsePartialFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return new TranscodeAudioTaskParams(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.TranscodeAudioTaskParams getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy