// Generated by the protocol buffer compiler. DO NOT EDIT! // source: site/api_group_profile.proto package com.akaxin.proto.site; public final class ApiGroupProfileProto { private ApiGroupProfileProto() {} 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 ApiGroupProfileRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:site.ApiGroupProfileRequest) com.google.protobuf.MessageOrBuilder { /** *
*当前用户获取群组ID的资料信息 ** *
string group_id = 1;
*/
java.lang.String getGroupId();
/**
* *当前用户获取群组ID的资料信息 ** *
string group_id = 1;
*/
com.google.protobuf.ByteString
getGroupIdBytes();
}
/**
* Protobuf type {@code site.ApiGroupProfileRequest}
*/
public static final class ApiGroupProfileRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:site.ApiGroupProfileRequest)
ApiGroupProfileRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use ApiGroupProfileRequest.newBuilder() to construct.
private ApiGroupProfileRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ApiGroupProfileRequest() {
groupId_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ApiGroupProfileRequest(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
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();
groupId_ = s;
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.site.ApiGroupProfileProto.internal_static_site_ApiGroupProfileRequest_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.akaxin.proto.site.ApiGroupProfileProto.internal_static_site_ApiGroupProfileRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.akaxin.proto.site.ApiGroupProfileProto.ApiGroupProfileRequest.class, com.akaxin.proto.site.ApiGroupProfileProto.ApiGroupProfileRequest.Builder.class);
}
public static final int GROUP_ID_FIELD_NUMBER = 1;
private volatile java.lang.Object groupId_;
/**
* *当前用户获取群组ID的资料信息 ** *
string group_id = 1;
*/
public java.lang.String getGroupId() {
java.lang.Object ref = groupId_;
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();
groupId_ = s;
return s;
}
}
/**
* *当前用户获取群组ID的资料信息 ** *
string group_id = 1;
*/
public com.google.protobuf.ByteString
getGroupIdBytes() {
java.lang.Object ref = groupId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
groupId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
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 (!getGroupIdBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, groupId_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getGroupIdBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, groupId_);
}
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.site.ApiGroupProfileProto.ApiGroupProfileRequest)) {
return super.equals(obj);
}
com.akaxin.proto.site.ApiGroupProfileProto.ApiGroupProfileRequest other = (com.akaxin.proto.site.ApiGroupProfileProto.ApiGroupProfileRequest) obj;
boolean result = true;
result = result && getGroupId()
.equals(other.getGroupId());
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) + GROUP_ID_FIELD_NUMBER;
hash = (53 * hash) + getGroupId().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.akaxin.proto.site.ApiGroupProfileProto.ApiGroupProfileRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akaxin.proto.site.ApiGroupProfileProto.ApiGroupProfileRequest 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.site.ApiGroupProfileProto.ApiGroupProfileRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akaxin.proto.site.ApiGroupProfileProto.ApiGroupProfileRequest 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.site.ApiGroupProfileProto.ApiGroupProfileRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akaxin.proto.site.ApiGroupProfileProto.ApiGroupProfileRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.akaxin.proto.site.ApiGroupProfileProto.ApiGroupProfileRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.akaxin.proto.site.ApiGroupProfileProto.ApiGroupProfileRequest 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.site.ApiGroupProfileProto.ApiGroupProfileRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.akaxin.proto.site.ApiGroupProfileProto.ApiGroupProfileRequest 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.site.ApiGroupProfileProto.ApiGroupProfileRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.akaxin.proto.site.ApiGroupProfileProto.ApiGroupProfileRequest 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.site.ApiGroupProfileProto.ApiGroupProfileRequest 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 site.ApiGroupProfileRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder*当前用户获取群组ID的资料信息 ** *
string group_id = 1;
*/
public java.lang.String getGroupId() {
java.lang.Object ref = groupId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
groupId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* *当前用户获取群组ID的资料信息 ** *
string group_id = 1;
*/
public com.google.protobuf.ByteString
getGroupIdBytes() {
java.lang.Object ref = groupId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
groupId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* *当前用户获取群组ID的资料信息 ** *
string group_id = 1;
*/
public Builder setGroupId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
groupId_ = value;
onChanged();
return this;
}
/**
* *当前用户获取群组ID的资料信息 ** *
string group_id = 1;
*/
public Builder clearGroupId() {
groupId_ = getDefaultInstance().getGroupId();
onChanged();
return this;
}
/**
* *当前用户获取群组ID的资料信息 ** *
string group_id = 1;
*/
public Builder setGroupIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
groupId_ = value;
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:site.ApiGroupProfileRequest)
}
// @@protoc_insertion_point(class_scope:site.ApiGroupProfileRequest)
private static final com.akaxin.proto.site.ApiGroupProfileProto.ApiGroupProfileRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.akaxin.proto.site.ApiGroupProfileProto.ApiGroupProfileRequest();
}
public static com.akaxin.proto.site.ApiGroupProfileProto.ApiGroupProfileRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser*群组资料页信息 ** *
.core.GroupProfile profile = 1;
*/
boolean hasProfile();
/**
* *群组资料页信息 ** *
.core.GroupProfile profile = 1;
*/
com.akaxin.proto.core.GroupProto.GroupProfile getProfile();
/**
* *群组资料页信息 ** *
.core.GroupProfile profile = 1;
*/
com.akaxin.proto.core.GroupProto.GroupProfileOrBuilder getProfileOrBuilder();
/**
* *群组创建者信息 ** *
.core.UserProfile owner = 2;
*/
boolean hasOwner();
/**
* *群组创建者信息 ** *
.core.UserProfile owner = 2;
*/
com.akaxin.proto.core.UserProto.UserProfile getOwner();
/**
* *群组创建者信息 ** *
.core.UserProfile owner = 2;
*/
com.akaxin.proto.core.UserProto.UserProfileOrBuilder getOwnerOrBuilder();
/**
* *群组的成员数量 ** *
int32 group_member_count = 3;
*/
int getGroupMemberCount();
/**
* *群成员 ** *
repeated .core.GroupMemberProfile group_lastest_member = 4;
*/
java.util.List*群成员 ** *
repeated .core.GroupMemberProfile group_lastest_member = 4;
*/
com.akaxin.proto.core.GroupProto.GroupMemberProfile getGroupLastestMember(int index);
/**
* *群成员 ** *
repeated .core.GroupMemberProfile group_lastest_member = 4;
*/
int getGroupLastestMemberCount();
/**
* *群成员 ** *
repeated .core.GroupMemberProfile group_lastest_member = 4;
*/
java.util.List extends com.akaxin.proto.core.GroupProto.GroupMemberProfileOrBuilder>
getGroupLastestMemberOrBuilderList();
/**
* *群成员 ** *
repeated .core.GroupMemberProfile group_lastest_member = 4;
*/
com.akaxin.proto.core.GroupProto.GroupMemberProfileOrBuilder getGroupLastestMemberOrBuilder(
int index);
/**
* *关闭邀请新用户群聊 true:打开 false:关闭 ** *
bool close_invite_group_chat = 5;
*/
boolean getCloseInviteGroupChat();
}
/**
* Protobuf type {@code site.ApiGroupProfileResponse}
*/
public static final class ApiGroupProfileResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:site.ApiGroupProfileResponse)
ApiGroupProfileResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use ApiGroupProfileResponse.newBuilder() to construct.
private ApiGroupProfileResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ApiGroupProfileResponse() {
groupMemberCount_ = 0;
groupLastestMember_ = java.util.Collections.emptyList();
closeInviteGroupChat_ = false;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ApiGroupProfileResponse(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
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: {
com.akaxin.proto.core.GroupProto.GroupProfile.Builder subBuilder = null;
if (profile_ != null) {
subBuilder = profile_.toBuilder();
}
profile_ = input.readMessage(com.akaxin.proto.core.GroupProto.GroupProfile.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(profile_);
profile_ = subBuilder.buildPartial();
}
break;
}
case 18: {
com.akaxin.proto.core.UserProto.UserProfile.Builder subBuilder = null;
if (owner_ != null) {
subBuilder = owner_.toBuilder();
}
owner_ = input.readMessage(com.akaxin.proto.core.UserProto.UserProfile.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(owner_);
owner_ = subBuilder.buildPartial();
}
break;
}
case 24: {
groupMemberCount_ = input.readInt32();
break;
}
case 34: {
if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
groupLastestMember_ = new java.util.ArrayList*群组资料页信息 ** *
.core.GroupProfile profile = 1;
*/
public boolean hasProfile() {
return profile_ != null;
}
/**
* *群组资料页信息 ** *
.core.GroupProfile profile = 1;
*/
public com.akaxin.proto.core.GroupProto.GroupProfile getProfile() {
return profile_ == null ? com.akaxin.proto.core.GroupProto.GroupProfile.getDefaultInstance() : profile_;
}
/**
* *群组资料页信息 ** *
.core.GroupProfile profile = 1;
*/
public com.akaxin.proto.core.GroupProto.GroupProfileOrBuilder getProfileOrBuilder() {
return getProfile();
}
public static final int OWNER_FIELD_NUMBER = 2;
private com.akaxin.proto.core.UserProto.UserProfile owner_;
/**
* *群组创建者信息 ** *
.core.UserProfile owner = 2;
*/
public boolean hasOwner() {
return owner_ != null;
}
/**
* *群组创建者信息 ** *
.core.UserProfile owner = 2;
*/
public com.akaxin.proto.core.UserProto.UserProfile getOwner() {
return owner_ == null ? com.akaxin.proto.core.UserProto.UserProfile.getDefaultInstance() : owner_;
}
/**
* *群组创建者信息 ** *
.core.UserProfile owner = 2;
*/
public com.akaxin.proto.core.UserProto.UserProfileOrBuilder getOwnerOrBuilder() {
return getOwner();
}
public static final int GROUP_MEMBER_COUNT_FIELD_NUMBER = 3;
private int groupMemberCount_;
/**
* *群组的成员数量 ** *
int32 group_member_count = 3;
*/
public int getGroupMemberCount() {
return groupMemberCount_;
}
public static final int GROUP_LASTEST_MEMBER_FIELD_NUMBER = 4;
private java.util.List*群成员 ** *
repeated .core.GroupMemberProfile group_lastest_member = 4;
*/
public java.util.List*群成员 ** *
repeated .core.GroupMemberProfile group_lastest_member = 4;
*/
public java.util.List extends com.akaxin.proto.core.GroupProto.GroupMemberProfileOrBuilder>
getGroupLastestMemberOrBuilderList() {
return groupLastestMember_;
}
/**
* *群成员 ** *
repeated .core.GroupMemberProfile group_lastest_member = 4;
*/
public int getGroupLastestMemberCount() {
return groupLastestMember_.size();
}
/**
* *群成员 ** *
repeated .core.GroupMemberProfile group_lastest_member = 4;
*/
public com.akaxin.proto.core.GroupProto.GroupMemberProfile getGroupLastestMember(int index) {
return groupLastestMember_.get(index);
}
/**
* *群成员 ** *
repeated .core.GroupMemberProfile group_lastest_member = 4;
*/
public com.akaxin.proto.core.GroupProto.GroupMemberProfileOrBuilder getGroupLastestMemberOrBuilder(
int index) {
return groupLastestMember_.get(index);
}
public static final int CLOSE_INVITE_GROUP_CHAT_FIELD_NUMBER = 5;
private boolean closeInviteGroupChat_;
/**
* *关闭邀请新用户群聊 true:打开 false:关闭 ** *
bool close_invite_group_chat = 5;
*/
public boolean getCloseInviteGroupChat() {
return closeInviteGroupChat_;
}
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 (profile_ != null) {
output.writeMessage(1, getProfile());
}
if (owner_ != null) {
output.writeMessage(2, getOwner());
}
if (groupMemberCount_ != 0) {
output.writeInt32(3, groupMemberCount_);
}
for (int i = 0; i < groupLastestMember_.size(); i++) {
output.writeMessage(4, groupLastestMember_.get(i));
}
if (closeInviteGroupChat_ != false) {
output.writeBool(5, closeInviteGroupChat_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (profile_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getProfile());
}
if (owner_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getOwner());
}
if (groupMemberCount_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(3, groupMemberCount_);
}
for (int i = 0; i < groupLastestMember_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, groupLastestMember_.get(i));
}
if (closeInviteGroupChat_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(5, closeInviteGroupChat_);
}
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.site.ApiGroupProfileProto.ApiGroupProfileResponse)) {
return super.equals(obj);
}
com.akaxin.proto.site.ApiGroupProfileProto.ApiGroupProfileResponse other = (com.akaxin.proto.site.ApiGroupProfileProto.ApiGroupProfileResponse) obj;
boolean result = true;
result = result && (hasProfile() == other.hasProfile());
if (hasProfile()) {
result = result && getProfile()
.equals(other.getProfile());
}
result = result && (hasOwner() == other.hasOwner());
if (hasOwner()) {
result = result && getOwner()
.equals(other.getOwner());
}
result = result && (getGroupMemberCount()
== other.getGroupMemberCount());
result = result && getGroupLastestMemberList()
.equals(other.getGroupLastestMemberList());
result = result && (getCloseInviteGroupChat()
== other.getCloseInviteGroupChat());
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 (hasProfile()) {
hash = (37 * hash) + PROFILE_FIELD_NUMBER;
hash = (53 * hash) + getProfile().hashCode();
}
if (hasOwner()) {
hash = (37 * hash) + OWNER_FIELD_NUMBER;
hash = (53 * hash) + getOwner().hashCode();
}
hash = (37 * hash) + GROUP_MEMBER_COUNT_FIELD_NUMBER;
hash = (53 * hash) + getGroupMemberCount();
if (getGroupLastestMemberCount() > 0) {
hash = (37 * hash) + GROUP_LASTEST_MEMBER_FIELD_NUMBER;
hash = (53 * hash) + getGroupLastestMemberList().hashCode();
}
hash = (37 * hash) + CLOSE_INVITE_GROUP_CHAT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getCloseInviteGroupChat());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.akaxin.proto.site.ApiGroupProfileProto.ApiGroupProfileResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akaxin.proto.site.ApiGroupProfileProto.ApiGroupProfileResponse 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.site.ApiGroupProfileProto.ApiGroupProfileResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akaxin.proto.site.ApiGroupProfileProto.ApiGroupProfileResponse 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.site.ApiGroupProfileProto.ApiGroupProfileResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akaxin.proto.site.ApiGroupProfileProto.ApiGroupProfileResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.akaxin.proto.site.ApiGroupProfileProto.ApiGroupProfileResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.akaxin.proto.site.ApiGroupProfileProto.ApiGroupProfileResponse 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.site.ApiGroupProfileProto.ApiGroupProfileResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.akaxin.proto.site.ApiGroupProfileProto.ApiGroupProfileResponse 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.site.ApiGroupProfileProto.ApiGroupProfileResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.akaxin.proto.site.ApiGroupProfileProto.ApiGroupProfileResponse 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.site.ApiGroupProfileProto.ApiGroupProfileResponse 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 site.ApiGroupProfileResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder*群组资料页信息 ** *
.core.GroupProfile profile = 1;
*/
public boolean hasProfile() {
return profileBuilder_ != null || profile_ != null;
}
/**
* *群组资料页信息 ** *
.core.GroupProfile profile = 1;
*/
public com.akaxin.proto.core.GroupProto.GroupProfile getProfile() {
if (profileBuilder_ == null) {
return profile_ == null ? com.akaxin.proto.core.GroupProto.GroupProfile.getDefaultInstance() : profile_;
} else {
return profileBuilder_.getMessage();
}
}
/**
* *群组资料页信息 ** *
.core.GroupProfile profile = 1;
*/
public Builder setProfile(com.akaxin.proto.core.GroupProto.GroupProfile value) {
if (profileBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
profile_ = value;
onChanged();
} else {
profileBuilder_.setMessage(value);
}
return this;
}
/**
* *群组资料页信息 ** *
.core.GroupProfile profile = 1;
*/
public Builder setProfile(
com.akaxin.proto.core.GroupProto.GroupProfile.Builder builderForValue) {
if (profileBuilder_ == null) {
profile_ = builderForValue.build();
onChanged();
} else {
profileBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* *群组资料页信息 ** *
.core.GroupProfile profile = 1;
*/
public Builder mergeProfile(com.akaxin.proto.core.GroupProto.GroupProfile value) {
if (profileBuilder_ == null) {
if (profile_ != null) {
profile_ =
com.akaxin.proto.core.GroupProto.GroupProfile.newBuilder(profile_).mergeFrom(value).buildPartial();
} else {
profile_ = value;
}
onChanged();
} else {
profileBuilder_.mergeFrom(value);
}
return this;
}
/**
* *群组资料页信息 ** *
.core.GroupProfile profile = 1;
*/
public Builder clearProfile() {
if (profileBuilder_ == null) {
profile_ = null;
onChanged();
} else {
profile_ = null;
profileBuilder_ = null;
}
return this;
}
/**
* *群组资料页信息 ** *
.core.GroupProfile profile = 1;
*/
public com.akaxin.proto.core.GroupProto.GroupProfile.Builder getProfileBuilder() {
onChanged();
return getProfileFieldBuilder().getBuilder();
}
/**
* *群组资料页信息 ** *
.core.GroupProfile profile = 1;
*/
public com.akaxin.proto.core.GroupProto.GroupProfileOrBuilder getProfileOrBuilder() {
if (profileBuilder_ != null) {
return profileBuilder_.getMessageOrBuilder();
} else {
return profile_ == null ?
com.akaxin.proto.core.GroupProto.GroupProfile.getDefaultInstance() : profile_;
}
}
/**
* *群组资料页信息 ** *
.core.GroupProfile profile = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
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.SingleFieldBuilderV3<
com.akaxin.proto.core.GroupProto.GroupProfile, com.akaxin.proto.core.GroupProto.GroupProfile.Builder, com.akaxin.proto.core.GroupProto.GroupProfileOrBuilder>(
getProfile(),
getParentForChildren(),
isClean());
profile_ = null;
}
return profileBuilder_;
}
private com.akaxin.proto.core.UserProto.UserProfile owner_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
com.akaxin.proto.core.UserProto.UserProfile, com.akaxin.proto.core.UserProto.UserProfile.Builder, com.akaxin.proto.core.UserProto.UserProfileOrBuilder> ownerBuilder_;
/**
* *群组创建者信息 ** *
.core.UserProfile owner = 2;
*/
public boolean hasOwner() {
return ownerBuilder_ != null || owner_ != null;
}
/**
* *群组创建者信息 ** *
.core.UserProfile owner = 2;
*/
public com.akaxin.proto.core.UserProto.UserProfile getOwner() {
if (ownerBuilder_ == null) {
return owner_ == null ? com.akaxin.proto.core.UserProto.UserProfile.getDefaultInstance() : owner_;
} else {
return ownerBuilder_.getMessage();
}
}
/**
* *群组创建者信息 ** *
.core.UserProfile owner = 2;
*/
public Builder setOwner(com.akaxin.proto.core.UserProto.UserProfile value) {
if (ownerBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
owner_ = value;
onChanged();
} else {
ownerBuilder_.setMessage(value);
}
return this;
}
/**
* *群组创建者信息 ** *
.core.UserProfile owner = 2;
*/
public Builder setOwner(
com.akaxin.proto.core.UserProto.UserProfile.Builder builderForValue) {
if (ownerBuilder_ == null) {
owner_ = builderForValue.build();
onChanged();
} else {
ownerBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* *群组创建者信息 ** *
.core.UserProfile owner = 2;
*/
public Builder mergeOwner(com.akaxin.proto.core.UserProto.UserProfile value) {
if (ownerBuilder_ == null) {
if (owner_ != null) {
owner_ =
com.akaxin.proto.core.UserProto.UserProfile.newBuilder(owner_).mergeFrom(value).buildPartial();
} else {
owner_ = value;
}
onChanged();
} else {
ownerBuilder_.mergeFrom(value);
}
return this;
}
/**
* *群组创建者信息 ** *
.core.UserProfile owner = 2;
*/
public Builder clearOwner() {
if (ownerBuilder_ == null) {
owner_ = null;
onChanged();
} else {
owner_ = null;
ownerBuilder_ = null;
}
return this;
}
/**
* *群组创建者信息 ** *
.core.UserProfile owner = 2;
*/
public com.akaxin.proto.core.UserProto.UserProfile.Builder getOwnerBuilder() {
onChanged();
return getOwnerFieldBuilder().getBuilder();
}
/**
* *群组创建者信息 ** *
.core.UserProfile owner = 2;
*/
public com.akaxin.proto.core.UserProto.UserProfileOrBuilder getOwnerOrBuilder() {
if (ownerBuilder_ != null) {
return ownerBuilder_.getMessageOrBuilder();
} else {
return owner_ == null ?
com.akaxin.proto.core.UserProto.UserProfile.getDefaultInstance() : owner_;
}
}
/**
* *群组创建者信息 ** *
.core.UserProfile owner = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.akaxin.proto.core.UserProto.UserProfile, com.akaxin.proto.core.UserProto.UserProfile.Builder, com.akaxin.proto.core.UserProto.UserProfileOrBuilder>
getOwnerFieldBuilder() {
if (ownerBuilder_ == null) {
ownerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.akaxin.proto.core.UserProto.UserProfile, com.akaxin.proto.core.UserProto.UserProfile.Builder, com.akaxin.proto.core.UserProto.UserProfileOrBuilder>(
getOwner(),
getParentForChildren(),
isClean());
owner_ = null;
}
return ownerBuilder_;
}
private int groupMemberCount_ ;
/**
* *群组的成员数量 ** *
int32 group_member_count = 3;
*/
public int getGroupMemberCount() {
return groupMemberCount_;
}
/**
* *群组的成员数量 ** *
int32 group_member_count = 3;
*/
public Builder setGroupMemberCount(int value) {
groupMemberCount_ = value;
onChanged();
return this;
}
/**
* *群组的成员数量 ** *
int32 group_member_count = 3;
*/
public Builder clearGroupMemberCount() {
groupMemberCount_ = 0;
onChanged();
return this;
}
private java.util.List*群成员 ** *
repeated .core.GroupMemberProfile group_lastest_member = 4;
*/
public java.util.List*群成员 ** *
repeated .core.GroupMemberProfile group_lastest_member = 4;
*/
public int getGroupLastestMemberCount() {
if (groupLastestMemberBuilder_ == null) {
return groupLastestMember_.size();
} else {
return groupLastestMemberBuilder_.getCount();
}
}
/**
* *群成员 ** *
repeated .core.GroupMemberProfile group_lastest_member = 4;
*/
public com.akaxin.proto.core.GroupProto.GroupMemberProfile getGroupLastestMember(int index) {
if (groupLastestMemberBuilder_ == null) {
return groupLastestMember_.get(index);
} else {
return groupLastestMemberBuilder_.getMessage(index);
}
}
/**
* *群成员 ** *
repeated .core.GroupMemberProfile group_lastest_member = 4;
*/
public Builder setGroupLastestMember(
int index, com.akaxin.proto.core.GroupProto.GroupMemberProfile value) {
if (groupLastestMemberBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureGroupLastestMemberIsMutable();
groupLastestMember_.set(index, value);
onChanged();
} else {
groupLastestMemberBuilder_.setMessage(index, value);
}
return this;
}
/**
* *群成员 ** *
repeated .core.GroupMemberProfile group_lastest_member = 4;
*/
public Builder setGroupLastestMember(
int index, com.akaxin.proto.core.GroupProto.GroupMemberProfile.Builder builderForValue) {
if (groupLastestMemberBuilder_ == null) {
ensureGroupLastestMemberIsMutable();
groupLastestMember_.set(index, builderForValue.build());
onChanged();
} else {
groupLastestMemberBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* *群成员 ** *
repeated .core.GroupMemberProfile group_lastest_member = 4;
*/
public Builder addGroupLastestMember(com.akaxin.proto.core.GroupProto.GroupMemberProfile value) {
if (groupLastestMemberBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureGroupLastestMemberIsMutable();
groupLastestMember_.add(value);
onChanged();
} else {
groupLastestMemberBuilder_.addMessage(value);
}
return this;
}
/**
* *群成员 ** *
repeated .core.GroupMemberProfile group_lastest_member = 4;
*/
public Builder addGroupLastestMember(
int index, com.akaxin.proto.core.GroupProto.GroupMemberProfile value) {
if (groupLastestMemberBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureGroupLastestMemberIsMutable();
groupLastestMember_.add(index, value);
onChanged();
} else {
groupLastestMemberBuilder_.addMessage(index, value);
}
return this;
}
/**
* *群成员 ** *
repeated .core.GroupMemberProfile group_lastest_member = 4;
*/
public Builder addGroupLastestMember(
com.akaxin.proto.core.GroupProto.GroupMemberProfile.Builder builderForValue) {
if (groupLastestMemberBuilder_ == null) {
ensureGroupLastestMemberIsMutable();
groupLastestMember_.add(builderForValue.build());
onChanged();
} else {
groupLastestMemberBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* *群成员 ** *
repeated .core.GroupMemberProfile group_lastest_member = 4;
*/
public Builder addGroupLastestMember(
int index, com.akaxin.proto.core.GroupProto.GroupMemberProfile.Builder builderForValue) {
if (groupLastestMemberBuilder_ == null) {
ensureGroupLastestMemberIsMutable();
groupLastestMember_.add(index, builderForValue.build());
onChanged();
} else {
groupLastestMemberBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* *群成员 ** *
repeated .core.GroupMemberProfile group_lastest_member = 4;
*/
public Builder addAllGroupLastestMember(
java.lang.Iterable extends com.akaxin.proto.core.GroupProto.GroupMemberProfile> values) {
if (groupLastestMemberBuilder_ == null) {
ensureGroupLastestMemberIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, groupLastestMember_);
onChanged();
} else {
groupLastestMemberBuilder_.addAllMessages(values);
}
return this;
}
/**
* *群成员 ** *
repeated .core.GroupMemberProfile group_lastest_member = 4;
*/
public Builder clearGroupLastestMember() {
if (groupLastestMemberBuilder_ == null) {
groupLastestMember_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
} else {
groupLastestMemberBuilder_.clear();
}
return this;
}
/**
* *群成员 ** *
repeated .core.GroupMemberProfile group_lastest_member = 4;
*/
public Builder removeGroupLastestMember(int index) {
if (groupLastestMemberBuilder_ == null) {
ensureGroupLastestMemberIsMutable();
groupLastestMember_.remove(index);
onChanged();
} else {
groupLastestMemberBuilder_.remove(index);
}
return this;
}
/**
* *群成员 ** *
repeated .core.GroupMemberProfile group_lastest_member = 4;
*/
public com.akaxin.proto.core.GroupProto.GroupMemberProfile.Builder getGroupLastestMemberBuilder(
int index) {
return getGroupLastestMemberFieldBuilder().getBuilder(index);
}
/**
* *群成员 ** *
repeated .core.GroupMemberProfile group_lastest_member = 4;
*/
public com.akaxin.proto.core.GroupProto.GroupMemberProfileOrBuilder getGroupLastestMemberOrBuilder(
int index) {
if (groupLastestMemberBuilder_ == null) {
return groupLastestMember_.get(index); } else {
return groupLastestMemberBuilder_.getMessageOrBuilder(index);
}
}
/**
* *群成员 ** *
repeated .core.GroupMemberProfile group_lastest_member = 4;
*/
public java.util.List extends com.akaxin.proto.core.GroupProto.GroupMemberProfileOrBuilder>
getGroupLastestMemberOrBuilderList() {
if (groupLastestMemberBuilder_ != null) {
return groupLastestMemberBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(groupLastestMember_);
}
}
/**
* *群成员 ** *
repeated .core.GroupMemberProfile group_lastest_member = 4;
*/
public com.akaxin.proto.core.GroupProto.GroupMemberProfile.Builder addGroupLastestMemberBuilder() {
return getGroupLastestMemberFieldBuilder().addBuilder(
com.akaxin.proto.core.GroupProto.GroupMemberProfile.getDefaultInstance());
}
/**
* *群成员 ** *
repeated .core.GroupMemberProfile group_lastest_member = 4;
*/
public com.akaxin.proto.core.GroupProto.GroupMemberProfile.Builder addGroupLastestMemberBuilder(
int index) {
return getGroupLastestMemberFieldBuilder().addBuilder(
index, com.akaxin.proto.core.GroupProto.GroupMemberProfile.getDefaultInstance());
}
/**
* *群成员 ** *
repeated .core.GroupMemberProfile group_lastest_member = 4;
*/
public java.util.List*关闭邀请新用户群聊 true:打开 false:关闭 ** *
bool close_invite_group_chat = 5;
*/
public boolean getCloseInviteGroupChat() {
return closeInviteGroupChat_;
}
/**
* *关闭邀请新用户群聊 true:打开 false:关闭 ** *
bool close_invite_group_chat = 5;
*/
public Builder setCloseInviteGroupChat(boolean value) {
closeInviteGroupChat_ = value;
onChanged();
return this;
}
/**
* *关闭邀请新用户群聊 true:打开 false:关闭 ** *
bool close_invite_group_chat = 5;
*/
public Builder clearCloseInviteGroupChat() {
closeInviteGroupChat_ = false;
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:site.ApiGroupProfileResponse)
}
// @@protoc_insertion_point(class_scope:site.ApiGroupProfileResponse)
private static final com.akaxin.proto.site.ApiGroupProfileProto.ApiGroupProfileResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.akaxin.proto.site.ApiGroupProfileProto.ApiGroupProfileResponse();
}
public static com.akaxin.proto.site.ApiGroupProfileProto.ApiGroupProfileResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser