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

package com.ywt.gapi.doctor;

/**
 * <pre>
 * 保存DoctorHisCodeList请求
 * </pre>
 *
 * Protobuf type {@code com.ywt.gapi.doctor.SaveDoctorHisCodeListRequest}
 */
public final class SaveDoctorHisCodeListRequest extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:com.ywt.gapi.doctor.SaveDoctorHisCodeListRequest)
    SaveDoctorHisCodeListRequestOrBuilder {
private static final long serialVersionUID = 0L;
  // Use SaveDoctorHisCodeListRequest.newBuilder() to construct.
  private SaveDoctorHisCodeListRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private SaveDoctorHisCodeListRequest() {
    doctorHisCode_ = java.util.Collections.emptyList();
  }

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

  @Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private SaveDoctorHisCodeListRequest(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    this();
    if (extensionRegistry == null) {
      throw new NullPointerException();
    }
    int mutable_bitField0_ = 0;
    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: {
            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
              doctorHisCode_ = new java.util.ArrayList<DoctorHisCode>();
              mutable_bitField0_ |= 0x00000001;
            }
            doctorHisCode_.add(
                input.readMessage(DoctorHisCode.parser(), extensionRegistry));
            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 {
      if (((mutable_bitField0_ & 0x00000001) != 0)) {
        doctorHisCode_ = java.util.Collections.unmodifiableList(doctorHisCode_);
      }
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return DoctorProto.internal_static_com_ywt_gapi_doctor_SaveDoctorHisCodeListRequest_descriptor;
  }

  @Override
  protected FieldAccessorTable
      internalGetFieldAccessorTable() {
    return DoctorProto.internal_static_com_ywt_gapi_doctor_SaveDoctorHisCodeListRequest_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            SaveDoctorHisCodeListRequest.class, Builder.class);
  }

  public static final int DOCTORHISCODE_FIELD_NUMBER = 1;
  private java.util.List<DoctorHisCode> doctorHisCode_;
  /**
   * <code>repeated .com.ywt.gapi.doctor.DoctorHisCode doctorHisCode = 1;</code>
   */
  @Override
  public java.util.List<DoctorHisCode> getDoctorHisCodeList() {
    return doctorHisCode_;
  }
  /**
   * <code>repeated .com.ywt.gapi.doctor.DoctorHisCode doctorHisCode = 1;</code>
   */
  @Override
  public java.util.List<? extends DoctorHisCodeOrBuilder>
      getDoctorHisCodeOrBuilderList() {
    return doctorHisCode_;
  }
  /**
   * <code>repeated .com.ywt.gapi.doctor.DoctorHisCode doctorHisCode = 1;</code>
   */
  @Override
  public int getDoctorHisCodeCount() {
    return doctorHisCode_.size();
  }
  /**
   * <code>repeated .com.ywt.gapi.doctor.DoctorHisCode doctorHisCode = 1;</code>
   */
  @Override
  public DoctorHisCode getDoctorHisCode(int index) {
    return doctorHisCode_.get(index);
  }
  /**
   * <code>repeated .com.ywt.gapi.doctor.DoctorHisCode doctorHisCode = 1;</code>
   */
  @Override
  public DoctorHisCodeOrBuilder getDoctorHisCodeOrBuilder(
      int index) {
    return doctorHisCode_.get(index);
  }

  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 {
    for (int i = 0; i < doctorHisCode_.size(); i++) {
      output.writeMessage(1, doctorHisCode_.get(i));
    }
    unknownFields.writeTo(output);
  }

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

    size = 0;
    for (int i = 0; i < doctorHisCode_.size(); i++) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(1, doctorHisCode_.get(i));
    }
    size += unknownFields.getSerializedSize();
    memoizedSize = size;
    return size;
  }

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

    if (!getDoctorHisCodeList()
        .equals(other.getDoctorHisCodeList())) 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();
    if (getDoctorHisCodeCount() > 0) {
      hash = (37 * hash) + DOCTORHISCODE_FIELD_NUMBER;
      hash = (53 * hash) + getDoctorHisCodeList().hashCode();
    }
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static SaveDoctorHisCodeListRequest parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static SaveDoctorHisCodeListRequest parseFrom(
      java.nio.ByteBuffer data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static SaveDoctorHisCodeListRequest parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static SaveDoctorHisCodeListRequest parseFrom(
      com.google.protobuf.ByteString data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static SaveDoctorHisCodeListRequest parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static SaveDoctorHisCodeListRequest parseFrom(
      byte[] data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static SaveDoctorHisCodeListRequest parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static SaveDoctorHisCodeListRequest 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 SaveDoctorHisCodeListRequest parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input);
  }
  public static SaveDoctorHisCodeListRequest 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 SaveDoctorHisCodeListRequest parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static SaveDoctorHisCodeListRequest 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(SaveDoctorHisCodeListRequest 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;
  }
  /**
   * <pre>
   * 保存DoctorHisCodeList请求
   * </pre>
   *
   * Protobuf type {@code com.ywt.gapi.doctor.SaveDoctorHisCodeListRequest}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
      // @@protoc_insertion_point(builder_implements:com.ywt.gapi.doctor.SaveDoctorHisCodeListRequest)
      com.ywt.gapi.doctor.SaveDoctorHisCodeListRequestOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return DoctorProto.internal_static_com_ywt_gapi_doctor_SaveDoctorHisCodeListRequest_descriptor;
    }

    @Override
    protected FieldAccessorTable
        internalGetFieldAccessorTable() {
      return DoctorProto.internal_static_com_ywt_gapi_doctor_SaveDoctorHisCodeListRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              SaveDoctorHisCodeListRequest.class, Builder.class);
    }

    // Construct using com.ywt.gapi.doctor.SaveDoctorHisCodeListRequest.newBuilder()
    private Builder() {
      maybeForceBuilderInitialization();
    }

    private Builder(
        BuilderParent parent) {
      super(parent);
      maybeForceBuilderInitialization();
    }
    private void maybeForceBuilderInitialization() {
      if (com.google.protobuf.GeneratedMessageV3
              .alwaysUseFieldBuilders) {
        getDoctorHisCodeFieldBuilder();
      }
    }
    @Override
    public Builder clear() {
      super.clear();
      if (doctorHisCodeBuilder_ == null) {
        doctorHisCode_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000001);
      } else {
        doctorHisCodeBuilder_.clear();
      }
      return this;
    }

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

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

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

    @Override
    public SaveDoctorHisCodeListRequest buildPartial() {
      SaveDoctorHisCodeListRequest result = new SaveDoctorHisCodeListRequest(this);
      int from_bitField0_ = bitField0_;
      if (doctorHisCodeBuilder_ == null) {
        if (((bitField0_ & 0x00000001) != 0)) {
          doctorHisCode_ = java.util.Collections.unmodifiableList(doctorHisCode_);
          bitField0_ = (bitField0_ & ~0x00000001);
        }
        result.doctorHisCode_ = doctorHisCode_;
      } else {
        result.doctorHisCode_ = doctorHisCodeBuilder_.build();
      }
      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 SaveDoctorHisCodeListRequest) {
        return mergeFrom((SaveDoctorHisCodeListRequest)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(SaveDoctorHisCodeListRequest other) {
      if (other == SaveDoctorHisCodeListRequest.getDefaultInstance()) return this;
      if (doctorHisCodeBuilder_ == null) {
        if (!other.doctorHisCode_.isEmpty()) {
          if (doctorHisCode_.isEmpty()) {
            doctorHisCode_ = other.doctorHisCode_;
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            ensureDoctorHisCodeIsMutable();
            doctorHisCode_.addAll(other.doctorHisCode_);
          }
          onChanged();
        }
      } else {
        if (!other.doctorHisCode_.isEmpty()) {
          if (doctorHisCodeBuilder_.isEmpty()) {
            doctorHisCodeBuilder_.dispose();
            doctorHisCodeBuilder_ = null;
            doctorHisCode_ = other.doctorHisCode_;
            bitField0_ = (bitField0_ & ~0x00000001);
            doctorHisCodeBuilder_ = 
              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                 getDoctorHisCodeFieldBuilder() : null;
          } else {
            doctorHisCodeBuilder_.addAllMessages(other.doctorHisCode_);
          }
        }
      }
      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 {
      SaveDoctorHisCodeListRequest parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (SaveDoctorHisCodeListRequest) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }
    private int bitField0_;

    private java.util.List<DoctorHisCode> doctorHisCode_ =
      java.util.Collections.emptyList();
    private void ensureDoctorHisCodeIsMutable() {
      if (!((bitField0_ & 0x00000001) != 0)) {
        doctorHisCode_ = new java.util.ArrayList<DoctorHisCode>(doctorHisCode_);
        bitField0_ |= 0x00000001;
       }
    }

    private com.google.protobuf.RepeatedFieldBuilderV3<
        DoctorHisCode, DoctorHisCode.Builder, DoctorHisCodeOrBuilder> doctorHisCodeBuilder_;

    /**
     * <code>repeated .com.ywt.gapi.doctor.DoctorHisCode doctorHisCode = 1;</code>
     */
    public java.util.List<DoctorHisCode> getDoctorHisCodeList() {
      if (doctorHisCodeBuilder_ == null) {
        return java.util.Collections.unmodifiableList(doctorHisCode_);
      } else {
        return doctorHisCodeBuilder_.getMessageList();
      }
    }
    /**
     * <code>repeated .com.ywt.gapi.doctor.DoctorHisCode doctorHisCode = 1;</code>
     */
    public int getDoctorHisCodeCount() {
      if (doctorHisCodeBuilder_ == null) {
        return doctorHisCode_.size();
      } else {
        return doctorHisCodeBuilder_.getCount();
      }
    }
    /**
     * <code>repeated .com.ywt.gapi.doctor.DoctorHisCode doctorHisCode = 1;</code>
     */
    public DoctorHisCode getDoctorHisCode(int index) {
      if (doctorHisCodeBuilder_ == null) {
        return doctorHisCode_.get(index);
      } else {
        return doctorHisCodeBuilder_.getMessage(index);
      }
    }
    /**
     * <code>repeated .com.ywt.gapi.doctor.DoctorHisCode doctorHisCode = 1;</code>
     */
    public Builder setDoctorHisCode(
        int index, DoctorHisCode value) {
      if (doctorHisCodeBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureDoctorHisCodeIsMutable();
        doctorHisCode_.set(index, value);
        onChanged();
      } else {
        doctorHisCodeBuilder_.setMessage(index, value);
      }
      return this;
    }
    /**
     * <code>repeated .com.ywt.gapi.doctor.DoctorHisCode doctorHisCode = 1;</code>
     */
    public Builder setDoctorHisCode(
        int index, DoctorHisCode.Builder builderForValue) {
      if (doctorHisCodeBuilder_ == null) {
        ensureDoctorHisCodeIsMutable();
        doctorHisCode_.set(index, builderForValue.build());
        onChanged();
      } else {
        doctorHisCodeBuilder_.setMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * <code>repeated .com.ywt.gapi.doctor.DoctorHisCode doctorHisCode = 1;</code>
     */
    public Builder addDoctorHisCode(DoctorHisCode value) {
      if (doctorHisCodeBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureDoctorHisCodeIsMutable();
        doctorHisCode_.add(value);
        onChanged();
      } else {
        doctorHisCodeBuilder_.addMessage(value);
      }
      return this;
    }
    /**
     * <code>repeated .com.ywt.gapi.doctor.DoctorHisCode doctorHisCode = 1;</code>
     */
    public Builder addDoctorHisCode(
        int index, DoctorHisCode value) {
      if (doctorHisCodeBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureDoctorHisCodeIsMutable();
        doctorHisCode_.add(index, value);
        onChanged();
      } else {
        doctorHisCodeBuilder_.addMessage(index, value);
      }
      return this;
    }
    /**
     * <code>repeated .com.ywt.gapi.doctor.DoctorHisCode doctorHisCode = 1;</code>
     */
    public Builder addDoctorHisCode(
        DoctorHisCode.Builder builderForValue) {
      if (doctorHisCodeBuilder_ == null) {
        ensureDoctorHisCodeIsMutable();
        doctorHisCode_.add(builderForValue.build());
        onChanged();
      } else {
        doctorHisCodeBuilder_.addMessage(builderForValue.build());
      }
      return this;
    }
    /**
     * <code>repeated .com.ywt.gapi.doctor.DoctorHisCode doctorHisCode = 1;</code>
     */
    public Builder addDoctorHisCode(
        int index, DoctorHisCode.Builder builderForValue) {
      if (doctorHisCodeBuilder_ == null) {
        ensureDoctorHisCodeIsMutable();
        doctorHisCode_.add(index, builderForValue.build());
        onChanged();
      } else {
        doctorHisCodeBuilder_.addMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * <code>repeated .com.ywt.gapi.doctor.DoctorHisCode doctorHisCode = 1;</code>
     */
    public Builder addAllDoctorHisCode(
        Iterable<? extends DoctorHisCode> values) {
      if (doctorHisCodeBuilder_ == null) {
        ensureDoctorHisCodeIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, doctorHisCode_);
        onChanged();
      } else {
        doctorHisCodeBuilder_.addAllMessages(values);
      }
      return this;
    }
    /**
     * <code>repeated .com.ywt.gapi.doctor.DoctorHisCode doctorHisCode = 1;</code>
     */
    public Builder clearDoctorHisCode() {
      if (doctorHisCodeBuilder_ == null) {
        doctorHisCode_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
      } else {
        doctorHisCodeBuilder_.clear();
      }
      return this;
    }
    /**
     * <code>repeated .com.ywt.gapi.doctor.DoctorHisCode doctorHisCode = 1;</code>
     */
    public Builder removeDoctorHisCode(int index) {
      if (doctorHisCodeBuilder_ == null) {
        ensureDoctorHisCodeIsMutable();
        doctorHisCode_.remove(index);
        onChanged();
      } else {
        doctorHisCodeBuilder_.remove(index);
      }
      return this;
    }
    /**
     * <code>repeated .com.ywt.gapi.doctor.DoctorHisCode doctorHisCode = 1;</code>
     */
    public DoctorHisCode.Builder getDoctorHisCodeBuilder(
        int index) {
      return getDoctorHisCodeFieldBuilder().getBuilder(index);
    }
    /**
     * <code>repeated .com.ywt.gapi.doctor.DoctorHisCode doctorHisCode = 1;</code>
     */
    public DoctorHisCodeOrBuilder getDoctorHisCodeOrBuilder(
        int index) {
      if (doctorHisCodeBuilder_ == null) {
        return doctorHisCode_.get(index);  } else {
        return doctorHisCodeBuilder_.getMessageOrBuilder(index);
      }
    }
    /**
     * <code>repeated .com.ywt.gapi.doctor.DoctorHisCode doctorHisCode = 1;</code>
     */
    public java.util.List<? extends DoctorHisCodeOrBuilder>
         getDoctorHisCodeOrBuilderList() {
      if (doctorHisCodeBuilder_ != null) {
        return doctorHisCodeBuilder_.getMessageOrBuilderList();
      } else {
        return java.util.Collections.unmodifiableList(doctorHisCode_);
      }
    }
    /**
     * <code>repeated .com.ywt.gapi.doctor.DoctorHisCode doctorHisCode = 1;</code>
     */
    public DoctorHisCode.Builder addDoctorHisCodeBuilder() {
      return getDoctorHisCodeFieldBuilder().addBuilder(
          DoctorHisCode.getDefaultInstance());
    }
    /**
     * <code>repeated .com.ywt.gapi.doctor.DoctorHisCode doctorHisCode = 1;</code>
     */
    public DoctorHisCode.Builder addDoctorHisCodeBuilder(
        int index) {
      return getDoctorHisCodeFieldBuilder().addBuilder(
          index, DoctorHisCode.getDefaultInstance());
    }
    /**
     * <code>repeated .com.ywt.gapi.doctor.DoctorHisCode doctorHisCode = 1;</code>
     */
    public java.util.List<DoctorHisCode.Builder>
         getDoctorHisCodeBuilderList() {
      return getDoctorHisCodeFieldBuilder().getBuilderList();
    }
    private com.google.protobuf.RepeatedFieldBuilderV3<
        DoctorHisCode, DoctorHisCode.Builder, DoctorHisCodeOrBuilder>
        getDoctorHisCodeFieldBuilder() {
      if (doctorHisCodeBuilder_ == null) {
        doctorHisCodeBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
            DoctorHisCode, DoctorHisCode.Builder, DoctorHisCodeOrBuilder>(
                doctorHisCode_,
                ((bitField0_ & 0x00000001) != 0),
                getParentForChildren(),
                isClean());
        doctorHisCode_ = null;
      }
      return doctorHisCodeBuilder_;
    }
    @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.doctor.SaveDoctorHisCodeListRequest)
  }

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

  public static SaveDoctorHisCodeListRequest getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

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

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

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

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

}

