// Generated by the protocol buffer compiler. DO NOT EDIT! // source: plugin/hai_user_groups.proto package com.akaxin.proto.plugin; public final class HaiUserGroupsProto { private HaiUserGroupsProto() {} 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 HaiUserGroupsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:plugin.HaiUserGroupsRequest) com.google.protobuf.MessageOrBuilder { /** *
*需要查找的用户ID ** *
string site_user_id = 1;
*/
java.lang.String getSiteUserId();
/**
* *需要查找的用户ID ** *
string site_user_id = 1;
*/
com.google.protobuf.ByteString
getSiteUserIdBytes();
/**
* * 默认0 ** *
int32 page_number = 3;
*/
int getPageNumber();
/**
* * 默认100 ** *
int32 page_size = 4;
*/
int getPageSize();
}
/**
* ** *获取用户的群组列表 *---- *接口名 *---- * /hai/user/groups *错误码 *---- * success * error.alert ** * Protobuf type {@code plugin.HaiUserGroupsRequest} */ public static final class HaiUserGroupsRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:plugin.HaiUserGroupsRequest) HaiUserGroupsRequestOrBuilder { private static final long serialVersionUID = 0L; // Use HaiUserGroupsRequest.newBuilder() to construct. private HaiUserGroupsRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) { super(builder); } private HaiUserGroupsRequest() { siteUserId_ = ""; pageNumber_ = 0; pageSize_ = 0; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private HaiUserGroupsRequest( 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.HaiUserGroupsProto.internal_static_plugin_HaiUserGroupsRequest_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.akaxin.proto.plugin.HaiUserGroupsProto.internal_static_plugin_HaiUserGroupsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.akaxin.proto.plugin.HaiUserGroupsProto.HaiUserGroupsRequest.class, com.akaxin.proto.plugin.HaiUserGroupsProto.HaiUserGroupsRequest.Builder.class); } public static final int SITE_USER_ID_FIELD_NUMBER = 1; private volatile java.lang.Object siteUserId_; /** *
*需要查找的用户ID ** *
string site_user_id = 1;
*/
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;
}
}
/**
* *需要查找的用户ID ** *
string site_user_id = 1;
*/
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_;
/**
* * 默认0 ** *
int32 page_number = 3;
*/
public int getPageNumber() {
return pageNumber_;
}
public static final int PAGE_SIZE_FIELD_NUMBER = 4;
private int pageSize_;
/**
* * 默认100 ** *
int32 page_size = 4;
*/
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.HaiUserGroupsProto.HaiUserGroupsRequest)) {
return super.equals(obj);
}
com.akaxin.proto.plugin.HaiUserGroupsProto.HaiUserGroupsRequest other = (com.akaxin.proto.plugin.HaiUserGroupsProto.HaiUserGroupsRequest) 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.HaiUserGroupsProto.HaiUserGroupsRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akaxin.proto.plugin.HaiUserGroupsProto.HaiUserGroupsRequest 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.HaiUserGroupsProto.HaiUserGroupsRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akaxin.proto.plugin.HaiUserGroupsProto.HaiUserGroupsRequest 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.HaiUserGroupsProto.HaiUserGroupsRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akaxin.proto.plugin.HaiUserGroupsProto.HaiUserGroupsRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.akaxin.proto.plugin.HaiUserGroupsProto.HaiUserGroupsRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.akaxin.proto.plugin.HaiUserGroupsProto.HaiUserGroupsRequest 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.HaiUserGroupsProto.HaiUserGroupsRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.akaxin.proto.plugin.HaiUserGroupsProto.HaiUserGroupsRequest 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.HaiUserGroupsProto.HaiUserGroupsRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.akaxin.proto.plugin.HaiUserGroupsProto.HaiUserGroupsRequest 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.HaiUserGroupsProto.HaiUserGroupsRequest 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/groups *错误码 *---- * success * error.alert ** * Protobuf type {@code plugin.HaiUserGroupsRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
*需要查找的用户ID ** *
string site_user_id = 1;
*/
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;
}
}
/**
* *需要查找的用户ID ** *
string site_user_id = 1;
*/
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;
}
}
/**
* *需要查找的用户ID ** *
string site_user_id = 1;
*/
public Builder setSiteUserId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
siteUserId_ = value;
onChanged();
return this;
}
/**
* *需要查找的用户ID ** *
string site_user_id = 1;
*/
public Builder clearSiteUserId() {
siteUserId_ = getDefaultInstance().getSiteUserId();
onChanged();
return this;
}
/**
* *需要查找的用户ID ** *
string site_user_id = 1;
*/
public Builder setSiteUserIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
siteUserId_ = value;
onChanged();
return this;
}
private int pageNumber_ ;
/**
* * 默认0 ** *
int32 page_number = 3;
*/
public int getPageNumber() {
return pageNumber_;
}
/**
* * 默认0 ** *
int32 page_number = 3;
*/
public Builder setPageNumber(int value) {
pageNumber_ = value;
onChanged();
return this;
}
/**
* * 默认0 ** *
int32 page_number = 3;
*/
public Builder clearPageNumber() {
pageNumber_ = 0;
onChanged();
return this;
}
private int pageSize_ ;
/**
* * 默认100 ** *
int32 page_size = 4;
*/
public int getPageSize() {
return pageSize_;
}
/**
* * 默认100 ** *
int32 page_size = 4;
*/
public Builder setPageSize(int value) {
pageSize_ = value;
onChanged();
return this;
}
/**
* * 默认100 ** *
int32 page_size = 4;
*/
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.HaiUserGroupsRequest)
}
// @@protoc_insertion_point(class_scope:plugin.HaiUserGroupsRequest)
private static final com.akaxin.proto.plugin.HaiUserGroupsProto.HaiUserGroupsRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.akaxin.proto.plugin.HaiUserGroupsProto.HaiUserGroupsRequest();
}
public static com.akaxin.proto.plugin.HaiUserGroupsProto.HaiUserGroupsRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser*需要查找的用户 ** *
repeated .core.GroupProfile profile = 1;
*/
java.util.List*需要查找的用户 ** *
repeated .core.GroupProfile profile = 1;
*/
com.akaxin.proto.core.GroupProto.GroupProfile getProfile(int index);
/**
* *需要查找的用户 ** *
repeated .core.GroupProfile profile = 1;
*/
int getProfileCount();
/**
* *需要查找的用户 ** *
repeated .core.GroupProfile profile = 1;
*/
java.util.List extends com.akaxin.proto.core.GroupProto.GroupProfileOrBuilder>
getProfileOrBuilderList();
/**
* *需要查找的用户 ** *
repeated .core.GroupProfile profile = 1;
*/
com.akaxin.proto.core.GroupProto.GroupProfileOrBuilder getProfileOrBuilder(
int index);
/**
* *总页数 ** *
int32 page_total_num = 2;
*/
int getPageTotalNum();
}
/**
* Protobuf type {@code plugin.HaiUserGroupsResponse}
*/
public static final class HaiUserGroupsResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:plugin.HaiUserGroupsResponse)
HaiUserGroupsResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use HaiUserGroupsResponse.newBuilder() to construct.
private HaiUserGroupsResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private HaiUserGroupsResponse() {
profile_ = java.util.Collections.emptyList();
pageTotalNum_ = 0;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private HaiUserGroupsResponse(
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*需要查找的用户 ** *
repeated .core.GroupProfile profile = 1;
*/
public java.util.List*需要查找的用户 ** *
repeated .core.GroupProfile profile = 1;
*/
public java.util.List extends com.akaxin.proto.core.GroupProto.GroupProfileOrBuilder>
getProfileOrBuilderList() {
return profile_;
}
/**
* *需要查找的用户 ** *
repeated .core.GroupProfile profile = 1;
*/
public int getProfileCount() {
return profile_.size();
}
/**
* *需要查找的用户 ** *
repeated .core.GroupProfile profile = 1;
*/
public com.akaxin.proto.core.GroupProto.GroupProfile getProfile(int index) {
return profile_.get(index);
}
/**
* *需要查找的用户 ** *
repeated .core.GroupProfile profile = 1;
*/
public com.akaxin.proto.core.GroupProto.GroupProfileOrBuilder getProfileOrBuilder(
int index) {
return profile_.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 < 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.HaiUserGroupsProto.HaiUserGroupsResponse)) {
return super.equals(obj);
}
com.akaxin.proto.plugin.HaiUserGroupsProto.HaiUserGroupsResponse other = (com.akaxin.proto.plugin.HaiUserGroupsProto.HaiUserGroupsResponse) 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.HaiUserGroupsProto.HaiUserGroupsResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akaxin.proto.plugin.HaiUserGroupsProto.HaiUserGroupsResponse 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.HaiUserGroupsProto.HaiUserGroupsResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akaxin.proto.plugin.HaiUserGroupsProto.HaiUserGroupsResponse 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.HaiUserGroupsProto.HaiUserGroupsResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akaxin.proto.plugin.HaiUserGroupsProto.HaiUserGroupsResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.akaxin.proto.plugin.HaiUserGroupsProto.HaiUserGroupsResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.akaxin.proto.plugin.HaiUserGroupsProto.HaiUserGroupsResponse 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.HaiUserGroupsProto.HaiUserGroupsResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.akaxin.proto.plugin.HaiUserGroupsProto.HaiUserGroupsResponse 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.HaiUserGroupsProto.HaiUserGroupsResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.akaxin.proto.plugin.HaiUserGroupsProto.HaiUserGroupsResponse 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.HaiUserGroupsProto.HaiUserGroupsResponse 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.HaiUserGroupsResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder*需要查找的用户 ** *
repeated .core.GroupProfile profile = 1;
*/
public java.util.List*需要查找的用户 ** *
repeated .core.GroupProfile profile = 1;
*/
public int getProfileCount() {
if (profileBuilder_ == null) {
return profile_.size();
} else {
return profileBuilder_.getCount();
}
}
/**
* *需要查找的用户 ** *
repeated .core.GroupProfile profile = 1;
*/
public com.akaxin.proto.core.GroupProto.GroupProfile getProfile(int index) {
if (profileBuilder_ == null) {
return profile_.get(index);
} else {
return profileBuilder_.getMessage(index);
}
}
/**
* *需要查找的用户 ** *
repeated .core.GroupProfile profile = 1;
*/
public Builder setProfile(
int index, com.akaxin.proto.core.GroupProto.GroupProfile value) {
if (profileBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureProfileIsMutable();
profile_.set(index, value);
onChanged();
} else {
profileBuilder_.setMessage(index, value);
}
return this;
}
/**
* *需要查找的用户 ** *
repeated .core.GroupProfile profile = 1;
*/
public Builder setProfile(
int index, com.akaxin.proto.core.GroupProto.GroupProfile.Builder builderForValue) {
if (profileBuilder_ == null) {
ensureProfileIsMutable();
profile_.set(index, builderForValue.build());
onChanged();
} else {
profileBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* *需要查找的用户 ** *
repeated .core.GroupProfile profile = 1;
*/
public Builder addProfile(com.akaxin.proto.core.GroupProto.GroupProfile value) {
if (profileBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureProfileIsMutable();
profile_.add(value);
onChanged();
} else {
profileBuilder_.addMessage(value);
}
return this;
}
/**
* *需要查找的用户 ** *
repeated .core.GroupProfile profile = 1;
*/
public Builder addProfile(
int index, com.akaxin.proto.core.GroupProto.GroupProfile value) {
if (profileBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureProfileIsMutable();
profile_.add(index, value);
onChanged();
} else {
profileBuilder_.addMessage(index, value);
}
return this;
}
/**
* *需要查找的用户 ** *
repeated .core.GroupProfile profile = 1;
*/
public Builder addProfile(
com.akaxin.proto.core.GroupProto.GroupProfile.Builder builderForValue) {
if (profileBuilder_ == null) {
ensureProfileIsMutable();
profile_.add(builderForValue.build());
onChanged();
} else {
profileBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* *需要查找的用户 ** *
repeated .core.GroupProfile profile = 1;
*/
public Builder addProfile(
int index, com.akaxin.proto.core.GroupProto.GroupProfile.Builder builderForValue) {
if (profileBuilder_ == null) {
ensureProfileIsMutable();
profile_.add(index, builderForValue.build());
onChanged();
} else {
profileBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* *需要查找的用户 ** *
repeated .core.GroupProfile profile = 1;
*/
public Builder addAllProfile(
java.lang.Iterable extends com.akaxin.proto.core.GroupProto.GroupProfile> values) {
if (profileBuilder_ == null) {
ensureProfileIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, profile_);
onChanged();
} else {
profileBuilder_.addAllMessages(values);
}
return this;
}
/**
* *需要查找的用户 ** *
repeated .core.GroupProfile profile = 1;
*/
public Builder clearProfile() {
if (profileBuilder_ == null) {
profile_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
profileBuilder_.clear();
}
return this;
}
/**
* *需要查找的用户 ** *
repeated .core.GroupProfile profile = 1;
*/
public Builder removeProfile(int index) {
if (profileBuilder_ == null) {
ensureProfileIsMutable();
profile_.remove(index);
onChanged();
} else {
profileBuilder_.remove(index);
}
return this;
}
/**
* *需要查找的用户 ** *
repeated .core.GroupProfile profile = 1;
*/
public com.akaxin.proto.core.GroupProto.GroupProfile.Builder getProfileBuilder(
int index) {
return getProfileFieldBuilder().getBuilder(index);
}
/**
* *需要查找的用户 ** *
repeated .core.GroupProfile profile = 1;
*/
public com.akaxin.proto.core.GroupProto.GroupProfileOrBuilder getProfileOrBuilder(
int index) {
if (profileBuilder_ == null) {
return profile_.get(index); } else {
return profileBuilder_.getMessageOrBuilder(index);
}
}
/**
* *需要查找的用户 ** *
repeated .core.GroupProfile profile = 1;
*/
public java.util.List extends com.akaxin.proto.core.GroupProto.GroupProfileOrBuilder>
getProfileOrBuilderList() {
if (profileBuilder_ != null) {
return profileBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(profile_);
}
}
/**
* *需要查找的用户 ** *
repeated .core.GroupProfile profile = 1;
*/
public com.akaxin.proto.core.GroupProto.GroupProfile.Builder addProfileBuilder() {
return getProfileFieldBuilder().addBuilder(
com.akaxin.proto.core.GroupProto.GroupProfile.getDefaultInstance());
}
/**
* *需要查找的用户 ** *
repeated .core.GroupProfile profile = 1;
*/
public com.akaxin.proto.core.GroupProto.GroupProfile.Builder addProfileBuilder(
int index) {
return getProfileFieldBuilder().addBuilder(
index, com.akaxin.proto.core.GroupProto.GroupProfile.getDefaultInstance());
}
/**
* *需要查找的用户 ** *
repeated .core.GroupProfile 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.HaiUserGroupsResponse)
}
// @@protoc_insertion_point(class_scope:plugin.HaiUserGroupsResponse)
private static final com.akaxin.proto.plugin.HaiUserGroupsProto.HaiUserGroupsResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.akaxin.proto.plugin.HaiUserGroupsProto.HaiUserGroupsResponse();
}
public static com.akaxin.proto.plugin.HaiUserGroupsProto.HaiUserGroupsResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser