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

package com.ywt.gapi.third.taihe;

/**
 * Protobuf type {@code com.ywt.gapi.third.taihe.SaveInsuResultRequest}
 */
public  final class SaveInsuResultRequest extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:com.ywt.gapi.third.taihe.SaveInsuResultRequest)
    SaveInsuResultRequestOrBuilder {
  // Use SaveInsuResultRequest.newBuilder() to construct.
  private SaveInsuResultRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private SaveInsuResultRequest() {
    admInfoDr_ = "";
    hospitalId_ = 0;
    jsonStrInsuRtn_ = "";
    jsonStrTencentRtn_ = "";
    invRowidStr_ = "";
    insuAdmInfoDr_ = "";
    medInsType_ = 0;
  }

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
  }
  private SaveInsuResultRequest(
      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 10: {
            java.lang.String s = input.readStringRequireUtf8();

            admInfoDr_ = s;
            break;
          }
          case 16: {

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

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

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

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

            insuAdmInfoDr_ = s;
            break;
          }
          case 56: {

            medInsType_ = input.readInt32();
            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.third.taihe.Taihe.internal_static_com_ywt_gapi_third_taihe_SaveInsuResultRequest_descriptor;
  }

  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return com.ywt.gapi.third.taihe.Taihe.internal_static_com_ywt_gapi_third_taihe_SaveInsuResultRequest_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.ywt.gapi.third.taihe.SaveInsuResultRequest.class, com.ywt.gapi.third.taihe.SaveInsuResultRequest.Builder.class);
  }

  public static final int ADMINFODR_FIELD_NUMBER = 1;
  private volatile java.lang.Object admInfoDr_;
  /**
   * <pre>
   *医保登记Rowid	
   * </pre>
   *
   * <code>string admInfoDr = 1;</code>
   */
  public java.lang.String getAdmInfoDr() {
    java.lang.Object ref = admInfoDr_;
    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();
      admInfoDr_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *医保登记Rowid	
   * </pre>
   *
   * <code>string admInfoDr = 1;</code>
   */
  public com.google.protobuf.ByteString
      getAdmInfoDrBytes() {
    java.lang.Object ref = admInfoDr_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      admInfoDr_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

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

  public static final int JSONSTRINSURTN_FIELD_NUMBER = 3;
  private volatile java.lang.Object jsonStrInsuRtn_;
  /**
   * <pre>
   *医保结算成功返回串	
   * </pre>
   *
   * <code>string jsonStrInsuRtn = 3;</code>
   */
  public java.lang.String getJsonStrInsuRtn() {
    java.lang.Object ref = jsonStrInsuRtn_;
    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();
      jsonStrInsuRtn_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *医保结算成功返回串	
   * </pre>
   *
   * <code>string jsonStrInsuRtn = 3;</code>
   */
  public com.google.protobuf.ByteString
      getJsonStrInsuRtnBytes() {
    java.lang.Object ref = jsonStrInsuRtn_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      jsonStrInsuRtn_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int JSONSTRTENCENTRTN_FIELD_NUMBER = 4;
  private volatile java.lang.Object jsonStrTencentRtn_;
  /**
   * <pre>
   *结算成功腾讯返回串
   * </pre>
   *
   * <code>string jsonStrTencentRtn = 4;</code>
   */
  public java.lang.String getJsonStrTencentRtn() {
    java.lang.Object ref = jsonStrTencentRtn_;
    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();
      jsonStrTencentRtn_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *结算成功腾讯返回串
   * </pre>
   *
   * <code>string jsonStrTencentRtn = 4;</code>
   */
  public com.google.protobuf.ByteString
      getJsonStrTencentRtnBytes() {
    java.lang.Object ref = jsonStrTencentRtn_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      jsonStrTencentRtn_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int INVROWIDSTR_FIELD_NUMBER = 5;
  private volatile java.lang.Object invRowidStr_;
  /**
   * <pre>
   * 发票 rowId
   * </pre>
   *
   * <code>string invRowidStr = 5;</code>
   */
  public java.lang.String getInvRowidStr() {
    java.lang.Object ref = invRowidStr_;
    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();
      invRowidStr_ = s;
      return s;
    }
  }
  /**
   * <pre>
   * 发票 rowId
   * </pre>
   *
   * <code>string invRowidStr = 5;</code>
   */
  public com.google.protobuf.ByteString
      getInvRowidStrBytes() {
    java.lang.Object ref = invRowidStr_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      invRowidStr_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int INSUADMINFODR_FIELD_NUMBER = 6;
  private volatile java.lang.Object insuAdmInfoDr_;
  /**
   * <pre>
   * 医保登记 id，市直医保新增
   * </pre>
   *
   * <code>string insuAdmInfoDr = 6;</code>
   */
  public java.lang.String getInsuAdmInfoDr() {
    java.lang.Object ref = insuAdmInfoDr_;
    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();
      insuAdmInfoDr_ = s;
      return s;
    }
  }
  /**
   * <pre>
   * 医保登记 id，市直医保新增
   * </pre>
   *
   * <code>string insuAdmInfoDr = 6;</code>
   */
  public com.google.protobuf.ByteString
      getInsuAdmInfoDrBytes() {
    java.lang.Object ref = insuAdmInfoDr_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      insuAdmInfoDr_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int MEDINSTYPE_FIELD_NUMBER = 7;
  private int medInsType_;
  /**
   * <pre>
   * 医保类型标识，1-广州医保，2-市直医保
   * </pre>
   *
   * <code>int32 medInsType = 7;</code>
   */
  public int getMedInsType() {
    return medInsType_;
  }

  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 (!getAdmInfoDrBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, admInfoDr_);
    }
    if (hospitalId_ != 0) {
      output.writeInt32(2, hospitalId_);
    }
    if (!getJsonStrInsuRtnBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, jsonStrInsuRtn_);
    }
    if (!getJsonStrTencentRtnBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 4, jsonStrTencentRtn_);
    }
    if (!getInvRowidStrBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 5, invRowidStr_);
    }
    if (!getInsuAdmInfoDrBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 6, insuAdmInfoDr_);
    }
    if (medInsType_ != 0) {
      output.writeInt32(7, medInsType_);
    }
  }

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

    size = 0;
    if (!getAdmInfoDrBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, admInfoDr_);
    }
    if (hospitalId_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(2, hospitalId_);
    }
    if (!getJsonStrInsuRtnBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, jsonStrInsuRtn_);
    }
    if (!getJsonStrTencentRtnBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, jsonStrTencentRtn_);
    }
    if (!getInvRowidStrBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, invRowidStr_);
    }
    if (!getInsuAdmInfoDrBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, insuAdmInfoDr_);
    }
    if (medInsType_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(7, medInsType_);
    }
    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.third.taihe.SaveInsuResultRequest)) {
      return super.equals(obj);
    }
    com.ywt.gapi.third.taihe.SaveInsuResultRequest other = (com.ywt.gapi.third.taihe.SaveInsuResultRequest) obj;

    boolean result = true;
    result = result && getAdmInfoDr()
        .equals(other.getAdmInfoDr());
    result = result && (getHospitalId()
        == other.getHospitalId());
    result = result && getJsonStrInsuRtn()
        .equals(other.getJsonStrInsuRtn());
    result = result && getJsonStrTencentRtn()
        .equals(other.getJsonStrTencentRtn());
    result = result && getInvRowidStr()
        .equals(other.getInvRowidStr());
    result = result && getInsuAdmInfoDr()
        .equals(other.getInsuAdmInfoDr());
    result = result && (getMedInsType()
        == other.getMedInsType());
    return result;
  }

  @java.lang.Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    hash = (37 * hash) + ADMINFODR_FIELD_NUMBER;
    hash = (53 * hash) + getAdmInfoDr().hashCode();
    hash = (37 * hash) + HOSPITALID_FIELD_NUMBER;
    hash = (53 * hash) + getHospitalId();
    hash = (37 * hash) + JSONSTRINSURTN_FIELD_NUMBER;
    hash = (53 * hash) + getJsonStrInsuRtn().hashCode();
    hash = (37 * hash) + JSONSTRTENCENTRTN_FIELD_NUMBER;
    hash = (53 * hash) + getJsonStrTencentRtn().hashCode();
    hash = (37 * hash) + INVROWIDSTR_FIELD_NUMBER;
    hash = (53 * hash) + getInvRowidStr().hashCode();
    hash = (37 * hash) + INSUADMINFODR_FIELD_NUMBER;
    hash = (53 * hash) + getInsuAdmInfoDr().hashCode();
    hash = (37 * hash) + MEDINSTYPE_FIELD_NUMBER;
    hash = (53 * hash) + getMedInsType();
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

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

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

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.ywt.gapi.third.taihe.Taihe.internal_static_com_ywt_gapi_third_taihe_SaveInsuResultRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.ywt.gapi.third.taihe.SaveInsuResultRequest.class, com.ywt.gapi.third.taihe.SaveInsuResultRequest.Builder.class);
    }

    // Construct using com.ywt.gapi.third.taihe.SaveInsuResultRequest.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();
      admInfoDr_ = "";

      hospitalId_ = 0;

      jsonStrInsuRtn_ = "";

      jsonStrTencentRtn_ = "";

      invRowidStr_ = "";

      insuAdmInfoDr_ = "";

      medInsType_ = 0;

      return this;
    }

    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return com.ywt.gapi.third.taihe.Taihe.internal_static_com_ywt_gapi_third_taihe_SaveInsuResultRequest_descriptor;
    }

    public com.ywt.gapi.third.taihe.SaveInsuResultRequest getDefaultInstanceForType() {
      return com.ywt.gapi.third.taihe.SaveInsuResultRequest.getDefaultInstance();
    }

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

    public com.ywt.gapi.third.taihe.SaveInsuResultRequest buildPartial() {
      com.ywt.gapi.third.taihe.SaveInsuResultRequest result = new com.ywt.gapi.third.taihe.SaveInsuResultRequest(this);
      result.admInfoDr_ = admInfoDr_;
      result.hospitalId_ = hospitalId_;
      result.jsonStrInsuRtn_ = jsonStrInsuRtn_;
      result.jsonStrTencentRtn_ = jsonStrTencentRtn_;
      result.invRowidStr_ = invRowidStr_;
      result.insuAdmInfoDr_ = insuAdmInfoDr_;
      result.medInsType_ = medInsType_;
      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.third.taihe.SaveInsuResultRequest) {
        return mergeFrom((com.ywt.gapi.third.taihe.SaveInsuResultRequest)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(com.ywt.gapi.third.taihe.SaveInsuResultRequest other) {
      if (other == com.ywt.gapi.third.taihe.SaveInsuResultRequest.getDefaultInstance()) return this;
      if (!other.getAdmInfoDr().isEmpty()) {
        admInfoDr_ = other.admInfoDr_;
        onChanged();
      }
      if (other.getHospitalId() != 0) {
        setHospitalId(other.getHospitalId());
      }
      if (!other.getJsonStrInsuRtn().isEmpty()) {
        jsonStrInsuRtn_ = other.jsonStrInsuRtn_;
        onChanged();
      }
      if (!other.getJsonStrTencentRtn().isEmpty()) {
        jsonStrTencentRtn_ = other.jsonStrTencentRtn_;
        onChanged();
      }
      if (!other.getInvRowidStr().isEmpty()) {
        invRowidStr_ = other.invRowidStr_;
        onChanged();
      }
      if (!other.getInsuAdmInfoDr().isEmpty()) {
        insuAdmInfoDr_ = other.insuAdmInfoDr_;
        onChanged();
      }
      if (other.getMedInsType() != 0) {
        setMedInsType(other.getMedInsType());
      }
      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.third.taihe.SaveInsuResultRequest parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (com.ywt.gapi.third.taihe.SaveInsuResultRequest) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }

    private java.lang.Object admInfoDr_ = "";
    /**
     * <pre>
     *医保登记Rowid	
     * </pre>
     *
     * <code>string admInfoDr = 1;</code>
     */
    public java.lang.String getAdmInfoDr() {
      java.lang.Object ref = admInfoDr_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        admInfoDr_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *医保登记Rowid	
     * </pre>
     *
     * <code>string admInfoDr = 1;</code>
     */
    public com.google.protobuf.ByteString
        getAdmInfoDrBytes() {
      java.lang.Object ref = admInfoDr_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        admInfoDr_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *医保登记Rowid	
     * </pre>
     *
     * <code>string admInfoDr = 1;</code>
     */
    public Builder setAdmInfoDr(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      admInfoDr_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *医保登记Rowid	
     * </pre>
     *
     * <code>string admInfoDr = 1;</code>
     */
    public Builder clearAdmInfoDr() {
      
      admInfoDr_ = getDefaultInstance().getAdmInfoDr();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *医保登记Rowid	
     * </pre>
     *
     * <code>string admInfoDr = 1;</code>
     */
    public Builder setAdmInfoDrBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      admInfoDr_ = value;
      onChanged();
      return this;
    }

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

    private java.lang.Object jsonStrInsuRtn_ = "";
    /**
     * <pre>
     *医保结算成功返回串	
     * </pre>
     *
     * <code>string jsonStrInsuRtn = 3;</code>
     */
    public java.lang.String getJsonStrInsuRtn() {
      java.lang.Object ref = jsonStrInsuRtn_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        jsonStrInsuRtn_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *医保结算成功返回串	
     * </pre>
     *
     * <code>string jsonStrInsuRtn = 3;</code>
     */
    public com.google.protobuf.ByteString
        getJsonStrInsuRtnBytes() {
      java.lang.Object ref = jsonStrInsuRtn_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        jsonStrInsuRtn_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *医保结算成功返回串	
     * </pre>
     *
     * <code>string jsonStrInsuRtn = 3;</code>
     */
    public Builder setJsonStrInsuRtn(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      jsonStrInsuRtn_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *医保结算成功返回串	
     * </pre>
     *
     * <code>string jsonStrInsuRtn = 3;</code>
     */
    public Builder clearJsonStrInsuRtn() {
      
      jsonStrInsuRtn_ = getDefaultInstance().getJsonStrInsuRtn();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *医保结算成功返回串	
     * </pre>
     *
     * <code>string jsonStrInsuRtn = 3;</code>
     */
    public Builder setJsonStrInsuRtnBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      jsonStrInsuRtn_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object jsonStrTencentRtn_ = "";
    /**
     * <pre>
     *结算成功腾讯返回串
     * </pre>
     *
     * <code>string jsonStrTencentRtn = 4;</code>
     */
    public java.lang.String getJsonStrTencentRtn() {
      java.lang.Object ref = jsonStrTencentRtn_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        jsonStrTencentRtn_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *结算成功腾讯返回串
     * </pre>
     *
     * <code>string jsonStrTencentRtn = 4;</code>
     */
    public com.google.protobuf.ByteString
        getJsonStrTencentRtnBytes() {
      java.lang.Object ref = jsonStrTencentRtn_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        jsonStrTencentRtn_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *结算成功腾讯返回串
     * </pre>
     *
     * <code>string jsonStrTencentRtn = 4;</code>
     */
    public Builder setJsonStrTencentRtn(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      jsonStrTencentRtn_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *结算成功腾讯返回串
     * </pre>
     *
     * <code>string jsonStrTencentRtn = 4;</code>
     */
    public Builder clearJsonStrTencentRtn() {
      
      jsonStrTencentRtn_ = getDefaultInstance().getJsonStrTencentRtn();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *结算成功腾讯返回串
     * </pre>
     *
     * <code>string jsonStrTencentRtn = 4;</code>
     */
    public Builder setJsonStrTencentRtnBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      jsonStrTencentRtn_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object invRowidStr_ = "";
    /**
     * <pre>
     * 发票 rowId
     * </pre>
     *
     * <code>string invRowidStr = 5;</code>
     */
    public java.lang.String getInvRowidStr() {
      java.lang.Object ref = invRowidStr_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        invRowidStr_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     * 发票 rowId
     * </pre>
     *
     * <code>string invRowidStr = 5;</code>
     */
    public com.google.protobuf.ByteString
        getInvRowidStrBytes() {
      java.lang.Object ref = invRowidStr_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        invRowidStr_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     * 发票 rowId
     * </pre>
     *
     * <code>string invRowidStr = 5;</code>
     */
    public Builder setInvRowidStr(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      invRowidStr_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 发票 rowId
     * </pre>
     *
     * <code>string invRowidStr = 5;</code>
     */
    public Builder clearInvRowidStr() {
      
      invRowidStr_ = getDefaultInstance().getInvRowidStr();
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 发票 rowId
     * </pre>
     *
     * <code>string invRowidStr = 5;</code>
     */
    public Builder setInvRowidStrBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      invRowidStr_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object insuAdmInfoDr_ = "";
    /**
     * <pre>
     * 医保登记 id，市直医保新增
     * </pre>
     *
     * <code>string insuAdmInfoDr = 6;</code>
     */
    public java.lang.String getInsuAdmInfoDr() {
      java.lang.Object ref = insuAdmInfoDr_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        insuAdmInfoDr_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     * 医保登记 id，市直医保新增
     * </pre>
     *
     * <code>string insuAdmInfoDr = 6;</code>
     */
    public com.google.protobuf.ByteString
        getInsuAdmInfoDrBytes() {
      java.lang.Object ref = insuAdmInfoDr_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        insuAdmInfoDr_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     * 医保登记 id，市直医保新增
     * </pre>
     *
     * <code>string insuAdmInfoDr = 6;</code>
     */
    public Builder setInsuAdmInfoDr(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      insuAdmInfoDr_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 医保登记 id，市直医保新增
     * </pre>
     *
     * <code>string insuAdmInfoDr = 6;</code>
     */
    public Builder clearInsuAdmInfoDr() {
      
      insuAdmInfoDr_ = getDefaultInstance().getInsuAdmInfoDr();
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 医保登记 id，市直医保新增
     * </pre>
     *
     * <code>string insuAdmInfoDr = 6;</code>
     */
    public Builder setInsuAdmInfoDrBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      insuAdmInfoDr_ = value;
      onChanged();
      return this;
    }

    private int medInsType_ ;
    /**
     * <pre>
     * 医保类型标识，1-广州医保，2-市直医保
     * </pre>
     *
     * <code>int32 medInsType = 7;</code>
     */
    public int getMedInsType() {
      return medInsType_;
    }
    /**
     * <pre>
     * 医保类型标识，1-广州医保，2-市直医保
     * </pre>
     *
     * <code>int32 medInsType = 7;</code>
     */
    public Builder setMedInsType(int value) {
      
      medInsType_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 医保类型标识，1-广州医保，2-市直医保
     * </pre>
     *
     * <code>int32 medInsType = 7;</code>
     */
    public Builder clearMedInsType() {
      
      medInsType_ = 0;
      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.third.taihe.SaveInsuResultRequest)
  }

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

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

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

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

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

  public com.ywt.gapi.third.taihe.SaveInsuResultRequest getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}

