// Generated by the protocol buffer compiler. DO NOT EDIT! // source: plugin/hai_user_list.proto package com.akaxin.proto.plugin; public final class HaiUserListProto { private HaiUserListProto() {} 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 HaiUserListRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:plugin.HaiUserListRequest) com.google.protobuf.MessageOrBuilder { /** *
     *分页:第几页
     * 
* * int32 page_number = 1; */ int getPageNumber(); /** *
     *分页:每页条数
     * 
* * int32 page_size = 2; */ int getPageSize(); } /** *
   **
   *获取站点上用户
   *----
   *接口名
   *----
   * /hai/user/list
   *错误码
   *----
   * success
   * error.alert
   * 
* * Protobuf type {@code plugin.HaiUserListRequest} */ public static final class HaiUserListRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:plugin.HaiUserListRequest) HaiUserListRequestOrBuilder { private static final long serialVersionUID = 0L; // Use HaiUserListRequest.newBuilder() to construct. private HaiUserListRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private HaiUserListRequest() { pageNumber_ = 0; pageSize_ = 0; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private HaiUserListRequest( 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 8: { pageNumber_ = input.readInt32(); break; } case 16: { 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.HaiUserListProto.internal_static_plugin_HaiUserListRequest_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.akaxin.proto.plugin.HaiUserListProto.internal_static_plugin_HaiUserListRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.akaxin.proto.plugin.HaiUserListProto.HaiUserListRequest.class, com.akaxin.proto.plugin.HaiUserListProto.HaiUserListRequest.Builder.class); } public static final int PAGE_NUMBER_FIELD_NUMBER = 1; private int pageNumber_; /** *
     *分页:第几页
     * 
* * int32 page_number = 1; */ public int getPageNumber() { return pageNumber_; } public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** *
     *分页:每页条数
     * 
* * int32 page_size = 2; */ 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 (pageNumber_ != 0) { output.writeInt32(1, pageNumber_); } if (pageSize_ != 0) { output.writeInt32(2, pageSize_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (pageNumber_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(1, pageNumber_); } if (pageSize_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(2, 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.HaiUserListProto.HaiUserListRequest)) { return super.equals(obj); } com.akaxin.proto.plugin.HaiUserListProto.HaiUserListRequest other = (com.akaxin.proto.plugin.HaiUserListProto.HaiUserListRequest) obj; boolean result = true; 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) + 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.HaiUserListProto.HaiUserListRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.akaxin.proto.plugin.HaiUserListProto.HaiUserListRequest 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.HaiUserListProto.HaiUserListRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.akaxin.proto.plugin.HaiUserListProto.HaiUserListRequest 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.HaiUserListProto.HaiUserListRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.akaxin.proto.plugin.HaiUserListProto.HaiUserListRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.akaxin.proto.plugin.HaiUserListProto.HaiUserListRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.akaxin.proto.plugin.HaiUserListProto.HaiUserListRequest 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.HaiUserListProto.HaiUserListRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.akaxin.proto.plugin.HaiUserListProto.HaiUserListRequest 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.HaiUserListProto.HaiUserListRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.akaxin.proto.plugin.HaiUserListProto.HaiUserListRequest 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.HaiUserListProto.HaiUserListRequest 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; } /** *
     **
     *获取站点上用户
     *----
     *接口名
     *----
     * /hai/user/list
     *错误码
     *----
     * success
     * error.alert
     * 
* * Protobuf type {@code plugin.HaiUserListRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:plugin.HaiUserListRequest) com.akaxin.proto.plugin.HaiUserListProto.HaiUserListRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.akaxin.proto.plugin.HaiUserListProto.internal_static_plugin_HaiUserListRequest_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.akaxin.proto.plugin.HaiUserListProto.internal_static_plugin_HaiUserListRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.akaxin.proto.plugin.HaiUserListProto.HaiUserListRequest.class, com.akaxin.proto.plugin.HaiUserListProto.HaiUserListRequest.Builder.class); } // Construct using com.akaxin.proto.plugin.HaiUserListProto.HaiUserListRequest.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(); pageNumber_ = 0; pageSize_ = 0; return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.akaxin.proto.plugin.HaiUserListProto.internal_static_plugin_HaiUserListRequest_descriptor; } public com.akaxin.proto.plugin.HaiUserListProto.HaiUserListRequest getDefaultInstanceForType() { return com.akaxin.proto.plugin.HaiUserListProto.HaiUserListRequest.getDefaultInstance(); } public com.akaxin.proto.plugin.HaiUserListProto.HaiUserListRequest build() { com.akaxin.proto.plugin.HaiUserListProto.HaiUserListRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.akaxin.proto.plugin.HaiUserListProto.HaiUserListRequest buildPartial() { com.akaxin.proto.plugin.HaiUserListProto.HaiUserListRequest result = new com.akaxin.proto.plugin.HaiUserListProto.HaiUserListRequest(this); 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.HaiUserListProto.HaiUserListRequest) { return mergeFrom((com.akaxin.proto.plugin.HaiUserListProto.HaiUserListRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.akaxin.proto.plugin.HaiUserListProto.HaiUserListRequest other) { if (other == com.akaxin.proto.plugin.HaiUserListProto.HaiUserListRequest.getDefaultInstance()) return this; 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.HaiUserListProto.HaiUserListRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.akaxin.proto.plugin.HaiUserListProto.HaiUserListRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int pageNumber_ ; /** *
       *分页:第几页
       * 
* * int32 page_number = 1; */ public int getPageNumber() { return pageNumber_; } /** *
       *分页:第几页
       * 
* * int32 page_number = 1; */ public Builder setPageNumber(int value) { pageNumber_ = value; onChanged(); return this; } /** *
       *分页:第几页
       * 
* * int32 page_number = 1; */ public Builder clearPageNumber() { pageNumber_ = 0; onChanged(); return this; } private int pageSize_ ; /** *
       *分页:每页条数
       * 
* * int32 page_size = 2; */ public int getPageSize() { return pageSize_; } /** *
       *分页:每页条数
       * 
* * int32 page_size = 2; */ public Builder setPageSize(int value) { pageSize_ = value; onChanged(); return this; } /** *
       *分页:每页条数
       * 
* * int32 page_size = 2; */ 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.HaiUserListRequest) } // @@protoc_insertion_point(class_scope:plugin.HaiUserListRequest) private static final com.akaxin.proto.plugin.HaiUserListProto.HaiUserListRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.akaxin.proto.plugin.HaiUserListProto.HaiUserListRequest(); } public static com.akaxin.proto.plugin.HaiUserListProto.HaiUserListRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public HaiUserListRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new HaiUserListRequest(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public com.akaxin.proto.plugin.HaiUserListProto.HaiUserListRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface HaiUserListResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:plugin.HaiUserListResponse) com.google.protobuf.MessageOrBuilder { /** *
     *查询的结果
     * 
* * repeated .core.SimpleUserProfile user_profile = 1; */ java.util.List getUserProfileList(); /** *
     *查询的结果
     * 
* * repeated .core.SimpleUserProfile user_profile = 1; */ com.akaxin.proto.core.UserProto.SimpleUserProfile getUserProfile(int index); /** *
     *查询的结果
     * 
* * repeated .core.SimpleUserProfile user_profile = 1; */ int getUserProfileCount(); /** *
     *查询的结果
     * 
* * repeated .core.SimpleUserProfile user_profile = 1; */ java.util.List getUserProfileOrBuilderList(); /** *
     *查询的结果
     * 
* * repeated .core.SimpleUserProfile user_profile = 1; */ com.akaxin.proto.core.UserProto.SimpleUserProfileOrBuilder getUserProfileOrBuilder( int index); /** * int32 page_total_num = 2; */ int getPageTotalNum(); } /** * Protobuf type {@code plugin.HaiUserListResponse} */ public static final class HaiUserListResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:plugin.HaiUserListResponse) HaiUserListResponseOrBuilder { private static final long serialVersionUID = 0L; // Use HaiUserListResponse.newBuilder() to construct. private HaiUserListResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private HaiUserListResponse() { userProfile_ = java.util.Collections.emptyList(); pageTotalNum_ = 0; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private HaiUserListResponse( 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)) { userProfile_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } userProfile_.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)) { userProfile_ = java.util.Collections.unmodifiableList(userProfile_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.akaxin.proto.plugin.HaiUserListProto.internal_static_plugin_HaiUserListResponse_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.akaxin.proto.plugin.HaiUserListProto.internal_static_plugin_HaiUserListResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.akaxin.proto.plugin.HaiUserListProto.HaiUserListResponse.class, com.akaxin.proto.plugin.HaiUserListProto.HaiUserListResponse.Builder.class); } private int bitField0_; public static final int USER_PROFILE_FIELD_NUMBER = 1; private java.util.List userProfile_; /** *
     *查询的结果
     * 
* * repeated .core.SimpleUserProfile user_profile = 1; */ public java.util.List getUserProfileList() { return userProfile_; } /** *
     *查询的结果
     * 
* * repeated .core.SimpleUserProfile user_profile = 1; */ public java.util.List getUserProfileOrBuilderList() { return userProfile_; } /** *
     *查询的结果
     * 
* * repeated .core.SimpleUserProfile user_profile = 1; */ public int getUserProfileCount() { return userProfile_.size(); } /** *
     *查询的结果
     * 
* * repeated .core.SimpleUserProfile user_profile = 1; */ public com.akaxin.proto.core.UserProto.SimpleUserProfile getUserProfile(int index) { return userProfile_.get(index); } /** *
     *查询的结果
     * 
* * repeated .core.SimpleUserProfile user_profile = 1; */ public com.akaxin.proto.core.UserProto.SimpleUserProfileOrBuilder getUserProfileOrBuilder( int index) { return userProfile_.get(index); } public static final int PAGE_TOTAL_NUM_FIELD_NUMBER = 2; private int pageTotalNum_; /** * int32 page_total_num = 2; */ 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 < userProfile_.size(); i++) { output.writeMessage(1, userProfile_.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 < userProfile_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, userProfile_.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.HaiUserListProto.HaiUserListResponse)) { return super.equals(obj); } com.akaxin.proto.plugin.HaiUserListProto.HaiUserListResponse other = (com.akaxin.proto.plugin.HaiUserListProto.HaiUserListResponse) obj; boolean result = true; result = result && getUserProfileList() .equals(other.getUserProfileList()); 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 (getUserProfileCount() > 0) { hash = (37 * hash) + USER_PROFILE_FIELD_NUMBER; hash = (53 * hash) + getUserProfileList().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.HaiUserListProto.HaiUserListResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.akaxin.proto.plugin.HaiUserListProto.HaiUserListResponse 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.HaiUserListProto.HaiUserListResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.akaxin.proto.plugin.HaiUserListProto.HaiUserListResponse 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.HaiUserListProto.HaiUserListResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.akaxin.proto.plugin.HaiUserListProto.HaiUserListResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.akaxin.proto.plugin.HaiUserListProto.HaiUserListResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.akaxin.proto.plugin.HaiUserListProto.HaiUserListResponse 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.HaiUserListProto.HaiUserListResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.akaxin.proto.plugin.HaiUserListProto.HaiUserListResponse 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.HaiUserListProto.HaiUserListResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.akaxin.proto.plugin.HaiUserListProto.HaiUserListResponse 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.HaiUserListProto.HaiUserListResponse 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.HaiUserListResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:plugin.HaiUserListResponse) com.akaxin.proto.plugin.HaiUserListProto.HaiUserListResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.akaxin.proto.plugin.HaiUserListProto.internal_static_plugin_HaiUserListResponse_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.akaxin.proto.plugin.HaiUserListProto.internal_static_plugin_HaiUserListResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.akaxin.proto.plugin.HaiUserListProto.HaiUserListResponse.class, com.akaxin.proto.plugin.HaiUserListProto.HaiUserListResponse.Builder.class); } // Construct using com.akaxin.proto.plugin.HaiUserListProto.HaiUserListResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getUserProfileFieldBuilder(); } } public Builder clear() { super.clear(); if (userProfileBuilder_ == null) { userProfile_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { userProfileBuilder_.clear(); } pageTotalNum_ = 0; return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.akaxin.proto.plugin.HaiUserListProto.internal_static_plugin_HaiUserListResponse_descriptor; } public com.akaxin.proto.plugin.HaiUserListProto.HaiUserListResponse getDefaultInstanceForType() { return com.akaxin.proto.plugin.HaiUserListProto.HaiUserListResponse.getDefaultInstance(); } public com.akaxin.proto.plugin.HaiUserListProto.HaiUserListResponse build() { com.akaxin.proto.plugin.HaiUserListProto.HaiUserListResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.akaxin.proto.plugin.HaiUserListProto.HaiUserListResponse buildPartial() { com.akaxin.proto.plugin.HaiUserListProto.HaiUserListResponse result = new com.akaxin.proto.plugin.HaiUserListProto.HaiUserListResponse(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (userProfileBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { userProfile_ = java.util.Collections.unmodifiableList(userProfile_); bitField0_ = (bitField0_ & ~0x00000001); } result.userProfile_ = userProfile_; } else { result.userProfile_ = userProfileBuilder_.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.HaiUserListProto.HaiUserListResponse) { return mergeFrom((com.akaxin.proto.plugin.HaiUserListProto.HaiUserListResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.akaxin.proto.plugin.HaiUserListProto.HaiUserListResponse other) { if (other == com.akaxin.proto.plugin.HaiUserListProto.HaiUserListResponse.getDefaultInstance()) return this; if (userProfileBuilder_ == null) { if (!other.userProfile_.isEmpty()) { if (userProfile_.isEmpty()) { userProfile_ = other.userProfile_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureUserProfileIsMutable(); userProfile_.addAll(other.userProfile_); } onChanged(); } } else { if (!other.userProfile_.isEmpty()) { if (userProfileBuilder_.isEmpty()) { userProfileBuilder_.dispose(); userProfileBuilder_ = null; userProfile_ = other.userProfile_; bitField0_ = (bitField0_ & ~0x00000001); userProfileBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getUserProfileFieldBuilder() : null; } else { userProfileBuilder_.addAllMessages(other.userProfile_); } } } 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.HaiUserListProto.HaiUserListResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.akaxin.proto.plugin.HaiUserListProto.HaiUserListResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List userProfile_ = java.util.Collections.emptyList(); private void ensureUserProfileIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { userProfile_ = new java.util.ArrayList(userProfile_); 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> userProfileBuilder_; /** *
       *查询的结果
       * 
* * repeated .core.SimpleUserProfile user_profile = 1; */ public java.util.List getUserProfileList() { if (userProfileBuilder_ == null) { return java.util.Collections.unmodifiableList(userProfile_); } else { return userProfileBuilder_.getMessageList(); } } /** *
       *查询的结果
       * 
* * repeated .core.SimpleUserProfile user_profile = 1; */ public int getUserProfileCount() { if (userProfileBuilder_ == null) { return userProfile_.size(); } else { return userProfileBuilder_.getCount(); } } /** *
       *查询的结果
       * 
* * repeated .core.SimpleUserProfile user_profile = 1; */ public com.akaxin.proto.core.UserProto.SimpleUserProfile getUserProfile(int index) { if (userProfileBuilder_ == null) { return userProfile_.get(index); } else { return userProfileBuilder_.getMessage(index); } } /** *
       *查询的结果
       * 
* * repeated .core.SimpleUserProfile user_profile = 1; */ public Builder setUserProfile( int index, com.akaxin.proto.core.UserProto.SimpleUserProfile value) { if (userProfileBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureUserProfileIsMutable(); userProfile_.set(index, value); onChanged(); } else { userProfileBuilder_.setMessage(index, value); } return this; } /** *
       *查询的结果
       * 
* * repeated .core.SimpleUserProfile user_profile = 1; */ public Builder setUserProfile( int index, com.akaxin.proto.core.UserProto.SimpleUserProfile.Builder builderForValue) { if (userProfileBuilder_ == null) { ensureUserProfileIsMutable(); userProfile_.set(index, builderForValue.build()); onChanged(); } else { userProfileBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       *查询的结果
       * 
* * repeated .core.SimpleUserProfile user_profile = 1; */ public Builder addUserProfile(com.akaxin.proto.core.UserProto.SimpleUserProfile value) { if (userProfileBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureUserProfileIsMutable(); userProfile_.add(value); onChanged(); } else { userProfileBuilder_.addMessage(value); } return this; } /** *
       *查询的结果
       * 
* * repeated .core.SimpleUserProfile user_profile = 1; */ public Builder addUserProfile( int index, com.akaxin.proto.core.UserProto.SimpleUserProfile value) { if (userProfileBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureUserProfileIsMutable(); userProfile_.add(index, value); onChanged(); } else { userProfileBuilder_.addMessage(index, value); } return this; } /** *
       *查询的结果
       * 
* * repeated .core.SimpleUserProfile user_profile = 1; */ public Builder addUserProfile( com.akaxin.proto.core.UserProto.SimpleUserProfile.Builder builderForValue) { if (userProfileBuilder_ == null) { ensureUserProfileIsMutable(); userProfile_.add(builderForValue.build()); onChanged(); } else { userProfileBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       *查询的结果
       * 
* * repeated .core.SimpleUserProfile user_profile = 1; */ public Builder addUserProfile( int index, com.akaxin.proto.core.UserProto.SimpleUserProfile.Builder builderForValue) { if (userProfileBuilder_ == null) { ensureUserProfileIsMutable(); userProfile_.add(index, builderForValue.build()); onChanged(); } else { userProfileBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       *查询的结果
       * 
* * repeated .core.SimpleUserProfile user_profile = 1; */ public Builder addAllUserProfile( java.lang.Iterable values) { if (userProfileBuilder_ == null) { ensureUserProfileIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, userProfile_); onChanged(); } else { userProfileBuilder_.addAllMessages(values); } return this; } /** *
       *查询的结果
       * 
* * repeated .core.SimpleUserProfile user_profile = 1; */ public Builder clearUserProfile() { if (userProfileBuilder_ == null) { userProfile_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { userProfileBuilder_.clear(); } return this; } /** *
       *查询的结果
       * 
* * repeated .core.SimpleUserProfile user_profile = 1; */ public Builder removeUserProfile(int index) { if (userProfileBuilder_ == null) { ensureUserProfileIsMutable(); userProfile_.remove(index); onChanged(); } else { userProfileBuilder_.remove(index); } return this; } /** *
       *查询的结果
       * 
* * repeated .core.SimpleUserProfile user_profile = 1; */ public com.akaxin.proto.core.UserProto.SimpleUserProfile.Builder getUserProfileBuilder( int index) { return getUserProfileFieldBuilder().getBuilder(index); } /** *
       *查询的结果
       * 
* * repeated .core.SimpleUserProfile user_profile = 1; */ public com.akaxin.proto.core.UserProto.SimpleUserProfileOrBuilder getUserProfileOrBuilder( int index) { if (userProfileBuilder_ == null) { return userProfile_.get(index); } else { return userProfileBuilder_.getMessageOrBuilder(index); } } /** *
       *查询的结果
       * 
* * repeated .core.SimpleUserProfile user_profile = 1; */ public java.util.List getUserProfileOrBuilderList() { if (userProfileBuilder_ != null) { return userProfileBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(userProfile_); } } /** *
       *查询的结果
       * 
* * repeated .core.SimpleUserProfile user_profile = 1; */ public com.akaxin.proto.core.UserProto.SimpleUserProfile.Builder addUserProfileBuilder() { return getUserProfileFieldBuilder().addBuilder( com.akaxin.proto.core.UserProto.SimpleUserProfile.getDefaultInstance()); } /** *
       *查询的结果
       * 
* * repeated .core.SimpleUserProfile user_profile = 1; */ public com.akaxin.proto.core.UserProto.SimpleUserProfile.Builder addUserProfileBuilder( int index) { return getUserProfileFieldBuilder().addBuilder( index, com.akaxin.proto.core.UserProto.SimpleUserProfile.getDefaultInstance()); } /** *
       *查询的结果
       * 
* * repeated .core.SimpleUserProfile user_profile = 1; */ public java.util.List getUserProfileBuilderList() { return getUserProfileFieldBuilder().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> getUserProfileFieldBuilder() { if (userProfileBuilder_ == null) { userProfileBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.akaxin.proto.core.UserProto.SimpleUserProfile, com.akaxin.proto.core.UserProto.SimpleUserProfile.Builder, com.akaxin.proto.core.UserProto.SimpleUserProfileOrBuilder>( userProfile_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), isClean()); userProfile_ = null; } return userProfileBuilder_; } private int pageTotalNum_ ; /** * int32 page_total_num = 2; */ public int getPageTotalNum() { return pageTotalNum_; } /** * int32 page_total_num = 2; */ public Builder setPageTotalNum(int value) { pageTotalNum_ = value; onChanged(); return this; } /** * int32 page_total_num = 2; */ 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.HaiUserListResponse) } // @@protoc_insertion_point(class_scope:plugin.HaiUserListResponse) private static final com.akaxin.proto.plugin.HaiUserListProto.HaiUserListResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.akaxin.proto.plugin.HaiUserListProto.HaiUserListResponse(); } public static com.akaxin.proto.plugin.HaiUserListProto.HaiUserListResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public HaiUserListResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new HaiUserListResponse(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public com.akaxin.proto.plugin.HaiUserListProto.HaiUserListResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_plugin_HaiUserListRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_plugin_HaiUserListRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_plugin_HaiUserListResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_plugin_HaiUserListResponse_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\032plugin/hai_user_list.proto\022\006plugin\032\017co" + "re/user.proto\"<\n\022HaiUserListRequest\022\023\n\013p" + "age_number\030\001 \001(\005\022\021\n\tpage_size\030\002 \001(\005\"\\\n\023H" + "aiUserListResponse\022-\n\014user_profile\030\001 \003(\013" + "2\027.core.SimpleUserProfile\022\026\n\016page_total_" + "num\030\002 \001(\0052U\n\022HaiUserListService\022?\n\004list\022" + "\032.plugin.HaiUserListRequest\032\033.plugin.Hai" + "UserListResponseB+\n\027com.akaxin.proto.plu" + "ginB\020HaiUserListProtob\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_HaiUserListRequest_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_plugin_HaiUserListRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_plugin_HaiUserListRequest_descriptor, new java.lang.String[] { "PageNumber", "PageSize", }); internal_static_plugin_HaiUserListResponse_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_plugin_HaiUserListResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_plugin_HaiUserListResponse_descriptor, new java.lang.String[] { "UserProfile", "PageTotalNum", }); com.akaxin.proto.core.UserProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }