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

package com.akaxin.proto.plugin;

public final class HaiUserFriendsProto {
  private HaiUserFriendsProto() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
  }

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  public interface HaiUserFriendsRequestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:plugin.HaiUserFriendsRequest)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <pre>
     *需要查找的用户ID
     * </pre>
     *
     * <code>string site_user_id = 1;</code>
     */
    java.lang.String getSiteUserId();
    /**
     * <pre>
     *需要查找的用户ID
     * </pre>
     *
     * <code>string site_user_id = 1;</code>
     */
    com.google.protobuf.ByteString
        getSiteUserIdBytes();

    /**
     * <pre>
     * 默认0
     * </pre>
     *
     * <code>int32 page_number = 3;</code>
     */
    int getPageNumber();

    /**
     * <pre>
     * 默认100
     * </pre>
     *
     * <code>int32 page_size = 4;</code>
     */
    int getPageSize();
  }
  /**
   * <pre>
   **
   *获取用户的好友列表
   *----
   *接口名
   *----
   * /hai/user/friends
   *错误码
   *----
   * success
   * error.alert
   * </pre>
   *
   * Protobuf type {@code plugin.HaiUserFriendsRequest}
   */
  public  static final class HaiUserFriendsRequest extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:plugin.HaiUserFriendsRequest)
      HaiUserFriendsRequestOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use HaiUserFriendsRequest.newBuilder() to construct.
    private HaiUserFriendsRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private HaiUserFriendsRequest() {
      siteUserId_ = "";
      pageNumber_ = 0;
      pageSize_ = 0;
    }

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

              siteUserId_ = s;
              break;
            }
            case 24: {

              pageNumber_ = input.readInt32();
              break;
            }
            case 32: {

              pageSize_ = 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 {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.akaxin.proto.plugin.HaiUserFriendsProto.internal_static_plugin_HaiUserFriendsRequest_descriptor;
    }

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.akaxin.proto.plugin.HaiUserFriendsProto.internal_static_plugin_HaiUserFriendsRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.akaxin.proto.plugin.HaiUserFriendsProto.HaiUserFriendsRequest.class, com.akaxin.proto.plugin.HaiUserFriendsProto.HaiUserFriendsRequest.Builder.class);
    }

    public static final int SITE_USER_ID_FIELD_NUMBER = 1;
    private volatile java.lang.Object siteUserId_;
    /**
     * <pre>
     *需要查找的用户ID
     * </pre>
     *
     * <code>string site_user_id = 1;</code>
     */
    public java.lang.String getSiteUserId() {
      java.lang.Object ref = siteUserId_;
      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();
        siteUserId_ = s;
        return s;
      }
    }
    /**
     * <pre>
     *需要查找的用户ID
     * </pre>
     *
     * <code>string site_user_id = 1;</code>
     */
    public com.google.protobuf.ByteString
        getSiteUserIdBytes() {
      java.lang.Object ref = siteUserId_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        siteUserId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int PAGE_NUMBER_FIELD_NUMBER = 3;
    private int pageNumber_;
    /**
     * <pre>
     * 默认0
     * </pre>
     *
     * <code>int32 page_number = 3;</code>
     */
    public int getPageNumber() {
      return pageNumber_;
    }

    public static final int PAGE_SIZE_FIELD_NUMBER = 4;
    private int pageSize_;
    /**
     * <pre>
     * 默认100
     * </pre>
     *
     * <code>int32 page_size = 4;</code>
     */
    public int getPageSize() {
      return pageSize_;
    }

    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 (!getSiteUserIdBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, siteUserId_);
      }
      if (pageNumber_ != 0) {
        output.writeInt32(3, pageNumber_);
      }
      if (pageSize_ != 0) {
        output.writeInt32(4, pageSize_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (!getSiteUserIdBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, siteUserId_);
      }
      if (pageNumber_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(3, pageNumber_);
      }
      if (pageSize_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(4, pageSize_);
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.akaxin.proto.plugin.HaiUserFriendsProto.HaiUserFriendsRequest)) {
        return super.equals(obj);
      }
      com.akaxin.proto.plugin.HaiUserFriendsProto.HaiUserFriendsRequest other = (com.akaxin.proto.plugin.HaiUserFriendsProto.HaiUserFriendsRequest) obj;

      boolean result = true;
      result = result && getSiteUserId()
          .equals(other.getSiteUserId());
      result = result && (getPageNumber()
          == other.getPageNumber());
      result = result && (getPageSize()
          == other.getPageSize());
      result = result && unknownFields.equals(other.unknownFields);
      return result;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      hash = (37 * hash) + SITE_USER_ID_FIELD_NUMBER;
      hash = (53 * hash) + getSiteUserId().hashCode();
      hash = (37 * hash) + PAGE_NUMBER_FIELD_NUMBER;
      hash = (53 * hash) + getPageNumber();
      hash = (37 * hash) + PAGE_SIZE_FIELD_NUMBER;
      hash = (53 * hash) + getPageSize();
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.akaxin.proto.plugin.HaiUserFriendsProto.HaiUserFriendsRequest parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.akaxin.proto.plugin.HaiUserFriendsProto.HaiUserFriendsRequest parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.akaxin.proto.plugin.HaiUserFriendsProto.HaiUserFriendsRequest parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.akaxin.proto.plugin.HaiUserFriendsProto.HaiUserFriendsRequest parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.akaxin.proto.plugin.HaiUserFriendsProto.HaiUserFriendsRequest parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.akaxin.proto.plugin.HaiUserFriendsProto.HaiUserFriendsRequest parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.akaxin.proto.plugin.HaiUserFriendsProto.HaiUserFriendsRequest parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.akaxin.proto.plugin.HaiUserFriendsProto.HaiUserFriendsRequest 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.akaxin.proto.plugin.HaiUserFriendsProto.HaiUserFriendsRequest parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static com.akaxin.proto.plugin.HaiUserFriendsProto.HaiUserFriendsRequest 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.akaxin.proto.plugin.HaiUserFriendsProto.HaiUserFriendsRequest parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.akaxin.proto.plugin.HaiUserFriendsProto.HaiUserFriendsRequest 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.akaxin.proto.plugin.HaiUserFriendsProto.HaiUserFriendsRequest 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;
    }
    /**
     * <pre>
     **
     *获取用户的好友列表
     *----
     *接口名
     *----
     * /hai/user/friends
     *错误码
     *----
     * success
     * error.alert
     * </pre>
     *
     * Protobuf type {@code plugin.HaiUserFriendsRequest}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:plugin.HaiUserFriendsRequest)
        com.akaxin.proto.plugin.HaiUserFriendsProto.HaiUserFriendsRequestOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.akaxin.proto.plugin.HaiUserFriendsProto.internal_static_plugin_HaiUserFriendsRequest_descriptor;
      }

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.akaxin.proto.plugin.HaiUserFriendsProto.internal_static_plugin_HaiUserFriendsRequest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.akaxin.proto.plugin.HaiUserFriendsProto.HaiUserFriendsRequest.class, com.akaxin.proto.plugin.HaiUserFriendsProto.HaiUserFriendsRequest.Builder.class);
      }

      // Construct using com.akaxin.proto.plugin.HaiUserFriendsProto.HaiUserFriendsRequest.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();
        siteUserId_ = "";

        pageNumber_ = 0;

        pageSize_ = 0;

        return this;
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.akaxin.proto.plugin.HaiUserFriendsProto.internal_static_plugin_HaiUserFriendsRequest_descriptor;
      }

      public com.akaxin.proto.plugin.HaiUserFriendsProto.HaiUserFriendsRequest getDefaultInstanceForType() {
        return com.akaxin.proto.plugin.HaiUserFriendsProto.HaiUserFriendsRequest.getDefaultInstance();
      }

      public com.akaxin.proto.plugin.HaiUserFriendsProto.HaiUserFriendsRequest build() {
        com.akaxin.proto.plugin.HaiUserFriendsProto.HaiUserFriendsRequest result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public com.akaxin.proto.plugin.HaiUserFriendsProto.HaiUserFriendsRequest buildPartial() {
        com.akaxin.proto.plugin.HaiUserFriendsProto.HaiUserFriendsRequest result = new com.akaxin.proto.plugin.HaiUserFriendsProto.HaiUserFriendsRequest(this);
        result.siteUserId_ = siteUserId_;
        result.pageNumber_ = pageNumber_;
        result.pageSize_ = pageSize_;
        onBuilt();
        return result;
      }

      public Builder clone() {
        return (Builder) super.clone();
      }
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.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, java.lang.Object value) {
        return (Builder) super.setRepeatedField(field, index, value);
      }
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return (Builder) super.addRepeatedField(field, value);
      }
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.akaxin.proto.plugin.HaiUserFriendsProto.HaiUserFriendsRequest) {
          return mergeFrom((com.akaxin.proto.plugin.HaiUserFriendsProto.HaiUserFriendsRequest)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.akaxin.proto.plugin.HaiUserFriendsProto.HaiUserFriendsRequest other) {
        if (other == com.akaxin.proto.plugin.HaiUserFriendsProto.HaiUserFriendsRequest.getDefaultInstance()) return this;
        if (!other.getSiteUserId().isEmpty()) {
          siteUserId_ = other.siteUserId_;
          onChanged();
        }
        if (other.getPageNumber() != 0) {
          setPageNumber(other.getPageNumber());
        }
        if (other.getPageSize() != 0) {
          setPageSize(other.getPageSize());
        }
        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 {
        com.akaxin.proto.plugin.HaiUserFriendsProto.HaiUserFriendsRequest parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.akaxin.proto.plugin.HaiUserFriendsProto.HaiUserFriendsRequest) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private java.lang.Object siteUserId_ = "";
      /**
       * <pre>
       *需要查找的用户ID
       * </pre>
       *
       * <code>string site_user_id = 1;</code>
       */
      public java.lang.String getSiteUserId() {
        java.lang.Object ref = siteUserId_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          siteUserId_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <pre>
       *需要查找的用户ID
       * </pre>
       *
       * <code>string site_user_id = 1;</code>
       */
      public com.google.protobuf.ByteString
          getSiteUserIdBytes() {
        java.lang.Object ref = siteUserId_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          siteUserId_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <pre>
       *需要查找的用户ID
       * </pre>
       *
       * <code>string site_user_id = 1;</code>
       */
      public Builder setSiteUserId(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        siteUserId_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       *需要查找的用户ID
       * </pre>
       *
       * <code>string site_user_id = 1;</code>
       */
      public Builder clearSiteUserId() {
        
        siteUserId_ = getDefaultInstance().getSiteUserId();
        onChanged();
        return this;
      }
      /**
       * <pre>
       *需要查找的用户ID
       * </pre>
       *
       * <code>string site_user_id = 1;</code>
       */
      public Builder setSiteUserIdBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        siteUserId_ = value;
        onChanged();
        return this;
      }

      private int pageNumber_ ;
      /**
       * <pre>
       * 默认0
       * </pre>
       *
       * <code>int32 page_number = 3;</code>
       */
      public int getPageNumber() {
        return pageNumber_;
      }
      /**
       * <pre>
       * 默认0
       * </pre>
       *
       * <code>int32 page_number = 3;</code>
       */
      public Builder setPageNumber(int value) {
        
        pageNumber_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * 默认0
       * </pre>
       *
       * <code>int32 page_number = 3;</code>
       */
      public Builder clearPageNumber() {
        
        pageNumber_ = 0;
        onChanged();
        return this;
      }

      private int pageSize_ ;
      /**
       * <pre>
       * 默认100
       * </pre>
       *
       * <code>int32 page_size = 4;</code>
       */
      public int getPageSize() {
        return pageSize_;
      }
      /**
       * <pre>
       * 默认100
       * </pre>
       *
       * <code>int32 page_size = 4;</code>
       */
      public Builder setPageSize(int value) {
        
        pageSize_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * 默认100
       * </pre>
       *
       * <code>int32 page_size = 4;</code>
       */
      public Builder clearPageSize() {
        
        pageSize_ = 0;
        onChanged();
        return this;
      }
      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:plugin.HaiUserFriendsRequest)
    }

    // @@protoc_insertion_point(class_scope:plugin.HaiUserFriendsRequest)
    private static final com.akaxin.proto.plugin.HaiUserFriendsProto.HaiUserFriendsRequest DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new com.akaxin.proto.plugin.HaiUserFriendsProto.HaiUserFriendsRequest();
    }

    public static com.akaxin.proto.plugin.HaiUserFriendsProto.HaiUserFriendsRequest getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    public com.akaxin.proto.plugin.HaiUserFriendsProto.HaiUserFriendsRequest getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface HaiUserFriendsResponseOrBuilder extends
      // @@protoc_insertion_point(interface_extends:plugin.HaiUserFriendsResponse)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <pre>
     *需要查找的用户
     * </pre>
     *
     * <code>repeated .core.SimpleUserProfile profile = 1;</code>
     */
    java.util.List<com.akaxin.proto.core.UserProto.SimpleUserProfile> 
        getProfileList();
    /**
     * <pre>
     *需要查找的用户
     * </pre>
     *
     * <code>repeated .core.SimpleUserProfile profile = 1;</code>
     */
    com.akaxin.proto.core.UserProto.SimpleUserProfile getProfile(int index);
    /**
     * <pre>
     *需要查找的用户
     * </pre>
     *
     * <code>repeated .core.SimpleUserProfile profile = 1;</code>
     */
    int getProfileCount();
    /**
     * <pre>
     *需要查找的用户
     * </pre>
     *
     * <code>repeated .core.SimpleUserProfile profile = 1;</code>
     */
    java.util.List<? extends com.akaxin.proto.core.UserProto.SimpleUserProfileOrBuilder> 
        getProfileOrBuilderList();
    /**
     * <pre>
     *需要查找的用户
     * </pre>
     *
     * <code>repeated .core.SimpleUserProfile profile = 1;</code>
     */
    com.akaxin.proto.core.UserProto.SimpleUserProfileOrBuilder getProfileOrBuilder(
        int index);

    /**
     * <pre>
     *总页数
     * </pre>
     *
     * <code>int32 page_total_num = 2;</code>
     */
    int getPageTotalNum();
  }
  /**
   * Protobuf type {@code plugin.HaiUserFriendsResponse}
   */
  public  static final class HaiUserFriendsResponse extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:plugin.HaiUserFriendsResponse)
      HaiUserFriendsResponseOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use HaiUserFriendsResponse.newBuilder() to construct.
    private HaiUserFriendsResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private HaiUserFriendsResponse() {
      profile_ = java.util.Collections.emptyList();
      pageTotalNum_ = 0;
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private HaiUserFriendsResponse(
        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: {
              if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
                profile_ = new java.util.ArrayList<com.akaxin.proto.core.UserProto.SimpleUserProfile>();
                mutable_bitField0_ |= 0x00000001;
              }
              profile_.add(
                  input.readMessage(com.akaxin.proto.core.UserProto.SimpleUserProfile.parser(), extensionRegistry));
              break;
            }
            case 16: {

              pageTotalNum_ = 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 {
        if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
          profile_ = java.util.Collections.unmodifiableList(profile_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.akaxin.proto.plugin.HaiUserFriendsProto.internal_static_plugin_HaiUserFriendsResponse_descriptor;
    }

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.akaxin.proto.plugin.HaiUserFriendsProto.internal_static_plugin_HaiUserFriendsResponse_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.akaxin.proto.plugin.HaiUserFriendsProto.HaiUserFriendsResponse.class, com.akaxin.proto.plugin.HaiUserFriendsProto.HaiUserFriendsResponse.Builder.class);
    }

    private int bitField0_;
    public static final int PROFILE_FIELD_NUMBER = 1;
    private java.util.List<com.akaxin.proto.core.UserProto.SimpleUserProfile> profile_;
    /**
     * <pre>
     *需要查找的用户
     * </pre>
     *
     * <code>repeated .core.SimpleUserProfile profile = 1;</code>
     */
    public java.util.List<com.akaxin.proto.core.UserProto.SimpleUserProfile> getProfileList() {
      return profile_;
    }
    /**
     * <pre>
     *需要查找的用户
     * </pre>
     *
     * <code>repeated .core.SimpleUserProfile profile = 1;</code>
     */
    public java.util.List<? extends com.akaxin.proto.core.UserProto.SimpleUserProfileOrBuilder> 
        getProfileOrBuilderList() {
      return profile_;
    }
    /**
     * <pre>
     *需要查找的用户
     * </pre>
     *
     * <code>repeated .core.SimpleUserProfile profile = 1;</code>
     */
    public int getProfileCount() {
      return profile_.size();
    }
    /**
     * <pre>
     *需要查找的用户
     * </pre>
     *
     * <code>repeated .core.SimpleUserProfile profile = 1;</code>
     */
    public com.akaxin.proto.core.UserProto.SimpleUserProfile getProfile(int index) {
      return profile_.get(index);
    }
    /**
     * <pre>
     *需要查找的用户
     * </pre>
     *
     * <code>repeated .core.SimpleUserProfile profile = 1;</code>
     */
    public com.akaxin.proto.core.UserProto.SimpleUserProfileOrBuilder getProfileOrBuilder(
        int index) {
      return profile_.get(index);
    }

    public static final int PAGE_TOTAL_NUM_FIELD_NUMBER = 2;
    private int pageTotalNum_;
    /**
     * <pre>
     *总页数
     * </pre>
     *
     * <code>int32 page_total_num = 2;</code>
     */
    public int getPageTotalNum() {
      return pageTotalNum_;
    }

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

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

      size = 0;
      for (int i = 0; i < profile_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, profile_.get(i));
      }
      if (pageTotalNum_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(2, pageTotalNum_);
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.akaxin.proto.plugin.HaiUserFriendsProto.HaiUserFriendsResponse)) {
        return super.equals(obj);
      }
      com.akaxin.proto.plugin.HaiUserFriendsProto.HaiUserFriendsResponse other = (com.akaxin.proto.plugin.HaiUserFriendsProto.HaiUserFriendsResponse) obj;

      boolean result = true;
      result = result && getProfileList()
          .equals(other.getProfileList());
      result = result && (getPageTotalNum()
          == other.getPageTotalNum());
      result = result && unknownFields.equals(other.unknownFields);
      return result;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (getProfileCount() > 0) {
        hash = (37 * hash) + PROFILE_FIELD_NUMBER;
        hash = (53 * hash) + getProfileList().hashCode();
      }
      hash = (37 * hash) + PAGE_TOTAL_NUM_FIELD_NUMBER;
      hash = (53 * hash) + getPageTotalNum();
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.akaxin.proto.plugin.HaiUserFriendsProto.internal_static_plugin_HaiUserFriendsResponse_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.akaxin.proto.plugin.HaiUserFriendsProto.HaiUserFriendsResponse.class, com.akaxin.proto.plugin.HaiUserFriendsProto.HaiUserFriendsResponse.Builder.class);
      }

      // Construct using com.akaxin.proto.plugin.HaiUserFriendsProto.HaiUserFriendsResponse.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
          getProfileFieldBuilder();
        }
      }
      public Builder clear() {
        super.clear();
        if (profileBuilder_ == null) {
          profile_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          profileBuilder_.clear();
        }
        pageTotalNum_ = 0;

        return this;
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.akaxin.proto.plugin.HaiUserFriendsProto.internal_static_plugin_HaiUserFriendsResponse_descriptor;
      }

      public com.akaxin.proto.plugin.HaiUserFriendsProto.HaiUserFriendsResponse getDefaultInstanceForType() {
        return com.akaxin.proto.plugin.HaiUserFriendsProto.HaiUserFriendsResponse.getDefaultInstance();
      }

      public com.akaxin.proto.plugin.HaiUserFriendsProto.HaiUserFriendsResponse build() {
        com.akaxin.proto.plugin.HaiUserFriendsProto.HaiUserFriendsResponse result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public com.akaxin.proto.plugin.HaiUserFriendsProto.HaiUserFriendsResponse buildPartial() {
        com.akaxin.proto.plugin.HaiUserFriendsProto.HaiUserFriendsResponse result = new com.akaxin.proto.plugin.HaiUserFriendsProto.HaiUserFriendsResponse(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (profileBuilder_ == null) {
          if (((bitField0_ & 0x00000001) == 0x00000001)) {
            profile_ = java.util.Collections.unmodifiableList(profile_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.profile_ = profile_;
        } else {
          result.profile_ = profileBuilder_.build();
        }
        result.pageTotalNum_ = pageTotalNum_;
        result.bitField0_ = to_bitField0_;
        onBuilt();
        return result;
      }

      public Builder clone() {
        return (Builder) super.clone();
      }
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.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, java.lang.Object value) {
        return (Builder) super.setRepeatedField(field, index, value);
      }
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return (Builder) super.addRepeatedField(field, value);
      }
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.akaxin.proto.plugin.HaiUserFriendsProto.HaiUserFriendsResponse) {
          return mergeFrom((com.akaxin.proto.plugin.HaiUserFriendsProto.HaiUserFriendsResponse)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.akaxin.proto.plugin.HaiUserFriendsProto.HaiUserFriendsResponse other) {
        if (other == com.akaxin.proto.plugin.HaiUserFriendsProto.HaiUserFriendsResponse.getDefaultInstance()) return this;
        if (profileBuilder_ == null) {
          if (!other.profile_.isEmpty()) {
            if (profile_.isEmpty()) {
              profile_ = other.profile_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureProfileIsMutable();
              profile_.addAll(other.profile_);
            }
            onChanged();
          }
        } else {
          if (!other.profile_.isEmpty()) {
            if (profileBuilder_.isEmpty()) {
              profileBuilder_.dispose();
              profileBuilder_ = null;
              profile_ = other.profile_;
              bitField0_ = (bitField0_ & ~0x00000001);
              profileBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getProfileFieldBuilder() : null;
            } else {
              profileBuilder_.addAllMessages(other.profile_);
            }
          }
        }
        if (other.getPageTotalNum() != 0) {
          setPageTotalNum(other.getPageTotalNum());
        }
        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 {
        com.akaxin.proto.plugin.HaiUserFriendsProto.HaiUserFriendsResponse parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.akaxin.proto.plugin.HaiUserFriendsProto.HaiUserFriendsResponse) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private java.util.List<com.akaxin.proto.core.UserProto.SimpleUserProfile> profile_ =
        java.util.Collections.emptyList();
      private void ensureProfileIsMutable() {
        if (!((bitField0_ & 0x00000001) == 0x00000001)) {
          profile_ = new java.util.ArrayList<com.akaxin.proto.core.UserProto.SimpleUserProfile>(profile_);
          bitField0_ |= 0x00000001;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          com.akaxin.proto.core.UserProto.SimpleUserProfile, com.akaxin.proto.core.UserProto.SimpleUserProfile.Builder, com.akaxin.proto.core.UserProto.SimpleUserProfileOrBuilder> profileBuilder_;

      /**
       * <pre>
       *需要查找的用户
       * </pre>
       *
       * <code>repeated .core.SimpleUserProfile profile = 1;</code>
       */
      public java.util.List<com.akaxin.proto.core.UserProto.SimpleUserProfile> getProfileList() {
        if (profileBuilder_ == null) {
          return java.util.Collections.unmodifiableList(profile_);
        } else {
          return profileBuilder_.getMessageList();
        }
      }
      /**
       * <pre>
       *需要查找的用户
       * </pre>
       *
       * <code>repeated .core.SimpleUserProfile profile = 1;</code>
       */
      public int getProfileCount() {
        if (profileBuilder_ == null) {
          return profile_.size();
        } else {
          return profileBuilder_.getCount();
        }
      }
      /**
       * <pre>
       *需要查找的用户
       * </pre>
       *
       * <code>repeated .core.SimpleUserProfile profile = 1;</code>
       */
      public com.akaxin.proto.core.UserProto.SimpleUserProfile getProfile(int index) {
        if (profileBuilder_ == null) {
          return profile_.get(index);
        } else {
          return profileBuilder_.getMessage(index);
        }
      }
      /**
       * <pre>
       *需要查找的用户
       * </pre>
       *
       * <code>repeated .core.SimpleUserProfile profile = 1;</code>
       */
      public Builder setProfile(
          int index, com.akaxin.proto.core.UserProto.SimpleUserProfile value) {
        if (profileBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureProfileIsMutable();
          profile_.set(index, value);
          onChanged();
        } else {
          profileBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <pre>
       *需要查找的用户
       * </pre>
       *
       * <code>repeated .core.SimpleUserProfile profile = 1;</code>
       */
      public Builder setProfile(
          int index, com.akaxin.proto.core.UserProto.SimpleUserProfile.Builder builderForValue) {
        if (profileBuilder_ == null) {
          ensureProfileIsMutable();
          profile_.set(index, builderForValue.build());
          onChanged();
        } else {
          profileBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <pre>
       *需要查找的用户
       * </pre>
       *
       * <code>repeated .core.SimpleUserProfile profile = 1;</code>
       */
      public Builder addProfile(com.akaxin.proto.core.UserProto.SimpleUserProfile value) {
        if (profileBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureProfileIsMutable();
          profile_.add(value);
          onChanged();
        } else {
          profileBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <pre>
       *需要查找的用户
       * </pre>
       *
       * <code>repeated .core.SimpleUserProfile profile = 1;</code>
       */
      public Builder addProfile(
          int index, com.akaxin.proto.core.UserProto.SimpleUserProfile value) {
        if (profileBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureProfileIsMutable();
          profile_.add(index, value);
          onChanged();
        } else {
          profileBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <pre>
       *需要查找的用户
       * </pre>
       *
       * <code>repeated .core.SimpleUserProfile profile = 1;</code>
       */
      public Builder addProfile(
          com.akaxin.proto.core.UserProto.SimpleUserProfile.Builder builderForValue) {
        if (profileBuilder_ == null) {
          ensureProfileIsMutable();
          profile_.add(builderForValue.build());
          onChanged();
        } else {
          profileBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <pre>
       *需要查找的用户
       * </pre>
       *
       * <code>repeated .core.SimpleUserProfile profile = 1;</code>
       */
      public Builder addProfile(
          int index, com.akaxin.proto.core.UserProto.SimpleUserProfile.Builder builderForValue) {
        if (profileBuilder_ == null) {
          ensureProfileIsMutable();
          profile_.add(index, builderForValue.build());
          onChanged();
        } else {
          profileBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <pre>
       *需要查找的用户
       * </pre>
       *
       * <code>repeated .core.SimpleUserProfile profile = 1;</code>
       */
      public Builder addAllProfile(
          java.lang.Iterable<? extends com.akaxin.proto.core.UserProto.SimpleUserProfile> values) {
        if (profileBuilder_ == null) {
          ensureProfileIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, profile_);
          onChanged();
        } else {
          profileBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <pre>
       *需要查找的用户
       * </pre>
       *
       * <code>repeated .core.SimpleUserProfile profile = 1;</code>
       */
      public Builder clearProfile() {
        if (profileBuilder_ == null) {
          profile_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          profileBuilder_.clear();
        }
        return this;
      }
      /**
       * <pre>
       *需要查找的用户
       * </pre>
       *
       * <code>repeated .core.SimpleUserProfile profile = 1;</code>
       */
      public Builder removeProfile(int index) {
        if (profileBuilder_ == null) {
          ensureProfileIsMutable();
          profile_.remove(index);
          onChanged();
        } else {
          profileBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <pre>
       *需要查找的用户
       * </pre>
       *
       * <code>repeated .core.SimpleUserProfile profile = 1;</code>
       */
      public com.akaxin.proto.core.UserProto.SimpleUserProfile.Builder getProfileBuilder(
          int index) {
        return getProfileFieldBuilder().getBuilder(index);
      }
      /**
       * <pre>
       *需要查找的用户
       * </pre>
       *
       * <code>repeated .core.SimpleUserProfile profile = 1;</code>
       */
      public com.akaxin.proto.core.UserProto.SimpleUserProfileOrBuilder getProfileOrBuilder(
          int index) {
        if (profileBuilder_ == null) {
          return profile_.get(index);  } else {
          return profileBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <pre>
       *需要查找的用户
       * </pre>
       *
       * <code>repeated .core.SimpleUserProfile profile = 1;</code>
       */
      public java.util.List<? extends com.akaxin.proto.core.UserProto.SimpleUserProfileOrBuilder> 
           getProfileOrBuilderList() {
        if (profileBuilder_ != null) {
          return profileBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(profile_);
        }
      }
      /**
       * <pre>
       *需要查找的用户
       * </pre>
       *
       * <code>repeated .core.SimpleUserProfile profile = 1;</code>
       */
      public com.akaxin.proto.core.UserProto.SimpleUserProfile.Builder addProfileBuilder() {
        return getProfileFieldBuilder().addBuilder(
            com.akaxin.proto.core.UserProto.SimpleUserProfile.getDefaultInstance());
      }
      /**
       * <pre>
       *需要查找的用户
       * </pre>
       *
       * <code>repeated .core.SimpleUserProfile profile = 1;</code>
       */
      public com.akaxin.proto.core.UserProto.SimpleUserProfile.Builder addProfileBuilder(
          int index) {
        return getProfileFieldBuilder().addBuilder(
            index, com.akaxin.proto.core.UserProto.SimpleUserProfile.getDefaultInstance());
      }
      /**
       * <pre>
       *需要查找的用户
       * </pre>
       *
       * <code>repeated .core.SimpleUserProfile profile = 1;</code>
       */
      public java.util.List<com.akaxin.proto.core.UserProto.SimpleUserProfile.Builder> 
           getProfileBuilderList() {
        return getProfileFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          com.akaxin.proto.core.UserProto.SimpleUserProfile, com.akaxin.proto.core.UserProto.SimpleUserProfile.Builder, com.akaxin.proto.core.UserProto.SimpleUserProfileOrBuilder> 
          getProfileFieldBuilder() {
        if (profileBuilder_ == null) {
          profileBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              com.akaxin.proto.core.UserProto.SimpleUserProfile, com.akaxin.proto.core.UserProto.SimpleUserProfile.Builder, com.akaxin.proto.core.UserProto.SimpleUserProfileOrBuilder>(
                  profile_,
                  ((bitField0_ & 0x00000001) == 0x00000001),
                  getParentForChildren(),
                  isClean());
          profile_ = null;
        }
        return profileBuilder_;
      }

      private int pageTotalNum_ ;
      /**
       * <pre>
       *总页数
       * </pre>
       *
       * <code>int32 page_total_num = 2;</code>
       */
      public int getPageTotalNum() {
        return pageTotalNum_;
      }
      /**
       * <pre>
       *总页数
       * </pre>
       *
       * <code>int32 page_total_num = 2;</code>
       */
      public Builder setPageTotalNum(int value) {
        
        pageTotalNum_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       *总页数
       * </pre>
       *
       * <code>int32 page_total_num = 2;</code>
       */
      public Builder clearPageTotalNum() {
        
        pageTotalNum_ = 0;
        onChanged();
        return this;
      }
      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:plugin.HaiUserFriendsResponse)
    }

    // @@protoc_insertion_point(class_scope:plugin.HaiUserFriendsResponse)
    private static final com.akaxin.proto.plugin.HaiUserFriendsProto.HaiUserFriendsResponse DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new com.akaxin.proto.plugin.HaiUserFriendsProto.HaiUserFriendsResponse();
    }

    public static com.akaxin.proto.plugin.HaiUserFriendsProto.HaiUserFriendsResponse getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    public com.akaxin.proto.plugin.HaiUserFriendsProto.HaiUserFriendsResponse getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_plugin_HaiUserFriendsRequest_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_plugin_HaiUserFriendsRequest_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_plugin_HaiUserFriendsResponse_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_plugin_HaiUserFriendsResponse_fieldAccessorTable;

  public static com.google.protobuf.Descriptors.FileDescriptor
      getDescriptor() {
    return descriptor;
  }
  private static  com.google.protobuf.Descriptors.FileDescriptor
      descriptor;
  static {
    java.lang.String[] descriptorData = {
      "\n\035plugin/hai_user_friends.proto\022\006plugin\032" +
      "\017core/user.proto\"U\n\025HaiUserFriendsReques" +
      "t\022\024\n\014site_user_id\030\001 \001(\t\022\023\n\013page_number\030\003" +
      " \001(\005\022\021\n\tpage_size\030\004 \001(\005\"Z\n\026HaiUserFriend" +
      "sResponse\022(\n\007profile\030\001 \003(\0132\027.core.Simple" +
      "UserProfile\022\026\n\016page_total_num\030\002 \001(\0052a\n\025H" +
      "aiUserFriendsService\022H\n\007friends\022\035.plugin" +
      ".HaiUserFriendsRequest\032\036.plugin.HaiUserF" +
      "riendsResponseB.\n\027com.akaxin.proto.plugi" +
      "nB\023HaiUserFriendsProtob\006proto3"
    };
    com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
        new com.google.protobuf.Descriptors.FileDescriptor.    InternalDescriptorAssigner() {
          public com.google.protobuf.ExtensionRegistry assignDescriptors(
              com.google.protobuf.Descriptors.FileDescriptor root) {
            descriptor = root;
            return null;
          }
        };
    com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
          com.akaxin.proto.core.UserProto.getDescriptor(),
        }, assigner);
    internal_static_plugin_HaiUserFriendsRequest_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_plugin_HaiUserFriendsRequest_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_plugin_HaiUserFriendsRequest_descriptor,
        new java.lang.String[] { "SiteUserId", "PageNumber", "PageSize", });
    internal_static_plugin_HaiUserFriendsResponse_descriptor =
      getDescriptor().getMessageTypes().get(1);
    internal_static_plugin_HaiUserFriendsResponse_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_plugin_HaiUserFriendsResponse_descriptor,
        new java.lang.String[] { "Profile", "PageTotalNum", });
    com.akaxin.proto.core.UserProto.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
