2190 lines
75 KiB
Java
Executable File
2190 lines
75 KiB
Java
Executable File
// 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 {
|
||
|
||
/**
|
||
* <pre>
|
||
*当前用户获取群组ID的资料信息
|
||
* </pre>
|
||
*
|
||
* <code>string group_id = 1;</code>
|
||
*/
|
||
java.lang.String getGroupId();
|
||
/**
|
||
* <pre>
|
||
*当前用户获取群组ID的资料信息
|
||
* </pre>
|
||
*
|
||
* <code>string group_id = 1;</code>
|
||
*/
|
||
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_;
|
||
/**
|
||
* <pre>
|
||
*当前用户获取群组ID的资料信息
|
||
* </pre>
|
||
*
|
||
* <code>string group_id = 1;</code>
|
||
*/
|
||
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;
|
||
}
|
||
}
|
||
/**
|
||
* <pre>
|
||
*当前用户获取群组ID的资料信息
|
||
* </pre>
|
||
*
|
||
* <code>string group_id = 1;</code>
|
||
*/
|
||
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<Builder> implements
|
||
// @@protoc_insertion_point(builder_implements:site.ApiGroupProfileRequest)
|
||
com.akaxin.proto.site.ApiGroupProfileProto.ApiGroupProfileRequestOrBuilder {
|
||
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);
|
||
}
|
||
|
||
// Construct using com.akaxin.proto.site.ApiGroupProfileProto.ApiGroupProfileRequest.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();
|
||
groupId_ = "";
|
||
|
||
return this;
|
||
}
|
||
|
||
public com.google.protobuf.Descriptors.Descriptor
|
||
getDescriptorForType() {
|
||
return com.akaxin.proto.site.ApiGroupProfileProto.internal_static_site_ApiGroupProfileRequest_descriptor;
|
||
}
|
||
|
||
public com.akaxin.proto.site.ApiGroupProfileProto.ApiGroupProfileRequest getDefaultInstanceForType() {
|
||
return com.akaxin.proto.site.ApiGroupProfileProto.ApiGroupProfileRequest.getDefaultInstance();
|
||
}
|
||
|
||
public com.akaxin.proto.site.ApiGroupProfileProto.ApiGroupProfileRequest build() {
|
||
com.akaxin.proto.site.ApiGroupProfileProto.ApiGroupProfileRequest result = buildPartial();
|
||
if (!result.isInitialized()) {
|
||
throw newUninitializedMessageException(result);
|
||
}
|
||
return result;
|
||
}
|
||
|
||
public com.akaxin.proto.site.ApiGroupProfileProto.ApiGroupProfileRequest buildPartial() {
|
||
com.akaxin.proto.site.ApiGroupProfileProto.ApiGroupProfileRequest result = new com.akaxin.proto.site.ApiGroupProfileProto.ApiGroupProfileRequest(this);
|
||
result.groupId_ = groupId_;
|
||
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.site.ApiGroupProfileProto.ApiGroupProfileRequest) {
|
||
return mergeFrom((com.akaxin.proto.site.ApiGroupProfileProto.ApiGroupProfileRequest)other);
|
||
} else {
|
||
super.mergeFrom(other);
|
||
return this;
|
||
}
|
||
}
|
||
|
||
public Builder mergeFrom(com.akaxin.proto.site.ApiGroupProfileProto.ApiGroupProfileRequest other) {
|
||
if (other == com.akaxin.proto.site.ApiGroupProfileProto.ApiGroupProfileRequest.getDefaultInstance()) return this;
|
||
if (!other.getGroupId().isEmpty()) {
|
||
groupId_ = other.groupId_;
|
||
onChanged();
|
||
}
|
||
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.site.ApiGroupProfileProto.ApiGroupProfileRequest parsedMessage = null;
|
||
try {
|
||
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
||
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
||
parsedMessage = (com.akaxin.proto.site.ApiGroupProfileProto.ApiGroupProfileRequest) e.getUnfinishedMessage();
|
||
throw e.unwrapIOException();
|
||
} finally {
|
||
if (parsedMessage != null) {
|
||
mergeFrom(parsedMessage);
|
||
}
|
||
}
|
||
return this;
|
||
}
|
||
|
||
private java.lang.Object groupId_ = "";
|
||
/**
|
||
* <pre>
|
||
*当前用户获取群组ID的资料信息
|
||
* </pre>
|
||
*
|
||
* <code>string group_id = 1;</code>
|
||
*/
|
||
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;
|
||
}
|
||
}
|
||
/**
|
||
* <pre>
|
||
*当前用户获取群组ID的资料信息
|
||
* </pre>
|
||
*
|
||
* <code>string group_id = 1;</code>
|
||
*/
|
||
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;
|
||
}
|
||
}
|
||
/**
|
||
* <pre>
|
||
*当前用户获取群组ID的资料信息
|
||
* </pre>
|
||
*
|
||
* <code>string group_id = 1;</code>
|
||
*/
|
||
public Builder setGroupId(
|
||
java.lang.String value) {
|
||
if (value == null) {
|
||
throw new NullPointerException();
|
||
}
|
||
|
||
groupId_ = value;
|
||
onChanged();
|
||
return this;
|
||
}
|
||
/**
|
||
* <pre>
|
||
*当前用户获取群组ID的资料信息
|
||
* </pre>
|
||
*
|
||
* <code>string group_id = 1;</code>
|
||
*/
|
||
public Builder clearGroupId() {
|
||
|
||
groupId_ = getDefaultInstance().getGroupId();
|
||
onChanged();
|
||
return this;
|
||
}
|
||
/**
|
||
* <pre>
|
||
*当前用户获取群组ID的资料信息
|
||
* </pre>
|
||
*
|
||
* <code>string group_id = 1;</code>
|
||
*/
|
||
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<ApiGroupProfileRequest>
|
||
PARSER = new com.google.protobuf.AbstractParser<ApiGroupProfileRequest>() {
|
||
public ApiGroupProfileRequest parsePartialFrom(
|
||
com.google.protobuf.CodedInputStream input,
|
||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||
return new ApiGroupProfileRequest(input, extensionRegistry);
|
||
}
|
||
};
|
||
|
||
public static com.google.protobuf.Parser<ApiGroupProfileRequest> parser() {
|
||
return PARSER;
|
||
}
|
||
|
||
@java.lang.Override
|
||
public com.google.protobuf.Parser<ApiGroupProfileRequest> getParserForType() {
|
||
return PARSER;
|
||
}
|
||
|
||
public com.akaxin.proto.site.ApiGroupProfileProto.ApiGroupProfileRequest getDefaultInstanceForType() {
|
||
return DEFAULT_INSTANCE;
|
||
}
|
||
|
||
}
|
||
|
||
public interface ApiGroupProfileResponseOrBuilder extends
|
||
// @@protoc_insertion_point(interface_extends:site.ApiGroupProfileResponse)
|
||
com.google.protobuf.MessageOrBuilder {
|
||
|
||
/**
|
||
* <pre>
|
||
*群组资料页信息
|
||
* </pre>
|
||
*
|
||
* <code>.core.GroupProfile profile = 1;</code>
|
||
*/
|
||
boolean hasProfile();
|
||
/**
|
||
* <pre>
|
||
*群组资料页信息
|
||
* </pre>
|
||
*
|
||
* <code>.core.GroupProfile profile = 1;</code>
|
||
*/
|
||
com.akaxin.proto.core.GroupProto.GroupProfile getProfile();
|
||
/**
|
||
* <pre>
|
||
*群组资料页信息
|
||
* </pre>
|
||
*
|
||
* <code>.core.GroupProfile profile = 1;</code>
|
||
*/
|
||
com.akaxin.proto.core.GroupProto.GroupProfileOrBuilder getProfileOrBuilder();
|
||
|
||
/**
|
||
* <pre>
|
||
*群组创建者信息
|
||
* </pre>
|
||
*
|
||
* <code>.core.UserProfile owner = 2;</code>
|
||
*/
|
||
boolean hasOwner();
|
||
/**
|
||
* <pre>
|
||
*群组创建者信息
|
||
* </pre>
|
||
*
|
||
* <code>.core.UserProfile owner = 2;</code>
|
||
*/
|
||
com.akaxin.proto.core.UserProto.UserProfile getOwner();
|
||
/**
|
||
* <pre>
|
||
*群组创建者信息
|
||
* </pre>
|
||
*
|
||
* <code>.core.UserProfile owner = 2;</code>
|
||
*/
|
||
com.akaxin.proto.core.UserProto.UserProfileOrBuilder getOwnerOrBuilder();
|
||
|
||
/**
|
||
* <pre>
|
||
*群组的成员数量
|
||
* </pre>
|
||
*
|
||
* <code>int32 group_member_count = 3;</code>
|
||
*/
|
||
int getGroupMemberCount();
|
||
|
||
/**
|
||
* <pre>
|
||
*群成员
|
||
* </pre>
|
||
*
|
||
* <code>repeated .core.GroupMemberProfile group_lastest_member = 4;</code>
|
||
*/
|
||
java.util.List<com.akaxin.proto.core.GroupProto.GroupMemberProfile>
|
||
getGroupLastestMemberList();
|
||
/**
|
||
* <pre>
|
||
*群成员
|
||
* </pre>
|
||
*
|
||
* <code>repeated .core.GroupMemberProfile group_lastest_member = 4;</code>
|
||
*/
|
||
com.akaxin.proto.core.GroupProto.GroupMemberProfile getGroupLastestMember(int index);
|
||
/**
|
||
* <pre>
|
||
*群成员
|
||
* </pre>
|
||
*
|
||
* <code>repeated .core.GroupMemberProfile group_lastest_member = 4;</code>
|
||
*/
|
||
int getGroupLastestMemberCount();
|
||
/**
|
||
* <pre>
|
||
*群成员
|
||
* </pre>
|
||
*
|
||
* <code>repeated .core.GroupMemberProfile group_lastest_member = 4;</code>
|
||
*/
|
||
java.util.List<? extends com.akaxin.proto.core.GroupProto.GroupMemberProfileOrBuilder>
|
||
getGroupLastestMemberOrBuilderList();
|
||
/**
|
||
* <pre>
|
||
*群成员
|
||
* </pre>
|
||
*
|
||
* <code>repeated .core.GroupMemberProfile group_lastest_member = 4;</code>
|
||
*/
|
||
com.akaxin.proto.core.GroupProto.GroupMemberProfileOrBuilder getGroupLastestMemberOrBuilder(
|
||
int index);
|
||
|
||
/**
|
||
* <pre>
|
||
*关闭邀请新用户群聊 true:打开 false:关闭
|
||
* </pre>
|
||
*
|
||
* <code>bool close_invite_group_chat = 5;</code>
|
||
*/
|
||
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<com.akaxin.proto.core.GroupProto.GroupMemberProfile>();
|
||
mutable_bitField0_ |= 0x00000008;
|
||
}
|
||
groupLastestMember_.add(
|
||
input.readMessage(com.akaxin.proto.core.GroupProto.GroupMemberProfile.parser(), extensionRegistry));
|
||
break;
|
||
}
|
||
case 40: {
|
||
|
||
closeInviteGroupChat_ = input.readBool();
|
||
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_ & 0x00000008) == 0x00000008)) {
|
||
groupLastestMember_ = java.util.Collections.unmodifiableList(groupLastestMember_);
|
||
}
|
||
this.unknownFields = unknownFields.build();
|
||
makeExtensionsImmutable();
|
||
}
|
||
}
|
||
public static final com.google.protobuf.Descriptors.Descriptor
|
||
getDescriptor() {
|
||
return com.akaxin.proto.site.ApiGroupProfileProto.internal_static_site_ApiGroupProfileResponse_descriptor;
|
||
}
|
||
|
||
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||
internalGetFieldAccessorTable() {
|
||
return com.akaxin.proto.site.ApiGroupProfileProto.internal_static_site_ApiGroupProfileResponse_fieldAccessorTable
|
||
.ensureFieldAccessorsInitialized(
|
||
com.akaxin.proto.site.ApiGroupProfileProto.ApiGroupProfileResponse.class, com.akaxin.proto.site.ApiGroupProfileProto.ApiGroupProfileResponse.Builder.class);
|
||
}
|
||
|
||
private int bitField0_;
|
||
public static final int PROFILE_FIELD_NUMBER = 1;
|
||
private com.akaxin.proto.core.GroupProto.GroupProfile profile_;
|
||
/**
|
||
* <pre>
|
||
*群组资料页信息
|
||
* </pre>
|
||
*
|
||
* <code>.core.GroupProfile profile = 1;</code>
|
||
*/
|
||
public boolean hasProfile() {
|
||
return profile_ != null;
|
||
}
|
||
/**
|
||
* <pre>
|
||
*群组资料页信息
|
||
* </pre>
|
||
*
|
||
* <code>.core.GroupProfile profile = 1;</code>
|
||
*/
|
||
public com.akaxin.proto.core.GroupProto.GroupProfile getProfile() {
|
||
return profile_ == null ? com.akaxin.proto.core.GroupProto.GroupProfile.getDefaultInstance() : profile_;
|
||
}
|
||
/**
|
||
* <pre>
|
||
*群组资料页信息
|
||
* </pre>
|
||
*
|
||
* <code>.core.GroupProfile profile = 1;</code>
|
||
*/
|
||
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_;
|
||
/**
|
||
* <pre>
|
||
*群组创建者信息
|
||
* </pre>
|
||
*
|
||
* <code>.core.UserProfile owner = 2;</code>
|
||
*/
|
||
public boolean hasOwner() {
|
||
return owner_ != null;
|
||
}
|
||
/**
|
||
* <pre>
|
||
*群组创建者信息
|
||
* </pre>
|
||
*
|
||
* <code>.core.UserProfile owner = 2;</code>
|
||
*/
|
||
public com.akaxin.proto.core.UserProto.UserProfile getOwner() {
|
||
return owner_ == null ? com.akaxin.proto.core.UserProto.UserProfile.getDefaultInstance() : owner_;
|
||
}
|
||
/**
|
||
* <pre>
|
||
*群组创建者信息
|
||
* </pre>
|
||
*
|
||
* <code>.core.UserProfile owner = 2;</code>
|
||
*/
|
||
public com.akaxin.proto.core.UserProto.UserProfileOrBuilder getOwnerOrBuilder() {
|
||
return getOwner();
|
||
}
|
||
|
||
public static final int GROUP_MEMBER_COUNT_FIELD_NUMBER = 3;
|
||
private int groupMemberCount_;
|
||
/**
|
||
* <pre>
|
||
*群组的成员数量
|
||
* </pre>
|
||
*
|
||
* <code>int32 group_member_count = 3;</code>
|
||
*/
|
||
public int getGroupMemberCount() {
|
||
return groupMemberCount_;
|
||
}
|
||
|
||
public static final int GROUP_LASTEST_MEMBER_FIELD_NUMBER = 4;
|
||
private java.util.List<com.akaxin.proto.core.GroupProto.GroupMemberProfile> groupLastestMember_;
|
||
/**
|
||
* <pre>
|
||
*群成员
|
||
* </pre>
|
||
*
|
||
* <code>repeated .core.GroupMemberProfile group_lastest_member = 4;</code>
|
||
*/
|
||
public java.util.List<com.akaxin.proto.core.GroupProto.GroupMemberProfile> getGroupLastestMemberList() {
|
||
return groupLastestMember_;
|
||
}
|
||
/**
|
||
* <pre>
|
||
*群成员
|
||
* </pre>
|
||
*
|
||
* <code>repeated .core.GroupMemberProfile group_lastest_member = 4;</code>
|
||
*/
|
||
public java.util.List<? extends com.akaxin.proto.core.GroupProto.GroupMemberProfileOrBuilder>
|
||
getGroupLastestMemberOrBuilderList() {
|
||
return groupLastestMember_;
|
||
}
|
||
/**
|
||
* <pre>
|
||
*群成员
|
||
* </pre>
|
||
*
|
||
* <code>repeated .core.GroupMemberProfile group_lastest_member = 4;</code>
|
||
*/
|
||
public int getGroupLastestMemberCount() {
|
||
return groupLastestMember_.size();
|
||
}
|
||
/**
|
||
* <pre>
|
||
*群成员
|
||
* </pre>
|
||
*
|
||
* <code>repeated .core.GroupMemberProfile group_lastest_member = 4;</code>
|
||
*/
|
||
public com.akaxin.proto.core.GroupProto.GroupMemberProfile getGroupLastestMember(int index) {
|
||
return groupLastestMember_.get(index);
|
||
}
|
||
/**
|
||
* <pre>
|
||
*群成员
|
||
* </pre>
|
||
*
|
||
* <code>repeated .core.GroupMemberProfile group_lastest_member = 4;</code>
|
||
*/
|
||
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_;
|
||
/**
|
||
* <pre>
|
||
*关闭邀请新用户群聊 true:打开 false:关闭
|
||
* </pre>
|
||
*
|
||
* <code>bool close_invite_group_chat = 5;</code>
|
||
*/
|
||
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<Builder> implements
|
||
// @@protoc_insertion_point(builder_implements:site.ApiGroupProfileResponse)
|
||
com.akaxin.proto.site.ApiGroupProfileProto.ApiGroupProfileResponseOrBuilder {
|
||
public static final com.google.protobuf.Descriptors.Descriptor
|
||
getDescriptor() {
|
||
return com.akaxin.proto.site.ApiGroupProfileProto.internal_static_site_ApiGroupProfileResponse_descriptor;
|
||
}
|
||
|
||
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||
internalGetFieldAccessorTable() {
|
||
return com.akaxin.proto.site.ApiGroupProfileProto.internal_static_site_ApiGroupProfileResponse_fieldAccessorTable
|
||
.ensureFieldAccessorsInitialized(
|
||
com.akaxin.proto.site.ApiGroupProfileProto.ApiGroupProfileResponse.class, com.akaxin.proto.site.ApiGroupProfileProto.ApiGroupProfileResponse.Builder.class);
|
||
}
|
||
|
||
// Construct using com.akaxin.proto.site.ApiGroupProfileProto.ApiGroupProfileResponse.newBuilder()
|
||
private Builder() {
|
||
maybeForceBuilderInitialization();
|
||
}
|
||
|
||
private Builder(
|
||
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
||
super(parent);
|
||
maybeForceBuilderInitialization();
|
||
}
|
||
private void maybeForceBuilderInitialization() {
|
||
if (com.google.protobuf.GeneratedMessageV3
|
||
.alwaysUseFieldBuilders) {
|
||
getGroupLastestMemberFieldBuilder();
|
||
}
|
||
}
|
||
public Builder clear() {
|
||
super.clear();
|
||
if (profileBuilder_ == null) {
|
||
profile_ = null;
|
||
} else {
|
||
profile_ = null;
|
||
profileBuilder_ = null;
|
||
}
|
||
if (ownerBuilder_ == null) {
|
||
owner_ = null;
|
||
} else {
|
||
owner_ = null;
|
||
ownerBuilder_ = null;
|
||
}
|
||
groupMemberCount_ = 0;
|
||
|
||
if (groupLastestMemberBuilder_ == null) {
|
||
groupLastestMember_ = java.util.Collections.emptyList();
|
||
bitField0_ = (bitField0_ & ~0x00000008);
|
||
} else {
|
||
groupLastestMemberBuilder_.clear();
|
||
}
|
||
closeInviteGroupChat_ = false;
|
||
|
||
return this;
|
||
}
|
||
|
||
public com.google.protobuf.Descriptors.Descriptor
|
||
getDescriptorForType() {
|
||
return com.akaxin.proto.site.ApiGroupProfileProto.internal_static_site_ApiGroupProfileResponse_descriptor;
|
||
}
|
||
|
||
public com.akaxin.proto.site.ApiGroupProfileProto.ApiGroupProfileResponse getDefaultInstanceForType() {
|
||
return com.akaxin.proto.site.ApiGroupProfileProto.ApiGroupProfileResponse.getDefaultInstance();
|
||
}
|
||
|
||
public com.akaxin.proto.site.ApiGroupProfileProto.ApiGroupProfileResponse build() {
|
||
com.akaxin.proto.site.ApiGroupProfileProto.ApiGroupProfileResponse result = buildPartial();
|
||
if (!result.isInitialized()) {
|
||
throw newUninitializedMessageException(result);
|
||
}
|
||
return result;
|
||
}
|
||
|
||
public com.akaxin.proto.site.ApiGroupProfileProto.ApiGroupProfileResponse buildPartial() {
|
||
com.akaxin.proto.site.ApiGroupProfileProto.ApiGroupProfileResponse result = new com.akaxin.proto.site.ApiGroupProfileProto.ApiGroupProfileResponse(this);
|
||
int from_bitField0_ = bitField0_;
|
||
int to_bitField0_ = 0;
|
||
if (profileBuilder_ == null) {
|
||
result.profile_ = profile_;
|
||
} else {
|
||
result.profile_ = profileBuilder_.build();
|
||
}
|
||
if (ownerBuilder_ == null) {
|
||
result.owner_ = owner_;
|
||
} else {
|
||
result.owner_ = ownerBuilder_.build();
|
||
}
|
||
result.groupMemberCount_ = groupMemberCount_;
|
||
if (groupLastestMemberBuilder_ == null) {
|
||
if (((bitField0_ & 0x00000008) == 0x00000008)) {
|
||
groupLastestMember_ = java.util.Collections.unmodifiableList(groupLastestMember_);
|
||
bitField0_ = (bitField0_ & ~0x00000008);
|
||
}
|
||
result.groupLastestMember_ = groupLastestMember_;
|
||
} else {
|
||
result.groupLastestMember_ = groupLastestMemberBuilder_.build();
|
||
}
|
||
result.closeInviteGroupChat_ = closeInviteGroupChat_;
|
||
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.site.ApiGroupProfileProto.ApiGroupProfileResponse) {
|
||
return mergeFrom((com.akaxin.proto.site.ApiGroupProfileProto.ApiGroupProfileResponse)other);
|
||
} else {
|
||
super.mergeFrom(other);
|
||
return this;
|
||
}
|
||
}
|
||
|
||
public Builder mergeFrom(com.akaxin.proto.site.ApiGroupProfileProto.ApiGroupProfileResponse other) {
|
||
if (other == com.akaxin.proto.site.ApiGroupProfileProto.ApiGroupProfileResponse.getDefaultInstance()) return this;
|
||
if (other.hasProfile()) {
|
||
mergeProfile(other.getProfile());
|
||
}
|
||
if (other.hasOwner()) {
|
||
mergeOwner(other.getOwner());
|
||
}
|
||
if (other.getGroupMemberCount() != 0) {
|
||
setGroupMemberCount(other.getGroupMemberCount());
|
||
}
|
||
if (groupLastestMemberBuilder_ == null) {
|
||
if (!other.groupLastestMember_.isEmpty()) {
|
||
if (groupLastestMember_.isEmpty()) {
|
||
groupLastestMember_ = other.groupLastestMember_;
|
||
bitField0_ = (bitField0_ & ~0x00000008);
|
||
} else {
|
||
ensureGroupLastestMemberIsMutable();
|
||
groupLastestMember_.addAll(other.groupLastestMember_);
|
||
}
|
||
onChanged();
|
||
}
|
||
} else {
|
||
if (!other.groupLastestMember_.isEmpty()) {
|
||
if (groupLastestMemberBuilder_.isEmpty()) {
|
||
groupLastestMemberBuilder_.dispose();
|
||
groupLastestMemberBuilder_ = null;
|
||
groupLastestMember_ = other.groupLastestMember_;
|
||
bitField0_ = (bitField0_ & ~0x00000008);
|
||
groupLastestMemberBuilder_ =
|
||
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
|
||
getGroupLastestMemberFieldBuilder() : null;
|
||
} else {
|
||
groupLastestMemberBuilder_.addAllMessages(other.groupLastestMember_);
|
||
}
|
||
}
|
||
}
|
||
if (other.getCloseInviteGroupChat() != false) {
|
||
setCloseInviteGroupChat(other.getCloseInviteGroupChat());
|
||
}
|
||
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.site.ApiGroupProfileProto.ApiGroupProfileResponse parsedMessage = null;
|
||
try {
|
||
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
||
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
||
parsedMessage = (com.akaxin.proto.site.ApiGroupProfileProto.ApiGroupProfileResponse) e.getUnfinishedMessage();
|
||
throw e.unwrapIOException();
|
||
} finally {
|
||
if (parsedMessage != null) {
|
||
mergeFrom(parsedMessage);
|
||
}
|
||
}
|
||
return this;
|
||
}
|
||
private int bitField0_;
|
||
|
||
private com.akaxin.proto.core.GroupProto.GroupProfile profile_ = null;
|
||
private com.google.protobuf.SingleFieldBuilderV3<
|
||
com.akaxin.proto.core.GroupProto.GroupProfile, com.akaxin.proto.core.GroupProto.GroupProfile.Builder, com.akaxin.proto.core.GroupProto.GroupProfileOrBuilder> profileBuilder_;
|
||
/**
|
||
* <pre>
|
||
*群组资料页信息
|
||
* </pre>
|
||
*
|
||
* <code>.core.GroupProfile profile = 1;</code>
|
||
*/
|
||
public boolean hasProfile() {
|
||
return profileBuilder_ != null || profile_ != null;
|
||
}
|
||
/**
|
||
* <pre>
|
||
*群组资料页信息
|
||
* </pre>
|
||
*
|
||
* <code>.core.GroupProfile profile = 1;</code>
|
||
*/
|
||
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();
|
||
}
|
||
}
|
||
/**
|
||
* <pre>
|
||
*群组资料页信息
|
||
* </pre>
|
||
*
|
||
* <code>.core.GroupProfile profile = 1;</code>
|
||
*/
|
||
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;
|
||
}
|
||
/**
|
||
* <pre>
|
||
*群组资料页信息
|
||
* </pre>
|
||
*
|
||
* <code>.core.GroupProfile profile = 1;</code>
|
||
*/
|
||
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;
|
||
}
|
||
/**
|
||
* <pre>
|
||
*群组资料页信息
|
||
* </pre>
|
||
*
|
||
* <code>.core.GroupProfile profile = 1;</code>
|
||
*/
|
||
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;
|
||
}
|
||
/**
|
||
* <pre>
|
||
*群组资料页信息
|
||
* </pre>
|
||
*
|
||
* <code>.core.GroupProfile profile = 1;</code>
|
||
*/
|
||
public Builder clearProfile() {
|
||
if (profileBuilder_ == null) {
|
||
profile_ = null;
|
||
onChanged();
|
||
} else {
|
||
profile_ = null;
|
||
profileBuilder_ = null;
|
||
}
|
||
|
||
return this;
|
||
}
|
||
/**
|
||
* <pre>
|
||
*群组资料页信息
|
||
* </pre>
|
||
*
|
||
* <code>.core.GroupProfile profile = 1;</code>
|
||
*/
|
||
public com.akaxin.proto.core.GroupProto.GroupProfile.Builder getProfileBuilder() {
|
||
|
||
onChanged();
|
||
return getProfileFieldBuilder().getBuilder();
|
||
}
|
||
/**
|
||
* <pre>
|
||
*群组资料页信息
|
||
* </pre>
|
||
*
|
||
* <code>.core.GroupProfile profile = 1;</code>
|
||
*/
|
||
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_;
|
||
}
|
||
}
|
||
/**
|
||
* <pre>
|
||
*群组资料页信息
|
||
* </pre>
|
||
*
|
||
* <code>.core.GroupProfile profile = 1;</code>
|
||
*/
|
||
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_;
|
||
/**
|
||
* <pre>
|
||
*群组创建者信息
|
||
* </pre>
|
||
*
|
||
* <code>.core.UserProfile owner = 2;</code>
|
||
*/
|
||
public boolean hasOwner() {
|
||
return ownerBuilder_ != null || owner_ != null;
|
||
}
|
||
/**
|
||
* <pre>
|
||
*群组创建者信息
|
||
* </pre>
|
||
*
|
||
* <code>.core.UserProfile owner = 2;</code>
|
||
*/
|
||
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();
|
||
}
|
||
}
|
||
/**
|
||
* <pre>
|
||
*群组创建者信息
|
||
* </pre>
|
||
*
|
||
* <code>.core.UserProfile owner = 2;</code>
|
||
*/
|
||
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;
|
||
}
|
||
/**
|
||
* <pre>
|
||
*群组创建者信息
|
||
* </pre>
|
||
*
|
||
* <code>.core.UserProfile owner = 2;</code>
|
||
*/
|
||
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;
|
||
}
|
||
/**
|
||
* <pre>
|
||
*群组创建者信息
|
||
* </pre>
|
||
*
|
||
* <code>.core.UserProfile owner = 2;</code>
|
||
*/
|
||
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;
|
||
}
|
||
/**
|
||
* <pre>
|
||
*群组创建者信息
|
||
* </pre>
|
||
*
|
||
* <code>.core.UserProfile owner = 2;</code>
|
||
*/
|
||
public Builder clearOwner() {
|
||
if (ownerBuilder_ == null) {
|
||
owner_ = null;
|
||
onChanged();
|
||
} else {
|
||
owner_ = null;
|
||
ownerBuilder_ = null;
|
||
}
|
||
|
||
return this;
|
||
}
|
||
/**
|
||
* <pre>
|
||
*群组创建者信息
|
||
* </pre>
|
||
*
|
||
* <code>.core.UserProfile owner = 2;</code>
|
||
*/
|
||
public com.akaxin.proto.core.UserProto.UserProfile.Builder getOwnerBuilder() {
|
||
|
||
onChanged();
|
||
return getOwnerFieldBuilder().getBuilder();
|
||
}
|
||
/**
|
||
* <pre>
|
||
*群组创建者信息
|
||
* </pre>
|
||
*
|
||
* <code>.core.UserProfile owner = 2;</code>
|
||
*/
|
||
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_;
|
||
}
|
||
}
|
||
/**
|
||
* <pre>
|
||
*群组创建者信息
|
||
* </pre>
|
||
*
|
||
* <code>.core.UserProfile owner = 2;</code>
|
||
*/
|
||
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_ ;
|
||
/**
|
||
* <pre>
|
||
*群组的成员数量
|
||
* </pre>
|
||
*
|
||
* <code>int32 group_member_count = 3;</code>
|
||
*/
|
||
public int getGroupMemberCount() {
|
||
return groupMemberCount_;
|
||
}
|
||
/**
|
||
* <pre>
|
||
*群组的成员数量
|
||
* </pre>
|
||
*
|
||
* <code>int32 group_member_count = 3;</code>
|
||
*/
|
||
public Builder setGroupMemberCount(int value) {
|
||
|
||
groupMemberCount_ = value;
|
||
onChanged();
|
||
return this;
|
||
}
|
||
/**
|
||
* <pre>
|
||
*群组的成员数量
|
||
* </pre>
|
||
*
|
||
* <code>int32 group_member_count = 3;</code>
|
||
*/
|
||
public Builder clearGroupMemberCount() {
|
||
|
||
groupMemberCount_ = 0;
|
||
onChanged();
|
||
return this;
|
||
}
|
||
|
||
private java.util.List<com.akaxin.proto.core.GroupProto.GroupMemberProfile> groupLastestMember_ =
|
||
java.util.Collections.emptyList();
|
||
private void ensureGroupLastestMemberIsMutable() {
|
||
if (!((bitField0_ & 0x00000008) == 0x00000008)) {
|
||
groupLastestMember_ = new java.util.ArrayList<com.akaxin.proto.core.GroupProto.GroupMemberProfile>(groupLastestMember_);
|
||
bitField0_ |= 0x00000008;
|
||
}
|
||
}
|
||
|
||
private com.google.protobuf.RepeatedFieldBuilderV3<
|
||
com.akaxin.proto.core.GroupProto.GroupMemberProfile, com.akaxin.proto.core.GroupProto.GroupMemberProfile.Builder, com.akaxin.proto.core.GroupProto.GroupMemberProfileOrBuilder> groupLastestMemberBuilder_;
|
||
|
||
/**
|
||
* <pre>
|
||
*群成员
|
||
* </pre>
|
||
*
|
||
* <code>repeated .core.GroupMemberProfile group_lastest_member = 4;</code>
|
||
*/
|
||
public java.util.List<com.akaxin.proto.core.GroupProto.GroupMemberProfile> getGroupLastestMemberList() {
|
||
if (groupLastestMemberBuilder_ == null) {
|
||
return java.util.Collections.unmodifiableList(groupLastestMember_);
|
||
} else {
|
||
return groupLastestMemberBuilder_.getMessageList();
|
||
}
|
||
}
|
||
/**
|
||
* <pre>
|
||
*群成员
|
||
* </pre>
|
||
*
|
||
* <code>repeated .core.GroupMemberProfile group_lastest_member = 4;</code>
|
||
*/
|
||
public int getGroupLastestMemberCount() {
|
||
if (groupLastestMemberBuilder_ == null) {
|
||
return groupLastestMember_.size();
|
||
} else {
|
||
return groupLastestMemberBuilder_.getCount();
|
||
}
|
||
}
|
||
/**
|
||
* <pre>
|
||
*群成员
|
||
* </pre>
|
||
*
|
||
* <code>repeated .core.GroupMemberProfile group_lastest_member = 4;</code>
|
||
*/
|
||
public com.akaxin.proto.core.GroupProto.GroupMemberProfile getGroupLastestMember(int index) {
|
||
if (groupLastestMemberBuilder_ == null) {
|
||
return groupLastestMember_.get(index);
|
||
} else {
|
||
return groupLastestMemberBuilder_.getMessage(index);
|
||
}
|
||
}
|
||
/**
|
||
* <pre>
|
||
*群成员
|
||
* </pre>
|
||
*
|
||
* <code>repeated .core.GroupMemberProfile group_lastest_member = 4;</code>
|
||
*/
|
||
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;
|
||
}
|
||
/**
|
||
* <pre>
|
||
*群成员
|
||
* </pre>
|
||
*
|
||
* <code>repeated .core.GroupMemberProfile group_lastest_member = 4;</code>
|
||
*/
|
||
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;
|
||
}
|
||
/**
|
||
* <pre>
|
||
*群成员
|
||
* </pre>
|
||
*
|
||
* <code>repeated .core.GroupMemberProfile group_lastest_member = 4;</code>
|
||
*/
|
||
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;
|
||
}
|
||
/**
|
||
* <pre>
|
||
*群成员
|
||
* </pre>
|
||
*
|
||
* <code>repeated .core.GroupMemberProfile group_lastest_member = 4;</code>
|
||
*/
|
||
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;
|
||
}
|
||
/**
|
||
* <pre>
|
||
*群成员
|
||
* </pre>
|
||
*
|
||
* <code>repeated .core.GroupMemberProfile group_lastest_member = 4;</code>
|
||
*/
|
||
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;
|
||
}
|
||
/**
|
||
* <pre>
|
||
*群成员
|
||
* </pre>
|
||
*
|
||
* <code>repeated .core.GroupMemberProfile group_lastest_member = 4;</code>
|
||
*/
|
||
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;
|
||
}
|
||
/**
|
||
* <pre>
|
||
*群成员
|
||
* </pre>
|
||
*
|
||
* <code>repeated .core.GroupMemberProfile group_lastest_member = 4;</code>
|
||
*/
|
||
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;
|
||
}
|
||
/**
|
||
* <pre>
|
||
*群成员
|
||
* </pre>
|
||
*
|
||
* <code>repeated .core.GroupMemberProfile group_lastest_member = 4;</code>
|
||
*/
|
||
public Builder clearGroupLastestMember() {
|
||
if (groupLastestMemberBuilder_ == null) {
|
||
groupLastestMember_ = java.util.Collections.emptyList();
|
||
bitField0_ = (bitField0_ & ~0x00000008);
|
||
onChanged();
|
||
} else {
|
||
groupLastestMemberBuilder_.clear();
|
||
}
|
||
return this;
|
||
}
|
||
/**
|
||
* <pre>
|
||
*群成员
|
||
* </pre>
|
||
*
|
||
* <code>repeated .core.GroupMemberProfile group_lastest_member = 4;</code>
|
||
*/
|
||
public Builder removeGroupLastestMember(int index) {
|
||
if (groupLastestMemberBuilder_ == null) {
|
||
ensureGroupLastestMemberIsMutable();
|
||
groupLastestMember_.remove(index);
|
||
onChanged();
|
||
} else {
|
||
groupLastestMemberBuilder_.remove(index);
|
||
}
|
||
return this;
|
||
}
|
||
/**
|
||
* <pre>
|
||
*群成员
|
||
* </pre>
|
||
*
|
||
* <code>repeated .core.GroupMemberProfile group_lastest_member = 4;</code>
|
||
*/
|
||
public com.akaxin.proto.core.GroupProto.GroupMemberProfile.Builder getGroupLastestMemberBuilder(
|
||
int index) {
|
||
return getGroupLastestMemberFieldBuilder().getBuilder(index);
|
||
}
|
||
/**
|
||
* <pre>
|
||
*群成员
|
||
* </pre>
|
||
*
|
||
* <code>repeated .core.GroupMemberProfile group_lastest_member = 4;</code>
|
||
*/
|
||
public com.akaxin.proto.core.GroupProto.GroupMemberProfileOrBuilder getGroupLastestMemberOrBuilder(
|
||
int index) {
|
||
if (groupLastestMemberBuilder_ == null) {
|
||
return groupLastestMember_.get(index); } else {
|
||
return groupLastestMemberBuilder_.getMessageOrBuilder(index);
|
||
}
|
||
}
|
||
/**
|
||
* <pre>
|
||
*群成员
|
||
* </pre>
|
||
*
|
||
* <code>repeated .core.GroupMemberProfile group_lastest_member = 4;</code>
|
||
*/
|
||
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_);
|
||
}
|
||
}
|
||
/**
|
||
* <pre>
|
||
*群成员
|
||
* </pre>
|
||
*
|
||
* <code>repeated .core.GroupMemberProfile group_lastest_member = 4;</code>
|
||
*/
|
||
public com.akaxin.proto.core.GroupProto.GroupMemberProfile.Builder addGroupLastestMemberBuilder() {
|
||
return getGroupLastestMemberFieldBuilder().addBuilder(
|
||
com.akaxin.proto.core.GroupProto.GroupMemberProfile.getDefaultInstance());
|
||
}
|
||
/**
|
||
* <pre>
|
||
*群成员
|
||
* </pre>
|
||
*
|
||
* <code>repeated .core.GroupMemberProfile group_lastest_member = 4;</code>
|
||
*/
|
||
public com.akaxin.proto.core.GroupProto.GroupMemberProfile.Builder addGroupLastestMemberBuilder(
|
||
int index) {
|
||
return getGroupLastestMemberFieldBuilder().addBuilder(
|
||
index, com.akaxin.proto.core.GroupProto.GroupMemberProfile.getDefaultInstance());
|
||
}
|
||
/**
|
||
* <pre>
|
||
*群成员
|
||
* </pre>
|
||
*
|
||
* <code>repeated .core.GroupMemberProfile group_lastest_member = 4;</code>
|
||
*/
|
||
public java.util.List<com.akaxin.proto.core.GroupProto.GroupMemberProfile.Builder>
|
||
getGroupLastestMemberBuilderList() {
|
||
return getGroupLastestMemberFieldBuilder().getBuilderList();
|
||
}
|
||
private com.google.protobuf.RepeatedFieldBuilderV3<
|
||
com.akaxin.proto.core.GroupProto.GroupMemberProfile, com.akaxin.proto.core.GroupProto.GroupMemberProfile.Builder, com.akaxin.proto.core.GroupProto.GroupMemberProfileOrBuilder>
|
||
getGroupLastestMemberFieldBuilder() {
|
||
if (groupLastestMemberBuilder_ == null) {
|
||
groupLastestMemberBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
|
||
com.akaxin.proto.core.GroupProto.GroupMemberProfile, com.akaxin.proto.core.GroupProto.GroupMemberProfile.Builder, com.akaxin.proto.core.GroupProto.GroupMemberProfileOrBuilder>(
|
||
groupLastestMember_,
|
||
((bitField0_ & 0x00000008) == 0x00000008),
|
||
getParentForChildren(),
|
||
isClean());
|
||
groupLastestMember_ = null;
|
||
}
|
||
return groupLastestMemberBuilder_;
|
||
}
|
||
|
||
private boolean closeInviteGroupChat_ ;
|
||
/**
|
||
* <pre>
|
||
*关闭邀请新用户群聊 true:打开 false:关闭
|
||
* </pre>
|
||
*
|
||
* <code>bool close_invite_group_chat = 5;</code>
|
||
*/
|
||
public boolean getCloseInviteGroupChat() {
|
||
return closeInviteGroupChat_;
|
||
}
|
||
/**
|
||
* <pre>
|
||
*关闭邀请新用户群聊 true:打开 false:关闭
|
||
* </pre>
|
||
*
|
||
* <code>bool close_invite_group_chat = 5;</code>
|
||
*/
|
||
public Builder setCloseInviteGroupChat(boolean value) {
|
||
|
||
closeInviteGroupChat_ = value;
|
||
onChanged();
|
||
return this;
|
||
}
|
||
/**
|
||
* <pre>
|
||
*关闭邀请新用户群聊 true:打开 false:关闭
|
||
* </pre>
|
||
*
|
||
* <code>bool close_invite_group_chat = 5;</code>
|
||
*/
|
||
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<ApiGroupProfileResponse>
|
||
PARSER = new com.google.protobuf.AbstractParser<ApiGroupProfileResponse>() {
|
||
public ApiGroupProfileResponse parsePartialFrom(
|
||
com.google.protobuf.CodedInputStream input,
|
||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||
return new ApiGroupProfileResponse(input, extensionRegistry);
|
||
}
|
||
};
|
||
|
||
public static com.google.protobuf.Parser<ApiGroupProfileResponse> parser() {
|
||
return PARSER;
|
||
}
|
||
|
||
@java.lang.Override
|
||
public com.google.protobuf.Parser<ApiGroupProfileResponse> getParserForType() {
|
||
return PARSER;
|
||
}
|
||
|
||
public com.akaxin.proto.site.ApiGroupProfileProto.ApiGroupProfileResponse getDefaultInstanceForType() {
|
||
return DEFAULT_INSTANCE;
|
||
}
|
||
|
||
}
|
||
|
||
private static final com.google.protobuf.Descriptors.Descriptor
|
||
internal_static_site_ApiGroupProfileRequest_descriptor;
|
||
private static final
|
||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||
internal_static_site_ApiGroupProfileRequest_fieldAccessorTable;
|
||
private static final com.google.protobuf.Descriptors.Descriptor
|
||
internal_static_site_ApiGroupProfileResponse_descriptor;
|
||
private static final
|
||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||
internal_static_site_ApiGroupProfileResponse_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\034site/api_group_profile.proto\022\004site\032\017co" +
|
||
"re/user.proto\032\020core/group.proto\"*\n\026ApiGr" +
|
||
"oupProfileRequest\022\020\n\010group_id\030\001 \001(\t\"\325\001\n\027" +
|
||
"ApiGroupProfileResponse\022#\n\007profile\030\001 \001(\013" +
|
||
"2\022.core.GroupProfile\022 \n\005owner\030\002 \001(\0132\021.co" +
|
||
"re.UserProfile\022\032\n\022group_member_count\030\003 \001" +
|
||
"(\005\0226\n\024group_lastest_member\030\004 \003(\0132\030.core." +
|
||
"GroupMemberProfile\022\037\n\027close_invite_group" +
|
||
"_chat\030\005 \001(\0102`\n\026ApiGroupProfileService\022F\n" +
|
||
"\007profile\022\034.site.ApiGroupProfileRequest\032\035" +
|
||
".site.ApiGroupProfileResponseB-\n\025com.aka" +
|
||
"xin.proto.siteB\024ApiGroupProfileProtob\006pr" +
|
||
"oto3"
|
||
};
|
||
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
|
||
new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
|
||
public com.google.protobuf.ExtensionRegistry assignDescriptors(
|
||
com.google.protobuf.Descriptors.FileDescriptor root) {
|
||
descriptor = root;
|
||
return null;
|
||
}
|
||
};
|
||
com.google.protobuf.Descriptors.FileDescriptor
|
||
.internalBuildGeneratedFileFrom(descriptorData,
|
||
new com.google.protobuf.Descriptors.FileDescriptor[] {
|
||
com.akaxin.proto.core.UserProto.getDescriptor(),
|
||
com.akaxin.proto.core.GroupProto.getDescriptor(),
|
||
}, assigner);
|
||
internal_static_site_ApiGroupProfileRequest_descriptor =
|
||
getDescriptor().getMessageTypes().get(0);
|
||
internal_static_site_ApiGroupProfileRequest_fieldAccessorTable = new
|
||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||
internal_static_site_ApiGroupProfileRequest_descriptor,
|
||
new java.lang.String[] { "GroupId", });
|
||
internal_static_site_ApiGroupProfileResponse_descriptor =
|
||
getDescriptor().getMessageTypes().get(1);
|
||
internal_static_site_ApiGroupProfileResponse_fieldAccessorTable = new
|
||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||
internal_static_site_ApiGroupProfileResponse_descriptor,
|
||
new java.lang.String[] { "Profile", "Owner", "GroupMemberCount", "GroupLastestMember", "CloseInviteGroupChat", });
|
||
com.akaxin.proto.core.UserProto.getDescriptor();
|
||
com.akaxin.proto.core.GroupProto.getDescriptor();
|
||
}
|
||
|
||
// @@protoc_insertion_point(outer_class_scope)
|
||
}
|