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

package com.usoft.credit.rest.api.protobuf;

/**
 * <pre>
 *获取个人信息 请求参数
 * </pre>
 *
 * Protobuf type {@code PersonQueryRequest}
 */
public  final class PersonQueryRequest extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:PersonQueryRequest)
    PersonQueryRequestOrBuilder {
private static final long serialVersionUID = 0L;
  // Use PersonQueryRequest.newBuilder() to construct.
  private PersonQueryRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private PersonQueryRequest() {
  }

  @Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private PersonQueryRequest(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    this();
    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;
          default: {
            if (!parseUnknownFieldProto3(
                input, unknownFields, extensionRegistry, tag)) {
              done = true;
            }
            break;
          }
          case 10: {
            com.usoft.credit.rest.api.query.entity.PersonQuery.Builder subBuilder = null;
            if (personQuery_ != null) {
              subBuilder = personQuery_.toBuilder();
            }
            personQuery_ = input.readMessage(com.usoft.credit.rest.api.query.entity.PersonQuery.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(personQuery_);
              personQuery_ = subBuilder.buildPartial();
            }

            break;
          }
          case 18: {
            com.usoft.credit.rest.api.result.entity.User.Builder subBuilder = null;
            if (user_ != null) {
              subBuilder = user_.toBuilder();
            }
            user_ = input.readMessage(com.usoft.credit.rest.api.result.entity.User.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(user_);
              user_ = subBuilder.buildPartial();
            }

            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 com.usoft.credit.rest.api.protobuf.GrpcQueryServiceProto.internal_static_PersonQueryRequest_descriptor;
  }

  protected FieldAccessorTable
      internalGetFieldAccessorTable() {
    return com.usoft.credit.rest.api.protobuf.GrpcQueryServiceProto.internal_static_PersonQueryRequest_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            PersonQueryRequest.class, Builder.class);
  }

  public static final int PERSONQUERY_FIELD_NUMBER = 1;
  private com.usoft.credit.rest.api.query.entity.PersonQuery personQuery_;
  /**
   * <pre>
   * 请求参数
   * </pre>
   *
   * <code>.PersonQuery personQuery = 1;</code>
   */
  public boolean hasPersonQuery() {
    return personQuery_ != null;
  }
  /**
   * <pre>
   * 请求参数
   * </pre>
   *
   * <code>.PersonQuery personQuery = 1;</code>
   */
  public com.usoft.credit.rest.api.query.entity.PersonQuery getPersonQuery() {
    return personQuery_ == null ? com.usoft.credit.rest.api.query.entity.PersonQuery.getDefaultInstance() : personQuery_;
  }
  /**
   * <pre>
   * 请求参数
   * </pre>
   *
   * <code>.PersonQuery personQuery = 1;</code>
   */
  public com.usoft.credit.rest.api.query.entity.PersonQueryOrBuilder getPersonQueryOrBuilder() {
    return getPersonQuery();
  }

  public static final int USER_FIELD_NUMBER = 2;
  private com.usoft.credit.rest.api.result.entity.User user_;
  /**
   * <pre>
   * 验证用户信息
   * </pre>
   *
   * <code>.User user = 2;</code>
   */
  public boolean hasUser() {
    return user_ != null;
  }
  /**
   * <pre>
   * 验证用户信息
   * </pre>
   *
   * <code>.User user = 2;</code>
   */
  public com.usoft.credit.rest.api.result.entity.User getUser() {
    return user_ == null ? com.usoft.credit.rest.api.result.entity.User.getDefaultInstance() : user_;
  }
  /**
   * <pre>
   * 验证用户信息
   * </pre>
   *
   * <code>.User user = 2;</code>
   */
  public com.usoft.credit.rest.api.result.entity.UserOrBuilder getUserOrBuilder() {
    return getUser();
  }

  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 (personQuery_ != null) {
      output.writeMessage(1, getPersonQuery());
    }
    if (user_ != null) {
      output.writeMessage(2, getUser());
    }
    unknownFields.writeTo(output);
  }

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

    size = 0;
    if (personQuery_ != null) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(1, getPersonQuery());
    }
    if (user_ != null) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(2, getUser());
    }
    size += unknownFields.getSerializedSize();
    memoizedSize = size;
    return size;
  }

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

    boolean result = true;
    result = result && (hasPersonQuery() == other.hasPersonQuery());
    if (hasPersonQuery()) {
      result = result && getPersonQuery()
          .equals(other.getPersonQuery());
    }
    result = result && (hasUser() == other.hasUser());
    if (hasUser()) {
      result = result && getUser()
          .equals(other.getUser());
    }
    result = result && unknownFields.equals(other.unknownFields);
    return result;
  }

  @Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    if (hasPersonQuery()) {
      hash = (37 * hash) + PERSONQUERY_FIELD_NUMBER;
      hash = (53 * hash) + getPersonQuery().hashCode();
    }
    if (hasUser()) {
      hash = (37 * hash) + USER_FIELD_NUMBER;
      hash = (53 * hash) + getUser().hashCode();
    }
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static PersonQueryRequest parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static PersonQueryRequest parseFrom(
      java.nio.ByteBuffer data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static PersonQueryRequest parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static PersonQueryRequest parseFrom(
      com.google.protobuf.ByteString data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static PersonQueryRequest parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static PersonQueryRequest parseFrom(
      byte[] data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static PersonQueryRequest parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static PersonQueryRequest 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 PersonQueryRequest parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input);
  }
  public static PersonQueryRequest 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 PersonQueryRequest parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static PersonQueryRequest 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(PersonQueryRequest prototype) {
    return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
  }
  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>
   *获取个人信息 请求参数
   * </pre>
   *
   * Protobuf type {@code PersonQueryRequest}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
      // @@protoc_insertion_point(builder_implements:PersonQueryRequest)
      com.usoft.credit.rest.api.protobuf.PersonQueryRequestOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.usoft.credit.rest.api.protobuf.GrpcQueryServiceProto.internal_static_PersonQueryRequest_descriptor;
    }

    protected FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.usoft.credit.rest.api.protobuf.GrpcQueryServiceProto.internal_static_PersonQueryRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              PersonQueryRequest.class, Builder.class);
    }

    // Construct using com.usoft.credit.rest.api.protobuf.PersonQueryRequest.newBuilder()
    private Builder() {
      maybeForceBuilderInitialization();
    }

    private Builder(
        BuilderParent parent) {
      super(parent);
      maybeForceBuilderInitialization();
    }
    private void maybeForceBuilderInitialization() {
      if (com.google.protobuf.GeneratedMessageV3
              .alwaysUseFieldBuilders) {
      }
    }
    public Builder clear() {
      super.clear();
      if (personQueryBuilder_ == null) {
        personQuery_ = null;
      } else {
        personQuery_ = null;
        personQueryBuilder_ = null;
      }
      if (userBuilder_ == null) {
        user_ = null;
      } else {
        user_ = null;
        userBuilder_ = null;
      }
      return this;
    }

    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return com.usoft.credit.rest.api.protobuf.GrpcQueryServiceProto.internal_static_PersonQueryRequest_descriptor;
    }

    public PersonQueryRequest getDefaultInstanceForType() {
      return PersonQueryRequest.getDefaultInstance();
    }

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

    public PersonQueryRequest buildPartial() {
      PersonQueryRequest result = new PersonQueryRequest(this);
      if (personQueryBuilder_ == null) {
        result.personQuery_ = personQuery_;
      } else {
        result.personQuery_ = personQueryBuilder_.build();
      }
      if (userBuilder_ == null) {
        result.user_ = user_;
      } else {
        result.user_ = userBuilder_.build();
      }
      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 PersonQueryRequest) {
        return mergeFrom((PersonQueryRequest)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(PersonQueryRequest other) {
      if (other == PersonQueryRequest.getDefaultInstance()) return this;
      if (other.hasPersonQuery()) {
        mergePersonQuery(other.getPersonQuery());
      }
      if (other.hasUser()) {
        mergeUser(other.getUser());
      }
      this.mergeUnknownFields(other.unknownFields);
      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 {
      PersonQueryRequest parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (PersonQueryRequest) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }

    private com.usoft.credit.rest.api.query.entity.PersonQuery personQuery_ = null;
    private com.google.protobuf.SingleFieldBuilderV3<
        com.usoft.credit.rest.api.query.entity.PersonQuery, com.usoft.credit.rest.api.query.entity.PersonQuery.Builder, com.usoft.credit.rest.api.query.entity.PersonQueryOrBuilder> personQueryBuilder_;
    /**
     * <pre>
     * 请求参数
     * </pre>
     *
     * <code>.PersonQuery personQuery = 1;</code>
     */
    public boolean hasPersonQuery() {
      return personQueryBuilder_ != null || personQuery_ != null;
    }
    /**
     * <pre>
     * 请求参数
     * </pre>
     *
     * <code>.PersonQuery personQuery = 1;</code>
     */
    public com.usoft.credit.rest.api.query.entity.PersonQuery getPersonQuery() {
      if (personQueryBuilder_ == null) {
        return personQuery_ == null ? com.usoft.credit.rest.api.query.entity.PersonQuery.getDefaultInstance() : personQuery_;
      } else {
        return personQueryBuilder_.getMessage();
      }
    }
    /**
     * <pre>
     * 请求参数
     * </pre>
     *
     * <code>.PersonQuery personQuery = 1;</code>
     */
    public Builder setPersonQuery(com.usoft.credit.rest.api.query.entity.PersonQuery value) {
      if (personQueryBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        personQuery_ = value;
        onChanged();
      } else {
        personQueryBuilder_.setMessage(value);
      }

      return this;
    }
    /**
     * <pre>
     * 请求参数
     * </pre>
     *
     * <code>.PersonQuery personQuery = 1;</code>
     */
    public Builder setPersonQuery(
        com.usoft.credit.rest.api.query.entity.PersonQuery.Builder builderForValue) {
      if (personQueryBuilder_ == null) {
        personQuery_ = builderForValue.build();
        onChanged();
      } else {
        personQueryBuilder_.setMessage(builderForValue.build());
      }

      return this;
    }
    /**
     * <pre>
     * 请求参数
     * </pre>
     *
     * <code>.PersonQuery personQuery = 1;</code>
     */
    public Builder mergePersonQuery(com.usoft.credit.rest.api.query.entity.PersonQuery value) {
      if (personQueryBuilder_ == null) {
        if (personQuery_ != null) {
          personQuery_ =
            com.usoft.credit.rest.api.query.entity.PersonQuery.newBuilder(personQuery_).mergeFrom(value).buildPartial();
        } else {
          personQuery_ = value;
        }
        onChanged();
      } else {
        personQueryBuilder_.mergeFrom(value);
      }

      return this;
    }
    /**
     * <pre>
     * 请求参数
     * </pre>
     *
     * <code>.PersonQuery personQuery = 1;</code>
     */
    public Builder clearPersonQuery() {
      if (personQueryBuilder_ == null) {
        personQuery_ = null;
        onChanged();
      } else {
        personQuery_ = null;
        personQueryBuilder_ = null;
      }

      return this;
    }
    /**
     * <pre>
     * 请求参数
     * </pre>
     *
     * <code>.PersonQuery personQuery = 1;</code>
     */
    public com.usoft.credit.rest.api.query.entity.PersonQuery.Builder getPersonQueryBuilder() {
      
      onChanged();
      return getPersonQueryFieldBuilder().getBuilder();
    }
    /**
     * <pre>
     * 请求参数
     * </pre>
     *
     * <code>.PersonQuery personQuery = 1;</code>
     */
    public com.usoft.credit.rest.api.query.entity.PersonQueryOrBuilder getPersonQueryOrBuilder() {
      if (personQueryBuilder_ != null) {
        return personQueryBuilder_.getMessageOrBuilder();
      } else {
        return personQuery_ == null ?
            com.usoft.credit.rest.api.query.entity.PersonQuery.getDefaultInstance() : personQuery_;
      }
    }
    /**
     * <pre>
     * 请求参数
     * </pre>
     *
     * <code>.PersonQuery personQuery = 1;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        com.usoft.credit.rest.api.query.entity.PersonQuery, com.usoft.credit.rest.api.query.entity.PersonQuery.Builder, com.usoft.credit.rest.api.query.entity.PersonQueryOrBuilder> 
        getPersonQueryFieldBuilder() {
      if (personQueryBuilder_ == null) {
        personQueryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            com.usoft.credit.rest.api.query.entity.PersonQuery, com.usoft.credit.rest.api.query.entity.PersonQuery.Builder, com.usoft.credit.rest.api.query.entity.PersonQueryOrBuilder>(
                getPersonQuery(),
                getParentForChildren(),
                isClean());
        personQuery_ = null;
      }
      return personQueryBuilder_;
    }

    private com.usoft.credit.rest.api.result.entity.User user_ = null;
    private com.google.protobuf.SingleFieldBuilderV3<
        com.usoft.credit.rest.api.result.entity.User, com.usoft.credit.rest.api.result.entity.User.Builder, com.usoft.credit.rest.api.result.entity.UserOrBuilder> userBuilder_;
    /**
     * <pre>
     * 验证用户信息
     * </pre>
     *
     * <code>.User user = 2;</code>
     */
    public boolean hasUser() {
      return userBuilder_ != null || user_ != null;
    }
    /**
     * <pre>
     * 验证用户信息
     * </pre>
     *
     * <code>.User user = 2;</code>
     */
    public com.usoft.credit.rest.api.result.entity.User getUser() {
      if (userBuilder_ == null) {
        return user_ == null ? com.usoft.credit.rest.api.result.entity.User.getDefaultInstance() : user_;
      } else {
        return userBuilder_.getMessage();
      }
    }
    /**
     * <pre>
     * 验证用户信息
     * </pre>
     *
     * <code>.User user = 2;</code>
     */
    public Builder setUser(com.usoft.credit.rest.api.result.entity.User value) {
      if (userBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        user_ = value;
        onChanged();
      } else {
        userBuilder_.setMessage(value);
      }

      return this;
    }
    /**
     * <pre>
     * 验证用户信息
     * </pre>
     *
     * <code>.User user = 2;</code>
     */
    public Builder setUser(
        com.usoft.credit.rest.api.result.entity.User.Builder builderForValue) {
      if (userBuilder_ == null) {
        user_ = builderForValue.build();
        onChanged();
      } else {
        userBuilder_.setMessage(builderForValue.build());
      }

      return this;
    }
    /**
     * <pre>
     * 验证用户信息
     * </pre>
     *
     * <code>.User user = 2;</code>
     */
    public Builder mergeUser(com.usoft.credit.rest.api.result.entity.User value) {
      if (userBuilder_ == null) {
        if (user_ != null) {
          user_ =
            com.usoft.credit.rest.api.result.entity.User.newBuilder(user_).mergeFrom(value).buildPartial();
        } else {
          user_ = value;
        }
        onChanged();
      } else {
        userBuilder_.mergeFrom(value);
      }

      return this;
    }
    /**
     * <pre>
     * 验证用户信息
     * </pre>
     *
     * <code>.User user = 2;</code>
     */
    public Builder clearUser() {
      if (userBuilder_ == null) {
        user_ = null;
        onChanged();
      } else {
        user_ = null;
        userBuilder_ = null;
      }

      return this;
    }
    /**
     * <pre>
     * 验证用户信息
     * </pre>
     *
     * <code>.User user = 2;</code>
     */
    public com.usoft.credit.rest.api.result.entity.User.Builder getUserBuilder() {
      
      onChanged();
      return getUserFieldBuilder().getBuilder();
    }
    /**
     * <pre>
     * 验证用户信息
     * </pre>
     *
     * <code>.User user = 2;</code>
     */
    public com.usoft.credit.rest.api.result.entity.UserOrBuilder getUserOrBuilder() {
      if (userBuilder_ != null) {
        return userBuilder_.getMessageOrBuilder();
      } else {
        return user_ == null ?
            com.usoft.credit.rest.api.result.entity.User.getDefaultInstance() : user_;
      }
    }
    /**
     * <pre>
     * 验证用户信息
     * </pre>
     *
     * <code>.User user = 2;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        com.usoft.credit.rest.api.result.entity.User, com.usoft.credit.rest.api.result.entity.User.Builder, com.usoft.credit.rest.api.result.entity.UserOrBuilder> 
        getUserFieldBuilder() {
      if (userBuilder_ == null) {
        userBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            com.usoft.credit.rest.api.result.entity.User, com.usoft.credit.rest.api.result.entity.User.Builder, com.usoft.credit.rest.api.result.entity.UserOrBuilder>(
                getUser(),
                getParentForChildren(),
                isClean());
        user_ = null;
      }
      return userBuilder_;
    }
    public final Builder setUnknownFields(
        final com.google.protobuf.UnknownFieldSet unknownFields) {
      return super.setUnknownFieldsProto3(unknownFields);
    }

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


    // @@protoc_insertion_point(builder_scope:PersonQueryRequest)
  }

  // @@protoc_insertion_point(class_scope:PersonQueryRequest)
  private static final PersonQueryRequest DEFAULT_INSTANCE;
  static {
    DEFAULT_INSTANCE = new PersonQueryRequest();
  }

  public static PersonQueryRequest getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

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

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

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

  public PersonQueryRequest getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}

