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

package com.ywt.gapi.taihe.register;

/**
 * Protobuf type {@code com.ywt.gapi.taihe.register.CreateMedicalCardRequest}
 */
public final class CreateMedicalCardRequest extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:com.ywt.gapi.taihe.register.CreateMedicalCardRequest)
    CreateMedicalCardRequestOrBuilder {
private static final long serialVersionUID = 0L;
  // Use CreateMedicalCardRequest.newBuilder() to construct.
  private CreateMedicalCardRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private CreateMedicalCardRequest() {
    phoneNo_ = "";
    idNo_ = "";
    patientName_ = "";
    city_ = "";
    address_ = "";
    isInsu_ = "";
    cardType_ = "";
  }

  @Override
  @SuppressWarnings({"unused"})
  protected Object newInstance(
      UnusedPrivateParameter unused) {
    return new CreateMedicalCardRequest();
  }

  @Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private CreateMedicalCardRequest(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    this();
    if (extensionRegistry == null) {
      throw new 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: {
            String s = input.readStringRequireUtf8();

            phoneNo_ = s;
            break;
          }
          case 18: {
            String s = input.readStringRequireUtf8();

            idNo_ = s;
            break;
          }
          case 26: {
            String s = input.readStringRequireUtf8();

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

            city_ = s;
            break;
          }
          case 42: {
            String s = input.readStringRequireUtf8();

            address_ = s;
            break;
          }
          case 50: {
            String s = input.readStringRequireUtf8();

            isInsu_ = s;
            break;
          }
          case 56: {

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

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

            relationship_ = input.readInt32();
            break;
          }
          case 82: {
            String s = input.readStringRequireUtf8();

            cardType_ = s;
            break;
          }
          case 88: {

            terminal_ = input.readInt32();
            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 TaiheRegisterProto.internal_static_com_ywt_gapi_taihe_register_CreateMedicalCardRequest_descriptor;
  }

  @Override
  protected FieldAccessorTable
      internalGetFieldAccessorTable() {
    return TaiheRegisterProto.internal_static_com_ywt_gapi_taihe_register_CreateMedicalCardRequest_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            CreateMedicalCardRequest.class, Builder.class);
  }

  public static final int PHONENO_FIELD_NUMBER = 1;
  private volatile Object phoneNo_;
  /**
   * <pre>
   *手机号
   * </pre>
   *
   * <code>string phoneNo = 1;</code>
   * @return The phoneNo.
   */
  @Override
  public String getPhoneNo() {
    Object ref = phoneNo_;
    if (ref instanceof String) {
      return (String) ref;
    } else {
      com.google.protobuf.ByteString bs =
          (com.google.protobuf.ByteString) ref;
      String s = bs.toStringUtf8();
      phoneNo_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *手机号
   * </pre>
   *
   * <code>string phoneNo = 1;</code>
   * @return The bytes for phoneNo.
   */
  @Override
  public com.google.protobuf.ByteString
      getPhoneNoBytes() {
    Object ref = phoneNo_;
    if (ref instanceof String) {
      com.google.protobuf.ByteString b =
          com.google.protobuf.ByteString.copyFromUtf8(
              (String) ref);
      phoneNo_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int IDNO_FIELD_NUMBER = 2;
  private volatile Object idNo_;
  /**
   * <pre>
   *身份证号
   * </pre>
   *
   * <code>string idNo = 2;</code>
   * @return The idNo.
   */
  @Override
  public String getIdNo() {
    Object ref = idNo_;
    if (ref instanceof String) {
      return (String) ref;
    } else {
      com.google.protobuf.ByteString bs =
          (com.google.protobuf.ByteString) ref;
      String s = bs.toStringUtf8();
      idNo_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *身份证号
   * </pre>
   *
   * <code>string idNo = 2;</code>
   * @return The bytes for idNo.
   */
  @Override
  public com.google.protobuf.ByteString
      getIdNoBytes() {
    Object ref = idNo_;
    if (ref instanceof String) {
      com.google.protobuf.ByteString b =
          com.google.protobuf.ByteString.copyFromUtf8(
              (String) ref);
      idNo_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int PATIENTNAME_FIELD_NUMBER = 3;
  private volatile Object patientName_;
  /**
   * <pre>
   *患者姓名
   * </pre>
   *
   * <code>string patientName = 3;</code>
   * @return The patientName.
   */
  @Override
  public String getPatientName() {
    Object ref = patientName_;
    if (ref instanceof String) {
      return (String) ref;
    } else {
      com.google.protobuf.ByteString bs =
          (com.google.protobuf.ByteString) ref;
      String s = bs.toStringUtf8();
      patientName_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *患者姓名
   * </pre>
   *
   * <code>string patientName = 3;</code>
   * @return The bytes for patientName.
   */
  @Override
  public com.google.protobuf.ByteString
      getPatientNameBytes() {
    Object ref = patientName_;
    if (ref instanceof String) {
      com.google.protobuf.ByteString b =
          com.google.protobuf.ByteString.copyFromUtf8(
              (String) ref);
      patientName_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int CITY_FIELD_NUMBER = 4;
  private volatile Object city_;
  /**
   * <pre>
   *在线建卡市区
   * </pre>
   *
   * <code>string city = 4;</code>
   * @return The city.
   */
  @Override
  public String getCity() {
    Object ref = city_;
    if (ref instanceof String) {
      return (String) ref;
    } else {
      com.google.protobuf.ByteString bs =
          (com.google.protobuf.ByteString) ref;
      String s = bs.toStringUtf8();
      city_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *在线建卡市区
   * </pre>
   *
   * <code>string city = 4;</code>
   * @return The bytes for city.
   */
  @Override
  public com.google.protobuf.ByteString
      getCityBytes() {
    Object ref = city_;
    if (ref instanceof String) {
      com.google.protobuf.ByteString b =
          com.google.protobuf.ByteString.copyFromUtf8(
              (String) ref);
      city_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int ADDRESS_FIELD_NUMBER = 5;
  private volatile Object address_;
  /**
   * <pre>
   *详细地址
   * </pre>
   *
   * <code>string address = 5;</code>
   * @return The address.
   */
  @Override
  public String getAddress() {
    Object ref = address_;
    if (ref instanceof String) {
      return (String) ref;
    } else {
      com.google.protobuf.ByteString bs =
          (com.google.protobuf.ByteString) ref;
      String s = bs.toStringUtf8();
      address_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *详细地址
   * </pre>
   *
   * <code>string address = 5;</code>
   * @return The bytes for address.
   */
  @Override
  public com.google.protobuf.ByteString
      getAddressBytes() {
    Object ref = address_;
    if (ref instanceof String) {
      com.google.protobuf.ByteString b =
          com.google.protobuf.ByteString.copyFromUtf8(
              (String) ref);
      address_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int ISINSU_FIELD_NUMBER = 6;
  private volatile Object isInsu_;
  /**
   * <pre>
   *建卡患者是否是医保  1 ：广州医保 空值：非医保
   * </pre>
   *
   * <code>string isInsu = 6;</code>
   * @return The isInsu.
   */
  @Override
  public String getIsInsu() {
    Object ref = isInsu_;
    if (ref instanceof String) {
      return (String) ref;
    } else {
      com.google.protobuf.ByteString bs =
          (com.google.protobuf.ByteString) ref;
      String s = bs.toStringUtf8();
      isInsu_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *建卡患者是否是医保  1 ：广州医保 空值：非医保
   * </pre>
   *
   * <code>string isInsu = 6;</code>
   * @return The bytes for isInsu.
   */
  @Override
  public com.google.protobuf.ByteString
      getIsInsuBytes() {
    Object ref = isInsu_;
    if (ref instanceof String) {
      com.google.protobuf.ByteString b =
          com.google.protobuf.ByteString.copyFromUtf8(
              (String) ref);
      isInsu_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int HOSPITALID_FIELD_NUMBER = 7;
  private int hospitalId_;
  /**
   * <code>int32 hospitalId = 7;</code>
   * @return The hospitalId.
   */
  @Override
  public int getHospitalId() {
    return hospitalId_;
  }

  public static final int USERID_FIELD_NUMBER = 8;
  private int userId_;
  /**
   * <code>int32 userId = 8;</code>
   * @return The userId.
   */
  @Override
  public int getUserId() {
    return userId_;
  }

  public static final int RELATIONSHIP_FIELD_NUMBER = 9;
  private int relationship_;
  /**
   * <pre>
   * 关系:1-本人,6-父母,7-子女,5-其他
   * </pre>
   *
   * <code>int32 relationship = 9;</code>
   * @return The relationship.
   */
  @Override
  public int getRelationship() {
    return relationship_;
  }

  public static final int CARDTYPE_FIELD_NUMBER = 10;
  private volatile Object cardType_;
  /**
   * <pre>
   * 卡类型，默认1, 1-居民身份证,2-居民户口簿,3-护照,4-军官证,5-驾驶证,6-老年证,7-优抚证,8-残疾证,9-港澳台身份证,10-其他
   * </pre>
   *
   * <code>string cardType = 10;</code>
   * @return The cardType.
   */
  @Override
  public String getCardType() {
    Object ref = cardType_;
    if (ref instanceof String) {
      return (String) ref;
    } else {
      com.google.protobuf.ByteString bs =
          (com.google.protobuf.ByteString) ref;
      String s = bs.toStringUtf8();
      cardType_ = s;
      return s;
    }
  }
  /**
   * <pre>
   * 卡类型，默认1, 1-居民身份证,2-居民户口簿,3-护照,4-军官证,5-驾驶证,6-老年证,7-优抚证,8-残疾证,9-港澳台身份证,10-其他
   * </pre>
   *
   * <code>string cardType = 10;</code>
   * @return The bytes for cardType.
   */
  @Override
  public com.google.protobuf.ByteString
      getCardTypeBytes() {
    Object ref = cardType_;
    if (ref instanceof String) {
      com.google.protobuf.ByteString b =
          com.google.protobuf.ByteString.copyFromUtf8(
              (String) ref);
      cardType_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int TERMINAL_FIELD_NUMBER = 11;
  private int terminal_;
  /**
   * <code>int32 terminal = 11;</code>
   * @return The terminal.
   */
  @Override
  public int getTerminal() {
    return terminal_;
  }

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

    memoizedIsInitialized = 1;
    return true;
  }

  @Override
  public void writeTo(com.google.protobuf.CodedOutputStream output)
                      throws java.io.IOException {
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(phoneNo_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, phoneNo_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(idNo_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, idNo_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(patientName_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, patientName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(city_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 4, city_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(address_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 5, address_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(isInsu_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 6, isInsu_);
    }
    if (hospitalId_ != 0) {
      output.writeInt32(7, hospitalId_);
    }
    if (userId_ != 0) {
      output.writeInt32(8, userId_);
    }
    if (relationship_ != 0) {
      output.writeInt32(9, relationship_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(cardType_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 10, cardType_);
    }
    if (terminal_ != 0) {
      output.writeInt32(11, terminal_);
    }
    unknownFields.writeTo(output);
  }

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

    size = 0;
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(phoneNo_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, phoneNo_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(idNo_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, idNo_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(patientName_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, patientName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(city_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, city_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(address_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, address_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(isInsu_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, isInsu_);
    }
    if (hospitalId_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(7, hospitalId_);
    }
    if (userId_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(8, userId_);
    }
    if (relationship_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(9, relationship_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(cardType_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, cardType_);
    }
    if (terminal_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(11, terminal_);
    }
    size += unknownFields.getSerializedSize();
    memoizedSize = size;
    return size;
  }

  @Override
  public boolean equals(final Object obj) {
    if (obj == this) {
     return true;
    }
    if (!(obj instanceof CreateMedicalCardRequest)) {
      return super.equals(obj);
    }
    CreateMedicalCardRequest other = (CreateMedicalCardRequest) obj;

    if (!getPhoneNo()
        .equals(other.getPhoneNo())) return false;
    if (!getIdNo()
        .equals(other.getIdNo())) return false;
    if (!getPatientName()
        .equals(other.getPatientName())) return false;
    if (!getCity()
        .equals(other.getCity())) return false;
    if (!getAddress()
        .equals(other.getAddress())) return false;
    if (!getIsInsu()
        .equals(other.getIsInsu())) return false;
    if (getHospitalId()
        != other.getHospitalId()) return false;
    if (getUserId()
        != other.getUserId()) return false;
    if (getRelationship()
        != other.getRelationship()) return false;
    if (!getCardType()
        .equals(other.getCardType())) return false;
    if (getTerminal()
        != other.getTerminal()) return false;
    if (!unknownFields.equals(other.unknownFields)) return false;
    return true;
  }

  @Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    hash = (37 * hash) + PHONENO_FIELD_NUMBER;
    hash = (53 * hash) + getPhoneNo().hashCode();
    hash = (37 * hash) + IDNO_FIELD_NUMBER;
    hash = (53 * hash) + getIdNo().hashCode();
    hash = (37 * hash) + PATIENTNAME_FIELD_NUMBER;
    hash = (53 * hash) + getPatientName().hashCode();
    hash = (37 * hash) + CITY_FIELD_NUMBER;
    hash = (53 * hash) + getCity().hashCode();
    hash = (37 * hash) + ADDRESS_FIELD_NUMBER;
    hash = (53 * hash) + getAddress().hashCode();
    hash = (37 * hash) + ISINSU_FIELD_NUMBER;
    hash = (53 * hash) + getIsInsu().hashCode();
    hash = (37 * hash) + HOSPITALID_FIELD_NUMBER;
    hash = (53 * hash) + getHospitalId();
    hash = (37 * hash) + USERID_FIELD_NUMBER;
    hash = (53 * hash) + getUserId();
    hash = (37 * hash) + RELATIONSHIP_FIELD_NUMBER;
    hash = (53 * hash) + getRelationship();
    hash = (37 * hash) + CARDTYPE_FIELD_NUMBER;
    hash = (53 * hash) + getCardType().hashCode();
    hash = (37 * hash) + TERMINAL_FIELD_NUMBER;
    hash = (53 * hash) + getTerminal();
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

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

  @Override
  public Builder newBuilderForType() { return newBuilder(); }
  public static Builder newBuilder() {
    return DEFAULT_INSTANCE.toBuilder();
  }
  public static Builder newBuilder(CreateMedicalCardRequest prototype) {
    return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
  }
  @Override
  public Builder toBuilder() {
    return this == DEFAULT_INSTANCE
        ? new Builder() : new Builder().mergeFrom(this);
  }

  @Override
  protected Builder newBuilderForType(
      BuilderParent parent) {
    Builder builder = new Builder(parent);
    return builder;
  }
  /**
   * Protobuf type {@code com.ywt.gapi.taihe.register.CreateMedicalCardRequest}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
      // @@protoc_insertion_point(builder_implements:com.ywt.gapi.taihe.register.CreateMedicalCardRequest)
      CreateMedicalCardRequestOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return TaiheRegisterProto.internal_static_com_ywt_gapi_taihe_register_CreateMedicalCardRequest_descriptor;
    }

    @Override
    protected FieldAccessorTable
        internalGetFieldAccessorTable() {
      return TaiheRegisterProto.internal_static_com_ywt_gapi_taihe_register_CreateMedicalCardRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              CreateMedicalCardRequest.class, Builder.class);
    }

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

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

      idNo_ = "";

      patientName_ = "";

      city_ = "";

      address_ = "";

      isInsu_ = "";

      hospitalId_ = 0;

      userId_ = 0;

      relationship_ = 0;

      cardType_ = "";

      terminal_ = 0;

      return this;
    }

    @Override
    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return TaiheRegisterProto.internal_static_com_ywt_gapi_taihe_register_CreateMedicalCardRequest_descriptor;
    }

    @Override
    public CreateMedicalCardRequest getDefaultInstanceForType() {
      return CreateMedicalCardRequest.getDefaultInstance();
    }

    @Override
    public CreateMedicalCardRequest build() {
      CreateMedicalCardRequest result = buildPartial();
      if (!result.isInitialized()) {
        throw newUninitializedMessageException(result);
      }
      return result;
    }

    @Override
    public CreateMedicalCardRequest buildPartial() {
      CreateMedicalCardRequest result = new CreateMedicalCardRequest(this);
      result.phoneNo_ = phoneNo_;
      result.idNo_ = idNo_;
      result.patientName_ = patientName_;
      result.city_ = city_;
      result.address_ = address_;
      result.isInsu_ = isInsu_;
      result.hospitalId_ = hospitalId_;
      result.userId_ = userId_;
      result.relationship_ = relationship_;
      result.cardType_ = cardType_;
      result.terminal_ = terminal_;
      onBuilt();
      return result;
    }

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

    public Builder mergeFrom(CreateMedicalCardRequest other) {
      if (other == CreateMedicalCardRequest.getDefaultInstance()) return this;
      if (!other.getPhoneNo().isEmpty()) {
        phoneNo_ = other.phoneNo_;
        onChanged();
      }
      if (!other.getIdNo().isEmpty()) {
        idNo_ = other.idNo_;
        onChanged();
      }
      if (!other.getPatientName().isEmpty()) {
        patientName_ = other.patientName_;
        onChanged();
      }
      if (!other.getCity().isEmpty()) {
        city_ = other.city_;
        onChanged();
      }
      if (!other.getAddress().isEmpty()) {
        address_ = other.address_;
        onChanged();
      }
      if (!other.getIsInsu().isEmpty()) {
        isInsu_ = other.isInsu_;
        onChanged();
      }
      if (other.getHospitalId() != 0) {
        setHospitalId(other.getHospitalId());
      }
      if (other.getUserId() != 0) {
        setUserId(other.getUserId());
      }
      if (other.getRelationship() != 0) {
        setRelationship(other.getRelationship());
      }
      if (!other.getCardType().isEmpty()) {
        cardType_ = other.cardType_;
        onChanged();
      }
      if (other.getTerminal() != 0) {
        setTerminal(other.getTerminal());
      }
      this.mergeUnknownFields(other.unknownFields);
      onChanged();
      return this;
    }

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

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

    private Object phoneNo_ = "";
    /**
     * <pre>
     *手机号
     * </pre>
     *
     * <code>string phoneNo = 1;</code>
     * @return The phoneNo.
     */
    public String getPhoneNo() {
      Object ref = phoneNo_;
      if (!(ref instanceof String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        String s = bs.toStringUtf8();
        phoneNo_ = s;
        return s;
      } else {
        return (String) ref;
      }
    }
    /**
     * <pre>
     *手机号
     * </pre>
     *
     * <code>string phoneNo = 1;</code>
     * @return The bytes for phoneNo.
     */
    public com.google.protobuf.ByteString
        getPhoneNoBytes() {
      Object ref = phoneNo_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b =
            com.google.protobuf.ByteString.copyFromUtf8(
                (String) ref);
        phoneNo_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *手机号
     * </pre>
     *
     * <code>string phoneNo = 1;</code>
     * @param value The phoneNo to set.
     * @return This builder for chaining.
     */
    public Builder setPhoneNo(
        String value) {
      if (value == null) {
    throw new NullPointerException();
  }

      phoneNo_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *手机号
     * </pre>
     *
     * <code>string phoneNo = 1;</code>
     * @return This builder for chaining.
     */
    public Builder clearPhoneNo() {

      phoneNo_ = getDefaultInstance().getPhoneNo();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *手机号
     * </pre>
     *
     * <code>string phoneNo = 1;</code>
     * @param value The bytes for phoneNo to set.
     * @return This builder for chaining.
     */
    public Builder setPhoneNoBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);

      phoneNo_ = value;
      onChanged();
      return this;
    }

    private Object idNo_ = "";
    /**
     * <pre>
     *身份证号
     * </pre>
     *
     * <code>string idNo = 2;</code>
     * @return The idNo.
     */
    public String getIdNo() {
      Object ref = idNo_;
      if (!(ref instanceof String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        String s = bs.toStringUtf8();
        idNo_ = s;
        return s;
      } else {
        return (String) ref;
      }
    }
    /**
     * <pre>
     *身份证号
     * </pre>
     *
     * <code>string idNo = 2;</code>
     * @return The bytes for idNo.
     */
    public com.google.protobuf.ByteString
        getIdNoBytes() {
      Object ref = idNo_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b =
            com.google.protobuf.ByteString.copyFromUtf8(
                (String) ref);
        idNo_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *身份证号
     * </pre>
     *
     * <code>string idNo = 2;</code>
     * @param value The idNo to set.
     * @return This builder for chaining.
     */
    public Builder setIdNo(
        String value) {
      if (value == null) {
    throw new NullPointerException();
  }

      idNo_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *身份证号
     * </pre>
     *
     * <code>string idNo = 2;</code>
     * @return This builder for chaining.
     */
    public Builder clearIdNo() {

      idNo_ = getDefaultInstance().getIdNo();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *身份证号
     * </pre>
     *
     * <code>string idNo = 2;</code>
     * @param value The bytes for idNo to set.
     * @return This builder for chaining.
     */
    public Builder setIdNoBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);

      idNo_ = value;
      onChanged();
      return this;
    }

    private Object patientName_ = "";
    /**
     * <pre>
     *患者姓名
     * </pre>
     *
     * <code>string patientName = 3;</code>
     * @return The patientName.
     */
    public String getPatientName() {
      Object ref = patientName_;
      if (!(ref instanceof String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        String s = bs.toStringUtf8();
        patientName_ = s;
        return s;
      } else {
        return (String) ref;
      }
    }
    /**
     * <pre>
     *患者姓名
     * </pre>
     *
     * <code>string patientName = 3;</code>
     * @return The bytes for patientName.
     */
    public com.google.protobuf.ByteString
        getPatientNameBytes() {
      Object ref = patientName_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b =
            com.google.protobuf.ByteString.copyFromUtf8(
                (String) ref);
        patientName_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *患者姓名
     * </pre>
     *
     * <code>string patientName = 3;</code>
     * @param value The patientName to set.
     * @return This builder for chaining.
     */
    public Builder setPatientName(
        String value) {
      if (value == null) {
    throw new NullPointerException();
  }

      patientName_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *患者姓名
     * </pre>
     *
     * <code>string patientName = 3;</code>
     * @return This builder for chaining.
     */
    public Builder clearPatientName() {

      patientName_ = getDefaultInstance().getPatientName();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *患者姓名
     * </pre>
     *
     * <code>string patientName = 3;</code>
     * @param value The bytes for patientName to set.
     * @return This builder for chaining.
     */
    public Builder setPatientNameBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);

      patientName_ = value;
      onChanged();
      return this;
    }

    private Object city_ = "";
    /**
     * <pre>
     *在线建卡市区
     * </pre>
     *
     * <code>string city = 4;</code>
     * @return The city.
     */
    public String getCity() {
      Object ref = city_;
      if (!(ref instanceof String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        String s = bs.toStringUtf8();
        city_ = s;
        return s;
      } else {
        return (String) ref;
      }
    }
    /**
     * <pre>
     *在线建卡市区
     * </pre>
     *
     * <code>string city = 4;</code>
     * @return The bytes for city.
     */
    public com.google.protobuf.ByteString
        getCityBytes() {
      Object ref = city_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b =
            com.google.protobuf.ByteString.copyFromUtf8(
                (String) ref);
        city_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *在线建卡市区
     * </pre>
     *
     * <code>string city = 4;</code>
     * @param value The city to set.
     * @return This builder for chaining.
     */
    public Builder setCity(
        String value) {
      if (value == null) {
    throw new NullPointerException();
  }

      city_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *在线建卡市区
     * </pre>
     *
     * <code>string city = 4;</code>
     * @return This builder for chaining.
     */
    public Builder clearCity() {

      city_ = getDefaultInstance().getCity();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *在线建卡市区
     * </pre>
     *
     * <code>string city = 4;</code>
     * @param value The bytes for city to set.
     * @return This builder for chaining.
     */
    public Builder setCityBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);

      city_ = value;
      onChanged();
      return this;
    }

    private Object address_ = "";
    /**
     * <pre>
     *详细地址
     * </pre>
     *
     * <code>string address = 5;</code>
     * @return The address.
     */
    public String getAddress() {
      Object ref = address_;
      if (!(ref instanceof String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        String s = bs.toStringUtf8();
        address_ = s;
        return s;
      } else {
        return (String) ref;
      }
    }
    /**
     * <pre>
     *详细地址
     * </pre>
     *
     * <code>string address = 5;</code>
     * @return The bytes for address.
     */
    public com.google.protobuf.ByteString
        getAddressBytes() {
      Object ref = address_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b =
            com.google.protobuf.ByteString.copyFromUtf8(
                (String) ref);
        address_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *详细地址
     * </pre>
     *
     * <code>string address = 5;</code>
     * @param value The address to set.
     * @return This builder for chaining.
     */
    public Builder setAddress(
        String value) {
      if (value == null) {
    throw new NullPointerException();
  }

      address_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *详细地址
     * </pre>
     *
     * <code>string address = 5;</code>
     * @return This builder for chaining.
     */
    public Builder clearAddress() {

      address_ = getDefaultInstance().getAddress();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *详细地址
     * </pre>
     *
     * <code>string address = 5;</code>
     * @param value The bytes for address to set.
     * @return This builder for chaining.
     */
    public Builder setAddressBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);

      address_ = value;
      onChanged();
      return this;
    }

    private Object isInsu_ = "";
    /**
     * <pre>
     *建卡患者是否是医保  1 ：广州医保 空值：非医保
     * </pre>
     *
     * <code>string isInsu = 6;</code>
     * @return The isInsu.
     */
    public String getIsInsu() {
      Object ref = isInsu_;
      if (!(ref instanceof String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        String s = bs.toStringUtf8();
        isInsu_ = s;
        return s;
      } else {
        return (String) ref;
      }
    }
    /**
     * <pre>
     *建卡患者是否是医保  1 ：广州医保 空值：非医保
     * </pre>
     *
     * <code>string isInsu = 6;</code>
     * @return The bytes for isInsu.
     */
    public com.google.protobuf.ByteString
        getIsInsuBytes() {
      Object ref = isInsu_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b =
            com.google.protobuf.ByteString.copyFromUtf8(
                (String) ref);
        isInsu_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *建卡患者是否是医保  1 ：广州医保 空值：非医保
     * </pre>
     *
     * <code>string isInsu = 6;</code>
     * @param value The isInsu to set.
     * @return This builder for chaining.
     */
    public Builder setIsInsu(
        String value) {
      if (value == null) {
    throw new NullPointerException();
  }

      isInsu_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *建卡患者是否是医保  1 ：广州医保 空值：非医保
     * </pre>
     *
     * <code>string isInsu = 6;</code>
     * @return This builder for chaining.
     */
    public Builder clearIsInsu() {

      isInsu_ = getDefaultInstance().getIsInsu();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *建卡患者是否是医保  1 ：广州医保 空值：非医保
     * </pre>
     *
     * <code>string isInsu = 6;</code>
     * @param value The bytes for isInsu to set.
     * @return This builder for chaining.
     */
    public Builder setIsInsuBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);

      isInsu_ = value;
      onChanged();
      return this;
    }

    private int hospitalId_ ;
    /**
     * <code>int32 hospitalId = 7;</code>
     * @return The hospitalId.
     */
    @Override
    public int getHospitalId() {
      return hospitalId_;
    }
    /**
     * <code>int32 hospitalId = 7;</code>
     * @param value The hospitalId to set.
     * @return This builder for chaining.
     */
    public Builder setHospitalId(int value) {

      hospitalId_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 hospitalId = 7;</code>
     * @return This builder for chaining.
     */
    public Builder clearHospitalId() {

      hospitalId_ = 0;
      onChanged();
      return this;
    }

    private int userId_ ;
    /**
     * <code>int32 userId = 8;</code>
     * @return The userId.
     */
    @Override
    public int getUserId() {
      return userId_;
    }
    /**
     * <code>int32 userId = 8;</code>
     * @param value The userId to set.
     * @return This builder for chaining.
     */
    public Builder setUserId(int value) {

      userId_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 userId = 8;</code>
     * @return This builder for chaining.
     */
    public Builder clearUserId() {

      userId_ = 0;
      onChanged();
      return this;
    }

    private int relationship_ ;
    /**
     * <pre>
     * 关系:1-本人,6-父母,7-子女,5-其他
     * </pre>
     *
     * <code>int32 relationship = 9;</code>
     * @return The relationship.
     */
    @Override
    public int getRelationship() {
      return relationship_;
    }
    /**
     * <pre>
     * 关系:1-本人,6-父母,7-子女,5-其他
     * </pre>
     *
     * <code>int32 relationship = 9;</code>
     * @param value The relationship to set.
     * @return This builder for chaining.
     */
    public Builder setRelationship(int value) {

      relationship_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 关系:1-本人,6-父母,7-子女,5-其他
     * </pre>
     *
     * <code>int32 relationship = 9;</code>
     * @return This builder for chaining.
     */
    public Builder clearRelationship() {

      relationship_ = 0;
      onChanged();
      return this;
    }

    private Object cardType_ = "";
    /**
     * <pre>
     * 卡类型，默认1, 1-居民身份证,2-居民户口簿,3-护照,4-军官证,5-驾驶证,6-老年证,7-优抚证,8-残疾证,9-港澳台身份证,10-其他
     * </pre>
     *
     * <code>string cardType = 10;</code>
     * @return The cardType.
     */
    public String getCardType() {
      Object ref = cardType_;
      if (!(ref instanceof String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        String s = bs.toStringUtf8();
        cardType_ = s;
        return s;
      } else {
        return (String) ref;
      }
    }
    /**
     * <pre>
     * 卡类型，默认1, 1-居民身份证,2-居民户口簿,3-护照,4-军官证,5-驾驶证,6-老年证,7-优抚证,8-残疾证,9-港澳台身份证,10-其他
     * </pre>
     *
     * <code>string cardType = 10;</code>
     * @return The bytes for cardType.
     */
    public com.google.protobuf.ByteString
        getCardTypeBytes() {
      Object ref = cardType_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b =
            com.google.protobuf.ByteString.copyFromUtf8(
                (String) ref);
        cardType_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     * 卡类型，默认1, 1-居民身份证,2-居民户口簿,3-护照,4-军官证,5-驾驶证,6-老年证,7-优抚证,8-残疾证,9-港澳台身份证,10-其他
     * </pre>
     *
     * <code>string cardType = 10;</code>
     * @param value The cardType to set.
     * @return This builder for chaining.
     */
    public Builder setCardType(
        String value) {
      if (value == null) {
    throw new NullPointerException();
  }

      cardType_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 卡类型，默认1, 1-居民身份证,2-居民户口簿,3-护照,4-军官证,5-驾驶证,6-老年证,7-优抚证,8-残疾证,9-港澳台身份证,10-其他
     * </pre>
     *
     * <code>string cardType = 10;</code>
     * @return This builder for chaining.
     */
    public Builder clearCardType() {

      cardType_ = getDefaultInstance().getCardType();
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 卡类型，默认1, 1-居民身份证,2-居民户口簿,3-护照,4-军官证,5-驾驶证,6-老年证,7-优抚证,8-残疾证,9-港澳台身份证,10-其他
     * </pre>
     *
     * <code>string cardType = 10;</code>
     * @param value The bytes for cardType to set.
     * @return This builder for chaining.
     */
    public Builder setCardTypeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);

      cardType_ = value;
      onChanged();
      return this;
    }

    private int terminal_ ;
    /**
     * <code>int32 terminal = 11;</code>
     * @return The terminal.
     */
    @Override
    public int getTerminal() {
      return terminal_;
    }
    /**
     * <code>int32 terminal = 11;</code>
     * @param value The terminal to set.
     * @return This builder for chaining.
     */
    public Builder setTerminal(int value) {

      terminal_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 terminal = 11;</code>
     * @return This builder for chaining.
     */
    public Builder clearTerminal() {

      terminal_ = 0;
      onChanged();
      return this;
    }
    @Override
    public final Builder setUnknownFields(
        final com.google.protobuf.UnknownFieldSet unknownFields) {
      return super.setUnknownFields(unknownFields);
    }

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


    // @@protoc_insertion_point(builder_scope:com.ywt.gapi.taihe.register.CreateMedicalCardRequest)
  }

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

  public static CreateMedicalCardRequest getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

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

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

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

  @Override
  public CreateMedicalCardRequest getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}

