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

com.byteplus.service.vod.model.business.VodWorkflowResult Maven / Gradle / Ivy

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

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

/**
 * Protobuf type {@code Byteplus.Vod.Models.Business.VodWorkflowResult}
 */
public final class VodWorkflowResult extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:Byteplus.Vod.Models.Business.VodWorkflowResult)
    VodWorkflowResultOrBuilder {
private static final long serialVersionUID = 0L;
  // Use VodWorkflowResult.newBuilder() to construct.
  private VodWorkflowResult(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private VodWorkflowResult() {
    vid_ = "";
    runId_ = "";
    spaceName_ = "";
    templateId_ = "";
    callbackArgs_ = "";
    status_ = "";
    transcodeInfos_ = java.util.Collections.emptyList();
    snapshots_ = java.util.Collections.emptyList();
  }

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

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private VodWorkflowResult(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    this();
    if (extensionRegistry == null) {
      throw new java.lang.NullPointerException();
    }
    int mutable_bitField0_ = 0;
    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: {
            com.byteplus.service.vod.model.business.DirectUrl.Builder subBuilder = null;
            if (directUrl_ != null) {
              subBuilder = directUrl_.toBuilder();
            }
            directUrl_ = input.readMessage(com.byteplus.service.vod.model.business.DirectUrl.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(directUrl_);
              directUrl_ = subBuilder.buildPartial();
            }

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

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

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

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

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

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

            status_ = s;
            break;
          }
          case 66: {
            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
              transcodeInfos_ = new java.util.ArrayList();
              mutable_bitField0_ |= 0x00000001;
            }
            transcodeInfos_.add(
                input.readMessage(com.byteplus.service.vod.model.business.VodTranscodeInfo.parser(), extensionRegistry));
            break;
          }
          case 74: {
            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
              snapshots_ = new java.util.ArrayList();
              mutable_bitField0_ |= 0x00000002;
            }
            snapshots_.add(
                input.readMessage(com.byteplus.service.vod.model.business.SnapshotResult.parser(), extensionRegistry));
            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 {
      if (((mutable_bitField0_ & 0x00000001) != 0)) {
        transcodeInfos_ = java.util.Collections.unmodifiableList(transcodeInfos_);
      }
      if (((mutable_bitField0_ & 0x00000002) != 0)) {
        snapshots_ = java.util.Collections.unmodifiableList(snapshots_);
      }
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return com.byteplus.service.vod.model.business.VodWorkflow.internal_static_Byteplus_Vod_Models_Business_VodWorkflowResult_descriptor;
  }

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

  public static final int DIRECTURL_FIELD_NUMBER = 1;
  private com.byteplus.service.vod.model.business.DirectUrl directUrl_;
  /**
   * .Byteplus.Vod.Models.Business.DirectUrl DirectUrl = 1;
   * @return Whether the directUrl field is set.
   */
  @java.lang.Override
  public boolean hasDirectUrl() {
    return directUrl_ != null;
  }
  /**
   * .Byteplus.Vod.Models.Business.DirectUrl DirectUrl = 1;
   * @return The directUrl.
   */
  @java.lang.Override
  public com.byteplus.service.vod.model.business.DirectUrl getDirectUrl() {
    return directUrl_ == null ? com.byteplus.service.vod.model.business.DirectUrl.getDefaultInstance() : directUrl_;
  }
  /**
   * .Byteplus.Vod.Models.Business.DirectUrl DirectUrl = 1;
   */
  @java.lang.Override
  public com.byteplus.service.vod.model.business.DirectUrlOrBuilder getDirectUrlOrBuilder() {
    return getDirectUrl();
  }

  public static final int VID_FIELD_NUMBER = 2;
  private volatile java.lang.Object vid_;
  /**
   * string Vid = 2;
   * @return The vid.
   */
  @java.lang.Override
  public java.lang.String getVid() {
    java.lang.Object ref = vid_;
    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();
      vid_ = s;
      return s;
    }
  }
  /**
   * string Vid = 2;
   * @return The bytes for vid.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getVidBytes() {
    java.lang.Object ref = vid_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      vid_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int RUNID_FIELD_NUMBER = 3;
  private volatile java.lang.Object runId_;
  /**
   * string RunId = 3;
   * @return The runId.
   */
  @java.lang.Override
  public java.lang.String getRunId() {
    java.lang.Object ref = runId_;
    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();
      runId_ = s;
      return s;
    }
  }
  /**
   * string RunId = 3;
   * @return The bytes for runId.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getRunIdBytes() {
    java.lang.Object ref = runId_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      runId_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int SPACENAME_FIELD_NUMBER = 4;
  private volatile java.lang.Object spaceName_;
  /**
   * string SpaceName = 4;
   * @return The spaceName.
   */
  @java.lang.Override
  public java.lang.String getSpaceName() {
    java.lang.Object ref = spaceName_;
    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();
      spaceName_ = s;
      return s;
    }
  }
  /**
   * string SpaceName = 4;
   * @return The bytes for spaceName.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getSpaceNameBytes() {
    java.lang.Object ref = spaceName_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      spaceName_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int TEMPLATEID_FIELD_NUMBER = 5;
  private volatile java.lang.Object templateId_;
  /**
   * string TemplateId = 5;
   * @return The templateId.
   */
  @java.lang.Override
  public java.lang.String getTemplateId() {
    java.lang.Object ref = templateId_;
    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();
      templateId_ = s;
      return s;
    }
  }
  /**
   * string TemplateId = 5;
   * @return The bytes for templateId.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getTemplateIdBytes() {
    java.lang.Object ref = templateId_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      templateId_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int CALLBACKARGS_FIELD_NUMBER = 6;
  private volatile java.lang.Object callbackArgs_;
  /**
   * string CallbackArgs = 6;
   * @return The callbackArgs.
   */
  @java.lang.Override
  public java.lang.String getCallbackArgs() {
    java.lang.Object ref = callbackArgs_;
    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();
      callbackArgs_ = s;
      return s;
    }
  }
  /**
   * string CallbackArgs = 6;
   * @return The bytes for callbackArgs.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getCallbackArgsBytes() {
    java.lang.Object ref = callbackArgs_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      callbackArgs_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int STATUS_FIELD_NUMBER = 7;
  private volatile java.lang.Object status_;
  /**
   * string Status = 7;
   * @return The status.
   */
  @java.lang.Override
  public java.lang.String getStatus() {
    java.lang.Object ref = status_;
    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();
      status_ = s;
      return s;
    }
  }
  /**
   * string Status = 7;
   * @return The bytes for status.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getStatusBytes() {
    java.lang.Object ref = status_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      status_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int TRANSCODEINFOS_FIELD_NUMBER = 8;
  private java.util.List transcodeInfos_;
  /**
   * repeated .Byteplus.Vod.Models.Business.VodTranscodeInfo TranscodeInfos = 8;
   */
  @java.lang.Override
  public java.util.List getTranscodeInfosList() {
    return transcodeInfos_;
  }
  /**
   * repeated .Byteplus.Vod.Models.Business.VodTranscodeInfo TranscodeInfos = 8;
   */
  @java.lang.Override
  public java.util.List 
      getTranscodeInfosOrBuilderList() {
    return transcodeInfos_;
  }
  /**
   * repeated .Byteplus.Vod.Models.Business.VodTranscodeInfo TranscodeInfos = 8;
   */
  @java.lang.Override
  public int getTranscodeInfosCount() {
    return transcodeInfos_.size();
  }
  /**
   * repeated .Byteplus.Vod.Models.Business.VodTranscodeInfo TranscodeInfos = 8;
   */
  @java.lang.Override
  public com.byteplus.service.vod.model.business.VodTranscodeInfo getTranscodeInfos(int index) {
    return transcodeInfos_.get(index);
  }
  /**
   * repeated .Byteplus.Vod.Models.Business.VodTranscodeInfo TranscodeInfos = 8;
   */
  @java.lang.Override
  public com.byteplus.service.vod.model.business.VodTranscodeInfoOrBuilder getTranscodeInfosOrBuilder(
      int index) {
    return transcodeInfos_.get(index);
  }

  public static final int SNAPSHOTS_FIELD_NUMBER = 9;
  private java.util.List snapshots_;
  /**
   * repeated .Byteplus.Vod.Models.Business.SnapshotResult Snapshots = 9;
   */
  @java.lang.Override
  public java.util.List getSnapshotsList() {
    return snapshots_;
  }
  /**
   * repeated .Byteplus.Vod.Models.Business.SnapshotResult Snapshots = 9;
   */
  @java.lang.Override
  public java.util.List 
      getSnapshotsOrBuilderList() {
    return snapshots_;
  }
  /**
   * repeated .Byteplus.Vod.Models.Business.SnapshotResult Snapshots = 9;
   */
  @java.lang.Override
  public int getSnapshotsCount() {
    return snapshots_.size();
  }
  /**
   * repeated .Byteplus.Vod.Models.Business.SnapshotResult Snapshots = 9;
   */
  @java.lang.Override
  public com.byteplus.service.vod.model.business.SnapshotResult getSnapshots(int index) {
    return snapshots_.get(index);
  }
  /**
   * repeated .Byteplus.Vod.Models.Business.SnapshotResult Snapshots = 9;
   */
  @java.lang.Override
  public com.byteplus.service.vod.model.business.SnapshotResultOrBuilder getSnapshotsOrBuilder(
      int index) {
    return snapshots_.get(index);
  }

  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 (directUrl_ != null) {
      output.writeMessage(1, getDirectUrl());
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(vid_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, vid_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(runId_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, runId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(spaceName_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 4, spaceName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(templateId_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 5, templateId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(callbackArgs_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 6, callbackArgs_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(status_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 7, status_);
    }
    for (int i = 0; i < transcodeInfos_.size(); i++) {
      output.writeMessage(8, transcodeInfos_.get(i));
    }
    for (int i = 0; i < snapshots_.size(); i++) {
      output.writeMessage(9, snapshots_.get(i));
    }
    unknownFields.writeTo(output);
  }

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

    size = 0;
    if (directUrl_ != null) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(1, getDirectUrl());
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(vid_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, vid_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(runId_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, runId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(spaceName_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, spaceName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(templateId_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, templateId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(callbackArgs_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, callbackArgs_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(status_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, status_);
    }
    for (int i = 0; i < transcodeInfos_.size(); i++) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(8, transcodeInfos_.get(i));
    }
    for (int i = 0; i < snapshots_.size(); i++) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(9, snapshots_.get(i));
    }
    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.byteplus.service.vod.model.business.VodWorkflowResult)) {
      return super.equals(obj);
    }
    com.byteplus.service.vod.model.business.VodWorkflowResult other = (com.byteplus.service.vod.model.business.VodWorkflowResult) obj;

    if (hasDirectUrl() != other.hasDirectUrl()) return false;
    if (hasDirectUrl()) {
      if (!getDirectUrl()
          .equals(other.getDirectUrl())) return false;
    }
    if (!getVid()
        .equals(other.getVid())) return false;
    if (!getRunId()
        .equals(other.getRunId())) return false;
    if (!getSpaceName()
        .equals(other.getSpaceName())) return false;
    if (!getTemplateId()
        .equals(other.getTemplateId())) return false;
    if (!getCallbackArgs()
        .equals(other.getCallbackArgs())) return false;
    if (!getStatus()
        .equals(other.getStatus())) return false;
    if (!getTranscodeInfosList()
        .equals(other.getTranscodeInfosList())) return false;
    if (!getSnapshotsList()
        .equals(other.getSnapshotsList())) 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();
    if (hasDirectUrl()) {
      hash = (37 * hash) + DIRECTURL_FIELD_NUMBER;
      hash = (53 * hash) + getDirectUrl().hashCode();
    }
    hash = (37 * hash) + VID_FIELD_NUMBER;
    hash = (53 * hash) + getVid().hashCode();
    hash = (37 * hash) + RUNID_FIELD_NUMBER;
    hash = (53 * hash) + getRunId().hashCode();
    hash = (37 * hash) + SPACENAME_FIELD_NUMBER;
    hash = (53 * hash) + getSpaceName().hashCode();
    hash = (37 * hash) + TEMPLATEID_FIELD_NUMBER;
    hash = (53 * hash) + getTemplateId().hashCode();
    hash = (37 * hash) + CALLBACKARGS_FIELD_NUMBER;
    hash = (53 * hash) + getCallbackArgs().hashCode();
    hash = (37 * hash) + STATUS_FIELD_NUMBER;
    hash = (53 * hash) + getStatus().hashCode();
    if (getTranscodeInfosCount() > 0) {
      hash = (37 * hash) + TRANSCODEINFOS_FIELD_NUMBER;
      hash = (53 * hash) + getTranscodeInfosList().hashCode();
    }
    if (getSnapshotsCount() > 0) {
      hash = (37 * hash) + SNAPSHOTS_FIELD_NUMBER;
      hash = (53 * hash) + getSnapshotsList().hashCode();
    }
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static com.byteplus.service.vod.model.business.VodWorkflowResult parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.byteplus.service.vod.model.business.VodWorkflowResult parseFrom(
      java.nio.ByteBuffer data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.byteplus.service.vod.model.business.VodWorkflowResult parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.byteplus.service.vod.model.business.VodWorkflowResult parseFrom(
      com.google.protobuf.ByteString data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.byteplus.service.vod.model.business.VodWorkflowResult parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.byteplus.service.vod.model.business.VodWorkflowResult parseFrom(
      byte[] data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.byteplus.service.vod.model.business.VodWorkflowResult parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.byteplus.service.vod.model.business.VodWorkflowResult 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.byteplus.service.vod.model.business.VodWorkflowResult parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input);
  }
  public static com.byteplus.service.vod.model.business.VodWorkflowResult 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.byteplus.service.vod.model.business.VodWorkflowResult parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.byteplus.service.vod.model.business.VodWorkflowResult 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.byteplus.service.vod.model.business.VodWorkflowResult 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 Byteplus.Vod.Models.Business.VodWorkflowResult}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder implements
      // @@protoc_insertion_point(builder_implements:Byteplus.Vod.Models.Business.VodWorkflowResult)
      com.byteplus.service.vod.model.business.VodWorkflowResultOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.byteplus.service.vod.model.business.VodWorkflow.internal_static_Byteplus_Vod_Models_Business_VodWorkflowResult_descriptor;
    }

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

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

    private Builder(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      super(parent);
      maybeForceBuilderInitialization();
    }
    private void maybeForceBuilderInitialization() {
      if (com.google.protobuf.GeneratedMessageV3
              .alwaysUseFieldBuilders) {
        getTranscodeInfosFieldBuilder();
        getSnapshotsFieldBuilder();
      }
    }
    @java.lang.Override
    public Builder clear() {
      super.clear();
      if (directUrlBuilder_ == null) {
        directUrl_ = null;
      } else {
        directUrl_ = null;
        directUrlBuilder_ = null;
      }
      vid_ = "";

      runId_ = "";

      spaceName_ = "";

      templateId_ = "";

      callbackArgs_ = "";

      status_ = "";

      if (transcodeInfosBuilder_ == null) {
        transcodeInfos_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000001);
      } else {
        transcodeInfosBuilder_.clear();
      }
      if (snapshotsBuilder_ == null) {
        snapshots_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000002);
      } else {
        snapshotsBuilder_.clear();
      }
      return this;
    }

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

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

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

    @java.lang.Override
    public com.byteplus.service.vod.model.business.VodWorkflowResult buildPartial() {
      com.byteplus.service.vod.model.business.VodWorkflowResult result = new com.byteplus.service.vod.model.business.VodWorkflowResult(this);
      int from_bitField0_ = bitField0_;
      if (directUrlBuilder_ == null) {
        result.directUrl_ = directUrl_;
      } else {
        result.directUrl_ = directUrlBuilder_.build();
      }
      result.vid_ = vid_;
      result.runId_ = runId_;
      result.spaceName_ = spaceName_;
      result.templateId_ = templateId_;
      result.callbackArgs_ = callbackArgs_;
      result.status_ = status_;
      if (transcodeInfosBuilder_ == null) {
        if (((bitField0_ & 0x00000001) != 0)) {
          transcodeInfos_ = java.util.Collections.unmodifiableList(transcodeInfos_);
          bitField0_ = (bitField0_ & ~0x00000001);
        }
        result.transcodeInfos_ = transcodeInfos_;
      } else {
        result.transcodeInfos_ = transcodeInfosBuilder_.build();
      }
      if (snapshotsBuilder_ == null) {
        if (((bitField0_ & 0x00000002) != 0)) {
          snapshots_ = java.util.Collections.unmodifiableList(snapshots_);
          bitField0_ = (bitField0_ & ~0x00000002);
        }
        result.snapshots_ = snapshots_;
      } else {
        result.snapshots_ = snapshotsBuilder_.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.byteplus.service.vod.model.business.VodWorkflowResult) {
        return mergeFrom((com.byteplus.service.vod.model.business.VodWorkflowResult)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(com.byteplus.service.vod.model.business.VodWorkflowResult other) {
      if (other == com.byteplus.service.vod.model.business.VodWorkflowResult.getDefaultInstance()) return this;
      if (other.hasDirectUrl()) {
        mergeDirectUrl(other.getDirectUrl());
      }
      if (!other.getVid().isEmpty()) {
        vid_ = other.vid_;
        onChanged();
      }
      if (!other.getRunId().isEmpty()) {
        runId_ = other.runId_;
        onChanged();
      }
      if (!other.getSpaceName().isEmpty()) {
        spaceName_ = other.spaceName_;
        onChanged();
      }
      if (!other.getTemplateId().isEmpty()) {
        templateId_ = other.templateId_;
        onChanged();
      }
      if (!other.getCallbackArgs().isEmpty()) {
        callbackArgs_ = other.callbackArgs_;
        onChanged();
      }
      if (!other.getStatus().isEmpty()) {
        status_ = other.status_;
        onChanged();
      }
      if (transcodeInfosBuilder_ == null) {
        if (!other.transcodeInfos_.isEmpty()) {
          if (transcodeInfos_.isEmpty()) {
            transcodeInfos_ = other.transcodeInfos_;
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            ensureTranscodeInfosIsMutable();
            transcodeInfos_.addAll(other.transcodeInfos_);
          }
          onChanged();
        }
      } else {
        if (!other.transcodeInfos_.isEmpty()) {
          if (transcodeInfosBuilder_.isEmpty()) {
            transcodeInfosBuilder_.dispose();
            transcodeInfosBuilder_ = null;
            transcodeInfos_ = other.transcodeInfos_;
            bitField0_ = (bitField0_ & ~0x00000001);
            transcodeInfosBuilder_ = 
              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                 getTranscodeInfosFieldBuilder() : null;
          } else {
            transcodeInfosBuilder_.addAllMessages(other.transcodeInfos_);
          }
        }
      }
      if (snapshotsBuilder_ == null) {
        if (!other.snapshots_.isEmpty()) {
          if (snapshots_.isEmpty()) {
            snapshots_ = other.snapshots_;
            bitField0_ = (bitField0_ & ~0x00000002);
          } else {
            ensureSnapshotsIsMutable();
            snapshots_.addAll(other.snapshots_);
          }
          onChanged();
        }
      } else {
        if (!other.snapshots_.isEmpty()) {
          if (snapshotsBuilder_.isEmpty()) {
            snapshotsBuilder_.dispose();
            snapshotsBuilder_ = null;
            snapshots_ = other.snapshots_;
            bitField0_ = (bitField0_ & ~0x00000002);
            snapshotsBuilder_ = 
              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                 getSnapshotsFieldBuilder() : null;
          } else {
            snapshotsBuilder_.addAllMessages(other.snapshots_);
          }
        }
      }
      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.byteplus.service.vod.model.business.VodWorkflowResult parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (com.byteplus.service.vod.model.business.VodWorkflowResult) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }
    private int bitField0_;

    private com.byteplus.service.vod.model.business.DirectUrl directUrl_;
    private com.google.protobuf.SingleFieldBuilderV3<
        com.byteplus.service.vod.model.business.DirectUrl, com.byteplus.service.vod.model.business.DirectUrl.Builder, com.byteplus.service.vod.model.business.DirectUrlOrBuilder> directUrlBuilder_;
    /**
     * .Byteplus.Vod.Models.Business.DirectUrl DirectUrl = 1;
     * @return Whether the directUrl field is set.
     */
    public boolean hasDirectUrl() {
      return directUrlBuilder_ != null || directUrl_ != null;
    }
    /**
     * .Byteplus.Vod.Models.Business.DirectUrl DirectUrl = 1;
     * @return The directUrl.
     */
    public com.byteplus.service.vod.model.business.DirectUrl getDirectUrl() {
      if (directUrlBuilder_ == null) {
        return directUrl_ == null ? com.byteplus.service.vod.model.business.DirectUrl.getDefaultInstance() : directUrl_;
      } else {
        return directUrlBuilder_.getMessage();
      }
    }
    /**
     * .Byteplus.Vod.Models.Business.DirectUrl DirectUrl = 1;
     */
    public Builder setDirectUrl(com.byteplus.service.vod.model.business.DirectUrl value) {
      if (directUrlBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        directUrl_ = value;
        onChanged();
      } else {
        directUrlBuilder_.setMessage(value);
      }

      return this;
    }
    /**
     * .Byteplus.Vod.Models.Business.DirectUrl DirectUrl = 1;
     */
    public Builder setDirectUrl(
        com.byteplus.service.vod.model.business.DirectUrl.Builder builderForValue) {
      if (directUrlBuilder_ == null) {
        directUrl_ = builderForValue.build();
        onChanged();
      } else {
        directUrlBuilder_.setMessage(builderForValue.build());
      }

      return this;
    }
    /**
     * .Byteplus.Vod.Models.Business.DirectUrl DirectUrl = 1;
     */
    public Builder mergeDirectUrl(com.byteplus.service.vod.model.business.DirectUrl value) {
      if (directUrlBuilder_ == null) {
        if (directUrl_ != null) {
          directUrl_ =
            com.byteplus.service.vod.model.business.DirectUrl.newBuilder(directUrl_).mergeFrom(value).buildPartial();
        } else {
          directUrl_ = value;
        }
        onChanged();
      } else {
        directUrlBuilder_.mergeFrom(value);
      }

      return this;
    }
    /**
     * .Byteplus.Vod.Models.Business.DirectUrl DirectUrl = 1;
     */
    public Builder clearDirectUrl() {
      if (directUrlBuilder_ == null) {
        directUrl_ = null;
        onChanged();
      } else {
        directUrl_ = null;
        directUrlBuilder_ = null;
      }

      return this;
    }
    /**
     * .Byteplus.Vod.Models.Business.DirectUrl DirectUrl = 1;
     */
    public com.byteplus.service.vod.model.business.DirectUrl.Builder getDirectUrlBuilder() {
      
      onChanged();
      return getDirectUrlFieldBuilder().getBuilder();
    }
    /**
     * .Byteplus.Vod.Models.Business.DirectUrl DirectUrl = 1;
     */
    public com.byteplus.service.vod.model.business.DirectUrlOrBuilder getDirectUrlOrBuilder() {
      if (directUrlBuilder_ != null) {
        return directUrlBuilder_.getMessageOrBuilder();
      } else {
        return directUrl_ == null ?
            com.byteplus.service.vod.model.business.DirectUrl.getDefaultInstance() : directUrl_;
      }
    }
    /**
     * .Byteplus.Vod.Models.Business.DirectUrl DirectUrl = 1;
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        com.byteplus.service.vod.model.business.DirectUrl, com.byteplus.service.vod.model.business.DirectUrl.Builder, com.byteplus.service.vod.model.business.DirectUrlOrBuilder> 
        getDirectUrlFieldBuilder() {
      if (directUrlBuilder_ == null) {
        directUrlBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            com.byteplus.service.vod.model.business.DirectUrl, com.byteplus.service.vod.model.business.DirectUrl.Builder, com.byteplus.service.vod.model.business.DirectUrlOrBuilder>(
                getDirectUrl(),
                getParentForChildren(),
                isClean());
        directUrl_ = null;
      }
      return directUrlBuilder_;
    }

    private java.lang.Object vid_ = "";
    /**
     * string Vid = 2;
     * @return The vid.
     */
    public java.lang.String getVid() {
      java.lang.Object ref = vid_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        vid_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * string Vid = 2;
     * @return The bytes for vid.
     */
    public com.google.protobuf.ByteString
        getVidBytes() {
      java.lang.Object ref = vid_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        vid_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * string Vid = 2;
     * @param value The vid to set.
     * @return This builder for chaining.
     */
    public Builder setVid(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      vid_ = value;
      onChanged();
      return this;
    }
    /**
     * string Vid = 2;
     * @return This builder for chaining.
     */
    public Builder clearVid() {
      
      vid_ = getDefaultInstance().getVid();
      onChanged();
      return this;
    }
    /**
     * string Vid = 2;
     * @param value The bytes for vid to set.
     * @return This builder for chaining.
     */
    public Builder setVidBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      vid_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object runId_ = "";
    /**
     * string RunId = 3;
     * @return The runId.
     */
    public java.lang.String getRunId() {
      java.lang.Object ref = runId_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        runId_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * string RunId = 3;
     * @return The bytes for runId.
     */
    public com.google.protobuf.ByteString
        getRunIdBytes() {
      java.lang.Object ref = runId_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        runId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * string RunId = 3;
     * @param value The runId to set.
     * @return This builder for chaining.
     */
    public Builder setRunId(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      runId_ = value;
      onChanged();
      return this;
    }
    /**
     * string RunId = 3;
     * @return This builder for chaining.
     */
    public Builder clearRunId() {
      
      runId_ = getDefaultInstance().getRunId();
      onChanged();
      return this;
    }
    /**
     * string RunId = 3;
     * @param value The bytes for runId to set.
     * @return This builder for chaining.
     */
    public Builder setRunIdBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      runId_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object spaceName_ = "";
    /**
     * string SpaceName = 4;
     * @return The spaceName.
     */
    public java.lang.String getSpaceName() {
      java.lang.Object ref = spaceName_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        spaceName_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * string SpaceName = 4;
     * @return The bytes for spaceName.
     */
    public com.google.protobuf.ByteString
        getSpaceNameBytes() {
      java.lang.Object ref = spaceName_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        spaceName_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * string SpaceName = 4;
     * @param value The spaceName to set.
     * @return This builder for chaining.
     */
    public Builder setSpaceName(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      spaceName_ = value;
      onChanged();
      return this;
    }
    /**
     * string SpaceName = 4;
     * @return This builder for chaining.
     */
    public Builder clearSpaceName() {
      
      spaceName_ = getDefaultInstance().getSpaceName();
      onChanged();
      return this;
    }
    /**
     * string SpaceName = 4;
     * @param value The bytes for spaceName to set.
     * @return This builder for chaining.
     */
    public Builder setSpaceNameBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      spaceName_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object templateId_ = "";
    /**
     * string TemplateId = 5;
     * @return The templateId.
     */
    public java.lang.String getTemplateId() {
      java.lang.Object ref = templateId_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        templateId_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * string TemplateId = 5;
     * @return The bytes for templateId.
     */
    public com.google.protobuf.ByteString
        getTemplateIdBytes() {
      java.lang.Object ref = templateId_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        templateId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * string TemplateId = 5;
     * @param value The templateId to set.
     * @return This builder for chaining.
     */
    public Builder setTemplateId(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      templateId_ = value;
      onChanged();
      return this;
    }
    /**
     * string TemplateId = 5;
     * @return This builder for chaining.
     */
    public Builder clearTemplateId() {
      
      templateId_ = getDefaultInstance().getTemplateId();
      onChanged();
      return this;
    }
    /**
     * string TemplateId = 5;
     * @param value The bytes for templateId to set.
     * @return This builder for chaining.
     */
    public Builder setTemplateIdBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      templateId_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object callbackArgs_ = "";
    /**
     * string CallbackArgs = 6;
     * @return The callbackArgs.
     */
    public java.lang.String getCallbackArgs() {
      java.lang.Object ref = callbackArgs_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        callbackArgs_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * string CallbackArgs = 6;
     * @return The bytes for callbackArgs.
     */
    public com.google.protobuf.ByteString
        getCallbackArgsBytes() {
      java.lang.Object ref = callbackArgs_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        callbackArgs_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * string CallbackArgs = 6;
     * @param value The callbackArgs to set.
     * @return This builder for chaining.
     */
    public Builder setCallbackArgs(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      callbackArgs_ = value;
      onChanged();
      return this;
    }
    /**
     * string CallbackArgs = 6;
     * @return This builder for chaining.
     */
    public Builder clearCallbackArgs() {
      
      callbackArgs_ = getDefaultInstance().getCallbackArgs();
      onChanged();
      return this;
    }
    /**
     * string CallbackArgs = 6;
     * @param value The bytes for callbackArgs to set.
     * @return This builder for chaining.
     */
    public Builder setCallbackArgsBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      callbackArgs_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object status_ = "";
    /**
     * string Status = 7;
     * @return The status.
     */
    public java.lang.String getStatus() {
      java.lang.Object ref = status_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        status_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * string Status = 7;
     * @return The bytes for status.
     */
    public com.google.protobuf.ByteString
        getStatusBytes() {
      java.lang.Object ref = status_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        status_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * string Status = 7;
     * @param value The status to set.
     * @return This builder for chaining.
     */
    public Builder setStatus(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      status_ = value;
      onChanged();
      return this;
    }
    /**
     * string Status = 7;
     * @return This builder for chaining.
     */
    public Builder clearStatus() {
      
      status_ = getDefaultInstance().getStatus();
      onChanged();
      return this;
    }
    /**
     * string Status = 7;
     * @param value The bytes for status to set.
     * @return This builder for chaining.
     */
    public Builder setStatusBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      status_ = value;
      onChanged();
      return this;
    }

    private java.util.List transcodeInfos_ =
      java.util.Collections.emptyList();
    private void ensureTranscodeInfosIsMutable() {
      if (!((bitField0_ & 0x00000001) != 0)) {
        transcodeInfos_ = new java.util.ArrayList(transcodeInfos_);
        bitField0_ |= 0x00000001;
       }
    }

    private com.google.protobuf.RepeatedFieldBuilderV3<
        com.byteplus.service.vod.model.business.VodTranscodeInfo, com.byteplus.service.vod.model.business.VodTranscodeInfo.Builder, com.byteplus.service.vod.model.business.VodTranscodeInfoOrBuilder> transcodeInfosBuilder_;

    /**
     * repeated .Byteplus.Vod.Models.Business.VodTranscodeInfo TranscodeInfos = 8;
     */
    public java.util.List getTranscodeInfosList() {
      if (transcodeInfosBuilder_ == null) {
        return java.util.Collections.unmodifiableList(transcodeInfos_);
      } else {
        return transcodeInfosBuilder_.getMessageList();
      }
    }
    /**
     * repeated .Byteplus.Vod.Models.Business.VodTranscodeInfo TranscodeInfos = 8;
     */
    public int getTranscodeInfosCount() {
      if (transcodeInfosBuilder_ == null) {
        return transcodeInfos_.size();
      } else {
        return transcodeInfosBuilder_.getCount();
      }
    }
    /**
     * repeated .Byteplus.Vod.Models.Business.VodTranscodeInfo TranscodeInfos = 8;
     */
    public com.byteplus.service.vod.model.business.VodTranscodeInfo getTranscodeInfos(int index) {
      if (transcodeInfosBuilder_ == null) {
        return transcodeInfos_.get(index);
      } else {
        return transcodeInfosBuilder_.getMessage(index);
      }
    }
    /**
     * repeated .Byteplus.Vod.Models.Business.VodTranscodeInfo TranscodeInfos = 8;
     */
    public Builder setTranscodeInfos(
        int index, com.byteplus.service.vod.model.business.VodTranscodeInfo value) {
      if (transcodeInfosBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureTranscodeInfosIsMutable();
        transcodeInfos_.set(index, value);
        onChanged();
      } else {
        transcodeInfosBuilder_.setMessage(index, value);
      }
      return this;
    }
    /**
     * repeated .Byteplus.Vod.Models.Business.VodTranscodeInfo TranscodeInfos = 8;
     */
    public Builder setTranscodeInfos(
        int index, com.byteplus.service.vod.model.business.VodTranscodeInfo.Builder builderForValue) {
      if (transcodeInfosBuilder_ == null) {
        ensureTranscodeInfosIsMutable();
        transcodeInfos_.set(index, builderForValue.build());
        onChanged();
      } else {
        transcodeInfosBuilder_.setMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * repeated .Byteplus.Vod.Models.Business.VodTranscodeInfo TranscodeInfos = 8;
     */
    public Builder addTranscodeInfos(com.byteplus.service.vod.model.business.VodTranscodeInfo value) {
      if (transcodeInfosBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureTranscodeInfosIsMutable();
        transcodeInfos_.add(value);
        onChanged();
      } else {
        transcodeInfosBuilder_.addMessage(value);
      }
      return this;
    }
    /**
     * repeated .Byteplus.Vod.Models.Business.VodTranscodeInfo TranscodeInfos = 8;
     */
    public Builder addTranscodeInfos(
        int index, com.byteplus.service.vod.model.business.VodTranscodeInfo value) {
      if (transcodeInfosBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureTranscodeInfosIsMutable();
        transcodeInfos_.add(index, value);
        onChanged();
      } else {
        transcodeInfosBuilder_.addMessage(index, value);
      }
      return this;
    }
    /**
     * repeated .Byteplus.Vod.Models.Business.VodTranscodeInfo TranscodeInfos = 8;
     */
    public Builder addTranscodeInfos(
        com.byteplus.service.vod.model.business.VodTranscodeInfo.Builder builderForValue) {
      if (transcodeInfosBuilder_ == null) {
        ensureTranscodeInfosIsMutable();
        transcodeInfos_.add(builderForValue.build());
        onChanged();
      } else {
        transcodeInfosBuilder_.addMessage(builderForValue.build());
      }
      return this;
    }
    /**
     * repeated .Byteplus.Vod.Models.Business.VodTranscodeInfo TranscodeInfos = 8;
     */
    public Builder addTranscodeInfos(
        int index, com.byteplus.service.vod.model.business.VodTranscodeInfo.Builder builderForValue) {
      if (transcodeInfosBuilder_ == null) {
        ensureTranscodeInfosIsMutable();
        transcodeInfos_.add(index, builderForValue.build());
        onChanged();
      } else {
        transcodeInfosBuilder_.addMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * repeated .Byteplus.Vod.Models.Business.VodTranscodeInfo TranscodeInfos = 8;
     */
    public Builder addAllTranscodeInfos(
        java.lang.Iterable values) {
      if (transcodeInfosBuilder_ == null) {
        ensureTranscodeInfosIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, transcodeInfos_);
        onChanged();
      } else {
        transcodeInfosBuilder_.addAllMessages(values);
      }
      return this;
    }
    /**
     * repeated .Byteplus.Vod.Models.Business.VodTranscodeInfo TranscodeInfos = 8;
     */
    public Builder clearTranscodeInfos() {
      if (transcodeInfosBuilder_ == null) {
        transcodeInfos_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
      } else {
        transcodeInfosBuilder_.clear();
      }
      return this;
    }
    /**
     * repeated .Byteplus.Vod.Models.Business.VodTranscodeInfo TranscodeInfos = 8;
     */
    public Builder removeTranscodeInfos(int index) {
      if (transcodeInfosBuilder_ == null) {
        ensureTranscodeInfosIsMutable();
        transcodeInfos_.remove(index);
        onChanged();
      } else {
        transcodeInfosBuilder_.remove(index);
      }
      return this;
    }
    /**
     * repeated .Byteplus.Vod.Models.Business.VodTranscodeInfo TranscodeInfos = 8;
     */
    public com.byteplus.service.vod.model.business.VodTranscodeInfo.Builder getTranscodeInfosBuilder(
        int index) {
      return getTranscodeInfosFieldBuilder().getBuilder(index);
    }
    /**
     * repeated .Byteplus.Vod.Models.Business.VodTranscodeInfo TranscodeInfos = 8;
     */
    public com.byteplus.service.vod.model.business.VodTranscodeInfoOrBuilder getTranscodeInfosOrBuilder(
        int index) {
      if (transcodeInfosBuilder_ == null) {
        return transcodeInfos_.get(index);  } else {
        return transcodeInfosBuilder_.getMessageOrBuilder(index);
      }
    }
    /**
     * repeated .Byteplus.Vod.Models.Business.VodTranscodeInfo TranscodeInfos = 8;
     */
    public java.util.List 
         getTranscodeInfosOrBuilderList() {
      if (transcodeInfosBuilder_ != null) {
        return transcodeInfosBuilder_.getMessageOrBuilderList();
      } else {
        return java.util.Collections.unmodifiableList(transcodeInfos_);
      }
    }
    /**
     * repeated .Byteplus.Vod.Models.Business.VodTranscodeInfo TranscodeInfos = 8;
     */
    public com.byteplus.service.vod.model.business.VodTranscodeInfo.Builder addTranscodeInfosBuilder() {
      return getTranscodeInfosFieldBuilder().addBuilder(
          com.byteplus.service.vod.model.business.VodTranscodeInfo.getDefaultInstance());
    }
    /**
     * repeated .Byteplus.Vod.Models.Business.VodTranscodeInfo TranscodeInfos = 8;
     */
    public com.byteplus.service.vod.model.business.VodTranscodeInfo.Builder addTranscodeInfosBuilder(
        int index) {
      return getTranscodeInfosFieldBuilder().addBuilder(
          index, com.byteplus.service.vod.model.business.VodTranscodeInfo.getDefaultInstance());
    }
    /**
     * repeated .Byteplus.Vod.Models.Business.VodTranscodeInfo TranscodeInfos = 8;
     */
    public java.util.List 
         getTranscodeInfosBuilderList() {
      return getTranscodeInfosFieldBuilder().getBuilderList();
    }
    private com.google.protobuf.RepeatedFieldBuilderV3<
        com.byteplus.service.vod.model.business.VodTranscodeInfo, com.byteplus.service.vod.model.business.VodTranscodeInfo.Builder, com.byteplus.service.vod.model.business.VodTranscodeInfoOrBuilder> 
        getTranscodeInfosFieldBuilder() {
      if (transcodeInfosBuilder_ == null) {
        transcodeInfosBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
            com.byteplus.service.vod.model.business.VodTranscodeInfo, com.byteplus.service.vod.model.business.VodTranscodeInfo.Builder, com.byteplus.service.vod.model.business.VodTranscodeInfoOrBuilder>(
                transcodeInfos_,
                ((bitField0_ & 0x00000001) != 0),
                getParentForChildren(),
                isClean());
        transcodeInfos_ = null;
      }
      return transcodeInfosBuilder_;
    }

    private java.util.List snapshots_ =
      java.util.Collections.emptyList();
    private void ensureSnapshotsIsMutable() {
      if (!((bitField0_ & 0x00000002) != 0)) {
        snapshots_ = new java.util.ArrayList(snapshots_);
        bitField0_ |= 0x00000002;
       }
    }

    private com.google.protobuf.RepeatedFieldBuilderV3<
        com.byteplus.service.vod.model.business.SnapshotResult, com.byteplus.service.vod.model.business.SnapshotResult.Builder, com.byteplus.service.vod.model.business.SnapshotResultOrBuilder> snapshotsBuilder_;

    /**
     * repeated .Byteplus.Vod.Models.Business.SnapshotResult Snapshots = 9;
     */
    public java.util.List getSnapshotsList() {
      if (snapshotsBuilder_ == null) {
        return java.util.Collections.unmodifiableList(snapshots_);
      } else {
        return snapshotsBuilder_.getMessageList();
      }
    }
    /**
     * repeated .Byteplus.Vod.Models.Business.SnapshotResult Snapshots = 9;
     */
    public int getSnapshotsCount() {
      if (snapshotsBuilder_ == null) {
        return snapshots_.size();
      } else {
        return snapshotsBuilder_.getCount();
      }
    }
    /**
     * repeated .Byteplus.Vod.Models.Business.SnapshotResult Snapshots = 9;
     */
    public com.byteplus.service.vod.model.business.SnapshotResult getSnapshots(int index) {
      if (snapshotsBuilder_ == null) {
        return snapshots_.get(index);
      } else {
        return snapshotsBuilder_.getMessage(index);
      }
    }
    /**
     * repeated .Byteplus.Vod.Models.Business.SnapshotResult Snapshots = 9;
     */
    public Builder setSnapshots(
        int index, com.byteplus.service.vod.model.business.SnapshotResult value) {
      if (snapshotsBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureSnapshotsIsMutable();
        snapshots_.set(index, value);
        onChanged();
      } else {
        snapshotsBuilder_.setMessage(index, value);
      }
      return this;
    }
    /**
     * repeated .Byteplus.Vod.Models.Business.SnapshotResult Snapshots = 9;
     */
    public Builder setSnapshots(
        int index, com.byteplus.service.vod.model.business.SnapshotResult.Builder builderForValue) {
      if (snapshotsBuilder_ == null) {
        ensureSnapshotsIsMutable();
        snapshots_.set(index, builderForValue.build());
        onChanged();
      } else {
        snapshotsBuilder_.setMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * repeated .Byteplus.Vod.Models.Business.SnapshotResult Snapshots = 9;
     */
    public Builder addSnapshots(com.byteplus.service.vod.model.business.SnapshotResult value) {
      if (snapshotsBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureSnapshotsIsMutable();
        snapshots_.add(value);
        onChanged();
      } else {
        snapshotsBuilder_.addMessage(value);
      }
      return this;
    }
    /**
     * repeated .Byteplus.Vod.Models.Business.SnapshotResult Snapshots = 9;
     */
    public Builder addSnapshots(
        int index, com.byteplus.service.vod.model.business.SnapshotResult value) {
      if (snapshotsBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureSnapshotsIsMutable();
        snapshots_.add(index, value);
        onChanged();
      } else {
        snapshotsBuilder_.addMessage(index, value);
      }
      return this;
    }
    /**
     * repeated .Byteplus.Vod.Models.Business.SnapshotResult Snapshots = 9;
     */
    public Builder addSnapshots(
        com.byteplus.service.vod.model.business.SnapshotResult.Builder builderForValue) {
      if (snapshotsBuilder_ == null) {
        ensureSnapshotsIsMutable();
        snapshots_.add(builderForValue.build());
        onChanged();
      } else {
        snapshotsBuilder_.addMessage(builderForValue.build());
      }
      return this;
    }
    /**
     * repeated .Byteplus.Vod.Models.Business.SnapshotResult Snapshots = 9;
     */
    public Builder addSnapshots(
        int index, com.byteplus.service.vod.model.business.SnapshotResult.Builder builderForValue) {
      if (snapshotsBuilder_ == null) {
        ensureSnapshotsIsMutable();
        snapshots_.add(index, builderForValue.build());
        onChanged();
      } else {
        snapshotsBuilder_.addMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * repeated .Byteplus.Vod.Models.Business.SnapshotResult Snapshots = 9;
     */
    public Builder addAllSnapshots(
        java.lang.Iterable values) {
      if (snapshotsBuilder_ == null) {
        ensureSnapshotsIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, snapshots_);
        onChanged();
      } else {
        snapshotsBuilder_.addAllMessages(values);
      }
      return this;
    }
    /**
     * repeated .Byteplus.Vod.Models.Business.SnapshotResult Snapshots = 9;
     */
    public Builder clearSnapshots() {
      if (snapshotsBuilder_ == null) {
        snapshots_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000002);
        onChanged();
      } else {
        snapshotsBuilder_.clear();
      }
      return this;
    }
    /**
     * repeated .Byteplus.Vod.Models.Business.SnapshotResult Snapshots = 9;
     */
    public Builder removeSnapshots(int index) {
      if (snapshotsBuilder_ == null) {
        ensureSnapshotsIsMutable();
        snapshots_.remove(index);
        onChanged();
      } else {
        snapshotsBuilder_.remove(index);
      }
      return this;
    }
    /**
     * repeated .Byteplus.Vod.Models.Business.SnapshotResult Snapshots = 9;
     */
    public com.byteplus.service.vod.model.business.SnapshotResult.Builder getSnapshotsBuilder(
        int index) {
      return getSnapshotsFieldBuilder().getBuilder(index);
    }
    /**
     * repeated .Byteplus.Vod.Models.Business.SnapshotResult Snapshots = 9;
     */
    public com.byteplus.service.vod.model.business.SnapshotResultOrBuilder getSnapshotsOrBuilder(
        int index) {
      if (snapshotsBuilder_ == null) {
        return snapshots_.get(index);  } else {
        return snapshotsBuilder_.getMessageOrBuilder(index);
      }
    }
    /**
     * repeated .Byteplus.Vod.Models.Business.SnapshotResult Snapshots = 9;
     */
    public java.util.List 
         getSnapshotsOrBuilderList() {
      if (snapshotsBuilder_ != null) {
        return snapshotsBuilder_.getMessageOrBuilderList();
      } else {
        return java.util.Collections.unmodifiableList(snapshots_);
      }
    }
    /**
     * repeated .Byteplus.Vod.Models.Business.SnapshotResult Snapshots = 9;
     */
    public com.byteplus.service.vod.model.business.SnapshotResult.Builder addSnapshotsBuilder() {
      return getSnapshotsFieldBuilder().addBuilder(
          com.byteplus.service.vod.model.business.SnapshotResult.getDefaultInstance());
    }
    /**
     * repeated .Byteplus.Vod.Models.Business.SnapshotResult Snapshots = 9;
     */
    public com.byteplus.service.vod.model.business.SnapshotResult.Builder addSnapshotsBuilder(
        int index) {
      return getSnapshotsFieldBuilder().addBuilder(
          index, com.byteplus.service.vod.model.business.SnapshotResult.getDefaultInstance());
    }
    /**
     * repeated .Byteplus.Vod.Models.Business.SnapshotResult Snapshots = 9;
     */
    public java.util.List 
         getSnapshotsBuilderList() {
      return getSnapshotsFieldBuilder().getBuilderList();
    }
    private com.google.protobuf.RepeatedFieldBuilderV3<
        com.byteplus.service.vod.model.business.SnapshotResult, com.byteplus.service.vod.model.business.SnapshotResult.Builder, com.byteplus.service.vod.model.business.SnapshotResultOrBuilder> 
        getSnapshotsFieldBuilder() {
      if (snapshotsBuilder_ == null) {
        snapshotsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
            com.byteplus.service.vod.model.business.SnapshotResult, com.byteplus.service.vod.model.business.SnapshotResult.Builder, com.byteplus.service.vod.model.business.SnapshotResultOrBuilder>(
                snapshots_,
                ((bitField0_ & 0x00000002) != 0),
                getParentForChildren(),
                isClean());
        snapshots_ = null;
      }
      return snapshotsBuilder_;
    }
    @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:Byteplus.Vod.Models.Business.VodWorkflowResult)
  }

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

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

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

}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy