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

com.byteplus.service.vod.model.business.VodGetWorkflowExecutionDetailResult 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.VodGetWorkflowExecutionDetailResult}
 */
public final class VodGetWorkflowExecutionDetailResult extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:Byteplus.Vod.Models.Business.VodGetWorkflowExecutionDetailResult)
    VodGetWorkflowExecutionDetailResultOrBuilder {
private static final long serialVersionUID = 0L;
  // Use VodGetWorkflowExecutionDetailResult.newBuilder() to construct.
  private VodGetWorkflowExecutionDetailResult(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private VodGetWorkflowExecutionDetailResult() {
    runId_ = "";
    vid_ = "";
    templateId_ = "";
    spaceName_ = "";
    status_ = "";
    taskListId_ = "";
    jobSource_ = "";
    stages_ = java.util.Collections.emptyList();
  }

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

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private VodGetWorkflowExecutionDetailResult(
      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: {
            java.lang.String s = input.readStringRequireUtf8();

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

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

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

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

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

            taskListId_ = s;
            break;
          }
          case 64: {

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

            jobSource_ = s;
            break;
          }
          case 82: {
            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
              stages_ = new java.util.ArrayList();
              mutable_bitField0_ |= 0x00000001;
            }
            stages_.add(
                input.readMessage(com.byteplus.service.vod.model.business.ExecutionStage.parser(), extensionRegistry));
            break;
          }
          case 90: {
            com.google.protobuf.Timestamp.Builder subBuilder = null;
            if (createTime_ != null) {
              subBuilder = createTime_.toBuilder();
            }
            createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(createTime_);
              createTime_ = subBuilder.buildPartial();
            }

            break;
          }
          case 98: {
            com.google.protobuf.Timestamp.Builder subBuilder = null;
            if (startTime_ != null) {
              subBuilder = startTime_.toBuilder();
            }
            startTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(startTime_);
              startTime_ = subBuilder.buildPartial();
            }

            break;
          }
          case 106: {
            com.google.protobuf.Timestamp.Builder subBuilder = null;
            if (endTime_ != null) {
              subBuilder = endTime_.toBuilder();
            }
            endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(endTime_);
              endTime_ = subBuilder.buildPartial();
            }

            break;
          }
          case 114: {
            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;
          }
          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)) {
        stages_ = java.util.Collections.unmodifiableList(stages_);
      }
      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_VodGetWorkflowExecutionDetailResult_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_VodGetWorkflowExecutionDetailResult_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.byteplus.service.vod.model.business.VodGetWorkflowExecutionDetailResult.class, com.byteplus.service.vod.model.business.VodGetWorkflowExecutionDetailResult.Builder.class);
  }

  public static final int RUNID_FIELD_NUMBER = 1;
  private volatile java.lang.Object runId_;
  /**
   * string RunId = 1;
   * @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 = 1;
   * @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 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 TEMPLATEID_FIELD_NUMBER = 3;
  private volatile java.lang.Object templateId_;
  /**
   * string TemplateId = 3;
   * @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 = 3;
   * @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 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 STATUS_FIELD_NUMBER = 6;
  private volatile java.lang.Object status_;
  /**
   * string Status = 6;
   * @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 = 6;
   * @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 TASKLISTID_FIELD_NUMBER = 7;
  private volatile java.lang.Object taskListId_;
  /**
   * string TaskListId = 7;
   * @return The taskListId.
   */
  @java.lang.Override
  public java.lang.String getTaskListId() {
    java.lang.Object ref = taskListId_;
    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();
      taskListId_ = s;
      return s;
    }
  }
  /**
   * string TaskListId = 7;
   * @return The bytes for taskListId.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getTaskListIdBytes() {
    java.lang.Object ref = taskListId_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      taskListId_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int ENABLELOWPRIORITY_FIELD_NUMBER = 8;
  private boolean enableLowPriority_;
  /**
   * bool EnableLowPriority = 8;
   * @return The enableLowPriority.
   */
  @java.lang.Override
  public boolean getEnableLowPriority() {
    return enableLowPriority_;
  }

  public static final int JOBSOURCE_FIELD_NUMBER = 9;
  private volatile java.lang.Object jobSource_;
  /**
   * string JobSource = 9;
   * @return The jobSource.
   */
  @java.lang.Override
  public java.lang.String getJobSource() {
    java.lang.Object ref = jobSource_;
    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();
      jobSource_ = s;
      return s;
    }
  }
  /**
   * string JobSource = 9;
   * @return The bytes for jobSource.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getJobSourceBytes() {
    java.lang.Object ref = jobSource_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      jobSource_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int STAGES_FIELD_NUMBER = 10;
  private java.util.List stages_;
  /**
   * 
   * 执行阶段
   * 
* * repeated .Byteplus.Vod.Models.Business.ExecutionStage Stages = 10; */ @java.lang.Override public java.util.List getStagesList() { return stages_; } /** *
   * 执行阶段
   * 
* * repeated .Byteplus.Vod.Models.Business.ExecutionStage Stages = 10; */ @java.lang.Override public java.util.List getStagesOrBuilderList() { return stages_; } /** *
   * 执行阶段
   * 
* * repeated .Byteplus.Vod.Models.Business.ExecutionStage Stages = 10; */ @java.lang.Override public int getStagesCount() { return stages_.size(); } /** *
   * 执行阶段
   * 
* * repeated .Byteplus.Vod.Models.Business.ExecutionStage Stages = 10; */ @java.lang.Override public com.byteplus.service.vod.model.business.ExecutionStage getStages(int index) { return stages_.get(index); } /** *
   * 执行阶段
   * 
* * repeated .Byteplus.Vod.Models.Business.ExecutionStage Stages = 10; */ @java.lang.Override public com.byteplus.service.vod.model.business.ExecutionStageOrBuilder getStagesOrBuilder( int index) { return stages_.get(index); } public static final int CREATETIME_FIELD_NUMBER = 11; private com.google.protobuf.Timestamp createTime_; /** * .google.protobuf.Timestamp CreateTime = 11; * @return Whether the createTime field is set. */ @java.lang.Override public boolean hasCreateTime() { return createTime_ != null; } /** * .google.protobuf.Timestamp CreateTime = 11; * @return The createTime. */ @java.lang.Override public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** * .google.protobuf.Timestamp CreateTime = 11; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { return getCreateTime(); } public static final int STARTTIME_FIELD_NUMBER = 12; private com.google.protobuf.Timestamp startTime_; /** * .google.protobuf.Timestamp StartTime = 12; * @return Whether the startTime field is set. */ @java.lang.Override public boolean hasStartTime() { return startTime_ != null; } /** * .google.protobuf.Timestamp StartTime = 12; * @return The startTime. */ @java.lang.Override public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** * .google.protobuf.Timestamp StartTime = 12; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { return getStartTime(); } public static final int ENDTIME_FIELD_NUMBER = 13; private com.google.protobuf.Timestamp endTime_; /** * .google.protobuf.Timestamp EndTime = 13; * @return Whether the endTime field is set. */ @java.lang.Override public boolean hasEndTime() { return endTime_ != null; } /** * .google.protobuf.Timestamp EndTime = 13; * @return The endTime. */ @java.lang.Override public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** * .google.protobuf.Timestamp EndTime = 13; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { return getEndTime(); } public static final int DIRECTURL_FIELD_NUMBER = 14; private com.byteplus.service.vod.model.business.DirectUrl directUrl_; /** * .Byteplus.Vod.Models.Business.DirectUrl DirectUrl = 14; * @return Whether the directUrl field is set. */ @java.lang.Override public boolean hasDirectUrl() { return directUrl_ != null; } /** * .Byteplus.Vod.Models.Business.DirectUrl DirectUrl = 14; * @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 = 14; */ @java.lang.Override public com.byteplus.service.vod.model.business.DirectUrlOrBuilder getDirectUrlOrBuilder() { return getDirectUrl(); } 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(runId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, runId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(vid_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, vid_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(templateId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, templateId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(spaceName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, spaceName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(status_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, status_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(taskListId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, taskListId_); } if (enableLowPriority_ != false) { output.writeBool(8, enableLowPriority_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(jobSource_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 9, jobSource_); } for (int i = 0; i < stages_.size(); i++) { output.writeMessage(10, stages_.get(i)); } if (createTime_ != null) { output.writeMessage(11, getCreateTime()); } if (startTime_ != null) { output.writeMessage(12, getStartTime()); } if (endTime_ != null) { output.writeMessage(13, getEndTime()); } if (directUrl_ != null) { output.writeMessage(14, getDirectUrl()); } 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(runId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, runId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(vid_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, vid_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(templateId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, templateId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(spaceName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, spaceName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(status_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, status_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(taskListId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, taskListId_); } if (enableLowPriority_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(8, enableLowPriority_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(jobSource_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, jobSource_); } for (int i = 0; i < stages_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(10, stages_.get(i)); } if (createTime_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(11, getCreateTime()); } if (startTime_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(12, getStartTime()); } if (endTime_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(13, getEndTime()); } if (directUrl_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(14, getDirectUrl()); } 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.VodGetWorkflowExecutionDetailResult)) { return super.equals(obj); } com.byteplus.service.vod.model.business.VodGetWorkflowExecutionDetailResult other = (com.byteplus.service.vod.model.business.VodGetWorkflowExecutionDetailResult) obj; if (!getRunId() .equals(other.getRunId())) return false; if (!getVid() .equals(other.getVid())) return false; if (!getTemplateId() .equals(other.getTemplateId())) return false; if (!getSpaceName() .equals(other.getSpaceName())) return false; if (!getStatus() .equals(other.getStatus())) return false; if (!getTaskListId() .equals(other.getTaskListId())) return false; if (getEnableLowPriority() != other.getEnableLowPriority()) return false; if (!getJobSource() .equals(other.getJobSource())) return false; if (!getStagesList() .equals(other.getStagesList())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { if (!getCreateTime() .equals(other.getCreateTime())) return false; } if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { if (!getStartTime() .equals(other.getStartTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { if (!getEndTime() .equals(other.getEndTime())) return false; } if (hasDirectUrl() != other.hasDirectUrl()) return false; if (hasDirectUrl()) { if (!getDirectUrl() .equals(other.getDirectUrl())) 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) + RUNID_FIELD_NUMBER; hash = (53 * hash) + getRunId().hashCode(); hash = (37 * hash) + VID_FIELD_NUMBER; hash = (53 * hash) + getVid().hashCode(); hash = (37 * hash) + TEMPLATEID_FIELD_NUMBER; hash = (53 * hash) + getTemplateId().hashCode(); hash = (37 * hash) + SPACENAME_FIELD_NUMBER; hash = (53 * hash) + getSpaceName().hashCode(); hash = (37 * hash) + STATUS_FIELD_NUMBER; hash = (53 * hash) + getStatus().hashCode(); hash = (37 * hash) + TASKLISTID_FIELD_NUMBER; hash = (53 * hash) + getTaskListId().hashCode(); hash = (37 * hash) + ENABLELOWPRIORITY_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getEnableLowPriority()); hash = (37 * hash) + JOBSOURCE_FIELD_NUMBER; hash = (53 * hash) + getJobSource().hashCode(); if (getStagesCount() > 0) { hash = (37 * hash) + STAGES_FIELD_NUMBER; hash = (53 * hash) + getStagesList().hashCode(); } if (hasCreateTime()) { hash = (37 * hash) + CREATETIME_FIELD_NUMBER; hash = (53 * hash) + getCreateTime().hashCode(); } if (hasStartTime()) { hash = (37 * hash) + STARTTIME_FIELD_NUMBER; hash = (53 * hash) + getStartTime().hashCode(); } if (hasEndTime()) { hash = (37 * hash) + ENDTIME_FIELD_NUMBER; hash = (53 * hash) + getEndTime().hashCode(); } if (hasDirectUrl()) { hash = (37 * hash) + DIRECTURL_FIELD_NUMBER; hash = (53 * hash) + getDirectUrl().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.byteplus.service.vod.model.business.VodGetWorkflowExecutionDetailResult parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.byteplus.service.vod.model.business.VodGetWorkflowExecutionDetailResult 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.VodGetWorkflowExecutionDetailResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.byteplus.service.vod.model.business.VodGetWorkflowExecutionDetailResult 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.VodGetWorkflowExecutionDetailResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.byteplus.service.vod.model.business.VodGetWorkflowExecutionDetailResult 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.VodGetWorkflowExecutionDetailResult 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.VodGetWorkflowExecutionDetailResult 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.VodGetWorkflowExecutionDetailResult 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.VodGetWorkflowExecutionDetailResult 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.VodGetWorkflowExecutionDetailResult 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.VodGetWorkflowExecutionDetailResult 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.VodGetWorkflowExecutionDetailResult 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.VodGetWorkflowExecutionDetailResult} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Byteplus.Vod.Models.Business.VodGetWorkflowExecutionDetailResult) com.byteplus.service.vod.model.business.VodGetWorkflowExecutionDetailResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.byteplus.service.vod.model.business.VodWorkflow.internal_static_Byteplus_Vod_Models_Business_VodGetWorkflowExecutionDetailResult_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_VodGetWorkflowExecutionDetailResult_fieldAccessorTable .ensureFieldAccessorsInitialized( com.byteplus.service.vod.model.business.VodGetWorkflowExecutionDetailResult.class, com.byteplus.service.vod.model.business.VodGetWorkflowExecutionDetailResult.Builder.class); } // Construct using com.byteplus.service.vod.model.business.VodGetWorkflowExecutionDetailResult.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getStagesFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); runId_ = ""; vid_ = ""; templateId_ = ""; spaceName_ = ""; status_ = ""; taskListId_ = ""; enableLowPriority_ = false; jobSource_ = ""; if (stagesBuilder_ == null) { stages_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { stagesBuilder_.clear(); } if (createTimeBuilder_ == null) { createTime_ = null; } else { createTime_ = null; createTimeBuilder_ = null; } if (startTimeBuilder_ == null) { startTime_ = null; } else { startTime_ = null; startTimeBuilder_ = null; } if (endTimeBuilder_ == null) { endTime_ = null; } else { endTime_ = null; endTimeBuilder_ = null; } if (directUrlBuilder_ == null) { directUrl_ = null; } else { directUrl_ = null; directUrlBuilder_ = null; } 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_VodGetWorkflowExecutionDetailResult_descriptor; } @java.lang.Override public com.byteplus.service.vod.model.business.VodGetWorkflowExecutionDetailResult getDefaultInstanceForType() { return com.byteplus.service.vod.model.business.VodGetWorkflowExecutionDetailResult.getDefaultInstance(); } @java.lang.Override public com.byteplus.service.vod.model.business.VodGetWorkflowExecutionDetailResult build() { com.byteplus.service.vod.model.business.VodGetWorkflowExecutionDetailResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.byteplus.service.vod.model.business.VodGetWorkflowExecutionDetailResult buildPartial() { com.byteplus.service.vod.model.business.VodGetWorkflowExecutionDetailResult result = new com.byteplus.service.vod.model.business.VodGetWorkflowExecutionDetailResult(this); int from_bitField0_ = bitField0_; result.runId_ = runId_; result.vid_ = vid_; result.templateId_ = templateId_; result.spaceName_ = spaceName_; result.status_ = status_; result.taskListId_ = taskListId_; result.enableLowPriority_ = enableLowPriority_; result.jobSource_ = jobSource_; if (stagesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { stages_ = java.util.Collections.unmodifiableList(stages_); bitField0_ = (bitField0_ & ~0x00000001); } result.stages_ = stages_; } else { result.stages_ = stagesBuilder_.build(); } if (createTimeBuilder_ == null) { result.createTime_ = createTime_; } else { result.createTime_ = createTimeBuilder_.build(); } if (startTimeBuilder_ == null) { result.startTime_ = startTime_; } else { result.startTime_ = startTimeBuilder_.build(); } if (endTimeBuilder_ == null) { result.endTime_ = endTime_; } else { result.endTime_ = endTimeBuilder_.build(); } if (directUrlBuilder_ == null) { result.directUrl_ = directUrl_; } else { result.directUrl_ = directUrlBuilder_.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.VodGetWorkflowExecutionDetailResult) { return mergeFrom((com.byteplus.service.vod.model.business.VodGetWorkflowExecutionDetailResult)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.byteplus.service.vod.model.business.VodGetWorkflowExecutionDetailResult other) { if (other == com.byteplus.service.vod.model.business.VodGetWorkflowExecutionDetailResult.getDefaultInstance()) return this; if (!other.getRunId().isEmpty()) { runId_ = other.runId_; onChanged(); } if (!other.getVid().isEmpty()) { vid_ = other.vid_; onChanged(); } if (!other.getTemplateId().isEmpty()) { templateId_ = other.templateId_; onChanged(); } if (!other.getSpaceName().isEmpty()) { spaceName_ = other.spaceName_; onChanged(); } if (!other.getStatus().isEmpty()) { status_ = other.status_; onChanged(); } if (!other.getTaskListId().isEmpty()) { taskListId_ = other.taskListId_; onChanged(); } if (other.getEnableLowPriority() != false) { setEnableLowPriority(other.getEnableLowPriority()); } if (!other.getJobSource().isEmpty()) { jobSource_ = other.jobSource_; onChanged(); } if (stagesBuilder_ == null) { if (!other.stages_.isEmpty()) { if (stages_.isEmpty()) { stages_ = other.stages_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureStagesIsMutable(); stages_.addAll(other.stages_); } onChanged(); } } else { if (!other.stages_.isEmpty()) { if (stagesBuilder_.isEmpty()) { stagesBuilder_.dispose(); stagesBuilder_ = null; stages_ = other.stages_; bitField0_ = (bitField0_ & ~0x00000001); stagesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getStagesFieldBuilder() : null; } else { stagesBuilder_.addAllMessages(other.stages_); } } } if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); } if (other.hasStartTime()) { mergeStartTime(other.getStartTime()); } if (other.hasEndTime()) { mergeEndTime(other.getEndTime()); } if (other.hasDirectUrl()) { mergeDirectUrl(other.getDirectUrl()); } 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.VodGetWorkflowExecutionDetailResult parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.byteplus.service.vod.model.business.VodGetWorkflowExecutionDetailResult) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object runId_ = ""; /** * string RunId = 1; * @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 = 1; * @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 = 1; * @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 = 1; * @return This builder for chaining. */ public Builder clearRunId() { runId_ = getDefaultInstance().getRunId(); onChanged(); return this; } /** * string RunId = 1; * @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 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 templateId_ = ""; /** * string TemplateId = 3; * @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 = 3; * @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 = 3; * @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 = 3; * @return This builder for chaining. */ public Builder clearTemplateId() { templateId_ = getDefaultInstance().getTemplateId(); onChanged(); return this; } /** * string TemplateId = 3; * @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 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 status_ = ""; /** * string Status = 6; * @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 = 6; * @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 = 6; * @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 = 6; * @return This builder for chaining. */ public Builder clearStatus() { status_ = getDefaultInstance().getStatus(); onChanged(); return this; } /** * string Status = 6; * @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.lang.Object taskListId_ = ""; /** * string TaskListId = 7; * @return The taskListId. */ public java.lang.String getTaskListId() { java.lang.Object ref = taskListId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); taskListId_ = s; return s; } else { return (java.lang.String) ref; } } /** * string TaskListId = 7; * @return The bytes for taskListId. */ public com.google.protobuf.ByteString getTaskListIdBytes() { java.lang.Object ref = taskListId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); taskListId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string TaskListId = 7; * @param value The taskListId to set. * @return This builder for chaining. */ public Builder setTaskListId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } taskListId_ = value; onChanged(); return this; } /** * string TaskListId = 7; * @return This builder for chaining. */ public Builder clearTaskListId() { taskListId_ = getDefaultInstance().getTaskListId(); onChanged(); return this; } /** * string TaskListId = 7; * @param value The bytes for taskListId to set. * @return This builder for chaining. */ public Builder setTaskListIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); taskListId_ = value; onChanged(); return this; } private boolean enableLowPriority_ ; /** * bool EnableLowPriority = 8; * @return The enableLowPriority. */ @java.lang.Override public boolean getEnableLowPriority() { return enableLowPriority_; } /** * bool EnableLowPriority = 8; * @param value The enableLowPriority to set. * @return This builder for chaining. */ public Builder setEnableLowPriority(boolean value) { enableLowPriority_ = value; onChanged(); return this; } /** * bool EnableLowPriority = 8; * @return This builder for chaining. */ public Builder clearEnableLowPriority() { enableLowPriority_ = false; onChanged(); return this; } private java.lang.Object jobSource_ = ""; /** * string JobSource = 9; * @return The jobSource. */ public java.lang.String getJobSource() { java.lang.Object ref = jobSource_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); jobSource_ = s; return s; } else { return (java.lang.String) ref; } } /** * string JobSource = 9; * @return The bytes for jobSource. */ public com.google.protobuf.ByteString getJobSourceBytes() { java.lang.Object ref = jobSource_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); jobSource_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string JobSource = 9; * @param value The jobSource to set. * @return This builder for chaining. */ public Builder setJobSource( java.lang.String value) { if (value == null) { throw new NullPointerException(); } jobSource_ = value; onChanged(); return this; } /** * string JobSource = 9; * @return This builder for chaining. */ public Builder clearJobSource() { jobSource_ = getDefaultInstance().getJobSource(); onChanged(); return this; } /** * string JobSource = 9; * @param value The bytes for jobSource to set. * @return This builder for chaining. */ public Builder setJobSourceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); jobSource_ = value; onChanged(); return this; } private java.util.List stages_ = java.util.Collections.emptyList(); private void ensureStagesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { stages_ = new java.util.ArrayList(stages_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.byteplus.service.vod.model.business.ExecutionStage, com.byteplus.service.vod.model.business.ExecutionStage.Builder, com.byteplus.service.vod.model.business.ExecutionStageOrBuilder> stagesBuilder_; /** *
     * 执行阶段
     * 
* * repeated .Byteplus.Vod.Models.Business.ExecutionStage Stages = 10; */ public java.util.List getStagesList() { if (stagesBuilder_ == null) { return java.util.Collections.unmodifiableList(stages_); } else { return stagesBuilder_.getMessageList(); } } /** *
     * 执行阶段
     * 
* * repeated .Byteplus.Vod.Models.Business.ExecutionStage Stages = 10; */ public int getStagesCount() { if (stagesBuilder_ == null) { return stages_.size(); } else { return stagesBuilder_.getCount(); } } /** *
     * 执行阶段
     * 
* * repeated .Byteplus.Vod.Models.Business.ExecutionStage Stages = 10; */ public com.byteplus.service.vod.model.business.ExecutionStage getStages(int index) { if (stagesBuilder_ == null) { return stages_.get(index); } else { return stagesBuilder_.getMessage(index); } } /** *
     * 执行阶段
     * 
* * repeated .Byteplus.Vod.Models.Business.ExecutionStage Stages = 10; */ public Builder setStages( int index, com.byteplus.service.vod.model.business.ExecutionStage value) { if (stagesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStagesIsMutable(); stages_.set(index, value); onChanged(); } else { stagesBuilder_.setMessage(index, value); } return this; } /** *
     * 执行阶段
     * 
* * repeated .Byteplus.Vod.Models.Business.ExecutionStage Stages = 10; */ public Builder setStages( int index, com.byteplus.service.vod.model.business.ExecutionStage.Builder builderForValue) { if (stagesBuilder_ == null) { ensureStagesIsMutable(); stages_.set(index, builderForValue.build()); onChanged(); } else { stagesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
     * 执行阶段
     * 
* * repeated .Byteplus.Vod.Models.Business.ExecutionStage Stages = 10; */ public Builder addStages(com.byteplus.service.vod.model.business.ExecutionStage value) { if (stagesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStagesIsMutable(); stages_.add(value); onChanged(); } else { stagesBuilder_.addMessage(value); } return this; } /** *
     * 执行阶段
     * 
* * repeated .Byteplus.Vod.Models.Business.ExecutionStage Stages = 10; */ public Builder addStages( int index, com.byteplus.service.vod.model.business.ExecutionStage value) { if (stagesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStagesIsMutable(); stages_.add(index, value); onChanged(); } else { stagesBuilder_.addMessage(index, value); } return this; } /** *
     * 执行阶段
     * 
* * repeated .Byteplus.Vod.Models.Business.ExecutionStage Stages = 10; */ public Builder addStages( com.byteplus.service.vod.model.business.ExecutionStage.Builder builderForValue) { if (stagesBuilder_ == null) { ensureStagesIsMutable(); stages_.add(builderForValue.build()); onChanged(); } else { stagesBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     * 执行阶段
     * 
* * repeated .Byteplus.Vod.Models.Business.ExecutionStage Stages = 10; */ public Builder addStages( int index, com.byteplus.service.vod.model.business.ExecutionStage.Builder builderForValue) { if (stagesBuilder_ == null) { ensureStagesIsMutable(); stages_.add(index, builderForValue.build()); onChanged(); } else { stagesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
     * 执行阶段
     * 
* * repeated .Byteplus.Vod.Models.Business.ExecutionStage Stages = 10; */ public Builder addAllStages( java.lang.Iterable values) { if (stagesBuilder_ == null) { ensureStagesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, stages_); onChanged(); } else { stagesBuilder_.addAllMessages(values); } return this; } /** *
     * 执行阶段
     * 
* * repeated .Byteplus.Vod.Models.Business.ExecutionStage Stages = 10; */ public Builder clearStages() { if (stagesBuilder_ == null) { stages_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { stagesBuilder_.clear(); } return this; } /** *
     * 执行阶段
     * 
* * repeated .Byteplus.Vod.Models.Business.ExecutionStage Stages = 10; */ public Builder removeStages(int index) { if (stagesBuilder_ == null) { ensureStagesIsMutable(); stages_.remove(index); onChanged(); } else { stagesBuilder_.remove(index); } return this; } /** *
     * 执行阶段
     * 
* * repeated .Byteplus.Vod.Models.Business.ExecutionStage Stages = 10; */ public com.byteplus.service.vod.model.business.ExecutionStage.Builder getStagesBuilder( int index) { return getStagesFieldBuilder().getBuilder(index); } /** *
     * 执行阶段
     * 
* * repeated .Byteplus.Vod.Models.Business.ExecutionStage Stages = 10; */ public com.byteplus.service.vod.model.business.ExecutionStageOrBuilder getStagesOrBuilder( int index) { if (stagesBuilder_ == null) { return stages_.get(index); } else { return stagesBuilder_.getMessageOrBuilder(index); } } /** *
     * 执行阶段
     * 
* * repeated .Byteplus.Vod.Models.Business.ExecutionStage Stages = 10; */ public java.util.List getStagesOrBuilderList() { if (stagesBuilder_ != null) { return stagesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(stages_); } } /** *
     * 执行阶段
     * 
* * repeated .Byteplus.Vod.Models.Business.ExecutionStage Stages = 10; */ public com.byteplus.service.vod.model.business.ExecutionStage.Builder addStagesBuilder() { return getStagesFieldBuilder().addBuilder( com.byteplus.service.vod.model.business.ExecutionStage.getDefaultInstance()); } /** *
     * 执行阶段
     * 
* * repeated .Byteplus.Vod.Models.Business.ExecutionStage Stages = 10; */ public com.byteplus.service.vod.model.business.ExecutionStage.Builder addStagesBuilder( int index) { return getStagesFieldBuilder().addBuilder( index, com.byteplus.service.vod.model.business.ExecutionStage.getDefaultInstance()); } /** *
     * 执行阶段
     * 
* * repeated .Byteplus.Vod.Models.Business.ExecutionStage Stages = 10; */ public java.util.List getStagesBuilderList() { return getStagesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.byteplus.service.vod.model.business.ExecutionStage, com.byteplus.service.vod.model.business.ExecutionStage.Builder, com.byteplus.service.vod.model.business.ExecutionStageOrBuilder> getStagesFieldBuilder() { if (stagesBuilder_ == null) { stagesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.byteplus.service.vod.model.business.ExecutionStage, com.byteplus.service.vod.model.business.ExecutionStage.Builder, com.byteplus.service.vod.model.business.ExecutionStageOrBuilder>( stages_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); stages_ = null; } return stagesBuilder_; } private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** * .google.protobuf.Timestamp CreateTime = 11; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** * .google.protobuf.Timestamp CreateTime = 11; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** * .google.protobuf.Timestamp CreateTime = 11; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } createTime_ = value; onChanged(); } else { createTimeBuilder_.setMessage(value); } return this; } /** * .google.protobuf.Timestamp CreateTime = 11; */ public Builder setCreateTime( com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); } else { createTimeBuilder_.setMessage(builderForValue.build()); } return this; } /** * .google.protobuf.Timestamp CreateTime = 11; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } onChanged(); } else { createTimeBuilder_.mergeFrom(value); } return this; } /** * .google.protobuf.Timestamp CreateTime = 11; */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { createTime_ = null; onChanged(); } else { createTime_ = null; createTimeBuilder_ = null; } return this; } /** * .google.protobuf.Timestamp CreateTime = 11; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** * .google.protobuf.Timestamp CreateTime = 11; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** * .google.protobuf.Timestamp CreateTime = 11; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; } private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; /** * .google.protobuf.Timestamp StartTime = 12; * @return Whether the startTime field is set. */ public boolean hasStartTime() { return startTimeBuilder_ != null || startTime_ != null; } /** * .google.protobuf.Timestamp StartTime = 12; * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { if (startTimeBuilder_ == null) { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } else { return startTimeBuilder_.getMessage(); } } /** * .google.protobuf.Timestamp StartTime = 12; */ public Builder setStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } startTime_ = value; onChanged(); } else { startTimeBuilder_.setMessage(value); } return this; } /** * .google.protobuf.Timestamp StartTime = 12; */ public Builder setStartTime( com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); onChanged(); } else { startTimeBuilder_.setMessage(builderForValue.build()); } return this; } /** * .google.protobuf.Timestamp StartTime = 12; */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { if (startTime_ != null) { startTime_ = com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } onChanged(); } else { startTimeBuilder_.mergeFrom(value); } return this; } /** * .google.protobuf.Timestamp StartTime = 12; */ public Builder clearStartTime() { if (startTimeBuilder_ == null) { startTime_ = null; onChanged(); } else { startTime_ = null; startTimeBuilder_ = null; } return this; } /** * .google.protobuf.Timestamp StartTime = 12; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** * .google.protobuf.Timestamp StartTime = 12; */ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** * .google.protobuf.Timestamp StartTime = 12; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getStartTime(), getParentForChildren(), isClean()); startTime_ = null; } return startTimeBuilder_; } private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; /** * .google.protobuf.Timestamp EndTime = 13; * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** * .google.protobuf.Timestamp EndTime = 13; * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { if (endTimeBuilder_ == null) { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } else { return endTimeBuilder_.getMessage(); } } /** * .google.protobuf.Timestamp EndTime = 13; */ public Builder setEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } endTime_ = value; onChanged(); } else { endTimeBuilder_.setMessage(value); } return this; } /** * .google.protobuf.Timestamp EndTime = 13; */ public Builder setEndTime( com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); onChanged(); } else { endTimeBuilder_.setMessage(builderForValue.build()); } return this; } /** * .google.protobuf.Timestamp EndTime = 13; */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { if (endTime_ != null) { endTime_ = com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } onChanged(); } else { endTimeBuilder_.mergeFrom(value); } return this; } /** * .google.protobuf.Timestamp EndTime = 13; */ public Builder clearEndTime() { if (endTimeBuilder_ == null) { endTime_ = null; onChanged(); } else { endTime_ = null; endTimeBuilder_ = null; } return this; } /** * .google.protobuf.Timestamp EndTime = 13; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { onChanged(); return getEndTimeFieldBuilder().getBuilder(); } /** * .google.protobuf.Timestamp EndTime = 13; */ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** * .google.protobuf.Timestamp EndTime = 13; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getEndTime(), getParentForChildren(), isClean()); endTime_ = null; } return endTimeBuilder_; } 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 = 14; * @return Whether the directUrl field is set. */ public boolean hasDirectUrl() { return directUrlBuilder_ != null || directUrl_ != null; } /** * .Byteplus.Vod.Models.Business.DirectUrl DirectUrl = 14; * @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 = 14; */ 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 = 14; */ 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 = 14; */ 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 = 14; */ public Builder clearDirectUrl() { if (directUrlBuilder_ == null) { directUrl_ = null; onChanged(); } else { directUrl_ = null; directUrlBuilder_ = null; } return this; } /** * .Byteplus.Vod.Models.Business.DirectUrl DirectUrl = 14; */ public com.byteplus.service.vod.model.business.DirectUrl.Builder getDirectUrlBuilder() { onChanged(); return getDirectUrlFieldBuilder().getBuilder(); } /** * .Byteplus.Vod.Models.Business.DirectUrl DirectUrl = 14; */ 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 = 14; */ 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_; } @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.VodGetWorkflowExecutionDetailResult) } // @@protoc_insertion_point(class_scope:Byteplus.Vod.Models.Business.VodGetWorkflowExecutionDetailResult) private static final com.byteplus.service.vod.model.business.VodGetWorkflowExecutionDetailResult DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.byteplus.service.vod.model.business.VodGetWorkflowExecutionDetailResult(); } public static com.byteplus.service.vod.model.business.VodGetWorkflowExecutionDetailResult getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public VodGetWorkflowExecutionDetailResult parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new VodGetWorkflowExecutionDetailResult(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.VodGetWorkflowExecutionDetailResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy