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

package com.ywt.gapi.third.taihe;

/**
 * Protobuf type {@code com.ywt.gapi.third.taihe.ClinicItem}
 */
public final class ClinicItem extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:com.ywt.gapi.third.taihe.ClinicItem)
    ClinicItemOrBuilder {
private static final long serialVersionUID = 0L;
  // Use ClinicItem.newBuilder() to construct.
  private ClinicItem(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private ClinicItem() {
    registrationID_ = "";
    admitDate_ = "";
    admTime_ = "";
    registrationDate_ = "";
    admDept_ = "";
    admDoctor_ = "";
    admAmt_ = "";
    billFlag_ = "";
  }

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

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

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

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

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

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

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

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

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

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

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return com.ywt.gapi.third.taihe.TaiheProto.internal_static_com_ywt_gapi_third_taihe_ClinicItem_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.ywt.gapi.third.taihe.ClinicItem.class, com.ywt.gapi.third.taihe.ClinicItem.Builder.class);
  }

  public static final int REGISTRATIONID_FIELD_NUMBER = 1;
  private volatile java.lang.Object registrationID_;
  /**
   * <code>string registrationID = 1;</code>
   * @return The registrationID.
   */
  @java.lang.Override
  public java.lang.String getRegistrationID() {
    java.lang.Object ref = registrationID_;
    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();
      registrationID_ = s;
      return s;
    }
  }
  /**
   * <code>string registrationID = 1;</code>
   * @return The bytes for registrationID.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getRegistrationIDBytes() {
    java.lang.Object ref = registrationID_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      registrationID_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int ADMITDATE_FIELD_NUMBER = 2;
  private volatile java.lang.Object admitDate_;
  /**
   * <code>string admitDate = 2;</code>
   * @return The admitDate.
   */
  @java.lang.Override
  public java.lang.String getAdmitDate() {
    java.lang.Object ref = admitDate_;
    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();
      admitDate_ = s;
      return s;
    }
  }
  /**
   * <code>string admitDate = 2;</code>
   * @return The bytes for admitDate.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getAdmitDateBytes() {
    java.lang.Object ref = admitDate_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      admitDate_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int ADMTIME_FIELD_NUMBER = 3;
  private volatile java.lang.Object admTime_;
  /**
   * <code>string admTime = 3;</code>
   * @return The admTime.
   */
  @java.lang.Override
  public java.lang.String getAdmTime() {
    java.lang.Object ref = admTime_;
    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();
      admTime_ = s;
      return s;
    }
  }
  /**
   * <code>string admTime = 3;</code>
   * @return The bytes for admTime.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getAdmTimeBytes() {
    java.lang.Object ref = admTime_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      admTime_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int REGISTRATIONDATE_FIELD_NUMBER = 4;
  private volatile java.lang.Object registrationDate_;
  /**
   * <code>string registrationDate = 4;</code>
   * @return The registrationDate.
   */
  @java.lang.Override
  public java.lang.String getRegistrationDate() {
    java.lang.Object ref = registrationDate_;
    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();
      registrationDate_ = s;
      return s;
    }
  }
  /**
   * <code>string registrationDate = 4;</code>
   * @return The bytes for registrationDate.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getRegistrationDateBytes() {
    java.lang.Object ref = registrationDate_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      registrationDate_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int ADMDEPT_FIELD_NUMBER = 5;
  private volatile java.lang.Object admDept_;
  /**
   * <code>string admDept = 5;</code>
   * @return The admDept.
   */
  @java.lang.Override
  public java.lang.String getAdmDept() {
    java.lang.Object ref = admDept_;
    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();
      admDept_ = s;
      return s;
    }
  }
  /**
   * <code>string admDept = 5;</code>
   * @return The bytes for admDept.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getAdmDeptBytes() {
    java.lang.Object ref = admDept_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      admDept_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int ADMDOCTOR_FIELD_NUMBER = 6;
  private volatile java.lang.Object admDoctor_;
  /**
   * <code>string admDoctor = 6;</code>
   * @return The admDoctor.
   */
  @java.lang.Override
  public java.lang.String getAdmDoctor() {
    java.lang.Object ref = admDoctor_;
    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();
      admDoctor_ = s;
      return s;
    }
  }
  /**
   * <code>string admDoctor = 6;</code>
   * @return The bytes for admDoctor.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getAdmDoctorBytes() {
    java.lang.Object ref = admDoctor_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      admDoctor_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int ADMAMT_FIELD_NUMBER = 7;
  private volatile java.lang.Object admAmt_;
  /**
   * <code>string admAmt = 7;</code>
   * @return The admAmt.
   */
  @java.lang.Override
  public java.lang.String getAdmAmt() {
    java.lang.Object ref = admAmt_;
    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();
      admAmt_ = s;
      return s;
    }
  }
  /**
   * <code>string admAmt = 7;</code>
   * @return The bytes for admAmt.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getAdmAmtBytes() {
    java.lang.Object ref = admAmt_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      admAmt_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int BILLFLAG_FIELD_NUMBER = 8;
  private volatile java.lang.Object billFlag_;
  /**
   * <code>string billFlag = 8;</code>
   * @return The billFlag.
   */
  @java.lang.Override
  public java.lang.String getBillFlag() {
    java.lang.Object ref = billFlag_;
    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();
      billFlag_ = s;
      return s;
    }
  }
  /**
   * <code>string billFlag = 8;</code>
   * @return The bytes for billFlag.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getBillFlagBytes() {
    java.lang.Object ref = billFlag_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      billFlag_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

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

    memoizedIsInitialized = 1;
    return true;
  }

  @java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output)
                      throws java.io.IOException {
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(registrationID_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, registrationID_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(admitDate_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, admitDate_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(admTime_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, admTime_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(registrationDate_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 4, registrationDate_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(admDept_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 5, admDept_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(admDoctor_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 6, admDoctor_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(admAmt_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 7, admAmt_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(billFlag_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 8, billFlag_);
    }
    unknownFields.writeTo(output);
  }

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

    size = 0;
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(registrationID_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, registrationID_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(admitDate_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, admitDate_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(admTime_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, admTime_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(registrationDate_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, registrationDate_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(admDept_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, admDept_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(admDoctor_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, admDoctor_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(admAmt_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, admAmt_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(billFlag_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, billFlag_);
    }
    size += unknownFields.getSerializedSize();
    memoizedSize = size;
    return size;
  }

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

    if (!getRegistrationID()
        .equals(other.getRegistrationID())) return false;
    if (!getAdmitDate()
        .equals(other.getAdmitDate())) return false;
    if (!getAdmTime()
        .equals(other.getAdmTime())) return false;
    if (!getRegistrationDate()
        .equals(other.getRegistrationDate())) return false;
    if (!getAdmDept()
        .equals(other.getAdmDept())) return false;
    if (!getAdmDoctor()
        .equals(other.getAdmDoctor())) return false;
    if (!getAdmAmt()
        .equals(other.getAdmAmt())) return false;
    if (!getBillFlag()
        .equals(other.getBillFlag())) return false;
    if (!unknownFields.equals(other.unknownFields)) return false;
    return true;
  }

  @java.lang.Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    hash = (37 * hash) + REGISTRATIONID_FIELD_NUMBER;
    hash = (53 * hash) + getRegistrationID().hashCode();
    hash = (37 * hash) + ADMITDATE_FIELD_NUMBER;
    hash = (53 * hash) + getAdmitDate().hashCode();
    hash = (37 * hash) + ADMTIME_FIELD_NUMBER;
    hash = (53 * hash) + getAdmTime().hashCode();
    hash = (37 * hash) + REGISTRATIONDATE_FIELD_NUMBER;
    hash = (53 * hash) + getRegistrationDate().hashCode();
    hash = (37 * hash) + ADMDEPT_FIELD_NUMBER;
    hash = (53 * hash) + getAdmDept().hashCode();
    hash = (37 * hash) + ADMDOCTOR_FIELD_NUMBER;
    hash = (53 * hash) + getAdmDoctor().hashCode();
    hash = (37 * hash) + ADMAMT_FIELD_NUMBER;
    hash = (53 * hash) + getAdmAmt().hashCode();
    hash = (37 * hash) + BILLFLAG_FIELD_NUMBER;
    hash = (53 * hash) + getBillFlag().hashCode();
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

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

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

  @java.lang.Override
  protected Builder newBuilderForType(
      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
    Builder builder = new Builder(parent);
    return builder;
  }
  /**
   * Protobuf type {@code com.ywt.gapi.third.taihe.ClinicItem}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
      // @@protoc_insertion_point(builder_implements:com.ywt.gapi.third.taihe.ClinicItem)
      com.ywt.gapi.third.taihe.ClinicItemOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.ywt.gapi.third.taihe.TaiheProto.internal_static_com_ywt_gapi_third_taihe_ClinicItem_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.ywt.gapi.third.taihe.TaiheProto.internal_static_com_ywt_gapi_third_taihe_ClinicItem_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.ywt.gapi.third.taihe.ClinicItem.class, com.ywt.gapi.third.taihe.ClinicItem.Builder.class);
    }

    // Construct using com.ywt.gapi.third.taihe.ClinicItem.newBuilder()
    private Builder() {
      maybeForceBuilderInitialization();
    }

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

      admitDate_ = "";

      admTime_ = "";

      registrationDate_ = "";

      admDept_ = "";

      admDoctor_ = "";

      admAmt_ = "";

      billFlag_ = "";

      return this;
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return com.ywt.gapi.third.taihe.TaiheProto.internal_static_com_ywt_gapi_third_taihe_ClinicItem_descriptor;
    }

    @java.lang.Override
    public com.ywt.gapi.third.taihe.ClinicItem getDefaultInstanceForType() {
      return com.ywt.gapi.third.taihe.ClinicItem.getDefaultInstance();
    }

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

    @java.lang.Override
    public com.ywt.gapi.third.taihe.ClinicItem buildPartial() {
      com.ywt.gapi.third.taihe.ClinicItem result = new com.ywt.gapi.third.taihe.ClinicItem(this);
      result.registrationID_ = registrationID_;
      result.admitDate_ = admitDate_;
      result.admTime_ = admTime_;
      result.registrationDate_ = registrationDate_;
      result.admDept_ = admDept_;
      result.admDoctor_ = admDoctor_;
      result.admAmt_ = admAmt_;
      result.billFlag_ = billFlag_;
      onBuilt();
      return result;
    }

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

    public Builder mergeFrom(com.ywt.gapi.third.taihe.ClinicItem other) {
      if (other == com.ywt.gapi.third.taihe.ClinicItem.getDefaultInstance()) return this;
      if (!other.getRegistrationID().isEmpty()) {
        registrationID_ = other.registrationID_;
        onChanged();
      }
      if (!other.getAdmitDate().isEmpty()) {
        admitDate_ = other.admitDate_;
        onChanged();
      }
      if (!other.getAdmTime().isEmpty()) {
        admTime_ = other.admTime_;
        onChanged();
      }
      if (!other.getRegistrationDate().isEmpty()) {
        registrationDate_ = other.registrationDate_;
        onChanged();
      }
      if (!other.getAdmDept().isEmpty()) {
        admDept_ = other.admDept_;
        onChanged();
      }
      if (!other.getAdmDoctor().isEmpty()) {
        admDoctor_ = other.admDoctor_;
        onChanged();
      }
      if (!other.getAdmAmt().isEmpty()) {
        admAmt_ = other.admAmt_;
        onChanged();
      }
      if (!other.getBillFlag().isEmpty()) {
        billFlag_ = other.billFlag_;
        onChanged();
      }
      this.mergeUnknownFields(other.unknownFields);
      onChanged();
      return this;
    }

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

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

    private java.lang.Object registrationID_ = "";
    /**
     * <code>string registrationID = 1;</code>
     * @return The registrationID.
     */
    public java.lang.String getRegistrationID() {
      java.lang.Object ref = registrationID_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        registrationID_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string registrationID = 1;</code>
     * @return The bytes for registrationID.
     */
    public com.google.protobuf.ByteString
        getRegistrationIDBytes() {
      java.lang.Object ref = registrationID_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        registrationID_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string registrationID = 1;</code>
     * @param value The registrationID to set.
     * @return This builder for chaining.
     */
    public Builder setRegistrationID(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      registrationID_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string registrationID = 1;</code>
     * @return This builder for chaining.
     */
    public Builder clearRegistrationID() {
      
      registrationID_ = getDefaultInstance().getRegistrationID();
      onChanged();
      return this;
    }
    /**
     * <code>string registrationID = 1;</code>
     * @param value The bytes for registrationID to set.
     * @return This builder for chaining.
     */
    public Builder setRegistrationIDBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      registrationID_ = value;
      onChanged();
      return this;
    }

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

    private java.lang.Object admTime_ = "";
    /**
     * <code>string admTime = 3;</code>
     * @return The admTime.
     */
    public java.lang.String getAdmTime() {
      java.lang.Object ref = admTime_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        admTime_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string admTime = 3;</code>
     * @return The bytes for admTime.
     */
    public com.google.protobuf.ByteString
        getAdmTimeBytes() {
      java.lang.Object ref = admTime_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        admTime_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string admTime = 3;</code>
     * @param value The admTime to set.
     * @return This builder for chaining.
     */
    public Builder setAdmTime(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      admTime_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string admTime = 3;</code>
     * @return This builder for chaining.
     */
    public Builder clearAdmTime() {
      
      admTime_ = getDefaultInstance().getAdmTime();
      onChanged();
      return this;
    }
    /**
     * <code>string admTime = 3;</code>
     * @param value The bytes for admTime to set.
     * @return This builder for chaining.
     */
    public Builder setAdmTimeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      admTime_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object registrationDate_ = "";
    /**
     * <code>string registrationDate = 4;</code>
     * @return The registrationDate.
     */
    public java.lang.String getRegistrationDate() {
      java.lang.Object ref = registrationDate_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        registrationDate_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string registrationDate = 4;</code>
     * @return The bytes for registrationDate.
     */
    public com.google.protobuf.ByteString
        getRegistrationDateBytes() {
      java.lang.Object ref = registrationDate_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        registrationDate_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string registrationDate = 4;</code>
     * @param value The registrationDate to set.
     * @return This builder for chaining.
     */
    public Builder setRegistrationDate(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      registrationDate_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string registrationDate = 4;</code>
     * @return This builder for chaining.
     */
    public Builder clearRegistrationDate() {
      
      registrationDate_ = getDefaultInstance().getRegistrationDate();
      onChanged();
      return this;
    }
    /**
     * <code>string registrationDate = 4;</code>
     * @param value The bytes for registrationDate to set.
     * @return This builder for chaining.
     */
    public Builder setRegistrationDateBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      registrationDate_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object admDept_ = "";
    /**
     * <code>string admDept = 5;</code>
     * @return The admDept.
     */
    public java.lang.String getAdmDept() {
      java.lang.Object ref = admDept_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        admDept_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string admDept = 5;</code>
     * @return The bytes for admDept.
     */
    public com.google.protobuf.ByteString
        getAdmDeptBytes() {
      java.lang.Object ref = admDept_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        admDept_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string admDept = 5;</code>
     * @param value The admDept to set.
     * @return This builder for chaining.
     */
    public Builder setAdmDept(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      admDept_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string admDept = 5;</code>
     * @return This builder for chaining.
     */
    public Builder clearAdmDept() {
      
      admDept_ = getDefaultInstance().getAdmDept();
      onChanged();
      return this;
    }
    /**
     * <code>string admDept = 5;</code>
     * @param value The bytes for admDept to set.
     * @return This builder for chaining.
     */
    public Builder setAdmDeptBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      admDept_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object admDoctor_ = "";
    /**
     * <code>string admDoctor = 6;</code>
     * @return The admDoctor.
     */
    public java.lang.String getAdmDoctor() {
      java.lang.Object ref = admDoctor_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        admDoctor_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string admDoctor = 6;</code>
     * @return The bytes for admDoctor.
     */
    public com.google.protobuf.ByteString
        getAdmDoctorBytes() {
      java.lang.Object ref = admDoctor_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        admDoctor_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string admDoctor = 6;</code>
     * @param value The admDoctor to set.
     * @return This builder for chaining.
     */
    public Builder setAdmDoctor(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      admDoctor_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string admDoctor = 6;</code>
     * @return This builder for chaining.
     */
    public Builder clearAdmDoctor() {
      
      admDoctor_ = getDefaultInstance().getAdmDoctor();
      onChanged();
      return this;
    }
    /**
     * <code>string admDoctor = 6;</code>
     * @param value The bytes for admDoctor to set.
     * @return This builder for chaining.
     */
    public Builder setAdmDoctorBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      admDoctor_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object admAmt_ = "";
    /**
     * <code>string admAmt = 7;</code>
     * @return The admAmt.
     */
    public java.lang.String getAdmAmt() {
      java.lang.Object ref = admAmt_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        admAmt_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string admAmt = 7;</code>
     * @return The bytes for admAmt.
     */
    public com.google.protobuf.ByteString
        getAdmAmtBytes() {
      java.lang.Object ref = admAmt_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        admAmt_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string admAmt = 7;</code>
     * @param value The admAmt to set.
     * @return This builder for chaining.
     */
    public Builder setAdmAmt(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      admAmt_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string admAmt = 7;</code>
     * @return This builder for chaining.
     */
    public Builder clearAdmAmt() {
      
      admAmt_ = getDefaultInstance().getAdmAmt();
      onChanged();
      return this;
    }
    /**
     * <code>string admAmt = 7;</code>
     * @param value The bytes for admAmt to set.
     * @return This builder for chaining.
     */
    public Builder setAdmAmtBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      admAmt_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object billFlag_ = "";
    /**
     * <code>string billFlag = 8;</code>
     * @return The billFlag.
     */
    public java.lang.String getBillFlag() {
      java.lang.Object ref = billFlag_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        billFlag_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string billFlag = 8;</code>
     * @return The bytes for billFlag.
     */
    public com.google.protobuf.ByteString
        getBillFlagBytes() {
      java.lang.Object ref = billFlag_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        billFlag_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string billFlag = 8;</code>
     * @param value The billFlag to set.
     * @return This builder for chaining.
     */
    public Builder setBillFlag(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      billFlag_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string billFlag = 8;</code>
     * @return This builder for chaining.
     */
    public Builder clearBillFlag() {
      
      billFlag_ = getDefaultInstance().getBillFlag();
      onChanged();
      return this;
    }
    /**
     * <code>string billFlag = 8;</code>
     * @param value The bytes for billFlag to set.
     * @return This builder for chaining.
     */
    public Builder setBillFlagBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      billFlag_ = value;
      onChanged();
      return this;
    }
    @java.lang.Override
    public final Builder setUnknownFields(
        final com.google.protobuf.UnknownFieldSet unknownFields) {
      return super.setUnknownFields(unknownFields);
    }

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


    // @@protoc_insertion_point(builder_scope:com.ywt.gapi.third.taihe.ClinicItem)
  }

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

  public static com.ywt.gapi.third.taihe.ClinicItem getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

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

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

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

  @java.lang.Override
  public com.ywt.gapi.third.taihe.ClinicItem getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}

