diff --git a/common/src/main/java/cn/wildfirechat/proto/ProtoConstants.java b/common/src/main/java/cn/wildfirechat/proto/ProtoConstants.java
index 10eed8d5..22231e90 100644
--- a/common/src/main/java/cn/wildfirechat/proto/ProtoConstants.java
+++ b/common/src/main/java/cn/wildfirechat/proto/ProtoConstants.java
@@ -87,6 +87,10 @@ public class ProtoConstants {
int Modify_Group_Name = 0;
int Modify_Group_Portrait = 1;
int Modify_Group_Extra = 2;
+ int Modify_Group_Mute = 3;
+ int Modify_Group_JoinType = 4;
+ int Modify_Group_PrivateChat = 5;
+ int Modify_Group_Searchable = 6;
}
//ModifyGroupInfoRequest -> type
diff --git a/common/src/main/java/cn/wildfirechat/proto/WFCMessage.java b/common/src/main/java/cn/wildfirechat/proto/WFCMessage.java
index 69f57cc8..eb02b06b 100644
--- a/common/src/main/java/cn/wildfirechat/proto/WFCMessage.java
+++ b/common/src/main/java/cn/wildfirechat/proto/WFCMessage.java
@@ -29022,6 +29022,1120 @@ public final class WFCMessage {
// @@protoc_insertion_point(class_scope:ModifyGroupInfoRequest)
}
+ public interface SetGroupManagerRequestOrBuilder
+ extends com.google.protobuf.MessageOrBuilder {
+
+ // required string group_id = 1;
+ /**
+ * required string group_id = 1;
+ */
+ boolean hasGroupId();
+ /**
+ * required string group_id = 1;
+ */
+ java.lang.String getGroupId();
+ /**
+ * required string group_id = 1;
+ */
+ com.google.protobuf.ByteString
+ getGroupIdBytes();
+
+ // required int32 type = 2;
+ /**
+ * required int32 type = 2;
+ */
+ boolean hasType();
+ /**
+ * required int32 type = 2;
+ */
+ int getType();
+
+ // repeated string user_id = 3;
+ /**
+ * repeated string user_id = 3;
+ */
+ java.util.List
+ getUserIdList();
+ /**
+ * repeated string user_id = 3;
+ */
+ int getUserIdCount();
+ /**
+ * repeated string user_id = 3;
+ */
+ java.lang.String getUserId(int index);
+ /**
+ * repeated string user_id = 3;
+ */
+ com.google.protobuf.ByteString
+ getUserIdBytes(int index);
+
+ // repeated int32 to_line = 4;
+ /**
+ * repeated int32 to_line = 4;
+ */
+ java.util.List getToLineList();
+ /**
+ * repeated int32 to_line = 4;
+ */
+ int getToLineCount();
+ /**
+ * repeated int32 to_line = 4;
+ */
+ int getToLine(int index);
+
+ // optional .MessageContent notify_content = 5;
+ /**
+ * optional .MessageContent notify_content = 5;
+ */
+ boolean hasNotifyContent();
+ /**
+ * optional .MessageContent notify_content = 5;
+ */
+ cn.wildfirechat.proto.WFCMessage.MessageContent getNotifyContent();
+ /**
+ * optional .MessageContent notify_content = 5;
+ */
+ cn.wildfirechat.proto.WFCMessage.MessageContentOrBuilder getNotifyContentOrBuilder();
+ }
+ /**
+ * Protobuf type {@code SetGroupManagerRequest}
+ */
+ public static final class SetGroupManagerRequest extends
+ com.google.protobuf.GeneratedMessage
+ implements SetGroupManagerRequestOrBuilder {
+ // Use SetGroupManagerRequest.newBuilder() to construct.
+ private SetGroupManagerRequest(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ super(builder);
+ this.unknownFields = builder.getUnknownFields();
+ }
+ private SetGroupManagerRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
+
+ private static final SetGroupManagerRequest defaultInstance;
+ public static SetGroupManagerRequest getDefaultInstance() {
+ return defaultInstance;
+ }
+
+ public SetGroupManagerRequest getDefaultInstanceForType() {
+ return defaultInstance;
+ }
+
+ private final com.google.protobuf.UnknownFieldSet unknownFields;
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ private SetGroupManagerRequest(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ initFields();
+ 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 (!parseUnknownField(input, unknownFields,
+ extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ case 10: {
+ bitField0_ |= 0x00000001;
+ groupId_ = input.readBytes();
+ break;
+ }
+ case 16: {
+ bitField0_ |= 0x00000002;
+ type_ = input.readInt32();
+ break;
+ }
+ case 26: {
+ if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
+ userId_ = new com.google.protobuf.LazyStringArrayList();
+ mutable_bitField0_ |= 0x00000004;
+ }
+ userId_.add(input.readBytes());
+ break;
+ }
+ case 32: {
+ if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
+ toLine_ = new java.util.ArrayList();
+ mutable_bitField0_ |= 0x00000008;
+ }
+ toLine_.add(input.readInt32());
+ break;
+ }
+ case 34: {
+ int length = input.readRawVarint32();
+ int limit = input.pushLimit(length);
+ if (!((mutable_bitField0_ & 0x00000008) == 0x00000008) && input.getBytesUntilLimit() > 0) {
+ toLine_ = new java.util.ArrayList();
+ mutable_bitField0_ |= 0x00000008;
+ }
+ while (input.getBytesUntilLimit() > 0) {
+ toLine_.add(input.readInt32());
+ }
+ input.popLimit(limit);
+ break;
+ }
+ case 42: {
+ cn.wildfirechat.proto.WFCMessage.MessageContent.Builder subBuilder = null;
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ subBuilder = notifyContent_.toBuilder();
+ }
+ notifyContent_ = input.readMessage(cn.wildfirechat.proto.WFCMessage.MessageContent.PARSER, extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(notifyContent_);
+ notifyContent_ = subBuilder.buildPartial();
+ }
+ bitField0_ |= 0x00000004;
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(
+ e.getMessage()).setUnfinishedMessage(this);
+ } finally {
+ if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
+ userId_ = new com.google.protobuf.UnmodifiableLazyStringList(userId_);
+ }
+ if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
+ toLine_ = java.util.Collections.unmodifiableList(toLine_);
+ }
+ this.unknownFields = unknownFields.build();
+ makeExtensionsImmutable();
+ }
+ }
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return cn.wildfirechat.proto.WFCMessage.internal_static_SetGroupManagerRequest_descriptor;
+ }
+
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return cn.wildfirechat.proto.WFCMessage.internal_static_SetGroupManagerRequest_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ cn.wildfirechat.proto.WFCMessage.SetGroupManagerRequest.class, cn.wildfirechat.proto.WFCMessage.SetGroupManagerRequest.Builder.class);
+ }
+
+ public static com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ public SetGroupManagerRequest parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return new SetGroupManagerRequest(input, extensionRegistry);
+ }
+ };
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ private int bitField0_;
+ // required string group_id = 1;
+ public static final int GROUP_ID_FIELD_NUMBER = 1;
+ private java.lang.Object groupId_;
+ /**
+ * required string group_id = 1;
+ */
+ public boolean hasGroupId() {
+ return ((bitField0_ & 0x00000001) == 0x00000001);
+ }
+ /**
+ * required 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();
+ if (bs.isValidUtf8()) {
+ groupId_ = s;
+ }
+ return s;
+ }
+ }
+ /**
+ * required 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;
+ }
+ }
+
+ // required int32 type = 2;
+ public static final int TYPE_FIELD_NUMBER = 2;
+ private int type_;
+ /**
+ * required int32 type = 2;
+ */
+ public boolean hasType() {
+ return ((bitField0_ & 0x00000002) == 0x00000002);
+ }
+ /**
+ * required int32 type = 2;
+ */
+ public int getType() {
+ return type_;
+ }
+
+ // repeated string user_id = 3;
+ public static final int USER_ID_FIELD_NUMBER = 3;
+ private com.google.protobuf.LazyStringList userId_;
+ /**
+ * repeated string user_id = 3;
+ */
+ public java.util.List
+ getUserIdList() {
+ return userId_;
+ }
+ /**
+ * repeated string user_id = 3;
+ */
+ public int getUserIdCount() {
+ return userId_.size();
+ }
+ /**
+ * repeated string user_id = 3;
+ */
+ public java.lang.String getUserId(int index) {
+ return userId_.get(index);
+ }
+ /**
+ * repeated string user_id = 3;
+ */
+ public com.google.protobuf.ByteString
+ getUserIdBytes(int index) {
+ return userId_.getByteString(index);
+ }
+
+ // repeated int32 to_line = 4;
+ public static final int TO_LINE_FIELD_NUMBER = 4;
+ private java.util.List toLine_;
+ /**
+ * repeated int32 to_line = 4;
+ */
+ public java.util.List
+ getToLineList() {
+ return toLine_;
+ }
+ /**
+ * repeated int32 to_line = 4;
+ */
+ public int getToLineCount() {
+ return toLine_.size();
+ }
+ /**
+ * repeated int32 to_line = 4;
+ */
+ public int getToLine(int index) {
+ return toLine_.get(index);
+ }
+
+ // optional .MessageContent notify_content = 5;
+ public static final int NOTIFY_CONTENT_FIELD_NUMBER = 5;
+ private cn.wildfirechat.proto.WFCMessage.MessageContent notifyContent_;
+ /**
+ * optional .MessageContent notify_content = 5;
+ */
+ public boolean hasNotifyContent() {
+ return ((bitField0_ & 0x00000004) == 0x00000004);
+ }
+ /**
+ * optional .MessageContent notify_content = 5;
+ */
+ public cn.wildfirechat.proto.WFCMessage.MessageContent getNotifyContent() {
+ return notifyContent_;
+ }
+ /**
+ * optional .MessageContent notify_content = 5;
+ */
+ public cn.wildfirechat.proto.WFCMessage.MessageContentOrBuilder getNotifyContentOrBuilder() {
+ return notifyContent_;
+ }
+
+ private void initFields() {
+ groupId_ = "";
+ type_ = 0;
+ userId_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ toLine_ = java.util.Collections.emptyList();
+ notifyContent_ = cn.wildfirechat.proto.WFCMessage.MessageContent.getDefaultInstance();
+ }
+ private byte memoizedIsInitialized = -1;
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized != -1) return isInitialized == 1;
+
+ if (!hasGroupId()) {
+ memoizedIsInitialized = 0;
+ return false;
+ }
+ if (!hasType()) {
+ memoizedIsInitialized = 0;
+ return false;
+ }
+ if (hasNotifyContent()) {
+ if (!getNotifyContent().isInitialized()) {
+ memoizedIsInitialized = 0;
+ return false;
+ }
+ }
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
+ throws java.io.IOException {
+ getSerializedSize();
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ output.writeBytes(1, getGroupIdBytes());
+ }
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ output.writeInt32(2, type_);
+ }
+ for (int i = 0; i < userId_.size(); i++) {
+ output.writeBytes(3, userId_.getByteString(i));
+ }
+ for (int i = 0; i < toLine_.size(); i++) {
+ output.writeInt32(4, toLine_.get(i));
+ }
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ output.writeMessage(5, notifyContent_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ private int memoizedSerializedSize = -1;
+ public int getSerializedSize() {
+ int size = memoizedSerializedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBytesSize(1, getGroupIdBytes());
+ }
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32Size(2, type_);
+ }
+ {
+ int dataSize = 0;
+ for (int i = 0; i < userId_.size(); i++) {
+ dataSize += com.google.protobuf.CodedOutputStream
+ .computeBytesSizeNoTag(userId_.getByteString(i));
+ }
+ size += dataSize;
+ size += 1 * getUserIdList().size();
+ }
+ {
+ int dataSize = 0;
+ for (int i = 0; i < toLine_.size(); i++) {
+ dataSize += com.google.protobuf.CodedOutputStream
+ .computeInt32SizeNoTag(toLine_.get(i));
+ }
+ size += dataSize;
+ size += 1 * getToLineList().size();
+ }
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(5, notifyContent_);
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSerializedSize = size;
+ return size;
+ }
+
+ private static final long serialVersionUID = 0L;
+ @java.lang.Override
+ protected java.lang.Object writeReplace()
+ throws java.io.ObjectStreamException {
+ return super.writeReplace();
+ }
+
+ public static cn.wildfirechat.proto.WFCMessage.SetGroupManagerRequest parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static cn.wildfirechat.proto.WFCMessage.SetGroupManagerRequest parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static cn.wildfirechat.proto.WFCMessage.SetGroupManagerRequest parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static cn.wildfirechat.proto.WFCMessage.SetGroupManagerRequest parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static cn.wildfirechat.proto.WFCMessage.SetGroupManagerRequest parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return PARSER.parseFrom(input);
+ }
+ public static cn.wildfirechat.proto.WFCMessage.SetGroupManagerRequest parseFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return PARSER.parseFrom(input, extensionRegistry);
+ }
+ public static cn.wildfirechat.proto.WFCMessage.SetGroupManagerRequest parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return PARSER.parseDelimitedFrom(input);
+ }
+ public static cn.wildfirechat.proto.WFCMessage.SetGroupManagerRequest parseDelimitedFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return PARSER.parseDelimitedFrom(input, extensionRegistry);
+ }
+ public static cn.wildfirechat.proto.WFCMessage.SetGroupManagerRequest parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return PARSER.parseFrom(input);
+ }
+ public static cn.wildfirechat.proto.WFCMessage.SetGroupManagerRequest parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return PARSER.parseFrom(input, extensionRegistry);
+ }
+
+ public static Builder newBuilder() { return Builder.create(); }
+ public Builder newBuilderForType() { return newBuilder(); }
+ public static Builder newBuilder(cn.wildfirechat.proto.WFCMessage.SetGroupManagerRequest prototype) {
+ return newBuilder().mergeFrom(prototype);
+ }
+ public Builder toBuilder() { return newBuilder(this); }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ * Protobuf type {@code SetGroupManagerRequest}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessage.Builder
+ implements cn.wildfirechat.proto.WFCMessage.SetGroupManagerRequestOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return cn.wildfirechat.proto.WFCMessage.internal_static_SetGroupManagerRequest_descriptor;
+ }
+
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return cn.wildfirechat.proto.WFCMessage.internal_static_SetGroupManagerRequest_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ cn.wildfirechat.proto.WFCMessage.SetGroupManagerRequest.class, cn.wildfirechat.proto.WFCMessage.SetGroupManagerRequest.Builder.class);
+ }
+
+ // Construct using cn.wildfirechat.proto.WFCMessage.SetGroupManagerRequest.newBuilder()
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
+
+ private Builder(
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ super(parent);
+ maybeForceBuilderInitialization();
+ }
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
+ getNotifyContentFieldBuilder();
+ }
+ }
+ private static Builder create() {
+ return new Builder();
+ }
+
+ public Builder clear() {
+ super.clear();
+ groupId_ = "";
+ bitField0_ = (bitField0_ & ~0x00000001);
+ type_ = 0;
+ bitField0_ = (bitField0_ & ~0x00000002);
+ userId_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ bitField0_ = (bitField0_ & ~0x00000004);
+ toLine_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000008);
+ if (notifyContentBuilder_ == null) {
+ notifyContent_ = cn.wildfirechat.proto.WFCMessage.MessageContent.getDefaultInstance();
+ } else {
+ notifyContentBuilder_.clear();
+ }
+ bitField0_ = (bitField0_ & ~0x00000010);
+ return this;
+ }
+
+ public Builder clone() {
+ return create().mergeFrom(buildPartial());
+ }
+
+ public com.google.protobuf.Descriptors.Descriptor
+ getDescriptorForType() {
+ return cn.wildfirechat.proto.WFCMessage.internal_static_SetGroupManagerRequest_descriptor;
+ }
+
+ public cn.wildfirechat.proto.WFCMessage.SetGroupManagerRequest getDefaultInstanceForType() {
+ return cn.wildfirechat.proto.WFCMessage.SetGroupManagerRequest.getDefaultInstance();
+ }
+
+ public cn.wildfirechat.proto.WFCMessage.SetGroupManagerRequest build() {
+ cn.wildfirechat.proto.WFCMessage.SetGroupManagerRequest result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ public cn.wildfirechat.proto.WFCMessage.SetGroupManagerRequest buildPartial() {
+ cn.wildfirechat.proto.WFCMessage.SetGroupManagerRequest result = new cn.wildfirechat.proto.WFCMessage.SetGroupManagerRequest(this);
+ int from_bitField0_ = bitField0_;
+ int to_bitField0_ = 0;
+ if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
+ to_bitField0_ |= 0x00000001;
+ }
+ result.groupId_ = groupId_;
+ if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
+ to_bitField0_ |= 0x00000002;
+ }
+ result.type_ = type_;
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ userId_ = new com.google.protobuf.UnmodifiableLazyStringList(
+ userId_);
+ bitField0_ = (bitField0_ & ~0x00000004);
+ }
+ result.userId_ = userId_;
+ if (((bitField0_ & 0x00000008) == 0x00000008)) {
+ toLine_ = java.util.Collections.unmodifiableList(toLine_);
+ bitField0_ = (bitField0_ & ~0x00000008);
+ }
+ result.toLine_ = toLine_;
+ if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
+ to_bitField0_ |= 0x00000004;
+ }
+ if (notifyContentBuilder_ == null) {
+ result.notifyContent_ = notifyContent_;
+ } else {
+ result.notifyContent_ = notifyContentBuilder_.build();
+ }
+ result.bitField0_ = to_bitField0_;
+ onBuilt();
+ return result;
+ }
+
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof cn.wildfirechat.proto.WFCMessage.SetGroupManagerRequest) {
+ return mergeFrom((cn.wildfirechat.proto.WFCMessage.SetGroupManagerRequest)other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(cn.wildfirechat.proto.WFCMessage.SetGroupManagerRequest other) {
+ if (other == cn.wildfirechat.proto.WFCMessage.SetGroupManagerRequest.getDefaultInstance()) return this;
+ if (other.hasGroupId()) {
+ bitField0_ |= 0x00000001;
+ groupId_ = other.groupId_;
+ onChanged();
+ }
+ if (other.hasType()) {
+ setType(other.getType());
+ }
+ if (!other.userId_.isEmpty()) {
+ if (userId_.isEmpty()) {
+ userId_ = other.userId_;
+ bitField0_ = (bitField0_ & ~0x00000004);
+ } else {
+ ensureUserIdIsMutable();
+ userId_.addAll(other.userId_);
+ }
+ onChanged();
+ }
+ if (!other.toLine_.isEmpty()) {
+ if (toLine_.isEmpty()) {
+ toLine_ = other.toLine_;
+ bitField0_ = (bitField0_ & ~0x00000008);
+ } else {
+ ensureToLineIsMutable();
+ toLine_.addAll(other.toLine_);
+ }
+ onChanged();
+ }
+ if (other.hasNotifyContent()) {
+ mergeNotifyContent(other.getNotifyContent());
+ }
+ this.mergeUnknownFields(other.getUnknownFields());
+ return this;
+ }
+
+ public final boolean isInitialized() {
+ if (!hasGroupId()) {
+
+ return false;
+ }
+ if (!hasType()) {
+
+ return false;
+ }
+ if (hasNotifyContent()) {
+ if (!getNotifyContent().isInitialized()) {
+
+ return false;
+ }
+ }
+ return true;
+ }
+
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ cn.wildfirechat.proto.WFCMessage.SetGroupManagerRequest parsedMessage = null;
+ try {
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (cn.wildfirechat.proto.WFCMessage.SetGroupManagerRequest) e.getUnfinishedMessage();
+ throw e;
+ } finally {
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
+ return this;
+ }
+ private int bitField0_;
+
+ // required string group_id = 1;
+ private java.lang.Object groupId_ = "";
+ /**
+ * required string group_id = 1;
+ */
+ public boolean hasGroupId() {
+ return ((bitField0_ & 0x00000001) == 0x00000001);
+ }
+ /**
+ * required string group_id = 1;
+ */
+ public java.lang.String getGroupId() {
+ java.lang.Object ref = groupId_;
+ if (!(ref instanceof java.lang.String)) {
+ java.lang.String s = ((com.google.protobuf.ByteString) ref)
+ .toStringUtf8();
+ groupId_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * required 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;
+ }
+ }
+ /**
+ * required string group_id = 1;
+ */
+ public Builder setGroupId(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000001;
+ groupId_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * required string group_id = 1;
+ */
+ public Builder clearGroupId() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ groupId_ = getDefaultInstance().getGroupId();
+ onChanged();
+ return this;
+ }
+ /**
+ * required string group_id = 1;
+ */
+ public Builder setGroupIdBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000001;
+ groupId_ = value;
+ onChanged();
+ return this;
+ }
+
+ // required int32 type = 2;
+ private int type_ ;
+ /**
+ * required int32 type = 2;
+ */
+ public boolean hasType() {
+ return ((bitField0_ & 0x00000002) == 0x00000002);
+ }
+ /**
+ * required int32 type = 2;
+ */
+ public int getType() {
+ return type_;
+ }
+ /**
+ * required int32 type = 2;
+ */
+ public Builder setType(int value) {
+ bitField0_ |= 0x00000002;
+ type_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * required int32 type = 2;
+ */
+ public Builder clearType() {
+ bitField0_ = (bitField0_ & ~0x00000002);
+ type_ = 0;
+ onChanged();
+ return this;
+ }
+
+ // repeated string user_id = 3;
+ private com.google.protobuf.LazyStringList userId_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ private void ensureUserIdIsMutable() {
+ if (!((bitField0_ & 0x00000004) == 0x00000004)) {
+ userId_ = new com.google.protobuf.LazyStringArrayList(userId_);
+ bitField0_ |= 0x00000004;
+ }
+ }
+ /**
+ * repeated string user_id = 3;
+ */
+ public java.util.List
+ getUserIdList() {
+ return java.util.Collections.unmodifiableList(userId_);
+ }
+ /**
+ * repeated string user_id = 3;
+ */
+ public int getUserIdCount() {
+ return userId_.size();
+ }
+ /**
+ * repeated string user_id = 3;
+ */
+ public java.lang.String getUserId(int index) {
+ return userId_.get(index);
+ }
+ /**
+ * repeated string user_id = 3;
+ */
+ public com.google.protobuf.ByteString
+ getUserIdBytes(int index) {
+ return userId_.getByteString(index);
+ }
+ /**
+ * repeated string user_id = 3;
+ */
+ public Builder setUserId(
+ int index, java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureUserIdIsMutable();
+ userId_.set(index, value);
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated string user_id = 3;
+ */
+ public Builder addUserId(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureUserIdIsMutable();
+ userId_.add(value);
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated string user_id = 3;
+ */
+ public Builder addAllUserId(
+ java.lang.Iterable values) {
+ ensureUserIdIsMutable();
+ super.addAll(values, userId_);
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated string user_id = 3;
+ */
+ public Builder clearUserId() {
+ userId_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ bitField0_ = (bitField0_ & ~0x00000004);
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated string user_id = 3;
+ */
+ public Builder addUserIdBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureUserIdIsMutable();
+ userId_.add(value);
+ onChanged();
+ return this;
+ }
+
+ // repeated int32 to_line = 4;
+ private java.util.List toLine_ = java.util.Collections.emptyList();
+ private void ensureToLineIsMutable() {
+ if (!((bitField0_ & 0x00000008) == 0x00000008)) {
+ toLine_ = new java.util.ArrayList(toLine_);
+ bitField0_ |= 0x00000008;
+ }
+ }
+ /**
+ * repeated int32 to_line = 4;
+ */
+ public java.util.List
+ getToLineList() {
+ return java.util.Collections.unmodifiableList(toLine_);
+ }
+ /**
+ * repeated int32 to_line = 4;
+ */
+ public int getToLineCount() {
+ return toLine_.size();
+ }
+ /**
+ * repeated int32 to_line = 4;
+ */
+ public int getToLine(int index) {
+ return toLine_.get(index);
+ }
+ /**
+ * repeated int32 to_line = 4;
+ */
+ public Builder setToLine(
+ int index, int value) {
+ ensureToLineIsMutable();
+ toLine_.set(index, value);
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated int32 to_line = 4;
+ */
+ public Builder addToLine(int value) {
+ ensureToLineIsMutable();
+ toLine_.add(value);
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated int32 to_line = 4;
+ */
+ public Builder addAllToLine(
+ java.lang.Iterable extends java.lang.Integer> values) {
+ ensureToLineIsMutable();
+ super.addAll(values, toLine_);
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated int32 to_line = 4;
+ */
+ public Builder clearToLine() {
+ toLine_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000008);
+ onChanged();
+ return this;
+ }
+
+ // optional .MessageContent notify_content = 5;
+ private cn.wildfirechat.proto.WFCMessage.MessageContent notifyContent_ = cn.wildfirechat.proto.WFCMessage.MessageContent.getDefaultInstance();
+ private com.google.protobuf.SingleFieldBuilder<
+ cn.wildfirechat.proto.WFCMessage.MessageContent, cn.wildfirechat.proto.WFCMessage.MessageContent.Builder, cn.wildfirechat.proto.WFCMessage.MessageContentOrBuilder> notifyContentBuilder_;
+ /**
+ * optional .MessageContent notify_content = 5;
+ */
+ public boolean hasNotifyContent() {
+ return ((bitField0_ & 0x00000010) == 0x00000010);
+ }
+ /**
+ * optional .MessageContent notify_content = 5;
+ */
+ public cn.wildfirechat.proto.WFCMessage.MessageContent getNotifyContent() {
+ if (notifyContentBuilder_ == null) {
+ return notifyContent_;
+ } else {
+ return notifyContentBuilder_.getMessage();
+ }
+ }
+ /**
+ * optional .MessageContent notify_content = 5;
+ */
+ public Builder setNotifyContent(cn.wildfirechat.proto.WFCMessage.MessageContent value) {
+ if (notifyContentBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ notifyContent_ = value;
+ onChanged();
+ } else {
+ notifyContentBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000010;
+ return this;
+ }
+ /**
+ * optional .MessageContent notify_content = 5;
+ */
+ public Builder setNotifyContent(
+ cn.wildfirechat.proto.WFCMessage.MessageContent.Builder builderForValue) {
+ if (notifyContentBuilder_ == null) {
+ notifyContent_ = builderForValue.build();
+ onChanged();
+ } else {
+ notifyContentBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000010;
+ return this;
+ }
+ /**
+ * optional .MessageContent notify_content = 5;
+ */
+ public Builder mergeNotifyContent(cn.wildfirechat.proto.WFCMessage.MessageContent value) {
+ if (notifyContentBuilder_ == null) {
+ if (((bitField0_ & 0x00000010) == 0x00000010) &&
+ notifyContent_ != cn.wildfirechat.proto.WFCMessage.MessageContent.getDefaultInstance()) {
+ notifyContent_ =
+ cn.wildfirechat.proto.WFCMessage.MessageContent.newBuilder(notifyContent_).mergeFrom(value).buildPartial();
+ } else {
+ notifyContent_ = value;
+ }
+ onChanged();
+ } else {
+ notifyContentBuilder_.mergeFrom(value);
+ }
+ bitField0_ |= 0x00000010;
+ return this;
+ }
+ /**
+ * optional .MessageContent notify_content = 5;
+ */
+ public Builder clearNotifyContent() {
+ if (notifyContentBuilder_ == null) {
+ notifyContent_ = cn.wildfirechat.proto.WFCMessage.MessageContent.getDefaultInstance();
+ onChanged();
+ } else {
+ notifyContentBuilder_.clear();
+ }
+ bitField0_ = (bitField0_ & ~0x00000010);
+ return this;
+ }
+ /**
+ * optional .MessageContent notify_content = 5;
+ */
+ public cn.wildfirechat.proto.WFCMessage.MessageContent.Builder getNotifyContentBuilder() {
+ bitField0_ |= 0x00000010;
+ onChanged();
+ return getNotifyContentFieldBuilder().getBuilder();
+ }
+ /**
+ * optional .MessageContent notify_content = 5;
+ */
+ public cn.wildfirechat.proto.WFCMessage.MessageContentOrBuilder getNotifyContentOrBuilder() {
+ if (notifyContentBuilder_ != null) {
+ return notifyContentBuilder_.getMessageOrBuilder();
+ } else {
+ return notifyContent_;
+ }
+ }
+ /**
+ * optional .MessageContent notify_content = 5;
+ */
+ private com.google.protobuf.SingleFieldBuilder<
+ cn.wildfirechat.proto.WFCMessage.MessageContent, cn.wildfirechat.proto.WFCMessage.MessageContent.Builder, cn.wildfirechat.proto.WFCMessage.MessageContentOrBuilder>
+ getNotifyContentFieldBuilder() {
+ if (notifyContentBuilder_ == null) {
+ notifyContentBuilder_ = new com.google.protobuf.SingleFieldBuilder<
+ cn.wildfirechat.proto.WFCMessage.MessageContent, cn.wildfirechat.proto.WFCMessage.MessageContent.Builder, cn.wildfirechat.proto.WFCMessage.MessageContentOrBuilder>(
+ notifyContent_,
+ getParentForChildren(),
+ isClean());
+ notifyContent_ = null;
+ }
+ return notifyContentBuilder_;
+ }
+
+ // @@protoc_insertion_point(builder_scope:SetGroupManagerRequest)
+ }
+
+ static {
+ defaultInstance = new SetGroupManagerRequest(true);
+ defaultInstance.initFields();
+ }
+
+ // @@protoc_insertion_point(class_scope:SetGroupManagerRequest)
+ }
+
public interface InfoEntryOrBuilder
extends com.google.protobuf.MessageOrBuilder {
@@ -57119,6 +58233,11 @@ public final class WFCMessage {
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_ModifyGroupInfoRequest_fieldAccessorTable;
+ private static com.google.protobuf.Descriptors.Descriptor
+ internal_static_SetGroupManagerRequest_descriptor;
+ private static
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internal_static_SetGroupManagerRequest_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_InfoEntry_descriptor;
private static
@@ -57394,78 +58513,81 @@ public final class WFCMessage {
"\030\003 \002(\t\022\021\n\tpush_type\030\004 \002(\005\"\201\001\n\026ModifyGrou" +
"pInfoRequest\022\020\n\010group_id\030\001 \002(\t\022\014\n\004type\030\002" +
" \002(\005\022\r\n\005value\030\003 \002(\t\022\017\n\007to_line\030\004 \003(\005\022\'\n\016" +
- "notify_content\030\005 \001(\0132\017.MessageContent\"(\n" +
- "\tInfoEntry\022\014\n\004type\030\001 \002(\005\022\r\n\005value\030\002 \002(\t\"" +
- "0\n\023ModifyMyInfoRequest\022\031\n\005entry\030\001 \003(\0132\n." +
- "InfoEntry\";\n\rNotifyMessage\022\014\n\004type\030\001 \002(\005",
- "\022\014\n\004head\030\002 \002(\003\022\016\n\006target\030\003 \001(\t\"=\n\022PullMe" +
- "ssageRequest\022\n\n\002id\030\001 \002(\003\022\014\n\004type\030\002 \002(\005\022\r" +
- "\n\005delay\030\003 \001(\003\"M\n\021PullMessageResult\022\031\n\007me" +
- "ssage\030\001 \003(\0132\010.Message\022\017\n\007current\030\002 \002(\003\022\014" +
- "\n\004head\030\003 \002(\003\"/\n\023PullGroupInfoResult\022\030\n\004i" +
- "nfo\030\001 \003(\0132\n.GroupInfo\"6\n\026PullGroupMember" +
- "Request\022\016\n\006target\030\001 \002(\t\022\014\n\004head\030\002 \002(\003\"5\n" +
- "\025PullGroupMemberResult\022\034\n\006member\030\001 \003(\0132\014" +
- ".GroupMember\"-\n\013UserRequest\022\013\n\003uid\030\001 \002(\t" +
- "\022\021\n\tupdate_dt\030\002 \001(\003\"0\n\017PullUserRequest\022\035",
- "\n\007request\030\001 \003(\0132\014.UserRequest\"/\n\nUserRes" +
- "ult\022\023\n\004user\030\001 \002(\0132\005.User\022\014\n\004code\030\002 \002(\005\"-" +
- "\n\016PullUserResult\022\033\n\006result\030\001 \003(\0132\013.UserR" +
- "esult\"^\n\020QuitGroupRequest\022\020\n\010group_id\030\001 " +
- "\002(\t\022\017\n\007to_line\030\002 \003(\005\022\'\n\016notify_content\030\003" +
- " \001(\0132\017.MessageContent\"~\n\030RemoveGroupMemb" +
- "erRequest\022\020\n\010group_id\030\001 \002(\t\022\026\n\016removed_m" +
- "ember\030\002 \003(\t\022\017\n\007to_line\030\003 \003(\005\022\'\n\016notify_c" +
- "ontent\030\004 \001(\0132\017.MessageContent\"u\n\024Transfe" +
- "rGroupRequest\022\020\n\010group_id\030\001 \002(\t\022\021\n\tnew_o",
- "wner\030\002 \002(\t\022\017\n\007to_line\030\003 \003(\005\022\'\n\016notify_co" +
- "ntent\030\004 \001(\0132\017.MessageContent\"s\n\026ModifyGr" +
- "oupMemberAlias\022\020\n\010group_id\030\001 \002(\t\022\r\n\005alia" +
- "s\030\002 \002(\t\022\017\n\007to_line\030\003 \003(\005\022\'\n\016notify_conte" +
- "nt\030\004 \001(\0132\017.MessageContent\"P\n\020UserSetting" +
- "Entry\022\r\n\005scope\030\001 \002(\005\022\013\n\003key\030\002 \002(\t\022\r\n\005val" +
- "ue\030\003 \002(\t\022\021\n\tupdate_dt\030\004 \002(\003\"A\n\024ModifyUse" +
- "rSettingReq\022\r\n\005scope\030\001 \002(\005\022\013\n\003key\030\002 \002(\t\022" +
- "\r\n\005value\030\003 \002(\t\"\032\n\007Version\022\017\n\007version\030\001 \002" +
- "(\003\"8\n\024GetUserSettingResult\022 \n\005entry\030\001 \003(",
- "\0132\021.UserSettingEntry\"F\n\006Friend\022\013\n\003uid\030\001 " +
- "\002(\t\022\r\n\005state\030\002 \002(\005\022\021\n\tupdate_dt\030\003 \002(\003\022\r\n" +
- "\005alias\030\004 \001(\t\"*\n\020GetFriendsResult\022\026\n\005entr" +
- "y\030\001 \003(\0132\007.Friend\"7\n\026GetFriendRequestResu" +
- "lt\022\035\n\005entry\030\001 \003(\0132\016.FriendRequest\"\243\001\n\021Co" +
- "nnectAckPayload\022\020\n\010msg_head\030\001 \001(\003\022\023\n\013fri" +
- "end_head\030\002 \001(\003\022\026\n\016friend_rq_head\030\003 \001(\003\022\024" +
- "\n\014setting_head\030\004 \001(\003\022\021\n\tnode_addr\030\005 \001(\t\022" +
- "\021\n\tnode_port\030\006 \001(\005\022\023\n\013server_time\030\007 \001(\003\"" +
- "P\n\rIMHttpWrapper\022\r\n\005token\030\001 \002(\t\022\021\n\tclien",
- "t_id\030\002 \002(\t\022\017\n\007request\030\003 \002(\t\022\014\n\004data\030\004 \001(" +
- "\014\"A\n\021SearchUserRequest\022\017\n\007keyword\030\001 \002(\t\022" +
- "\r\n\005fuzzy\030\002 \001(\005\022\014\n\004page\030\003 \001(\005\"(\n\020SearchUs" +
- "erResult\022\024\n\005entry\030\001 \003(\0132\005.User\"@\n\026GetCha" +
- "troomInfoRequest\022\023\n\013chatroom_id\030\001 \002(\t\022\021\n" +
- "\tupdate_dt\030\002 \001(\003\"\227\001\n\014ChatroomInfo\022\r\n\005tit" +
- "le\030\001 \002(\t\022\014\n\004desc\030\002 \001(\t\022\020\n\010portrait\030\003 \001(\t" +
- "\022\024\n\014member_count\030\004 \001(\005\022\021\n\tcreate_dt\030\005 \001(" +
- "\003\022\021\n\tupdate_dt\030\006 \001(\003\022\r\n\005extra\030\007 \001(\t\022\r\n\005s" +
- "tate\030\010 \001(\005\"F\n\034GetChatroomMemberInfoReque",
- "st\022\023\n\013chatroom_id\030\001 \002(\t\022\021\n\tmax_count\030\002 \001" +
- "(\005\";\n\022ChatroomMemberInfo\022\024\n\014member_count" +
- "\030\001 \001(\005\022\017\n\007members\030\002 \003(\t\"\026\n\010INT64Buf\022\n\n\002i" +
- "d\030\001 \002(\003\"4\n\023NotifyRecallMessage\022\n\n\002id\030\001 \002" +
- "(\003\022\021\n\tfrom_user\030\002 \002(\t\"/\n\020BlackUserReques" +
- "t\022\013\n\003uid\030\001 \002(\t\022\016\n\006status\030\002 \002(\005\"\323\001\n\014Route" +
- "Request\022\013\n\003app\030\001 \001(\t\022\020\n\010platform\030\002 \001(\005\022\021" +
- "\n\tpush_type\030\003 \001(\005\022\023\n\013device_name\030\004 \001(\t\022\026" +
- "\n\016device_version\030\005 \001(\t\022\022\n\nphone_name\030\006 \001" +
- "(\t\022\020\n\010language\030\007 \001(\t\022\024\n\014carrier_name\030\010 \001",
- "(\t\022\023\n\013app_version\030\t \001(\t\022\023\n\013sdk_version\030\n" +
- " \001(\t\"D\n\rRouteResponse\022\014\n\004host\030\001 \002(\t\022\021\n\tl" +
- "ong_port\030\002 \002(\005\022\022\n\nshort_port\030\003 \002(\005\"5\n\017Ge" +
- "tTokenRequest\022\017\n\007user_id\030\001 \002(\t\022\021\n\tclient" +
- "_id\030\002 \002(\t\"\\\n\022LoadRemoteMessages\022#\n\014conve" +
- "rsation\030\001 \002(\0132\r.Conversation\022\022\n\nbefore_u" +
- "id\030\002 \002(\003\022\r\n\005count\030\003 \002(\005B#\n\025cn.wildfirech" +
- "at.protoB\nWFCMessage"
+ "notify_content\030\005 \001(\0132\017.MessageContent\"\203\001" +
+ "\n\026SetGroupManagerRequest\022\020\n\010group_id\030\001 \002" +
+ "(\t\022\014\n\004type\030\002 \002(\005\022\017\n\007user_id\030\003 \003(\t\022\017\n\007to_" +
+ "line\030\004 \003(\005\022\'\n\016notify_content\030\005 \001(\0132\017.Mes",
+ "sageContent\"(\n\tInfoEntry\022\014\n\004type\030\001 \002(\005\022\r" +
+ "\n\005value\030\002 \002(\t\"0\n\023ModifyMyInfoRequest\022\031\n\005" +
+ "entry\030\001 \003(\0132\n.InfoEntry\";\n\rNotifyMessage" +
+ "\022\014\n\004type\030\001 \002(\005\022\014\n\004head\030\002 \002(\003\022\016\n\006target\030\003" +
+ " \001(\t\"=\n\022PullMessageRequest\022\n\n\002id\030\001 \002(\003\022\014" +
+ "\n\004type\030\002 \002(\005\022\r\n\005delay\030\003 \001(\003\"M\n\021PullMessa" +
+ "geResult\022\031\n\007message\030\001 \003(\0132\010.Message\022\017\n\007c" +
+ "urrent\030\002 \002(\003\022\014\n\004head\030\003 \002(\003\"/\n\023PullGroupI" +
+ "nfoResult\022\030\n\004info\030\001 \003(\0132\n.GroupInfo\"6\n\026P" +
+ "ullGroupMemberRequest\022\016\n\006target\030\001 \002(\t\022\014\n",
+ "\004head\030\002 \002(\003\"5\n\025PullGroupMemberResult\022\034\n\006" +
+ "member\030\001 \003(\0132\014.GroupMember\"-\n\013UserReques" +
+ "t\022\013\n\003uid\030\001 \002(\t\022\021\n\tupdate_dt\030\002 \001(\003\"0\n\017Pul" +
+ "lUserRequest\022\035\n\007request\030\001 \003(\0132\014.UserRequ" +
+ "est\"/\n\nUserResult\022\023\n\004user\030\001 \002(\0132\005.User\022\014" +
+ "\n\004code\030\002 \002(\005\"-\n\016PullUserResult\022\033\n\006result" +
+ "\030\001 \003(\0132\013.UserResult\"^\n\020QuitGroupRequest\022" +
+ "\020\n\010group_id\030\001 \002(\t\022\017\n\007to_line\030\002 \003(\005\022\'\n\016no" +
+ "tify_content\030\003 \001(\0132\017.MessageContent\"~\n\030R" +
+ "emoveGroupMemberRequest\022\020\n\010group_id\030\001 \002(",
+ "\t\022\026\n\016removed_member\030\002 \003(\t\022\017\n\007to_line\030\003 \003" +
+ "(\005\022\'\n\016notify_content\030\004 \001(\0132\017.MessageCont" +
+ "ent\"u\n\024TransferGroupRequest\022\020\n\010group_id\030" +
+ "\001 \002(\t\022\021\n\tnew_owner\030\002 \002(\t\022\017\n\007to_line\030\003 \003(" +
+ "\005\022\'\n\016notify_content\030\004 \001(\0132\017.MessageConte" +
+ "nt\"s\n\026ModifyGroupMemberAlias\022\020\n\010group_id" +
+ "\030\001 \002(\t\022\r\n\005alias\030\002 \002(\t\022\017\n\007to_line\030\003 \003(\005\022\'" +
+ "\n\016notify_content\030\004 \001(\0132\017.MessageContent\"" +
+ "P\n\020UserSettingEntry\022\r\n\005scope\030\001 \002(\005\022\013\n\003ke" +
+ "y\030\002 \002(\t\022\r\n\005value\030\003 \002(\t\022\021\n\tupdate_dt\030\004 \002(",
+ "\003\"A\n\024ModifyUserSettingReq\022\r\n\005scope\030\001 \002(\005" +
+ "\022\013\n\003key\030\002 \002(\t\022\r\n\005value\030\003 \002(\t\"\032\n\007Version\022" +
+ "\017\n\007version\030\001 \002(\003\"8\n\024GetUserSettingResult" +
+ "\022 \n\005entry\030\001 \003(\0132\021.UserSettingEntry\"F\n\006Fr" +
+ "iend\022\013\n\003uid\030\001 \002(\t\022\r\n\005state\030\002 \002(\005\022\021\n\tupda" +
+ "te_dt\030\003 \002(\003\022\r\n\005alias\030\004 \001(\t\"*\n\020GetFriends" +
+ "Result\022\026\n\005entry\030\001 \003(\0132\007.Friend\"7\n\026GetFri" +
+ "endRequestResult\022\035\n\005entry\030\001 \003(\0132\016.Friend" +
+ "Request\"\243\001\n\021ConnectAckPayload\022\020\n\010msg_hea" +
+ "d\030\001 \001(\003\022\023\n\013friend_head\030\002 \001(\003\022\026\n\016friend_r",
+ "q_head\030\003 \001(\003\022\024\n\014setting_head\030\004 \001(\003\022\021\n\tno" +
+ "de_addr\030\005 \001(\t\022\021\n\tnode_port\030\006 \001(\005\022\023\n\013serv" +
+ "er_time\030\007 \001(\003\"P\n\rIMHttpWrapper\022\r\n\005token\030" +
+ "\001 \002(\t\022\021\n\tclient_id\030\002 \002(\t\022\017\n\007request\030\003 \002(" +
+ "\t\022\014\n\004data\030\004 \001(\014\"A\n\021SearchUserRequest\022\017\n\007" +
+ "keyword\030\001 \002(\t\022\r\n\005fuzzy\030\002 \001(\005\022\014\n\004page\030\003 \001" +
+ "(\005\"(\n\020SearchUserResult\022\024\n\005entry\030\001 \003(\0132\005." +
+ "User\"@\n\026GetChatroomInfoRequest\022\023\n\013chatro" +
+ "om_id\030\001 \002(\t\022\021\n\tupdate_dt\030\002 \001(\003\"\227\001\n\014Chatr" +
+ "oomInfo\022\r\n\005title\030\001 \002(\t\022\014\n\004desc\030\002 \001(\t\022\020\n\010",
+ "portrait\030\003 \001(\t\022\024\n\014member_count\030\004 \001(\005\022\021\n\t" +
+ "create_dt\030\005 \001(\003\022\021\n\tupdate_dt\030\006 \001(\003\022\r\n\005ex" +
+ "tra\030\007 \001(\t\022\r\n\005state\030\010 \001(\005\"F\n\034GetChatroomM" +
+ "emberInfoRequest\022\023\n\013chatroom_id\030\001 \002(\t\022\021\n" +
+ "\tmax_count\030\002 \001(\005\";\n\022ChatroomMemberInfo\022\024" +
+ "\n\014member_count\030\001 \001(\005\022\017\n\007members\030\002 \003(\t\"\026\n" +
+ "\010INT64Buf\022\n\n\002id\030\001 \002(\003\"4\n\023NotifyRecallMes" +
+ "sage\022\n\n\002id\030\001 \002(\003\022\021\n\tfrom_user\030\002 \002(\t\"/\n\020B" +
+ "lackUserRequest\022\013\n\003uid\030\001 \002(\t\022\016\n\006status\030\002" +
+ " \002(\005\"\323\001\n\014RouteRequest\022\013\n\003app\030\001 \001(\t\022\020\n\010pl",
+ "atform\030\002 \001(\005\022\021\n\tpush_type\030\003 \001(\005\022\023\n\013devic" +
+ "e_name\030\004 \001(\t\022\026\n\016device_version\030\005 \001(\t\022\022\n\n" +
+ "phone_name\030\006 \001(\t\022\020\n\010language\030\007 \001(\t\022\024\n\014ca" +
+ "rrier_name\030\010 \001(\t\022\023\n\013app_version\030\t \001(\t\022\023\n" +
+ "\013sdk_version\030\n \001(\t\"D\n\rRouteResponse\022\014\n\004h" +
+ "ost\030\001 \002(\t\022\021\n\tlong_port\030\002 \002(\005\022\022\n\nshort_po" +
+ "rt\030\003 \002(\005\"5\n\017GetTokenRequest\022\017\n\007user_id\030\001" +
+ " \002(\t\022\021\n\tclient_id\030\002 \002(\t\"\\\n\022LoadRemoteMes" +
+ "sages\022#\n\014conversation\030\001 \002(\0132\r.Conversati" +
+ "on\022\022\n\nbefore_uid\030\002 \002(\003\022\r\n\005count\030\003 \002(\005B#\n",
+ "\025cn.wildfirechat.protoB\nWFCMessage"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
@@ -57658,230 +58780,236 @@ public final class WFCMessage {
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_ModifyGroupInfoRequest_descriptor,
new java.lang.String[] { "GroupId", "Type", "Value", "ToLine", "NotifyContent", });
- internal_static_InfoEntry_descriptor =
+ internal_static_SetGroupManagerRequest_descriptor =
getDescriptor().getMessageTypes().get(31);
+ internal_static_SetGroupManagerRequest_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_SetGroupManagerRequest_descriptor,
+ new java.lang.String[] { "GroupId", "Type", "UserId", "ToLine", "NotifyContent", });
+ internal_static_InfoEntry_descriptor =
+ getDescriptor().getMessageTypes().get(32);
internal_static_InfoEntry_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_InfoEntry_descriptor,
new java.lang.String[] { "Type", "Value", });
internal_static_ModifyMyInfoRequest_descriptor =
- getDescriptor().getMessageTypes().get(32);
+ getDescriptor().getMessageTypes().get(33);
internal_static_ModifyMyInfoRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_ModifyMyInfoRequest_descriptor,
new java.lang.String[] { "Entry", });
internal_static_NotifyMessage_descriptor =
- getDescriptor().getMessageTypes().get(33);
+ getDescriptor().getMessageTypes().get(34);
internal_static_NotifyMessage_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_NotifyMessage_descriptor,
new java.lang.String[] { "Type", "Head", "Target", });
internal_static_PullMessageRequest_descriptor =
- getDescriptor().getMessageTypes().get(34);
+ getDescriptor().getMessageTypes().get(35);
internal_static_PullMessageRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_PullMessageRequest_descriptor,
new java.lang.String[] { "Id", "Type", "Delay", });
internal_static_PullMessageResult_descriptor =
- getDescriptor().getMessageTypes().get(35);
+ getDescriptor().getMessageTypes().get(36);
internal_static_PullMessageResult_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_PullMessageResult_descriptor,
new java.lang.String[] { "Message", "Current", "Head", });
internal_static_PullGroupInfoResult_descriptor =
- getDescriptor().getMessageTypes().get(36);
+ getDescriptor().getMessageTypes().get(37);
internal_static_PullGroupInfoResult_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_PullGroupInfoResult_descriptor,
new java.lang.String[] { "Info", });
internal_static_PullGroupMemberRequest_descriptor =
- getDescriptor().getMessageTypes().get(37);
+ getDescriptor().getMessageTypes().get(38);
internal_static_PullGroupMemberRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_PullGroupMemberRequest_descriptor,
new java.lang.String[] { "Target", "Head", });
internal_static_PullGroupMemberResult_descriptor =
- getDescriptor().getMessageTypes().get(38);
+ getDescriptor().getMessageTypes().get(39);
internal_static_PullGroupMemberResult_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_PullGroupMemberResult_descriptor,
new java.lang.String[] { "Member", });
internal_static_UserRequest_descriptor =
- getDescriptor().getMessageTypes().get(39);
+ getDescriptor().getMessageTypes().get(40);
internal_static_UserRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_UserRequest_descriptor,
new java.lang.String[] { "Uid", "UpdateDt", });
internal_static_PullUserRequest_descriptor =
- getDescriptor().getMessageTypes().get(40);
+ getDescriptor().getMessageTypes().get(41);
internal_static_PullUserRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_PullUserRequest_descriptor,
new java.lang.String[] { "Request", });
internal_static_UserResult_descriptor =
- getDescriptor().getMessageTypes().get(41);
+ getDescriptor().getMessageTypes().get(42);
internal_static_UserResult_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_UserResult_descriptor,
new java.lang.String[] { "User", "Code", });
internal_static_PullUserResult_descriptor =
- getDescriptor().getMessageTypes().get(42);
+ getDescriptor().getMessageTypes().get(43);
internal_static_PullUserResult_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_PullUserResult_descriptor,
new java.lang.String[] { "Result", });
internal_static_QuitGroupRequest_descriptor =
- getDescriptor().getMessageTypes().get(43);
+ getDescriptor().getMessageTypes().get(44);
internal_static_QuitGroupRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_QuitGroupRequest_descriptor,
new java.lang.String[] { "GroupId", "ToLine", "NotifyContent", });
internal_static_RemoveGroupMemberRequest_descriptor =
- getDescriptor().getMessageTypes().get(44);
+ getDescriptor().getMessageTypes().get(45);
internal_static_RemoveGroupMemberRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_RemoveGroupMemberRequest_descriptor,
new java.lang.String[] { "GroupId", "RemovedMember", "ToLine", "NotifyContent", });
internal_static_TransferGroupRequest_descriptor =
- getDescriptor().getMessageTypes().get(45);
+ getDescriptor().getMessageTypes().get(46);
internal_static_TransferGroupRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_TransferGroupRequest_descriptor,
new java.lang.String[] { "GroupId", "NewOwner", "ToLine", "NotifyContent", });
internal_static_ModifyGroupMemberAlias_descriptor =
- getDescriptor().getMessageTypes().get(46);
+ getDescriptor().getMessageTypes().get(47);
internal_static_ModifyGroupMemberAlias_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_ModifyGroupMemberAlias_descriptor,
new java.lang.String[] { "GroupId", "Alias", "ToLine", "NotifyContent", });
internal_static_UserSettingEntry_descriptor =
- getDescriptor().getMessageTypes().get(47);
+ getDescriptor().getMessageTypes().get(48);
internal_static_UserSettingEntry_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_UserSettingEntry_descriptor,
new java.lang.String[] { "Scope", "Key", "Value", "UpdateDt", });
internal_static_ModifyUserSettingReq_descriptor =
- getDescriptor().getMessageTypes().get(48);
+ getDescriptor().getMessageTypes().get(49);
internal_static_ModifyUserSettingReq_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_ModifyUserSettingReq_descriptor,
new java.lang.String[] { "Scope", "Key", "Value", });
internal_static_Version_descriptor =
- getDescriptor().getMessageTypes().get(49);
+ getDescriptor().getMessageTypes().get(50);
internal_static_Version_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_Version_descriptor,
new java.lang.String[] { "Version", });
internal_static_GetUserSettingResult_descriptor =
- getDescriptor().getMessageTypes().get(50);
+ getDescriptor().getMessageTypes().get(51);
internal_static_GetUserSettingResult_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_GetUserSettingResult_descriptor,
new java.lang.String[] { "Entry", });
internal_static_Friend_descriptor =
- getDescriptor().getMessageTypes().get(51);
+ getDescriptor().getMessageTypes().get(52);
internal_static_Friend_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_Friend_descriptor,
new java.lang.String[] { "Uid", "State", "UpdateDt", "Alias", });
internal_static_GetFriendsResult_descriptor =
- getDescriptor().getMessageTypes().get(52);
+ getDescriptor().getMessageTypes().get(53);
internal_static_GetFriendsResult_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_GetFriendsResult_descriptor,
new java.lang.String[] { "Entry", });
internal_static_GetFriendRequestResult_descriptor =
- getDescriptor().getMessageTypes().get(53);
+ getDescriptor().getMessageTypes().get(54);
internal_static_GetFriendRequestResult_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_GetFriendRequestResult_descriptor,
new java.lang.String[] { "Entry", });
internal_static_ConnectAckPayload_descriptor =
- getDescriptor().getMessageTypes().get(54);
+ getDescriptor().getMessageTypes().get(55);
internal_static_ConnectAckPayload_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_ConnectAckPayload_descriptor,
new java.lang.String[] { "MsgHead", "FriendHead", "FriendRqHead", "SettingHead", "NodeAddr", "NodePort", "ServerTime", });
internal_static_IMHttpWrapper_descriptor =
- getDescriptor().getMessageTypes().get(55);
+ getDescriptor().getMessageTypes().get(56);
internal_static_IMHttpWrapper_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_IMHttpWrapper_descriptor,
new java.lang.String[] { "Token", "ClientId", "Request", "Data", });
internal_static_SearchUserRequest_descriptor =
- getDescriptor().getMessageTypes().get(56);
+ getDescriptor().getMessageTypes().get(57);
internal_static_SearchUserRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_SearchUserRequest_descriptor,
new java.lang.String[] { "Keyword", "Fuzzy", "Page", });
internal_static_SearchUserResult_descriptor =
- getDescriptor().getMessageTypes().get(57);
+ getDescriptor().getMessageTypes().get(58);
internal_static_SearchUserResult_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_SearchUserResult_descriptor,
new java.lang.String[] { "Entry", });
internal_static_GetChatroomInfoRequest_descriptor =
- getDescriptor().getMessageTypes().get(58);
+ getDescriptor().getMessageTypes().get(59);
internal_static_GetChatroomInfoRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_GetChatroomInfoRequest_descriptor,
new java.lang.String[] { "ChatroomId", "UpdateDt", });
internal_static_ChatroomInfo_descriptor =
- getDescriptor().getMessageTypes().get(59);
+ getDescriptor().getMessageTypes().get(60);
internal_static_ChatroomInfo_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_ChatroomInfo_descriptor,
new java.lang.String[] { "Title", "Desc", "Portrait", "MemberCount", "CreateDt", "UpdateDt", "Extra", "State", });
internal_static_GetChatroomMemberInfoRequest_descriptor =
- getDescriptor().getMessageTypes().get(60);
+ getDescriptor().getMessageTypes().get(61);
internal_static_GetChatroomMemberInfoRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_GetChatroomMemberInfoRequest_descriptor,
new java.lang.String[] { "ChatroomId", "MaxCount", });
internal_static_ChatroomMemberInfo_descriptor =
- getDescriptor().getMessageTypes().get(61);
+ getDescriptor().getMessageTypes().get(62);
internal_static_ChatroomMemberInfo_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_ChatroomMemberInfo_descriptor,
new java.lang.String[] { "MemberCount", "Members", });
internal_static_INT64Buf_descriptor =
- getDescriptor().getMessageTypes().get(62);
+ getDescriptor().getMessageTypes().get(63);
internal_static_INT64Buf_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_INT64Buf_descriptor,
new java.lang.String[] { "Id", });
internal_static_NotifyRecallMessage_descriptor =
- getDescriptor().getMessageTypes().get(63);
+ getDescriptor().getMessageTypes().get(64);
internal_static_NotifyRecallMessage_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_NotifyRecallMessage_descriptor,
new java.lang.String[] { "Id", "FromUser", });
internal_static_BlackUserRequest_descriptor =
- getDescriptor().getMessageTypes().get(64);
+ getDescriptor().getMessageTypes().get(65);
internal_static_BlackUserRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_BlackUserRequest_descriptor,
new java.lang.String[] { "Uid", "Status", });
internal_static_RouteRequest_descriptor =
- getDescriptor().getMessageTypes().get(65);
+ getDescriptor().getMessageTypes().get(66);
internal_static_RouteRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_RouteRequest_descriptor,
new java.lang.String[] { "App", "Platform", "PushType", "DeviceName", "DeviceVersion", "PhoneName", "Language", "CarrierName", "AppVersion", "SdkVersion", });
internal_static_RouteResponse_descriptor =
- getDescriptor().getMessageTypes().get(66);
+ getDescriptor().getMessageTypes().get(67);
internal_static_RouteResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_RouteResponse_descriptor,
new java.lang.String[] { "Host", "LongPort", "ShortPort", });
internal_static_GetTokenRequest_descriptor =
- getDescriptor().getMessageTypes().get(67);
+ getDescriptor().getMessageTypes().get(68);
internal_static_GetTokenRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_GetTokenRequest_descriptor,
new java.lang.String[] { "UserId", "ClientId", });
internal_static_LoadRemoteMessages_descriptor =
- getDescriptor().getMessageTypes().get(68);
+ getDescriptor().getMessageTypes().get(69);
internal_static_LoadRemoteMessages_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_LoadRemoteMessages_descriptor,