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

package com.ywt.gapi.order;

/**
 * <pre>
 *主诊订单详情
 * </pre>
 *
 * Protobuf type {@code com.ywt.gapi.order.AttendingOrderDetail}
 */
public  final class AttendingOrderDetail extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:com.ywt.gapi.order.AttendingOrderDetail)
    AttendingOrderDetailOrBuilder {
  // Use AttendingOrderDetail.newBuilder() to construct.
  private AttendingOrderDetail(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private AttendingOrderDetail() {
    title_ = "";
    orderNo_ = "";
    patientName_ = "";
    periodName_ = "";
    period_ = 0;
    sex_ = 0;
    age_ = 0;
    mobile_ = "";
    toHospital_ = "";
    toDept_ = "";
    toDoctor_ = "";
    patientId_ = 0;
    attendingDate_ = 0L;
    fromHospital_ = "";
    fromDept_ = "";
    fromDoctor_ = "";
    attendingStatus_ = 0;
    orderId_ = 0;
    fromDoctorId_ = 0;
    toDoctorId_ = 0;
    userId_ = 0;
    createTime_ = 0L;
    amount_ = 0D;
    paymentStatus_ = 0;
    orderStatus_ = 0;
    orderStatusString_ = "";
  }

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
  }
  private AttendingOrderDetail(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    this();
    int mutable_bitField0_ = 0;
    try {
      boolean done = false;
      while (!done) {
        int tag = input.readTag();
        switch (tag) {
          case 0:
            done = true;
            break;
          default: {
            if (!input.skipField(tag)) {
              done = true;
            }
            break;
          }
          case 10: {
            java.lang.String s = input.readStringRequireUtf8();

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

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

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

            periodName_ = s;
            break;
          }
          case 40: {

            period_ = input.readInt32();
            break;
          }
          case 48: {

            sex_ = input.readInt32();
            break;
          }
          case 56: {

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

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

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

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

            toDoctor_ = s;
            break;
          }
          case 96: {

            patientId_ = input.readInt32();
            break;
          }
          case 104: {

            attendingDate_ = input.readInt64();
            break;
          }
          case 114: {
            java.lang.String s = input.readStringRequireUtf8();

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

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

            fromDoctor_ = s;
            break;
          }
          case 136: {

            attendingStatus_ = input.readInt32();
            break;
          }
          case 144: {

            orderId_ = input.readInt32();
            break;
          }
          case 152: {

            fromDoctorId_ = input.readInt32();
            break;
          }
          case 160: {

            toDoctorId_ = input.readInt32();
            break;
          }
          case 168: {

            userId_ = input.readInt32();
            break;
          }
          case 176: {

            createTime_ = input.readInt64();
            break;
          }
          case 185: {

            amount_ = input.readDouble();
            break;
          }
          case 192: {

            paymentStatus_ = input.readInt32();
            break;
          }
          case 200: {

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

            orderStatusString_ = s;
            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 {
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return com.ywt.gapi.order.OrderOuterClass.internal_static_com_ywt_gapi_order_AttendingOrderDetail_descriptor;
  }

  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return com.ywt.gapi.order.OrderOuterClass.internal_static_com_ywt_gapi_order_AttendingOrderDetail_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.ywt.gapi.order.AttendingOrderDetail.class, com.ywt.gapi.order.AttendingOrderDetail.Builder.class);
  }

  public static final int TITLE_FIELD_NUMBER = 1;
  private volatile java.lang.Object title_;
  /**
   * <code>string title = 1;</code>
   */
  public java.lang.String getTitle() {
    java.lang.Object ref = title_;
    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();
      title_ = s;
      return s;
    }
  }
  /**
   * <code>string title = 1;</code>
   */
  public com.google.protobuf.ByteString
      getTitleBytes() {
    java.lang.Object ref = title_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      title_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int ORDERNO_FIELD_NUMBER = 2;
  private volatile java.lang.Object orderNo_;
  /**
   * <code>string orderNo = 2;</code>
   */
  public java.lang.String getOrderNo() {
    java.lang.Object ref = orderNo_;
    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();
      orderNo_ = s;
      return s;
    }
  }
  /**
   * <code>string orderNo = 2;</code>
   */
  public com.google.protobuf.ByteString
      getOrderNoBytes() {
    java.lang.Object ref = orderNo_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      orderNo_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int PATIENTNAME_FIELD_NUMBER = 3;
  private volatile java.lang.Object patientName_;
  /**
   * <code>string patientName = 3;</code>
   */
  public java.lang.String getPatientName() {
    java.lang.Object ref = patientName_;
    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();
      patientName_ = s;
      return s;
    }
  }
  /**
   * <code>string patientName = 3;</code>
   */
  public com.google.protobuf.ByteString
      getPatientNameBytes() {
    java.lang.Object ref = patientName_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      patientName_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int PERIODNAME_FIELD_NUMBER = 4;
  private volatile java.lang.Object periodName_;
  /**
   * <code>string periodName = 4;</code>
   */
  public java.lang.String getPeriodName() {
    java.lang.Object ref = periodName_;
    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();
      periodName_ = s;
      return s;
    }
  }
  /**
   * <code>string periodName = 4;</code>
   */
  public com.google.protobuf.ByteString
      getPeriodNameBytes() {
    java.lang.Object ref = periodName_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      periodName_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int PERIOD_FIELD_NUMBER = 5;
  private int period_;
  /**
   * <code>int32 period = 5;</code>
   */
  public int getPeriod() {
    return period_;
  }

  public static final int SEX_FIELD_NUMBER = 6;
  private int sex_;
  /**
   * <code>int32 sex = 6;</code>
   */
  public int getSex() {
    return sex_;
  }

  public static final int AGE_FIELD_NUMBER = 7;
  private int age_;
  /**
   * <code>int32 age = 7;</code>
   */
  public int getAge() {
    return age_;
  }

  public static final int MOBILE_FIELD_NUMBER = 8;
  private volatile java.lang.Object mobile_;
  /**
   * <code>string mobile = 8;</code>
   */
  public java.lang.String getMobile() {
    java.lang.Object ref = mobile_;
    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();
      mobile_ = s;
      return s;
    }
  }
  /**
   * <code>string mobile = 8;</code>
   */
  public com.google.protobuf.ByteString
      getMobileBytes() {
    java.lang.Object ref = mobile_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      mobile_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int TOHOSPITAL_FIELD_NUMBER = 9;
  private volatile java.lang.Object toHospital_;
  /**
   * <code>string toHospital = 9;</code>
   */
  public java.lang.String getToHospital() {
    java.lang.Object ref = toHospital_;
    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();
      toHospital_ = s;
      return s;
    }
  }
  /**
   * <code>string toHospital = 9;</code>
   */
  public com.google.protobuf.ByteString
      getToHospitalBytes() {
    java.lang.Object ref = toHospital_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      toHospital_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int TODEPT_FIELD_NUMBER = 10;
  private volatile java.lang.Object toDept_;
  /**
   * <code>string toDept = 10;</code>
   */
  public java.lang.String getToDept() {
    java.lang.Object ref = toDept_;
    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();
      toDept_ = s;
      return s;
    }
  }
  /**
   * <code>string toDept = 10;</code>
   */
  public com.google.protobuf.ByteString
      getToDeptBytes() {
    java.lang.Object ref = toDept_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      toDept_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int TODOCTOR_FIELD_NUMBER = 11;
  private volatile java.lang.Object toDoctor_;
  /**
   * <code>string toDoctor = 11;</code>
   */
  public java.lang.String getToDoctor() {
    java.lang.Object ref = toDoctor_;
    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();
      toDoctor_ = s;
      return s;
    }
  }
  /**
   * <code>string toDoctor = 11;</code>
   */
  public com.google.protobuf.ByteString
      getToDoctorBytes() {
    java.lang.Object ref = toDoctor_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      toDoctor_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int PATIENTID_FIELD_NUMBER = 12;
  private int patientId_;
  /**
   * <code>int32 patientId = 12;</code>
   */
  public int getPatientId() {
    return patientId_;
  }

  public static final int ATTENDINGDATE_FIELD_NUMBER = 13;
  private long attendingDate_;
  /**
   * <code>int64 attendingDate = 13;</code>
   */
  public long getAttendingDate() {
    return attendingDate_;
  }

  public static final int FROMHOSPITAL_FIELD_NUMBER = 14;
  private volatile java.lang.Object fromHospital_;
  /**
   * <code>string fromHospital = 14;</code>
   */
  public java.lang.String getFromHospital() {
    java.lang.Object ref = fromHospital_;
    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();
      fromHospital_ = s;
      return s;
    }
  }
  /**
   * <code>string fromHospital = 14;</code>
   */
  public com.google.protobuf.ByteString
      getFromHospitalBytes() {
    java.lang.Object ref = fromHospital_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      fromHospital_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int FROMDEPT_FIELD_NUMBER = 15;
  private volatile java.lang.Object fromDept_;
  /**
   * <code>string fromDept = 15;</code>
   */
  public java.lang.String getFromDept() {
    java.lang.Object ref = fromDept_;
    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();
      fromDept_ = s;
      return s;
    }
  }
  /**
   * <code>string fromDept = 15;</code>
   */
  public com.google.protobuf.ByteString
      getFromDeptBytes() {
    java.lang.Object ref = fromDept_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      fromDept_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int FROMDOCTOR_FIELD_NUMBER = 16;
  private volatile java.lang.Object fromDoctor_;
  /**
   * <code>string fromDoctor = 16;</code>
   */
  public java.lang.String getFromDoctor() {
    java.lang.Object ref = fromDoctor_;
    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();
      fromDoctor_ = s;
      return s;
    }
  }
  /**
   * <code>string fromDoctor = 16;</code>
   */
  public com.google.protobuf.ByteString
      getFromDoctorBytes() {
    java.lang.Object ref = fromDoctor_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      fromDoctor_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int ATTENDINGSTATUS_FIELD_NUMBER = 17;
  private int attendingStatus_;
  /**
   * <code>int32 attendingStatus = 17;</code>
   */
  public int getAttendingStatus() {
    return attendingStatus_;
  }

  public static final int ORDERID_FIELD_NUMBER = 18;
  private int orderId_;
  /**
   * <code>int32 orderId = 18;</code>
   */
  public int getOrderId() {
    return orderId_;
  }

  public static final int FROMDOCTORID_FIELD_NUMBER = 19;
  private int fromDoctorId_;
  /**
   * <code>int32 fromDoctorId = 19;</code>
   */
  public int getFromDoctorId() {
    return fromDoctorId_;
  }

  public static final int TODOCTORID_FIELD_NUMBER = 20;
  private int toDoctorId_;
  /**
   * <code>int32 toDoctorId = 20;</code>
   */
  public int getToDoctorId() {
    return toDoctorId_;
  }

  public static final int USERID_FIELD_NUMBER = 21;
  private int userId_;
  /**
   * <code>int32 userId = 21;</code>
   */
  public int getUserId() {
    return userId_;
  }

  public static final int CREATETIME_FIELD_NUMBER = 22;
  private long createTime_;
  /**
   * <code>int64 createTime = 22;</code>
   */
  public long getCreateTime() {
    return createTime_;
  }

  public static final int AMOUNT_FIELD_NUMBER = 23;
  private double amount_;
  /**
   * <code>double amount = 23;</code>
   */
  public double getAmount() {
    return amount_;
  }

  public static final int PAYMENTSTATUS_FIELD_NUMBER = 24;
  private int paymentStatus_;
  /**
   * <code>int32 paymentStatus = 24;</code>
   */
  public int getPaymentStatus() {
    return paymentStatus_;
  }

  public static final int ORDERSTATUS_FIELD_NUMBER = 25;
  private int orderStatus_;
  /**
   * <code>int32 orderStatus = 25;</code>
   */
  public int getOrderStatus() {
    return orderStatus_;
  }

  public static final int ORDERSTATUSSTRING_FIELD_NUMBER = 26;
  private volatile java.lang.Object orderStatusString_;
  /**
   * <code>string orderStatusString = 26;</code>
   */
  public java.lang.String getOrderStatusString() {
    java.lang.Object ref = orderStatusString_;
    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();
      orderStatusString_ = s;
      return s;
    }
  }
  /**
   * <code>string orderStatusString = 26;</code>
   */
  public com.google.protobuf.ByteString
      getOrderStatusStringBytes() {
    java.lang.Object ref = orderStatusString_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      orderStatusString_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

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

    memoizedIsInitialized = 1;
    return true;
  }

  public void writeTo(com.google.protobuf.CodedOutputStream output)
                      throws java.io.IOException {
    if (!getTitleBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, title_);
    }
    if (!getOrderNoBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, orderNo_);
    }
    if (!getPatientNameBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, patientName_);
    }
    if (!getPeriodNameBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 4, periodName_);
    }
    if (period_ != 0) {
      output.writeInt32(5, period_);
    }
    if (sex_ != 0) {
      output.writeInt32(6, sex_);
    }
    if (age_ != 0) {
      output.writeInt32(7, age_);
    }
    if (!getMobileBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 8, mobile_);
    }
    if (!getToHospitalBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 9, toHospital_);
    }
    if (!getToDeptBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 10, toDept_);
    }
    if (!getToDoctorBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 11, toDoctor_);
    }
    if (patientId_ != 0) {
      output.writeInt32(12, patientId_);
    }
    if (attendingDate_ != 0L) {
      output.writeInt64(13, attendingDate_);
    }
    if (!getFromHospitalBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 14, fromHospital_);
    }
    if (!getFromDeptBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 15, fromDept_);
    }
    if (!getFromDoctorBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 16, fromDoctor_);
    }
    if (attendingStatus_ != 0) {
      output.writeInt32(17, attendingStatus_);
    }
    if (orderId_ != 0) {
      output.writeInt32(18, orderId_);
    }
    if (fromDoctorId_ != 0) {
      output.writeInt32(19, fromDoctorId_);
    }
    if (toDoctorId_ != 0) {
      output.writeInt32(20, toDoctorId_);
    }
    if (userId_ != 0) {
      output.writeInt32(21, userId_);
    }
    if (createTime_ != 0L) {
      output.writeInt64(22, createTime_);
    }
    if (amount_ != 0D) {
      output.writeDouble(23, amount_);
    }
    if (paymentStatus_ != 0) {
      output.writeInt32(24, paymentStatus_);
    }
    if (orderStatus_ != 0) {
      output.writeInt32(25, orderStatus_);
    }
    if (!getOrderStatusStringBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 26, orderStatusString_);
    }
  }

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

    size = 0;
    if (!getTitleBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, title_);
    }
    if (!getOrderNoBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, orderNo_);
    }
    if (!getPatientNameBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, patientName_);
    }
    if (!getPeriodNameBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, periodName_);
    }
    if (period_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(5, period_);
    }
    if (sex_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(6, sex_);
    }
    if (age_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(7, age_);
    }
    if (!getMobileBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, mobile_);
    }
    if (!getToHospitalBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, toHospital_);
    }
    if (!getToDeptBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, toDept_);
    }
    if (!getToDoctorBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, toDoctor_);
    }
    if (patientId_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(12, patientId_);
    }
    if (attendingDate_ != 0L) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt64Size(13, attendingDate_);
    }
    if (!getFromHospitalBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, fromHospital_);
    }
    if (!getFromDeptBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, fromDept_);
    }
    if (!getFromDoctorBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(16, fromDoctor_);
    }
    if (attendingStatus_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(17, attendingStatus_);
    }
    if (orderId_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(18, orderId_);
    }
    if (fromDoctorId_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(19, fromDoctorId_);
    }
    if (toDoctorId_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(20, toDoctorId_);
    }
    if (userId_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(21, userId_);
    }
    if (createTime_ != 0L) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt64Size(22, createTime_);
    }
    if (amount_ != 0D) {
      size += com.google.protobuf.CodedOutputStream
        .computeDoubleSize(23, amount_);
    }
    if (paymentStatus_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(24, paymentStatus_);
    }
    if (orderStatus_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(25, orderStatus_);
    }
    if (!getOrderStatusStringBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(26, orderStatusString_);
    }
    memoizedSize = size;
    return size;
  }

  private static final long serialVersionUID = 0L;
  @java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
     return true;
    }
    if (!(obj instanceof com.ywt.gapi.order.AttendingOrderDetail)) {
      return super.equals(obj);
    }
    com.ywt.gapi.order.AttendingOrderDetail other = (com.ywt.gapi.order.AttendingOrderDetail) obj;

    boolean result = true;
    result = result && getTitle()
        .equals(other.getTitle());
    result = result && getOrderNo()
        .equals(other.getOrderNo());
    result = result && getPatientName()
        .equals(other.getPatientName());
    result = result && getPeriodName()
        .equals(other.getPeriodName());
    result = result && (getPeriod()
        == other.getPeriod());
    result = result && (getSex()
        == other.getSex());
    result = result && (getAge()
        == other.getAge());
    result = result && getMobile()
        .equals(other.getMobile());
    result = result && getToHospital()
        .equals(other.getToHospital());
    result = result && getToDept()
        .equals(other.getToDept());
    result = result && getToDoctor()
        .equals(other.getToDoctor());
    result = result && (getPatientId()
        == other.getPatientId());
    result = result && (getAttendingDate()
        == other.getAttendingDate());
    result = result && getFromHospital()
        .equals(other.getFromHospital());
    result = result && getFromDept()
        .equals(other.getFromDept());
    result = result && getFromDoctor()
        .equals(other.getFromDoctor());
    result = result && (getAttendingStatus()
        == other.getAttendingStatus());
    result = result && (getOrderId()
        == other.getOrderId());
    result = result && (getFromDoctorId()
        == other.getFromDoctorId());
    result = result && (getToDoctorId()
        == other.getToDoctorId());
    result = result && (getUserId()
        == other.getUserId());
    result = result && (getCreateTime()
        == other.getCreateTime());
    result = result && (
        java.lang.Double.doubleToLongBits(getAmount())
        == java.lang.Double.doubleToLongBits(
            other.getAmount()));
    result = result && (getPaymentStatus()
        == other.getPaymentStatus());
    result = result && (getOrderStatus()
        == other.getOrderStatus());
    result = result && getOrderStatusString()
        .equals(other.getOrderStatusString());
    return result;
  }

  @java.lang.Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    hash = (37 * hash) + TITLE_FIELD_NUMBER;
    hash = (53 * hash) + getTitle().hashCode();
    hash = (37 * hash) + ORDERNO_FIELD_NUMBER;
    hash = (53 * hash) + getOrderNo().hashCode();
    hash = (37 * hash) + PATIENTNAME_FIELD_NUMBER;
    hash = (53 * hash) + getPatientName().hashCode();
    hash = (37 * hash) + PERIODNAME_FIELD_NUMBER;
    hash = (53 * hash) + getPeriodName().hashCode();
    hash = (37 * hash) + PERIOD_FIELD_NUMBER;
    hash = (53 * hash) + getPeriod();
    hash = (37 * hash) + SEX_FIELD_NUMBER;
    hash = (53 * hash) + getSex();
    hash = (37 * hash) + AGE_FIELD_NUMBER;
    hash = (53 * hash) + getAge();
    hash = (37 * hash) + MOBILE_FIELD_NUMBER;
    hash = (53 * hash) + getMobile().hashCode();
    hash = (37 * hash) + TOHOSPITAL_FIELD_NUMBER;
    hash = (53 * hash) + getToHospital().hashCode();
    hash = (37 * hash) + TODEPT_FIELD_NUMBER;
    hash = (53 * hash) + getToDept().hashCode();
    hash = (37 * hash) + TODOCTOR_FIELD_NUMBER;
    hash = (53 * hash) + getToDoctor().hashCode();
    hash = (37 * hash) + PATIENTID_FIELD_NUMBER;
    hash = (53 * hash) + getPatientId();
    hash = (37 * hash) + ATTENDINGDATE_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
        getAttendingDate());
    hash = (37 * hash) + FROMHOSPITAL_FIELD_NUMBER;
    hash = (53 * hash) + getFromHospital().hashCode();
    hash = (37 * hash) + FROMDEPT_FIELD_NUMBER;
    hash = (53 * hash) + getFromDept().hashCode();
    hash = (37 * hash) + FROMDOCTOR_FIELD_NUMBER;
    hash = (53 * hash) + getFromDoctor().hashCode();
    hash = (37 * hash) + ATTENDINGSTATUS_FIELD_NUMBER;
    hash = (53 * hash) + getAttendingStatus();
    hash = (37 * hash) + ORDERID_FIELD_NUMBER;
    hash = (53 * hash) + getOrderId();
    hash = (37 * hash) + FROMDOCTORID_FIELD_NUMBER;
    hash = (53 * hash) + getFromDoctorId();
    hash = (37 * hash) + TODOCTORID_FIELD_NUMBER;
    hash = (53 * hash) + getToDoctorId();
    hash = (37 * hash) + USERID_FIELD_NUMBER;
    hash = (53 * hash) + getUserId();
    hash = (37 * hash) + CREATETIME_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
        getCreateTime());
    hash = (37 * hash) + AMOUNT_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
        java.lang.Double.doubleToLongBits(getAmount()));
    hash = (37 * hash) + PAYMENTSTATUS_FIELD_NUMBER;
    hash = (53 * hash) + getPaymentStatus();
    hash = (37 * hash) + ORDERSTATUS_FIELD_NUMBER;
    hash = (53 * hash) + getOrderStatus();
    hash = (37 * hash) + ORDERSTATUSSTRING_FIELD_NUMBER;
    hash = (53 * hash) + getOrderStatusString().hashCode();
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

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

  public Builder newBuilderForType() { return newBuilder(); }
  public static Builder newBuilder() {
    return DEFAULT_INSTANCE.toBuilder();
  }
  public static Builder newBuilder(com.ywt.gapi.order.AttendingOrderDetail prototype) {
    return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
  }
  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.order.AttendingOrderDetail}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
      // @@protoc_insertion_point(builder_implements:com.ywt.gapi.order.AttendingOrderDetail)
      com.ywt.gapi.order.AttendingOrderDetailOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.ywt.gapi.order.OrderOuterClass.internal_static_com_ywt_gapi_order_AttendingOrderDetail_descriptor;
    }

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.ywt.gapi.order.OrderOuterClass.internal_static_com_ywt_gapi_order_AttendingOrderDetail_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.ywt.gapi.order.AttendingOrderDetail.class, com.ywt.gapi.order.AttendingOrderDetail.Builder.class);
    }

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

    private Builder(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      super(parent);
      maybeForceBuilderInitialization();
    }
    private void maybeForceBuilderInitialization() {
      if (com.google.protobuf.GeneratedMessageV3
              .alwaysUseFieldBuilders) {
      }
    }
    public Builder clear() {
      super.clear();
      title_ = "";

      orderNo_ = "";

      patientName_ = "";

      periodName_ = "";

      period_ = 0;

      sex_ = 0;

      age_ = 0;

      mobile_ = "";

      toHospital_ = "";

      toDept_ = "";

      toDoctor_ = "";

      patientId_ = 0;

      attendingDate_ = 0L;

      fromHospital_ = "";

      fromDept_ = "";

      fromDoctor_ = "";

      attendingStatus_ = 0;

      orderId_ = 0;

      fromDoctorId_ = 0;

      toDoctorId_ = 0;

      userId_ = 0;

      createTime_ = 0L;

      amount_ = 0D;

      paymentStatus_ = 0;

      orderStatus_ = 0;

      orderStatusString_ = "";

      return this;
    }

    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return com.ywt.gapi.order.OrderOuterClass.internal_static_com_ywt_gapi_order_AttendingOrderDetail_descriptor;
    }

    public com.ywt.gapi.order.AttendingOrderDetail getDefaultInstanceForType() {
      return com.ywt.gapi.order.AttendingOrderDetail.getDefaultInstance();
    }

    public com.ywt.gapi.order.AttendingOrderDetail build() {
      com.ywt.gapi.order.AttendingOrderDetail result = buildPartial();
      if (!result.isInitialized()) {
        throw newUninitializedMessageException(result);
      }
      return result;
    }

    public com.ywt.gapi.order.AttendingOrderDetail buildPartial() {
      com.ywt.gapi.order.AttendingOrderDetail result = new com.ywt.gapi.order.AttendingOrderDetail(this);
      result.title_ = title_;
      result.orderNo_ = orderNo_;
      result.patientName_ = patientName_;
      result.periodName_ = periodName_;
      result.period_ = period_;
      result.sex_ = sex_;
      result.age_ = age_;
      result.mobile_ = mobile_;
      result.toHospital_ = toHospital_;
      result.toDept_ = toDept_;
      result.toDoctor_ = toDoctor_;
      result.patientId_ = patientId_;
      result.attendingDate_ = attendingDate_;
      result.fromHospital_ = fromHospital_;
      result.fromDept_ = fromDept_;
      result.fromDoctor_ = fromDoctor_;
      result.attendingStatus_ = attendingStatus_;
      result.orderId_ = orderId_;
      result.fromDoctorId_ = fromDoctorId_;
      result.toDoctorId_ = toDoctorId_;
      result.userId_ = userId_;
      result.createTime_ = createTime_;
      result.amount_ = amount_;
      result.paymentStatus_ = paymentStatus_;
      result.orderStatus_ = orderStatus_;
      result.orderStatusString_ = orderStatusString_;
      onBuilt();
      return result;
    }

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

    public Builder mergeFrom(com.ywt.gapi.order.AttendingOrderDetail other) {
      if (other == com.ywt.gapi.order.AttendingOrderDetail.getDefaultInstance()) return this;
      if (!other.getTitle().isEmpty()) {
        title_ = other.title_;
        onChanged();
      }
      if (!other.getOrderNo().isEmpty()) {
        orderNo_ = other.orderNo_;
        onChanged();
      }
      if (!other.getPatientName().isEmpty()) {
        patientName_ = other.patientName_;
        onChanged();
      }
      if (!other.getPeriodName().isEmpty()) {
        periodName_ = other.periodName_;
        onChanged();
      }
      if (other.getPeriod() != 0) {
        setPeriod(other.getPeriod());
      }
      if (other.getSex() != 0) {
        setSex(other.getSex());
      }
      if (other.getAge() != 0) {
        setAge(other.getAge());
      }
      if (!other.getMobile().isEmpty()) {
        mobile_ = other.mobile_;
        onChanged();
      }
      if (!other.getToHospital().isEmpty()) {
        toHospital_ = other.toHospital_;
        onChanged();
      }
      if (!other.getToDept().isEmpty()) {
        toDept_ = other.toDept_;
        onChanged();
      }
      if (!other.getToDoctor().isEmpty()) {
        toDoctor_ = other.toDoctor_;
        onChanged();
      }
      if (other.getPatientId() != 0) {
        setPatientId(other.getPatientId());
      }
      if (other.getAttendingDate() != 0L) {
        setAttendingDate(other.getAttendingDate());
      }
      if (!other.getFromHospital().isEmpty()) {
        fromHospital_ = other.fromHospital_;
        onChanged();
      }
      if (!other.getFromDept().isEmpty()) {
        fromDept_ = other.fromDept_;
        onChanged();
      }
      if (!other.getFromDoctor().isEmpty()) {
        fromDoctor_ = other.fromDoctor_;
        onChanged();
      }
      if (other.getAttendingStatus() != 0) {
        setAttendingStatus(other.getAttendingStatus());
      }
      if (other.getOrderId() != 0) {
        setOrderId(other.getOrderId());
      }
      if (other.getFromDoctorId() != 0) {
        setFromDoctorId(other.getFromDoctorId());
      }
      if (other.getToDoctorId() != 0) {
        setToDoctorId(other.getToDoctorId());
      }
      if (other.getUserId() != 0) {
        setUserId(other.getUserId());
      }
      if (other.getCreateTime() != 0L) {
        setCreateTime(other.getCreateTime());
      }
      if (other.getAmount() != 0D) {
        setAmount(other.getAmount());
      }
      if (other.getPaymentStatus() != 0) {
        setPaymentStatus(other.getPaymentStatus());
      }
      if (other.getOrderStatus() != 0) {
        setOrderStatus(other.getOrderStatus());
      }
      if (!other.getOrderStatusString().isEmpty()) {
        orderStatusString_ = other.orderStatusString_;
        onChanged();
      }
      onChanged();
      return this;
    }

    public final boolean isInitialized() {
      return true;
    }

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

    private java.lang.Object title_ = "";
    /**
     * <code>string title = 1;</code>
     */
    public java.lang.String getTitle() {
      java.lang.Object ref = title_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        title_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string title = 1;</code>
     */
    public com.google.protobuf.ByteString
        getTitleBytes() {
      java.lang.Object ref = title_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        title_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string title = 1;</code>
     */
    public Builder setTitle(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      title_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string title = 1;</code>
     */
    public Builder clearTitle() {
      
      title_ = getDefaultInstance().getTitle();
      onChanged();
      return this;
    }
    /**
     * <code>string title = 1;</code>
     */
    public Builder setTitleBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      title_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object orderNo_ = "";
    /**
     * <code>string orderNo = 2;</code>
     */
    public java.lang.String getOrderNo() {
      java.lang.Object ref = orderNo_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        orderNo_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string orderNo = 2;</code>
     */
    public com.google.protobuf.ByteString
        getOrderNoBytes() {
      java.lang.Object ref = orderNo_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        orderNo_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string orderNo = 2;</code>
     */
    public Builder setOrderNo(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      orderNo_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string orderNo = 2;</code>
     */
    public Builder clearOrderNo() {
      
      orderNo_ = getDefaultInstance().getOrderNo();
      onChanged();
      return this;
    }
    /**
     * <code>string orderNo = 2;</code>
     */
    public Builder setOrderNoBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      orderNo_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object patientName_ = "";
    /**
     * <code>string patientName = 3;</code>
     */
    public java.lang.String getPatientName() {
      java.lang.Object ref = patientName_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        patientName_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string patientName = 3;</code>
     */
    public com.google.protobuf.ByteString
        getPatientNameBytes() {
      java.lang.Object ref = patientName_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        patientName_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string patientName = 3;</code>
     */
    public Builder setPatientName(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      patientName_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string patientName = 3;</code>
     */
    public Builder clearPatientName() {
      
      patientName_ = getDefaultInstance().getPatientName();
      onChanged();
      return this;
    }
    /**
     * <code>string patientName = 3;</code>
     */
    public Builder setPatientNameBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      patientName_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object periodName_ = "";
    /**
     * <code>string periodName = 4;</code>
     */
    public java.lang.String getPeriodName() {
      java.lang.Object ref = periodName_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        periodName_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string periodName = 4;</code>
     */
    public com.google.protobuf.ByteString
        getPeriodNameBytes() {
      java.lang.Object ref = periodName_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        periodName_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string periodName = 4;</code>
     */
    public Builder setPeriodName(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      periodName_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string periodName = 4;</code>
     */
    public Builder clearPeriodName() {
      
      periodName_ = getDefaultInstance().getPeriodName();
      onChanged();
      return this;
    }
    /**
     * <code>string periodName = 4;</code>
     */
    public Builder setPeriodNameBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      periodName_ = value;
      onChanged();
      return this;
    }

    private int period_ ;
    /**
     * <code>int32 period = 5;</code>
     */
    public int getPeriod() {
      return period_;
    }
    /**
     * <code>int32 period = 5;</code>
     */
    public Builder setPeriod(int value) {
      
      period_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 period = 5;</code>
     */
    public Builder clearPeriod() {
      
      period_ = 0;
      onChanged();
      return this;
    }

    private int sex_ ;
    /**
     * <code>int32 sex = 6;</code>
     */
    public int getSex() {
      return sex_;
    }
    /**
     * <code>int32 sex = 6;</code>
     */
    public Builder setSex(int value) {
      
      sex_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 sex = 6;</code>
     */
    public Builder clearSex() {
      
      sex_ = 0;
      onChanged();
      return this;
    }

    private int age_ ;
    /**
     * <code>int32 age = 7;</code>
     */
    public int getAge() {
      return age_;
    }
    /**
     * <code>int32 age = 7;</code>
     */
    public Builder setAge(int value) {
      
      age_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 age = 7;</code>
     */
    public Builder clearAge() {
      
      age_ = 0;
      onChanged();
      return this;
    }

    private java.lang.Object mobile_ = "";
    /**
     * <code>string mobile = 8;</code>
     */
    public java.lang.String getMobile() {
      java.lang.Object ref = mobile_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        mobile_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string mobile = 8;</code>
     */
    public com.google.protobuf.ByteString
        getMobileBytes() {
      java.lang.Object ref = mobile_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        mobile_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string mobile = 8;</code>
     */
    public Builder setMobile(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      mobile_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string mobile = 8;</code>
     */
    public Builder clearMobile() {
      
      mobile_ = getDefaultInstance().getMobile();
      onChanged();
      return this;
    }
    /**
     * <code>string mobile = 8;</code>
     */
    public Builder setMobileBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      mobile_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object toHospital_ = "";
    /**
     * <code>string toHospital = 9;</code>
     */
    public java.lang.String getToHospital() {
      java.lang.Object ref = toHospital_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        toHospital_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string toHospital = 9;</code>
     */
    public com.google.protobuf.ByteString
        getToHospitalBytes() {
      java.lang.Object ref = toHospital_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        toHospital_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string toHospital = 9;</code>
     */
    public Builder setToHospital(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      toHospital_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string toHospital = 9;</code>
     */
    public Builder clearToHospital() {
      
      toHospital_ = getDefaultInstance().getToHospital();
      onChanged();
      return this;
    }
    /**
     * <code>string toHospital = 9;</code>
     */
    public Builder setToHospitalBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      toHospital_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object toDept_ = "";
    /**
     * <code>string toDept = 10;</code>
     */
    public java.lang.String getToDept() {
      java.lang.Object ref = toDept_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        toDept_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string toDept = 10;</code>
     */
    public com.google.protobuf.ByteString
        getToDeptBytes() {
      java.lang.Object ref = toDept_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        toDept_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string toDept = 10;</code>
     */
    public Builder setToDept(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      toDept_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string toDept = 10;</code>
     */
    public Builder clearToDept() {
      
      toDept_ = getDefaultInstance().getToDept();
      onChanged();
      return this;
    }
    /**
     * <code>string toDept = 10;</code>
     */
    public Builder setToDeptBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      toDept_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object toDoctor_ = "";
    /**
     * <code>string toDoctor = 11;</code>
     */
    public java.lang.String getToDoctor() {
      java.lang.Object ref = toDoctor_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        toDoctor_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string toDoctor = 11;</code>
     */
    public com.google.protobuf.ByteString
        getToDoctorBytes() {
      java.lang.Object ref = toDoctor_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        toDoctor_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string toDoctor = 11;</code>
     */
    public Builder setToDoctor(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      toDoctor_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string toDoctor = 11;</code>
     */
    public Builder clearToDoctor() {
      
      toDoctor_ = getDefaultInstance().getToDoctor();
      onChanged();
      return this;
    }
    /**
     * <code>string toDoctor = 11;</code>
     */
    public Builder setToDoctorBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      toDoctor_ = value;
      onChanged();
      return this;
    }

    private int patientId_ ;
    /**
     * <code>int32 patientId = 12;</code>
     */
    public int getPatientId() {
      return patientId_;
    }
    /**
     * <code>int32 patientId = 12;</code>
     */
    public Builder setPatientId(int value) {
      
      patientId_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 patientId = 12;</code>
     */
    public Builder clearPatientId() {
      
      patientId_ = 0;
      onChanged();
      return this;
    }

    private long attendingDate_ ;
    /**
     * <code>int64 attendingDate = 13;</code>
     */
    public long getAttendingDate() {
      return attendingDate_;
    }
    /**
     * <code>int64 attendingDate = 13;</code>
     */
    public Builder setAttendingDate(long value) {
      
      attendingDate_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int64 attendingDate = 13;</code>
     */
    public Builder clearAttendingDate() {
      
      attendingDate_ = 0L;
      onChanged();
      return this;
    }

    private java.lang.Object fromHospital_ = "";
    /**
     * <code>string fromHospital = 14;</code>
     */
    public java.lang.String getFromHospital() {
      java.lang.Object ref = fromHospital_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        fromHospital_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string fromHospital = 14;</code>
     */
    public com.google.protobuf.ByteString
        getFromHospitalBytes() {
      java.lang.Object ref = fromHospital_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        fromHospital_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string fromHospital = 14;</code>
     */
    public Builder setFromHospital(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      fromHospital_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string fromHospital = 14;</code>
     */
    public Builder clearFromHospital() {
      
      fromHospital_ = getDefaultInstance().getFromHospital();
      onChanged();
      return this;
    }
    /**
     * <code>string fromHospital = 14;</code>
     */
    public Builder setFromHospitalBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      fromHospital_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object fromDept_ = "";
    /**
     * <code>string fromDept = 15;</code>
     */
    public java.lang.String getFromDept() {
      java.lang.Object ref = fromDept_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        fromDept_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string fromDept = 15;</code>
     */
    public com.google.protobuf.ByteString
        getFromDeptBytes() {
      java.lang.Object ref = fromDept_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        fromDept_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string fromDept = 15;</code>
     */
    public Builder setFromDept(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      fromDept_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string fromDept = 15;</code>
     */
    public Builder clearFromDept() {
      
      fromDept_ = getDefaultInstance().getFromDept();
      onChanged();
      return this;
    }
    /**
     * <code>string fromDept = 15;</code>
     */
    public Builder setFromDeptBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      fromDept_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object fromDoctor_ = "";
    /**
     * <code>string fromDoctor = 16;</code>
     */
    public java.lang.String getFromDoctor() {
      java.lang.Object ref = fromDoctor_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        fromDoctor_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string fromDoctor = 16;</code>
     */
    public com.google.protobuf.ByteString
        getFromDoctorBytes() {
      java.lang.Object ref = fromDoctor_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        fromDoctor_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string fromDoctor = 16;</code>
     */
    public Builder setFromDoctor(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      fromDoctor_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string fromDoctor = 16;</code>
     */
    public Builder clearFromDoctor() {
      
      fromDoctor_ = getDefaultInstance().getFromDoctor();
      onChanged();
      return this;
    }
    /**
     * <code>string fromDoctor = 16;</code>
     */
    public Builder setFromDoctorBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      fromDoctor_ = value;
      onChanged();
      return this;
    }

    private int attendingStatus_ ;
    /**
     * <code>int32 attendingStatus = 17;</code>
     */
    public int getAttendingStatus() {
      return attendingStatus_;
    }
    /**
     * <code>int32 attendingStatus = 17;</code>
     */
    public Builder setAttendingStatus(int value) {
      
      attendingStatus_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 attendingStatus = 17;</code>
     */
    public Builder clearAttendingStatus() {
      
      attendingStatus_ = 0;
      onChanged();
      return this;
    }

    private int orderId_ ;
    /**
     * <code>int32 orderId = 18;</code>
     */
    public int getOrderId() {
      return orderId_;
    }
    /**
     * <code>int32 orderId = 18;</code>
     */
    public Builder setOrderId(int value) {
      
      orderId_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 orderId = 18;</code>
     */
    public Builder clearOrderId() {
      
      orderId_ = 0;
      onChanged();
      return this;
    }

    private int fromDoctorId_ ;
    /**
     * <code>int32 fromDoctorId = 19;</code>
     */
    public int getFromDoctorId() {
      return fromDoctorId_;
    }
    /**
     * <code>int32 fromDoctorId = 19;</code>
     */
    public Builder setFromDoctorId(int value) {
      
      fromDoctorId_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 fromDoctorId = 19;</code>
     */
    public Builder clearFromDoctorId() {
      
      fromDoctorId_ = 0;
      onChanged();
      return this;
    }

    private int toDoctorId_ ;
    /**
     * <code>int32 toDoctorId = 20;</code>
     */
    public int getToDoctorId() {
      return toDoctorId_;
    }
    /**
     * <code>int32 toDoctorId = 20;</code>
     */
    public Builder setToDoctorId(int value) {
      
      toDoctorId_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 toDoctorId = 20;</code>
     */
    public Builder clearToDoctorId() {
      
      toDoctorId_ = 0;
      onChanged();
      return this;
    }

    private int userId_ ;
    /**
     * <code>int32 userId = 21;</code>
     */
    public int getUserId() {
      return userId_;
    }
    /**
     * <code>int32 userId = 21;</code>
     */
    public Builder setUserId(int value) {
      
      userId_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 userId = 21;</code>
     */
    public Builder clearUserId() {
      
      userId_ = 0;
      onChanged();
      return this;
    }

    private long createTime_ ;
    /**
     * <code>int64 createTime = 22;</code>
     */
    public long getCreateTime() {
      return createTime_;
    }
    /**
     * <code>int64 createTime = 22;</code>
     */
    public Builder setCreateTime(long value) {
      
      createTime_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int64 createTime = 22;</code>
     */
    public Builder clearCreateTime() {
      
      createTime_ = 0L;
      onChanged();
      return this;
    }

    private double amount_ ;
    /**
     * <code>double amount = 23;</code>
     */
    public double getAmount() {
      return amount_;
    }
    /**
     * <code>double amount = 23;</code>
     */
    public Builder setAmount(double value) {
      
      amount_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>double amount = 23;</code>
     */
    public Builder clearAmount() {
      
      amount_ = 0D;
      onChanged();
      return this;
    }

    private int paymentStatus_ ;
    /**
     * <code>int32 paymentStatus = 24;</code>
     */
    public int getPaymentStatus() {
      return paymentStatus_;
    }
    /**
     * <code>int32 paymentStatus = 24;</code>
     */
    public Builder setPaymentStatus(int value) {
      
      paymentStatus_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 paymentStatus = 24;</code>
     */
    public Builder clearPaymentStatus() {
      
      paymentStatus_ = 0;
      onChanged();
      return this;
    }

    private int orderStatus_ ;
    /**
     * <code>int32 orderStatus = 25;</code>
     */
    public int getOrderStatus() {
      return orderStatus_;
    }
    /**
     * <code>int32 orderStatus = 25;</code>
     */
    public Builder setOrderStatus(int value) {
      
      orderStatus_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 orderStatus = 25;</code>
     */
    public Builder clearOrderStatus() {
      
      orderStatus_ = 0;
      onChanged();
      return this;
    }

    private java.lang.Object orderStatusString_ = "";
    /**
     * <code>string orderStatusString = 26;</code>
     */
    public java.lang.String getOrderStatusString() {
      java.lang.Object ref = orderStatusString_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        orderStatusString_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string orderStatusString = 26;</code>
     */
    public com.google.protobuf.ByteString
        getOrderStatusStringBytes() {
      java.lang.Object ref = orderStatusString_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        orderStatusString_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string orderStatusString = 26;</code>
     */
    public Builder setOrderStatusString(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      orderStatusString_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string orderStatusString = 26;</code>
     */
    public Builder clearOrderStatusString() {
      
      orderStatusString_ = getDefaultInstance().getOrderStatusString();
      onChanged();
      return this;
    }
    /**
     * <code>string orderStatusString = 26;</code>
     */
    public Builder setOrderStatusStringBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      orderStatusString_ = value;
      onChanged();
      return this;
    }
    public final Builder setUnknownFields(
        final com.google.protobuf.UnknownFieldSet unknownFields) {
      return this;
    }

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


    // @@protoc_insertion_point(builder_scope:com.ywt.gapi.order.AttendingOrderDetail)
  }

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

  public static com.ywt.gapi.order.AttendingOrderDetail getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

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

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

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

  public com.ywt.gapi.order.AttendingOrderDetail getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}

