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

package com.ywt.gapi.order;

/**
 * Protobuf type {@code com.ywt.gapi.order.GetAdditionalRecordResponse}
 */
public  final class GetAdditionalRecordResponse extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:com.ywt.gapi.order.GetAdditionalRecordResponse)
    GetAdditionalRecordResponseOrBuilder {
  // Use GetAdditionalRecordResponse.newBuilder() to construct.
  private GetAdditionalRecordResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private GetAdditionalRecordResponse() {
    code_ = 0;
    msg_ = "";
    acceptDoctorId_ = 0;
    acceptTime_ = "";
    returnTime_ = "";
    acceptDoctorName_ = "";
    acceptDoctorDept_ = "";
    acceptDoctorHospital_ = "";
    acceptDoctorTitle_ = "";
  }

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

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

            msg_ = s;
            break;
          }
          case 24: {

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

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

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

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

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

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

            acceptDoctorTitle_ = 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_GetAdditionalRecordResponse_descriptor;
  }

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

  public static final int CODE_FIELD_NUMBER = 1;
  private int code_;
  /**
   * <code>int32 code = 1;</code>
   */
  public int getCode() {
    return code_;
  }

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

  public static final int ACCEPTDOCTORID_FIELD_NUMBER = 3;
  private int acceptDoctorId_;
  /**
   * <pre>
   * 接诊医生 id
   * </pre>
   *
   * <code>int32 acceptDoctorId = 3;</code>
   */
  public int getAcceptDoctorId() {
    return acceptDoctorId_;
  }

  public static final int ACCEPTTIME_FIELD_NUMBER = 4;
  private volatile java.lang.Object acceptTime_;
  /**
   * <pre>
   * 接诊时间
   * </pre>
   *
   * <code>string acceptTime = 4;</code>
   */
  public java.lang.String getAcceptTime() {
    java.lang.Object ref = acceptTime_;
    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();
      acceptTime_ = s;
      return s;
    }
  }
  /**
   * <pre>
   * 接诊时间
   * </pre>
   *
   * <code>string acceptTime = 4;</code>
   */
  public com.google.protobuf.ByteString
      getAcceptTimeBytes() {
    java.lang.Object ref = acceptTime_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      acceptTime_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int RETURNTIME_FIELD_NUMBER = 5;
  private volatile java.lang.Object returnTime_;
  /**
   * <pre>
   * 返回时间
   * </pre>
   *
   * <code>string returnTime = 5;</code>
   */
  public java.lang.String getReturnTime() {
    java.lang.Object ref = returnTime_;
    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();
      returnTime_ = s;
      return s;
    }
  }
  /**
   * <pre>
   * 返回时间
   * </pre>
   *
   * <code>string returnTime = 5;</code>
   */
  public com.google.protobuf.ByteString
      getReturnTimeBytes() {
    java.lang.Object ref = returnTime_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      returnTime_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int ACCEPTDOCTORNAME_FIELD_NUMBER = 6;
  private volatile java.lang.Object acceptDoctorName_;
  /**
   * <code>string acceptDoctorName = 6;</code>
   */
  public java.lang.String getAcceptDoctorName() {
    java.lang.Object ref = acceptDoctorName_;
    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();
      acceptDoctorName_ = s;
      return s;
    }
  }
  /**
   * <code>string acceptDoctorName = 6;</code>
   */
  public com.google.protobuf.ByteString
      getAcceptDoctorNameBytes() {
    java.lang.Object ref = acceptDoctorName_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      acceptDoctorName_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int ACCEPTDOCTORDEPT_FIELD_NUMBER = 7;
  private volatile java.lang.Object acceptDoctorDept_;
  /**
   * <code>string acceptDoctorDept = 7;</code>
   */
  public java.lang.String getAcceptDoctorDept() {
    java.lang.Object ref = acceptDoctorDept_;
    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();
      acceptDoctorDept_ = s;
      return s;
    }
  }
  /**
   * <code>string acceptDoctorDept = 7;</code>
   */
  public com.google.protobuf.ByteString
      getAcceptDoctorDeptBytes() {
    java.lang.Object ref = acceptDoctorDept_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      acceptDoctorDept_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

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

  public static final int ACCEPTDOCTORTITLE_FIELD_NUMBER = 9;
  private volatile java.lang.Object acceptDoctorTitle_;
  /**
   * <code>string acceptDoctorTitle = 9;</code>
   */
  public java.lang.String getAcceptDoctorTitle() {
    java.lang.Object ref = acceptDoctorTitle_;
    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();
      acceptDoctorTitle_ = s;
      return s;
    }
  }
  /**
   * <code>string acceptDoctorTitle = 9;</code>
   */
  public com.google.protobuf.ByteString
      getAcceptDoctorTitleBytes() {
    java.lang.Object ref = acceptDoctorTitle_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      acceptDoctorTitle_ = 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 (code_ != 0) {
      output.writeInt32(1, code_);
    }
    if (!getMsgBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, msg_);
    }
    if (acceptDoctorId_ != 0) {
      output.writeInt32(3, acceptDoctorId_);
    }
    if (!getAcceptTimeBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 4, acceptTime_);
    }
    if (!getReturnTimeBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 5, returnTime_);
    }
    if (!getAcceptDoctorNameBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 6, acceptDoctorName_);
    }
    if (!getAcceptDoctorDeptBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 7, acceptDoctorDept_);
    }
    if (!getAcceptDoctorHospitalBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 8, acceptDoctorHospital_);
    }
    if (!getAcceptDoctorTitleBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 9, acceptDoctorTitle_);
    }
  }

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

    size = 0;
    if (code_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(1, code_);
    }
    if (!getMsgBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, msg_);
    }
    if (acceptDoctorId_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(3, acceptDoctorId_);
    }
    if (!getAcceptTimeBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, acceptTime_);
    }
    if (!getReturnTimeBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, returnTime_);
    }
    if (!getAcceptDoctorNameBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, acceptDoctorName_);
    }
    if (!getAcceptDoctorDeptBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, acceptDoctorDept_);
    }
    if (!getAcceptDoctorHospitalBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, acceptDoctorHospital_);
    }
    if (!getAcceptDoctorTitleBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, acceptDoctorTitle_);
    }
    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.GetAdditionalRecordResponse)) {
      return super.equals(obj);
    }
    com.ywt.gapi.order.GetAdditionalRecordResponse other = (com.ywt.gapi.order.GetAdditionalRecordResponse) obj;

    boolean result = true;
    result = result && (getCode()
        == other.getCode());
    result = result && getMsg()
        .equals(other.getMsg());
    result = result && (getAcceptDoctorId()
        == other.getAcceptDoctorId());
    result = result && getAcceptTime()
        .equals(other.getAcceptTime());
    result = result && getReturnTime()
        .equals(other.getReturnTime());
    result = result && getAcceptDoctorName()
        .equals(other.getAcceptDoctorName());
    result = result && getAcceptDoctorDept()
        .equals(other.getAcceptDoctorDept());
    result = result && getAcceptDoctorHospital()
        .equals(other.getAcceptDoctorHospital());
    result = result && getAcceptDoctorTitle()
        .equals(other.getAcceptDoctorTitle());
    return result;
  }

  @java.lang.Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    hash = (37 * hash) + CODE_FIELD_NUMBER;
    hash = (53 * hash) + getCode();
    hash = (37 * hash) + MSG_FIELD_NUMBER;
    hash = (53 * hash) + getMsg().hashCode();
    hash = (37 * hash) + ACCEPTDOCTORID_FIELD_NUMBER;
    hash = (53 * hash) + getAcceptDoctorId();
    hash = (37 * hash) + ACCEPTTIME_FIELD_NUMBER;
    hash = (53 * hash) + getAcceptTime().hashCode();
    hash = (37 * hash) + RETURNTIME_FIELD_NUMBER;
    hash = (53 * hash) + getReturnTime().hashCode();
    hash = (37 * hash) + ACCEPTDOCTORNAME_FIELD_NUMBER;
    hash = (53 * hash) + getAcceptDoctorName().hashCode();
    hash = (37 * hash) + ACCEPTDOCTORDEPT_FIELD_NUMBER;
    hash = (53 * hash) + getAcceptDoctorDept().hashCode();
    hash = (37 * hash) + ACCEPTDOCTORHOSPITAL_FIELD_NUMBER;
    hash = (53 * hash) + getAcceptDoctorHospital().hashCode();
    hash = (37 * hash) + ACCEPTDOCTORTITLE_FIELD_NUMBER;
    hash = (53 * hash) + getAcceptDoctorTitle().hashCode();
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

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

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

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

      msg_ = "";

      acceptDoctorId_ = 0;

      acceptTime_ = "";

      returnTime_ = "";

      acceptDoctorName_ = "";

      acceptDoctorDept_ = "";

      acceptDoctorHospital_ = "";

      acceptDoctorTitle_ = "";

      return this;
    }

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

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

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

    public com.ywt.gapi.order.GetAdditionalRecordResponse buildPartial() {
      com.ywt.gapi.order.GetAdditionalRecordResponse result = new com.ywt.gapi.order.GetAdditionalRecordResponse(this);
      result.code_ = code_;
      result.msg_ = msg_;
      result.acceptDoctorId_ = acceptDoctorId_;
      result.acceptTime_ = acceptTime_;
      result.returnTime_ = returnTime_;
      result.acceptDoctorName_ = acceptDoctorName_;
      result.acceptDoctorDept_ = acceptDoctorDept_;
      result.acceptDoctorHospital_ = acceptDoctorHospital_;
      result.acceptDoctorTitle_ = acceptDoctorTitle_;
      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.GetAdditionalRecordResponse) {
        return mergeFrom((com.ywt.gapi.order.GetAdditionalRecordResponse)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(com.ywt.gapi.order.GetAdditionalRecordResponse other) {
      if (other == com.ywt.gapi.order.GetAdditionalRecordResponse.getDefaultInstance()) return this;
      if (other.getCode() != 0) {
        setCode(other.getCode());
      }
      if (!other.getMsg().isEmpty()) {
        msg_ = other.msg_;
        onChanged();
      }
      if (other.getAcceptDoctorId() != 0) {
        setAcceptDoctorId(other.getAcceptDoctorId());
      }
      if (!other.getAcceptTime().isEmpty()) {
        acceptTime_ = other.acceptTime_;
        onChanged();
      }
      if (!other.getReturnTime().isEmpty()) {
        returnTime_ = other.returnTime_;
        onChanged();
      }
      if (!other.getAcceptDoctorName().isEmpty()) {
        acceptDoctorName_ = other.acceptDoctorName_;
        onChanged();
      }
      if (!other.getAcceptDoctorDept().isEmpty()) {
        acceptDoctorDept_ = other.acceptDoctorDept_;
        onChanged();
      }
      if (!other.getAcceptDoctorHospital().isEmpty()) {
        acceptDoctorHospital_ = other.acceptDoctorHospital_;
        onChanged();
      }
      if (!other.getAcceptDoctorTitle().isEmpty()) {
        acceptDoctorTitle_ = other.acceptDoctorTitle_;
        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.GetAdditionalRecordResponse parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (com.ywt.gapi.order.GetAdditionalRecordResponse) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }

    private int code_ ;
    /**
     * <code>int32 code = 1;</code>
     */
    public int getCode() {
      return code_;
    }
    /**
     * <code>int32 code = 1;</code>
     */
    public Builder setCode(int value) {
      
      code_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 code = 1;</code>
     */
    public Builder clearCode() {
      
      code_ = 0;
      onChanged();
      return this;
    }

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

    private int acceptDoctorId_ ;
    /**
     * <pre>
     * 接诊医生 id
     * </pre>
     *
     * <code>int32 acceptDoctorId = 3;</code>
     */
    public int getAcceptDoctorId() {
      return acceptDoctorId_;
    }
    /**
     * <pre>
     * 接诊医生 id
     * </pre>
     *
     * <code>int32 acceptDoctorId = 3;</code>
     */
    public Builder setAcceptDoctorId(int value) {
      
      acceptDoctorId_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 接诊医生 id
     * </pre>
     *
     * <code>int32 acceptDoctorId = 3;</code>
     */
    public Builder clearAcceptDoctorId() {
      
      acceptDoctorId_ = 0;
      onChanged();
      return this;
    }

    private java.lang.Object acceptTime_ = "";
    /**
     * <pre>
     * 接诊时间
     * </pre>
     *
     * <code>string acceptTime = 4;</code>
     */
    public java.lang.String getAcceptTime() {
      java.lang.Object ref = acceptTime_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        acceptTime_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     * 接诊时间
     * </pre>
     *
     * <code>string acceptTime = 4;</code>
     */
    public com.google.protobuf.ByteString
        getAcceptTimeBytes() {
      java.lang.Object ref = acceptTime_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        acceptTime_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     * 接诊时间
     * </pre>
     *
     * <code>string acceptTime = 4;</code>
     */
    public Builder setAcceptTime(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      acceptTime_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 接诊时间
     * </pre>
     *
     * <code>string acceptTime = 4;</code>
     */
    public Builder clearAcceptTime() {
      
      acceptTime_ = getDefaultInstance().getAcceptTime();
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 接诊时间
     * </pre>
     *
     * <code>string acceptTime = 4;</code>
     */
    public Builder setAcceptTimeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      acceptTime_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object returnTime_ = "";
    /**
     * <pre>
     * 返回时间
     * </pre>
     *
     * <code>string returnTime = 5;</code>
     */
    public java.lang.String getReturnTime() {
      java.lang.Object ref = returnTime_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        returnTime_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     * 返回时间
     * </pre>
     *
     * <code>string returnTime = 5;</code>
     */
    public com.google.protobuf.ByteString
        getReturnTimeBytes() {
      java.lang.Object ref = returnTime_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        returnTime_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     * 返回时间
     * </pre>
     *
     * <code>string returnTime = 5;</code>
     */
    public Builder setReturnTime(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      returnTime_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 返回时间
     * </pre>
     *
     * <code>string returnTime = 5;</code>
     */
    public Builder clearReturnTime() {
      
      returnTime_ = getDefaultInstance().getReturnTime();
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 返回时间
     * </pre>
     *
     * <code>string returnTime = 5;</code>
     */
    public Builder setReturnTimeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      returnTime_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object acceptDoctorName_ = "";
    /**
     * <code>string acceptDoctorName = 6;</code>
     */
    public java.lang.String getAcceptDoctorName() {
      java.lang.Object ref = acceptDoctorName_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        acceptDoctorName_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string acceptDoctorName = 6;</code>
     */
    public com.google.protobuf.ByteString
        getAcceptDoctorNameBytes() {
      java.lang.Object ref = acceptDoctorName_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        acceptDoctorName_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string acceptDoctorName = 6;</code>
     */
    public Builder setAcceptDoctorName(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      acceptDoctorName_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string acceptDoctorName = 6;</code>
     */
    public Builder clearAcceptDoctorName() {
      
      acceptDoctorName_ = getDefaultInstance().getAcceptDoctorName();
      onChanged();
      return this;
    }
    /**
     * <code>string acceptDoctorName = 6;</code>
     */
    public Builder setAcceptDoctorNameBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      acceptDoctorName_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object acceptDoctorDept_ = "";
    /**
     * <code>string acceptDoctorDept = 7;</code>
     */
    public java.lang.String getAcceptDoctorDept() {
      java.lang.Object ref = acceptDoctorDept_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        acceptDoctorDept_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string acceptDoctorDept = 7;</code>
     */
    public com.google.protobuf.ByteString
        getAcceptDoctorDeptBytes() {
      java.lang.Object ref = acceptDoctorDept_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        acceptDoctorDept_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string acceptDoctorDept = 7;</code>
     */
    public Builder setAcceptDoctorDept(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      acceptDoctorDept_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string acceptDoctorDept = 7;</code>
     */
    public Builder clearAcceptDoctorDept() {
      
      acceptDoctorDept_ = getDefaultInstance().getAcceptDoctorDept();
      onChanged();
      return this;
    }
    /**
     * <code>string acceptDoctorDept = 7;</code>
     */
    public Builder setAcceptDoctorDeptBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      acceptDoctorDept_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object acceptDoctorHospital_ = "";
    /**
     * <code>string acceptDoctorHospital = 8;</code>
     */
    public java.lang.String getAcceptDoctorHospital() {
      java.lang.Object ref = acceptDoctorHospital_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        acceptDoctorHospital_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string acceptDoctorHospital = 8;</code>
     */
    public com.google.protobuf.ByteString
        getAcceptDoctorHospitalBytes() {
      java.lang.Object ref = acceptDoctorHospital_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        acceptDoctorHospital_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string acceptDoctorHospital = 8;</code>
     */
    public Builder setAcceptDoctorHospital(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      acceptDoctorHospital_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string acceptDoctorHospital = 8;</code>
     */
    public Builder clearAcceptDoctorHospital() {
      
      acceptDoctorHospital_ = getDefaultInstance().getAcceptDoctorHospital();
      onChanged();
      return this;
    }
    /**
     * <code>string acceptDoctorHospital = 8;</code>
     */
    public Builder setAcceptDoctorHospitalBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      acceptDoctorHospital_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object acceptDoctorTitle_ = "";
    /**
     * <code>string acceptDoctorTitle = 9;</code>
     */
    public java.lang.String getAcceptDoctorTitle() {
      java.lang.Object ref = acceptDoctorTitle_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        acceptDoctorTitle_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string acceptDoctorTitle = 9;</code>
     */
    public com.google.protobuf.ByteString
        getAcceptDoctorTitleBytes() {
      java.lang.Object ref = acceptDoctorTitle_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        acceptDoctorTitle_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string acceptDoctorTitle = 9;</code>
     */
    public Builder setAcceptDoctorTitle(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      acceptDoctorTitle_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string acceptDoctorTitle = 9;</code>
     */
    public Builder clearAcceptDoctorTitle() {
      
      acceptDoctorTitle_ = getDefaultInstance().getAcceptDoctorTitle();
      onChanged();
      return this;
    }
    /**
     * <code>string acceptDoctorTitle = 9;</code>
     */
    public Builder setAcceptDoctorTitleBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      acceptDoctorTitle_ = 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.GetAdditionalRecordResponse)
  }

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

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

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

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

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

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

}

