add menuid and extra

This commit is contained in:
heavyrian2012
2022-08-16 20:10:56 +08:00
parent aaccec00e9
commit 826bad2d66
3 changed files with 482 additions and 163 deletions
@@ -17,6 +17,7 @@ import java.util.List;
public class OutputGetChannelInfo { public class OutputGetChannelInfo {
public static class OutputMenu { public static class OutputMenu {
public String menuId;
public String type; public String type;
public String name; public String name;
public String key; public String key;
@@ -25,10 +26,12 @@ public class OutputGetChannelInfo {
public String articleId; public String articleId;
public String appId; public String appId;
public String appPage; public String appPage;
public String extra;
public List<OutputMenu> subMenus; public List<OutputMenu> subMenus;
public static OutputMenu fromPbInfo(WFCMessage.ChannelMenu channelMenuMenu) { public static OutputMenu fromPbInfo(WFCMessage.ChannelMenu channelMenuMenu) {
OutputMenu out = new OutputMenu(); OutputMenu out = new OutputMenu();
out.menuId = channelMenuMenu.getMenuId();
out.type = channelMenuMenu.getType(); out.type = channelMenuMenu.getType();
out.name = channelMenuMenu.getName(); out.name = channelMenuMenu.getName();
out.key = channelMenuMenu.getKey(); out.key = channelMenuMenu.getKey();
@@ -37,6 +40,7 @@ public class OutputGetChannelInfo {
out.articleId = channelMenuMenu.getArticleId(); out.articleId = channelMenuMenu.getArticleId();
out.appId = channelMenuMenu.getAppId(); out.appId = channelMenuMenu.getAppId();
out.appPage = channelMenuMenu.getAppPage(); out.appPage = channelMenuMenu.getAppPage();
out.extra = channelMenuMenu.getExtra();
if (channelMenuMenu.getSubMenuCount() > 0) { if (channelMenuMenu.getSubMenuCount() > 0) {
out.subMenus = new ArrayList<>(); out.subMenus = new ArrayList<>();
for (WFCMessage.ChannelMenu menuMenu : channelMenuMenu.getSubMenuList()) { for (WFCMessage.ChannelMenu menuMenu : channelMenuMenu.getSubMenuList()) {
@@ -50,12 +54,14 @@ public class OutputGetChannelInfo {
WFCMessage.ChannelMenu.Builder builder = WFCMessage.ChannelMenu.newBuilder(); WFCMessage.ChannelMenu.Builder builder = WFCMessage.ChannelMenu.newBuilder();
builder.setType(type); builder.setType(type);
builder.setName(name); builder.setName(name);
if (!StringUtil.isNullOrEmpty(menuId)) builder.setMenuId(menuId);
if (!StringUtil.isNullOrEmpty(key)) builder.setKey(key); if (!StringUtil.isNullOrEmpty(key)) builder.setKey(key);
if (!StringUtil.isNullOrEmpty(url)) builder.setUrl(url); if (!StringUtil.isNullOrEmpty(url)) builder.setUrl(url);
if (!StringUtil.isNullOrEmpty(mediaId)) builder.setMediaId(mediaId); if (!StringUtil.isNullOrEmpty(mediaId)) builder.setMediaId(mediaId);
if (!StringUtil.isNullOrEmpty(articleId)) builder.setArticleId(articleId); if (!StringUtil.isNullOrEmpty(articleId)) builder.setArticleId(articleId);
if (!StringUtil.isNullOrEmpty(appId)) builder.setAppId(appId); if (!StringUtil.isNullOrEmpty(appId)) builder.setAppId(appId);
if (!StringUtil.isNullOrEmpty(appPage)) builder.setAppPage(appPage); if (!StringUtil.isNullOrEmpty(appPage)) builder.setAppPage(appPage);
if (!StringUtil.isNullOrEmpty(extra)) builder.setExtra(extra);
if (subMenus != null && !subMenus.isEmpty()) { if (subMenus != null && !subMenus.isEmpty()) {
subMenus.forEach(menuMenu -> builder.addSubMenu(menuMenu.toPbInfo())); subMenus.forEach(menuMenu -> builder.addSubMenu(menuMenu.toPbInfo()));
} }
@@ -5471,6 +5471,36 @@ public final class WFCMessage {
*/ */
cn.wildfirechat.proto.WFCMessage.ChannelMenuOrBuilder getSubMenuOrBuilder( cn.wildfirechat.proto.WFCMessage.ChannelMenuOrBuilder getSubMenuOrBuilder(
int index); int index);
// optional string menu_id = 10;
/**
* <code>optional string menu_id = 10;</code>
*/
boolean hasMenuId();
/**
* <code>optional string menu_id = 10;</code>
*/
java.lang.String getMenuId();
/**
* <code>optional string menu_id = 10;</code>
*/
com.google.protobuf.ByteString
getMenuIdBytes();
// optional string extra = 11;
/**
* <code>optional string extra = 11;</code>
*/
boolean hasExtra();
/**
* <code>optional string extra = 11;</code>
*/
java.lang.String getExtra();
/**
* <code>optional string extra = 11;</code>
*/
com.google.protobuf.ByteString
getExtraBytes();
} }
/** /**
* Protobuf type {@code ChannelMenu} * Protobuf type {@code ChannelMenu}
@@ -5571,6 +5601,16 @@ public final class WFCMessage {
subMenu_.add(input.readMessage(cn.wildfirechat.proto.WFCMessage.ChannelMenu.PARSER, extensionRegistry)); subMenu_.add(input.readMessage(cn.wildfirechat.proto.WFCMessage.ChannelMenu.PARSER, extensionRegistry));
break; break;
} }
case 82: {
bitField0_ |= 0x00000100;
menuId_ = input.readBytes();
break;
}
case 90: {
bitField0_ |= 0x00000200;
extra_ = input.readBytes();
break;
}
} }
} }
} catch (com.google.protobuf.InvalidProtocolBufferException e) { } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -5994,6 +6034,92 @@ public final class WFCMessage {
return subMenu_.get(index); return subMenu_.get(index);
} }
// optional string menu_id = 10;
public static final int MENU_ID_FIELD_NUMBER = 10;
private java.lang.Object menuId_;
/**
* <code>optional string menu_id = 10;</code>
*/
public boolean hasMenuId() {
return ((bitField0_ & 0x00000100) == 0x00000100);
}
/**
* <code>optional string menu_id = 10;</code>
*/
public java.lang.String getMenuId() {
java.lang.Object ref = menuId_;
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()) {
menuId_ = s;
}
return s;
}
}
/**
* <code>optional string menu_id = 10;</code>
*/
public com.google.protobuf.ByteString
getMenuIdBytes() {
java.lang.Object ref = menuId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
menuId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional string extra = 11;
public static final int EXTRA_FIELD_NUMBER = 11;
private java.lang.Object extra_;
/**
* <code>optional string extra = 11;</code>
*/
public boolean hasExtra() {
return ((bitField0_ & 0x00000200) == 0x00000200);
}
/**
* <code>optional string extra = 11;</code>
*/
public java.lang.String getExtra() {
java.lang.Object ref = extra_;
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()) {
extra_ = s;
}
return s;
}
}
/**
* <code>optional string extra = 11;</code>
*/
public com.google.protobuf.ByteString
getExtraBytes() {
java.lang.Object ref = extra_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
extra_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private void initFields() { private void initFields() {
type_ = ""; type_ = "";
name_ = ""; name_ = "";
@@ -6004,6 +6130,8 @@ public final class WFCMessage {
appId_ = ""; appId_ = "";
appPage_ = ""; appPage_ = "";
subMenu_ = java.util.Collections.emptyList(); subMenu_ = java.util.Collections.emptyList();
menuId_ = "";
extra_ = "";
} }
private byte memoizedIsInitialized = -1; private byte memoizedIsInitialized = -1;
public final boolean isInitialized() { public final boolean isInitialized() {
@@ -6058,6 +6186,12 @@ public final class WFCMessage {
for (int i = 0; i < subMenu_.size(); i++) { for (int i = 0; i < subMenu_.size(); i++) {
output.writeMessage(9, subMenu_.get(i)); output.writeMessage(9, subMenu_.get(i));
} }
if (((bitField0_ & 0x00000100) == 0x00000100)) {
output.writeBytes(10, getMenuIdBytes());
}
if (((bitField0_ & 0x00000200) == 0x00000200)) {
output.writeBytes(11, getExtraBytes());
}
getUnknownFields().writeTo(output); getUnknownFields().writeTo(output);
} }
@@ -6103,6 +6237,14 @@ public final class WFCMessage {
size += com.google.protobuf.CodedOutputStream size += com.google.protobuf.CodedOutputStream
.computeMessageSize(9, subMenu_.get(i)); .computeMessageSize(9, subMenu_.get(i));
} }
if (((bitField0_ & 0x00000100) == 0x00000100)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(10, getMenuIdBytes());
}
if (((bitField0_ & 0x00000200) == 0x00000200)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(11, getExtraBytes());
}
size += getUnknownFields().getSerializedSize(); size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size; memoizedSerializedSize = size;
return size; return size;
@@ -6242,6 +6384,10 @@ public final class WFCMessage {
} else { } else {
subMenuBuilder_.clear(); subMenuBuilder_.clear();
} }
menuId_ = "";
bitField0_ = (bitField0_ & ~0x00000200);
extra_ = "";
bitField0_ = (bitField0_ & ~0x00000400);
return this; return this;
} }
@@ -6311,6 +6457,14 @@ public final class WFCMessage {
} else { } else {
result.subMenu_ = subMenuBuilder_.build(); result.subMenu_ = subMenuBuilder_.build();
} }
if (((from_bitField0_ & 0x00000200) == 0x00000200)) {
to_bitField0_ |= 0x00000100;
}
result.menuId_ = menuId_;
if (((from_bitField0_ & 0x00000400) == 0x00000400)) {
to_bitField0_ |= 0x00000200;
}
result.extra_ = extra_;
result.bitField0_ = to_bitField0_; result.bitField0_ = to_bitField0_;
onBuilt(); onBuilt();
return result; return result;
@@ -6393,6 +6547,16 @@ public final class WFCMessage {
} }
} }
} }
if (other.hasMenuId()) {
bitField0_ |= 0x00000200;
menuId_ = other.menuId_;
onChanged();
}
if (other.hasExtra()) {
bitField0_ |= 0x00000400;
extra_ = other.extra_;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields()); this.mergeUnknownFields(other.getUnknownFields());
return this; return this;
} }
@@ -7266,6 +7430,154 @@ public final class WFCMessage {
return subMenuBuilder_; return subMenuBuilder_;
} }
// optional string menu_id = 10;
private java.lang.Object menuId_ = "";
/**
* <code>optional string menu_id = 10;</code>
*/
public boolean hasMenuId() {
return ((bitField0_ & 0x00000200) == 0x00000200);
}
/**
* <code>optional string menu_id = 10;</code>
*/
public java.lang.String getMenuId() {
java.lang.Object ref = menuId_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
menuId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string menu_id = 10;</code>
*/
public com.google.protobuf.ByteString
getMenuIdBytes() {
java.lang.Object ref = menuId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
menuId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string menu_id = 10;</code>
*/
public Builder setMenuId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000200;
menuId_ = value;
onChanged();
return this;
}
/**
* <code>optional string menu_id = 10;</code>
*/
public Builder clearMenuId() {
bitField0_ = (bitField0_ & ~0x00000200);
menuId_ = getDefaultInstance().getMenuId();
onChanged();
return this;
}
/**
* <code>optional string menu_id = 10;</code>
*/
public Builder setMenuIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000200;
menuId_ = value;
onChanged();
return this;
}
// optional string extra = 11;
private java.lang.Object extra_ = "";
/**
* <code>optional string extra = 11;</code>
*/
public boolean hasExtra() {
return ((bitField0_ & 0x00000400) == 0x00000400);
}
/**
* <code>optional string extra = 11;</code>
*/
public java.lang.String getExtra() {
java.lang.Object ref = extra_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
extra_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string extra = 11;</code>
*/
public com.google.protobuf.ByteString
getExtraBytes() {
java.lang.Object ref = extra_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
extra_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string extra = 11;</code>
*/
public Builder setExtra(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000400;
extra_ = value;
onChanged();
return this;
}
/**
* <code>optional string extra = 11;</code>
*/
public Builder clearExtra() {
bitField0_ = (bitField0_ & ~0x00000400);
extra_ = getDefaultInstance().getExtra();
onChanged();
return this;
}
/**
* <code>optional string extra = 11;</code>
*/
public Builder setExtraBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000400;
extra_ = value;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:ChannelMenu) // @@protoc_insertion_point(builder_scope:ChannelMenu)
} }
@@ -66924,166 +67236,167 @@ public final class WFCMessage {
" \002(\005\022\021\n\tupdate_dt\030\004 \001(\003\022\021\n\tcreate_dt\030\005 \001" + " \002(\005\022\021\n\tupdate_dt\030\004 \001(\003\022\021\n\tcreate_dt\030\005 \001" +
"(\003\022\r\n\005extra\030\006 \001(\t\"F\n\005Group\022\036\n\ngroup_info" + "(\003\022\r\n\005extra\030\006 \001(\t\"F\n\005Group\022\036\n\ngroup_info" +
"\030\001 \002(\0132\n.GroupInfo\022\035\n\007members\030\002 \003(\0132\014.Gr" + "\030\001 \002(\0132\n.GroupInfo\022\035\n\007members\030\002 \003(\0132\014.Gr" +
"oupMember\"\253\001\n\013ChannelMenu\022\014\n\004type\030\001 \002(\t\022" + "oupMember\"\313\001\n\013ChannelMenu\022\014\n\004type\030\001 \002(\t\022" +
"\014\n\004name\030\002 \002(\t\022\013\n\003key\030\003 \001(\t\022\013\n\003url\030\004 \001(\t\022" + "\014\n\004name\030\002 \002(\t\022\013\n\003key\030\003 \001(\t\022\013\n\003url\030\004 \001(\t\022" +
"\020\n\010media_id\030\005 \001(\t\022\022\n\narticle_id\030\006 \001(\t\022\016\n" + "\020\n\010media_id\030\005 \001(\t\022\022\n\narticle_id\030\006 \001(\t\022\016\n" +
"\006app_id\030\007 \001(\t\022\020\n\010app_page\030\010 \001(\t\022\036\n\010sub_m", "\006app_id\030\007 \001(\t\022\020\n\010app_page\030\010 \001(\t\022\036\n\010sub_m",
"enu\030\t \003(\0132\014.ChannelMenu\"-\n\017ChannelMenuLi" + "enu\030\t \003(\0132\014.ChannelMenu\022\017\n\007menu_id\030\n \001(\t" +
"st\022\032\n\004menu\030\001 \003(\0132\014.ChannelMenu\"\340\001\n\013Chann" + "\022\r\n\005extra\030\013 \001(\t\"-\n\017ChannelMenuList\022\032\n\004me" +
"elInfo\022\021\n\ttarget_id\030\001 \001(\t\022\014\n\004name\030\002 \002(\t\022" + "nu\030\001 \003(\0132\014.ChannelMenu\"\340\001\n\013ChannelInfo\022\021" +
"\020\n\010portrait\030\003 \001(\t\022\r\n\005owner\030\004 \001(\t\022\016\n\006stat" + "\n\ttarget_id\030\001 \001(\t\022\014\n\004name\030\002 \002(\t\022\020\n\010portr" +
"us\030\005 \001(\005\022\014\n\004desc\030\006 \001(\t\022\r\n\005extra\030\007 \001(\t\022\021\n" + "ait\030\003 \001(\t\022\r\n\005owner\030\004 \001(\t\022\016\n\006status\030\005 \001(\005" +
"\tupdate_dt\030\010 \001(\003\022\016\n\006secret\030\t \001(\t\022\020\n\010call" + "\022\014\n\004desc\030\006 \001(\t\022\r\n\005extra\030\007 \001(\t\022\021\n\tupdate_" +
"back\030\n \001(\t\022\021\n\tautomatic\030\013 \001(\005\022\032\n\004menu\030\014 " + "dt\030\010 \001(\003\022\016\n\006secret\030\t \001(\t\022\020\n\010callback\030\n \001" +
"\003(\0132\014.ChannelMenu\"D\n\021ModifyChannelInfo\022\022" + "(\t\022\021\n\tautomatic\030\013 \001(\005\022\032\n\004menu\030\014 \003(\0132\014.Ch" +
"\n\nchannel_id\030\001 \002(\t\022\014\n\004type\030\002 \002(\005\022\r\n\005valu" + "annelMenu\"D\n\021ModifyChannelInfo\022\022\n\nchanne" +
"e\030\003 \002(\t\"8\n\017TransferChannel\022\022\n\nchannel_id", "l_id\030\001 \002(\t\022\014\n\004type\030\002 \002(\005\022\r\n\005value\030\003 \002(\t\"",
"\030\001 \002(\t\022\021\n\tnew_owner\030\002 \002(\t\"3\n\017PullChannel" + "8\n\017TransferChannel\022\022\n\nchannel_id\030\001 \002(\t\022\021" +
"Info\022\022\n\nchannel_id\030\001 \002(\t\022\014\n\004head\030\002 \002(\003\"H" + "\n\tnew_owner\030\002 \002(\t\"3\n\017PullChannelInfo\022\022\n\n" +
"\n\023PullChannelListener\022\022\n\nchannel_id\030\001 \002(" + "channel_id\030\001 \002(\t\022\014\n\004head\030\002 \002(\003\"H\n\023PullCh" +
"\t\022\016\n\006offset\030\002 \002(\005\022\r\n\005count\030\003 \002(\005\"R\n\031Pull" + "annelListener\022\022\n\nchannel_id\030\001 \002(\t\022\016\n\006off" +
"ChannelListenerResult\022\023\n\013total_count\030\001 \002" + "set\030\002 \002(\005\022\r\n\005count\030\003 \002(\005\"R\n\031PullChannelL" +
"(\005\022\016\n\006offset\030\002 \002(\005\022\020\n\010listener\030\003 \003(\t\"3\n\r" + "istenerResult\022\023\n\013total_count\030\001 \002(\005\022\016\n\006of" +
"ListenChannel\022\022\n\nchannel_id\030\001 \002(\t\022\016\n\006lis" + "fset\030\002 \002(\005\022\020\n\010listener\030\003 \003(\t\"3\n\rListenCh" +
"ten\030\002 \002(\005\"E\n\023SearchChannelResult\022\035\n\007chan" + "annel\022\022\n\nchannel_id\030\001 \002(\t\022\016\n\006listen\030\002 \002(" +
"nel\030\001 \003(\0132\014.ChannelInfo\022\017\n\007keyword\030\002 \002(\t" + "\005\"E\n\023SearchChannelResult\022\035\n\007channel\030\001 \003(" +
"\"\235\002\n\016MessageContent\022\014\n\004type\030\001 \002(\005\022\032\n\022sea", "\0132\014.ChannelInfo\022\017\n\007keyword\030\002 \002(\t\"\235\002\n\016Mes",
"rchable_content\030\002 \001(\t\022\024\n\014push_content\030\003 " + "sageContent\022\014\n\004type\030\001 \002(\005\022\032\n\022searchable_" +
"\001(\t\022\017\n\007content\030\004 \001(\t\022\014\n\004data\030\005 \001(\014\022\021\n\tme" + "content\030\002 \001(\t\022\024\n\014push_content\030\003 \001(\t\022\017\n\007c" +
"diaType\030\006 \001(\005\022\026\n\016remoteMediaUrl\030\007 \001(\t\022\024\n" + "ontent\030\004 \001(\t\022\014\n\004data\030\005 \001(\014\022\021\n\tmediaType\030" +
"\014persist_flag\030\010 \001(\005\022\027\n\017expire_duration\030\t" + "\006 \001(\005\022\026\n\016remoteMediaUrl\030\007 \001(\t\022\024\n\014persist" +
" \001(\005\022\026\n\016mentioned_type\030\n \001(\005\022\030\n\020mentione" + "_flag\030\010 \001(\005\022\027\n\017expire_duration\030\t \001(\005\022\026\n\016" +
"d_target\030\013 \003(\t\022\r\n\005extra\030\014 \001(\t\022\021\n\tpush_da" + "mentioned_type\030\n \001(\005\022\030\n\020mentioned_target" +
"ta\030\r \001(\t\"\226\001\n\025AddGroupMemberRequest\022\020\n\010gr" + "\030\013 \003(\t\022\r\n\005extra\030\014 \001(\t\022\021\n\tpush_data\030\r \001(\t" +
"oup_id\030\001 \002(\t\022\"\n\014added_member\030\002 \003(\0132\014.Gro" + "\"\226\001\n\025AddGroupMemberRequest\022\020\n\010group_id\030\001" +
"upMember\022\017\n\007to_line\030\003 \003(\005\022\'\n\016notify_cont" + " \002(\t\022\"\n\014added_member\030\002 \003(\0132\014.GroupMember" +
"ent\030\004 \001(\0132\017.MessageContent\022\r\n\005extra\030\005 \001(", "\022\017\n\007to_line\030\003 \003(\005\022\'\n\016notify_content\030\004 \001(",
"\t\"{\n\022CreateGroupRequest\022\025\n\005group\030\001 \002(\0132\006" + "\0132\017.MessageContent\022\r\n\005extra\030\005 \001(\t\"{\n\022Cre" +
".Group\022\017\n\007to_line\030\002 \003(\005\022\'\n\016notify_conten" + "ateGroupRequest\022\025\n\005group\030\001 \002(\0132\006.Group\022\017" +
"t\030\003 \001(\0132\017.MessageContent\022\024\n\014member_extra" + "\n\007to_line\030\002 \003(\005\022\'\n\016notify_content\030\003 \001(\0132" +
"\030\004 \001(\t\"a\n\023DismissGroupRequest\022\020\n\010group_i" + "\017.MessageContent\022\024\n\014member_extra\030\004 \001(\t\"a" +
"d\030\001 \002(\t\022\017\n\007to_line\030\002 \003(\005\022\'\n\016notify_conte" + "\n\023DismissGroupRequest\022\020\n\010group_id\030\001 \002(\t\022" +
"nt\030\003 \001(\0132\017.MessageContent\"\245\001\n\rFriendRequ" + "\017\n\007to_line\030\002 \003(\005\022\'\n\016notify_content\030\003 \001(\013" +
"est\022\020\n\010from_uid\030\001 \001(\t\022\016\n\006to_uid\030\002 \002(\t\022\016\n" + "2\017.MessageContent\"\245\001\n\rFriendRequest\022\020\n\010f" +
"\006reason\030\003 \002(\t\022\016\n\006status\030\004 \001(\005\022\021\n\tupdate_" + "rom_uid\030\001 \001(\t\022\016\n\006to_uid\030\002 \002(\t\022\016\n\006reason\030" +
"dt\030\005 \001(\003\022\030\n\020from_read_status\030\006 \001(\010\022\026\n\016to" + "\003 \002(\t\022\016\n\006status\030\004 \001(\005\022\021\n\tupdate_dt\030\005 \001(\003" +
"_read_status\030\007 \001(\010\022\r\n\005extra\030\010 \001(\t\"#\n\rGen", "\022\030\n\020from_read_status\030\006 \001(\010\022\026\n\016to_read_st",
"eralResult\022\022\n\nerror_code\030\001 \002(\005\"?\n\025GetUpl" + "atus\030\007 \001(\010\022\r\n\005extra\030\010 \001(\t\"#\n\rGeneralResu" +
"oadTokenRequest\022\022\n\nmedia_type\030\001 \002(\005\022\022\n\nm" + "lt\022\022\n\nerror_code\030\001 \002(\005\"?\n\025GetUploadToken" +
"edia_path\030\002 \002(\t\"S\n\024GetUploadTokenResult\022" + "Request\022\022\n\nmedia_type\030\001 \002(\005\022\022\n\nmedia_pat" +
"\016\n\006domain\030\001 \002(\t\022\r\n\005token\030\002 \002(\t\022\016\n\006server" + "h\030\002 \002(\t\"S\n\024GetUploadTokenResult\022\016\n\006domai" +
"\030\003 \002(\t\022\014\n\004port\030\004 \001(\005\"H\n\023HandleFriendRequ" + "n\030\001 \002(\t\022\r\n\005token\030\002 \002(\t\022\016\n\006server\030\003 \002(\t\022\014" +
"est\022\022\n\ntarget_uid\030\001 \002(\t\022\016\n\006status\030\002 \002(\005\022" + "\n\004port\030\004 \001(\005\"H\n\023HandleFriendRequest\022\022\n\nt" +
"\r\n\005extra\030\003 \001(\t\"\023\n\005IDBuf\022\n\n\002id\030\001 \002(\t\"\027\n\tI" + "arget_uid\030\001 \002(\t\022\016\n\006status\030\002 \002(\005\022\r\n\005extra" +
"DListBuf\022\n\n\002id\030\001 \003(\t\"\256\001\n\007Message\022#\n\014conv" + "\030\003 \001(\t\"\023\n\005IDBuf\022\n\n\002id\030\001 \002(\t\"\027\n\tIDListBuf" +
"ersation\030\001 \002(\0132\r.Conversation\022\021\n\tfrom_us" + "\022\n\n\002id\030\001 \003(\t\"\256\001\n\007Message\022#\n\014conversation" +
"er\030\002 \002(\t\022 \n\007content\030\003 \002(\0132\017.MessageConte", "\030\001 \002(\0132\r.Conversation\022\021\n\tfrom_user\030\002 \002(\t",
"nt\022\022\n\nmessage_id\030\004 \001(\003\022\030\n\020server_timesta" + "\022 \n\007content\030\003 \002(\0132\017.MessageContent\022\022\n\nme" +
"mp\030\005 \001(\003\022\017\n\007to_user\030\006 \001(\t\022\n\n\002to\030\007 \003(\t\"\353\001" + "ssage_id\030\004 \001(\003\022\030\n\020server_timestamp\030\005 \001(\003" +
"\n\004User\022\013\n\003uid\030\001 \002(\t\022\014\n\004name\030\002 \001(\t\022\024\n\014dis" + "\022\017\n\007to_user\030\006 \001(\t\022\n\n\002to\030\007 \003(\t\"\353\001\n\004User\022\013" +
"play_name\030\003 \001(\t\022\020\n\010portrait\030\004 \001(\t\022\016\n\006mob" + "\n\003uid\030\001 \002(\t\022\014\n\004name\030\002 \001(\t\022\024\n\014display_nam" +
"ile\030\005 \001(\t\022\r\n\005email\030\006 \001(\t\022\017\n\007address\030\007 \001(" + "e\030\003 \001(\t\022\020\n\010portrait\030\004 \001(\t\022\016\n\006mobile\030\005 \001(" +
"\t\022\017\n\007company\030\010 \001(\t\022\r\n\005extra\030\t \001(\t\022\021\n\tupd" + "\t\022\r\n\005email\030\006 \001(\t\022\017\n\007address\030\007 \001(\t\022\017\n\007com" +
"ate_dt\030\n \001(\003\022\016\n\006gender\030\013 \001(\005\022\016\n\006social\030\014" + "pany\030\010 \001(\t\022\r\n\005extra\030\t \001(\t\022\021\n\tupdate_dt\030\n" +
" \001(\t\022\014\n\004type\030\r \001(\005\022\017\n\007deleted\030\016 \001(\005\"c\n\005R" + " \001(\003\022\016\n\006gender\030\013 \001(\005\022\016\n\006social\030\014 \001(\t\022\014\n\004" +
"obot\022\013\n\003uid\030\001 \002(\t\022\r\n\005state\030\002 \002(\005\022\r\n\005owne" + "type\030\r \001(\005\022\017\n\007deleted\030\016 \001(\005\"c\n\005Robot\022\013\n\003" +
"r\030\003 \001(\t\022\016\n\006secret\030\004 \001(\t\022\020\n\010callback\030\005 \001(", "uid\030\001 \002(\t\022\r\n\005state\030\002 \002(\005\022\r\n\005owner\030\003 \001(\t\022",
"\t\022\r\n\005extra\030\006 \001(\t\"(\n\017GetRobotsResult\022\025\n\005e" + "\016\n\006secret\030\004 \001(\t\022\020\n\010callback\030\005 \001(\t\022\r\n\005ext" +
"ntry\030\001 \003(\0132\006.Robot\"g\n\030UploadDeviceTokenR" + "ra\030\006 \001(\t\"(\n\017GetRobotsResult\022\025\n\005entry\030\001 \003" +
"equest\022\020\n\010platform\030\001 \002(\005\022\020\n\010app_name\030\002 \002" + "(\0132\006.Robot\"g\n\030UploadDeviceTokenRequest\022\020" +
"(\t\022\024\n\014device_token\030\003 \002(\t\022\021\n\tpush_type\030\004 " + "\n\010platform\030\001 \002(\005\022\020\n\010app_name\030\002 \002(\t\022\024\n\014de" +
"\002(\005\"\201\001\n\026ModifyGroupInfoRequest\022\020\n\010group_" + "vice_token\030\003 \002(\t\022\021\n\tpush_type\030\004 \002(\005\"\201\001\n\026" +
"id\030\001 \002(\t\022\014\n\004type\030\002 \002(\005\022\r\n\005value\030\003 \002(\t\022\017\n" + "ModifyGroupInfoRequest\022\020\n\010group_id\030\001 \002(\t" +
"\007to_line\030\004 \003(\005\022\'\n\016notify_content\030\005 \001(\0132\017" + "\022\014\n\004type\030\002 \002(\005\022\r\n\005value\030\003 \002(\t\022\017\n\007to_line" +
".MessageContent\"\203\001\n\026SetGroupManagerReque" + "\030\004 \003(\005\022\'\n\016notify_content\030\005 \001(\0132\017.Message" +
"st\022\020\n\010group_id\030\001 \002(\t\022\014\n\004type\030\002 \002(\005\022\017\n\007us" + "Content\"\203\001\n\026SetGroupManagerRequest\022\020\n\010gr" +
"er_id\030\003 \003(\t\022\017\n\007to_line\030\004 \003(\005\022\'\n\016notify_c", "oup_id\030\001 \002(\t\022\014\n\004type\030\002 \002(\005\022\017\n\007user_id\030\003 ",
"ontent\030\005 \001(\0132\017.MessageContent\"(\n\tInfoEnt" + "\003(\t\022\017\n\007to_line\030\004 \003(\005\022\'\n\016notify_content\030\005" +
"ry\022\014\n\004type\030\001 \002(\005\022\r\n\005value\030\002 \002(\t\"0\n\023Modif" + " \001(\0132\017.MessageContent\"(\n\tInfoEntry\022\014\n\004ty" +
"yMyInfoRequest\022\031\n\005entry\030\001 \003(\0132\n.InfoEntr" + "pe\030\001 \002(\005\022\r\n\005value\030\002 \002(\t\"0\n\023ModifyMyInfoR" +
"y\";\n\rNotifyMessage\022\014\n\004type\030\001 \002(\005\022\014\n\004head" + "equest\022\031\n\005entry\030\001 \003(\0132\n.InfoEntry\";\n\rNot" +
"\030\002 \002(\003\022\016\n\006target\030\003 \001(\t\"=\n\022PullMessageReq" + "ifyMessage\022\014\n\004type\030\001 \002(\005\022\014\n\004head\030\002 \002(\003\022\016" +
"uest\022\n\n\002id\030\001 \002(\003\022\014\n\004type\030\002 \002(\005\022\r\n\005delay\030" + "\n\006target\030\003 \001(\t\"=\n\022PullMessageRequest\022\n\n\002" +
"\003 \001(\003\"M\n\021PullMessageResult\022\031\n\007message\030\001 " + "id\030\001 \002(\003\022\014\n\004type\030\002 \002(\005\022\r\n\005delay\030\003 \001(\003\"M\n" +
"\003(\0132\010.Message\022\017\n\007current\030\002 \002(\003\022\014\n\004head\030\003" + "\021PullMessageResult\022\031\n\007message\030\001 \003(\0132\010.Me" +
" \002(\003\"/\n\023PullGroupInfoResult\022\030\n\004info\030\001 \003(" + "ssage\022\017\n\007current\030\002 \002(\003\022\014\n\004head\030\003 \002(\003\"/\n\023" +
"\0132\n.GroupInfo\"6\n\026PullGroupMemberRequest\022", "PullGroupInfoResult\022\030\n\004info\030\001 \003(\0132\n.Grou",
"\016\n\006target\030\001 \002(\t\022\014\n\004head\030\002 \002(\003\"5\n\025PullGro" + "pInfo\"6\n\026PullGroupMemberRequest\022\016\n\006targe" +
"upMemberResult\022\034\n\006member\030\001 \003(\0132\014.GroupMe" + "t\030\001 \002(\t\022\014\n\004head\030\002 \002(\003\"5\n\025PullGroupMember" +
"mber\"-\n\013UserRequest\022\013\n\003uid\030\001 \002(\t\022\021\n\tupda" + "Result\022\034\n\006member\030\001 \003(\0132\014.GroupMember\"-\n\013" +
"te_dt\030\002 \001(\003\"0\n\017PullUserRequest\022\035\n\007reques" + "UserRequest\022\013\n\003uid\030\001 \002(\t\022\021\n\tupdate_dt\030\002 " +
"t\030\001 \003(\0132\014.UserRequest\"/\n\nUserResult\022\023\n\004u" + "\001(\003\"0\n\017PullUserRequest\022\035\n\007request\030\001 \003(\0132" +
"ser\030\001 \002(\0132\005.User\022\014\n\004code\030\002 \002(\005\"-\n\016PullUs" + "\014.UserRequest\"/\n\nUserResult\022\023\n\004user\030\001 \002(" +
"erResult\022\033\n\006result\030\001 \003(\0132\013.UserResult\"^\n" + "\0132\005.User\022\014\n\004code\030\002 \002(\005\"-\n\016PullUserResult" +
"\020QuitGroupRequest\022\020\n\010group_id\030\001 \002(\t\022\017\n\007t" + "\022\033\n\006result\030\001 \003(\0132\013.UserResult\"^\n\020QuitGro" +
"o_line\030\002 \003(\005\022\'\n\016notify_content\030\003 \001(\0132\017.M" + "upRequest\022\020\n\010group_id\030\001 \002(\t\022\017\n\007to_line\030\002" +
"essageContent\"~\n\030RemoveGroupMemberReques", " \003(\005\022\'\n\016notify_content\030\003 \001(\0132\017.MessageCo",
"t\022\020\n\010group_id\030\001 \002(\t\022\026\n\016removed_member\030\002 " + "ntent\"~\n\030RemoveGroupMemberRequest\022\020\n\010gro" +
"\003(\t\022\017\n\007to_line\030\003 \003(\005\022\'\n\016notify_content\030\004" + "up_id\030\001 \002(\t\022\026\n\016removed_member\030\002 \003(\t\022\017\n\007t" +
" \001(\0132\017.MessageContent\"u\n\024TransferGroupRe" + "o_line\030\003 \003(\005\022\'\n\016notify_content\030\004 \001(\0132\017.M" +
"quest\022\020\n\010group_id\030\001 \002(\t\022\021\n\tnew_owner\030\002 \002" + "essageContent\"u\n\024TransferGroupRequest\022\020\n" +
"(\t\022\017\n\007to_line\030\003 \003(\005\022\'\n\016notify_content\030\004 " + "\010group_id\030\001 \002(\t\022\021\n\tnew_owner\030\002 \002(\t\022\017\n\007to" +
"\001(\0132\017.MessageContent\"\206\001\n\026ModifyGroupMemb" + "_line\030\003 \003(\005\022\'\n\016notify_content\030\004 \001(\0132\017.Me" +
"erAlias\022\020\n\010group_id\030\001 \002(\t\022\r\n\005alias\030\002 \002(\t" + "ssageContent\"\206\001\n\026ModifyGroupMemberAlias\022" +
"\022\017\n\007to_line\030\003 \003(\005\022\'\n\016notify_content\030\004 \001(" + "\020\n\010group_id\030\001 \002(\t\022\r\n\005alias\030\002 \002(\t\022\017\n\007to_l" +
"\0132\017.MessageContent\022\021\n\tmember_id\030\005 \001(\t\"\206\001" + "ine\030\003 \003(\005\022\'\n\016notify_content\030\004 \001(\0132\017.Mess" +
"\n\026ModifyGroupMemberExtra\022\020\n\010group_id\030\001 \002", "ageContent\022\021\n\tmember_id\030\005 \001(\t\"\206\001\n\026Modify",
"(\t\022\017\n\007to_line\030\002 \003(\005\022\'\n\016notify_content\030\003 " + "GroupMemberExtra\022\020\n\010group_id\030\001 \002(\t\022\017\n\007to" +
"\001(\0132\017.MessageContent\022\r\n\005extra\030\004 \001(\t\022\021\n\tm" + "_line\030\002 \003(\005\022\'\n\016notify_content\030\003 \001(\0132\017.Me" +
"ember_id\030\005 \001(\t\"P\n\020UserSettingEntry\022\r\n\005sc" + "ssageContent\022\r\n\005extra\030\004 \001(\t\022\021\n\tmember_id" +
"ope\030\001 \002(\005\022\013\n\003key\030\002 \002(\t\022\r\n\005value\030\003 \002(\t\022\021\n" + "\030\005 \001(\t\"P\n\020UserSettingEntry\022\r\n\005scope\030\001 \002(" +
"\tupdate_dt\030\004 \002(\003\"A\n\024ModifyUserSettingReq" + "\005\022\013\n\003key\030\002 \002(\t\022\r\n\005value\030\003 \002(\t\022\021\n\tupdate_" +
"\022\r\n\005scope\030\001 \002(\005\022\013\n\003key\030\002 \002(\t\022\r\n\005value\030\003 " + "dt\030\004 \002(\003\"A\n\024ModifyUserSettingReq\022\r\n\005scop" +
"\002(\t\"\032\n\007Version\022\017\n\007version\030\001 \002(\003\"8\n\024GetUs" + "e\030\001 \002(\005\022\013\n\003key\030\002 \002(\t\022\r\n\005value\030\003 \002(\t\"\032\n\007V" +
"erSettingResult\022 \n\005entry\030\001 \003(\0132\021.UserSet" + "ersion\022\017\n\007version\030\001 \002(\003\"8\n\024GetUserSettin" +
"tingEntry\"f\n\006Friend\022\013\n\003uid\030\001 \002(\t\022\r\n\005stat" + "gResult\022 \n\005entry\030\001 \003(\0132\021.UserSettingEntr" +
"e\030\002 \002(\005\022\021\n\tupdate_dt\030\003 \002(\003\022\r\n\005alias\030\004 \001(", "y\"f\n\006Friend\022\013\n\003uid\030\001 \002(\t\022\r\n\005state\030\002 \002(\005\022",
"\t\022\017\n\007blacked\030\005 \001(\005\022\r\n\005extra\030\006 \001(\t\"*\n\020Get" + "\021\n\tupdate_dt\030\003 \002(\003\022\r\n\005alias\030\004 \001(\t\022\017\n\007bla" +
"FriendsResult\022\026\n\005entry\030\001 \003(\0132\007.Friend\"7\n" + "cked\030\005 \001(\005\022\r\n\005extra\030\006 \001(\t\"*\n\020GetFriendsR" +
"\026GetFriendRequestResult\022\035\n\005entry\030\001 \003(\0132\016" + "esult\022\026\n\005entry\030\001 \003(\0132\007.Friend\"7\n\026GetFrie" +
".FriendRequest\"\243\001\n\021ConnectAckPayload\022\020\n\010" + "ndRequestResult\022\035\n\005entry\030\001 \003(\0132\016.FriendR" +
"msg_head\030\001 \001(\003\022\023\n\013friend_head\030\002 \001(\003\022\026\n\016f" + "equest\"\243\001\n\021ConnectAckPayload\022\020\n\010msg_head" +
"riend_rq_head\030\003 \001(\003\022\024\n\014setting_head\030\004 \001(" + "\030\001 \001(\003\022\023\n\013friend_head\030\002 \001(\003\022\026\n\016friend_rq" +
"\003\022\021\n\tnode_addr\030\005 \001(\t\022\021\n\tnode_port\030\006 \001(\005\022" + "_head\030\003 \001(\003\022\024\n\014setting_head\030\004 \001(\003\022\021\n\tnod" +
"\023\n\013server_time\030\007 \001(\003\"P\n\rIMHttpWrapper\022\r\n" + "e_addr\030\005 \001(\t\022\021\n\tnode_port\030\006 \001(\005\022\023\n\013serve" +
"\005token\030\001 \002(\t\022\021\n\tclient_id\030\002 \002(\t\022\017\n\007reque" + "r_time\030\007 \001(\003\"P\n\rIMHttpWrapper\022\r\n\005token\030\001" +
"st\030\003 \002(\t\022\014\n\004data\030\004 \001(\014\"A\n\021SearchUserRequ", " \002(\t\022\021\n\tclient_id\030\002 \002(\t\022\017\n\007request\030\003 \002(\t",
"est\022\017\n\007keyword\030\001 \002(\t\022\r\n\005fuzzy\030\002 \001(\005\022\014\n\004p" + "\022\014\n\004data\030\004 \001(\014\"A\n\021SearchUserRequest\022\017\n\007k" +
"age\030\003 \001(\005\"(\n\020SearchUserResult\022\024\n\005entry\030\001" + "eyword\030\001 \002(\t\022\r\n\005fuzzy\030\002 \001(\005\022\014\n\004page\030\003 \001(" +
" \003(\0132\005.User\"@\n\026GetChatroomInfoRequest\022\023\n" + "\005\"(\n\020SearchUserResult\022\024\n\005entry\030\001 \003(\0132\005.U" +
"\013chatroom_id\030\001 \002(\t\022\021\n\tupdate_dt\030\002 \001(\003\"\227\001" + "ser\"@\n\026GetChatroomInfoRequest\022\023\n\013chatroo" +
"\n\014ChatroomInfo\022\r\n\005title\030\001 \002(\t\022\014\n\004desc\030\002 " + "m_id\030\001 \002(\t\022\021\n\tupdate_dt\030\002 \001(\003\"\227\001\n\014Chatro" +
"\001(\t\022\020\n\010portrait\030\003 \001(\t\022\024\n\014member_count\030\004 " + "omInfo\022\r\n\005title\030\001 \002(\t\022\014\n\004desc\030\002 \001(\t\022\020\n\010p" +
"\001(\005\022\021\n\tcreate_dt\030\005 \001(\003\022\021\n\tupdate_dt\030\006 \001(" + "ortrait\030\003 \001(\t\022\024\n\014member_count\030\004 \001(\005\022\021\n\tc" +
"\003\022\r\n\005extra\030\007 \001(\t\022\r\n\005state\030\010 \001(\005\"F\n\034GetCh" + "reate_dt\030\005 \001(\003\022\021\n\tupdate_dt\030\006 \001(\003\022\r\n\005ext" +
"atroomMemberInfoRequest\022\023\n\013chatroom_id\030\001" + "ra\030\007 \001(\t\022\r\n\005state\030\010 \001(\005\"F\n\034GetChatroomMe" +
" \002(\t\022\021\n\tmax_count\030\002 \001(\005\";\n\022ChatroomMembe", "mberInfoRequest\022\023\n\013chatroom_id\030\001 \002(\t\022\021\n\t",
"rInfo\022\024\n\014member_count\030\001 \001(\005\022\017\n\007members\030\002" + "max_count\030\002 \001(\005\";\n\022ChatroomMemberInfo\022\024\n" +
" \003(\t\"\026\n\010INT64Buf\022\n\n\002id\030\001 \002(\003\"4\n\023NotifyRe" + "\014member_count\030\001 \001(\005\022\017\n\007members\030\002 \003(\t\"\026\n\010" +
"callMessage\022\n\n\002id\030\001 \002(\003\022\021\n\tfrom_user\030\002 \002" + "INT64Buf\022\n\n\002id\030\001 \002(\003\"4\n\023NotifyRecallMess" +
"(\t\"/\n\020BlackUserRequest\022\013\n\003uid\030\001 \002(\t\022\016\n\006s" + "age\022\n\n\002id\030\001 \002(\003\022\021\n\tfrom_user\030\002 \002(\t\"/\n\020Bl" +
"tatus\030\002 \002(\005\"\323\001\n\014RouteRequest\022\013\n\003app\030\001 \001(" + "ackUserRequest\022\013\n\003uid\030\001 \002(\t\022\016\n\006status\030\002 " +
"\t\022\020\n\010platform\030\002 \001(\005\022\021\n\tpush_type\030\003 \001(\005\022\023" + "\002(\005\"\323\001\n\014RouteRequest\022\013\n\003app\030\001 \001(\t\022\020\n\010pla" +
"\n\013device_name\030\004 \001(\t\022\026\n\016device_version\030\005 " + "tform\030\002 \001(\005\022\021\n\tpush_type\030\003 \001(\005\022\023\n\013device" +
"\001(\t\022\022\n\nphone_name\030\006 \001(\t\022\020\n\010language\030\007 \001(" + "_name\030\004 \001(\t\022\026\n\016device_version\030\005 \001(\t\022\022\n\np" +
"\t\022\024\n\014carrier_name\030\010 \001(\t\022\023\n\013app_version\030\t" + "hone_name\030\006 \001(\t\022\020\n\010language\030\007 \001(\t\022\024\n\014car" +
" \001(\t\022\023\n\013sdk_version\030\n \001(\t\"D\n\rRouteRespon", "rier_name\030\010 \001(\t\022\023\n\013app_version\030\t \001(\t\022\023\n\013",
"se\022\014\n\004host\030\001 \002(\t\022\021\n\tlong_port\030\002 \002(\005\022\022\n\ns" + "sdk_version\030\n \001(\t\"D\n\rRouteResponse\022\014\n\004ho" +
"hort_port\030\003 \002(\005\"G\n\017GetTokenRequest\022\017\n\007us" + "st\030\001 \002(\t\022\021\n\tlong_port\030\002 \002(\005\022\022\n\nshort_por" +
"er_id\030\001 \002(\t\022\021\n\tclient_id\030\002 \002(\t\022\020\n\010platfo" + "t\030\003 \002(\005\"G\n\017GetTokenRequest\022\017\n\007user_id\030\001 " +
"rm\030\003 \001(\005\"r\n\022LoadRemoteMessages\022#\n\014conver" + "\002(\t\022\021\n\tclient_id\030\002 \002(\t\022\020\n\010platform\030\003 \001(\005" +
"sation\030\001 \002(\0132\r.Conversation\022\022\n\nbefore_ui" + "\"r\n\022LoadRemoteMessages\022#\n\014conversation\030\001" +
"d\030\002 \002(\003\022\r\n\005count\030\003 \002(\005\022\024\n\014content_type\030\004" + " \002(\0132\r.Conversation\022\022\n\nbefore_uid\030\002 \002(\003\022" +
" \003(\005\"a\n\020MultiCastMessage\022\021\n\tfrom_user\030\001 " + "\r\n\005count\030\003 \002(\005\022\024\n\014content_type\030\004 \003(\005\"a\n\020" +
"\002(\t\022 \n\007content\030\002 \002(\0132\017.MessageContent\022\n\n" + "MultiCastMessage\022\021\n\tfrom_user\030\001 \002(\t\022 \n\007c" +
"\002to\030\003 \003(\t\022\014\n\004line\030\004 \002(\005\"E\n\035RecallMultiCa" + "ontent\030\002 \002(\0132\017.MessageContent\022\n\n\002to\030\003 \003(" +
"stMessageRequest\022\022\n\nmessage_id\030\001 \002(\003\022\020\n\010", "\t\022\014\n\004line\030\004 \002(\005\"E\n\035RecallMultiCastMessag",
"receiver\030\002 \003(\t\"@\n\017AuthCodeRequest\022\021\n\ttar" + "eRequest\022\022\n\nmessage_id\030\001 \002(\003\022\020\n\010receiver" +
"get_id\030\001 \002(\t\022\014\n\004type\030\002 \002(\005\022\014\n\004host\030\003 \002(\t" + "\030\002 \003(\t\"@\n\017AuthCodeRequest\022\021\n\ttarget_id\030\001" +
"\"o\n\030ApplicationConfigRequest\022\r\n\005appId\030\001 " + " \002(\t\022\014\n\004type\030\002 \002(\005\022\014\n\004host\030\003 \002(\t\"o\n\030Appl" +
"\002(\t\022\017\n\007appType\030\002 \002(\005\022\021\n\ttimestamp\030\003 \002(\003\022" + "icationConfigRequest\022\r\n\005appId\030\001 \002(\t\022\017\n\007a" +
"\r\n\005nonce\030\004 \002(\t\022\021\n\tsignature\030\005 \002(\tB#\n\025cn." + "ppType\030\002 \002(\005\022\021\n\ttimestamp\030\003 \002(\003\022\r\n\005nonce" +
"wildfirechat.protoB\nWFCMessage" "\030\004 \002(\t\022\021\n\tsignature\030\005 \002(\tB#\n\025cn.wildfire" +
"chat.protoB\nWFCMessage"
}; };
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
@@ -67125,7 +67438,7 @@ public final class WFCMessage {
internal_static_ChannelMenu_fieldAccessorTable = new internal_static_ChannelMenu_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable( com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_ChannelMenu_descriptor, internal_static_ChannelMenu_descriptor,
new java.lang.String[] { "Type", "Name", "Key", "Url", "MediaId", "ArticleId", "AppId", "AppPage", "SubMenu", }); new java.lang.String[] { "Type", "Name", "Key", "Url", "MediaId", "ArticleId", "AppId", "AppPage", "SubMenu", "MenuId", "Extra", });
internal_static_ChannelMenuList_descriptor = internal_static_ChannelMenuList_descriptor =
getDescriptor().getMessageTypes().get(6); getDescriptor().getMessageTypes().get(6);
internal_static_ChannelMenuList_fieldAccessorTable = new internal_static_ChannelMenuList_fieldAccessorTable = new
@@ -12,10 +12,7 @@ import com.google.gson.Gson;
import io.netty.util.internal.StringUtil; import io.netty.util.internal.StringUtil;
import java.util.ArrayList; import java.util.*;
import java.util.Arrays;
import java.util.Date;
import java.util.List;
import static cn.wildfirechat.pojos.MyInfoType.Modify_DisplayName; import static cn.wildfirechat.pojos.MyInfoType.Modify_DisplayName;
import static cn.wildfirechat.proto.ProtoConstants.ChannelState.*; import static cn.wildfirechat.proto.ProtoConstants.ChannelState.*;
@@ -1470,6 +1467,7 @@ public class Main {
List<OutputGetChannelInfo.OutputMenu> menus = new ArrayList<>(); List<OutputGetChannelInfo.OutputMenu> menus = new ArrayList<>();
OutputGetChannelInfo.OutputMenu menu1 = new OutputGetChannelInfo.OutputMenu(); OutputGetChannelInfo.OutputMenu menu1 = new OutputGetChannelInfo.OutputMenu();
menu1.menuId = UUID.randomUUID().toString();
menu1.type = "view"; menu1.type = "view";
menu1.name = "一级菜单1"; menu1.name = "一级菜单1";
menu1.key = "key1"; menu1.key = "key1";
@@ -1477,6 +1475,7 @@ public class Main {
menus.add(menu1); menus.add(menu1);
OutputGetChannelInfo.OutputMenu menu2 = new OutputGetChannelInfo.OutputMenu(); OutputGetChannelInfo.OutputMenu menu2 = new OutputGetChannelInfo.OutputMenu();
menu2.menuId = UUID.randomUUID().toString();
menu2.type = "view"; menu2.type = "view";
menu2.name = "一级菜单2"; menu2.name = "一级菜单2";
menu2.key = "key2"; menu2.key = "key2";
@@ -1485,6 +1484,7 @@ public class Main {
menus.add(menu2); menus.add(menu2);
OutputGetChannelInfo.OutputMenu menu21 = new OutputGetChannelInfo.OutputMenu(); OutputGetChannelInfo.OutputMenu menu21 = new OutputGetChannelInfo.OutputMenu();
menu21.menuId = UUID.randomUUID().toString();
menu21.type = "click"; menu21.type = "click";
menu21.name = "二级菜单21"; menu21.name = "二级菜单21";
menu21.key = "key21"; menu21.key = "key21";