WindChat/windchat-protobuf/src/main/java/com/akaxin/proto/plugin/HaiUserGroupsProto.java

1779 lines
59 KiB
Java
Executable File

// 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 {
/**
* <pre>
*需要查找的用户ID
* </pre>
*
* <code>string site_user_id = 1;</code>
*/
java.lang.String getSiteUserId();
/**
* <pre>
*需要查找的用户ID
* </pre>
*
* <code>string site_user_id = 1;</code>
*/
com.google.protobuf.ByteString
getSiteUserIdBytes();
/**
* <pre>
* 默认0
* </pre>
*
* <code>int32 page_number = 3;</code>
*/
int getPageNumber();
/**
* <pre>
* 默认100
* </pre>
*
* <code>int32 page_size = 4;</code>
*/
int getPageSize();
}
/**
* <pre>
**
*获取用户的群组列表
*----
*接口名
*----
* /hai/user/groups
*错误码
*----
* success
* error.alert
* </pre>
*
* 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_;
/**
* <pre>
*需要查找的用户ID
* </pre>
*
* <code>string site_user_id = 1;</code>
*/
public java.lang.String getSiteUserId() {
java.lang.Object ref = siteUserId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
siteUserId_ = s;
return s;
}
}
/**
* <pre>
*需要查找的用户ID
* </pre>
*
* <code>string site_user_id = 1;</code>
*/
public com.google.protobuf.ByteString
getSiteUserIdBytes() {
java.lang.Object ref = siteUserId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
siteUserId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PAGE_NUMBER_FIELD_NUMBER = 3;
private int pageNumber_;
/**
* <pre>
* 默认0
* </pre>
*
* <code>int32 page_number = 3;</code>
*/
public int getPageNumber() {
return pageNumber_;
}
public static final int PAGE_SIZE_FIELD_NUMBER = 4;
private int pageSize_;
/**
* <pre>
* 默认100
* </pre>
*
* <code>int32 page_size = 4;</code>
*/
public int getPageSize() {
return pageSize_;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getSiteUserIdBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, siteUserId_);
}
if (pageNumber_ != 0) {
output.writeInt32(3, pageNumber_);
}
if (pageSize_ != 0) {
output.writeInt32(4, pageSize_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getSiteUserIdBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, siteUserId_);
}
if (pageNumber_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(3, pageNumber_);
}
if (pageSize_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(4, pageSize_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.akaxin.proto.plugin.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;
}
/**
* <pre>
**
*获取用户的群组列表
*----
*接口名
*----
* /hai/user/groups
*错误码
*----
* success
* error.alert
* </pre>
*
* Protobuf type {@code plugin.HaiUserGroupsRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:plugin.HaiUserGroupsRequest)
com.akaxin.proto.plugin.HaiUserGroupsProto.HaiUserGroupsRequestOrBuilder {
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);
}
// Construct using com.akaxin.proto.plugin.HaiUserGroupsProto.HaiUserGroupsRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
siteUserId_ = "";
pageNumber_ = 0;
pageSize_ = 0;
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.akaxin.proto.plugin.HaiUserGroupsProto.internal_static_plugin_HaiUserGroupsRequest_descriptor;
}
public com.akaxin.proto.plugin.HaiUserGroupsProto.HaiUserGroupsRequest getDefaultInstanceForType() {
return com.akaxin.proto.plugin.HaiUserGroupsProto.HaiUserGroupsRequest.getDefaultInstance();
}
public com.akaxin.proto.plugin.HaiUserGroupsProto.HaiUserGroupsRequest build() {
com.akaxin.proto.plugin.HaiUserGroupsProto.HaiUserGroupsRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.akaxin.proto.plugin.HaiUserGroupsProto.HaiUserGroupsRequest buildPartial() {
com.akaxin.proto.plugin.HaiUserGroupsProto.HaiUserGroupsRequest result = new com.akaxin.proto.plugin.HaiUserGroupsProto.HaiUserGroupsRequest(this);
result.siteUserId_ = siteUserId_;
result.pageNumber_ = pageNumber_;
result.pageSize_ = pageSize_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.akaxin.proto.plugin.HaiUserGroupsProto.HaiUserGroupsRequest) {
return mergeFrom((com.akaxin.proto.plugin.HaiUserGroupsProto.HaiUserGroupsRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.akaxin.proto.plugin.HaiUserGroupsProto.HaiUserGroupsRequest other) {
if (other == com.akaxin.proto.plugin.HaiUserGroupsProto.HaiUserGroupsRequest.getDefaultInstance()) return this;
if (!other.getSiteUserId().isEmpty()) {
siteUserId_ = other.siteUserId_;
onChanged();
}
if (other.getPageNumber() != 0) {
setPageNumber(other.getPageNumber());
}
if (other.getPageSize() != 0) {
setPageSize(other.getPageSize());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.akaxin.proto.plugin.HaiUserGroupsProto.HaiUserGroupsRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.akaxin.proto.plugin.HaiUserGroupsProto.HaiUserGroupsRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object siteUserId_ = "";
/**
* <pre>
*需要查找的用户ID
* </pre>
*
* <code>string site_user_id = 1;</code>
*/
public java.lang.String getSiteUserId() {
java.lang.Object ref = siteUserId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
siteUserId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <pre>
*需要查找的用户ID
* </pre>
*
* <code>string site_user_id = 1;</code>
*/
public com.google.protobuf.ByteString
getSiteUserIdBytes() {
java.lang.Object ref = siteUserId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
siteUserId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <pre>
*需要查找的用户ID
* </pre>
*
* <code>string site_user_id = 1;</code>
*/
public Builder setSiteUserId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
siteUserId_ = value;
onChanged();
return this;
}
/**
* <pre>
*需要查找的用户ID
* </pre>
*
* <code>string site_user_id = 1;</code>
*/
public Builder clearSiteUserId() {
siteUserId_ = getDefaultInstance().getSiteUserId();
onChanged();
return this;
}
/**
* <pre>
*需要查找的用户ID
* </pre>
*
* <code>string site_user_id = 1;</code>
*/
public Builder setSiteUserIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
siteUserId_ = value;
onChanged();
return this;
}
private int pageNumber_ ;
/**
* <pre>
* 默认0
* </pre>
*
* <code>int32 page_number = 3;</code>
*/
public int getPageNumber() {
return pageNumber_;
}
/**
* <pre>
* 默认0
* </pre>
*
* <code>int32 page_number = 3;</code>
*/
public Builder setPageNumber(int value) {
pageNumber_ = value;
onChanged();
return this;
}
/**
* <pre>
* 默认0
* </pre>
*
* <code>int32 page_number = 3;</code>
*/
public Builder clearPageNumber() {
pageNumber_ = 0;
onChanged();
return this;
}
private int pageSize_ ;
/**
* <pre>
* 默认100
* </pre>
*
* <code>int32 page_size = 4;</code>
*/
public int getPageSize() {
return pageSize_;
}
/**
* <pre>
* 默认100
* </pre>
*
* <code>int32 page_size = 4;</code>
*/
public Builder setPageSize(int value) {
pageSize_ = value;
onChanged();
return this;
}
/**
* <pre>
* 默认100
* </pre>
*
* <code>int32 page_size = 4;</code>
*/
public Builder clearPageSize() {
pageSize_ = 0;
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:plugin.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<HaiUserGroupsRequest>
PARSER = new com.google.protobuf.AbstractParser<HaiUserGroupsRequest>() {
public HaiUserGroupsRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new HaiUserGroupsRequest(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<HaiUserGroupsRequest> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<HaiUserGroupsRequest> getParserForType() {
return PARSER;
}
public com.akaxin.proto.plugin.HaiUserGroupsProto.HaiUserGroupsRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface HaiUserGroupsResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:plugin.HaiUserGroupsResponse)
com.google.protobuf.MessageOrBuilder {
/**
* <pre>
*需要查找的用户
* </pre>
*
* <code>repeated .core.GroupProfile profile = 1;</code>
*/
java.util.List<com.akaxin.proto.core.GroupProto.GroupProfile>
getProfileList();
/**
* <pre>
*需要查找的用户
* </pre>
*
* <code>repeated .core.GroupProfile profile = 1;</code>
*/
com.akaxin.proto.core.GroupProto.GroupProfile getProfile(int index);
/**
* <pre>
*需要查找的用户
* </pre>
*
* <code>repeated .core.GroupProfile profile = 1;</code>
*/
int getProfileCount();
/**
* <pre>
*需要查找的用户
* </pre>
*
* <code>repeated .core.GroupProfile profile = 1;</code>
*/
java.util.List<? extends com.akaxin.proto.core.GroupProto.GroupProfileOrBuilder>
getProfileOrBuilderList();
/**
* <pre>
*需要查找的用户
* </pre>
*
* <code>repeated .core.GroupProfile profile = 1;</code>
*/
com.akaxin.proto.core.GroupProto.GroupProfileOrBuilder getProfileOrBuilder(
int index);
/**
* <pre>
*总页数
* </pre>
*
* <code>int32 page_total_num = 2;</code>
*/
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<com.akaxin.proto.core.GroupProto.GroupProfile>();
mutable_bitField0_ |= 0x00000001;
}
profile_.add(
input.readMessage(com.akaxin.proto.core.GroupProto.GroupProfile.parser(), extensionRegistry));
break;
}
case 16: {
pageTotalNum_ = input.readInt32();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
profile_ = java.util.Collections.unmodifiableList(profile_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.akaxin.proto.plugin.HaiUserGroupsProto.internal_static_plugin_HaiUserGroupsResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.akaxin.proto.plugin.HaiUserGroupsProto.internal_static_plugin_HaiUserGroupsResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.akaxin.proto.plugin.HaiUserGroupsProto.HaiUserGroupsResponse.class, com.akaxin.proto.plugin.HaiUserGroupsProto.HaiUserGroupsResponse.Builder.class);
}
private int bitField0_;
public static final int PROFILE_FIELD_NUMBER = 1;
private java.util.List<com.akaxin.proto.core.GroupProto.GroupProfile> profile_;
/**
* <pre>
*需要查找的用户
* </pre>
*
* <code>repeated .core.GroupProfile profile = 1;</code>
*/
public java.util.List<com.akaxin.proto.core.GroupProto.GroupProfile> getProfileList() {
return profile_;
}
/**
* <pre>
*需要查找的用户
* </pre>
*
* <code>repeated .core.GroupProfile profile = 1;</code>
*/
public java.util.List<? extends com.akaxin.proto.core.GroupProto.GroupProfileOrBuilder>
getProfileOrBuilderList() {
return profile_;
}
/**
* <pre>
*需要查找的用户
* </pre>
*
* <code>repeated .core.GroupProfile profile = 1;</code>
*/
public int getProfileCount() {
return profile_.size();
}
/**
* <pre>
*需要查找的用户
* </pre>
*
* <code>repeated .core.GroupProfile profile = 1;</code>
*/
public com.akaxin.proto.core.GroupProto.GroupProfile getProfile(int index) {
return profile_.get(index);
}
/**
* <pre>
*需要查找的用户
* </pre>
*
* <code>repeated .core.GroupProfile profile = 1;</code>
*/
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_;
/**
* <pre>
*总页数
* </pre>
*
* <code>int32 page_total_num = 2;</code>
*/
public int getPageTotalNum() {
return pageTotalNum_;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < profile_.size(); i++) {
output.writeMessage(1, profile_.get(i));
}
if (pageTotalNum_ != 0) {
output.writeInt32(2, pageTotalNum_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < profile_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, profile_.get(i));
}
if (pageTotalNum_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, pageTotalNum_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.akaxin.proto.plugin.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<Builder> implements
// @@protoc_insertion_point(builder_implements:plugin.HaiUserGroupsResponse)
com.akaxin.proto.plugin.HaiUserGroupsProto.HaiUserGroupsResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.akaxin.proto.plugin.HaiUserGroupsProto.internal_static_plugin_HaiUserGroupsResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.akaxin.proto.plugin.HaiUserGroupsProto.internal_static_plugin_HaiUserGroupsResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.akaxin.proto.plugin.HaiUserGroupsProto.HaiUserGroupsResponse.class, com.akaxin.proto.plugin.HaiUserGroupsProto.HaiUserGroupsResponse.Builder.class);
}
// Construct using com.akaxin.proto.plugin.HaiUserGroupsProto.HaiUserGroupsResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getProfileFieldBuilder();
}
}
public Builder clear() {
super.clear();
if (profileBuilder_ == null) {
profile_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
profileBuilder_.clear();
}
pageTotalNum_ = 0;
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.akaxin.proto.plugin.HaiUserGroupsProto.internal_static_plugin_HaiUserGroupsResponse_descriptor;
}
public com.akaxin.proto.plugin.HaiUserGroupsProto.HaiUserGroupsResponse getDefaultInstanceForType() {
return com.akaxin.proto.plugin.HaiUserGroupsProto.HaiUserGroupsResponse.getDefaultInstance();
}
public com.akaxin.proto.plugin.HaiUserGroupsProto.HaiUserGroupsResponse build() {
com.akaxin.proto.plugin.HaiUserGroupsProto.HaiUserGroupsResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.akaxin.proto.plugin.HaiUserGroupsProto.HaiUserGroupsResponse buildPartial() {
com.akaxin.proto.plugin.HaiUserGroupsProto.HaiUserGroupsResponse result = new com.akaxin.proto.plugin.HaiUserGroupsProto.HaiUserGroupsResponse(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (profileBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
profile_ = java.util.Collections.unmodifiableList(profile_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.profile_ = profile_;
} else {
result.profile_ = profileBuilder_.build();
}
result.pageTotalNum_ = pageTotalNum_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.akaxin.proto.plugin.HaiUserGroupsProto.HaiUserGroupsResponse) {
return mergeFrom((com.akaxin.proto.plugin.HaiUserGroupsProto.HaiUserGroupsResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.akaxin.proto.plugin.HaiUserGroupsProto.HaiUserGroupsResponse other) {
if (other == com.akaxin.proto.plugin.HaiUserGroupsProto.HaiUserGroupsResponse.getDefaultInstance()) return this;
if (profileBuilder_ == null) {
if (!other.profile_.isEmpty()) {
if (profile_.isEmpty()) {
profile_ = other.profile_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureProfileIsMutable();
profile_.addAll(other.profile_);
}
onChanged();
}
} else {
if (!other.profile_.isEmpty()) {
if (profileBuilder_.isEmpty()) {
profileBuilder_.dispose();
profileBuilder_ = null;
profile_ = other.profile_;
bitField0_ = (bitField0_ & ~0x00000001);
profileBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getProfileFieldBuilder() : null;
} else {
profileBuilder_.addAllMessages(other.profile_);
}
}
}
if (other.getPageTotalNum() != 0) {
setPageTotalNum(other.getPageTotalNum());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.akaxin.proto.plugin.HaiUserGroupsProto.HaiUserGroupsResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.akaxin.proto.plugin.HaiUserGroupsProto.HaiUserGroupsResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List<com.akaxin.proto.core.GroupProto.GroupProfile> profile_ =
java.util.Collections.emptyList();
private void ensureProfileIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
profile_ = new java.util.ArrayList<com.akaxin.proto.core.GroupProto.GroupProfile>(profile_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.akaxin.proto.core.GroupProto.GroupProfile, com.akaxin.proto.core.GroupProto.GroupProfile.Builder, com.akaxin.proto.core.GroupProto.GroupProfileOrBuilder> profileBuilder_;
/**
* <pre>
*需要查找的用户
* </pre>
*
* <code>repeated .core.GroupProfile profile = 1;</code>
*/
public java.util.List<com.akaxin.proto.core.GroupProto.GroupProfile> getProfileList() {
if (profileBuilder_ == null) {
return java.util.Collections.unmodifiableList(profile_);
} else {
return profileBuilder_.getMessageList();
}
}
/**
* <pre>
*需要查找的用户
* </pre>
*
* <code>repeated .core.GroupProfile profile = 1;</code>
*/
public int getProfileCount() {
if (profileBuilder_ == null) {
return profile_.size();
} else {
return profileBuilder_.getCount();
}
}
/**
* <pre>
*需要查找的用户
* </pre>
*
* <code>repeated .core.GroupProfile profile = 1;</code>
*/
public com.akaxin.proto.core.GroupProto.GroupProfile getProfile(int index) {
if (profileBuilder_ == null) {
return profile_.get(index);
} else {
return profileBuilder_.getMessage(index);
}
}
/**
* <pre>
*需要查找的用户
* </pre>
*
* <code>repeated .core.GroupProfile profile = 1;</code>
*/
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;
}
/**
* <pre>
*需要查找的用户
* </pre>
*
* <code>repeated .core.GroupProfile profile = 1;</code>
*/
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;
}
/**
* <pre>
*需要查找的用户
* </pre>
*
* <code>repeated .core.GroupProfile profile = 1;</code>
*/
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;
}
/**
* <pre>
*需要查找的用户
* </pre>
*
* <code>repeated .core.GroupProfile profile = 1;</code>
*/
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;
}
/**
* <pre>
*需要查找的用户
* </pre>
*
* <code>repeated .core.GroupProfile profile = 1;</code>
*/
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;
}
/**
* <pre>
*需要查找的用户
* </pre>
*
* <code>repeated .core.GroupProfile profile = 1;</code>
*/
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;
}
/**
* <pre>
*需要查找的用户
* </pre>
*
* <code>repeated .core.GroupProfile profile = 1;</code>
*/
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;
}
/**
* <pre>
*需要查找的用户
* </pre>
*
* <code>repeated .core.GroupProfile profile = 1;</code>
*/
public Builder clearProfile() {
if (profileBuilder_ == null) {
profile_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
profileBuilder_.clear();
}
return this;
}
/**
* <pre>
*需要查找的用户
* </pre>
*
* <code>repeated .core.GroupProfile profile = 1;</code>
*/
public Builder removeProfile(int index) {
if (profileBuilder_ == null) {
ensureProfileIsMutable();
profile_.remove(index);
onChanged();
} else {
profileBuilder_.remove(index);
}
return this;
}
/**
* <pre>
*需要查找的用户
* </pre>
*
* <code>repeated .core.GroupProfile profile = 1;</code>
*/
public com.akaxin.proto.core.GroupProto.GroupProfile.Builder getProfileBuilder(
int index) {
return getProfileFieldBuilder().getBuilder(index);
}
/**
* <pre>
*需要查找的用户
* </pre>
*
* <code>repeated .core.GroupProfile profile = 1;</code>
*/
public com.akaxin.proto.core.GroupProto.GroupProfileOrBuilder getProfileOrBuilder(
int index) {
if (profileBuilder_ == null) {
return profile_.get(index); } else {
return profileBuilder_.getMessageOrBuilder(index);
}
}
/**
* <pre>
*需要查找的用户
* </pre>
*
* <code>repeated .core.GroupProfile profile = 1;</code>
*/
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_);
}
}
/**
* <pre>
*需要查找的用户
* </pre>
*
* <code>repeated .core.GroupProfile profile = 1;</code>
*/
public com.akaxin.proto.core.GroupProto.GroupProfile.Builder addProfileBuilder() {
return getProfileFieldBuilder().addBuilder(
com.akaxin.proto.core.GroupProto.GroupProfile.getDefaultInstance());
}
/**
* <pre>
*需要查找的用户
* </pre>
*
* <code>repeated .core.GroupProfile profile = 1;</code>
*/
public com.akaxin.proto.core.GroupProto.GroupProfile.Builder addProfileBuilder(
int index) {
return getProfileFieldBuilder().addBuilder(
index, com.akaxin.proto.core.GroupProto.GroupProfile.getDefaultInstance());
}
/**
* <pre>
*需要查找的用户
* </pre>
*
* <code>repeated .core.GroupProfile profile = 1;</code>
*/
public java.util.List<com.akaxin.proto.core.GroupProto.GroupProfile.Builder>
getProfileBuilderList() {
return getProfileFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.akaxin.proto.core.GroupProto.GroupProfile, com.akaxin.proto.core.GroupProto.GroupProfile.Builder, com.akaxin.proto.core.GroupProto.GroupProfileOrBuilder>
getProfileFieldBuilder() {
if (profileBuilder_ == null) {
profileBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.akaxin.proto.core.GroupProto.GroupProfile, com.akaxin.proto.core.GroupProto.GroupProfile.Builder, com.akaxin.proto.core.GroupProto.GroupProfileOrBuilder>(
profile_,
((bitField0_ & 0x00000001) == 0x00000001),
getParentForChildren(),
isClean());
profile_ = null;
}
return profileBuilder_;
}
private int pageTotalNum_ ;
/**
* <pre>
*总页数
* </pre>
*
* <code>int32 page_total_num = 2;</code>
*/
public int getPageTotalNum() {
return pageTotalNum_;
}
/**
* <pre>
*总页数
* </pre>
*
* <code>int32 page_total_num = 2;</code>
*/
public Builder setPageTotalNum(int value) {
pageTotalNum_ = value;
onChanged();
return this;
}
/**
* <pre>
*总页数
* </pre>
*
* <code>int32 page_total_num = 2;</code>
*/
public Builder clearPageTotalNum() {
pageTotalNum_ = 0;
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:plugin.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<HaiUserGroupsResponse>
PARSER = new com.google.protobuf.AbstractParser<HaiUserGroupsResponse>() {
public HaiUserGroupsResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new HaiUserGroupsResponse(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<HaiUserGroupsResponse> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<HaiUserGroupsResponse> getParserForType() {
return PARSER;
}
public com.akaxin.proto.plugin.HaiUserGroupsProto.HaiUserGroupsResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_plugin_HaiUserGroupsRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_plugin_HaiUserGroupsRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_plugin_HaiUserGroupsResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_plugin_HaiUserGroupsResponse_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\034plugin/hai_user_groups.proto\022\006plugin\032\020" +
"core/group.proto\"T\n\024HaiUserGroupsRequest" +
"\022\024\n\014site_user_id\030\001 \001(\t\022\023\n\013page_number\030\003 " +
"\001(\005\022\021\n\tpage_size\030\004 \001(\005\"T\n\025HaiUserGroupsR" +
"esponse\022#\n\007profile\030\001 \003(\0132\022.core.GroupPro" +
"file\022\026\n\016page_total_num\030\002 \001(\0052^\n\024HaiUserG" +
"roupsService\022F\n\007profile\022\034.plugin.HaiUser" +
"GroupsRequest\032\035.plugin.HaiUserGroupsResp" +
"onseB-\n\027com.akaxin.proto.pluginB\022HaiUser" +
"GroupsProtob\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.GroupProto.getDescriptor(),
}, assigner);
internal_static_plugin_HaiUserGroupsRequest_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_plugin_HaiUserGroupsRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_plugin_HaiUserGroupsRequest_descriptor,
new java.lang.String[] { "SiteUserId", "PageNumber", "PageSize", });
internal_static_plugin_HaiUserGroupsResponse_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_plugin_HaiUserGroupsResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_plugin_HaiUserGroupsResponse_descriptor,
new java.lang.String[] { "Profile", "PageTotalNum", });
com.akaxin.proto.core.GroupProto.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}