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

com.volcengine.service.imp.model.business.JobExecution Maven / Gradle / Ivy

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

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

/**
 * Protobuf type {@code Volcengine.Imp.Models.Business.JobExecution}
 */
public final class JobExecution extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:Volcengine.Imp.Models.Business.JobExecution)
    JobExecutionOrBuilder {
private static final long serialVersionUID = 0L;
  // Use JobExecution.newBuilder() to construct.
  private JobExecution(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private JobExecution() {
    jobId_ = "";
    output_ = java.util.Collections.emptyList();
    status_ = "";
    createAt_ = "";
    finishedAt_ = "";
    templateId_ = "";
    enableLowPriority_ = "";
    jobSource_ = "";
  }

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

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

            jobId_ = s;
            break;
          }
          case 18: {
            com.volcengine.service.imp.model.business.InputPath.Builder subBuilder = null;
            if (inputPath_ != null) {
              subBuilder = inputPath_.toBuilder();
            }
            inputPath_ = input.readMessage(com.volcengine.service.imp.model.business.InputPath.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(inputPath_);
              inputPath_ = subBuilder.buildPartial();
            }

            break;
          }
          case 26: {
            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
              output_ = new java.util.ArrayList();
              mutable_bitField0_ |= 0x00000001;
            }
            output_.add(
                input.readMessage(com.volcengine.service.imp.model.business.JobOutput.parser(), extensionRegistry));
            break;
          }
          case 34: {
            java.lang.String s = input.readStringRequireUtf8();

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

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

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

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

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

            jobSource_ = s;
            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)) {
        output_ = java.util.Collections.unmodifiableList(output_);
      }
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return com.volcengine.service.imp.model.business.ImpWorkflow.internal_static_Volcengine_Imp_Models_Business_JobExecution_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return com.volcengine.service.imp.model.business.ImpWorkflow.internal_static_Volcengine_Imp_Models_Business_JobExecution_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.volcengine.service.imp.model.business.JobExecution.class, com.volcengine.service.imp.model.business.JobExecution.Builder.class);
  }

  public static final int JOBID_FIELD_NUMBER = 1;
  private volatile java.lang.Object jobId_;
  /**
   * 
   * 工作流执行id
   * 
* * string JobId = 1; * @return The jobId. */ @java.lang.Override public java.lang.String getJobId() { java.lang.Object ref = jobId_; 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(); jobId_ = s; return s; } } /** *
   * 工作流执行id
   * 
* * string JobId = 1; * @return The bytes for jobId. */ @java.lang.Override public com.google.protobuf.ByteString getJobIdBytes() { java.lang.Object ref = jobId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); jobId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int INPUTPATH_FIELD_NUMBER = 2; private com.volcengine.service.imp.model.business.InputPath inputPath_; /** *
   * 输入文件info
   * 
* * .Volcengine.Imp.Models.Business.InputPath InputPath = 2; * @return Whether the inputPath field is set. */ @java.lang.Override public boolean hasInputPath() { return inputPath_ != null; } /** *
   * 输入文件info
   * 
* * .Volcengine.Imp.Models.Business.InputPath InputPath = 2; * @return The inputPath. */ @java.lang.Override public com.volcengine.service.imp.model.business.InputPath getInputPath() { return inputPath_ == null ? com.volcengine.service.imp.model.business.InputPath.getDefaultInstance() : inputPath_; } /** *
   * 输入文件info
   * 
* * .Volcengine.Imp.Models.Business.InputPath InputPath = 2; */ @java.lang.Override public com.volcengine.service.imp.model.business.InputPathOrBuilder getInputPathOrBuilder() { return getInputPath(); } public static final int OUTPUT_FIELD_NUMBER = 3; private java.util.List output_; /** *
   * 任务节点info
   * 
* * repeated .Volcengine.Imp.Models.Business.JobOutput Output = 3; */ @java.lang.Override public java.util.List getOutputList() { return output_; } /** *
   * 任务节点info
   * 
* * repeated .Volcengine.Imp.Models.Business.JobOutput Output = 3; */ @java.lang.Override public java.util.List getOutputOrBuilderList() { return output_; } /** *
   * 任务节点info
   * 
* * repeated .Volcengine.Imp.Models.Business.JobOutput Output = 3; */ @java.lang.Override public int getOutputCount() { return output_.size(); } /** *
   * 任务节点info
   * 
* * repeated .Volcengine.Imp.Models.Business.JobOutput Output = 3; */ @java.lang.Override public com.volcengine.service.imp.model.business.JobOutput getOutput(int index) { return output_.get(index); } /** *
   * 任务节点info
   * 
* * repeated .Volcengine.Imp.Models.Business.JobOutput Output = 3; */ @java.lang.Override public com.volcengine.service.imp.model.business.JobOutputOrBuilder getOutputOrBuilder( int index) { return output_.get(index); } public static final int STATUS_FIELD_NUMBER = 4; private volatile java.lang.Object status_; /** *
   * 工作流状态
   * 
* * string Status = 4; * @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 = 4; * @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 CREATEAT_FIELD_NUMBER = 5; private volatile java.lang.Object createAt_; /** * string CreateAt = 5; * @return The createAt. */ @java.lang.Override public java.lang.String getCreateAt() { java.lang.Object ref = createAt_; 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(); createAt_ = s; return s; } } /** * string CreateAt = 5; * @return The bytes for createAt. */ @java.lang.Override public com.google.protobuf.ByteString getCreateAtBytes() { java.lang.Object ref = createAt_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); createAt_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int FINISHEDAT_FIELD_NUMBER = 6; private volatile java.lang.Object finishedAt_; /** * string FinishedAt = 6; * @return The finishedAt. */ @java.lang.Override public java.lang.String getFinishedAt() { java.lang.Object ref = finishedAt_; 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(); finishedAt_ = s; return s; } } /** * string FinishedAt = 6; * @return The bytes for finishedAt. */ @java.lang.Override public com.google.protobuf.ByteString getFinishedAtBytes() { java.lang.Object ref = finishedAt_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); finishedAt_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TEMPLATEID_FIELD_NUMBER = 7; private volatile java.lang.Object templateId_; /** *
   * 工作流模板id
   * 
* * string TemplateId = 7; * @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; } } /** *
   * 工作流模板id
   * 
* * string TemplateId = 7; * @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 ENABLELOWPRIORITY_FIELD_NUMBER = 8; private volatile java.lang.Object enableLowPriority_; /** *
   * 是否开启闲时任务
   * 
* * string EnableLowPriority = 8; * @return The enableLowPriority. */ @java.lang.Override public java.lang.String getEnableLowPriority() { java.lang.Object ref = enableLowPriority_; 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(); enableLowPriority_ = s; return s; } } /** *
   * 是否开启闲时任务
   * 
* * string EnableLowPriority = 8; * @return The bytes for enableLowPriority. */ @java.lang.Override public com.google.protobuf.ByteString getEnableLowPriorityBytes() { java.lang.Object ref = enableLowPriority_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); enableLowPriority_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } 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; } } 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 (!getJobIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, jobId_); } if (inputPath_ != null) { output.writeMessage(2, getInputPath()); } for (int i = 0; i < output_.size(); i++) { output.writeMessage(3, output_.get(i)); } if (!getStatusBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, status_); } if (!getCreateAtBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, createAt_); } if (!getFinishedAtBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, finishedAt_); } if (!getTemplateIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, templateId_); } if (!getEnableLowPriorityBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, enableLowPriority_); } if (!getJobSourceBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 9, jobSource_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getJobIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, jobId_); } if (inputPath_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getInputPath()); } for (int i = 0; i < output_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, output_.get(i)); } if (!getStatusBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, status_); } if (!getCreateAtBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, createAt_); } if (!getFinishedAtBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, finishedAt_); } if (!getTemplateIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, templateId_); } if (!getEnableLowPriorityBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, enableLowPriority_); } if (!getJobSourceBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, jobSource_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.volcengine.service.imp.model.business.JobExecution)) { return super.equals(obj); } com.volcengine.service.imp.model.business.JobExecution other = (com.volcengine.service.imp.model.business.JobExecution) obj; if (!getJobId() .equals(other.getJobId())) return false; if (hasInputPath() != other.hasInputPath()) return false; if (hasInputPath()) { if (!getInputPath() .equals(other.getInputPath())) return false; } if (!getOutputList() .equals(other.getOutputList())) return false; if (!getStatus() .equals(other.getStatus())) return false; if (!getCreateAt() .equals(other.getCreateAt())) return false; if (!getFinishedAt() .equals(other.getFinishedAt())) return false; if (!getTemplateId() .equals(other.getTemplateId())) return false; if (!getEnableLowPriority() .equals(other.getEnableLowPriority())) return false; if (!getJobSource() .equals(other.getJobSource())) 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) + JOBID_FIELD_NUMBER; hash = (53 * hash) + getJobId().hashCode(); if (hasInputPath()) { hash = (37 * hash) + INPUTPATH_FIELD_NUMBER; hash = (53 * hash) + getInputPath().hashCode(); } if (getOutputCount() > 0) { hash = (37 * hash) + OUTPUT_FIELD_NUMBER; hash = (53 * hash) + getOutputList().hashCode(); } hash = (37 * hash) + STATUS_FIELD_NUMBER; hash = (53 * hash) + getStatus().hashCode(); hash = (37 * hash) + CREATEAT_FIELD_NUMBER; hash = (53 * hash) + getCreateAt().hashCode(); hash = (37 * hash) + FINISHEDAT_FIELD_NUMBER; hash = (53 * hash) + getFinishedAt().hashCode(); hash = (37 * hash) + TEMPLATEID_FIELD_NUMBER; hash = (53 * hash) + getTemplateId().hashCode(); hash = (37 * hash) + ENABLELOWPRIORITY_FIELD_NUMBER; hash = (53 * hash) + getEnableLowPriority().hashCode(); hash = (37 * hash) + JOBSOURCE_FIELD_NUMBER; hash = (53 * hash) + getJobSource().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.volcengine.service.imp.model.business.JobExecution parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.volcengine.service.imp.model.business.JobExecution parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.volcengine.service.imp.model.business.JobExecution parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.volcengine.service.imp.model.business.JobExecution parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.volcengine.service.imp.model.business.JobExecution parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.volcengine.service.imp.model.business.JobExecution parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.volcengine.service.imp.model.business.JobExecution parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.volcengine.service.imp.model.business.JobExecution parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.volcengine.service.imp.model.business.JobExecution parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.volcengine.service.imp.model.business.JobExecution parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.volcengine.service.imp.model.business.JobExecution parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.volcengine.service.imp.model.business.JobExecution parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.volcengine.service.imp.model.business.JobExecution prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code Volcengine.Imp.Models.Business.JobExecution} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Volcengine.Imp.Models.Business.JobExecution) com.volcengine.service.imp.model.business.JobExecutionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.volcengine.service.imp.model.business.ImpWorkflow.internal_static_Volcengine_Imp_Models_Business_JobExecution_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.volcengine.service.imp.model.business.ImpWorkflow.internal_static_Volcengine_Imp_Models_Business_JobExecution_fieldAccessorTable .ensureFieldAccessorsInitialized( com.volcengine.service.imp.model.business.JobExecution.class, com.volcengine.service.imp.model.business.JobExecution.Builder.class); } // Construct using com.volcengine.service.imp.model.business.JobExecution.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getOutputFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); jobId_ = ""; if (inputPathBuilder_ == null) { inputPath_ = null; } else { inputPath_ = null; inputPathBuilder_ = null; } if (outputBuilder_ == null) { output_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { outputBuilder_.clear(); } status_ = ""; createAt_ = ""; finishedAt_ = ""; templateId_ = ""; enableLowPriority_ = ""; jobSource_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.volcengine.service.imp.model.business.ImpWorkflow.internal_static_Volcengine_Imp_Models_Business_JobExecution_descriptor; } @java.lang.Override public com.volcengine.service.imp.model.business.JobExecution getDefaultInstanceForType() { return com.volcengine.service.imp.model.business.JobExecution.getDefaultInstance(); } @java.lang.Override public com.volcengine.service.imp.model.business.JobExecution build() { com.volcengine.service.imp.model.business.JobExecution result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.volcengine.service.imp.model.business.JobExecution buildPartial() { com.volcengine.service.imp.model.business.JobExecution result = new com.volcengine.service.imp.model.business.JobExecution(this); int from_bitField0_ = bitField0_; result.jobId_ = jobId_; if (inputPathBuilder_ == null) { result.inputPath_ = inputPath_; } else { result.inputPath_ = inputPathBuilder_.build(); } if (outputBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { output_ = java.util.Collections.unmodifiableList(output_); bitField0_ = (bitField0_ & ~0x00000001); } result.output_ = output_; } else { result.output_ = outputBuilder_.build(); } result.status_ = status_; result.createAt_ = createAt_; result.finishedAt_ = finishedAt_; result.templateId_ = templateId_; result.enableLowPriority_ = enableLowPriority_; result.jobSource_ = jobSource_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.volcengine.service.imp.model.business.JobExecution) { return mergeFrom((com.volcengine.service.imp.model.business.JobExecution)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.volcengine.service.imp.model.business.JobExecution other) { if (other == com.volcengine.service.imp.model.business.JobExecution.getDefaultInstance()) return this; if (!other.getJobId().isEmpty()) { jobId_ = other.jobId_; onChanged(); } if (other.hasInputPath()) { mergeInputPath(other.getInputPath()); } if (outputBuilder_ == null) { if (!other.output_.isEmpty()) { if (output_.isEmpty()) { output_ = other.output_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureOutputIsMutable(); output_.addAll(other.output_); } onChanged(); } } else { if (!other.output_.isEmpty()) { if (outputBuilder_.isEmpty()) { outputBuilder_.dispose(); outputBuilder_ = null; output_ = other.output_; bitField0_ = (bitField0_ & ~0x00000001); outputBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getOutputFieldBuilder() : null; } else { outputBuilder_.addAllMessages(other.output_); } } } if (!other.getStatus().isEmpty()) { status_ = other.status_; onChanged(); } if (!other.getCreateAt().isEmpty()) { createAt_ = other.createAt_; onChanged(); } if (!other.getFinishedAt().isEmpty()) { finishedAt_ = other.finishedAt_; onChanged(); } if (!other.getTemplateId().isEmpty()) { templateId_ = other.templateId_; onChanged(); } if (!other.getEnableLowPriority().isEmpty()) { enableLowPriority_ = other.enableLowPriority_; onChanged(); } if (!other.getJobSource().isEmpty()) { jobSource_ = other.jobSource_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.volcengine.service.imp.model.business.JobExecution parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.volcengine.service.imp.model.business.JobExecution) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object jobId_ = ""; /** *
     * 工作流执行id
     * 
* * string JobId = 1; * @return The jobId. */ public java.lang.String getJobId() { java.lang.Object ref = jobId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); jobId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * 工作流执行id
     * 
* * string JobId = 1; * @return The bytes for jobId. */ public com.google.protobuf.ByteString getJobIdBytes() { java.lang.Object ref = jobId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); jobId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * 工作流执行id
     * 
* * string JobId = 1; * @param value The jobId to set. * @return This builder for chaining. */ public Builder setJobId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } jobId_ = value; onChanged(); return this; } /** *
     * 工作流执行id
     * 
* * string JobId = 1; * @return This builder for chaining. */ public Builder clearJobId() { jobId_ = getDefaultInstance().getJobId(); onChanged(); return this; } /** *
     * 工作流执行id
     * 
* * string JobId = 1; * @param value The bytes for jobId to set. * @return This builder for chaining. */ public Builder setJobIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); jobId_ = value; onChanged(); return this; } private com.volcengine.service.imp.model.business.InputPath inputPath_; private com.google.protobuf.SingleFieldBuilderV3< com.volcengine.service.imp.model.business.InputPath, com.volcengine.service.imp.model.business.InputPath.Builder, com.volcengine.service.imp.model.business.InputPathOrBuilder> inputPathBuilder_; /** *
     * 输入文件info
     * 
* * .Volcengine.Imp.Models.Business.InputPath InputPath = 2; * @return Whether the inputPath field is set. */ public boolean hasInputPath() { return inputPathBuilder_ != null || inputPath_ != null; } /** *
     * 输入文件info
     * 
* * .Volcengine.Imp.Models.Business.InputPath InputPath = 2; * @return The inputPath. */ public com.volcengine.service.imp.model.business.InputPath getInputPath() { if (inputPathBuilder_ == null) { return inputPath_ == null ? com.volcengine.service.imp.model.business.InputPath.getDefaultInstance() : inputPath_; } else { return inputPathBuilder_.getMessage(); } } /** *
     * 输入文件info
     * 
* * .Volcengine.Imp.Models.Business.InputPath InputPath = 2; */ public Builder setInputPath(com.volcengine.service.imp.model.business.InputPath value) { if (inputPathBuilder_ == null) { if (value == null) { throw new NullPointerException(); } inputPath_ = value; onChanged(); } else { inputPathBuilder_.setMessage(value); } return this; } /** *
     * 输入文件info
     * 
* * .Volcengine.Imp.Models.Business.InputPath InputPath = 2; */ public Builder setInputPath( com.volcengine.service.imp.model.business.InputPath.Builder builderForValue) { if (inputPathBuilder_ == null) { inputPath_ = builderForValue.build(); onChanged(); } else { inputPathBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * 输入文件info
     * 
* * .Volcengine.Imp.Models.Business.InputPath InputPath = 2; */ public Builder mergeInputPath(com.volcengine.service.imp.model.business.InputPath value) { if (inputPathBuilder_ == null) { if (inputPath_ != null) { inputPath_ = com.volcengine.service.imp.model.business.InputPath.newBuilder(inputPath_).mergeFrom(value).buildPartial(); } else { inputPath_ = value; } onChanged(); } else { inputPathBuilder_.mergeFrom(value); } return this; } /** *
     * 输入文件info
     * 
* * .Volcengine.Imp.Models.Business.InputPath InputPath = 2; */ public Builder clearInputPath() { if (inputPathBuilder_ == null) { inputPath_ = null; onChanged(); } else { inputPath_ = null; inputPathBuilder_ = null; } return this; } /** *
     * 输入文件info
     * 
* * .Volcengine.Imp.Models.Business.InputPath InputPath = 2; */ public com.volcengine.service.imp.model.business.InputPath.Builder getInputPathBuilder() { onChanged(); return getInputPathFieldBuilder().getBuilder(); } /** *
     * 输入文件info
     * 
* * .Volcengine.Imp.Models.Business.InputPath InputPath = 2; */ public com.volcengine.service.imp.model.business.InputPathOrBuilder getInputPathOrBuilder() { if (inputPathBuilder_ != null) { return inputPathBuilder_.getMessageOrBuilder(); } else { return inputPath_ == null ? com.volcengine.service.imp.model.business.InputPath.getDefaultInstance() : inputPath_; } } /** *
     * 输入文件info
     * 
* * .Volcengine.Imp.Models.Business.InputPath InputPath = 2; */ private com.google.protobuf.SingleFieldBuilderV3< com.volcengine.service.imp.model.business.InputPath, com.volcengine.service.imp.model.business.InputPath.Builder, com.volcengine.service.imp.model.business.InputPathOrBuilder> getInputPathFieldBuilder() { if (inputPathBuilder_ == null) { inputPathBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.volcengine.service.imp.model.business.InputPath, com.volcengine.service.imp.model.business.InputPath.Builder, com.volcengine.service.imp.model.business.InputPathOrBuilder>( getInputPath(), getParentForChildren(), isClean()); inputPath_ = null; } return inputPathBuilder_; } private java.util.List output_ = java.util.Collections.emptyList(); private void ensureOutputIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { output_ = new java.util.ArrayList(output_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.volcengine.service.imp.model.business.JobOutput, com.volcengine.service.imp.model.business.JobOutput.Builder, com.volcengine.service.imp.model.business.JobOutputOrBuilder> outputBuilder_; /** *
     * 任务节点info
     * 
* * repeated .Volcengine.Imp.Models.Business.JobOutput Output = 3; */ public java.util.List getOutputList() { if (outputBuilder_ == null) { return java.util.Collections.unmodifiableList(output_); } else { return outputBuilder_.getMessageList(); } } /** *
     * 任务节点info
     * 
* * repeated .Volcengine.Imp.Models.Business.JobOutput Output = 3; */ public int getOutputCount() { if (outputBuilder_ == null) { return output_.size(); } else { return outputBuilder_.getCount(); } } /** *
     * 任务节点info
     * 
* * repeated .Volcengine.Imp.Models.Business.JobOutput Output = 3; */ public com.volcengine.service.imp.model.business.JobOutput getOutput(int index) { if (outputBuilder_ == null) { return output_.get(index); } else { return outputBuilder_.getMessage(index); } } /** *
     * 任务节点info
     * 
* * repeated .Volcengine.Imp.Models.Business.JobOutput Output = 3; */ public Builder setOutput( int index, com.volcengine.service.imp.model.business.JobOutput value) { if (outputBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureOutputIsMutable(); output_.set(index, value); onChanged(); } else { outputBuilder_.setMessage(index, value); } return this; } /** *
     * 任务节点info
     * 
* * repeated .Volcengine.Imp.Models.Business.JobOutput Output = 3; */ public Builder setOutput( int index, com.volcengine.service.imp.model.business.JobOutput.Builder builderForValue) { if (outputBuilder_ == null) { ensureOutputIsMutable(); output_.set(index, builderForValue.build()); onChanged(); } else { outputBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
     * 任务节点info
     * 
* * repeated .Volcengine.Imp.Models.Business.JobOutput Output = 3; */ public Builder addOutput(com.volcengine.service.imp.model.business.JobOutput value) { if (outputBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureOutputIsMutable(); output_.add(value); onChanged(); } else { outputBuilder_.addMessage(value); } return this; } /** *
     * 任务节点info
     * 
* * repeated .Volcengine.Imp.Models.Business.JobOutput Output = 3; */ public Builder addOutput( int index, com.volcengine.service.imp.model.business.JobOutput value) { if (outputBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureOutputIsMutable(); output_.add(index, value); onChanged(); } else { outputBuilder_.addMessage(index, value); } return this; } /** *
     * 任务节点info
     * 
* * repeated .Volcengine.Imp.Models.Business.JobOutput Output = 3; */ public Builder addOutput( com.volcengine.service.imp.model.business.JobOutput.Builder builderForValue) { if (outputBuilder_ == null) { ensureOutputIsMutable(); output_.add(builderForValue.build()); onChanged(); } else { outputBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     * 任务节点info
     * 
* * repeated .Volcengine.Imp.Models.Business.JobOutput Output = 3; */ public Builder addOutput( int index, com.volcengine.service.imp.model.business.JobOutput.Builder builderForValue) { if (outputBuilder_ == null) { ensureOutputIsMutable(); output_.add(index, builderForValue.build()); onChanged(); } else { outputBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
     * 任务节点info
     * 
* * repeated .Volcengine.Imp.Models.Business.JobOutput Output = 3; */ public Builder addAllOutput( java.lang.Iterable values) { if (outputBuilder_ == null) { ensureOutputIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, output_); onChanged(); } else { outputBuilder_.addAllMessages(values); } return this; } /** *
     * 任务节点info
     * 
* * repeated .Volcengine.Imp.Models.Business.JobOutput Output = 3; */ public Builder clearOutput() { if (outputBuilder_ == null) { output_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { outputBuilder_.clear(); } return this; } /** *
     * 任务节点info
     * 
* * repeated .Volcengine.Imp.Models.Business.JobOutput Output = 3; */ public Builder removeOutput(int index) { if (outputBuilder_ == null) { ensureOutputIsMutable(); output_.remove(index); onChanged(); } else { outputBuilder_.remove(index); } return this; } /** *
     * 任务节点info
     * 
* * repeated .Volcengine.Imp.Models.Business.JobOutput Output = 3; */ public com.volcengine.service.imp.model.business.JobOutput.Builder getOutputBuilder( int index) { return getOutputFieldBuilder().getBuilder(index); } /** *
     * 任务节点info
     * 
* * repeated .Volcengine.Imp.Models.Business.JobOutput Output = 3; */ public com.volcengine.service.imp.model.business.JobOutputOrBuilder getOutputOrBuilder( int index) { if (outputBuilder_ == null) { return output_.get(index); } else { return outputBuilder_.getMessageOrBuilder(index); } } /** *
     * 任务节点info
     * 
* * repeated .Volcengine.Imp.Models.Business.JobOutput Output = 3; */ public java.util.List getOutputOrBuilderList() { if (outputBuilder_ != null) { return outputBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(output_); } } /** *
     * 任务节点info
     * 
* * repeated .Volcengine.Imp.Models.Business.JobOutput Output = 3; */ public com.volcengine.service.imp.model.business.JobOutput.Builder addOutputBuilder() { return getOutputFieldBuilder().addBuilder( com.volcengine.service.imp.model.business.JobOutput.getDefaultInstance()); } /** *
     * 任务节点info
     * 
* * repeated .Volcengine.Imp.Models.Business.JobOutput Output = 3; */ public com.volcengine.service.imp.model.business.JobOutput.Builder addOutputBuilder( int index) { return getOutputFieldBuilder().addBuilder( index, com.volcengine.service.imp.model.business.JobOutput.getDefaultInstance()); } /** *
     * 任务节点info
     * 
* * repeated .Volcengine.Imp.Models.Business.JobOutput Output = 3; */ public java.util.List getOutputBuilderList() { return getOutputFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.volcengine.service.imp.model.business.JobOutput, com.volcengine.service.imp.model.business.JobOutput.Builder, com.volcengine.service.imp.model.business.JobOutputOrBuilder> getOutputFieldBuilder() { if (outputBuilder_ == null) { outputBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.volcengine.service.imp.model.business.JobOutput, com.volcengine.service.imp.model.business.JobOutput.Builder, com.volcengine.service.imp.model.business.JobOutputOrBuilder>( output_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); output_ = null; } return outputBuilder_; } private java.lang.Object status_ = ""; /** *
     * 工作流状态
     * 
* * string Status = 4; * @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 = 4; * @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 = 4; * @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 = 4; * @return This builder for chaining. */ public Builder clearStatus() { status_ = getDefaultInstance().getStatus(); onChanged(); return this; } /** *
     * 工作流状态
     * 
* * string Status = 4; * @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 createAt_ = ""; /** * string CreateAt = 5; * @return The createAt. */ public java.lang.String getCreateAt() { java.lang.Object ref = createAt_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); createAt_ = s; return s; } else { return (java.lang.String) ref; } } /** * string CreateAt = 5; * @return The bytes for createAt. */ public com.google.protobuf.ByteString getCreateAtBytes() { java.lang.Object ref = createAt_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); createAt_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string CreateAt = 5; * @param value The createAt to set. * @return This builder for chaining. */ public Builder setCreateAt( java.lang.String value) { if (value == null) { throw new NullPointerException(); } createAt_ = value; onChanged(); return this; } /** * string CreateAt = 5; * @return This builder for chaining. */ public Builder clearCreateAt() { createAt_ = getDefaultInstance().getCreateAt(); onChanged(); return this; } /** * string CreateAt = 5; * @param value The bytes for createAt to set. * @return This builder for chaining. */ public Builder setCreateAtBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); createAt_ = value; onChanged(); return this; } private java.lang.Object finishedAt_ = ""; /** * string FinishedAt = 6; * @return The finishedAt. */ public java.lang.String getFinishedAt() { java.lang.Object ref = finishedAt_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); finishedAt_ = s; return s; } else { return (java.lang.String) ref; } } /** * string FinishedAt = 6; * @return The bytes for finishedAt. */ public com.google.protobuf.ByteString getFinishedAtBytes() { java.lang.Object ref = finishedAt_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); finishedAt_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string FinishedAt = 6; * @param value The finishedAt to set. * @return This builder for chaining. */ public Builder setFinishedAt( java.lang.String value) { if (value == null) { throw new NullPointerException(); } finishedAt_ = value; onChanged(); return this; } /** * string FinishedAt = 6; * @return This builder for chaining. */ public Builder clearFinishedAt() { finishedAt_ = getDefaultInstance().getFinishedAt(); onChanged(); return this; } /** * string FinishedAt = 6; * @param value The bytes for finishedAt to set. * @return This builder for chaining. */ public Builder setFinishedAtBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); finishedAt_ = value; onChanged(); return this; } private java.lang.Object templateId_ = ""; /** *
     * 工作流模板id
     * 
* * string TemplateId = 7; * @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; } } /** *
     * 工作流模板id
     * 
* * string TemplateId = 7; * @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; } } /** *
     * 工作流模板id
     * 
* * string TemplateId = 7; * @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; } /** *
     * 工作流模板id
     * 
* * string TemplateId = 7; * @return This builder for chaining. */ public Builder clearTemplateId() { templateId_ = getDefaultInstance().getTemplateId(); onChanged(); return this; } /** *
     * 工作流模板id
     * 
* * string TemplateId = 7; * @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 enableLowPriority_ = ""; /** *
     * 是否开启闲时任务
     * 
* * string EnableLowPriority = 8; * @return The enableLowPriority. */ public java.lang.String getEnableLowPriority() { java.lang.Object ref = enableLowPriority_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); enableLowPriority_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * 是否开启闲时任务
     * 
* * string EnableLowPriority = 8; * @return The bytes for enableLowPriority. */ public com.google.protobuf.ByteString getEnableLowPriorityBytes() { java.lang.Object ref = enableLowPriority_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); enableLowPriority_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * 是否开启闲时任务
     * 
* * string EnableLowPriority = 8; * @param value The enableLowPriority to set. * @return This builder for chaining. */ public Builder setEnableLowPriority( java.lang.String value) { if (value == null) { throw new NullPointerException(); } enableLowPriority_ = value; onChanged(); return this; } /** *
     * 是否开启闲时任务
     * 
* * string EnableLowPriority = 8; * @return This builder for chaining. */ public Builder clearEnableLowPriority() { enableLowPriority_ = getDefaultInstance().getEnableLowPriority(); onChanged(); return this; } /** *
     * 是否开启闲时任务
     * 
* * string EnableLowPriority = 8; * @param value The bytes for enableLowPriority to set. * @return This builder for chaining. */ public Builder setEnableLowPriorityBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); enableLowPriority_ = value; 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; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:Volcengine.Imp.Models.Business.JobExecution) } // @@protoc_insertion_point(class_scope:Volcengine.Imp.Models.Business.JobExecution) private static final com.volcengine.service.imp.model.business.JobExecution DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.volcengine.service.imp.model.business.JobExecution(); } public static com.volcengine.service.imp.model.business.JobExecution getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public JobExecution parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new JobExecution(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.volcengine.service.imp.model.business.JobExecution getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy