// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: PrintMessage.proto

package com.ktg.print.protocol;

public final class PrintMessageProto {
  private PrintMessageProto() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
  }

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  public interface IQCPrintMessageOrBuilder extends
      // @@protoc_insertion_point(interface_extends:com.ktg.print.protocol.IQCPrintMessage)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>string sampleCode = 1;</code>
     * @return The sampleCode.
     */
    String getSampleCode();
    /**
     * <code>string sampleCode = 1;</code>
     * @return The bytes for sampleCode.
     */
    com.google.protobuf.ByteString
        getSampleCodeBytes();

    /**
     * <code>string qcObject = 2;</code>
     * @return The qcObject.
     */
    String getQcObject();
    /**
     * <code>string qcObject = 2;</code>
     * @return The bytes for qcObject.
     */
    com.google.protobuf.ByteString
        getQcObjectBytes();

    /**
     * <code>string sampleTime = 3;</code>
     * @return The sampleTime.
     */
    String getSampleTime();
    /**
     * <code>string sampleTime = 3;</code>
     * @return The bytes for sampleTime.
     */
    com.google.protobuf.ByteString
        getSampleTimeBytes();

    /**
     * <code>string batchCode = 4;</code>
     * @return The batchCode.
     */
    String getBatchCode();
    /**
     * <code>string batchCode = 4;</code>
     * @return The bytes for batchCode.
     */
    com.google.protobuf.ByteString
        getBatchCodeBytes();
  }
  /**
   * Protobuf type {@code com.ktg.print.protocol.IQCPrintMessage}
   */
  public static final class IQCPrintMessage extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:com.ktg.print.protocol.IQCPrintMessage)
      IQCPrintMessageOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use IQCPrintMessage.newBuilder() to construct.
    private IQCPrintMessage(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private IQCPrintMessage() {
      sampleCode_ = "";
      qcObject_ = "";
      sampleTime_ = "";
      batchCode_ = "";
    }

    @Override
    @SuppressWarnings({"unused"})
    protected Object newInstance(
        UnusedPrivateParameter unused) {
      return new IQCPrintMessage();
    }

    @Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return PrintMessageProto.internal_static_com_ktg_print_protocol_IQCPrintMessage_descriptor;
    }

    @Override
    protected FieldAccessorTable
        internalGetFieldAccessorTable() {
      return PrintMessageProto.internal_static_com_ktg_print_protocol_IQCPrintMessage_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              IQCPrintMessage.class, Builder.class);
    }

    public static final int SAMPLECODE_FIELD_NUMBER = 1;
    private volatile Object sampleCode_;
    /**
     * <code>string sampleCode = 1;</code>
     * @return The sampleCode.
     */
    @Override
    public String getSampleCode() {
      Object ref = sampleCode_;
      if (ref instanceof String) {
        return (String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        String s = bs.toStringUtf8();
        sampleCode_ = s;
        return s;
      }
    }
    /**
     * <code>string sampleCode = 1;</code>
     * @return The bytes for sampleCode.
     */
    @Override
    public com.google.protobuf.ByteString
        getSampleCodeBytes() {
      Object ref = sampleCode_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (String) ref);
        sampleCode_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int QCOBJECT_FIELD_NUMBER = 2;
    private volatile Object qcObject_;
    /**
     * <code>string qcObject = 2;</code>
     * @return The qcObject.
     */
    @Override
    public String getQcObject() {
      Object ref = qcObject_;
      if (ref instanceof String) {
        return (String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        String s = bs.toStringUtf8();
        qcObject_ = s;
        return s;
      }
    }
    /**
     * <code>string qcObject = 2;</code>
     * @return The bytes for qcObject.
     */
    @Override
    public com.google.protobuf.ByteString
        getQcObjectBytes() {
      Object ref = qcObject_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (String) ref);
        qcObject_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int SAMPLETIME_FIELD_NUMBER = 3;
    private volatile Object sampleTime_;
    /**
     * <code>string sampleTime = 3;</code>
     * @return The sampleTime.
     */
    @Override
    public String getSampleTime() {
      Object ref = sampleTime_;
      if (ref instanceof String) {
        return (String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        String s = bs.toStringUtf8();
        sampleTime_ = s;
        return s;
      }
    }
    /**
     * <code>string sampleTime = 3;</code>
     * @return The bytes for sampleTime.
     */
    @Override
    public com.google.protobuf.ByteString
        getSampleTimeBytes() {
      Object ref = sampleTime_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (String) ref);
        sampleTime_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int BATCHCODE_FIELD_NUMBER = 4;
    private volatile Object batchCode_;
    /**
     * <code>string batchCode = 4;</code>
     * @return The batchCode.
     */
    @Override
    public String getBatchCode() {
      Object ref = batchCode_;
      if (ref instanceof String) {
        return (String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        String s = bs.toStringUtf8();
        batchCode_ = s;
        return s;
      }
    }
    /**
     * <code>string batchCode = 4;</code>
     * @return The bytes for batchCode.
     */
    @Override
    public com.google.protobuf.ByteString
        getBatchCodeBytes() {
      Object ref = batchCode_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (String) ref);
        batchCode_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    private byte memoizedIsInitialized = -1;
    @Override
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      memoizedIsInitialized = 1;
      return true;
    }

    @Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sampleCode_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sampleCode_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(qcObject_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 2, qcObject_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sampleTime_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 3, sampleTime_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(batchCode_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 4, batchCode_);
      }
      getUnknownFields().writeTo(output);
    }

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

      size = 0;
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sampleCode_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, sampleCode_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(qcObject_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, qcObject_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sampleTime_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, sampleTime_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(batchCode_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, batchCode_);
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @Override
    public boolean equals(final Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof IQCPrintMessage)) {
        return super.equals(obj);
      }
      IQCPrintMessage other = (IQCPrintMessage) obj;

      if (!getSampleCode()
          .equals(other.getSampleCode())) return false;
      if (!getQcObject()
          .equals(other.getQcObject())) return false;
      if (!getSampleTime()
          .equals(other.getSampleTime())) return false;
      if (!getBatchCode()
          .equals(other.getBatchCode())) return false;
      if (!getUnknownFields().equals(other.getUnknownFields())) return false;
      return true;
    }

    @Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      hash = (37 * hash) + SAMPLECODE_FIELD_NUMBER;
      hash = (53 * hash) + getSampleCode().hashCode();
      hash = (37 * hash) + QCOBJECT_FIELD_NUMBER;
      hash = (53 * hash) + getQcObject().hashCode();
      hash = (37 * hash) + SAMPLETIME_FIELD_NUMBER;
      hash = (53 * hash) + getSampleTime().hashCode();
      hash = (37 * hash) + BATCHCODE_FIELD_NUMBER;
      hash = (53 * hash) + getBatchCode().hashCode();
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static IQCPrintMessage parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static IQCPrintMessage parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static IQCPrintMessage parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static IQCPrintMessage parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static IQCPrintMessage parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static IQCPrintMessage parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static IQCPrintMessage parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static IQCPrintMessage 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 IQCPrintMessage parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static IQCPrintMessage 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 IQCPrintMessage parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static IQCPrintMessage parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    @Override
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(IQCPrintMessage prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    @Override
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE
          ? new Builder() : new Builder().mergeFrom(this);
    }

    @Override
    protected Builder newBuilderForType(
        BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code com.ktg.print.protocol.IQCPrintMessage}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:com.ktg.print.protocol.IQCPrintMessage)
        IQCPrintMessageOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return PrintMessageProto.internal_static_com_ktg_print_protocol_IQCPrintMessage_descriptor;
      }

      @Override
      protected FieldAccessorTable
          internalGetFieldAccessorTable() {
        return PrintMessageProto.internal_static_com_ktg_print_protocol_IQCPrintMessage_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                IQCPrintMessage.class, Builder.class);
      }

      // Construct using com.ktg.print.protocol.PrintMessageProto.IQCPrintMessage.newBuilder()
      private Builder() {

      }

      private Builder(
          BuilderParent parent) {
        super(parent);

      }
      @Override
      public Builder clear() {
        super.clear();
        sampleCode_ = "";

        qcObject_ = "";

        sampleTime_ = "";

        batchCode_ = "";

        return this;
      }

      @Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return PrintMessageProto.internal_static_com_ktg_print_protocol_IQCPrintMessage_descriptor;
      }

      @Override
      public IQCPrintMessage getDefaultInstanceForType() {
        return IQCPrintMessage.getDefaultInstance();
      }

      @Override
      public IQCPrintMessage build() {
        IQCPrintMessage result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @Override
      public IQCPrintMessage buildPartial() {
        IQCPrintMessage result = new IQCPrintMessage(this);
        result.sampleCode_ = sampleCode_;
        result.qcObject_ = qcObject_;
        result.sampleTime_ = sampleTime_;
        result.batchCode_ = batchCode_;
        onBuilt();
        return result;
      }

      @Override
      public Builder clone() {
        return super.clone();
      }
      @Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return super.setField(field, value);
      }
      @Override
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      @Override
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      @Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, Object value) {
        return super.setRepeatedField(field, index, value);
      }
      @Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return super.addRepeatedField(field, value);
      }
      @Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof IQCPrintMessage) {
          return mergeFrom((IQCPrintMessage)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(IQCPrintMessage other) {
        if (other == IQCPrintMessage.getDefaultInstance()) return this;
        if (!other.getSampleCode().isEmpty()) {
          sampleCode_ = other.sampleCode_;
          onChanged();
        }
        if (!other.getQcObject().isEmpty()) {
          qcObject_ = other.qcObject_;
          onChanged();
        }
        if (!other.getSampleTime().isEmpty()) {
          sampleTime_ = other.sampleTime_;
          onChanged();
        }
        if (!other.getBatchCode().isEmpty()) {
          batchCode_ = other.batchCode_;
          onChanged();
        }
        this.mergeUnknownFields(other.getUnknownFields());
        onChanged();
        return this;
      }

      @Override
      public final boolean isInitialized() {
        return true;
      }

      @Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        if (extensionRegistry == null) {
          throw new NullPointerException();
        }
        try {
          boolean done = false;
          while (!done) {
            int tag = input.readTag();
            switch (tag) {
              case 0:
                done = true;
                break;
              case 10: {
                sampleCode_ = input.readStringRequireUtf8();

                break;
              } // case 10
              case 18: {
                qcObject_ = input.readStringRequireUtf8();

                break;
              } // case 18
              case 26: {
                sampleTime_ = input.readStringRequireUtf8();

                break;
              } // case 26
              case 34: {
                batchCode_ = input.readStringRequireUtf8();

                break;
              } // case 34
              default: {
                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                  done = true; // was an endgroup tag
                }
                break;
              } // default:
            } // switch (tag)
          } // while (!done)
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          throw e.unwrapIOException();
        } finally {
          onChanged();
        } // finally
        return this;
      }

      private Object sampleCode_ = "";
      /**
       * <code>string sampleCode = 1;</code>
       * @return The sampleCode.
       */
      public String getSampleCode() {
        Object ref = sampleCode_;
        if (!(ref instanceof String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          String s = bs.toStringUtf8();
          sampleCode_ = s;
          return s;
        } else {
          return (String) ref;
        }
      }
      /**
       * <code>string sampleCode = 1;</code>
       * @return The bytes for sampleCode.
       */
      public com.google.protobuf.ByteString
          getSampleCodeBytes() {
        Object ref = sampleCode_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (String) ref);
          sampleCode_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string sampleCode = 1;</code>
       * @param value The sampleCode to set.
       * @return This builder for chaining.
       */
      public Builder setSampleCode(
          String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        sampleCode_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string sampleCode = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearSampleCode() {
        
        sampleCode_ = getDefaultInstance().getSampleCode();
        onChanged();
        return this;
      }
      /**
       * <code>string sampleCode = 1;</code>
       * @param value The bytes for sampleCode to set.
       * @return This builder for chaining.
       */
      public Builder setSampleCodeBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        sampleCode_ = value;
        onChanged();
        return this;
      }

      private Object qcObject_ = "";
      /**
       * <code>string qcObject = 2;</code>
       * @return The qcObject.
       */
      public String getQcObject() {
        Object ref = qcObject_;
        if (!(ref instanceof String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          String s = bs.toStringUtf8();
          qcObject_ = s;
          return s;
        } else {
          return (String) ref;
        }
      }
      /**
       * <code>string qcObject = 2;</code>
       * @return The bytes for qcObject.
       */
      public com.google.protobuf.ByteString
          getQcObjectBytes() {
        Object ref = qcObject_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (String) ref);
          qcObject_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string qcObject = 2;</code>
       * @param value The qcObject to set.
       * @return This builder for chaining.
       */
      public Builder setQcObject(
          String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        qcObject_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string qcObject = 2;</code>
       * @return This builder for chaining.
       */
      public Builder clearQcObject() {
        
        qcObject_ = getDefaultInstance().getQcObject();
        onChanged();
        return this;
      }
      /**
       * <code>string qcObject = 2;</code>
       * @param value The bytes for qcObject to set.
       * @return This builder for chaining.
       */
      public Builder setQcObjectBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        qcObject_ = value;
        onChanged();
        return this;
      }

      private Object sampleTime_ = "";
      /**
       * <code>string sampleTime = 3;</code>
       * @return The sampleTime.
       */
      public String getSampleTime() {
        Object ref = sampleTime_;
        if (!(ref instanceof String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          String s = bs.toStringUtf8();
          sampleTime_ = s;
          return s;
        } else {
          return (String) ref;
        }
      }
      /**
       * <code>string sampleTime = 3;</code>
       * @return The bytes for sampleTime.
       */
      public com.google.protobuf.ByteString
          getSampleTimeBytes() {
        Object ref = sampleTime_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (String) ref);
          sampleTime_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string sampleTime = 3;</code>
       * @param value The sampleTime to set.
       * @return This builder for chaining.
       */
      public Builder setSampleTime(
          String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        sampleTime_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string sampleTime = 3;</code>
       * @return This builder for chaining.
       */
      public Builder clearSampleTime() {
        
        sampleTime_ = getDefaultInstance().getSampleTime();
        onChanged();
        return this;
      }
      /**
       * <code>string sampleTime = 3;</code>
       * @param value The bytes for sampleTime to set.
       * @return This builder for chaining.
       */
      public Builder setSampleTimeBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        sampleTime_ = value;
        onChanged();
        return this;
      }

      private Object batchCode_ = "";
      /**
       * <code>string batchCode = 4;</code>
       * @return The batchCode.
       */
      public String getBatchCode() {
        Object ref = batchCode_;
        if (!(ref instanceof String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          String s = bs.toStringUtf8();
          batchCode_ = s;
          return s;
        } else {
          return (String) ref;
        }
      }
      /**
       * <code>string batchCode = 4;</code>
       * @return The bytes for batchCode.
       */
      public com.google.protobuf.ByteString
          getBatchCodeBytes() {
        Object ref = batchCode_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (String) ref);
          batchCode_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string batchCode = 4;</code>
       * @param value The batchCode to set.
       * @return This builder for chaining.
       */
      public Builder setBatchCode(
          String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        batchCode_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string batchCode = 4;</code>
       * @return This builder for chaining.
       */
      public Builder clearBatchCode() {
        
        batchCode_ = getDefaultInstance().getBatchCode();
        onChanged();
        return this;
      }
      /**
       * <code>string batchCode = 4;</code>
       * @param value The bytes for batchCode to set.
       * @return This builder for chaining.
       */
      public Builder setBatchCodeBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        batchCode_ = value;
        onChanged();
        return this;
      }
      @Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

      @Override
      public final Builder mergeUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.mergeUnknownFields(unknownFields);
      }


      // @@protoc_insertion_point(builder_scope:com.ktg.print.protocol.IQCPrintMessage)
    }

    // @@protoc_insertion_point(class_scope:com.ktg.print.protocol.IQCPrintMessage)
    private static final IQCPrintMessage DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new IQCPrintMessage();
    }

    public static IQCPrintMessage getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser<IQCPrintMessage>
        PARSER = new com.google.protobuf.AbstractParser<IQCPrintMessage>() {
      @Override
      public IQCPrintMessage parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        Builder builder = newBuilder();
        try {
          builder.mergeFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          throw e.setUnfinishedMessage(builder.buildPartial());
        } catch (com.google.protobuf.UninitializedMessageException e) {
          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
        } catch (java.io.IOException e) {
          throw new com.google.protobuf.InvalidProtocolBufferException(e)
              .setUnfinishedMessage(builder.buildPartial());
        }
        return builder.buildPartial();
      }
    };

    public static com.google.protobuf.Parser<IQCPrintMessage> parser() {
      return PARSER;
    }

    @Override
    public com.google.protobuf.Parser<IQCPrintMessage> getParserForType() {
      return PARSER;
    }

    @Override
    public IQCPrintMessage getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface PQCPrintMessageOrBuilder extends
      // @@protoc_insertion_point(interface_extends:com.ktg.print.protocol.PQCPrintMessage)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>string sampleCode = 1;</code>
     * @return The sampleCode.
     */
    String getSampleCode();
    /**
     * <code>string sampleCode = 1;</code>
     * @return The bytes for sampleCode.
     */
    com.google.protobuf.ByteString
        getSampleCodeBytes();

    /**
     * <code>string qcObject = 2;</code>
     * @return The qcObject.
     */
    String getQcObject();
    /**
     * <code>string qcObject = 2;</code>
     * @return The bytes for qcObject.
     */
    com.google.protobuf.ByteString
        getQcObjectBytes();

    /**
     * <code>string sampleTime = 3;</code>
     * @return The sampleTime.
     */
    String getSampleTime();
    /**
     * <code>string sampleTime = 3;</code>
     * @return The bytes for sampleTime.
     */
    com.google.protobuf.ByteString
        getSampleTimeBytes();

    /**
     * <code>string sampleLocation = 4;</code>
     * @return The sampleLocation.
     */
    String getSampleLocation();
    /**
     * <code>string sampleLocation = 4;</code>
     * @return The bytes for sampleLocation.
     */
    com.google.protobuf.ByteString
        getSampleLocationBytes();
  }
  /**
   * Protobuf type {@code com.ktg.print.protocol.PQCPrintMessage}
   */
  public static final class PQCPrintMessage extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:com.ktg.print.protocol.PQCPrintMessage)
      PQCPrintMessageOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use PQCPrintMessage.newBuilder() to construct.
    private PQCPrintMessage(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private PQCPrintMessage() {
      sampleCode_ = "";
      qcObject_ = "";
      sampleTime_ = "";
      sampleLocation_ = "";
    }

    @Override
    @SuppressWarnings({"unused"})
    protected Object newInstance(
        UnusedPrivateParameter unused) {
      return new PQCPrintMessage();
    }

    @Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return PrintMessageProto.internal_static_com_ktg_print_protocol_PQCPrintMessage_descriptor;
    }

    @Override
    protected FieldAccessorTable
        internalGetFieldAccessorTable() {
      return PrintMessageProto.internal_static_com_ktg_print_protocol_PQCPrintMessage_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              PQCPrintMessage.class, Builder.class);
    }

    public static final int SAMPLECODE_FIELD_NUMBER = 1;
    private volatile Object sampleCode_;
    /**
     * <code>string sampleCode = 1;</code>
     * @return The sampleCode.
     */
    @Override
    public String getSampleCode() {
      Object ref = sampleCode_;
      if (ref instanceof String) {
        return (String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        String s = bs.toStringUtf8();
        sampleCode_ = s;
        return s;
      }
    }
    /**
     * <code>string sampleCode = 1;</code>
     * @return The bytes for sampleCode.
     */
    @Override
    public com.google.protobuf.ByteString
        getSampleCodeBytes() {
      Object ref = sampleCode_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (String) ref);
        sampleCode_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int QCOBJECT_FIELD_NUMBER = 2;
    private volatile Object qcObject_;
    /**
     * <code>string qcObject = 2;</code>
     * @return The qcObject.
     */
    @Override
    public String getQcObject() {
      Object ref = qcObject_;
      if (ref instanceof String) {
        return (String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        String s = bs.toStringUtf8();
        qcObject_ = s;
        return s;
      }
    }
    /**
     * <code>string qcObject = 2;</code>
     * @return The bytes for qcObject.
     */
    @Override
    public com.google.protobuf.ByteString
        getQcObjectBytes() {
      Object ref = qcObject_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (String) ref);
        qcObject_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int SAMPLETIME_FIELD_NUMBER = 3;
    private volatile Object sampleTime_;
    /**
     * <code>string sampleTime = 3;</code>
     * @return The sampleTime.
     */
    @Override
    public String getSampleTime() {
      Object ref = sampleTime_;
      if (ref instanceof String) {
        return (String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        String s = bs.toStringUtf8();
        sampleTime_ = s;
        return s;
      }
    }
    /**
     * <code>string sampleTime = 3;</code>
     * @return The bytes for sampleTime.
     */
    @Override
    public com.google.protobuf.ByteString
        getSampleTimeBytes() {
      Object ref = sampleTime_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (String) ref);
        sampleTime_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int SAMPLELOCATION_FIELD_NUMBER = 4;
    private volatile Object sampleLocation_;
    /**
     * <code>string sampleLocation = 4;</code>
     * @return The sampleLocation.
     */
    @Override
    public String getSampleLocation() {
      Object ref = sampleLocation_;
      if (ref instanceof String) {
        return (String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        String s = bs.toStringUtf8();
        sampleLocation_ = s;
        return s;
      }
    }
    /**
     * <code>string sampleLocation = 4;</code>
     * @return The bytes for sampleLocation.
     */
    @Override
    public com.google.protobuf.ByteString
        getSampleLocationBytes() {
      Object ref = sampleLocation_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (String) ref);
        sampleLocation_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    private byte memoizedIsInitialized = -1;
    @Override
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      memoizedIsInitialized = 1;
      return true;
    }

    @Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sampleCode_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sampleCode_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(qcObject_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 2, qcObject_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sampleTime_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 3, sampleTime_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sampleLocation_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 4, sampleLocation_);
      }
      getUnknownFields().writeTo(output);
    }

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

      size = 0;
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sampleCode_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, sampleCode_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(qcObject_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, qcObject_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sampleTime_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, sampleTime_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sampleLocation_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, sampleLocation_);
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @Override
    public boolean equals(final Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof PQCPrintMessage)) {
        return super.equals(obj);
      }
      PQCPrintMessage other = (PQCPrintMessage) obj;

      if (!getSampleCode()
          .equals(other.getSampleCode())) return false;
      if (!getQcObject()
          .equals(other.getQcObject())) return false;
      if (!getSampleTime()
          .equals(other.getSampleTime())) return false;
      if (!getSampleLocation()
          .equals(other.getSampleLocation())) return false;
      if (!getUnknownFields().equals(other.getUnknownFields())) return false;
      return true;
    }

    @Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      hash = (37 * hash) + SAMPLECODE_FIELD_NUMBER;
      hash = (53 * hash) + getSampleCode().hashCode();
      hash = (37 * hash) + QCOBJECT_FIELD_NUMBER;
      hash = (53 * hash) + getQcObject().hashCode();
      hash = (37 * hash) + SAMPLETIME_FIELD_NUMBER;
      hash = (53 * hash) + getSampleTime().hashCode();
      hash = (37 * hash) + SAMPLELOCATION_FIELD_NUMBER;
      hash = (53 * hash) + getSampleLocation().hashCode();
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static PQCPrintMessage parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static PQCPrintMessage parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static PQCPrintMessage parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static PQCPrintMessage parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static PQCPrintMessage parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static PQCPrintMessage parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static PQCPrintMessage parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static PQCPrintMessage 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 PQCPrintMessage parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static PQCPrintMessage 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 PQCPrintMessage parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static PQCPrintMessage parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    @Override
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(PQCPrintMessage prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    @Override
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE
          ? new Builder() : new Builder().mergeFrom(this);
    }

    @Override
    protected Builder newBuilderForType(
        BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code com.ktg.print.protocol.PQCPrintMessage}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:com.ktg.print.protocol.PQCPrintMessage)
        PQCPrintMessageOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return PrintMessageProto.internal_static_com_ktg_print_protocol_PQCPrintMessage_descriptor;
      }

      @Override
      protected FieldAccessorTable
          internalGetFieldAccessorTable() {
        return PrintMessageProto.internal_static_com_ktg_print_protocol_PQCPrintMessage_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                PQCPrintMessage.class, Builder.class);
      }

      // Construct using com.ktg.print.protocol.PrintMessageProto.PQCPrintMessage.newBuilder()
      private Builder() {

      }

      private Builder(
          BuilderParent parent) {
        super(parent);

      }
      @Override
      public Builder clear() {
        super.clear();
        sampleCode_ = "";

        qcObject_ = "";

        sampleTime_ = "";

        sampleLocation_ = "";

        return this;
      }

      @Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return PrintMessageProto.internal_static_com_ktg_print_protocol_PQCPrintMessage_descriptor;
      }

      @Override
      public PQCPrintMessage getDefaultInstanceForType() {
        return PQCPrintMessage.getDefaultInstance();
      }

      @Override
      public PQCPrintMessage build() {
        PQCPrintMessage result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @Override
      public PQCPrintMessage buildPartial() {
        PQCPrintMessage result = new PQCPrintMessage(this);
        result.sampleCode_ = sampleCode_;
        result.qcObject_ = qcObject_;
        result.sampleTime_ = sampleTime_;
        result.sampleLocation_ = sampleLocation_;
        onBuilt();
        return result;
      }

      @Override
      public Builder clone() {
        return super.clone();
      }
      @Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return super.setField(field, value);
      }
      @Override
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      @Override
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      @Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, Object value) {
        return super.setRepeatedField(field, index, value);
      }
      @Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return super.addRepeatedField(field, value);
      }
      @Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof PQCPrintMessage) {
          return mergeFrom((PQCPrintMessage)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(PQCPrintMessage other) {
        if (other == PQCPrintMessage.getDefaultInstance()) return this;
        if (!other.getSampleCode().isEmpty()) {
          sampleCode_ = other.sampleCode_;
          onChanged();
        }
        if (!other.getQcObject().isEmpty()) {
          qcObject_ = other.qcObject_;
          onChanged();
        }
        if (!other.getSampleTime().isEmpty()) {
          sampleTime_ = other.sampleTime_;
          onChanged();
        }
        if (!other.getSampleLocation().isEmpty()) {
          sampleLocation_ = other.sampleLocation_;
          onChanged();
        }
        this.mergeUnknownFields(other.getUnknownFields());
        onChanged();
        return this;
      }

      @Override
      public final boolean isInitialized() {
        return true;
      }

      @Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        if (extensionRegistry == null) {
          throw new NullPointerException();
        }
        try {
          boolean done = false;
          while (!done) {
            int tag = input.readTag();
            switch (tag) {
              case 0:
                done = true;
                break;
              case 10: {
                sampleCode_ = input.readStringRequireUtf8();

                break;
              } // case 10
              case 18: {
                qcObject_ = input.readStringRequireUtf8();

                break;
              } // case 18
              case 26: {
                sampleTime_ = input.readStringRequireUtf8();

                break;
              } // case 26
              case 34: {
                sampleLocation_ = input.readStringRequireUtf8();

                break;
              } // case 34
              default: {
                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                  done = true; // was an endgroup tag
                }
                break;
              } // default:
            } // switch (tag)
          } // while (!done)
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          throw e.unwrapIOException();
        } finally {
          onChanged();
        } // finally
        return this;
      }

      private Object sampleCode_ = "";
      /**
       * <code>string sampleCode = 1;</code>
       * @return The sampleCode.
       */
      public String getSampleCode() {
        Object ref = sampleCode_;
        if (!(ref instanceof String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          String s = bs.toStringUtf8();
          sampleCode_ = s;
          return s;
        } else {
          return (String) ref;
        }
      }
      /**
       * <code>string sampleCode = 1;</code>
       * @return The bytes for sampleCode.
       */
      public com.google.protobuf.ByteString
          getSampleCodeBytes() {
        Object ref = sampleCode_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (String) ref);
          sampleCode_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string sampleCode = 1;</code>
       * @param value The sampleCode to set.
       * @return This builder for chaining.
       */
      public Builder setSampleCode(
          String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        sampleCode_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string sampleCode = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearSampleCode() {
        
        sampleCode_ = getDefaultInstance().getSampleCode();
        onChanged();
        return this;
      }
      /**
       * <code>string sampleCode = 1;</code>
       * @param value The bytes for sampleCode to set.
       * @return This builder for chaining.
       */
      public Builder setSampleCodeBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        sampleCode_ = value;
        onChanged();
        return this;
      }

      private Object qcObject_ = "";
      /**
       * <code>string qcObject = 2;</code>
       * @return The qcObject.
       */
      public String getQcObject() {
        Object ref = qcObject_;
        if (!(ref instanceof String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          String s = bs.toStringUtf8();
          qcObject_ = s;
          return s;
        } else {
          return (String) ref;
        }
      }
      /**
       * <code>string qcObject = 2;</code>
       * @return The bytes for qcObject.
       */
      public com.google.protobuf.ByteString
          getQcObjectBytes() {
        Object ref = qcObject_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (String) ref);
          qcObject_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string qcObject = 2;</code>
       * @param value The qcObject to set.
       * @return This builder for chaining.
       */
      public Builder setQcObject(
          String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        qcObject_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string qcObject = 2;</code>
       * @return This builder for chaining.
       */
      public Builder clearQcObject() {
        
        qcObject_ = getDefaultInstance().getQcObject();
        onChanged();
        return this;
      }
      /**
       * <code>string qcObject = 2;</code>
       * @param value The bytes for qcObject to set.
       * @return This builder for chaining.
       */
      public Builder setQcObjectBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        qcObject_ = value;
        onChanged();
        return this;
      }

      private Object sampleTime_ = "";
      /**
       * <code>string sampleTime = 3;</code>
       * @return The sampleTime.
       */
      public String getSampleTime() {
        Object ref = sampleTime_;
        if (!(ref instanceof String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          String s = bs.toStringUtf8();
          sampleTime_ = s;
          return s;
        } else {
          return (String) ref;
        }
      }
      /**
       * <code>string sampleTime = 3;</code>
       * @return The bytes for sampleTime.
       */
      public com.google.protobuf.ByteString
          getSampleTimeBytes() {
        Object ref = sampleTime_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (String) ref);
          sampleTime_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string sampleTime = 3;</code>
       * @param value The sampleTime to set.
       * @return This builder for chaining.
       */
      public Builder setSampleTime(
          String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        sampleTime_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string sampleTime = 3;</code>
       * @return This builder for chaining.
       */
      public Builder clearSampleTime() {
        
        sampleTime_ = getDefaultInstance().getSampleTime();
        onChanged();
        return this;
      }
      /**
       * <code>string sampleTime = 3;</code>
       * @param value The bytes for sampleTime to set.
       * @return This builder for chaining.
       */
      public Builder setSampleTimeBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        sampleTime_ = value;
        onChanged();
        return this;
      }

      private Object sampleLocation_ = "";
      /**
       * <code>string sampleLocation = 4;</code>
       * @return The sampleLocation.
       */
      public String getSampleLocation() {
        Object ref = sampleLocation_;
        if (!(ref instanceof String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          String s = bs.toStringUtf8();
          sampleLocation_ = s;
          return s;
        } else {
          return (String) ref;
        }
      }
      /**
       * <code>string sampleLocation = 4;</code>
       * @return The bytes for sampleLocation.
       */
      public com.google.protobuf.ByteString
          getSampleLocationBytes() {
        Object ref = sampleLocation_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (String) ref);
          sampleLocation_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string sampleLocation = 4;</code>
       * @param value The sampleLocation to set.
       * @return This builder for chaining.
       */
      public Builder setSampleLocation(
          String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        sampleLocation_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string sampleLocation = 4;</code>
       * @return This builder for chaining.
       */
      public Builder clearSampleLocation() {
        
        sampleLocation_ = getDefaultInstance().getSampleLocation();
        onChanged();
        return this;
      }
      /**
       * <code>string sampleLocation = 4;</code>
       * @param value The bytes for sampleLocation to set.
       * @return This builder for chaining.
       */
      public Builder setSampleLocationBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        sampleLocation_ = value;
        onChanged();
        return this;
      }
      @Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

      @Override
      public final Builder mergeUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.mergeUnknownFields(unknownFields);
      }


      // @@protoc_insertion_point(builder_scope:com.ktg.print.protocol.PQCPrintMessage)
    }

    // @@protoc_insertion_point(class_scope:com.ktg.print.protocol.PQCPrintMessage)
    private static final PQCPrintMessage DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new PQCPrintMessage();
    }

    public static PQCPrintMessage getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser<PQCPrintMessage>
        PARSER = new com.google.protobuf.AbstractParser<PQCPrintMessage>() {
      @Override
      public PQCPrintMessage parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        Builder builder = newBuilder();
        try {
          builder.mergeFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          throw e.setUnfinishedMessage(builder.buildPartial());
        } catch (com.google.protobuf.UninitializedMessageException e) {
          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
        } catch (java.io.IOException e) {
          throw new com.google.protobuf.InvalidProtocolBufferException(e)
              .setUnfinishedMessage(builder.buildPartial());
        }
        return builder.buildPartial();
      }
    };

    public static com.google.protobuf.Parser<PQCPrintMessage> parser() {
      return PARSER;
    }

    @Override
    public com.google.protobuf.Parser<PQCPrintMessage> getParserForType() {
      return PARSER;
    }

    @Override
    public PQCPrintMessage getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface OQCPrintMessageOrBuilder extends
      // @@protoc_insertion_point(interface_extends:com.ktg.print.protocol.OQCPrintMessage)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>string sampleCode = 1;</code>
     * @return The sampleCode.
     */
    String getSampleCode();
    /**
     * <code>string sampleCode = 1;</code>
     * @return The bytes for sampleCode.
     */
    com.google.protobuf.ByteString
        getSampleCodeBytes();

    /**
     * <code>string qcObject = 2;</code>
     * @return The qcObject.
     */
    String getQcObject();
    /**
     * <code>string qcObject = 2;</code>
     * @return The bytes for qcObject.
     */
    com.google.protobuf.ByteString
        getQcObjectBytes();

    /**
     * <code>string sampleTime = 3;</code>
     * @return The sampleTime.
     */
    String getSampleTime();
    /**
     * <code>string sampleTime = 3;</code>
     * @return The bytes for sampleTime.
     */
    com.google.protobuf.ByteString
        getSampleTimeBytes();

    /**
     * <code>string batchCode = 4;</code>
     * @return The batchCode.
     */
    String getBatchCode();
    /**
     * <code>string batchCode = 4;</code>
     * @return The bytes for batchCode.
     */
    com.google.protobuf.ByteString
        getBatchCodeBytes();

    /**
     * <code>string packageType = 5;</code>
     * @return The packageType.
     */
    String getPackageType();
    /**
     * <code>string packageType = 5;</code>
     * @return The bytes for packageType.
     */
    com.google.protobuf.ByteString
        getPackageTypeBytes();
  }
  /**
   * Protobuf type {@code com.ktg.print.protocol.OQCPrintMessage}
   */
  public static final class OQCPrintMessage extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:com.ktg.print.protocol.OQCPrintMessage)
      OQCPrintMessageOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use OQCPrintMessage.newBuilder() to construct.
    private OQCPrintMessage(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private OQCPrintMessage() {
      sampleCode_ = "";
      qcObject_ = "";
      sampleTime_ = "";
      batchCode_ = "";
      packageType_ = "";
    }

    @Override
    @SuppressWarnings({"unused"})
    protected Object newInstance(
        UnusedPrivateParameter unused) {
      return new OQCPrintMessage();
    }

    @Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return PrintMessageProto.internal_static_com_ktg_print_protocol_OQCPrintMessage_descriptor;
    }

    @Override
    protected FieldAccessorTable
        internalGetFieldAccessorTable() {
      return PrintMessageProto.internal_static_com_ktg_print_protocol_OQCPrintMessage_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              OQCPrintMessage.class, Builder.class);
    }

    public static final int SAMPLECODE_FIELD_NUMBER = 1;
    private volatile Object sampleCode_;
    /**
     * <code>string sampleCode = 1;</code>
     * @return The sampleCode.
     */
    @Override
    public String getSampleCode() {
      Object ref = sampleCode_;
      if (ref instanceof String) {
        return (String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        String s = bs.toStringUtf8();
        sampleCode_ = s;
        return s;
      }
    }
    /**
     * <code>string sampleCode = 1;</code>
     * @return The bytes for sampleCode.
     */
    @Override
    public com.google.protobuf.ByteString
        getSampleCodeBytes() {
      Object ref = sampleCode_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (String) ref);
        sampleCode_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int QCOBJECT_FIELD_NUMBER = 2;
    private volatile Object qcObject_;
    /**
     * <code>string qcObject = 2;</code>
     * @return The qcObject.
     */
    @Override
    public String getQcObject() {
      Object ref = qcObject_;
      if (ref instanceof String) {
        return (String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        String s = bs.toStringUtf8();
        qcObject_ = s;
        return s;
      }
    }
    /**
     * <code>string qcObject = 2;</code>
     * @return The bytes for qcObject.
     */
    @Override
    public com.google.protobuf.ByteString
        getQcObjectBytes() {
      Object ref = qcObject_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (String) ref);
        qcObject_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int SAMPLETIME_FIELD_NUMBER = 3;
    private volatile Object sampleTime_;
    /**
     * <code>string sampleTime = 3;</code>
     * @return The sampleTime.
     */
    @Override
    public String getSampleTime() {
      Object ref = sampleTime_;
      if (ref instanceof String) {
        return (String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        String s = bs.toStringUtf8();
        sampleTime_ = s;
        return s;
      }
    }
    /**
     * <code>string sampleTime = 3;</code>
     * @return The bytes for sampleTime.
     */
    @Override
    public com.google.protobuf.ByteString
        getSampleTimeBytes() {
      Object ref = sampleTime_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (String) ref);
        sampleTime_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int BATCHCODE_FIELD_NUMBER = 4;
    private volatile Object batchCode_;
    /**
     * <code>string batchCode = 4;</code>
     * @return The batchCode.
     */
    @Override
    public String getBatchCode() {
      Object ref = batchCode_;
      if (ref instanceof String) {
        return (String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        String s = bs.toStringUtf8();
        batchCode_ = s;
        return s;
      }
    }
    /**
     * <code>string batchCode = 4;</code>
     * @return The bytes for batchCode.
     */
    @Override
    public com.google.protobuf.ByteString
        getBatchCodeBytes() {
      Object ref = batchCode_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (String) ref);
        batchCode_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int PACKAGETYPE_FIELD_NUMBER = 5;
    private volatile Object packageType_;
    /**
     * <code>string packageType = 5;</code>
     * @return The packageType.
     */
    @Override
    public String getPackageType() {
      Object ref = packageType_;
      if (ref instanceof String) {
        return (String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        String s = bs.toStringUtf8();
        packageType_ = s;
        return s;
      }
    }
    /**
     * <code>string packageType = 5;</code>
     * @return The bytes for packageType.
     */
    @Override
    public com.google.protobuf.ByteString
        getPackageTypeBytes() {
      Object ref = packageType_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (String) ref);
        packageType_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    private byte memoizedIsInitialized = -1;
    @Override
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      memoizedIsInitialized = 1;
      return true;
    }

    @Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sampleCode_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sampleCode_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(qcObject_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 2, qcObject_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sampleTime_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 3, sampleTime_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(batchCode_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 4, batchCode_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageType_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 5, packageType_);
      }
      getUnknownFields().writeTo(output);
    }

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

      size = 0;
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sampleCode_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, sampleCode_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(qcObject_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, qcObject_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sampleTime_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, sampleTime_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(batchCode_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, batchCode_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageType_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, packageType_);
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @Override
    public boolean equals(final Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof OQCPrintMessage)) {
        return super.equals(obj);
      }
      OQCPrintMessage other = (OQCPrintMessage) obj;

      if (!getSampleCode()
          .equals(other.getSampleCode())) return false;
      if (!getQcObject()
          .equals(other.getQcObject())) return false;
      if (!getSampleTime()
          .equals(other.getSampleTime())) return false;
      if (!getBatchCode()
          .equals(other.getBatchCode())) return false;
      if (!getPackageType()
          .equals(other.getPackageType())) return false;
      if (!getUnknownFields().equals(other.getUnknownFields())) return false;
      return true;
    }

    @Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      hash = (37 * hash) + SAMPLECODE_FIELD_NUMBER;
      hash = (53 * hash) + getSampleCode().hashCode();
      hash = (37 * hash) + QCOBJECT_FIELD_NUMBER;
      hash = (53 * hash) + getQcObject().hashCode();
      hash = (37 * hash) + SAMPLETIME_FIELD_NUMBER;
      hash = (53 * hash) + getSampleTime().hashCode();
      hash = (37 * hash) + BATCHCODE_FIELD_NUMBER;
      hash = (53 * hash) + getBatchCode().hashCode();
      hash = (37 * hash) + PACKAGETYPE_FIELD_NUMBER;
      hash = (53 * hash) + getPackageType().hashCode();
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static OQCPrintMessage parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static OQCPrintMessage parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static OQCPrintMessage parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static OQCPrintMessage parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static OQCPrintMessage parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static OQCPrintMessage parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static OQCPrintMessage parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static OQCPrintMessage 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 OQCPrintMessage parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static OQCPrintMessage 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 OQCPrintMessage parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static OQCPrintMessage parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    @Override
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(OQCPrintMessage prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    @Override
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE
          ? new Builder() : new Builder().mergeFrom(this);
    }

    @Override
    protected Builder newBuilderForType(
        BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code com.ktg.print.protocol.OQCPrintMessage}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:com.ktg.print.protocol.OQCPrintMessage)
        OQCPrintMessageOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return PrintMessageProto.internal_static_com_ktg_print_protocol_OQCPrintMessage_descriptor;
      }

      @Override
      protected FieldAccessorTable
          internalGetFieldAccessorTable() {
        return PrintMessageProto.internal_static_com_ktg_print_protocol_OQCPrintMessage_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                OQCPrintMessage.class, Builder.class);
      }

      // Construct using com.ktg.print.protocol.PrintMessageProto.OQCPrintMessage.newBuilder()
      private Builder() {

      }

      private Builder(
          BuilderParent parent) {
        super(parent);

      }
      @Override
      public Builder clear() {
        super.clear();
        sampleCode_ = "";

        qcObject_ = "";

        sampleTime_ = "";

        batchCode_ = "";

        packageType_ = "";

        return this;
      }

      @Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return PrintMessageProto.internal_static_com_ktg_print_protocol_OQCPrintMessage_descriptor;
      }

      @Override
      public OQCPrintMessage getDefaultInstanceForType() {
        return OQCPrintMessage.getDefaultInstance();
      }

      @Override
      public OQCPrintMessage build() {
        OQCPrintMessage result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @Override
      public OQCPrintMessage buildPartial() {
        OQCPrintMessage result = new OQCPrintMessage(this);
        result.sampleCode_ = sampleCode_;
        result.qcObject_ = qcObject_;
        result.sampleTime_ = sampleTime_;
        result.batchCode_ = batchCode_;
        result.packageType_ = packageType_;
        onBuilt();
        return result;
      }

      @Override
      public Builder clone() {
        return super.clone();
      }
      @Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return super.setField(field, value);
      }
      @Override
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      @Override
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      @Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, Object value) {
        return super.setRepeatedField(field, index, value);
      }
      @Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return super.addRepeatedField(field, value);
      }
      @Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof OQCPrintMessage) {
          return mergeFrom((OQCPrintMessage)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(OQCPrintMessage other) {
        if (other == OQCPrintMessage.getDefaultInstance()) return this;
        if (!other.getSampleCode().isEmpty()) {
          sampleCode_ = other.sampleCode_;
          onChanged();
        }
        if (!other.getQcObject().isEmpty()) {
          qcObject_ = other.qcObject_;
          onChanged();
        }
        if (!other.getSampleTime().isEmpty()) {
          sampleTime_ = other.sampleTime_;
          onChanged();
        }
        if (!other.getBatchCode().isEmpty()) {
          batchCode_ = other.batchCode_;
          onChanged();
        }
        if (!other.getPackageType().isEmpty()) {
          packageType_ = other.packageType_;
          onChanged();
        }
        this.mergeUnknownFields(other.getUnknownFields());
        onChanged();
        return this;
      }

      @Override
      public final boolean isInitialized() {
        return true;
      }

      @Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        if (extensionRegistry == null) {
          throw new NullPointerException();
        }
        try {
          boolean done = false;
          while (!done) {
            int tag = input.readTag();
            switch (tag) {
              case 0:
                done = true;
                break;
              case 10: {
                sampleCode_ = input.readStringRequireUtf8();

                break;
              } // case 10
              case 18: {
                qcObject_ = input.readStringRequireUtf8();

                break;
              } // case 18
              case 26: {
                sampleTime_ = input.readStringRequireUtf8();

                break;
              } // case 26
              case 34: {
                batchCode_ = input.readStringRequireUtf8();

                break;
              } // case 34
              case 42: {
                packageType_ = input.readStringRequireUtf8();

                break;
              } // case 42
              default: {
                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                  done = true; // was an endgroup tag
                }
                break;
              } // default:
            } // switch (tag)
          } // while (!done)
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          throw e.unwrapIOException();
        } finally {
          onChanged();
        } // finally
        return this;
      }

      private Object sampleCode_ = "";
      /**
       * <code>string sampleCode = 1;</code>
       * @return The sampleCode.
       */
      public String getSampleCode() {
        Object ref = sampleCode_;
        if (!(ref instanceof String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          String s = bs.toStringUtf8();
          sampleCode_ = s;
          return s;
        } else {
          return (String) ref;
        }
      }
      /**
       * <code>string sampleCode = 1;</code>
       * @return The bytes for sampleCode.
       */
      public com.google.protobuf.ByteString
          getSampleCodeBytes() {
        Object ref = sampleCode_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (String) ref);
          sampleCode_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string sampleCode = 1;</code>
       * @param value The sampleCode to set.
       * @return This builder for chaining.
       */
      public Builder setSampleCode(
          String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        sampleCode_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string sampleCode = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearSampleCode() {
        
        sampleCode_ = getDefaultInstance().getSampleCode();
        onChanged();
        return this;
      }
      /**
       * <code>string sampleCode = 1;</code>
       * @param value The bytes for sampleCode to set.
       * @return This builder for chaining.
       */
      public Builder setSampleCodeBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        sampleCode_ = value;
        onChanged();
        return this;
      }

      private Object qcObject_ = "";
      /**
       * <code>string qcObject = 2;</code>
       * @return The qcObject.
       */
      public String getQcObject() {
        Object ref = qcObject_;
        if (!(ref instanceof String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          String s = bs.toStringUtf8();
          qcObject_ = s;
          return s;
        } else {
          return (String) ref;
        }
      }
      /**
       * <code>string qcObject = 2;</code>
       * @return The bytes for qcObject.
       */
      public com.google.protobuf.ByteString
          getQcObjectBytes() {
        Object ref = qcObject_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (String) ref);
          qcObject_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string qcObject = 2;</code>
       * @param value The qcObject to set.
       * @return This builder for chaining.
       */
      public Builder setQcObject(
          String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        qcObject_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string qcObject = 2;</code>
       * @return This builder for chaining.
       */
      public Builder clearQcObject() {
        
        qcObject_ = getDefaultInstance().getQcObject();
        onChanged();
        return this;
      }
      /**
       * <code>string qcObject = 2;</code>
       * @param value The bytes for qcObject to set.
       * @return This builder for chaining.
       */
      public Builder setQcObjectBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        qcObject_ = value;
        onChanged();
        return this;
      }

      private Object sampleTime_ = "";
      /**
       * <code>string sampleTime = 3;</code>
       * @return The sampleTime.
       */
      public String getSampleTime() {
        Object ref = sampleTime_;
        if (!(ref instanceof String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          String s = bs.toStringUtf8();
          sampleTime_ = s;
          return s;
        } else {
          return (String) ref;
        }
      }
      /**
       * <code>string sampleTime = 3;</code>
       * @return The bytes for sampleTime.
       */
      public com.google.protobuf.ByteString
          getSampleTimeBytes() {
        Object ref = sampleTime_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (String) ref);
          sampleTime_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string sampleTime = 3;</code>
       * @param value The sampleTime to set.
       * @return This builder for chaining.
       */
      public Builder setSampleTime(
          String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        sampleTime_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string sampleTime = 3;</code>
       * @return This builder for chaining.
       */
      public Builder clearSampleTime() {
        
        sampleTime_ = getDefaultInstance().getSampleTime();
        onChanged();
        return this;
      }
      /**
       * <code>string sampleTime = 3;</code>
       * @param value The bytes for sampleTime to set.
       * @return This builder for chaining.
       */
      public Builder setSampleTimeBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        sampleTime_ = value;
        onChanged();
        return this;
      }

      private Object batchCode_ = "";
      /**
       * <code>string batchCode = 4;</code>
       * @return The batchCode.
       */
      public String getBatchCode() {
        Object ref = batchCode_;
        if (!(ref instanceof String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          String s = bs.toStringUtf8();
          batchCode_ = s;
          return s;
        } else {
          return (String) ref;
        }
      }
      /**
       * <code>string batchCode = 4;</code>
       * @return The bytes for batchCode.
       */
      public com.google.protobuf.ByteString
          getBatchCodeBytes() {
        Object ref = batchCode_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (String) ref);
          batchCode_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string batchCode = 4;</code>
       * @param value The batchCode to set.
       * @return This builder for chaining.
       */
      public Builder setBatchCode(
          String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        batchCode_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string batchCode = 4;</code>
       * @return This builder for chaining.
       */
      public Builder clearBatchCode() {
        
        batchCode_ = getDefaultInstance().getBatchCode();
        onChanged();
        return this;
      }
      /**
       * <code>string batchCode = 4;</code>
       * @param value The bytes for batchCode to set.
       * @return This builder for chaining.
       */
      public Builder setBatchCodeBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        batchCode_ = value;
        onChanged();
        return this;
      }

      private Object packageType_ = "";
      /**
       * <code>string packageType = 5;</code>
       * @return The packageType.
       */
      public String getPackageType() {
        Object ref = packageType_;
        if (!(ref instanceof String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          String s = bs.toStringUtf8();
          packageType_ = s;
          return s;
        } else {
          return (String) ref;
        }
      }
      /**
       * <code>string packageType = 5;</code>
       * @return The bytes for packageType.
       */
      public com.google.protobuf.ByteString
          getPackageTypeBytes() {
        Object ref = packageType_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (String) ref);
          packageType_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string packageType = 5;</code>
       * @param value The packageType to set.
       * @return This builder for chaining.
       */
      public Builder setPackageType(
          String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        packageType_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string packageType = 5;</code>
       * @return This builder for chaining.
       */
      public Builder clearPackageType() {
        
        packageType_ = getDefaultInstance().getPackageType();
        onChanged();
        return this;
      }
      /**
       * <code>string packageType = 5;</code>
       * @param value The bytes for packageType to set.
       * @return This builder for chaining.
       */
      public Builder setPackageTypeBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        packageType_ = value;
        onChanged();
        return this;
      }
      @Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

      @Override
      public final Builder mergeUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.mergeUnknownFields(unknownFields);
      }


      // @@protoc_insertion_point(builder_scope:com.ktg.print.protocol.OQCPrintMessage)
    }

    // @@protoc_insertion_point(class_scope:com.ktg.print.protocol.OQCPrintMessage)
    private static final OQCPrintMessage DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new OQCPrintMessage();
    }

    public static OQCPrintMessage getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser<OQCPrintMessage>
        PARSER = new com.google.protobuf.AbstractParser<OQCPrintMessage>() {
      @Override
      public OQCPrintMessage parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        Builder builder = newBuilder();
        try {
          builder.mergeFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          throw e.setUnfinishedMessage(builder.buildPartial());
        } catch (com.google.protobuf.UninitializedMessageException e) {
          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
        } catch (java.io.IOException e) {
          throw new com.google.protobuf.InvalidProtocolBufferException(e)
              .setUnfinishedMessage(builder.buildPartial());
        }
        return builder.buildPartial();
      }
    };

    public static com.google.protobuf.Parser<OQCPrintMessage> parser() {
      return PARSER;
    }

    @Override
    public com.google.protobuf.Parser<OQCPrintMessage> getParserForType() {
      return PARSER;
    }

    @Override
    public OQCPrintMessage getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface PrintClientInfoMessageOrBuilder extends
      // @@protoc_insertion_point(interface_extends:com.ktg.print.protocol.PrintClientInfoMessage)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>string ip = 1;</code>
     * @return The ip.
     */
    String getIp();
    /**
     * <code>string ip = 1;</code>
     * @return The bytes for ip.
     */
    com.google.protobuf.ByteString
        getIpBytes();

    /**
     * <code>string location = 2;</code>
     * @return The location.
     */
    String getLocation();
    /**
     * <code>string location = 2;</code>
     * @return The bytes for location.
     */
    com.google.protobuf.ByteString
        getLocationBytes();

    /**
     * <code>string sid = 3;</code>
     * @return The sid.
     */
    String getSid();
    /**
     * <code>string sid = 3;</code>
     * @return The bytes for sid.
     */
    com.google.protobuf.ByteString
        getSidBytes();
  }
  /**
   * <pre>
   *客户端信息
   * </pre>
   *
   * Protobuf type {@code com.ktg.print.protocol.PrintClientInfoMessage}
   */
  public static final class PrintClientInfoMessage extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:com.ktg.print.protocol.PrintClientInfoMessage)
      PrintClientInfoMessageOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use PrintClientInfoMessage.newBuilder() to construct.
    private PrintClientInfoMessage(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private PrintClientInfoMessage() {
      ip_ = "";
      location_ = "";
      sid_ = "";
    }

    @Override
    @SuppressWarnings({"unused"})
    protected Object newInstance(
        UnusedPrivateParameter unused) {
      return new PrintClientInfoMessage();
    }

    @Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return PrintMessageProto.internal_static_com_ktg_print_protocol_PrintClientInfoMessage_descriptor;
    }

    @Override
    protected FieldAccessorTable
        internalGetFieldAccessorTable() {
      return PrintMessageProto.internal_static_com_ktg_print_protocol_PrintClientInfoMessage_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              PrintClientInfoMessage.class, Builder.class);
    }

    public static final int IP_FIELD_NUMBER = 1;
    private volatile Object ip_;
    /**
     * <code>string ip = 1;</code>
     * @return The ip.
     */
    @Override
    public String getIp() {
      Object ref = ip_;
      if (ref instanceof String) {
        return (String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        String s = bs.toStringUtf8();
        ip_ = s;
        return s;
      }
    }
    /**
     * <code>string ip = 1;</code>
     * @return The bytes for ip.
     */
    @Override
    public com.google.protobuf.ByteString
        getIpBytes() {
      Object ref = ip_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (String) ref);
        ip_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int LOCATION_FIELD_NUMBER = 2;
    private volatile Object location_;
    /**
     * <code>string location = 2;</code>
     * @return The location.
     */
    @Override
    public String getLocation() {
      Object ref = location_;
      if (ref instanceof String) {
        return (String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        String s = bs.toStringUtf8();
        location_ = s;
        return s;
      }
    }
    /**
     * <code>string location = 2;</code>
     * @return The bytes for location.
     */
    @Override
    public com.google.protobuf.ByteString
        getLocationBytes() {
      Object ref = location_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (String) ref);
        location_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int SID_FIELD_NUMBER = 3;
    private volatile Object sid_;
    /**
     * <code>string sid = 3;</code>
     * @return The sid.
     */
    @Override
    public String getSid() {
      Object ref = sid_;
      if (ref instanceof String) {
        return (String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        String s = bs.toStringUtf8();
        sid_ = s;
        return s;
      }
    }
    /**
     * <code>string sid = 3;</code>
     * @return The bytes for sid.
     */
    @Override
    public com.google.protobuf.ByteString
        getSidBytes() {
      Object ref = sid_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (String) ref);
        sid_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    private byte memoizedIsInitialized = -1;
    @Override
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      memoizedIsInitialized = 1;
      return true;
    }

    @Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ip_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, ip_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(location_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 2, location_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sid_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 3, sid_);
      }
      getUnknownFields().writeTo(output);
    }

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

      size = 0;
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ip_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, ip_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(location_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, location_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sid_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, sid_);
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @Override
    public boolean equals(final Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof PrintClientInfoMessage)) {
        return super.equals(obj);
      }
      PrintClientInfoMessage other = (PrintClientInfoMessage) obj;

      if (!getIp()
          .equals(other.getIp())) return false;
      if (!getLocation()
          .equals(other.getLocation())) return false;
      if (!getSid()
          .equals(other.getSid())) return false;
      if (!getUnknownFields().equals(other.getUnknownFields())) return false;
      return true;
    }

    @Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      hash = (37 * hash) + IP_FIELD_NUMBER;
      hash = (53 * hash) + getIp().hashCode();
      hash = (37 * hash) + LOCATION_FIELD_NUMBER;
      hash = (53 * hash) + getLocation().hashCode();
      hash = (37 * hash) + SID_FIELD_NUMBER;
      hash = (53 * hash) + getSid().hashCode();
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static PrintClientInfoMessage parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static PrintClientInfoMessage parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static PrintClientInfoMessage parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static PrintClientInfoMessage parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static PrintClientInfoMessage parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static PrintClientInfoMessage parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static PrintClientInfoMessage parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static PrintClientInfoMessage 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 PrintClientInfoMessage parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static PrintClientInfoMessage 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 PrintClientInfoMessage parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static PrintClientInfoMessage parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    @Override
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(PrintClientInfoMessage prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    @Override
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE
          ? new Builder() : new Builder().mergeFrom(this);
    }

    @Override
    protected Builder newBuilderForType(
        BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * <pre>
     *客户端信息
     * </pre>
     *
     * Protobuf type {@code com.ktg.print.protocol.PrintClientInfoMessage}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:com.ktg.print.protocol.PrintClientInfoMessage)
        PrintClientInfoMessageOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return PrintMessageProto.internal_static_com_ktg_print_protocol_PrintClientInfoMessage_descriptor;
      }

      @Override
      protected FieldAccessorTable
          internalGetFieldAccessorTable() {
        return PrintMessageProto.internal_static_com_ktg_print_protocol_PrintClientInfoMessage_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                PrintClientInfoMessage.class, Builder.class);
      }

      // Construct using com.ktg.print.protocol.PrintMessageProto.PrintClientInfoMessage.newBuilder()
      private Builder() {

      }

      private Builder(
          BuilderParent parent) {
        super(parent);

      }
      @Override
      public Builder clear() {
        super.clear();
        ip_ = "";

        location_ = "";

        sid_ = "";

        return this;
      }

      @Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return PrintMessageProto.internal_static_com_ktg_print_protocol_PrintClientInfoMessage_descriptor;
      }

      @Override
      public PrintClientInfoMessage getDefaultInstanceForType() {
        return PrintClientInfoMessage.getDefaultInstance();
      }

      @Override
      public PrintClientInfoMessage build() {
        PrintClientInfoMessage result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @Override
      public PrintClientInfoMessage buildPartial() {
        PrintClientInfoMessage result = new PrintClientInfoMessage(this);
        result.ip_ = ip_;
        result.location_ = location_;
        result.sid_ = sid_;
        onBuilt();
        return result;
      }

      @Override
      public Builder clone() {
        return super.clone();
      }
      @Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return super.setField(field, value);
      }
      @Override
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      @Override
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      @Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, Object value) {
        return super.setRepeatedField(field, index, value);
      }
      @Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return super.addRepeatedField(field, value);
      }
      @Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof PrintClientInfoMessage) {
          return mergeFrom((PrintClientInfoMessage)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(PrintClientInfoMessage other) {
        if (other == PrintClientInfoMessage.getDefaultInstance()) return this;
        if (!other.getIp().isEmpty()) {
          ip_ = other.ip_;
          onChanged();
        }
        if (!other.getLocation().isEmpty()) {
          location_ = other.location_;
          onChanged();
        }
        if (!other.getSid().isEmpty()) {
          sid_ = other.sid_;
          onChanged();
        }
        this.mergeUnknownFields(other.getUnknownFields());
        onChanged();
        return this;
      }

      @Override
      public final boolean isInitialized() {
        return true;
      }

      @Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        if (extensionRegistry == null) {
          throw new NullPointerException();
        }
        try {
          boolean done = false;
          while (!done) {
            int tag = input.readTag();
            switch (tag) {
              case 0:
                done = true;
                break;
              case 10: {
                ip_ = input.readStringRequireUtf8();

                break;
              } // case 10
              case 18: {
                location_ = input.readStringRequireUtf8();

                break;
              } // case 18
              case 26: {
                sid_ = input.readStringRequireUtf8();

                break;
              } // case 26
              default: {
                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                  done = true; // was an endgroup tag
                }
                break;
              } // default:
            } // switch (tag)
          } // while (!done)
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          throw e.unwrapIOException();
        } finally {
          onChanged();
        } // finally
        return this;
      }

      private Object ip_ = "";
      /**
       * <code>string ip = 1;</code>
       * @return The ip.
       */
      public String getIp() {
        Object ref = ip_;
        if (!(ref instanceof String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          String s = bs.toStringUtf8();
          ip_ = s;
          return s;
        } else {
          return (String) ref;
        }
      }
      /**
       * <code>string ip = 1;</code>
       * @return The bytes for ip.
       */
      public com.google.protobuf.ByteString
          getIpBytes() {
        Object ref = ip_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (String) ref);
          ip_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string ip = 1;</code>
       * @param value The ip to set.
       * @return This builder for chaining.
       */
      public Builder setIp(
          String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        ip_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string ip = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearIp() {
        
        ip_ = getDefaultInstance().getIp();
        onChanged();
        return this;
      }
      /**
       * <code>string ip = 1;</code>
       * @param value The bytes for ip to set.
       * @return This builder for chaining.
       */
      public Builder setIpBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        ip_ = value;
        onChanged();
        return this;
      }

      private Object location_ = "";
      /**
       * <code>string location = 2;</code>
       * @return The location.
       */
      public String getLocation() {
        Object ref = location_;
        if (!(ref instanceof String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          String s = bs.toStringUtf8();
          location_ = s;
          return s;
        } else {
          return (String) ref;
        }
      }
      /**
       * <code>string location = 2;</code>
       * @return The bytes for location.
       */
      public com.google.protobuf.ByteString
          getLocationBytes() {
        Object ref = location_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (String) ref);
          location_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string location = 2;</code>
       * @param value The location to set.
       * @return This builder for chaining.
       */
      public Builder setLocation(
          String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        location_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string location = 2;</code>
       * @return This builder for chaining.
       */
      public Builder clearLocation() {
        
        location_ = getDefaultInstance().getLocation();
        onChanged();
        return this;
      }
      /**
       * <code>string location = 2;</code>
       * @param value The bytes for location to set.
       * @return This builder for chaining.
       */
      public Builder setLocationBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        location_ = value;
        onChanged();
        return this;
      }

      private Object sid_ = "";
      /**
       * <code>string sid = 3;</code>
       * @return The sid.
       */
      public String getSid() {
        Object ref = sid_;
        if (!(ref instanceof String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          String s = bs.toStringUtf8();
          sid_ = s;
          return s;
        } else {
          return (String) ref;
        }
      }
      /**
       * <code>string sid = 3;</code>
       * @return The bytes for sid.
       */
      public com.google.protobuf.ByteString
          getSidBytes() {
        Object ref = sid_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (String) ref);
          sid_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string sid = 3;</code>
       * @param value The sid to set.
       * @return This builder for chaining.
       */
      public Builder setSid(
          String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        sid_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string sid = 3;</code>
       * @return This builder for chaining.
       */
      public Builder clearSid() {
        
        sid_ = getDefaultInstance().getSid();
        onChanged();
        return this;
      }
      /**
       * <code>string sid = 3;</code>
       * @param value The bytes for sid to set.
       * @return This builder for chaining.
       */
      public Builder setSidBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        sid_ = value;
        onChanged();
        return this;
      }
      @Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

      @Override
      public final Builder mergeUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.mergeUnknownFields(unknownFields);
      }


      // @@protoc_insertion_point(builder_scope:com.ktg.print.protocol.PrintClientInfoMessage)
    }

    // @@protoc_insertion_point(class_scope:com.ktg.print.protocol.PrintClientInfoMessage)
    private static final PrintClientInfoMessage DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new PrintClientInfoMessage();
    }

    public static PrintClientInfoMessage getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser<PrintClientInfoMessage>
        PARSER = new com.google.protobuf.AbstractParser<PrintClientInfoMessage>() {
      @Override
      public PrintClientInfoMessage parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        Builder builder = newBuilder();
        try {
          builder.mergeFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          throw e.setUnfinishedMessage(builder.buildPartial());
        } catch (com.google.protobuf.UninitializedMessageException e) {
          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
        } catch (java.io.IOException e) {
          throw new com.google.protobuf.InvalidProtocolBufferException(e)
              .setUnfinishedMessage(builder.buildPartial());
        }
        return builder.buildPartial();
      }
    };

    public static com.google.protobuf.Parser<PrintClientInfoMessage> parser() {
      return PARSER;
    }

    @Override
    public com.google.protobuf.Parser<PrintClientInfoMessage> getParserForType() {
      return PARSER;
    }

    @Override
    public PrintClientInfoMessage getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_com_ktg_print_protocol_IQCPrintMessage_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_com_ktg_print_protocol_IQCPrintMessage_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_com_ktg_print_protocol_PQCPrintMessage_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_com_ktg_print_protocol_PQCPrintMessage_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_com_ktg_print_protocol_OQCPrintMessage_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_com_ktg_print_protocol_OQCPrintMessage_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_com_ktg_print_protocol_PrintClientInfoMessage_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_com_ktg_print_protocol_PrintClientInfoMessage_fieldAccessorTable;

  public static com.google.protobuf.Descriptors.FileDescriptor
      getDescriptor() {
    return descriptor;
  }
  private static  com.google.protobuf.Descriptors.FileDescriptor
      descriptor;
  static {
    String[] descriptorData = {
      "\n\022PrintMessage.proto\022\026com.ktg.print.prot" +
      "ocol\"^\n\017IQCPrintMessage\022\022\n\nsampleCode\030\001 " +
      "\001(\t\022\020\n\010qcObject\030\002 \001(\t\022\022\n\nsampleTime\030\003 \001(" +
      "\t\022\021\n\tbatchCode\030\004 \001(\t\"c\n\017PQCPrintMessage\022" +
      "\022\n\nsampleCode\030\001 \001(\t\022\020\n\010qcObject\030\002 \001(\t\022\022\n" +
      "\nsampleTime\030\003 \001(\t\022\026\n\016sampleLocation\030\004 \001(" +
      "\t\"s\n\017OQCPrintMessage\022\022\n\nsampleCode\030\001 \001(\t" +
      "\022\020\n\010qcObject\030\002 \001(\t\022\022\n\nsampleTime\030\003 \001(\t\022\021" +
      "\n\tbatchCode\030\004 \001(\t\022\023\n\013packageType\030\005 \001(\t\"C" +
      "\n\026PrintClientInfoMessage\022\n\n\002ip\030\001 \001(\t\022\020\n\010" +
      "location\030\002 \001(\t\022\013\n\003sid\030\003 \001(\tB+\n\026com.ktg.p" +
      "rint.protocolB\021PrintMessageProtob\006proto3"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
        });
    internal_static_com_ktg_print_protocol_IQCPrintMessage_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_com_ktg_print_protocol_IQCPrintMessage_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_com_ktg_print_protocol_IQCPrintMessage_descriptor,
        new String[] { "SampleCode", "QcObject", "SampleTime", "BatchCode", });
    internal_static_com_ktg_print_protocol_PQCPrintMessage_descriptor =
      getDescriptor().getMessageTypes().get(1);
    internal_static_com_ktg_print_protocol_PQCPrintMessage_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_com_ktg_print_protocol_PQCPrintMessage_descriptor,
        new String[] { "SampleCode", "QcObject", "SampleTime", "SampleLocation", });
    internal_static_com_ktg_print_protocol_OQCPrintMessage_descriptor =
      getDescriptor().getMessageTypes().get(2);
    internal_static_com_ktg_print_protocol_OQCPrintMessage_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_com_ktg_print_protocol_OQCPrintMessage_descriptor,
        new String[] { "SampleCode", "QcObject", "SampleTime", "BatchCode", "PackageType", });
    internal_static_com_ktg_print_protocol_PrintClientInfoMessage_descriptor =
      getDescriptor().getMessageTypes().get(3);
    internal_static_com_ktg_print_protocol_PrintClientInfoMessage_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_com_ktg_print_protocol_PrintClientInfoMessage_descriptor,
        new String[] { "Ip", "Location", "Sid", });
  }

  // @@protoc_insertion_point(outer_class_scope)
}
