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

package com.ywt.gapi.drug;

/**
 * Protobuf type {@code com.ywt.gapi.drug.GetPrescriptionRequest}
 */
public  final class GetPrescriptionRequest extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:com.ywt.gapi.drug.GetPrescriptionRequest)
    GetPrescriptionRequestOrBuilder {
  // Use GetPrescriptionRequest.newBuilder() to construct.
  private GetPrescriptionRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private GetPrescriptionRequest() {
    bizNo_ = "";
    preId_ = 0;
    bizNo3Th_ = "";
    source_ = 0;
    orderId_ = 0;
    ignoreDeleted_ = false;
    clientSource_ = 0;
  }

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

            bizNo_ = s;
            break;
          }
          case 16: {

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

            bizNo3Th_ = s;
            break;
          }
          case 32: {

            source_ = input.readInt32();
            break;
          }
          case 40: {

            orderId_ = input.readInt32();
            break;
          }
          case 48: {

            ignoreDeleted_ = input.readBool();
            break;
          }
          case 56: {

            clientSource_ = 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.drug.DrugOuterClass.internal_static_com_ywt_gapi_drug_GetPrescriptionRequest_descriptor;
  }

  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return com.ywt.gapi.drug.DrugOuterClass.internal_static_com_ywt_gapi_drug_GetPrescriptionRequest_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.ywt.gapi.drug.GetPrescriptionRequest.class, com.ywt.gapi.drug.GetPrescriptionRequest.Builder.class);
  }

  public static final int BIZNO_FIELD_NUMBER = 1;
  private volatile java.lang.Object bizNo_;
  /**
   * <code>string bizNo = 1;</code>
   */
  public java.lang.String getBizNo() {
    java.lang.Object ref = bizNo_;
    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();
      bizNo_ = s;
      return s;
    }
  }
  /**
   * <code>string bizNo = 1;</code>
   */
  public com.google.protobuf.ByteString
      getBizNoBytes() {
    java.lang.Object ref = bizNo_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      bizNo_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int PREID_FIELD_NUMBER = 2;
  private int preId_;
  /**
   * <code>int32 preId = 2;</code>
   */
  public int getPreId() {
    return preId_;
  }

  public static final int BIZNO3TH_FIELD_NUMBER = 3;
  private volatile java.lang.Object bizNo3Th_;
  /**
   * <code>string bizNo3th = 3;</code>
   */
  public java.lang.String getBizNo3Th() {
    java.lang.Object ref = bizNo3Th_;
    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();
      bizNo3Th_ = s;
      return s;
    }
  }
  /**
   * <code>string bizNo3th = 3;</code>
   */
  public com.google.protobuf.ByteString
      getBizNo3ThBytes() {
    java.lang.Object ref = bizNo3Th_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      bizNo3Th_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int SOURCE_FIELD_NUMBER = 4;
  private int source_;
  /**
   * <code>int32 source = 4;</code>
   */
  public int getSource() {
    return source_;
  }

  public static final int ORDERID_FIELD_NUMBER = 5;
  private int orderId_;
  /**
   * <code>int32 orderId = 5;</code>
   */
  public int getOrderId() {
    return orderId_;
  }

  public static final int IGNOREDELETED_FIELD_NUMBER = 6;
  private boolean ignoreDeleted_;
  /**
   * <code>bool ignoreDeleted = 6;</code>
   */
  public boolean getIgnoreDeleted() {
    return ignoreDeleted_;
  }

  public static final int CLIENTSOURCE_FIELD_NUMBER = 7;
  private int clientSource_;
  /**
   * <pre>
   * 用户端来源，主要区分显示“已完成”还是“待评价/已评价”:0-医生，1-患者
   * </pre>
   *
   * <code>int32 clientSource = 7;</code>
   */
  public int getClientSource() {
    return clientSource_;
  }

  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 (!getBizNoBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, bizNo_);
    }
    if (preId_ != 0) {
      output.writeInt32(2, preId_);
    }
    if (!getBizNo3ThBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, bizNo3Th_);
    }
    if (source_ != 0) {
      output.writeInt32(4, source_);
    }
    if (orderId_ != 0) {
      output.writeInt32(5, orderId_);
    }
    if (ignoreDeleted_ != false) {
      output.writeBool(6, ignoreDeleted_);
    }
    if (clientSource_ != 0) {
      output.writeInt32(7, clientSource_);
    }
  }

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

    size = 0;
    if (!getBizNoBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, bizNo_);
    }
    if (preId_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(2, preId_);
    }
    if (!getBizNo3ThBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, bizNo3Th_);
    }
    if (source_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(4, source_);
    }
    if (orderId_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(5, orderId_);
    }
    if (ignoreDeleted_ != false) {
      size += com.google.protobuf.CodedOutputStream
        .computeBoolSize(6, ignoreDeleted_);
    }
    if (clientSource_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(7, clientSource_);
    }
    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.drug.GetPrescriptionRequest)) {
      return super.equals(obj);
    }
    com.ywt.gapi.drug.GetPrescriptionRequest other = (com.ywt.gapi.drug.GetPrescriptionRequest) obj;

    boolean result = true;
    result = result && getBizNo()
        .equals(other.getBizNo());
    result = result && (getPreId()
        == other.getPreId());
    result = result && getBizNo3Th()
        .equals(other.getBizNo3Th());
    result = result && (getSource()
        == other.getSource());
    result = result && (getOrderId()
        == other.getOrderId());
    result = result && (getIgnoreDeleted()
        == other.getIgnoreDeleted());
    result = result && (getClientSource()
        == other.getClientSource());
    return result;
  }

  @java.lang.Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    hash = (37 * hash) + BIZNO_FIELD_NUMBER;
    hash = (53 * hash) + getBizNo().hashCode();
    hash = (37 * hash) + PREID_FIELD_NUMBER;
    hash = (53 * hash) + getPreId();
    hash = (37 * hash) + BIZNO3TH_FIELD_NUMBER;
    hash = (53 * hash) + getBizNo3Th().hashCode();
    hash = (37 * hash) + SOURCE_FIELD_NUMBER;
    hash = (53 * hash) + getSource();
    hash = (37 * hash) + ORDERID_FIELD_NUMBER;
    hash = (53 * hash) + getOrderId();
    hash = (37 * hash) + IGNOREDELETED_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
        getIgnoreDeleted());
    hash = (37 * hash) + CLIENTSOURCE_FIELD_NUMBER;
    hash = (53 * hash) + getClientSource();
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static com.ywt.gapi.drug.GetPrescriptionRequest parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.ywt.gapi.drug.GetPrescriptionRequest 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.drug.GetPrescriptionRequest parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.ywt.gapi.drug.GetPrescriptionRequest 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.drug.GetPrescriptionRequest parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.ywt.gapi.drug.GetPrescriptionRequest parseFrom(
      byte[] data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.ywt.gapi.drug.GetPrescriptionRequest parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.ywt.gapi.drug.GetPrescriptionRequest 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.drug.GetPrescriptionRequest parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input);
  }
  public static com.ywt.gapi.drug.GetPrescriptionRequest 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.drug.GetPrescriptionRequest parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.ywt.gapi.drug.GetPrescriptionRequest 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.drug.GetPrescriptionRequest 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.drug.GetPrescriptionRequest}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
      // @@protoc_insertion_point(builder_implements:com.ywt.gapi.drug.GetPrescriptionRequest)
      com.ywt.gapi.drug.GetPrescriptionRequestOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.ywt.gapi.drug.DrugOuterClass.internal_static_com_ywt_gapi_drug_GetPrescriptionRequest_descriptor;
    }

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.ywt.gapi.drug.DrugOuterClass.internal_static_com_ywt_gapi_drug_GetPrescriptionRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.ywt.gapi.drug.GetPrescriptionRequest.class, com.ywt.gapi.drug.GetPrescriptionRequest.Builder.class);
    }

    // Construct using com.ywt.gapi.drug.GetPrescriptionRequest.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();
      bizNo_ = "";

      preId_ = 0;

      bizNo3Th_ = "";

      source_ = 0;

      orderId_ = 0;

      ignoreDeleted_ = false;

      clientSource_ = 0;

      return this;
    }

    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return com.ywt.gapi.drug.DrugOuterClass.internal_static_com_ywt_gapi_drug_GetPrescriptionRequest_descriptor;
    }

    public com.ywt.gapi.drug.GetPrescriptionRequest getDefaultInstanceForType() {
      return com.ywt.gapi.drug.GetPrescriptionRequest.getDefaultInstance();
    }

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

    public com.ywt.gapi.drug.GetPrescriptionRequest buildPartial() {
      com.ywt.gapi.drug.GetPrescriptionRequest result = new com.ywt.gapi.drug.GetPrescriptionRequest(this);
      result.bizNo_ = bizNo_;
      result.preId_ = preId_;
      result.bizNo3Th_ = bizNo3Th_;
      result.source_ = source_;
      result.orderId_ = orderId_;
      result.ignoreDeleted_ = ignoreDeleted_;
      result.clientSource_ = clientSource_;
      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.drug.GetPrescriptionRequest) {
        return mergeFrom((com.ywt.gapi.drug.GetPrescriptionRequest)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(com.ywt.gapi.drug.GetPrescriptionRequest other) {
      if (other == com.ywt.gapi.drug.GetPrescriptionRequest.getDefaultInstance()) return this;
      if (!other.getBizNo().isEmpty()) {
        bizNo_ = other.bizNo_;
        onChanged();
      }
      if (other.getPreId() != 0) {
        setPreId(other.getPreId());
      }
      if (!other.getBizNo3Th().isEmpty()) {
        bizNo3Th_ = other.bizNo3Th_;
        onChanged();
      }
      if (other.getSource() != 0) {
        setSource(other.getSource());
      }
      if (other.getOrderId() != 0) {
        setOrderId(other.getOrderId());
      }
      if (other.getIgnoreDeleted() != false) {
        setIgnoreDeleted(other.getIgnoreDeleted());
      }
      if (other.getClientSource() != 0) {
        setClientSource(other.getClientSource());
      }
      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.drug.GetPrescriptionRequest parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (com.ywt.gapi.drug.GetPrescriptionRequest) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }

    private java.lang.Object bizNo_ = "";
    /**
     * <code>string bizNo = 1;</code>
     */
    public java.lang.String getBizNo() {
      java.lang.Object ref = bizNo_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        bizNo_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string bizNo = 1;</code>
     */
    public com.google.protobuf.ByteString
        getBizNoBytes() {
      java.lang.Object ref = bizNo_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        bizNo_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string bizNo = 1;</code>
     */
    public Builder setBizNo(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      bizNo_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string bizNo = 1;</code>
     */
    public Builder clearBizNo() {
      
      bizNo_ = getDefaultInstance().getBizNo();
      onChanged();
      return this;
    }
    /**
     * <code>string bizNo = 1;</code>
     */
    public Builder setBizNoBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      bizNo_ = value;
      onChanged();
      return this;
    }

    private int preId_ ;
    /**
     * <code>int32 preId = 2;</code>
     */
    public int getPreId() {
      return preId_;
    }
    /**
     * <code>int32 preId = 2;</code>
     */
    public Builder setPreId(int value) {
      
      preId_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 preId = 2;</code>
     */
    public Builder clearPreId() {
      
      preId_ = 0;
      onChanged();
      return this;
    }

    private java.lang.Object bizNo3Th_ = "";
    /**
     * <code>string bizNo3th = 3;</code>
     */
    public java.lang.String getBizNo3Th() {
      java.lang.Object ref = bizNo3Th_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        bizNo3Th_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string bizNo3th = 3;</code>
     */
    public com.google.protobuf.ByteString
        getBizNo3ThBytes() {
      java.lang.Object ref = bizNo3Th_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        bizNo3Th_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string bizNo3th = 3;</code>
     */
    public Builder setBizNo3Th(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      bizNo3Th_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string bizNo3th = 3;</code>
     */
    public Builder clearBizNo3Th() {
      
      bizNo3Th_ = getDefaultInstance().getBizNo3Th();
      onChanged();
      return this;
    }
    /**
     * <code>string bizNo3th = 3;</code>
     */
    public Builder setBizNo3ThBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      bizNo3Th_ = value;
      onChanged();
      return this;
    }

    private int source_ ;
    /**
     * <code>int32 source = 4;</code>
     */
    public int getSource() {
      return source_;
    }
    /**
     * <code>int32 source = 4;</code>
     */
    public Builder setSource(int value) {
      
      source_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 source = 4;</code>
     */
    public Builder clearSource() {
      
      source_ = 0;
      onChanged();
      return this;
    }

    private int orderId_ ;
    /**
     * <code>int32 orderId = 5;</code>
     */
    public int getOrderId() {
      return orderId_;
    }
    /**
     * <code>int32 orderId = 5;</code>
     */
    public Builder setOrderId(int value) {
      
      orderId_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 orderId = 5;</code>
     */
    public Builder clearOrderId() {
      
      orderId_ = 0;
      onChanged();
      return this;
    }

    private boolean ignoreDeleted_ ;
    /**
     * <code>bool ignoreDeleted = 6;</code>
     */
    public boolean getIgnoreDeleted() {
      return ignoreDeleted_;
    }
    /**
     * <code>bool ignoreDeleted = 6;</code>
     */
    public Builder setIgnoreDeleted(boolean value) {
      
      ignoreDeleted_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>bool ignoreDeleted = 6;</code>
     */
    public Builder clearIgnoreDeleted() {
      
      ignoreDeleted_ = false;
      onChanged();
      return this;
    }

    private int clientSource_ ;
    /**
     * <pre>
     * 用户端来源，主要区分显示“已完成”还是“待评价/已评价”:0-医生，1-患者
     * </pre>
     *
     * <code>int32 clientSource = 7;</code>
     */
    public int getClientSource() {
      return clientSource_;
    }
    /**
     * <pre>
     * 用户端来源，主要区分显示“已完成”还是“待评价/已评价”:0-医生，1-患者
     * </pre>
     *
     * <code>int32 clientSource = 7;</code>
     */
    public Builder setClientSource(int value) {
      
      clientSource_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 用户端来源，主要区分显示“已完成”还是“待评价/已评价”:0-医生，1-患者
     * </pre>
     *
     * <code>int32 clientSource = 7;</code>
     */
    public Builder clearClientSource() {
      
      clientSource_ = 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.drug.GetPrescriptionRequest)
  }

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

  public static com.ywt.gapi.drug.GetPrescriptionRequest getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

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

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

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

  public com.ywt.gapi.drug.GetPrescriptionRequest getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}

