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

package com.ywt.gapi.user;

/**
 * <pre>
 *太和医院绑定诊疗卡Reqeust  create by daiyihua
 * </pre>
 *
 * Protobuf type {@code com.ywt.gapi.user.AddTaiheMedicalCardRequest}
 */
public  final class AddTaiheMedicalCardRequest extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:com.ywt.gapi.user.AddTaiheMedicalCardRequest)
    AddTaiheMedicalCardRequestOrBuilder {
  // Use AddTaiheMedicalCardRequest.newBuilder() to construct.
  private AddTaiheMedicalCardRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private AddTaiheMedicalCardRequest() {
    userId_ = 0;
    hospitalId_ = 0;
    cardNo_ = "";
    realName_ = "";
    mobile_ = "";
    guardian_ = "";
    address_ = "";
    idNo_ = "";
    idType_ = 0;
    sex_ = 0;
    birthday_ = "";
    hisPatientId_ = "";
  }

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

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

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

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

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

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

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

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

            idNo_ = s;
            break;
          }
          case 80: {

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

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

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

            hisPatientId_ = 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.user.UserOuterClass.internal_static_com_ywt_gapi_user_AddTaiheMedicalCardRequest_descriptor;
  }

  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return com.ywt.gapi.user.UserOuterClass.internal_static_com_ywt_gapi_user_AddTaiheMedicalCardRequest_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.ywt.gapi.user.AddTaiheMedicalCardRequest.class, com.ywt.gapi.user.AddTaiheMedicalCardRequest.Builder.class);
  }

  public static final int USERID_FIELD_NUMBER = 1;
  private int userId_;
  /**
   * <pre>
   *用户Id
   * </pre>
   *
   * <code>int32 userId = 1;</code>
   */
  public int getUserId() {
    return userId_;
  }

  public static final int HOSPITALID_FIELD_NUMBER = 2;
  private int hospitalId_;
  /**
   * <pre>
   *医院Id
   * </pre>
   *
   * <code>int32 hospitalId = 2;</code>
   */
  public int getHospitalId() {
    return hospitalId_;
  }

  public static final int CARDNO_FIELD_NUMBER = 3;
  private volatile java.lang.Object cardNo_;
  /**
   * <pre>
   *卡号
   * </pre>
   *
   * <code>string cardNo = 3;</code>
   */
  public java.lang.String getCardNo() {
    java.lang.Object ref = cardNo_;
    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();
      cardNo_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *卡号
   * </pre>
   *
   * <code>string cardNo = 3;</code>
   */
  public com.google.protobuf.ByteString
      getCardNoBytes() {
    java.lang.Object ref = cardNo_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      cardNo_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int REALNAME_FIELD_NUMBER = 4;
  private volatile java.lang.Object realName_;
  /**
   * <pre>
   *姓名
   * </pre>
   *
   * <code>string realName = 4;</code>
   */
  public java.lang.String getRealName() {
    java.lang.Object ref = realName_;
    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();
      realName_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *姓名
   * </pre>
   *
   * <code>string realName = 4;</code>
   */
  public com.google.protobuf.ByteString
      getRealNameBytes() {
    java.lang.Object ref = realName_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      realName_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int MOBILE_FIELD_NUMBER = 5;
  private volatile java.lang.Object mobile_;
  /**
   * <pre>
   *手机号
   * </pre>
   *
   * <code>string mobile = 5;</code>
   */
  public java.lang.String getMobile() {
    java.lang.Object ref = mobile_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      mobile_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *手机号
   * </pre>
   *
   * <code>string mobile = 5;</code>
   */
  public com.google.protobuf.ByteString
      getMobileBytes() {
    java.lang.Object ref = mobile_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      mobile_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int GUARDIAN_FIELD_NUMBER = 7;
  private volatile java.lang.Object guardian_;
  /**
   * <pre>
   *    string hisPatientId = 6;    //his的病人ID
   * </pre>
   *
   * <code>string guardian = 7;</code>
   */
  public java.lang.String getGuardian() {
    java.lang.Object ref = guardian_;
    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();
      guardian_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *    string hisPatientId = 6;    //his的病人ID
   * </pre>
   *
   * <code>string guardian = 7;</code>
   */
  public com.google.protobuf.ByteString
      getGuardianBytes() {
    java.lang.Object ref = guardian_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      guardian_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int ADDRESS_FIELD_NUMBER = 8;
  private volatile java.lang.Object address_;
  /**
   * <pre>
   *家庭住址
   * </pre>
   *
   * <code>string address = 8;</code>
   */
  public java.lang.String getAddress() {
    java.lang.Object ref = address_;
    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();
      address_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *家庭住址
   * </pre>
   *
   * <code>string address = 8;</code>
   */
  public com.google.protobuf.ByteString
      getAddressBytes() {
    java.lang.Object ref = address_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      address_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

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

  public static final int IDTYPE_FIELD_NUMBER = 10;
  private int idType_;
  /**
   * <code>int32 idType = 10;</code>
   */
  public int getIdType() {
    return idType_;
  }

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

  public static final int BIRTHDAY_FIELD_NUMBER = 12;
  private volatile java.lang.Object birthday_;
  /**
   * <code>string birthday = 12;</code>
   */
  public java.lang.String getBirthday() {
    java.lang.Object ref = birthday_;
    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();
      birthday_ = s;
      return s;
    }
  }
  /**
   * <code>string birthday = 12;</code>
   */
  public com.google.protobuf.ByteString
      getBirthdayBytes() {
    java.lang.Object ref = birthday_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      birthday_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int HISPATIENTID_FIELD_NUMBER = 13;
  private volatile java.lang.Object hisPatientId_;
  /**
   * <code>string hisPatientId = 13;</code>
   */
  public java.lang.String getHisPatientId() {
    java.lang.Object ref = hisPatientId_;
    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();
      hisPatientId_ = s;
      return s;
    }
  }
  /**
   * <code>string hisPatientId = 13;</code>
   */
  public com.google.protobuf.ByteString
      getHisPatientIdBytes() {
    java.lang.Object ref = hisPatientId_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      hisPatientId_ = 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 (userId_ != 0) {
      output.writeInt32(1, userId_);
    }
    if (hospitalId_ != 0) {
      output.writeInt32(2, hospitalId_);
    }
    if (!getCardNoBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, cardNo_);
    }
    if (!getRealNameBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 4, realName_);
    }
    if (!getMobileBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 5, mobile_);
    }
    if (!getGuardianBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 7, guardian_);
    }
    if (!getAddressBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 8, address_);
    }
    if (!getIdNoBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 9, idNo_);
    }
    if (idType_ != 0) {
      output.writeInt32(10, idType_);
    }
    if (sex_ != 0) {
      output.writeInt32(11, sex_);
    }
    if (!getBirthdayBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 12, birthday_);
    }
    if (!getHisPatientIdBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 13, hisPatientId_);
    }
  }

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

    size = 0;
    if (userId_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(1, userId_);
    }
    if (hospitalId_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(2, hospitalId_);
    }
    if (!getCardNoBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, cardNo_);
    }
    if (!getRealNameBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, realName_);
    }
    if (!getMobileBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, mobile_);
    }
    if (!getGuardianBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, guardian_);
    }
    if (!getAddressBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, address_);
    }
    if (!getIdNoBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, idNo_);
    }
    if (idType_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(10, idType_);
    }
    if (sex_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(11, sex_);
    }
    if (!getBirthdayBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, birthday_);
    }
    if (!getHisPatientIdBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, hisPatientId_);
    }
    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.user.AddTaiheMedicalCardRequest)) {
      return super.equals(obj);
    }
    com.ywt.gapi.user.AddTaiheMedicalCardRequest other = (com.ywt.gapi.user.AddTaiheMedicalCardRequest) obj;

    boolean result = true;
    result = result && (getUserId()
        == other.getUserId());
    result = result && (getHospitalId()
        == other.getHospitalId());
    result = result && getCardNo()
        .equals(other.getCardNo());
    result = result && getRealName()
        .equals(other.getRealName());
    result = result && getMobile()
        .equals(other.getMobile());
    result = result && getGuardian()
        .equals(other.getGuardian());
    result = result && getAddress()
        .equals(other.getAddress());
    result = result && getIdNo()
        .equals(other.getIdNo());
    result = result && (getIdType()
        == other.getIdType());
    result = result && (getSex()
        == other.getSex());
    result = result && getBirthday()
        .equals(other.getBirthday());
    result = result && getHisPatientId()
        .equals(other.getHisPatientId());
    return result;
  }

  @java.lang.Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    hash = (37 * hash) + USERID_FIELD_NUMBER;
    hash = (53 * hash) + getUserId();
    hash = (37 * hash) + HOSPITALID_FIELD_NUMBER;
    hash = (53 * hash) + getHospitalId();
    hash = (37 * hash) + CARDNO_FIELD_NUMBER;
    hash = (53 * hash) + getCardNo().hashCode();
    hash = (37 * hash) + REALNAME_FIELD_NUMBER;
    hash = (53 * hash) + getRealName().hashCode();
    hash = (37 * hash) + MOBILE_FIELD_NUMBER;
    hash = (53 * hash) + getMobile().hashCode();
    hash = (37 * hash) + GUARDIAN_FIELD_NUMBER;
    hash = (53 * hash) + getGuardian().hashCode();
    hash = (37 * hash) + ADDRESS_FIELD_NUMBER;
    hash = (53 * hash) + getAddress().hashCode();
    hash = (37 * hash) + IDNO_FIELD_NUMBER;
    hash = (53 * hash) + getIdNo().hashCode();
    hash = (37 * hash) + IDTYPE_FIELD_NUMBER;
    hash = (53 * hash) + getIdType();
    hash = (37 * hash) + SEX_FIELD_NUMBER;
    hash = (53 * hash) + getSex();
    hash = (37 * hash) + BIRTHDAY_FIELD_NUMBER;
    hash = (53 * hash) + getBirthday().hashCode();
    hash = (37 * hash) + HISPATIENTID_FIELD_NUMBER;
    hash = (53 * hash) + getHisPatientId().hashCode();
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static com.ywt.gapi.user.AddTaiheMedicalCardRequest parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.ywt.gapi.user.AddTaiheMedicalCardRequest 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.user.AddTaiheMedicalCardRequest parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.ywt.gapi.user.AddTaiheMedicalCardRequest 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.user.AddTaiheMedicalCardRequest parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.ywt.gapi.user.AddTaiheMedicalCardRequest parseFrom(
      byte[] data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.ywt.gapi.user.AddTaiheMedicalCardRequest parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.ywt.gapi.user.AddTaiheMedicalCardRequest 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.user.AddTaiheMedicalCardRequest parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input);
  }
  public static com.ywt.gapi.user.AddTaiheMedicalCardRequest 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.user.AddTaiheMedicalCardRequest parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.ywt.gapi.user.AddTaiheMedicalCardRequest 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.user.AddTaiheMedicalCardRequest 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>
   *太和医院绑定诊疗卡Reqeust  create by daiyihua
   * </pre>
   *
   * Protobuf type {@code com.ywt.gapi.user.AddTaiheMedicalCardRequest}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
      // @@protoc_insertion_point(builder_implements:com.ywt.gapi.user.AddTaiheMedicalCardRequest)
      com.ywt.gapi.user.AddTaiheMedicalCardRequestOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.ywt.gapi.user.UserOuterClass.internal_static_com_ywt_gapi_user_AddTaiheMedicalCardRequest_descriptor;
    }

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.ywt.gapi.user.UserOuterClass.internal_static_com_ywt_gapi_user_AddTaiheMedicalCardRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.ywt.gapi.user.AddTaiheMedicalCardRequest.class, com.ywt.gapi.user.AddTaiheMedicalCardRequest.Builder.class);
    }

    // Construct using com.ywt.gapi.user.AddTaiheMedicalCardRequest.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();
      userId_ = 0;

      hospitalId_ = 0;

      cardNo_ = "";

      realName_ = "";

      mobile_ = "";

      guardian_ = "";

      address_ = "";

      idNo_ = "";

      idType_ = 0;

      sex_ = 0;

      birthday_ = "";

      hisPatientId_ = "";

      return this;
    }

    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return com.ywt.gapi.user.UserOuterClass.internal_static_com_ywt_gapi_user_AddTaiheMedicalCardRequest_descriptor;
    }

    public com.ywt.gapi.user.AddTaiheMedicalCardRequest getDefaultInstanceForType() {
      return com.ywt.gapi.user.AddTaiheMedicalCardRequest.getDefaultInstance();
    }

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

    public com.ywt.gapi.user.AddTaiheMedicalCardRequest buildPartial() {
      com.ywt.gapi.user.AddTaiheMedicalCardRequest result = new com.ywt.gapi.user.AddTaiheMedicalCardRequest(this);
      result.userId_ = userId_;
      result.hospitalId_ = hospitalId_;
      result.cardNo_ = cardNo_;
      result.realName_ = realName_;
      result.mobile_ = mobile_;
      result.guardian_ = guardian_;
      result.address_ = address_;
      result.idNo_ = idNo_;
      result.idType_ = idType_;
      result.sex_ = sex_;
      result.birthday_ = birthday_;
      result.hisPatientId_ = hisPatientId_;
      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.user.AddTaiheMedicalCardRequest) {
        return mergeFrom((com.ywt.gapi.user.AddTaiheMedicalCardRequest)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(com.ywt.gapi.user.AddTaiheMedicalCardRequest other) {
      if (other == com.ywt.gapi.user.AddTaiheMedicalCardRequest.getDefaultInstance()) return this;
      if (other.getUserId() != 0) {
        setUserId(other.getUserId());
      }
      if (other.getHospitalId() != 0) {
        setHospitalId(other.getHospitalId());
      }
      if (!other.getCardNo().isEmpty()) {
        cardNo_ = other.cardNo_;
        onChanged();
      }
      if (!other.getRealName().isEmpty()) {
        realName_ = other.realName_;
        onChanged();
      }
      if (!other.getMobile().isEmpty()) {
        mobile_ = other.mobile_;
        onChanged();
      }
      if (!other.getGuardian().isEmpty()) {
        guardian_ = other.guardian_;
        onChanged();
      }
      if (!other.getAddress().isEmpty()) {
        address_ = other.address_;
        onChanged();
      }
      if (!other.getIdNo().isEmpty()) {
        idNo_ = other.idNo_;
        onChanged();
      }
      if (other.getIdType() != 0) {
        setIdType(other.getIdType());
      }
      if (other.getSex() != 0) {
        setSex(other.getSex());
      }
      if (!other.getBirthday().isEmpty()) {
        birthday_ = other.birthday_;
        onChanged();
      }
      if (!other.getHisPatientId().isEmpty()) {
        hisPatientId_ = other.hisPatientId_;
        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.user.AddTaiheMedicalCardRequest parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (com.ywt.gapi.user.AddTaiheMedicalCardRequest) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }

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

    private int hospitalId_ ;
    /**
     * <pre>
     *医院Id
     * </pre>
     *
     * <code>int32 hospitalId = 2;</code>
     */
    public int getHospitalId() {
      return hospitalId_;
    }
    /**
     * <pre>
     *医院Id
     * </pre>
     *
     * <code>int32 hospitalId = 2;</code>
     */
    public Builder setHospitalId(int value) {
      
      hospitalId_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *医院Id
     * </pre>
     *
     * <code>int32 hospitalId = 2;</code>
     */
    public Builder clearHospitalId() {
      
      hospitalId_ = 0;
      onChanged();
      return this;
    }

    private java.lang.Object cardNo_ = "";
    /**
     * <pre>
     *卡号
     * </pre>
     *
     * <code>string cardNo = 3;</code>
     */
    public java.lang.String getCardNo() {
      java.lang.Object ref = cardNo_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        cardNo_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *卡号
     * </pre>
     *
     * <code>string cardNo = 3;</code>
     */
    public com.google.protobuf.ByteString
        getCardNoBytes() {
      java.lang.Object ref = cardNo_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        cardNo_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *卡号
     * </pre>
     *
     * <code>string cardNo = 3;</code>
     */
    public Builder setCardNo(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      cardNo_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *卡号
     * </pre>
     *
     * <code>string cardNo = 3;</code>
     */
    public Builder clearCardNo() {
      
      cardNo_ = getDefaultInstance().getCardNo();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *卡号
     * </pre>
     *
     * <code>string cardNo = 3;</code>
     */
    public Builder setCardNoBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      cardNo_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object realName_ = "";
    /**
     * <pre>
     *姓名
     * </pre>
     *
     * <code>string realName = 4;</code>
     */
    public java.lang.String getRealName() {
      java.lang.Object ref = realName_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        realName_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *姓名
     * </pre>
     *
     * <code>string realName = 4;</code>
     */
    public com.google.protobuf.ByteString
        getRealNameBytes() {
      java.lang.Object ref = realName_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        realName_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *姓名
     * </pre>
     *
     * <code>string realName = 4;</code>
     */
    public Builder setRealName(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      realName_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *姓名
     * </pre>
     *
     * <code>string realName = 4;</code>
     */
    public Builder clearRealName() {
      
      realName_ = getDefaultInstance().getRealName();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *姓名
     * </pre>
     *
     * <code>string realName = 4;</code>
     */
    public Builder setRealNameBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      realName_ = value;
      onChanged();
      return this;
    }

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

    private java.lang.Object guardian_ = "";
    /**
     * <pre>
     *    string hisPatientId = 6;    //his的病人ID
     * </pre>
     *
     * <code>string guardian = 7;</code>
     */
    public java.lang.String getGuardian() {
      java.lang.Object ref = guardian_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        guardian_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *    string hisPatientId = 6;    //his的病人ID
     * </pre>
     *
     * <code>string guardian = 7;</code>
     */
    public com.google.protobuf.ByteString
        getGuardianBytes() {
      java.lang.Object ref = guardian_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        guardian_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *    string hisPatientId = 6;    //his的病人ID
     * </pre>
     *
     * <code>string guardian = 7;</code>
     */
    public Builder setGuardian(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      guardian_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *    string hisPatientId = 6;    //his的病人ID
     * </pre>
     *
     * <code>string guardian = 7;</code>
     */
    public Builder clearGuardian() {
      
      guardian_ = getDefaultInstance().getGuardian();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *    string hisPatientId = 6;    //his的病人ID
     * </pre>
     *
     * <code>string guardian = 7;</code>
     */
    public Builder setGuardianBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      guardian_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object address_ = "";
    /**
     * <pre>
     *家庭住址
     * </pre>
     *
     * <code>string address = 8;</code>
     */
    public java.lang.String getAddress() {
      java.lang.Object ref = address_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        address_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *家庭住址
     * </pre>
     *
     * <code>string address = 8;</code>
     */
    public com.google.protobuf.ByteString
        getAddressBytes() {
      java.lang.Object ref = address_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        address_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *家庭住址
     * </pre>
     *
     * <code>string address = 8;</code>
     */
    public Builder setAddress(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      address_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *家庭住址
     * </pre>
     *
     * <code>string address = 8;</code>
     */
    public Builder clearAddress() {
      
      address_ = getDefaultInstance().getAddress();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *家庭住址
     * </pre>
     *
     * <code>string address = 8;</code>
     */
    public Builder setAddressBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      address_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object idNo_ = "";
    /**
     * <code>string idNo = 9;</code>
     */
    public java.lang.String getIdNo() {
      java.lang.Object ref = idNo_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        idNo_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string idNo = 9;</code>
     */
    public com.google.protobuf.ByteString
        getIdNoBytes() {
      java.lang.Object ref = idNo_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        idNo_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string idNo = 9;</code>
     */
    public Builder setIdNo(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      idNo_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string idNo = 9;</code>
     */
    public Builder clearIdNo() {
      
      idNo_ = getDefaultInstance().getIdNo();
      onChanged();
      return this;
    }
    /**
     * <code>string idNo = 9;</code>
     */
    public Builder setIdNoBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      idNo_ = value;
      onChanged();
      return this;
    }

    private int idType_ ;
    /**
     * <code>int32 idType = 10;</code>
     */
    public int getIdType() {
      return idType_;
    }
    /**
     * <code>int32 idType = 10;</code>
     */
    public Builder setIdType(int value) {
      
      idType_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 idType = 10;</code>
     */
    public Builder clearIdType() {
      
      idType_ = 0;
      onChanged();
      return this;
    }

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

    private java.lang.Object birthday_ = "";
    /**
     * <code>string birthday = 12;</code>
     */
    public java.lang.String getBirthday() {
      java.lang.Object ref = birthday_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        birthday_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string birthday = 12;</code>
     */
    public com.google.protobuf.ByteString
        getBirthdayBytes() {
      java.lang.Object ref = birthday_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        birthday_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string birthday = 12;</code>
     */
    public Builder setBirthday(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      birthday_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string birthday = 12;</code>
     */
    public Builder clearBirthday() {
      
      birthday_ = getDefaultInstance().getBirthday();
      onChanged();
      return this;
    }
    /**
     * <code>string birthday = 12;</code>
     */
    public Builder setBirthdayBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      birthday_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object hisPatientId_ = "";
    /**
     * <code>string hisPatientId = 13;</code>
     */
    public java.lang.String getHisPatientId() {
      java.lang.Object ref = hisPatientId_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        hisPatientId_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string hisPatientId = 13;</code>
     */
    public com.google.protobuf.ByteString
        getHisPatientIdBytes() {
      java.lang.Object ref = hisPatientId_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        hisPatientId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string hisPatientId = 13;</code>
     */
    public Builder setHisPatientId(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      hisPatientId_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string hisPatientId = 13;</code>
     */
    public Builder clearHisPatientId() {
      
      hisPatientId_ = getDefaultInstance().getHisPatientId();
      onChanged();
      return this;
    }
    /**
     * <code>string hisPatientId = 13;</code>
     */
    public Builder setHisPatientIdBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      hisPatientId_ = 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.user.AddTaiheMedicalCardRequest)
  }

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

  public static com.ywt.gapi.user.AddTaiheMedicalCardRequest getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

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

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

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

  public com.ywt.gapi.user.AddTaiheMedicalCardRequest getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}

