// Generated by the protocol buffer compiler. DO NOT EDIT! // source: plugin/hai_group_list.proto package com.akaxin.proto.plugin; public final class HaiGroupListProto { private HaiGroupListProto() {} 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 HaiGroupListRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:plugin.HaiGroupListRequest) com.google.protobuf.MessageOrBuilder { /** *
*第几页 ** *
int32 page_number = 1;
*/
int getPageNumber();
/**
* *每页的条数,默认100 ** *
int32 page_size = 2;
*/
int getPageSize();
}
/**
* ** *获取群组列表 *---- *接口名 *---- * /hai/group/list *错误码 *---- *- success *- error.alert ** * Protobuf type {@code plugin.HaiGroupListRequest} */ public static final class HaiGroupListRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:plugin.HaiGroupListRequest) HaiGroupListRequestOrBuilder { private static final long serialVersionUID = 0L; // Use HaiGroupListRequest.newBuilder() to construct. private HaiGroupListRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) { super(builder); } private HaiGroupListRequest() { pageNumber_ = 0; pageSize_ = 0; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private HaiGroupListRequest( 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.HaiGroupListProto.internal_static_plugin_HaiGroupListRequest_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.akaxin.proto.plugin.HaiGroupListProto.internal_static_plugin_HaiGroupListRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.akaxin.proto.plugin.HaiGroupListProto.HaiGroupListRequest.class, com.akaxin.proto.plugin.HaiGroupListProto.HaiGroupListRequest.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_;
/**
* *每页的条数,默认100 ** *
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.HaiGroupListProto.HaiGroupListRequest)) {
return super.equals(obj);
}
com.akaxin.proto.plugin.HaiGroupListProto.HaiGroupListRequest other = (com.akaxin.proto.plugin.HaiGroupListProto.HaiGroupListRequest) 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.HaiGroupListProto.HaiGroupListRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akaxin.proto.plugin.HaiGroupListProto.HaiGroupListRequest 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.HaiGroupListProto.HaiGroupListRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akaxin.proto.plugin.HaiGroupListProto.HaiGroupListRequest 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.HaiGroupListProto.HaiGroupListRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akaxin.proto.plugin.HaiGroupListProto.HaiGroupListRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.akaxin.proto.plugin.HaiGroupListProto.HaiGroupListRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.akaxin.proto.plugin.HaiGroupListProto.HaiGroupListRequest 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.HaiGroupListProto.HaiGroupListRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.akaxin.proto.plugin.HaiGroupListProto.HaiGroupListRequest 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.HaiGroupListProto.HaiGroupListRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.akaxin.proto.plugin.HaiGroupListProto.HaiGroupListRequest 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.HaiGroupListProto.HaiGroupListRequest 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/group/list *错误码 *---- *- success *- error.alert ** * Protobuf type {@code plugin.HaiGroupListRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
*第几页 ** *
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_ ;
/**
* *每页的条数,默认100 ** *
int32 page_size = 2;
*/
public int getPageSize() {
return pageSize_;
}
/**
* *每页的条数,默认100 ** *
int32 page_size = 2;
*/
public Builder setPageSize(int value) {
pageSize_ = value;
onChanged();
return this;
}
/**
* *每页的条数,默认100 ** *
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.HaiGroupListRequest)
}
// @@protoc_insertion_point(class_scope:plugin.HaiGroupListRequest)
private static final com.akaxin.proto.plugin.HaiGroupListProto.HaiGroupListRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.akaxin.proto.plugin.HaiGroupListProto.HaiGroupListRequest();
}
public static com.akaxin.proto.plugin.HaiGroupListProto.HaiGroupListRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser*用户的群列表 ** *
repeated .core.SimpleGroupProfile group_profile = 1;
*/
java.util.List*用户的群列表 ** *
repeated .core.SimpleGroupProfile group_profile = 1;
*/
com.akaxin.proto.core.GroupProto.SimpleGroupProfile getGroupProfile(int index);
/**
* *用户的群列表 ** *
repeated .core.SimpleGroupProfile group_profile = 1;
*/
int getGroupProfileCount();
/**
* *用户的群列表 ** *
repeated .core.SimpleGroupProfile group_profile = 1;
*/
java.util.List extends com.akaxin.proto.core.GroupProto.SimpleGroupProfileOrBuilder>
getGroupProfileOrBuilderList();
/**
* *用户的群列表 ** *
repeated .core.SimpleGroupProfile group_profile = 1;
*/
com.akaxin.proto.core.GroupProto.SimpleGroupProfileOrBuilder getGroupProfileOrBuilder(
int index);
/**
* * 一共多少页 ** *
int32 page_total_num = 2;
*/
int getPageTotalNum();
}
/**
* Protobuf type {@code plugin.HaiGroupListResponse}
*/
public static final class HaiGroupListResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:plugin.HaiGroupListResponse)
HaiGroupListResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use HaiGroupListResponse.newBuilder() to construct.
private HaiGroupListResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private HaiGroupListResponse() {
groupProfile_ = java.util.Collections.emptyList();
pageTotalNum_ = 0;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private HaiGroupListResponse(
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)) {
groupProfile_ = new java.util.ArrayList*用户的群列表 ** *
repeated .core.SimpleGroupProfile group_profile = 1;
*/
public java.util.List*用户的群列表 ** *
repeated .core.SimpleGroupProfile group_profile = 1;
*/
public java.util.List extends com.akaxin.proto.core.GroupProto.SimpleGroupProfileOrBuilder>
getGroupProfileOrBuilderList() {
return groupProfile_;
}
/**
* *用户的群列表 ** *
repeated .core.SimpleGroupProfile group_profile = 1;
*/
public int getGroupProfileCount() {
return groupProfile_.size();
}
/**
* *用户的群列表 ** *
repeated .core.SimpleGroupProfile group_profile = 1;
*/
public com.akaxin.proto.core.GroupProto.SimpleGroupProfile getGroupProfile(int index) {
return groupProfile_.get(index);
}
/**
* *用户的群列表 ** *
repeated .core.SimpleGroupProfile group_profile = 1;
*/
public com.akaxin.proto.core.GroupProto.SimpleGroupProfileOrBuilder getGroupProfileOrBuilder(
int index) {
return groupProfile_.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 < groupProfile_.size(); i++) {
output.writeMessage(1, groupProfile_.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 < groupProfile_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, groupProfile_.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.HaiGroupListProto.HaiGroupListResponse)) {
return super.equals(obj);
}
com.akaxin.proto.plugin.HaiGroupListProto.HaiGroupListResponse other = (com.akaxin.proto.plugin.HaiGroupListProto.HaiGroupListResponse) obj;
boolean result = true;
result = result && getGroupProfileList()
.equals(other.getGroupProfileList());
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 (getGroupProfileCount() > 0) {
hash = (37 * hash) + GROUP_PROFILE_FIELD_NUMBER;
hash = (53 * hash) + getGroupProfileList().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.HaiGroupListProto.HaiGroupListResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akaxin.proto.plugin.HaiGroupListProto.HaiGroupListResponse 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.HaiGroupListProto.HaiGroupListResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akaxin.proto.plugin.HaiGroupListProto.HaiGroupListResponse 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.HaiGroupListProto.HaiGroupListResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akaxin.proto.plugin.HaiGroupListProto.HaiGroupListResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.akaxin.proto.plugin.HaiGroupListProto.HaiGroupListResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.akaxin.proto.plugin.HaiGroupListProto.HaiGroupListResponse 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.HaiGroupListProto.HaiGroupListResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.akaxin.proto.plugin.HaiGroupListProto.HaiGroupListResponse 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.HaiGroupListProto.HaiGroupListResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.akaxin.proto.plugin.HaiGroupListProto.HaiGroupListResponse 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.HaiGroupListProto.HaiGroupListResponse 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.HaiGroupListResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder*用户的群列表 ** *
repeated .core.SimpleGroupProfile group_profile = 1;
*/
public java.util.List*用户的群列表 ** *
repeated .core.SimpleGroupProfile group_profile = 1;
*/
public int getGroupProfileCount() {
if (groupProfileBuilder_ == null) {
return groupProfile_.size();
} else {
return groupProfileBuilder_.getCount();
}
}
/**
* *用户的群列表 ** *
repeated .core.SimpleGroupProfile group_profile = 1;
*/
public com.akaxin.proto.core.GroupProto.SimpleGroupProfile getGroupProfile(int index) {
if (groupProfileBuilder_ == null) {
return groupProfile_.get(index);
} else {
return groupProfileBuilder_.getMessage(index);
}
}
/**
* *用户的群列表 ** *
repeated .core.SimpleGroupProfile group_profile = 1;
*/
public Builder setGroupProfile(
int index, com.akaxin.proto.core.GroupProto.SimpleGroupProfile value) {
if (groupProfileBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureGroupProfileIsMutable();
groupProfile_.set(index, value);
onChanged();
} else {
groupProfileBuilder_.setMessage(index, value);
}
return this;
}
/**
* *用户的群列表 ** *
repeated .core.SimpleGroupProfile group_profile = 1;
*/
public Builder setGroupProfile(
int index, com.akaxin.proto.core.GroupProto.SimpleGroupProfile.Builder builderForValue) {
if (groupProfileBuilder_ == null) {
ensureGroupProfileIsMutable();
groupProfile_.set(index, builderForValue.build());
onChanged();
} else {
groupProfileBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* *用户的群列表 ** *
repeated .core.SimpleGroupProfile group_profile = 1;
*/
public Builder addGroupProfile(com.akaxin.proto.core.GroupProto.SimpleGroupProfile value) {
if (groupProfileBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureGroupProfileIsMutable();
groupProfile_.add(value);
onChanged();
} else {
groupProfileBuilder_.addMessage(value);
}
return this;
}
/**
* *用户的群列表 ** *
repeated .core.SimpleGroupProfile group_profile = 1;
*/
public Builder addGroupProfile(
int index, com.akaxin.proto.core.GroupProto.SimpleGroupProfile value) {
if (groupProfileBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureGroupProfileIsMutable();
groupProfile_.add(index, value);
onChanged();
} else {
groupProfileBuilder_.addMessage(index, value);
}
return this;
}
/**
* *用户的群列表 ** *
repeated .core.SimpleGroupProfile group_profile = 1;
*/
public Builder addGroupProfile(
com.akaxin.proto.core.GroupProto.SimpleGroupProfile.Builder builderForValue) {
if (groupProfileBuilder_ == null) {
ensureGroupProfileIsMutable();
groupProfile_.add(builderForValue.build());
onChanged();
} else {
groupProfileBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* *用户的群列表 ** *
repeated .core.SimpleGroupProfile group_profile = 1;
*/
public Builder addGroupProfile(
int index, com.akaxin.proto.core.GroupProto.SimpleGroupProfile.Builder builderForValue) {
if (groupProfileBuilder_ == null) {
ensureGroupProfileIsMutable();
groupProfile_.add(index, builderForValue.build());
onChanged();
} else {
groupProfileBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* *用户的群列表 ** *
repeated .core.SimpleGroupProfile group_profile = 1;
*/
public Builder addAllGroupProfile(
java.lang.Iterable extends com.akaxin.proto.core.GroupProto.SimpleGroupProfile> values) {
if (groupProfileBuilder_ == null) {
ensureGroupProfileIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, groupProfile_);
onChanged();
} else {
groupProfileBuilder_.addAllMessages(values);
}
return this;
}
/**
* *用户的群列表 ** *
repeated .core.SimpleGroupProfile group_profile = 1;
*/
public Builder clearGroupProfile() {
if (groupProfileBuilder_ == null) {
groupProfile_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
groupProfileBuilder_.clear();
}
return this;
}
/**
* *用户的群列表 ** *
repeated .core.SimpleGroupProfile group_profile = 1;
*/
public Builder removeGroupProfile(int index) {
if (groupProfileBuilder_ == null) {
ensureGroupProfileIsMutable();
groupProfile_.remove(index);
onChanged();
} else {
groupProfileBuilder_.remove(index);
}
return this;
}
/**
* *用户的群列表 ** *
repeated .core.SimpleGroupProfile group_profile = 1;
*/
public com.akaxin.proto.core.GroupProto.SimpleGroupProfile.Builder getGroupProfileBuilder(
int index) {
return getGroupProfileFieldBuilder().getBuilder(index);
}
/**
* *用户的群列表 ** *
repeated .core.SimpleGroupProfile group_profile = 1;
*/
public com.akaxin.proto.core.GroupProto.SimpleGroupProfileOrBuilder getGroupProfileOrBuilder(
int index) {
if (groupProfileBuilder_ == null) {
return groupProfile_.get(index); } else {
return groupProfileBuilder_.getMessageOrBuilder(index);
}
}
/**
* *用户的群列表 ** *
repeated .core.SimpleGroupProfile group_profile = 1;
*/
public java.util.List extends com.akaxin.proto.core.GroupProto.SimpleGroupProfileOrBuilder>
getGroupProfileOrBuilderList() {
if (groupProfileBuilder_ != null) {
return groupProfileBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(groupProfile_);
}
}
/**
* *用户的群列表 ** *
repeated .core.SimpleGroupProfile group_profile = 1;
*/
public com.akaxin.proto.core.GroupProto.SimpleGroupProfile.Builder addGroupProfileBuilder() {
return getGroupProfileFieldBuilder().addBuilder(
com.akaxin.proto.core.GroupProto.SimpleGroupProfile.getDefaultInstance());
}
/**
* *用户的群列表 ** *
repeated .core.SimpleGroupProfile group_profile = 1;
*/
public com.akaxin.proto.core.GroupProto.SimpleGroupProfile.Builder addGroupProfileBuilder(
int index) {
return getGroupProfileFieldBuilder().addBuilder(
index, com.akaxin.proto.core.GroupProto.SimpleGroupProfile.getDefaultInstance());
}
/**
* *用户的群列表 ** *
repeated .core.SimpleGroupProfile group_profile = 1;
*/
public java.util.List* 一共多少页 ** *
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.HaiGroupListResponse)
}
// @@protoc_insertion_point(class_scope:plugin.HaiGroupListResponse)
private static final com.akaxin.proto.plugin.HaiGroupListProto.HaiGroupListResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.akaxin.proto.plugin.HaiGroupListProto.HaiGroupListResponse();
}
public static com.akaxin.proto.plugin.HaiGroupListProto.HaiGroupListResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser