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

package com.ywt.gapi.nfyy;

/**
 * <pre>
 *预约挂号响应
 * </pre>
 *
 * Protobuf type {@code com.ywt.gapi.nfyy.CreateOrderResponse}
 */
public final class CreateOrderResponse extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:com.ywt.gapi.nfyy.CreateOrderResponse)
    CreateOrderResponseOrBuilder {
private static final long serialVersionUID = 0L;
  // Use CreateOrderResponse.newBuilder() to construct.
  private CreateOrderResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private CreateOrderResponse() {
    msg_ = "";
    seqCode_ = "";
    regFee_ = "";
    admitRange_ = "";
    admitAddress_ = "";
    orderContent_ = "";
    transactionId_ = "";
    orderCode_ = "";
  }

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

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

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

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

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

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

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

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

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

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

            orderCode_ = s;
            break;
          }
          default: {
            if (!parseUnknownField(
                input, unknownFields, extensionRegistry, tag)) {
              done = true;
            }
            break;
          }
        }
      }
    } catch (com.google.protobuf.InvalidProtocolBufferException e) {
      throw e.setUnfinishedMessage(this);
    } catch (java.io.IOException e) {
      throw new com.google.protobuf.InvalidProtocolBufferException(
          e).setUnfinishedMessage(this);
    } finally {
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return com.ywt.gapi.nfyy.NfyyProto.internal_static_com_ywt_gapi_nfyy_CreateOrderResponse_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return com.ywt.gapi.nfyy.NfyyProto.internal_static_com_ywt_gapi_nfyy_CreateOrderResponse_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.ywt.gapi.nfyy.CreateOrderResponse.class, com.ywt.gapi.nfyy.CreateOrderResponse.Builder.class);
  }

  public static final int CODE_FIELD_NUMBER = 1;
  private int code_;
  /**
   * <code>int32 code = 1;</code>
   * @return The code.
   */
  @java.lang.Override
  public int getCode() {
    return code_;
  }

  public static final int MSG_FIELD_NUMBER = 2;
  private volatile java.lang.Object msg_;
  /**
   * <code>string msg = 2;</code>
   * @return The msg.
   */
  @java.lang.Override
  public java.lang.String getMsg() {
    java.lang.Object ref = msg_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      msg_ = s;
      return s;
    }
  }
  /**
   * <code>string msg = 2;</code>
   * @return The bytes for msg.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getMsgBytes() {
    java.lang.Object ref = msg_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      msg_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int SEQCODE_FIELD_NUMBER = 3;
  private volatile java.lang.Object seqCode_;
  /**
   * <pre>
   *挂号序号
   * </pre>
   *
   * <code>string seqCode = 3;</code>
   * @return The seqCode.
   */
  @java.lang.Override
  public java.lang.String getSeqCode() {
    java.lang.Object ref = seqCode_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      seqCode_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *挂号序号
   * </pre>
   *
   * <code>string seqCode = 3;</code>
   * @return The bytes for seqCode.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getSeqCodeBytes() {
    java.lang.Object ref = seqCode_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      seqCode_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int REGFEE_FIELD_NUMBER = 4;
  private volatile java.lang.Object regFee_;
  /**
   * <pre>
   *挂号费
   * </pre>
   *
   * <code>string regFee = 4;</code>
   * @return The regFee.
   */
  @java.lang.Override
  public java.lang.String getRegFee() {
    java.lang.Object ref = regFee_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      regFee_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *挂号费
   * </pre>
   *
   * <code>string regFee = 4;</code>
   * @return The bytes for regFee.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getRegFeeBytes() {
    java.lang.Object ref = regFee_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      regFee_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int ADMITRANGE_FIELD_NUMBER = 5;
  private volatile java.lang.Object admitRange_;
  /**
   * <pre>
   *就诊时间段
   * </pre>
   *
   * <code>string admitRange = 5;</code>
   * @return The admitRange.
   */
  @java.lang.Override
  public java.lang.String getAdmitRange() {
    java.lang.Object ref = admitRange_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      admitRange_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *就诊时间段
   * </pre>
   *
   * <code>string admitRange = 5;</code>
   * @return The bytes for admitRange.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getAdmitRangeBytes() {
    java.lang.Object ref = admitRange_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      admitRange_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int ADMITADDRESS_FIELD_NUMBER = 6;
  private volatile java.lang.Object admitAddress_;
  /**
   * <pre>
   *就诊地点
   * </pre>
   *
   * <code>string admitAddress = 6;</code>
   * @return The admitAddress.
   */
  @java.lang.Override
  public java.lang.String getAdmitAddress() {
    java.lang.Object ref = admitAddress_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      admitAddress_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *就诊地点
   * </pre>
   *
   * <code>string admitAddress = 6;</code>
   * @return The bytes for admitAddress.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getAdmitAddressBytes() {
    java.lang.Object ref = admitAddress_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      admitAddress_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int ORDERCONTENT_FIELD_NUMBER = 7;
  private volatile java.lang.Object orderContent_;
  /**
   * <pre>
   *预约单内容（内容说明：卡号^病人Rowid^病人姓名^性别^挂号序号(班别)^挂号序号^科室名称^医生姓名^预约日期^时间^候诊日期^^）
   * </pre>
   *
   * <code>string orderContent = 7;</code>
   * @return The orderContent.
   */
  @java.lang.Override
  public java.lang.String getOrderContent() {
    java.lang.Object ref = orderContent_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      orderContent_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *预约单内容（内容说明：卡号^病人Rowid^病人姓名^性别^挂号序号(班别)^挂号序号^科室名称^医生姓名^预约日期^时间^候诊日期^^）
   * </pre>
   *
   * <code>string orderContent = 7;</code>
   * @return The bytes for orderContent.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getOrderContentBytes() {
    java.lang.Object ref = orderContent_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      orderContent_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int TRANSACTIONID_FIELD_NUMBER = 8;
  private volatile java.lang.Object transactionId_;
  /**
   * <pre>
   *交易流水号
   * </pre>
   *
   * <code>string transactionId = 8;</code>
   * @return The transactionId.
   */
  @java.lang.Override
  public java.lang.String getTransactionId() {
    java.lang.Object ref = transactionId_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      transactionId_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *交易流水号
   * </pre>
   *
   * <code>string transactionId = 8;</code>
   * @return The bytes for transactionId.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getTransactionIdBytes() {
    java.lang.Object ref = transactionId_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      transactionId_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int ORDERCODE_FIELD_NUMBER = 9;
  private volatile java.lang.Object orderCode_;
  /**
   * <pre>
   *预约单号
   * </pre>
   *
   * <code>string orderCode = 9;</code>
   * @return The orderCode.
   */
  @java.lang.Override
  public java.lang.String getOrderCode() {
    java.lang.Object ref = orderCode_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      orderCode_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *预约单号
   * </pre>
   *
   * <code>string orderCode = 9;</code>
   * @return The bytes for orderCode.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getOrderCodeBytes() {
    java.lang.Object ref = orderCode_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      orderCode_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

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

    memoizedIsInitialized = 1;
    return true;
  }

  @java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output)
                      throws java.io.IOException {
    if (code_ != 0) {
      output.writeInt32(1, code_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(msg_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, msg_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(seqCode_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, seqCode_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(regFee_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 4, regFee_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(admitRange_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 5, admitRange_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(admitAddress_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 6, admitAddress_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderContent_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 7, orderContent_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(transactionId_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 8, transactionId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderCode_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 9, orderCode_);
    }
    unknownFields.writeTo(output);
  }

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

    size = 0;
    if (code_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(1, code_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(msg_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, msg_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(seqCode_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, seqCode_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(regFee_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, regFee_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(admitRange_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, admitRange_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(admitAddress_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, admitAddress_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderContent_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, orderContent_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(transactionId_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, transactionId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderCode_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, orderCode_);
    }
    size += unknownFields.getSerializedSize();
    memoizedSize = size;
    return size;
  }

  @java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
     return true;
    }
    if (!(obj instanceof com.ywt.gapi.nfyy.CreateOrderResponse)) {
      return super.equals(obj);
    }
    com.ywt.gapi.nfyy.CreateOrderResponse other = (com.ywt.gapi.nfyy.CreateOrderResponse) obj;

    if (getCode()
        != other.getCode()) return false;
    if (!getMsg()
        .equals(other.getMsg())) return false;
    if (!getSeqCode()
        .equals(other.getSeqCode())) return false;
    if (!getRegFee()
        .equals(other.getRegFee())) return false;
    if (!getAdmitRange()
        .equals(other.getAdmitRange())) return false;
    if (!getAdmitAddress()
        .equals(other.getAdmitAddress())) return false;
    if (!getOrderContent()
        .equals(other.getOrderContent())) return false;
    if (!getTransactionId()
        .equals(other.getTransactionId())) return false;
    if (!getOrderCode()
        .equals(other.getOrderCode())) return false;
    if (!unknownFields.equals(other.unknownFields)) return false;
    return true;
  }

  @java.lang.Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    hash = (37 * hash) + CODE_FIELD_NUMBER;
    hash = (53 * hash) + getCode();
    hash = (37 * hash) + MSG_FIELD_NUMBER;
    hash = (53 * hash) + getMsg().hashCode();
    hash = (37 * hash) + SEQCODE_FIELD_NUMBER;
    hash = (53 * hash) + getSeqCode().hashCode();
    hash = (37 * hash) + REGFEE_FIELD_NUMBER;
    hash = (53 * hash) + getRegFee().hashCode();
    hash = (37 * hash) + ADMITRANGE_FIELD_NUMBER;
    hash = (53 * hash) + getAdmitRange().hashCode();
    hash = (37 * hash) + ADMITADDRESS_FIELD_NUMBER;
    hash = (53 * hash) + getAdmitAddress().hashCode();
    hash = (37 * hash) + ORDERCONTENT_FIELD_NUMBER;
    hash = (53 * hash) + getOrderContent().hashCode();
    hash = (37 * hash) + TRANSACTIONID_FIELD_NUMBER;
    hash = (53 * hash) + getTransactionId().hashCode();
    hash = (37 * hash) + ORDERCODE_FIELD_NUMBER;
    hash = (53 * hash) + getOrderCode().hashCode();
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static com.ywt.gapi.nfyy.CreateOrderResponse parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.ywt.gapi.nfyy.CreateOrderResponse parseFrom(
      java.nio.ByteBuffer data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.ywt.gapi.nfyy.CreateOrderResponse parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.ywt.gapi.nfyy.CreateOrderResponse parseFrom(
      com.google.protobuf.ByteString data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.ywt.gapi.nfyy.CreateOrderResponse parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.ywt.gapi.nfyy.CreateOrderResponse parseFrom(
      byte[] data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.ywt.gapi.nfyy.CreateOrderResponse parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.ywt.gapi.nfyy.CreateOrderResponse parseFrom(
      java.io.InputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input, extensionRegistry);
  }
  public static com.ywt.gapi.nfyy.CreateOrderResponse parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input);
  }
  public static com.ywt.gapi.nfyy.CreateOrderResponse parseDelimitedFrom(
      java.io.InputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
  }
  public static com.ywt.gapi.nfyy.CreateOrderResponse parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.ywt.gapi.nfyy.CreateOrderResponse parseFrom(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input, extensionRegistry);
  }

  @java.lang.Override
  public Builder newBuilderForType() { return newBuilder(); }
  public static Builder newBuilder() {
    return DEFAULT_INSTANCE.toBuilder();
  }
  public static Builder newBuilder(com.ywt.gapi.nfyy.CreateOrderResponse prototype) {
    return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
  }
  @java.lang.Override
  public Builder toBuilder() {
    return this == DEFAULT_INSTANCE
        ? new Builder() : new Builder().mergeFrom(this);
  }

  @java.lang.Override
  protected Builder newBuilderForType(
      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
    Builder builder = new Builder(parent);
    return builder;
  }
  /**
   * <pre>
   *预约挂号响应
   * </pre>
   *
   * Protobuf type {@code com.ywt.gapi.nfyy.CreateOrderResponse}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
      // @@protoc_insertion_point(builder_implements:com.ywt.gapi.nfyy.CreateOrderResponse)
      com.ywt.gapi.nfyy.CreateOrderResponseOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.ywt.gapi.nfyy.NfyyProto.internal_static_com_ywt_gapi_nfyy_CreateOrderResponse_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.ywt.gapi.nfyy.NfyyProto.internal_static_com_ywt_gapi_nfyy_CreateOrderResponse_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.ywt.gapi.nfyy.CreateOrderResponse.class, com.ywt.gapi.nfyy.CreateOrderResponse.Builder.class);
    }

    // Construct using com.ywt.gapi.nfyy.CreateOrderResponse.newBuilder()
    private Builder() {
      maybeForceBuilderInitialization();
    }

    private Builder(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      super(parent);
      maybeForceBuilderInitialization();
    }
    private void maybeForceBuilderInitialization() {
      if (com.google.protobuf.GeneratedMessageV3
              .alwaysUseFieldBuilders) {
      }
    }
    @java.lang.Override
    public Builder clear() {
      super.clear();
      code_ = 0;

      msg_ = "";

      seqCode_ = "";

      regFee_ = "";

      admitRange_ = "";

      admitAddress_ = "";

      orderContent_ = "";

      transactionId_ = "";

      orderCode_ = "";

      return this;
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return com.ywt.gapi.nfyy.NfyyProto.internal_static_com_ywt_gapi_nfyy_CreateOrderResponse_descriptor;
    }

    @java.lang.Override
    public com.ywt.gapi.nfyy.CreateOrderResponse getDefaultInstanceForType() {
      return com.ywt.gapi.nfyy.CreateOrderResponse.getDefaultInstance();
    }

    @java.lang.Override
    public com.ywt.gapi.nfyy.CreateOrderResponse build() {
      com.ywt.gapi.nfyy.CreateOrderResponse result = buildPartial();
      if (!result.isInitialized()) {
        throw newUninitializedMessageException(result);
      }
      return result;
    }

    @java.lang.Override
    public com.ywt.gapi.nfyy.CreateOrderResponse buildPartial() {
      com.ywt.gapi.nfyy.CreateOrderResponse result = new com.ywt.gapi.nfyy.CreateOrderResponse(this);
      result.code_ = code_;
      result.msg_ = msg_;
      result.seqCode_ = seqCode_;
      result.regFee_ = regFee_;
      result.admitRange_ = admitRange_;
      result.admitAddress_ = admitAddress_;
      result.orderContent_ = orderContent_;
      result.transactionId_ = transactionId_;
      result.orderCode_ = orderCode_;
      onBuilt();
      return result;
    }

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

    public Builder mergeFrom(com.ywt.gapi.nfyy.CreateOrderResponse other) {
      if (other == com.ywt.gapi.nfyy.CreateOrderResponse.getDefaultInstance()) return this;
      if (other.getCode() != 0) {
        setCode(other.getCode());
      }
      if (!other.getMsg().isEmpty()) {
        msg_ = other.msg_;
        onChanged();
      }
      if (!other.getSeqCode().isEmpty()) {
        seqCode_ = other.seqCode_;
        onChanged();
      }
      if (!other.getRegFee().isEmpty()) {
        regFee_ = other.regFee_;
        onChanged();
      }
      if (!other.getAdmitRange().isEmpty()) {
        admitRange_ = other.admitRange_;
        onChanged();
      }
      if (!other.getAdmitAddress().isEmpty()) {
        admitAddress_ = other.admitAddress_;
        onChanged();
      }
      if (!other.getOrderContent().isEmpty()) {
        orderContent_ = other.orderContent_;
        onChanged();
      }
      if (!other.getTransactionId().isEmpty()) {
        transactionId_ = other.transactionId_;
        onChanged();
      }
      if (!other.getOrderCode().isEmpty()) {
        orderCode_ = other.orderCode_;
        onChanged();
      }
      this.mergeUnknownFields(other.unknownFields);
      onChanged();
      return this;
    }

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

    @java.lang.Override
    public Builder mergeFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      com.ywt.gapi.nfyy.CreateOrderResponse parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (com.ywt.gapi.nfyy.CreateOrderResponse) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }

    private int code_ ;
    /**
     * <code>int32 code = 1;</code>
     * @return The code.
     */
    @java.lang.Override
    public int getCode() {
      return code_;
    }
    /**
     * <code>int32 code = 1;</code>
     * @param value The code to set.
     * @return This builder for chaining.
     */
    public Builder setCode(int value) {
      
      code_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 code = 1;</code>
     * @return This builder for chaining.
     */
    public Builder clearCode() {
      
      code_ = 0;
      onChanged();
      return this;
    }

    private java.lang.Object msg_ = "";
    /**
     * <code>string msg = 2;</code>
     * @return The msg.
     */
    public java.lang.String getMsg() {
      java.lang.Object ref = msg_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        msg_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string msg = 2;</code>
     * @return The bytes for msg.
     */
    public com.google.protobuf.ByteString
        getMsgBytes() {
      java.lang.Object ref = msg_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        msg_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string msg = 2;</code>
     * @param value The msg to set.
     * @return This builder for chaining.
     */
    public Builder setMsg(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      msg_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string msg = 2;</code>
     * @return This builder for chaining.
     */
    public Builder clearMsg() {
      
      msg_ = getDefaultInstance().getMsg();
      onChanged();
      return this;
    }
    /**
     * <code>string msg = 2;</code>
     * @param value The bytes for msg to set.
     * @return This builder for chaining.
     */
    public Builder setMsgBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      msg_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object seqCode_ = "";
    /**
     * <pre>
     *挂号序号
     * </pre>
     *
     * <code>string seqCode = 3;</code>
     * @return The seqCode.
     */
    public java.lang.String getSeqCode() {
      java.lang.Object ref = seqCode_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        seqCode_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *挂号序号
     * </pre>
     *
     * <code>string seqCode = 3;</code>
     * @return The bytes for seqCode.
     */
    public com.google.protobuf.ByteString
        getSeqCodeBytes() {
      java.lang.Object ref = seqCode_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        seqCode_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *挂号序号
     * </pre>
     *
     * <code>string seqCode = 3;</code>
     * @param value The seqCode to set.
     * @return This builder for chaining.
     */
    public Builder setSeqCode(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      seqCode_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *挂号序号
     * </pre>
     *
     * <code>string seqCode = 3;</code>
     * @return This builder for chaining.
     */
    public Builder clearSeqCode() {
      
      seqCode_ = getDefaultInstance().getSeqCode();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *挂号序号
     * </pre>
     *
     * <code>string seqCode = 3;</code>
     * @param value The bytes for seqCode to set.
     * @return This builder for chaining.
     */
    public Builder setSeqCodeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      seqCode_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object regFee_ = "";
    /**
     * <pre>
     *挂号费
     * </pre>
     *
     * <code>string regFee = 4;</code>
     * @return The regFee.
     */
    public java.lang.String getRegFee() {
      java.lang.Object ref = regFee_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        regFee_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *挂号费
     * </pre>
     *
     * <code>string regFee = 4;</code>
     * @return The bytes for regFee.
     */
    public com.google.protobuf.ByteString
        getRegFeeBytes() {
      java.lang.Object ref = regFee_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        regFee_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *挂号费
     * </pre>
     *
     * <code>string regFee = 4;</code>
     * @param value The regFee to set.
     * @return This builder for chaining.
     */
    public Builder setRegFee(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      regFee_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *挂号费
     * </pre>
     *
     * <code>string regFee = 4;</code>
     * @return This builder for chaining.
     */
    public Builder clearRegFee() {
      
      regFee_ = getDefaultInstance().getRegFee();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *挂号费
     * </pre>
     *
     * <code>string regFee = 4;</code>
     * @param value The bytes for regFee to set.
     * @return This builder for chaining.
     */
    public Builder setRegFeeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      regFee_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object admitRange_ = "";
    /**
     * <pre>
     *就诊时间段
     * </pre>
     *
     * <code>string admitRange = 5;</code>
     * @return The admitRange.
     */
    public java.lang.String getAdmitRange() {
      java.lang.Object ref = admitRange_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        admitRange_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *就诊时间段
     * </pre>
     *
     * <code>string admitRange = 5;</code>
     * @return The bytes for admitRange.
     */
    public com.google.protobuf.ByteString
        getAdmitRangeBytes() {
      java.lang.Object ref = admitRange_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        admitRange_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *就诊时间段
     * </pre>
     *
     * <code>string admitRange = 5;</code>
     * @param value The admitRange to set.
     * @return This builder for chaining.
     */
    public Builder setAdmitRange(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      admitRange_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *就诊时间段
     * </pre>
     *
     * <code>string admitRange = 5;</code>
     * @return This builder for chaining.
     */
    public Builder clearAdmitRange() {
      
      admitRange_ = getDefaultInstance().getAdmitRange();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *就诊时间段
     * </pre>
     *
     * <code>string admitRange = 5;</code>
     * @param value The bytes for admitRange to set.
     * @return This builder for chaining.
     */
    public Builder setAdmitRangeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      admitRange_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object admitAddress_ = "";
    /**
     * <pre>
     *就诊地点
     * </pre>
     *
     * <code>string admitAddress = 6;</code>
     * @return The admitAddress.
     */
    public java.lang.String getAdmitAddress() {
      java.lang.Object ref = admitAddress_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        admitAddress_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *就诊地点
     * </pre>
     *
     * <code>string admitAddress = 6;</code>
     * @return The bytes for admitAddress.
     */
    public com.google.protobuf.ByteString
        getAdmitAddressBytes() {
      java.lang.Object ref = admitAddress_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        admitAddress_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *就诊地点
     * </pre>
     *
     * <code>string admitAddress = 6;</code>
     * @param value The admitAddress to set.
     * @return This builder for chaining.
     */
    public Builder setAdmitAddress(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      admitAddress_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *就诊地点
     * </pre>
     *
     * <code>string admitAddress = 6;</code>
     * @return This builder for chaining.
     */
    public Builder clearAdmitAddress() {
      
      admitAddress_ = getDefaultInstance().getAdmitAddress();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *就诊地点
     * </pre>
     *
     * <code>string admitAddress = 6;</code>
     * @param value The bytes for admitAddress to set.
     * @return This builder for chaining.
     */
    public Builder setAdmitAddressBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      admitAddress_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object orderContent_ = "";
    /**
     * <pre>
     *预约单内容（内容说明：卡号^病人Rowid^病人姓名^性别^挂号序号(班别)^挂号序号^科室名称^医生姓名^预约日期^时间^候诊日期^^）
     * </pre>
     *
     * <code>string orderContent = 7;</code>
     * @return The orderContent.
     */
    public java.lang.String getOrderContent() {
      java.lang.Object ref = orderContent_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        orderContent_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *预约单内容（内容说明：卡号^病人Rowid^病人姓名^性别^挂号序号(班别)^挂号序号^科室名称^医生姓名^预约日期^时间^候诊日期^^）
     * </pre>
     *
     * <code>string orderContent = 7;</code>
     * @return The bytes for orderContent.
     */
    public com.google.protobuf.ByteString
        getOrderContentBytes() {
      java.lang.Object ref = orderContent_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        orderContent_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *预约单内容（内容说明：卡号^病人Rowid^病人姓名^性别^挂号序号(班别)^挂号序号^科室名称^医生姓名^预约日期^时间^候诊日期^^）
     * </pre>
     *
     * <code>string orderContent = 7;</code>
     * @param value The orderContent to set.
     * @return This builder for chaining.
     */
    public Builder setOrderContent(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      orderContent_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *预约单内容（内容说明：卡号^病人Rowid^病人姓名^性别^挂号序号(班别)^挂号序号^科室名称^医生姓名^预约日期^时间^候诊日期^^）
     * </pre>
     *
     * <code>string orderContent = 7;</code>
     * @return This builder for chaining.
     */
    public Builder clearOrderContent() {
      
      orderContent_ = getDefaultInstance().getOrderContent();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *预约单内容（内容说明：卡号^病人Rowid^病人姓名^性别^挂号序号(班别)^挂号序号^科室名称^医生姓名^预约日期^时间^候诊日期^^）
     * </pre>
     *
     * <code>string orderContent = 7;</code>
     * @param value The bytes for orderContent to set.
     * @return This builder for chaining.
     */
    public Builder setOrderContentBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      orderContent_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object transactionId_ = "";
    /**
     * <pre>
     *交易流水号
     * </pre>
     *
     * <code>string transactionId = 8;</code>
     * @return The transactionId.
     */
    public java.lang.String getTransactionId() {
      java.lang.Object ref = transactionId_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        transactionId_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *交易流水号
     * </pre>
     *
     * <code>string transactionId = 8;</code>
     * @return The bytes for transactionId.
     */
    public com.google.protobuf.ByteString
        getTransactionIdBytes() {
      java.lang.Object ref = transactionId_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        transactionId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *交易流水号
     * </pre>
     *
     * <code>string transactionId = 8;</code>
     * @param value The transactionId to set.
     * @return This builder for chaining.
     */
    public Builder setTransactionId(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      transactionId_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *交易流水号
     * </pre>
     *
     * <code>string transactionId = 8;</code>
     * @return This builder for chaining.
     */
    public Builder clearTransactionId() {
      
      transactionId_ = getDefaultInstance().getTransactionId();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *交易流水号
     * </pre>
     *
     * <code>string transactionId = 8;</code>
     * @param value The bytes for transactionId to set.
     * @return This builder for chaining.
     */
    public Builder setTransactionIdBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      transactionId_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object orderCode_ = "";
    /**
     * <pre>
     *预约单号
     * </pre>
     *
     * <code>string orderCode = 9;</code>
     * @return The orderCode.
     */
    public java.lang.String getOrderCode() {
      java.lang.Object ref = orderCode_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        orderCode_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *预约单号
     * </pre>
     *
     * <code>string orderCode = 9;</code>
     * @return The bytes for orderCode.
     */
    public com.google.protobuf.ByteString
        getOrderCodeBytes() {
      java.lang.Object ref = orderCode_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        orderCode_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *预约单号
     * </pre>
     *
     * <code>string orderCode = 9;</code>
     * @param value The orderCode to set.
     * @return This builder for chaining.
     */
    public Builder setOrderCode(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      orderCode_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *预约单号
     * </pre>
     *
     * <code>string orderCode = 9;</code>
     * @return This builder for chaining.
     */
    public Builder clearOrderCode() {
      
      orderCode_ = getDefaultInstance().getOrderCode();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *预约单号
     * </pre>
     *
     * <code>string orderCode = 9;</code>
     * @param value The bytes for orderCode to set.
     * @return This builder for chaining.
     */
    public Builder setOrderCodeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      orderCode_ = value;
      onChanged();
      return this;
    }
    @java.lang.Override
    public final Builder setUnknownFields(
        final com.google.protobuf.UnknownFieldSet unknownFields) {
      return super.setUnknownFields(unknownFields);
    }

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


    // @@protoc_insertion_point(builder_scope:com.ywt.gapi.nfyy.CreateOrderResponse)
  }

  // @@protoc_insertion_point(class_scope:com.ywt.gapi.nfyy.CreateOrderResponse)
  private static final com.ywt.gapi.nfyy.CreateOrderResponse DEFAULT_INSTANCE;
  static {
    DEFAULT_INSTANCE = new com.ywt.gapi.nfyy.CreateOrderResponse();
  }

  public static com.ywt.gapi.nfyy.CreateOrderResponse getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

  private static final com.google.protobuf.Parser<CreateOrderResponse>
      PARSER = new com.google.protobuf.AbstractParser<CreateOrderResponse>() {
    @java.lang.Override
    public CreateOrderResponse parsePartialFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return new CreateOrderResponse(input, extensionRegistry);
    }
  };

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

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

  @java.lang.Override
  public com.ywt.gapi.nfyy.CreateOrderResponse getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}

