// 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.Report}
 */
public  final class Report extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:com.ywt.gapi.order.Report)
    ReportOrBuilder {
  // Use Report.newBuilder() to construct.
  private Report(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private Report() {
    reportId_ = 0;
    orderId_ = 0;
    orderNo_ = "";
    sessionId_ = "";
    userId_ = 0;
    fromDoctorId_ = 0;
    toDoctorId_ = 0;
    createTime_ = 0L;
    fileKey_ = "";
    fileSaveMode_ = 0;
    total_ = 0;
    pages_ = 0;
    suggestion_ = "";
    toDoctorHospital_ = "";
    toDoctorName_ = "";
    toDoctorTitle_ = "";
    fromDoctorHospital_ = "";
    fromDoctorName_ = "";
  }

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
  }
  private Report(
      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 8: {

            reportId_ = input.readInt32();
            break;
          }
          case 16: {

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

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

            sessionId_ = s;
            break;
          }
          case 40: {

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

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

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

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

            fileKey_ = s;
            break;
          }
          case 80: {

            fileSaveMode_ = input.readInt32();
            break;
          }
          case 88: {

            total_ = input.readInt32();
            break;
          }
          case 96: {

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

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

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

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

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

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

            fromDoctorName_ = 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_Report_descriptor;
  }

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

  public static final int REPORTID_FIELD_NUMBER = 1;
  private int reportId_;
  /**
   * <code>int32 reportId = 1;</code>
   */
  public int getReportId() {
    return reportId_;
  }

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

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

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

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

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

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

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

  public static final int FILESAVEMODE_FIELD_NUMBER = 10;
  private int fileSaveMode_;
  /**
   * <code>int32 fileSaveMode = 10;</code>
   */
  public int getFileSaveMode() {
    return fileSaveMode_;
  }

  public static final int TOTAL_FIELD_NUMBER = 11;
  private int total_;
  /**
   * <code>int32 total = 11;</code>
   */
  public int getTotal() {
    return total_;
  }

  public static final int PAGES_FIELD_NUMBER = 12;
  private int pages_;
  /**
   * <code>int32 pages = 12;</code>
   */
  public int getPages() {
    return pages_;
  }

  public static final int SUGGESTION_FIELD_NUMBER = 13;
  private volatile java.lang.Object suggestion_;
  /**
   * <code>string suggestion = 13;</code>
   */
  public java.lang.String getSuggestion() {
    java.lang.Object ref = suggestion_;
    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();
      suggestion_ = s;
      return s;
    }
  }
  /**
   * <code>string suggestion = 13;</code>
   */
  public com.google.protobuf.ByteString
      getSuggestionBytes() {
    java.lang.Object ref = suggestion_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      suggestion_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

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

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

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

  public static final int FROMDOCTORHOSPITAL_FIELD_NUMBER = 17;
  private volatile java.lang.Object fromDoctorHospital_;
  /**
   * <code>string fromDoctorHospital = 17;</code>
   */
  public java.lang.String getFromDoctorHospital() {
    java.lang.Object ref = fromDoctorHospital_;
    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();
      fromDoctorHospital_ = s;
      return s;
    }
  }
  /**
   * <code>string fromDoctorHospital = 17;</code>
   */
  public com.google.protobuf.ByteString
      getFromDoctorHospitalBytes() {
    java.lang.Object ref = fromDoctorHospital_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      fromDoctorHospital_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int FROMDOCTORNAME_FIELD_NUMBER = 18;
  private volatile java.lang.Object fromDoctorName_;
  /**
   * <code>string fromDoctorName = 18;</code>
   */
  public java.lang.String getFromDoctorName() {
    java.lang.Object ref = fromDoctorName_;
    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();
      fromDoctorName_ = s;
      return s;
    }
  }
  /**
   * <code>string fromDoctorName = 18;</code>
   */
  public com.google.protobuf.ByteString
      getFromDoctorNameBytes() {
    java.lang.Object ref = fromDoctorName_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      fromDoctorName_ = 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 (reportId_ != 0) {
      output.writeInt32(1, reportId_);
    }
    if (orderId_ != 0) {
      output.writeInt32(2, orderId_);
    }
    if (!getOrderNoBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, orderNo_);
    }
    if (!getSessionIdBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 4, sessionId_);
    }
    if (userId_ != 0) {
      output.writeInt32(5, userId_);
    }
    if (fromDoctorId_ != 0) {
      output.writeInt32(6, fromDoctorId_);
    }
    if (toDoctorId_ != 0) {
      output.writeInt32(7, toDoctorId_);
    }
    if (createTime_ != 0L) {
      output.writeInt64(8, createTime_);
    }
    if (!getFileKeyBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 9, fileKey_);
    }
    if (fileSaveMode_ != 0) {
      output.writeInt32(10, fileSaveMode_);
    }
    if (total_ != 0) {
      output.writeInt32(11, total_);
    }
    if (pages_ != 0) {
      output.writeInt32(12, pages_);
    }
    if (!getSuggestionBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 13, suggestion_);
    }
    if (!getToDoctorHospitalBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 14, toDoctorHospital_);
    }
    if (!getToDoctorNameBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 15, toDoctorName_);
    }
    if (!getToDoctorTitleBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 16, toDoctorTitle_);
    }
    if (!getFromDoctorHospitalBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 17, fromDoctorHospital_);
    }
    if (!getFromDoctorNameBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 18, fromDoctorName_);
    }
  }

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

    size = 0;
    if (reportId_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(1, reportId_);
    }
    if (orderId_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(2, orderId_);
    }
    if (!getOrderNoBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, orderNo_);
    }
    if (!getSessionIdBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, sessionId_);
    }
    if (userId_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(5, userId_);
    }
    if (fromDoctorId_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(6, fromDoctorId_);
    }
    if (toDoctorId_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(7, toDoctorId_);
    }
    if (createTime_ != 0L) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt64Size(8, createTime_);
    }
    if (!getFileKeyBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, fileKey_);
    }
    if (fileSaveMode_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(10, fileSaveMode_);
    }
    if (total_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(11, total_);
    }
    if (pages_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(12, pages_);
    }
    if (!getSuggestionBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, suggestion_);
    }
    if (!getToDoctorHospitalBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, toDoctorHospital_);
    }
    if (!getToDoctorNameBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, toDoctorName_);
    }
    if (!getToDoctorTitleBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(16, toDoctorTitle_);
    }
    if (!getFromDoctorHospitalBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(17, fromDoctorHospital_);
    }
    if (!getFromDoctorNameBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, fromDoctorName_);
    }
    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.Report)) {
      return super.equals(obj);
    }
    com.ywt.gapi.order.Report other = (com.ywt.gapi.order.Report) obj;

    boolean result = true;
    result = result && (getReportId()
        == other.getReportId());
    result = result && (getOrderId()
        == other.getOrderId());
    result = result && getOrderNo()
        .equals(other.getOrderNo());
    result = result && getSessionId()
        .equals(other.getSessionId());
    result = result && (getUserId()
        == other.getUserId());
    result = result && (getFromDoctorId()
        == other.getFromDoctorId());
    result = result && (getToDoctorId()
        == other.getToDoctorId());
    result = result && (getCreateTime()
        == other.getCreateTime());
    result = result && getFileKey()
        .equals(other.getFileKey());
    result = result && (getFileSaveMode()
        == other.getFileSaveMode());
    result = result && (getTotal()
        == other.getTotal());
    result = result && (getPages()
        == other.getPages());
    result = result && getSuggestion()
        .equals(other.getSuggestion());
    result = result && getToDoctorHospital()
        .equals(other.getToDoctorHospital());
    result = result && getToDoctorName()
        .equals(other.getToDoctorName());
    result = result && getToDoctorTitle()
        .equals(other.getToDoctorTitle());
    result = result && getFromDoctorHospital()
        .equals(other.getFromDoctorHospital());
    result = result && getFromDoctorName()
        .equals(other.getFromDoctorName());
    return result;
  }

  @java.lang.Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    hash = (37 * hash) + REPORTID_FIELD_NUMBER;
    hash = (53 * hash) + getReportId();
    hash = (37 * hash) + ORDERID_FIELD_NUMBER;
    hash = (53 * hash) + getOrderId();
    hash = (37 * hash) + ORDERNO_FIELD_NUMBER;
    hash = (53 * hash) + getOrderNo().hashCode();
    hash = (37 * hash) + SESSIONID_FIELD_NUMBER;
    hash = (53 * hash) + getSessionId().hashCode();
    hash = (37 * hash) + USERID_FIELD_NUMBER;
    hash = (53 * hash) + getUserId();
    hash = (37 * hash) + FROMDOCTORID_FIELD_NUMBER;
    hash = (53 * hash) + getFromDoctorId();
    hash = (37 * hash) + TODOCTORID_FIELD_NUMBER;
    hash = (53 * hash) + getToDoctorId();
    hash = (37 * hash) + CREATETIME_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
        getCreateTime());
    hash = (37 * hash) + FILEKEY_FIELD_NUMBER;
    hash = (53 * hash) + getFileKey().hashCode();
    hash = (37 * hash) + FILESAVEMODE_FIELD_NUMBER;
    hash = (53 * hash) + getFileSaveMode();
    hash = (37 * hash) + TOTAL_FIELD_NUMBER;
    hash = (53 * hash) + getTotal();
    hash = (37 * hash) + PAGES_FIELD_NUMBER;
    hash = (53 * hash) + getPages();
    hash = (37 * hash) + SUGGESTION_FIELD_NUMBER;
    hash = (53 * hash) + getSuggestion().hashCode();
    hash = (37 * hash) + TODOCTORHOSPITAL_FIELD_NUMBER;
    hash = (53 * hash) + getToDoctorHospital().hashCode();
    hash = (37 * hash) + TODOCTORNAME_FIELD_NUMBER;
    hash = (53 * hash) + getToDoctorName().hashCode();
    hash = (37 * hash) + TODOCTORTITLE_FIELD_NUMBER;
    hash = (53 * hash) + getToDoctorTitle().hashCode();
    hash = (37 * hash) + FROMDOCTORHOSPITAL_FIELD_NUMBER;
    hash = (53 * hash) + getFromDoctorHospital().hashCode();
    hash = (37 * hash) + FROMDOCTORNAME_FIELD_NUMBER;
    hash = (53 * hash) + getFromDoctorName().hashCode();
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static com.ywt.gapi.order.Report parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.ywt.gapi.order.Report 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.Report parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.ywt.gapi.order.Report 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.Report parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.ywt.gapi.order.Report parseFrom(
      byte[] data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.ywt.gapi.order.Report parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.ywt.gapi.order.Report 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.Report parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input);
  }
  public static com.ywt.gapi.order.Report 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.Report parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.ywt.gapi.order.Report 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.Report 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.Report}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
      // @@protoc_insertion_point(builder_implements:com.ywt.gapi.order.Report)
      com.ywt.gapi.order.ReportOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.ywt.gapi.order.OrderOuterClass.internal_static_com_ywt_gapi_order_Report_descriptor;
    }

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

    // Construct using com.ywt.gapi.order.Report.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();
      reportId_ = 0;

      orderId_ = 0;

      orderNo_ = "";

      sessionId_ = "";

      userId_ = 0;

      fromDoctorId_ = 0;

      toDoctorId_ = 0;

      createTime_ = 0L;

      fileKey_ = "";

      fileSaveMode_ = 0;

      total_ = 0;

      pages_ = 0;

      suggestion_ = "";

      toDoctorHospital_ = "";

      toDoctorName_ = "";

      toDoctorTitle_ = "";

      fromDoctorHospital_ = "";

      fromDoctorName_ = "";

      return this;
    }

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

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

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

    public com.ywt.gapi.order.Report buildPartial() {
      com.ywt.gapi.order.Report result = new com.ywt.gapi.order.Report(this);
      result.reportId_ = reportId_;
      result.orderId_ = orderId_;
      result.orderNo_ = orderNo_;
      result.sessionId_ = sessionId_;
      result.userId_ = userId_;
      result.fromDoctorId_ = fromDoctorId_;
      result.toDoctorId_ = toDoctorId_;
      result.createTime_ = createTime_;
      result.fileKey_ = fileKey_;
      result.fileSaveMode_ = fileSaveMode_;
      result.total_ = total_;
      result.pages_ = pages_;
      result.suggestion_ = suggestion_;
      result.toDoctorHospital_ = toDoctorHospital_;
      result.toDoctorName_ = toDoctorName_;
      result.toDoctorTitle_ = toDoctorTitle_;
      result.fromDoctorHospital_ = fromDoctorHospital_;
      result.fromDoctorName_ = fromDoctorName_;
      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.Report) {
        return mergeFrom((com.ywt.gapi.order.Report)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(com.ywt.gapi.order.Report other) {
      if (other == com.ywt.gapi.order.Report.getDefaultInstance()) return this;
      if (other.getReportId() != 0) {
        setReportId(other.getReportId());
      }
      if (other.getOrderId() != 0) {
        setOrderId(other.getOrderId());
      }
      if (!other.getOrderNo().isEmpty()) {
        orderNo_ = other.orderNo_;
        onChanged();
      }
      if (!other.getSessionId().isEmpty()) {
        sessionId_ = other.sessionId_;
        onChanged();
      }
      if (other.getUserId() != 0) {
        setUserId(other.getUserId());
      }
      if (other.getFromDoctorId() != 0) {
        setFromDoctorId(other.getFromDoctorId());
      }
      if (other.getToDoctorId() != 0) {
        setToDoctorId(other.getToDoctorId());
      }
      if (other.getCreateTime() != 0L) {
        setCreateTime(other.getCreateTime());
      }
      if (!other.getFileKey().isEmpty()) {
        fileKey_ = other.fileKey_;
        onChanged();
      }
      if (other.getFileSaveMode() != 0) {
        setFileSaveMode(other.getFileSaveMode());
      }
      if (other.getTotal() != 0) {
        setTotal(other.getTotal());
      }
      if (other.getPages() != 0) {
        setPages(other.getPages());
      }
      if (!other.getSuggestion().isEmpty()) {
        suggestion_ = other.suggestion_;
        onChanged();
      }
      if (!other.getToDoctorHospital().isEmpty()) {
        toDoctorHospital_ = other.toDoctorHospital_;
        onChanged();
      }
      if (!other.getToDoctorName().isEmpty()) {
        toDoctorName_ = other.toDoctorName_;
        onChanged();
      }
      if (!other.getToDoctorTitle().isEmpty()) {
        toDoctorTitle_ = other.toDoctorTitle_;
        onChanged();
      }
      if (!other.getFromDoctorHospital().isEmpty()) {
        fromDoctorHospital_ = other.fromDoctorHospital_;
        onChanged();
      }
      if (!other.getFromDoctorName().isEmpty()) {
        fromDoctorName_ = other.fromDoctorName_;
        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.Report parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (com.ywt.gapi.order.Report) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }

    private int reportId_ ;
    /**
     * <code>int32 reportId = 1;</code>
     */
    public int getReportId() {
      return reportId_;
    }
    /**
     * <code>int32 reportId = 1;</code>
     */
    public Builder setReportId(int value) {
      
      reportId_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 reportId = 1;</code>
     */
    public Builder clearReportId() {
      
      reportId_ = 0;
      onChanged();
      return this;
    }

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

    private java.lang.Object orderNo_ = "";
    /**
     * <code>string orderNo = 3;</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 = 3;</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 = 3;</code>
     */
    public Builder setOrderNo(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      orderNo_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string orderNo = 3;</code>
     */
    public Builder clearOrderNo() {
      
      orderNo_ = getDefaultInstance().getOrderNo();
      onChanged();
      return this;
    }
    /**
     * <code>string orderNo = 3;</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 sessionId_ = "";
    /**
     * <code>string sessionId = 4;</code>
     */
    public java.lang.String getSessionId() {
      java.lang.Object ref = sessionId_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        sessionId_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string sessionId = 4;</code>
     */
    public com.google.protobuf.ByteString
        getSessionIdBytes() {
      java.lang.Object ref = sessionId_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        sessionId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string sessionId = 4;</code>
     */
    public Builder setSessionId(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      sessionId_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string sessionId = 4;</code>
     */
    public Builder clearSessionId() {
      
      sessionId_ = getDefaultInstance().getSessionId();
      onChanged();
      return this;
    }
    /**
     * <code>string sessionId = 4;</code>
     */
    public Builder setSessionIdBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      sessionId_ = value;
      onChanged();
      return this;
    }

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

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

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

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

    private java.lang.Object fileKey_ = "";
    /**
     * <code>string fileKey = 9;</code>
     */
    public java.lang.String getFileKey() {
      java.lang.Object ref = fileKey_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        fileKey_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string fileKey = 9;</code>
     */
    public com.google.protobuf.ByteString
        getFileKeyBytes() {
      java.lang.Object ref = fileKey_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        fileKey_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string fileKey = 9;</code>
     */
    public Builder setFileKey(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      fileKey_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string fileKey = 9;</code>
     */
    public Builder clearFileKey() {
      
      fileKey_ = getDefaultInstance().getFileKey();
      onChanged();
      return this;
    }
    /**
     * <code>string fileKey = 9;</code>
     */
    public Builder setFileKeyBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      fileKey_ = value;
      onChanged();
      return this;
    }

    private int fileSaveMode_ ;
    /**
     * <code>int32 fileSaveMode = 10;</code>
     */
    public int getFileSaveMode() {
      return fileSaveMode_;
    }
    /**
     * <code>int32 fileSaveMode = 10;</code>
     */
    public Builder setFileSaveMode(int value) {
      
      fileSaveMode_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 fileSaveMode = 10;</code>
     */
    public Builder clearFileSaveMode() {
      
      fileSaveMode_ = 0;
      onChanged();
      return this;
    }

    private int total_ ;
    /**
     * <code>int32 total = 11;</code>
     */
    public int getTotal() {
      return total_;
    }
    /**
     * <code>int32 total = 11;</code>
     */
    public Builder setTotal(int value) {
      
      total_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 total = 11;</code>
     */
    public Builder clearTotal() {
      
      total_ = 0;
      onChanged();
      return this;
    }

    private int pages_ ;
    /**
     * <code>int32 pages = 12;</code>
     */
    public int getPages() {
      return pages_;
    }
    /**
     * <code>int32 pages = 12;</code>
     */
    public Builder setPages(int value) {
      
      pages_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 pages = 12;</code>
     */
    public Builder clearPages() {
      
      pages_ = 0;
      onChanged();
      return this;
    }

    private java.lang.Object suggestion_ = "";
    /**
     * <code>string suggestion = 13;</code>
     */
    public java.lang.String getSuggestion() {
      java.lang.Object ref = suggestion_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        suggestion_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string suggestion = 13;</code>
     */
    public com.google.protobuf.ByteString
        getSuggestionBytes() {
      java.lang.Object ref = suggestion_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        suggestion_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string suggestion = 13;</code>
     */
    public Builder setSuggestion(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      suggestion_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string suggestion = 13;</code>
     */
    public Builder clearSuggestion() {
      
      suggestion_ = getDefaultInstance().getSuggestion();
      onChanged();
      return this;
    }
    /**
     * <code>string suggestion = 13;</code>
     */
    public Builder setSuggestionBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      suggestion_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object toDoctorHospital_ = "";
    /**
     * <code>string toDoctorHospital = 14;</code>
     */
    public java.lang.String getToDoctorHospital() {
      java.lang.Object ref = toDoctorHospital_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        toDoctorHospital_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string toDoctorHospital = 14;</code>
     */
    public com.google.protobuf.ByteString
        getToDoctorHospitalBytes() {
      java.lang.Object ref = toDoctorHospital_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        toDoctorHospital_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string toDoctorHospital = 14;</code>
     */
    public Builder setToDoctorHospital(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      toDoctorHospital_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string toDoctorHospital = 14;</code>
     */
    public Builder clearToDoctorHospital() {
      
      toDoctorHospital_ = getDefaultInstance().getToDoctorHospital();
      onChanged();
      return this;
    }
    /**
     * <code>string toDoctorHospital = 14;</code>
     */
    public Builder setToDoctorHospitalBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      toDoctorHospital_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object toDoctorName_ = "";
    /**
     * <code>string toDoctorName = 15;</code>
     */
    public java.lang.String getToDoctorName() {
      java.lang.Object ref = toDoctorName_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        toDoctorName_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string toDoctorName = 15;</code>
     */
    public com.google.protobuf.ByteString
        getToDoctorNameBytes() {
      java.lang.Object ref = toDoctorName_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        toDoctorName_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string toDoctorName = 15;</code>
     */
    public Builder setToDoctorName(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      toDoctorName_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string toDoctorName = 15;</code>
     */
    public Builder clearToDoctorName() {
      
      toDoctorName_ = getDefaultInstance().getToDoctorName();
      onChanged();
      return this;
    }
    /**
     * <code>string toDoctorName = 15;</code>
     */
    public Builder setToDoctorNameBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      toDoctorName_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object toDoctorTitle_ = "";
    /**
     * <code>string toDoctorTitle = 16;</code>
     */
    public java.lang.String getToDoctorTitle() {
      java.lang.Object ref = toDoctorTitle_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        toDoctorTitle_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string toDoctorTitle = 16;</code>
     */
    public com.google.protobuf.ByteString
        getToDoctorTitleBytes() {
      java.lang.Object ref = toDoctorTitle_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        toDoctorTitle_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string toDoctorTitle = 16;</code>
     */
    public Builder setToDoctorTitle(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      toDoctorTitle_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string toDoctorTitle = 16;</code>
     */
    public Builder clearToDoctorTitle() {
      
      toDoctorTitle_ = getDefaultInstance().getToDoctorTitle();
      onChanged();
      return this;
    }
    /**
     * <code>string toDoctorTitle = 16;</code>
     */
    public Builder setToDoctorTitleBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      toDoctorTitle_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object fromDoctorHospital_ = "";
    /**
     * <code>string fromDoctorHospital = 17;</code>
     */
    public java.lang.String getFromDoctorHospital() {
      java.lang.Object ref = fromDoctorHospital_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        fromDoctorHospital_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string fromDoctorHospital = 17;</code>
     */
    public com.google.protobuf.ByteString
        getFromDoctorHospitalBytes() {
      java.lang.Object ref = fromDoctorHospital_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        fromDoctorHospital_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string fromDoctorHospital = 17;</code>
     */
    public Builder setFromDoctorHospital(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      fromDoctorHospital_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string fromDoctorHospital = 17;</code>
     */
    public Builder clearFromDoctorHospital() {
      
      fromDoctorHospital_ = getDefaultInstance().getFromDoctorHospital();
      onChanged();
      return this;
    }
    /**
     * <code>string fromDoctorHospital = 17;</code>
     */
    public Builder setFromDoctorHospitalBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      fromDoctorHospital_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object fromDoctorName_ = "";
    /**
     * <code>string fromDoctorName = 18;</code>
     */
    public java.lang.String getFromDoctorName() {
      java.lang.Object ref = fromDoctorName_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        fromDoctorName_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string fromDoctorName = 18;</code>
     */
    public com.google.protobuf.ByteString
        getFromDoctorNameBytes() {
      java.lang.Object ref = fromDoctorName_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        fromDoctorName_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string fromDoctorName = 18;</code>
     */
    public Builder setFromDoctorName(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      fromDoctorName_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string fromDoctorName = 18;</code>
     */
    public Builder clearFromDoctorName() {
      
      fromDoctorName_ = getDefaultInstance().getFromDoctorName();
      onChanged();
      return this;
    }
    /**
     * <code>string fromDoctorName = 18;</code>
     */
    public Builder setFromDoctorNameBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      fromDoctorName_ = 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.Report)
  }

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

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

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

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

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

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

}

