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

com.volcengine.service.imp.model.business.JobOutput 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.JobOutput}
 */
public final class JobOutput extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:Volcengine.Imp.Models.Business.JobOutput)
    JobOutputOrBuilder {
private static final long serialVersionUID = 0L;
  // Use JobOutput.newBuilder() to construct.
  private JobOutput(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private JobOutput() {
    templateId_ = "";
    properties_ = "";
    code_ = "";
    fileMessageId_ = "";
    taskType_ = "";
    status_ = "";
    activityId_ = "";
    startTime_ = "";
    endTime_ = "";
    templateName_ = "";
  }

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

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

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

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

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

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

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

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

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

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

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

            templateName_ = 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 {
      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_JobOutput_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_JobOutput_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.volcengine.service.imp.model.business.JobOutput.class, com.volcengine.service.imp.model.business.JobOutput.Builder.class);
  }

  public static final int TEMPLATEID_FIELD_NUMBER = 1;
  private volatile java.lang.Object templateId_;
  /**
   * 
   * 任务模板id
   * 
* * string TemplateId = 1; * @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 = 1; * @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 PROPERTIES_FIELD_NUMBER = 2; private volatile java.lang.Object properties_; /** *
   * 任务输出info
   * 
* * string Properties = 2; * @return The properties. */ @java.lang.Override public java.lang.String getProperties() { java.lang.Object ref = properties_; 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(); properties_ = s; return s; } } /** *
   * 任务输出info
   * 
* * string Properties = 2; * @return The bytes for properties. */ @java.lang.Override public com.google.protobuf.ByteString getPropertiesBytes() { java.lang.Object ref = properties_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); properties_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CODE_FIELD_NUMBER = 3; private volatile java.lang.Object code_; /** * string Code = 3; * @return The code. */ @java.lang.Override public java.lang.String getCode() { java.lang.Object ref = code_; 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(); code_ = s; return s; } } /** * string Code = 3; * @return The bytes for code. */ @java.lang.Override public com.google.protobuf.ByteString getCodeBytes() { java.lang.Object ref = code_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); code_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int FILEMESSAGEID_FIELD_NUMBER = 4; private volatile java.lang.Object fileMessageId_; /** * string FileMessageId = 4; * @return The fileMessageId. */ @java.lang.Override public java.lang.String getFileMessageId() { java.lang.Object ref = fileMessageId_; 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(); fileMessageId_ = s; return s; } } /** * string FileMessageId = 4; * @return The bytes for fileMessageId. */ @java.lang.Override public com.google.protobuf.ByteString getFileMessageIdBytes() { java.lang.Object ref = fileMessageId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); fileMessageId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TASKTYPE_FIELD_NUMBER = 5; private volatile java.lang.Object taskType_; /** *
   * 任务类型
   * 
* * string TaskType = 5; * @return The taskType. */ @java.lang.Override public java.lang.String getTaskType() { java.lang.Object ref = taskType_; 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(); taskType_ = s; return s; } } /** *
   * 任务类型
   * 
* * string TaskType = 5; * @return The bytes for taskType. */ @java.lang.Override public com.google.protobuf.ByteString getTaskTypeBytes() { java.lang.Object ref = taskType_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); taskType_ = 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 ACTIVITYID_FIELD_NUMBER = 7; private volatile java.lang.Object activityId_; /** * string ActivityId = 7; * @return The activityId. */ @java.lang.Override public java.lang.String getActivityId() { java.lang.Object ref = activityId_; 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(); activityId_ = s; return s; } } /** * string ActivityId = 7; * @return The bytes for activityId. */ @java.lang.Override public com.google.protobuf.ByteString getActivityIdBytes() { java.lang.Object ref = activityId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); activityId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int STARTTIME_FIELD_NUMBER = 8; private volatile java.lang.Object startTime_; /** * string StartTime = 8; * @return The startTime. */ @java.lang.Override public java.lang.String getStartTime() { java.lang.Object ref = startTime_; 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(); startTime_ = s; return s; } } /** * string StartTime = 8; * @return The bytes for startTime. */ @java.lang.Override public com.google.protobuf.ByteString getStartTimeBytes() { java.lang.Object ref = startTime_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); startTime_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ENDTIME_FIELD_NUMBER = 9; private volatile java.lang.Object endTime_; /** * string EndTime = 9; * @return The endTime. */ @java.lang.Override public java.lang.String getEndTime() { java.lang.Object ref = endTime_; 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(); endTime_ = s; return s; } } /** * string EndTime = 9; * @return The bytes for endTime. */ @java.lang.Override public com.google.protobuf.ByteString getEndTimeBytes() { java.lang.Object ref = endTime_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); endTime_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TEMPLATENAME_FIELD_NUMBER = 10; private volatile java.lang.Object templateName_; /** * string TemplateName = 10; * @return The templateName. */ @java.lang.Override public java.lang.String getTemplateName() { java.lang.Object ref = templateName_; 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(); templateName_ = s; return s; } } /** * string TemplateName = 10; * @return The bytes for templateName. */ @java.lang.Override public com.google.protobuf.ByteString getTemplateNameBytes() { java.lang.Object ref = templateName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); templateName_ = 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 (!getTemplateIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, templateId_); } if (!getPropertiesBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, properties_); } if (!getCodeBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, code_); } if (!getFileMessageIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, fileMessageId_); } if (!getTaskTypeBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, taskType_); } if (!getStatusBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, status_); } if (!getActivityIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, activityId_); } if (!getStartTimeBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, startTime_); } if (!getEndTimeBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 9, endTime_); } if (!getTemplateNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 10, templateName_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getTemplateIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, templateId_); } if (!getPropertiesBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, properties_); } if (!getCodeBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, code_); } if (!getFileMessageIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, fileMessageId_); } if (!getTaskTypeBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, taskType_); } if (!getStatusBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, status_); } if (!getActivityIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, activityId_); } if (!getStartTimeBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, startTime_); } if (!getEndTimeBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, endTime_); } if (!getTemplateNameBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, templateName_); } 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.JobOutput)) { return super.equals(obj); } com.volcengine.service.imp.model.business.JobOutput other = (com.volcengine.service.imp.model.business.JobOutput) obj; if (!getTemplateId() .equals(other.getTemplateId())) return false; if (!getProperties() .equals(other.getProperties())) return false; if (!getCode() .equals(other.getCode())) return false; if (!getFileMessageId() .equals(other.getFileMessageId())) return false; if (!getTaskType() .equals(other.getTaskType())) return false; if (!getStatus() .equals(other.getStatus())) return false; if (!getActivityId() .equals(other.getActivityId())) return false; if (!getStartTime() .equals(other.getStartTime())) return false; if (!getEndTime() .equals(other.getEndTime())) return false; if (!getTemplateName() .equals(other.getTemplateName())) 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) + TEMPLATEID_FIELD_NUMBER; hash = (53 * hash) + getTemplateId().hashCode(); hash = (37 * hash) + PROPERTIES_FIELD_NUMBER; hash = (53 * hash) + getProperties().hashCode(); hash = (37 * hash) + CODE_FIELD_NUMBER; hash = (53 * hash) + getCode().hashCode(); hash = (37 * hash) + FILEMESSAGEID_FIELD_NUMBER; hash = (53 * hash) + getFileMessageId().hashCode(); hash = (37 * hash) + TASKTYPE_FIELD_NUMBER; hash = (53 * hash) + getTaskType().hashCode(); hash = (37 * hash) + STATUS_FIELD_NUMBER; hash = (53 * hash) + getStatus().hashCode(); hash = (37 * hash) + ACTIVITYID_FIELD_NUMBER; hash = (53 * hash) + getActivityId().hashCode(); hash = (37 * hash) + STARTTIME_FIELD_NUMBER; hash = (53 * hash) + getStartTime().hashCode(); hash = (37 * hash) + ENDTIME_FIELD_NUMBER; hash = (53 * hash) + getEndTime().hashCode(); hash = (37 * hash) + TEMPLATENAME_FIELD_NUMBER; hash = (53 * hash) + getTemplateName().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.volcengine.service.imp.model.business.JobOutput parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.volcengine.service.imp.model.business.JobOutput 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.JobOutput parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.volcengine.service.imp.model.business.JobOutput 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.JobOutput parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.volcengine.service.imp.model.business.JobOutput 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.JobOutput 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.JobOutput 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.JobOutput 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.JobOutput 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.JobOutput 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.JobOutput 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.JobOutput 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.JobOutput} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Volcengine.Imp.Models.Business.JobOutput) com.volcengine.service.imp.model.business.JobOutputOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.volcengine.service.imp.model.business.ImpWorkflow.internal_static_Volcengine_Imp_Models_Business_JobOutput_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_JobOutput_fieldAccessorTable .ensureFieldAccessorsInitialized( com.volcengine.service.imp.model.business.JobOutput.class, com.volcengine.service.imp.model.business.JobOutput.Builder.class); } // Construct using com.volcengine.service.imp.model.business.JobOutput.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); templateId_ = ""; properties_ = ""; code_ = ""; fileMessageId_ = ""; taskType_ = ""; status_ = ""; activityId_ = ""; startTime_ = ""; endTime_ = ""; templateName_ = ""; 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_JobOutput_descriptor; } @java.lang.Override public com.volcengine.service.imp.model.business.JobOutput getDefaultInstanceForType() { return com.volcengine.service.imp.model.business.JobOutput.getDefaultInstance(); } @java.lang.Override public com.volcengine.service.imp.model.business.JobOutput build() { com.volcengine.service.imp.model.business.JobOutput result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.volcengine.service.imp.model.business.JobOutput buildPartial() { com.volcengine.service.imp.model.business.JobOutput result = new com.volcengine.service.imp.model.business.JobOutput(this); result.templateId_ = templateId_; result.properties_ = properties_; result.code_ = code_; result.fileMessageId_ = fileMessageId_; result.taskType_ = taskType_; result.status_ = status_; result.activityId_ = activityId_; result.startTime_ = startTime_; result.endTime_ = endTime_; result.templateName_ = templateName_; 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.JobOutput) { return mergeFrom((com.volcengine.service.imp.model.business.JobOutput)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.volcengine.service.imp.model.business.JobOutput other) { if (other == com.volcengine.service.imp.model.business.JobOutput.getDefaultInstance()) return this; if (!other.getTemplateId().isEmpty()) { templateId_ = other.templateId_; onChanged(); } if (!other.getProperties().isEmpty()) { properties_ = other.properties_; onChanged(); } if (!other.getCode().isEmpty()) { code_ = other.code_; onChanged(); } if (!other.getFileMessageId().isEmpty()) { fileMessageId_ = other.fileMessageId_; onChanged(); } if (!other.getTaskType().isEmpty()) { taskType_ = other.taskType_; onChanged(); } if (!other.getStatus().isEmpty()) { status_ = other.status_; onChanged(); } if (!other.getActivityId().isEmpty()) { activityId_ = other.activityId_; onChanged(); } if (!other.getStartTime().isEmpty()) { startTime_ = other.startTime_; onChanged(); } if (!other.getEndTime().isEmpty()) { endTime_ = other.endTime_; onChanged(); } if (!other.getTemplateName().isEmpty()) { templateName_ = other.templateName_; 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.JobOutput parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.volcengine.service.imp.model.business.JobOutput) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object templateId_ = ""; /** *
     * 任务模板id
     * 
* * string TemplateId = 1; * @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 = 1; * @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 = 1; * @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 = 1; * @return This builder for chaining. */ public Builder clearTemplateId() { templateId_ = getDefaultInstance().getTemplateId(); onChanged(); return this; } /** *
     * 任务模板id
     * 
* * string TemplateId = 1; * @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 properties_ = ""; /** *
     * 任务输出info
     * 
* * string Properties = 2; * @return The properties. */ public java.lang.String getProperties() { java.lang.Object ref = properties_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); properties_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * 任务输出info
     * 
* * string Properties = 2; * @return The bytes for properties. */ public com.google.protobuf.ByteString getPropertiesBytes() { java.lang.Object ref = properties_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); properties_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * 任务输出info
     * 
* * string Properties = 2; * @param value The properties to set. * @return This builder for chaining. */ public Builder setProperties( java.lang.String value) { if (value == null) { throw new NullPointerException(); } properties_ = value; onChanged(); return this; } /** *
     * 任务输出info
     * 
* * string Properties = 2; * @return This builder for chaining. */ public Builder clearProperties() { properties_ = getDefaultInstance().getProperties(); onChanged(); return this; } /** *
     * 任务输出info
     * 
* * string Properties = 2; * @param value The bytes for properties to set. * @return This builder for chaining. */ public Builder setPropertiesBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); properties_ = value; onChanged(); return this; } private java.lang.Object code_ = ""; /** * string Code = 3; * @return The code. */ public java.lang.String getCode() { java.lang.Object ref = code_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); code_ = s; return s; } else { return (java.lang.String) ref; } } /** * string Code = 3; * @return The bytes for code. */ public com.google.protobuf.ByteString getCodeBytes() { java.lang.Object ref = code_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); code_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string Code = 3; * @param value The code to set. * @return This builder for chaining. */ public Builder setCode( java.lang.String value) { if (value == null) { throw new NullPointerException(); } code_ = value; onChanged(); return this; } /** * string Code = 3; * @return This builder for chaining. */ public Builder clearCode() { code_ = getDefaultInstance().getCode(); onChanged(); return this; } /** * string Code = 3; * @param value The bytes for code to set. * @return This builder for chaining. */ public Builder setCodeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); code_ = value; onChanged(); return this; } private java.lang.Object fileMessageId_ = ""; /** * string FileMessageId = 4; * @return The fileMessageId. */ public java.lang.String getFileMessageId() { java.lang.Object ref = fileMessageId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fileMessageId_ = s; return s; } else { return (java.lang.String) ref; } } /** * string FileMessageId = 4; * @return The bytes for fileMessageId. */ public com.google.protobuf.ByteString getFileMessageIdBytes() { java.lang.Object ref = fileMessageId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); fileMessageId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string FileMessageId = 4; * @param value The fileMessageId to set. * @return This builder for chaining. */ public Builder setFileMessageId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } fileMessageId_ = value; onChanged(); return this; } /** * string FileMessageId = 4; * @return This builder for chaining. */ public Builder clearFileMessageId() { fileMessageId_ = getDefaultInstance().getFileMessageId(); onChanged(); return this; } /** * string FileMessageId = 4; * @param value The bytes for fileMessageId to set. * @return This builder for chaining. */ public Builder setFileMessageIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); fileMessageId_ = value; onChanged(); return this; } private java.lang.Object taskType_ = ""; /** *
     * 任务类型
     * 
* * string TaskType = 5; * @return The taskType. */ public java.lang.String getTaskType() { java.lang.Object ref = taskType_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); taskType_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * 任务类型
     * 
* * string TaskType = 5; * @return The bytes for taskType. */ public com.google.protobuf.ByteString getTaskTypeBytes() { java.lang.Object ref = taskType_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); taskType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * 任务类型
     * 
* * string TaskType = 5; * @param value The taskType to set. * @return This builder for chaining. */ public Builder setTaskType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } taskType_ = value; onChanged(); return this; } /** *
     * 任务类型
     * 
* * string TaskType = 5; * @return This builder for chaining. */ public Builder clearTaskType() { taskType_ = getDefaultInstance().getTaskType(); onChanged(); return this; } /** *
     * 任务类型
     * 
* * string TaskType = 5; * @param value The bytes for taskType to set. * @return This builder for chaining. */ public Builder setTaskTypeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); taskType_ = 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 activityId_ = ""; /** * string ActivityId = 7; * @return The activityId. */ public java.lang.String getActivityId() { java.lang.Object ref = activityId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); activityId_ = s; return s; } else { return (java.lang.String) ref; } } /** * string ActivityId = 7; * @return The bytes for activityId. */ public com.google.protobuf.ByteString getActivityIdBytes() { java.lang.Object ref = activityId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); activityId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string ActivityId = 7; * @param value The activityId to set. * @return This builder for chaining. */ public Builder setActivityId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } activityId_ = value; onChanged(); return this; } /** * string ActivityId = 7; * @return This builder for chaining. */ public Builder clearActivityId() { activityId_ = getDefaultInstance().getActivityId(); onChanged(); return this; } /** * string ActivityId = 7; * @param value The bytes for activityId to set. * @return This builder for chaining. */ public Builder setActivityIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); activityId_ = value; onChanged(); return this; } private java.lang.Object startTime_ = ""; /** * string StartTime = 8; * @return The startTime. */ public java.lang.String getStartTime() { java.lang.Object ref = startTime_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); startTime_ = s; return s; } else { return (java.lang.String) ref; } } /** * string StartTime = 8; * @return The bytes for startTime. */ public com.google.protobuf.ByteString getStartTimeBytes() { java.lang.Object ref = startTime_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); startTime_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string StartTime = 8; * @param value The startTime to set. * @return This builder for chaining. */ public Builder setStartTime( java.lang.String value) { if (value == null) { throw new NullPointerException(); } startTime_ = value; onChanged(); return this; } /** * string StartTime = 8; * @return This builder for chaining. */ public Builder clearStartTime() { startTime_ = getDefaultInstance().getStartTime(); onChanged(); return this; } /** * string StartTime = 8; * @param value The bytes for startTime to set. * @return This builder for chaining. */ public Builder setStartTimeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); startTime_ = value; onChanged(); return this; } private java.lang.Object endTime_ = ""; /** * string EndTime = 9; * @return The endTime. */ public java.lang.String getEndTime() { java.lang.Object ref = endTime_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); endTime_ = s; return s; } else { return (java.lang.String) ref; } } /** * string EndTime = 9; * @return The bytes for endTime. */ public com.google.protobuf.ByteString getEndTimeBytes() { java.lang.Object ref = endTime_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); endTime_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string EndTime = 9; * @param value The endTime to set. * @return This builder for chaining. */ public Builder setEndTime( java.lang.String value) { if (value == null) { throw new NullPointerException(); } endTime_ = value; onChanged(); return this; } /** * string EndTime = 9; * @return This builder for chaining. */ public Builder clearEndTime() { endTime_ = getDefaultInstance().getEndTime(); onChanged(); return this; } /** * string EndTime = 9; * @param value The bytes for endTime to set. * @return This builder for chaining. */ public Builder setEndTimeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); endTime_ = value; onChanged(); return this; } private java.lang.Object templateName_ = ""; /** * string TemplateName = 10; * @return The templateName. */ public java.lang.String getTemplateName() { java.lang.Object ref = templateName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); templateName_ = s; return s; } else { return (java.lang.String) ref; } } /** * string TemplateName = 10; * @return The bytes for templateName. */ public com.google.protobuf.ByteString getTemplateNameBytes() { java.lang.Object ref = templateName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); templateName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string TemplateName = 10; * @param value The templateName to set. * @return This builder for chaining. */ public Builder setTemplateName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } templateName_ = value; onChanged(); return this; } /** * string TemplateName = 10; * @return This builder for chaining. */ public Builder clearTemplateName() { templateName_ = getDefaultInstance().getTemplateName(); onChanged(); return this; } /** * string TemplateName = 10; * @param value The bytes for templateName to set. * @return This builder for chaining. */ public Builder setTemplateNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); templateName_ = 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.JobOutput) } // @@protoc_insertion_point(class_scope:Volcengine.Imp.Models.Business.JobOutput) private static final com.volcengine.service.imp.model.business.JobOutput DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.volcengine.service.imp.model.business.JobOutput(); } public static com.volcengine.service.imp.model.business.JobOutput getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public JobOutput parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new JobOutput(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.JobOutput getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy